@nutrient-sdk/viewer 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ACKNOWLEDGEMENTS.md +15161 -0
- package/dist/index.d.ts +4768 -4549
- package/dist/nutrient-viewer-lib/{chunk-848-c4af4b1235565d89.js → chunk-848-c1a454667ef1a49d.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-03b1d838c9d81b9b.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-gdpicture-5f6c81c0782b9387.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-worker-39bda307513c184d.js → chunk-gdpicture-worker-f7632d25d31da821.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-a9b27c62e7bb8b18.js → chunk-lazy-sha-af437e05184bbb17.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-0f2312ee065af99f.js → chunk-locale-cs-a94f85bafdcdd11a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-8818d31d15d29abd.js → chunk-locale-cy-f31180c963f81d93.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-da-2a36988656c76746.js → chunk-locale-da-b7a9dc29e8dc46e1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-de-3df11d899f4b4a69.js → chunk-locale-de-ff8cb4c984cd5456.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-el-3b27f39d9a0882a8.js → chunk-locale-el-ef16273686d9a9e9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-581ca4b7bf8977cf.js → chunk-locale-en-GB-cb03f1e2fef52218.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-es-4214e9efa89d2549.js → chunk-locale-es-f18ca29d63f7b697.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-8c07dbac89f3184a.js → chunk-locale-fi-1360dafdb1a64a51.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-12434fe18290da1f.js → chunk-locale-fr-CA-f6fcfedac7e4932d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-8536295fe59bfaea.js → chunk-locale-fr-b3f838d10b83ff7d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-f6b56cc87a274564.js → chunk-locale-hr-6435dea3d3f14f53.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-id-8ab614958f05000e.js → chunk-locale-id-e9ec588df584cf62.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-it-706552bf6e90b5c1.js → chunk-locale-it-251f3ec1bbd51a80.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-0b7280dfcbb50f2a.js → chunk-locale-ja-e5184dbd76fd15a1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-4f717a9875a6e990.js → chunk-locale-ko-d3cc49ac86d0e823.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-b758c034d23cabfa.js → chunk-locale-ms-5b16aafdc3a68a10.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-b0217d811df79416.js → chunk-locale-nb-NO-1ee82afb70a74345.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-96cc62475932df82.js → chunk-locale-nl-2e874b4493918563.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-6561e81b13ff675c.js → chunk-locale-pl-3f7eeead1201f230.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-c5e7c9c00d80d425.js → chunk-locale-pt-PT-0c52eb3d881504da.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-676a6d152411b45a.js → chunk-locale-pt-cdad8e33dca91548.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-f477d7cd24a461ec.js → chunk-locale-ru-26f8401597536238.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-9879069332ed1f1f.js → chunk-locale-sk-c3d794b5f5907ae9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-806a57a81b0ff895.js → chunk-locale-sl-0f8767483045ee38.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-1ffceca8a7f05243.js → chunk-locale-sv-20238aa085b5bfab.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-th-ea4cdfba00f25ac9.js → chunk-locale-th-f21882268e9b59aa.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-cd18d1bf4794476d.js → chunk-locale-tr-02fdf8aeb5d9a48e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-d881259d317e9c5c.js → chunk-locale-uk-5296f80585953c87.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-ccc31eb1eeeb32ca.js → chunk-locale-zh-Hans-0d687ab1f58d3611.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-617b7eef3d47c487.js → chunk-locale-zh-Hant-f63dfc79f0e60d91.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-server-b8f30456c49bbbb9.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-server-instant-89f668695ceaadb7.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-server-rest-7df53a3d8111e271.js → chunk-server-rest-54305e03ef7fa54e.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-standalone-20dbb21ca1b71ad7.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-standalone-server-eefede1c9792f417.js +13 -0
- package/dist/nutrient-viewer-lib/core-worker.js +2 -2
- package/dist/nutrient-viewer-lib/dark-1139dca3c446e0c1.css +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/DocumentFormat.OpenXml.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.CAD.DWG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.CAD.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.Email.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.RTF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.SVG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/Microsoft.CSharp.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.Concurrent.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Collections.Immutable.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Collections.NonGeneric.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.Specialized.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.EventBasedAsync.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.TypeConverter.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.ComponentModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Console.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Data.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.DiagnosticSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.Process.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.TraceSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Drawing.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Drawing.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.IO.Compression.ZipFile.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.IO.Compression.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Linq.Expressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Memory.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Http.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Mail.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Requests.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Security.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.ServicePoint.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Sockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebHeaderCollection.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebSockets.Client.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebSockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ObjectModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Private.Uri.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.Xml.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.Numerics.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.Serialization.Formatters.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Runtime.Serialization.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Security.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.Encoding.CodePages.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Text.Encodings.Web.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.Json.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.RegularExpressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Threading.Tasks.Parallel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/blazor.boot.json +114 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/dotnet.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.native.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.native.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/dotnet.runtime.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.runtime.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/resources/list.json +202 -202
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/DocumentFormat.OpenXml.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.CAD.DWG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.CAD.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.Email.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.RTF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.SVG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/Microsoft.CSharp.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.Concurrent.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Collections.Immutable.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Collections.NonGeneric.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.Specialized.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.EventBasedAsync.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.TypeConverter.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.ComponentModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Console.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Data.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.DiagnosticSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.Process.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.TraceSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Drawing.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Drawing.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.IO.Compression.ZipFile.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.IO.Compression.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Linq.Expressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Memory.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Http.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Mail.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Requests.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Security.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.ServicePoint.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Sockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebHeaderCollection.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebSockets.Client.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebSockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ObjectModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Private.Uri.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.Xml.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.Numerics.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.Serialization.Formatters.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Runtime.Serialization.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Security.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.Encoding.CodePages.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Text.Encodings.Web.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.Json.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.RegularExpressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Threading.Tasks.Parallel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/blazor.boot.json +114 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/dotnet.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.native.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.native.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/dotnet.runtime.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.runtime.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/resources/list.json +202 -202
- package/dist/nutrient-viewer-lib/gdpicture-worker.js +2 -2
- package/dist/nutrient-viewer-lib/{nutrient-viewer-1.2.0.css → nutrient-viewer-1.3.0.css} +293 -226
- package/dist/nutrient-viewer-lib/{nutrient-viewer-8defba59cb1dc1a1.wasm → nutrient-viewer-206cfd18aec89db9.wasm} +0 -0
- package/dist/nutrient-viewer-lib/{nutrient-viewer-71ed620203f4d1c5.wasm.js → nutrient-viewer-4166d50b2ca4755b.wasm.js} +2 -2
- package/dist/nutrient-viewer.js +2 -2
- package/package.json +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-d7d350018422b676.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-6cf91306092a5071.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-server-a10bab718b2ed3ff.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-server-instant-ece7fa9e68705b77.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-standalone-8d8da2a8de3e9cdf.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-standalone-server-f642e099f889f38f.js +0 -13
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/blazor.boot.json +0 -114
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/blazor.boot.json +0 -114
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/BouncyCastle.Cryptography.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/DocumentFormat.OpenXml.Framework.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/Newtonsoft.Json.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/OpenMcdf.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/RtfPipe.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.IO.Packaging.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Http.Formatting.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Security.Cryptography.Pkcs.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Windows.Extensions.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_EFIGS.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_no_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/initDotnet.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/package.json +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/protobuf-net.Core.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/protobuf-net.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resourceLoader.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_83pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90msp-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90msp-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-7.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan2-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS1-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS1-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CourierStdToNew.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DefaultCMYK.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DroidSansFallbackFull.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DroidSansMono.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETHK-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETHK-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETenms-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETenms-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK2K-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK2K-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBKp-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBKp-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBTpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBTpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GdPictureOCRFont.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdla-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdla-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdlb-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdlb-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKgccs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKgccs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm314-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm314-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm471-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm471-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKscs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKscs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hankaku.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hiragana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Identity-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Identity-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-Johab-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-Johab-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Katakana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_NWP-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_NWP-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_OutputIntent.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_PDFA-XMP.4.2.3 +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Roman.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Symbol.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-ETen-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-GBK-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-GBpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX0213-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX0213-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX02132004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX02132004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_WP-Symbol.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Wingding.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ZapfDingbats.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_fontsubst.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_times.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/supportFiles/0_runtimeconfig.bin +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/BouncyCastle.Cryptography.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/DocumentFormat.OpenXml.Framework.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/Newtonsoft.Json.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/OpenMcdf.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/RtfPipe.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.IO.Packaging.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Http.Formatting.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Security.Cryptography.Pkcs.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Windows.Extensions.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_EFIGS.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_no_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/initDotnet.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/package.json +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/protobuf-net.Core.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/protobuf-net.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resourceLoader.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_83pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90msp-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90msp-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-7.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan2-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS1-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS1-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CourierStdToNew.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DefaultCMYK.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DroidSansFallbackFull.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DroidSansMono.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETHK-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETHK-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETenms-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETenms-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK2K-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK2K-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBKp-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBKp-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBTpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBTpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GdPictureOCRFont.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdla-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdla-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdlb-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdlb-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKgccs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKgccs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm314-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm314-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm471-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm471-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKscs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKscs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hankaku.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hiragana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Identity-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Identity-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-Johab-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-Johab-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Katakana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_NWP-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_NWP-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_OutputIntent.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_PDFA-XMP.4.2.3 +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Roman.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Symbol.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-ETen-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-GBK-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-GBpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX0213-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX0213-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX02132004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX02132004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_WP-Symbol.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Wingding.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ZapfDingbats.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_fontsubst.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_times.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/supportFiles/0_runtimeconfig.bin +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Nutrient Web SDK 1.3.0 (https://www.nutrient.io/sdk/web)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
7
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
8
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
9
|
+
* This notice may not be removed from this file.
|
|
10
|
+
*
|
|
11
|
+
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
|
+
*/
|
|
13
|
+
(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[750],{1033:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>z});var n=r(67136),s=r(49568),i=r(85409),o=r(45646),a=r(63097),l=r(99589),c=r(2752),h=r(55994),u=r(34551),d=r(47159),p=r(5293),m=r(97881),f=r(14631),E=r(54781),g=r(85553);class w extends(s.mS({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,layerName:null,sourcePdfSha256:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,s.B8)(),signatureFeatureAvailability:g.g.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1,disableWebAssemblyStreaming:!1,overrideMemoryLimit:null,baseCoreUrl:null,useDeprecatedRestProvider:!1})){}var y=r(14511),$=r(15168),R=r(28650),v=r(85410),S=r(9627);const I="The image can not be rendered because of an unknown error.";class P{constructor(e){let{identifier:t,url:r,token:n,payload:s,doNotRequestWebP:i=!1}=e;this.identifier=t,this.url=r,this.token=n,this.payload=s,this.doNotRequestWebP=i}abort(){this.httpRequest?.abort()}request(){return new Promise(((e,t)=>{const r=new XMLHttpRequest;this.httpRequest=r,r.open(this.payload?"POST":"GET",this.url,!0),r.setRequestHeader("X-PSPDFKit-Image-Token",this.token),r.setRequestHeader("PSPDFKit-Platform","web"),r.setRequestHeader("PSPDFKit-Version",(0,v._q)()),$.xd&&!this.doNotRequestWebP&&r.setRequestHeader("Accept","image/webp,*/*"),r.responseType="blob",r.onreadystatechange=(async()=>{if(4!==r.readyState)return;if(r.response&&r.response.type.startsWith("application/json")){const n=new FileReader;return n.onload=r=>{const n=JSON.parse(r.target?.result);n.attachments_not_found?e({attachmentsNotFound:n.attachments_not_found}):n.error?"initialization_error"===n.error?e(null):t(new i.uE(`The server could not render the requested image (${n.error})`)):t(new i.uE(I))},n.onerror=()=>t(new i.uE(I)),void n.readAsText(r.response)}if(!(0,y.Nk)(r.status))return void t(new i.uE(I));const n=r.response,s=URL.createObjectURL(n),o=new Image;o.onerror=()=>t(new i.uE(I)),o.src=s;const a=o.decode();try{await a}catch(e){if(!S.H8)throw new i.uE(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}e(new R.A(o,(()=>URL.revokeObjectURL(s))))}).bind(this),r.send(this.payload)}))}}var A=r(37361),L=r(89574),_=r(41477),b=r(51946),N=r(30026);async function T(e,t,r){const n=await fetch(`${e}/auth`,{method:"POST",headers:{"Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":(0,v._q)()},body:JSON.stringify({jwt:t.jwt,password:r}),credentials:"include"});return n.ok?n.json():n.text().then((e=>{throw"INVALID_PASSWORD"===e?new i.uE(e):new i.uE(`An error occurred while connecting to Nutrient Document Engine: ${e||n.statusText}`)}))}var O=r(25888),F=r(4824),C=r(12219),D=r(37094),x=r(72262),U=r(40927),j=r(9939),k=r(83720),M=r(64337),G=r(89055),B=r(20546),V=r(37506),X=r(26175),q=r(77270),H=r(20873);class z extends x.K{constructor(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;super(),t=this,(0,n.A)(this,"_password",null),(0,n.A)(this,"type","SERVER"),(0,n.A)(this,"_requestRenderAnnotation",((e,r,n,s,o,l)=>{const c=`${this._state.documentURL}/render_annotation`,h=`render-annotation-${l?(0,a.Z0)():e.id}`,u=JSON.stringify({data:(0,m.eq)(e),width:s,height:o,detached:l||void 0,formFieldValue:r?(0,m.cA)(r):void 0});let d=!1,p=[];const f=(0,q.yl)();let E;if((0,L.cu)(e)){if(E=(0,L.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:E,width:s,height:o}))return this.cachedRenderedAnnotationDiscardablePromise(E,f);this._addCachedRenderedAnnotation(E,{width:s,height:o,noZoom:e.noZoom,APStreamPromise:f.promise})}const g=function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const a=new FormData;a.append("render",u),r.length>0&&"imageAttachmentId"in e&&e.imageAttachmentId&&n&&a.append(e.imageAttachmentId,n);const l=new P({identifier:h,url:c,token:t._state.imageToken,payload:a,doNotRequestWebP:s>A.HI||o>A.HI}),m=t._requestQueue.enqueue(l,!1);m.promise.then((r=>{if(!d)if(r?.attachmentsNotFound)g(r.attachmentsNotFound);else{if(!r?.attachmentsNotFound)return(0,L.cu)(e)&&t._makeEnqueuedRelease(r,E),f.resolve(r),r;f.reject(new i.uE("Attachment could not be found."))}})).catch((e=>{const r=t._cachedRenderedAnnotations.get(E);r&&r.timeout&&clearTimeout(r.timeout),t._cachedRenderedAnnotations.delete(E),d?f.resolve(void 0):f.reject(e)})),p.push(m)};return g(),{promise:f.promise,cancel:()=>{d=!0,p.forEach((e=>{e.cancel()}))}}})),(0,n.A)(this,"_requestRenderAnnotations",((e,t,r,n,s)=>{const i=`${this._state.documentURL}/render_annotations`,o=JSON.stringify({annotations:t.map(((t,s)=>({pageIndex:e,pdfObjectId:t,width:r[s],height:n[s]}))),formFieldValues:s});let a,l,c=!1;const h=new Promise(((e,t)=>{a=e,l=t}));return this._fetch(i,{method:"post",body:o,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((e=>e.formData())).then((e=>{c||a(Array.from(e.values()))})).catch((e=>{c||l(e)})),{promise:h,cancel:()=>{c=!0}}})),(0,n.A)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()}));let s=null;if("session"in e){if("string"!=typeof e.session)throw new i.uE("The supplied session token is invalid. Must be a string.");s={jwt:e.session},e.instant=!("instant"in e)||"boolean"!=typeof e.instant&&!(0,i.Qd)(e.instant)||e.instant}else"authPayload"in e&&(s=e.authPayload);if("object"!=typeof s)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const l=s?.accessToken;let c=null,h=null,u="documentId"in e?e.documentId:null,d=null;if(l)d=e.hostedBaseUrl||"https://api.pspdfkit.com/",(0,y.Me)(d),(0,f.P1)(l);else{if(!s||"object"!=typeof s||!("jwt"in s)||"string"!=typeof s.jwt)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const{serverUrl:t,documentId:n}=(0,f.Gm)(s.jwt);if(c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;const n=e.serverUrl||t||(0,v.$_)(r.document);if("/"!==n.substr(-1))throw new i.uE("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!e.serverUrl&&n===(0,y.ln)(r.location.origin))throw new i.uE('PSPDFKit automatically infers the URL of Nutrient Document Engine from the current `<script>` tag.\nIn the current case, this URL is set to the same as the current browser\'s location.\nThis can happen when you bundle nutrient-viewer.js with your custom JavaScript for example.\n\nTo make sure everything works as expected, please set the `serverUrl` to the URL of Nutrient Document Engine:\n\nPSPDFKit.load({\n serverUrl: "https://pspdfkit-server.example.com/",\n ...,\n});');return n}(e,t,r),u=u||n,"string"!=typeof u)throw new i.uE("`documentId` must be of type string.");h=`${c}i/d/${u}`}!function(e){let t="";if("boolean"!=typeof e&&((0,i.Qd)(e)?(e.hasOwnProperty("clientsPresenceEnabled")&&"boolean"!=typeof e.clientsPresenceEnabled&&(t+="`clientsPresenceEnabled` in instance settings is not valid. Must be `true` or `false`.\n"),e.hasOwnProperty("listenToServerChangesEnabled")&&"boolean"!=typeof e.listenToServerChangesEnabled&&(t+="`listenToServerChangesEnabled` in instance settings is not valid. Must be `true` or `false`.\n")):t="`instant` flag must either be set to `true` or `false`\n",t))throw new i.uE(`${t}\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/`)}(e.instant);let p=null;if(e.instant)if((0,i.Qd)(e.instant)){const t=e.instant;p={clientsPresenceEnabled:!1!==t.clientsPresenceEnabled,listenToServerChangesEnabled:!1!==t.listenToServerChangesEnabled}}else p=F.S;this._requestQueue=new o.L(A.LB);const E=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature),g=e.baseUrl||(0,v.$_)(window.document),$=e.baseCoreUrl||g;this._state=new w({serverUrl:c,hostedBaseUrl:d,documentId:u,instantSettings:p,documentURL:h,authPayload:s,isFormsEnabled:!e.disableForms,forceLegacySignaturesFeature:E,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,overrideMemoryLimit:e.overrideMemoryLimit,baseCoreUrl:$,useDeprecatedRestProvider:e.useDeprecatedRestProvider}),"trustedCAsCallback"in e&&e.trustedCAsCallback&&(0,i.R8)("PSPDFKit.Configuration#trustedCAsCallback is only used on Standalone deployments. On a Server-Backed deployment, please follow the instructions at https://pspdfkit.com/guides/web")}isUsingInstantProvider(){return!this._state.useDeprecatedRestProvider}hasClientsPresence(){const e=this._state.instantSettings;return null!=e&&!1!==e.clientsPresenceEnabled}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.tryAuthenticateHostedViewer();const{imageToken:t,token:r,permissions:n,features:o,signatureFeatureAvailability:a,hasPassword:u,minSearchQueryLength:d,layerHandle:p,allowedTileScales:f,digitalSignatures:E,defaultGroup:w,collaborationPermissions:y,creatorName:$,documentEngineVersion:R,layerName:S,sourcePdfSha256:I}=await T(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);this._password=e.password;const P=(0,l.valid)((0,l.coerce)(R));if(this.documentEngineVersion=P,!this.satisfiesDocumentEngineVersion(">=1.5.6"))throw new i.uE(`Document Engine version ${R} does not meet minimum required version requirement >=1.5.6.`);if(this._state.instantSettings&&!o.includes(M.Y.INSTANT))throw new i.uE("Instant feature is not enabled on this server. Please set `instant` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");if(this._state.useDeprecatedRestProvider&&this._state.instantSettings)throw new i.uE("Instant feature can't be enabled together with using deprecated REST provider. Please set either `instant` or `useDeprecatedRestProvider` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");const A=!o.includes(M.Y.INSTANT)&&!this.satisfiesDocumentEngineVersion(">=1.7.0"),L=a===g.g.ELECTRONIC_SIGNATURES&&(0,G.UX)(o)&&this._state.forceLegacySignaturesFeature?g.g.LEGACY_SIGNATURES:a;this._state=this._state.withMutations((e=>e.set("imageToken",t).set("token",r).set("features",(0,s.B8)(o)).set("signatureFeatureAvailability",L).set("backendPermissions",new N.A({readOnly:-1===n.indexOf("write"),downloadingAllowed:n.indexOf("download")>=0})).set("documentURL",`${this._state.serverUrl}i/d/${this._state.documentId}/h/${p}`).set("documentHandle",p).set("isDocumentHandleOutdated",!1).set("digitalSignatures",(0,m.N5)(E)).set("layerName",S).set("sourcePdfSha256",I).set("useDeprecatedRestProvider",A||e.useDeprecatedRestProvider)));if(this.corePDFBridge=new X.D(c.MX.createServerContext({url:this._state.serverUrl,token:this._state.token,imageToken:this._state.imageToken,documentId:this._state.documentId,layerHandle:p,headers:{"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,v._q)()}},(async()=>{const t=H.mG.checkOut().object,r=(0,v.f)(null),n=await T(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);return(0,i.V1)(n.wasmToken,"No wasmToken was returned from the server."),(0,i.V1)(this._state.baseCoreUrl),await t.loadNativeModule(this._state.baseCoreUrl,{mainThreadOrigin:r,disableWebAssemblyStreaming:this._state.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:this._state.overrideMemoryLimit,workerSpawnerFn:()=>h.pj(!0)}).then((async()=>t.load("",n.wasmToken,{mainThreadOrigin:r,productId:null}))),t}),(e=>this.satisfiesDocumentEngineVersion(e)))),y&&!this._state.instantSettings)throw new i.uE("Collaboration Permissions is not supported when `instant` is disabled. Please make sure `configuration#instant` is set to `true`.");return this._state=this._state.withMutations((e=>{e.defaultGroup=w,e.hasCollaborationPermissions=Boolean(y)})),this.provider&&this.provider.destroy(),this.provider=await this._initProvider(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:u,password:this._password,minSearchQueryLength:d,allowedTileScales:f,creatorName:$,defaultGroup:w}}satisfiesDocumentEngineVersion(e){return!!this.documentEngineVersion&&(0,l.satisfies)(this.documentEngineVersion,e)}async tryAuthenticateHostedViewer(){if("accessToken"in this._state.authPayload){const{hostedBaseUrl:e}=this._state,t=this._state.authPayload.accessToken,{serverUrl:r,serverId:n,jwt:s}=await async function(e,t){const r=await fetch(`${e}i/documents/auth`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":"cloud-protocol=1, server-protocol=5, client=1.3.0, client-git=078728031d"},body:JSON.stringify({accessToken:t})});if(r.ok)return r.json();throw new Error(`An error occurred while connecting to PSPDFKit API: ${await r.text()}`)}(e,t);this._state=this._state.withMutations((e=>{e.set("serverUrl",r).set("documentId",n).set("documentURL",`${r}i/d/${n}`).set("authPayload",{jwt:s})}))}}async _initProvider(){if(this._state.useDeprecatedRestProvider){const e=this._state.isFormsEnabled&&this._state.features.includes(M.Y.FORMS),{RESTProvider:t}=await r.e(269).then(r.bind(r,33393));return new t(this._state.documentURL,{token:this._state.token},{isFormsEnabled:e})}{const e=`${this._state.serverUrl}i/d/${this._state.documentId}/h/${this._state.documentHandle}`,{InstantProvider:t}=await r.e(534).then(r.bind(r,15124)),n=new t(`${this._state.serverUrl}i/d/${this._state.documentId}`,e,{auth_token:this._state.token},this._state.instantSettings||F.z);return n.setDocumentHandleConflictCallback(this.handleDocumentHandleConflict),n}}destroy(){this._destroyProvider(),this._requestQueue&&this._requestQueue.destroy()}documentInfo(){return this._fetch(`${this._state.documentURL}/document.json`).then((e=>e.json())).then((e=>e.data))}getFormJSON(){return this._fetch(`${this._state.documentURL}/form.json`).then((e=>403===e.status?{v:1,type:"pspdfkit/form",annotations:[],fields:[]}:e.json().then((e=>e.data))))}async evalFormValuesActions(){throw new Error("not implemented")}async evalScript(){throw new Error("not implemented")}async setFormJSONUpdateBatchMode(){throw new Error("not implemented")}compareDocuments(){throw new Error("not implemented")}updateButtonIcon(){throw new Error("not implemented")}permissions(){return Promise.resolve(this._state.backendPermissions)}getDefaultGroup(){return this._state.defaultGroup}isCollaborationPermissionsEnabled(){return this._state.hasCollaborationPermissions}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}async getSuggestedLineHeightFactor(){return 1}async getAnnotationsByScale(){return[]}getAvailableFontFaces(){throw new i.uE("Custom fonts need to be mounted on the server in Server-Backed deployments.")}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){const r=encodeURIComponent(JSON.stringify(t.map(p.w).toArray()));return this._fetch(`${this._state.documentURL}/page-${e}-highlighted?rects=${r}`).then((e=>e.json())).then((e=>e.text))}_getJSONRequestHandler(){return E.A}renderAnnotation(e,t,r,n,s){return this._requestRenderAnnotation(e,t,r,n,s)}async renderPageAnnotations(e,t,r){const n=this.provider,s=t.some((e=>e instanceof b.sb));s&&await n._setReadStateCallbacksPromise;const i=[],o=t.filter((e=>{const t=s?n._readStateCallbacks.getAnnotationWithFormField(e.id):null,r=t?.formField,o=(0,L.lG)(e,r);if(o&&r&&"number"==typeof e.pdfObjectId){i.find((e=>e.name===r.name))||i.push((0,m.cA)((0,k.Af)(r)))}return o&&"number"==typeof e.pdfObjectId}));if(0===o.size&&0===i.length)return Promise.resolve();const a=new Promise(((t,n)=>{const s=o.filter((e=>0!==Math.floor(e.boundingBox.width*r)&&0!==Math.floor(e.boundingBox.height*r))),{promise:a,cancel:l}=this._requestRenderAnnotations(e,s.map((e=>e.pdfObjectId)).toArray(),s.map((e=>Math.floor(e.boundingBox.width*r))).toArray(),s.map((e=>Math.floor(e.boundingBox.height*r))).toArray(),i);a.then((e=>{const r=e.map((e=>e&&(0,j.BJ)(e)));r.forEach((async(e,t)=>{const r=await e,n=s.get(t);if(n){const e=this.annotationAPStreamPromises.get(n.id);e&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(n.id),e(r)),r&&this.cacheAPStream(r,n)}})),Promise.all(r).then((()=>t()))})).catch((e=>{l(),n(e)}))}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,a),a}renderDetachedAnnotation(e,t,r,n){return this._requestRenderAnnotation(e,null,t,r,n,!0)}async getAttachment(e){try{const t=await this._fetch(`${this._state.documentURL}/attachments/${e}`);switch(t.status){case 404:throw new i.uE("Attachment not Found.");case 200:return await t.blob();default:throw new i.uE("Bad Request.")}}catch(e){throw new i.uE(`Could not fetch attachment from Nutrient Document Engine. ${e}`)}}async search(e,t,r,n){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:D.n.TEXT;const o=`q=${i===D.n.PRESET?e.replace(/_/g,"-"):encodeURIComponent(e)}&start=${t}&limit=${r}&type=${i}&include_annotations=${s.toString()}&case_sensitive=${n.toString()}`,a=`${this._state.documentURL}/search?${o}`,l=await new E.A(a,this._state.token).request();return(0,d.g)(l.data)}async getMeasurementSnappingPoints(e){}async searchAndRedact(e,t){const{searchType:r,annotationPreset:n,searchInAnnotations:i,caseSensitive:o,startPageIndex:a,pageRange:l}=t,{color:c,fillColor:h,outlineColor:u,...d}=n,p=await this._fetch(`${this._state.documentURL}/redactions`,{method:"post",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({strategy:r,strategyOptions:{[r]:r===D.n.PRESET?e.replace(/_/g,"-"):e,includeAnnotations:i,caseSensitive:o,...void 0!==a&&{start:a},...void 0!==l&&{limit:l}},content:{...d,color:c&&c.toHex(),fillColor:h&&h.toHex(),outlineColor:u&&u.toHex()}})}),{data:m}=await p.json(),f=(0,s.B8)(m.annotations?.filter((e=>!!e.content)).map((e=>C.A.fromJSON(e.id,e.content)))||[]);if(f.size){const e=this._state.instantSettings;!this.isUsingInstantProvider()||e&&e.listenToServerChangesEnabled||await this.syncChanges()}return f}exportPDF(){let{flatten:e=!1,includeComments:t=!0,excludeAnnotations:r=!1,outputFormat:n=!1,optimize:s=!1,flattenElectronicSignatures:o=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&!1===o)throw new i.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");const a=`${this._state.documentURL}/pdf?token=${this._state.token}${e?`&flatten=${String(e)}`:""}&comments=${String(t)}&render_ap_streams=${String(!e)}&remove_annotations=${String(r)}${e?"":`&keep_signatures=${!o}`}`;if(s){const e={documentFormat:"pdf",grayscaleText:!1,grayscaleGraphics:!1,grayscaleFormFields:!1,grayscaleAnnotations:!1,grayscaleImages:!1,disableImages:!1,mrcCompression:!1,imageOptimizationQuality:2,linearize:!1};let t;if("boolean"!=typeof s){t={...e,...s}}else t=e;const{documentFormat:r,grayscaleText:n,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:c,disableImages:h,mrcCompression:u,imageOptimizationQuality:d,linearize:p}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:r,grayscaleText:n,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:c,disableImages:h,mrcCompression:u,imageOptimizationQuality:d,linearize:p}}),credentials:"include"}).then((e=>e.arrayBuffer()))}if(n){const e={conformance:B.o.PDFA_2B,vectorization:!0,rasterization:!0};let t;if("boolean"!=typeof n){t={...e,...n}}else t=e;const{conformance:r,vectorization:s,rasterization:i}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:"pdfa",conformance:r,vectorization:s,rasterization:i}}),credentials:"include"}).then((e=>e.arrayBuffer()))}return fetch(a,{method:"GET",credentials:"include"}).then((e=>e.arrayBuffer()))}exportOffice(e){let{format:t}=e;const r=`${this._state.documentURL}/build`;return this._fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:t.toLowerCase()}}),credentials:"include"}).then((e=>e.arrayBuffer())).catch((e=>{throw new i.uE(`Exporting to Office failed: ${e.message}`)}))}exportXFDF(){return this._fetch(`${this._state.documentURL}/document.xfdf`).then((e=>e.text()))}exportInstantJSON(e){return this._fetch(`${this._state.documentURL}/instant.json${"number"==typeof e?`?version=${e}`:""}`).then((e=>e.json()))}getPDFURL(){let{includeComments:e=!0,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{promise:Promise.resolve(`${this._state.documentURL}/pdf?token=${this._state.token}&flatten=true&comments=${String(e)}&remove_annotations=${String(t)}`),revoke:()=>{}}}generatePDFObjectURL(){let e,{includeComments:t=!0,excludeAnnotations:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,excludeAnnotations:r}).then((t=>{if(n)return;const r=new Blob([t],{type:"application/pdf"});e=window.URL.createObjectURL(r),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),n=!0}}}async getDocumentOutline(){let e;try{e=(await this._fetch(`${this._state.documentURL}/outline.json`).then((e=>e.json()))).data}catch(t){e={}}const t=Array.isArray(e.outline)?e.outline:[];return(0,s.B8)(t.map(_.r))}async setDocumentOutline(){throw new i.uE("Not implemented in Server backend.")}async getPageGlyphs(){throw new i.uE("Not implemented in Server backend.")}onKeystrokeEvent(){throw new Error("not implemented")}async getMeasurementScales(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/measurement_content_formats`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching measurement scales failed: ${e}`)}}async getSecondaryMeasurementUnit(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching secondary measurement unit failed: ${e}`)}}async setSecondaryMeasurementUnit(e){try{const t=JSON.stringify({unitTo:e?e.unitTo:null,precision:e?e.precision:null});await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Setting secondary measurement unit failed: ${e}`)}}async addMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Adding a new measurement scale failed: ${e}`)}}async removeMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats/delete`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Removing scale failed: ${e}`)}}async applyOperationsAndReload(e){try{const t=await W(e);this._destroyProvider(),await this._fetch(`${this._state.documentURL}/apply-operations`,{method:"post",body:t,credentials:"include"})}catch(e){throw new i.uE(`Applying operations failed: ${e}`)}return this.reloadDocument()}async applyRedactionsAndReload(){try{return this._destroyProvider(),await this._fetch(`${this._state.documentURL}/redact`,{method:"post",credentials:"include"}),this.reloadDocument()}catch(e){throw this.provider.load(),new i.uE(`Applying redactions failed: ${e}`)}}async reloadDocument(){this.clearRenderedAnnotationsCache();try{return await this.load({password:this._password})}catch(e){throw new i.uE(`Reloading the document failed: ${e}`)}}async exportPDFWithOperations(e){try{const t=await W(e);return this._fetch(`${this._state.documentURL}/pdf-with-operations`,{method:"post",body:t,credentials:"include"}).then((e=>e.arrayBuffer()))}catch(e){throw new i.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){throw new Error("not implemented")}async getSignaturesInfo(){return this._refreshSignaturesInfoPromise&&await this._refreshSignaturesInfoPromise,this._state.digitalSignatures}refreshSignaturesInfo(){return this._refreshSignaturesInfoPromise||(this._refreshSignaturesInfoPromise=new Promise(((e,t)=>{this._fetch(`${this._state.documentURL}/signatures`,{method:"get",credentials:"include"}).then((e=>e.json())).then((t=>{let{data:r}=t;this._state=this._state.set("digitalSignatures",(0,m.N5)(r)),this._refreshSignaturesInfoPromise=null,e()})).catch((e=>{this._state=this._state.set("digitalSignatures",null),this._refreshSignaturesInfoPromise=null,t(e)}))}))),this._refreshSignaturesInfoPromise}async signDocumentAndReload(e,t){(0,i.V1)(void 0===t||"object"==typeof t,"Signing service data must be an object if specified.");try{if(void 0!==t&&"object"!=typeof t)throw new i.uE("Signing service data must be an object if specified.");(0,V.r6)(e);const r=e?{..."placeholderSize"in e?{estimatedSize:e.placeholderSize}:null,..."flatten"in e?{flatten:e.flatten}:null,...e?.signatureMetadata?{signatureMetadata:(0,m.sZ)(e.signatureMetadata)}:null,..."position"in e?{position:(0,m.qN)(e.position)}:null,..."appearance"in e?{appearance:await(0,m.z8)(e.appearance)}:null,..."formFieldName"in e?{formFieldName:e.formFieldName}:null,...void 0!==e?.signingData&&"signatureContainer"in e.signingData?{signatureContainer:e.signingData.signatureContainer}:null,...void 0!==e?.signingData&&"signatureType"in e.signingData?{signatureType:m.xz[e.signingData.signatureType]}:null}:null,n=e?.appearance?.watermarkImage||null,s=e?.appearance?.graphicImage||null,o={...t?{signingToken:t.signingToken}:null,...r},a=new FormData;if(a.append("data",JSON.stringify(o)),n&&a.append("image",n),s&&a.append("graphicImage",s),this._destroyProvider(),await this._fetch(`${this._state.documentURL}/sign`,{method:"post",body:a,credentials:"include"}),await this.reloadDocument(),e?.formFieldName)return e.formFieldName}catch(e){throw this.provider.load(),new i.uE(`Adding digital signature failed: ${e.message||e}`)}}async setFontSubstitutions(e){try{const t=`${this._state.documentURL}/font-substitutions`;await this._fetch(t,{method:"put",body:JSON.stringify({fontSubstitutions:e}),credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Error setting font substitution: ${e.message}`)}}getDocumentHandle(){return this._state.documentHandle}async getEmbeddedFiles(){const e=await this._fetch(`${this._state.documentURL}/embedded-files`,{method:"get",credentials:"include"}),{data:t}=await e.json();return(0,s.B8)(t?.embeddedFiles?.map((e=>{let{id:t,content:r}=e;return(0,U.r)(t,r)}))||[])}cancelRequests(){this._requestQueue.cancelAll()}_destroyProvider(){this.provider&&(this.provider._clients&&this.provider._clients.disconnect(),this.provider.destroy())}async _fetch(e,t){const r=await fetch(e,{...t,headers:{...t?.headers,"X-PSPDFKit-Token":this._state.token,"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,v._q)()}});if(!r.ok){let e=await function(e){return e.clone().json().catch((()=>e.text()))}(r);e="object"==typeof e?e.reason:e;const t=e||`${r.status} ${r.statusText}`;throw new i.uE(t)}return r}syncChanges(){return this.provider.syncChanges()}async clearAPStreamCache(){}async runPDFFormattingScripts(){return[]}async runPDFFormattingScriptsFromWidgets(){return this.runPDFFormattingScripts()}async lazyLoadPages(){}async contentEditorReload(){return this._destroyProvider(),this.reloadDocument()}getOCGs(){throw new Error("not implemented")}getOCGVisibilityState(){throw new Error("not implemented")}setOCGVisibilityState(){throw new Error("not implemented")}async timestampData(e,t){throw new Error("not implemented")}async waitUntilFullyLoaded(e){throw new Error("not implemented")}}async function W(e){const t={},r=new WeakMap,n=await Promise.all(e.map((async(e,n)=>{if("importDocument"===e.type){const s=e.document;return(0,i.V1)(s instanceof File||s instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),(0,O.g)(r,t,s,e,n,"document")}if("applyInstantJson"===e.type){const s=e.instantJson;(0,i.V1)("object"==typeof s&&null!==s,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const o=JSON.stringify(s),a=new Blob([o],{type:"application/json"});return(0,O.g)(r,t,a,e,n,"dataFilePath")}if("applyXfdf"===e.type){const s=e.xfdf;(0,i.V1)("string"==typeof s,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const o=new Blob([s],{type:"application/vnd.adobe.xfdf"});return(0,O.g)(r,t,o,e,n,"dataFilePath")}return e}))),s=new FormData;s.append("operations",JSON.stringify({operations:n}));for(const e in t)s.append(e,t[e]);return s}},4824:(e,t,r)=>{"use strict";r.d(t,{S:()=>n,z:()=>s});const n={clientsPresenceEnabled:!0,listenToServerChangesEnabled:!0},s={clientsPresenceEnabled:!1,listenToServerChangesEnabled:!1}},93904:(e,t,r)=>{const n=Symbol("SemVer ANY");class s{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new h(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new h(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=s;const i=r(98587),{safeRe:o,t:a}=r(99718),l=r(72111),c=r(57272),h=r(53908),u=r(78311)},78311:(e,t,r)=>{const n=/\s+/g;class s{constructor(e,t){if(t=o(t),e instanceof s)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new s(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&w(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&E))+":"+e,r=i.get(t);if(r)return r;const n=this.options.loose,s=n?h[u.HYPHENRANGELOOSE]:h[u.HYPHENRANGE];e=e.replace(s,N(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(h[u.COMPARATORTRIM],d),l("comparator trim",e),e=e.replace(h[u.TILDETRIM],p),l("tilde trim",e),e=e.replace(h[u.CARETTRIM],m),l("caret trim",e);let o=e.split(" ").map((e=>$(e,this.options))).join(" ").split(/\s+/).map((e=>b(e,this.options)));n&&(o=o.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(h[u.COMPARATORLOOSE]))))),l("range list",o);const c=new Map,w=o.map((e=>new a(e,this.options)));for(const e of w){if(g(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const y=[...c.values()];return i.set(t,y),y}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Range is required");return this.set.some((r=>y(r,t)&&e.set.some((e=>y(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=s;const i=new(r(68794)),o=r(98587),a=r(93904),l=r(57272),c=r(53908),{safeRe:h,t:u,comparatorTrimReplace:d,tildeTrimReplace:p,caretTrimReplace:m}=r(99718),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:E}=r(16874),g=e=>"<0.0.0-0"===e.value,w=e=>""===e.value,y=(e,t)=>{let r=!0;const n=e.slice();let s=n.pop();for(;r&&n.length;)r=n.every((e=>s.intersects(e,t))),s=n.pop();return r},$=(e,t)=>(l("comp",e,t),e=I(e,t),l("caret",e),e=v(e,t),l("tildes",e),e=A(e,t),l("xrange",e),e=_(e,t),l("stars",e),e),R=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>S(e,t))).join(" "),S=(e,t)=>{const r=t.loose?h[u.TILDELOOSE]:h[u.TILDE];return e.replace(r,((t,r,n,s,i)=>{let o;return l("tilde",e,t,r,n,s,i),R(r)?o="":R(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:R(s)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(l("replaceTilde pr",i),o=`>=${r}.${n}.${s}-${i} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`,l("tilde return",o),o}))},I=(e,t)=>e.trim().split(/\s+/).map((e=>P(e,t))).join(" "),P=(e,t)=>{l("caret",e,t);const r=t.loose?h[u.CARETLOOSE]:h[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,i,o)=>{let a;return l("caret",e,t,r,s,i,o),R(r)?a="":R(s)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:R(i)?a="0"===r?`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.0${n} <${+r+1}.0.0-0`:o?(l("replaceCaret pr",o),a="0"===r?"0"===s?`>=${r}.${s}.${i}-${o} <${r}.${s}.${+i+1}-0`:`>=${r}.${s}.${i}-${o} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${i}-${o} <${+r+1}.0.0-0`):(l("no pr"),a="0"===r?"0"===s?`>=${r}.${s}.${i}${n} <${r}.${s}.${+i+1}-0`:`>=${r}.${s}.${i}${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${i} <${+r+1}.0.0-0`),l("caret return",a),a}))},A=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>L(e,t))).join(" ")),L=(e,t)=>{e=e.trim();const r=t.loose?h[u.XRANGELOOSE]:h[u.XRANGE];return e.replace(r,((r,n,s,i,o,a)=>{l("xRange",e,r,n,s,i,o,a);const c=R(s),h=c||R(i),u=h||R(o),d=u;return"="===n&&d&&(n=""),a=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(h&&(i=0),o=0,">"===n?(n=">=",h?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===n&&(n="<",h?s=+s+1:i=+i+1),"<"===n&&(a="-0"),r=`${n+s}.${i}.${o}${a}`):h?r=`>=${s}.0.0${a} <${+s+1}.0.0-0`:u&&(r=`>=${s}.${i}.0${a} <${s}.${+i+1}.0-0`),l("xRange return",r),r}))},_=(e,t)=>(l("replaceStars",e,t),e.trim().replace(h[u.STAR],"")),b=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(h[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),N=e=>(t,r,n,s,i,o,a,l,c,h,u,d)=>`${r=R(n)?"":R(s)?`>=${n}.0.0${e?"-0":""}`:R(i)?`>=${n}.${s}.0${e?"-0":""}`:o?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=R(c)?"":R(h)?`<${+c+1}.0.0-0`:R(u)?`<${c}.${+h+1}.0-0`:d?`<=${c}.${h}.${u}-${d}`:e?`<${c}.${h}.${+u+1}-0`:`<=${l}`}`.trim(),T=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},53908:(e,t,r)=>{const n=r(57272),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=r(16874),{safeRe:o,safeSrc:a,t:l}=r(99718),c=r(98587),{compareIdentifiers:h}=r(61123);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[l.LOOSE]:o[l.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],s=e.prerelease[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return h(r,s)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],s=e.build[t];if(n("build compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return h(r,s)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=new RegExp(`^${this.options.loose?a[l.PRERELEASELOOSE]:a[l.PRERELEASE]}$`),r=`-${t}`.match(e);if(!r||r[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===h(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},57414:(e,t,r)=>{const n=r(30144);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},72111:(e,t,r)=>{const n=r(94641),s=r(13999),i=r(35580),o=r(54089),a=r(7059),l=r(25200);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return s(e,r,c);case">":return i(e,r,c);case">=":return o(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},46170:(e,t,r)=>{const n=r(53908),s=r(30144),{safeRe:i,t:o}=r(99718);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let s;for(;(s=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&s.index+s[0].length===r.index+r[0].length||(r=s),n.lastIndex=s.index+s[1].length+s[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE]);if(null===r)return null;const a=r[2],l=r[3]||"0",c=r[4]||"0",h=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return s(`${a}.${l}.${c}${h}${u}`,t)}},40909:(e,t,r)=>{const n=r(53908);e.exports=(e,t,r)=>{const s=new n(e,r),i=new n(t,r);return s.compare(i)||s.compareBuild(i)}},11763:(e,t,r)=>{const n=r(50560);e.exports=(e,t)=>n(e,t,!0)},50560:(e,t,r)=>{const n=r(53908);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},51832:(e,t,r)=>{const n=r(30144);e.exports=(e,t)=>{const r=n(e,null,!0),s=n(t,null,!0),i=r.compare(s);if(0===i)return null;const o=i>0,a=o?r:s,l=o?s:r,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(a))return l.minor&&!l.patch?"minor":"patch"}const h=c?"pre":"";return r.major!==s.major?h+"major":r.minor!==s.minor?h+"minor":r.patch!==s.patch?h+"patch":"prerelease"}},94641:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>0===n(e,t,r)},35580:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>n(e,t,r)>0},54089:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>n(e,t,r)>=0},93007:(e,t,r)=>{const n=r(53908);e.exports=(e,t,r,s,i)=>{"string"==typeof r&&(i=s,s=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,s,i).version}catch(e){return null}}},7059:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>n(e,t,r)<0},25200:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>n(e,t,r)<=0},32938:(e,t,r)=>{const n=r(53908);e.exports=(e,t)=>new n(e,t).major},46254:(e,t,r)=>{const n=r(53908);e.exports=(e,t)=>new n(e,t).minor},13999:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>0!==n(e,t,r)},30144:(e,t,r)=>{const n=r(53908);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},24493:(e,t,r)=>{const n=r(53908);e.exports=(e,t)=>new n(e,t).patch},31729:(e,t,r)=>{const n=r(30144);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9970:(e,t,r)=>{const n=r(50560);e.exports=(e,t,r)=>n(t,e,r)},74277:(e,t,r)=>{const n=r(40909);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},97638:(e,t,r)=>{const n=r(78311);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},43927:(e,t,r)=>{const n=r(40909);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},56953:(e,t,r)=>{const n=r(30144);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},99589:(e,t,r)=>{const n=r(99718),s=r(16874),i=r(53908),o=r(61123),a=r(30144),l=r(56953),c=r(57414),h=r(93007),u=r(51832),d=r(32938),p=r(46254),m=r(24493),f=r(31729),E=r(50560),g=r(9970),w=r(11763),y=r(40909),$=r(43927),R=r(74277),v=r(35580),S=r(7059),I=r(94641),P=r(13999),A=r(54089),L=r(25200),_=r(72111),b=r(46170),N=r(93904),T=r(78311),O=r(97638),F=r(77631),C=r(19628),D=r(270),x=r(41261),U=r(13874),j=r(97075),k=r(75571),M=r(5342),G=r(76780),B=r(72525),V=r(75032);e.exports={parse:a,valid:l,clean:c,inc:h,diff:u,major:d,minor:p,patch:m,prerelease:f,compare:E,rcompare:g,compareLoose:w,compareBuild:y,sort:$,rsort:R,gt:v,lt:S,eq:I,neq:P,gte:A,lte:L,cmp:_,coerce:b,Comparator:N,Range:T,satisfies:O,toComparators:F,maxSatisfying:C,minSatisfying:D,minVersion:x,validRange:U,outside:j,gtr:k,ltr:M,intersects:G,simplifyRange:B,subset:V,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},16874:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},61123:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),s=t.test(r);return n&&s&&(e=+e,r=+r),e===r?0:n&&!s?-1:s&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},68794:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},98587:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},99718:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=r(16874),o=r(57272),a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],h=t.safeSrc=[],u=t.t={};let d=0;const p="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[p,s]],f=(e,t,r)=>{const n=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),s=d++;o(e,s,t),u[e]=s,c[s]=t,h[s]=n,a[s]=new RegExp(t,r?"g":void 0),l[s]=new RegExp(n,r?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),f("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${p}+`),f("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),f("FULL",`^${c[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),f("LOOSE",`^${c[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),f("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),f("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[u.COERCE],!0),f("COERCERTLFULL",c[u.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},75571:(e,t,r)=>{const n=r(97075);e.exports=(e,t,r)=>n(e,t,">",r)},76780:(e,t,r)=>{const n=r(78311);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},5342:(e,t,r)=>{const n=r(97075);e.exports=(e,t,r)=>n(e,t,"<",r)},19628:(e,t,r)=>{const n=r(53908),s=r(78311);e.exports=(e,t,r)=>{let i=null,o=null,a=null;try{a=new s(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new n(i,r)))})),i}},270:(e,t,r)=>{const n=r(53908),s=r(78311);e.exports=(e,t,r)=>{let i=null,o=null,a=null;try{a=new s(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new n(i,r)))})),i}},41261:(e,t,r)=>{const n=r(53908),s=r(78311),i=r(35580);e.exports=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!i(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||r&&!i(r,o)||(r=o)}return r&&e.test(r)?r:null}},97075:(e,t,r)=>{const n=r(53908),s=r(93904),{ANY:i}=s,o=r(78311),a=r(97638),l=r(35580),c=r(7059),h=r(25200),u=r(54089);e.exports=(e,t,r,d)=>{let p,m,f,E,g;switch(e=new n(e,d),t=new o(t,d),r){case">":p=l,m=h,f=c,E=">",g=">=";break;case"<":p=c,m=u,f=l,E="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let o=null,a=null;if(n.forEach((e=>{e.semver===i&&(e=new s(">=0.0.0")),o=o||e,a=a||e,p(e.semver,o.semver,d)?o=e:f(e.semver,a.semver,d)&&(a=e)})),o.operator===E||o.operator===g)return!1;if((!a.operator||a.operator===E)&&m(e,a.semver))return!1;if(a.operator===g&&f(e,a.semver))return!1}return!0}},72525:(e,t,r)=>{const n=r(97638),s=r(50560);e.exports=(e,t,r)=>{const i=[];let o=null,a=null;const l=e.sort(((e,t)=>s(e,t,r)));for(const e of l){n(e,t,r)?(a=e,o||(o=e)):(a&&i.push([o,a]),a=null,o=null)}o&&i.push([o,null]);const c=[];for(const[e,t]of i)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const h=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return h.length<u.length?h:t}},75032:(e,t,r)=>{const n=r(78311),s=r(93904),{ANY:i}=s,o=r(97638),a=r(50560),l=[new s(">=0.0.0-0")],c=[new s(">=0.0.0")],h=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?l:c}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=c}const n=new Set;let s,h,p,m,f,E,g;for(const t of e)">"===t.operator||">="===t.operator?s=u(s,t,r):"<"===t.operator||"<="===t.operator?h=d(h,t,r):n.add(t.semver);if(n.size>1)return null;if(s&&h){if(p=a(s.semver,h.semver,r),p>0)return null;if(0===p&&(">="!==s.operator||"<="!==h.operator))return null}for(const e of n){if(s&&!o(e,String(s),r))return null;if(h&&!o(e,String(h),r))return null;for(const n of t)if(!o(e,String(n),r))return!1;return!0}let w=!(!h||r.includePrerelease||!h.semver.prerelease.length)&&h.semver,y=!(!s||r.includePrerelease||!s.semver.prerelease.length)&&s.semver;w&&1===w.prerelease.length&&"<"===h.operator&&0===w.prerelease[0]&&(w=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,E=E||"<"===e.operator||"<="===e.operator,s)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(m=u(s,e,r),m===e&&m!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(e),r))return!1;if(h)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),"<"===e.operator||"<="===e.operator){if(f=d(h,e,r),f===e&&f!==h)return!1}else if("<="===h.operator&&!o(h.semver,String(e),r))return!1;if(!e.operator&&(h||s)&&0!==p)return!1}return!(s&&E&&!h&&0!==p)&&(!(h&&g&&!s&&0!==p)&&(!y&&!w))},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let s=!1;e:for(const n of e.set){for(const e of t.set){const t=h(n,e,r);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},77631:(e,t,r)=>{const n=r(78311);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13874:(e,t,r)=>{const n=r(78311);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}}}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Nutrient Web SDK 1.3.0 (https://www.nutrient.io/sdk/web)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
7
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
8
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
9
|
+
* This notice may not be removed from this file.
|
|
10
|
+
*
|
|
11
|
+
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
|
+
*/
|
|
13
|
+
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[534],{15124:(e,t,s)=>{s.d(t,{InstantProvider:()=>D});var i=s(67136),n=s(49568),o=s(85409),a=s(97881),r=s(82987),c=s(78236);class l extends(n.mS({clientId:"",userId:null,presenceContent:{}})){}class d extends(n.mS({status:"offline",currentClient:null,clients:(0,n.T5)()})){}var h=s(85410),u=s(38119);class m{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=null,this.tries=0}reset(){this.tries=0,this.timer&&clearTimeout(this.timer)}scheduleTimeout(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.tries=this.tries+1,this.callback()}),this.timerCalc(this.tries+1))}}var p=s(75675);const _="0.0.1",f=0,k=1,C=2,g={name:"PSPDFKit-Web"},b=e=>[1e3,2e3][e-1]||5e3;class y{constructor(e,t){let{reconnectTimerCalc:s=b,enableReconnect:i=!0,events:o=[],enableAuthenticationTimeout:a=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.eventEmitter=new u.A(["connect","disconnect","error"].concat(o)),this.serverURL=e,this.authPayload=t,this.socket=null,this.lastRequestId=0,this.requestsWaitingForAnswers=(0,n.T5)(),this.enableReconnect=i,this.reconnectTimerCalc=s,this.enableAuthenticationTimeout=a,i&&(this.reconnectTimer=new m((()=>{this.socket&&(this.socket.close(),this.socket=null),this.connect()}),s)),this.clearAuthenticationInformation()}registerEvents(e){this.eventEmitter.events.push(...e)}connect(){if(this.socket)return;const e=new WebSocket(this.serverURL);e.onopen=this.onOpen.bind(this),e.onmessage=this.onMessage.bind(this),e.onerror=()=>{this.socket=null,this.eventEmitter.emit("error",`Failed to create the WebSocket connection to ${this.serverURL}. Please check your firewall or proxy settings.`)},this.socket=e}disconnect(){this.socket&&(this.socket.onclose=()=>{},this.socket.close(),this.clearAuthenticationInformation(),this.abortOpenRequests(),this.eventEmitter.emit("disconnect"))}get connectionState(){switch(this.socket&&this.socket.readyState){case f:return"connecting";case k:return"open";case C:return"closing";default:return"closed"}}get isAuthenticated(){return""!==this.clientId}sendRequest(e,t){return new Promise(((s,i)=>{if(!this.isAuthenticated||!this.socket)return void i(new o.uE("Cannot send request when the connection is not authenticated"));const n=this.nextRequestId(),a=JSON.stringify(t);this.requestsWaitingForAnswers=this.requestsWaitingForAnswers.set(n,{resolve:s,reject:i});this.socket.send(`${n}:${e}:${a}`)}))}on(e,t){this.eventEmitter.on(e,t)}off(e,t){this.eventEmitter.off(e,t)}onOpen(){const e=this.socket;e&&(e.onerror=this.onError.bind(this),e.onclose=this.onClose.bind(this),this.enableAuthenticationTimeout&&(this.timeout=setTimeout((()=>{this.eventEmitter.emit("error","Authentication timeout"),this.timeout=null,this.socket&&(this.socket.close(),this.socket=null),this.enableReconnect&&(this.reconnectTimer=new m((()=>{this.socket&&(this.socket.close(),this.socket=null),this.connect()}),this.reconnectTimerCalc))}),15e3)))}onMessage(e){const t=e.data;if(this.isAuthenticated){const e=this.parseFrame(t);if(e.requestId){const t=e.requestId;(0,p.V)(this.requestsWaitingForAnswers.has(t),"Received a reply with an unknown request ID.");const s=this.requestsWaitingForAnswers.get(t);switch((0,p.V)(s),e.action){case"ok":s.resolve(e.payload);break;case"error":s.reject(new o.uE(e.payload.reason||"Unknown error"));break;default:(0,p.V)(!1,`${e.action} is not a valid request reply`)}this.requestsWaitingForAnswers=this.requestsWaitingForAnswers.delete(t)}else this.eventEmitter.events.includes(e.action)&&this.eventEmitter.emit(e.action,e.payload),this.log("incoming info message",e)}else{const e=this.parseUnauthenticatedFrame(t);switch(e.action){case"hello":this.onHello(e.payload);break;case"authenticated":this.onAuthenticated(e.payload);break;case"error":this.eventEmitter.emit("error",e.payload.reason||"Unknown error")}}}onClose(e){this.clearAuthenticationInformation(),this.abortOpenRequests(),this.reconnectTimer&&this.reconnectTimer.scheduleTimeout(),this.eventEmitter.emit("disconnect"),this.log("close",e)}onError(e){this.reconnectTimer&&this.reconnectTimer.scheduleTimeout(),this.log("error",e)}nextRequestId(){const e=this.lastRequestId+1;return this.lastRequestId=e,e}onHello(e){const t=this.socket;if(2===e.protocol_version){const e={protocol_version:2,client_version:_,client_info:g,auth_payload:this.authPayload};t.send(`hello_web:${JSON.stringify(e)}`)}else t.send(`handshake_failed:${JSON.stringify({reason:"protocol_mismatch",protocol_version:2,client_version:_,client_info:g})}`),this.eventEmitter.emit("error","protocol_mismatch")}onAuthenticated(e){(0,p.V)(e.client_id,"`authenticated` message has no `client_id`"),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.clientId=e.client_id,this.userId=e.user_id||null,this.eventEmitter.emit("connect",{clientId:this.clientId,userId:this.userId})}log(){if("development"===(0,h.uc)()){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];console.log("SYNCConnection",...t)}}parseFrame(e){const[,t,s,i]=/^(\d+|info):([a-zA-Z-_]+):(.+)$/.exec(e.toString());let n=null;"info"!==t&&(n=parseInt(t));return{requestId:n,action:s,payload:JSON.parse(i)}}parseUnauthenticatedFrame(e){const[,t,s]=/^(hello|authenticated|error):(.+)$/.exec(e.toString());return{action:t,payload:JSON.parse(s)}}abortOpenRequests(){this.requestsWaitingForAnswers.forEach((e=>{e.reject(new o.uE("request aborted"))})),this.requestsWaitingForAnswers=(0,n.T5)()}clearAuthenticationInformation(){this.clientId="",this.userId=null}}function F(e){return(0,o.V1)("string"==typeof e.client_id,"The client payload must have a `client_id`"),(0,o.V1)("object"==typeof e.presence,"The client payload must have a `presence`"),new l({clientId:e.client_id,userId:e.user_id,presenceContent:e.presence})}class w{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new d,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;this.state=e,this.connectionClass=t}load(e,t,s){return new Promise(((i,n)=>{this.setState=e=>{this.state=e},this.connection=new this.connectionClass(e,t,{events:["client_presence"]}),this.connection.on("connect",(e=>{const t=new l({clientId:e.clientId,userId:e.userId,presenceContent:s});this.setState(this.state.set("status","online").set("currentClient",t)),this.populateClients(s).then((()=>{i(this)})).catch(n)})),this.connection.on("error",(e=>{n(new o.uE(e.toString()))})),this.connection.on("client_presence",(e=>this.onInfoClientPresence(e))),this.connection.connect()}))}populateClients(e){return new Promise(((t,s)=>{this.connection.sendRequest("enter_layer",{presence:e}).then((e=>{this.setState(function(e,t){return(0,o.V1)(t.clients,"The payload must have a `clients` list"),e.withMutations((s=>{(0,o.V1)(e.currentClient);const i=(0,n.T5)(t.clients.map((e=>F(e))).map((e=>[e.clientId,e]))).set(e.currentClient.clientId,e.currentClient);s.set("clients",i)}))}(this.state,e)),t()})).catch(s)}))}onInfoClientPresence(e){if(this.setState(function(e,t){(0,p.V)("object"==typeof t.clients,"The payload must have `clients`");const s=e.clients.withMutations((s=>{if(t.clients.entered)for(const i of t.clients.entered){if(e.clients.has(i.client_id))throw new o.uE("The client marked as entered is already known");const t=F(i);s.set(t.clientId,t)}if(t.clients.updated)for(const i of t.clients.updated){(0,p.V)("string"==typeof i.client_id,"The client payload must have a `client_id`"),(0,p.V)("object"==typeof i.presence,"The client payload must have a `presence`");const t=e.clients.get(i.client_id);if(!t)throw new o.uE("The client marked as updated is not known");s.set(t.clientId,t.set("presenceContent",i.presence))}if(t.clients.left)for(const i of t.clients.left){if(!e.clients.has(i))throw new o.uE("The client marked as left is not known");s.delete(i)}}));return e.set("clients",s)}(this.state,e)),this.shouldFireClientUpdatesCallback){let t=(0,n.T5)();if(e.clients.entered){const s=e.clients.entered.map((e=>e.client_id));t=this.state.clients.filter((e=>-1!==s.indexOf(e.clientId))).toMap()}let s=(0,n.T5)();if(e.clients.updated){const t=e.clients.updated.map((e=>e.client_id));s=this.state.clients.filter((e=>-1!==t.indexOf(e.clientId))).toMap()}let i=(0,n.B8)();e.clients.updated&&(i=(0,n.B8)(e.clients.left)),this.clientUpdatesCallback(t,s,i)}}disconnect(){"offline"!==this.getStatus()&&(this.setState(this.state.set("status","offline")),this.connection.disconnect())}getStatus(){return this.state.status}getCurrentClient(){return this.state.currentClient}getClients(){return this.shouldFireClientUpdatesCallback=!0,this.state.clients}updatePresence(e){return new Promise(((t,s)=>{if("online"!==this.getStatus())return s(new o.uE("ClientsPresence is not connected"));this.connection.sendRequest("update_client_presence",{presence:e}).then((()=>{this.setState(function(e,t){return e.setIn(["currentClient","presenceContent"],t).setIn(["clients",e.currentClient?.clientId,"presenceContent"],t)}(this.state,e)),t(!0)}),(()=>{s(new o.uE("Unable to update presence"))}))}))}onClientUpdates(e){if("function"!=typeof e)throw new TypeError("callback must be a function");this.clientUpdatesCallback=e}}var v=s(6807);class I extends(n.mS({content:null,attachments:null,id:null,type:null,isAnonymous:void 0,group:void 0,resolve:()=>{},reject:()=>{}})){}var R=s(33728);class A extends(n.mS({requestInfo:null,status:"offline",currentClient:null,localRecordsContents:(0,n.uY)(),localRecordsChanges:(0,n.B8)(),stagedRecordsChanges:(0,n.B8)(),localRecordsRev:0,requiredAttachmentIds:(0,n.NZ)(),clients:(0,n.T5)()})){}var V=s(84192);class x{getRecords(){return this._shouldFireRecordsUpdateCallback=!0,this._state.localRecordsContents.map(((e,t)=>{const{content:s,permissions:i,group:n,isAnonymous:o}=e;return{content:s,permissions:i,group:n,id:t,isAnonymous:o}})).toList()}createRecord(e,t,s,i,n){return new Promise(((o,a)=>{const r=new I({id:e,content:t,attachments:s,group:i,type:"created",isAnonymous:n,resolve:o,reject:a});this.enqueueChangeRequest(r)}))}updateRecord(e,t,s,i){return new Promise(((n,a)=>{if(!this.isKnownRecordId(e))return a(new o.uE(`Record with ID: ${e} not found.`));const r=new I({id:e,content:t,group:s,type:"updated",isAnonymous:i,resolve:n,reject:a});this.enqueueChangeRequest(r)}))}deleteRecord(e){return new Promise(((t,s)=>{if(!this.isKnownRecordId(e))return s(new o.uE(`Record with ID: ${e} not found.`));const i=new I({id:e,type:"deleted",resolve:t,reject:s});this.enqueueChangeRequest(i)}))}onRecordsUpdates(e,t){if("function"!=typeof e)throw new TypeError("recordsUpdateCallback must be a function");if("function"!=typeof t)throw new TypeError("acceptedRecordsCallback must be a function");this._recordsUpdatesCallback=e,this._acceptedRecordsResponseCallback=t}destroy(){this._cycle&&this._cycle.destroy()}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new A,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Ay;(0,i.A)(this,"_recordsUpdatesCallback",(()=>{})),(0,i.A)(this,"_acceptedRecordsResponseCallback",(()=>{})),(0,i.A)(this,"_shouldFireRecordsUpdateCallback",!1),(0,i.A)(this,"onChanges",(e=>{if(this._shouldFireRecordsUpdateCallback){const{created:t,updated:s,deleted:i}=e;this._recordsUpdatesCallback((0,n.B8)(t),(0,n.B8)(s),(0,n.B8)(i))}})),(0,i.A)(this,"onAcceptedRecords",(e=>{if(this._shouldFireRecordsUpdateCallback){const{created:t,updated:s,deleted:i}=e;this._acceptedRecordsResponseCallback((0,n.B8)(t),(0,n.B8)(s),(0,n.B8)(i))}})),(0,i.A)(this,"setOnDocumentHandleConflictCallback",(e=>{if("function"!=typeof e)throw new TypeError("callback must be a function");this._cycle.setOnDocumentHandleConflictCallback(e)})),(0,i.A)(this,"syncChanges",(0,V.A)((()=>this._cycle.nextCycle()))),this._state=e,this._CycleClass=t}load(e,t){let s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise(((i,n)=>{const o=this.setState.bind(this);this.setState(this._state.set("requestInfo",{serverURL:e,authPayload:t})),this._cycle=new this._CycleClass({getState:()=>this._state,setState:o,onChanges:this.onChanges,onAcceptedRecords:this.onAcceptedRecords,longPollingTimeout:s?R.jL:0}),this._cycle.nextCycle(0).then((()=>{i(this)})).catch(n)}))}setState(e){this._state=e}enqueueChangeRequest(e){const t=(0,v.e)({oldChanges:this._state.localRecordsChanges,newChanges:(0,n.B8)([e])});this.setState(this._state.set("localRecordsChanges",t))}isKnownRecordId(e){function t(t){return"created"===t.type&&t.id===e}const s=this._state.localRecordsContents.has(e),i=!!this._state.localRecordsChanges.find(t),n=!!this._state.stagedRecordsChanges.find(t);return s||i||n}}var S=s(4824),T=s(60156);function E(e,t){const s=e.get("annotations"),i=e.get("formFields"),n=e.get("comments"),o=e.get("formattedFormFieldValues");let a;return t.id.startsWith("form-field-value/")&&(a=t.id.split("/")[1]),s.get(t.id)||i.find((e=>e.id===t.id))||n.get(t.id)||(a?o.get(a):void 0)}function B(e,t){return Boolean(E(e,t))}var q=s(22372),P=s(90310),U=s(84445),N=s(78531),O=s(89055),z=s(36899),$=s(76117),W=s(45374);class D{constructor(e,t,s){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S.S;(0,i.A)(this,"_existingBookmarksIds",(0,n.NZ)()),(0,i.A)(this,"_existingFormFieldsIds",(0,n.NZ)()),(0,i.A)(this,"_existingFormFieldValuesIds",(0,n.NZ)()),(0,i.A)(this,"_existingCommentIds",(0,n.NZ)()),(0,i.A)(this,"_documentHandleConflictCallback",(()=>{})),(0,i.A)(this,"canCreateBackendOrphanWidgets",!0),(0,i.A)(this,"setDocumentHandleConflictCallback",(e=>{this._documentHandleConflictCallback=e})),(0,i.A)(this,"setDocumentHandleOutdated",(e=>{this._setDocumentHandleOutdatedCallback=e})),(0,i.A)(this,"onDocumentHandleConflict",(()=>{this._documentHandleConflictCallback&&this._documentHandleConflictCallback(),this._setDocumentHandleOutdatedCallback&&this._setDocumentHandleOutdatedCallback(!0)})),this._serverURL=e,this._documentURL=t,this._authPayload=s,this._settings=o,this._hasLoadedInitialRecords=!1,this._setReadStateCallbacksPromise=new Promise((e=>{this._setReadStateCallbacksPromiseResolve=e}))}load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;const s=[];return this._sync=new e,s.push(this._sync.load(`${this._documentURL}/sync`,this._authPayload,this._settings.listenToServerChangesEnabled).catch(o.z3)),this._sync.setOnDocumentHandleConflictCallback(this.onDocumentHandleConflict),this._settings.clientsPresenceEnabled&&(this._clients=new t,s.push(this._clients.load(`${this._serverURL.replace(/^http/i,"ws")}/websocket`,this._authPayload,{}).then((()=>{const e=this._clients;null!=e&&(e.onClientUpdates((()=>this._onClientsChange(e.getClients()))),this._onClientsChange(e.getClients()))})).catch((e=>{(0,o.R8)("PSPDFKit: An error occurred while initializing the connected clients module. This might be due to a lack of support for WebSockets or a related failure.\n\nFailure details:\n\n"+e.message)})))),Promise.all(s).then((()=>this)).catch((e=>{throw new o.uE(`Initialization of PSPDFKit Instant failed:\n${e.message}`)}))}destroy(){this._sync&&this._sync.destroy()}setFormsEnabledInConfig(e){this._formsEnabledInConfig=e}setReadStateCallbacks(e){this._readStateCallbacks=e,this._setReadStateCallbacksPromiseResolve?.()}setAnnotationCallbacks(e){this._annotationCallbacks=e}setBookmarkCallbacks(e){this._bookmarkCallbacks=e}setFormFieldCallbacks(e){this._formFieldCallbacks=e}setFormFieldValueCallbacks(e){this._formFieldValueCallbacks=e}setCommentCallbacks(e){this._commentCallbacks=e}createAnnotation(e,t){const{id:s,...i}=(0,a.eq)(e),{group:n,permissions:r,...c}=i;return(0,o.V1)(s,"Annotation id must be defined."),this._sync.createRecord(s,c,(0,a.L)(t),n)}createComment(e){const{id:t,...s}=(0,W.z)(e,e.rootId),{group:i,permissions:n,isAnonymous:a,...r}=s;return(0,o.V1)(t,"Comment id must be defined."),this._existingCommentIds=this._existingCommentIds.add(t),this._sync.createRecord(t,r,{},i,!!a)}async updateComment(e){try{await this.updateRecord((0,W.z)(e,e.rootId))}catch(e){if(!(e instanceof o.uE))throw e}}deleteComment(e){return this._existingCommentIds=this._existingCommentIds.delete(e),this._sync.deleteRecord(e).then((()=>{}))}setStateGetter(e){this._getState=e}async updateRecord(e){const{id:t,permissions:s,isAnonymous:i,group:n,...a}="pspdfkit/comment"===e.type||"pspdfkit/comment-marker"===e.type?e:{...e,isAnonymous:void 0};return(0,o.V1)(t,"Record id must be defined."),this._getState?.()?.backend?.isCollaborationPermissionsEnabled()?((0,o.V1)(s,"Permissions must be defined."),this._sync.updateRecord(t,s.edit?a:void 0,s.setGroup?n??void 0:void 0,i??void 0)):this._sync.updateRecord(t,a,n??void 0,i??void 0)}async updateAnnotation(e){try{await this.updateRecord((0,a.eq)(e))}catch(e){if(!(e instanceof o.uE))throw e}}deleteAnnotation(e){return this._sync.deleteRecord(e.id).then((()=>{}))}createBookmark(e){const{id:t,...s}=(0,r.U)(e);return this._existingBookmarksIds=this._existingBookmarksIds.add(t),this._sync.createRecord(t,s,{})}async updateBookmark(e){const{id:t,...s}=(0,r.U)(e);try{await this._sync.updateRecord(t,s)}catch(e){if(!(e instanceof o.uE))throw e}}deleteBookmark(e){return this._sync.deleteRecord(e).then((()=>{this._existingBookmarksIds=this._existingBookmarksIds.delete(e)}))}createFormField(e){const{group:t,permissions:s,id:i,...n}=(0,a.T7)(e);return this._existingFormFieldsIds=this._existingFormFieldsIds.add(i),this._sync.createRecord(i,n,{},t)}async updateFormField(e){try{await this.updateRecord((0,a.T7)(e))}catch(e){if(!(e instanceof o.uE))throw e}}deleteFormField(e){return this._sync.deleteRecord(e.id).then((()=>{this._existingFormFieldsIds=this._existingFormFieldsIds.delete(e.id)}))}loadFormFields(){return this.loadAnnotationsForPageIndex()}createFormFieldValue(e){const t=(0,a.cA)(e),s=(0,T.B)(e);return this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.add(s),this._sync.createRecord(s,t,{})}async setFormFieldValue(e){const t=(0,a.cA)(e);try{await this._sync.updateRecord((0,T.B)(e),t)}catch(e){if(!(e instanceof o.uE))throw e}}deleteFormFieldValue(e){return this._sync.deleteRecord(e).then((()=>{this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.delete(e)}))}loadAnnotationsForPageIndex(){return this._loadPromise||(this._loadPromise=new Promise((e=>setTimeout(e,0))).then((()=>{this._hasLoadedInitialRecords||(this._sync.onRecordsUpdates(((e,t,s)=>this._onRecordsUpdates(e,t,s,c.N)),((e,t,s)=>this._onAcceptedRecords(e,t,s))),this._onRecordsUpdates(this._sync.getRecords(),(0,n.B8)(),(0,n.B8)(),c.n),this._hasLoadedInitialRecords=!0)}))),this._loadPromise}async loadBookmarks(){}syncChanges(){return this._sync.syncChanges()}_filterRecords(e){return e.filter((e=>{let{content:t}=e;return this._formsEnabledInConfig||!t||!(0,a.cy)(t)}))}_onRecordsUpdates(e,t,s,i){let c=(0,n.B8)();const l=[];let d=(0,n.B8)(),h=(0,n.B8)(),u=(0,n.NZ)(),m=(0,n.NZ)(),p=(0,n.NZ)(),_=(0,n.NZ)(),f=(0,n.NZ)();const k=this._getState?this._getState():void 0;let C=e,g=t,b=s;if(k&&k.backend&&k.backend.isCollaborationPermissionsEnabled()){C=C.filter((e=>{let{content:t}=e;return!!t}));const e=[];t.forEach(((t,s)=>{t.content?B(k,t)||(C=C.push(t),e.push(s)):B(k,t)?(b=b.push(t.id),e.push(s)):e.push(s)})),g=g.filter(((t,s)=>!e.includes(s))),b=b.filter((e=>k.annotations.has(e)||this._existingFormFieldValuesIds.has(e)||this._existingFormFieldsIds.has(e)||this._existingCommentIds.has(e)||this._existingBookmarksIds.has(e)))}let y=(0,n.B8)().withMutations((e=>{this._filterRecords(C).forEach((t=>{let{id:s,content:i,permissions:n,group:u,isAnonymous:m}=t;const p={permissions:n,group:u,isAnonymous:m};try{(0,o.V1)(i),(0,a.cy)(i)?(l.push((0,a.mh)(s,i,p)),this._existingFormFieldsIds=this._existingFormFieldsIds.add(s)):(0,a.UR)(i)?(d=d.push((0,a.R5)(i)),this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.add(s)):(0,a.fW)(i)?(c=c.push((0,r.r)(s,i)),this._existingBookmarksIds=this._existingBookmarksIds.add(s)):(0,a.Eh)(i)?(this._existingCommentIds=this._existingCommentIds.add(s),h=h.push((0,W._)(s,i,p))):(0,a.Tg)(i)||(0,a.LK)(i)||e.push((0,a.h8)(s,i,p))}catch(e){(0,o.pq)(`Skipped creating record #${s} from payload because an error occurred while deserializing.`,i),(0,o.pq)(e)}}))}));const F=!k||(0,O.cY)(k.features,k.signatureFeatureAvailability);l.length>0&&((0,o.V1)(this._formFieldCallbacks),k&&!F?this._formFieldCallbacks.createFormFields((0,n.B8)(l.filter((e=>!(e instanceof z.Vw)))),i):this._formFieldCallbacks.createFormFields((0,n.B8)(l),i)),y.size>0&&((0,o.V1)(this._annotationCallbacks),k&&!F&&(y=y.filter((e=>{if(!(e instanceof $.sb))return e;const t=l.find((t=>t.name===e.formFieldName))||k.formFields.get(e.formFieldName);return!(t&&t instanceof z.Vw)}))),this._annotationCallbacks.createAnnotations(y,(0,n.T5)(),i)),d.size>0&&((0,o.V1)(this._formFieldValueCallbacks),k&&!F&&(d=d.filter((e=>{const t=l.find((t=>t.name===e.name))||k.formFields.get(e.formFieldName);return!(t&&t instanceof z.Vw)}))),this._formFieldValueCallbacks.createFormFieldValues((0,n.B8)(d),i)),h.size>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.createComments(h,i)),c.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.createBookmarks(c,i));const w=(0,n.B8)().asMutable(),v=[],I=[],R=[],A=(0,n.B8)().withMutations((e=>{this._filterRecords(g).forEach((t=>{let{id:s,content:i,group:n,permissions:c,isAnonymous:l}=t;const d={permissions:c,group:n,isAnonymous:l};try{if((0,o.V1)(i),(0,a.cy)(i))try{v.push((0,a.mh)(s,i,d))}catch(e){p=p.add(s),(0,o.pq)(`Skipped updating form field #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.UR)(i))try{I.push((0,a.R5)(i))}catch(e){_=_.add(s),(0,o.pq)(`Skipped updating form field value #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.fW)(i))try{w.push((0,r.r)(s,i))}catch(e){m=m.add(s),(0,o.pq)(`Skipped updating bookmark #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.Eh)(i))try{R.push((0,W._)(s,i,d))}catch(e){f=f.add(s),(0,o.pq)(`Skipped updating comment #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i,e)}else e.push((0,a.h8)(s,i,d))}catch(e){u=u.add(s),(0,o.pq)(`Skipped updating annotation #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}}))}));A.size>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations(A)),w.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.updateBookmarks(w)),v.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.updateFormFields((0,n.B8)(v))),I.length>0&&((0,o.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.setFormFieldValues((0,n.B8)(I))),R.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.updateComments((0,n.B8)(R))),u=u.concat(b.filter((e=>!(this._existingBookmarksIds.has(e)||this._existingFormFieldsIds.has(e)||this._existingFormFieldValuesIds.has(e)||this._existingCommentIds.has(e)))).toSet()),u.size>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.deleteAnnotations(u)),m=m.concat(b.filter((e=>{const t=this._existingBookmarksIds.has(e);return t&&(this._existingBookmarksIds=this._existingBookmarksIds.delete(e)),t})).toSet()),m.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.deleteBookmarks(m)),p=p.concat(b.filter((e=>{const t=this._existingFormFieldsIds.has(e);return t&&(this._existingFormFieldsIds=this._existingFormFieldsIds.delete(e)),t})).toSet()),p.size>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.deleteFormFields(p)),_=_.concat(b.filter((e=>{const t=this._existingFormFieldValuesIds.has(e);return t&&(this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.delete(e)),t})).toSet()),_.size>0&&((0,o.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.deleteFormFieldValues(_)),f=f.concat(b.filter((e=>{const t=this._existingCommentIds.has(e);return t&&(this._existingCommentIds=this._existingCommentIds.delete(e)),t})).toSet()),f.size>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.deleteComments(f))}_onAcceptedRecords(e,t){const s=this._getState?this._getState():void 0;if(!s||!s.backend||!s.backend.isCollaborationPermissionsEnabled())return;const i=[],a=[],r=[],c=[],l=[],d=[];function h(e){const t={permissions:e.permissions,group:e.group};let n=E(s,e);if(n&&"string"!=typeof n){(0,N.Tr)(t);const e=(0,N.ah)(t);n=n.merge(e),n instanceof q.A?t.permissions&&t.permissions.view?i.push(n):c.push(n.id):n instanceof P.Ay?t.permissions&&t.permissions.view?a.push(n):((0,o.V1)(n.id),l.push(n.id)):n instanceof U.Ay&&(t.permissions&&t.permissions.view?r.push(n):d.push(n.id))}}e.isEmpty()||e.forEach(h),t.isEmpty()||t.forEach(h),i.length>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations((0,n.B8)(i),!0)),a.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.updateComments((0,n.B8)(a))),r.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.updateFormFields((0,n.B8)(r))),c.length>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.deleteAnnotations((0,n.NZ)(c),!0)),l.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.deleteComments((0,n.NZ)(l))),d.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.deleteFormFields((0,n.NZ)(d)))}onClientsChange(e){if("function"!=typeof e)throw new TypeError("Callback must be a function");this.onClientsChangeCallback=e}_onClientsChange(e){this.onClientsChangeCallback.call(null,e)}async updateTabOrder(){throw new o.uE("setTabOrder is not supported on this backend.")}async setTabOrder(){throw new o.uE("setTabOrder is not supported on this backend.")}}}}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Nutrient Web SDK 1.3.0 (https://www.nutrient.io/sdk/web)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
7
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
8
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
9
|
+
* This notice may not be removed from this file.
|
|
10
|
+
*
|
|
11
|
+
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
|
+
*/
|
|
13
|
+
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[362],{63993:(t,e,a)=>{a.r(e),a.d(e,{corePool:()=>l.mG,customFontsPromiseRef:()=>_,default:()=>b,loadModule:()=>F,normalizeCoreOptions:()=>l.DO,validateStandaloneConfiguration:()=>l.mn});var s=a(49568),n=a(85409),i=a(55994),o=a(41204),r=a(85410),l=a(20873),c=a(37506),u=a(85553),d=a(89055),h=a(68322),m=a(89339),f=a(84318),p=a(33075);async function g(t,e){const a=await fetch(t,{credentials:"same-origin"}).finally((()=>{e?.()})),s=await a.arrayBuffer();return{isFullyAvailable:!0,fullDocument:s,contentType:a.headers?.get("Content-Type")||(0,p.oj)(s)}}async function y(t,e,a,s){if(t instanceof ArrayBuffer)return{isFullyAvailable:!0,fullDocument:t,contentType:(0,p.oj)(t)};(0,n.V1)("string"==typeof t,"Document is not a string");let i=!1;const{linearizedInstance:o,serverSupportsRangeRequests:r}=await(async()=>{if(a&&function(t){if(t.startsWith("/"))return!0;try{const e=new URL(t);return"http:"===e.protocol||"https:"===e.protocol}catch(t){return!1}}(t)){const a=e.initializeLinearizedInstance();return{linearizedInstance:a,serverSupportsRangeRequests:await a.initialize(t)}}return{linearizedInstance:null,serverSupportsRangeRequests:!1}})();try{if(!r)return i=!0,g(t,s);(0,n.V1)(o,"Loader is not available"),o.kickStartDownload();if(!await o.waitUntilIsLinearizedIsKnown())return o.destroy(),i=!0,g(t,s);s?.();const e=await o.waitUntilDocumentInfoAvailable();return e?(s?.(),{isFullyAvailable:!1,documentResponse:e,contentType:"application/pdf"}):(o.destroy(),i=!0,g(t,s))}catch(e){if(o?.destroy(),i)throw e;return g(t,s)}}let w;class b extends l.Ay{constructor(t){const e=t.baseUrl||(0,r.$_)(window.document),a=t.baseCoreUrl||e,s=t.baseProcessorEngineUrl||e,i={...t,baseUrl:e,baseCoreUrl:a,baseProcessorEngineUrl:s};if("string"!=typeof i.baseUrl)throw new n.uE("`baseUrl` is mandatory and must be a valid URL, e.g. `https://example.com/`");if("string"!=typeof i.document&&!(i.document instanceof ArrayBuffer))throw new n.uE("document must be either an URL to a supported document type (PDF and images), e.g. `https://example.com/document.pdf`, or an `ArrayBuffer`");if(w&&w!==i.licenseKey)throw new n.uE("Trying to re-use instance with a different licenseKey.\nUnfortunately we only allow one licenseKey per instance.\nPlease contact support for further assistance.");if("string"==typeof i.licenseKey&&i.licenseKey.startsWith("TRIAL-"))throw new n.uE("You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial.");super(i),this.destroyed=!1,this.activeConfiguration=t}async load(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=.2;t.progressCallback&&t.progressCallback("loading",e),this._isPDFJavaScriptEnabled=t.isPDFJavaScriptEnabled,"string"==typeof this._state.document&&(0,p.XC)(this._state.baseUrl,this._state.document,this._state.productId);const a=await F(this.client,this._state).finally((()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)})),i=y(this._state.document,this.corePDFBridge,this._state.allowLinearizedLoading,(()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)}));(0,n.V1)(a);const{features:r,signatureFeatureAvailability:l,capabilities:c}=a;if(this._state.productId===h.v.SharePoint&&"string"==typeof this._state.document&&Array.isArray(a.afu)){const t=new URL(this._state.document,this._state.baseUrl);if(!a.afu.some((e=>t.hostname.match(e))))throw new n.uE(`The document origin ${t.hostname} is not authorized.`)}const f=l===u.g.ELECTRONIC_SIGNATURES&&(0,d.UX)(r)&&this._state.forceLegacySignaturesFeature?u.g.LEGACY_SIGNATURES:l;this._state=this._state.set("features",(0,s.B8)(r)).set("signatureFeatureAvailability",f),w=this._state.licenseKey;const g=await i;let b=null;if(g.isFullyAvailable){let e=g.fullDocument.slice(0),a=null;if((0,p.C5)(g.contentType))try{this.destroyed?(e=null,b=await new Promise((()=>{}))):(b=await this.client.openDocument(g.fullDocument,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration}),e=null)}catch(t){"INVALID_PASSWORD"===t.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",t.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===t.message&&(t.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),a=t}else c.includes("GdPictureWASM")||(a=new n.uE("File not in PDF format or corrupted."));if(c.includes("GdPictureWASM")&&(a instanceof n.uE&&a.message.includes("File not in PDF format or corrupted.")||!(0,p.C5)(g.contentType))){(0,n.V1)(e);let s,i=(0,m.jU)();try{i||(i=(0,m.NY)({baseUrl:this._state.baseProcessorEngineUrl,mainThreadOrigin:this._state.appName||(0,o.D5)()||window.location.origin,licenseKey:this._state.licenseKey||void 0,customFonts:this._state.customFonts||void 0,dynamicFonts:this._state.dynamicFonts||void 0,fontSubstitutions:this._state.fontSubstitutions,processorEngine:this._state.processorEngine}),(0,m.Pm)(i)),s=await i,(0,n.V1)(s);const a=await s.toPdf(e,null,t.officeConversionSettings);b=await this.client.openDocument(a,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration})}catch(t){throw"INVALID_PASSWORD"===t.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",a.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===t.message&&(t.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),t}finally{e=null,s?.destroy(),(0,m.Pm)(null)}}else if(a)throw a;(0,n.V1)(b),await this.afterDocumentLoaded(b)}else b=g.documentResponse;return this._state=this._state.set("documentResponse",b),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!!t.password,password:t.password,allowedTileScales:"all",evaluation:a.evaluation,linearizedLoading:!g.isFullyAvailable,documentResponse:b}}destroy(){this.destroyed=!0,super.destroy()}getCustomFontsPromise(){return _}async afterDocumentLoaded(t){if(this._isPDFJavaScriptEnabled&&(this._initialChanges=await this.client.enablePDFJavaScriptSupport()),this._XFDF&&await this.client.importXFDF(this._XFDF.source,this._XFDF.keepCurrentAnnotations,this._XFDF.ignorePageRotation),this._instantJSON&&this._instantJSON.pdfId&&t.ID.permanent){const e=this._instantJSON.pdfId,a=t.ID;if(e.permanent!==a.permanent)throw new n.uE("Could not instantiate from Instant JSON: Permanent PDF ID mismatch.\nPlease use the same PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/");if(e.changing!==a.changing)throw new n.uE("Could not instantiate from Instant JSON: Changing PDF ID mismatch.\nPlease use the same revision of this PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/")}if(this._trustedCAsCallback)try{const t=await this._trustedCAsCallback();if(!Array.isArray(t))throw new n.uE("Certificates response must be an array");if(t.some((t=>!(t instanceof ArrayBuffer)&&"string"!=typeof t)))throw new n.uE("All certificates must be passed as ArrayBuffer (DER) or string (PEM)");await this.client.loadCertificates(t.map(c.PI))}catch(t){throw new n.uE(`Could not retrieve certificates for digital signatures validation: ${t.message}.`)}}async waitUntilFullyLoaded(t){(0,n.V1)(this.corePDFBridge.linearizedInstance,"Linearized loader is not available");return this.corePDFBridge.linearizedInstance.waitUntilDownloaded().then((async()=>{await this.corePDFBridge.normallyOpenLinearizedDocument(this,{password:t,initialPageIndex:0,formsConfiguration:this._formsConfiguration}),await this.afterDocumentLoaded(this._state.documentResponse)}))}async getDocumentBytes(){if(this._state.document instanceof ArrayBuffer)return this._state.document;if("string"==typeof this._state.document){const t=await fetch(this._state.document);if(!t.ok)throw new n.uE(`Failed to fetch document: ${t.statusText}`);return t.arrayBuffer()}throw new n.uE("Document bytes are not available")}}const _={current:void 0};async function F(t,e){_.current=_.current||(e.customFonts?(0,f.eY)(e.customFonts):void 0);const a=(0,r.f)(e.appName);return t.loadNativeModule(e.baseCoreUrl,{mainThreadOrigin:a,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:e.enableAutomaticLinkExtraction,overrideMemoryLimit:e.overrideMemoryLimit,workerSpawnerFn:()=>(0,i.pj)(e.inlineWorkers)}).then((async()=>t.load(e.baseCoreUrl,e.licenseKey,{mainThreadOrigin:a,..._.current?{customFonts:await _.current}:null,dynamicFonts:e.dynamicFonts,productId:e.productId,featureFlags:e.enableCoreUnifiedComments?["UnifiedComments"]:void 0})))}}}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Nutrient Web SDK 1.3.0 (https://www.nutrient.io/sdk/web)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
7
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
8
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
9
|
+
* This notice may not be removed from this file.
|
|
10
|
+
*
|
|
11
|
+
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
|
+
*/
|
|
13
|
+
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[42],{26175:(e,t,n)=>{n.d(t,{D:()=>h});var a=n(67136),i=n(2752),s=n(47240),o=n(55994),r=n(85409),c=n(49568),l=n(89574),d=n(32784),u=n(9939),m=n(97881);class h{constructor(e){(0,a.A)(this,"linearizedInstance",null),this.ctx=e}initializeLinearizedInstance(){if(this.linearizedInstance&&!this.linearizedInstance.isDestroyed())throw new r.uE("Linearized loader is already allocated");(0,r.V1)(this.ctx.wasmCtx,"Wasm context is not available");const e=this.linearizedInstance=new i.MX.LinearizedInstance(this.ctx.wasmCtx,o.EA);return(0,r.V1)(this.linearizedInstance,"Linearized loader is not available"),(0,s.attachLinearizedInstance)(this.ctx,e),this.linearizedInstance}async normallyOpenLinearizedDocument(e,t){(0,r.V1)(this.ctx.wasmCtx,"Wasm context is not available"),(0,r.V1)(this.linearizedInstance,"Linearized loader is not available"),(0,r.V1)(this.linearizedInstance.state===i.MX.LinearizedInstanceState.Complete,"PDF isnt completely downloaded"),(0,s.removeLinearizedInstance)(this.ctx),this.linearizedInstance=null,await e.client.openCreateFilePathDocument(t)}destroy(){(0,s.removeLinearizedInstance)(this.ctx)}fetchPageInfoWhileDownloading(e,t){const n=this.linearizedInstance;return(0,r.V1)(n,"Linearized loader is not available"),n.whenPageAvailable(e,t)}renderTile(e,t,n,a,s,o){let r;o&&(r={annotations:o.annotations.filter(l.mH).map(m.eq).toJS().map((e=>({content:e}))),formFieldValues:o.formFieldValues.map(m.cA).toJS(),formFields:o.formFields.map(m.T7).toJS(),signatures:o.signatures||[],attachments:o.attachments});const c=i.MX.Renderer.renderTile(this.ctx,e,t,n,{renderForPrinting:a,renderText:s,priority:t.width===n.width&&t.height===n.height?i.MX.Priority.High:i.MX.Priority.Normal},r).then((e=>(0,u.vB)({buffer:e.buffer.buffer,width:n.width,height:n.height,format:e.format}).then((e=>{if(null===e)throw new Error("Image handle is null");return e}))));return{promise:c.promise,cancel:c.cancel}}getTextLines(e){return i.MX.Text.getTextForPage(this.ctx,e).then((t=>(0,d.K0)({textLines:t},e)))}getContentTree(e){return i.MX.Text.getContentTreeForPage(this.ctx,e).then((t=>{let n=[],a=0,i=0;return n=t.reduce(((t,n)=>{let{nodes:s}=n;const o=(0,d.l1)(s,e,t.length,a,i);return a+=o.reduce(((e,t)=>{let{content:n}=t;return e+(0,d.Y_)(n).size}),0),i+=o.reduce(((e,t)=>{let{content:n}=t;return e+(0,d.M3)(n).size}),0),t.concat(o)}),[]),(0,c.B8)(n)}))}compareText(e){const t={data:e.originalDocument.arrayBuffer,password:e.originalDocument.password,pageIndexes:e.originalDocument.pageIndexes},n={data:e.changedDocument.arrayBuffer,password:e.changedDocument.password,pageIndexes:e.changedDocument.pageIndexes};return i.MX.TextComparison.compareText(this.ctx,t,n,{numberOfContextWords:e.comparisonOperation.options?.numberOfContextWords}).then((e=>e))}}},72262:(e,t,n)=>{n.d(t,{K:()=>d});var a=n(67136),i=n(49568),s=n(85409),o=n(76117),r=n(89574),c=n(28650),l=n(69371);class d{constructor(){(0,a.A)(this,"attachmentsCache",(0,i.T5)()),(0,a.A)(this,"cachedAPStreams",(0,i.T5)()),(0,a.A)(this,"pageAPStreamsPromises",(0,i.T5)()),(0,a.A)(this,"annotationAPStreamPromises",(0,i.T5)()),(0,a.A)(this,"_cachedRenderedAnnotations",(0,i.uY)()),(0,a.A)(this,"_objectURLs",{}),(0,a.A)(this,"_makeEnqueuedRelease",((e,t)=>{if("IMG"===e?.element?.tagName){const n=e.element.src;if(!n)return;"number"==typeof this._objectURLs[n]?this._objectURLs[n]++:this._objectURLs[n]=1;const a=e.release;e.release=()=>{this._objectURLs[n]--,this._objectURLs[n]<=0&&(a?.(),this._cachedRenderedAnnotations.has(t)&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(t)),delete this._objectURLs[n])}}})),(0,a.A)(this,"_cacheableRenderedAnnotationSetExpire",(e=>{const t=this._cachedRenderedAnnotations.get(e);(0,s.V1)(t),t.timeout&&clearTimeout(t.timeout);const n=setTimeout((()=>{this._cachedRenderedAnnotations.has(e)&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(e))}),3e4);this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.update(e,(e=>({...e,timeout:n})))})),(0,a.A)(this,"_addCachedRenderedAnnotation",((e,t)=>{let{width:n,height:a,noZoom:i,APStreamPromise:s}=t;if(this._cachedRenderedAnnotations.size>1e3){const e=this._cachedRenderedAnnotations.keySeq().first();e&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(e))}this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.set(e,{width:n,height:a,noZoom:i,APStreamPromise:s}),this._cacheableRenderedAnnotationSetExpire(e)}))}getAnnotationFormFieldAndValue(e){const t=this.provider;(0,s.V1)(t instanceof t.constructor,"Backend can only use backend annotation provider");const n=e instanceof o.sb?t._readStateCallbacks?.getFormFieldByName(e.formFieldName):null;return{formField:n,formFieldValue:!n||n instanceof o.Vw?null:new o.E2({name:n.name,value:void 0!==n.formattedValue?n.formattedValue:"string"==typeof n.value?n.value:n.values})}}getAnnotationAvailableVariants(e){const t=this.provider;(0,s.V1)(t instanceof t.constructor,"Backend can only use backend annotation provider");return[...t._readStateCallbacks?.getAvailableVariants(e)||[],"normal"]}cachedRenderAnnotation(e,t,n,a,i,o){const c=this.provider;(0,s.V1)(c instanceof c.constructor,"Backend can only use backend annotation provider");const{formField:l,formFieldValue:d}=this.getAnnotationFormFieldAndValue(e);if(!(0,r.lG)(e,l))return this.renderAnnotation(e,d,t,n,a,i,o);const u=this.getAnnotationAvailableVariants(e);let m=!1,h=()=>{m=!0};return{promise:new Promise((async(s,r)=>{const c=t=>{const n=this.annotationAPStreamPromises.get(e.id);n&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(e.id),n(t))},l=this.annotationAPStreamPromises.get(e.id);this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,s),l&&l(null);try{const r=this.pageAPStreamsPromises.get(e.pageIndex);if(!r){const t=new Promise((t=>{this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,t)}));return void s(await t)}await r;const l=this.cachedAPStreams.get(e.pageIndex);if(l){const t=l?l.get(e.id):null;if(t)return void c(this.getAPStream(t,i))}const{promise:p,cancel:f}=this.renderAPStream(e,d,t,n,a,u,i,o);if(m)c(null);else if(h=f,u.length>1){const t=await Promise.all(p.map((e=>e.promise)));c(t[u.indexOf(i||"normal")]),t.some(Boolean)&&this.cacheAPStream(u.reduce(((e,n,a)=>t[a]?{...e,[n]:t[a]}:e),{}),e)}else{const t=await p,n=t?this.getAPStream(t,i):null;c(n),n&&this.cacheAPStream(t,e)}}catch(e){r(e)}})),cancel:h}}cacheAPStream(e,t){let n=this.cachedAPStreams.get(t.pageIndex);n||(this.cachedAPStreams=this.cachedAPStreams.set(t.pageIndex,(0,i.T5)()),n=this.cachedAPStreams.get(t.pageIndex)),this.cachedAPStreams=this.cachedAPStreams.setIn([t.pageIndex,t.id],e)}clearAllPageAPStreams(e){const t=this.cachedAPStreams.get(e);t&&(t.forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.delete(e)),this.pageAPStreamsPromises=this.pageAPStreamsPromises.delete(e)}clearPageAPStreams(e,t){const n=this.cachedAPStreams.get(e);n&&(n.filter(((e,n)=>t.has(n))).forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.updateIn([e],(0,l.C$)((e=>e.filter(((e,n)=>!t.has(n)))))))}getAPStream(e,t){return e instanceof c.A?e:e?.[t||"normal"]||null}renderAPStream(e,t,n,a,i,s,o,r){if(s.length>1){const o=s.map((s=>this.renderAnnotation(e,t,n,a,i,"normal"!==s?s:void 0,r)));return{promise:o,cancel:()=>{o.forEach((e=>{e.cancel()}))}}}return this.renderAnnotation(e,t,n,a,i,o,r)}releaseAPStream(e){e instanceof c.A?e.release():Object.values(e).forEach((e=>{e.release()}))}isVisuallyIdenticalAnnotationCached(e){let{annotation:t,providedVisualAnnotationIndex:n,width:a,height:i}=e;if(!(0,r.cu)(t))return!1;const o=n||(0,r.sS)(t);if(!this._cachedRenderedAnnotations.has(o))return!1;const c=this._cachedRenderedAnnotations.get(o);return(0,s.V1)(c),(0,r.Ab)({noZoom:c.noZoom&&t.noZoom,cachedRenderedAnnotationWidth:c.width,cachedRenderedAnnotationHeight:c.height,testAnnotationWidth:a,testAnnotationHeight:i})}cachedRenderedAnnotationDiscardablePromise(e,t){let{promise:n,resolve:a,reject:i}=t;const o=this._cachedRenderedAnnotations.get(e);return(0,s.V1)(o),o.APStreamPromise.then((t=>{let n;return t&&(n=new c.A(t.element.cloneNode(!0),t.release),this._makeEnqueuedRelease(n,e),this._cacheableRenderedAnnotationSetExpire(e)),a(n),n})).catch(i),{promise:n,cancel:()=>{}}}clearRenderedAnnotationsCache(){this._cachedRenderedAnnotations.forEach((e=>{let{APStreamPromise:t,timeout:n}=e;t.then((e=>{e?.release()})),n&&clearTimeout(n)})),this._cachedRenderedAnnotations=(0,i.T5)(),this._objectURLs={}}}},20873:(e,t,n)=>{n.d(t,{mG:()=>re,Ay:()=>ce,DO:()=>le,mn:()=>de});var a=n(67136),i=n(55994),s=n(2752),o=n(45646),r=n(85409),c=n(49568),l=n(80018),d=n(63097),u=n(37361),m=n(64337),h=n(20546),p=n(87374),f=n(68322),g=n(37094),y=n(95248),b=n(40927),A=n(76117),S=n(83145),P=n(83647),w=n(40527),_=n(70631),F=n(50960),v=n(44439),k=n(89574),C=n(25888),I=n(9939),D=n(15168),R=n(83720),x=n(14511),T=n(41204),V=n(77270),O=n(47159),L=n(89339),B=n(26175);class E{constructor(e,t){this.identifier=e,this.callback=t}request(){return this.callback()}}var U=n(41477),j=n(5293),N=n(97881),z=n(72262),M=n(7737),q=n(82987),K=n(78625),W=n(74111),$=n(78236);class J extends((0,c.mS)({alreadyLoadedPages:(0,c.T5)(),isLoaded:!1,isDestroyed:!1})){}const G={skippedPdfObjectIds:[],skippedPdfBookmarkIds:[],annotations:[],bookmarks:[],formFieldValues:[],formFields:[],attachments:{}};class X{constructor(e,t){(0,a.A)(this,"_state",new J),(0,a.A)(this,"_formFieldsLoadedPromise",null),(0,a.A)(this,"_objectCreationPromises",(0,c.T5)()),(0,a.A)(this,"_loadBookmarksPromise",null),(0,a.A)(this,"_commentsLoadedPromise",null),(0,a.A)(this,"canCreateBackendOrphanWidgets",!1),(0,a.A)(this,"updateTabOrderTimeout",null),(0,a.A)(this,"pagesTabOrderToUpdate",(0,c.NZ)()),this._core=e,this._json=t?(0,r.$y)(t):null,this._setReadStateCallbacksPromise=new Promise((e=>{this._setReadStateCallbacksPromiseResolve=e}))}async load(){if(this._state=this._state.set("isLoaded",!0),!this._formFieldCallbacks&&await this._loadFormFieldValues(),!this._json)return this;await this._core.importInstantJSON({...G,...this._json}),(0,r.V1)(this._json);const{annotations:e,attachments:t}=this._json;if(this._isDestroyed()||!t||0===Object.entries(t).length)return this;if(e)for(let n=0;n<e.length;n++){let a=null;const i=e[n];if("imageAttachmentId"in i&&i.imageAttachmentId){const e=t?t[i.imageAttachmentId]:null;if(e)try{a=(0,K.lj)(atob(e.binary),e.contentType),(0,r.V1)(this._annotationCallbacks),this._annotationCallbacks.createAttachment(i.imageAttachmentId,a)}catch(e){(0,r.pq)(`Skipped attachment with id ${i.imageAttachmentId} from payload because an error occurred while converting the binary image to blob.`),(0,r.pq)(e)}}}return this}destroy(){this._state=this._state.set("isDestroyed",!0),this._annotationCallbacks=null,this._readStateCallbacks=null,this._bookmarkCallbacks=null,this._formFieldCallbacks=null,this._formFieldValueCallbacks=null,this._commentCallbacks=null}setReadStateCallbacks(e){this._readStateCallbacks=e,this._setReadStateCallbacksPromiseResolve?.()}setAnnotationCallbacks(e){this._annotationCallbacks=e}setBookmarkCallbacks(e){this._bookmarkCallbacks=e}setFormFieldCallbacks(e){this._formFieldCallbacks=e}setFormFieldValueCallbacks(e){this._formFieldValueCallbacks=e}setCommentCallbacks(e){this._commentCallbacks=e}createComment(e,t,n){return this._core.applyComments(t.map((e=>H(e,n))).toArray())}updateComment(e,t,n){return this._core.applyComments(t.map((e=>H(e,n))).toArray())}deleteComment(e,t,n){return this._core.applyComments(t.map((e=>H(e,n))).toArray())}async loadComments(){return this._commentsLoadedPromise||(this._commentsLoadedPromise=this._loadComments()),this._commentsLoadedPromise}async _loadComments(){this._verifyLoaded();const e=await this._core.getComments()??[],t=(0,c.B8)(e.map((e=>{let t;return t=e.pdfObjectId?e.id||e.pdfObjectId?.toString():(0,k.K1)(),(0,N.XL)(t,e)})));await Promise.all(t.map((e=>"number"==typeof e.pageIndex&&this.loadAnnotationsForPageIndex(e.pageIndex))).filter(Boolean).toArray()),this._commentCallbacks?.createComments(t,$.n),this._commentsLoadedPromise=Promise.resolve()}async updateTabOrder(e){this.pagesTabOrderToUpdate=this.pagesTabOrderToUpdate.add(e),this.updateTabOrderTimeout&&clearTimeout(this.updateTabOrderTimeout),this.updateTabOrderTimeout=setTimeout((async()=>{const e=this.pagesTabOrderToUpdate.toArray();if(this.pagesTabOrderToUpdate=(0,c.NZ)(),this._isDestroyed())return;const t=await Promise.all(e.map((e=>this._core.getTabOrder(e))));this._isDestroyed()||((0,r.V1)(this._annotationCallbacks),(0,M.vA)((()=>{e.forEach(((e,n)=>{this._annotationCallbacks?.setPageTabOrder(e,t[n])}))})))}),1e3)}async setTabOrder(e,t){return this._core.setTabOrder(e,t)}async createAnnotation(e,t){this._verifyLoaded();const n=t.find(((t,n)=>((0,r.V1)("imageAttachmentId"in e,"Annotation must have imageAttachmentId."),n===e.imageAttachmentId))),a=await this._core.createAnnotation((0,N.eq)(e),n?n.data:null);"number"!=typeof a||"number"!=typeof e.pdfObjectId||e.pdfObjectId===a||this._isDestroyed()||((0,r.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations((0,c.B8)([e.set("pdfObjectId",a)]))),await this.updateTabOrder(e.pageIndex)}async updateAnnotation(e){this._verifyLoaded(),await this._core.updateAnnotation((0,N.eq)(e)),await this.updateTabOrder(e.pageIndex)}deleteAnnotation(e){return this._verifyLoaded(),this._core.deleteAnnotation((0,N.eq)(e))}createBookmark(e){return this._verifyLoaded(),this._core.createBookmark((0,q.U)(e))}updateBookmark(e){return this._verifyLoaded(),this._core.updateBookmark((0,q.U)(e))}deleteBookmark(e){return this._verifyLoaded(),this._core.deleteBookmark(e)}createFormField(e){this._verifyLoaded(),(0,r.V1)(this._readStateCallbacks);const t=this._readStateCallbacks.getFormFieldWidgets(e);return this._core.createFormField((0,N.T7)(e),t.map((e=>(0,N.eq)(e))).toArray()).then((async e=>{(0,M.vA)((()=>{e.forEach(((e,n)=>{const a=t.get(n);(0,r.V1)(a),(0,r.V1)(this._annotationCallbacks),"number"!=typeof e||"number"!=typeof a.pdfObjectId||a.pdfObjectId===e||this._isDestroyed()||this._annotationCallbacks.updateAnnotations((0,c.B8)([a.set("pdfObjectId",e)]))}))}))}))}updateFormField(e){this._verifyLoaded(),(0,r.V1)(this._readStateCallbacks);const t=this._readStateCallbacks.getFormFieldWidgets(e);return this._core.updateFormField((0,N.T7)(e),t.map((e=>(0,N.eq)(e))).toArray())}deleteFormField(e){return this._verifyLoaded(),this._core.deleteFormField((0,N.T7)(e))}loadFormFields(){return this._formFieldsLoadedPromise||(this._formFieldsLoadedPromise=this._loadFormFields()),this._formFieldsLoadedPromise}async _loadFormFields(){this._verifyLoaded();const e=await this._core.readFormJSONObjects();if(this._isDestroyed())return;let t=(0,c.B8)(),n=(0,c.B8)().withMutations((n=>{e.forEach((e=>{const{formField:a,widgets:i,value:s}=e;try{let e;e=a.pdfObjectId?a.pdfObjectId.toString():(0,k.K1)();const o=(0,N.mh)(e,a);(0,r.V1)(this._readStateCallbacks),this._readStateCallbacks.isFormFieldInState(o.name)||n.push(o.set("value",s)),i.forEach((e=>{let n;n=e.pdfObjectId?e.id||e.pdfObjectId.toString():(0,k.K1)(),(0,r.V1)(this._readStateCallbacks),t=t.push((0,N.h8)(n,e))}))}catch(e){(0,r.pq)(`Skipped creating form field #${a.pdfObjectId} from payload because an error occurred while deserializing.`),(0,r.pq)(e)}}))}));const a={},i={};t.forEach((e=>{i[e.id]||(i[e.id]=[]),i[e.id].push(e.pdfObjectId)})),t=t.map((e=>{if(i[e.id].filter((t=>t!==e.pdfObjectId)).length>0&&e.pdfObjectId?.toString()!==e.id||this._readStateCallbacks?.isAnnotationInState(e.id)){const t=(0,k.K1)();return a[e.formFieldName]?a[e.formFieldName].push({[e.id]:t}):a[e.formFieldName]=[{[e.id]:t}],n=n.map((n=>n.name===e.formFieldName?n.update("annotationIds",(n=>n?.map((n=>n===e.id?t:n)))):n)),e.set("id",t)}return e})),Object.keys(a).forEach((e=>{const a=n.find((t=>t.name===e));(0,r.V1)(a);const i=t.filter((t=>t.formFieldName===e)).toArray().map((e=>(0,N.eq)(e)));this._core.updateFormField((0,N.T7)(a),i)})),n.size>0&&!this._isDestroyed()&&((0,r.V1)(this._formFieldCallbacks),this._formFieldCallbacks.createFormFields(n,$.n)),await this._loadFormFieldValues(),t.size>0&&!this._isDestroyed()&&((0,r.V1)(this._annotationCallbacks),this._annotationCallbacks.createAnnotations(t,(0,c.T5)(),$.n)),this._formFieldsLoadedPromise=Promise.resolve()}createFormFieldValue(e){return this._verifyLoaded(),this.setFormFieldValue(e)}setFormFieldValue(e){return this._verifyLoaded(),this._core.setFormFieldValue((0,N.cA)(e))}deleteFormFieldValue(e){return this._verifyLoaded(),this._core.deleteFormFieldValue(e.replace("form-field-value/",""))}loadAnnotationsForPageIndex(e){const t=this._state.alreadyLoadedPages.get(e);if(t)return t;const n=this._loadAnnotationsForPageIndex(e);return this._state=this._state.setIn(["alreadyLoadedPages",e],n),n}async _loadAnnotationsForPageIndex(e){this._verifyLoaded();const[t,n]=await Promise.all([this._core.annotationsForPageIndex(e),this._core.getTabOrder(e)]);if(this._isDestroyed())return;const a=[],i=[],s=t.map((e=>{let{rollover:t,down:n,...s}=e;return t&&"number"==typeof s.pdfObjectId&&a.push(s.pdfObjectId),n&&"number"==typeof s.pdfObjectId&&i.push(s.pdfObjectId),s})).filter((e=>"number"==typeof e.pageIndex));this._formFieldCallbacks&&await this.loadFormFields();const o=(0,c.B8)().withMutations((e=>{s.filter((e=>!e.id||this._readStateCallbacks&&!this._readStateCallbacks.isAnnotationInState(e.id))).forEach((t=>{t.pdfObjectId;try{let n;n=function(e){return"pspdfkit/link"===e.type&&0===e.pdfObjectId}(t)?t.id||(0,k.K1)():t.id||t.pdfObjectId.toString(),(e.some((e=>e.id===n))||this._readStateCallbacks?.isAnnotationInState(n))&&(n=(0,k.K1)(),t.id=n,this._core.updateAnnotation(t));const a=(0,N.h8)(n,t);e.push(a)}catch(e){(0,r.pq)(`Skipped creating annotation #${t.pdfObjectId} from payload because an error occurred while deserializing.`),(0,r.pq)(e)}}))}));(0,M.vA)((()=>{(0,r.V1)(this._annotationCallbacks),o.size>0&&this._annotationCallbacks.createAnnotations(o,(0,c.T5)(),$.n),this._annotationCallbacks.setPageTabOrder(e,n),a.length>0&&this._annotationCallbacks.addAnnotationVariants("rollover",a),i.length>0&&this._annotationCallbacks.addAnnotationVariants("down",i)})),this._state=this._state.setIn(["alreadyLoadedPages",e],Promise.resolve())}async _loadFormFieldValues(){this._verifyLoaded();const e=await this._core.getFormValues();if(this._isDestroyed())return;const t=(0,c.B8)().withMutations((t=>{e.forEach((e=>{try{t.push((0,N.R5)(e))}catch(t){(0,r.pq)(`Skipped creating form field value #${e.pdfObjectId} from payload because an error occurred while deserializing.`),(0,r.pq)(t)}}))}));t.size>0&&!this._isDestroyed()&&((0,r.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.setFormFieldValues(t))}async loadBookmarks(){this._verifyLoaded();const e=await this._core.getBookmarks();if(this._isDestroyed())return;const t=(0,c.B8)().withMutations((t=>{e.forEach((e=>{let n;n=e.id?e.id:e.pdfBookmarkId?e.pdfBookmarkId:(0,W.z)();try{t.push((0,q.r)(n,e))}catch(e){(0,r.pq)(`Skipped creating bookmark #${n} from payload because an error occurred while deserializing.`),(0,r.pq)(e)}}))}));t.size>0&&!this._isDestroyed()&&((0,r.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.createBookmarks(t,$.n))}_verifyLoaded(){(0,r.V1)(this._state.isLoaded,"StandaloneProvider not properly initialized.")}_isDestroyed(){return this._state.isDestroyed}async syncChanges(){}}function H(e,t){(0,r.V1)(e.rootId,"A new comment must have `rootId` present");const n=t.get(e.rootId);return(0,r.V1)(n,"An annotation must be present linked to the comment to create"),(0,N.wG)(e,n.pdfObjectId?.toString()===n.id?parseInt(e.rootId):e.rootId)}function Y(e){return"string"==typeof e?.serialNumber&&e.body instanceof ArrayBuffer}function Z(e){return e?.pkcs7 instanceof ArrayBuffer&&(!("ocspResponses"in e)||Array.isArray(e.ocspResponses)&&e.ocspResponses.every((e=>Y(e))))}function Q(e){if(!e)return!1;const{signedData:t,timestampResponse:n,ocspResponses:a}=e;if(!(t instanceof ArrayBuffer))return!1;if(n&&!(n instanceof ArrayBuffer))return!1;if(a){if(!Array.isArray(a))return!1;if(!a.every((e=>Y(e))))return!1}return!0}class ee{constructor(e){this.backend=e}async signDocumentAndReload(e,t){const n=e?.signingData,a=n?.certificates;(0,r.V1)(void 0===t||"function"==typeof t,"On a Standalone deployment, when `signaturePreparationData.signingData.privateKey` is not provided, `twoStepSignatureCallbackOrSigningServiceData` must be a function or `PSPDFKit.StandaloneSigningServiceData`."),(0,r.V1)(!n?.timestamp||"string"==typeof n?.timestamp?.url,"The `url` property of `signingData.timestamp` must be a string."),(0,r.V1)(!n?.timestamp||!n?.timestamp?.password||"string"==typeof n?.timestamp?.password,"The `password` property of `signingData.timestamp` must be a string."),(0,r.V1)(!n?.timestamp||!n?.timestamp?.username||"string"==typeof n?.timestamp?.username,"The `username` property of `signingData.timestamp` must be a string."),(0,r.V1)(void 0===n?.ltv||"boolean"==typeof n?.ltv,"The `ltv` property of `signingData` must be a boolean if set."),(0,r.V1)(void 0===n?.ltv||"boolean"==typeof n?.ltv,"The `ltv` property of `signingData` must be a boolean if set."),(0,r.V1)(!n||!n.signatureType||n.signatureType===P.D7.CMS||Array.isArray(a)&&a.length>0&&a.every((e=>Boolean(e instanceof ArrayBuffer&&e.byteLength>0||"string"==typeof e&&e.length>0))),"For signatures of type `PSPDFKit.SignatureType.CAdES` an `Array` of certificates must be provided in `signaturePreparationData.signingData.certificates`.");const i={signatureType:n?.signatureType||(Array.isArray(a)&&a.length>0?P.D7.CAdES:P.D7.CMS),...a&&{certificates:a.map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e)))},...e?.placeholderSize?{estimatedSize:e.placeholderSize}:null};try{const{hash:a,signatureFormFieldName:s,file:o,fileContents:c,dataToBeSigned:d}=await this.backend.client.prepareSign((0,N.Y6)(i),e?.signatureMetadata?(0,N.sZ)(e.signatureMetadata):null,Boolean(e?.flatten),e?.formFieldName,(0,N.qN)(e?.position),await(0,N.z8)(e?.appearance)),u=function(e){const t=e.trim(),n=t.length/2,a=new Uint8Array(n);for(let e=0;e<n;e++)a[e]=parseInt(t.substr(2*e,2),16);return a}(d);let m,h,p;if(t){try{m=await t({hash:a,fileContents:c,dataToBeSigned:u})}catch(e){throw new r.uE(`\`twoStepSignatureCallback\` threw an error: ${e}`)}if(!(m instanceof ArrayBuffer||Z(m)||Q(m)))throw new r.uE(`The resolved value from \`twoStepSignatureCallback\` should be a an \`ArrayBuffer\`, \`SignatureCallbackResponsePkcs7\`, or \`SignatureCallbackResponseRaw\`, but is of type \`${typeof m}\` instead.`);p=m}else{if(!n?.privateKey)throw new r.uE("No `twoStepSignatureCallback` or `signingData.privateKey` was provided.");{const e={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"},modulusLength:2048,extractable:!1,publicExponent:new Uint8Array([1,0,1])},t=await globalThis.crypto.subtle.importKey("pkcs8",function(e){const t=e.split("\n");let n="";for(let e=0;e<t.length;e++){t[e].trim().length>0&&t[e].indexOf("-BEGIN RSA PRIVATE KEY-")<0&&t[e].indexOf("-BEGIN PRIVATE KEY-")<0&&t[e].indexOf("-BEGIN RSA PUBLIC KEY-")<0&&t[e].indexOf("-BEGIN CERTIFICATE-")<0&&t[e].indexOf("-END RSA PRIVATE KEY-")<0&&t[e].indexOf("-END PRIVATE KEY-")<0&&t[e].indexOf("-END RSA PUBLIC KEY-")<0&&t[e].indexOf("-END CERTIFICATE-")<0&&(n+=t[e].trim())}return l.o4.toUint8Array(n).buffer}(n.privateKey),e,!0,["sign"]);h=await globalThis.crypto.subtle.sign(e,t,u),p=h}}let f="",g=i.certificates||[];if(p instanceof ArrayBuffer)f=l.o4.fromUint8Array(new Uint8Array(p))||"";else if(Z(p)){const e=p;f=l.o4.fromUint8Array(new Uint8Array(e.pkcs7))||""}else if(Q(p)){const e=p;f=l.o4.fromUint8Array(new Uint8Array(e.signedData))||"",g=e.certificates.map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e)))}let y=null,b=[];if(n?.ltv&&(p instanceof ArrayBuffer?b=await this.backend.getRevocationResponses(g):(Z(p)||Q(p))&&((0,r.V1)(null==p.ocspResponses||Array.isArray(p.ocspResponses)&&p.ocspResponses.every((e=>Y(e))),"The `ocspResponses` property of `signatureData` must be a array of `OCSPResponses`."),b=p.ocspResponses?.map((e=>({response_code:200,body:l.o4.fromUint8Array(new Uint8Array(e.body)),token:e.serialNumber})))??[],b.length||((0,r.R8)("The `TwoStepSignatureCallback` didn't return certificate revocation responses; trying to fetch them online."),b=await this.backend.getRevocationResponses(g)))),Q(p)){const e=p;(0,r.V1)(null==e.timestampResponse||e.timestampResponse instanceof ArrayBuffer,"The `timestampResponse` property of `signatureData` must be an `ArrayBuffer`."),e.timestampResponse&&(y={response_code:200,body:l.o4.fromUint8Array(new Uint8Array(e.timestampResponse)),token:"1234"})}if(!y&&n?.timestamp&&p instanceof ArrayBuffer){const e=l.o4.toUint8Array(f).buffer;y=await this.backend.timestampData(e,n.timestamp)}const A=await this.backend.client.sign(o,s,a,N.xz[i.signatureType],f,g,Z(p)?"pkcs7":Q(p)?"raw":n?.signatureContainer?n.signatureContainer:null,y,b);return n?.ltv&&A.signature.certificateChainValidationStatus===P.k5.ok_but_could_not_check_revocation&&(0,r.R8)("Document signed, but couldn't add certificate revocation information so the signature may not be LTV-enabled."),await this.backend.reloadDocument(),s}catch(e){throw await this.backend.client.restoreToOriginalState(),e}}}var te=n(64966);class ne extends ee{constructor(e){super(e)}async signDocumentAndReload(e,t){t=(0,w.kJ)(t),(0,r.V1)(t,"`twoStepSignatureCallbackOrStandaloneSigningServiceData` must be a `PSPDFKit.StandaloneSigningServiceData` object when performing signing via a backend service.");const{jwt:n,signingToken:a}=t,i=this.resolveApiBasePath(t),s=this.resolveServerUrl(t),o=await this.getCertificates(s,n,`${i}get_certificates`,a),c=this.signatureCallbackFactory(s,n,o,e,t,`${i}sign_hash`);return await super.signDocumentAndReload({...e,signingData:{...e?.signingData,signatureType:e?.signingData?.signatureType||P.D7.CAdES,certificates:o}},c)}async getCertificates(e,t,n,a){let i;const s=`${e}${n}`;try{i=await fetch(s,{method:"POST",headers:{Authorization:`Bearer ${t}`,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({signingToken:a})})}catch(e){throw new r.uE(`The signing service failed to retrieve certificates: Failed to fetch from ${s}`)}if(!i.ok)throw new r.uE(`The signing service failed to retrieve certificates: ${await i.json()}`);const o=(await i.json())?.data||{};return o.certificates.concat(o.ca_certificates).map((e=>l.o4.fromBase64(e)))}resolveApiBasePath(e){return(0,te.i)(e.jwt).api_base_path||"/api/"}resolveServerUrl(e){const t=e.serverUrl||(0,te.i)(e.jwt).server_url;return(0,r.V1)(t,"`twoStepSignatureCallbackOrStandaloneSigningServiceData.jwt` must contain claim `server_url` or the `twoStepSignatureCallbackOrStandaloneSigningServiceData.serverUrl` should be set"),t}signatureCallbackFactory(e,t,n,a,i,s){return async o=>{let c,{hash:d,dataToBeSigned:u}=o;try{c=await fetch(`${e}${s}`,{method:"POST",headers:{Authorization:`Bearer ${t}`,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({dataToBeSigned:l.o4.fromUint8Array(u),hash:d,signatureType:a?.signingData?.signatureType||P.D7.CAdES,signingToken:i.signingToken,cadesLevel:a?.signingData?.padesLevel||P.sX.b_lt})})}catch(t){throw new r.uE(`The signing service failed to retrieve certificates: Failed to fetch from ${e}${s}`)}if(!c.ok)throw new r.uE(`The signing service failed to sign: ${await c.text()}`);const m=(await c.json())?.data||{};if(a?.signingData?.signatureContainer===P.Yj.pkcs7){const e={pkcs7:l.o4.toUint8Array(m.pkcs7).buffer};return m.ocspResponses&&(e.ocspResponses=m.ocspResponses.map((e=>({serialNumber:e.serialNumber,body:l.o4.toUint8Array(e.body).buffer})))),e}{const e={certificates:n,signedData:l.o4.toUint8Array(m.signedData).buffer,timestampResponse:l.o4.toUint8Array(m.timestampResponse).buffer};return m.ocspResponses&&(e.ocspResponses=m.ocspResponses.map((e=>({serialNumber:e.serialNumber,body:l.o4.toUint8Array(e.body).buffer})))),e}}}}var ae=n(30026),ie=n(85553);class se extends(c.mS({baseUrl:null,baseCoreUrl:null,baseProcessorEngineUrl:null,licenseKey:null,document:null,backendPermissions:new ae.A,documentResponse:null,disableWebAssemblyStreaming:!1,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:null,features:(0,c.B8)(),signatureFeatureAvailability:ie.g.NONE,documentHandle:null,trustedCAsCallback:null,signaturesInfoPromise:null,customFonts:null,fontSubstitutions:null,forceLegacySignaturesFeature:!1,forceAnnotationsRender:!1,appName:null,lazyLoadedPages:null,productId:null,processorEngine:null,dynamicFonts:null,inlineWorkers:!0,allowLinearizedLoading:!1,enableCoreUnifiedComments:!1})){}let oe;oe=n(55994).Fe;const re=new i.iy(oe);class ce extends z.K{constructor(e){super(),(0,a.A)(this,"type","STANDALONE"),(0,a.A)(this,"standaloneDocumentSigner",new ee(this)),(0,a.A)(this,"signingServiceDocumentSigner",new ne(this)),(0,a.A)(this,"_XFDF",null),de(e);const{baseUrl:t,baseCoreUrl:n,baseProcessorEngineUrl:i,instantJSON:r,XFDF:c,enableAutomaticLinkExtraction:l,overrideMemoryLimit:d,trustedCAsCallback:m,electronAppName:h,appName:g,isSharePoint:y,isSalesforce:b,productId:A,processorEngine:S,dynamicFonts:P,inlineWorkers:w,formsConfiguration:_,allowLinearizedLoading:F,unifiedCommentsSupport:v}=e;"string"==typeof c&&(this._XFDF={source:c,keepCurrentAnnotations:!0===e.XFDFKeepCurrentAnnotations,ignorePageRotation:!0===e.XFDFIgnorePageRotation}),r&&r.annotations&&(r.annotations=r.annotations.map((e=>(e.id=e.id?.toString(),e)))),this._instantJSON=r,this._formsConfiguration=_,"function"==typeof m&&(this._trustedCAsCallback=m);const{disableWebAssemblyStreaming:k,customFonts:C,fontSubstitutions:I}=e,{standaloneInstancesPoolSize:D}=e;void 0!==D&&(re.size=D);const R=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature);let x=A||null;!y&&!b||x||(x=y?f.v.SharePoint:f.v.Salesforce),this._state=new se(le({baseUrl:t,baseCoreUrl:n,baseProcessorEngineUrl:i,licenseKey:e.licenseKey,document:e.document,disableWebAssemblyStreaming:k,enableAutomaticLinkExtraction:l,overrideMemoryLimit:d,documentHandle:"0",customFonts:C,fontSubstitutions:I,forceLegacySignaturesFeature:R,appName:g||h,productId:x,processorEngine:S||p.j.fasterProcessing,dynamicFonts:P,inlineWorkers:w,allowLinearizedLoading:F,enableCoreUnifiedComments:v})),this._requestQueue=new o.L(u.z3);const{object:T,checkIn:V}=re.checkOut();this.client=T,this.checkIn=V,this.corePDFBridge=new B.D(s.MX.createWASMContext(this.client));const O=r?{annotations:r.annotations||[],formFields:r.formFields||[],formFieldValues:r.formFieldValues||[],skippedPdfObjectIds:r.skippedPdfObjectIds||[],skippedPdfFormFieldIds:r.skippedPdfFormFieldIds||[],attachments:r.attachments||{},bookmarks:r.bookmarks||[],skippedPdfBookmarkIds:r.skippedPdfBookmarkIds||[],comments:r.comments||void 0,skippedComments:r.skippedComments||void 0,format:r.format,...r.pdfId?{pdfId:r.pdfId}:null}:null;this.provider=new X(this.client,O)}isUsingInstantProvider(){return!1}hasClientsPresence(){return!1}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._isPDFJavaScriptEnabled=e.isPDFJavaScriptEnabled,{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!!e.password,password:e.password,allowedTileScales:"all"}}async afterDocumentLoaded(e){}destroy(){this.corePDFBridge.destroy(),this.provider&&this.provider.destroy(),this._requestQueue&&this._requestQueue.destroy(),this.checkIn()}async documentInfo(){return this._state.documentResponse}async lazyLoadPages(){if(!this._state.lazyLoadedPages){const e=await this.client.getAllPageInfos(this._state.documentResponse.pageCount);this._state=this._state.set("lazyLoadedPages",e)}return this._state.lazyLoadedPages}getDocumentHandle(){return this._state.documentHandle}getFormJSON(){return this.client.getFormJSON()}permissions(){return Promise.resolve(this._state.backendPermissions)}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){return this.client.getTextFromRects(e,t.toJS())}getAvailableFontFaces(e){return this.client.getAvailableFontFaces(e)}async getSuggestedLineHeightFactor(e){return"number"!=typeof e.pdfObjectId?1:"number"!=typeof e.pageIndex?((0,r.R8)("Annotation must have a pageIndex."),1):(e.lineHeightFactor&&(0,r.R8)(`Annotation ${e.id} already has a line height factor.`),this.client.getSuggestedLineHeightFactor(e.pdfObjectId,e.pageIndex))}async getClosestSnapPoint(e){const t=await this.client.getClosestSnapPoint(e.x,e.y);return t&&"number"==typeof t[0]&&"number"==typeof t[1]?new F.bR({x:t[0],y:t[1]}):e}configureSnapper(e){return this.client.configureSnapper(e)}renderAnnotation(e,t,n,a,i,s,o){if(0===Math.floor(a)||0===Math.floor(i))return{promise:Promise.resolve(void 0),cancel:()=>{}};const r=(0,V.yl)();let c;if((0,k.cu)(e)){if(c=(0,k.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:c,width:a,height:i}))return this.cachedRenderedAnnotationDiscardablePromise(c,r);this._addCachedRenderedAnnotation(c,{width:a,height:i,noZoom:e.noZoom,APStreamPromise:r.promise})}const l=e.id,d=new E(l,(()=>this.client.renderAnnotation((0,N.eq)(e),n,a,i,(0,D.LG)(),s,o).then((e=>e?"string"==typeof e?(0,I.$3)(e):(0,I.vB)({buffer:e,width:a,height:i}):Promise.resolve(null))).then((t=>((0,k.cu)(e)&&this._makeEnqueuedRelease(t,c),r.resolve(t),t)))));return this._requestQueue.enqueue(d,!1)}async getMeasurementSnappingPoints(e){return this.client.getMeasurementSnappingPoints(e)}async getSecondaryMeasurementUnit(){return await this.client.getSecondaryMeasurementUnit()}async setSecondaryMeasurementUnit(e){return await this.client.setSecondaryMeasurementUnit(e)}async compareDocuments(e,t){const n={originalDocument:e.originalDocument,changedDocument:e.changedDocument,comparisonOperation:(0,y.c)(t)};return this.corePDFBridge.compareText(n).promise}async renderPageAnnotations(e,t,n){const a=this.provider,i=[],s=[],o=t.some((e=>e instanceof A.sb));o&&await a._setReadStateCallbacksPromise;const c=t.filter((e=>{const t=o?a._readStateCallbacks.getAnnotationWithFormField(e.id):null,n=t?.formField,r=(0,k.lG)(e,n);if(r&&n){i.find((e=>e.name===n.name))||(i.push((0,N.cA)((0,R.Af)(n))),s.push(n))}return r}));function l(e,t){if((0,k.uM)(e)){const n=s.find((t=>t.name===e.formFieldName)),a=t.find((t=>t.name===e.formFieldName));if(!(0,R.Ny)(n,a))return!1}return!0}const d=new Promise(((t,i)=>{const o=c.filter((e=>0!==Math.floor(e.boundingBox.width*n)&&0!==Math.floor(e.boundingBox.height*n)));this.client.renderPageAnnotations(e,o.map((e=>e.pdfObjectId)).toArray(),o.map((e=>e.boundingBox.width*n)).toArray(),o.map((e=>e.boundingBox.height*n)).toArray(),(0,D.LG)()).then((e=>{const i=s.map((e=>a._readStateCallbacks?.getFormFieldByName(e.name))).filter(Boolean),c=e.map(((e,t)=>{const a=o.get(t);return(0,r.V1)(a),l(a,i)&&a&&e?"string"==typeof e?(0,I.$3)(e):(0,I.vB)({buffer:e,width:a.boundingBox.width*n,height:a.boundingBox.height*n}):Promise.resolve(null)}));Promise.all(c).then((e=>{const i=s.map((e=>a._readStateCallbacks?.getFormFieldByName(e.name))).filter(Boolean);e.forEach(((e,t)=>{const a=o.get(t);if(a){const{formFieldValue:t}=this.getAnnotationFormFieldAndValue(a),s=this.getAnnotationAvailableVariants(a),o=this.annotationAPStreamPromises.get(a.id),r=l(a,i);if(o&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(a.id),o(r?e:null)),s.length>1){const i={normal:e};e&&r&&this.cacheAPStream(i,a);const{promise:o}=this.renderAPStream(a,t,null,a.boundingBox.width*n,a.boundingBox.height*n,s);Promise.all(o.map((e=>e.promise))).then((e=>{e.some(Boolean)&&s.forEach(((t,n)=>{"normal"!==t&&e[n]&&(i[t]=e[n])}))}))}else e&&r&&this.cacheAPStream(e,a)}})),t()}))})).catch(i)}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,d),d}renderDetachedAnnotation(e,t,n,a){if(e.id)throw new r.uE(`Detached annotations should not have an \`id\`: ${e.id}`);const i=(0,V.yl)();let s;if((0,k.cu)(e)){if(s=(0,k.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:s,width:n,height:a}))return this.cachedRenderedAnnotationDiscardablePromise(s,i);this._addCachedRenderedAnnotation(s,{width:n,height:a,noZoom:e.noZoom,APStreamPromise:i.promise})}const o=(0,d.Z0)(),c=new E(o,(()=>this.client.renderDetachedAnnotation((0,N.eq)(e),t,n,a,(0,D.LG)()).then((e=>e?(0,I.vB)({buffer:e,width:n,height:a}):Promise.resolve(null))).then((t=>((0,k.cu)(e)&&this._makeEnqueuedRelease(t,s),i.resolve(t),t))).catch((()=>{const e=this._cachedRenderedAnnotations.get(s);e&&e.timeout&&clearTimeout(e.timeout),this._cachedRenderedAnnotations.delete(s)})))),{promise:l,cancel:u}=this._requestQueue.enqueue(c,!1);return{promise:l,cancel:u}}async getAttachment(e){const[t,n]=await this.client.getAttachment(e);return new Blob([t],{type:n})}async parseXFDF(e,t){const{errors:n,formFieldValues:a,annotations:i}=await this.client.parseXFDF(e,t);return{errors:n?.map((e=>({errorMessage:e.error_message,type:e.type}))),formFieldValues:a?.reduce(((e,t)=>(e[t.fqdn]=t.values,e)),{}),annotations:(0,c.B8)(i?.map((e=>(0,N.h8)((0,k.K1)(),e)))||[])}}async search(e,t,n,a){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:g.n.TEXT;const o=await this.client.search(e,t,n,a,s);return(0,O.g)(o.filter((e=>i||!e.isAnnotation)))}async searchAndRedact(e,t,n){const{totalPages:a}=n,i=await this.client.search(e,t.startPageIndex??0,t.pageRange??a,t.caseSensitive,t.searchType);return(0,c.B8)(i.filter((e=>t.searchInAnnotations||!e.isAnnotation)).map((e=>{const a=e.isAnnotation?[e.annotationRect]:e.rectsOnPage,i=(0,c.B8)(a).map((e=>((0,r.V1)(e),(0,j.a)(e))));return new S.A({...(0,k.mN)(n),...t.annotationPreset,pageIndex:e.pageIndex,rects:i,boundingBox:v.A.union(i)})})))}async exportPDF(){let{flatten:e=!1,incremental:t,saveForPrinting:n=!1,format:a="pdf",excludeAnnotations:i=!1,preserveInstantJSONChanges:s=!0,permissions:o,outputFormat:c=!1,flattenElectronicSignatures:l=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1?arguments[1]:void 0;if(e&&!l)throw new r.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");if(c&&"boolean"!=typeof c&&c.conformance&&(0,r.V1)(c.conformance&&Object.values(h.o).includes(c.conformance),"The supplied PDF/A Conformance type is not valid. Valid Conformance should be one of the following options PSPDFKit.Conformance."+Object.keys(h.o).join(", PSPDFKit.Conformance.")),void 0===t)if(this._state.features.includes(m.Y.DIGITAL_SIGNATURES)){const e=await this.getSignaturesInfo();t=!n&&Boolean("not_signed"!==e.status)}else t=!1;return this.client.exportFile(e,t,n,a,i,s,o,d).then((async e=>{let[t,n]=e;if(t.mimeType=n.mimeType,t.extension=n.extension,c){const e="boolean"!=typeof c&&c.conformance?c.conformance:h.o.PDFA_2B;let n;try{return n=await this._setupGdPictureClient(),await n.toPdf(t,e)}finally{n?.destroy(),(0,L.Pm)(null)}}return t}))}async exportOffice(e){let t,{format:n}=e;try{const[e]=await this.client.exportFile(!1,!1,!1,"pdf",!1,!0);return t=await this._setupGdPictureClient(),await t.toOffice(e,n)}catch(e){throw new r.uE(`Exporting to ${n} failed: ${e.message}.`)}finally{t?.destroy(),(0,L.Pm)(null)}}async _setupGdPictureClient(){let e=(0,L.jU)();return e||(e=(0,L.NY)({baseUrl:this._state.baseProcessorEngineUrl,mainThreadOrigin:this._state.appName||(0,T.D5)()||window.location.origin,licenseKey:this._state.licenseKey,processorEngine:this._state.processorEngine,customFonts:this._state.customFonts,dynamicFonts:this._state.dynamicFonts,fontSubstitutions:this._state.fontSubstitutions}),(0,L.Pm)(e)),e}exportXFDF(e){return this.client.exportXFDF(e)}exportInstantJSON(e){return this.client.exportInstantJSON(e)}getPDFURL(){let{includeComments:e=!0,saveForPrinting:t,excludeAnnotations:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.generatePDFObjectURL({includeComments:e,saveForPrinting:t,excludeAnnotations:n})}generatePDFObjectURL(){let e,{includeComments:t=!0,saveForPrinting:n,excludeAnnotations:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,saveForPrinting:n,excludeAnnotations:a}).then((t=>{if(i)return;const n=new Blob([t],{type:t.mimeType});e=window.URL.createObjectURL(n),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),i=!0}}}async getDocumentOutline(){const e=await this.client.getDocumentOutline();return(0,c.B8)(e.map(U.r))}async setDocumentOutline(e){return this.client.setDocumentOutline(e.map(U.U).toArray())}async getPageGlyphs(e){const t=await this.client.getPageGlyphs(e);return(0,N.Fj)(t)}async onKeystrokeEvent(e){return await this.client.onKeystrokeEvent(e)}async evalFormValuesActions(e){return this.client.evalFormValuesActions(e.map(N.cA).toJS())}async evalScript(e,t,n){return this.client.evalScript(e,t,n)}async setFormJSONUpdateBatchMode(e){return this.client.setFormJSONUpdateBatchMode(e)}async getMeasurementScales(){const e=await this.client.getMeasurementScales();return e?.measurementContentFormats}async addMeasurementScale(e){return await this.client.addMeasurementScale(e)}async removeMeasurementScale(e){return await this.client.removeMeasurementScale(e)}async getAnnotationsByScale(e){return await this.client.getAnnotationsByScale(e)}async applyOperationsAndReload(e){try{const{processedOperations:t,operationsDocuments:n}=await(0,C.t)(e);await this.client.applyOperations(t,n)}catch(e){throw new r.uE(`Applying operations failed: ${e}`)}return this.provider._state=this.provider._state.set("alreadyLoadedPages",(0,c.T5)()),this.reloadDocument()}async applyRedactionsAndReload(){try{await this.client.applyRedactions()}catch(e){throw new r.uE(`Applying redactions failed: ${e}`)}return this.reloadDocument()}async reloadDocument(){try{this.provider?.destroy(),this.provider=new X(this.client,null),this._state=this._state.set("lazyLoadedPages",null);const e=await this.client.reloadDocument();return this._state=this._state.set("documentResponse",e).set("documentHandle",(parseInt(this._state.documentHandle)+1).toString()).set("signaturesInfoPromise",null),this.clearRenderedAnnotationsCache(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!1,password:void 0,allowedTileScales:"all"}}catch(e){throw new r.uE(`Reloading failed: ${e}`)}}async getEmbeddedFiles(){const e=await this.client.getEmbeddedFilesList();return(0,c.B8)(e.map((e=>{let{id:t,...n}=e;return(0,b.r)(t,n,!0)})))}async exportPDFWithOperations(e){try{const{processedOperations:t,operationsDocuments:n}=await(0,C.t)(e);return this.client.exportPDFWithOperations(t,n)}catch(e){throw new r.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){try{const t=(e??[]).map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e))),n=await this.getRevocationResponses(t),a=await this.client.setSignaturesLTV(n).then((e=>(0,N.N5)(e)));if(a.signatures?.find((e=>e.certificateChainValidationStatus===P.k5.ok_but_could_not_check_revocation)))throw"Could not set LTV for all signatures. Check that the OCSP response is valid.";return this._state=this._state.set("signaturesInfoPromise",null),this.getSignaturesInfo()}catch(e){throw new r.uE(`Setting signatures LTV failed: ${e}`)}}getSignaturesInfo(){try{if(this._state.signaturesInfoPromise)return this._state.signaturesInfoPromise;const e=this.client.getSignaturesInfo().then((e=>(0,N.N5)(e)));return this._state=this._state.set("signaturesInfoPromise",e),e}catch(e){throw new r.uE(`Getting document signatures info: ${e}`)}}async refreshSignaturesInfo(){this._state=this._state.set("signaturesInfoPromise",null)}async loadCertificates(e){return this.client.loadCertificates(e)}async getRevocationResponses(e){const t=await this.client.getRevocationRequests(e);return await Promise.all(t.map((async e=>{let{method:t,url:n,content_type:a,request_data:i,token:s}=e;try{const e=await fetch(n,{method:t,headers:{"Content-Type":a??"application/ocsp-request"},body:l.o4.toUint8Array(i).buffer}),o=await e.arrayBuffer();return{response_code:e.status,body:l.o4.fromUint8Array(new Uint8Array(o)),token:s}}catch(e){return{response_code:0,body:"",token:s,error_message:e.message}}})))}async signDocumentAndReload(e,t){(0,r.V1)(void 0===t||"function"==typeof t||(0,w.kJ)(t),"On a Standalone deployment, `twoStepSignatureCallbackOrSigningServiceData` must be a function or `PSPDFKit.StandaloneSigningServiceData` if provided.");const n=(0,w.kJ)(t);return n?this.signingServiceDocumentSigner.signDocumentAndReload(e,n):this.standaloneDocumentSigner.signDocumentAndReload(e,t)}cancelRequests(){this._requestQueue.cancelAll()}async syncChanges(){}getDefaultGroup(){}isCollaborationPermissionsEnabled(){return!1}async clearAPStreamCache(){return this.client.clearAPStreamCache()}async setComparisonDocument(e,t){return this.client.setComparisonDocument(e,t)}async openComparisonDocument(e){return this._state=this._state.set("forceAnnotationsRender",!1),await this.client.closeDocument(),this._state=this._state.set("forceAnnotationsRender",!0),await this.client.openComparisonDocument(e)||this._state.documentResponse}async documentCompareAndOpen(e){return this.client.documentCompareAndOpen(e)}async persistOpenDocument(e){return this.client.persistOpenDocument(e)}async cleanupDocumentComparison(){return this.client.cleanupDocumentComparison()}async runPDFFormattingScripts(e,t){return this.client.runPDFFormattingScripts(e,t)}async runPDFFormattingScriptsFromWidgets(e,t,n){let a=[];if(this._isPDFJavaScriptEnabled){const{withAPStream:i,withoutAPStream:s}=e.reduce(((e,a)=>{if(a instanceof A.sb){const i=t?.get(a.formFieldName);if(i instanceof A.Vw)return e;n?.(a)?e.withAPStream.push(a.formFieldName):e.withoutAPStream.push(a.formFieldName)}return e}),{withAPStream:[],withoutAPStream:[]});let o=[];if(i.length&&!s.length)o=await this.runPDFFormattingScripts(i,!0);else if(!i.length&&s.length)o=await this.runPDFFormattingScripts(s,!1);else if(i.length&&s.length){const[e,t]=await Promise.all([this.runPDFFormattingScripts(i,!0),this.runPDFFormattingScripts(s,!1)]);o=e.concat(t)}a=(0,R.A5)(this._initialChanges,o)}return a}setFontSubstitutions(e){return this.client.setFontSubstitutions(e)}async contentEditorReload(){return(0,r.V1)(this.provider instanceof X,"Standalone can only use standalone annotation provider"),this.provider._state=this.provider._state.set("alreadyLoadedPages",(0,c.T5)()),this.reloadDocument()}getOCGs(){return this.client.getOCGs()}getOCGVisibilityState(){return this.client.getOCGVisibilityState()}setOCGVisibilityState(e){return this.client.setOCGVisibilityState(e)}updateButtonIcon(e,t,n){return this.client.updateButtonIcon((0,N.eq)(e),t,n)}async timestampData(e,t){const{url:n,username:a="",password:i=""}=t,s=l.o4.fromUint8Array(new Uint8Array(e));try{const e=await this.client.getTimestampRequest(s,{url:n,username:a,password:i}),t={method:e.method,headers:{"Content-Type":e.contentType||"application/timestamp-query"},body:l.o4.toUint8Array(e.requestData).buffer};(e.username||e.password)&&(t.headers.Authorization=`Basic ${btoa(`${e.username}:${e.password}`)}`);try{const n=await fetch(e.url,t),a=await n.arrayBuffer();return{response_code:n.status,body:l.o4.fromUint8Array(new Uint8Array(a)),token:e.token}}catch(t){return{response_code:400,body:"",token:e.token,error_message:t.message}}}catch(e){return{response_code:500,body:"",token:"",error_message:e.message}}}async waitUntilFullyLoaded(e){}}function le(e){return{baseUrl:e.baseUrl,baseCoreUrl:e.baseCoreUrl,baseProcessorEngineUrl:e.baseProcessorEngineUrl,licenseKey:e.licenseKey,document:e.document,disableWebAssemblyStreaming:!!e.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!!e.enableAutomaticLinkExtraction,overrideMemoryLimit:"number"==typeof e.overrideMemoryLimit?e.overrideMemoryLimit:null,documentHandle:"number"==typeof e.documentHandle?e.documentHandle:"0",trustedCAsCallback:"function"==typeof e.trustedCAsCallback?e.trustedCAsCallback:null,customFonts:Array.isArray(e.customFonts)?e.customFonts.filter((e=>e instanceof _.A)):null,forceLegacySignaturesFeature:Boolean(e.forceLegacySignaturesFeature),appName:"string"==typeof e.appName?e.appName:null,productId:e.productId,processorEngine:e.processorEngine,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,inlineWorkers:e.inlineWorkers,allowLinearizedLoading:e.allowLinearizedLoading,enableCoreUnifiedComments:e.enableCoreUnifiedComments}}function de(e){const{licenseKey:t,instantJSON:n,XFDF:a,disableWebAssemblyStreaming:i,disableIndexedDBCaching:s,enableAutomaticLinkExtraction:o,overrideMemoryLimit:c,standaloneInstancesPoolSize:l,trustedCAsCallback:d,baseUrl:u,baseCoreUrl:m,baseProcessorEngineUrl:h,customFonts:p,isSharePoint:f,isSalesforce:g,dynamicFonts:y,inlineWorkers:b,formsConfiguration:A}=e;if((0,r.V1)("string"==typeof u,"`baseUrl` is mandatory and must be a valid URL, e.g. `https://example.com/"),(0,x.f4)(u),(0,r.V1)(!m||"string"==typeof m,"`baseCoreUrl` must be a valid URL if set, e.g. `https://example.com/"),m&&(0,x.Qo)(m),(0,r.V1)(!h||"string"==typeof h,"`baseProcessorEngineUrl` must be a valid URL if set, e.g. `https://example.com/"),h&&(0,x.hc)(h),(0,r.V1)(null==t||"string"==typeof t,"licenseKey must be a string value if provided. Please obtain yours from https://customers.pspdfkit.com."),"string"==typeof t&&(0,r.V1)(!t.startsWith("TRIAL-"),"You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial."),(0,r.V1)(void 0===a||"string"==typeof a,"XFDF must be a string"),n&&((0,r.yj)(n),(0,r.V1)(void 0===a,"Cannot import from both instantJSON and XFDF")),(0,r.V1)(void 0===i||"boolean"==typeof i,"disableWebAssemblyStreaming must be a boolean"),(0,r.V1)(void 0===o||"boolean"==typeof o,"enableAutomaticLinkExtraction must be a boolean"),(0,r.V1)(void 0===c||"number"==typeof c,"overrideMemoryLimit must be a number"),(0,r.V1)(void 0===l||"number"==typeof l&&l>=0,"standaloneInstancesPoolSize must be a non-negative number"),(0,r.V1)(void 0===d||"function"==typeof d,"trustedCAsCallback must be a function"),(0,r.V1)(void 0===p||Array.isArray(p)&&p.every((e=>e instanceof _.A)),"customFonts must be an array of PSPDFKit.Font instances"),(0,r.V1)(void 0===p||p.every((e=>e.callback)),"All PSPDFKit.Font instances specified on customFonts must have its callback property defined"),void 0!==s&&(0,r.t6)("disableIndexedDbCaching has been deprecated and it no longer has effect. It will be removed in a later version.\nBrowsers dropped IndexedDB serialization of Wasm modules in favor of regular HTTP caching."),(f||g)&&(0,r.t6)("isSharePoint and isSalesforce configuration properties are deprecated and will be removed in the next major release. Please use the new Configuration#productId property instead. For more information, please check the migration guide."),(0,r.V1)(!(f&&g),"You cannot enable both SharePoint and Salesforce integrations at the same time. Please set either isSharePoint or isSalesforce to true, but not both."),"string"==typeof y)try{new URL(y)}catch(e){throw new r.uE("dynamicFonts must be a valid URL to a JSON file containing the data for fonts to be dynamically loaded.")}(0,r.V1)(void 0===b||"boolean"==typeof b,"inlineWorkers must be a boolean"),A&&(0,r.V1)(void 0===A.export?.disableComboBoxArrow||"boolean"==typeof A.export?.disableComboBoxArrow,"formsConfiguration.export.disableComboBoxArrow must be a boolean")}},40927:(e,t,n)=>{n.d(t,{r:()=>o});var a=n(49568);class i extends(a.mS({id:"",attachmentId:"",description:null,fileName:null,fileSize:null,updatedAt:null})){}var s=n(46952);function o(e,t){return function(e,t){return t}(0,arguments.length>2&&void 0!==arguments[2]&&arguments[2])?new i({id:(0,s.A)(),description:t.fileDescription,attachmentId:e,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:t.modificationDate?new Date(t.modificationDate):null}):new i({id:e,description:t.description,attachmentId:t.fileAttachmentId,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:new Date(t.updatedAt)||null})}},41477:(e,t,n)=>{n.d(t,{U:()=>c,r:()=>l});var a=n(85409),i=n(49568),s=n(6085),o=n(16792),r=n(76117);function c(e){return{type:"pspdfkit/outline-element",children:e.children&&e.children.map((e=>c(e))).toJS(),title:e.title,color:e.color&&(0,o.J)(e.color),isBold:e.isBold,isItalic:e.isItalic,isExpanded:e.isExpanded,action:e.action&&(0,s.Ix)(e.action)}}function l(e){let t,n;(0,a.V1)("pspdfkit/outline-element"===e.type,"invalid outline element type."),(0,a.V1)(null==e.children||Array.isArray(e.children),"children must be an Array<OutlineElement>."),(0,a.V1)("string"==typeof e.title,"title must be a string."),(0,a.V1)(null==e.isBold||"boolean"==typeof e.isBold,"isBold must be a boolean."),(0,a.V1)(null==e.isItalic||"boolean"==typeof e.isItalic,"isItalic must be a boolean."),(0,a.V1)(null==e.isExpanded||"boolean"==typeof e.isExpanded,"isExpanded must be a boolean.");try{t=e.action&&(0,s._8)(e.action)}catch(t){(0,a.R8)(`PDF Action not supported ${JSON.stringify(e.action)})`)}try{n=e.color&&(0,o.p)(e.color)}catch(t){(0,a.R8)(`Invalid color:\n\n${e.color}`)}const c={title:e.title,color:n,isBold:!0===e.isBold,isItalic:!0===e.isItalic,isExpanded:!0===e.isExpanded,action:t,children:e.children&&e.children.length>0?(0,i.B8)(e.children.map(l)):(0,i.B8)()};return new r.LC(c)}},25888:(e,t,n)=>{n.d(t,{g:()=>i,t:()=>s});var a=n(85409);function i(e,t,n,a,i,s){let o;return e.has(n)?o=e.get(n):(o=i.toString(),t[o]=n,e.set(n,o)),{...a,[s]:o}}async function s(e){const t=new WeakMap,n={};return{processedOperations:await Promise.all(e.map((async(e,s)=>{if("importDocument"===e.type){const{document:o}=e;return(0,a.V1)(o instanceof File||o instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),i(t,n,o,e,s,"document")}if("applyInstantJson"===e.type){const o=e.instantJson;(0,a.V1)("object"==typeof o&&null!==o,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const r=JSON.stringify(o),c=new Blob([r],{type:"application/json"});return i(t,n,c,e,s,"dataFilePath")}if("applyXfdf"===e.type){const o=e.xfdf;(0,a.V1)("string"==typeof o,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const r=new Blob([o],{type:"application/vnd.adobe.xfdf"});return i(t,n,r,e,s,"dataFilePath")}return e}))),operationsDocuments:n}}},47159:(e,t,n)=>{n.d(t,{g:()=>r});var a=n(49568),i=n(85409),s=n(5293),o=n(3220);function r(e){return(0,i.V1)(Array.isArray(e),"Wrong `json` field"),(0,a.B8)(e.map((e=>((0,i.V1)("number"==typeof e.pageIndex,"Wrong `pageIndex` field"),(0,i.V1)("string"==typeof e.previewText,"Wrong `previewText` field"),(0,i.V1)(Array.isArray(e.rangeInPreview),"Wrong `rangeInPreview` field"),(0,i.V1)(Array.isArray(e.rectsOnPage),"Wrong `rectsOnPage` field"),new o.A({pageIndex:e.pageIndex,previewText:e.previewText,locationInPreview:e.rangeInPreview[0],lengthInPreview:e.rangeInPreview[1],rectsOnPage:(0,a.B8)(e.rectsOnPage).map((e=>(0,s.a)(e))),isAnnotation:!!e.isAnnotation,annotationRect:e.annotationRect?(0,s.a)(e.annotationRect):null})))).filter(Boolean))}}}]);
|