diff --git a/EnvelopeGenerator.Web/Views/Shared/_Layout.cshtml b/EnvelopeGenerator.Web/Views/Shared/_Layout.cshtml index 630610e3..9d2f10fd 100644 --- a/EnvelopeGenerator.Web/Views/Shared/_Layout.cshtml +++ b/EnvelopeGenerator.Web/Views/Shared/_Layout.cshtml @@ -32,7 +32,7 @@ - + diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff new file mode 100644 index 00000000..dcdc2e53 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff2 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff2 new file mode 100644 index 00000000..2c93b8f8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Caveat-Bold.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff new file mode 100644 index 00000000..ad47f395 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff2 new file mode 100644 index 00000000..07437ba6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/MarckScript-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff new file mode 100644 index 00000000..52a73499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff2 new file mode 100644 index 00000000..6046b157 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Meddon-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff new file mode 100644 index 00000000..85a2fcd6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff2 new file mode 100644 index 00000000..10c4fe9f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/Pacifico-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-1620-dcca73317a66fc4c.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-1620-dcca73317a66fc4c.js new file mode 100644 index 00000000..32661de5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-1620-dcca73317a66fc4c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1620],{46309:(e,t,i)=>{i.d(t,{W:()=>u});var n=i(84121),r=i(35369),s=i(47347),a=i(66687),o=i(95651),c=i(92466);function l(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function h(e){for(var t=1;t{d=!0};return{promise:new Promise((async(s,a)=>{const o=t=>{const i=this.annotationAPStreamPromises.get(e.id);i&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(e.id),i(t))},c=this.annotationAPStreamPromises.get(e.id);this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,s),c&&c(null);try{const a=this.pageAPStreamsPromises.get(e.pageIndex);if(!a){const t=new Promise((t=>{this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,t)}));return void s(await t)}await a;const c=this.cachedAPStreams.get(e.pageIndex);if(c){const t=c?c.get(e.id):null;if(t)return void o(this.getAPStream(t,r))}const{promise:f,cancel:p}=this.renderAPStream(e,l,t,i,n,u,r);if(d)o(null);else if(m=p,u.length>1){const t=await Promise.all(f.map((e=>e.promise)));o(t[u.indexOf(r||"normal")]),t.some(Boolean)&&this.cacheAPStream(u.reduce(((e,i,n)=>h(h({},e),{},{[i]:t[n]})),{}),e)}else{const t=await f,i=t?this.getAPStream(t,r):null;o(i),i&&this.cacheAPStream(t,e)}}catch(e){a(e)}})),cancel:m}}cacheAPStream(e,t){let i=this.cachedAPStreams.get(t.pageIndex);i||(this.cachedAPStreams=this.cachedAPStreams.set(t.pageIndex,(0,r.D5)()),i=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 i=this.cachedAPStreams.get(e);i&&(i.filter(((e,i)=>t.has(i))).forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.updateIn([e],(e=>e.filter(((e,i)=>!t.has(i))))))}getAPStream(e,t){return e instanceof c.Z?e:(null==e?void 0:e[t||"normal"])||null}renderAPStream(e,t,i,n,r,s,a){if(s.length>1){const a=s.map((s=>this.renderAnnotation(e,t,i,n,r,"normal"!==s?s:void 0)));return{promise:a,cancel:()=>{a.forEach((e=>{e.cancel()}))}}}return this.renderAnnotation(e,t,i,n,r,a)}releaseAPStream(e){e instanceof c.Z?e.release():Object.values(e).forEach((e=>{e.release()}))}}},45207:(e,t,i)=>{i.d(t,{Z:()=>a});var n=i(35369),r=i(97413);function s(){return!0}class a{constructor(e){this.queue=(0,n.zN)(),this.priorityQueue=(0,n.zN)(),this.inFlightRequests=(0,n.D5)(),this.inflightRequestLimit=e,this.isDestroyed=!1}enqueue(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isDestroyed)return{promise:new Promise((()=>{})),cancel:()=>{}};let i=null,r=null;const s=new Promise(((e,t)=>{i=e,r=t})),a=t?this.priorityQueue:this.queue,o=(0,n.t8)(a,e,{promise:s,resolve:i,reject:r});return t?this.priorityQueue=o:this.queue=o,t?this.next():setTimeout((()=>this.next()),35),{promise:s,cancel:()=>this._cancel(e)}}_cancel(e){this.queue.has(e)&&(this.queue=this.queue.delete(e)),this.priorityQueue.has(e)&&(this.priorityQueue=this.priorityQueue.delete(e)),this.inFlightRequests.has(e)&&(this.inFlightRequests=this.inFlightRequests.delete(e))}cancelAll(){this.queue=(0,n.zN)(),this.priorityQueue=(0,n.zN)(),this.inFlightRequests=(0,n.D5)()}_requestFinished(e,t){if(this.isDestroyed)return;const i=this.inFlightRequests.get(e);i&&(i.resolve(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}_requestFailed(e,t){if(this.isDestroyed)return;const i=this.inFlightRequests.get(e);i&&(i.reject(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}next(){if(!(this.isDestroyed||this.inFlightRequests.size>=this.inflightRequestLimit)){if(this.priorityQueue.size>=1){const e=this.priorityQueue.findLastEntry(s);(0,r.k)(e);const[t,i]=e;return this.priorityQueue=this.priorityQueue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,i),void t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}if(this.queue.size>=1){const e=this.queue.findEntry(s);(0,r.k)(e);const[t,i]=e;this.queue=this.queue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,i),t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}}}destroy(){this.isDestroyed=!0}}},80488:(e,t,i)=>{i.d(t,{i:()=>o});var n=i(35369);class r extends(n.WV({id:"",attachmentId:"",description:null,fileName:null,fileSize:null,updatedAt:null})){}var s=i(33320);function a(e,t){return t}function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a(0,i)?new r({id:(0,s.C)(),description:t.fileDescription,attachmentId:e,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:t.modificationDate?new Date(t.modificationDate):null}):new r({id:e,description:t.description,attachmentId:t.fileAttachmentId,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:new Date(t.updatedAt)||null})}},70569:(e,t,i)=>{i.d(t,{M:()=>a});var n=i(84121);function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function s(e){for(var t=1;t{i.d(t,{E:()=>o});var n=i(35369),r=i(47347),s=i(93572),a=i(46791);function o(e){return(0,r.kG)(Array.isArray(e),"Wrong `json` field"),(0,n.aV)(e.map((e=>((0,r.kG)("number"==typeof e.pageIndex,"Wrong `pageIndex` field"),(0,r.kG)("string"==typeof e.previewText,"Wrong `previewText` field"),(0,r.kG)(Array.isArray(e.rangeInPreview),"Wrong `rangeInPreview` field"),(0,r.kG)(Array.isArray(e.rectsOnPage),"Wrong `rectsOnPage` field"),new a.Z({pageIndex:e.pageIndex,previewText:e.previewText,locationInPreview:e.rangeInPreview[0],lengthInPreview:e.rangeInPreview[1],rectsOnPage:(0,n.aV)(e.rectsOnPage).map((e=>(0,s.k)(e))),isAnnotation:!!e.isAnnotation,annotationRect:e.annotationRect?(0,s.k)(e.annotationRect):null})))).filter(Boolean))}}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-9859-404d79cf3e74fbea.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-9859-404d79cf3e74fbea.js new file mode 100644 index 00000000..279f7d12 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-9859-404d79cf3e74fbea.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9859],{49859:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Conformance:()=>i,GdPicture:()=>g,GdPictureClientNative:()=>h,GdPictureWorker:()=>w,getBrowserSpawner:()=>F});var n=r(84121),o=r(47347),s=r(72852);let i=function(t){return t[t.pdf_a_1a=0]="pdf_a_1a",t[t.pdf_a_1b=1]="pdf_a_1b",t[t.pdf_a_2a=2]="pdf_a_2a",t[t.pdf_a_2u=3]="pdf_a_2u",t[t.pdf_a_2b=4]="pdf_a_2b",t[t.pdf_a_3a=5]="pdf_a_3a",t[t.pdf_a_3u=6]="pdf_a_3u",t[t.pdf_a_3b=7]="pdf_a_3b",t[t.pdf_a_4=8]="pdf_a_4",t[t.pdf_a_4e=9]="pdf_a_4e",t[t.pdf_a_4f=10]="pdf_a_4f",t}({});function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1?r-1:0),s=1;s{const e=t.data,r=this.requests.get(e.id);(0,o.kG)(r,`No request was made for id ${e.id}.`);const{resolve:n,reject:s}=r;if(this.requests.delete(e.id),e.error){const t=new o.p2(e.error);t.callArgs=e.callArgs,s(t)}else n(e.result)})),this.workerSpawner=u,this.workerSpawner.setMessageHandler(this.handleMessage),this.moduleLoadPromise=this.sendRequest("loadModule",[d?{baseUrl:e,wasmLoaderPath:d}:e,r,s,i,a,l,c])}toPdf(t,e){let r;return e&&(r=e.replace("pdf","pdf_").replaceAll("-","_")),this.sendRequest("toPdf",[t,r])}async populateDocumentTemplate(t,e){return this.sendRequest("populateDocumentTemplate",[t,e])}destroy(){var t;null===(t=this.workerSpawner)||void 0===t||t.terminate(),this.workerSpawner=null}async sendRequest(t,e){(0,o.kG)(this.workerSpawner,"GdPictureClient has been destroyed"),this.moduleLoadPromise&&await this.moduleLoadPromise;const r=this.workerSpawner;return new Promise(((n,o)=>{const s=this.assignId(),i=[...e].filter((t=>t instanceof ArrayBuffer));r.postMessage({id:s,action:t,args:e},i),this.requests=this.requests.set(s,{resolve:n,reject:o})}))}assignId(){const t=this.nextRequestId;return this.nextRequestId=this.nextRequestId+1,t}};const h=class{constructor(t){let{baseUrl:e,aot:r,mainThreadOrigin:n,licenseKey:o,customFonts:s,dynamicFonts:i,fontSubstitutions:a}=t;this.gdPicture=new g,this.moduleLoadPromise=this.gdPicture.loadModule(e,r,n,o,s,i,a)}async toPdf(t,e){let r;return this.moduleLoadPromise&&await this.moduleLoadPromise,e&&(r=e.replace("pdf","pdf_").replaceAll("-","_")),this.gdPicture.toPdf(t,r)}async populateDocumentTemplate(t,e){return this.moduleLoadPromise&&await this.moduleLoadPromise,this.gdPicture.populateDocumentTemplate(t,e)}destroy(){}};var S=r(59817),P=r.n(S);const F=async function(){let t=new(P());return{setMessageHandler(e){(0,o.kG)(t,"Worker is null"),t.onmessage=e},postMessage(e,r){var n;null===(n=t)||void 0===n||n.postMessage(e,r)},terminate(){var e;null===(e=t)||void 0===e||e.terminate(),t=null}}}},59817:(t,e,r)=>{t.exports=function(){return r(69855)('/*!\n * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web)\n *\n * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved.\n *\n * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW\n * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.\n * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.\n * This notice may not be removed from this file.\n *\n * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/\n */(()=>{"use strict";const t=function t(e){let r;return r=e instanceof Error?e:new Error(e),Object.setPrototypeOf(r,t.prototype),r};t.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const e=t;function r(t,r){if(!t)throw new e(`Assertion failed: ${r||"Condition not met"}\\n\\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}function i(t,e,r){return(e=o(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",\'[tabindex]:not([tabindex^="-"])\'].join(",");new WeakMap;let a=function(t){return t[t.pdf_a_1a=0]="pdf_a_1a",t[t.pdf_a_1b=1]="pdf_a_1b",t[t.pdf_a_2a=2]="pdf_a_2a",t[t.pdf_a_2u=3]="pdf_a_2u",t[t.pdf_a_2b=4]="pdf_a_2b",t[t.pdf_a_3a=5]="pdf_a_3a",t[t.pdf_a_3u=6]="pdf_a_3u",t[t.pdf_a_3b=7]="pdf_a_3b",t[t.pdf_a_4=8]="pdf_a_4",t[t.pdf_a_4e=9]="pdf_a_4e",t[t.pdf_a_4f=10]="pdf_a_4f",t}({});function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e1?n-1:0),i=1;i{throw new e(`Error fetching dynamic fonts file ${t}. ${r}`)}));if(200!==r.status)throw new e(`Error fetching dynamic fonts file ${t}. Status code: ${r.status}`);const n=await r.json().catch((r=>{throw new e(`Error parsing dynamic fonts file ${t}. ${r}`)}));return n}catch(t){throw t}}(a);_("gdpicture/setDynamicFontLoading",{baseUrl:a.split("/").slice(0,-1).join("/"),allowedFonts:t.availableFonts,v:1})}s&&_("gdpicture/setFontSubstitutions",{fontSubstitutions:s})}toPdf(t,e){b.FS.writeFile(f,new Uint8Array(t));const r={file:l,format:"pdf"};e&&e in a&&(r.conformance=e);try{return _("gdpicture/process",{input:{file:f},output:r}),b.FS.readFile(l).buffer}finally{try{b.FS.unlink(l)}catch(t){}}}async populateDocumentTemplate(t,e){let r;b.FS.writeFile(u,new Uint8Array(t));try{r=JSON.stringify(e,null,2)}catch(t){throw new Error("Invalid config data")}b.FS.writeFile(d,r);try{return _("gdpicture/process-office-template",{inputFile:u,modelAndConfigFile:d,outputFile:p}),b.FS.readFile(p).buffer}finally{try{b.FS.unlink(p),b.FS.unlink(d)}catch(t){}}}},w=self;w.global=w,w.module={},w.onmessage=async t=>{let e,r,{data:n}=t;try{const t=await g[n.action](...n.args);if(e={id:n.id,result:t},Array.isArray(t)){const e=t.filter((t=>t instanceof ArrayBuffer));e.length>0&&(r=e)}t instanceof ArrayBuffer&&(r=[t])}catch(t){const o=[...n.args].filter((t=>t instanceof ArrayBuffer));o.length>0&&(r=o),e={id:n.id,error:t.message||t.toString(),callArgs:n.args}}w.postMessage(e,r)}})();',null)}}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-bd921099-1045f02e8a7baca1.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-bd921099-1045f02e8a7baca1.js new file mode 100644 index 00000000..e5d7acab --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-bd921099-1045f02e8a7baca1.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5747],{12711:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>T});var n=a(84121),s=a(67294),o=a(94184),r=a.n(o),l=a(35369),i=a(76154),c=a(67366),d=a(47347),m=a(25915),u=a(98785),p=a(91859),g=a(20234),f=a(4054),P=a(66687),y=a(2810),v=a(35129),b=a(6437),h=a(13540),I=a(73264),w=a(34855),E=a(3999),k=a(17375),N=a(22122),D=a(72584);const x=["type"];function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function C(e){for(var t=1;t{let{items:t,builtInItems:n,moveDialog:o,CSS_HACK:{components:{ToolbarButtonComponent:l},styles:i}}=e;return t.map(((e,t)=>{const c=n.find((t=>t.type===e.type));if("spacer"===e.type)return s.createElement("div",{style:{flex:1},className:e.className,key:`spacer-${t}`});if("move"===e.type&&c)return s.createElement("div",{key:c.type,className:i.moveButtonContainer},s.createElement(l,(0,N.Z)({},c,{icon:a(92531),className:r()(c.className,e.className),onPress:e=>{c&&c.onPress&&c.onPress(e)}})),o);if(c){const n=(0,D.zW)(c.type);return s.createElement(l,(0,N.Z)({},c,{key:c.type||t,icon:a(33720)(`./${n}.svg`),onPress:e=>{c&&c.onPress&&c.onPress(e)},className:r()(c.className,e.className)}))}if("custom"===e.type&&e.node){const{type:a}=e,n=(0,k.Z)(e,x);return s.createElement(E.Z,(0,N.Z)({},n,{onPress:t=>e.onPress&&e.onPress(t,e.id),key:e.id||t}))}return s.createElement(l,(0,N.Z)({},e,{key:c&&c.type||t,onPress:t=>e.onPress&&e.onPress(t,e.id)}))}))})),M=s.memo((e=>{let{items:t,builtInItems:n,CSS_HACK:{components:{ToolbarDropdownGroupComponent:o,ToolbarButtonComponent:l},styles:i},frameWindow:c}=e;const d=t.map((e=>{let{item:t,index:a}=e;const s=n.find((e=>e.type===t.type));return s?{index:a,item:C(C({},s),{},{className:r()(s.className,t.className),onPress:e=>{s.onPress&&s.onPress(e)}})}:{item:t,index:a}}));return d.length>0&&s.createElement(s.Fragment,null,s.createElement("div",{style:{flex:1},key:"spacer-responsive"}),s.createElement(o,{icon:{type:"more",size:{width:20,height:20}},items:d,discreteDropdown:!0,caretDirection:"down",role:"menu",ItemComponent:e=>{let{item:t,isSelectedItem:o,state:c,itemComponentProps:d}=e;const m=!o&&n.find((e=>e.type===t.item.type));if(o)return null;const u=m&&m.type?(0,D.zW)(m.type):"";return t.item.node?s.createElement(E.Z,(0,N.Z)({},t.item,{onPress:t.item.onPress?e=>t.item.onPress(e,t.id):void 0,key:t.item.id||t.index})):s.createElement(l,(0,N.Z)({},t.item,{role:"menuitem",className:r()(t.item.className,i.toolbar.dropdownButton,"Focused"===c&&i.toolbar["dropdownButton"+c]),icon:m?a(33720)(`./${u}.svg`):t.item.icon,itemComponentProps:d}))},onSelect:(e,t)=>{const{onPress:a,disabled:n}=t.item;n||a&&a(e)},noInitialSelection:!0,frameWindow:c}))}));var z,A;function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function B(e){for(var t=1;t{const{styles:t,formatMessage:n,movePreview:o}=e;return s.createElement("div",{style:{width:e.width,height:e.height},className:r()(t.importedDocument,{[t.importedDocumentMovePreview]:o})},s.createElement("div",{className:t.importedDocumentIconCircle},s.createElement(h.Z,{src:a(21289)})),s.createElement("span",{className:t.importedDocumentInfo},n(j.documentMergedHere)))},L=(e,t,a,n)=>{const s=t.flatten();let o=e.map((e=>({type:"page",page:e,rotation:0,label:e.pageLabel})));const r=e=>{const t=e.dupeOf||e.label;let a=0;for(const e of o)"dupeOf"in e&&null!=e.dupeOf&&e.dupeOf===t&&null!=e.dupeNumber&&e.dupeNumber>a&&(a=e.dupeNumber);return a+1};let l=0;for(const e of s)switch(e.type){case"addPage":{let t;null!=e.afterPageIndex?t=e.afterPageIndex+1:((0,d.kG)(null!=e.beforePageIndex),t=e.beforePageIndex),++l,o=o.insert(t,{type:"newPage",label:`${a(j.newPage)} ${l}`,rotation:0,size:new P.$u({width:e.pageWidth,height:e.pageHeight})});break}case"removePages":{const t=e.pageIndexes.map((e=>o.get(e)));for(const e of t){(0,d.kG)(null!=e);const t=o.indexOf(e);o=o.delete(t)}break}case"rotatePages":for(const t of e.pageIndexes){const a=o.get(t);let n,s;(0,d.kG)(null!=a),(0,d.kG)("page"===a.type||"newPage"===a.type);const r=a.rotation;if(s=90===e.rotateBy?270===r?0:r+e.rotateBy:90===r?0:180===r?90:270===r?180:r+e.rotateBy,(0,d.kG)(0===s||90===s||180===s||270===s),"page"===a.type)n=B(B({},a),{},{rotation:s});else{if("newPage"!==a.type)throw new d.p2("Rotation is not allowed on imported documents");n=B(B({},a),{},{rotation:s})}o=o.set(t,n)}break;case"duplicatePages":{const t=e.pageIndexes.map((e=>o.get(e)));for(const e of t){(0,d.kG)(null!=e),(0,d.kG)("page"===e.type);const t=r(e),a=e.dupeOf||e.label,n=o.indexOf(e);o=o.insert(n+1,Object.assign({},e,{label:`${a} (${t})`,dupeOf:a,dupeNumber:t}))}break}case"movePages":{const t=e.pageIndexes;if(1===t.length){const a=t[0];let n;null!=e.beforePageIndex?n=e.beforePageIndex:((0,d.kG)(null!=e.afterPageIndex),n=e.afterPageIndex+1);const s=o.get(a);(0,d.kG)(null!=s);const r=o.get(n),l=o.size;o=o.delete(a),n===l?o=o.push(s):0===n?o=o.unshift(s):((0,d.kG)(null!=r),o=o.insert(o.indexOf(r),s))}else{const a=t.slice().sort();if(null!=e.beforePageIndex){(0,d.kG)(0===e.beforePageIndex);const t=a.map((e=>o.get(e))).reverse();for(const e of t)(0,d.kG)(null!=e),o=o.delete(o.indexOf(e)),o=o.unshift(e)}else{(0,d.kG)(null!=e.afterPageIndex);const t=o.get(e.afterPageIndex);(0,d.kG)(null!=t);const n=a.map((e=>o.get(e))).reverse();for(const e of n)(0,d.kG)(null!=e),o=o.delete(o.indexOf(e)),o=o.insert(o.indexOf(t)+1,e)}}break}case"importDocument":{let t,a;if("beforePageIndex"in e&&null!=e.beforePageIndex?t=e.beforePageIndex:((0,d.kG)("afterPageIndex"in e&&null!=e.afterPageIndex),t=e.afterPageIndex+1),"string"==typeof e.document){const t=e.document;(0,d.kG)(n.has(t)),a=n.get(t,"Imported Document")}else(0,d.kG)("string"==typeof e.document.name),a=e.document.name;o=o.insert(t,{type:"importedDocument",label:a});break}case"keepPages":case"applyInstantJson":case"applyXfdf":case"flattenAnnotations":case"performOcr":case"setPageLabel":case"applyRedactions":case"updateMetadata":case"cropPages":throw Error("Unknown document operation");default:(0,d.Rz)(e.type)}return o},R=e=>{const{pages:t,style:a,styles:n,previewCount:o}=e;return s.createElement("div",{className:n.movePreview},s.createElement("div",{className:r()(n.movePreviewPages,{[n.movePreviewPagesLoose]:"loose"===a})},t),s.createElement("div",{className:n.movePreviewCount},o||t.length))},T=e=>{const{onCancel:t,onDialog:n}=e,{pages:o,backend:k,frameWindow:N,footerItems:D,toolbarItems:x}=(0,c.v9)((e=>{let{pages:t,backend:a,frameWindow:n,documentEditorFooterItems:s,documentEditorToolbarItems:o}=e;return{pages:t,backend:a,frameWindow:n,footerItems:s.toJS(),toolbarItems:o.toJS()}}),c.wU),S=(0,c.I0)(),{formatMessage:C}=(0,i.YB)(),{styles:K}=e.CSS_HACK,[T,Z]=s.useState((0,l.D5)()),[H,W]=s.useState((0,l.aV)()),[$,_]=s.useState(0),V=H.slice(0,H.size-$),U=L(o,V,C,T),[Y,J]=s.useState((0,l.l4)()),[X,q]=s.useState(!1),[Q,ee]=s.useState(!1),te=s.useRef(null),ae=s.useRef(null),[ne,se]=s.useState(!1),[oe,re]=s.useState(""),le=s.useCallback((()=>{const e=ae.current;null!=e&&(ne&&e.ownerDocument.activeElement!==e?e.focus():ne||e.ownerDocument.activeElement!==e||e.blur())}),[ne]),ie=s.useCallback((e=>{se(e),le(),n(e)}),[n,le]);s.useEffect((()=>{le()}),[le]);const ce=s.useCallback((e=>{W(V.push(e)),_(0)}),[V]),de=s.useRef(!0);s.useLayoutEffect((()=>()=>{de.current&&(de.current=!1)}),[]);const me=s.useCallback((()=>{const e=o.get(0),t=e?e.pageSize:F,a={type:"addPage",backgroundColor:P.Il.WHITE,pageWidth:t.width,pageHeight:t.height,rotateBy:0};1===Y.size?a.afterPageIndex=Y.first():a.beforePageIndex=0,ce(a),J(Y.clear())}),[o,Y,ce]),ue=s.useCallback((()=>{ce({type:"removePages",pageIndexes:Y.toArray()}),J(Y.clear())}),[ce,Y]),pe=s.useCallback((()=>{ce({type:"duplicatePages",pageIndexes:Y.toArray()}),J(Y.clear())}),[ce,Y]),ge=s.useCallback((()=>{ce({type:"rotatePages",pageIndexes:Y.toArray(),rotateBy:270})}),[ce,Y]),fe=s.useCallback((()=>{ce({type:"rotatePages",pageIndexes:Y.toArray(),rotateBy:90})}),[ce,Y]),Pe=s.useCallback((()=>{ie(!ne)}),[ne,ie]),ye=s.useCallback((e=>{const t=e.target.value;let a=t;const n=parseInt(t,10);isNaN(n)||(a=Math.min(Math.max(n,0),U.size).toString()),re(a)}),[U.size]),ve=parseInt(oe,10),be=s.useCallback((e=>{let t;return 1===e.size||null==e.sort().find((e=>{let a=!1;return null!=t&&(a=e!==t+1),t=e,a}))}),[]),he=s.useCallback(((e,t)=>{const a=null!=t?t:Y,n=be(a);return!(a.includes(e-1)||0===e&&n&&a.includes(0)||n&&a.sort().first()===e)}),[Y,be]),Ie=!isNaN(ve)&&he(ve),we=s.useCallback(((e,t)=>{const a=null!=t?t:Y,n=e-1;ce(B({type:"movePages",pageIndexes:a.toArray()},0===e?{beforePageIndex:0}:{afterPageIndex:n}));let s=(0,l.l4)(),o=0;0!==e&&(o=n+1,a.forEach((e=>{e{s=s.add(r),++r})),J(s)}),[Y,ce,J]),Ee=s.useCallback((e=>{e.preventDefault(),Ie&&(we(ve),ie(!1))}),[Ie,ve,ie,we]),ke=s.useCallback((e=>{const t=e.target;if(!ne||t.classList.contains(K.moveToolbarButton))return;const a=te.current;(0,d.kG)(null!=a),a.contains(t)||ie(!1)}),[ne,ie,K.moveToolbarButton]),Ne=s.useCallback((()=>{const e=Y.sort().toList().map((e=>({type:"movePages",pageIndexes:[e],beforePageIndex:e-1})));ce(e),J((0,l.l4)(Y.toArray().map((e=>e-1))))}),[ce,Y]),De=s.useCallback((()=>{const e=Y.sort().toList().map((e=>({type:"movePages",pageIndexes:[e],afterPageIndex:e+1})));ce(e),J((0,l.l4)(Y.toArray().map((e=>e+1))))}),[ce,Y]),xe=s.useCallback((()=>{J(Y.clear()),_($+1)}),[Y,$]),Se=s.useCallback((()=>{J(Y.clear()),_($-1)}),[Y,$]),Ce=s.useCallback((async()=>{const e={};1===Y.size?e.afterPageIndex=Y.first():e.beforePageIndex=0;{const t=document.createElement("input");t.type="file",t.accept="application/pdf",t.onclick=e=>{(0,d.kG)(e.target instanceof HTMLInputElement),e.target.value=""},t.onchange=t=>{var a;if((0,d.kG)(t.target instanceof HTMLInputElement),0===(null===(a=t.target.files)||void 0===a?void 0:a.length))return;let n=V;for(const a of t.target.files){if("string"!=typeof a.name||0===a.name.length)return;if("application/pdf"!==a.type)return void(0,d.wp)("The uploaded file must be a PDF.");if(-1!==U.findIndex((e=>"importedDocument"===e.type&&e.label===a.name)))return;a.arrayBuffer().then((t=>{n=n.push(B({type:"importDocument",treatImportedDocumentAsOnePage:!0,document:new File([t],a.name,{type:a.type,lastModified:a.lastModified})},e)),W(n),_(0),J(Y.clear())})).catch((e=>{throw new d.p2(`Could not read the imported file: ${e.message}`)}))}},t.click()}}),[Y,T,ce,V,U]),Oe=s.useCallback((()=>{J(U.keySeq().toSet())}),[U,J]),Me=s.useCallback((()=>{J(Y.clear())}),[Y,J]),ze=s.useCallback((e=>{Y.has(e)?J(Y.delete(e)):J(Y.add(e))}),[Y,J]),Ae=s.useCallback((()=>{t()}),[t]),Ke=s.useCallback((()=>{q(!0),S((0,g.b_)(V.flatten().toArray(),(()=>{de.current&&q(!1)}),(e=>{throw de.current&&q(!1),e})))}),[S,V]),Be=s.useCallback((async()=>{q(!0);try{const e=await k.exportPDFWithOperations(V.flatten().toArray().map(y.kg));(0,f.cR)(e,N)}catch(e){throw e}finally{de.current&&q(!1)}}),[k,V,N]),Fe=(e,t,a,n)=>{const o=U.get(e);let r;switch((0,d.kG)(null!=o),o.type){case"page":r=s.createElement(u.Z,{key:`page-${o.label}`,page:o.page,size:t,maxSize:a,rotation:o.rotation});break;case"newPage":{const{rotatedWidth:e,rotatedHeight:n}=(0,u.X)(o.size,o.rotation,t,a);r=s.createElement("div",{key:`newPage-${o.label}`,className:K.newPage,style:{width:e,height:n}});break}case"importedDocument":{const{containerWidth:e,containerHeight:l}=(0,u.X)(F,0,t,a);r=s.createElement(G,{width:e,height:l,movePreview:n,key:`importedDoc-${o.label}`,styles:K,formatMessage:C});break}default:r=s.createElement(s.Fragment,null),(0,d.Rz)(o.type)}return{item:r,label:o.label,props:"page"===o.type?{"data-original-page-index":o.page.pageIndex}:{}}},Ge=Y.size>0&&Y.size!==U.size&&!X,Le=Y.size>0&&void 0===Y.find((e=>{const t=U.get(e);return(0,d.kG)(null!=t),"page"!==t.type&&"newPage"!==t.type})),Re=Y.size>0&&void 0===Y.find((e=>{const t=U.get(e);return(0,d.kG)(null!=t),"page"!==t.type})),Te=!Y.isEmpty()&&Y.size!==U.size&&!X,je=!Y.isEmpty()&&!Y.includes(0),Ze=!Y.isEmpty()&&!Y.includes(U.size-1),He=$0,$e=Y.size{const e=Ve.current;if(null==e)return;Ue.current||(e.focus(),Ue.current=!0);const t=e=>{if(null!=document.activeElement&&"INPUT"===document.activeElement.tagName)return;if(X)return;const t=e.key.toLowerCase(),a=e.metaKey||e.ctrlKey,n=a&&!e.shiftKey&&!e.altKey,s=e.altKey&&!a&&!e.shiftKey,o=!a&&!e.shiftKey&&!e.altKey;if(e.altKey&&e.shiftKey&&!a&&"arrowleft"===t&&Le)ge();else if(e.altKey&&e.shiftKey&&!a&&"arrowright"===t&&Le)fe();else if(s&&"arrowleft"===t&&je)Ne();else if(s&&"arrowright"===t&&Ze)De();else if(a&&e.shiftKey&&!e.altKey&&"z"===t&&We)Se();else if(n&&"z"===t&&He)xe();else if(n&&"a"===t&&$e)Oe();else if(n&&"d"===t&&_e)Me();else if(o&&"n"===t)me();else if(o&&"d"===t&&Ge)ue();else if(o&&"c"===t&&Re)pe();else if(o&&"l"===t&&Le)ge();else if(o&&"r"===t&&Le)fe();else if(o&&"m"===t&&Te)ie(!0);else{if(!o||"i"!==t)return;Ce()}e.preventDefault()};return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[Re,Te,je,Ze,We,Ge,Le,$e,_e,He,me,pe,Ce,Ne,De,Se,ue,ge,fe,Oe,Me,xe,X,ie]);const Ye=K.toolbar.toolbarButton,Je=[{type:"add",onPress:me,className:Ye,disabled:X,children:C(j.newPage)},{type:"remove",onPress:ue,className:Ye,disabled:!Ge,children:C(j.removePage)},{type:"duplicate",onPress:pe,className:Ye,children:C(j.duplicatePage),disabled:!Re||X},{type:"rotate-left",onPress:ge,className:Ye,children:C(j.rotatePageLeft),disabled:!Le||X},{type:"rotate-right",onPress:fe,className:Ye,children:C(j.rotatePageRight),disabled:!Le||X},{type:"move",onPress:Pe,className:r()(Ye,K.moveToolbarButton),children:C(j.openMoveDialog),disabled:!Te},{type:"move-left",onPress:Ne,className:K.toolbar.toolbarButton,children:C(j.moveBefore),disabled:!je||X},{type:"move-right",onPress:De,className:Ye,children:C(j.moveAfter),disabled:!Ze||X},{type:"import-document",onPress:Ce,className:Ye,children:C(j.mergeDocument),disabled:X},{type:"spacer"},{type:"undo",onPress:xe,className:Ye,children:C(v.Z.undo),disabled:!He||X},{type:"redo",onPress:Se,className:Ye,children:C(v.Z.redo),disabled:!We||X},{type:"select-all",onPress:Oe,className:Ye,children:C(j.selectAll),disabled:!$e},{type:"select-none",onPress:Me,className:Ye,children:C(j.selectNone),disabled:!_e}],[Xe,qe]=s.useState(Number.POSITIVE_INFINITY),[Qe,et]=s.useMemo((()=>Xe===Number.POSITIVE_INFINITY?[x,[]]:[x.slice(0,Xe),x.slice(Xe).filter((e=>"spacer"!==e.type)).map(((e,t)=>({index:t,item:B(B({},e),{},{dropdownGroup:"documentEditor"})})))]),[x,Xe]),[tt,at]=s.useState(new P.$u),nt=s.useCallback((e=>{at((t=>(t.width!==e.width&&qe(Number.POSITIVE_INFINITY),new P.$u({width:e.width,height:e.height}))))}),[at,qe]),st=s.useRef(null);s.useLayoutEffect((()=>{const e=st.current;if(!e||0===tt.width)return;const t=e.children;if(t.length===Xe)return;const a=e.ownerDocument.defaultView.getComputedStyle(e);let n=44+(parseInt(a.getPropertyValue("padding-left"))||0)+(parseInt(a.getPropertyValue("padding-right"))||0);const s=[].findIndex.call(t,((e,t)=>"spacer"!==x[t].type&&(n+=e.clientWidth,n>tt.width)));qe(-1===s?Number.POSITIVE_INFINITY:s);e.ownerDocument.defaultView.innerWidth>=p.Fg?ee(!0):ee(!1)}),[tt,Xe,qe,x]);const ot=s.useCallback((e=>{"Escape"===e.key&&ne&&(ie(!1),e.stopPropagation())}),[ne,ie]),rt=s.useMemo((()=>null!=Qe.find((e=>"move"===e.type))),[Qe]),lt=s.createElement("div",{className:r()(K.moveDialog,{[K.moveDialogShown]:ne,[K.moveDialogDetached]:!rt},"PSPDFKit-DocumentEditor-MoveDialog"),ref:te},s.createElement("form",{onSubmit:Ee,className:K.moveDialogForm},s.createElement("span",{className:K.moveDialogFormLabel},C(j.insertAfterPage)),s.createElement("input",{className:K.moveDialogFormInput,type:"number",min:"0",max:U.size,value:oe,onChange:ye,ref:ae}),s.createElement(m.zx,{type:"submit",className:K.moveDialogMoveButton,disabled:!Ie},C(j.move))),s.createElement("div",{className:K.moveDialogHint},s.createElement("p",{className:K.moveDialogHintText},C(j.docEditorMoveBeginningHint)))),it=s.useCallback(((e,t)=>{const a=(0,l.l4)(e);he(t,a)&&we(t,a)}),[we,he]);let ct;const dt=ne&&!isNaN(ve);if(dt){const e=Y.toList().sort().map((e=>Fe(e,160,160,!0).item)).toArray(),t=s.createElement(R,{pages:e,style:"straight",styles:K});dt&&(ct=0===ve?{previewContent:t,pageIndex:0,position:"left"}:{previewContent:t,pageIndex:ve-1,position:"right"},Ie||(ct.disabled=!0))}const mt=s.useMemo((()=>({cancel:{element:s.createElement(m.zx,null,C(v.Z.cancel)),onPress:Ae,className:"PSPDFKit-DocumentEditor-CancelButton"},"selected-pages":{element:s.createElement("div",null,s.createElement("div",{className:K.pagesSelectedIcon},s.createElement(h.Z,{src:a(26368)})),C(j.pagesSelected,{arg0:Y.size})),className:r()({[K.pagesSelectedIndicator]:!0,[K.pagesSelectedIndicatorShown]:Y.size>0,"PSPDFKit-DocumentEditor-PagesSelectedIndicator":!0})},spacer:{element:z||(z=s.createElement("div",null)),className:r()({[K.spacer]:!0,"PSPDFKit-DocumentEditor-Spacer":!0})},"loading-indicator":{element:A||(A=s.createElement(I.Z,null)),hide:!X,className:"PSPDFKit-DocumentEditor-LoadingIndicator"},"save-as":{element:s.createElement(m.zx,null,C(v.Z.saveAs)),onPress:Be,disabled:X,className:"PSPDFKit-DocumentEditor-SaveAsButton"},save:{element:s.createElement(m.zx,{primary:!0},C(v.Z.save)),disabled:V.isEmpty()||X,onPress:Ke,className:"PSPDFKit-DocumentEditor-SaveButton"}})),[K,C,Ae,Be,Ke,X,V,Y]),ut=s.useMemo((()=>D.map(((e,t)=>{const{onPress:a,className:n,type:o,node:l,id:i}=e;if((0,d.kG)(o),"custom"===o)return l?s.createElement(E.Z,{className:n,onPress:a?e=>a(e,i):void 0,key:i||t,node:l}):null;{const e=mt[o];return e.hide?null:s.cloneElement(e.element,{onClick:t=>{e.onPress&&e.onPress(t)},key:o,disabled:e.disabled,className:r()(e.className,n)})}}))),[D,mt]);return s.createElement("div",{className:r()(K.docEditor,"PSPDFKit-DocumentEditor"),onClick:ke,onKeyDown:ot,tabIndex:"-1",ref:Ve},s.createElement("div",{className:r()(K.toolbar.root,K.toolbarRoot,"PSPDFKit-DocumentEditor-Toolbar"),style:{flex:0}},s.createElement("div",{ref:st,className:K.toolbarContainer},s.createElement(O,{items:Qe,builtInItems:Je,moveDialog:lt,CSS_HACK:e.CSS_HACK})),s.createElement(M,{builtInItems:Je,items:et,CSS_HACK:e.CSS_HACK,frameWindow:N})),s.createElement("div",{className:K.pagesView},s.createElement(w.Z,{onResize:nt}),!rt&<,s.createElement("div",{className:r()(K.pagesGrid,{[K.pagesGridLargeThumbnails]:Q})},s.createElement(b.Z,{canInsert:(e,t)=>he(t,(0,l.l4)(e)),totalItems:U.size,width:tt.width,height:tt.height,itemScale:e.scale,renderItemCallback:Fe,renderDragPreviewCallback:(e,t,a,n)=>{const o=(0,l.aV)(e).filter((e=>e!==t)).sort().push(t).slice(-5).map((e=>Fe(e,a,n,!0).item)).toArray();return s.createElement(R,{pages:o,style:"straight",styles:K,previewCount:e.length})},onItemPress:ze,selectedItemIndexes:Y,cssPrefix:"PSPDFKit-DocumentEditor",moveCursor:null!=ct?ct:void 0,onItemsMove:ne?void 0:it}))),s.createElement("div",{className:r()(K.bottomBar,"PSPDFKit-DocumentEditor-Footer")},ut))},j=(0,i.vU)({newPage:{id:"newPage",defaultMessage:"New Page",description:"Add new page"},removePage:{id:"removePage",defaultMessage:"Remove Page",description:"Remove page"},duplicatePage:{id:"duplicatePage",defaultMessage:"Duplicate Page",description:"Duplicate page"},rotatePageLeft:{id:"rotatePageLeft",defaultMessage:"Rotate Page Left",description:"Rotate Page Left"},rotatePageRight:{id:"rotatePageRight",defaultMessage:"Rotate Page Right",description:"Rotate Page Right"},mergeDocument:{id:"mergeDocument",defaultMessage:"Merge Document",description:"Merge Document"},selectAll:{id:"selectAll",defaultMessage:"Select All",description:"Select All Pages"},selectNone:{id:"selectNone",defaultMessage:"Select None",description:"Deselect All Pages"},openMoveDialog:{id:"openMoveDialog",defaultMessage:"Move…",description:"Open dialog for moving pages to specific location in the document"},move:{id:"move",defaultMessage:"Move",description:"Move pages to specific location in the document"},moveBefore:{id:"moveBefore",defaultMessage:"Move Before",description:"Move page before previous one"},moveAfter:{id:"moveAfter",defaultMessage:"Move After",description:"Move page after next one"},documentMergedHere:{id:"documentMergedHere",defaultMessage:"Document will be merged here",description:"Placeholder for the imported document"},pagesSelected:{id:"pagesSelected",defaultMessage:"{arg0, plural,\n =0 {{arg0} Pages}\n one {{arg0} Page}\n two {{arg0} Pages}\n other {{arg0} Pages}\n }",description:"Number of pages selected."},insertAfterPage:{id:"insertAfterPage",defaultMessage:"Insert after page",description:"Move selected pages after designated page index."},docEditorMoveBeginningHint:{id:"docEditorMoveBeginningHint",defaultMessage:"Type “0” to move selected pages to the beginning of the document.",description:"Instructions for how to move pages to the beginning of the document when using the Move button in the Document Editor."}})},33720:(e,t,a)=>{var n={"./add.svg":80353,"./duplicate.svg":21092,"./extract.svg":1749,"./help.svg":56283,"./importDocument.svg":21289,"./move.svg":92531,"./moveLeft.svg":32560,"./moveRight.svg":44390,"./multiplePages.svg":26368,"./redo.svg":44740,"./remove.svg":50245,"./rotateLeft.svg":50012,"./rotateRight.svg":55902,"./selectAll.svg":88695,"./selectNone.svg":80606,"./undo.svg":92570};function s(e){var t=o(e);return a(t)}function o(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=33720}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-e459d8bd-879c3c5897deb3a4.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-e459d8bd-879c3c5897deb3a4.js new file mode 100644 index 00000000..5ac920a6 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-lazy-e459d8bd-879c3c5897deb3a4.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4536],{61529:(t,e,r)=>{r.d(e,{Sha256:()=>s,bytes_to_hex:()=>c});"undefined"==typeof atob||atob,"undefined"==typeof btoa||btoa;function c(t){for(var e="",r=0;r0;)i+=x=n(r,c+i,t,a,f),a+=x,f-=x,c+=x=e.process(c,i),(i-=x)||(c=0);return this.pos=c,this.len=i,this},t.prototype.finish=function(){if(null!==this.result)throw new o("state must be reset before processing new data");return this.asm.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(this.heap.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this},t}()),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function c(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(c.prototype=r.prototype,new c)}}(),s=function(t){function e(){var e=t.call(this)||this;return e.NAME="sha256",e.BLOCK_SIZE=64,e.HASH_SIZE=32,e.heap=function(t,e){var r=t?t.byteLength:e||65536;if(4095&r||r<=0)throw new Error("heap size must be a positive integer and a multiple of 4096");return t||new Uint8Array(new ArrayBuffer(r))}(),e.asm=function(t,e,r){"use asm";var c=0,n=0,i=0,a=0,o=0,f=0,x=0,s=0,u=0,h=0,b=0,p=0,l=0,y=0,d=0,_=0,v=0,w=0,g=0,m=0,E=0,A=0,S=0,O=0,P=0,j=0,k=new t.Uint8Array(r);function H(t,e,r,u,h,b,p,l,y,d,_,v,w,g,m,E){t=t|0;e=e|0;r=r|0;u=u|0;h=h|0;b=b|0;p=p|0;l=l|0;y=y|0;d=d|0;_=_|0;v=v|0;w=w|0;g=g|0;m=m|0;E=E|0;var A=0,S=0,O=0,P=0,j=0,k=0,H=0,I=0;A=c;S=n;O=i;P=a;j=o;k=f;H=x;I=s;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x428a2f98|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x71374491|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xb5c0fbcf|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xe9b5dba5|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x3956c25b|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x59f111f1|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x923f82a4|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xab1c5ed5|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xd807aa98|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x12835b01|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x243185be|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x550c7dc3|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x72be5d74|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x80deb1fe|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x9bdc06a7|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xc19bf174|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xe49b69c1|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xefbe4786|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x0fc19dc6|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x240ca1cc|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x2de92c6f|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x4a7484aa|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x5cb0a9dc|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x76f988da|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x983e5152|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xa831c66d|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xb00327c8|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xbf597fc7|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0xc6e00bf3|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xd5a79147|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x06ca6351|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x14292967|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x27b70a85|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x2e1b2138|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x4d2c6dfc|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x53380d13|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x650a7354|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x766a0abb|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x81c2c92e|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x92722c85|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xa2bfe8a1|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xa81a664b|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xc24b8b70|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xc76c51a3|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0xd192e819|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xd6990624|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0xf40e3585|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x106aa070|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x19a4c116|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x1e376c08|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x2748774c|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x34b0bcb5|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x391c0cb3|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x4ed8aa4a|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x5b9cca4f|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x682e6ff3|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x748f82ee|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x78a5636f|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x84c87814|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x8cc70208|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x90befffa|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xa4506ceb|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0xbef9a3f7|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xc67178f2|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;c=c+A|0;n=n+S|0;i=i+O|0;a=a+P|0;o=o+j|0;f=f+k|0;x=x+H|0;s=s+I|0}function I(t){t=t|0;H(k[t|0]<<24|k[t|1]<<16|k[t|2]<<8|k[t|3],k[t|4]<<24|k[t|5]<<16|k[t|6]<<8|k[t|7],k[t|8]<<24|k[t|9]<<16|k[t|10]<<8|k[t|11],k[t|12]<<24|k[t|13]<<16|k[t|14]<<8|k[t|15],k[t|16]<<24|k[t|17]<<16|k[t|18]<<8|k[t|19],k[t|20]<<24|k[t|21]<<16|k[t|22]<<8|k[t|23],k[t|24]<<24|k[t|25]<<16|k[t|26]<<8|k[t|27],k[t|28]<<24|k[t|29]<<16|k[t|30]<<8|k[t|31],k[t|32]<<24|k[t|33]<<16|k[t|34]<<8|k[t|35],k[t|36]<<24|k[t|37]<<16|k[t|38]<<8|k[t|39],k[t|40]<<24|k[t|41]<<16|k[t|42]<<8|k[t|43],k[t|44]<<24|k[t|45]<<16|k[t|46]<<8|k[t|47],k[t|48]<<24|k[t|49]<<16|k[t|50]<<8|k[t|51],k[t|52]<<24|k[t|53]<<16|k[t|54]<<8|k[t|55],k[t|56]<<24|k[t|57]<<16|k[t|58]<<8|k[t|59],k[t|60]<<24|k[t|61]<<16|k[t|62]<<8|k[t|63])}function U(t){t=t|0;k[t|0]=c>>>24;k[t|1]=c>>>16&255;k[t|2]=c>>>8&255;k[t|3]=c&255;k[t|4]=n>>>24;k[t|5]=n>>>16&255;k[t|6]=n>>>8&255;k[t|7]=n&255;k[t|8]=i>>>24;k[t|9]=i>>>16&255;k[t|10]=i>>>8&255;k[t|11]=i&255;k[t|12]=a>>>24;k[t|13]=a>>>16&255;k[t|14]=a>>>8&255;k[t|15]=a&255;k[t|16]=o>>>24;k[t|17]=o>>>16&255;k[t|18]=o>>>8&255;k[t|19]=o&255;k[t|20]=f>>>24;k[t|21]=f>>>16&255;k[t|22]=f>>>8&255;k[t|23]=f&255;k[t|24]=x>>>24;k[t|25]=x>>>16&255;k[t|26]=x>>>8&255;k[t|27]=x&255;k[t|28]=s>>>24;k[t|29]=s>>>16&255;k[t|30]=s>>>8&255;k[t|31]=s&255}function Z(){c=0x6a09e667;n=0xbb67ae85;i=0x3c6ef372;a=0xa54ff53a;o=0x510e527f;f=0x9b05688c;x=0x1f83d9ab;s=0x5be0cd19;u=h=0}function C(t,e,r,b,p,l,y,d,_,v){t=t|0;e=e|0;r=r|0;b=b|0;p=p|0;l=l|0;y=y|0;d=d|0;_=_|0;v=v|0;c=t;n=e;i=r;a=b;o=p;f=l;x=y;s=d;u=_;h=v}function K(t,e){t=t|0;e=e|0;var r=0;if(t&63)return-1;while((e|0)>=64){I(t);t=t+64|0;e=e-64|0;r=r+64|0}u=u+r|0;if(u>>>0>>0)h=h+1|0;return r|0}function B(t,e,r){t=t|0;e=e|0;r=r|0;var c=0,n=0;if(t&63)return-1;if(~r)if(r&31)return-1;if((e|0)>=64){c=K(t,e)|0;if((c|0)==-1)return-1;t=t+c|0;e=e-c|0}c=c+e|0;u=u+e|0;if(u>>>0>>0)h=h+1|0;k[t|e]=0x80;if((e|0)>=56){for(n=e+1|0;(n|0)<64;n=n+1|0)k[t|n]=0x00;I(t);e=0;k[t|0]=0}for(n=e+1|0;(n|0)<59;n=n+1|0)k[t|n]=0;k[t|56]=h>>>21&255;k[t|57]=h>>>13&255;k[t|58]=h>>>5&255;k[t|59]=h<<3&255|u>>>29;k[t|60]=u>>>21&255;k[t|61]=u>>>13&255;k[t|62]=u>>>5&255;k[t|63]=u<<3&255;I(t);if(~r)U(r);return c|0}function D(){c=b;n=p;i=l;a=y;o=d;f=_;x=v;s=w;u=64;h=0}function F(){c=g;n=m;i=E;a=A;o=S;f=O;x=P;s=j;u=64;h=0}function L(t,e,r,k,I,U,C,K,B,D,F,L,M,N,z,q){t=t|0;e=e|0;r=r|0;k=k|0;I=I|0;U=U|0;C=C|0;K=K|0;B=B|0;D=D|0;F=F|0;L=L|0;M=M|0;N=N|0;z=z|0;q=q|0;Z();H(t^0x5c5c5c5c,e^0x5c5c5c5c,r^0x5c5c5c5c,k^0x5c5c5c5c,I^0x5c5c5c5c,U^0x5c5c5c5c,C^0x5c5c5c5c,K^0x5c5c5c5c,B^0x5c5c5c5c,D^0x5c5c5c5c,F^0x5c5c5c5c,L^0x5c5c5c5c,M^0x5c5c5c5c,N^0x5c5c5c5c,z^0x5c5c5c5c,q^0x5c5c5c5c);g=c;m=n;E=i;A=a;S=o;O=f;P=x;j=s;Z();H(t^0x36363636,e^0x36363636,r^0x36363636,k^0x36363636,I^0x36363636,U^0x36363636,C^0x36363636,K^0x36363636,B^0x36363636,D^0x36363636,F^0x36363636,L^0x36363636,M^0x36363636,N^0x36363636,z^0x36363636,q^0x36363636);b=c;p=n;l=i;y=a;d=o;_=f;v=x;w=s;u=64;h=0}function M(t,e,r){t=t|0;e=e|0;r=r|0;var u=0,h=0,b=0,p=0,l=0,y=0,d=0,_=0,v=0;if(t&63)return-1;if(~r)if(r&31)return-1;v=B(t,e,-1)|0;u=c,h=n,b=i,p=a,l=o,y=f,d=x,_=s;F();H(u,h,b,p,l,y,d,_,0x80000000,0,0,0,0,0,0,768);if(~r)U(r);return v|0}function N(t,e,r,u,h){t=t|0;e=e|0;r=r|0;u=u|0;h=h|0;var b=0,p=0,l=0,y=0,d=0,_=0,v=0,w=0,g=0,m=0,E=0,A=0,S=0,O=0,P=0,j=0;if(t&63)return-1;if(~h)if(h&31)return-1;k[t+e|0]=r>>>24;k[t+e+1|0]=r>>>16&255;k[t+e+2|0]=r>>>8&255;k[t+e+3|0]=r&255;M(t,e+4|0,-1)|0;b=g=c,p=m=n,l=E=i,y=A=a,d=S=o,_=O=f,v=P=x,w=j=s;u=u-1|0;while((u|0)>0){D();H(g,m,E,A,S,O,P,j,0x80000000,0,0,0,0,0,0,768);g=c,m=n,E=i,A=a,S=o,O=f,P=x,j=s;F();H(g,m,E,A,S,O,P,j,0x80000000,0,0,0,0,0,0,768);g=c,m=n,E=i,A=a,S=o,O=f,P=x,j=s;b=b^c;p=p^n;l=l^i;y=y^a;d=d^o;_=_^f;v=v^x;w=w^s;u=u-1|0}c=b;n=p;i=l;a=y;o=d;f=_;x=v;s=w;if(~h)U(h);return 0}return{reset:Z,init:C,process:K,finish:B,hmac_reset:D,hmac_init:L,hmac_finish:M,pbkdf2_generate_block:N}}({Uint8Array},null,e.heap.buffer),e.reset(),e}return x(e,t),e.NAME="sha256",e}(f)}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cs-321ca440149ba7bf.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cs-321ca440149ba7bf.js new file mode 100644 index 00000000..d0a4b379 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cs-321ca440149ba7bf.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3579],{46984:e=>{e.exports=JSON.parse('{"thumbnails":"Ikony","pageXofY":"Strana {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Předchozí strana","nextPage":"Další stránka","goToPage":"Přejít na stranu","gotoPageX":"Přejít na stranu {arg0}","pageX":"Stránka {arg0}","pageLayout":"Rozvržení stránky","pageMode":"Režim stránek","pageModeSingle":"Jedna stránka","pageModeDouble":"Dvě stránky","pageModeAutomatic":"Automatický","pageTransition":"Přechod stránky","pageTransitionContinuous":"Souvisle","pageTransitionJump":"Přeskočit","pageRotation":"Rotace stránky","pageRotationLeft":"Otočit doleva","pageRotationRight":"Otočit doprava","zoomIn":"Zvětšit","zoomOut":"Zmenšit","marqueeZoom":"Obdélníkový nástroj pro zvětšení","panMode":"Způsob pohybu","fitPage":"Přizpůsobit stránce","fitWidth":"Přizpůsobit šířce","annotations":"Anotace","noAnnotations":"Žádné anotace","bookmark":"Záložka","bookmarks":"Záložky","noBookmarks":"Žádné záložky","newBookmark":"Nová záložka","addBookmark":"Přidat záložku","removeBookmark":"Odstranit záložku","loadingBookmarks":"Načítají se záložky","deleteBookmarkConfirmMessage":"Opravdu chcete tuto záložku smazat?","deleteBookmarkConfirmAccessibilityLabel":"Potvrďte odstranění záložky","annotation":"Anotace","noteAnnotation":"Poznámka","textAnnotation":"Zpráva","inkAnnotation":"Kreslení","highlightAnnotation":"Zvýraznění textu","underlineAnnotation":"Podtržení","squiggleAnnotation":"Klikyhák","strikeOutAnnotation":"Přeškrtnout","print":"Tisk","printPrepare":"Příprava dokumentu na tisk…","searchDocument":"Hledat v dokumentu","searchPreviousMatch":"Předchozí","searchNextMatch":"Dále","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} nástroje, otevřít menu","save":"Uložit","edit":"Úpravy","delete":"Smazat","close":"Zavřít","cancel":"Zrušit","ok":"Přejít","done":"Hotovo","clear":"Smazat","date":"Datum","time":"Čas","name":"Název","color":"Barva","black":"Černá","white":"Bílá","blue":"Modrá","red":"Červená","green":"Zelená","orange":"Oranžová","lightOrange":"Světle oranžová","yellow":"Žlutá","lightYellow":"Světle žlutá","lightBlue":"Světle modrá","lightRed":"Světle červená","lightGreen":"Světle zelená","fuchsia":"Fuchsia","purple":"Fialová","pink":"Růžová","mauve":"Nafialovělá","lightGrey":"Světle šedá","grey":"Šedá","darkGrey":"Tmavě šedá","noColor":"Není","transparent":"Průhledná","darkBlue":"Tmavě modrá","opacity":"Neprůhlednost","thickness":"Tloušťka","size":"Velikost","numberInPt":"{arg0} pt","font":"Písmo","fonts":"Písma","allFonts":"Všechny fonty","alignment":"Zarovnání","alignmentLeft":"Vlevo","alignmentRight":"Vpravo","alignmentCenter":"Uprostřed","verticalAlignment":"Vertikální zarovnání","horizontalAlignment":"Horizontální zarovnání","top":"Nahoru","bottom":"Dole","deleteAnnotationConfirmMessage":"Opravdu chcete odstranit tuto anotaci?","deleteAnnotationConfirmAccessibilityLabel":"Potvrďte vymazání anotace","fontFamilyUnsupported":"{arg0} (není podporováno)","sign":"Podepsat","signed":"Podepsáno","signatures":"Podpisy","addSignature":"Přidat podpis","clearSignature":"Smazat podpis","storeSignature":"Uložit podpis","pleaseSignHere":"Podepište zde","signing":"Podepisuji…","password":"Heslo","unlock":"Odemknout","passwordRequired":"Vyžadováno heslo","unlockThisDocument":"Tento dokument musíte odemknout, abyste jej mohli zobrazit. Zadejte heslo do níže uvedeného pole.","incorrectPassword":"Zadané heslo není správné. Prosím zkuste to znovu.","blendMode":"Mód míchání","normal":"Normální","multiply":"Vynásobit","screenBlend":"Clona","overlay":"Překrýt","darken":"Ztmavit","lighten":"Zesvětlit","colorDodge":"Zesvětlit barvy","colorBurn":"Stmavit barvy","hardLight":"Tvrdé světlo","softLight":"Měkké světlo","difference":"Rozdíl","exclusion":"Vyloučit","multiple":"Násobek","linecaps-dasharray":"Styl čáry","dasharray":"Styl čáry","startLineCap":"Začátek čáry","strokeDashArray":"Styl čáry","endLineCap":"Konec čáry","lineAnnotation":"Čára","rectangleAnnotation":"Obdélník","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnohoúhelník","polylineAnnotation":"Lomená čára","solid":"Pevný","narrowDots":"Úzké tečky","wideDots":"Široké tečky","narrowDashes":"Úzké pomlčky","wideDashes":"Široké pomlčky","none":"Není","square":"Čtverec","circle":"Kruh","diamond":"Kosočtverec","openArrow":"Otevřená šipka","closedArrow":"Zavřená šipka","butt":"Zakončení","reverseOpenArrow":"Obrácená otevřená šipka","reverseClosedArrow":"Obrácená uzavřená šipka","slash":"Seknutí","fillColor":"Barva výplně","cloudy":"Obláček","arrow":"Šipka","filePath":"Cesta k souboru","unsupportedImageFormat":"Nepodporovaný formát pro obrázkovou anotaci: {arg0}. Použite soubory formátu JPEG nebo PNG.","noOutline":"Žádný obsah","outline":"Obsah","imageAnnotation":"Obrázek","selectImage":"Vybrat obrázek","stampAnnotation":"Razítko","highlighter":"Zvýrazňovač","textHighlighter":"Zvýrazňovač textu","pen":"Kreslení","eraser":"Guma","export":"Exportovat","useAnExistingStampDesign":"Použít stávající návrh razítka","createStamp":"Vytvořit razítko","stampText":"Text razítka","chooseColor":"Zvolte barvu","rejected":"Odmítnuto","accepted":"Přijato","approved":"Schváleno","notApproved":"Neschváleno","draft":"Koncept","final":"Konečný","completed":"Dokončeno","confidential":"Tajné","forPublicRelease":"Pro veřejné vydání","notForPublicRelease":"Ne pro veřejné vydání","forComment":"Pro komentář","void":"Neplatný","preliminaryResults":"Předběžné výsledky","informationOnly":"Pouze informace","initialHere":"Iniciály zde","signHere":"Podepište zde","witness":"Svědek","asIs":"Zachovat","departmental":"Resortní","experimental":"Experimentální","expired":"Platnost vypršela","sold":"Prodáno","topSecret":"Přísně tajné","revised":"Revidováno","custom":"Vlastní","customStamp":"Vlastní razítko","icon":"Ikona","iconRightPointer":"Pravý ukazatel","iconRightArrow":"Pravá šipka","iconCheck":"Fajka","iconCircle":"Elipsa","iconCross":"Kříž","iconInsert":"Vložit text","iconNewParagraph":"Nový odstavec","iconNote":"Textová poznámka","iconComment":"Komentář","iconParagraph":"Odstavec","iconHelp":"Pomoc","iconStar":"Hvězda","iconKey":"Klíč","documentEditor":"Editor dokumentů","newPage":"Nová strana","removePage":"Smazat strany","duplicatePage":"Duplikovat","rotatePageLeft":"Otočit doleva","rotatePageRight":"Otočit doprava","moveBefore":"Přesunout před","moveAfter":"Přesunout za","selectNone":"Zrušit výběr","selectAll":"Vybrat vše","saveAs":"Uložit jako…","mergeDocument":"Importovat dokument","undo":"Zrušit","redo":"Opakovat","openMoveDialog":"Přesunout","move":"Přesunout","instantModifiedWarning":"Dokument byl upraven a nyní je v režimu pouze pro čtení. Chcete-li to opravit, načtěte jej znovu.","documentMergedHere":"Dokument bude sloučen zde","digitalSignaturesAllValid":"Dokument byl digitálně podepsán a všechny podpisy jsou platné.","digitalSignaturesDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl upraven.","digitalSignaturesSignatureWarning":"Dokument byl digitálně podepsán, ale alespoň jeden podpis má problémy.","digitalSignaturesSignatureWarningDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl změněn a alespoň jeden podpis má problémy.","digitalSignaturesSignatureError":"Dokument byl digitálně podepsán, ale alespoň jeden podpis je neplatný.","digitalSignaturesSignatureErrorDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl změněn a alespoň jeden podpis je neplatný.","signingInProgress":"Probíhá podepisování","signingModalDesc":"Označuje, že probíhá podepisovaní aktuálního dokumentu","discardChanges":"Zrušit změny","commentEditorLabel":"Přidat komentář…","reply":"Odpovědět","comment":"Komentář","comments":"Komentáře","showMore":"Zobrazit více","showLess":"Zobrazit méně","deleteComment":"Odstránit komentář","deleteCommentConfirmMessage":"Opravdu chcete smazat tento komentář?","deleteCommentConfirmAccessibilityLabel":"Potvrďte odstranění komentáře","editContent":"Upravit obsah","commentOptions":"Možnosti komentáře","areaRedaction":"Redakce oblasti","textRedaction":"Redakce textu","redactionAnnotation":"Redakce","applyingRedactions":"Aplikuji redakce","overlayTextPlaceholder":"Vložit překryvný text","outlineColor":"Farba obrysu","overlayText":"Prekrývající text","repeatText":"Opakovat text","preview":"Ukázka","applyRedactions":"Aplikovat redakce","markupAnnotationToolbar":"Panel nástrojů textových anotací","documentViewport":"Oblast dokumentu","redactionInProgress":"Probíhá redakce","redactionModalDesc":"Označuje, že aktuální dokument je právě redigován","commentAction":"Komentovat","printProgressModalDesc":"Označuje, že dokument se připravuje k tisku","printProgressModal":"Probíhá tisk","documentEditorDesc":"Proveďte změny v aktuálním dokumentu","reloadDocumentDialog":"Potvrďte opětovné načtení dokumentu","reloadDocumentDialogDesc":"Dialog vyzývající uživatele k potvrzení opětovného načtení dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"Toto dialogové okno umožňuje vybrat podpis, který se má vložit do dokumentu. Pokud nemáte uložené podpisy, můžete je vytvořit pomocí plochy pro kreslení.","stampAnnotationTemplatesDialog":"Šablony anotací razítka","stampAnnotationTemplatesDialogDesc":"Toto dialogové okno umožňuje vybrat anotaci razítka, kterou chcete vložit do dokumentu, nebo vytvořit vlastní anotaci razítka s vlastním textem.","selectedAnnotation":"Vybraná {arg0}","commentThread":"Vlákno komentářů","selectedAnnotationWithText":"Vybraná {arg0} s obsahom {arg1}","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zadejte svůj podpis","ElectronicSignatures_SignHereDrawHint":"Podepište zde","selectDragImage":"Vyberte nebo přetáhněte obrázek","replaceImage":"Nahradit obrázek","draw":"Kreslit","image":"Obrázek","type":"Psát","saveSignature":"Uložit podpis","loading":"Načítání","selectedItem":"Vybráno: {arg0}","annotationDeleted":"Anotace smazaná.","newAnnotationCreated":"Vytvořená nová {arg0} anotace.","bookmarkCreated":"Záložka vytvořená.","bookmarkEdited":"Záložka editovaná.","bookmarkDeleted":"Záložka smazaná.","cancelledEditingBookmark":"Zrušena úprava záložky.","selectAFileForImage":"Vyberte soubor pro novou obrázkovou anotaci.","deleteAnnotationConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění anotace.","deleteBookmarkConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění záložky.","deleteCommentConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění komentáře.","resize":"Změnit velikost","resizeHandleTop":"Vrch","resizeHandleBottom":"Spodek","resizeHandleRight":"Vpravo","resizeHandleLeft":"Vlevo","cropCurrentPage":"Oříznout aktuální stranu","cropCurrent":"Oříznout aktuální stranu","cropAllPages":"Oříznout všechny stranu","cropAll":"Oříznout vše","documentCrop":"Oříznutí dokumentů","Comparison_alignButtonTouch":"Zarovnat","Comparison_selectPoint":"Vyberte bod","Comparison_documentOldTouch":"Starý","Comparison_documentNewTouch":"Nový","Comparison_result":"Srovnání","UserHint_description":"Vyberte tři body na obou dokumentech pro ruční zarovnání. Pro dosažení nejlepších výsledků vyberte body v blízkosti rohů dokumentů ve stejném pořadí na obou dokumentech.","UserHint_dismissMessage":"Zrušit","Comparison_alignButton":"Zarovnat dokumenty","documentComparison":"Porovnání dokumentů","Comparison_documentOld":"Starý dokument","Comparison_documentNew":"Nový dokument","Comparison_resetButton":"Resetovat","UserHint_Select":"Výběr bodů","numberValidationBadFormat":"Zadaná hodnota neodpovídá formátu pole [{arg0}]","dateValidationBadFormat":"Neplatný datum/čas: ujistěte se, že datum/čas existuje. Pole [{arg0}] by mělo mít formát {arg1}","insertAfterPage":"Vložit za stranu","docEditorMoveBeginningHint":"Zadejte “0” pro přesunutí vybrané stránky/stránek na začátek dokumentu.","cloudyRectangleAnnotation":"Obdélníkový obláček","dashedRectangleAnnotation":"Čárkovaný obdélník","cloudyEllipseAnnotation":"Eliptický obláček","dashedEllipseAnnotation":"Čárkovaná elipsa","cloudyPolygonAnnotation":"Polygonální obláček","dashedPolygonAnnotation":"Čárkovaný polygon","cloudAnnotation":"Obláček","rotateCounterclockwise":"Otočit proti směru hodinových ručiček","rotateClockwise":"Otočit po směru hodinových ručiček","enterDescriptionHere":"Zadejte popis","addOption":"Přidat volbu","formDesignerPopoverTitle":"Vlastnosti pro {formFieldType}","formFieldNameExists":"Pole s názvem {formfieldName} již existuje. Vyberte si prosím jiné jméno.","styleSectionLabel":"Styl pro {formFieldType}","formFieldName":"Název pole","defaultValue":"Výchozí hodnota","multiLine":"Víceřádkový text","radioButtonFormFieldNameWarning":"Chcete-li seskupit přepínače, přiřaďte všem stejné jméno.","advanced":"Pokročilé","creatorName":"Jméno tvůrce","note":"Poznámka","customData":"Vlastní údaje","required":"Povinné","readOnly":"Pouze čtení","createdAt":"Vytvořeno","updatedAt":"Aktualizováno","customDataErrorMessage":"Musí být ve formátu vhodným pro ukládání jako JSON.","borderColor":"Barva okraje","borderWidth":"Šířka okraje","borderStyle":"Styl okraje","solidBorder":"Plný","dashed":"Přerušovaný","beveled":"Zkosený","inset":"Vložen","underline":"Podtrženo","textStyle":"Styl textu","fontSize":"Velikost písma","fontColor":"Barva písma","button":"Tlačidlo","textField":"Textové pole","radioField":"Přepínač","checkboxField":"Zaškrtávací pole","comboBoxField":"Kombinované pole","listBoxField":"Seznam","signatureField":"Pole s podpisem","formDesigner":"Editor formulářů","buttonText":"Text tlačidla","notAvailable":"Nedostupné","label":"Popis","value":"Hodnota","cannotEditOnceCreated":"Po vytvoření nelze upravit.","formFieldNameNotEmpty":"Název pole nemůže zůstat prázdný.","mediaAnnotation":"Multimediální anotace","mediaFormatNotSupported":"Tento prohlížeč nepodporuje video a zvuk.","distanceMeasurement":"Vzdálenost","perimeterMeasurement":"Obvod","polygonAreaMeasurement":"Obsah polygonu","rectangularAreaMeasurement":"Obsah obdélníku","ellipseAreaMeasurement":"Obsah elipsy","distanceMeasurementSettings":"Nastavení měření vzdálenosti","perimeterMeasurementSettings":"Nastavení měření obvodu","polygonAreaMeasurementSettings":"Nastavení měření obsahu polygonu","rectangularAreaMeasurementSettings":"Nastavení měření obsahu obdélníku","ellipseAreaMeasurementSettings":"Nastavení měření obsahu elipsy","measurementScale":"Měřítko","measurementCalibrateLength":"Kalibrace délky","measurementPrecision":"Přesnost","measurementSnapping":"Přichycení","formCreator":"Editor formulářů","group":"Seskupit","ungroup":"Rozdělit skupinu","bold":"Tučné písmo","italic":"Kurzíva","addLink":"Přidat odkaz","removeLink":"Odstranit odkaz","editLink":"Upravit odkaz","anonymous":"Anonymní","saveAndClose":"Uložit a zavřít","ceToggleFontMismatchTooltip":"Přepnout nastavení upozornění na nesoulad písma","ceFontMismatch":"Písmo {arg0} není k dispozici nebo nelze použít k úpravě obsahu v tomto dokumentu. Přidaný nebo změněný obsah použije výchozí písmo.","multiAnnotationsSelection":"Vyberte více anotací","linkSettingsPopoverTitle":"Nastavení odkazu","linkTo":"Odkaz na","uriLink":"Webová stránka","pageLink":"Strana","invalidPageNumber":"Zadejte platné číslo strany.","invalidPageLink":"Zadejte platný odkaz na stranu.","linkAnnotation":"Odkaz","targetPageLink":"Číslo stránky","rotation":"Rotace","unlockDocumentDescription":"Chcete-li tento dokument zobrazit, musíte jej odemknout. Zadejte prosím heslo do pole níže.","commentDialogClosed":"Otevřít vlákno vytvořené {arg0}: \\\\“{arg1}\\\\”","moreComments":"Další komentáře","setScale":"Nastavit měřítko","useCalibrationTool":"Použít nástroj pro kalibraci","calibrateScale":"Kalibrovat měřítko","unit":"Jednotka","scaleAnnotationsDeleteWarning":"Smazáním měřítka dojde také ke smazání všech měření, která měřítko používají.","halves":"1/2 palce","quarters":"1/4 palce","eighths":"1/8 palce","sixteenths":"1/16 palce","addTextBox":"Přidat textové pole","deleteTextBlockConfirmMessage":"Opravdu chcete smazat toto textové pole?","deleteTextBlockConfirmAccessibilityLabel":"Potvrďte smazání textového pole","deleteTextBlockConfirmAccessibilityDescription":"Dialog umožňující uživateli potvrdit nebo zrušit smazání textového pole","linesCount":"{arg0, plural,\\none {{arg0} čára}\\nfew {{arg0} čáry}\\nother {{arg0} čár}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Žádné anotace}\\none {{arg0} anotace}\\nfew {{arg0} anotace}\\nother {{arg0} anotace}\\n}","pagesSelected":"{arg0, plural,\\none {Vybraná {arg0} strana}\\nfew {Vybrané {arg0} strany}\\nother {Vybráno {arg0} strán}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentář}\\nfew {{arg0} komentáře}\\nother {{arg0} komentářů}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentář}\\nfew {{arg0} komentáře}\\nother {{arg0} komentářů}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} další komentář}\\nfew {{arg0} další komentáře}\\nother {{arg0} dalších komentářů}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cy-b5c03bedc0b129e0.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cy-b5c03bedc0b129e0.js new file mode 100644 index 00000000..bae0f656 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-cy-b5c03bedc0b129e0.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7578],{50706:e=>{e.exports=JSON.parse('{"thumbnails":"Mân-luniau","pageXofY":"Tudalen {arg0} o {arg1}","XofY":"{arg0} o {arg1}","prevPage":"Tudalen Blaenorol","nextPage":"Tudalen Nesaf","goToPage":"Mynd i Dudalen","gotoPageX":"Mynd i Dudalen {arg0}","pageX":"Tudalen {arg0}","pageLayout":"Gosodiad y Dudalen","pageMode":"Modd y Dudalen","pageModeSingle":"Sengl","pageModeDouble":"Dwbl","pageModeAutomatic":"Awtomatig","pageTransition":"Trosiad y Dudalen","pageTransitionContinuous":"Parhaus","pageTransitionJump":"Neidio","pageRotation":"Cylchdroi\'r Dudalen","pageRotationLeft":"Cylchdroi i\'r Chwith","pageRotationRight":"Cylchdroi i\'r Dde","zoomIn":"Nesáu","zoomOut":"Pellhau","marqueeZoom":"Offeryn Testun ar Gerdded","panMode":"Modd Tremio","fitPage":"Ffitio\'r Dudalen","fitWidth":"Ffitio\'r Lled","annotations":"Anodiadau","noAnnotations":"Dim Anodiadau","bookmark":"Nod Tudalen","bookmarks":"Nodau Tudalen","noBookmarks":"Dim Nodau Tudalen","newBookmark":"Nod Tudalen Newydd","addBookmark":"Ychwanegu Nod Tudalen","removeBookmark":"Tynnu\'r Nod Tudalen","loadingBookmarks":"Wrthi\'n llwytho\'r nodau tudalen","deleteBookmarkConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r nod tudalen hwn?","deleteBookmarkConfirmAccessibilityLabel":"Cadarnhau dileu\'r nod tudalen","annotation":"Anodiad","noteAnnotation":"Nodyn","textAnnotation":"Testun","inkAnnotation":"Tynnu Llun","highlightAnnotation":"Amlygydd Testun","underlineAnnotation":"Tanlinellu","squiggleAnnotation":"Sgwigl","strikeOutAnnotation":"Llinell Drwodd","print":"Argraffu","printPrepare":"Wrthi\'n paratoi\'r ddogfen i\'w hargraffu…","searchDocument":"Chwilio\'r Ddogfen","searchPreviousMatch":"Blaenorol","searchNextMatch":"Nesaf","searchResultOf":"{arg0} o {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} offer, dewislen toglo","save":"Cadw","edit":"Golygu","delete":"Dileu","close":"Cau","cancel":"Canslo","ok":"Iawn","done":"Wedi Gorffen","clear":"Clirio","date":"Dyddiad","time":"Amser","name":"Enw","color":"Lliw","black":"Du","white":"Gwyn","blue":"Glas","red":"Coch","green":"Gwyrdd","orange":"Oren","lightOrange":"Oren Golau","yellow":"Melyn","lightYellow":"Melyn Golau","lightBlue":"Glas Golau","lightRed":"Coch Golau","lightGreen":"Gwyrdd Golau","fuchsia":"Ffiwsia","purple":"Porffor","pink":"Pinc","mauve":"Porffor Golau","lightGrey":"Llwyd Golau","grey":"Llwyd","darkGrey":"Llwyd Tywyll","noColor":"Dim","transparent":"Tryloyw","darkBlue":"Glas Tywyll","opacity":"Didreiddedd","thickness":"Trwch","size":"Maint","numberInPt":"{arg0} pt","font":"Ffont","fonts":"Ffontiau","allFonts":"Pob Ffont","alignment":"Aliniad","alignmentLeft":"Chwith","alignmentRight":"De","alignmentCenter":"Canol","verticalAlignment":"Aliniad Fertigol","horizontalAlignment":"Aliniad Llorweddol","top":"Brig","bottom":"Gwaelod","deleteAnnotationConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r anodiad hwn?","deleteAnnotationConfirmAccessibilityLabel":"Cadarnhau dileu\'r anodiad","fontFamilyUnsupported":"{arg0} (dim cefnogaeth)","sign":"Llofnodi","signed":"Llofnodwyd","signatures":"Llofnodion","addSignature":"Ychwanegu Llofnod","clearSignature":"Clirio\'r Llofnod","storeSignature":"Storio\'r Llofnod","pleaseSignHere":"Llofnodwch yma","signing":"Wrthi\'n llofnodi…","password":"Cyfrinair","unlock":"Datgloi","passwordRequired":"Angen Cyfrinair","unlockThisDocument":"Rhaid i chi ddatgloi\'r ddogfen hon er mwyn ei gweld. Rhowch gyfrinair yn y maes isod.","incorrectPassword":"Mae\'r cyfrinair roddoch chi\'n anghywir. Rhowch gynnig arall arni.","blendMode":"Modd Cyfuno","normal":"Normal","multiply":"Lluosi","screenBlend":"Modd blendio","overlay":"Troshaen","darken":"Tywyllu","lighten":"Goleuo","colorDodge":"Osgoi Lliw","colorBurn":"Llosgi Lliw","hardLight":"Golau Caled","softLight":"Golau Meddal","difference":"Gwahaniaeth","exclusion":"Eithriadau","multiple":"Lluosog","linecaps-dasharray":"Arddull y Llinell","dasharray":"Arddull y Llinell","startLineCap":"Cychwyn y Llinell","strokeDashArray":"Arddull y Llinell","endLineCap":"Diwedd y Llinell","lineAnnotation":"Llinell","rectangleAnnotation":"Petryal","ellipseAnnotation":"Elíps","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinell","solid":"Solet","narrowDots":"Dotiau Cul","wideDots":"Dotiau Llydan","narrowDashes":"Dashys Cul","wideDashes":"Dashys Llydan","none":"Dim","square":"Sgwâr","circle":"Cylch","diamond":"Diemwnt","openArrow":"Saeth Agored","closedArrow":"Saeth Gaeedig","butt":"Bonyn","reverseOpenArrow":"Saeth Agored Wrthdro","reverseClosedArrow":"Saeth Gaeedig Wrthdro","slash":"Slaes","fillColor":"Lliw Llanw","cloudy":"Cymylog","arrow":"Saeth","filePath":"Llwybr y Ffeil","unsupportedImageFormat":"Math heb gefnogaeth ar gyfer anodiad delwedd: {arg0}. Defnyddiwch JPEG neu PNG.","noOutline":"Dim Amlinelliad","outline":"Amlinelliad","imageAnnotation":"Delwedd","selectImage":"Dewiswch Ddelwedd","stampAnnotation":"Stamp","highlighter":"Amlygydd Ffurfrydd","textHighlighter":"Amlygydd Testun","pen":"Tynnu Llun","eraser":"Rhwbiwr","export":"Allgludo","useAnExistingStampDesign":"Defnyddio dyluniad stamp cyfredol","createStamp":"Creu Stamp","stampText":"Testun y Stamp","chooseColor":"Dewiswch Liw","rejected":"Gwrthodwyd","accepted":"Derbyniwyd","approved":"Wedi\'u Cymeradwyo","notApproved":"Heb eu Cymeradwyo","draft":"Drafft","final":"Terfynol","completed":"Cwblhawyd","confidential":"Cyfrinachol","forPublicRelease":"I\'w Gyhoeddi\'n Gyhoeddus","notForPublicRelease":"Nid i\'w Gyhoeddi\'n Gyhoeddus","forComment":"Am Sylwadau","void":"Di-rym","preliminaryResults":"Canlyniadau Cychwynnol","informationOnly":"Er gwybodaeth yn unig","initialHere":"Rhowch eich Blaenlythrennau Yma","signHere":"Llofnodwch Yma","witness":"Tyst","asIs":"Fel y Mae","departmental":"Adrannol","experimental":"Arbrofol","expired":"Wedi Dod i Ben","sold":"Gwerthwyd","topSecret":"Tra Chyfrinachol","revised":"Adolygwyd","custom":"Personol","customStamp":"Stamp Personol","icon":"Eicon","iconRightPointer":"Pwyntydd i\'r Dde","iconRightArrow":"Saeth i\'r Dde","iconCheck":"Tic","iconCircle":"Elíps","iconCross":"Croes","iconInsert":"Mewnosod Testun","iconNewParagraph":"Paragraff Newydd","iconNote":"Nodyn Testun","iconComment":"Sylw","iconParagraph":"Paragraff","iconHelp":"Help","iconStar":"Seren","iconKey":"Allwedd","documentEditor":"Golygydd Dogfennau","newPage":"Tudalen Newydd","removePage":"Dileu Tudalennau","duplicatePage":"Dyblygu","rotatePageLeft":"Cylchdroi i\'r Chwith","rotatePageRight":"Cylchdroi i\'r Dde","moveBefore":"Symud Cyn","moveAfter":"Symud Ar Ôl","selectNone":"Dewis Dim Un","selectAll":"Dewis y Cwbl","saveAs":"Cadw fel…","mergeDocument":"Mewngludo Dogfen","undo":"Dad-wneud","redo":"Ail-wneud","openMoveDialog":"Symud","move":"Symud","instantModifiedWarning":"Addaswyd y ddogfen hon ac mae bellach ym modd darllen yn unig. Ail-lwythwch y dudalen i drwsio hyn.","documentMergedHere":"Bydd y ddogfen yn cael ei huno yma","digitalSignaturesAllValid":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol ac mae\'r holl lofnodion yn ddilys.","digitalSignaturesDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi.","digitalSignaturesSignatureWarning":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae problemau gan o leiaf un llofnod.","digitalSignaturesSignatureWarningDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi ac mae problemau gan o leiaf un llofnod.","digitalSignaturesSignatureError":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae o leiaf un llofnod yn annilys.","digitalSignaturesSignatureErrorDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi ac mae o leiaf un llofnod yn annilys.","signingInProgress":"Wrthi\'n llofnodi","signingModalDesc":"Yn dynodi bod y ddogfen gyfredol yn cael ei llofnodi","discardChanges":"Gwaredu\'r Newidiadau","commentEditorLabel":"Ychwanegwch eich sylw…","reply":"Ateb","comment":"Sylw","comments":"Sylwadau","showMore":"Dangos mwy","showLess":"Dangos llai","deleteComment":"Dileu\'r Sylw","deleteCommentConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r sylw hwn?","deleteCommentConfirmAccessibilityLabel":"Cadarnhau dileu\'r sylw hwn","editContent":"Golygu Cynnwys","commentOptions":"Opsiynau Sylwadau","areaRedaction":"Ail-olygu Ardal","textRedaction":"Ail-olygu Testun","redactionAnnotation":"Ailolygiad","applyingRedactions":"Wrthi\'n cyflwyno\'r ail-olygiadau","overlayTextPlaceholder":"Mewnosod testun gorchudd","outlineColor":"Lliw\'r Amlinelliad","overlayText":"Testun y Droshaen","repeatText":"Ailadrodd Testun","preview":"Rhagolwg","applyRedactions":"Cyflwyno\'r Ailolygiadau","markupAnnotationToolbar":"Bar offer marcio anodiad","documentViewport":"Porth gweld y ddogfen","redactionInProgress":"Wrthi\'n ail-olygu","redactionModalDesc":"Yn dynodi bod y ddogfen gyfredol yn cael ei hail-olygu","commentAction":"Gwneud sylw","printProgressModalDesc":"Yn dynodi bod dogfen yn cael ei pharatoi i\'w hargraffu","printProgressModal":"Wrthi\'n argraffu","documentEditorDesc":"Gwneud newidiadau i\'r ddogfen gyfredol","reloadDocumentDialog":"Cadarnhau Ail-lwytho\'r Ddogfen","reloadDocumentDialogDesc":"Deialog yn rhoi hwb i\'r defnyddiwr gadarnhau ail-lwytho\'r ddogfen.","signatureDialog":"Llofnod","signatureDialogDesc":"Mae\'r deialog hwn yn caniatáu i chi ddewis llofnod inc i\'w fewnosod yn y ddogfen. Os nad ydych chi wedi storio unrhyw lofnodion, gallwch greu un gan ddefnyddio\'r wedd cynfas.","stampAnnotationTemplatesDialog":"Stampio Templedi Anodi","stampAnnotationTemplatesDialogDesc":"Mae\'r deialog hwn yn caniatáu i chi ddewis anodiad stamp i\'w fewnosod yn y ddogfen neu i greu anodiad stamp personol gyda\'ch testun eich hun.","selectedAnnotation":"Dewiswyd {arg0}","commentThread":"Trywydd sylwadau","selectedAnnotationWithText":"Dewiswyd {arg0} gyda {arg1} fel cynnwys","signature":"Llofnod","ElectronicSignatures_SignHereTypeHint":"Teipiwch eich Llofnod Uchod","ElectronicSignatures_SignHereDrawHint":"Llofnodwch Yma","selectDragImage":"Dewiswch neu Lusgwch Ddelwedd","replaceImage":"Disodli’r Ddelwedd","draw":" llaw","image":"Delwedd","type":"Teipio","saveSignature":"Cadw’r Llofnod","loading":"Wrthi\'n Llwytho","selectedItem":"{arg0}, dewiswyd.","annotationDeleted":"Dilëwyd yr anodiad.","newAnnotationCreated":"Crëwyd anodiad {arg0} newydd.","bookmarkCreated":"Crëwyd nod tudalen.","bookmarkEdited":"Golygwyd y nod tudalen.","bookmarkDeleted":"Dilëwyd y nod tudalen.","cancelledEditingBookmark":"Canslwyd golygu\'r nod tudalen.","selectAFileForImage":"Dewiswch ffeil ar gyfer yr anodiad delwedd newydd.","deleteAnnotationConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r anodiad.","deleteBookmarkConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r nod tudalen.","deleteCommentConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r sylw.","resize":"Ail-feintio","resizeHandleTop":"Brig","resizeHandleBottom":"Gaelod","resizeHandleRight":"De","resizeHandleLeft":"Chwith","cropCurrentPage":"Tocio\'r Dudalen Gyfredol","cropCurrent":"Tocio Hwn","cropAllPages":"Tocio Pob Tudalen","cropAll":"Tocio\'r Cwbl","documentCrop":"Tocio\'r Ddogfen","Comparison_alignButtonTouch":"Alinio","Comparison_selectPoint":"Dewiswch Bwynt","Comparison_documentOldTouch":"Hen","Comparison_documentNewTouch":"Newydd","Comparison_result":"Cymharu","UserHint_description":"Dewiswch tri phwynt ar y ddwy ddogfen i\'w halinio eich hun. Ar gyfer y canlyniadau gorau, dewiswch bwyntiau ger corneli\'r ddogfen, gan sicrhau bod y pwyntiau yn yr un drefn ar y ddwy ddogfen.","UserHint_dismissMessage":"Anwybyddu","Comparison_alignButton":"Alinio Dogfennau","documentComparison":"Cymharu Dogfen","Comparison_documentOld":"Hen Ddogfen","Comparison_documentNew":"Dogfen Newydd","Comparison_resetButton":"Ailosod","UserHint_Select":"Wrthi\'n Dewis Pwyntiau","numberValidationBadFormat":"Nid yw\'r gwerth a nodwyd yn cyd-fynd â fformat y maes [{arg0}]","dateValidationBadFormat":"Dyddiad/amser annilys: sicrhewch fod y dyddiad/amser yn bodoli. Dylai maes [{arg0}] gyd-fynd â fformat {arg1}","insertAfterPage":"Mewnosod ar ôl tudalen","docEditorMoveBeginningHint":"Teipiwch “0” i symud y dudalen/tudalennau a ddewiswyd i gychwyn y ddogfen.","cloudyRectangleAnnotation":"Petryal Cymylog","dashedRectangleAnnotation":"Petryal Toredig","cloudyEllipseAnnotation":"Elíps Cymylog","dashedEllipseAnnotation":"Elíps Toredig","cloudyPolygonAnnotation":"Polygon Cymylog","dashedPolygonAnnotation":"Polygon Toredig","cloudAnnotation":"Cwmwl","rotateCounterclockwise":"Cylchdroi yn groes i\'r cloc","rotateClockwise":"Cylchdroi gyda\'r cloc","enterDescriptionHere":"Nodwch ddisgrifiad yma","addOption":"Ychwanegu opsiwn","formDesignerPopoverTitle":"Priodweddau {formFieldType}","formFieldNameExists":"Mae maes o\'r enw {formFieldName} yn bodoli eisoes yn y ffurflen. Dewiswch enw gwahanol.","styleSectionLabel":"Arddull {formFieldType}","formFieldName":"Enw\'r Maes Ffurflen","defaultValue":"Gwerth Diofyn","multiLine":"Aml-linell","radioButtonFormFieldNameWarning":"I grwpio\'r botymau radio, sicrhewch fod ganddynt oll yr un enw maes ffurflen.","advanced":"Uwch","creatorName":"Enw\'r Crëwr","note":"Nodyn","customData":"Data Personol","required":"Gofynnol","readOnly":"Darllen yn unig","createdAt":"Crëwyd am","updatedAt":"Diweddarwyd am","customDataErrorMessage":"Rhaid bod yn wrthrych plaen y gellir ei gyfresoli gyda JSON","borderColor":"Lliw\'r Ymyl","borderWidth":"Lled yr Ymyl","borderStyle":"Arddull yr Ymyl","solidBorder":"Solet","dashed":"Dashys","beveled":"Ar osgo","inset":"Tu mewn","underline":"Wedi tanlinellu","textStyle":"Arddull y Testun","fontSize":"Maint y Ffont","fontColor":"Lliw\'r Ffont","button":"Maes Botwm","textField":"Maes Testun","radioField":"Maes Radio","checkboxField":"Maes Blwch Ticio","comboBoxField":"Maes Blwch Cyfuniad","listBoxField":"Maes Blwch Rhestr","signatureField":"Maes Llofnod","formDesigner":"Lluniwr Ffurflenni","buttonText":"Testun y Botwm","notAvailable":"Dd/B","label":"Label","value":"Gwerth","cannotEditOnceCreated":"Ni ellir ei olygu ar ôl ei chreu.","formFieldNameNotEmpty":"Ni ellir gadael maes enw\'r ffurflen yn wag.","mediaAnnotation":"Cyfrwng yr Anodiad","mediaFormatNotSupported":"Nid yw\'r porwr hwn yn cefnogi plannu fideo neu sain.","distanceMeasurement":"Pellter","perimeterMeasurement":"Perimedr","polygonAreaMeasurement":"Arwynebedd y Polygon","rectangularAreaMeasurement":"Arwynebedd y Petryal","ellipseAreaMeasurement":"Arwynebedd yr Elíps","distanceMeasurementSettings":"Gosodiadau Mesur Pellter","perimeterMeasurementSettings":"Gosodiadau Mesur Perimedr","polygonAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Polygon","rectangularAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Hirsgwar","ellipseAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Elíps","measurementScale":"Graddfa","measurementCalibrateLength":"Graddnodi\'r Hyd","measurementPrecision":"Manyldra","measurementSnapping":"Snapio","formCreator":"Lluniwr Ffurflenni","group":"Grwpio","ungroup":"Dadgrwpio","bold":"Trwm","italic":"Italig","addLink":"Ychwanegu Dolen","removeLink":"Tynnu Dolen","editLink":"Golygu Dolen","anonymous":"Dienw","saveAndClose":"Cadw a Chau","ceToggleFontMismatchTooltip":"Awgrym offeryn toglo camgymhariad ffont","ceFontMismatch":"Nid yw ffont {arg0} ar gael neu ni ellir ei defnyddio i olygu cynnwys yn y ddogfen hon. Bydd cynnwys a ychwanegir neu a newidir yn troi\'n ôl i ffont diofyn.","multiAnnotationsSelection":"Dewis Nifer o Anodiadau","linkSettingsPopoverTitle":"Gosodiadau\'r Ddolen","linkTo":"Dolen i","uriLink":"Gwefan","pageLink":"Tudalen","invalidPageNumber":"Rhowch rif dudalen dilys.","invalidPageLink":"Rhowch ddolen dudalen dilys.","linkAnnotation":"Dolen","targetPageLink":"Rhif y Dudalen","rotation":"Cylchdroi","unlockDocumentDescription":"Rhaid i chi ddatgloi\'r ddogfen hon i\'w gweld hi. Rhowch y cyfrinair yn y maes isod.","commentDialogClosed":"Agor y ffrwd sylwadau a gychwynwyd gan {arg0}: “{arg1}”","moreComments":"Rhagor o sylwadau","setScale":"Gosod y Raddfa","useCalibrationTool":"Defnyddio Offeryn Calibro","calibrateScale":"Graddfa Calibro","unit":"Uned","scaleAnnotationsDeleteWarning":"Bydd dileu\'r raddfa hefyd yn dileu\'r mesuriadau sy\'n defnyddio\'r raddfa.","halves":"Hanner Modfedd","quarters":"Chwarter Modfedd","eighths":"Wythfed Modfedd","sixteenths":"Unfed ar bymtheg o Fodfedd","addTextBox":"Ychwanegu Blwch Testun","deleteTextBlockConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r blwch testun hwn?","deleteTextBlockConfirmAccessibilityLabel":"Cadarnhau dileu\'r blwch testun","deleteTextBlockConfirmAccessibilityDescription":"Deialog yn caniatáu\'r defnyddiwr i gadarnhau neu ganslo dileu\'r blwch testun","linesCount":"{arg0, plural,\\none {{arg0} Linell}\\ntwo {{arg0} Llinell}\\nfew {{arg0} Llinell}\\nmany {{arg0} Llinell}\\nother {{arg0} Llinell}\\n=0 {{arg0} Llinellau}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} Anodiad}\\ntwo {{arg0} Anodiad}\\nfew {{arg0} Anodiad}\\nmany {{arg0} Anodiad}\\nother {{arg0} Anodiad}\\n=0 {Dim Anodiadau}\\n}","pagesSelected":"{arg0, plural,\\none {Dewiswyd {arg0} Tudalen}\\ntwo {Dewiswyd {arg0} Dudalen}\\nfew {Dewiswyd {arg0} Tudalen}\\nmany {Dewiswyd {arg0} Tudalen}\\nother {Dewiswyd {arg0} Tudalen}\\n=0 {Dewiswyd {arg0} Tudalennau}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} sylw}\\ntwo {{arg0} sylw}\\nfew {{arg0} sylw}\\nmany {{arg0} sylw}\\nother {{arg0} sylw}\\n=0 {{arg0} sylw}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Sylw}\\ntwo {{arg0} Sylw}\\nfew {{arg0} Sylw}\\nmany {{arg0} Sylw}\\nother {{arg0} Sylw}\\n=0 {{arg0} Sylwadau}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} sylw arall}\\ntwo {{arg0} sylw arall}\\nfew {{arg0} sylw arall}\\nmany {{arg0} sylw arall}\\nother {{arg0} sylw arall}\\n=0 {{arg0} sylw arall}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-da-523c627899f0a2ee.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-da-523c627899f0a2ee.js new file mode 100644 index 00000000..a1b3ff4c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-da-523c627899f0a2ee.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1139],{32156:e=>{e.exports=JSON.parse('{"thumbnails":"Oversigter","pageXofY":"Side {arg0} af {arg1}","XofY":"{arg0} af {arg1}","prevPage":"Forrige side","nextPage":"Næste side","goToPage":"Gå til side","gotoPageX":"Gå til side {arg0}","pageX":"Side {arg0}","pageLayout":"Sidelayout","pageMode":"Side tilstand","pageModeSingle":"Enkelt","pageModeDouble":"Dobbelt","pageModeAutomatic":"Automatisk","pageTransition":"Sideovergang","pageTransitionContinuous":"Fortsat","pageTransitionJump":"Skift","pageRotation":"Siderotation","pageRotationLeft":"Roter til venstre","pageRotationRight":"Roter til højre","zoomIn":"Zoom ind","zoomOut":"Zoom ud","marqueeZoom":"Zoomværktøj","panMode":"Panorering","fitPage":"Tilpas til side","fitWidth":"Tilpas til bredde","annotations":"Annoteringer","noAnnotations":"Ingen annoteringer","bookmark":"Bogmærke","bookmarks":"Bogmærker","noBookmarks":"Ingen bogmærker","newBookmark":"Nyt bogmærke","addBookmark":"Tilføj bogmærke","removeBookmark":"Fjern bogmærke","loadingBookmarks":"Indlæser bogmærker","deleteBookmarkConfirmMessage":"Er du sikker på du vil slette dette bogmærke?","deleteBookmarkConfirmAccessibilityLabel":"Bekræft sletning af bogmærke","annotation":"Annotering","noteAnnotation":"Bemærk","textAnnotation":"Tekst","inkAnnotation":"Tegning","highlightAnnotation":"Tekstmarkering","underlineAnnotation":"Understreget","squiggleAnnotation":"Bølgelinje","strikeOutAnnotation":"Gennemstreget","print":"Udskriv","printPrepare":"Forbereder dokument til udskrivning…","searchDocument":"Søg i dokument","searchPreviousMatch":"Forrige","searchNextMatch":"Næste","searchResultOf":"{arg0} af {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} værktøj, skift menu","save":"Arkiver","edit":"Rediger","delete":"Slet","close":"Luk","cancel":"Annuller","ok":"OK","done":"Færdig","clear":"Ryd","date":"Dato","time":"Tid","name":"Navn","color":"Farve","black":"Sort","white":"Hvid","blue":"Blå","red":"Rød","green":"Grøn","orange":"Orange","lightOrange":"Lys orange","yellow":"Gul","lightYellow":"Lysegul","lightBlue":"Lyseblå","lightRed":"Lyserød","lightGreen":"Lysegrøn","fuchsia":"Fuchsia","purple":"Violet","pink":"Lyserød","mauve":"Violet","lightGrey":"Lysegrå","grey":"Grå","darkGrey":"Mørkegrå","noColor":"Ingen","transparent":"Transparent","darkBlue":"Mørkeblå","opacity":"Transparens","thickness":"Tykkelse","size":"Str.","numberInPt":"{arg0} pt","font":"Skrift","fonts":"Skrifter","allFonts":"Alle skrifter","alignment":"Justering","alignmentLeft":"Venstre","alignmentRight":"Højrejusteret","alignmentCenter":"Centreret","verticalAlignment":"Lodret justering","horizontalAlignment":"Vandret justering","top":"Top","bottom":"Bund","deleteAnnotationConfirmMessage":"Er du sikker på du vil slette denne annotering?","deleteAnnotationConfirmAccessibilityLabel":"Bekræft sletning af annotering","fontFamilyUnsupported":"{arg0} (ikke understøttet)","sign":"Signer","signed":"Signeret","signatures":"Signaturer","addSignature":"Tilføj signatur","clearSignature":"Slet signatur","storeSignature":"Arkiver signatur","pleaseSignHere":"Underskriv her","signing":"Signerer…","password":"Adgangskode","unlock":"Lås op","passwordRequired":"Adgangskode kræves","unlockThisDocument":"Du skal låse dette dokument op for at kunne se det. Skriv venligst adgangskoden i nedenstende felt.","incorrectPassword":"Adgangskoden du skrev er ikke korrekt. Prøv venligst igen.","blendMode":"Blandingsmetode","normal":"Normal","multiply":"Multiplicering","screenBlend":"Afskærm","overlay":"Overlejring","darken":"Mørkere","lighten":"Lysere","colorDodge":"Farve-lysning","colorBurn":"Farve-mætning","hardLight":"Hårdt lys","softLight":"Blødt lys","difference":"Forskel","exclusion":"Udelukkelse","multiple":"Flere","linecaps-dasharray":"Linjeudseende","dasharray":"Linjeudseende","startLineCap":"Linjestart","strokeDashArray":"Linjeudseende","endLineCap":"Linjeslut","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polygonal","solid":"Fortsat","narrowDots":"Tætte prikker","wideDots":"Spredte prikker","narrowDashes":"Tætte streger","wideDashes":"Spredte streger","none":"Ingen","square":"Kvadrat","circle":"Cirkel","diamond":"Diamant","openArrow":"Åbn pil","closedArrow":"Lukket pil","butt":"Knop","reverseOpenArrow":"Omvendt åben pil","reverseClosedArrow":"Omvendt lukket pil","slash":"Skråstreg","fillColor":"Fyldfarve","cloudy":"Skyet","arrow":"Pil","filePath":"Arkivsti","unsupportedImageFormat":"Ikke understøttet type til billedannotering: {arg0}. Brug venligst et JPEG eller et PNG.","noOutline":"Intet indhold","outline":"Kontur","imageAnnotation":"Billede","selectImage":"Vælg billede","stampAnnotation":"Stempel","highlighter":"Friform markering","textHighlighter":"Tekstmarkering","pen":"Tegning","eraser":"Viskelæder","export":"Eksporter","useAnExistingStampDesign":"Brug et eksisterende stempeldesign","createStamp":"Opret stempel","stampText":"Stempeltekst","chooseColor":"Vælg farve","rejected":"Afvist","accepted":"Accepteret","approved":"Godkendt","notApproved":"Ikke godkendt","draft":"Udkast","final":"Endelig","completed":"Færdige","confidential":"Fortroligt","forPublicRelease":"Til offentliggørelse","notForPublicRelease":"Ikke til offentliggørelse","forComment":"Til kommentering","void":"Ugyldig","preliminaryResults":"Foreløbige resultater","informationOnly":"Kun til information","initialHere":"Initial her","signHere":"Underskriv her","witness":"Vidne","asIs":"Som den er","departmental":"Internt brug","experimental":"Eksperimentel","expired":"Udløbet","sold":"Solgt","topSecret":"Top Secret","revised":"Revideret","custom":"Speciel","customStamp":"Specielt stempel","icon":"Symbol","iconRightPointer":"Højre markør","iconRightArrow":"Højre pil","iconCheck":"Flueben","iconCircle":"Cirkel","iconCross":"Kryds","iconInsert":"Indsæt tekst","iconNewParagraph":"Nyt afsnit","iconNote":"Tekstnote","iconComment":"Kommentar","iconParagraph":"Afsnit","iconHelp":"Hjælp","iconStar":"Stjerne","iconKey":"Nøgle","documentEditor":"Dokument-editor","newPage":"Ny side","removePage":"Slet sider","duplicatePage":"Dubler","rotatePageLeft":"Roter til venstre","rotatePageRight":"Roter til højre","moveBefore":"Flyt før","moveAfter":"Flyt efter","selectNone":"Vælg ingen","selectAll":"Vælg alt","saveAs":"Arkiver som…","mergeDocument":"Importer dokument","undo":"Fortryd","redo":"Gentag","openMoveDialog":"Flyt","move":"Flyt","instantModifiedWarning":"Dokumentet er ændret og er nu skrivebeskyttet. Genindlæs siden for at rette dette.","documentMergedHere":"Dokument bliver flettet her","digitalSignaturesAllValid":"Dokumentet er blevet digitalt underskrevet og alle underskrifter er gyldige.","digitalSignaturesDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet.","digitalSignaturesSignatureWarning":"Dokumentet er blevet digitalt underskrevet, men der er problemer med mindst en underskrift.","digitalSignaturesSignatureWarningDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet og der problemer med mindst en underskrift.","digitalSignaturesSignatureError":"Dokumentet er blevet digitalt underskrevet, men mindst en underskrift er ugyldig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet og mindst en underskrift er ugyldig.","signingInProgress":"Signering i gang","signingModalDesc":"Angiver at det aktuelle dokument bliver signeret","discardChanges":"Glem ændringer","commentEditorLabel":"Tilføj din kommentar…","reply":"Svar","comment":"Kommentar","comments":"Kommentarer","showMore":"Vis mere","showLess":"Vis mindre","deleteComment":"Slet kommentar","deleteCommentConfirmMessage":"Er du sikker på du vil slette denne kommentar?","deleteCommentConfirmAccessibilityLabel":"Bekræft sletning af kommentar","editContent":"Rediger indhold","commentOptions":"Kommentarmuligheder","areaRedaction":"Bortrediger område","textRedaction":"Tekstbortredigering","redactionAnnotation":"Bortrediger","applyingRedactions":"Anvender bortredigering","overlayTextPlaceholder":"Indsæt overliggende tekst","outlineColor":"Konturfarve","overlayText":"Overlægningstekst","repeatText":"Gentag tekst","preview":"Vis","applyRedactions":"Anvend bortredigeringer","markupAnnotationToolbar":"Annoteringsmarkup-værktøjslinje","documentViewport":"Dokumentvisning","redactionInProgress":"Bortredigering i gang","redactionModalDesc":"Angiver det aktuelle dokument bliver bortredigeret","commentAction":"Kommenter","printProgressModalDesc":"Angiver at dokumentet forberedes til udskrivning","printProgressModal":"Udskrivning i gang","documentEditorDesc":"Foretag ændringer i det aktuelle dokument","reloadDocumentDialog":"Bekræft genindlæsning af sokument","reloadDocumentDialogDesc":"Dialog som beder brugeren om at bekræfte genindlæsning af dokumentet.","signatureDialog":"Underskrift","signatureDialogDesc":"Denne dialog lader dig vælge en blækundeskrift til indsætning i dokumentet. Har du ikke gemt underskrifter, kan du oprette en sådan i lærredsvisning.","stampAnnotationTemplatesDialog":"Stempel annoteringsskabeloner","stampAnnotationTemplatesDialogDesc":"Denne dialog lader dig vælge en stempelannotering til indsætning i dokumentet eller oprette en speciel stempelannotering med din egen tekst.","selectedAnnotation":"Valgt {arg0}","commentThread":"Kommentartråd","selectedAnnotationWithText":"Valgt {arg0} med {arg1} som indhold","signature":"Signatur","ElectronicSignatures_SignHereTypeHint":"Skriv din underskrift ovenfor","ElectronicSignatures_SignHereDrawHint":"Underskriv her","selectDragImage":"Vælg eller træk billede","replaceImage":"Erstat billede","draw":"Tegn","image":"Billede","type":"Skriv","saveSignature":"Arkiver underskrift","loading":"Indlæser","selectedItem":"{arg0}, valgt.","annotationDeleted":"Annotering slettet.","newAnnotationCreated":"Ny {arg0} annotering oprettet.","bookmarkCreated":"Oprettet bogmærke.","bookmarkEdited":"Redigeret bogmærke.","bookmarkDeleted":"Slettet bogmærke.","cancelledEditingBookmark":"Slettet bogmærkeredigering.","selectAFileForImage":"Vælg et arkiv til ny billedannotering.","deleteAnnotationConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af annotationen.","deleteBookmarkConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af bogmærket.","deleteCommentConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af kommentaren.","resize":"Skaler","resizeHandleTop":"Top","resizeHandleBottom":"Bund","resizeHandleRight":"Højre","resizeHandleLeft":"Venstre","cropCurrentPage":"Beskær aktuel side","cropCurrent":"Beskær aktuel","cropAllPages":"Beskær alle sider","cropAll":"Beskær alle","documentCrop":"Dokumentbeskæring","Comparison_alignButtonTouch":"Juster","Comparison_selectPoint":"Vælg punkt","Comparison_documentOldTouch":"Ældre","Comparison_documentNewTouch":"Nyt","Comparison_result":"Sammenligning","UserHint_description":"Vælg tre punkter på begge dokumenter til manuel justering. For de bedste resultater skal du vælge punkter i nærheden af dokumenternes hjørner, hvilket sikrer, at punktene er i samme rækkefølge på begge dokumenter.","UserHint_dismissMessage":"Luk","Comparison_alignButton":"Juster dokumenter","documentComparison":"Dokumentsammeligning","Comparison_documentOld":"Ældre dokument","Comparison_documentNew":"Nyt dokument","Comparison_resetButton":"Nulstil","UserHint_Select":"Valg af punkter","numberValidationBadFormat":"Den skrevne værdi matcher ikke formatet for feltet [{arg0}]","dateValidationBadFormat":"Ugyldig dato/tidspunkt: sørg venligst for at dato/tidspunkt findes. Feltet [{arg0}] skal matche formatet {arg1}","insertAfterPage":"Indsæt efter side","docEditorMoveBeginningHint":"Tast “0” for at flytte de(n) valgte side(r) til starten af dokumentet.","cloudyRectangleAnnotation":"Skyet rektangel","dashedRectangleAnnotation":"Punkteret rektangel","cloudyEllipseAnnotation":"Skyet ellipse","dashedEllipseAnnotation":"Punkteret ellipse","cloudyPolygonAnnotation":"Skyet polygon","dashedPolygonAnnotation":"Punkteret polygon","cloudAnnotation":"Sky","rotateCounterclockwise":"Roter mod uret","rotateClockwise":"Roter med uret","enterDescriptionHere":"Indtast beskrivelse her","addOption":"Tilføj mulighed","formDesignerPopoverTitle":"{formFieldType} - egenskaber","formFieldNameExists":"Et formularfelt kaldet {formFieldName} findes allerede. Vælg venligst et andet navn.","styleSectionLabel":"{formFieldType} - udseende","formFieldName":"Navn til formularfelt","defaultValue":"Standardværdi","multiLine":"Multilinje","radioButtonFormFieldNameWarning":"For at gruppere radioknapperne skal du sørge for, at de har de samme formularfeltnavne.","advanced":"Avanceret","creatorName":"Opretternavn","note":"Note","customData":"Specielle data","required":"Krævet","readOnly":"Skrivebeskyttet","createdAt":"Oprettet d.","updatedAt":"Opdateret d.","customDataErrorMessage":"Skal være et almindeligt JSON-serialiserbart objekt","borderColor":"Rammefarve","borderWidth":"Rammebredde","borderStyle":"Rammeudseende","solidBorder":"Ubrudt","dashed":"Punkteret","beveled":"Skrå","inset":"Indsat","underline":"Understreget","textStyle":"Tekstudseende","fontSize":"Skriftstr.","fontColor":"Skriftfarve","button":"Knapfelt","textField":"Tekstfelt","radioField":"Radioknapfelt","checkboxField":"Afkrydningsboksfelt","comboBoxField":"Kombiboksfelt","listBoxField":"Listeboksfelt","signatureField":"Signaturfelt","formDesigner":"Formularopretter","buttonText":"Knaptekst","notAvailable":"N/A","label":"Mærke","value":"Værdi","cannotEditOnceCreated":"Kan ikke redigeres efter oprettelse.","formFieldNameNotEmpty":"Formularfeltnavn kan ikke stå tomt.","mediaAnnotation":"Medieannotering","mediaFormatNotSupported":"Denne browser understøtter ikke indlejret video eller lyd.","distanceMeasurement":"Distance","perimeterMeasurement":"Omkreds","polygonAreaMeasurement":"Polygonareal","rectangularAreaMeasurement":"Rektangelareal","ellipseAreaMeasurement":"Ellipseareal","distanceMeasurementSettings":"Indstillinger for afstandsmåling","perimeterMeasurementSettings":"Indstillinger for perimetermåling","polygonAreaMeasurementSettings":"Indstillinger for måling af polygonområde","rectangularAreaMeasurementSettings":"Indstillinger for måling af rektangelområde","ellipseAreaMeasurementSettings":"Indstillinger for måling af ellipseområde","measurementScale":"Målestok","measurementCalibrateLength":"Kalibrer længde","measurementPrecision":"Præcision","measurementSnapping":"Spring til","formCreator":"Formularopretter","group":"Grupper","ungroup":"Ophæv gruppe","bold":"Fed","italic":"Kursiv","addLink":"Tilføj henvisning","removeLink":"Fjern henvisning","editLink":"Rediger link","anonymous":"Anonym","saveAndClose":"Gem og luk","ceToggleFontMismatchTooltip":"Værktøjstip fejl i skrifttype","ceFontMismatch":"Skrifttypen {arg0} er ikke tilgængelig eller kan ikke bruges til at redigere indhold i dette dokument. Tilføjet eller ændret indhold vil ændres til en standardskrifttype.","multiAnnotationsSelection":"Vælg flere annoteringer","linkSettingsPopoverTitle":"Linkindstillinger","linkTo":"Link til","uriLink":"Website","pageLink":"Side","invalidPageNumber":"Skriv et gyldigt sidenummer.","invalidPageLink":"Skriv et gyldigt sidelink.","linkAnnotation":"Henvisning","targetPageLink":"Sidenr.","rotation":"Rotér","unlockDocumentDescription":"Du skal låse dette dokument op for at se det. Skriv venligst adgangskoden i nedenstående felt.","commentDialogClosed":"Åben kommentartråd startet af {arg0}: “{arg1}”","moreComments":"Flere kommentarer","setScale":"Indstil skala","useCalibrationTool":"Brug Kalibreringsværktøj","calibrateScale":"Kalibrer skala","unit":"Enhed","scaleAnnotationsDeleteWarning":"Sletning af skalaen vil også slette målinger der bruger skalaen.","halves":"Halve tommer","quarters":"Kvarte tommer","eighths":"Ottendedele af en tomme","sixteenths":"Sekstendedele af en tomme","addTextBox":"Tilføj tekstboks","deleteTextBlockConfirmMessage":"Er du sikker på, du vil slette denne tekstboks?","deleteTextBlockConfirmAccessibilityLabel":"Bekræft sletning af tekstboks","deleteTextBlockConfirmAccessibilityDescription":"Dialog, der giver brugeren mulighed for at bekræfte eller annullere sletning af tekstboksen","linesCount":"{arg0, plural,\\none {{arg0} linje}\\nother {{arg0} linjer}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n=0 {Ingen kommentarer}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} side valgt}\\nother {{arg0} sider valgte}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} mere kommentar}\\nother {{arg0} flere kommentarer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-de-f7400d38edccded8.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-de-f7400d38edccded8.js new file mode 100644 index 00000000..ab701210 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-de-f7400d38edccded8.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1009],{47875:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturen","pageXofY":"Seite {arg0} von {arg1}","XofY":"{arg0} von {arg1}","prevPage":"Vorherige Seite","nextPage":"Nächste Seite","goToPage":"Zu Seite wechseln","gotoPageX":"Zu Seite {arg0} wechseln","pageX":"Seite {arg0}","pageLayout":"Seitenlayout","pageMode":"Seiten-Modus","pageModeSingle":"Einzeln","pageModeDouble":"Doppelt","pageModeAutomatic":"Automatisch","pageTransition":"Seitenübergang","pageTransitionContinuous":"Fortlaufend","pageTransitionJump":"Springen","pageRotation":"Seitendrehung","pageRotationLeft":"Nach links drehen","pageRotationRight":"Nach rechts drehen","zoomIn":"Hereinzoomen","zoomOut":"Herauszoomen","marqueeZoom":"Zoom-Auswahlrahmen","panMode":"Verschiebe-Modus","fitPage":"Seite anpassen","fitWidth":"Breite anpassen","annotations":"Annotationen","noAnnotations":"Keine Annotationen","bookmark":"Lesezeichen","bookmarks":"Lesezeichen","noBookmarks":"Keine Lesezeichen gesetzt","newBookmark":"Neues Lesezeichen","addBookmark":"Lesezeichen hinzufügen","removeBookmark":"Lesezeichen entfernen","loadingBookmarks":"Lesezeichen laden","deleteBookmarkConfirmMessage":"Möchten Sie dieses Lesezeichen wirklich löschen?","deleteBookmarkConfirmAccessibilityLabel":"Lesezeichenlöschung bestätigen","annotation":"Annotation","noteAnnotation":"Notiz","textAnnotation":"Nachricht","inkAnnotation":"Zeichnen","highlightAnnotation":"Text hervorheben","underlineAnnotation":"Unterstreichen","squiggleAnnotation":"Unterschlängeln","strikeOutAnnotation":"Durchstreichen","print":"Drucken","printPrepare":"Dokument auf Drucken vorbereiten…","searchDocument":"Dokument durchsuchen","searchPreviousMatch":"Vorheriges","searchNextMatch":"Nächstes","searchResultOf":"{arg0} von {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0}-Werkzeuge, Menü öffnen/schließen","save":"Sichern","edit":"Bearbeiten","delete":"Löschen","close":"Schließen","cancel":"Abbrechen","ok":"OK","done":"Fertig","clear":"Reset","date":"Datum","time":"Zeit","name":"Name","color":"Farbe","black":"Schwarz","white":"Weiß","blue":"Blau","red":"Rot","green":"Grün","orange":"Orange","lightOrange":"Hellorange","yellow":"Gelb","lightYellow":"Hellgelb","lightBlue":"Hellblau","lightRed":"Hellrot","lightGreen":"Hellgrün","fuchsia":"Fuchsie","purple":"Violett","pink":"Rosa","mauve":"Malve","lightGrey":"Hellgrau","grey":"Grau","darkGrey":"Dunkelgrau","noColor":"Kein","transparent":"Transparent","darkBlue":"Dunkelblau","opacity":"Deckkraft","thickness":"Stärke","size":"Größe","numberInPt":"{arg0} pt","font":"Schriftart","fonts":"Schriftarten","allFonts":"Alle Schriften","alignment":"Ausrichtung","alignmentLeft":"Linksbündig","alignmentRight":"Rechtsbündig","alignmentCenter":"Zentriert","verticalAlignment":"Vertikale Ausrichtung","horizontalAlignment":"Horizontale Ausrichtung","top":"Oben","bottom":"Unten","deleteAnnotationConfirmMessage":"Möchten Sie diese Annotation wirklich löschen?","deleteAnnotationConfirmAccessibilityLabel":"Bestätigen Sie Annotationslöschung","fontFamilyUnsupported":"{arg0} (nicht unterstützt)","sign":"Unterschreiben","signed":"Unterschrieben","signatures":"Unterschriften","addSignature":"Unterschrift hinzufügen","clearSignature":"Unterschrift entfernen","storeSignature":"Signatur speichern","pleaseSignHere":"Bitte hier unterschreiben","signing":"Unterschreiben…","password":"Passwort","unlock":"Entsperren","passwordRequired":"Passwort erforderlich","unlockThisDocument":"Zum Ansehen dieses Dokuments muss es zuerst entsperrt werden. Geben Sie das Passwort im Feld unten ein.","incorrectPassword":"Das eingegebene Passwort ist nicht korrekt. Bitte erneut versuchen.","blendMode":"Mischmethode","normal":"Normal","multiply":"Multiplizieren","screenBlend":"Negativ multiplizieren","overlay":"Überlagerung","darken":"Abdunkeln","lighten":"Aufhellen","colorDodge":"Farbig abwedeln","colorBurn":"Farbig nachbelichten","hardLight":"Hartes Licht","softLight":"Weiches Licht","difference":"Differenz","exclusion":"Ausschluss","multiple":"Mehrere","linecaps-dasharray":"Linienstil","dasharray":"Linienstil","startLineCap":"Linienstart","strokeDashArray":"Linienstil","endLineCap":"Linienende","lineAnnotation":"Linie","rectangleAnnotation":"Rechteck","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinie","solid":"Durchgehend","narrowDots":"Schmale Punkte","wideDots":"Breite Punkte","narrowDashes":"Schmale Bindestriche","wideDashes":"Breite Bindestriche","none":"Kein","square":"Viereck","circle":"Kreis","diamond":"Diamant","openArrow":"Offener Pfeil","closedArrow":"Geschlossener Pfeil","butt":"Knauf","reverseOpenArrow":"Rotierter geschlossener Pfeil","reverseClosedArrow":"Rotierter offener Pfeil","slash":"Schlitz","fillColor":"Füllfarbe","cloudy":"Wellenförmig","arrow":"Pfeil","filePath":"Dateipfad","unsupportedImageFormat":"Für Bild-Annotation nicht unterstützter Dateityp: {arg0}. Bitte verwenden Sie eine JPEG- oder PNG-Datei.","noOutline":"Kein Inhalt","outline":"Inhalt","imageAnnotation":"Bild","selectImage":"Bild auswählen","stampAnnotation":"Stempel","highlighter":"Freies Hervorheben","textHighlighter":"Textmarker","pen":"Zeichnen","eraser":"Radierer","export":"Exportieren","useAnExistingStampDesign":"Bestehendes Stempel-Design nutzen","createStamp":"Stempel erstellen","stampText":"Stempel-Text","chooseColor":"Farbe wählen","rejected":"Abgelehnt","accepted":"Genehmigt","approved":"Genehmigt","notApproved":"Nicht genehmigt","draft":"Entwurf","final":"Endgültige Version","completed":"Abgeschlossen","confidential":"Vertraulich","forPublicRelease":"Zur Veröffentlichung","notForPublicRelease":"Nicht zur Veröffentlichung","forComment":"Zum Kommentar","void":"Ungültig","preliminaryResults":"Vorläufige Ergebnisse","informationOnly":"Nur Zur Information","initialHere":"Hier abzeichnen","signHere":"Hier unterschreiben","witness":"Gesehen","asIs":"Wie gesehen","departmental":"Abteilungsspezifisch","experimental":"Versuch","expired":"Abgelaufen","sold":"Verkauft","topSecret":"Streng vertraulich","revised":"Überarbeitet","custom":"Benutzerdefiniert","customStamp":"Eigener Stempel","icon":"Symbol","iconRightPointer":"Zeiger nach rechts","iconRightArrow":"Pfeil nach rechts","iconCheck":"Häkchen","iconCircle":"Ellipse","iconCross":"Kreuz","iconInsert":"Text einfügen","iconNewParagraph":"Neuer Absatz","iconNote":"Textnotiz","iconComment":"Kommentar","iconParagraph":"Absatz","iconHelp":"Hilfe","iconStar":"Stern","iconKey":"Schlüssel","documentEditor":"Dokument-Editor","newPage":"Neue Seite","removePage":"Seiten löschen","duplicatePage":"Duplizieren","rotatePageLeft":"Nach links drehen","rotatePageRight":"Nach rechts drehen","moveBefore":"Nach vorne","moveAfter":"Nach hinten","selectNone":"Alles abwählen","selectAll":"Alles auswählen","saveAs":"Sichern unter…","mergeDocument":"Dokument importieren","undo":"Rückgängig machen","redo":"Wiederholen","openMoveDialog":"Verschieben","move":"Verschieben","instantModifiedWarning":"Das Dokument wurde verändert und kann nun nur gelesen werden. Laden Sie die Seite neu, um dieses Problem zu beheben.","documentMergedHere":"Dokument wird hier zusammengeführt","digitalSignaturesAllValid":"Das Dokument wurde digital signiert und alle Signaturen sind gültig.","digitalSignaturesDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert.","digitalSignaturesSignatureWarning":"Das Dokument wurde digital signiert, doch mit mindestens einer Signatur besteht ein Problem.","digitalSignaturesSignatureWarningDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert, und mit mindestens einer Signatur besteht ein Problem.","digitalSignaturesSignatureError":"Das Dokument wurde digital signiert, doch mindestens eine Signatur ist ungültig.","digitalSignaturesSignatureErrorDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert, und mindestens eine Signatur ist ungültig.","signingInProgress":"Signierung wird durchgeführt","signingModalDesc":"Zeigt an, dass das aktuelle Dokument gerade signiert wird","discardChanges":"Änderungen verwerfen","commentEditorLabel":"Kommentar einfügen…","reply":"Antworten","comment":"Kommentar","comments":"Kommentare","showMore":"Mehr","showLess":"Weniger","deleteComment":"Kommentar löschen","deleteCommentConfirmMessage":"Möchten Sie diesen Kommentar wirklich löschen?","deleteCommentConfirmAccessibilityLabel":"Löschen des Kommentars bestätigen","editContent":"Inhalt bearbeiten","commentOptions":"Kommentaroptionen","areaRedaction":"Bereich schwärzen","textRedaction":"Text schwärzen","redactionAnnotation":"Schwärzung","applyingRedactions":"Schwärzung läuft","overlayTextPlaceholder":"Überlagerungstext einfügen","outlineColor":"Konturfarbe","overlayText":"Überlagerungstext","repeatText":"Text wiederholen","preview":"Vorschau","applyRedactions":"Schwärzung anwenden","markupAnnotationToolbar":"Symbolleiste für Markup-Annotation","documentViewport":"Anzeigebereich des Dokuments","redactionInProgress":"Schwärzung wird durchgeführt","redactionModalDesc":"Zeigt an, dass das aktuelle Dokument gerade geschwärzt wird","commentAction":"Kommentieren","printProgressModalDesc":"Zeigt an, dass ein Dokument gerade für das Drucken vorbereitet wird","printProgressModal":"Drucken wird durchgeführt","documentEditorDesc":"Änderungen am aktuellen Dokument vornehmen","reloadDocumentDialog":"Neuladen des Dokuments bestätigen","reloadDocumentDialogDesc":"Dialog, in dem der Benutzer aufgefordert wird, das Neuladen des Dokuments zu bestätigen.","signatureDialog":"Unterschrift","signatureDialogDesc":"In diesem Dialogfeld können Sie eine Tintensignatur auswählen, die in das Dokument eingefügt werden soll. Wenn Sie nicht über gespeicherte Unterschriften verfügen, können Sie eine solche in der Leinwandansicht erstellen.","stampAnnotationTemplatesDialog":"Vorlagen für Stempelannotationen","stampAnnotationTemplatesDialogDesc":"In diesem Dialogfeld können Sie eine Stempelannotation auswählen, die in das Dokument eingefügt werden soll, oder eine benutzerdefinierte Stempelannotation mit Ihrem eigenen Text erstellen.","selectedAnnotation":"{arg0} ausgewählt","commentThread":"Kommentar-Thread","selectedAnnotationWithText":"{arg0} ausgewählt mit {arg1} als Inhalt","signature":"Unterschrift","ElectronicSignatures_SignHereTypeHint":"Gib deine Unterschrift oben ein","ElectronicSignatures_SignHereDrawHint":"Hier unterschreiben","selectDragImage":"Bild auswählen oder hierher ziehen","replaceImage":"Bild ersetzen","draw":"Zeichnen","image":"Bild","type":"Eingeben","saveSignature":"Unterschrift sichern","loading":"Laden","selectedItem":"{arg0}, ausgewählt.","annotationDeleted":"Annotation gelöscht.","newAnnotationCreated":"Neue {arg0}-Annotation erstellt.","bookmarkCreated":"Lesezeichen erstellt.","bookmarkEdited":"Lesezeichen bearbeitet.","bookmarkDeleted":"Lesezeichen gelöscht.","cancelledEditingBookmark":"Lesezeichenbearbeitung abgebrochen.","selectAFileForImage":"Wählen Sie eine Datei für die neue Bild-Annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen der Annotation bestätigen oder abbrechen können.","deleteBookmarkConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen des Lesezeichens bestätigen oder abbrechen können.","deleteCommentConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen des Kommentars bestätigen oder abbrechen können.","resize":"Größe verändern","resizeHandleTop":"Oben","resizeHandleBottom":"Unten","resizeHandleRight":"Rechts","resizeHandleLeft":"Links","cropCurrentPage":"Aktuelle Seite zuschneiden","cropCurrent":"Aktuelle zuschneiden","cropAllPages":"Alle Seiten zuschneiden","cropAll":"Alle zuschneiden","documentCrop":"Dokument zuschneiden","Comparison_alignButtonTouch":"Ausrichten","Comparison_selectPoint":"Punkt auswählen","Comparison_documentOldTouch":"Alt","Comparison_documentNewTouch":"Neu","Comparison_result":"Vergleich","UserHint_description":"Wählen Sie in beiden Dokumenten drei Punkte für die manuelle Ausrichtung. Um bestmögliche Ergebnisse zu erzielen, wählen Sie Punkte in der Nähe der Ecken der Dokumente und stellen Sie sicher, dass die Punkte in beiden Dokumenten in der gleichen Reihenfolge angeordnet sind.","UserHint_dismissMessage":"Schließen","Comparison_alignButton":"Dokumente ausrichten","documentComparison":"Dokument-Vergleich","Comparison_documentOld":"Altes Dokument","Comparison_documentNew":"Neues Dokument","Comparison_resetButton":"Zurücksetzen","UserHint_Select":"Auswahl von Punkten","numberValidationBadFormat":"Der eingegebene Wert entspricht nicht dem Format des Feldes [{arg0}]","dateValidationBadFormat":"Ungültiges Datums-/Uhrzeitformat: Bitte stellen Sie sicher, dass Datum/Uhrzeit eingegeben wurden. Feld [{arg0}] sollte dem Format {arg1} entsprechen","insertAfterPage":"Einfügen nach Seite","docEditorMoveBeginningHint":"„0“ eingeben, um die ausgewählte(n) Seite(n) an den Anfang des Dokuments zu verschieben.","cloudyRectangleAnnotation":"Wellenförmiges Rechteck","dashedRectangleAnnotation":"Gestricheltes Rechteck","cloudyEllipseAnnotation":"Wellenförmige Ellipse","dashedEllipseAnnotation":"Gestrichelte Ellipse","cloudyPolygonAnnotation":"Wellenförmiges Polygon","dashedPolygonAnnotation":"Gestricheltes Polygon","cloudAnnotation":"Wolke","rotateCounterclockwise":"Gegen den Uhrzeigersinn drehen","rotateClockwise":"Im Uhrzeigersinn drehen","enterDescriptionHere":"Beschreibung hier eingeben","addOption":"Weitere Option","formDesignerPopoverTitle":"Eigenschaften des {formFieldType}es","formFieldNameExists":"Es besteht bereits ein Formularfeld namens {formFieldName}. Bitte wählen Sie einen anderen Namen.","styleSectionLabel":"Stil des {formFieldType}es","formFieldName":"Name des Formularfelds","defaultValue":"Standardwert","multiLine":"Mehrzeilig","radioButtonFormFieldNameWarning":"Um Radio-Buttons zu gruppieren, sollten sie über denselben Formfeldnamen verfügen.","advanced":"Erweitert","creatorName":"Name des Erstellers","note":"Notiz","customData":"Benutzerdefinierte Daten","required":"Erforderlich","readOnly":"Schreibgeschützt","createdAt":"Erstellt am","updatedAt":"Aktualisiert am","customDataErrorMessage":"Muss einfaches, mit JSON serialisierbares Objekt sein","borderColor":"Rahmenfarbe","borderWidth":"Rahmenstärke","borderStyle":"Rahmenstil","solidBorder":"Durchgehend","dashed":"Gestrichelt","beveled":"Relief","inset":"Eingedrückt","underline":"Unterstrichen","textStyle":"Textstil","fontSize":"Schriftgröße","fontColor":"Schriftfarbe","button":"Button-Feld","textField":"Textfeld","radioField":"Radio-Button-Feld","checkboxField":"Checkbox-Feld","comboBoxField":"Combo-Box-Feld","listBoxField":"Listenbox-Feld","signatureField":"Unterschriftfeld","formDesigner":"Formularerstellung","buttonText":"Button-Text","notAvailable":"N/A","label":"Label","value":"Wert","cannotEditOnceCreated":"Kann nach dem Erstellen nicht mehr bearbeitet werden.","formFieldNameNotEmpty":"Name des Formularfelds darf nicht leer sein.","mediaAnnotation":"Medienannotation","mediaFormatNotSupported":"Dieser Browser unterstützt keine eingebetteten Videos oder Audios.","distanceMeasurement":"Abstand","perimeterMeasurement":"Umfang","polygonAreaMeasurement":"Fläche des Polygons","rectangularAreaMeasurement":"Fläche des Rechtecks","ellipseAreaMeasurement":"Fläche der Ellipse","distanceMeasurementSettings":"Maßeinstellungen zum Abstand","perimeterMeasurementSettings":"Maßeinstellungen zum Umfang","polygonAreaMeasurementSettings":"Maßeinstellungen zur Polygonfläche","rectangularAreaMeasurementSettings":"Maßeinstellungen zur Rechteckfläche","ellipseAreaMeasurementSettings":"Maßeinstellungen zur Ellipsenfläche","measurementScale":"Skala","measurementCalibrateLength":"Länge kalibrieren","measurementPrecision":"Präzision","measurementSnapping":"Ausrichten","formCreator":"Formularerstellung","group":"Gruppieren","ungroup":"Gruppierung auflösen","bold":"Fett","italic":"Kursiv","addLink":"Link erstellen","removeLink":"Link entfernen","editLink":"Link bearbeiten","anonymous":"Anonymer Benutzer","saveAndClose":"Sichern & schließen","ceToggleFontMismatchTooltip":"Tooltip zu nicht verfügbarer Schriftart ein/aus","ceFontMismatch":"Die Schriftart „{arg0}“ ist nicht verfügbar oder kann in diesem Dokument nicht verwendet werden. Hinzugefügter oder geänderter Inhalt wird auf eine Standard-Schriftart zurückgesetzt.","multiAnnotationsSelection":"Mehrere Annotationen auswählen","linkSettingsPopoverTitle":"Link-Einstellungen","linkTo":"Link auf","uriLink":"Website","pageLink":"Seite","invalidPageNumber":"Geben Sie eine gültige Seitenzahl ein.","invalidPageLink":"Geben Sie einen gültigen Webseiten-Link ein.","linkAnnotation":"Hyperlink","targetPageLink":"Seitennummer","rotation":"Rotation","unlockDocumentDescription":"Zum Ansehen dieses Dokuments muss es zuerst entsperrt werden. Geben Sie das Passwort im Feld unten ein.","commentDialogClosed":"Offener Kommentar-Thread gestartet von {arg0}: “{arg1}”","moreComments":"Weitere Kommentare","setScale":"Skalierung einstellen","useCalibrationTool":"Kalibrierungstool verwenden","calibrateScale":"Skalierung kalibrieren","unit":"Einheit","scaleAnnotationsDeleteWarning":"Durch Löschen der Skalierung werden auch die Messungen gelöscht, die mit dieser Skalierung vorgenommen wurden.","halves":"Halbzoll","quarters":"Viertelzoll","eighths":"Achtel eines Zolls","sixteenths":"Sechzehntel eines Zolls","addTextBox":"Textfeld hinzufügen","deleteTextBlockConfirmMessage":"Möchten Sie dieses Textfeld wirklich löschen?","deleteTextBlockConfirmAccessibilityLabel":"Textfeldlöschung bestätigen","deleteTextBlockConfirmAccessibilityDescription":"Dialog, in dem der Nutzer das Löschen des Textfeldes bestätigen oder abbrechen kann","linesCount":"{arg0, plural,\\none {{arg0} Linie}\\nother {{arg0} Linien}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} Annotation}\\nother {{arg0} Annotationen}\\n=0 {Keine Annotationen}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Seite ausgewählt}\\nother {{arg0} Seiten ausgewählt}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} Kommentar}\\nother {{arg0} Kommentare}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Kommentar}\\nother {{arg0} Kommentare}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} weiterer Kommentar}\\nother {{arg0} weitere Kommentare}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-el-8530738cb41c7cf7.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-el-8530738cb41c7cf7.js new file mode 100644 index 00000000..84856325 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-el-8530738cb41c7cf7.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1323],{87908:e=>{e.exports=JSON.parse('{"thumbnails":"Μικρογραφίες","pageXofY":"Σελίδα {arg0} από {arg1}","XofY":"{arg0} από {arg1}","prevPage":"Προηγούμενη σελίδα","nextPage":"Επόμενη σελίδα","goToPage":"Μετάβαση στη σελίδα","gotoPageX":"Μετάβαση στη σελίδα {arg0}","pageX":"Σελίδα {arg0}","pageLayout":"Διάταξη σελίδας","pageMode":"Σελίδα","pageModeSingle":"Μονή","pageModeDouble":"Διπλά","pageModeAutomatic":"Αυτόματα","pageTransition":"Μετάβαση σελίδας","pageTransitionContinuous":"Συνεχόμενα","pageTransitionJump":"Μεταπήδηση","pageRotation":"Περιστροφή σελίδας","pageRotationLeft":"Περιστροφή αριστερά","pageRotationRight":"Περιστροφή δεξιά","zoomIn":"Μεγέθυνση","zoomOut":"Σμίκρυνση","marqueeZoom":"Εργαλείο κυλιόμενου ζουμ","panMode":"Λειτουργία μετατόπισης","fitPage":"Προσαρμογή σελίδας","fitWidth":"Προσαρμογή σε πλάτος","annotations":"Σχολιασμοί","noAnnotations":"Δεν υπάρχουν σχολιασμοί","bookmark":"Σελιδοδείκτης","bookmarks":"Σελιδοδείκτες","noBookmarks":"Δεν υπάρχουν σελιδοδείκτες","newBookmark":"Νέος σελιδοδείκτης","addBookmark":"Προσθήκη σελιδοδείκτη","removeBookmark":"Αφαίρεση σελιδοδείκτη","loadingBookmarks":"Γίνεται φόρτωση σελιδοδεικτών","deleteBookmarkConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν το σελιδοδείκτη","deleteBookmarkConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σελιδοδείκτη","annotation":"Σχολιασμός","noteAnnotation":"Σημείωση","textAnnotation":"Κείμενο","inkAnnotation":"Σχεδίαση","highlightAnnotation":"Επισήμανση κειμένου","underlineAnnotation":"Υπογράμμιση","squiggleAnnotation":"Κυματιστό","strikeOutAnnotation":"Διακριτή διαγραφή","print":"Εκτύπωση","printPrepare":"Προετοιμασία εγγράφου για εκτύπωση…","searchDocument":"Αναζήτηση εγγράφου","searchPreviousMatch":"Προηγούμενο","searchNextMatch":"Επόμενο","searchResultOf":"{arg0} από {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} εργαλεία, εναλλαγή μενού","save":"Αποθήκευση","edit":"Επεξεργασία","delete":"Διαγραφή","close":"Κλείσιμο","cancel":"Ακύρωση","ok":"OK","done":"Τέλος","clear":"Εκκαθάριση","date":"Ημερομηνία","time":"Ώρα","name":"Όνομα","color":"Χρώμα","black":"Μαύρο","white":"Λευκό","blue":"Μπλε","red":"Κόκκινο","green":"Πράσινο","orange":"Πορτοκαλί","lightOrange":"Ανοικτό πορτοκαλί","yellow":"Κίτρινο","lightYellow":"Ανοικτό κίτρινο","lightBlue":"Γαλάζιο","lightRed":"Ανοιχτό κόκκινο","lightGreen":"Λαχανί","fuchsia":"Φούξια","purple":"Μοβ","pink":"Ροζ","mauve":"Μοβ","lightGrey":"Ανοικτό γκρι","grey":"Γκρι","darkGrey":"Σκούρο γκρι","noColor":"Κανένας","transparent":"Ημιδιαφανής","darkBlue":"Σκούρο μπλε","opacity":"Αδιαφάνεια","thickness":"Πάχος","size":"Μέγεθος","numberInPt":"{arg0} στ.","font":"Γραμματοσειρά","fonts":"Γραμματοσειρές","allFonts":"Όλες οι γραμματοσειρές","alignment":"Στοίχιση","alignmentLeft":"Αριστερά","alignmentRight":"Δεξιά","alignmentCenter":"Κέντρο","verticalAlignment":"Κατακόρυφη στοίχιση","horizontalAlignment":"Οριζόντια στοίχιση","top":"Άνω","bottom":"Κάτω","deleteAnnotationConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον σχολιασμό","deleteAnnotationConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σχολιασμού","fontFamilyUnsupported":"{arg0} (δεν υποστηρίζεται)","sign":"Υπογραφή","signed":"Υπογεγραμμένο","signatures":"Υπογραφές","addSignature":"Προσθήκη υπογραφής","clearSignature":"Εκκαθάριση υπογραφής","storeSignature":"Αποθήκευση υπογραφής","pleaseSignHere":"Παρακαλώ υπογράψτε εδώ","signing":"Υπογραφή…","password":"Συνθηματικό","unlock":"Ξεκλείδωμα","passwordRequired":"Απαιτείται συνθηματικό","unlockThisDocument":"Πρέπει να ξεκλειδώσετε αυτό το έγγραφο για να το προβάλετε. Εισαγάγετε το συνθηματικό στο παρακάτω πεδίο.","incorrectPassword":"Το συνθηματικό που εισαγάγατε δεν είναι σωστό. Δοκιμάστε ξανά.","blendMode":"Λειτουργία ανάμιξης","normal":"Κανονικό","multiply":"Πολλαπλασιασμός","screenBlend":"Μεταξοτυπία","overlay":"Υπέρθεση","darken":"Σκουρότερο","lighten":"Ανοικτότερο","colorDodge":"Υπεκφυγή χρώματος","colorBurn":"Ψήσιμο χρώματος","hardLight":"Σκληρό φως","softLight":"Απαλό φως","difference":"Διαφορά","exclusion":"Αποκλεισμός","multiple":"Πολλαπλή","linecaps-dasharray":"Στιλ γραμμής","dasharray":"Στιλ γραμμής","startLineCap":"Αρχή γραμμής","strokeDashArray":"Στιλ γραμμής","endLineCap":"Τέλος γραμμής","lineAnnotation":"Γραμμή","rectangleAnnotation":"Ορθογώνιο","ellipseAnnotation":"Έλλειψη","polygonAnnotation":"Πολύγωνο","polylineAnnotation":"Πολύγραμμο","solid":"Συμπαγής","narrowDots":"Στενές τελείες","wideDots":"Πλατιές τελείες","narrowDashes":"Στενές παύλες","wideDashes":"Πλατιές παύλες","none":"Κανένας","square":"Τετράγωνο","circle":"Κύκλος","diamond":"Διαμάντι","openArrow":"Βέλος με ανοιχτή αιχμή","closedArrow":"Βέλος με κλειστή αιχμή","butt":"Άκρο","reverseOpenArrow":"Αντιστροφή κατεύθυνσης βέλους με ανοικτή αιχμή","reverseClosedArrow":"Αντιστροφή κατεύθυνσης βέλους με κλειστή αιχμή","slash":"Κάθετος","fillColor":"Χρώμα γεμίσματος","cloudy":"Θολό","arrow":"Βέλος","filePath":"Διαδρομή αρχείου","unsupportedImageFormat":"Μη υποστηριζόμενος τύπος για σχολιασμό εικόνας: {arg0}. Χρησιμοποιήστε JPEG ή PNG.","noOutline":"Δεν υπάρχει διάρθρωση","outline":"Διάρθρωση","imageAnnotation":"Εικόνα","selectImage":"Επιλογή εικόνας","stampAnnotation":"Σφραγίδα","highlighter":"Ελεύθερη επισήμανση","textHighlighter":"Επισήμανση κειμένου","pen":"Σχεδίαση","eraser":"Γόμα","export":"Εξαγωγή","useAnExistingStampDesign":"Χρήση υπάρχοντος σχεδίου σφραγίδας","createStamp":"Δημιουργία σφραγίδας","stampText":"Κείμενο σφραγίδας","chooseColor":"Επιλογή χρώματος","rejected":"Απορρίφθηκε","accepted":"Έγινε αποδοχή","approved":"Εγκρίθηκε","notApproved":"Δεν έχει εγκριθεί","draft":"Πρόχειρο","final":"Τελικό","completed":"Ολοκληρώθηκε","confidential":"Εμπιστευτικό","forPublicRelease":"Για έκδοση στο κοινό","notForPublicRelease":"Δεν προορίζεται για έκδοση στο κοινό","forComment":"Προς σχολιασμό","void":"Άκυρο","preliminaryResults":"Προκαταρκτικά αποτελέσματα","informationOnly":"Πληροφορίες μόνο","initialHere":"Αρχικά εδώ","signHere":"Υπογραφή εδώ","witness":"Μάρτυρας","asIs":"Ως έχει","departmental":"Τμηματικό","experimental":"Πειραματικό","expired":"Έληξε","sold":"Πωλήθηκε","topSecret":"Άκρως απόρρητο","revised":"Έγινε αναθεώρηση","custom":"Προσαρμογή","customStamp":"Προσαρμοσμένη σφραγίδα","icon":"Εικονίδιο","iconRightPointer":"Δεξιός δείκτης","iconRightArrow":"Δεξί βέλος","iconCheck":"Σημάδι ελέγχου","iconCircle":"Έλλειψη","iconCross":"Σταυρός","iconInsert":"Εισαγωγή κειμένου","iconNewParagraph":"Νέα παράγραφος","iconNote":"Σημείωση κειμένου","iconComment":"Σχόλιο","iconParagraph":"Παράγραφος","iconHelp":"Βοήθεια","iconStar":"Αστέρι","iconKey":"Κλειδί","documentEditor":"Επεξεργαστής εγγράφων","newPage":"Νέα σελίδα","removePage":"Διαγραφή σελίδων","duplicatePage":"Διπλότυπο","rotatePageLeft":"Περιστροφή αριστερά","rotatePageRight":"Περιστροφή δεξιά","moveBefore":"Μετακίνηση πριν","moveAfter":"Μετακίνηση μετά","selectNone":"Επιλογή κανενός","selectAll":"Επιλογή όλων","saveAs":"Αποθήκευση ως…","mergeDocument":"Εισαγωγή εγγράφου","undo":"Αναίρεση","redo":"Επανάληψη","openMoveDialog":"Μετακίνηση","move":"Μετακίνηση","instantModifiedWarning":"Το έγγραφο έχει τροποποιηθεί και βρίσκεται τώρα σε λειτουργία μόνο ανάγνωσης. Επαναφορτώστε τη σελίδα για διόρθωση.","documentMergedHere":"Το έγγραφο θα συγχωνευτεί εδώ","digitalSignaturesAllValid":"Το έγγραφο έχει υπογραφεί ψηφιακά και όλες οι υπογραφές είναι έγκυρες.","digitalSignaturesDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε.","digitalSignaturesSignatureWarning":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά τουλάχιστον μία υπογραφή έχει προβλήματα.","digitalSignaturesSignatureWarningDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε και τουλάχιστον μία υπογραφή έχει προβλήματα.","digitalSignaturesSignatureError":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά τουλάχιστον μία υπογραφή δεν είναι έγκυρη.","digitalSignaturesSignatureErrorDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε και τουλάχιστον μία υπογραφή δεν είναι έγκυρη.","signingInProgress":"Υπογραφή σε εξέλιξη","signingModalDesc":"Υποδεικνύει ότι το τρέχον έγγραφο υπογράφεται","discardChanges":"Απόρριψη αλλαγών","commentEditorLabel":"Προσθήκη του σχολίου σας…","reply":"Απάντηση","comment":"Σχόλιο","comments":"Σχόλια","showMore":"Εμφάνιση περισσότερων","showLess":"Εμφάνιση λιγότερων","deleteComment":"Διαγραφή σχολίου","deleteCommentConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το σχόλιο","deleteCommentConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σχολίου","editContent":"Επεξεργασία περιεχομένου","commentOptions":"Επιλογές σχολίεων","areaRedaction":"Απόκρυψη περιοχής","textRedaction":"Απόκρυψη κειμένου","redactionAnnotation":"Απόκρυψη","applyingRedactions":"Εφαρμογή αποκρύψεων","overlayTextPlaceholder":"Εισαγωγή κειμένου υπέρθεσης","outlineColor":"Χρώμα περιγράμματος","overlayText":"Υπέρθεση κειμένου","repeatText":"Επανάληψη κειμένου","preview":"Προεπισκόπηση","applyRedactions":"Εφαρμογή αποκρύψεων","markupAnnotationToolbar":"Γραμμή εργαλείων σχολιασμών σήμανσης","documentViewport":"Οπτική γωνία εγγράφου","redactionInProgress":"Απόκρυψη σε εξέλιξη","redactionModalDesc":"Υποδεικνύει ότι γίνεται απόκρυψη στο τρέχον έγγραφο","commentAction":"Σχολιάστε","printProgressModalDesc":"Υποδεικνύει ότι ένα έγγραφο προετοιμάζεται για εκτύπωση","printProgressModal":"Εκτύπωση σε εξέλιξη","documentEditorDesc":"Πραγματοποίηση αλλαγών στο τρέχον έγγραφο","reloadDocumentDialog":"Επιβεβαίωση επαναφόρτωσης εγγράφου","reloadDocumentDialogDesc":"Διάλογος που προτρέπει τον χρήστη να επιβεβαιώσει την επαναφόρτωση του εγγράφου.","signatureDialog":"Υπογραφή","signatureDialogDesc":"Ο διάλογος αυτός σάς επιτρέπει να επιλέξετε μια υπογραφή μελανιού για να εισαγάγετε στο έγγραφο. Αν δεν έχετε αποθηκευμένες υπογραφές, μπορείτε να δημιουργήσετε μία χρησιμοποιώντας την προβολή καμβά.","stampAnnotationTemplatesDialog":"Πρότυπα σχολιασμού σφραγίδας","stampAnnotationTemplatesDialogDesc":"Ο διάλογος αυτός σάς επιτρέπει να επιλέγετε έναν σχολιασμό σφραγίδας για να εισαγάγετε στο έγγραφο ή να δημιουργήσετε έναν προσαρμοσμένο σχολιασμό σφραγίδας με δικό σας κείμενο.","selectedAnnotation":"Επιλεγμένο {arg0}","commentThread":"Νήμα σχολίων","selectedAnnotationWithText":"Επιλεγμένο {arg0} με {arg1} ως περιεχόμενο","signature":"Υπογραφή","ElectronicSignatures_SignHereTypeHint":"Πληκτρολογήστε την υπογραφή σας παραπάνω","ElectronicSignatures_SignHereDrawHint":"Υπογραφή εδώ","selectDragImage":"Επιλογή ή σύρσιμο εικόνας","replaceImage":"Αντικατάσταση εικόνας","draw":"Σχεδίαση","image":"Εικόνα","type":"Πληκτρολόγηση","saveSignature":"Αποθήκευση υπογραφής","loading":"Γίνεται φόρτωση","selectedItem":"{arg0}, επιλεγμένο.","annotationDeleted":"Σχολιασμός διαγράφηκε.","newAnnotationCreated":"Νέος σχολιασμός {arg0} δημιουργήθηκε.","bookmarkCreated":"Δημιουργήθηκε σελιδοδείκτης.","bookmarkEdited":"Έγινε επεξεργασία σελιδοδείκτη.","bookmarkDeleted":"Διαγράφηκε σελιδοδείκτης.","cancelledEditingBookmark":"Ακυρώθηκε επεξεργασία σελιδοδείκτη.","selectAFileForImage":"Επιλέξτε ένα αρχείο για τον νέο σχολιασμό εικόνας.","deleteAnnotationConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σχολιασμού.","deleteBookmarkConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σελιδοδείκτη.","deleteCommentConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σχολίου.","resize":"Αλλαγή μεγέθους","resizeHandleTop":"Άνω","resizeHandleBottom":"Κάτω","resizeHandleRight":"Δεξιά","resizeHandleLeft":"Αριστερά","cropCurrentPage":"Περικοπή τρέχουσας σελίδας","cropCurrent":"Περικοπή τρέχουσας","cropAllPages":"Περικοπή όλων των σελίδων","cropAll":"Περικοπή όλων","documentCrop":"Περικοπή εγγράφου","Comparison_alignButtonTouch":"Ευθυγράμμιση","Comparison_selectPoint":"Επιλογή σημείου","Comparison_documentOldTouch":"Παλιό","Comparison_documentNewTouch":"Νέο","Comparison_result":"Σύγκριση","UserHint_description":"Επιλέξτε τρία σημεία και στα δύο έγγραφα για μη αυτόματη ευθυγράμμιση. Για καλύτερα αποτελέσματα, επιλέξτε σημεία κοντά στις γωνίες των εγγράφων, εξασφαλίζοντας ότι τα σημεία βρίσκονται στην ίδια σειρά και στα δύο έγγραφα.","UserHint_dismissMessage":"Απόρριψη","Comparison_alignButton":"Ευθυγράμμιση εγγράφων","documentComparison":"Σύγκριση εγγράφων","Comparison_documentOld":"Παλιό έγγραφο","Comparison_documentNew":"Νέο έγγραφο","Comparison_resetButton":"Επαναφορά","UserHint_Select":"Επιλογή σημείων","numberValidationBadFormat":"Η τιμή που καταχωρίσατε δεν ταιριάζει με τη μορφή του πεδίου [{arg0}]","dateValidationBadFormat":"Μη έγκυρη ημερομηνία/ώρα: βεβαιωθείτε ότι η ημερομηνία/ώρα υπάρχει. Το πεδίο [{arg0}] θα πρέπει να ταιριάζει με τη μορφή {arg1}","insertAfterPage":"Εισαγωγή μετά τη σελίδα","docEditorMoveBeginningHint":"Πληκτρολογήστε «0» για να μετακινήσετε την(ις) επιλεγμένη(ες) σελίδα(ες) στην αρχή του εγγράφου.","cloudyRectangleAnnotation":"Ορθογώνιο σύννεφο","dashedRectangleAnnotation":"Διακεκομμένο ορθογώνιο","cloudyEllipseAnnotation":"Ελλειπτικό σύννεφο","dashedEllipseAnnotation":"Διακεκομμένη έλλειψη","cloudyPolygonAnnotation":"Πολυγωνικό σύννεφο","dashedPolygonAnnotation":"Διακεκομμένο πολύγωνο","cloudAnnotation":"Σύννεφο","rotateCounterclockwise":"Περιστροφή αριστερόστροφα","rotateClockwise":"Περιστροφή δεξιόστροφα","enterDescriptionHere":"Εισαγωγή περιγραφής εδώ","addOption":"Προσθήκη επιλογής","formDesignerPopoverTitle":"Ιδιότητες για {formFieldType}","formFieldNameExists":"Ήδη υπάρχει ένα πεδίο φόρμας με όνομα {formFieldName}. Επιλέξτε διαφορετικό όνομα.","styleSectionLabel":"Στυλ για {formFieldType}","formFieldName":"Όνομα πεδίου φόρμας","defaultValue":"Προεπιλεγμένη τιμή","multiLine":"Πολλαπλές γραμμές","radioButtonFormFieldNameWarning":"Για ομαδοποίηση των κουμπιών επιλογής, βεβαιωθείτε ότι έχουν τα ίδια ονόματα πεδίου φόρμας.","advanced":"Προηγμένα","creatorName":"Όνομα δημιουργού","note":"Σημείωση","customData":"Προσαρμοσμένα δεδομένα","required":"Υποχρεωτικό","readOnly":"Ανάγνωση μόνο","createdAt":"Δημιουργήθηκε","updatedAt":"Ενημερώθηκε","customDataErrorMessage":"Πρέπει να είναι απλό αντικείμενο με δυνατότητα σειριοποίησης JSON","borderColor":"Χρώμα περιγράμματος","borderWidth":"Πλάτος περιγράμματος","borderStyle":"Στυλ περιγράμματος","solidBorder":"Συμπαγές","dashed":"Διακεκομμένο","beveled":"Λοξό","inset":"Ένθετο","underline":"Υπογραμμισμένο","textStyle":"Στυλ κειμένου","fontSize":"Μέγεθος γραμματοσειράς","fontColor":"Χρώμα γραμματοσειράς","button":"Πεδίο κουμπιού","textField":"Πεδίο κειμένου","radioField":"Πεδίο κουμπιού επιλογής","checkboxField":"Πεδίο πλαισίου ελέγχου","comboBoxField":"Πεδίο σύνθετου πλαισίου","listBoxField":"Πεδίο πλαισίου λίστας","signatureField":"Πεδίο υπογραφής","formDesigner":"Δημιουργία φόρμας","buttonText":"Κείμενο κουμπιού","notAvailable":"Δ/Ε","label":"Ετικέτα","value":"Τιμή","cannotEditOnceCreated":"Δεν είναι δυνατή η επεξεργασία μόλις δημιουργηθεί.","formFieldNameNotEmpty":"Το όνομα πεδίου φόρμας δεν μπορεί να παραμείνει κενό.","mediaAnnotation":"Σχολιασμός πολυμέσων","mediaFormatNotSupported":"Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει ενσωματωμένο βίντεο ή ήχο.","distanceMeasurement":"Απόσταση","perimeterMeasurement":"Περίμετρος","polygonAreaMeasurement":"Εμβαδόν πολυγώνου","rectangularAreaMeasurement":"Εμβαδόν ορθογωνίου","ellipseAreaMeasurement":"Εμβαδόν έλλειψης","distanceMeasurementSettings":"Ρυθμίσεις μέτρησης απόστασης","perimeterMeasurementSettings":"Ρυθμίσεις μέτρησης περιμέτρου","polygonAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού πολυγώνου","rectangularAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού ορθογωνίου","ellipseAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού έλλειψης","measurementScale":"Κλίμακα","measurementCalibrateLength":"Βαθμονόμηση μήκους","measurementPrecision":"Ακρίβεια","measurementSnapping":"Κούμπωμα","formCreator":"Δημιουργία φόρμας","group":"Ομαδοποίηση","ungroup":"Κατάργηση ομαδοποίησης","bold":"Έντονα","italic":"Πλάγια","addLink":"Προσθήκη συνδέσμου","removeLink":"Αφαίρεση συνδέσμου","editLink":"Επεξεργασία συνδέσμου","anonymous":"Ανώνυμος","saveAndClose":"Αποθήκευση και κλείσιμο","ceToggleFontMismatchTooltip":"Εναλλαγή συμβουλής εργαλείου αναντιστοιχίας γραμματοσειράς","ceFontMismatch":"Η γραμματοσειρά {arg0} δεν είναι διαθέσιμη ή δεν μπορεί να χρησιμοποιηθεί για την επεξεργασία περιεχομένου σε αυτό το έγγραφο. Το περιεχόμενο που προστέθηκε ή άλλαξε θα επαναφερθεί σε μια προεπιλεγμένη γραμματοσειρά.","multiAnnotationsSelection":"Επιλογή πολλαπλών σχολιασμών","linkSettingsPopoverTitle":"Ρυθμίσεις συνδέσμου","linkTo":"Σύνδεσμος σε","uriLink":"Ιστότοπο","pageLink":"Σελίδα","invalidPageNumber":"Εισαγάγετε έγκυρο αριθμό σελίδας.","invalidPageLink":"Εισαγάγετε έγκυρο σύνδεσμο σελίδας.","linkAnnotation":"Σύνδεσμος","targetPageLink":"Αριθμός σελίδας","rotation":"Περιστροφή","unlockDocumentDescription":"Πρέπει να ξεκλειδώσετε αυτό το έγγραφο για να το προβάλετε. Εισαγάγετε το συνθηματικό στο παρακάτω πεδίο.","commentDialogClosed":"Άνοιγμα νήματος σχολίων που ξεκινάει με {arg0}: «{arg1}»","moreComments":"Περισσότερα σχόλια","setScale":"Ρύθμιση κλίμακας","useCalibrationTool":"Χρήση εργαλείου βαθμονόμησης","calibrateScale":"Κλίμακα βαθμονόμησης","unit":"Μονάδα","scaleAnnotationsDeleteWarning":"Αν διαγράψετε την κλίμακα, θα διαγραφούν και οι μετρήσεις που χρησιμοποιούν την κλίμακα.","halves":"Μισά ίντσας","quarters":"Τέταρτα ίντσας","eighths":"Όγδοα ίντσας","sixteenths":"Δέκατα έκτα ίντσας","addTextBox":"Προσθήκη πλαισίου κειμένου","deleteTextBlockConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το πλαίσιο κειμένου","deleteTextBlockConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής πλαισίου κειμένου","deleteTextBlockConfirmAccessibilityDescription":"Διάλογος που επιτρέπει στον χρήστη να επιβεβαιώνει ή να ακυρώνει τη διαγραφή του πλαισίου κειμένου","linesCount":"{arg0, plural,\\none {{arg0} γραμμή}\\nother {{arg0} γραμμές}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} σχόλιο}\\nother {{arg0} σχόλια}\\n=0 {Δεν υπάρχουν σχόλια}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} σελίδα επιλέχτηκε}\\nother {{arg0} σελίδες επιλέχτηκαν}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} σχολίου}\\nother {{arg0} σχολίων}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} σχολίου}\\nother {{arg0} σχολίων}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ακόμη σχόλιο}\\nother {{arg0} ακόμη σχόλια}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-24cb62dc4bad4487.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-24cb62dc4bad4487.js new file mode 100644 index 00000000..15c5e9fb --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-24cb62dc4bad4487.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1874],{70840:e=>{e.exports=JSON.parse('{"thumbnails":"Thumbnails","pageXofY":"Page {arg0} of {arg1}","XofY":"{arg0} of {arg1}","prevPage":"Previous Page","nextPage":"Next Page","goToPage":"Go to Page","gotoPageX":"Go to Page {arg0}","pageX":"Page {arg0}","pageLayout":"Page Layout","pageMode":"Page Mode","pageModeSingle":"Single","pageModeDouble":"Double","pageModeAutomatic":"Automatic","pageTransition":"Page Transition","pageTransitionContinuous":"Continuous","pageTransitionJump":"Jump","pageRotation":"Page Rotation","pageRotationLeft":"Rotate Left","pageRotationRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out","marqueeZoom":"Marquee Zoom","panMode":"Pan Mode","fitPage":"Fit Page","fitWidth":"Fit Width","annotations":"Annotations","noAnnotations":"No Annotations","bookmark":"Bookmark","bookmarks":"Bookmarks","noBookmarks":"No Bookmarks","newBookmark":"New Bookmark","addBookmark":"Add Bookmark","removeBookmark":"Remove Bookmark","loadingBookmarks":"Loading Bookmarks","deleteBookmarkConfirmMessage":"Are you sure you want to delete this bookmark?","deleteBookmarkConfirmAccessibilityLabel":"Confirm bookmark deletion","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Text","inkAnnotation":"Drawing","highlightAnnotation":"Text Highlight","underlineAnnotation":"Underline","squiggleAnnotation":"Squiggle","strikeOutAnnotation":"Strikethrough","print":"Print","printPrepare":"Preparing document for printing…","searchDocument":"Search Document","searchPreviousMatch":"Previous","searchNextMatch":"Next","searchResultOf":"{arg0} of {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} tools, toggle menu","save":"Save","edit":"Edit","delete":"Delete","close":"Close","cancel":"Cancel","ok":"OK","done":"Done","clear":"Clear","date":"Date","time":"Time","name":"Name","color":"Color","black":"Black","white":"White","blue":"Blue","red":"Red","green":"Green","orange":"Orange","lightOrange":"Light Orange","yellow":"Yellow","lightYellow":"Light Yellow","lightBlue":"Light Blue","lightRed":"Light Red","lightGreen":"Light Green","fuchsia":"Fuchsia","purple":"Purple","pink":"Pink","mauve":"Mauve","lightGrey":"Light Gray","grey":"Gray","darkGrey":"Dark Gray","noColor":"None","transparent":"Transparent","darkBlue":"Dark Blue","opacity":"Opacity","thickness":"Thickness","size":"Size","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonts","allFonts":"All Fonts","alignment":"Alignment","alignmentLeft":"Left","alignmentRight":"Right","alignmentCenter":"Center","verticalAlignment":"Vertical Alignment","horizontalAlignment":"Horizontal Alignment","top":"Top","bottom":"Bottom","deleteAnnotationConfirmMessage":"Are you sure you want to delete this annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirm annotation deletion","fontFamilyUnsupported":"{arg0} (not supported)","sign":"Sign","signed":"Signed","signatures":"Signatures","addSignature":"Add Signature","clearSignature":"Clear Signature","storeSignature":"Store Signature","pleaseSignHere":"Please sign here","signing":"Signing…","password":"Password","unlock":"Unlock","passwordRequired":"Password Required","unlockThisDocument":"You have to unlock this document in order to view it. Please enter the password in the field below.","incorrectPassword":"The password you entered isn’t correct. Please try again.","blendMode":"Blend Mode","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Line Style","dasharray":"Line Style","startLineCap":"Line Start","strokeDashArray":"Line Style","endLineCap":"Line End","lineAnnotation":"Line","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polyline","solid":"Solid","narrowDots":"Narrow Dots","wideDots":"Wide Dots","narrowDashes":"Narrow Dashes","wideDashes":"Wide Dashes","none":"None","square":"Square","circle":"Circle","diamond":"Diamond","openArrow":"Open Arrow","closedArrow":"Closed Arrow","butt":"Butt","reverseOpenArrow":"Reverse Open Arrow","reverseClosedArrow":"Reverse Closed Arrow","slash":"Slash","fillColor":"Fill Color","cloudy":"Cloudy","arrow":"Arrow","filePath":"File Path","unsupportedImageFormat":"Unsupported type for image annotation: {arg0}. Please use a JPEG or a PNG.","noOutline":"No Outline","outline":"Outline","imageAnnotation":"Image","selectImage":"Select Image","stampAnnotation":"Stamp","highlighter":"Freeform Highlight","textHighlighter":"Text Highlighter","pen":"Drawing","eraser":"Eraser","export":"Export","useAnExistingStampDesign":"Use an existing stamp design","createStamp":"Create Stamp","stampText":"Stamp Text","chooseColor":"Choose Color","rejected":"Rejected","accepted":"Accepted","approved":"Approved","notApproved":"Not Approved","draft":"Draft","final":"Final","completed":"Completed","confidential":"Confidential","forPublicRelease":"For Public Release","notForPublicRelease":"Not For Public Release","forComment":"For Comment","void":"Void","preliminaryResults":"Preliminary Results","informationOnly":"Information Only","initialHere":"Initial Here","signHere":"Sign Here","witness":"Witness","asIs":"As Is","departmental":"Departmental","experimental":"Experimental","expired":"Expired","sold":"Sold","topSecret":"Top Secret","revised":"Revised","custom":"Custom","customStamp":"Custom Stamp","icon":"Icon","iconRightPointer":"Right Pointer","iconRightArrow":"Right Arrow","iconCheck":"Checkmark","iconCircle":"Ellipse","iconCross":"Cross","iconInsert":"Insert Text","iconNewParagraph":"New Paragraph","iconNote":"Text Note","iconComment":"Comment","iconParagraph":"Paragraph","iconHelp":"Help","iconStar":"Star","iconKey":"Key","documentEditor":"Document Editor","newPage":"New Page","removePage":"Delete Pages","duplicatePage":"Duplicate","rotatePageLeft":"Rotate Left","rotatePageRight":"Rotate Right","moveBefore":"Move Before","moveAfter":"Move After","selectNone":"Select None","selectAll":"Select All","saveAs":"Save As…","mergeDocument":"Import Document","undo":"Undo","redo":"Redo","openMoveDialog":"Move","move":"Move","instantModifiedWarning":"The document was modified and is now in read-only mode. Reload the page to fix this.","documentMergedHere":"Document will be merged here","digitalSignaturesAllValid":"The document has been digitally signed and all signatures are valid.","digitalSignaturesDocModified":"The document has been digitally signed, but it has been modified since it was signed.","digitalSignaturesSignatureWarning":"The document has been digitally signed, but at least one signature has problems.","digitalSignaturesSignatureWarningDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.","digitalSignaturesSignatureError":"The document has been digitally signed, but at least one signature is invalid.","digitalSignaturesSignatureErrorDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.","signingInProgress":"Signing in progress","signingModalDesc":"Indicates that the current document is being signed","discardChanges":"Discard Changes","commentEditorLabel":"Add your comment…","reply":"Reply","comment":"Comment","comments":"Comments","showMore":"Show more","showLess":"Show less","deleteComment":"Delete Comment","deleteCommentConfirmMessage":"Are you sure you want to delete this comment?","deleteCommentConfirmAccessibilityLabel":"Confirm comment deletion","editContent":"Edit Content","commentOptions":"Comment Options","areaRedaction":"Area Redaction","textRedaction":"Text Redaction","redactionAnnotation":"Redaction","applyingRedactions":"Applying redactions","overlayTextPlaceholder":"Insert overlay text","outlineColor":"Outline Color","overlayText":"Overlay Text","repeatText":"Repeat Text","preview":"Preview","applyRedactions":"Apply Redactions","markupAnnotationToolbar":"Markup annotation toolbar","documentViewport":"Document viewport","redactionInProgress":"Redaction in progress","redactionModalDesc":"Indicates that the current document is being redacted","commentAction":"Comment","printProgressModalDesc":"Indicates that a document is being prepared for printing","printProgressModal":"Printing in progress","documentEditorDesc":"Make changes to the current document","reloadDocumentDialog":"Confirm document reload","reloadDocumentDialogDesc":"Dialog prompting the user to confirm reloading the document.","signatureDialog":"Signature","signatureDialogDesc":"This dialog lets you select an ink signature to insert into the document. If you don\'t have stored signatures, you can create one using the canvas view.","stampAnnotationTemplatesDialog":"Stamp Annotation Templates","stampAnnotationTemplatesDialogDesc":"This dialog lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.","selectedAnnotation":"Selected {arg0}","commentThread":"Comment thread","selectedAnnotationWithText":"Selected {arg0} with {arg1} as content","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Type Your Signature Above","ElectronicSignatures_SignHereDrawHint":"Sign Here","selectDragImage":"Select or Drag Image","replaceImage":"Replace Image","draw":"Draw","image":"Image","type":"Type","saveSignature":"Save Signature","loading":"Loading","selectedItem":"{arg0}, selected.","annotationDeleted":"Annotation deleted.","newAnnotationCreated":"New {arg0} annotation created.","bookmarkCreated":"Created bookmark.","bookmarkEdited":"Edited bookmark.","bookmarkDeleted":"Deleted bookmark.","cancelledEditingBookmark":"Canceled bookmark editing.","selectAFileForImage":"Select a file for the new image annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the annotation.","deleteBookmarkConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the bookmark.","deleteCommentConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the comment.","resize":"Resize","resizeHandleTop":"Top","resizeHandleBottom":"Bottom","resizeHandleRight":"Right","resizeHandleLeft":"Left","cropCurrentPage":"Crop Current Page","cropCurrent":"Crop Current","cropAllPages":"Crop All Pages","cropAll":"Crop All","documentCrop":"Document Crop","Comparison_alignButtonTouch":"Align","Comparison_selectPoint":"Select Point","Comparison_documentOldTouch":"Old","Comparison_documentNewTouch":"New","Comparison_result":"Comparison","UserHint_description":"Select three points on both documents for manual alignment. For best results, choose points near the corners of the documents, ensuring the points are in the same order on both documents.","UserHint_dismissMessage":"Dismiss","Comparison_alignButton":"Align Documents","documentComparison":"Document Comparison","Comparison_documentOld":"Old Document","Comparison_documentNew":"New Document","Comparison_resetButton":"Reset","UserHint_Select":"Selecting Points","numberValidationBadFormat":"The value entered doesn’t match the format of the field [{arg0}]","dateValidationBadFormat":"Invalid date/time: Please ensure that the date/time exists. Field [{arg0}] should match format {arg1}","insertAfterPage":"Insert after page","docEditorMoveBeginningHint":"Type “0” to move the selected page(s) to the beginning of the document.","cloudyRectangleAnnotation":"Cloudy Rectangle","dashedRectangleAnnotation":"Dashed Rectangle","cloudyEllipseAnnotation":"Cloudy Ellipse","dashedEllipseAnnotation":"Dashed Ellipse","cloudyPolygonAnnotation":"Cloudy Polygon","dashedPolygonAnnotation":"Dashed Polygon","cloudAnnotation":"Cloud","rotateCounterclockwise":"Rotate counterclockwise","rotateClockwise":"Rotate clockwise","enterDescriptionHere":"Enter description here","addOption":"Add option","formDesignerPopoverTitle":"{formFieldType} Properties","formFieldNameExists":"A form field named {formFieldName} already exists. Please choose a different name.","styleSectionLabel":"{formFieldType} Style","formFieldName":"Form Field Name","defaultValue":"Default Value","multiLine":"Multiline","radioButtonFormFieldNameWarning":"To group the radio buttons, make sure they have the same form field names.","advanced":"Advanced","creatorName":"Creator Name","note":"Note","customData":"Custom Data","required":"Required","readOnly":"Read Only","createdAt":"Created At","updatedAt":"Updated At","customDataErrorMessage":"Must be a plain JSON-serializable object","borderColor":"Border Color","borderWidth":"Border Width","borderStyle":"Border Style","solidBorder":"Solid","dashed":"Dashed","beveled":"Beveled","inset":"Inset","underline":"Underlined","textStyle":"Text Style","fontSize":"Font Size","fontColor":"Font Color","button":"Button Field","textField":"Text Field","radioField":"Radio Field","checkboxField":"Checkbox Field","comboBoxField":"Combo Box Field","listBoxField":"List Box Field","signatureField":"Signature Field","formDesigner":"Form Creator","buttonText":"Button Text","notAvailable":"N/A","label":"Label","value":"Value","cannotEditOnceCreated":"Cannot be edited once created.","formFieldNameNotEmpty":"Form field name cannot be left empty.","mediaAnnotation":"Media Annotation","mediaFormatNotSupported":"This browser doesn’t support embedded video or audio.","distanceMeasurement":"Distance","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Polygon Area","rectangularAreaMeasurement":"Rectangle Area","ellipseAreaMeasurement":"Ellipse Area","distanceMeasurementSettings":"Distance Measurement Settings","perimeterMeasurementSettings":"Perimeter Measurement Settings","polygonAreaMeasurementSettings":"Polygon Area Measurement Settings","rectangularAreaMeasurementSettings":"Rectangle Area Measurement Settings","ellipseAreaMeasurementSettings":"Ellipse Area Measurement Settings","measurementScale":"Scale","measurementCalibrateLength":"Calibrate Length","measurementPrecision":"Precision","measurementSnapping":"Snapping","formCreator":"Form Creator","group":"Group","ungroup":"Ungroup","bold":"Bold","italic":"Italic","addLink":"Add Link","removeLink":"Remove Link","editLink":"Edit Link","anonymous":"Anonymous","saveAndClose":"Save & Close","ceToggleFontMismatchTooltip":"Toggle font mismatch tooltip","ceFontMismatch":"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.","multiAnnotationsSelection":"Select Multiple Annotations","linkSettingsPopoverTitle":"Link Settings","linkTo":"Link To","uriLink":"Website","pageLink":"Page","invalidPageNumber":"Enter a valid page number.","invalidPageLink":"Enter a valid page link.","linkAnnotation":"Link","targetPageLink":"Page Number","rotation":"Rotation","unlockDocumentDescription":"You have to unlock this document to view it. Please enter the password in the field below.","commentDialogClosed":"Open comment thread started by {arg0}: “{arg1}”","moreComments":"More comments","setScale":"Set Scale","useCalibrationTool":"Use Calibration Tool","calibrateScale":"Calibrate Scale","unit":"Unit","scaleAnnotationsDeleteWarning":"Deleting the scale will also delete measurements using the scale.","halves":"Half Inches","quarters":"Quarter Inches","eighths":"Eighths of an Inch","sixteenths":"Sixteenths of an Inch","addTextBox":"Add Text Box","deleteTextBlockConfirmMessage":"Are you sure you want to delete this text box?","deleteTextBlockConfirmAccessibilityLabel":"Confirm text box deletion","deleteTextBlockConfirmAccessibilityDescription":"Dialog allowing the user to confirm or cancel deleting the text box","linesCount":"{arg0, plural,\\none {{arg0} Line}\\nother {{arg0} Lines}\\n}","annotationsCount":"{arg0, plural,\\n=0 {No Annotations}\\none {{arg0} Annotation}\\nother {{arg0} Annotations}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Page Selected}\\nother {{arg0} Pages Selected}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comment}\\nother {{arg0} comments}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comment}\\nother {{arg0} Comments}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} more comment}\\nother {{arg0} more comments}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-GB-4e3b84cb97e44b85.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-GB-4e3b84cb97e44b85.js new file mode 100644 index 00000000..a6220543 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-en-GB-4e3b84cb97e44b85.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6045],{29207:e=>{e.exports=JSON.parse('{"thumbnails":"Thumbnails","pageXofY":"Page {arg0} of {arg1}","XofY":"{arg0} of {arg1}","prevPage":"Previous Page","nextPage":"Next Page","goToPage":"Go to Page","gotoPageX":"Go to Page {arg0}","pageX":"Page {arg0}","pageLayout":"Page Layout","pageMode":"Page Mode","pageModeSingle":"Single","pageModeDouble":"Double","pageModeAutomatic":"Automatic","pageTransition":"Page Transition","pageTransitionContinuous":"Continuous","pageTransitionJump":"Jump","pageRotation":"Page Rotation","pageRotationLeft":"Rotate Left","pageRotationRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out","marqueeZoom":"Marquee Zoom","panMode":"Pan Mode","fitPage":"Fit Page","fitWidth":"Fit Width","annotations":"Annotations","noAnnotations":"No Annotations","bookmark":"Bookmark","bookmarks":"Bookmarks","noBookmarks":"No Bookmarks","newBookmark":"New Bookmark","addBookmark":"Add Bookmark","removeBookmark":"Remove Bookmark","loadingBookmarks":"Loading Bookmarks","deleteBookmarkConfirmMessage":"Are you sure you want to delete this bookmark?","deleteBookmarkConfirmAccessibilityLabel":"Confirm bookmark deletion","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Text","inkAnnotation":"Drawing","highlightAnnotation":"Text Highlight","underlineAnnotation":"Underline","squiggleAnnotation":"Squiggle","strikeOutAnnotation":"Strikethrough","print":"Print","printPrepare":"Preparing document for printing…","searchDocument":"Search Document","searchPreviousMatch":"Previous","searchNextMatch":"Next","searchResultOf":"{arg0} of {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} tools, toggle menu","save":"Save","edit":"Edit","delete":"Delete","close":"Close","cancel":"Cancel","ok":"OK","done":"Done","clear":"Clear","date":"Date","time":"Time","name":"Name","color":"Colour","black":"Black","white":"White","blue":"Blue","red":"Red","green":"Green","orange":"Orange","lightOrange":"Light Orange","yellow":"Yellow","lightYellow":"Light Yellow","lightBlue":"Light Blue","lightRed":"Light Red","lightGreen":"Light Green","fuchsia":"Fuchsia","purple":"Purple","pink":"Pink","mauve":"Mauve","lightGrey":"Light Grey","grey":"Gray","darkGrey":"Dark Grey","noColor":"None","transparent":"Transparent","darkBlue":"Dark Blue","opacity":"Opacity","thickness":"Thickness","size":"Size","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonts","allFonts":"All Fonts","alignment":"Alignment","alignmentLeft":"Left","alignmentRight":"Right","alignmentCenter":"Centre","verticalAlignment":"Vertical Alignment","horizontalAlignment":"Horizontal Alignment","top":"Top","bottom":"Bottom","deleteAnnotationConfirmMessage":"Are you sure you want to delete this annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirm annotation deletion","fontFamilyUnsupported":"{arg0} (not supported)","sign":"Sign","signed":"Signed","signatures":"Signatures","addSignature":"Add Signature","clearSignature":"Clear Signature","storeSignature":"Store Signature","pleaseSignHere":"Please sign here","signing":"Signing…","password":"Password","unlock":"Unlock","passwordRequired":"Password Required","unlockThisDocument":"You have to unlock this document in order to view it. Please enter the password in the field below.","incorrectPassword":"The password you entered isn’t correct. Please try again.","blendMode":"Blend Mode","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Colour Dodge","colorBurn":"Colour Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Line Style","dasharray":"Line Style","startLineCap":"Line Start","strokeDashArray":"Line Style","endLineCap":"Line End","lineAnnotation":"Line","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polyline","solid":"Solid","narrowDots":"Narrow Dots","wideDots":"Wide Dots","narrowDashes":"Narrow Dashes","wideDashes":"Wide Dashes","none":"None","square":"Square","circle":"Circle","diamond":"Diamond","openArrow":"Open Arrow","closedArrow":"Closed Arrow","butt":"Butt","reverseOpenArrow":"Reverse Open Arrow","reverseClosedArrow":"Reverse Closed Arrow","slash":"Slash","fillColor":"Fill Colour","cloudy":"Cloudy","arrow":"Arrow","filePath":"File Path","unsupportedImageFormat":"Unsupported type for image annotation: {arg0}. Please use a JPEG or a PNG.","noOutline":"No Outline","outline":"Outline","imageAnnotation":"Image","selectImage":"Select Image","stampAnnotation":"Stamp","highlighter":"Freeform Highlight","textHighlighter":"Text Highlighter","pen":"Drawing","eraser":"Eraser","export":"Export","useAnExistingStampDesign":"Use an existing stamp design","createStamp":"Create Stamp","stampText":"Stamp Text","chooseColor":"Choose Colour","rejected":"Rejected","accepted":"Accepted","approved":"Approved","notApproved":"Not Approved","draft":"Draft","final":"Final","completed":"Completed","confidential":"Confidential","forPublicRelease":"For Public Release","notForPublicRelease":"Not For Public Release","forComment":"For Comment","void":"Void","preliminaryResults":"Preliminary Results","informationOnly":"Information Only","initialHere":"Initial Here","signHere":"Sign Here","witness":"Witness","asIs":"As Is","departmental":"Departmental","experimental":"Experimental","expired":"Expired","sold":"Sold","topSecret":"Top Secret","revised":"Revised","custom":"Custom","customStamp":"Custom Stamp","icon":"Icon","iconRightPointer":"Right Pointer","iconRightArrow":"Right Arrow","iconCheck":"Checkmark","iconCircle":"Ellipse","iconCross":"Cross","iconInsert":"Insert Text","iconNewParagraph":"New Paragraph","iconNote":"Text Note","iconComment":"Comment","iconParagraph":"Paragraph","iconHelp":"Help","iconStar":"Star","iconKey":"Key","documentEditor":"Document Editor","newPage":"New Page","removePage":"Delete Pages","duplicatePage":"Duplicate","rotatePageLeft":"Rotate Left","rotatePageRight":"Rotate Right","moveBefore":"Move Before","moveAfter":"Move After","selectNone":"Select None","selectAll":"Select All","saveAs":"Save As…","mergeDocument":"Import Document","undo":"Undo","redo":"Redo","openMoveDialog":"Move","move":"Move","instantModifiedWarning":"The document was modified and is now in read-only mode. Reload the page to fix this.","documentMergedHere":"Document will be merged here","digitalSignaturesAllValid":"The document has been digitally signed and all signatures are valid.","digitalSignaturesDocModified":"The document has been digitally signed, but it has been modified since it was signed.","digitalSignaturesSignatureWarning":"The document has been digitally signed, but at least one signature has problems.","digitalSignaturesSignatureWarningDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.","digitalSignaturesSignatureError":"The document has been digitally signed, but at least one signature is invalid.","digitalSignaturesSignatureErrorDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.","signingInProgress":"Signing in progress","signingModalDesc":"Indicates that the current document is being signed","discardChanges":"Discard Changes","commentEditorLabel":"Add your comment…","reply":"Reply","comment":"Comment","comments":"Comments","showMore":"Show more","showLess":"Show less","deleteComment":"Delete Comment","deleteCommentConfirmMessage":"Are you sure you want to delete this comment?","deleteCommentConfirmAccessibilityLabel":"Confirm comment deletion","editContent":"Edit Content","commentOptions":"Comment Options","areaRedaction":"Area Redaction","textRedaction":"Text Redaction","redactionAnnotation":"Redaction","applyingRedactions":"Applying redactions","overlayTextPlaceholder":"Insert overlay text","outlineColor":"Outline Colour","overlayText":"Overlay Text","repeatText":"Repeat Text","preview":"Preview","applyRedactions":"Apply Redactions","markupAnnotationToolbar":"Markup annotation toolbar","documentViewport":"Document viewport","redactionInProgress":"Redaction in progress","redactionModalDesc":"Indicates that the current document is being redacted","commentAction":"Comment","printProgressModalDesc":"Indicates that a document is being prepared for printing","printProgressModal":"Printing in progress","documentEditorDesc":"Make changes to the current document","reloadDocumentDialog":"Confirm document reload","reloadDocumentDialogDesc":"Dialogue prompting the user to confirm reloading the document.","signatureDialog":"Signature","signatureDialogDesc":"This dialogue lets you select an ink signature to insert into the document. If you don\'t have stored signatures, you can create one using the canvas view.","stampAnnotationTemplatesDialog":"Stamp Annotation Templates","stampAnnotationTemplatesDialogDesc":"This dialogue lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.","selectedAnnotation":"Selected {arg0}","commentThread":"Comment thread","selectedAnnotationWithText":"Selected {arg0} with {arg1} as content","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Type Your Signature Above","ElectronicSignatures_SignHereDrawHint":"Sign Here","selectDragImage":"Select or Drag Image","replaceImage":"Replace Image","draw":"Draw","image":"Image","type":"Type","saveSignature":"Save Signature","loading":"Loading","selectedItem":"{arg0}, selected.","annotationDeleted":"Annotation deleted.","newAnnotationCreated":"New {arg0} annotation created.","bookmarkCreated":"Created bookmark.","bookmarkEdited":"Edited bookmark.","bookmarkDeleted":"Deleted bookmark.","cancelledEditingBookmark":"Cancelled bookmark editing.","selectAFileForImage":"Select a file for the new image annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the annotation.","deleteBookmarkConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the bookmark.","deleteCommentConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the comment.","resize":"Resize","resizeHandleTop":"Top","resizeHandleBottom":"Bottom","resizeHandleRight":"Right","resizeHandleLeft":"Left","cropCurrentPage":"Crop Current Page","cropCurrent":"Crop Current","cropAllPages":"Crop All Pages","cropAll":"Crop All","documentCrop":"Document Crop","Comparison_alignButtonTouch":"Align","Comparison_selectPoint":"Select Point","Comparison_documentOldTouch":"Old","Comparison_documentNewTouch":"New","Comparison_result":"Comparison","UserHint_description":"Select three points on both documents for manual alignment. For best results, choose points near the corners of the documents, ensuring the points are in the same order on both documents.","UserHint_dismissMessage":"Dismiss","Comparison_alignButton":"Align Documents","documentComparison":"Document Comparison","Comparison_documentOld":"Old Document","Comparison_documentNew":"New Document","Comparison_resetButton":"Reset","UserHint_Select":"Selecting Points","numberValidationBadFormat":"The value entered doesn’t match the format of the field [{arg0}]","dateValidationBadFormat":"Invalid date/time: Please ensure that the date/time exists. Field [{arg0}] should match format {arg1}","insertAfterPage":"Insert after page","docEditorMoveBeginningHint":"Type “0” to move the selected page(s) to the beginning of the document.","cloudyRectangleAnnotation":"Cloudy Rectangle","dashedRectangleAnnotation":"Dashed Rectangle","cloudyEllipseAnnotation":"Cloudy Ellipse","dashedEllipseAnnotation":"Dashed Ellipse","cloudyPolygonAnnotation":"Cloudy Polygon","dashedPolygonAnnotation":"Dashed Polygon","cloudAnnotation":"Cloud","rotateCounterclockwise":"Rotate anticlockwise","rotateClockwise":"Rotate clockwise","enterDescriptionHere":"Enter description here","addOption":"Add option","formDesignerPopoverTitle":"{formFieldType} Properties","formFieldNameExists":"A form field named {formFieldName} already exists. Please choose a different name.","styleSectionLabel":"{formFieldType} Style","formFieldName":"Form Field Name","defaultValue":"Default Value","multiLine":"Multiline","radioButtonFormFieldNameWarning":"To group the radio buttons, make sure they have the same form field names.","advanced":"Advanced","creatorName":"Creator Name","note":"Note","customData":"Custom Data","required":"Required","readOnly":"Read Only","createdAt":"Created At","updatedAt":"Updated At","customDataErrorMessage":"Must be a plain JSON-serializable object","borderColor":"Border Colour","borderWidth":"Border Width","borderStyle":"Border Style","solidBorder":"Solid","dashed":"Dashed","beveled":"Beveled","inset":"Inset","underline":"Underlined","textStyle":"Text Style","fontSize":"Font Size","fontColor":"Font Colour","button":"Button Field","textField":"Text Field","radioField":"Radio Field","checkboxField":"Checkbox Field","comboBoxField":"Combo Box Field","listBoxField":"List Box Field","signatureField":"Signature Field","formDesigner":"Form Creator","buttonText":"Button Text","notAvailable":"N/A","label":"Label","value":"Value","cannotEditOnceCreated":"Cannot be edited once created.","formFieldNameNotEmpty":"Form field name cannot be left empty.","mediaAnnotation":"Media Annotation","mediaFormatNotSupported":"This browser doesn’t support embedded video or audio.","distanceMeasurement":"Distance","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Polygon Area","rectangularAreaMeasurement":"Rectangle Area","ellipseAreaMeasurement":"Ellipse Area","distanceMeasurementSettings":"Distance Measurement Settings","perimeterMeasurementSettings":"Perimeter Measurement Settings","polygonAreaMeasurementSettings":"Polygon Area Measurement Settings","rectangularAreaMeasurementSettings":"Rectangle Area Measurement Settings","ellipseAreaMeasurementSettings":"Ellipse Area Measurement Settings","measurementScale":"Scale","measurementCalibrateLength":"Calibrate Length","measurementPrecision":"Precision","measurementSnapping":"Snapping","formCreator":"Form Creator","group":"Group","ungroup":"Ungroup","bold":"Bold","italic":"Italic","addLink":"Add Link","removeLink":"Remove Link","editLink":"Edit Link","anonymous":"Anonymous","saveAndClose":"Save & Close","ceToggleFontMismatchTooltip":"Toggle font mismatch tooltip","ceFontMismatch":"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.","multiAnnotationsSelection":"Select Multiple Annotations","linkSettingsPopoverTitle":"Link Settings","linkTo":"Link To","uriLink":"Website","pageLink":"Page","invalidPageNumber":"Enter a valid page number.","invalidPageLink":"Enter a valid page link.","linkAnnotation":"Link","targetPageLink":"Page Number","rotation":"Rotation","unlockDocumentDescription":"You have to unlock this document to view it. Please enter the password in the field below.","commentDialogClosed":"Open comment thread started by {arg0}: \\\\“{arg1}\\\\”","moreComments":"More comments","setScale":"Set Scale","useCalibrationTool":"Use Calibration Tool","calibrateScale":"Calibrate Scale","unit":"Unit","scaleAnnotationsDeleteWarning":"Deleting the scale will also delete measurements using the scale.","halves":"Half Inches","quarters":"Quarter Inches","eighths":"Eighths of an Inch","sixteenths":"Sixteenths of an Inch","addTextBox":"Add Text Box","deleteTextBlockConfirmMessage":"Are you sure you want to delete this text box?","deleteTextBlockConfirmAccessibilityLabel":"Confirm text box deletion","deleteTextBlockConfirmAccessibilityDescription":"Dialogue allowing the user to confirm or cancel deleting the text box","linesCount":"{arg0, plural,\\none {{arg0} Line}\\nother {{arg0} Lines}\\n}","annotationsCount":"{arg0, plural,\\n=0 {No Annotations}\\none {{arg0} Annotation}\\nother {{arg0} Annotations}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Page Selected}\\nother {{arg0} Pages Selected}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comment}\\nother {{arg0} comments}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comment}\\nother {{arg0} Comments}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} more comment}\\nother {{arg0} more comments}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-es-10bc29ef512b9227.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-es-10bc29ef512b9227.js new file mode 100644 index 00000000..cf73122d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-es-10bc29ef512b9227.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[473],{59657:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página anterior","nextPage":"Página siguiente","goToPage":"Ir a la página","gotoPageX":"Ir a la página {arg0}","pageX":"Página {arg0}","pageLayout":"Presentación de página","pageMode":"Modo de página","pageModeSingle":"Individual","pageModeDouble":"Doble","pageModeAutomatic":"Automático","pageTransition":"Transición de página","pageTransitionContinuous":"Continuo","pageTransitionJump":"Salto","pageRotation":"Giro de página","pageRotationLeft":"Girar a la izquierda","pageRotationRight":"Girar a la derecha","zoomIn":"Acercar","zoomOut":"Alejar","marqueeZoom":"Zoom con marco","panMode":"Modo de arrastre","fitPage":"Encajar página","fitWidth":"Encajar ancho","annotations":"Anotaciones","noAnnotations":"No hay anotaciones","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"No hay marcadores","newBookmark":"Nuevo marcador","addBookmark":"Añadir marcador","removeBookmark":"Eliminar marcador","loadingBookmarks":"Cargando marcadores","deleteBookmarkConfirmMessage":"¿Seguro que desea eliminar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirmar eliminación de marcador","annotation":"Anotación","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Dibujo","highlightAnnotation":"Resaltado de texto","underlineAnnotation":"Subrayado","squiggleAnnotation":"Garabato","strikeOutAnnotation":"Tachado","print":"Imprimir","printPrepare":"Preparando documento para imprimir…","searchDocument":"Buscar en documento","searchPreviousMatch":"Anterior","searchNextMatch":"Siguiente","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} herramientas, conmutar menú","save":"Guardar","edit":"Editar","delete":"Eliminar","close":"Cerrar","cancel":"Cancelar","ok":"Aceptar","done":"OK","clear":"Borrar","date":"Fecha","time":"Hora","name":"Nombre","color":"Color","black":"Negro","white":"Blanco","blue":"Azul","red":"Rojo","green":"Verde","orange":"Naranja","lightOrange":"Naranja claro","yellow":"Amarillo","lightYellow":"Amarillo claro","lightBlue":"Azul claro","lightRed":"Rojo claro","lightGreen":"Verde claro","fuchsia":"Fucsia","purple":"Violeta","pink":"Rosa","mauve":"Malva","lightGrey":"Gris claro","grey":"Gris","darkGrey":"Gris oscuro","noColor":"Ninguna","transparent":"Transparente","darkBlue":"Azul oscuro","opacity":"Opacidad","thickness":"Grosor","size":"Tamaño","numberInPt":"{arg0} pt","font":"Tipo de letra","fonts":"Tipos de letra","allFonts":"Todos los tipos de letra","alignment":"Alineación","alignmentLeft":"Izquierda","alignmentRight":"Derecha","alignmentCenter":"Centrar","verticalAlignment":"Alineación vertical","horizontalAlignment":"Alineación horizontal","top":"Arriba","bottom":"Abajo","deleteAnnotationConfirmMessage":"¿Seguro que desea eliminar esta anotación?","deleteAnnotationConfirmAccessibilityLabel":"Confirmar eliminación de anotación","fontFamilyUnsupported":"{arg0} (no admitido)","sign":"Firmar","signed":"Firmado","signatures":"Firmas","addSignature":"Añadir firma","clearSignature":"Borrar firma","storeSignature":"Almacenar firma","pleaseSignHere":"Firme aquí","signing":"Firmando…","password":"Contraseña","unlock":"Desbloquear","passwordRequired":"Contraseña obligatoria","unlockThisDocument":"Debe desbloquear este documento para verlo. Por favor, escriba la contraseña en el campo de abajo.","incorrectPassword":"La contraseña introducida no es correcta. Vuelva a intentarlo.","blendMode":"Modo de fusión","normal":"Normal","multiply":"Multiplicar","screenBlend":"Trama","overlay":"Superponer","darken":"Oscurecer","lighten":"Aclarar","colorDodge":"Sobreexponer color","colorBurn":"Subexponer color","hardLight":"Luz fuerte","softLight":"Luz suave","difference":"Diferencia","exclusion":"Exclusión","multiple":"Varios","linecaps-dasharray":"Estilo de línea","dasharray":"Estilo de línea","startLineCap":"Inicio","strokeDashArray":"Estilo de línea","endLineCap":"Fin de línea","lineAnnotation":"Línea","rectangleAnnotation":"Rectángulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Polilínea","solid":"Sólido","narrowDots":"Puntos estrechos","wideDots":"Puntos anchos","narrowDashes":"Rayas estrechas","wideDashes":"Rayas anchas","none":"Ninguna","square":"Cuadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Flecha abierta","closedArrow":"Flecha cerrada","butt":"Romo","reverseOpenArrow":"Flecha abierta invertida","reverseClosedArrow":"Flecha cerrada invertida","slash":"Barra","fillColor":"Color de relleno","cloudy":"Nube","arrow":"Flecha","filePath":"Ruta del archivo","unsupportedImageFormat":"Tipo no admitido para anotaciones de imagen: {arg0}. Use una imagen JPEG o PNG.","noOutline":"Sin contorno","outline":"Contorno","imageAnnotation":"Imagen","selectImage":"Seleccionar imagen","stampAnnotation":"Sello","highlighter":"Resaltado libre","textHighlighter":"Resaltar texto","pen":"Dibujo","eraser":"Borrador","export":"Exportar","useAnExistingStampDesign":"Usar un diseño de sello existente","createStamp":"Crear sello","stampText":"Texto del sello","chooseColor":"Seleccionar color","rejected":"Rechazado","accepted":"Aceptado","approved":"Aprobado","notApproved":"No aprobado","draft":"Borrador","final":"Definitivo","completed":"Completado","confidential":"Confidencial","forPublicRelease":"Para divulgar","notForPublicRelease":"No divulgar","forComment":"Añadir comentario","void":"Nulo","preliminaryResults":"Resultados preliminares","informationOnly":"Solo informativo","initialHere":"Iniciales aquí","signHere":"Firmar aquí","witness":"Testigo","asIs":"Tal cual","departmental":"Departamental","experimental":"Experimental","expired":"Caducado","sold":"Vendido","topSecret":"Top Secret","revised":"Revisado","custom":"Personalizado","customStamp":"Sello personalizado","icon":"Icono","iconRightPointer":"Puntero derecho","iconRightArrow":"Flecha derecha","iconCheck":"Marca de verificación","iconCircle":"Elipse","iconCross":"Cruz","iconInsert":"Insertar texto","iconNewParagraph":"Nuevo párrafo","iconNote":"Nota de texto","iconComment":"Comentario","iconParagraph":"Párrafo","iconHelp":"Ayuda","iconStar":"Estrella","iconKey":"Clave","documentEditor":"Editor de documentos","newPage":"Nueva página","removePage":"Eliminar páginas","duplicatePage":"Duplicar","rotatePageLeft":"Girar a la izquierda","rotatePageRight":"Girar a la derecha","moveBefore":"Mover atrás","moveAfter":"Mover adelante","selectNone":"No seleccionar nada","selectAll":"Seleccionar todo","saveAs":"Guardar como…","mergeDocument":"Importar documento","undo":"Deshacer","redo":"Rehacer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"El documento se ha modificado y ahora está en modo de solo lectura. Recargue la página para corregir esto.","documentMergedHere":"El documento se combinará aquí","digitalSignaturesAllValid":"El documento se ha firmado digitalmente y todas las firmas son válidas.","digitalSignaturesDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara.","digitalSignaturesSignatureWarning":"El documento se ha firmado digitalmente, pero hay problemas al menos con una firma.","digitalSignaturesSignatureWarningDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara y hay problemas al menos con una firma.","digitalSignaturesSignatureError":"El documento se ha firmado digitalmente, pero al menos una firma no es válida.","digitalSignaturesSignatureErrorDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara y al menos una firma no es válida.","signingInProgress":"Firma en curso","signingModalDesc":"Indica que el documento actual se está firmando","discardChanges":"Descartar cambios","commentEditorLabel":"Escriba la respuesta…","reply":"Responder","comment":"Comentario","comments":"Comentarios","showMore":"Ver más","showLess":"Ver menos","deleteComment":"Eliminar comentario","deleteCommentConfirmMessage":"¿Seguro que desea eliminar este comentario?","deleteCommentConfirmAccessibilityLabel":"Confirmar eliminación de comentario","editContent":"Editar contenido","commentOptions":"Opciones de comentario","areaRedaction":"Censura de zona","textRedaction":"Censura de texto","redactionAnnotation":"Censura","applyingRedactions":"Aplicando censuras","overlayTextPlaceholder":"Insertar texto superpuesto","outlineColor":"Color de contorno","overlayText":"Superponer texto","repeatText":"Repetir texto","preview":"Previsualizar","applyRedactions":"Aplicar censuras","markupAnnotationToolbar":"Barra de herramientas de anotaciones","documentViewport":"Ventanilla de documento","redactionInProgress":"Censurado en curso","redactionModalDesc":"Indica que el documento actual se está censurando","commentAction":"Comentar","printProgressModalDesc":"Indica que un documento se está preparando para imprimir","printProgressModal":"Impresión en curso","documentEditorDesc":"Hacer cambios al documento actual","reloadDocumentDialog":"Confirmar recarga del documento","reloadDocumentDialogDesc":"Diálogo que pide al usuario que confirme si se debe recargar el documento.","signatureDialog":"Firma","signatureDialogDesc":"Este diálogo permite seleccionar una firma manual para insertar la en el documento. Si no tiene almacenada ninguna firma manual, puede crear una usando la vista del lienzo.","stampAnnotationTemplatesDialog":"Plantillas de sellos de anotación","stampAnnotationTemplatesDialogDesc":"Este diálogo permite seleccionar un sello de anotación para insertarlo en el documento, o bien crear un sello de anotación personalizado con su propio texto.","selectedAnnotation":"Se ha seleccionado {arg0}","commentThread":"Hilo de comentarios","selectedAnnotationWithText":"Se ha seleccionado {arg0} con {arg1} como contenido","signature":"Firma","ElectronicSignatures_SignHereTypeHint":"Escriba su firma arriba","ElectronicSignatures_SignHereDrawHint":"Firmar aquí","selectDragImage":"Seleccione o arrastre una imagen","replaceImage":"Reemplazar imagen","draw":"Dibujar","image":"Imagen","type":"Escribir","saveSignature":"Guardar firma","loading":"Cargando","selectedItem":"{arg0}, seleccionado.","annotationDeleted":"Anotación eliminada.","newAnnotationCreated":"Nueva anotación de {arg0} creada.","bookmarkCreated":"El marcador se ha creado.","bookmarkEdited":"El marcador se ha editado.","bookmarkDeleted":"El marcador se ha elimiado.","cancelledEditingBookmark":"Se ha cancelado la edición del marcador.","selectAFileForImage":"Seleccione un archivo para la nueva anotación de imagen.","deleteAnnotationConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación de la anotación.","deleteBookmarkConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación del marcador.","deleteCommentConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación del comentario.","resize":"Redimensionar","resizeHandleTop":"Superior","resizeHandleBottom":"Inferior","resizeHandleRight":"Derecho","resizeHandleLeft":"Izquierdo","cropCurrentPage":"Recortar página actual","cropCurrent":"Recortar actual","cropAllPages":"Recortar todas las páginas","cropAll":"Recortar todas","documentCrop":"Recortar documento","Comparison_alignButtonTouch":"Alinear","Comparison_selectPoint":"Seleccionar punto","Comparison_documentOldTouch":"Antiguo","Comparison_documentNewTouch":"Nuevo","Comparison_result":"Comparativa","UserHint_description":"Seleccione tres puntos en ambos documentos para alinearlos manualmente. Para obtener un resultado óptimo, seleccione tres puntos próximos a las esquinas de los documentos y hágalo en el mismo orden en ambos documentos.","UserHint_dismissMessage":"Descartar","Comparison_alignButton":"Alinear documentos","documentComparison":"Comparar documentos","Comparison_documentOld":"Documento antiguo","Comparison_documentNew":"Nuevo documento","Comparison_resetButton":"Restablecer","UserHint_Select":"Selección de puntos","numberValidationBadFormat":"El valor introducido no coincide con el formato del campo [{arg0}]","dateValidationBadFormat":"Fecha/hora no válidas: compruebe que la fecha/hora existen. El campo [{arg0}] debe tener el formato {arg1}","insertAfterPage":"Insertar tras la página","docEditorMoveBeginningHint":"Escriba «0» para mover las páginas seleccionadas al principio del documento.","cloudyRectangleAnnotation":"Rectángulo de nube","dashedRectangleAnnotation":"Rectángulo discontinuo","cloudyEllipseAnnotation":"Elipse de nube","dashedEllipseAnnotation":"Elipse discontinua","cloudyPolygonAnnotation":"Polígono de nube","dashedPolygonAnnotation":"Polígono discontinuo","cloudAnnotation":"Nube","rotateCounterclockwise":"Girar a la izquierda","rotateClockwise":"Girar a la derecha","enterDescriptionHere":"Escriba aquí la descripción","addOption":"Añadir opción","formDesignerPopoverTitle":"Propiedades de {formFieldType}","formFieldNameExists":"Ya hay un campo de formulario con el nombre {formFieldName}. Seleccione otro nombre.","styleSectionLabel":"Stilo de {formFieldType}","formFieldName":"Nombre de campo de formulario","defaultValue":"Valor predeterminado","multiLine":"Varias líneas","radioButtonFormFieldNameWarning":"Para agrupar los selectores de opción, deben tener el mismo nombre de campo de formulario.","advanced":"Avanzado","creatorName":"Nombre de creador","note":"Nota","customData":"Datos personalizados","required":"Obligatorio","readOnly":"Solo lectura","createdAt":"Creado el","updatedAt":"Actualizado el","customDataErrorMessage":"Debe ser un objeto sencillo serializable por JSON","borderColor":"Color de borde","borderWidth":"Grosor de borde","borderStyle":"Estilo de borde","solidBorder":"Continuo","dashed":"Discontinuo","beveled":"Biselado","inset":"Interior","underline":"Subrayado","textStyle":"Estilo de texto","fontSize":"Tamaño","fontColor":"Color","button":"Campo botón","textField":"Campo de texto","radioField":"Campo de selector","checkboxField":"Campo de casilla de verificación","comboBoxField":"Campo de cuadro combinado","listBoxField":"Campo de cuadro de lista","signatureField":"Campo de firma","formDesigner":"Creador de formularios","buttonText":"Texto de botón","notAvailable":"n/d","label":"Etiqueta","value":"Valor","cannotEditOnceCreated":"No se puede editar después de haberlo creado.","formFieldNameNotEmpty":"El nombre del campo de formulario no puede quedar vacío.","mediaAnnotation":"Anotación multimedia","mediaFormatNotSupported":"Este navegador no es compatible con el audio ni el vídeo incrustado.","distanceMeasurement":"Distancia","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Superficie de polígono","rectangularAreaMeasurement":"Superficie de rectángulo","ellipseAreaMeasurement":"Superficie de elipse","distanceMeasurementSettings":"Opciones de medición de distancia","perimeterMeasurementSettings":"Opciones de medición de perímetro","polygonAreaMeasurementSettings":"Opciones de medición de área de polígono","rectangularAreaMeasurementSettings":"Opciones de medición de área de rectángulo","ellipseAreaMeasurementSettings":"Opciones de medición de área de elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar longitud","measurementPrecision":"Precisión","measurementSnapping":"Ajuste automático","formCreator":"Creador de formularios","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrita","italic":"Cursiva","addLink":"Añadir enlace","removeLink":"Eliminar enlace","editLink":"Editar enlace","anonymous":"Anónimo","saveAndClose":"Guardar y cerrar","ceToggleFontMismatchTooltip":"Activar/desactivar aviso de error de fuente","ceFontMismatch":"La fuente {arg0} no está disponible o no se puede usar para editar contenido en este documento. El contenido añadido o editado se cambiará a una fuente predeterminada.","multiAnnotationsSelection":"Seleccionar varias anotaciones","linkSettingsPopoverTitle":"Opciones del enlace","linkTo":"Enlazar a","uriLink":"Sitio web","pageLink":"Página","invalidPageNumber":"Introduzca un número válido de página.","invalidPageLink":"Introduzca un enlace válido de página.","linkAnnotation":"Enlace","targetPageLink":"Número de página","rotation":"Giro","unlockDocumentDescription":"Debe desbloquear este documento para verlo. Escriba la contraseña en el campo de abajo.","commentDialogClosed":"Abrir hilo de comentarios iniciado por {arg0}: «{arg1}»","moreComments":"Más comentarios","setScale":"Definir escala","useCalibrationTool":"Usar herramienta de calibrado","calibrateScale":"Calibrar escala","unit":"Unidad","scaleAnnotationsDeleteWarning":"Al eliminar la escala también se eliminarán las mediciones que la emplean.","halves":"Media pulgada","quarters":"Cuarto de pulgada","eighths":"Octavo de pulgada","sixteenths":"Dieciseisavo de pulgada","addTextBox":"Añadir cuadro de texto","deleteTextBlockConfirmMessage":"¿Seguro que desea eliminar este cuadro de texto?","deleteTextBlockConfirmAccessibilityLabel":"Confirmar eliminación de cuadro de texto","deleteTextBlockConfirmAccessibilityDescription":"Diálogo que permite al usuario confirmar o cancelar la eliminación del cuadro de texto","linesCount":"{arg0, plural,\\none {{arg0} línea}\\nother {{arg0} líneas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotación}\\nother {{arg0} anotaciones}\\n=0 {Ninguna anotación}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} página seleccionada}\\nother {{arg0} páginas seleccionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentario}\\nother {{arg0} comentarios}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} comentario}\\nother {{arg0} comentarios}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} comentario más}\\nother {{arg0} comentarios más}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fi-dad772a62cde4878.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fi-dad772a62cde4878.js new file mode 100644 index 00000000..4df96b3f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fi-dad772a62cde4878.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9390],{5317:t=>{t.exports=JSON.parse('{"thumbnails":"Esikatselukuvakkeet","pageXofY":"Sivu {arg0} / {arg1}","XofY":"{arg0} / {arg1}","prevPage":"Edellinen sivu","nextPage":"Seuraava sivu","goToPage":"Mene sivulle","gotoPageX":"Mene sivulle {arg0}","pageX":"Sivu {arg0}","pageLayout":"Sivun asettelu","pageMode":"Sivunäkymä","pageModeSingle":"Yksi sivu","pageModeDouble":"Kahtena sivuna","pageModeAutomatic":"Automaattinen","pageTransition":"Sivusiirros","pageTransitionContinuous":"Jatkuva","pageTransitionJump":"Hyppy","pageRotation":"Sivun kääntö","pageRotationLeft":"Käännä vasemmalle","pageRotationRight":"Käännä oikealle","zoomIn":"Lähennä","zoomOut":"Loitonna","marqueeZoom":"Valinnan zoomaus","panMode":"Panorointimoodi","fitPage":"Sovita sivulle","fitWidth":"Sovita leveys","annotations":"Merkinnät","noAnnotations":"Ei merkintöjä","bookmark":"Kirjanmerkki","bookmarks":"Kirjanmerkit","noBookmarks":"Ei kirjanmerkkejä","newBookmark":"Uusi kirjanmerkki","addBookmark":"Lisää kirjanmerkki","removeBookmark":"Poista kirjanmerkki","loadingBookmarks":"Lataa kirjanmerkkejä","deleteBookmarkConfirmMessage":"Haluatko varmasti poistaa tämän kirjanmerkin?","deleteBookmarkConfirmAccessibilityLabel":"Vahvista kirjanmerkin poisto","annotation":"Merkintä","noteAnnotation":"Merkintä","textAnnotation":"Teksti","inkAnnotation":"Piirustus","highlightAnnotation":"Tekstin korostus","underlineAnnotation":"Alleviivaus","squiggleAnnotation":"Kiemura","strikeOutAnnotation":"Yliviivaus","print":"Tulosta","printPrepare":"Valmistellaan dokumenttia tulostettavaksi…","searchDocument":"Etsi dokumentista","searchPreviousMatch":"Edellinen","searchNextMatch":"Seuraava","searchResultOf":"{arg0} / {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} -työkalut, näytä valikko","save":"Tallenna","edit":"Muokkaa","delete":"Poista","close":"Sulje","cancel":"Kumoa","ok":"OK","done":"Valmis","clear":"Tyhjennä","date":"Päivämäärä","time":"Aika","name":"Nimi","color":"Väri","black":"Musta","white":"Valkoinen","blue":"Sininen","red":"Punainen","green":"Vihreä","orange":"Oranssi","lightOrange":"Vaalean oranssi","yellow":"Keltainen","lightYellow":"Vaalean keltainen","lightBlue":"Vaaleansininen","lightRed":"Vaaleanpunainen","lightGreen":"Vaaleanvihreä","fuchsia":"Fuksia","purple":"Violetti","pink":"Pinkki","mauve":"Malvanvärinen","lightGrey":"Vaalean harmaa","grey":"Harmaa","darkGrey":"Tumman harmaa","noColor":"Ei mitään","transparent":"Läpinäkyvä","darkBlue":"Tummansininen","opacity":"Peittävyys","thickness":"Paksuus","size":"Koko","numberInPt":"{arg0} pt","font":"Kirjasin","fonts":"Kirjasimet","allFonts":"Kaikki kirjasimet","alignment":"Tasaus","alignmentLeft":"Vasen","alignmentRight":"Oikea","alignmentCenter":"Keskitä","verticalAlignment":"Tasaus pystysuunnassa","horizontalAlignment":"Tasaus vaakatasossa","top":"Yläosa","bottom":"Alaosa","deleteAnnotationConfirmMessage":"Haluatko varmasti poistaa tämän merkinnän?","deleteAnnotationConfirmAccessibilityLabel":"Vahvista merkinnän poisto","fontFamilyUnsupported":"{arg0} (ei tuettu)","sign":"Allekirjoita","signed":"Allekirjoitettu","signatures":"Allekirjoitukset","addSignature":"Lisää allekirjoitus","clearSignature":"Tyhjennä allekirjoitus","storeSignature":"Tallenna allekirjoitus","pleaseSignHere":"Allekirjoitus tähän","signing":"Allekirjoitetaan…","password":"Salasana","unlock":"Avaa","passwordRequired":"Salasana vaaditaan","unlockThisDocument":"Tämän dokumentin salaus pitää avata, jotta sitä voi katsoa. Ole hyvä ja syötä salasana alla olevaan kenttään.","incorrectPassword":"Syöttämäsi salasana ei ole oikea. Ole hyvä ja yritä uudelleen.","blendMode":"Sekoitustila","normal":"Normaali","multiply":"Kertova","screenBlend":"Rasteri","overlay":"Peittävä","darken":"Tummentava","lighten":"Vaalentava","colorDodge":"Värivarjostus","colorBurn":"Värilisävalotus","hardLight":"Kova valo","softLight":"Pehmeä valo","difference":"Erottava","exclusion":"Poistava","multiple":"Monta","linecaps-dasharray":"Viivatyyli","dasharray":"Viivatyyli","startLineCap":"Viivan alku","strokeDashArray":"Viivatyyli","endLineCap":"Viivan pää","lineAnnotation":"Viiva","rectangleAnnotation":"Suorakulmio","ellipseAnnotation":"Ellipsi","polygonAnnotation":"Monikulmio","polylineAnnotation":"Murtoviiva","solid":"Tasainen","narrowDots":"Kapeat pisteet","wideDots":"Leveät pisteet","narrowDashes":"Kapeat viivat","wideDashes":"Leveät viivat","none":"Ei mitään","square":"Neliö","circle":"Ympyrä","diamond":"Vinoneliö","openArrow":"Avoin nuoli","closedArrow":"Suljettu nuoli","butt":"Perä","reverseOpenArrow":"Käänteinen avoin nuoli","reverseClosedArrow":"Käänteinen suljettu nuoli","slash":"Kauttaviiva","fillColor":"Täyttöväri","cloudy":"Pilvinen","arrow":"Nuoli","filePath":"Tiedoston polku","unsupportedImageFormat":"Kuvamerkintä ei tue tyyppiä: {arg0}. Käytä tiedostomuotoja JPEG tai PNG.","noOutline":"Ei runkoa","outline":"Runko","imageAnnotation":"Kuva","selectImage":"Valitse kuva","stampAnnotation":"Leima","highlighter":"Vapaamuotoinen korostus","textHighlighter":"Tekstin korostus","pen":"Piirustus","eraser":"Pyyhin","export":"Vienti","useAnExistingStampDesign":"Käytä valmista leimasinta","createStamp":"Luo leima","stampText":"Leiman teksti","chooseColor":"Valitse väri","rejected":"Hylätty","accepted":"Hyväksytty","approved":"Hyväksytty","notApproved":"Ei hyväksytty","draft":"Luonnos","final":"Lopullinen","completed":"Valmiit","confidential":"Salassa pidettävää","forPublicRelease":"Yleiseen jakeluun","notForPublicRelease":"Ei yleiseen jakeluun","forComment":"Kommentoitavaksi","void":"Tyhjä","preliminaryResults":"Alustavat tulokset","informationOnly":"Vain informaatio","initialHere":"Nimikirjaimet tähän","signHere":"Allekirjoitus tähän","witness":"Todistaja","asIs":"Sellaisenaan","departmental":"Osasto","experimental":"Kokeellinen","expired":"Erääntynyt","sold":"Myyty","topSecret":"Huippusalainen","revised":"Muokattu","custom":"Muokattu","customStamp":"Oma leimasin","icon":"Kuvake","iconRightPointer":"Osoitin oikealle","iconRightArrow":"Nuoli oikealle","iconCheck":"Tarkistusmerkki","iconCircle":"Ellipsi","iconCross":"Rasti","iconInsert":"Lisää tekstiä","iconNewParagraph":"Uusi kappale","iconNote":"Tekstimerkintä","iconComment":"Kommentti","iconParagraph":"Kappale","iconHelp":"Ohje","iconStar":"Tähti","iconKey":"Avain","documentEditor":"Dokumenttieditori","newPage":"Uusi sivu","removePage":"Poista sivuja","duplicatePage":"Jäljennä","rotatePageLeft":"Käännä vasemmalle","rotatePageRight":"Käännä oikealle","moveBefore":"Siirrä ennen","moveAfter":"Siirrä jälkeen","selectNone":"Älä valitse mitään","selectAll":"Valitse kaikki","saveAs":"Tallenna nimellä…","mergeDocument":"Tuo Dokumentti","undo":"Peru","redo":"Tee sittenkin","openMoveDialog":"Siirrä","move":"Siirrä","instantModifiedWarning":"Tätä dokumenttia on muutettu ja se on vain luku -tilassa. Korjaa tämä lataamalla sivu uudelleen.","documentMergedHere":"Dokumentti yhdistetään tässä","digitalSignaturesAllValid":"Dokumentti on allekirjoitettu digitaalisesti ja kaikki allekirjoitukset ovat voimassa.","digitalSignaturesDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen.","digitalSignaturesSignatureWarning":"Dokumentti on allekirjoitettu digitaalisesti, mutta ainakin yhdessä allekirjoituksessa on ongelmia.","digitalSignaturesSignatureWarningDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen ja ainakin yhdessä allekirjoituksessa on ongelmia.","digitalSignaturesSignatureError":"Dokumentti on allekirjoitettu digitaalisesti, mutta ainakin yksi allekirjoitus on virheellinen.","digitalSignaturesSignatureErrorDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen ja ainakin yksi allekirjoitus on virheellinen.","signingInProgress":"Allekirjoitus kesken","signingModalDesc":"Ilmaisee, että nykyinen dokumentti on allekirjoitettavana","discardChanges":"Hylkää muutokset","commentEditorLabel":"Lisää kommenttisi…","reply":"Vastaa","comment":"Kommentti","comments":"Kommentit","showMore":"Näytä lisää","showLess":"Näytä vähemmän","deleteComment":"Poista kommentti","deleteCommentConfirmMessage":"Haluatko varmasti poistaa tämän kommentin?","deleteCommentConfirmAccessibilityLabel":"Vahvista commenting poistaminen","editContent":"Muokkaa sisältöä","commentOptions":"Kommentointivaihtoehdot","areaRedaction":"Alueen hävitys","textRedaction":"Tekstin hävitys","redactionAnnotation":"Hävittäminen","applyingRedactions":"Hävityksiä suoritetaan","overlayTextPlaceholder":"Aseta peittävä teksti","outlineColor":"Reunan väri","overlayText":"Peittävä teksti","repeatText":"Toista teksti","preview":"Esikatselu","applyRedactions":"Suorita hävitys","markupAnnotationToolbar":"Huomautusmerkintöjen työkalupalkki","documentViewport":"Dokumentin näyttöikkuna","redactionInProgress":"Hävitysoperaatiota suoritetaan","redactionModalDesc":"Ilmaisee, että nykyisen dokumentin hävitysoperaatioita suoritetaan","commentAction":"Kommentoi","printProgressModalDesc":"Ilmaisee, että dokumenttia valmistellaan tulostusta varten","printProgressModal":"Tulostus meneillään","documentEditorDesc":"Tee muutoksia nykyiseen dokumenttiin","reloadDocumentDialog":"Vahvista dokumentin uudelleenlataus","reloadDocumentDialogDesc":"Dialogi, jossa käyttäjää pyydetään vahvistamaan dokumentin lataus uudelleen.","signatureDialog":"Allekirjoitus","signatureDialogDesc":"Tässä dialogissa voit valita dokumenttiin lisättävän musteallekirjoituksen. Ellei allekirjoituksia ole tallennettuna, voit luoda uuden käyttämällä piirtoaluenäkymää.","stampAnnotationTemplatesDialog":"Leimamerkintämallit","stampAnnotationTemplatesDialogDesc":"Tässä dialogissa voit valita dokumenttiin lisättävän leimamerkinnän tai luoda oman leimamerkinnän omalla tekstilläsi.","selectedAnnotation":"Valittu {arg0}","commentThread":"Kommenttisäie","selectedAnnotationWithText":"Valittu {arg0}, sisältää {arg1}","signature":"Allekirjoitus","ElectronicSignatures_SignHereTypeHint":"Syötä allekirjoituksesi yläpuolelle","ElectronicSignatures_SignHereDrawHint":"Allekirjoita tähän","selectDragImage":"Valitse tai raahaa kuva","replaceImage":"Korvaa kuva","draw":"Piirrä","image":"Kuva","type":"Syötä","saveSignature":"Tallenna allekirjoitus","loading":"Ladataan","selectedItem":"{arg0}, valittu.","annotationDeleted":"Merkintä poistettu.","newAnnotationCreated":"Uusi {arg0} -merkintä luotu.","bookmarkCreated":"Luotu kirjanmerkki.","bookmarkEdited":"Muokattu kirjanmerkki.","bookmarkDeleted":"Poistettu kirjanmerkki.","cancelledEditingBookmark":"Peruutettu kirjanmerkin muutos.","selectAFileForImage":"Valitse tiedosto merkinnän uutta kuvaa varten.","deleteAnnotationConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai poistaa merkinnän.","deleteBookmarkConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai perua kirjanmerkin poistamisen.","deleteCommentConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai poistaa kommentin.","resize":"Muuta kokoa","resizeHandleTop":"Yläosa","resizeHandleBottom":"Alaosa","resizeHandleRight":"Oikea","resizeHandleLeft":"Vasen","cropCurrentPage":"Rajaa tämä sivu","cropCurrent":"Rajaa tämä","cropAllPages":"Rajaa kaikki sivut","cropAll":"Rajaa kaikki","documentCrop":"Dokumentin rajaaminen","Comparison_alignButtonTouch":"Kohdista","Comparison_selectPoint":"Valitse piste","Comparison_documentOldTouch":"Vanha","Comparison_documentNewTouch":"Uusi","Comparison_result":"Vertailu","UserHint_description":"Valitse kummastakin dokumentista kolme pistettä manuaalista kohdistusta varten. Saat parhaat tulokset jos valitset pisteet läheltä dokumentin kulmia. Varmista että pisteet ovat kummassakin dokumentissa samassa järjestyksessä.","UserHint_dismissMessage":"Kumoa","Comparison_alignButton":"Kohdista dokumentit","documentComparison":"Dokumentin vertailu","Comparison_documentOld":"Vanha dokumentti","Comparison_documentNew":"Uusi dokumentti","Comparison_resetButton":"Nollaa","UserHint_Select":"Pisteiden valinta","numberValidationBadFormat":"Annettu arvo ei vastaa kentän formaattia [{arg0}]","dateValidationBadFormat":"Väärä päivämäärä/aika: varmista, että päivämäärä-/aikatieto on olemassa. Kentän [{arg0}] pitäisi olla formaatissa {arg1}","insertAfterPage":"Siirrä sivun jälkeen","docEditorMoveBeginningHint":"Kirjoita “0” jos haluat siirtää valitut sivut dokumentin alkuun.","cloudyRectangleAnnotation":"Pilvimäinen suorakulmio","dashedRectangleAnnotation":"Suorakulmio katkoviivalla","cloudyEllipseAnnotation":"Pilvimäinen ellipsi","dashedEllipseAnnotation":"Ellipsi katkoviivalla","cloudyPolygonAnnotation":"Pilvimäinen monikulmio","dashedPolygonAnnotation":"Monikulmio katkoviivalla","cloudAnnotation":"Pilvi","rotateCounterclockwise":"Kierrä vastapäivään","rotateClockwise":"Kierrä myötäpäivään","enterDescriptionHere":"Lisää kuvaus tähän","addOption":"Lisää vaihtoehto","formDesignerPopoverTitle":"{formFieldType}-objektin ominaisuudet","formFieldNameExists":"Lomakkeessa on jo kenttä nimeltä {formFieldName}. Valitse toinen nimi.","styleSectionLabel":"{formFieldType}-objektin tyyli","formFieldName":"Lomakekentän nimi","defaultValue":"Oletusarvo","multiLine":"Useita rivejä","radioButtonFormFieldNameWarning":"Jos haluat liittää useita valintanappeja samaan ryhmään, varmista, että ne käyttävät samaa lomakekentän nimeä.","advanced":"Lisäasetukset","creatorName":"Tekijän nimi","note":"Kommentti","customData":"Erikoismuotoinen data","required":"Välttämätön","readOnly":"Vain luku","createdAt":"Luotu","updatedAt":"Päivitetty","customDataErrorMessage":"Täytyy olla puhdas JSON-sarjamuotoinen objekti","borderColor":"Reunuksen väri","borderWidth":"Reunan leveys","borderStyle":"Reunan tyyli","solidBorder":"Tasainen","dashed":"Katko","beveled":"Viistetty","inset":"Upotettu","underline":"Alleviivaus","textStyle":"Tekstityyli","fontSize":"Kirjasinkoko","fontColor":"Kirjasinväri","button":"Painikekenttä","textField":"Tekstikenttä","radioField":"Valintanappikenttä","checkboxField":"Valintaruutukenttä","comboBoxField":"Yhdistelmäruutukenttä","listBoxField":"Luetteloruutukenttä","signatureField":"Allekirjoituskenttä","formDesigner":"Lomaketyökalu","buttonText":"Painiketeksti","notAvailable":"N/A","label":"Tunniste","value":"Arvo","cannotEditOnceCreated":"Ei voi enää muuttaa luomisen jälkeen.","formFieldNameNotEmpty":"Lomakekentän nimi ei voi olla tyhjä.","mediaAnnotation":"Mediamerkintä","mediaFormatNotSupported":"Tämä selain ei tue sulautettua videota tai ääntä.","distanceMeasurement":"Etäisyys","perimeterMeasurement":"Kehä","polygonAreaMeasurement":"Monikulmion pinta-ala","rectangularAreaMeasurement":"Suorakulmion pinta-ala","ellipseAreaMeasurement":"Ellipsin pinta-ala","distanceMeasurementSettings":"Etäisyyden mittausasetukset","perimeterMeasurementSettings":"Kehän mittausasetukset","polygonAreaMeasurementSettings":"Monikulmion pinta-alan mittausasetukset","rectangularAreaMeasurementSettings":"Suorakulmion pinta-alan mittausasetukset","ellipseAreaMeasurementSettings":"Ellipsin pinta-alan mittausasetukset","measurementScale":"Mittakaava","measurementCalibrateLength":"Kalibroi pituus","measurementPrecision":"Tarkkuus","measurementSnapping":"Kohdistus","formCreator":"Lomaketyökalu","group":"Ryhmä","ungroup":"Pura ryhmä","bold":"Lihavoitu","italic":"Kursiivi","addLink":"Lisää linkki","removeLink":"Poista linkki","editLink":"Muokkaa linkkiä","anonymous":"Anonyymi","saveAndClose":"Tallenna & sulje","ceToggleFontMismatchTooltip":"Näytä epäyhteensopivan fontin työkaluvihje","ceFontMismatch":"{arg0} -fontti ei ole käytettävissä tai sitä ei voi käyttää tämän dokumentin muokkaamisessa. Lisätty tai muutettu sisältö näytetään käyttäen oletusfonttia.","multiAnnotationsSelection":"Valitse useita merkintöjä","linkSettingsPopoverTitle":"Linkkiasetukset","linkTo":"Linkki kohteeseen","uriLink":"Verkkosivusto","pageLink":"Sivu","invalidPageNumber":"Syötä validi sivunumero.","invalidPageLink":"Syötä validi sivulinkki.","linkAnnotation":"Linkki","targetPageLink":"Sivunumero","rotation":"Kierto","unlockDocumentDescription":"Tämän dokumentin katselu edellyttää sen avaamista. Syötä salasana alla olevaan kenttään.","commentDialogClosed":"Avoin kommenttisäie, säikeen on aloittanut {arg0}: “{arg1}”","moreComments":"Lisää kommentteja","setScale":"Aseta mittakaava","useCalibrationTool":"Käytä kalibrointityökalua","calibrateScale":"Kalibroi mittakaava","unit":"Yksikkö","scaleAnnotationsDeleteWarning":"Mittakaavan poistaminen poistaa myös kyseistä mittakaavaa käyttävät mitttaukset.","halves":"Puolikkaat tuumat","quarters":"Neljännestuumat","eighths":"Tuuman kahdeksasosat","sixteenths":"Tuuman kuudestoistaosat","addTextBox":"Lisää tekstiruutu","deleteTextBlockConfirmMessage":"Haluatko varmasti poistaa tämän tekstiruudun?","deleteTextBlockConfirmAccessibilityLabel":"Vahvista tekstiruudun poistaminen","deleteTextBlockConfirmAccessibilityDescription":"Dialogi, jossa käyttäjä voi vahvistaa tai perua tekstiruudun poistamisen","linesCount":"{arg0, plural,\\none {{arg0} viiva}\\nother {{arg0} viivaa}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} merkintä}\\nother {{arg0} merkintää}\\n=0 {Ei merkintöjä}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} sivu valittu}\\nother {{arg0} sivua valittu}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentti}\\nother {{arg0} kommenttia}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentti}\\nother {{arg0} kommenttia}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Vielä {arg0} kommentti}\\nother {Vielä {arg0} kommenttia}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-86a1faa95c54f884.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-86a1faa95c54f884.js new file mode 100644 index 00000000..7cb9fdbd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-86a1faa95c54f884.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3360],{28435:e=>{e.exports=JSON.parse('{"thumbnails":"Vignettes","pageXofY":"Page {arg0} sur {arg1}","XofY":"{arg0} sur {arg1}","prevPage":"Page précédente","nextPage":"Page suivante","goToPage":"Aller à la page","gotoPageX":"Aller à la page {arg0}","pageX":"Page {arg0}","pageLayout":"Mise en page","pageMode":"Mode de page","pageModeSingle":"Unique","pageModeDouble":"Double","pageModeAutomatic":"Automatique","pageTransition":"Transition de page","pageTransitionContinuous":"Continu","pageTransitionJump":"Saut","pageRotation":"Rotation de la page","pageRotationLeft":"Faire pivoter vers la gauche","pageRotationRight":"Faire pivoter vers la droite","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","marqueeZoom":"Outil Zoom de sélection","panMode":"Mode Panoramique","fitPage":"Adapter la page","fitWidth":"Adapter la largeur","annotations":"Annotations","noAnnotations":"Aucune annotation","bookmark":"Signet","bookmarks":"Signets","noBookmarks":"Aucun signet","newBookmark":"Nouveau signet","addBookmark":"Ajouter un signet","removeBookmark":"Supprimer le signet","loadingBookmarks":"Chargement des signets","deleteBookmarkConfirmMessage":"Voulez-vous vraiment supprimer ce signet ?","deleteBookmarkConfirmAccessibilityLabel":"Confirmer la suppression du signet","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Texte","inkAnnotation":"Dessin","highlightAnnotation":"Surlignage de texte","underlineAnnotation":"Souligné","squiggleAnnotation":"Tire-bouchon","strikeOutAnnotation":"Barré","print":"Imprimer","printPrepare":"Préparation du document en vue de l\'impression…","searchDocument":"Rechercher dans le document","searchPreviousMatch":"Précédent","searchNextMatch":"Suivant","searchResultOf":"{arg0} sur {arg1}","accessibilityLabelDropdownGroupToggle":"Outils {arg0}, activer/désactiver le menu","save":"Enregistrer","edit":"Modifier","delete":"Supprimer","close":"Fermer","cancel":"Annuler","ok":"OK","done":"Terminé","clear":"Effacer","date":"Date","time":"Heure","name":"Nom","color":"Couleur","black":"Noir","white":"Blanc","blue":"Bleu","red":"Rouge","green":"Vert","orange":"Orange","lightOrange":"Orange clair","yellow":"Jaune","lightYellow":"Jaune clair","lightBlue":"Bleu clair","lightRed":"Rouge clair","lightGreen":"Vert clair","fuchsia":"Fuchsia","purple":"Violet","pink":"Rose","mauve":"Mauve","lightGrey":"Gris clair","grey":"Gris","darkGrey":"Gris foncé","noColor":"Aucune","transparent":"Transparent","darkBlue":"Bleu foncé","opacity":"Opacité","thickness":"Épaisseur","size":"Taille","numberInPt":"{arg0} pt","font":"Police","fonts":"Polices","allFonts":"Toutes les polices","alignment":"Alignement","alignmentLeft":"À gauche","alignmentRight":"À droite","alignmentCenter":"Centre","verticalAlignment":"Alignement vertical","horizontalAlignment":"Alignement horizontal","top":"Haut","bottom":"Bas","deleteAnnotationConfirmMessage":"Voulez-vous vraiment supprimer cette annotation ?","deleteAnnotationConfirmAccessibilityLabel":"Confirmer la suppression de l\'annotation","fontFamilyUnsupported":"{arg0} (non compatible)","sign":"Signature","signed":"Signé","signatures":"Signatures","addSignature":"Ajouter une signature","clearSignature":"Effacer la signature","storeSignature":"Stocker la signature","pleaseSignHere":"Veuillez signer ici","signing":"Signature…","password":"Mot de passe","unlock":"Déverrouiller","passwordRequired":"Mot de passe obligatoire","unlockThisDocument":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","incorrectPassword":"Le mot de passe saisi est incorrect. Veuillez réessayer.","blendMode":"Mode de fusion","normal":"Normal","multiply":"Multiplication","screenBlend":"Écran","overlay":"Superposition","darken":"Obscurcir","lighten":"Éclaircir","colorDodge":"Densité couleur -","colorBurn":"Densité couleur +","hardLight":"Lumière crue","softLight":"Lumière tamisée","difference":"Différence","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Style de ligne","dasharray":"Style de ligne","startLineCap":"Début de ligne","strokeDashArray":"Style de ligne","endLineCap":"Fin de ligne","lineAnnotation":"Ligne","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygone","polylineAnnotation":"Polyligne","solid":"Uni","narrowDots":"Petits points","wideDots":"Grands points","narrowDashes":"Petits traits","wideDashes":"Grands traits","none":"Aucune","square":"Carré","circle":"Cercle","diamond":"Losange","openArrow":"Flèche simple","closedArrow":"Flèche pleine","butt":"Butée","reverseOpenArrow":"Flèche simple inversée","reverseClosedArrow":"Flèche pleine inversée","slash":"Barre oblique","fillColor":"Couleur de remplissage","cloudy":"Nuageux","arrow":"Flèche","filePath":"Chemin du fichier","unsupportedImageFormat":"Type non compatible pour l\'annotation des images : {arg0}. Veuillez utiliser un fichier JPEG ou PNG.","noOutline":"Aucun plan","outline":"Plan","imageAnnotation":"Image","selectImage":"Sélectionner une image","stampAnnotation":"Tampon","highlighter":"Surlignage libre","textHighlighter":"Surligneur de texte","pen":"Dessin","eraser":"Gomme","export":"Exportation","useAnExistingStampDesign":"Utiliser un modèle de tampon existant","createStamp":"Créer un tampon","stampText":"Texte du tampon","chooseColor":"Choisir une couleur","rejected":"Refusé","accepted":"Accepté","approved":"Approuvé","notApproved":"Non approuvé","draft":"Ébauche","final":"Version finale","completed":"Terminé","confidential":"Confidentiel","forPublicRelease":"Pour publication","notForPublicRelease":"Ne pas publier","forComment":"À commenter","void":"Nul","preliminaryResults":"Résultats préliminaires","informationOnly":"Pour information","initialHere":"Initiales ici","signHere":"Signer ici","witness":"Certifier","asIs":"Conforme","departmental":"Interne au service","experimental":"Expérimental","expired":"Expiré","sold":"Vendu","topSecret":"Top secret","revised":"Revu","custom":"Personnaliser","customStamp":"Tampon personnalisé","icon":"Icône","iconRightPointer":"Pointeur droit","iconRightArrow":"Flèche droite","iconCheck":"Coche","iconCircle":"Ellipse","iconCross":"Croix","iconInsert":"Insertion de texte","iconNewParagraph":"Nouveau paragraphe","iconNote":"Note de texte","iconComment":"Commentaire","iconParagraph":"Paragraphe","iconHelp":"Aide","iconStar":"Étoile","iconKey":"Clé","documentEditor":"Éditeur de document","newPage":"Nouvelle page","removePage":"Supprimer les pages","duplicatePage":"Dupliquer","rotatePageLeft":"Faire pivoter vers la gauche","rotatePageRight":"Faire pivoter vers la droite","moveBefore":"Déplacer avant","moveAfter":"Déplacer après","selectNone":"Ne rien sélectionner","selectAll":"Tout sélectionner","saveAs":"Enregistrer sous…","mergeDocument":"Importer un document","undo":"Annuler","redo":"Rétablir","openMoveDialog":"Déplacer","move":"Déplacer","instantModifiedWarning":"Le document a été modifié et est maintenant en lecture seule. Pour résoudre ce problème, actualisez la page.","documentMergedHere":"Le document sera fusionné ici","digitalSignaturesAllValid":"Le document a été signé numériquement et toutes les signatures sont valides.","digitalSignaturesDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature.","digitalSignaturesSignatureWarning":"Le document a été signé numériquement, mais au moins une signature présente des problèmes.","digitalSignaturesSignatureWarningDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature et au moins une signature présente des problèmes.","digitalSignaturesSignatureError":"Le document a été signé numériquement, mais au moins une signature n\'est pas valide.","digitalSignaturesSignatureErrorDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature et au moins une signature n\'est pas valide.","signingInProgress":"Connexion en cours…","signingModalDesc":"Indique que le document actuel est en cours de signature","discardChanges":"Annuler les modifications","commentEditorLabel":"Ajoutez votre commentaire…","reply":"Répondre","comment":"Commentaire","comments":"Commentaires","showMore":"Afficher plus","showLess":"Afficher moins","deleteComment":"Supprimer le commentaire","deleteCommentConfirmMessage":"Voulez-vous vraiment supprimer ce commentaire ?","deleteCommentConfirmAccessibilityLabel":"Confirmer la suppression du commentaire","editContent":"Modifier le contenu","commentOptions":"Options de commentaire","areaRedaction":"Biffure de zone","textRedaction":"Biffure de texte","redactionAnnotation":"Biffure","applyingRedactions":"Application des biffures","overlayTextPlaceholder":"Insérer un texte de superposition","outlineColor":"Couleur de contour","overlayText":"Texte de superposition","repeatText":"Répéter le texte","preview":"Aperçu","applyRedactions":"Appliquer les biffures","markupAnnotationToolbar":"Barre d\'outils des annotations de marquage","documentViewport":"Fenêtre d\'affichage du document","redactionInProgress":"Biffure en cours","redactionModalDesc":"Indique que des biffures sont en cours dans le document actuel","commentAction":"Commenter","printProgressModalDesc":"Indique qu\'un document est en cours de préparation en vue de l\'impression","printProgressModal":"Impression en cours","documentEditorDesc":"Apportez des modifications au document actuel","reloadDocumentDialog":"Confirmer l\'actualisation du document","reloadDocumentDialogDesc":"Boîte de dialogue invitant l\'utilisateur à confirmer l\'actualisation du document.","signatureDialog":"Signature","signatureDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une signature manuscrite à insérer dans le document. Si vous n\'avez pas de signature stockée, vous pouvez en créer une dans la zone de travail.","stampAnnotationTemplatesDialog":"Modèles d\'annotation par tampon","stampAnnotationTemplatesDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une annotation par tampon à insérer dans le document, ou de créer une annotation par tampon personnalisée avec votre propre texte.","selectedAnnotation":"Annotation {arg0} sélectionnée","commentThread":"Fil de commentaires","selectedAnnotationWithText":"Annotation {arg0} contenant {arg1} sélectionnée","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Saisissez votre signature ci-dessus","ElectronicSignatures_SignHereDrawHint":"Signez ici","selectDragImage":"Sélectionnez ou déposez une image","replaceImage":"Remplacer l\'image","draw":"Dessin","image":"Image","type":"Saisie","saveSignature":"Enregistrer la signature","loading":"Chargement","selectedItem":"{arg0}, sélectionné.","annotationDeleted":"Annotation supprimée.","newAnnotationCreated":"Nouvelle annotation de type {arg0} créée.","bookmarkCreated":"Signet créé.","bookmarkEdited":"Signet modifié.","bookmarkDeleted":"Signet supprimé.","cancelledEditingBookmark":"Modification du signet annulée.","selectAFileForImage":"Sélectionnez un fichier pour la nouvelle annotation d\'image.","deleteAnnotationConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler l\'annotation.","deleteBookmarkConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du signet.","deleteCommentConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du commentaire.","resize":"Redimensionner","resizeHandleTop":"Haut","resizeHandleBottom":"Bas","resizeHandleRight":"Droite","resizeHandleLeft":"Gauche","cropCurrentPage":"Recadrer la page actuelle","cropCurrent":"Recadrer la page","cropAllPages":"Recadrer toutes les pages","cropAll":"Tout recadrer","documentCrop":"Recadrage du document","Comparison_alignButtonTouch":"Aligner","Comparison_selectPoint":"Sélectionner un point","Comparison_documentOldTouch":"Ancien","Comparison_documentNewTouch":"Nouveau","Comparison_result":"Comparaison","UserHint_description":"Sélectionnez trois points sur les deux documents pour les aligner manuellement. Pour un résultat optimal, choisissez des points situés à proximité des coins des documents, en veillant à respecter le même ordre pour les deux documents.","UserHint_dismissMessage":"Fermer","Comparison_alignButton":"Aligner les documents","documentComparison":"Comparaison de documents","Comparison_documentOld":"Ancien document","Comparison_documentNew":"Nouveau document","Comparison_resetButton":"Réinitialiser","UserHint_Select":"Sélection des points","numberValidationBadFormat":"La valeur saisie ne correspond pas au format du champ [{arg0}]","dateValidationBadFormat":"Date/Heure non valide : veuillez vérifier que la date et l\'heure existent bien. Le champ [{arg0}] doit respecter le format {arg1}","insertAfterPage":"Insérer après la page","docEditorMoveBeginningHint":"Saisissez « 0 » pour déplacer la ou les page(s) sélectionnée(s) au début du document.","cloudyRectangleAnnotation":"Nuage rectangulaire","dashedRectangleAnnotation":"Rectangle en pointillés","cloudyEllipseAnnotation":"Nuage en ellipse","dashedEllipseAnnotation":"Ellipse en pointillés","cloudyPolygonAnnotation":"Nuage polygonal","dashedPolygonAnnotation":"Polygone en pointillés","cloudAnnotation":"Nuage","rotateCounterclockwise":"Faire pivoter vers la gauche","rotateClockwise":"Faire pivoter vers la droite","enterDescriptionHere":"Saisissez ici une description","addOption":"Ajouter une option","formDesignerPopoverTitle":"Propriétés du {formFieldType}","formFieldNameExists":"Un champ de formulaire intitulé {formFieldName} existe déjà. Veuillez choisir un autre nom.","styleSectionLabel":"Style du {formFieldType}","formFieldName":"Nom du champ de formulaire","defaultValue":"Valeur par défaut","multiLine":"Plusieurs lignes","radioButtonFormFieldNameWarning":"Pour regrouper des cases d\'option, vérifiez qu\'elles ont le même nom de champ de formulaire.","advanced":"Avancé","creatorName":"Nom du créateur","note":"Remarque","customData":"Données personnalisées","required":"Obligatoire","readOnly":"Lecture seule","createdAt":"Création","updatedAt":"Modification","customDataErrorMessage":"La valeur doit être un objet JSON sérialisable en texte brut","borderColor":"Couleur de bordure","borderWidth":"Largeur de bordure","borderStyle":"Style de bordure","solidBorder":"Continue","dashed":"Discontinue","beveled":"Biseautée","inset":"Enchâssée","underline":"Soulignée","textStyle":"Style de texte","fontSize":"Taille de police","fontColor":"Couleur de police","button":"Champ de bouton","textField":"Champ de texte","radioField":"Champ d\'option","checkboxField":"Champ de case à cocher","comboBoxField":"Champ de boîte combinée","listBoxField":"Champ de zone de liste","signatureField":"Champ de signature","formDesigner":"Créateur de formulaires","buttonText":"Texte du bouton","notAvailable":"N/A","label":"Libellé","value":"Valeur","cannotEditOnceCreated":"Modification impossible après création.","formFieldNameNotEmpty":"Le nom du champ de formulaire ne doit pas être vide.","mediaAnnotation":"Annotation média","mediaFormatNotSupported":"Ce navigateur ne prend pas en charge les vidéos ou audios intégrés.","distanceMeasurement":"Distance","perimeterMeasurement":"Périmètre","polygonAreaMeasurement":"Aire polygonale","rectangularAreaMeasurement":"Aire rectangulaire","ellipseAreaMeasurement":"Aire elliptique","distanceMeasurementSettings":"Paramètres de mesure de distance","perimeterMeasurementSettings":"Paramètres de mesure de périmètre","polygonAreaMeasurementSettings":"Paramètres de mesure d\'aire polygonale","rectangularAreaMeasurementSettings":"Paramètres de mesure d\'aire rectangulaire","ellipseAreaMeasurementSettings":"Paramètres de mesure d\'aire elliptique","measurementScale":"Échelle","measurementCalibrateLength":"Calibrer la longueur","measurementPrecision":"Précision","measurementSnapping":"Magnétisme","formCreator":"Créateur de formulaires","group":"Groupe","ungroup":"Dégroupé","bold":"Gras","italic":"Italique","addLink":"Ajouter un lien","removeLink":"Supprimer le lien","editLink":"Modifier le lien","anonymous":"Anonyme","saveAndClose":"Enregistrer et fermer","ceToggleFontMismatchTooltip":"Afficher ou masquer l\'infobulle de police inadaptée","ceFontMismatch":"La police {arg0} n\'est pas disponible ou ne peut pas être utilisée pour modifier les contenus de ce document. Une police par défaut sera appliquée aux contenus ajoutés ou modifiés.","multiAnnotationsSelection":"Sélectionner plusieurs annotations","linkSettingsPopoverTitle":"Paramètres du lien","linkTo":"Destination du lien","uriLink":"Site Web","pageLink":"Page","invalidPageNumber":"Saisissez un numéro de page valide.","invalidPageLink":"Saisissez un lien vers une page valide.","linkAnnotation":"Lien","targetPageLink":"Numéro de page","rotation":"Rotation","unlockDocumentDescription":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","commentDialogClosed":"Ouvrir le fil de commentaires démarré par {arg0} : « {arg1} »","moreComments":"Plus de commentaires","setScale":"Définir l\'échelle","useCalibrationTool":"Utiliser l\'outil d\'étalonnage","calibrateScale":"Étalonner l\'échelle","unit":"Unité","scaleAnnotationsDeleteWarning":"Si vous supprimez l\'échelle, vous supprimerez également les mesures utilisant cette échelle.","halves":"Demi-pouces","quarters":"Quarts de pouce","eighths":"Huitièmes de pouce","sixteenths":"Seizièmes de pouce","addTextBox":"Ajouter une zone de texte","deleteTextBlockConfirmMessage":"Voulez-vous vraiment supprimer cette zone de texte ?","deleteTextBlockConfirmAccessibilityLabel":"Confirmer la suppression de la zone de texte","deleteTextBlockConfirmAccessibilityDescription":"Boîte de dialogue permettant à l\'utilisateur de confirmer ou d\'annuler la suppression de la zone de texte","linesCount":"{arg0, plural,\\none {{arg0} ligne}\\nother {{arg0} lignes}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotation}\\nother {{arg0} annotations}\\n=0 {Aucune annotation}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} page sélectionnée}\\nother {{arg0} pages sélectionnées}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} autre commentaire}\\nother {{arg0} autres commentaires}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-CA-a6a3ddfe0fc19822.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-CA-a6a3ddfe0fc19822.js new file mode 100644 index 00000000..ed660542 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-fr-CA-a6a3ddfe0fc19822.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2916],{76215:e=>{e.exports=JSON.parse('{"thumbnails":"Vignettes","pageXofY":"Page {arg0} sur {arg1}","XofY":"{arg0} sur {arg1}","prevPage":"Page précédente","nextPage":"Page suivante","goToPage":"Aller à la page","gotoPageX":"Aller à la page {arg0}","pageX":"Page {arg0}","pageLayout":"Mise en page","pageMode":"Mode de page","pageModeSingle":"Unique","pageModeDouble":"Double","pageModeAutomatic":"Automatique","pageTransition":"Transition de page","pageTransitionContinuous":"Continu","pageTransitionJump":"Saut","pageRotation":"Rotation de la page","pageRotationLeft":"Faire pivoter vers la gauche","pageRotationRight":"Faire pivoter vers la droite","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","marqueeZoom":"Zoom de sélection","panMode":"Mode Panoramique","fitPage":"Adapter la page","fitWidth":"Adapter la largeur","annotations":"Annotations","noAnnotations":"Aucune annotation","bookmark":"Signet","bookmarks":"Signets","noBookmarks":"Aucun signet","newBookmark":"Nouveau signet","addBookmark":"Ajouter un signet","removeBookmark":"Supprimer le signet","loadingBookmarks":"Chargement des signets","deleteBookmarkConfirmMessage":"Voulez-vous vraiment supprimer ce signet?","deleteBookmarkConfirmAccessibilityLabel":"Confirmer la suppression du signet","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Texte","inkAnnotation":"Dessin","highlightAnnotation":"Surligneur de texte","underlineAnnotation":"Souligné","squiggleAnnotation":"Tire-bouchon","strikeOutAnnotation":"Barré","print":"Imprimer","printPrepare":"Préparation du document en vue de l’impression…","searchDocument":"Rechercher dans le document","searchPreviousMatch":"Précédent","searchNextMatch":"Suivant","searchResultOf":"{arg0} sur {arg1}","accessibilityLabelDropdownGroupToggle":"Outils {arg0}, activer/désactiver le menu","save":"Enregistrer","edit":"Modifier","delete":"Supprimer","close":"Fermer","cancel":"Annuler","ok":"OK","done":"Terminé","clear":"Effacer","date":"Date","time":"Heure","name":"Nom","color":"Couleur","black":"Noir","white":"Blanc","blue":"Bleu","red":"Rouge","green":"Vert","orange":"Orange","lightOrange":"Orange clair","yellow":"Jaune","lightYellow":"Jaune clair","lightBlue":"Bleu clair","lightRed":"Rouge clair","lightGreen":"Vert clair","fuchsia":"Fuchsia","purple":"Violet","pink":"Rose","mauve":"Mauve","lightGrey":"Gris clair","grey":"Gris","darkGrey":"Gris foncé","noColor":"Aucune","transparent":"Transparent","darkBlue":"Bleu foncé","opacity":"Opacité","thickness":"Épaisseur","size":"Taille","numberInPt":"{arg0} pt","font":"Police","fonts":"Polices","allFonts":"Toutes les polices","alignment":"Alignement","alignmentLeft":"À gauche","alignmentRight":"À droite","alignmentCenter":"Centre","verticalAlignment":"Alignement vertical","horizontalAlignment":"Alignement horizontal","top":"Haut","bottom":"Bas","deleteAnnotationConfirmMessage":"Voulez-vous vraiment supprimer cette annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirmer la suppression de l’annotation","fontFamilyUnsupported":"{arg0} (non compatible)","sign":"Signature","signed":"Signé","signatures":"Signatures","addSignature":"Ajouter une signature","clearSignature":"Effacer la signature","storeSignature":"Stocker la signature","pleaseSignHere":"Veuillez signer ici","signing":"Signature…","password":"Mot de passe","unlock":"Déverrouiller","passwordRequired":"Mot de passe obligatoire","unlockThisDocument":"Vous devez déverrouiller ce document pour pouvoir le consulter. Veuillez saisir le mot de passe dans le champ ci-dessous.","incorrectPassword":"Le mot de passe saisi est incorrect. Veuillez réessayer.","blendMode":"Mode de fusion","normal":"Normal","multiply":"Multiplication","screenBlend":"Écran","overlay":"Superposition","darken":"Obscurcir","lighten":"Éclaircir","colorDodge":"Densité couleur -","colorBurn":"Densité couleur +","hardLight":"Lumière crue","softLight":"Lumière tamisée","difference":"Différence","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Style de ligne","dasharray":"Style de ligne","startLineCap":"Début de ligne","strokeDashArray":"Style de ligne","endLineCap":"Fin de ligne","lineAnnotation":"Ligne","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygone","polylineAnnotation":"Polyligne","solid":"Uni","narrowDots":"Petits points","wideDots":"Grands points","narrowDashes":"Petits traits","wideDashes":"Grands traits","none":"Aucune","square":"Carré","circle":"Cercle","diamond":"Losange","openArrow":"Flèche simple","closedArrow":"Flèche pleine","butt":"Butée","reverseOpenArrow":"Flèche simple inversée","reverseClosedArrow":"Flèche pleine inversée","slash":"Barre oblique","fillColor":"Couleur de remplissage","cloudy":"Nuageux","arrow":"Flèche","filePath":"Chemin du fichier","unsupportedImageFormat":"Type non compatible pour l\'annotation des images : {arg0}. Veuillez utiliser un fichier JPEG ou PNG.","noOutline":"Aucun plan","outline":"Plan","imageAnnotation":"Image","selectImage":"Sélectionner une image","stampAnnotation":"Tampon","highlighter":"Surligneur forme libre","textHighlighter":"Surligneur de texte","pen":"Dessin","eraser":"Gomme","export":"Exportation","useAnExistingStampDesign":"Utiliser un modèle de tampon existant","createStamp":"Créer un tampon","stampText":"Texte du tampon","chooseColor":"Choisir une couleur","rejected":"Refusé","accepted":"Accepté","approved":"Approuvé","notApproved":"Non approuvé","draft":"Version préliminaire","final":"Version finale","completed":"Terminé","confidential":"Confidentiel","forPublicRelease":"Pour publication","notForPublicRelease":"Ne pas publier","forComment":"À commenter","void":"Nul","preliminaryResults":"Résultats préliminaires","informationOnly":"Pour information","initialHere":"Initiales","signHere":"Signature","witness":"Témoin","asIs":"En l’état","departmental":"Interne au service","experimental":"Expérimental","expired":"Expiré","sold":"Vendu","topSecret":"Top secret","revised":"Revu","custom":"Personnaliser","customStamp":"Tampon personnalisé","icon":"Icône","iconRightPointer":"Pointeur droit","iconRightArrow":"Flèche droite","iconCheck":"Coche","iconCircle":"Ellipse","iconCross":"Croix","iconInsert":"Insertion de texte","iconNewParagraph":"Nouveau paragraphe","iconNote":"Note de texte","iconComment":"Commentaire","iconParagraph":"Paragraphe","iconHelp":"Aide","iconStar":"Étoile","iconKey":"Clé","documentEditor":"Éditeur de document","newPage":"Nouvelle page","removePage":"Supprimer les pages","duplicatePage":"Dupliquer","rotatePageLeft":"Faire pivoter vers la gauche","rotatePageRight":"Faire pivoter vers la droite","moveBefore":"Placer avant","moveAfter":"Placer après","selectNone":"Sélectionner Aucun","selectAll":"Tout sélectionner","saveAs":"Enregistrer sous…","mergeDocument":"Importer un document","undo":"Annuler","redo":"Rétablir","openMoveDialog":"Déplacer","move":"Déplacer","instantModifiedWarning":"Ce document a été modifié et est maintenant en mode de lecture seule. Rechargez la page pour remédier à cela.","documentMergedHere":"Les documents seront fusionnés ici","digitalSignaturesAllValid":"Le document a été signé numériquement et toutes les signatures sont valides.","digitalSignaturesDocModified":"Le document a été signé numériquement, mais il a été modifié depuis sa signature.","digitalSignaturesSignatureWarning":"Le document a été signé numériquement, mais au moins une signature présente un problème.","digitalSignaturesSignatureWarningDocModified":"Le document a été signé numériquement, mais il a été modifié depuis et au moins une signature présente un problème.","digitalSignaturesSignatureError":"Le document a été signé numériquement, mais au moins une signature n\'est pas valide.","digitalSignaturesSignatureErrorDocModified":"Le document a été signé numériquement, mais il a été modifié depuis et au moins une signature n\'est pas valide.","signingInProgress":"Signature en cours","signingModalDesc":"Indique que la signature du document actif est en cours","discardChanges":"Annuler les modifications","commentEditorLabel":"Ajoutez votre commentaire…","reply":"Répondre","comment":"Commentaire","comments":"Commentaires","showMore":"Afficher plus","showLess":"Afficher moins","deleteComment":"Supprimer le commentaire","deleteCommentConfirmMessage":"Voulez-vous vraiment supprimer ce commentaire?","deleteCommentConfirmAccessibilityLabel":"Confirmer la suppression du commentaire","editContent":"Modifier le contenu","commentOptions":"Options de commentaire","areaRedaction":"Caviardage de zone","textRedaction":"Caviardage de texte","redactionAnnotation":"Caviardage","applyingRedactions":"Caviardage en cours","overlayTextPlaceholder":"Insertion de texte de superposition","outlineColor":"Couleur de contour","overlayText":"Texte de superposition","repeatText":"Répéter le texte","preview":"Aperçu","applyRedactions":"Appliquer le caviardage","markupAnnotationToolbar":"Barre d\'outils des annotations de marquage","documentViewport":"Fenêtre d\'affichage du document","redactionInProgress":"Biffure en cours","redactionModalDesc":"Indique que des biffures sont en cours dans le document actuel","commentAction":"Commentaire","printProgressModalDesc":"Indique qu’un document est en cours de préparation pour l’impression","printProgressModal":"Impression en cours","documentEditorDesc":"Apporter des changements au document actuel","reloadDocumentDialog":"Confirmer le rechargement du document","reloadDocumentDialogDesc":"Boîte de dialogue invitant l’utilisateur à confirmer le rechargement du document.","signatureDialog":"Signature","signatureDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une signature manuscrite à insérer dans le document. Si vous ne disposez d’aucune signature enregistrée, vous pouvez en créer une à l’aide du cadre de signature.","stampAnnotationTemplatesDialog":"Modèles de tampon d’annotation","stampAnnotationTemplatesDialogDesc":"Cette boîte de dialogue vous permet de sélectionner un tampon d’annotation à insérer dans le document ou de créer un tampon d’annotation personnalisé avec votre propre texte.","selectedAnnotation":"{arg0} sélectionné","commentThread":"Fil de commentaires","selectedAnnotationWithText":"{arg0} sélectionné, contenant {arg1}","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Saisissez votre signature ci-dessus","ElectronicSignatures_SignHereDrawHint":"Signez ici","selectDragImage":"Sélectionnez ou déposez une image","replaceImage":"Remplacer l\'image","draw":"Dessin","image":"Image","type":"Saisie","saveSignature":"Enregistrer la signature","loading":"Chargement","selectedItem":"{arg0}, sélectionné.","annotationDeleted":"Annotation supprimée.","newAnnotationCreated":"Nouvelle annotation de type {arg0} créée.","bookmarkCreated":"Signet créé.","bookmarkEdited":"Signet modifié.","bookmarkDeleted":"Signet supprimé.","cancelledEditingBookmark":"Modification du signet annulée.","selectAFileForImage":"Sélectionnez un fichier pour la nouvelle annotation d\'image.","deleteAnnotationConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler l\'annotation.","deleteBookmarkConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du signet.","deleteCommentConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du commentaire.","resize":"Redimensionner","resizeHandleTop":"Haut","resizeHandleBottom":"Bas","resizeHandleRight":"Droite","resizeHandleLeft":"Gauche","cropCurrentPage":"Recadrer la page actuelle","cropCurrent":"Recadrer la page","cropAllPages":"Recadrer toutes les pages","cropAll":"Tout recadrer","documentCrop":"Recadrage du document","Comparison_alignButtonTouch":"Aligner","Comparison_selectPoint":"Sélectionner un point","Comparison_documentOldTouch":"Ancien","Comparison_documentNewTouch":"Nouveau","Comparison_result":"Comparaison","UserHint_description":"Sélectionnez trois points sur les deux documents pour les aligner manuellement. Pour un résultat optimal, choisissez des points situés à proximité des coins des documents, en veillant à respecter le même ordre pour les deux documents.","UserHint_dismissMessage":"Fermer","Comparison_alignButton":"Aligner les documents","documentComparison":"Comparaison de documents","Comparison_documentOld":"Ancien document","Comparison_documentNew":"Nouveau document","Comparison_resetButton":"Réinitialiser","UserHint_Select":"Sélection des points","numberValidationBadFormat":"La valeur saisie ne correspond pas au format du champ [{arg0}]","dateValidationBadFormat":"Date/Heure non valide : veuillez vérifier que la date et l’heure existent bien. Le champ [{arg0}] doit respecter le format {arg1}.","insertAfterPage":"Insérer après la page","docEditorMoveBeginningHint":"Saisissez « 0 » pour déplacer la ou les page(s) sélectionnée(s) au début du document.","cloudyRectangleAnnotation":"Nuage rectangulaire","dashedRectangleAnnotation":"Rectangle en pointillés","cloudyEllipseAnnotation":"Nuage en ellipse","dashedEllipseAnnotation":"Ellipse en pointillés","cloudyPolygonAnnotation":"Nuage polygonal","dashedPolygonAnnotation":"Polygone en pointillés","cloudAnnotation":"Nuage","rotateCounterclockwise":"Faire pivoter vers la gauche","rotateClockwise":"Faire pivoter vers la droite","enterDescriptionHere":"Saisissez ici une description","addOption":"Ajouter une option","formDesignerPopoverTitle":"Propriétés du {formFieldType}","formFieldNameExists":"Un champ de formulaire intitulé {formFieldName} existe déjà. Veuillez choisir un autre nom.","styleSectionLabel":"Style du {formFieldType}","formFieldName":"Nom du champ de formulaire","defaultValue":"Valeur par défaut","multiLine":"Plusieurs lignes","radioButtonFormFieldNameWarning":"Pour regrouper des cases d\'option, vérifiez qu\'elles ont le même nom de champ de formulaire.","advanced":"Avancé","creatorName":"Nom du créateur","note":"Remarque","customData":"Données personnalisées","required":"Obligatoire","readOnly":"Lecture seule","createdAt":"Création","updatedAt":"Modification","customDataErrorMessage":"La valeur doit être un objet JSON sérialisable en texte brut","borderColor":"Couleur de bordure","borderWidth":"Largeur de bordure","borderStyle":"Style de bordure","solidBorder":"Uni","dashed":"Discontinue","beveled":"Biseautée","inset":"Enchâssée","underline":"Soulignée","textStyle":"Style de texte","fontSize":"Taille de police","fontColor":"Couleur de police","button":"Champ de bouton","textField":"Champ de texte","radioField":"Champ d\'option","checkboxField":"Champ de case à cocher","comboBoxField":"Champ de boîte combinée","listBoxField":"Champ de zone de liste","signatureField":"Champ de signature","formDesigner":"Créateur de formulaires","buttonText":"Texte du bouton","notAvailable":"N/A","label":"Libellé","value":"Valeur","cannotEditOnceCreated":"Modification impossible après création.","formFieldNameNotEmpty":"Le nom du champ de formulaire ne doit pas être vide.","mediaAnnotation":"Annotation média","mediaFormatNotSupported":"Ce navigateur ne prend pas en charge les vidéos ou audios intégrés.","distanceMeasurement":"Distance","perimeterMeasurement":"Périmètre","polygonAreaMeasurement":"Aire polygonale","rectangularAreaMeasurement":"Aire rectangulaire","ellipseAreaMeasurement":"Aire elliptique","distanceMeasurementSettings":"Paramètres de mesure de distance","perimeterMeasurementSettings":"Paramètres de mesure de périmètre","polygonAreaMeasurementSettings":"Paramètres de mesure d\'aire polygonale","rectangularAreaMeasurementSettings":"Paramètres de mesure d\'aire rectangulaire","ellipseAreaMeasurementSettings":"Paramètres de mesure d\'aire elliptique","measurementScale":"Échelle","measurementCalibrateLength":"Calibrer la longueur","measurementPrecision":"Précision","measurementSnapping":"Magnétisme","formCreator":"Créateur de formulaires","group":"Grouper","ungroup":"Dégrouper","bold":"Gras","italic":"Italique","addLink":"Ajouter un lien","removeLink":"Supprimer le lien","editLink":"Modifier le lien","anonymous":"Anonyme","saveAndClose":"Enregistrer et fermer","ceToggleFontMismatchTooltip":"Afficher ou masquer l\'infobulle de police inadaptée","ceFontMismatch":"La police {arg0} n\'est pas disponible ou ne peut pas être utilisée pour modifier les contenus de ce document. Une police par défaut sera appliquée aux contenus ajoutés ou modifiés.","multiAnnotationsSelection":"Sélectionner plusieurs annotations","linkSettingsPopoverTitle":"Paramètres du lien","linkTo":"Destination du lien","uriLink":"Site Web","pageLink":"Page","invalidPageNumber":"Saisissez un numéro de page valide.","invalidPageLink":"Saisissez un lien vers une page valide.","linkAnnotation":"Lien","targetPageLink":"Numéro de page","rotation":"Rotation","unlockDocumentDescription":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","commentDialogClosed":"Ouvrir le fil de commentaires démarré par {arg0} : « {arg1} »","moreComments":"Plus de commentaires","setScale":"Définir l\'échelle","useCalibrationTool":"Utiliser l\'outil d\'étalonnage","calibrateScale":"Étalonner l\'échelle","unit":"Unité","scaleAnnotationsDeleteWarning":"Si vous supprimez l\'échelle, vous supprimerez également les mesures utilisant cette échelle.","halves":"Demi-pouces","quarters":"Quarts de pouce","eighths":"Huitièmes de pouce","sixteenths":"Seizièmes de pouce","addTextBox":"Ajouter une zone de texte","deleteTextBlockConfirmMessage":"Voulez-vous vraiment supprimer cette zone de texte ?","deleteTextBlockConfirmAccessibilityLabel":"Confirmer la suppression de la zone de texte","deleteTextBlockConfirmAccessibilityDescription":"Boîte de dialogue permettant à l\'utilisateur de confirmer ou d\'annuler la suppression de la zone de texte","linesCount":"{arg0, plural,\\none {{arg0} ligne}\\nother {{arg0} lignes}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotation}\\nother {{arg0} annotations}\\n=0 {Aucune annotation}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} page sélectionnée}\\nother {{arg0} pages sélectionnées}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} autre commentaire}\\nother {{arg0} autres commentaires}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-hr-903b976e9cad18e6.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-hr-903b976e9cad18e6.js new file mode 100644 index 00000000..6f596a76 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-hr-903b976e9cad18e6.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[157],{24733:e=>{e.exports=JSON.parse('{"thumbnails":"Sličice","pageXofY":"Stranica {arg0} od {arg1}","XofY":"{arg0} od {arg1}","prevPage":"Prethodna stranica","nextPage":"Slijedeća stranica","goToPage":"Idi na stranicu","gotoPageX":"Idi na stranicu {arg0}","pageX":"Stranica {arg0}","pageLayout":"Izgled stranica","pageMode":"Stranični mod","pageModeSingle":"Jednostruko","pageModeDouble":"Dvostruko","pageModeAutomatic":"Automatski","pageTransition":"Stranični prijelaz","pageTransitionContinuous":"Kontinuirano","pageTransitionJump":"Skok","pageRotation":"Rotiranje stranice","pageRotationLeft":"Rotiraj u lijevo","pageRotationRight":"Rotiraj u desno","zoomIn":"Približi","zoomOut":"Udalji","marqueeZoom":"Povećalo područja","panMode":"Način pomicanja","fitPage":"Poravnaj sa stranicom","fitWidth":"Poravnaj sa širinom","annotations":"Oznake","noAnnotations":"Nema oznaka","bookmark":"Bilješka","bookmarks":"Favoriti","noBookmarks":"Nema favorita","newBookmark":"Nova bilješka","addBookmark":"Dodaj favorita","removeBookmark":"Ukloni favorita","loadingBookmarks":"Učitavam zabilješke","deleteBookmarkConfirmMessage":"Jeste li sigurni da želite obrisati ovu bilješku?","deleteBookmarkConfirmAccessibilityLabel":"Potvrdi brisanje bilješke","annotation":"Oznaka","noteAnnotation":"Bilješka","textAnnotation":"Tekst","inkAnnotation":"Tinta","highlightAnnotation":"Označavanje teksta","underlineAnnotation":"Podcrtaj","squiggleAnnotation":"Podcrtaj valovito","strikeOutAnnotation":"Prekriżi","print":"Ispis","printPrepare":"Priprema dokumenta za ispis…","searchDocument":"Pretraži dokument","searchPreviousMatch":"Prethodna","searchNextMatch":"Slijedeća","searchResultOf":"{arg0} od {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} alati, promijeni izbornik","save":"Spremi","edit":"Uredi","delete":"Obriši","close":"Zatvori","cancel":"Otkaži","ok":"U redu","done":"Izvršeno","clear":"Očisti","date":"Datum","time":"Vrijeme","name":"Ime","color":"Boja","black":"Crna","white":"Bijela","blue":"Plava","red":"Crvena","green":"Zelena","orange":"Narančasta","lightOrange":"Svijetlo narančasta","yellow":"Žuta","lightYellow":"Svijetlo žuta","lightBlue":"Svijetlo plava","lightRed":"Svijetlo crvena","lightGreen":"Svijetlo zelena","fuchsia":"Fuksija","purple":"Ljubičasta","pink":"Roza","mauve":"Lila","lightGrey":"Svijetlo siva","grey":"Siva","darkGrey":"Tamno siva","noColor":"Prazno","transparent":"Prozirna","darkBlue":"Tamno plava","opacity":"Prozirnost","thickness":"Debljina","size":"Veličina","numberInPt":"{arg0} pt","font":"Font","fonts":"Fontovi","allFonts":"Svi fontovi","alignment":"Poravnanje","alignmentLeft":"Lijevo","alignmentRight":"Desno","alignmentCenter":"Sredina","verticalAlignment":"Vertikalno poravnanje","horizontalAlignment":"Horizontalno poravnanje","top":"Vrh","bottom":"Dno","deleteAnnotationConfirmMessage":"Jeste li sigurni da želite obrisati ovu oznaku?","deleteAnnotationConfirmAccessibilityLabel":"Potvrdite brisanje oznake","fontFamilyUnsupported":"{arg0} (nije podržan)","sign":"Potpiši","signed":"Potpisano","signatures":"Potpisi","addSignature":"Dodaj potpis","clearSignature":"Očisti potpis","storeSignature":"Pohrani potpis","pleaseSignHere":"Molimo potpišite ovdje","signing":"Potpisujem…","password":"Lozinka","unlock":"Otključaj","passwordRequired":"Potrebna je lozinka","unlockThisDocument":"Za pregledavanje dokumenta potrebno ga je otključati. Unesite lozinku u polje ispod.","incorrectPassword":"Unesena lozinka nije ispravna. Molimo pokušajte ponovno.","blendMode":"Način mješanja","normal":"Normalno","multiply":"Pomnoži","screenBlend":"Zakloni","overlay":"Prekrij","darken":"Potamni","lighten":"Posvijetli","colorDodge":"Izbjegni boje","colorBurn":"Sprži boje","hardLight":"Jako svjetlo","softLight":"Blago svjetlo","difference":"Razlika","exclusion":"Isključi","multiple":"Pomnoži","linecaps-dasharray":"Vrsta linije","dasharray":"Vrsta linije","startLineCap":"Početak linije","strokeDashArray":"Vrsta linije","endLineCap":"Kraj linije","lineAnnotation":"Linija","rectangleAnnotation":"Pravokutnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Poligon","polylineAnnotation":"Izlomljena linija","solid":"Puna","narrowDots":"Točkice","wideDots":"Široke točkice","narrowDashes":"Crtice","wideDashes":"Široke crtice","none":"Prazno","square":"Kvadrat","circle":"Kružić","diamond":"Dijamant","openArrow":"Otvorena strelica","closedArrow":"Zatvorena strelica","butt":"Linija","reverseOpenArrow":"Izvrnuta otvorena strelica","reverseClosedArrow":"Izvrnuta zatvorena strelica","slash":"Kosa","fillColor":"Boja ispunjenja","cloudy":"Oblačić","arrow":"Strelica","filePath":"Lokacija datoteke","unsupportedImageFormat":"Tip slike za slikovnu oznaku nije podržan: {arg0}. Molimo, koristite JPEG ili PNG.","noOutline":"Nema sadržaja","outline":"Sadržaj","imageAnnotation":"Slika","selectImage":"Odaberi sliku","stampAnnotation":"Pečat","highlighter":"Marker","textHighlighter":"Označavanje teksta","pen":"Crtanje","eraser":"Brisalo","export":"Izvezi","useAnExistingStampDesign":"Koristi postojeći dizajn pečata","createStamp":"Napravi pečat","stampText":"Tekst pečata","chooseColor":"Odaberi boju","rejected":"Odbijeno","accepted":"Prihvaćeno","approved":"Odobreno","notApproved":"Nije odobreno","draft":"Nacrt","final":"Konačno","completed":"Završeno","confidential":"Povjerljivo","forPublicRelease":"Za javnu objavu","notForPublicRelease":"Nije za javnu objavu","forComment":"Za komentiranje","void":"Prazno","preliminaryResults":"Prijevremeni rezultati","informationOnly":"Samo informativno","initialHere":"Inicijalno ovdje","signHere":"Potpisati ovdje","witness":"Svjedočiti","asIs":"Nepromijenjeno","departmental":"Odjelni","experimental":"Eksperimentalno","expired":"Isteklo","sold":"Prodano","topSecret":"Top Secret","revised":"Revidirano","custom":"Po mjeri","customStamp":"Prilagođen pečat","icon":"Ikona","iconRightPointer":"Pokazivač udesno","iconRightArrow":"Strelica udesno","iconCheck":"Kvačica","iconCircle":"Elipsa","iconCross":"Križ","iconInsert":"Unos teksta","iconNewParagraph":"Novi paragraf","iconNote":"Tekstovna oznaka","iconComment":"Komentar","iconParagraph":"Paragraf","iconHelp":"Pomoć","iconStar":"Zvijezda","iconKey":"Ključ","documentEditor":"Uređivač dokumenta","newPage":"Nova stranica","removePage":"Ukloni stranicu","duplicatePage":"Dupliciraj","rotatePageLeft":"Rotiraj u lijevo","rotatePageRight":"Rotiraj u desno","moveBefore":"Pomakni ispred","moveAfter":"Pomakni iza","selectNone":"Ne odaberi nijednog","selectAll":"Odaberi sve","saveAs":"Spremi kao…","mergeDocument":"Uvezi dokument","undo":"Vrati","redo":"Ponovi","openMoveDialog":"Pomakni","move":"Pomakni","instantModifiedWarning":"Dokument je izmjenjen i sada se jedino može čitati. Osvježite stranicu kako biste ovo popravili.","documentMergedHere":"Dokument će biti spojen ovdje","digitalSignaturesAllValid":"Dokument je digitalno potpisan i svi potpisi su važeći.","digitalSignaturesDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan.","digitalSignaturesSignatureWarning":"Dokument je digitalno potpisan, ali barem jedan od potpisa je problematičan.","digitalSignaturesSignatureWarningDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan i barem jedan od potpisa je problematičan.","digitalSignaturesSignatureError":"Dokument je digitalno potpisan, ali barem jedan potpis je nevažeći.","digitalSignaturesSignatureErrorDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan i barem jedan od potpisa je nevažeći.","signingInProgress":"Potpisivanje u tijeku","signingModalDesc":"Znači da se trenutačni dokument potpisuje","discardChanges":"Odbaci izmjene","commentEditorLabel":"Dodaj komentar…","reply":"Odgovori","comment":"Komentar","comments":"Komentari","showMore":"Prikaži više","showLess":"Prikaži manje","deleteComment":"Obriši komentar","deleteCommentConfirmMessage":"Jeste li sigurni da želite obrisati ovaj komentar?","deleteCommentConfirmAccessibilityLabel":"Potvrdi brisanje komentara","editContent":"Uredi sadržaj","commentOptions":"Opcije komentara","areaRedaction":"Područje cenzure","textRedaction":"Cenzuriranje teksta","redactionAnnotation":"Cenzura","applyingRedactions":"Primjena cenzure u tijeku","overlayTextPlaceholder":"Umetni prekrivajući tekst","outlineColor":"Boja obruba","overlayText":"Prekrivajući tekst","repeatText":"Ponavljanje teksta","preview":"Pregled","applyRedactions":"Primijeni cenzure","markupAnnotationToolbar":"Traka s alatima za označavanje markerom","documentViewport":"Područje dokumenta","redactionInProgress":"Cenzuriranje u tijeku","redactionModalDesc":"Znači da je u tijeku cenzura trenutačnog dokumenta","commentAction":"Komentiraj","printProgressModalDesc":"Znači da se dokument priprema za ispis","printProgressModal":"Ispis u tijeku","documentEditorDesc":"Napravite izmjene u trenutačnom dokumentu","reloadDocumentDialog":"Potvrdi ponovno učitavanje","reloadDocumentDialogDesc":"Dijaloški okvir s porukom o potvrdi ponovnog učitavanja dokumenta.","signatureDialog":"Potpis","signatureDialogDesc":"Dijaloški okvir omogućava odabir potpisa olovkom i njegovo umetanje u dokument. Nemate li pohranjenih potpisa, možete ih kreirati na praznom platnu.","stampAnnotationTemplatesDialog":"Predlošci žigova","stampAnnotationTemplatesDialogDesc":"Ovaj dijaloški okvir omogućava odabir žiga s bilješkom za umetanje u dokument ili izradu žiga s vlastitom bilješkom.","selectedAnnotation":"Odabrano {arg0}","commentThread":"Nit komentara","selectedAnnotationWithText":"Odabrano je {arg0} s {arg1} kao sadržajem","signature":"Potpis","ElectronicSignatures_SignHereTypeHint":"Unesite svoj potpis iznad","ElectronicSignatures_SignHereDrawHint":"Potpišite ovdje","selectDragImage":"Odaberi ili povuci sliku","replaceImage":"Zamijeni sliku","draw":"Crtanje","image":"Slika","type":"Vrsta","saveSignature":"Spremi potpis","loading":"Učitavanje","selectedItem":"{arg0}, odabrano.","annotationDeleted":"Oznaka je izbrisana.","newAnnotationCreated":"Kreirana je nova oznaka {arg0}.","bookmarkCreated":"Načinjena oznaka.","bookmarkEdited":"Uređena oznaka.","bookmarkDeleted":"Izbrisana oznaka.","cancelledEditingBookmark":"Otkazano uređivanje oznaka.","selectAFileForImage":"Odaberite datoteku za novu bilješku na slici.","deleteAnnotationConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja bilješke.","deleteBookmarkConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja oznake.","deleteCommentConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja komentara.","resize":"Promj. velič.","resizeHandleTop":"Vrh","resizeHandleBottom":"Dno","resizeHandleRight":"Desno","resizeHandleLeft":"Lijevo","cropCurrentPage":"Izreži trenutačnu stranicu","cropCurrent":"Izreži trenutačno","cropAllPages":"Izreži sve stranice","cropAll":"Izreži sve","documentCrop":"Izrezivanje dokumenta","Comparison_alignButtonTouch":"Poravnaj","Comparison_selectPoint":"Odaberi točku","Comparison_documentOldTouch":"Stari","Comparison_documentNewTouch":"Novi","Comparison_result":"Usporedba","UserHint_description":"Odaberite tri točke na oba dokumenta za ručno poravnanje. Za najbolje rezultate, odaberite točke blizu kutova dokumenata, pazeći na isti redoslijed točaka na oba dokumenta.","UserHint_dismissMessage":"Otkaži","Comparison_alignButton":"Poravnaj dokumente","documentComparison":"Usporedba dokumenta","Comparison_documentOld":"Stari dokument","Comparison_documentNew":"Novi dokument","Comparison_resetButton":"Ponovno postavi","UserHint_Select":"Odabir točaka","numberValidationBadFormat":"Unesena vrijednost ne odgovara formatu polja [{arg0}]","dateValidationBadFormat":"Nepravilan datum/vrijeme: budite sigurni da je vrijeme/datum ispravan. Polje [{arg0}] mora odgovarati formatu {arg1}","insertAfterPage":"Umetni iza stranice","docEditorMoveBeginningHint":"Unesite “0” za pomak odabrane stranice/stranica na početak dokumenta.","cloudyRectangleAnnotation":"Pravokutnik s okvirom u obliku oblaka","dashedRectangleAnnotation":"Iscrtkani pravokutnik","cloudyEllipseAnnotation":"Elipsa s okvirom u obliku oblaka","dashedEllipseAnnotation":"Iscrtkana elipsa","cloudyPolygonAnnotation":"Mnogokut s okvirom u obliku oblaka","dashedPolygonAnnotation":"Iscrtkani mnogokut","cloudAnnotation":"Oblak","rotateCounterclockwise":"Rotiraj suprotno od smjera kazaljke sata","rotateClockwise":"Rotiraj u smjeru kazaljke sata","enterDescriptionHere":"Ovdje unesite opis","addOption":"Dodaj opciju","formDesignerPopoverTitle":"{formFieldType} - svojstva","formFieldNameExists":"Polje obrasca s nazivom {formFieldName} već postoji. Molimo, odaberite drugi naziv.","styleSectionLabel":"{formFieldType} - stil","formFieldName":"Naziv polja obrasca","defaultValue":"Zadana vrijednost","multiLine":"Više redaka","radioButtonFormFieldNameWarning":"Za grupiranje izbornih gumba, pazite da imaju iste nazive polja obrazaca.","advanced":"Napredno","creatorName":"Ina autora","note":"Napomena","customData":"Prilagiđeni podaci","required":"Obavezno","readOnly":"Samo za čitanje","createdAt":"Kreirano","updatedAt":"Ažurirano","customDataErrorMessage":"Mora biti obični JSON serijalizirani objekt","borderColor":"Boja obruba","borderWidth":"Širina obruba","borderStyle":"Stil obruba","solidBorder":"Puni","dashed":"Iscrtkani","beveled":"Nakošeni","inset":"Umetnuti","underline":"Podcrtani","textStyle":"Stil teksta","fontSize":"Veličina fonta","fontColor":"Boja fonta","button":"Polje gumba","textField":"Tekstno polje","radioField":"Polje izbornoga gumba","checkboxField":"Polje potvrdnog okvira","comboBoxField":"Polje kombiniranog okvira","listBoxField":"Polje okvira popisa","signatureField":"Polje za potpis","formDesigner":"Kreator obrasca","buttonText":"Tekst gumba","notAvailable":"Ništa","label":"Oznaka","value":"Vrijednost","cannotEditOnceCreated":"Ne može se uređivati nakon izrade.","formFieldNameNotEmpty":"Naziv polja obrasca ne može ostati prazan.","mediaAnnotation":"Oznaka medija","mediaFormatNotSupported":"Ovaj preglednik ne podržava ugrađeni video ili zvuk.","distanceMeasurement":"Udaljenost","perimeterMeasurement":"Perimetar","polygonAreaMeasurement":"Područje mnogokuta","rectangularAreaMeasurement":"Područje pravokutnika","ellipseAreaMeasurement":"Područje elipse","distanceMeasurementSettings":"Postavke mjerenja udaljenosti","perimeterMeasurementSettings":"Postavke mjerenja perimetra","polygonAreaMeasurementSettings":"Postavke mjerenja područja mnogokuta","rectangularAreaMeasurementSettings":"Postavke mjerenja područja pravokutnika","ellipseAreaMeasurementSettings":"Postavke mjerenja područja elipse","measurementScale":"Mjerilo","measurementCalibrateLength":"Kalibriranje","measurementPrecision":"Preciznost","measurementSnapping":"Poravnanje","formCreator":"Kreator obrasca","group":"Grupiraj","ungroup":"Odgrupiraj","bold":"Podebljano","italic":"Kurziv","addLink":"Dodaj poveznicu","removeLink":"Ukloni poveznicu","editLink":"Uredi poveznicu","anonymous":"Anonimni korisnik","saveAndClose":"Spremi i zatvori","ceToggleFontMismatchTooltip":"Naziv alata za prebacivanje nepodudarnosti fonta","ceFontMismatch":"Font {arg0} nije dostupan ili se ne može koristiti za uređivanje sadržaja u ovom dokumentu. Font dodanog ili izmijenjenog sadržaja će se vratiti na zadani.","multiAnnotationsSelection":"Odaberite više oznaka","linkSettingsPopoverTitle":"Postavke poveznice","linkTo":"Poveznica na","uriLink":"Web stranicu","pageLink":"Stranicu","invalidPageNumber":"Unesite valjani broj stranice.","invalidPageLink":"Unesite valjanu poveznicu na stranicu.","linkAnnotation":"Poveznica","targetPageLink":"Broj stranice","rotation":"Rotacija","unlockDocumentDescription":"Za pregled ovog dokumenta morate ga otključati. Molimo, unesite lozinku u donje polje.","commentDialogClosed":"Otvori nit komentara koji je započeo/la {arg0}: “{arg1}”","moreComments":"Još komentara","setScale":"Podesi mjerilo","useCalibrationTool":"Upotrijebi alat za kalibriranje","calibrateScale":"Kalibriraj mjerilo","unit":"Jedinica","scaleAnnotationsDeleteWarning":"Brisanjem mjerila izbrisat će se i mjerenja izvedena njime.","halves":"Polovine inča","quarters":"Četvrtine inča","eighths":"Osmine inča","sixteenths":"Šesnaestine inča","addTextBox":"Dodaj tekstni okvir","deleteTextBlockConfirmMessage":"Jeste li sigurni da želite izbrisati ovaj tekstni okvir?","deleteTextBlockConfirmAccessibilityLabel":"Potvrdi brisanje tekstnog okvira","deleteTextBlockConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja tekstnog okvira","linesCount":"{arg0, plural,\\none {{arg0} linija}\\nfew {{arg0} linije}\\nother {{arg0} linija}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} oznaka}\\nfew {{arg0} oznake}\\nother {{arg0} oznaka}\\n=0 {Bez oznaka}\\n}","pagesSelected":"{arg0, plural,\\none {Odabrana je {arg0} stranica}\\nfew {Odabrane su {arg0} stranice}\\nother {Odabrano je {arg0} stranica}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentar}\\nfew {{arg0} komentara}\\nother {{arg0} komentara}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentar}\\nfew {{arg0} komentara}\\nother {{arg0} komentara}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} komentar više}\\nfew {{arg0} komentara više}\\nother {{arg0} komentara više}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-id-eaa366a690a1c61c.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-id-eaa366a690a1c61c.js new file mode 100644 index 00000000..745f589e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-id-eaa366a690a1c61c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9726],{33615:a=>{a.exports=JSON.parse('{"thumbnails":"Gambar mini","pageXofY":"Halaman {arg0} dari {arg1}","XofY":"{arg0} dari {arg1}","prevPage":"Halaman Sebelumnya","nextPage":"Halaman Berikutnya","goToPage":"Buka halaman","gotoPageX":"Buka halaman {arg0}","pageX":"Halaman {arg0}","pageLayout":"Tata Letak Halaman","pageMode":"Mode Halaman","pageModeSingle":"Tunggal","pageModeDouble":"Ganda","pageModeAutomatic":"Otomatis","pageTransition":"Transisi Halaman","pageTransitionContinuous":"Kontinu","pageTransitionJump":"Lompat","pageRotation":"Rotasi Halaman","pageRotationLeft":"Putar ke Kiri","pageRotationRight":"Putar ke Kanan","zoomIn":"Perbesar","zoomOut":"Perkecil","marqueeZoom":"Alat Marquee","panMode":"Mode Geser","fitPage":"Paskan Halaman","fitWidth":"Paskan Lebar","annotations":"Anotasi","noAnnotations":"Tidak Ada Anotasi","bookmark":"Penanda","bookmarks":"Penanda","noBookmarks":"Tidak Ada Penanda","newBookmark":"Penanda Baru","addBookmark":"Beri Penanda","removeBookmark":"Hapus Penanda","loadingBookmarks":"Memuat Penanda","deleteBookmarkConfirmMessage":"Apakah Anda yakin ingin menghapus penanda ini?","deleteBookmarkConfirmAccessibilityLabel":"Konfirmasi penghapusan penanda","annotation":"Anotasi","noteAnnotation":"Catatan","textAnnotation":"Teks","inkAnnotation":"Gambar","highlightAnnotation":"Sorotan Teks","underlineAnnotation":"Garis Bawah","squiggleAnnotation":"Garis Lekak-lekuk","strikeOutAnnotation":"Coret","print":"Cetak","printPrepare":"Menyiapkan dokumen untuk dicetak…","searchDocument":"Cari Dokumen","searchPreviousMatch":"Sebelumnya","searchNextMatch":"Berikutnya","searchResultOf":"{arg0} dari {arg1}","accessibilityLabelDropdownGroupToggle":"Alat {arg0}, ubah menu","save":"Simpan","edit":"Edit","delete":"Hapus","close":"Tutup","cancel":"Batalkan","ok":"OKE","done":"Selesai","clear":"Bersihkan","date":"Tanggal","time":"Waktu","name":"Nama","color":"Warna","black":"Hitam","white":"Putih","blue":"Biru","red":"Merah","green":"Hijau","orange":"Oranye","lightOrange":"Oranye Muda","yellow":"Kuning","lightYellow":"Kuning Muda","lightBlue":"Biru Muda","lightRed":"Merah Muda","lightGreen":"Hijau Muda","fuchsia":"Fusia","purple":"Ungu","pink":"Merah Muda","mauve":"Mauve","lightGrey":"Abu-abu Muda","grey":"Abu-abu","darkGrey":"Abu-abu Tua","noColor":"Tidak ada","transparent":"Transparan","darkBlue":"Biru Tua","opacity":"Keburaman","thickness":"Ketebalan","size":"Ukuran","numberInPt":"{arg0} poin","font":"Font","fonts":"Font","allFonts":"Semua Font","alignment":"Penjajaran","alignmentLeft":"Kiri","alignmentRight":"Kanan","alignmentCenter":"Tengah","verticalAlignment":"Perataan vertikal","horizontalAlignment":"Perataan horizontal","top":"Atas","bottom":"Bawah","deleteAnnotationConfirmMessage":"Apakah Anda yakin ingin menghapus anotasi ini?","deleteAnnotationConfirmAccessibilityLabel":"Konfirmasi penghapusan anotasi","fontFamilyUnsupported":"{arg0} (tidak didukung)","sign":"Tanda Tangan","signed":"Ditandatangani","signatures":"Tanda Tangan","addSignature":"Tambah Tanda Tangan","clearSignature":"Bersihkan Tanda Tangan","storeSignature":"Simpan Tanda Tangan","pleaseSignHere":"Tanda tangan di sini","signing":"Menandatangani…","password":"Kata Sandi","unlock":"Buka kunci","passwordRequired":"Kata Sandi Dibutuhkan","unlockThisDocument":"Anda harus membuka dokumen ini untuk melihatnya. Masukkan kata sandi pada bidang di bawah.","incorrectPassword":"Kata sandi yang Anda masukkan salah. Coba lagi.","blendMode":"Mode Paduan","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Gaya Garis","dasharray":"Gaya Garis","startLineCap":"Garis Mulai","strokeDashArray":"Gaya Garis","endLineCap":"Garis Berakhir","lineAnnotation":"Garis","rectangleAnnotation":"Persegi Panjang","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Polyline","solid":"Padat","narrowDots":"Titik Sempit","wideDots":"Titik Lebar","narrowDashes":"Garis Putus Sempit","wideDashes":"Garis Putus Lebar","none":"Tidak ada","square":"Persegi","circle":"Lingkaran","diamond":"Intan","openArrow":"Panah Terbuka","closedArrow":"Panah Tertutup","butt":"Pangkal","reverseOpenArrow":"Panah Terbuka Terbalik","reverseClosedArrow":"Panah Tertutup Terbalik","slash":"Garis Miring","fillColor":"Warna Isi","cloudy":"Berawan","arrow":"Panah","filePath":"Jalur File","unsupportedImageFormat":"Jenis tidak didukung untuk anotasi gambar: {arg0}. Gunakan JPEG atau PNG.","noOutline":"Tidak Ada Kerangka","outline":"Kerangka","imageAnnotation":"Gambar","selectImage":"Pilih Gambar","stampAnnotation":"Stempel","highlighter":"Sorotan Bentuk Bebas","textHighlighter":"Penyorot Teks","pen":"Gambar","eraser":"Penghapus","export":"Ekspor","useAnExistingStampDesign":"Gunakan desain stempel yang ada","createStamp":"Buat Stempel","stampText":"Teks Stempel","chooseColor":"Pilih Warna","rejected":"Ditolak","accepted":"Diterima","approved":"Disetujui","notApproved":"Belum Disetujui","draft":"Draf","final":"Akhir","completed":"Selesai","confidential":"Rahasia","forPublicRelease":"Untuk Rilis Publik","notForPublicRelease":"Bukan Untuk Rilis Publik","forComment":"Untuk Komentar","void":"Kosong","preliminaryResults":"Hasil Awal","informationOnly":"Hanya informasi","initialHere":"Inisial Di Sini","signHere":"Tandai Di Sini","witness":"Tanda","asIs":"Apa Adanya","departmental":"Departemen","experimental":"Eksperimental","expired":"Berakhir","sold":"Terjual","topSecret":"Sangat Rahasia","revised":"Revisi","custom":"Khusus","customStamp":"Stempel Khusus","icon":"Ikon","iconRightPointer":"Penunjuk Kanan","iconRightArrow":"Panah Kanan","iconCheck":"Centang","iconCircle":"Elips","iconCross":"Silang","iconInsert":"Masukkan Teks","iconNewParagraph":"Paragraf Baru","iconNote":"Catatan Teks","iconComment":"Komentar","iconParagraph":"Paragraf","iconHelp":"Bantuan","iconStar":"Bintang","iconKey":"Kunci","documentEditor":"Editor Dokumen","newPage":"Halaman Baru","removePage":"Hapus Halaman","duplicatePage":"Duplikatkan","rotatePageLeft":"Putar ke Kiri","rotatePageRight":"Putar ke Kanan","moveBefore":"Pindah Sebelum","moveAfter":"Pindah Setelah","selectNone":"Tidak Pilih Satu Pun","selectAll":"Pilih Semua","saveAs":"Simpan Sebagai…","mergeDocument":"Impor Dokumen","undo":"Kembalikan","redo":"Ulangi","openMoveDialog":"Pindah","move":"Pindah","instantModifiedWarning":"Dokumen telah dimodifikasi dan kini dalam mode hanya baca. Muat ulang halaman untuk memperbaiki ini.","documentMergedHere":"Dokumen akan digabung di sini","digitalSignaturesAllValid":"Dokumen telah ditandatangani secara digital dan semua tanda tangan sah.","digitalSignaturesDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani.","digitalSignaturesSignatureWarning":"Dokumen telah ditandatangani secara digital, tetapi setidaknya satu tanda tangan memiliki masalah.","digitalSignaturesSignatureWarningDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani dan setidaknya satu tanda tangan memiliki masalah.","digitalSignaturesSignatureError":"Dokumen telah ditandatangani secara digital, tetapi setidaknya satu tanda tangan tidak sah.","digitalSignaturesSignatureErrorDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani dan setidaknya satu tanda tangan tidak sah.","signingInProgress":"Sedang ditandatangani","signingModalDesc":"Menunjukkan bahwa dokumen saat ini sedang ditandatangani","discardChanges":"Buang Perubahan","commentEditorLabel":"Tambah komentar Anda…","reply":"Balas","comment":"Komentar","comments":"Komentar","showMore":"Lebih banyak","showLess":"Lebih sedikit","deleteComment":"Hapus Komentar","deleteCommentConfirmMessage":"Apakah Anda yakin ingin menghapus komentar ini?","deleteCommentConfirmAccessibilityLabel":"Konfirmasi penghapusan komentar","editContent":"Edit Konten","commentOptions":"Opsi Komentar","areaRedaction":"Suntingan Area","textRedaction":"Suntingan Teks","redactionAnnotation":"Suntingan","applyingRedactions":"Menerapkan suntingan","overlayTextPlaceholder":"Masukkan teks overlay","outlineColor":"Warna Kerangka","overlayText":"Teks Overlay","repeatText":"Ulangi Teks","preview":"Pratinjau","applyRedactions":"Terapkan Suntingan","markupAnnotationToolbar":"Bar alat anotasi markah","documentViewport":"Viewport dokumen","redactionInProgress":"Sedang disunting","redactionModalDesc":"Menunjukkan bahwa dokumen saat ini sedang disunting","commentAction":"Komentari","printProgressModalDesc":"Menunjukkan bahwa dokumen sedang disiapkan untuk dicetak","printProgressModal":"Sedang dicetak","documentEditorDesc":"Buat perubahan pada dokumen saat ini","reloadDocumentDialog":"Konfirmasi pemuatan ulang dokumen","reloadDocumentDialogDesc":"Dialog yang meminta pengguna untuk mengonfirmasi pemuatan ulang dokumen.","signatureDialog":"Tanda Tangan","signatureDialogDesc":"Dialog ini memungkinkan Anda memilih tanda tangan tinta untuk disisipkan ke dalam dokumen. Jika Anda tidak memiliki tanda tangan yang disimpan, Anda dapat membuatnya menggunakan tampilan kanvas.","stampAnnotationTemplatesDialog":"Template Anotasi Stempel","stampAnnotationTemplatesDialogDesc":"Dialog ini memungkinkan Anda memilih anotasi stempel untuk disisipkan ke dalam dokumen atau membuat anotasi stempel khusus dengan teks Anda sendiri.","selectedAnnotation":"{arg0} yang dipilih","commentThread":"Utas komentar","selectedAnnotationWithText":"{arg0} yang dipilih dengan {arg1} sebagai konten","signature":"Tanda Tangan","ElectronicSignatures_SignHereTypeHint":"Ketik Tanda Tangan Anda di Atas","ElectronicSignatures_SignHereDrawHint":"Tandai Di Sini","selectDragImage":"Pilih atau Seret Gambar","replaceImage":"Ganti Gambar","draw":"Gambar","image":"Gambar","type":"Ketik","saveSignature":"Simpan Tanda Tangan","loading":"Memuat","selectedItem":"{arg0}, dipilih.","annotationDeleted":"Anotasi dihapus.","newAnnotationCreated":"Anotasi {arg0} baru telah dibuat.","bookmarkCreated":"Penanda dibuat.","bookmarkEdited":"Penanda diedit.","bookmarkDeleted":"Penanda dihapus.","cancelledEditingBookmark":"Penanda batal diedit.","selectAFileForImage":"Pilih file untuk anotasi gambar baru.","deleteAnnotationConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan anotasi.","deleteBookmarkConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan penanda.","deleteCommentConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan komentar.","resize":"Ubah ukuran","resizeHandleTop":"Atas","resizeHandleBottom":"Bawah","resizeHandleRight":"Kanan","resizeHandleLeft":"Kiri","cropCurrentPage":"Pangkas Halaman Saat Ini","cropCurrent":"Pangkas Ini","cropAllPages":"Pangkas Semua Halaman","cropAll":"Pangkas Semua","documentCrop":"Pangkas Dokumen","Comparison_alignButtonTouch":"Ratakan","Comparison_selectPoint":"Pilih Titik","Comparison_documentOldTouch":"Lama","Comparison_documentNewTouch":"Baru","Comparison_result":"Perbandingan","UserHint_description":"Pilih tiga titik pada kedua dokumen untuk perataan manual. Untuk hasil terbaik, pilih titik di dekat sudut dokumen untuk memastikan titik berada dalam urutan yang sama pada kedua dokumen.","UserHint_dismissMessage":"Tutup","Comparison_alignButton":"Ratakan Dokumen","documentComparison":"Perbandingan Dokumen","Comparison_documentOld":"Dokumen Lama","Comparison_documentNew":"Dokumen Baru","Comparison_resetButton":"Atur Ulang","UserHint_Select":"Memilih Titik","numberValidationBadFormat":"Nilai yang dimasukkan tidak cocok dengan format bidang [{arg0}]","dateValidationBadFormat":"Tanggal/waktu tidak sah: pastikan tanggal/waktu benar. Bidang [{arg0}] harus cocok dengan format {arg1}","insertAfterPage":"Sisipkan setelah halaman","docEditorMoveBeginningHint":"Ketik “0” untuk memindahkan halaman yang dipilih ke awal dokumen.","cloudyRectangleAnnotation":"Persegi Panjang Awan","dashedRectangleAnnotation":"Persegi Panjang Garis Putus","cloudyEllipseAnnotation":"Elips Awan","dashedEllipseAnnotation":"Elips Garis Putus","cloudyPolygonAnnotation":"Poligon Awan","dashedPolygonAnnotation":"Poligon Garis Putus","cloudAnnotation":"Awan","rotateCounterclockwise":"Putar berlawanan arah jarum jam","rotateClockwise":"Putar searah jarum jam","enterDescriptionHere":"Masukkan deskripsi di sini","addOption":"Tambah opsi","formDesignerPopoverTitle":"Properti {formFieldType}","formFieldNameExists":"Bidang formulir bernama {formFieldName} sudah ada. Pilih nama yang berbeda.","styleSectionLabel":"Gaya {formFieldType}","formFieldName":"Nama Bidang Formulir","defaultValue":"Nilai Default","multiLine":"Multi-baris","radioButtonFormFieldNameWarning":"Untuk mengelompokkan tombol radio, pastikan nama bidang formulirnya sama.","advanced":"Lanjutan","creatorName":"Nama Pembuat","note":"Catatan","customData":"Data Khusus","required":"Diperlukan","readOnly":"Hanya Baca","createdAt":"Dibuat","updatedAt":"Diperbarui","customDataErrorMessage":"Harus berupa objek serial JSON biasa","borderColor":"Warna Garis Tepi","borderWidth":"Lebar Garis Tepi","borderStyle":"Gaya Garis Tepi","solidBorder":"Solid","dashed":"Bergaris Putus","beveled":"Bevel","inset":"Inset","underline":"Bergaris Bawah","textStyle":"Gaya Teks","fontSize":"Ukuran Font","fontColor":"Warna Font","button":"Bidang Tombol","textField":"Bidang Teks","radioField":"Bidang Radio","checkboxField":"Bidang Kotak Centang","comboBoxField":"Bidang Kotak Kombo","listBoxField":"Bidang Kotak Daftar","signatureField":"Bidang Tanda Tangan","formDesigner":"Pencipta Formulir","buttonText":"Teks Tombol","notAvailable":"T/A","label":"Label","value":"Nilai","cannotEditOnceCreated":"Tidak dapat diedit setelah dibuat.","formFieldNameNotEmpty":"Nama bidang formulir tidak boleh kosong.","mediaAnnotation":"Anotasi Media","mediaFormatNotSupported":"Browser ini tidak mendukung video atau audio yang dilekatkan.","distanceMeasurement":"Jarak","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Area Poligon","rectangularAreaMeasurement":"Area Persegi Panjang","ellipseAreaMeasurement":"Area Elips","distanceMeasurementSettings":"Pengaturan Pengukuran Jarak","perimeterMeasurementSettings":"Pengaturan Pengukuran Perimeter","polygonAreaMeasurementSettings":"Pengaturan Pengukuran Area Poligon","rectangularAreaMeasurementSettings":"Pengaturan Pengukuran Area Persegi Panjang","ellipseAreaMeasurementSettings":"Pengaturan Pengukuran Area Elips","measurementScale":"Skala","measurementCalibrateLength":"Kalibrasi Panjang","measurementPrecision":"Presisi","measurementSnapping":"Lekatkan","formCreator":"Pencipta Formulir","group":"Grup","ungroup":"Pisahkan grup","bold":"Tebal","italic":"Miring","addLink":"Tambah Tautan","removeLink":"Hapus Tautan","editLink":"Edit Tautan","anonymous":"Anonim","saveAndClose":"Simpan & Tutup","ceToggleFontMismatchTooltip":"Ubah tooltip ketidakcocokan font","ceFontMismatch":"Font {arg0} tidak tersedia atau tidak dapat digunakan untuk mengedit konten dalam dokumen ini. Konten yang ditambahkan atau diubah akan dikembalikan ke font default.","multiAnnotationsSelection":"Pilih Beberapa Anotasi","linkSettingsPopoverTitle":"Pengaturan Tautan","linkTo":"Tautkan Ke","uriLink":"Situs Web","pageLink":"Halaman","invalidPageNumber":"Masukkan nomor halaman yang sah.","invalidPageLink":"Masukkan tautan halaman yang sah.","linkAnnotation":"Tautan","targetPageLink":"Nomor Halaman","rotation":"Rotasi","unlockDocumentDescription":"Anda harus membuka kunci dokumen ini untuk melihatnya. Masukkan kata sandi pada bidang di bawah.","commentDialogClosed":"Utas komentar terbuka dimulai oleh {arg0}: “{arg1}”","moreComments":"Komentar lainnya","setScale":"Atur Skala","useCalibrationTool":"Gunakan Alat Kalibrasi","calibrateScale":"Kalibrasi Skala","unit":"Unit","scaleAnnotationsDeleteWarning":"Menghapus skala juga akan menghapus pengukuran yang menggunakan skala tersebut.","halves":"Setengah Inci","quarters":"Seperempat Inci","eighths":"Seperdelapan Inci","sixteenths":"Seperenam Belas Inci","addTextBox":"Tambahkan Kotak Teks","deleteTextBlockConfirmMessage":"Apakah Anda yakin ingin menghapus kotak teks ini?","deleteTextBlockConfirmAccessibilityLabel":"Konfirmasi penghapusan kotak teks","deleteTextBlockConfirmAccessibilityDescription":"Dialog yang memungkinkan pengguna mengonfirmasi atau membatalkan penghapusan kotak teks","linesCount":"{arg0, plural,\\nother {{arg0} Garis}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} Anotasi}\\n=0 {Tak ada anotasi}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} Halaman Dipilih}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} Komentar}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} Komentar}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} komentar lainnya}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-it-81246aef5f129295.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-it-81246aef5f129295.js new file mode 100644 index 00000000..e3e19260 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-it-81246aef5f129295.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8839],{24068:e=>{e.exports=JSON.parse('{"thumbnails":"Miniature","pageXofY":"Pagina {arg0} di {arg1}","XofY":"{arg0} di {arg1}","prevPage":"Pagina precedente","nextPage":"Pagina successiva","goToPage":"Vai a pagina","gotoPageX":"Vai alla pagina {arg0}","pageX":"Pagina {arg0}","pageLayout":"Layout pagina","pageMode":"Modalità pagina","pageModeSingle":"Pagina singola","pageModeDouble":"Due pagine","pageModeAutomatic":"Automatica","pageTransition":"Transizione pagine","pageTransitionContinuous":"Continua","pageTransitionJump":"Passaggio","pageRotation":"Rotazione pagina","pageRotationLeft":"Ruota a sinistra","pageRotationRight":"Ruota a destra","zoomIn":"Ingrandisci","zoomOut":"Riduci","marqueeZoom":"Strumento di selezione","panMode":"Spostamento","fitPage":"Adatta pagina","fitWidth":"Adatta larghezza","annotations":"Annotazioni","noAnnotations":"Nessuna annotazione","bookmark":"Segnalibro","bookmarks":"Segnalibri","noBookmarks":"Nessun segnalibro","newBookmark":"Nuovo segnalibro","addBookmark":"Aggiungi segnalibro","removeBookmark":"Rimuovi segnalibro","loadingBookmarks":"Carico segnalibri","deleteBookmarkConfirmMessage":"Sei sicuro di voler eliminare questo segnalibro?","deleteBookmarkConfirmAccessibilityLabel":"Conferma eliminazione segnalibro","annotation":"Annotazione","noteAnnotation":"Nota","textAnnotation":"Testo","inkAnnotation":"Disegno","highlightAnnotation":"Evidenziazione testo","underlineAnnotation":"Sottolineato","squiggleAnnotation":"Zigzag","strikeOutAnnotation":"Barrato","print":"Stampa","printPrepare":"Preparo documento per la stampa…","searchDocument":"Cerca nel documento","searchPreviousMatch":"Precedente","searchNextMatch":"Avanti","searchResultOf":"{arg0} di {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} strumenti, cambia menu","save":"Salva","edit":"Modifica","delete":"Elimina","close":"Chiudi","cancel":"Annulla","ok":"OK","done":"Fine","clear":"Pulisci","date":"Data","time":"Ora","name":"Nome","color":"Colore","black":"Nero","white":"Bianco","blue":"Blu","red":"Rosso","green":"Verde","orange":"Arancione","lightOrange":"Arancione chiaro","yellow":"Giallo","lightYellow":"Giallo chiaro","lightBlue":"Celeste","lightRed":"Rosso chiaro","lightGreen":"Verde chiaro","fuchsia":"Fucsia","purple":"Viola","pink":"Rosa","mauve":"Malva","lightGrey":"Grigio chiaro","grey":"Grigio","darkGrey":"Grigio scuro","noColor":"Nessuno","transparent":"Trasparente","darkBlue":"Blu scuro","opacity":"Opacità","thickness":"Spessore","size":"Dimensioni","numberInPt":"{arg0} punti","font":"Font","fonts":"Font","allFonts":"Tutti i font","alignment":"Allineamento","alignmentLeft":"Sinistra","alignmentRight":"Destra","alignmentCenter":"Centrato","verticalAlignment":"Allineamento verticale","horizontalAlignment":"Allineamento orizzontale","top":"In alto","bottom":"In basso","deleteAnnotationConfirmMessage":"Sei sicuro di voler eliminare questa annotazione?","deleteAnnotationConfirmAccessibilityLabel":"Conferma eliminazione annotazione","fontFamilyUnsupported":"{arg0} (non supportato)","sign":"Firma","signed":"Firmato","signatures":"Firme","addSignature":"Aggiungi firma","clearSignature":"Cancella firma","storeSignature":"Memorizza firma","pleaseSignHere":"Firma qui","signing":"Firmo…","password":"Password","unlock":"Sblocca","passwordRequired":"Password richiesta","unlockThisDocument":"Devi sbloccare questo documento per vederlo. Inserisci la password nel campo sottostante.","incorrectPassword":"La password inserita non è corretta. Riprova.","blendMode":"Metodo di fusione","normal":"Normale","multiply":"Moltiplica","screenBlend":"Scolora","overlay":"Sovrapponi","darken":"Scurisci","lighten":"Schiarisci","colorDodge":"Colore scherma","colorBurn":"Colore brucia","hardLight":"Luce intensa","softLight":"Luce soffusa","difference":"Differenza","exclusion":"Esclusione","multiple":"Multipli","linecaps-dasharray":"Stile linea","dasharray":"Stile linea","startLineCap":"Inizio linea","strokeDashArray":"Stile linea","endLineCap":"Fine linea","lineAnnotation":"Linea","rectangleAnnotation":"Rettangolo","ellipseAnnotation":"Ellisse","polygonAnnotation":"Poligono","polylineAnnotation":"Polilinea","solid":"Continuo","narrowDots":"Puntini stretti","wideDots":"Puntini larghi","narrowDashes":"Trattini stretti","wideDashes":"Trattini larghi","none":"Nessuno","square":"Quadrato","circle":"Cerchio","diamond":"Diamante","openArrow":"Freccia aperta","closedArrow":"Freccia chiusa","butt":"Piatta","reverseOpenArrow":"Freccia aperta invertita","reverseClosedArrow":"Freccia chiusa invertita","slash":"Barra","fillColor":"Colore di riempimento","cloudy":"Nuvoletta","arrow":"Freccia","filePath":"Percorso file","unsupportedImageFormat":"Tipo non supportato come annotazione immagine: {arg0}. Usa JPEG o PNG.","noOutline":"Nessun indice","outline":"Indice","imageAnnotation":"Immagine","selectImage":"Seleziona immagine","stampAnnotation":"Timbro","highlighter":"Evidenziato a mano libera","textHighlighter":"Evidenziatore testo","pen":"Disegno","eraser":"Gomma","export":"Esporta","useAnExistingStampDesign":"Usa design di timbro esistente","createStamp":"Crea timbro","stampText":"Testo del timbro","chooseColor":"Seleziona colore","rejected":"Rifiutato","accepted":"Accettato","approved":"Approvato","notApproved":"Non approvato","draft":"Bozza","final":"Finale","completed":"Completato","confidential":"Confidenziale","forPublicRelease":"Per la pubblicazione","notForPublicRelease":"Non per la pubblicazione","forComment":"Per commenti","void":"Annullato","preliminaryResults":"Risultati preliminari","informationOnly":"Solo informazione","initialHere":"Iniziali qui","signHere":"Firma qui","witness":"Controllo","asIs":"Così com’è","departmental":"Di sezione","experimental":"Sperimentale","expired":"Scaduto","sold":"Venduto","topSecret":"Top Secret","revised":"Revisionato","custom":"Personalizzato","customStamp":"Timbro personalizzato","icon":"Icona","iconRightPointer":"Punta verso destra","iconRightArrow":"Freccia a destra","iconCheck":"Segno di spunta","iconCircle":"Ellisse","iconCross":"Croce","iconInsert":"Inserisci testo","iconNewParagraph":"Nuovo paragrafo","iconNote":"Nota di testo","iconComment":"Commento","iconParagraph":"Paragrafo","iconHelp":"Aiuto","iconStar":"Stella","iconKey":"Chiave","documentEditor":"Editor documenti","newPage":"Nuova pagina","removePage":"Elimina pagine","duplicatePage":"Duplica","rotatePageLeft":"Ruota a sinistra","rotatePageRight":"Ruota a destra","moveBefore":"Sposta prima","moveAfter":"Sposta dopo","selectNone":"Non selezionare niente","selectAll":"Seleziona pagina","saveAs":"Salva come…","mergeDocument":"Importa documento","undo":"Annulla","redo":"Ripristina","openMoveDialog":"Sposta","move":"Sposta","instantModifiedWarning":"Il documento è stato modificato ed è ora in modalità di sola lettura. Ricarica la pagina per risolvere il problema.","documentMergedHere":"Il documento verrà unito qui","digitalSignaturesAllValid":"Il documento è stato firmato digitalmente e tutte le firme sono valide.","digitalSignaturesDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato.","digitalSignaturesSignatureWarning":"Il documento è stato firmato digitalmente, ma almeno una firma presenta dei problemi.","digitalSignaturesSignatureWarningDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato e almeno una firma presenta dei problemi.","digitalSignaturesSignatureError":"Il documento è stato firmato digitalmente, ma almeno una firma non è valida.","digitalSignaturesSignatureErrorDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato e almeno una firma non è valida.","signingInProgress":"Firma in corso","signingModalDesc":"Indica che il documento attuale viene firmato","discardChanges":"Annulla modifiche","commentEditorLabel":"Aggiungi il tuo commento…","reply":"Rispondi","comment":"Commento","comments":"Commenti","showMore":"Mostra di più","showLess":"Mostra di meno","deleteComment":"Elimina commento","deleteCommentConfirmMessage":"Sei sicuro di voler eliminare questo commento?","deleteCommentConfirmAccessibilityLabel":"Conferma eliminazione commento","editContent":"Modifica contenuto","commentOptions":"Opzioni commento","areaRedaction":"Revisione area","textRedaction":"Revisione testo","redactionAnnotation":"Revisione","applyingRedactions":"Applico revisione","overlayTextPlaceholder":"Inserisci testo sovrapposto","outlineColor":"Colore indice","overlayText":"Sovrapponi testo","repeatText":"Ripeti testo","preview":"Anteprima","applyRedactions":"Applica revisioni","markupAnnotationToolbar":"Barra strumenti annotazioni markup","documentViewport":"Riquadro di visualizzazione documento","redactionInProgress":"Revisione in corso","redactionModalDesc":"Indica che il documento attuale viene revisionato","commentAction":"Commenta","printProgressModalDesc":"Indica che un documento è in preparazione per la stampa","printProgressModal":"Stampa in corso","documentEditorDesc":"Applica modifiche al documento attuale","reloadDocumentDialog":"Conferma la ricarica del documento","reloadDocumentDialogDesc":"Dialogo che chiede conferma all’utente di caricare nuovamente il documento.","signatureDialog":"Firma","signatureDialogDesc":"Questo dialogo consente la selezione di una firma a inchiostro da inserire nel documento. Se non hai firme archiviate, puoi crearne una, usa la vista della tela.","stampAnnotationTemplatesDialog":"Modelli di annotazioni timbro","stampAnnotationTemplatesDialogDesc":"Questo dialogo consente la selezione di un’annotazione timbro da inserire nel documento o di creare un’annotazione timbro personalizzata con il proprio testo.","selectedAnnotation":"{arg0} selezionata","commentThread":"Thread di commenti","selectedAnnotationWithText":"{arg0} selezionata con {arg1} come contenuto","signature":"Firma","ElectronicSignatures_SignHereTypeHint":"Scrivi la tua firma qui sopra","ElectronicSignatures_SignHereDrawHint":"Firma qui","selectDragImage":"Seleziona o trascina immagine","replaceImage":"Sostituisci immagine","draw":"Disegna","image":"Immagine","type":"Scrivi","saveSignature":"Salva firma","loading":"Caricamento","selectedItem":"{arg0}, selezionato.","annotationDeleted":"L’annotazione è stata eliminata.","newAnnotationCreated":"La nuova annotazione {arg0} è stata creata.","bookmarkCreated":"Il segnalibro è stato creato.","bookmarkEdited":"Il segnalibro è stato modificato.","bookmarkDeleted":"Il segnalibro è stato eliminato.","cancelledEditingBookmark":"La modifica del segnalibro è stata annullata.","selectAFileForImage":"Seleziona un file per la nuova annotazione immagine.","deleteAnnotationConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare l’annotazione.","deleteBookmarkConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare il segnalibro.","deleteCommentConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare il commento.","resize":"Ridimensiona","resizeHandleTop":"In alto","resizeHandleBottom":"In basso","resizeHandleRight":"A destra","resizeHandleLeft":"A sinistra","cropCurrentPage":"Ritaglia pagina attuale","cropCurrent":"Ritaglia attuale","cropAllPages":"Ritaglia tutte le pagine","cropAll":"Ritaglia tutto","documentCrop":"Ritaglia documento","Comparison_alignButtonTouch":"Allinea","Comparison_selectPoint":"Seleziona punto","Comparison_documentOldTouch":"Vecchio","Comparison_documentNewTouch":"Nuovo","Comparison_result":"Confronta","UserHint_description":"Seleziona tre punti in entrambi i documenti per un allineamento manuale. Per i migliori risultati seleziona dei punti vicini agli angoli dei documenti, assicurandoti che i punti siano nello stesso ordine in entrambi i documenti.","UserHint_dismissMessage":"Ignora","Comparison_alignButton":"Allinea documenti","documentComparison":"Confronta documenti","Comparison_documentOld":"Vecchio documento","Comparison_documentNew":"Nuovo documento","Comparison_resetButton":"Ripristina","UserHint_Select":"Selezione punti","numberValidationBadFormat":"Il valore inserito non corrisponde al formato del campo [{arg0}]","dateValidationBadFormat":"Data/ora non valida: assicurati che la data/l’ora esista. Il campo [{arg0}] deve corrispondere al formato {arg1}","insertAfterPage":"Inserisci dopo pagina","docEditorMoveBeginningHint":"Digita \\"0\\" per spostare la/le pagina/e all’inizio del documento.","cloudyRectangleAnnotation":"Rettangolo ondulato","dashedRectangleAnnotation":"Rettangolo tratteggiato","cloudyEllipseAnnotation":"Ellisse ondulata","dashedEllipseAnnotation":"Ellisse tratteggiata","cloudyPolygonAnnotation":"Poligono ondulato","dashedPolygonAnnotation":"Poligono tratteggiato","cloudAnnotation":"Nuvola","rotateCounterclockwise":"Ruota in senso antiorario","rotateClockwise":"Ruota in senso orario","enterDescriptionHere":"Inserisci la descrizione qui","addOption":"Aggiungi opzione","formDesignerPopoverTitle":"Proprietà {formFieldType}","formFieldNameExists":"Un campo modulo con il nome {formFieldName} esiste già. Scegli un altro nome.","styleSectionLabel":"Stile {formFieldType}","formFieldName":"Nome del campo modulo","defaultValue":"Valore di default","multiLine":"Multilinea","radioButtonFormFieldNameWarning":"Per essere raggruppati i pulsanti di scelta devono avere lo stesso nome di campo modulo.","advanced":"Avanzate","creatorName":"Nome del creatore","note":"Nota","customData":"Data personalizzata","required":"Obbligatorio","readOnly":"Sola lettura","createdAt":"Creato il","updatedAt":"Aggiornato il","customDataErrorMessage":"Deve essere un oggetto semplice serializzabile in JSON","borderColor":"Colore del bordo","borderWidth":"Spessore del bordo","borderStyle":"Stile del bordo","solidBorder":"Uniforme","dashed":"Tratteggiato","beveled":"Smussato","inset":"Rilievo","underline":"Sottolineato","textStyle":"Stile del testo","fontSize":"Dimensioni font","fontColor":"Colore font","button":"Campo pulsante","textField":"Campo di testo","radioField":"Campo di scelta","checkboxField":"Campo casella di controllo","comboBoxField":"Campo casella combinata","listBoxField":"Campo casella di riepilogo","signatureField":"Campo firma","formDesigner":"Creatore del modulo","buttonText":"Testo pulsante","notAvailable":"N/D","label":"Etichetta","value":"Valore","cannotEditOnceCreated":"Non può essere modificato dopo la creazione.","formFieldNameNotEmpty":"Il nome del campo modulo non può essere vuoto.","mediaAnnotation":"Annotazione multimediale","mediaFormatNotSupported":"Questo browser non supporta video o audio incorporati.","distanceMeasurement":"Distanza","perimeterMeasurement":"Perimetro","polygonAreaMeasurement":"Area poligonale","rectangularAreaMeasurement":"Area rettangolare","ellipseAreaMeasurement":"Area ellittica","distanceMeasurementSettings":"Impostazioni di misurazione della distanza","perimeterMeasurementSettings":"Impostazioni di misurazione del perimetro","polygonAreaMeasurementSettings":"Impostazioni di misurazione dell\'area poligonale","rectangularAreaMeasurementSettings":"Impostazioni di misurazione dell\'area rettangolare","ellipseAreaMeasurementSettings":"Impostazioni di misurazione dell\'area ellittica","measurementScale":"Scala","measurementCalibrateLength":"Calibra lunghezza","measurementPrecision":"Precisione","measurementSnapping":"Allineamento","formCreator":"Creatore del modulo","group":"Gruppo","ungroup":"Separa","bold":"Grassetto","italic":"Corsivo","addLink":"Aggiungi link","removeLink":"Rimuovi link","editLink":"Modifica link","anonymous":"Anonimo","saveAndClose":"Salva e chiudi","ceToggleFontMismatchTooltip":"Attiva/disattiva descrizione per font non corrispondenti","ceFontMismatch":"Il font {arg0} non è disponibile o non può essere usato per modificare il contenuto nel documento. Il contenuto aggiunto o modificato verrà ripristinato con un font predefinito.","multiAnnotationsSelection":"Seleziona più annotazioni","linkSettingsPopoverTitle":"Impostazioni link","linkTo":"Link a","uriLink":"Sito web","pageLink":"Pagina","invalidPageNumber":"Inserisci un numero di pagina valido.","invalidPageLink":"Inserisci un link alla pagina valido.","linkAnnotation":"Link","targetPageLink":"Numero di pagina","rotation":"Rotazione","unlockDocumentDescription":"Devi sbloccare questo documento per visualizzarlo. Inserisci la password nel campo sottostante.","commentDialogClosed":"Apri thread di commenti iniziato da {arg0}: \\"{arg1}\\"","moreComments":"Altri commenti","setScale":"Imposta scala","useCalibrationTool":"Usa strumento di calibrazione","calibrateScale":"Calibra scala","unit":"Unità","scaleAnnotationsDeleteWarning":"L\'eliminazione della scala comporta l\'eliminazione delle misurazioni che usano la scala.","halves":"Mezzi pollici","quarters":"Quarti di pollice","eighths":"Ottavi di pollice","sixteenths":"Sedicesimi di pollice","addTextBox":"Aggiungi casella di testo","deleteTextBlockConfirmMessage":"Sei sicuro di voler eliminare questa casella di testo?","deleteTextBlockConfirmAccessibilityLabel":"Conferma eliminazione casella di testo","deleteTextBlockConfirmAccessibilityDescription":"Dialogo che consente all\'utente di confermare o eliminare la casella di testo.","linesCount":"{arg0, plural,\\none {{arg0} linea}\\nother {{arg0} linee}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotazione}\\nother {{arg0} annotazioni}\\n=0 {Nessuna annotazione}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} pagina selezionata}\\nother {{arg0} pagine selezionate}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commento}\\nother {{arg0} commenti}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commento}\\nother {{arg0} commenti}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} altro commento}\\nother {Altri {arg0} commenti}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ja-a9b6afff2ad0c00e.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ja-a9b6afff2ad0c00e.js new file mode 100644 index 00000000..87d5676f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ja-a9b6afff2ad0c00e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3463],{87854:e=>{e.exports=JSON.parse('{"thumbnails":"サムネール","pageXofY":"ページ {arg0}/{arg1}","XofY":"{arg0}/{arg1}","prevPage":"前のページ","nextPage":"次のページ","goToPage":"ページに移動","gotoPageX":"{arg0}ページに移動","pageX":"ページ{arg0}","pageLayout":"ページレイアウト","pageMode":"ページモード","pageModeSingle":"シングル","pageModeDouble":"ダブル","pageModeAutomatic":"自動","pageTransition":"ページトランジション","pageTransitionContinuous":"連続","pageTransitionJump":"ジャンプ","pageRotation":"ページの回転","pageRotationLeft":"反時計回りに回転","pageRotationRight":"時計回りに回転","zoomIn":"拡大","zoomOut":"縮小","marqueeZoom":"マーキーズームツール","panMode":"パンモード","fitPage":"ページに合わせる","fitWidth":"幅に合わせる","annotations":"注釈","noAnnotations":"注釈なし","bookmark":"ブックマーク","bookmarks":"ブックマーク","noBookmarks":"ブックマークがありません","newBookmark":"新規ブックマーク","addBookmark":"ブックマークを追加","removeBookmark":"ブックマークを削除","loadingBookmarks":"ブックマークを読み込み中","deleteBookmarkConfirmMessage":"このブックマークを削除してよろしいですか?","deleteBookmarkConfirmAccessibilityLabel":"ブックマークの削除を確認","annotation":"注釈","noteAnnotation":"メモ","textAnnotation":"テキスト","inkAnnotation":"描画","highlightAnnotation":"テキストハイライト","underlineAnnotation":"アンダーライン","squiggleAnnotation":"曲線","strikeOutAnnotation":"取り消し線","print":"プリント","printPrepare":"書類をプリントに準備中…","searchDocument":"書類を検索","searchPreviousMatch":"前へ","searchNextMatch":"次へ","searchResultOf":"{arg0}/{arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} ツール、メニューを切り替え","save":"保存","edit":"編集","delete":"削除","close":"閉じる","cancel":"キャンセル","ok":"OK","done":"完了","clear":"消去","date":"日付","time":"時刻","name":"名前","color":"カラー","black":"ブラック","white":"ホワイト","blue":"ブルー","red":"レッド","green":"グリーン","orange":"オレンジ","lightOrange":"ライトオレンジ","yellow":"イエロー","lightYellow":"ライトイエロー","lightBlue":"ライトブルー","lightRed":"ライトレッド","lightGreen":"ライトグリーン","fuchsia":"フューシャ","purple":"パープル","pink":"ピンク","mauve":"モーブ","lightGrey":"ライトグレイ","grey":"グレイ","darkGrey":"ダークグレイ","noColor":"なし","transparent":"透明","darkBlue":"ダークブルー","opacity":"不透明度","thickness":"太さ","size":"サイズ","numberInPt":"{arg0}","font":"フォント","fonts":"フォント","allFonts":"すべてのフォント","alignment":"行揃え","alignmentLeft":"左揃え","alignmentRight":"右揃え","alignmentCenter":"中央揃え","verticalAlignment":"縦方向の配置","horizontalAlignment":"横方向の配置","top":"上","bottom":"下","deleteAnnotationConfirmMessage":"この注釈を削除してよろしいですか。","deleteAnnotationConfirmAccessibilityLabel":"注釈の削除を確認","fontFamilyUnsupported":"{arg0}(サポートされていません)","sign":"署名","signed":"署名入り","signatures":"署名","addSignature":"署名を追加","clearSignature":"署名を消去","storeSignature":"ストアの署名","pleaseSignHere":"こちらに署名してください","signing":"署名…","password":"パスワード","unlock":"ロック解除","passwordRequired":"パスワードが必要です","unlockThisDocument":"この書類を表示するにはロック解除する必要があります。下のフィールドにパスワードを入力してください。","incorrectPassword":"入力されたパスワードが間違っています。やり直してください。","blendMode":"ブレンドモード","normal":"通常","multiply":"乗算","screenBlend":"スクリーン","overlay":"オーバーレイ","darken":"比較(暗)","lighten":"比較(明)","colorDodge":"覆い焼きカラー","colorBurn":"焼き込みカラー","hardLight":"ハードライト","softLight":"ソフトライト","difference":"差の絶対値","exclusion":"除外","multiple":"複数","linecaps-dasharray":"線のスタイル","dasharray":"線のスタイル","startLineCap":"線の始点","strokeDashArray":"線のスタイル","endLineCap":"線の終点","lineAnnotation":"線","rectangleAnnotation":"長方形","ellipseAnnotation":"楕円形","polygonAnnotation":"多角形","polylineAnnotation":"ポリライン","solid":"ソリッド","narrowDots":"ドット(小)","wideDots":"ドット(大)","narrowDashes":"ハイフン(短)","wideDashes":"ハイフン(長)","none":"なし","square":"スクエア","circle":"円形","diamond":"ひし形","openArrow":"線矢印","closedArrow":"三角矢印","butt":"端点","reverseOpenArrow":"反転線矢印","reverseClosedArrow":"反転三角矢印","slash":"スラッシュ","fillColor":"塗りつぶしのカラー","cloudy":"雲","arrow":"矢印","filePath":"ファイルパス","unsupportedImageFormat":"サポートされていない種類のイメージ注釈: {arg0}。JPEGまたはPNGを使用してください。","noOutline":"アウトラインがありません","outline":"アウトライン","imageAnnotation":"イメージ","selectImage":"イメージを選択","stampAnnotation":"スタンプ","highlighter":"ハイライト (自由形式)","textHighlighter":"テキストハイライト","pen":"描画","eraser":"消しゴム","export":"書き出す","useAnExistingStampDesign":"既存のスタンプデザインを使用","createStamp":"スタンプを作成","stampText":"スタンプのテキスト","chooseColor":"カラーを選択","rejected":"不採用","accepted":"受け入れ済み","approved":"承認済み","notApproved":"未承認","draft":"下書き","final":"最終版","completed":"完了済み","confidential":"部外秘","forPublicRelease":"公開リリース用","notForPublicRelease":"非公開","forComment":"コメント用","void":"無効","preliminaryResults":"中間結果","informationOnly":"情報のみ","initialHere":"こちらにイニシャルを","signHere":"こちらに署名を","witness":"証人","asIs":"現状どおり","departmental":"部門別","experimental":"試験的","expired":"期限切れ","sold":"売却済み","topSecret":"極秘","revised":"改訂済み","custom":"カスタム","customStamp":"カスタムスタンプ","icon":"アイコン","iconRightPointer":"右向きポインタ","iconRightArrow":"右矢印","iconCheck":"チェックマーク","iconCircle":"楕円形","iconCross":"十字","iconInsert":"テキストを挿入","iconNewParagraph":"新規段落","iconNote":"テキストメモ","iconComment":"コメント","iconParagraph":"段落","iconHelp":"ヘルプ","iconStar":"星","iconKey":"鍵","documentEditor":"書類エディタ","newPage":"新規ページ","removePage":"ページを削除","duplicatePage":"複製","rotatePageLeft":"反時計回りに回転","rotatePageRight":"時計回りに回転","moveBefore":"前に移動","moveAfter":"後に移動","selectNone":"何も選択しない","selectAll":"すべてを選択","saveAs":"別名で保存…","mergeDocument":"書類を読み込む","undo":"取り消す","redo":"やり直す","openMoveDialog":"移動","move":"移動","instantModifiedWarning":"書類が修正され、読み出し専用になりました。これを修正するには、ページを再度読み込んでください。","documentMergedHere":"書類はこちらに結合されます","digitalSignaturesAllValid":"書類はデジタル署名されていて、すべての署名は有効です。","digitalSignaturesDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられています。","digitalSignaturesSignatureWarning":"書類はデジタル署名されていますが、署名のうち少なくとも1つに問題があります。","digitalSignaturesSignatureWarningDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられていて、署名のうち少なくとも1つに問題があります。","digitalSignaturesSignatureError":"書類はデジタル署名されていますが、署名のうち少なくとも1つは無効です。","digitalSignaturesSignatureErrorDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられていて、署名のうち少なくとも1つは無効です。","signingInProgress":"署名が進行中です","signingModalDesc":"現在の書類に署名が進行中であることを示します","discardChanges":"変更を破棄","commentEditorLabel":"コメントを追加…","reply":"返信","comment":"コメント","comments":"コメント","showMore":"さらに表示","showLess":"表示を減らす","deleteComment":"コメントを削除","deleteCommentConfirmMessage":"このコメントを削除してよろしいですか?","deleteCommentConfirmAccessibilityLabel":"コメントの削除を確認","editContent":"コンテンツを編集","commentOptions":"コメントオプション","areaRedaction":"エリアを墨消し","textRedaction":"テキストを墨消し","redactionAnnotation":"墨消し","applyingRedactions":"墨消しを適用中","overlayTextPlaceholder":"オーバーレイテキストを挿入","outlineColor":"アウトラインの色","overlayText":"オーバーレイテキスト","repeatText":"テキストの繰り返し","preview":"プレビュー","applyRedactions":"墨消しを適用","markupAnnotationToolbar":"マークアップの注釈のためのツールバー","documentViewport":"書類のビューポート","redactionInProgress":"墨消しが進行中です","redactionModalDesc":"現在の書類に墨消しが進行中であることを示します","commentAction":"コメントする","printProgressModalDesc":"書類がプリントされる準備中であることを示します","printProgressModal":"プリントが進行中","documentEditorDesc":"現在の書類に変更を加える","reloadDocumentDialog":"書類の再読み込みを確認","reloadDocumentDialogDesc":"ユーザに書類の再読み込みの確認を促すダイアログです。","signatureDialog":"署名","signatureDialogDesc":"このダイアログを使うと、書類に挿入するインク署名を選択できます。まだ署名を保管していない場合は、キャンバス表示を使って作成できます。","stampAnnotationTemplatesDialog":"スタンプ注釈のテンプレート","stampAnnotationTemplatesDialogDesc":"このダイアログを使うと、書類に挿入するスタンプ注釈を選択したり、自分のテキストを使ってスタンプ注釈をカスタム作成できます。","selectedAnnotation":"{arg0}を選択中","commentThread":"コメントスレッド","selectedAnnotationWithText":"{arg0}$@の付いている{arg1}$@をコンテンツとして選択中","signature":"署名","ElectronicSignatures_SignHereTypeHint":"上欄に署名をタイプ入力してください","ElectronicSignatures_SignHereDrawHint":"こちらに署名してください","selectDragImage":"イメージを選択またはドラッグ","replaceImage":"イメージを置き換える","draw":"自筆","image":"イメージ","type":"タイプ入力","saveSignature":"署名を保存","loading":"読み込み中","selectedItem":"{arg0}、選択中。","annotationDeleted":"注釈が削除されました。","newAnnotationCreated":"新しい{arg0}注釈が作成されました。","bookmarkCreated":"ブックマークを作成しました。","bookmarkEdited":"ブックマークを編集しました。","bookmarkDeleted":"ブックマークが削除されました。","cancelledEditingBookmark":"ブックマークの編集をキャンセルしました。","selectAFileForImage":"新しいイメージ注釈のファイルを選択してください。","deleteAnnotationConfirmAccessibilityDescription":"注釈の削除を確認またはキャンセルできるダイアログ。","deleteBookmarkConfirmAccessibilityDescription":"ブックマークの削除を確認またはキャンセルできるダイアログ。","deleteCommentConfirmAccessibilityDescription":"コメントの削除を確認またはキャンセルできるダイアログ。","resize":"サイズ変更","resizeHandleTop":"上","resizeHandleBottom":"下","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"現在のページを切り取り","cropCurrent":"現項目を切り取り","cropAllPages":"すべてのページを切り取り","cropAll":"すべてを切り取り","documentCrop":"書類の切り取り","Comparison_alignButtonTouch":"揃える","Comparison_selectPoint":"ポイントを選択","Comparison_documentOldTouch":"古い","Comparison_documentNewTouch":"新規","Comparison_result":"比較","UserHint_description":"手動で揃えるには両方の書類から3つのポイントを選択してください。書類の角に近いポイントを選択すると、より良い結果が得られます。ポイントを選択する順番は、必ず両方の書類で同じ順番にしてください。","UserHint_dismissMessage":"終了","Comparison_alignButton":"書類を揃える","documentComparison":"書類の比較","Comparison_documentOld":"古い書類","Comparison_documentNew":"新しい書類","Comparison_resetButton":"リセット","UserHint_Select":"ポイントを選択するには","numberValidationBadFormat":"入力された値はフィールド [{arg0}] のフォーマットと一致しません。","dateValidationBadFormat":"無効な日付/時刻:日付/時刻が存在することを確認してください。フィールド [{arg0}] はフォーマット{arg1}と一致する必要があります。","insertAfterPage":"次のページの後に挿入","docEditorMoveBeginningHint":"選択中のページを書類の一番最初に移動するには“0”と入力してください。","cloudyRectangleAnnotation":"雲(四角形)","dashedRectangleAnnotation":"破線(四角形)","cloudyEllipseAnnotation":"雲(楕円形)","dashedEllipseAnnotation":"破線(楕円形)","cloudyPolygonAnnotation":"雲(多角形)","dashedPolygonAnnotation":"破線(多角形)","cloudAnnotation":"雲","rotateCounterclockwise":"反時計回りに回転","rotateClockwise":"時計回りに回転","enterDescriptionHere":"こちらに説明を入力","addOption":"オプションを追加","formDesignerPopoverTitle":"{formFieldType} のプロパティ","formFieldNameExists":"{formFieldName} という名前のフォームフィールドは既に存在します。別の名前を選択してください。","styleSectionLabel":"{formFieldType} のスタイル","formFieldName":"フォームフィールド名","defaultValue":"デフォルト値","multiLine":"複数行","radioButtonFormFieldNameWarning":"ラジオボタンをグループ化するには、それらが同じフォームフィールド名であることを確認してください。","advanced":"詳細","creatorName":"作成者","note":"メモ","customData":"カスタムデータ","required":"必須","readOnly":"読み出し専用","createdAt":"作成日","updatedAt":"更新日","customDataErrorMessage":"標準のJSON形式にシリアライズできるオブジェクトである必要があります","borderColor":"枠のカラー","borderWidth":"枠の太さ","borderStyle":"枠のスタイル","solidBorder":"実線","dashed":"破線","beveled":"ベベル","inset":"インセット","underline":"アンダーライン","textStyle":"テキストスタイル","fontSize":"フォントサイズ","fontColor":"フォントカラー","button":"ボタンフィールド","textField":"テキストフィールド","radioField":"ラジオフィールド","checkboxField":"チェックボックスフィールド","comboBoxField":"コンボ・ボックスフィールド","listBoxField":"リストボックスフィールド","signatureField":"署名フィールド","formDesigner":"フォームクリエイター","buttonText":"ボタンテキスト","notAvailable":"N/A","label":"ラベル","value":"値","cannotEditOnceCreated":"一旦作成されると編集できません。","formFieldNameNotEmpty":"フォームフィールドの名前は空欄にできません。","mediaAnnotation":"メディアの注釈","mediaFormatNotSupported":"このブラウザは埋め込まれたビデオまたはオーディオをサポートしません。","distanceMeasurement":"距離","perimeterMeasurement":"周長","polygonAreaMeasurement":"多角形の面積","rectangularAreaMeasurement":"四角形の面積","ellipseAreaMeasurement":"楕円形の面積","distanceMeasurementSettings":"距離の測定の設定","perimeterMeasurementSettings":"周長の測定の設定","polygonAreaMeasurementSettings":"多角形の面積の測定の設定","rectangularAreaMeasurementSettings":"四角形の面積の測定の設定","ellipseAreaMeasurementSettings":"楕円形の面積の測定の設定","measurementScale":"比率","measurementCalibrateLength":"長さ補正","measurementPrecision":"精度","measurementSnapping":"スナッピング","formCreator":"フォームクリエイター","group":"グループ","ungroup":"グループ解除","bold":"ボールド","italic":"イタリック","addLink":"リンクを追加","removeLink":"リンクを削除","editLink":"リンクを編集","anonymous":"匿名","saveAndClose":"保存して閉じる","ceToggleFontMismatchTooltip":"フォントの不一致に関するツールヒントを表示/非表示","ceFontMismatch":"フォント“{arg0}”は利用できないか、または、この書類の内容を編集するために使用できません。追加または編集された内容はデフォルトフォントに戻されます。","multiAnnotationsSelection":"複数の注釈を選択","linkSettingsPopoverTitle":"リンク設定","linkTo":"リンク先","uriLink":"Webサイト","pageLink":"ページ","invalidPageNumber":"有効なページ番号を入力してください。","invalidPageLink":"有効なページのリンクを入力してください。","linkAnnotation":"リンク","targetPageLink":"ページ番号","rotation":"回転","unlockDocumentDescription":"この書類を表示するにはロック解除する必要があります。下のフィールドにパスワードを入力してください。","commentDialogClosed":"{arg0}: “{arg1}”で始まるコメントのスレッドを開く","moreComments":"その他のコメント","setScale":"比率を設定","useCalibrationTool":"補正ツールを使用","calibrateScale":"比率を補正","unit":"単位","scaleAnnotationsDeleteWarning":"比率を削除すると、比率を使った測定結果も削除されます。","halves":"1/2インチ","quarters":"1/4インチ","eighths":"1/8インチ","sixteenths":"1/16インチ","addTextBox":"テキストボックスを追加","deleteTextBlockConfirmMessage":"このテキストボックスを削除してもよろしいですか?","deleteTextBlockConfirmAccessibilityLabel":"テキストボックスの削除を確認","deleteTextBlockConfirmAccessibilityDescription":"テキストボックスの削除を確認またはキャンセルできるダイアログ。","linesCount":"{arg0, plural,\\nother {線 {arg0}本}\\n}","annotationsCount":"{arg0, plural,\\nother {注釈{arg0}件}\\n=0 {注釈がありません}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0}ページを選択中}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}件のコメント}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}件のコメント}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {あと{arg0}件のコメント}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ko-4eaa81966e1329b9.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ko-4eaa81966e1329b9.js new file mode 100644 index 00000000..e56eeced --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ko-4eaa81966e1329b9.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1168],{23980:e=>{e.exports=JSON.parse('{"thumbnails":"축소판","pageXofY":"{arg0}/{arg1} 페이지","XofY":"{arg0} 중의 {arg1}","prevPage":"이전 페이지","nextPage":"다음 페이지","goToPage":"페이지로 이동","gotoPageX":"{arg0} 페이지로 이동","pageX":"페이지 {arg0}","pageLayout":"페이지 레이아웃","pageMode":"페이지 모드","pageModeSingle":"단일","pageModeDouble":"두 페이지","pageModeAutomatic":"자동","pageTransition":"페이지 전환효과","pageTransitionContinuous":"연속","pageTransitionJump":"점프","pageRotation":"페이지 회전","pageRotationLeft":"왼쪽으로 회전","pageRotationRight":"오른쪽으로 회전","zoomIn":"확대","zoomOut":"축소","marqueeZoom":"선택 윤곽도구","panMode":"패닝 모드","fitPage":"페이지에 맞추기","fitWidth":"폭에 맞추기","annotations":"주석","noAnnotations":"주석 없음","bookmark":"책갈피","bookmarks":"책갈피","noBookmarks":"책갈피 없음","newBookmark":"새로운 책갈피","addBookmark":"책갈피 추가","removeBookmark":"책갈피 제거","loadingBookmarks":"책갈피 불러오는 중","deleteBookmarkConfirmMessage":"책갈피를 삭제하시겠습니까?","deleteBookmarkConfirmAccessibilityLabel":"책갈피 삭제 확인","annotation":"주석","noteAnnotation":"메모","textAnnotation":"텍스트","inkAnnotation":"그리기","highlightAnnotation":"텍스트 하이라이트","underlineAnnotation":"밑줄","squiggleAnnotation":"구불한 선","strikeOutAnnotation":"취소선","print":"출력","printPrepare":"프린트할 문서를 준비하는 중…","searchDocument":"문서 검색","searchPreviousMatch":"이전","searchNextMatch":"다음","searchResultOf":"{arg0} 중의 {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} 도구, 메뉴 토글","save":"저장","edit":"편집","delete":"삭제","close":"닫기","cancel":"취소","ok":"승인","done":"완료","clear":"지우기","date":"날짜","time":"시간","name":"이름","color":"색상","black":"검은색","white":"흰색","blue":"파란색","red":"빨간색","green":"초록색","orange":"귤색","lightOrange":"연주황","yellow":"노란색","lightYellow":"연노랑","lightBlue":"하늘색","lightRed":"명적색","lightGreen":"담녹색","fuchsia":"푸크시아색","purple":"자주색","pink":"분홍색","mauve":"연보라","lightGrey":"회백색","grey":"회색","darkGrey":"암회색","noColor":"없음","transparent":"투명","darkBlue":"검푸른색","opacity":"불투명도","thickness":"두께","size":"크기","numberInPt":"{arg0} pt","font":"서체","fonts":"서체","allFonts":"모든 서체","alignment":"정렬","alignmentLeft":"왼쪽","alignmentRight":"오른쪽","alignmentCenter":"중앙","verticalAlignment":"수직 정렬","horizontalAlignment":"수평 정렬","top":"상단","bottom":"하단","deleteAnnotationConfirmMessage":"정말 주석을 삭제하시겠습니까?","deleteAnnotationConfirmAccessibilityLabel":"주석 삭제 확인","fontFamilyUnsupported":"{arg0} (지원하지 않음)","sign":"서명","signed":"서명됨","signatures":"서명","addSignature":"서명 추가","clearSignature":"서명 지우기","storeSignature":"서명 저장","pleaseSignHere":"여기 서명하십시오","signing":"서명 중…","password":"비밀번호","unlock":"잠금해제","passwordRequired":"비밀번호 필요","unlockThisDocument":"문서를 열려먼 먼저 잠금을 해제해야 합니다. 아래 필드에 비밀번호를 입력해주십시오.","incorrectPassword":"올바르지 않은 비밀번호입니다. 다시 입력해주십시오.","blendMode":"혼합 모드","normal":"표준","multiply":"곱하기","screenBlend":"스크린","overlay":"오버레이","darken":"어두운 색상","lighten":"밝게 하기","colorDodge":"색상 닷지","colorBurn":"색상 번","hardLight":"하드 라이트","softLight":"소프트 라이트","difference":"차이","exclusion":"제외","multiple":"다중","linecaps-dasharray":"선 스타일","dasharray":"선 스타일","startLineCap":"선 시작","strokeDashArray":"선 스타일","endLineCap":"선 끝","lineAnnotation":"선","rectangleAnnotation":"직사각형","ellipseAnnotation":"타원","polygonAnnotation":"다각형","polylineAnnotation":"폴리라인","solid":"채움","narrowDots":"좁은 점선","wideDots":"넓은 점선","narrowDashes":"좁은 줄표","wideDashes":"넓은 줄표","none":"없음","square":"정사각형","circle":"원","diamond":"다이아몬드","openArrow":"열린 화살표","closedArrow":"닫힌 화살표","butt":"밑동","reverseOpenArrow":"역방향 열린 화살표","reverseClosedArrow":"역방향 닫힌 화살표","slash":"슬래시","fillColor":"채우기 색상","cloudy":"클라우디","arrow":"화살표","filePath":"파일 경로","unsupportedImageFormat":"지원하지 않는 형태의 이미지 주석입니다: {arg0}. JPEG 또는 PNG를 이용해주십시오.","noOutline":"개요 없음","outline":"개요","imageAnnotation":"이미지","selectImage":"이미지 선택","stampAnnotation":"스탬프","highlighter":"자유형태 하이라이트","textHighlighter":"텍스트 형광펜","pen":"그리기","eraser":"지우개","export":"내보내기","useAnExistingStampDesign":"기존 스탬프 디자인 사용","createStamp":"스탬프 생성","stampText":"텍스트 스탬프","chooseColor":"색상 선택","rejected":"거부됨","accepted":"수락됨","approved":"승인됨","notApproved":"승인되지 않음","draft":"초안","final":"최종","completed":"완료됨","confidential":"비밀 정보","forPublicRelease":"일반 공개 용도","notForPublicRelease":"일반 공개 불가","forComment":"코멘트 용도","void":"효력 없음","preliminaryResults":"예비 결과","informationOnly":"참고 용도","initialHere":"여기 이니셜","signHere":"이곳에 서명","witness":"증명","asIs":"현재 상태로","departmental":"세분화","experimental":"실험","expired":"만료","sold":"판매완료","topSecret":"일급비밀","revised":"수정본","custom":"사용자 지정","customStamp":"사용자지정 스탬프","icon":"아이콘","iconRightPointer":"오른쪽 포인터","iconRightArrow":"오른쪽 화살표","iconCheck":"체크마크","iconCircle":"타원","iconCross":"크로스","iconInsert":"텍스트 삽입","iconNewParagraph":"새 문단","iconNote":"텍스트 노트","iconComment":"코멘트","iconParagraph":"문단","iconHelp":"도움말","iconStar":"별","iconKey":"키","documentEditor":"문서 편집기","newPage":"새로운 페이지","removePage":"페이지 삭제","duplicatePage":"복제","rotatePageLeft":"왼쪽으로 회전","rotatePageRight":"오른쪽으로 회전","moveBefore":"앞으로 이동","moveAfter":"뒤로 이동","selectNone":"선택 없음","selectAll":"모두 선택","saveAs":"다음 이름으로 변경…","mergeDocument":"문서 불러오기","undo":"실행취소","redo":"실행복귀","openMoveDialog":"이동","move":"이동","instantModifiedWarning":"문서가 변형되었으며 현재 읽기 전용 상태입니다. 이 문제를 정정하려면 페이지를 다시 불러오십시오.","documentMergedHere":"문서가 여기서 병합됩니다","digitalSignaturesAllValid":"이 문서는 디지털 서명을 포함하고 있으며, 모두 유효한 서명입니다.","digitalSignaturesDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었습니다.","digitalSignaturesSignatureWarning":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 최소한 하나 이상의 서명에 문제가 있습니다.","digitalSignaturesSignatureWarningDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었으며, 하나 이상의 서명에 문제가 있습니다.","digitalSignaturesSignatureError":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 최소한 하나 이상의 서명이 유효하지 않습니다.","digitalSignaturesSignatureErrorDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었으며, 하나 이상의 서명이 유효하지 않습니다.","signingInProgress":"서명 진행 중","signingModalDesc":"현재 문제가 서명 중이라는 것을 나타냅니다","discardChanges":"변경사항 무시","commentEditorLabel":"코멘트 달기…","reply":"답장","comment":"코멘트","comments":"코멘트","showMore":"자세히 보기","showLess":"간단히 보기","deleteComment":"코멘트 삭제","deleteCommentConfirmMessage":"정말 코멘트를 삭제하시겠습니까?","deleteCommentConfirmAccessibilityLabel":"코멘트 삭제 확인","editContent":"콘텐츠 편집","commentOptions":"코멘트 옵션","areaRedaction":"영역 교정","textRedaction":"텍스트 교정","redactionAnnotation":"교정","applyingRedactions":"교정 적용","overlayTextPlaceholder":"오버레이 텍스트 삽입","outlineColor":"윤곽 색상","overlayText":"오버레이 텍스트","repeatText":"텍스트 반복","preview":"미리보기","applyRedactions":"교정 적용","markupAnnotationToolbar":"마크업 주석 도구막대","documentViewport":"문서 뷰포트","redactionInProgress":"교정 진행 중","redactionModalDesc":"현재 문제가 교정 중이라는 것을 나타냅니다","commentAction":"코멘트달기","printProgressModalDesc":"문서가 프린트하기 위해 준비 중이라는 것을 나타냅니다","printProgressModal":"프린트 진행 중","documentEditorDesc":"현재 문제에 변경사항 적용","reloadDocumentDialog":"문서 다시 불러오기 확인","reloadDocumentDialogDesc":"문서 다시 불러오기에 대한 사용자 확인을 안내하는 대화상자입니다.","signatureDialog":"서명","signatureDialogDesc":"문서에 삽입할 잉크 서명을 선택하는 대화상자입니다. 저장된 서명이 없는 경우, 캔버스 보기에서 새로운 서명을 생성할 수 있습니다.","stampAnnotationTemplatesDialog":"스탬프 주석 템플릿","stampAnnotationTemplatesDialogDesc":"문서에 삽입할 스탬프 주석을 선택하거나 사용자가 원하는 텍스트로 스탬프 주석을 생성할 수 있는 대화상자입니다.","selectedAnnotation":"{arg0} 선택","commentThread":"코멘트 스레드","selectedAnnotationWithText":"{arg0} 선택 및 {arg1}를 콘텐츠로 포함","signature":"서명","ElectronicSignatures_SignHereTypeHint":"상단에 서명을 타자로 입력하세요","ElectronicSignatures_SignHereDrawHint":"이곳에 서명","selectDragImage":"이미지 선택 또는 그리기","replaceImage":"이미지 대치","draw":"그리기","image":"이미지","type":"타자","saveSignature":"서명 저장","loading":"불러오는 중","selectedItem":"{arg0} 선택됨.","annotationDeleted":"주석 삭제됨.","newAnnotationCreated":"새로운 {arg0} 주석이 생성됨.","bookmarkCreated":"책갈피를 생성함.","bookmarkEdited":"책갈피를 편집함.","bookmarkDeleted":"책갈피를 삭제함.","cancelledEditingBookmark":"책갈피 편집을 취소함.","selectAFileForImage":"새로운 이미지 주석을 위한 파일 선택.","deleteAnnotationConfirmAccessibilityDescription":"주석 삭제를 확인 또는 취소하는 대화상자.","deleteBookmarkConfirmAccessibilityDescription":"책갈피 삭제를 확인 또는 취소하는 대화상자.","deleteCommentConfirmAccessibilityDescription":"코멘트 삭제를 확인 또는 취소하는 대화상자.","resize":"크기조정","resizeHandleTop":"상단","resizeHandleBottom":"하단","resizeHandleRight":"오른쪽","resizeHandleLeft":"왼쪽","cropCurrentPage":"현재 페이지 자르기","cropCurrent":"이 페이지만","cropAllPages":"모든 페이지 자르기","cropAll":"모두 자르기","documentCrop":"문서 자르기","Comparison_alignButtonTouch":"정렬","Comparison_selectPoint":"포인트 선택","Comparison_documentOldTouch":"기존","Comparison_documentNewTouch":"신규","Comparison_result":"비교","UserHint_description":"수동 정렬을 위해 양쪽 문서에서 포인트 3개를 선택하십시오. 최상의 결과를 위해 문서 가장자리에 가까운 곳에 포인트를 선택하고, 양쪽 문서의 포인트가 동일한 순서인지 확인하시기 바랍니다.","UserHint_dismissMessage":"무시","Comparison_alignButton":"문서 정렬","documentComparison":"문서 비교","Comparison_documentOld":"기존 문서","Comparison_documentNew":"신규 문서","Comparison_resetButton":"초기화","UserHint_Select":"포인트 선택","numberValidationBadFormat":"입력한 값이 다음 필드의 포맷과 일치하지 않습니다: [{arg0}]","dateValidationBadFormat":"올바르지 않은 시간/날짜: 날짜/시간이 존재하는지 확인하십시오. [{arg0}] 필드가 {arg1} 포맷과 일치해야 합니다","insertAfterPage":"페이지 뒤에 삽입","docEditorMoveBeginningHint":"선택한 페이지를 문서 시작 부분으로 이동하려면 “0”을 입력합니다.","cloudyRectangleAnnotation":"구름 모양 사각형","dashedRectangleAnnotation":"점선으로 된 사각형","cloudyEllipseAnnotation":"구름 모양 타원","dashedEllipseAnnotation":"점선으로 된 타원","cloudyPolygonAnnotation":"구름 모양 다각형","dashedPolygonAnnotation":"점선으로 된 다각형","cloudAnnotation":"구름","rotateCounterclockwise":"반시계방향 회전","rotateClockwise":"시계방향 회전","enterDescriptionHere":"여기에 설명 입력","addOption":"옵션 추가","formDesignerPopoverTitle":"{formFieldType} 속성","formFieldNameExists":"이미 {formFieldName} 이름의 폼 양식이 존재합니다. 다른 이름을 선택하십시오.","styleSectionLabel":"{formFieldType} 스타일","formFieldName":"양식 필드 이름","defaultValue":"기본값","multiLine":"멀티라인","radioButtonFormFieldNameWarning":"여러 라디오 버튼을 그룹화하려면 양식 필드 이름이 같은지 확인하십시오.","advanced":"고급","creatorName":"창작자 이름","note":"메모","customData":"사용자지정 날짜","required":"필수","readOnly":"읽기 전용","createdAt":"생성일","updatedAt":"수정일","customDataErrorMessage":"직렬화 가능한 일반 JSON 개체여야 합니다","borderColor":"테두리 색상","borderWidth":"테두리 굵기","borderStyle":"테두리 스타일","solidBorder":"채움","dashed":"점선","beveled":"경사면","inset":"삽입","underline":"밑줄","textStyle":"텍스트 스타일","fontSize":"서체 크기","fontColor":"서체 색상","button":"버튼 필드","textField":"텍스트 필드","radioField":"라디오 필드","checkboxField":"체크박스 필드","comboBoxField":"콤보 상자 필드","listBoxField":"목록 상자 필드","signatureField":"서명 필드","formDesigner":"양식 크리에이터","buttonText":"버튼 텍스트","notAvailable":"없음","label":"레이블","value":"값","cannotEditOnceCreated":"한 번 생성된 후에는 편집이 불가능합니다.","formFieldNameNotEmpty":"양식 필드 이름은 비워둘 수 없습니다.","mediaAnnotation":"미디어 주석","mediaFormatNotSupported":"이 브라우저는 임베디드 비디오 또는 오디오를 지원하지 않습니다.","distanceMeasurement":"거리","perimeterMeasurement":"둘레","polygonAreaMeasurement":"다각형 면적","rectangularAreaMeasurement":"사각형 면적","ellipseAreaMeasurement":"타원형 면적","distanceMeasurementSettings":"거리 측정 설정","perimeterMeasurementSettings":"둘레 측정 설정","polygonAreaMeasurementSettings":"다각형 영역 측정 설정","rectangularAreaMeasurementSettings":"사각형 영역 측정 설정","ellipseAreaMeasurementSettings":"타원형 면적 측정 설정","measurementScale":"축척","measurementCalibrateLength":"보정 길이","measurementPrecision":"정밀도","measurementSnapping":"스냅","formCreator":"양식 크리에이터","group":"그룹","ungroup":"그룹해제","bold":"볼드체","italic":"이탤릭체","addLink":"링크 추가","removeLink":"링크 제거","editLink":"링크 편집","anonymous":"익명","saveAndClose":"저장 후 닫기","ceToggleFontMismatchTooltip":"서체 불일치 툴팁 켬/끔","ceFontMismatch":"{arg0} 서체가 없거나 이 문서의 콘텐츠를 편집하는데 사용할 수 없습니다. 추가되거나 변경된 콘텐츠가 있는 경우 기본 서체로 돌아갑니다.","multiAnnotationsSelection":"다수의 주석 선택","linkSettingsPopoverTitle":"링크 설정","linkTo":"링크 대상","uriLink":"웹사이트","pageLink":"페이지","invalidPageNumber":"유효한 페이지 번호를 입력하십시오.","invalidPageLink":"유효한 페이지 링크를 입력하십시오.","linkAnnotation":"링크","targetPageLink":"페이지 번호","rotation":"회전","unlockDocumentDescription":"문서를 열기 위해서는 먼저 잠금을 해제해야 합니다. 아래 필드에 비밀번호를 입력해주십시오.","commentDialogClosed":"{arg0}에 의해 시작된 코멘트 스레드 열기: “{arg1}”","moreComments":"더 많은 코멘트","setScale":"비율 설정","useCalibrationTool":"보정 도구 사용","calibrateScale":"비율 보정","unit":"단위","scaleAnnotationsDeleteWarning":"비율을 삭제하면 이 비율을 사용한 측정값도 삭제됩니다.","halves":"반 인치","quarters":"사분의 일 인치","eighths":"팔분의 일 인치","sixteenths":"십육분의 일 인치","addTextBox":"텍스트 박스 추가","deleteTextBlockConfirmMessage":"정말 텍스트 박스를 삭제하시겠습니까?","deleteTextBlockConfirmAccessibilityLabel":"텍스트 상자 삭제 확인","deleteTextBlockConfirmAccessibilityDescription":"사용자로 하여금 텍스트 삭제를 확인 또는 취소하는 대화상자.","linesCount":"{arg0, plural,\\nother {{arg0}개의 선}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0}개의 주석}\\n=0 {주석 없음}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0}장의 페이지 선택됨}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}개의 코멘트}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}개의 코멘트}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0}개 이상의 코멘트}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ms-5225048771b580af.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ms-5225048771b580af.js new file mode 100644 index 00000000..e9098b3d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ms-5225048771b580af.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1391],{48853:a=>{a.exports=JSON.parse('{"thumbnails":"Imej kecil","pageXofY":"Halaman {arg0} daripada {arg1}","XofY":"{arg0} daripada {arg1}","prevPage":"Halaman Sebelumnya","nextPage":"Halaman Seterusnya","goToPage":"Pergi ke Halaman","gotoPageX":"Pergi ke Halaman {arg0}","pageX":"Halaman {arg0}","pageLayout":"Tataletak Halaman","pageMode":"Mod Halaman","pageModeSingle":"Tunggal","pageModeDouble":"Berganda","pageModeAutomatic":"Automatik","pageTransition":"Peralihan Halaman","pageTransitionContinuous":"Berterusan","pageTransitionJump":"Lompat","pageRotation":"Putaran Halaman","pageRotationLeft":"Putar Ke Kiri","pageRotationRight":"Putar Ke Kanan","zoomIn":"Zum Ke Dalam","zoomOut":"Zum Ke Luar","marqueeZoom":"Alat Tenda","panMode":"Mod Sorot","fitPage":"Muat Ikut Halaman","fitWidth":"Muat Ikut Lebar","annotations":"Anotasi","noAnnotations":"Tiada Anotasi","bookmark":"Penanda","bookmarks":"Penanda","noBookmarks":"Tiada Penanda","newBookmark":"Penanda Baharu","addBookmark":"Tambah Penanda","removeBookmark":"Alih Keluar Penanda","loadingBookmarks":"Memuatkan Penanda","deleteBookmarkConfirmMessage":"Adakah anda pasti anda ingin memadamkan penanda ini?","deleteBookmarkConfirmAccessibilityLabel":"Sahkan pemadaman penanda","annotation":"Anotasi","noteAnnotation":"Nota","textAnnotation":"Teks","inkAnnotation":"Lukisan","highlightAnnotation":"Serlahan Teks","underlineAnnotation":"Garis Bawah","squiggleAnnotation":"Berpintal","strikeOutAnnotation":"Lorek","print":"Cetak","printPrepare":"Menyediakan dokumen untuk pencetakan…","searchDocument":"Cari Dokumen","searchPreviousMatch":"Sebelumnya","searchNextMatch":"Seterusnya","searchResultOf":"{arg0} daripada {arg1}","accessibilityLabelDropdownGroupToggle":"Alat {arg0}, togol menu","save":"Simpan","edit":"Edit","delete":"Padam","close":"Tutup","cancel":"Batal","ok":"OK","done":"Selesai","clear":"Kosongkan","date":"Tarikh","time":"Masa","name":"Nama","color":"Warna","black":"Hitam","white":"Putih","blue":"Biru","red":"Merah","green":"Hijau","orange":"Oren","lightOrange":"Jingga Cerah","yellow":"Kuning","lightYellow":"Kuning Cerah","lightBlue":"Biru Muda","lightRed":"Merah Muda","lightGreen":"Hijau Muda","fuchsia":"Fuchsia","purple":"Ungu","pink":"Merah Jambu","mauve":"Merah Senduduk","lightGrey":"Kelabu Cerah","grey":"Kelabu","darkGrey":"Kelabu Gelap","noColor":"Tiada","transparent":"Lut Sinar","darkBlue":"Biru Gelap","opacity":"Kelegapan","thickness":"Ketebalan","size":"Saiz","numberInPt":"{arg0} mata","font":"Fon","fonts":"Fon","allFonts":"Semua Fon","alignment":"Penjajaran","alignmentLeft":"Kiri","alignmentRight":"Kanan","alignmentCenter":"Tengah","verticalAlignment":"Penjajaran Menegak","horizontalAlignment":"Penjajaran Melintang","top":"Atas","bottom":"Bawah","deleteAnnotationConfirmMessage":"Adakah anda pasti anda ingin memadamkan anotasi ini?","deleteAnnotationConfirmAccessibilityLabel":"Sahkan pemadaman anotasi","fontFamilyUnsupported":"{arg0} (tidak disokong)","sign":"Tandatangan","signed":"Bertandatangan","signatures":"Tandatangan","addSignature":"Tambah Tandatangan","clearSignature":"Kosongkan Tandatangan","storeSignature":"Simpan Tandatangan","pleaseSignHere":"Sila tandatangan di sini","signing":"Menandatangani…","password":"Kata Laluan","unlock":"Buka Kunci","passwordRequired":"Kata Laluan Diperlukan","unlockThisDocument":"Anda perlu membuka kunci dokumen ini untuk melihat dokumen tersebut. Sila masukkan kata laluan dalam medan di bawah.","incorrectPassword":"Kata laluan yang anda masukkan adalah tidak betul. Sila cuba sekali lagi.","blendMode":"Mod Adunan","normal":"Normal","multiply":"Berganda","screenBlend":"Skrin","overlay":"Tindihan","darken":"Digelapkan","lighten":"Dicerahkan","colorDodge":"Pencerahan Warna","colorBurn":"Pembakaran Warna","hardLight":"Cerah Keras","softLight":"Cerah Lembut","difference":"Perbezaan","exclusion":"Pengasingan","multiple":"Berbilang","linecaps-dasharray":"Gaya Garis","dasharray":"Gaya Garis","startLineCap":"Mula Garis","strokeDashArray":"Gaya Garis","endLineCap":"Akhir Garis","lineAnnotation":"Garis","rectangleAnnotation":"Segi Empat Tepat","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Poligaris","solid":"Padu","narrowDots":"Titik Sempit","wideDots":"Titik Lebar","narrowDashes":"Sempang Sempit","wideDashes":"Sempang Lebar","none":"Tiada","square":"Segi Empat Sama","circle":"Bulatan","diamond":"Berlian","openArrow":"Anak Panah Buka","closedArrow":"Anak Panah Ditutup","butt":"Pangkal","reverseOpenArrow":"Terbalikkan Anak Panah Buka","reverseClosedArrow":"Terbalikkan Anak Panah Ditutup","slash":"Garis Condong","fillColor":"Warna Isian","cloudy":"Kabur","arrow":"Anak Panah","filePath":"Laluan Fail","unsupportedImageFormat":"Jenis yang tidak disokong untuk anotasi imej: {arg0}. Sila gunakan JPEG atau PNG.","noOutline":"Tiada Ringkasan","outline":"Ringkasan","imageAnnotation":"Imej","selectImage":"Pilih Imej","stampAnnotation":"Cap","highlighter":"Serlahan Bentuk Bebas","textHighlighter":"Pen Penyerlah Teks","pen":"Lukisan","eraser":"Pemadam","export":"Eksport","useAnExistingStampDesign":"Gunakan reka bentuk cap yang sedia ada","createStamp":"Cipta Cap","stampText":"Teks Cap","chooseColor":"Pilih Warna","rejected":"Ditolak","accepted":"Diterima","approved":"Diluluskan","notApproved":"Tidak Diluluskan","draft":"Draf","final":"Muktamad","completed":"Selesai","confidential":"Sulit","forPublicRelease":"Untuk Edaran Umum","notForPublicRelease":"Bukan Untuk Edaran Umum","forComment":"Untuk Komen","void":"Tidak Sah","preliminaryResults":"Keputusan Awal","informationOnly":"Maklumat sahaja","initialHere":"Parap Di Sini","signHere":"Tandatangan Di Sini","witness":"Saksi","asIs":"Seadanya","departmental":"Jabatan","experimental":"Eksperimen","expired":"Tamat Tempoh","sold":"Dijual","topSecret":"Rahsia Besar","revised":"Disemak","custom":"Tersuai","customStamp":"Cap Tersuai","icon":"Ikon","iconRightPointer":"Penunjuk Kanan","iconRightArrow":"Anak Panah Kanan","iconCheck":"Tanda semak","iconCircle":"Elips","iconCross":"Pangkah","iconInsert":"Masukkan Teks","iconNewParagraph":"Perenggan Baharu","iconNote":"Nota Teks","iconComment":"Komen","iconParagraph":"Perenggan","iconHelp":"Bantuan","iconStar":"Bintang","iconKey":"Kunci","documentEditor":"Editor Dokumen","newPage":"Halaman Baru","removePage":"Padamkan Halaman","duplicatePage":"Duplikasi","rotatePageLeft":"Putar Ke Kiri","rotatePageRight":"Putar Ke Kanan","moveBefore":"Alih Ke Sebelum","moveAfter":"Alih Ke Selepas","selectNone":"Jangan Pilih","selectAll":"Pilih Semua","saveAs":"Simpan Sebagai…","mergeDocument":"Import Dokumen","undo":"Buat Asal","redo":"Buat Semula","openMoveDialog":"Alihkan","move":"Alihkan","instantModifiedWarning":"Dokumen telah diubah suai dan kini dalam mod baca sahaja. Muat semula halaman untuk membetulkan perkara ini.","documentMergedHere":"Dokumen akan digabungkan di sini","digitalSignaturesAllValid":"Dokumen telah ditandatangani secara digital dan semua tandatangan adalah sah.","digitalSignaturesDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani.","digitalSignaturesSignatureWarning":"Dokumen telah ditandatangani secara digital, tetapi sekurang-kurangnya satu tandatangan mempunyai masalah.","digitalSignaturesSignatureWarningDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani dan sekurang-kurangnya satu tandatangan mempunyai masalah.","digitalSignaturesSignatureError":"Dokumen telah ditandatangani secara digital, tetapi sekurang-kurangnya satu tandatangan adalah tidak sah.","digitalSignaturesSignatureErrorDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani dan sekurang-kurangnya satu tandatangan adalah tidak sah.","signingInProgress":"Tandatangan sedang berjalan","signingModalDesc":"Menunjukkan bahawa dokumen semasa sedang ditandatangani","discardChanges":"Buang Perubahan","commentEditorLabel":"Tambahkan komen anda…","reply":"Balas","comment":"Komen","comments":"Komen","showMore":"Tunjukkan lagi","showLess":"Tunjukkan sedikit","deleteComment":"Padam Komen","deleteCommentConfirmMessage":"Adakah anda pasti anda ingin memadamkan komen ini?","deleteCommentConfirmAccessibilityLabel":"Sahkan pemadaman komen","editContent":"Edit Kandungan","commentOptions":"Pilihan Komen","areaRedaction":"Reduksi Kawasan","textRedaction":"Reduksi Teks","redactionAnnotation":"Reduksi","applyingRedactions":"Melaksanakan reduksi","overlayTextPlaceholder":"Masukkan teks tindanan","outlineColor":"Warna Garis Luar","overlayText":"Teks Tindanan","repeatText":"Teks Berulang","preview":"Pratonton","applyRedactions":"Laksanakan Reduksi","markupAnnotationToolbar":"Bar alat anotasi penanda","documentViewport":"Viewport dokumen","redactionInProgress":"Reduksi sedang berjalan","redactionModalDesc":"Menunjukkan bahawa dokumen semasa sedang menjalani reduksi","commentAction":"Komen","printProgressModalDesc":"Menunjukkan bahawa dokumen sedang disediakan untuk pencetakan","printProgressModal":"Pencetakan dengan berjalan","documentEditorDesc":"Buat perubahan pada dokumen semasa","reloadDocumentDialog":"Sahkan muat semula dokumen","reloadDocumentDialogDesc":"Dialog yang menggesa pengguna untuk mengesahkan muat semula dokumen.","signatureDialog":"Tandatangan","signatureDialogDesc":"Dialog ini membolehkan anda memilih tandatangan dakwat untuk disisipkan ke dalam dokumen. Jika anda tidak mempunyai tandatangan yang disimpan, anda boleh mencipta tandatangan tersebut menggunakan paparan kanvas.","stampAnnotationTemplatesDialog":"Templat Anotasi Cap","stampAnnotationTemplatesDialogDesc":"Dialog ini membolehkan anda memilih anotasi cap untuk disisipkan ke dalam dokumen atau mencipta anotasi cap tersuai dengan teks anda sendiri.","selectedAnnotation":"Memilih {arg0}","commentThread":"Jalur komen","selectedAnnotationWithText":"Memilih {arg0} dengan {arg1} sebagai kandungan","signature":"Tandatangan","ElectronicSignatures_SignHereTypeHint":"Taip Tandatangan Anda Di Atas","ElectronicSignatures_SignHereDrawHint":"Tandatangan Di Sini","selectDragImage":"Pilih atau Seret Imej","replaceImage":"Gantikan Imej","draw":"Lukis","image":"Imej","type":"Taip","saveSignature":"Simpan Tandatangan","loading":"Memuatkan","selectedItem":"{arg0}, dipilih.","annotationDeleted":"Anotasi dipadamkan.","newAnnotationCreated":"Anotasi {arg0} baharu dicipta.","bookmarkCreated":"Penanda dicipta.","bookmarkEdited":"Penanda diedit.","bookmarkDeleted":"Penanda dipadamkan.","cancelledEditingBookmark":"Pengeditan penanda dibatalkan.","selectAFileForImage":"Pilih fail untuk anotasi imej baharu.","deleteAnnotationConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman anotasi.","deleteBookmarkConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman penanda.","deleteCommentConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman komen.","resize":"Ubah saiz","resizeHandleTop":"Atas","resizeHandleBottom":"Bawah","resizeHandleRight":"Kanan","resizeHandleLeft":"Kiri","cropCurrentPage":"Pangkas Halaman Semasa","cropCurrent":"Pangkas Semasa","cropAllPages":"Pangkas Semua Halaman","cropAll":"Pangkas Semua","documentCrop":"Pangkasan Dokumen","Comparison_alignButtonTouch":"Jajarkan","Comparison_selectPoint":"Pilih Titik","Comparison_documentOldTouch":"Lama","Comparison_documentNewTouch":"Baru","Comparison_result":"Perbandingan","UserHint_description":"Pilih tiga titik pada kedua-dua dokumen untuk penjajaran secara manual. Untuk mendapatkan hasil yang terbaik, pilih titik yang berhampiran dengan penjuru dokumen dan pastikan titik tersebut berada dalam kedudukan yang sama pada kedua-dua dokumen.","UserHint_dismissMessage":"Tutup","Comparison_alignButton":"Jajarkan Dokumen","documentComparison":"Perbandingan Dokumen","Comparison_documentOld":"Dokumen Lama","Comparison_documentNew":"Dokumen Baru","Comparison_resetButton":"Set Semula","UserHint_Select":"Memilih Titik","numberValidationBadFormat":"Nilai yang dimasukkan tidak sepadan dengan format medan [{arg0}]","dateValidationBadFormat":"Tarikh/masa tidak sah: sila pastikan tarikh/masa wujud. Medan [{arg0}] hendaklah sepadan dengan format {arg1}","insertAfterPage":"Masukkan selepas halaman","docEditorMoveBeginningHint":"Taip “0” untuk mengalihkan halaman yang dipilih ke permulaan dokumen.","cloudyRectangleAnnotation":"Segi Empat Tepat Berawan","dashedRectangleAnnotation":"Segi Empat Tepat Putus-Putus","cloudyEllipseAnnotation":"Elips Berawan","dashedEllipseAnnotation":"Elips Putus-Putus","cloudyPolygonAnnotation":"Poligon Berawan","dashedPolygonAnnotation":"Poligon Putus-Putus","cloudAnnotation":"Awan","rotateCounterclockwise":"Putar lawan arah jam","rotateClockwise":"Putar ikut arah jam","enterDescriptionHere":"Masukkan perihalan di sini","addOption":"Tambah pilihan","formDesignerPopoverTitle":"Sifat {formFieldType}","formFieldNameExists":"Medan borang bernama {formFieldName} sudah pun wujud. Sila pilih nama yang lain.","styleSectionLabel":"Gaya {formFieldType}","formFieldName":"Nama Medan Borang","defaultValue":"Nilai Lalai","multiLine":"Berbilang baris","radioButtonFormFieldNameWarning":"Untuk mengumpulkan butang radio, pastikan butang radio tersebut mempunyai nama medan borang yang sama.","advanced":"Lanjutan","creatorName":"Nama Pencipta","note":"Nota","customData":"Data Tersuai","required":"Diperlukan","readOnly":"Baca Sahaja","createdAt":"Dicipta Pada","updatedAt":"Dikemas Kini Pada","customDataErrorMessage":"Hendaklah merupakan objek boleh dijadikan bersiri JSON yang biasa","borderColor":"Warna Sempadan","borderWidth":"Lebar Sempadan","borderStyle":"Gaya Sempadan","solidBorder":"Padu","dashed":"Putus-Putus","beveled":"Serong","inset":"Sisipan","underline":"Bergaris Bawah","textStyle":"Gaya Teks","fontSize":"Saiz Fon","fontColor":"Warna Fon","button":"Medan Butang","textField":"Medan Teks","radioField":"Medan Radio","checkboxField":"Medan Kotak Semak","comboBoxField":"Medan Kotak Kombo","listBoxField":"Medan Kotak Senarai","signatureField":"Medan Tandatangan","formDesigner":"Pencipta Borang","buttonText":"Teks Butang","notAvailable":"N/A","label":"Label","value":"Nilai","cannotEditOnceCreated":"Tidak boleh diedit setelah dicipta.","formFieldNameNotEmpty":"Nama medan borang tidak boleh dibiarkan kosong.","mediaAnnotation":"Anotasi Media","mediaFormatNotSupported":"Pelayar ini tidak menyokong video atau audio yang dibenamkan.","distanceMeasurement":"Jarak","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Kawasan Poligon","rectangularAreaMeasurement":"Kawasan Segi Empat Tepat","ellipseAreaMeasurement":"Kawasan Elips","distanceMeasurementSettings":"Tetapan Ukuran Jarak","perimeterMeasurementSettings":"Tetapan Ukuran Perimeter","polygonAreaMeasurementSettings":"Tetapan Ukuran Kawasan Poligon","rectangularAreaMeasurementSettings":"Tetapan Ukuran Kawasan Segi Empat Tepat","ellipseAreaMeasurementSettings":"Tetapan Ukuran Kawasan Elips","measurementScale":"Skala","measurementCalibrateLength":"Panjang Tentukur","measurementPrecision":"Ketepatan","measurementSnapping":"Pengikatan","formCreator":"Pencipta Borang","group":"Kumpulan","ungroup":"Leraikan","bold":"Tebal","italic":"Italik","addLink":"Tambah Pautan","removeLink":"Alih Keluar Pautan","editLink":"Edit Pautan","anonymous":"Awanama","saveAndClose":"Simpan & Tutup","ceToggleFontMismatchTooltip":"Togol tip alat salah padan fon","ceFontMismatch":"Fon {arg0} tidak tersedia atau tidak dapat digunakan untuk mengedit kandungan dalam dokumen ini. Kandungan yang ditambah atau diubah akan kembali kepada fon lalai.","multiAnnotationsSelection":"Pilih Berbilang Anotasi","linkSettingsPopoverTitle":"Tetapan Pautan","linkTo":"Pautan Ke","uriLink":"Tapak Web","pageLink":"Halaman","invalidPageNumber":"Masukkan nombor halaman yang sah.","invalidPageLink":"Masukkan pautan halaman yang sah.","linkAnnotation":"Pautan","targetPageLink":"Nombor Halaman","rotation":"Putaran","unlockDocumentDescription":"Anda perlu membuka kunci dokumen ini untuk melihat dokumen tersebut. Sila masukkan kata laluan dalam medan di bawah.","commentDialogClosed":"Buka jalur komen yang dimulakan oleh {arg0}: “{arg1}”","moreComments":"Lagi komen","setScale":"Tetapkan Skala","useCalibrationTool":"Gunakan Alat Penentukuran","calibrateScale":"Tentukur Skala","unit":"Unit","scaleAnnotationsDeleteWarning":"Tindakan memadamkan skala juga akan memadamkan pengukuran yang menggunakan skala tersebut.","halves":"Setengah Inci","quarters":"Suku Inci","eighths":"Satu Perlapan Inci","sixteenths":"Satu Perenam Belas Inci","addTextBox":"Tambahkan Kotak Teks","deleteTextBlockConfirmMessage":"Adakah anda pasti anda ingin memadamkan kotak teks ini?","deleteTextBlockConfirmAccessibilityLabel":"Sahkan pemadaman kotak teks","deleteTextBlockConfirmAccessibilityDescription":"Dialog yang membolehkan pengguna mengesahkan atau membatalkan pemadaman kotak teks","linesCount":"{arg0, plural,\\nother {{arg0} Garisan}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} Anotasi}\\n=0 {Tiada Anotasi}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} Halaman Dipilih}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} Komen}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} Komen}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} lagi komen}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nb-NO-0e2fae0fb4e7acbe.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nb-NO-0e2fae0fb4e7acbe.js new file mode 100644 index 00000000..cbf78f4b --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nb-NO-0e2fae0fb4e7acbe.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4966],{16844:e=>{e.exports=JSON.parse('{"thumbnails":"Ikoner","pageXofY":"Side {arg0} av {arg1}","XofY":"{arg0} av {arg1}","prevPage":"Forrige side","nextPage":"Neste side","goToPage":"Gå til side","gotoPageX":"Gå til side {arg0}","pageX":"Side {arg0}","pageLayout":"Sideoppsett","pageMode":"Sidemodus","pageModeSingle":"Enkelt","pageModeDouble":"Dobbelt","pageModeAutomatic":"Automatisk","pageTransition":"Sideovergang","pageTransitionContinuous":"Sammenhengende","pageTransitionJump":"Hopp","pageRotation":"Siderotasjon","pageRotationLeft":"Roter til venstre","pageRotationRight":"Roter til høyre","zoomIn":"Zoom inn","zoomOut":"Zoom ut","marqueeZoom":"Markeringszoom","panMode":"Panoreringsmodus","fitPage":"Tilpass til side","fitWidth":"Tilpass til bredde","annotations":"Merknader","noAnnotations":"Ingen merknader","bookmark":"Bokmerke","bookmarks":"Bokmerker","noBookmarks":"Ingen bokmerker","newBookmark":"Nytt bokmerke","addBookmark":"Legg til bokmerke","removeBookmark":"Fjern bokmerke","loadingBookmarks":"Laster bokmerker","deleteBookmarkConfirmMessage":"Er du sikker at du vil slette dette bokmerket?","deleteBookmarkConfirmAccessibilityLabel":"Bekreft sletting av bokmerke","annotation":"Merknad","noteAnnotation":"Notat","textAnnotation":"Tekst","inkAnnotation":"Blekk","highlightAnnotation":"Fremhev","underlineAnnotation":"Understrek","squiggleAnnotation":"Vri","strikeOutAnnotation":"Slå ut","print":"Skriv ut","printPrepare":"Forbereder dokument for utskrift…","searchDocument":"Søk dokument","searchPreviousMatch":"Forrige","searchNextMatch":"Neste","searchResultOf":"{arg0} av {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} verktøy, vis/skjul meny","save":"Lagre","edit":"Rediger","delete":"Slett","close":"Lukk","cancel":"Avbryt","ok":"OK","done":"Ferdig","clear":"Tøm","date":"Dato","time":"Tid","name":"Navn","color":"Farge","black":"Sort","white":"Hvitt","blue":"Blå","red":"Rød","green":"Grønn","orange":"Oransje","lightOrange":"Lyseoransje","yellow":"Gult","lightYellow":"Lysegul","lightBlue":"Lyseblå","lightRed":"Lyserød","lightGreen":"Lysegrønn","fuchsia":"Fuchsia","purple":"Lilla","pink":"Rosa","mauve":"Lilla","lightGrey":"Lysegrå","grey":"Grå","darkGrey":"Mørkegrå","noColor":"Ingen","transparent":"Gjennomsiktig","darkBlue":"Mørkeblå","opacity":"Opasitet","thickness":"Tykkelse","size":"Størrelse","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonter","allFonts":"Alle fonter","alignment":"Justering","alignmentLeft":"Venstre","alignmentRight":"Høyre","alignmentCenter":"Midten","verticalAlignment":"Vertikal justering","horizontalAlignment":"Horisontal justering","top":"Topp","bottom":"Bunn","deleteAnnotationConfirmMessage":"Er du sikker på at du vil slette denne annotasjonen?","deleteAnnotationConfirmAccessibilityLabel":"Bekrefter sletting av annotasjon","fontFamilyUnsupported":"{arg0} (ikke støttet)","sign":"Signer","signed":"Signert","signatures":"Signaturer","addSignature":"Legg til signatur","clearSignature":"Fjern signatur","storeSignature":"Lagre signatur","pleaseSignHere":"Signer her","signing":"Signerer…","password":"Passord","unlock":"Lås opp","passwordRequired":"Passord påkrevd","unlockThisDocument":"Du må låse opp dette dokumentet for å se det. Vennligst oppgi passord i feltet under.","incorrectPassword":"Passordet du oppga, er ikke riktig. Vennligst prøv igjen.","blendMode":"Overgangsmodus","normal":"Normal","multiply":"Flere","screenBlend":"Skjerm","overlay":"Legg over","darken":"Mørkere","lighten":"Lysere","colorDodge":"Lysne farge","colorBurn":"Mørkne farge","hardLight":"Hardt lys","softLight":"Mykt lys","difference":"Forskjell","exclusion":"Eksklusjon","multiple":"Multipliser","linecaps-dasharray":"Linjestil","dasharray":"Linjestil","startLineCap":"Linjestart","strokeDashArray":"Linjestil","endLineCap":"Linjeslutt","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinje","solid":"Solid","narrowDots":"Smale prikker","wideDots":"Brede prikker","narrowDashes":"Smale streker","wideDashes":"Brede streker","none":"Ingen","square":"Kvadrat","circle":"Sirkel","diamond":"Diamant","openArrow":"Åpen pil","closedArrow":"Lukket pil","butt":"Bunn","reverseOpenArrow":"Omvend åpen pil","reverseClosedArrow":"Omvend lukket pil","slash":"Skråstrek","fillColor":"Fyllfarge","cloudy":"Skyet","arrow":"Pil","filePath":"Filbane","unsupportedImageFormat":"Ustøttet type for bildemerknad: {arg0}. Vennligst bruk en JPEG eller PNG.","noOutline":"Ingen kant","outline":"Omriss","imageAnnotation":"Bilde","selectImage":"Velg bilde","stampAnnotation":"Stempel","highlighter":"Merkepenn","textHighlighter":"Tekstutheving","pen":"Penn","eraser":"Viskelær","export":"Eksporter","useAnExistingStampDesign":"Bruk et eksisterende stempeldesign","createStamp":"Opprett stempel","stampText":"Stempeltekst","chooseColor":"Velg farge","rejected":"Avslått","accepted":"Godkjent","approved":"Godkjent","notApproved":"Ikke godkjent","draft":"Utkast","final":"Endelig","completed":"Fullført","confidential":"Konfidensielt","forPublicRelease":"For offentlig utgivelse","notForPublicRelease":"Ikke for offentlig utgivelse","forComment":"For kommentar","void":"Tomrom","preliminaryResults":"Innledende resultater","informationOnly":"Kun informasjon","initialHere":"Forbokstav her","signHere":"Signer her","witness":"Vitne","asIs":"Som er","departmental":"Avdelingsnivå","experimental":"Eksperimentelt","expired":"Utløpt","sold":"Solgt","topSecret":"Topp-hemmelig","revised":"Revidert","custom":"Tilpasset","customStamp":"Tilpasset stempel","icon":"Ikon","iconRightPointer":"Høyre peker","iconRightArrow":"Høyre pil","iconCheck":"Hake","iconCircle":"Ellipse","iconCross":"Kryss","iconInsert":"Sett inn tekst","iconNewParagraph":"Nytt avsnitt","iconNote":"Tekstmerknad","iconComment":"Kommentar","iconParagraph":"Avsnitt","iconHelp":"Hjelp","iconStar":"Stjerne","iconKey":"Nøkkel","documentEditor":"Dokumenteditor","newPage":"Ny side","removePage":"Slett sider","duplicatePage":"Dupliser","rotatePageLeft":"Roter til venstre","rotatePageRight":"Roter til høyre","moveBefore":"Flytt til før","moveAfter":"Flytt til etter","selectNone":"Velg ingen","selectAll":"Velg alle","saveAs":"Lagre som…","mergeDocument":"Importer dokument","undo":"Angre","redo":"Gjør om igjen","openMoveDialog":"Flytt","move":"Flytt","instantModifiedWarning":"Dokumentet ble modifisert og er nå i skrivebeskyttet modus. Last inn siden på nytt for å rette dette.","documentMergedHere":"Dokumentet blir flettet her","digitalSignaturesAllValid":"Dokumentet har blitt signert digitalt og alle signaturer er ugyldige.","digitalSignaturesDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert.","digitalSignaturesSignatureWarning":"Dokumentet har blitt signert digitalt, men minst en signatur har et problem.","digitalSignaturesSignatureWarningDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert, og minst en signatur har et problem.","digitalSignaturesSignatureError":"Dokumentet har blitt signert digitalt, men minst en signatur er ugyldig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert, og minst en signatur er ugyldig.","signingInProgress":"Signering pågår","signingModalDesc":"Viser at aktuelt dokument blir signert","discardChanges":"Forkast endringer","commentEditorLabel":"Legg til din kommentar…","reply":"Svar","comment":"Kommentar","comments":"Kommentarer","showMore":"Vis mer","showLess":"Vis mindre","deleteComment":"Slett kommentar","deleteCommentConfirmMessage":"Er du sikker at du vil slette denne kommentaren?","deleteCommentConfirmAccessibilityLabel":"Bekreft sletting av kommentar","editContent":"Rediger innhold","commentOptions":"Kommentaralternativer","areaRedaction":"Områderedaksjon","textRedaction":"Tekstredaksjon","redactionAnnotation":"Redaksjon","applyingRedactions":"Legger til redaksjoner","overlayTextPlaceholder":"Legg til overliggende tekst","outlineColor":"Kantfarge","overlayText":"Overlappende tekst","repeatText":"Gjenta tekst","preview":"Forhåndsvis","applyRedactions":"Bruk redaksjoner","markupAnnotationToolbar":"Verktøylinje for merking av merknader","documentViewport":"Visningsport for dokument","redactionInProgress":"Redigering pågår","redactionModalDesc":"Viser at aktuelt dokument blir redigert","commentAction":"Kommenter","printProgressModalDesc":"Viser at et dokument blir forberedt til utskrift","printProgressModal":"Utskrift pågår","documentEditorDesc":"Gjør endringer på aktuelt dokument","reloadDocumentDialog":"Bekreft ny innlasting av dokument","reloadDocumentDialogDesc":"Dialog som ber bruker bekrefte ny innlasting av dokument","signatureDialog":"Signatur","signatureDialogDesc":"Denne dialogen lar deg velge en blekksignatur som du setter inn i dokumentet. Hvis du ikke har lagrede signaturer kan du opprette en i kanbanvisningen","stampAnnotationTemplatesDialog":"Mal for kommentarstempel","stampAnnotationTemplatesDialogDesc":"Denne dialogen lar deg velge et kommentarstempel som setttes inn i dokumentet, eller å lage et egendefinert kommentarstempel med din egen tekst","selectedAnnotation":"Valgt {arg0}","commentThread":"Kommentartråd","selectedAnnotationWithText":"Valgt {arg0} med {arg1} som innhold","signature":"Signatur","ElectronicSignatures_SignHereTypeHint":"Skriv inn signaturen din ovenfor","ElectronicSignatures_SignHereDrawHint":"Signer her","selectDragImage":"Velg eller dra bilde","replaceImage":"Erstatt bilde","draw":"Tegn","image":"Bilde","type":"Skriv","saveSignature":"Lagre signatur","loading":"Laster inn","selectedItem":"{arg0}, valgt.","annotationDeleted":"Merknad slettet.","newAnnotationCreated":"Ny {arg0} merknad opprettet.","bookmarkCreated":"Bokmerke opprettet.","bookmarkEdited":"Bokmerke redigert.","bookmarkDeleted":"Bokmerke slettet.","cancelledEditingBookmark":"Sletting av bokmerke avbrutt.","selectAFileForImage":"Velg en fil for den nye bildekommentaren.","deleteAnnotationConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av merknader.","deleteBookmarkConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av bokmerket.","deleteCommentConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av kommentaren.","resize":"Endre størrelse","resizeHandleTop":"Topp","resizeHandleBottom":"Bunn","resizeHandleRight":"Høyre","resizeHandleLeft":"Venstre","cropCurrentPage":"Beskjær gjeldende side","cropCurrent":"Beskjær gjeldende","cropAllPages":"Beskjær alle sider","cropAll":"Beskjær alle","documentCrop":"Dokumentbeskjæring","Comparison_alignButtonTouch":"Tilpass","Comparison_selectPoint":"Velg punkt","Comparison_documentOldTouch":"Gammel","Comparison_documentNewTouch":"Ny","Comparison_result":"Sammenligning","UserHint_description":"Velg tre punkter på begge dokumentene for manuell tilpasning. For best resultat, velg punkter nær hjørnene av dokumentene, og sørg for at punktene er i samme rekkefølge på begge dokumentene.","UserHint_dismissMessage":"Lukk","Comparison_alignButton":"Tilpass dokumenter","documentComparison":"Dokumentsammenligning","Comparison_documentOld":"Gammelt dokument","Comparison_documentNew":"Nytt dokument","Comparison_resetButton":"Gjenopprett","UserHint_Select":"Velger punkter","numberValidationBadFormat":"Den angitte verdien samsvarer ikke med formatet av feltet [{arg0}]","dateValidationBadFormat":"Ugyldig dato/tid: vennligst sørg for at dato/tid eksisterer. Feltet [{arg0}] bør samsvare med formatet {arg1}","insertAfterPage":"Legg til etter side","docEditorMoveBeginningHint":"Skriv “0” for å flytte de valgte sidene til begynnelsen av dokumentet.","cloudyRectangleAnnotation":"Skyet rektangel","dashedRectangleAnnotation":"Stiplet rektangel","cloudyEllipseAnnotation":"Skyet ellipse","dashedEllipseAnnotation":"Stiplet ellipse","cloudyPolygonAnnotation":"Skyet trekant","dashedPolygonAnnotation":"Stiplet trekant","cloudAnnotation":"Sky","rotateCounterclockwise":"Roter mot klokken","rotateClockwise":"Roter med klokken","enterDescriptionHere":"Skriv inn beskrivelse her","addOption":"Legg til alternativ","formDesignerPopoverTitle":"{formFieldType} -egenskaper","formFieldNameExists":"Et skjemafelt kalt {formFieldName} eksisterer allerede. Velg et annet navn.","styleSectionLabel":"{formFieldType} -stil","formFieldName":"Skjemafeltnavn","defaultValue":"Standardverdi","multiLine":"Flerlinjet","radioButtonFormFieldNameWarning":"Sørg for at de har samme skjemafeltnavn for å gruppere alternativknappene.","advanced":"Avansert","creatorName":"Skapernavn","note":"Notat","customData":"Tilpasset data","required":"Obligatorisk","readOnly":"Kun lesetilgang","createdAt":"Opprettet den","updatedAt":"Oppdatert den","customDataErrorMessage":"Må være et vanlig JSON-serialiserbart objekt","borderColor":"Rammefarge","borderWidth":"Rammebredde","borderStyle":"Rammestil","solidBorder":"Fast","dashed":"Stiplet","beveled":"Skråstilt","inset":"Innfelt","underline":"Understreket","textStyle":"Tekststil","fontSize":"Skriftstørrelse","fontColor":"Skriftfarge","button":"Knappefelt","textField":"Tekstfelt","radioField":"Radioknapp","checkboxField":"Felt med avmerkingsboks","comboBoxField":"Felt med kombinasjonsboks","listBoxField":"Listeboksfelt","signatureField":"Signaturfelt","formDesigner":"Skjemaoppretter","buttonText":"Tekst på knapp","notAvailable":"Gjelder ikke","label":"Etikett","value":"Verdi","cannotEditOnceCreated":"Kan ikke redigeres når den først er opprettet.","formFieldNameNotEmpty":"Skjemafeltnavn kan ikke stå tomt.","mediaAnnotation":"Mediekommentar","mediaFormatNotSupported":"Denne nettleseren støtter ikke innebygd video eller lyd.","distanceMeasurement":"Avstand","perimeterMeasurement":"Omkrets","polygonAreaMeasurement":"Polygonområde","rectangularAreaMeasurement":"Rektangelområde","ellipseAreaMeasurement":"Ellipseområde","distanceMeasurementSettings":"Innstillinger for avstandsmåling","perimeterMeasurementSettings":"Innstillinger for perimetermåling","polygonAreaMeasurementSettings":"Innstillinger for måling av polygonområde","rectangularAreaMeasurementSettings":"Innstillinger for måling av rektangelområde","ellipseAreaMeasurementSettings":"Innstillinger for måling av ellipseområde","measurementScale":"Skala","measurementCalibrateLength":"Kalibrer lengde","measurementPrecision":"Presisjon","measurementSnapping":"Knipsing","formCreator":"Skjemaoppretter","group":"Gruppe","ungroup":"Del opp","bold":"Fet","italic":"Kursiv","addLink":"Legg til lenke","removeLink":"Fjern lenke","editLink":"Rediger lenke","anonymous":"Anonym","saveAndClose":"Lagre og lukk","ceToggleFontMismatchTooltip":"Veksle mellom verktøytips for uoverensstemmelse mellom skrifttype","ceFontMismatch":"{arg0}-fonten er ikke tilgjengelig eller kan ikke brukes til å redigere innhold i dette dokumentet. Ekstra eller endret innhold vil gå tilbake til en standardfont.","multiAnnotationsSelection":"Velg flere merknader","linkSettingsPopoverTitle":"Lenkeinnstillinger","linkTo":"Lenke til","uriLink":"Nettsted","pageLink":"Side","invalidPageNumber":"Skriv inn et gyldig sidenummer.","invalidPageLink":"Skriv inn en gyldig sidelenke.","linkAnnotation":"Lenke","targetPageLink":"Sidetall","rotation":"Rotasjon","unlockDocumentDescription":"Du må låse opp dette dokumentet for å se det. Skriv inn passord i feltet nedenfor.","commentDialogClosed":"Åpne kommentartråd startet av {arg0}: \\"{arg1}\\"","moreComments":"Flere kommentarer","setScale":"Angi skala","useCalibrationTool":"Bruk kalibreringsverktøy","calibrateScale":"Kalibreringsskala","unit":"Enhet","scaleAnnotationsDeleteWarning":"Sletting av skalaen vil også slette målinger ved hjelp av skalaen.","halves":"Halve tommer","quarters":"Kvarte tommer","eighths":"En åttendedels tomme","sixteenths":"En sekstendedels tomme","addTextBox":"Legg til tekstboks","deleteTextBlockConfirmMessage":"Er du sikker på at du vil slette denne tekstboksen?","deleteTextBlockConfirmAccessibilityLabel":"Bekreft sletting av tekstboks","deleteTextBlockConfirmAccessibilityDescription":"Dialogboks som lar brukeren bekrefte eller avbryte sletting av tekstboksen","linesCount":"{arg0, plural,\\none {{arg0} linje}\\nother {{arg0} linjer}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} merknad}\\nother {{arg0} merknader}\\n=0 {Ingen merknader}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} side valgt}\\nother {{arg0} sider valgt}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} kommentar til}\\nother {{arg0} flere kommenterer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nl-8719b7d930283a2d.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nl-8719b7d930283a2d.js new file mode 100644 index 00000000..abb3ad9a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-nl-8719b7d930283a2d.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5677],{14314:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturen","pageXofY":"Pagina {arg0} van {arg1}","XofY":"{arg0} van {arg1}","prevPage":"Vorige pagina","nextPage":"Volgende pagina","goToPage":"Ga naar pagina","gotoPageX":"Ga naar pagina {arg0}","pageX":"Pagina {arg0}","pageLayout":"Paginalay-out","pageMode":"Paginamodus","pageModeSingle":"Enkel","pageModeDouble":"Dubbel","pageModeAutomatic":"Automatisch","pageTransition":"Pagina-overgang","pageTransitionContinuous":"Doorlopend","pageTransitionJump":"Springen","pageRotation":"Paginarotatie","pageRotationLeft":"Roteer naar links","pageRotationRight":"Roteer naar rechts","zoomIn":"Zoom in","zoomOut":"Zoom uit","marqueeZoom":"Selectiegereedschap","panMode":"Panmodus","fitPage":"Passende pagina","fitWidth":"Passende breedte","annotations":"Annotaties","noAnnotations":"Geen annotaties","bookmark":"Bladwijzer","bookmarks":"Bladwijzers","noBookmarks":"Geen bladwijzers","newBookmark":"Nieuwe bladwijzer","addBookmark":"Voeg bladwijzer toe","removeBookmark":"Verwijder bladwijzer","loadingBookmarks":"Bladwijzers laden","deleteBookmarkConfirmMessage":"Weet je zeker dat je deze bladwijzer wilt verwijderen?","deleteBookmarkConfirmAccessibilityLabel":"Bevestig verwijdering van bladwijzer","annotation":"Annotatie","noteAnnotation":"Notitie","textAnnotation":"Tekst","inkAnnotation":"Tekening","highlightAnnotation":"Tekstmarkering","underlineAnnotation":"Onderstreep","squiggleAnnotation":"Krabbel","strikeOutAnnotation":"Doorgehaald","print":"Druk af","printPrepare":"Document voorbereiden op afdrukken…","searchDocument":"Zoek in document","searchPreviousMatch":"Vorige","searchNextMatch":"Volgende","searchResultOf":"{arg0} van {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0}-tools, menu in- of uitschakelen","save":"Bewaar","edit":"Wijzig","delete":"Verwijder","close":"Sluit","cancel":"Annuleer","ok":"OK","done":"Gereed","clear":"Wis","date":"Datum","time":"Tijd","name":"Naam","color":"Kleur","black":"Zwart","white":"Wit","blue":"Blauw","red":"Rood","green":"Groen","orange":"Oranje","lightOrange":"Lichtoranje","yellow":"Geel","lightYellow":"Lichtgeel","lightBlue":"Lichtblauw","lightRed":"Lichtrood","lightGreen":"Lichtgroen","fuchsia":"Fuchsia","purple":"Paars","pink":"Roze","mauve":"Mauve","lightGrey":"Lichtgrijs","grey":"Grijs","darkGrey":"Donkergrijs","noColor":"Geen","transparent":"Doorzichtig","darkBlue":"Donkerblauw","opacity":"Transparantie","thickness":"Dikte","size":"Grootte","numberInPt":"{arg0} pt","font":"Lettertype","fonts":"Lettertypen","allFonts":"Alle lettertypen","alignment":"Uitlijning","alignmentLeft":"Links","alignmentRight":"Rechts","alignmentCenter":"Midden","verticalAlignment":"Verticale uitlijning","horizontalAlignment":"Horizontale uitlijning","top":"Boven","bottom":"Onder","deleteAnnotationConfirmMessage":"Weet je zeker dat je deze annotatie wilt verwijderen?","deleteAnnotationConfirmAccessibilityLabel":"Bevestig verwijdering van annotatie","fontFamilyUnsupported":"{arg0} (niet ondersteund)","sign":"Teken","signed":"Ondertekend","signatures":"Handtekeningen","addSignature":"Voeg handtekening toe","clearSignature":"Wis handtekening","storeSignature":"Bewaar handtekening","pleaseSignHere":"Teken hier","signing":"Tekenen…","password":"Wachtwoord","unlock":"Ontgrendel","passwordRequired":"Wachtwoord vereist","unlockThisDocument":"Je moet dit document ontgrendelen om het te bekijken. Voer het wachtwoord in het onderstaande veld in.","incorrectPassword":"Het ingevoerde wachtwoord is onjuist. Probeer het opnieuw.","blendMode":"Overvloeimodus","normal":"Normaal","multiply":"Vermenigvuldiging","screenBlend":"Bleken","overlay":"Overlay","darken":"Donkerder","lighten":"Lichter","colorDodge":"Kleur-dodge","colorBurn":"Kleur-burn","hardLight":"Hard licht","softLight":"Zacht licht","difference":"Verschil","exclusion":"Uitsluiting","multiple":"Meerdere","linecaps-dasharray":"Lijnstijl","dasharray":"Lijnstijl","startLineCap":"Begin van lijn","strokeDashArray":"Lijnstijl","endLineCap":"Einde van lijn","lineAnnotation":"Lijn","rectangleAnnotation":"Rechthoek","ellipseAnnotation":"Ellips","polygonAnnotation":"Veelhoek","polylineAnnotation":"Polylijn","solid":"Effen","narrowDots":"Smalle stippen","wideDots":"Brede stippen","narrowDashes":"Smalle streepjes","wideDashes":"Brede streepjes","none":"Geen","square":"Vierkant","circle":"Cirkel","diamond":"Diamant","openArrow":"Open pijl","closedArrow":"Gesloten pijl","butt":"Knop","reverseOpenArrow":"Omgekeerde open pijl","reverseClosedArrow":"Omgekeerde gesloten pijl","slash":"Schuine streep","fillColor":"Vulkleur","cloudy":"Bewolkt","arrow":"Pijl","filePath":"Bestandspad","unsupportedImageFormat":"Niet-ondersteund type voor afbeeldingsannotatie: {arg0}. Gebruik een JPEG- of PNG-bestand.","noOutline":"Geen inhoudsopgave","outline":"Inhoudsopgave","imageAnnotation":"Afbeelding","selectImage":"Selecteer afbeelding","stampAnnotation":"Stempel","highlighter":"Vrije tekstmarkering","textHighlighter":"Markeerstift voor tekst","pen":"Tekening","eraser":"Gum","export":"Exporteer","useAnExistingStampDesign":"Gebruik een bestaand stempelontwerp","createStamp":"Maak stempel","stampText":"Stempeltekst","chooseColor":"Kies kleur","rejected":"Geweigerd","accepted":"Geaccepteerd","approved":"Goedgekeurd","notApproved":"Afgekeurd","draft":"Concept","final":"Laatste","completed":"Voltooid","confidential":"Vertrouwelijk","forPublicRelease":"Voor openbare publicatie","notForPublicRelease":"Niet voor openbare publicatie","forComment":"Voor opmerking","void":"Ongeldig","preliminaryResults":"Voorlopige resultaten","informationOnly":"Alleen informatie","initialHere":"Initialen hier","signHere":"Teken hier","witness":"Getuige","asIs":"Zonder meer","departmental":"Departementaal","experimental":"Experimenteel","expired":"Verlopen","sold":"Verkocht","topSecret":"Zeer geheim","revised":"Gereviseerd","custom":"Aangepast","customStamp":"Aangepaste stempel","icon":"Symbool","iconRightPointer":"Aanwijzer naar rechts","iconRightArrow":"Pijl naar rechts","iconCheck":"Vinkje","iconCircle":"Ellips","iconCross":"Kruis","iconInsert":"Voeg tekst in","iconNewParagraph":"Nieuwe alinea","iconNote":"Tekstnotitie","iconComment":"Opmerking","iconParagraph":"Alinea","iconHelp":"Help","iconStar":"Ster","iconKey":"Sleutel","documentEditor":"Documenteditor","newPage":"Nieuwe pagina","removePage":"Verwijder pagina\'s","duplicatePage":"Dupliceer","rotatePageLeft":"Roteer naar links","rotatePageRight":"Roteer naar rechts","moveBefore":"Plaats voor","moveAfter":"Plaats na","selectNone":"Selecteer niets","selectAll":"Selecteer alles","saveAs":"Bewaar als…","mergeDocument":"Importeer document","undo":"Herstel","redo":"Opnieuw","openMoveDialog":"Verplaats","move":"Verplaats","instantModifiedWarning":"Het document is gewijzigd en bevindt zich nu in de alleen-lezenmodus. Herlaad de pagina om dit op te lossen.","documentMergedHere":"Document wordt hier samengevoegd","digitalSignaturesAllValid":"Het document is digitaal ondertekend en alle handtekeningen zijn geldig.","digitalSignaturesDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening.","digitalSignaturesSignatureWarning":"Het document is digitaal ondertekend maar ten minste één handtekening vertoont problemen.","digitalSignaturesSignatureWarningDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening en ten minste één handtekening vertoont problemen.","digitalSignaturesSignatureError":"Het document is digitaal ondertekend maar ten minste één handtekening is ongeldig.","digitalSignaturesSignatureErrorDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening en ten minste één handtekening is ongeldig.","signingInProgress":"Bezig met ondertekenen","signingModalDesc":"Geeft aan dat het huidige document wordt ondertekend","discardChanges":"Verwijder wijzigingen","commentEditorLabel":"Voeg je opmerking toe…","reply":"Reageer","comment":"Opmerking","comments":"Opmerkingen","showMore":"Toon meer","showLess":"Toon minder","deleteComment":"Verwijder opmerking","deleteCommentConfirmMessage":"Weet je zeker dat je deze opmerking wilt verwijderen?","deleteCommentConfirmAccessibilityLabel":"Bevestig verwijdering van opmerking","editContent":"Wijzig content","commentOptions":"Opties voor opmerkingen","areaRedaction":"Gebiedsredactie","textRedaction":"Tekstredactie","redactionAnnotation":"Redactie","applyingRedactions":"Redacties toepassen","overlayTextPlaceholder":"Voeg overlaytekst in","outlineColor":"Contourkleur","overlayText":"Overlaytekst","repeatText":"Herhaal tekst","preview":"Voorvertoning","applyRedactions":"Pas redacties toe","markupAnnotationToolbar":"Annotatieknoppenbalk","documentViewport":"Document-viewport","redactionInProgress":"Bezig met redigeren","redactionModalDesc":"Geeft aan dat het huidige document wordt geredigeerd","commentAction":"Plaats opmerking","printProgressModalDesc":"Geeft aan dat het afdrukken van het huidige document wordt voorbereid","printProgressModal":"Bezig met afdrukken","documentEditorDesc":"Maak wijzigingen aan het huidige document","reloadDocumentDialog":"Bevestig herladen van document","reloadDocumentDialogDesc":"Venster waarin de gebruiker wordt gevraagd om te bevestigen dat het document opnieuw moet worden geladen.","signatureDialog":"Handtekening","signatureDialogDesc":"Met dit venster kun je een geschreven handtekening aan het document toevoegen. Als je geen handtekeningen hebt bewaard, kun je er een maken met de canvasweergave.","stampAnnotationTemplatesDialog":"Stempelsjablonen","stampAnnotationTemplatesDialogDesc":"Met dit venster kun je een stempel aan het document toevoegen of een aangepaste stempel met je eigen tekst maken.","selectedAnnotation":"{arg0} geselecteerd","commentThread":"Opmerkingen","selectedAnnotationWithText":"{arg0} met {arg1} als inhoud geselecteerd","signature":"Handtekening","ElectronicSignatures_SignHereTypeHint":"Typ je handtekening hierboven","ElectronicSignatures_SignHereDrawHint":"Teken hier","selectDragImage":"Selecteer of sleep afbeelding","replaceImage":"Vervang afbeelding","draw":"Teken","image":"Afbeelding","type":"Typ","saveSignature":"Bewaar handtekening","loading":"Laden","selectedItem":"{arg0}, geselecteerd.","annotationDeleted":"Annotatie is verwijderd.","newAnnotationCreated":"Nieuwe annotatie van het type {arg0} is aangemaakt.","bookmarkCreated":"Bladwijzer is aangemaakt.","bookmarkEdited":"Bladwijzer is bewerkt.","bookmarkDeleted":"Bladwijzer is verwijderd.","cancelledEditingBookmark":"Bewerking van bladwijzer is geannuleerd.","selectAFileForImage":"Selecteer een bestand voor de nieuwe afbeeldingsannotatie.","deleteAnnotationConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de annotatie kunt bevestigen of annuleren.","deleteBookmarkConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de bladwijzer kunt bevestigen of annuleren.","deleteCommentConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de opmerking kunt bevestigen of annuleren.","resize":"Pas grootte aan","resizeHandleTop":"Boven","resizeHandleBottom":"Onder","resizeHandleRight":"Rechts","resizeHandleLeft":"Links","cropCurrentPage":"Snij huidige pagina bij","cropCurrent":"Snij huidige bij","cropAllPages":"Snij alle pagina\'s bij","cropAll":"Snij alles bij","documentCrop":"Document bijsnijden","Comparison_alignButtonTouch":"Lijn uit","Comparison_selectPoint":"Selecteer punt","Comparison_documentOldTouch":"Oud","Comparison_documentNewTouch":"Nieuw","Comparison_result":"Vergelijking","UserHint_description":"Selecteer drie punten in beide documenten om ze handmatig uit te lijnen. De beste resultaten verkrijg je door punten in de hoeken van de documenten te kiezen, waarbij je ervoor zorgt dat de punten in dezelfde volgorde worden gekozen.","UserHint_dismissMessage":"Sluit","Comparison_alignButton":"Lijn documenten uit","documentComparison":"Documentvergelijking","Comparison_documentOld":"Oud document","Comparison_documentNew":"Nieuw document","Comparison_resetButton":"Herstel","UserHint_Select":"Punten selecteren","numberValidationBadFormat":"De ingevoerde waarde komt niet overeen met de structuur van het veld [{arg0}]","dateValidationBadFormat":"Ongeldige datum/tijd: controleer of de datum/tijd bestaat. Het veld [{arg0}] moet de structuur {arg1} hebben.","insertAfterPage":"Voeg in na pagina","docEditorMoveBeginningHint":"Typ \'0\' om de geselecteerde pagina(\'s) naar het begin van het document te verplaatsen.","cloudyRectangleAnnotation":"Rechthoek wolkvormig","dashedRectangleAnnotation":"Rechthoek onderbroken lijn","cloudyEllipseAnnotation":"Ellips wolkvormig","dashedEllipseAnnotation":"Ellips onderbroken lijn","cloudyPolygonAnnotation":"Veelhoek wolkvormig","dashedPolygonAnnotation":"Veelhoek onderbroken lijn","cloudAnnotation":"Wolk","rotateCounterclockwise":"Roteer linksom","rotateClockwise":"Roteer rechtsom","enterDescriptionHere":"Voer hier een beschrijving in","addOption":"Voeg optie toe","formDesignerPopoverTitle":"Eigenschappen van {formFieldType}","formFieldNameExists":"Er bestaat al een formulierveld met de naam {formFieldName}. Kies een andere naam.","styleSectionLabel":"Stijl van {formFieldType}","formFieldName":"Naam van formulierveld","defaultValue":"Standaardwaarde","multiLine":"Meerdere regels","radioButtonFormFieldNameWarning":"Als je de keuzerondjes wilt groeperen, zorg je dat ze dezelfde formulierveldnaam hebben.","advanced":"Geavanceerd","creatorName":"Naam van maker","note":"Opmerking","customData":"Aangepaste gegevens","required":"Verplicht","readOnly":"Alleen-lezen","createdAt":"Gemaakt op","updatedAt":"Bijgewerkt op","customDataErrorMessage":"Moet een JSON-serialiseerbaar object zonder opmaak zijn","borderColor":"Randkleur","borderWidth":"Randdikte","borderStyle":"Randstijl","solidBorder":"Effen","dashed":"Onderbroken","beveled":"Afgeschuind","inset":"Inzet","underline":"Onderstreept","textStyle":"Tekststijl","fontSize":"Lettergrootte","fontColor":"Letterkleur","button":"Knopveld","textField":"Tekstveld","radioField":"Keuzerondjeveld","checkboxField":"Aankruisvakveld","comboBoxField":"Combinatievakveld","listBoxField":"Keuzelijstveld","signatureField":"Handtekeningveld","formDesigner":"Formuliermaker","buttonText":"Knoptekst","notAvailable":"N.v.t.","label":"Label","value":"Waarde","cannotEditOnceCreated":"Kan na aanmaak niet worden bewerkt.","formFieldNameNotEmpty":"Naam van formulierveld mag niet leeg zijn.","mediaAnnotation":"Media-annotatie","mediaFormatNotSupported":"Deze browser ondersteunt geen ingebedde video of audio.","distanceMeasurement":"Afstand","perimeterMeasurement":"Omtrek","polygonAreaMeasurement":"Oppervlak van veelhoek","rectangularAreaMeasurement":"Oppervlak van rechthoek","ellipseAreaMeasurement":"Oppervlak van ellips","distanceMeasurementSettings":"Instellingen voor meting van afstand","perimeterMeasurementSettings":"Instellingen voor meting van omtrek","polygonAreaMeasurementSettings":"Instellingen voor meting van oppervlak van veelhoek","rectangularAreaMeasurementSettings":"Instellingen voor meting van oppervlak van rechthoek","ellipseAreaMeasurementSettings":"Instellingen voor meting van oppervlak van ellips","measurementScale":"Schaal","measurementCalibrateLength":"Kalibreer lengte","measurementPrecision":"Precisie","measurementSnapping":"Lijn automatisch uit","formCreator":"Formuliermaker","group":"Groepeer","ungroup":"Hef groepering op","bold":"Vet","italic":"Cursief","addLink":"Voeg koppeling toe","removeLink":"Verwijder koppeling","editLink":"Wijzig koppeling","anonymous":"Anoniem","saveAndClose":"Bewaar en sluit","ceToggleFontMismatchTooltip":"Zet knopinfo over ongelijk lettertype aan/uit","ceFontMismatch":"Het lettertype {arg0} font is niet beschikbaar of kan niet worden gebruikt om content in dit document te bewerken. Voor toegevoegde of gewijzigde content wordt een standaardlettertype gebruikt.","multiAnnotationsSelection":"Selecteer meerdere annotaties","linkSettingsPopoverTitle":"Koppelingsinstellingen","linkTo":"Koppeling naar","uriLink":"Website","pageLink":"Pagina","invalidPageNumber":"Voer een geldig paginanummer in.","invalidPageLink":"Voer een geldige paginakoppeling in.","linkAnnotation":"Koppeling","targetPageLink":"Paginanummer","rotation":"Rotatie","unlockDocumentDescription":"Je moet dit document ontgrendelen om het te bekijken. Voer het wachtwoord in het onderstaande veld in.","commentDialogClosed":"Open de discussie begonnen door {arg0}: \'{arg1}\'","moreComments":"Meer opmerkingen","setScale":"Stel schaal in","useCalibrationTool":"Gebruik kalibratietool","calibrateScale":"Kalibreer schaal","unit":"Eenheid","scaleAnnotationsDeleteWarning":"Als je de schaal verwijdert, worden ook de metingen verwijderd die de schaal gebruiken.","halves":"Halve inches","quarters":"Kwart inches","eighths":"Achtsten van een inch","sixteenths":"Zestienden van een inch","addTextBox":"Voeg tekstvak toe","deleteTextBlockConfirmMessage":"Weet je zeker dat je dit tekstvak wilt verwijderen?","deleteTextBlockConfirmAccessibilityLabel":"Bevestig verwijdering van tekstvak","deleteTextBlockConfirmAccessibilityDescription":"Dialoogvenster waarin de gebruiker de verwijdering van het tekstvak kan bevestigen of annuleren","linesCount":"{arg0, plural,\\none {{arg0} lijn}\\nother {{arg0} lijnen}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotatie}\\nother {{arg0} annotaties}\\n=0 {Geen annotaties}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} pagina geselecteerd}\\nother {{arg0} pagina\\\\\'s geselecteerd}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} opmerking}\\nother {{arg0} opmerkingen}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} opmerking}\\nother {{arg0} opmerkingen}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Nog {arg0} opmerking}\\nother {Nog {arg0} opmerkingen}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pl-4445d1f4760cbfc5.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pl-4445d1f4760cbfc5.js new file mode 100644 index 00000000..4c713696 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pl-4445d1f4760cbfc5.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4899],{16365:e=>{e.exports=JSON.parse('{"thumbnails":"Miniatury","pageXofY":"Strona {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Poprzednia strona","nextPage":"Następna strona","goToPage":"Przejdź do strony","gotoPageX":"Przejdź do str. {arg0}","pageX":"Strona {arg0}","pageLayout":"Układ stron","pageMode":"Tryb strony","pageModeSingle":"Pojedynczy","pageModeDouble":"Podwójny","pageModeAutomatic":"Automatycznie","pageTransition":"Przejście strony","pageTransitionContinuous":"Ciągły","pageTransitionJump":"Skocz","pageRotation":"Obrót strony","pageRotationLeft":"Obróć w lewo","pageRotationRight":"Obróć w prawo","zoomIn":"Przybliż","zoomOut":"Oddal","marqueeZoom":"Narzędzie Ramka zaznaczenia","panMode":"Tryb przesuwania","fitPage":"Dopasuj stronę","fitWidth":"Dopasuj szerokość","annotations":"Adnotacje","noAnnotations":"Brak adnotacji","bookmark":"Zakładka","bookmarks":"Zakładki","noBookmarks":"Brak zakładek","newBookmark":"Nowa zakładka","addBookmark":"Dodaj zakładkę","removeBookmark":"Usuń zakładkę","loadingBookmarks":"Ładowanie zakładek","deleteBookmarkConfirmMessage":"Czy na pewno chcesz usunąć tę zakładkę?","deleteBookmarkConfirmAccessibilityLabel":"Potwierdź usunięcie zakładki","annotation":"Adnotacja","noteAnnotation":"Uwaga","textAnnotation":"Tekst","inkAnnotation":"Rysowanie","highlightAnnotation":"Wyróżnienie tekstu","underlineAnnotation":"Podkreślenie","squiggleAnnotation":"Zawijas","strikeOutAnnotation":"Przekreślenie","print":"Drukuj","printPrepare":"Przygotowywanie dokumentu do drukowania…","searchDocument":"Szukaj w dokumencie","searchPreviousMatch":"Wstecz","searchNextMatch":"Dalej","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"Narzędzia {arg0}, menu przełączania","save":"Zachowaj","edit":"Edytuj","delete":"Usuń","close":"Zamknij","cancel":"Anuluj","ok":"OK","done":"Gotowe","clear":"Wymaż","date":"Data","time":"Czas","name":"Nazwa","color":"Kolor","black":"Czarny","white":"Biały","blue":"Niebieski","red":"Czerwony","green":"Zielony","orange":"Pomarańczowy","lightOrange":"Jasnopomarańczowy","yellow":"Żółty","lightYellow":"Jasnożółty","lightBlue":"Jasnoniebieski","lightRed":"Jasnoczerwony","lightGreen":"Jasnozielony","fuchsia":"Fuksja","purple":"Fioletowy","pink":"Różowy","mauve":"Fioletowy","lightGrey":"Jasnoszary","grey":"Szary","darkGrey":"Ciemnoszary","noColor":"Brak","transparent":"Przeświecające","darkBlue":"Ciemnoniebieski","opacity":"Przezroczystość","thickness":"Grubość","size":"Wielkość","numberInPt":"{arg0} punkt","font":"Czcionka","fonts":"Czcionki","allFonts":"Wszystkie czcionki","alignment":"Wyrównanie","alignmentLeft":"Lewa","alignmentRight":"Prawa","alignmentCenter":"Środek","verticalAlignment":"Wyrównanie w pionie","horizontalAlignment":"Wyrównanie w poziomie","top":"Góra","bottom":"Dół","deleteAnnotationConfirmMessage":"Czy na pewno chcesz usunąć tę adnotację?","deleteAnnotationConfirmAccessibilityLabel":"Potwierdź usunięcie adnotacji","fontFamilyUnsupported":"{arg0} (nieobsługiwane)","sign":"Podpis","signed":"Podpisano","signatures":"Podpisy","addSignature":"Dodaj podpis","clearSignature":"Wymaż podpis","storeSignature":"Zapisz podpis","pleaseSignHere":"Podpisz tutaj","signing":"Podpisywanie…","password":"Hasło","unlock":"Odblokuj","passwordRequired":"Wymagane hasło","unlockThisDocument":"Aby wyświetlić dokument, należy go odblokować. Wprowadź hasło w polu poniżej.","incorrectPassword":"Wprowadzone hasło jest nieprawidłowe. Spróbuj ponownie.","blendMode":"Tryb mieszania","normal":"Normalny","multiply":"Mnożenie","screenBlend":"Raster","overlay":"Nakładka","darken":"Ciemniej","lighten":"Jaśniej","colorDodge":"Rozjaśnianie","colorBurn":"Przypalenie koloru","hardLight":"Ostre światło","softLight":"Łagodne światło","difference":"Różnica","exclusion":"Wykluczenie","multiple":"Wielokrotny","linecaps-dasharray":"Styl linii","dasharray":"Styl linii","startLineCap":"Początek linii","strokeDashArray":"Styl linii","endLineCap":"Koniec linii","lineAnnotation":"Linia","rectangleAnnotation":"Prostokąt","ellipseAnnotation":"Elipsa","polygonAnnotation":"Wielokąt","polylineAnnotation":"Łamana","solid":"Ciągła","narrowDots":"Kropki, wąsko","wideDots":"Kropki, szeroko","narrowDashes":"Kreski, wąsko","wideDashes":"Kreski, szeroko","none":"Brak","square":"Kwadrat","circle":"Koło","diamond":"Romb","openArrow":"Strzałka otwarta","closedArrow":"Strzałka domknięta","butt":"Końcówka","reverseOpenArrow":"Odwrotna strzałka otwarta","reverseClosedArrow":"Odwrotna strzałka domknięta","slash":"Ukośnik","fillColor":"Kolor wypełnienia","cloudy":"Chmurka","arrow":"Strzałka","filePath":"Ścieżka pliku","unsupportedImageFormat":"Nieobsługiwany typ dla adnotacji z obrazem: {arg0}. Użyj formatu JPEG lub PNG.","noOutline":"Brak konturu","outline":"Kontur","imageAnnotation":"Obrazek","selectImage":"Wybierz obraz","stampAnnotation":"Pieczęć","highlighter":"Wyróżnianie swobodne","textHighlighter":"Zakreślenia tekstu","pen":"Rysowanie","eraser":"Gumka","export":"Eksportuj","useAnExistingStampDesign":"Użyj istniejącego projektu pieczęci","createStamp":"Utwórz pieczęć","stampText":"Tekst pieczęci","chooseColor":"Wybierz kolor","rejected":"Odrzucono","accepted":"Zaakceptowano","approved":"Zatwierdzono","notApproved":"Nie zatwierdzono","draft":"Wersja robocza","final":"Wersja finalna","completed":"Ukończono","confidential":"Poufne","forPublicRelease":"Do publikacji","notForPublicRelease":"Nie do publikacji","forComment":"Do wprowadzenia uwag","void":"Unieważniono","preliminaryResults":"Wstępne wyniki","informationOnly":"W celach informacyjnych","initialHere":"Tutaj parafka","signHere":"Podpisz tutaj","witness":"Świadek","asIs":"Zgodne","departmental":"Wydziałowe","experimental":"Eksperymentalne","expired":"Wygasłe","sold":"Sprzedane","topSecret":"Ściśle tajne","revised":"Zredagowano","custom":"Własne","customStamp":"Niestandardowa pieczęć","icon":"Ikona","iconRightPointer":"Wskaźnik w prawo","iconRightArrow":"Strzałka w prawo","iconCheck":"Znacznik wyboru","iconCircle":"Elipsa","iconCross":"Krzyżyk","iconInsert":"Wstaw tekst","iconNewParagraph":"Nowy akapit","iconNote":"Notatka tekstowa","iconComment":"Komentarz","iconParagraph":"Akapit","iconHelp":"Pomoc","iconStar":"Gwiazdka","iconKey":"Klucz","documentEditor":"Edytor dokumentów","newPage":"Nowa strona","removePage":"Usuń strony","duplicatePage":"Duplikuj","rotatePageLeft":"Obróć w lewo","rotatePageRight":"Obróć w prawo","moveBefore":"Przenieś przed","moveAfter":"Przenieś po","selectNone":"Wybierz Brak","selectAll":"Zaznacz wszystko","saveAs":"Zachowaj jako…","mergeDocument":"Importuj dokument","undo":"Cofnij","redo":"Ponów","openMoveDialog":"Przenieś","move":"Przenieś","instantModifiedWarning":"Dokument został zmodyfikowany i jest teraz w trybie tylko do odczytu. Załaduj ponownie stronę, aby to naprawić.","documentMergedHere":"Dokument zostanie scalony tutaj","digitalSignaturesAllValid":"Dokument został cyfrowo podpisany, a wszystkie podpisy są prawidłowe.","digitalSignaturesDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany.","digitalSignaturesSignatureWarning":"Dokument został cyfrowo podpisany, ale co najmniej jeden podpis ma problemy.","digitalSignaturesSignatureWarningDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany, a co najmniej jeden podpis ma problemy.","digitalSignaturesSignatureError":"Dokument został cyfrowo podpisany, ale co najmniej jeden podpis jest nieprawidłowy.","digitalSignaturesSignatureErrorDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany, a co najmniej jeden podpis jest nieprawidłowy.","signingInProgress":"Podpisywanie w toku","signingModalDesc":"Wskazuje, że trwa podpisywanie bieżącego dokumentu","discardChanges":"Odrzuć zmiany","commentEditorLabel":"Dodaj komentarz…","reply":"Odpowiedz","comment":"Komentarz","comments":"Komentarze","showMore":"Pokaż więcej","showLess":"Pokaż mniej","deleteComment":"Usuń komentarz","deleteCommentConfirmMessage":"Czy na pewno chcesz usunąć ten komentarz?","deleteCommentConfirmAccessibilityLabel":"Potwierdź usunięcie komentarza","editContent":"Edytuj zawartość","commentOptions":"Opcje komentowania","areaRedaction":"Cenzurowanie obszaru","textRedaction":"Cenzurowanie tekstu","redactionAnnotation":"Cenzurowanie","applyingRedactions":"Stosowanie cenzurowania","overlayTextPlaceholder":"Wstaw tekst nakładki","outlineColor":"Kolor konturu","overlayText":"Tekst nakładki","repeatText":"Powtarzaj tekst","preview":"Podgląd","applyRedactions":"Zastosuj cenzurowanie","markupAnnotationToolbar":"Pasek narzędzi adnotacji ze znacznikami","documentViewport":"Okienko dokumentu","redactionInProgress":"Cenzurowanie w toku","redactionModalDesc":"Wskazuje, że trwa cenzurowanie bieżącego dokumentu","commentAction":"Skomentuj","printProgressModalDesc":"Wskazuje, że trwa przygotowywanie dokumentu do druku","printProgressModal":"Drukowanie w toku","documentEditorDesc":"Dokonaj zmian w bieżącym dokumencie","reloadDocumentDialog":"Potwierdź ponowne załadowanie dokumentu","reloadDocumentDialogDesc":"Okno dialogowe monitujące użytkownika o potwierdzenie ponownego załadowania dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"To okno dialogowe umożliwia wybranie podpisu ręcznego w celu wstawienia do dokumentu. Jeśli nie masz zapisanych podpisów, możesz utworzyć podpis w widoku obszaru roboczego.","stampAnnotationTemplatesDialog":"Szablony adnotacji pędzla","stampAnnotationTemplatesDialogDesc":"To okno dialogowe umożliwia wybranie adnotacji pieczęci w celu wstawienia do dokumentu lub utworzenie niestandardowej adnotacji pieczęci z własnym tekstem.","selectedAnnotation":"Wybrano {arg0}","commentThread":"Wątek komentarzy","selectedAnnotationWithText":"Wybrano {arg0} z {arg1} jako zawartość","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Wpisz podpis powyżej","ElectronicSignatures_SignHereDrawHint":"Podpisz tutaj","selectDragImage":"Wybierz lub przeciągnij obraz","replaceImage":"Zastąp obraz","draw":"Narysuj","image":"Obraz","type":"Wpisz","saveSignature":"Zachowaj podpis","loading":"Ładowanie","selectedItem":"{arg0}, wybrane.","annotationDeleted":"Usunięto adnotację.","newAnnotationCreated":"Utworzono nową zakładkę {arg0}.","bookmarkCreated":"Utworzono zakładkę.","bookmarkEdited":"Edytowano zakładkę.","bookmarkDeleted":"Usunięto zakładkę.","cancelledEditingBookmark":"Anulowano edycję zakładki.","selectAFileForImage":"Wybierz plik dla nowej adnotacji z obrazem.","deleteAnnotationConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia adnotacji.","deleteBookmarkConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia zakładki.","deleteCommentConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia komentarza.","resize":"Zmień rozmiar","resizeHandleTop":"Góra","resizeHandleBottom":"Dół","resizeHandleRight":"Prawo","resizeHandleLeft":"Lewo","cropCurrentPage":"Przytnij bieżącą stronę","cropCurrent":"Przytnij bieżącą","cropAllPages":"Przytnij wszystkie strony","cropAll":"Przytnij wszystkie","documentCrop":"Przycinanie dokumentów","Comparison_alignButtonTouch":"Wyrównaj","Comparison_selectPoint":"Wybierz punkt","Comparison_documentOldTouch":"Stary","Comparison_documentNewTouch":"Nowy","Comparison_result":"Porównanie","UserHint_description":"Wybierz trzy punkty na obu dokumentach do wyrównania ręcznego. Aby uzyskać najlepsze wyniki, wybierz punkty w pobliżu rogów dokumentów, upewniając się, że punkty są w tej samej kolejności na obu dokumentach.","UserHint_dismissMessage":"Odrzuć","Comparison_alignButton":"Wyrównaj dokumenty","documentComparison":"Porównanie dokumentów","Comparison_documentOld":"Stary dokument","Comparison_documentNew":"Nowy dokument","Comparison_resetButton":"Wyzeruj","UserHint_Select":"Wybieranie punktów","numberValidationBadFormat":"Wprowadzona wartość nie pasuje do formatu pola [{arg0}]","dateValidationBadFormat":"Nieprawidłowa data/godzina: upewnij się, że data/godzina istnieje. Pole [{arg0}] powinno być zgodne z formatem {arg1}","insertAfterPage":"Wstaw po stronie","docEditorMoveBeginningHint":"Wpisz „0”, aby przenieść wybraną stronę lub strony na początek dokumentu.","cloudyRectangleAnnotation":"Chmurkowany prostokąt","dashedRectangleAnnotation":"Kreskowany prostokąt","cloudyEllipseAnnotation":"Chmurkowana elipsa","dashedEllipseAnnotation":"Kreskowana elipsa","cloudyPolygonAnnotation":"Chmurkowany wielokąt","dashedPolygonAnnotation":"Kreskowany wielokąt","cloudAnnotation":"Chmura","rotateCounterclockwise":"Obróć w lewo","rotateClockwise":"Obróć w prawo","enterDescriptionHere":"Wprowadź tutaj opis","addOption":"Dodaj opcję","formDesignerPopoverTitle":"Właściwości: {formFieldType}","formFieldNameExists":"Pole formularza o nazwie {formFieldName} już istnieje. Wybierz inną nazwę.","styleSectionLabel":"Styl: {formFieldType}","formFieldName":"Nazwa pola formularza","defaultValue":"Wartość domyślna","multiLine":"Multilinia","radioButtonFormFieldNameWarning":"Aby zgrupować przyciski opcji, upewnij się, że mają te same nazwy pól formularza.","advanced":"Zaawansowane","creatorName":"Nazwa twórcy","note":"Uwaga","customData":"Dane niestandardowe","required":"Wymagane","readOnly":"Tylko do odczytu","createdAt":"Utworzono","updatedAt":"Zaktualizowano","customDataErrorMessage":"Musi być zwykłym obiektem możliwym do serializacji JSON","borderColor":"Kolor obramowania","borderWidth":"Szerokość obramowania","borderStyle":"Styl obramowania","solidBorder":"Ciągła","dashed":"Kreskowana","beveled":"Fazowana","inset":"Wstawka","underline":"Podkreślenie","textStyle":"Styl tekstu","fontSize":"Rozmiar czcionki","fontColor":"Kolor czcionki","button":"Pole przycisku","textField":"Pole tekstowe","radioField":"Pole opcji","checkboxField":"Pole wyboru","comboBoxField":"Pole kombi","listBoxField":"Pole listy","signatureField":"Pole podpisu","formDesigner":"Kreator formularzy","buttonText":"Tekst przycisku","notAvailable":"ND","label":"Etykieta","value":"Wartość","cannotEditOnceCreated":"Nie można edytować po utworzeniu.","formFieldNameNotEmpty":"Nazwa pola formularza nie może być pusta.","mediaAnnotation":"Adnotacja do multimediów","mediaFormatNotSupported":"Ta przeglądarka nie obsługuje osadzonego wideo ani audio.","distanceMeasurement":"Odległość","perimeterMeasurement":"Obwód","polygonAreaMeasurement":"Pole wielokąta","rectangularAreaMeasurement":"Pole prostokąta","ellipseAreaMeasurement":"Pole elipsy","distanceMeasurementSettings":"Ustawienia pomiaru odległości","perimeterMeasurementSettings":"Ustawienia pomiaru obwodu","polygonAreaMeasurementSettings":"Ustawienia pomiaru pola wielokąta","rectangularAreaMeasurementSettings":"Ustawienia pomiaru pola prostokąta","ellipseAreaMeasurementSettings":"Ustawienia pomiaru pola elipsy","measurementScale":"Skala","measurementCalibrateLength":"Kalibracja długości","measurementPrecision":"Precyzja","measurementSnapping":"Przyciąganie","formCreator":"Kreator formularzy","group":"Grupa","ungroup":"Usuń grupowanie","bold":"Pogrubienie","italic":"Kursywa","addLink":"Dodaj łącze","removeLink":"Usuń łącze","editLink":"Edytuj łącze","anonymous":"Anonim","saveAndClose":"Zachowaj i zamknij","ceToggleFontMismatchTooltip":"Przełącz podpowiedź dotyczącą niezgodności czcionek","ceFontMismatch":"Czcionka {arg0} nie jest dostępna lub nie można jej użyć do edytowania zawartości w tym dokumencie. Dodana lub zmieniona zawartość zostanie przywrócona do czcionki domyślnej.","multiAnnotationsSelection":"Zaznacz wiele adnotacji","linkSettingsPopoverTitle":"Ustawienia łącza","linkTo":"Łącze do","uriLink":"Witryny","pageLink":"Strony","invalidPageNumber":"Wprowadź prawidłowy numer strony.","invalidPageLink":"Wprowadź prawidłowe łącze do strony.","linkAnnotation":"Łącze","targetPageLink":"Numer strony","rotation":"Obrót","unlockDocumentDescription":"Aby wyświetlić dokument, należy go odblokować. Wprowadź hasło w polu poniżej.","commentDialogClosed":"Otwórz wątek komentarzy rozpoczęty przez: {arg0}: „{arg1}”","moreComments":"Więcej komentarzy","setScale":"Ustaw skalę","useCalibrationTool":"Użyj narzędzia kalibracji","calibrateScale":"Kalibracja skali","unit":"Jednostka","scaleAnnotationsDeleteWarning":"Usunięcie skali spowoduje również usunięcie pomiarów, które używają tej skali.","halves":"Połówki cali","quarters":"Jedne czwarte cali","eighths":"Jedne ósme cali","sixteenths":"Jedne szesnaste cali","addTextBox":"Dodaj pole tekstowe","deleteTextBlockConfirmMessage":"Czy na pewno chcesz usunąć to pole tekstowe?","deleteTextBlockConfirmAccessibilityLabel":"Potwierdź usunięcie pola tekstowego","deleteTextBlockConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia pola tekstowego","linesCount":"{arg0, plural,\\none {{arg0} linia}\\nfew {{arg0} linie}\\nmany {{arg0} linii}\\nother {{arg0} linii}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} adnotacja}\\nfew {{arg0} adnotacje}\\nmany {{arg0} adnotacji}\\nother {{arg0} adnotacji}\\n=0 {Brak adnotacji}\\n}","pagesSelected":"{arg0, plural,\\none {Wybrano {arg0} stronę}\\nfew {Wybrano {arg0} strony}\\nmany {Wybrano {arg0} stron}\\nother {Wybrano {arg0} strony}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentarz}\\nfew {{arg0} komentarze}\\nmany {{arg0} komentarzy}\\nother {{arg0} komentarza}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentarz}\\nfew {{arg0} komentarze}\\nmany {{arg0} komentarzy}\\nother {{arg0} komentarza}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Jeszcze {arg0} komentarz}\\nfew {Jeszcze {arg0} komentarze}\\nmany {Jeszcze {arg0} komentarzy}\\nother {Jeszcze {arg0} komentarza}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-PT-afee4b28fc8aaf77.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-PT-afee4b28fc8aaf77.js new file mode 100644 index 00000000..9f512e56 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-PT-afee4b28fc8aaf77.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5431],{55910:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página anterior","nextPage":"Página seguinte","goToPage":"Ir para página","gotoPageX":"Ir para página {arg0}","pageX":"Página {arg0}","pageLayout":"Disposição de página","pageMode":"Modo de Páginas","pageModeSingle":"Única","pageModeDouble":"Duplo","pageModeAutomatic":"Automático","pageTransition":"Transição de Páginas","pageTransitionContinuous":"Contínua","pageTransitionJump":"Saltar","pageRotation":"Rotação da página","pageRotationLeft":"Rodar para a esquerda","pageRotationRight":"Rodar para a direita","zoomIn":"Ampliar","zoomOut":"Reduzir","marqueeZoom":"Ferramenta de marcação","panMode":"Modo de deslocação","fitPage":"Ajustar à página","fitWidth":"Ajustar à largura","annotations":"Anotações","noAnnotations":"Nenhuma anotação","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"Nenhum marcador","newBookmark":"Novo marcador","addBookmark":"Adicionar marcador","removeBookmark":"Remover marcador","loadingBookmarks":"A carregar marcadores","deleteBookmarkConfirmMessage":"Tem a certeza de que pretende apagar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirmar eliminação do marcador","annotation":"Anotação","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Desenho","highlightAnnotation":"Realce de texto","underlineAnnotation":"Sublinhado","squiggleAnnotation":"Ondulante","strikeOutAnnotation":"Rasurado","print":"Imprimir","printPrepare":"A preparar o documento para impressão…","searchDocument":"Pesquisar documento","searchPreviousMatch":"Anterior","searchNextMatch":"Seguinte","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"Ferramentas {arg0}, ativar/desativar menu","save":"Guardar","edit":"Editar","delete":"Apagar","close":"Fechar","cancel":"Cancelar","ok":"OK","done":"Feito","clear":"Limpar","date":"Data","time":"Hora","name":"Nome","color":"Cor","black":"Preto","white":"Branco","blue":"Azul","red":"Vermelho","green":"Verde","orange":"Laranja","lightOrange":"Laranja claro","yellow":"Amarelo","lightYellow":"Amarelo claro","lightBlue":"Azul claro","lightRed":"Vermelho claro","lightGreen":"Verde claro","fuchsia":"Fúcsia","purple":"Púrpura","pink":"Rosa","mauve":"Malva","lightGrey":"Cinzento claro","grey":"Cinzento","darkGrey":"Cinzento escuro","noColor":"Nenhum","transparent":"Transparente","darkBlue":"Azul escuro","opacity":"Opacidade","thickness":"Espessura","size":"Tamanho","numberInPt":"{arg0} pt","font":"Tipo de letra","fonts":"Tipos de letra","allFonts":"Todos os tipos de letra","alignment":"Alinhamento","alignmentLeft":"Esquerda","alignmentRight":"Direita","alignmentCenter":"Centro","verticalAlignment":"Alinhamento vertical","horizontalAlignment":"Alinhamento horizontal","top":"Topo","bottom":"Fundo","deleteAnnotationConfirmMessage":"Tem a certeza de que pretende apagar esta anotação?","deleteAnnotationConfirmAccessibilityLabel":"Confirmar eliminação da anotação","fontFamilyUnsupported":"{arg0} (não suportado)","sign":"Assinar","signed":"Assinado","signatures":"Assinaturas","addSignature":"Adicionar assinatura","clearSignature":"Limpar assinatura","storeSignature":"Armazenar assinatura","pleaseSignHere":"Assine aqui","signing":"A assinar…","password":"Palavra-passe","unlock":"Desbloquear","passwordRequired":"Palavra-passe obrigatória","unlockThisDocument":"Tem de desproteger este documento para poder visualizá-lo. Introduza a palavra-passe no campo em baixo.","incorrectPassword":"A palavra-passe introduzida não está correta. Tente novamente.","blendMode":"Modo de mistura","normal":"Normal","multiply":"Multiplicação","screenBlend":"Tela","overlay":"Sobreposição","darken":"Escurecer","lighten":"Iluminar","colorDodge":"Subexposição de cores","colorBurn":"Sobre-exposição de cores","hardLight":"Luz direta","softLight":"Luz indireta","difference":"Diferença","exclusion":"Exclusão","multiple":"Múltiplo","linecaps-dasharray":"Estilo de linha","dasharray":"Estilo de linha","startLineCap":"Início de linha","strokeDashArray":"Estilo de linha","endLineCap":"Fim de linha","lineAnnotation":"Linha","rectangleAnnotation":"Rectângulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Polilinha","solid":"Sólida","narrowDots":"Pontos finos","wideDots":"Pontos espessos","narrowDashes":"Traços finos","wideDashes":"Traços espessos","none":"Nenhum","square":"Quadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Seta aberta","closedArrow":"Seta fechada","butt":"Puxador","reverseOpenArrow":"Seta aberta invertida","reverseClosedArrow":"Seta fechada invertida","slash":"Barra","fillColor":"Cor de preenchimento","cloudy":"Nublado","arrow":"Seta","filePath":"Caminho do ficheiro","unsupportedImageFormat":"Tipo não suportado para anotação de imagem: {arg0}. Use um JPEG ou PNG.","noOutline":"Sem contorno","outline":"Contorno","imageAnnotation":"Imagem","selectImage":"Selecionar imagem","stampAnnotation":"Selo","highlighter":"Realce livre","textHighlighter":"Marcador de texto","pen":"Desenho","eraser":"Borracha","export":"Exportar","useAnExistingStampDesign":"Usar um design de carimbo existente","createStamp":"Criar selo","stampText":"Texto de selo","chooseColor":"Seleccionar cor","rejected":"Rejeitado","accepted":"Aprovado","approved":"Aprovado","notApproved":"Não aprovado","draft":"Rascunho","final":"Final","completed":"Concluído","confidential":"Confidencial","forPublicRelease":"Para revelação pública","notForPublicRelease":"Não para revelação pública","forComment":"Para comentário","void":"Nulo","preliminaryResults":"Resultados preliminares","informationOnly":"Informação apenas","initialHere":"Iniciais aqui","signHere":"Assinar aqui","witness":"Testemunho","asIs":"Como está","departmental":"Departmental","experimental":"Experimental","expired":"Expirado","sold":"Vendido","topSecret":"Ultra-secreto","revised":"Revisto","custom":"Personalizado","customStamp":"Carimbo personalizado","icon":"Ícone","iconRightPointer":"Ponteiro para a direita","iconRightArrow":"Seta para a direita","iconCheck":"Visto","iconCircle":"Elipse","iconCross":"Cruz","iconInsert":"Inserir texto","iconNewParagraph":"Novo parágrafo","iconNote":"Nota de texto","iconComment":"Comentário","iconParagraph":"Parágrafo","iconHelp":"Ajuda","iconStar":"Estrela","iconKey":"Chave","documentEditor":"Editor de documentos","newPage":"Nova página","removePage":"Apagar páginas","duplicatePage":"Duplicar","rotatePageLeft":"Rodar para a esquerda","rotatePageRight":"Rodar para a direita","moveBefore":"Mover antes","moveAfter":"Mover depois","selectNone":"Não selecionar nada","selectAll":"Selecionar tudo","saveAs":"Guardar como…","mergeDocument":"Importar documento","undo":"Desfazer","redo":"Refazer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"O documento foi modificado e agora está em modo só de leitura. Recarregue a página para corrigir esta situação.","documentMergedHere":"O documentos será combinado aqui","digitalSignaturesAllValid":"O documento foi assinado digitalmente e todas as assinaturas são válidas.","digitalSignaturesDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura.","digitalSignaturesSignatureWarning":"O documento foi assinado digitalmente, mas pelo menos uma assinatura tem problemas.","digitalSignaturesSignatureWarningDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura e pelo menos uma assinatura tem problemas.","digitalSignaturesSignatureError":"O documento foi assinado digitalmente, mas pelo menos uma assinatura é inválida.","digitalSignaturesSignatureErrorDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura e pelo menos uma assinatura é inválida.","signingInProgress":"Assinatura em curso","signingModalDesc":"Indica que o documento atual está a ser assinado","discardChanges":"Eliminar alterações","commentEditorLabel":"Adicione o seu comentário…","reply":"Responder","comment":"Comentário","comments":"Comentários","showMore":"Mostrar mais","showLess":"Mostrar menos","deleteComment":"Apagar comentário","deleteCommentConfirmMessage":"Tem a certeza de que pretende apagar este comentário?","deleteCommentConfirmAccessibilityLabel":"Confirmar eliminação do comentário","editContent":"Editar conteúdo","commentOptions":"Opções de comentário","areaRedaction":"Redação de área","textRedaction":"Redação de texto","redactionAnnotation":"Redação","applyingRedactions":"A aplicar redações","overlayTextPlaceholder":"Inserir texto de sobreposição","outlineColor":"Cor do contorno","overlayText":"Texto de sobreposição","repeatText":"Repetir texto","preview":"Pré-visualizar","applyRedactions":"Aplicar redações","markupAnnotationToolbar":"Barra de ferramentas de anotações de marcação","documentViewport":"Perspetiva do documento","redactionInProgress":"Redação em curso","redactionModalDesc":"Indica que o documento atual está a ser redigido","commentAction":"Comentar","printProgressModalDesc":"Indica que um documento está a ser preparado para impressão","printProgressModal":"Impressão em curso","documentEditorDesc":"Fazer alterações ao documento atual","reloadDocumentDialog":"Confirmar recarregamento do documento","reloadDocumentDialogDesc":"Caixa de diálogo a solicitar ao utilizador que confirme o recarregamento do documento.","signatureDialog":"Assinatura","signatureDialogDesc":"Esta caixa de diálogo permite-lhe selecionar uma assinatura de tinta para inserir no documento. Se não tiver assinaturas armazenadas, pode criar uma usando a vista de tela.","stampAnnotationTemplatesDialog":"Modelos de anotação de carimbo","stampAnnotationTemplatesDialogDesc":"Esta caixa de diálogo permite-lhe selecionar uma anotação de carimbo para inserir no documento ou criar uma anotação de carimbo personalizada com o seu próprio texto.","selectedAnnotation":"Selecionou {arg0}","commentThread":"Tópico de comentários","selectedAnnotationWithText":"Selecionou {arg0} com {arg1} como conteúdo","signature":"Assinatura","ElectronicSignatures_SignHereTypeHint":"Digite a sua assinatura acima","ElectronicSignatures_SignHereDrawHint":"Assinar aqui","selectDragImage":"Selecionar ou arrastar imagem","replaceImage":"Substituir imagem","draw":"Desenho","image":"Imagem","type":"Digitar","saveSignature":"Guardar assinatura","loading":"A carregar","selectedItem":"{arg0}, selecionado.","annotationDeleted":"Anotação apagada.","newAnnotationCreated":"Nova anotação {arg0} criada.","bookmarkCreated":"Marcador criado.","bookmarkEdited":"Marcador editado.","bookmarkDeleted":"Marcado apagado.","cancelledEditingBookmark":"Edição de marcador cancelada.","selectAFileForImage":"Selecione um ficheiro para a nova anotação de imagem.","deleteAnnotationConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação da anotação.","deleteBookmarkConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação do marcador.","deleteCommentConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação do comentário.","resize":"Redimensionar","resizeHandleTop":"Topo","resizeHandleBottom":"Fundo","resizeHandleRight":"Direita","resizeHandleLeft":"Esquerda","cropCurrentPage":"Recortar página atual","cropCurrent":"Recortar atual","cropAllPages":"Recortar todas as páginas","cropAll":"Recortar tudo","documentCrop":"Recorte do documento","Comparison_alignButtonTouch":"Alinhar","Comparison_selectPoint":"Selecionar ponto","Comparison_documentOldTouch":"Antigo","Comparison_documentNewTouch":"Novo","Comparison_result":"Comparação","UserHint_description":"Selecione três pontos em ambos os documentos para um alinhamento manual. Para obter os melhores resultados, escolha pontos perto dos cantos dos documentos, assegurando que os pontos estão na mesma ordem em ambos os documentos.","UserHint_dismissMessage":"Ignorar","Comparison_alignButton":"Alinhar documentos","documentComparison":"Comparação de documentos","Comparison_documentOld":"Documento antigo","Comparison_documentNew":"Novo documento","Comparison_resetButton":"Repor","UserHint_Select":"A selecionar pontos","numberValidationBadFormat":"O valor introduzido não corresponde ao formato do campo [{arg0}].","dateValidationBadFormat":"Data/hora inválida: certifique-se de que a data/hora existe. O campo [{arg0}] deve corresponder ao formato {arg1}.","insertAfterPage":"Inserir após a página","docEditorMoveBeginningHint":"Digite «0» para mover a(s) página(s) selecionada(s) para o começo do documento.","cloudyRectangleAnnotation":"Retângulo na nuvem","dashedRectangleAnnotation":"Retângulo tracejado","cloudyEllipseAnnotation":"Elipse na nuvem","dashedEllipseAnnotation":"Elipse tracejada","cloudyPolygonAnnotation":"Polígono na nuvem","dashedPolygonAnnotation":"Polígono tracejado","cloudAnnotation":"Nuvem","rotateCounterclockwise":"Rodar no sentido anti-horário","rotateClockwise":"Rodar no sentido horário","enterDescriptionHere":"Inserir aqui a descrição","addOption":"Adicionar opção","formDesignerPopoverTitle":"Propriedades do {formFieldType}","formFieldNameExists":"Já existe um campo de formulário com o nome {formFieldName}. Escolha um nome diferente.","styleSectionLabel":"Estilo do {formFieldType}","formFieldName":"Nome do campo do formulário","defaultValue":"Valor predefinido","multiLine":"Multilinha","radioButtonFormFieldNameWarning":"Para agrupar os botões de rádio, certifique-se de que têm os mesmos nomes de campo de formulário.","advanced":"Avançado","creatorName":"Nome do criador","note":"Nota","customData":"Dados personalizados","required":"Exigido","readOnly":"Apenas para leitura","createdAt":"Criado em","updatedAt":"Atualizado em","customDataErrorMessage":"Tem de ser um objeto serializável em JSON simples","borderColor":"Cor da margem","borderWidth":"Largura da margem","borderStyle":"Estilo da margem","solidBorder":"Sólido","dashed":"Tracejado","beveled":"Biselado","inset":"Inserção","underline":"Sublinhado","textStyle":"Estilo do texto","fontSize":"Dimensão da letra","fontColor":"Cor da letra","button":"Campo de botão","textField":"Campo de texto","radioField":"Campo de rádio","checkboxField":"Campo de caixa de verificação","comboBoxField":"Campo de caixa combinada","listBoxField":"Campo de caixa de lista","signatureField":"Campo de assinatura","formDesigner":"Criador de formulários","buttonText":"Texto do botão","notAvailable":"N/A","label":"Rótulo","value":"Valor","cannotEditOnceCreated":"Não pode ser editado depois de criado.","formFieldNameNotEmpty":"O nome do campo do formulário não pode ser deixado vazio.","mediaAnnotation":"Anotação multimédia","mediaFormatNotSupported":"Este navegador não é compatível com vídeo ou áudio integrado.","distanceMeasurement":"Distância","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Área poligonal","rectangularAreaMeasurement":"Área retangular","ellipseAreaMeasurement":"Área elíptica","distanceMeasurementSettings":"Definições de medição de distância","perimeterMeasurementSettings":"Definições de medição de perímetro","polygonAreaMeasurementSettings":"Definições de medição de área do polígono","rectangularAreaMeasurementSettings":"Definições de medição de área do retângulo","ellipseAreaMeasurementSettings":"Definições de medição de área da elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar comprimento","measurementPrecision":"Precisão","measurementSnapping":"Alinhamento","formCreator":"Criador de formulários","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrito","italic":"Itálico","addLink":"Adicionar link","removeLink":"Remover link","editLink":"Editar link","anonymous":"Anónimo","saveAndClose":"Guardar e fechar","ceToggleFontMismatchTooltip":"Ativar descrição de tipo de letra não correspondido","ceFontMismatch":"O tipo de letra {arg0} não está disponível ou não pode ser usado para editar conteúdo neste documento. Qualquer conteúdo adicionado ou alterado utilizará um tipo de letra predefinido.","multiAnnotationsSelection":"Selecionar várias anotações","linkSettingsPopoverTitle":"Definições do link","linkTo":"Link para","uriLink":"Website","pageLink":"Página","invalidPageNumber":"Introduza um número de página válido.","invalidPageLink":"Introduza um link de página válido.","linkAnnotation":"Hiperligação","targetPageLink":"Número da página","rotation":"Rotação","unlockDocumentDescription":"Tem de desbloquear este documento para o visualizar. Digite a palavra-passe no campo abaixo.","commentDialogClosed":"Abrir tópico de comentários iniciado por {arg0}: “{arg1}”","moreComments":"Mais comentários","setScale":"Definir escala","useCalibrationTool":"Usar ferramenta de calibração","calibrateScale":"Escala de calibração","unit":"Unidade","scaleAnnotationsDeleteWarning":"Apagar a escala também apaga as medições com a escala.","halves":"Meias polegadas","quarters":"Quartos de polegada","eighths":"Oitavos de polegada","sixteenths":"Dezasseis avos de polegada","addTextBox":"Adicionar caixa de texto","deleteTextBlockConfirmMessage":"Tem a certeza de que pretende apagar esta caixa de texto?","deleteTextBlockConfirmAccessibilityLabel":"Confirmar eliminação da caixa de texto","deleteTextBlockConfirmAccessibilityDescription":"Caixa de diálogo que permite que o utilizador confirme ou cancele a eliminação da caixa de texto.","linesCount":"{arg0, plural,\\none {{arg0} linha}\\nother {{arg0} linhas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotação}\\nother {{arg0} anotações}\\n=0 {Nenhuma anotação}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} página selecionada}\\nother {{arg0} páginas selecionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Mais {arg0} comentário}\\nother {Mais {arg0} comentários}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-f364c942fabb6c5a.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-f364c942fabb6c5a.js new file mode 100644 index 00000000..c636759c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-pt-f364c942fabb6c5a.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[517],{7638:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página Anterior","nextPage":"Página Seguinte","goToPage":"Ir à Página","gotoPageX":"Ir à Página {arg0}","pageX":"Página {arg0}","pageLayout":"Layout de Páginas","pageMode":"Modo de Páginas","pageModeSingle":"Individual","pageModeDouble":"Duas","pageModeAutomatic":"Automático","pageTransition":"Transição de Páginas","pageTransitionContinuous":"Contínua","pageTransitionJump":"Saltar","pageRotation":"Rotação da Página","pageRotationLeft":"Girar à Esquerda","pageRotationRight":"Girar à Direita","zoomIn":"Ampliar","zoomOut":"Reduzir","marqueeZoom":"Ferramenta de Letreiro","panMode":"Modo de Movimento","fitPage":"Ajustar à Página","fitWidth":"Ajustar à Largura","annotations":"Anotações","noAnnotations":"Sem Anotações","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"Sem Marcadores","newBookmark":"Novo Marcador","addBookmark":"Adicionar Marcador","removeBookmark":"Remover Marcador","loadingBookmarks":"Carregando Marcadores","deleteBookmarkConfirmMessage":"Tem certeza de que deseja apagar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirme o apagamento do marcador","annotation":"Anotação","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Desenho","highlightAnnotation":"Destaque de Texto","underlineAnnotation":"Sublinhado","squiggleAnnotation":"Ondulado","strikeOutAnnotation":"Tachado","print":"Imprimir","printPrepare":"Preparando documento para impressão…","searchDocument":"Buscar no Documento","searchPreviousMatch":"Anterior","searchNextMatch":"Seguinte","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"ferramentas de {arg0}, ative ou desative o menu","save":"Salvar","edit":"Editar","delete":"Apagar","close":"Fechar","cancel":"Cancelar","ok":"OK","done":"OK","clear":"Limpar","date":"Data","time":"Hora","name":"Nome","color":"Cor","black":"Preto","white":"Branco","blue":"Azul","red":"Vermelho","green":"Verde","orange":"Laranja","lightOrange":"Laranja-claro","yellow":"Amarelo","lightYellow":"Amarelo-claro","lightBlue":"Azul-claro","lightRed":"Vermelho-claro","lightGreen":"Verde-claro","fuchsia":"Fúchsia","purple":"Roxo","pink":"Rosa","mauve":"Malva","lightGrey":"Cinza-claro","grey":"Cinza","darkGrey":"Cinza-escuro","noColor":"Nenhum","transparent":"Transparente","darkBlue":"Azul-escuro","opacity":"Opacidade","thickness":"Espessura","size":"Tamanho","numberInPt":"{arg0} pt","font":"Fonte","fonts":"Fontes","allFonts":"Todas as Fontes","alignment":"Alinhamento","alignmentLeft":"Esquerda","alignmentRight":"Direita","alignmentCenter":"Centro","verticalAlignment":"Alinhamento Vertical","horizontalAlignment":"Alinhamento Horizontal","top":"Superior","bottom":"Inferior","deleteAnnotationConfirmMessage":"Tem certeza de que deseja apagar esta anotação?","deleteAnnotationConfirmAccessibilityLabel":"Confirme o apagamento da anotação","fontFamilyUnsupported":"{arg0} (incompatível)","sign":"Assinar","signed":"Assinado","signatures":"Assinaturas","addSignature":"Adicionar Assinatura","clearSignature":"Limpar Assinatura","storeSignature":"Armazenar Assinatura","pleaseSignHere":"Assine aqui","signing":"Assinando…","password":"Senha","unlock":"Desbloquear","passwordRequired":"Senha Necessária","unlockThisDocument":"Você precisa desbloquear este documento para visualizá-lo. Digite a senha no campo abaixo.","incorrectPassword":"A senha digitada não está correta. Tente novamente.","blendMode":"Modo de Mesclagem","normal":"Normal","multiply":"Multiplicar","screenBlend":"Tela","overlay":"Sobrepor","darken":"Escurecer","lighten":"Clarear","colorDodge":"Subexposição de Cores","colorBurn":"Superexposição de Cores","hardLight":"Luz Direta","softLight":"Luz Indireta","difference":"Diferença","exclusion":"Exclusão","multiple":"Múltiplo","linecaps-dasharray":"Estilo da Linha","dasharray":"Estilo da Linha","startLineCap":"Início da Linha","strokeDashArray":"Estilo da Linha","endLineCap":"Final da Linha","lineAnnotation":"Linha","rectangleAnnotation":"Retângulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Linha Poligonal","solid":"Sólido","narrowDots":"Pontos Estreitos","wideDots":"Pontos Largos","narrowDashes":"Traços Estreitos","wideDashes":"Traços Largos","none":"Nenhum","square":"Quadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Seta Aberta","closedArrow":"Seta Fechada","butt":"Ponta","reverseOpenArrow":"Seta Aberta Invertida","reverseClosedArrow":"Seta Fechada Invertida","slash":"Barra","fillColor":"Cor de Preenchimento","cloudy":"Nuvem","arrow":"Seta","filePath":"Caminho do Arquivo","unsupportedImageFormat":"Tipo incompatível para anotação de imagem: {arg0}. Use JPEG ou PNG.","noOutline":"Sem Resumo","outline":"Resumo","imageAnnotation":"Imagem","selectImage":"Selecionar Imagem","stampAnnotation":"Carimbo","highlighter":"Destaque Livre","textHighlighter":"Marca-texto","pen":"Desenho","eraser":"Borracha","export":"Exportar","useAnExistingStampDesign":"Usar um design de carimbo existente","createStamp":"Criar Carimbo","stampText":"Texto do Carimbo","chooseColor":"Escolher Cor","rejected":"Rejeitado","accepted":"Aceito","approved":"Aprovado","notApproved":"Não Aprovado","draft":"Rascunho","final":"Final","completed":"Completo","confidential":"Confidencial","forPublicRelease":"Comunicado Público","notForPublicRelease":"Não Divulgar","forComment":"Para Comentar","void":"Anular","preliminaryResults":"Resultados Preliminares","informationOnly":"Informativo","initialHere":"Iniciais Aqui","signHere":"Assine Aqui","witness":"Testemunha","asIs":"Como Está","departmental":"Departmental","experimental":"Experimental","expired":"Expirado","sold":"Vendido","topSecret":"Supersecreto","revised":"Revisado","custom":"Personalizar","customStamp":"Carimbo Personalizado","icon":"Ícone","iconRightPointer":"Indicador Direito","iconRightArrow":"Seta Direita","iconCheck":"Marca de Seleção","iconCircle":"Elipse","iconCross":"Xis","iconInsert":"Inserir Texto","iconNewParagraph":"Novo Parágrafo","iconNote":"Nota de Texto","iconComment":"Comentário","iconParagraph":"Parágrafo","iconHelp":"Ajuda","iconStar":"Estrela","iconKey":"Chave","documentEditor":"Editor de Documentos","newPage":"Nova Página","removePage":"Apagar Páginas","duplicatePage":"Duplicar","rotatePageLeft":"Girar à Esquerda","rotatePageRight":"Girar à Direita","moveBefore":"Mover Antes","moveAfter":"Mover Depois","selectNone":"Desmarcar Tudo","selectAll":"Selecionar Tudo","saveAs":"Salvar como…","mergeDocument":"Importar Documento","undo":"Desfazer","redo":"Refazer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"O documento foi modificado e está no modo somente leitura agora. Recarregue a página para corrigir isso.","documentMergedHere":"O documento será combinado aqui","digitalSignaturesAllValid":"O documento foi assinado digitalmente e todas as assinaturas são válidas.","digitalSignaturesDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado.","digitalSignaturesSignatureWarning":"O documento foi assinado digitalmente, mas ao menos uma das assinaturas tem problemas.","digitalSignaturesSignatureWarningDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado e ao menos uma das assinaturas tem problemas.","digitalSignaturesSignatureError":"O documento foi assinado digitalmente, mas ao menos uma das assinaturas é inválida.","digitalSignaturesSignatureErrorDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado e ao menos uma das assinaturas é inválida.","signingInProgress":"Assinatura em andamento","signingModalDesc":"Indica que o documento atual está sendo assinado","discardChanges":"Descartar Alterações","commentEditorLabel":"Adicione um comentário…","reply":"Responder","comment":"Comentário","comments":"Comentários","showMore":"Mostrar mais","showLess":"Mostrar menos","deleteComment":"Apagar Comentário","deleteCommentConfirmMessage":"Tem certeza de que deseja apagar este comentário?","deleteCommentConfirmAccessibilityLabel":"Confirme o apagamento do comentário","editContent":"Editar Conteúdo","commentOptions":"Opções de Comentário","areaRedaction":"Redação de Área","textRedaction":"Redação de Texto","redactionAnnotation":"Redação","applyingRedactions":"Aplicando redações","overlayTextPlaceholder":"Inserir texto sobreposto","outlineColor":"Cor de Controno","overlayText":"Texto Sobreposto","repeatText":"Repetir Texto","preview":"Pré-visualizar","applyRedactions":"Aplicar Redações","markupAnnotationToolbar":"Barra de anotações da marcação","documentViewport":"Visor do documento","redactionInProgress":"Redação em andamento","redactionModalDesc":"Indica que o documento atual está sendo redigido","commentAction":"Comentar","printProgressModalDesc":"Indica que um documento está sendo preparado para impressão","printProgressModal":"Impressão em andamento","documentEditorDesc":"Faça alterações ao documento atual","reloadDocumentDialog":"Confirme o Recarregamento do Documento","reloadDocumentDialogDesc":"Diálogo que pede ao usuário para confirmar o recarregamento do documento.","signatureDialog":"Assinatura","signatureDialogDesc":"Este diálogo permite que você selecione uma assinatura para inserir no documento. Se não houver assinaturas armazenadas, você pode usar uma área na tela para criar uma.","stampAnnotationTemplatesDialog":"Modelos de Anotação de Carimbo","stampAnnotationTemplatesDialogDesc":"Este diálogo permite que você selecione uma anotação de carimbo para inserir no documento ou crie uma anotação de carimbo personalizada com o seu próprio texto.","selectedAnnotation":"{arg0} selecionada","commentThread":"Conversa do comentário","selectedAnnotationWithText":"{arg0} selecionada com {arg1} como conteúdo","signature":"Assinatura","ElectronicSignatures_SignHereTypeHint":"Digite a Assinatura Acima","ElectronicSignatures_SignHereDrawHint":"Assine Aqui","selectDragImage":"Selecionar ou Arrastar Imagem","replaceImage":"Substituir Imagem","draw":"Desenhar","image":"Imagem","type":"Digitar","saveSignature":"Salvar Assinatura","loading":"Carregando","selectedItem":"{arg0}, selecionado.","annotationDeleted":"Anotação apagada.","newAnnotationCreated":"Nova anotação de {arg0} criada.","bookmarkCreated":"Marcador criado.","bookmarkEdited":"Marcador editado.","bookmarkDeleted":"Marcador apagado.","cancelledEditingBookmark":"Edição de marcador cancelada.","selectAFileForImage":"Selecione um arquivo para a nova anotação de imagem.","deleteAnnotationConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento da anotação.","deleteBookmarkConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento do marcador.","deleteCommentConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento do comentário.","resize":"Redimensionar","resizeHandleTop":"Superior","resizeHandleBottom":"Inferior","resizeHandleRight":"Direita","resizeHandleLeft":"Esquerda","cropCurrentPage":"Recortar Página Atual","cropCurrent":"Recortar Atual","cropAllPages":"Recortar Todas as Páginas","cropAll":"Recortar Tudo","documentCrop":"Recorte de Documentos","Comparison_alignButtonTouch":"Alinhar","Comparison_selectPoint":"Selecionar Ponto","Comparison_documentOldTouch":"Antigo","Comparison_documentNewTouch":"Novo","Comparison_result":"Comparação","UserHint_description":"Selecione três pontos em ambos os documentos para alinhamento manual. Para ter resultados melhores, escolha pontos perto dos cantos do documento, garantindo que eles estejam na mesma ordem nos dois documentos.","UserHint_dismissMessage":"Fechar","Comparison_alignButton":"Alinhar Documentos","documentComparison":"Comparação de Documentos","Comparison_documentOld":"Documento Antigo","Comparison_documentNew":"Documento Novo","Comparison_resetButton":"Redefinir","UserHint_Select":"Seleção de Pontos","numberValidationBadFormat":"O valor digitado não corresponde ao formato do campo [{arg0}]","dateValidationBadFormat":"Data/hora inválida: certifique-se de que a data/hora exista. O formato do campo [{arg0}] deve ser {arg1}.","insertAfterPage":"Inserir depois da página","docEditorMoveBeginningHint":"Digite “0” para mover uma ou mais páginas selecionadas para o início do documento.","cloudyRectangleAnnotation":"Retângulo em Nuvem","dashedRectangleAnnotation":"Retângulo Tracejado","cloudyEllipseAnnotation":"Elipse em Nuvem","dashedEllipseAnnotation":"Elipse Tracejada","cloudyPolygonAnnotation":"Polígono em Nuvem","dashedPolygonAnnotation":"Polígono Tracejado","cloudAnnotation":"Nuvem","rotateCounterclockwise":"Girar em sentido anti-horário","rotateClockwise":"Girar em sentido horário","enterDescriptionHere":"Digite aqui a descrição","addOption":"Adicionar opção","formDesignerPopoverTitle":"Propriedades do {formFieldType}","formFieldNameExists":"Já existe um campo de formulário chamado {formFieldName}. Escolha outro nome.","styleSectionLabel":"Estilo do {formFieldType}","formFieldName":"Nome do Campo de Formulário","defaultValue":"Valor Padrão","multiLine":"Multilinha","radioButtonFormFieldNameWarning":"Para agrupar os botões circulares, seus nomes de campo de formulário devem ser iguais.","advanced":"Avançado","creatorName":"Nome do Criador","note":"Nota","customData":"Dados Personalizados","required":"Obrigatório","readOnly":"Somente Leitura","createdAt":"Criado em","updatedAt":"Atualizado em","customDataErrorMessage":"Deve ser um objeto serializável JSON simples","borderColor":"Cor da Borda","borderWidth":"Espessura da Borda","borderStyle":"Estilo da Borda","solidBorder":"Sólido","dashed":"Tracejado","beveled":"Chanfrado","inset":"Inserido","underline":"Sublinhado","textStyle":"Estilo do Texto","fontSize":"Tamanho da Fonte","fontColor":"Cor da Fonte","button":"Campo de Botão","textField":"Campo de Texto","radioField":"Campo Circular","checkboxField":"Campo de Caixa de Seleção","comboBoxField":"Campo de Caixas Combinadas","listBoxField":"Campo de Caixa de Lista","signatureField":"Campo de Assinatura","formDesigner":"Criador de Formulário","buttonText":"Texto do Botão","notAvailable":"N/A","label":"Etiqueta","value":"Valor","cannotEditOnceCreated":"Não pode ser editado depois de criado.","formFieldNameNotEmpty":"O nome do campo de formulário não pode estar em branco.","mediaAnnotation":"Anotação de Mídia","mediaFormatNotSupported":"Este navegador não é compatível com vídeo ou áudio integrado.","distanceMeasurement":"Distância","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Área do Polígono","rectangularAreaMeasurement":"Área do Retângulo","ellipseAreaMeasurement":"Área da Elipse","distanceMeasurementSettings":"Ajustes de Medição de Distância","perimeterMeasurementSettings":"Ajustes de Medição de Perímetro","polygonAreaMeasurementSettings":"Ajustes de Medição de Área do Polígono","rectangularAreaMeasurementSettings":"Ajustes de Medição de Área do Retângulo","ellipseAreaMeasurementSettings":"Ajustes de Medição de Área da Elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar Comprimento","measurementPrecision":"Precisão","measurementSnapping":"Alinhamento","formCreator":"Criador de Formulário","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrito","italic":"Itálico","addLink":"Adicionar Link","removeLink":"Remover Link","editLink":"Editar Link","anonymous":"Anônimo","saveAndClose":"Salvar e Fechar","ceToggleFontMismatchTooltip":"Ativar dica de fonte não correspondida","ceFontMismatch":"A fonte {arg0} não está disponível ou não pode ser usada para editar conteúdo neste documento. Qualquer conteúdo adicionado ou alterado usará uma fonte padrão.","multiAnnotationsSelection":"Selecione Diversas Anotações","linkSettingsPopoverTitle":"Ajustes do Link","linkTo":"Link para","uriLink":"Site","pageLink":"Página","invalidPageNumber":"Digite um número de página válido.","invalidPageLink":"Digite um link de página válido.","linkAnnotation":"Link","targetPageLink":"Número da Página","rotation":"Rotação","unlockDocumentDescription":"É preciso desbloquear este documento para visualizá‑lo. Digite a senha no campo abaixo.","commentDialogClosed":"Abrir conversa de comentários iniciada por {arg0}: “{arg1}”","moreComments":"Mais comentários","setScale":"Definir Escala","useCalibrationTool":"Usar Ferramenta de Calibragem","calibrateScale":"Calibrar Escala","unit":"Unidade","scaleAnnotationsDeleteWarning":"Se você apagar a escala, as medições que a usam também serão apagadas.","halves":"Meia Polegada","quarters":"Um Quarto de Polegada","eighths":"Um Oitavo de Polegada","sixteenths":"Um Dezesseis Avos de Polegada","addTextBox":"Adicionar Caixa de Texto","deleteTextBlockConfirmMessage":"Tem certeza de que deseja apagar esta caixa de texto?","deleteTextBlockConfirmAccessibilityLabel":"Confirme o apagamento da caixa de texto","deleteTextBlockConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento da caixa de texto","linesCount":"{arg0, plural,\\none {{arg0} Linha}\\nother {{arg0} Linhas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotação}\\nother {{arg0} anotações}\\n=0 {Nenhuma anotação}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Página Selecionada}\\nother {{arg0} Páginas Selecionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comentário}\\nother {{arg0} Comentários}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Mais {arg0} comentário}\\nother {Mais {arg0} comentários}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ru-ec9f2b5cbbde6b12.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ru-ec9f2b5cbbde6b12.js new file mode 100644 index 00000000..99e7c196 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-ru-ec9f2b5cbbde6b12.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8057],{21652:e=>{e.exports=JSON.parse('{"thumbnails":"Эскизы","pageXofY":"Страница {arg0} из {arg1}","XofY":"{arg0} из {arg1}","prevPage":"Предыдущая страница","nextPage":"Следующая страница","goToPage":"Перейти к странице","gotoPageX":"Перейти к странице {arg0}","pageX":"Страница {arg0}","pageLayout":"Макет страницы","pageMode":"Просмотр страниц","pageModeSingle":"Одна страница","pageModeDouble":"Две страницы","pageModeAutomatic":"Авто","pageTransition":"Переход","pageTransitionContinuous":"Непрерывно","pageTransitionJump":"По одной странице","pageRotation":"Поворот страницы","pageRotationLeft":"Повернуть влево","pageRotationRight":"Повернуть вправо","zoomIn":"Увеличить масштаб","zoomOut":"Уменьшить масштаб","marqueeZoom":"Инструмент «Увеличить выделенное»","panMode":"Панорамирование","fitPage":"По размеру страницы","fitWidth":"По ширине","annotations":"Аннотации","noAnnotations":"Нет аннотаций","bookmark":"Закладка","bookmarks":"Закладки","noBookmarks":"Нет закладок","newBookmark":"Новая закладка","addBookmark":"Добавить закладку","removeBookmark":"Удалить закладку","loadingBookmarks":"Загрузка закладок","deleteBookmarkConfirmMessage":"Действительно удалить эту закладку?","deleteBookmarkConfirmAccessibilityLabel":"Подтвердить удаление закладки","annotation":"Аннотация","noteAnnotation":"Заметка","textAnnotation":"Текст","inkAnnotation":"Рисование","highlightAnnotation":"Выделение текста","underlineAnnotation":"Подчеркивание","squiggleAnnotation":"Волнистое подчеркивание","strikeOutAnnotation":"Зачеркивание","print":"Печать","printPrepare":"Подготовка документа к печати…","searchDocument":"Поиск в документе","searchPreviousMatch":"Назад","searchNextMatch":"Далее","searchResultOf":"{arg0} из {arg1}","accessibilityLabelDropdownGroupToggle":"Меню инструментов {arg0}, открыть или закрыть","save":"Сохранить","edit":"Править","delete":"Удалить","close":"Закрыть","cancel":"Отменить","ok":"ОК","done":"Готово","clear":"Очистить","date":"Дата","time":"Время","name":"Имя","color":"Цвет","black":"Черный","white":"Белый","blue":"Синий","red":"Красный","green":"Зеленый","orange":"Оранжевый","lightOrange":"Бледно-оранжевый","yellow":"Желтый","lightYellow":"Бледно-желтый","lightBlue":"Голубой","lightRed":"Бледно-красный","lightGreen":"Бледно-зеленый","fuchsia":"Фуксия","purple":"Лиловый","pink":"Розовый","mauve":"Бледно-лиловый","lightGrey":"Светло-серый","grey":"Серый","darkGrey":"Темно-серый","noColor":"Нет","transparent":"Прозрачный","darkBlue":"Темно-синий","opacity":"Непрозрачность","thickness":"Толщина","size":"Размер","numberInPt":"{arg0} пт","font":"Шрифт","fonts":"Шрифты","allFonts":"Все шрифты","alignment":"Выравнивание","alignmentLeft":"Слева","alignmentRight":"Справа","alignmentCenter":"По центру","verticalAlignment":"Вертикальное выравнивание","horizontalAlignment":"Горизональное выравнивание","top":"По верхнему краю","bottom":"По нижнему краю","deleteAnnotationConfirmMessage":"Действительно удалить эту аннотацию?","deleteAnnotationConfirmAccessibilityLabel":"Подтвердить удаление аннотации","fontFamilyUnsupported":"{arg0} (не поддерживается)","sign":"Подписать","signed":"Подписано","signatures":"Подписи","addSignature":"Добавить подпись","clearSignature":"Очистить подпись","storeSignature":"Запомнить подпись","pleaseSignHere":"Подпишите здесь","signing":"Подпись…","password":"Пароль","unlock":"Разблокировать","passwordRequired":"Требуется пароль","unlockThisDocument":"Для просмотра документа его необходимо разблокировать. Введите пароль в поле ниже.","incorrectPassword":"Неверный пароль. Повторите попытку.","blendMode":"Режим наложения","normal":"Обычный","multiply":"Умножение","screenBlend":"Осветление","overlay":"Перекрытие","darken":"Замена темным","lighten":"Замена светлым","colorDodge":"Осветление основы","colorBurn":"Затемнение основы","hardLight":"Жесткий свет","softLight":"Мягкий свет","difference":"Разница","exclusion":"Исключение","multiple":"Несколько","linecaps-dasharray":"Стиль линий","dasharray":"Стиль линий","startLineCap":"Начало линии","strokeDashArray":"Стиль линий","endLineCap":"Конец линии","lineAnnotation":"Линия","rectangleAnnotation":"Прямоугольник","ellipseAnnotation":"Эллипс","polygonAnnotation":"Многоугольник","polylineAnnotation":"Ломаная линия","solid":"Сплошные","narrowDots":"Узкие точки","wideDots":"Широкие точки","narrowDashes":"Узкие штрихи","wideDashes":"Широкие штрихи","none":"Нет","square":"Квадрат","circle":"Круг","diamond":"Ромб","openArrow":"Открытая стрелка","closedArrow":"Закрытая стрелка","butt":"Конец","reverseOpenArrow":"Развернутая открытая стрелка","reverseClosedArrow":"Развернутая закрытая стрелка","slash":"Косая черта","fillColor":"Цвет заливки","cloudy":"Облака","arrow":"Стрелка","filePath":"Путь к файлу","unsupportedImageFormat":"Неподдерживаемый тип визуальной заметки: {arg0}. Используйте JPEG или PNG.","noOutline":"Без содержания","outline":"Содержание","imageAnnotation":"Изображение","selectImage":"Выбрать изобр.","stampAnnotation":"Печать","highlighter":"Произвольное выделение","textHighlighter":"Текстовый маркер","pen":"Рисование","eraser":"Ластик","export":"Экспортировать","useAnExistingStampDesign":"Использовать существующую печать","createStamp":"Создать печать","stampText":"Текст печати","chooseColor":"Выберите цвет","rejected":"Отклонено","accepted":"Принято","approved":"Одобрено","notApproved":"Не одобрено","draft":"Черновик","final":"Окончательный","completed":"Завершено","confidential":"Конфиденциально","forPublicRelease":"Публичный выпуск","notForPublicRelease":"Не для публичного выпуска","forComment":"Для комментариев","void":"Аннулировать","preliminaryResults":"Предварительно","informationOnly":"Только информация","initialHere":"ФИО","signHere":"Место подписи","witness":"Удостоверить","asIs":"Как есть","departmental":"Внутри отдела","experimental":"Экспериментальная версия","expired":"Срок действия истек","sold":"Продано","topSecret":"Совершенно секретно","revised":"Изменено","custom":"Свой","customStamp":"Своя печать","icon":"Значок","iconRightPointer":"Указатель вправо","iconRightArrow":"Стрелка вправо","iconCheck":"Флажок","iconCircle":"Эллипс","iconCross":"Крестик","iconInsert":"Вставить текст","iconNewParagraph":"Новый абзац","iconNote":"Записка","iconComment":"Комментарий","iconParagraph":"Абзац","iconHelp":"Справка","iconStar":"Звездочка","iconKey":"Ключ","documentEditor":"Редактор документов","newPage":"Новая страница","removePage":"Удалить страницы","duplicatePage":"Дублировать","rotatePageLeft":"Повернуть влево","rotatePageRight":"Повернуть вправо","moveBefore":"Переместить вперед","moveAfter":"Переместить назад","selectNone":"Снять выбор всех","selectAll":"Выбрать все","saveAs":"Сохранить как…","mergeDocument":"Импорт документа","undo":"Отменить","redo":"Повторить","openMoveDialog":"Переместить","move":"Переместить","instantModifiedWarning":"Документ был изменен и находится в режиме «только чтение». Перезагрузите страницу, чтобы выйти из этого режима.","documentMergedHere":"Документы будут объединены здесь","digitalSignaturesAllValid":"Документ был подписан цифровым образом, и все подписи действительны.","digitalSignaturesDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания.","digitalSignaturesSignatureWarning":"Документ был подписан цифровым образом, но как минимум одна подпись является проблематичной.","digitalSignaturesSignatureWarningDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания, и как минимум одна подпись является проблематичной.","digitalSignaturesSignatureError":"Документ был подписан цифровым образом, но как минимум одна подпись недействительна.","digitalSignaturesSignatureErrorDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания, и как минимум одна подпись недействительна.","signingInProgress":"Идет подписание","signingModalDesc":"Сигнализирует, что идет подписание текущего документа","discardChanges":"Отменить изменения","commentEditorLabel":"Добавьте комментарий…","reply":"Ответить","comment":"Комментарий","comments":"Комментарии","showMore":"Показать больше","showLess":"Показать меньше","deleteComment":"Удалить комментарий","deleteCommentConfirmMessage":"Действительно удалить этот комментарий?","deleteCommentConfirmAccessibilityLabel":"Подтвердить удаление комментария","editContent":"Править содержимое","commentOptions":"Опции комментария","areaRedaction":"Исправить область","textRedaction":"Исправить текст","redactionAnnotation":"Исправление","applyingRedactions":"Применение исправлений","overlayTextPlaceholder":"Ваш текст для перекрытия","outlineColor":"Цвет обводки","overlayText":"Перекрывающий текст","repeatText":"Повторять текст","preview":"Просмотр","applyRedactions":"Применить исправления","markupAnnotationToolbar":"Панель инструментов аннотирования","documentViewport":"Окно просмотра документа","redactionInProgress":"Идет внесение исправлений","redactionModalDesc":"Сигнализирует, что идет внесение исправлений в текущий документ","commentAction":"Комментировать","printProgressModalDesc":"Сигнализирует, что идет подготовка документа к печати","printProgressModal":"Идет печать","documentEditorDesc":"Внести изменения в текущий документ","reloadDocumentDialog":"Подтвердить повторную загрузку документа","reloadDocumentDialogDesc":"Диалоговое окно с просьбой пользователю подтвердить повторную загрузку документа.","signatureDialog":"Подпись","signatureDialogDesc":"Это диалоговое окно позволяет выбрать рукописную подпись и вставить в документ, или же создать новую подпись.","stampAnnotationTemplatesDialog":"Шаблоны штампов","stampAnnotationTemplatesDialogDesc":"Это диалоговое окно позволяет выбрать штамп и вставить в документ в качестве аннотации, или же создать новый штамп с собственным текстом.","selectedAnnotation":"Выбрано: {arg0}","commentThread":"Ветка комментариев","selectedAnnotationWithText":"Выбрано: {arg0}, содержимое: {arg1}","signature":"Подпись","ElectronicSignatures_SignHereTypeHint":"Наберите здесь вашу подпись","ElectronicSignatures_SignHereDrawHint":"Место подписи","selectDragImage":"Выберите или перетащите сюда изображение","replaceImage":"Заменить изображение","draw":"От руки","image":"Изображение","type":"С клавиатуры","saveSignature":"Сохранить подпись","loading":"Загрузка","selectedItem":"{arg0}, выбрано.","annotationDeleted":"Аннотация удалена.","newAnnotationCreated":"Создана новая аннотация вида {arg0}.","bookmarkCreated":"Закладка создана.","bookmarkEdited":"Закладка отредактирована.","bookmarkDeleted":"Закладка удалена.","cancelledEditingBookmark":"Редактирование закладки отменено.","selectAFileForImage":"Выберите файл для новой визуальной заметки.","deleteAnnotationConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление аннотации или отменить операцию.","deleteBookmarkConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление закладки или отменить операцию.","deleteCommentConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление комментария или отменить операцию.","resize":"Изменить размер","resizeHandleTop":"Вверху","resizeHandleBottom":"Внизу","resizeHandleRight":"Справа","resizeHandleLeft":"Слева","cropCurrentPage":"Обрезать текущую страницу","cropCurrent":"Обрезать текущую","cropAllPages":"Обрезать все страницы","cropAll":"Обрезать все","documentCrop":"Обрезка документа","Comparison_alignButtonTouch":"Выровнять","Comparison_selectPoint":"Выбор точки","Comparison_documentOldTouch":"Старый","Comparison_documentNewTouch":"Новый","Comparison_result":"Сравнение","UserHint_description":"Выберите по три точки в каждом документе, чтобы выровнять и совместить их вручную. Лучше всего выбирать точки по краям, расположенные в обоих документах в одинаковом порядке.","UserHint_dismissMessage":"Закрыть","Comparison_alignButton":"Выровнять документы","documentComparison":"Сравнение документов","Comparison_documentOld":"Старый документ","Comparison_documentNew":"Новый документ","Comparison_resetButton":"Сброс","UserHint_Select":"Выбор точек","numberValidationBadFormat":"Введенное значение не совпадает с форматом поля [{arg0}]","dateValidationBadFormat":"Неверная дата/время. Убедитесь, что дата или время существуют. Значение в поле [{arg0}] должно иметь формат {arg1}","insertAfterPage":"Вставить после страницы","docEditorMoveBeginningHint":"Введите 0, чтобы переместить выбранную страницу(-ы) в начало документа.","cloudyRectangleAnnotation":"Волнистый прямоугольник","dashedRectangleAnnotation":"Пунктирный прямоугольник","cloudyEllipseAnnotation":"Волнистный эллипс","dashedEllipseAnnotation":"Пунктирный эллипс","cloudyPolygonAnnotation":"Волнистый многоугольник","dashedPolygonAnnotation":"Пунктирный многоугольник","cloudAnnotation":"Облачко","rotateCounterclockwise":"Повернуть против часовой стрелки","rotateClockwise":"Повернуть по часовой стрелке","enterDescriptionHere":"Задайте описание","addOption":"Добавить опцию","formDesignerPopoverTitle":"Свойства поля «{formFieldType}»","formFieldNameExists":"Поле формы «{formFieldName}» уже существует. Выберите другое имя.","styleSectionLabel":"Стиль поля «{formFieldType}»","formFieldName":"Имя поля","defaultValue":"Значение по умолчанию","multiLine":"Многострочный текст","radioButtonFormFieldNameWarning":"Для группировки все кнопки переключателя должны иметь одинаковое имя поля.","advanced":"Дополнительно","creatorName":"Имя автора","note":"Примечание","customData":"Собственные данные","required":"Обязательное поле","readOnly":"Только чтение","createdAt":"Дата создания","updatedAt":"Дата обновления","customDataErrorMessage":"Только сериализуемые объекты JSON","borderColor":"Цвет рамки","borderWidth":"Толщина рамки","borderStyle":"Стиль рамки","solidBorder":"Сплошная","dashed":"Пунктирная","beveled":"Объемная","inset":"Вставка","underline":"Только снизу","textStyle":"Стиль текста","fontSize":"Размер шрифта","fontColor":"Цвет шрифта","button":"Поле кнопки","textField":"Текстовое поле","radioField":"Поле переключателя","checkboxField":"Поле для флажка","comboBoxField":"Поле для комбинированного списка","listBoxField":"Поле для списка","signatureField":"Поле для подписи","formDesigner":"Инструмент создания формуляров","buttonText":"Текст на кнопке","notAvailable":"N/A","label":"Метка","value":"Значение","cannotEditOnceCreated":"Правка после создания невозможна.","formFieldNameNotEmpty":"Имя поля формы не может быть пустым.","mediaAnnotation":"Мультимедийная аннотация","mediaFormatNotSupported":"Этот браузер не поддерживает внедренные видео- и аудиофайлы.","distanceMeasurement":"Расстояние","perimeterMeasurement":"Периметр","polygonAreaMeasurement":"Площадь многоугольника","rectangularAreaMeasurement":"Площадь прямоугольника","ellipseAreaMeasurement":"Площадь эллипса","distanceMeasurementSettings":"Параметры измерения расстояния","perimeterMeasurementSettings":"Параметры измерения периметра","polygonAreaMeasurementSettings":"Параметры измерения площади многоугольника","rectangularAreaMeasurementSettings":"Параметры измерения площади прямоугольника","ellipseAreaMeasurementSettings":"Параметры измерения площади эллипса","measurementScale":"Масштаб","measurementCalibrateLength":"Калибровка длины","measurementPrecision":"Точность","measurementSnapping":"Привязка","formCreator":"Инструмент создания формуляров","group":"Группировать","ungroup":"Разгруппировать","bold":"Жирный","italic":"Курсив","addLink":"Добавить ссылку","removeLink":"Удалить ссылку","editLink":"Редактировать ссылку","anonymous":"Аноним","saveAndClose":"Сохранить и закрыть","ceToggleFontMismatchTooltip":"Показать всплывающую подсказку об отсутствии шрифтов","ceFontMismatch":"Шрифт «{arg0}» недоступен или не может использоваться для редактирования этого документа. Добавленный или измененный текст будет показан стандартным шрифтом.","multiAnnotationsSelection":"Выбрать несколько аннотаций","linkSettingsPopoverTitle":"Настройки ссылки","linkTo":"Ссылка на","uriLink":"Сайт","pageLink":"Страницу","invalidPageNumber":"Введите допустимый номер страницы.","invalidPageLink":"Задайте допустимую ссылку на страницу.","linkAnnotation":"Ссылка","targetPageLink":"Номер страницы","rotation":"Поворот","unlockDocumentDescription":"Для просмотра документа его необходимо разблокировать. Введите пароль в поле ниже.","commentDialogClosed":"Открыть ветку комментариев, начатую {arg0}: «{arg1}»","moreComments":"Еще комментарии","setScale":"Шкала","useCalibrationTool":"Использовать инструмент калибровки","calibrateScale":"Калибровка шкалы","unit":"Единица измерения","scaleAnnotationsDeleteWarning":"При удалении шкалы все замеры, сделанные с ее использованием, также будут удалены.","halves":"Половина дюйма","quarters":"Четверть дюйма","eighths":"Одна восьмая дюйма","sixteenths":"Одна шестнадцатая дюйма","addTextBox":"Добавить текстовое поле","deleteTextBlockConfirmMessage":"Действительно удалить это текстовое поле?","deleteTextBlockConfirmAccessibilityLabel":"Подтвердить удаление текстового поля","deleteTextBlockConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление текстового поля или отменить операцию","linesCount":"{arg0, plural,\\none {{arg0} линия}\\nfew {{arg0} линии}\\nmany {{arg0} линий}\\nother {{arg0} линии}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} аннотация}\\nfew {{arg0} аннотации}\\nmany {{arg0} аннотаций}\\nother {{arg0} аннотации}\\n=0 {Нет аннотаций}\\n}","pagesSelected":"{arg0, plural,\\none {Выбрана {arg0} страница}\\nfew {Выбрано {arg0} страницы}\\nmany {Выбрано {arg0} страниц}\\nother {Выбрано {arg0} страницы}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} комментарий}\\nfew {{arg0} комментария}\\nmany {{arg0} комментариев}\\nother {{arg0} комментария}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} комментарий}\\nfew {{arg0} комментария}\\nmany {{arg0} комментариев}\\nother {{arg0} комментария}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Еще {arg0} комментарий}\\nfew {Еще {arg0} комментария}\\nmany {Еще {arg0} комментариев}\\nother {Еще {arg0} комментария}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sk-0695ab47210c3720.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sk-0695ab47210c3720.js new file mode 100644 index 00000000..854ad66c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sk-0695ab47210c3720.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9971],{57298:e=>{e.exports=JSON.parse('{"thumbnails":"Ikony","pageXofY":"Strana {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Predchádzajúca strana","nextPage":"Dalšia strana","goToPage":"Ísť na stranu","gotoPageX":"Ísť na stranu {arg0}","pageX":"Strana {arg0}","pageLayout":"Rozvrhnutie strany","pageMode":"Režim stánok","pageModeSingle":"Jedna strana","pageModeDouble":"Dve strany","pageModeAutomatic":"Automatický","pageTransition":"Prechod strán","pageTransitionContinuous":"Súvisle","pageTransitionJump":"Preskočiť","pageRotation":"Rotácia strany","pageRotationLeft":"Otočiť doľava","pageRotationRight":"Otočiť doprava","zoomIn":"Zvätšiť","zoomOut":"Zmenšiť","marqueeZoom":"Obdĺžnikový nástroj pre zväčšenie","panMode":"Spôsob pohybu","fitPage":"Prispôsobiť strane","fitWidth":"Prispôsobiť šírke","annotations":"Anotácie","noAnnotations":"Žiadne anotácie","bookmark":"Záložka","bookmarks":"Záložky","noBookmarks":"Žiadne záložky","newBookmark":"Nová záložka","addBookmark":"Pridať záložku","removeBookmark":"Odstrániť záložku","loadingBookmarks":"Načítavajú sa záložky","deleteBookmarkConfirmMessage":"Naozaj chcete túto záložku zmazať?","deleteBookmarkConfirmAccessibilityLabel":"Potvrďte odstránenie záložky","annotation":"Anotácia","noteAnnotation":"Poznámka","textAnnotation":"Správa","inkAnnotation":"Kreslenie","highlightAnnotation":"Zvýraznenie textu","underlineAnnotation":"Podtrhnutie","squiggleAnnotation":"Klikyhák","strikeOutAnnotation":"Preškrtnúť","print":"Tlačiť","printPrepare":"Príprava dokumentu na tlač…","searchDocument":"Hľadať v dokumente","searchPreviousMatch":"Predchádzajúci","searchNextMatch":"Ďalší","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} nástroje, otvoriť menu","save":"Uložiť","edit":"Upraviť","delete":"Zmazať","close":"Zavrieť","cancel":"Zrušiť","ok":"OK","done":"Hotovo","clear":"Zmazať","date":"Dátum","time":"Čas","name":"Názov","color":"Farba","black":"Čierna","white":"Biela","blue":"Modrá","red":"Červená","green":"Zelená","orange":"Oranžová","lightOrange":"Svetlo oranžová","yellow":"Žltá","lightYellow":"Svetlo žltá","lightBlue":"Svetlo modrá","lightRed":"Svetlo červená","lightGreen":"Svetlo zelená","fuchsia":"Fuchsia","purple":"Fialová","pink":"Ružová","mauve":"Svetlo fialová","lightGrey":"Svetlo sivá","grey":"Šedá","darkGrey":"Tmavo sivá","noColor":"Žiadny","transparent":"Priehľadná","darkBlue":"Tmavomodrá","opacity":"Nepriehľadnosť","thickness":"Hrúbka","size":"Veľkosť","numberInPt":"{arg0} pt","font":"Písmo","fonts":"Písma","allFonts":"Všetky písma","alignment":"Zarovnanie","alignmentLeft":"Vľavo","alignmentRight":"Vpravo","alignmentCenter":"Uprostred","verticalAlignment":"Vertikálne zarovnanie","horizontalAlignment":"Horizontálne zarovnanie","top":"Navrch","bottom":"Na spodok","deleteAnnotationConfirmMessage":"Naozaj chcete odstrániť túto anotáciu?","deleteAnnotationConfirmAccessibilityLabel":"Potvrďte vymazanie anotácie","fontFamilyUnsupported":"{arg0} (nie je podporované)","sign":"Podpísať","signed":"Podpísané","signatures":"Podpisy","addSignature":"Pridať podpis","clearSignature":"Zmazať podpis","storeSignature":"Uložiť podpis","pleaseSignHere":"Podpíšte tu","signing":"Podpisujem…","password":"Heslo","unlock":"Odomknúť","passwordRequired":"Vyžadované heslo","unlockThisDocument":"Tento dokument musíte odomknúť, aby ste ho mohli zobraziť. Zadajte heslo do poľa nižšie.","incorrectPassword":"Zadané heslo nie je správne. Prosím skúste to znova.","blendMode":"Mód miešania","normal":"Normálne","multiply":"Vynásobiť","screenBlend":"Clona","overlay":"Prekryť","darken":"Ztmaviť","lighten":"Zosvetliť","colorDodge":"Zosvetliť farby","colorBurn":"Stmaviť farby","hardLight":"Ostré svetlo","softLight":"Jemné svetlo","difference":"Rozdiel","exclusion":"Vylúčiť","multiple":"Násobok","linecaps-dasharray":"Štýl čiary","dasharray":"Štýl čiary","startLineCap":"Začiatok čiary","strokeDashArray":"Štýl čiary","endLineCap":"Koniec čiary","lineAnnotation":"Čiara","rectangleAnnotation":"Obdĺžnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnohouholník","polylineAnnotation":"Lomená čiara","solid":"Pevný","narrowDots":"Úzke bodky","wideDots":"Široké bodky","narrowDashes":"Úzke pomlčky","wideDashes":"Široké pomlčky","none":"Žiadny","square":"Štvorec","circle":"Kruh","diamond":"Kosoštvorec","openArrow":"Otvorená šípka","closedArrow":"Zatvorená šípka","butt":"Zakončenie","reverseOpenArrow":"Obrátená otvorená šípka","reverseClosedArrow":"Obrátená zatvorená šípka","slash":"Lomka","fillColor":"Farba výplne","cloudy":"Obláčik","arrow":"Šípka","filePath":"Cesta k súboru","unsupportedImageFormat":"Nepodporovaný formát pre obrázkovú anotáciu: {arg0}. Použite súbory vo formáte JPEG alebo PNG.","noOutline":"Žiadny obsah","outline":"Obsah","imageAnnotation":"Obrázok","selectImage":"Vybrať obrázok","stampAnnotation":"Razítko","highlighter":"Zvýrazňovač","textHighlighter":"Zvýrazňovač textu","pen":"Kreslenie","eraser":"Guma","export":"Exportovať","useAnExistingStampDesign":"Použiť existujúci návrh razítka","createStamp":"Vytvoriť razítko","stampText":"Text razítka","chooseColor":"Zvoľte farbu","rejected":"Odmietnuté","accepted":"Prijaté","approved":"Schválené","notApproved":"Neschválené","draft":"Koncept","final":"Konečný","completed":"Dokončené","confidential":"Tajné","forPublicRelease":"Pre verejné vydanie","notForPublicRelease":"Nie pre verejné vydanie","forComment":"Pre komentáre","void":"Neplatný","preliminaryResults":"Predbežné výsledky","informationOnly":"Iba pre informácie","initialHere":"Iniciály tu","signHere":"Podpíšte tu","witness":"Svedok","asIs":"Zachovať","departmental":"Rezortné","experimental":"Experimentálne","expired":"Platnosť vypršala","sold":"Predané","topSecret":"Prísne tajné","revised":"Revidované","custom":"Vlastné","customStamp":"Vlastné razítko","icon":"Ikona","iconRightPointer":"Pravý ukazovateľ","iconRightArrow":"Pravá šípka","iconCheck":"Fajka","iconCircle":"Elipsa","iconCross":"Kríž","iconInsert":"Vložiť text","iconNewParagraph":"Nový odsek","iconNote":"Textová poznámka","iconComment":"Komentár","iconParagraph":"Odsek","iconHelp":"Pomoc","iconStar":"Hviezda","iconKey":"Kľúč","documentEditor":"Editor dokumentov","newPage":"Nová strana","removePage":"Zmazať strany","duplicatePage":"Duplikovať","rotatePageLeft":"Otočiť doľava","rotatePageRight":"Otočiť doprava","moveBefore":"Presunúť dopredu","moveAfter":"Presunúť dozadu","selectNone":"Zrušiť výber","selectAll":"Vybrať všetko","saveAs":"Uložiť ako…","mergeDocument":"Importovať dokument","undo":"Zrušiť","redo":"Opakovať","openMoveDialog":"Presunúť","move":"Presunúť","instantModifiedWarning":"Dokument bol upravený a teraz je v režime len na čítanie. Ak to chcete opraviť, načítajte dokument znova.","documentMergedHere":"Dokument tu bude zlúčený","digitalSignaturesAllValid":"Dokument bol digitálne podpísaný a všetky podpisy sú platné.","digitalSignaturesDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol upravený.","digitalSignaturesSignatureWarning":"Dokument bol digitálne podpísaný, ale aspoň jeden podpis má problémy.","digitalSignaturesSignatureWarningDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol zmenený a aspoň jeden podpis má problémy.","digitalSignaturesSignatureError":"Dokument bol digitálne podpísaný, ale aspoň jeden podpis je neplatný.","digitalSignaturesSignatureErrorDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol zmenený a aspoň jeden podpis je neplatný.","signingInProgress":"Prebieha podpisovanie","signingModalDesc":"Označuje, že je aktuálny dokument podpísaný","discardChanges":"Zrušiť zmeny","commentEditorLabel":"Pridať komentár…","reply":"Odpovedať","comment":"Komentár","comments":"Komentáre","showMore":"Zobraziť viac","showLess":"Zobraziť menej","deleteComment":"Odstrániť komentár","deleteCommentConfirmMessage":"Naozaj chcete zmazať tento komentár?","deleteCommentConfirmAccessibilityLabel":"Potvrďte odstránenie komentára","editContent":"Upraviť obsah","commentOptions":"Možnosti komentára","areaRedaction":"Redakcia oblasti","textRedaction":"Redakcia textu","redactionAnnotation":"Redakcia","applyingRedactions":"Aplikujem redakcie","overlayTextPlaceholder":"Vložte prekrývajúci text","outlineColor":"Farba obrysu","overlayText":"Prekrývajúci text","repeatText":"Opakovať text","preview":"Ukážka","applyRedactions":"Aplikovať redakcie","markupAnnotationToolbar":"Panel s nástrojmi textových anotácií","documentViewport":"Oblasť dokumentu","redactionInProgress":"Prebieha redakcia","redactionModalDesc":"Označuje, že aktuálny dokument je práve redigovaný","commentAction":"Komentovať","printProgressModalDesc":"Označuje, že dokument sa pripravuje na tlač","printProgressModal":"Prebieha tlač","documentEditorDesc":"Vykonajte zmeny v aktuálnom dokumente","reloadDocumentDialog":"Potvrďte opätovné načítanie dokumentu","reloadDocumentDialogDesc":"Dialóg vyzývajúci používateľa na potvrdenie opätovného načítania dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"Toto dialógové okno umožňuje zvoliť podpis, ktorý sa má vložiť do dokumentu. Ak nemáte uložené podpisy, môžete ich vytvoriť pomocou plochy pre kreslenie.","stampAnnotationTemplatesDialog":"Šablóny pečiatok","stampAnnotationTemplatesDialogDesc":"Toto dialógové okno vám umožňuje vybrať pečiatky, ktorú chcete vložiť do dokumentu, alebo vytvoriť pečiatky s vlastným textom.","selectedAnnotation":"Vybraná {arg0}","commentThread":"Vlákno komentárov","selectedAnnotationWithText":"Vybraná {arg0} s obsahom {arg1}","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zadajte svoj podpis","ElectronicSignatures_SignHereDrawHint":"Podpíšte tu","selectDragImage":"Vyberte alebo pretiahnite obrázok","replaceImage":"Nahradiť obrázok","draw":"Kresliť","image":"Obrázok","type":"Písať","saveSignature":"Uložiť podpis","loading":"Načítavam","selectedItem":"Vybraných: {arg0}","annotationDeleted":"Anotácia zmazaná","newAnnotationCreated":"Vytvorená nová {arg0} anotácia.","bookmarkCreated":"Vytvorená záložka.","bookmarkEdited":"Editovaná záložka.","bookmarkDeleted":"Zmazaná záložka","cancelledEditingBookmark":"Zrušená úprava záložky.","selectAFileForImage":"Vyberte súbor pre novú obrázkovú anotáciu.","deleteAnnotationConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie anotácie.","deleteBookmarkConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie záložky.","deleteCommentConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie komentára.","resize":"Zmeniť veľkosť","resizeHandleTop":"Vrch","resizeHandleBottom":"Spodok","resizeHandleRight":"Vpravo","resizeHandleLeft":"Vľavo","cropCurrentPage":"Orezať aktuálnu stranu","cropCurrent":"Orezať aktuálnu stranu","cropAllPages":"Orezať všetky strany","cropAll":"Orezať všetko","documentCrop":"Orezanie dokumentov","Comparison_alignButtonTouch":"Zarovnať","Comparison_selectPoint":"Vyberte bod","Comparison_documentOldTouch":"Starý","Comparison_documentNewTouch":"Nový","Comparison_result":"Porovnanie","UserHint_description":"Vyberte tri body na oboch dokumentoch pre ručné zarovnanie. Pre dosiahnutie najlepších výsledkov vyberte body v blízkosti rohov v rovnakom poradí na oboch dokumentoch.","UserHint_dismissMessage":"Zrušiť","Comparison_alignButton":"Zarovnať dokumenty","documentComparison":"Porovnanie dokumentov","Comparison_documentOld":"Starý dokument","Comparison_documentNew":"Nový dokument","Comparison_resetButton":"Resetovať","UserHint_Select":"Výber bodov","numberValidationBadFormat":"Zadaná hodnota nezodpovedá formátu poľa [{arg0}]","dateValidationBadFormat":"Neplatný dátum/čas: uistite sa, že dátum/čas existuje. Pole [{arg0}] by malo mať formát {arg1}","insertAfterPage":"Vložiť za stranu","docEditorMoveBeginningHint":"Zadajte “0” pre presunutie vybranej strany/strán na začiatok dokumentu.","cloudyRectangleAnnotation":"Obdĺžnikový obláčik","dashedRectangleAnnotation":"Čiarkovaný obdĺžnik","cloudyEllipseAnnotation":"Eliptický obláčik","dashedEllipseAnnotation":"Čiarkovaná elipsa","cloudyPolygonAnnotation":"Polygonálny obláčik","dashedPolygonAnnotation":"Čiarkovaný polygón","cloudAnnotation":"Obláčik","rotateCounterclockwise":"Otočiť proti smeru hodinových ručičiek","rotateClockwise":"Otočiť v smere hodinových ručičiek","enterDescriptionHere":"Zadajte popis","addOption":"Pridať voľbu","formDesignerPopoverTitle":"Vlastnosti pre {formFieldType}","formFieldNameExists":"Pole s názvom {formfieldName} už existuje. Vyberte si prosím iné meno.","styleSectionLabel":"Štýl pre {formFieldType}","formFieldName":"Názov poľa","defaultValue":"Predvolená hodnota","multiLine":"Viacriadkový text","radioButtonFormFieldNameWarning":"Ak chcete zoskupiť prepínače, priraďte všetkým rovnaké meno.","advanced":"Pokročilé","creatorName":"Meno tvorcu","note":"Poznámka","customData":"Vlastné údaje","required":"Povinné","readOnly":"Iba na čítanie","createdAt":"Vytvorené","updatedAt":"Aktualizované","customDataErrorMessage":"Musí byť vo formáte vhodnom pre uloženie ako JSON.","borderColor":"Farba okraja","borderWidth":"Šírka okraja","borderStyle":"Štýl okraja","solidBorder":"Plný","dashed":"Čiarkovaný","beveled":"Skosený","inset":"Vložený","underline":"Podčiarknutý","textStyle":"Štýl textu","fontSize":"Veľkosť písma","fontColor":"Farba písma","button":"Tlačítko","textField":"Textové pole","radioField":"Prepínač","checkboxField":"Zaškrtávacie pole","comboBoxField":"Kombinované pole","listBoxField":"Zoznam","signatureField":"Pole s podpisom","formDesigner":"Editor formulárov","buttonText":"Text tlačítka","notAvailable":"Nedostupné","label":"Popis","value":"Hodnota","cannotEditOnceCreated":"Nie je možné upraviť po vytvorení.","formFieldNameNotEmpty":"Názov poľa nemôže zostať prázdny.","mediaAnnotation":"Multimediálne anotácie","mediaFormatNotSupported":"Tento prehliadač nepodporuje video a zvuk.","distanceMeasurement":"Vzdialenosť","perimeterMeasurement":"Obvod","polygonAreaMeasurement":"Obsah polygónu","rectangularAreaMeasurement":"Obsah obdĺžniku","ellipseAreaMeasurement":"Obsah elipsy","distanceMeasurementSettings":"Nastavenie merania vzdialenosti","perimeterMeasurementSettings":"Nastavenia merania obvodu","polygonAreaMeasurementSettings":"Nastavenie merania obsahu polygónu","rectangularAreaMeasurementSettings":"Nastavenie merania obsahu obdĺžnika","ellipseAreaMeasurementSettings":"Nastavenie merania obsahu elipsy","measurementScale":"Mierka","measurementCalibrateLength":"Kalibrácia dĺžky","measurementPrecision":"Presnosť","measurementSnapping":"Prichytenie","formCreator":"Editor formulárov","group":"Skupina","ungroup":"Rozdeliť skupinu","bold":"Tučné písmo","italic":"Kurzíva","addLink":"Pridať odkaz","removeLink":"Odstrániť odkaz","editLink":"Upraviť odkaz","anonymous":"Anonymný","saveAndClose":"Uložiť a zavrieť","ceToggleFontMismatchTooltip":"Prepnúť nastavenia upozornení na nesúlad písma","ceFontMismatch":"Písmo {arg0} nie je k dispozícii alebo ho nie je možné použiť k úprave obsahu dokumentu. Pridaný alebo zmenený obsah použije predvolené písmo.","multiAnnotationsSelection":"Vyberte viac anotácií","linkSettingsPopoverTitle":"Nastavenie odkazu","linkTo":"Odkaz na","uriLink":"Webová stránka","pageLink":"Strana","invalidPageNumber":"Zadajte platné číslo strany.","invalidPageLink":"Zadajte platný odkaz na stranu.","linkAnnotation":"Odkaz","targetPageLink":"Číslo strany","rotation":"Rotácia","unlockDocumentDescription":"Ak si prajete tento dokument zobraziť, musíte ho odomknúť. Zadajte prosím heslo do poľa nižšie.","commentDialogClosed":"Otvoriť vlákno vytvorené {arg0}: \\\\“{arg1}\\\\”","moreComments":"Viac komentárov","setScale":"Nastaviť mierku","useCalibrationTool":"Použiť nástroj na kalibráciu","calibrateScale":"Kalibrovať mierku","unit":"Jednotka","scaleAnnotationsDeleteWarning":"Zmazaním mierky dôjde tiež k zmazaniu všetkých meraní, ktoré túto mierku používajú.","halves":"1/2 palca","quarters":"1/4 palca","eighths":"1/8 palca","sixteenths":"1/16 palca","addTextBox":"Pridať textové pole","deleteTextBlockConfirmMessage":"Naozaj chcete odstrániť toto textové pole?","deleteTextBlockConfirmAccessibilityLabel":"Potvrďte zmazanie textového poľa","deleteTextBlockConfirmAccessibilityDescription":"Dialóg umožňujúci používateľovi potvrdiť alebo zrušiť zmazanie textového poľa","linesCount":"{arg0, plural,\\none {{arg0} čiara}\\nfew {{arg0} čiary}\\nother {{arg0} čiar}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Žiadne anotácie}\\none {{arg0} anotácia}\\nfew {{arg0} anotácie}\\nother {{arg0} anotácií}\\n}","pagesSelected":"{arg0, plural,\\none {Vybraná {arg0} strana}\\nfew {Vybrané {arg0} strany}\\nother {Vybraných {arg0} strán}\\n}","commentsCount":"{arg0, plural,\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentár}\\nfew {{arg0} komentáre}\\nother {{arg0} komentárov}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ďalší komentár}\\nfew {{arg0} ďalšie komentáre}\\nother {{arg0} ďalších komentárov}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sl-f76abfcf13a75899.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sl-f76abfcf13a75899.js new file mode 100644 index 00000000..165d28d3 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sl-f76abfcf13a75899.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5595],{33943:e=>{e.exports=JSON.parse('{"thumbnails":"Predogled","pageXofY":"Stran {arg0} od {arg1}","XofY":"{arg0} od {arg1}","prevPage":"Prejšnja stran","nextPage":"Naslednja stran","goToPage":"Pojdi na stran","gotoPageX":"Pojdi na stran {arg0}","pageX":"Stran {arg0}","pageLayout":"Postavitev strani","pageMode":"Prikaz strani","pageModeSingle":"Samostojno","pageModeDouble":"Dvojno","pageModeAutomatic":"Avtomatično","pageTransition":"Menjava strani","pageTransitionContinuous":"Zvezno","pageTransitionJump":"Samostojno","pageRotation":"Rotacija strani","pageRotationLeft":"Zavrti levo","pageRotationRight":"Zavrti desno","zoomIn":"Povečaj","zoomOut":"Pomanjšaj","marqueeZoom":"Povečaj izbrano področje","panMode":"Način za premikanje","fitPage":"Poravnaj s stranjo","fitWidth":"Poravnaj s širino","annotations":"Označbe","noAnnotations":"Ni označb","bookmark":"Zaznamek","bookmarks":"Zaznamki","noBookmarks":"Ni zaznamkov","newBookmark":"Nov zaznamek","addBookmark":"Dodaj zaznamek","removeBookmark":"Odstrani zaznamek","loadingBookmarks":"Nalagam zaznamke","deleteBookmarkConfirmMessage":"Ste prepričani, da želite izbrisati zaznamek?","deleteBookmarkConfirmAccessibilityLabel":"Potrditev izbrisa zaznamka","annotation":"Označba","noteAnnotation":"Zapisek","textAnnotation":"Besedilo","inkAnnotation":"Risba","highlightAnnotation":"Poudarek","underlineAnnotation":"Podčrtava","squiggleAnnotation":"Vijuga","strikeOutAnnotation":"Prečrtava","print":"Natisni","printPrepare":"Dokument se pripravlja za tisk…","searchDocument":"Išči po dokumentu","searchPreviousMatch":"Prejšnji","searchNextMatch":"Naslednji","searchResultOf":"{arg0} od {arg1}","accessibilityLabelDropdownGroupToggle":"Podmeni: {arg0}","save":"Shrani","edit":"Uredi","delete":"Izbriši","close":"Zapri","cancel":"Prekliči","ok":"V redu","done":"Končaj","clear":"Počisti","date":"Datum","time":"Čas","name":"Ime","color":"Barva","black":"Črna","white":"Bela","blue":"Modra","red":"Rdeča","green":"Zelena","orange":"Oranžna","lightOrange":"Svetlo oranžna","yellow":"Rumena","lightYellow":"Svetlo rumena","lightBlue":"Svetlo modra","lightRed":"Svetlo rdeča","lightGreen":"Svetlo zelena","fuchsia":"Fuchsia","purple":"Vijolična","pink":"Roza","mauve":"Mauve","lightGrey":"Svetlo siva","grey":"Siva","darkGrey":"Temno siva","noColor":"Prazna stran","transparent":"Prosojna","darkBlue":"Temno Modra","opacity":"Prosojnost","thickness":"Debelina","size":"Velikost","numberInPt":"{arg0} pt","font":"Pisava","fonts":"Pisave","allFonts":"Vse Pisave","alignment":"Poravnava","alignmentLeft":"Levo","alignmentRight":"Desno","alignmentCenter":"Sredinsko","verticalAlignment":"Navpična poravnava","horizontalAlignment":"Vodoravna poravnava","top":"Na vrh","bottom":"Na dno","deleteAnnotationConfirmMessage":"Ste prepričani, da želite izbrisati označbo?","deleteAnnotationConfirmAccessibilityLabel":"Potrdite brisanje označbe","fontFamilyUnsupported":"{arg0} (ni podprta)","sign":"Podpiši","signed":"Podpisano","signatures":"Podpisi","addSignature":"Dodaj podpis","clearSignature":"Počisti podpis","storeSignature":"Shrani podpis","pleaseSignHere":"Prosim podpišite tukaj","signing":"Podpisovanje…","password":"Geslo","unlock":"Odkleni","passwordRequired":"Potrebno je geslo","unlockThisDocument":"Za ogled je potrebno odkleniti dokument. Vnesite geslo v spodnje polje.","incorrectPassword":"Vneseno geslo ni pravilno. Poskusite ponovno.","blendMode":"Način zlivanja","normal":"Navaden","multiply":"Pomnoži","screenBlend":"Zakrij","overlay":"Prekrij","darken":"Potemni","lighten":"Posvetli","colorDodge":"Umakni barve","colorBurn":"Ožgi barve","hardLight":"Ostra osvetlitev","softLight":"Mehka osvetlitev","difference":"Razlika","exclusion":"Izključi","multiple":"Mnogi","linecaps-dasharray":"Slog črte","dasharray":"Slog črte","startLineCap":"Začetek črte","strokeDashArray":"Slog črte","endLineCap":"Konec črte","lineAnnotation":"Črta","rectangleAnnotation":"Pravokotnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnogokotnik","polylineAnnotation":"Lomljena črta","solid":"Neprekinjena","narrowDots":"Ozke pike","wideDots":"Široke pike","narrowDashes":"Ozke črtice","wideDashes":"Široke črtice","none":"Prazna stran","square":"Kvadrat","circle":"Krog","diamond":"Diamant","openArrow":"Odprta puščica","closedArrow":"Zaprta puščica","butt":"Črta","reverseOpenArrow":"Obratna odprta puščica","reverseClosedArrow":"Obratna zaprta puščica","slash":"Poševnica","fillColor":"Barva polnila","cloudy":"Oblaček","arrow":"Puščica","filePath":"Lokacija datoteke","unsupportedImageFormat":"Nepodprt format slike za slikovno označbo: {arg0}. Izberite JPEG ali PNG sliko.","noOutline":"Ni kazala","outline":"Kazalo","imageAnnotation":"Slika","selectImage":"Izberi sliko","stampAnnotation":"Štampiljka","highlighter":"Prostoročni poudarek","textHighlighter":"Teskstovni označevalec","pen":"Risba","eraser":"Radirka","export":"Izvoz","useAnExistingStampDesign":"Uporabi obstoječo štampiljko","createStamp":"Ustvari štampiljko","stampText":"Besedilo štampiljke","chooseColor":"Izberi barvo","rejected":"Zavrnjeno","accepted":"Sprejeto","approved":"Potrjeno","notApproved":"Ni potrjeno","draft":"Osnutek","final":"Končno","completed":"Zaključeno","confidential":"Zaupno","forPublicRelease":"Za javno objavo","notForPublicRelease":"Ni za javno objavo","forComment":"Za diskusijo","void":"Nično","preliminaryResults":"Preliminarni rezultati","informationOnly":"Samo informativno","initialHere":"Parafirajte tukaj","signHere":"Podpišite tukaj","witness":"Priča","asIs":"Kot je","departmental":"Oddelčno","experimental":"Eksperimentalno","expired":"Poteklo","sold":"Prodano","topSecret":"Zaupno","revised":"Revidiran","custom":"Po meri","customStamp":"Štampiljka po meri","icon":"Ikona","iconRightPointer":"Kazalec v desno","iconRightArrow":"Puščica desno","iconCheck":"Kljukica","iconCircle":"Elipsa","iconCross":"Križ","iconInsert":"Vnos besedila","iconNewParagraph":"Novi odstavek","iconNote":"Tekstovna označba","iconComment":"Komentar","iconParagraph":"Odstavek","iconHelp":"Pomoč","iconStar":"Zvezda","iconKey":"Ključ","documentEditor":"Urejevalnik","newPage":"Nova stran","removePage":"Izbriši strani","duplicatePage":"Podvoji","rotatePageLeft":"Zavrti levo","rotatePageRight":"Zavrti desno","moveBefore":"Premakni pred","moveAfter":"Premakni za","selectNone":"Počisti izbiro","selectAll":"Izberi vse","saveAs":"Shrani kot…","mergeDocument":"Uvozi dokument","undo":"Razveljavi","redo":"Uveljavi","openMoveDialog":"Premakni","move":"Premakni","instantModifiedWarning":"Dokument je bil spremenjen in je sedaj v načinu za branje. Osvežite stran, za prehod nazaj v osnovni način.","documentMergedHere":"Dokument bo združen tukaj","digitalSignaturesAllValid":"Dokument je bil digitalno podpisan in vsi podpisi so veljavni.","digitalSignaturesDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan.","digitalSignaturesSignatureWarning":"Dokument je bil digitalno podpisan, vendar vsaj en podpis ima težave.","digitalSignaturesSignatureWarningDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan in vsaj en podpis ima težave.","digitalSignaturesSignatureError":"Dokument je bil digitalno podpisan, vendar vsaj en podpis je neveljaven.","digitalSignaturesSignatureErrorDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan in vsaj en podpis je neveljaven.","signingInProgress":"Podpisovanje je v teku","signingModalDesc":"Označuje da je trenutni dokument v postopku podpisovanja","discardChanges":"Zavrzi spremembe","commentEditorLabel":"Dodaj komentar…","reply":"Odgovor","comment":"Komentar","comments":"Komentarji","showMore":"Prikaži več","showLess":"Prikaži manj","deleteComment":"Izbriši komentar","deleteCommentConfirmMessage":"Ali ste prepričani, da želite izbrisati ta komentar?","deleteCommentConfirmAccessibilityLabel":"Potrdi izbris komentarja","editContent":"Uredi vsebino","commentOptions":"Nastavitve komentarja","areaRedaction":"Ploskovna redakcija","textRedaction":"Tekstovna redakcija","redactionAnnotation":"Redakcija","applyingRedactions":"Potrditev redakcij","overlayTextPlaceholder":"Vstavi prekrivno besedilo","outlineColor":"Barva obrobe","overlayText":"Prekrivno besedilo","repeatText":"Ponovi besedilo","preview":"Predogled","applyRedactions":"Potrdi redakcijo","markupAnnotationToolbar":"Orodna vrstica za tekstovne označbe","documentViewport":"Vidno polje dokumenta","redactionInProgress":"Redakcija v teku","redactionModalDesc":"Prikazuje, da na trenutnem dokumentu poteka redakcija.","commentAction":"Komentiraj","printProgressModalDesc":"Prikazuje pripravo dokumenta za tisk","printProgressModal":"Tiskanje v teku","documentEditorDesc":"Izvajanje sprememb na trenutnem dokumentu","reloadDocumentDialog":"Potrdi osvežitev dokumenta","reloadDocumentDialogDesc":"Pogovorno okno z pozivo za osvežitev dokumenta.","signatureDialog":"Podpis","signatureDialogDesc":"To pogovorno okno omogoča izbiro prostoročnega podpisa za vstavitev v dokument. Če nimate shranjenih podpisov lahko ustvarite novega z uporabo površine za risanje.","stampAnnotationTemplatesDialog":"Predloge žigov","stampAnnotationTemplatesDialogDesc":"Pogovorno okno omogoča izbiro žiga za vstavitev v dokument ali izdelavo žiga z lastnim tekstom.","selectedAnnotation":"Izbrano: {arg0}","commentThread":"Komentarji","selectedAnnotationWithText":"Izbrano: {arg0} z {arg1} kot vsebino","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zgoraj vnesite svoj podpis","ElectronicSignatures_SignHereDrawHint":"Podpišite tukaj","selectDragImage":"Izberi ali povleči sliko","replaceImage":"Zamenjaj sliko","draw":"Riši","image":"Slika","type":"Tipkaj","saveSignature":"Shrani podpis","loading":"Nalagam","selectedItem":"Izbrano: {arg0}.","annotationDeleted":"Označba je bila izbrisana.","newAnnotationCreated":"Nova {arg0} označba je bila usvarjena.","bookmarkCreated":"Zaznamek je bil ustvarjen.","bookmarkEdited":"Zaznamek je bil spremenjen.","bookmarkDeleted":"Zaznamek je bil izbrisan.","cancelledEditingBookmark":"Prekliči urejanje zaznamka.","selectAFileForImage":"Izberi datoteko za novo slikovno označbo.","deleteAnnotationConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa označbe.","deleteBookmarkConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa zaznamka.","deleteCommentConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa komentarja.","resize":"Spremeni velikost","resizeHandleTop":"Zgoraj","resizeHandleBottom":"Spodaj","resizeHandleRight":"Desno","resizeHandleLeft":"Levo","cropCurrentPage":"Obreži trenutno stran","cropCurrent":"Obreži trenutno","cropAllPages":"Obreži vse strani","cropAll":"Obreži vse","documentCrop":"Obrezovanje dokumenta","Comparison_alignButtonTouch":"Poravnaj","Comparison_selectPoint":"Izberi točko","Comparison_documentOldTouch":"Stari","Comparison_documentNewTouch":"Nov","Comparison_result":"Primerjava","UserHint_description":"Za ročno poravnavo izberite tri točke na obeh dokumentih. Da bi doseglji najbolše prileganje izberite točkle blizu vogalov dokumenta v enakem zaporedju.","UserHint_dismissMessage":"Opusti","Comparison_alignButton":"Poravnaj dokumenta","documentComparison":"Primejava dokumentov","Comparison_documentOld":"Stari dokument","Comparison_documentNew":"Nov dokument","Comparison_resetButton":"Ponastavi","UserHint_Select":"Izbria točk","numberValidationBadFormat":"Vnesena vrednost ne ustreza formatu polja [{arg0}]","dateValidationBadFormat":"Neveljaven datum/čas: zagotovite, da je datum/čas veljaven. Polje [{arg0}] naj ustreza formatu {arg1}","insertAfterPage":"Vstavi za stranjo","docEditorMoveBeginningHint":"Vnesite “0” za premik izbranih strani na začetek dokumenta.","cloudyRectangleAnnotation":"Oblačkast pravokotnik","dashedRectangleAnnotation":"Črtkan pravokotnik","cloudyEllipseAnnotation":"Oblačkasta elipsa","dashedEllipseAnnotation":"Črtkana elipsa","cloudyPolygonAnnotation":"Oblačkasta mnogokotnik","dashedPolygonAnnotation":"Črtkan mnogokotnik","cloudAnnotation":"Oblak","rotateCounterclockwise":"Rotiraj v nasprotni smeri urinega kazalca","rotateClockwise":"Rotiraj v smeri urinega kazalca","enterDescriptionHere":"Tukaj vnesite opis","addOption":"Dodaj opcijo","formDesignerPopoverTitle":"Lastnosi za {formFieldType}","formFieldNameExists":"Polje z nazivom {formFieldName} že obstaja. Prosim izberite drugo ime.","styleSectionLabel":"Stil za {formFieldType}","formFieldName":"Naziv polja","defaultValue":"Privzeta vrednost","multiLine":"Večvrstično","radioButtonFormFieldNameWarning":"Za grupiranje izbirnih gumbov določite vsem enak naziv.","advanced":"Napredno","creatorName":"Ime ustvarjalca","note":"Opomba","customData":"Dodatni podatki","required":"Zahtevano","readOnly":"Samo za branje","createdAt":"Ustvarjetno","updatedAt":"Posodobljeno","customDataErrorMessage":"Mora biti v primerni obliki za format JSON.","borderColor":"Barva obrobe","borderWidth":"Debeljina obrobe","borderStyle":"Stil obrobe","solidBorder":"Neprekinjeno","dashed":"Črtkano","beveled":"Izbočeno","inset":"Vbočeno","underline":"Podčrtano","textStyle":"Stil pisave","fontSize":"Velikost pisave","fontColor":"Barva pisave","button":"Gumb","textField":"Tekstovno poje","radioField":"Izbirno polje","checkboxField":"Potrdilno polje","comboBoxField":"Kombinirano polje","listBoxField":"Seznamsko polje","signatureField":"Podpisno polje","formDesigner":"Urejevalnik Obrazcev","buttonText":"Napis na gumbu","notAvailable":"Ni na voljo","label":"Oznaka","value":"Vsebina","cannotEditOnceCreated":"Naknadno spreminjanje ni možno.","formFieldNameNotEmpty":"Naziv polja ne more biti prazen.","mediaAnnotation":"Večpredstavnostna označba","mediaFormatNotSupported":"Ta brskalnik ne podpira videa in zvoka.","distanceMeasurement":"Razdalja","perimeterMeasurement":"Obseg","polygonAreaMeasurement":"Mnogokotna ploščina","rectangularAreaMeasurement":"Pravokotna ploščina","ellipseAreaMeasurement":"Elipsoidna ploščina","distanceMeasurementSettings":"Nastavitve meritve razdalje","perimeterMeasurementSettings":"Nastavitve meritve obsega","polygonAreaMeasurementSettings":"Nastavitve meritve mnogokotne ploščine","rectangularAreaMeasurementSettings":"Nastavitve meritve pravokotne ploščine","ellipseAreaMeasurementSettings":"Nastavitve meritve elipsoidne ploščine","measurementScale":"Merilo","measurementCalibrateLength":"Dolžina za umerjanje","measurementPrecision":"Natančnost","measurementSnapping":"Zaskočitev","formCreator":"Urejevalnik Obrazcev","group":"Grupiraj","ungroup":"Razdruži","bold":"Odebeljeno","italic":"Poševno","addLink":"Dodaj povezavo","removeLink":"Odstrani povezavo","editLink":"Uredi povezavo","anonymous":"Anonimen","saveAndClose":"Shrani in zapri","ceToggleFontMismatchTooltip":"Prikaži ali skrij namig za neusklajene pisave","ceFontMismatch":"Pisava: {arg0} ni na voljo ali ne more biti uporabljena za urejanje vsebine tega dokumenta. Dodana ali spremenjena vsebina bo pisavo vrnila na privzeto.","multiAnnotationsSelection":"Izberi več označb","linkSettingsPopoverTitle":"Nastavitve povezave","linkTo":"Povezava do","uriLink":"Spletne strani","pageLink":"Strani","invalidPageNumber":"Vnesite veljavno številko strani.","invalidPageLink":"Vnesite veljavno povezavo do strani.","linkAnnotation":"Povezava","targetPageLink":"Številka strani","rotation":"Rotiraj","unlockDocumentDescription":"Dokument je potrebno odkleniti. Prosim vnesite geslo v tekstovno polje.","commentDialogClosed":"Odpri pogovor, ki ga je začel/-a {arg0}: \\\\“{arg1}\\\\”","moreComments":"Več komentarjev","setScale":"Nastavi merilo","useCalibrationTool":"Uporabi orodje za kalibriranje","calibrateScale":"Kalibriraj merilo","unit":"Enota","scaleAnnotationsDeleteWarning":"Če izbrišete merilo, bodo izbrisane tudi meritve, ki uporabljajo to merilo.","halves":"Polovice inča","quarters":"Četrtine inča","eighths":"Osmine inča","sixteenths":"Šestnajstine inča","addTextBox":"Dodaj besedilno polje","deleteTextBlockConfirmMessage":"Ste prepričani, da želite izbrisati besedilno polje?","deleteTextBlockConfirmAccessibilityLabel":"Potrditev izbrisa besedilnega polja","deleteTextBlockConfirmAccessibilityDescription":"Pogovorno okno, ki uporabniku omogoča potrditev ali preklic izbrisa besedilnega polja","linesCount":"{arg0, plural,\\none {{arg0} črta}\\ntwo {{arg0} črti}\\nother {{arg0} črte}\\nfew {{arg0} črte}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Brez označb}\\none {{arg0} označba}\\ntwo {{arg0} označbi}\\nother {{arg0} označb}\\nfew {{arg0} označb}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} izbrana stran}\\nother {{arg0} izbrane strani}\\nfew {{arg0} izbrane strani}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentar}\\nother {{arg0} komentarjev}\\nfew {{arg0} komentarjev}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentar}\\nother {{arg0} komentarjev}\\nfew {{arg0} komentarjev}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} preostali komentar}\\nother {{arg0} preostalih komentarjev}\\nfew {{arg0} preostalih komentarjev}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sv-f31d2ff5af0bf5cc.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sv-f31d2ff5af0bf5cc.js new file mode 100644 index 00000000..5e087bad --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-sv-f31d2ff5af0bf5cc.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6530],{99649:e=>{e.exports=JSON.parse('{"thumbnails":"Miniatyrer","pageXofY":"Sida {arg0} av {arg1}","XofY":"{arg0} av {arg1}","prevPage":"Föregående sida","nextPage":"Nästa sida","goToPage":"Gå till sida","gotoPageX":"Gå till sida {arg0}","pageX":"Sida {arg0}","pageLayout":"Sidlayout","pageMode":"Sidläge","pageModeSingle":"Enkel","pageModeDouble":"Dubbel","pageModeAutomatic":"Automatisk","pageTransition":"Sidövergång","pageTransitionContinuous":"Kontinuerlig","pageTransitionJump":"Hoppa","pageRotation":"Sidrotation","pageRotationLeft":"Rotera vänster","pageRotationRight":"Rotera höger","zoomIn":"Zooma in","zoomOut":"Zooma ut","marqueeZoom":"Markeringsverktyg","panMode":"Dragläge","fitPage":"Passa till sida","fitWidth":"Passa till bredd","annotations":"Anteckningar","noAnnotations":"Inga anteckningar","bookmark":"Bokmärke","bookmarks":"Bokmärken","noBookmarks":"Inga bokmärken","newBookmark":"Nytt bokmärke","addBookmark":"Lägg till bokmärke","removeBookmark":"Ta bort bokmärke","loadingBookmarks":"Läser in bokmärken","deleteBookmarkConfirmMessage":"Vill du radera bokmärket?","deleteBookmarkConfirmAccessibilityLabel":"Bekräfta att radera bokmärke","annotation":"Anteckning","noteAnnotation":"Anteckning","textAnnotation":"Meddelande","inkAnnotation":"Teckning","highlightAnnotation":"Textmarkering","underlineAnnotation":"Understruken","squiggleAnnotation":"Våglinje","strikeOutAnnotation":"Överstruken","print":"Skriv ut","printPrepare":"Förbereder dokument för utskrift…","searchDocument":"Sök dokument","searchPreviousMatch":"Föregående","searchNextMatch":"Nästa","searchResultOf":"{arg0} av {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} verktyg, växla meny","save":"Spara","edit":"Redigera","delete":"Radera","close":"Stäng","cancel":"Avbryt","ok":"OK","done":"Klar","clear":"Rensa","date":"Datum","time":"Tid","name":"Namn","color":"Färg","black":"Svart","white":"Vitt","blue":"Blått","red":"Rött","green":"Grönt","orange":"Orange","lightOrange":"Ljust orange","yellow":"Gult","lightYellow":"Ljusgult","lightBlue":"Ljusblå","lightRed":"Ljusröd","lightGreen":"Ljusgrön","fuchsia":"Fuchsia","purple":"Lila","pink":"Rosa","mauve":"Mauve","lightGrey":"Ljusgrått","grey":"Grått","darkGrey":"Mörkgrått","noColor":"Ingen","transparent":"Genomskinligt","darkBlue":"Mörkblått","opacity":"Opacitet","thickness":"Tjocklek","size":"Storlek","numberInPt":"{arg0} pt","font":"Typsnitt","fonts":"Typsnitt","allFonts":"Alla typsnitt","alignment":"Justering","alignmentLeft":"Vänster","alignmentRight":"Höger","alignmentCenter":"Centrerad","verticalAlignment":"Lodrät passning","horizontalAlignment":"Vågrät passning","top":"Överst","bottom":"Nedtill","deleteAnnotationConfirmMessage":"Vill du radera anteckningen?","deleteAnnotationConfirmAccessibilityLabel":"Bekräfta radera anteckning","fontFamilyUnsupported":"{arg0} (stöds ej)","sign":"Skriv under","signed":"Underskrivet","signatures":"Underskrifter","addSignature":"Lägg till signatur","clearSignature":"Rensa signatur","storeSignature":"Lagra signatur","pleaseSignHere":"Signera här","signing":"Signerar…","password":"Lösenord","unlock":"Lås upp","passwordRequired":"Lösenord krävs","unlockThisDocument":"Dokumentet måste låsas upp innan det kan visas. Ange lösenordet i fältet nedan.","incorrectPassword":"Lösenordet är fel. Försök igen.","blendMode":"Blandningsläge","normal":"Normalt","multiply":"Mångfaldiga","screenBlend":"Skärma","overlay":"Överlägg","darken":"Mörkning","lighten":"Ljusning","colorDodge":"Färgskugga","colorBurn":"Färgefterbelysning","hardLight":"Skarpt ljus","softLight":"Mjukt ljus","difference":"Differens","exclusion":"Exklusion","multiple":"Flera","linecaps-dasharray":"Linjestil","dasharray":"Linjestil","startLineCap":"Linjestart","strokeDashArray":"Linjestil","endLineCap":"Linjeslut","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellips","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinje","solid":"Heldragen","narrowDots":"Smala punkter","wideDots":"Breda punkter","narrowDashes":"Smala streck","wideDashes":"Breda streck","none":"Ingen","square":"Fyrkantig","circle":"Cirkel","diamond":"Diamant","openArrow":"Öppen pil","closedArrow":"Stängd pil","butt":"Intill","reverseOpenArrow":"Omvänd öppen pil","reverseClosedArrow":"Omvänd sluten pil","slash":"Snedstreck","fillColor":"Fyllningsfärg","cloudy":"Molnigt","arrow":"Pil","filePath":"Filsökväg","unsupportedImageFormat":"Denna typ stöds ej för bildanteckningar: {arg0}. Använd JPEG eller PNG.","noOutline":"Inget innehåll","outline":"Innehåll","imageAnnotation":"Bild","selectImage":"Välj bild","stampAnnotation":"Stämpel","highlighter":"Fri markering","textHighlighter":"Textmarkering","pen":"Teckning","eraser":"Radergummi","export":"Exportera","useAnExistingStampDesign":"Använd en befintlig stämpeldesign","createStamp":"Skapa stämpel","stampText":"Stämpeltext","chooseColor":"Välj färg","rejected":"Förkastat","accepted":"Godkänt","approved":"Godkänt","notApproved":"Ej godkänt","draft":"Utkast","final":"Färdigt","completed":"Genomfört","confidential":"Konfidentiellt","forPublicRelease":"Offentligt","notForPublicRelease":"Ej offentligt","forComment":"För kommentar","void":"Ogiltigt","preliminaryResults":"Preliminära resultat","informationOnly":"Endast för information","initialHere":"Initialsignera här","signHere":"Signera här","witness":"Bevittnat","asIs":"Som detta","departmental":"Avdelningen","experimental":"Experimentell","expired":"Förfallen","sold":"Såld","topSecret":"Kvalificerat hemlig","revised":"Ändrat","custom":"Anpassad","customStamp":"Anpassad stämpel","icon":"Symbol","iconRightPointer":"Högerpekare","iconRightArrow":"Högerpil","iconCheck":"Kryssmarkering","iconCircle":"Ellips","iconCross":"Kors","iconInsert":"Infoga text","iconNewParagraph":"Nytt stycke","iconNote":"Textanteckning","iconComment":"Kommentar","iconParagraph":"Stycke","iconHelp":"Hjälp","iconStar":"Stjärna","iconKey":"Nyckel","documentEditor":"Dokumentredigerare","newPage":"Ny sida","removePage":"Radera sidor","duplicatePage":"Duplicera","rotatePageLeft":"Rotera vänster","rotatePageRight":"Rotera höger","moveBefore":"Flytta före","moveAfter":"Flytta efter","selectNone":"Markera inga","selectAll":"Markera allt","saveAs":"Spara som…","mergeDocument":"Importera dokument","undo":"Ångra","redo":"Gör om","openMoveDialog":"Flytta","move":"Flytta","instantModifiedWarning":"Dokumentet har ändrats och är nu i skrivskyddat läge. Åtgärda detta genom att uppdatera sidan.","documentMergedHere":"Dokument kommer att slås samman här","digitalSignaturesAllValid":"Dokumentet har signerats digitalt och samtliga signaturer är giltiga.","digitalSignaturesDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen.","digitalSignaturesSignatureWarning":"Dokumentet har signerats digitalt, men minst en signatur har problem.","digitalSignaturesSignatureWarningDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen och minst en signatur har problem.","digitalSignaturesSignatureError":"Dokumentet har signerats digitalt, men minst en signatur är ogiltig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen och minst en signatur är ogiltig.","signingInProgress":"Signering pågår","signingModalDesc":"Indikerar att det aktuella dokumentet signeras","discardChanges":"Kasta ändringar","commentEditorLabel":"Lägg till din kommentar…","reply":"Svara","comment":"Kommentar","comments":"Kommentarer","showMore":"Visa fler","showLess":"Visa färre","deleteComment":"Radera kommentar","deleteCommentConfirmMessage":"Vill du radera kommentaren?","deleteCommentConfirmAccessibilityLabel":"Bekräfta radering av kommentarer","editContent":"Redigera innehåll","commentOptions":"Kommentarsalternativ","areaRedaction":"Redigera bort område","textRedaction":"Redigera bort text","redactionAnnotation":"Bortredigering","applyingRedactions":"Utför bortredigeringar","overlayTextPlaceholder":"Infoga överläggstext","outlineColor":"Kantfärg","overlayText":"Överläggstext","repeatText":"Repetera text","preview":"Förhandsvisa","applyRedactions":"Utför bortredigeringar","markupAnnotationToolbar":"Verktygsrad för anteckningar","documentViewport":"Visningsyta för dokument","redactionInProgress":"Bortredigering pågår","redactionModalDesc":"Indikerar att bortredigering pågår i aktuellt dokument","commentAction":"Kommentera","printProgressModalDesc":"Anger att ett dokument förbereds för utskrift","printProgressModal":"Utskrift pågår","documentEditorDesc":"Gör ändringar i aktuellt dokument","reloadDocumentDialog":"Bekräfta läs in dokument igen","reloadDocumentDialogDesc":"Dialogruta som ber användaren att bekräfta att dokumentet ska läsas in igen.","signatureDialog":"Underskrift","signatureDialogDesc":"Dialogruta där du kan välja en handskriven underskrift att infoga i dokumentet. Om du inte har några lagrade underskrifter kan du skapa en i bildfältet.","stampAnnotationTemplatesDialog":"Mallar för stämpelanteckningar","stampAnnotationTemplatesDialogDesc":"Dialogruta där du kan välja en stämplad anteckning att infoga i dokumentet, eller skapa en anpassad stämpel med din egen text.","selectedAnnotation":"Markerade {arg0}","commentThread":"Kommentarstråd","selectedAnnotationWithText":"Markerade {arg0} med {arg1} som innehåll","signature":"Underskrift","ElectronicSignatures_SignHereTypeHint":"Skriv din signatur ovan","ElectronicSignatures_SignHereDrawHint":"Signera här","selectDragImage":"Välj eller dra bild","replaceImage":"Ersätt bild","draw":"Rita","image":"Bild","type":"Typ","saveSignature":"Spara signatur","loading":"Läser in","selectedItem":"{arg0}, markerad.","annotationDeleted":"Raderade anteckning.","newAnnotationCreated":"Skapade ny {arg0}-anteckning.","bookmarkCreated":"Skapade bokmärke.","bookmarkEdited":"Redigerade bokmärke.","bookmarkDeleted":"Raderade bokmärke.","cancelledEditingBookmark":"Avbröt redigering av bokmärke.","selectAFileForImage":"Välj en fil för den nya bildanteckningen.","deleteAnnotationConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera anteckningen.","deleteBookmarkConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera bokmärket.","deleteCommentConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera kommentaren.","resize":"Ändra storlek","resizeHandleTop":"Överst","resizeHandleBottom":"Nedtill","resizeHandleRight":"Höger","resizeHandleLeft":"Vänster","cropCurrentPage":"Beskär aktuell sida","cropCurrent":"Beskär aktuell","cropAllPages":"Beskär alla sidor","cropAll":"Beskär alla","documentCrop":"Dokumentbeskärare","Comparison_alignButtonTouch":"Justera","Comparison_selectPoint":"Markera punkt","Comparison_documentOldTouch":"Gammalt","Comparison_documentNewTouch":"Nytt","Comparison_result":"Jämförelse","UserHint_description":"Välj tre punkter i vart dokument för manuell justering. Bäst resultat blir det från punkter nära dokumentens hörn och om punkterna kommer i samma ordning i båda dokumenten.","UserHint_dismissMessage":"Avfärda","Comparison_alignButton":"Justera dokument","documentComparison":"Dokumentjämförelse","Comparison_documentOld":"Gammalt dokument","Comparison_documentNew":"Nytt dokument","Comparison_resetButton":"Återställ","UserHint_Select":"Markera punkter","numberValidationBadFormat":"Det angivna värdet stämmer inte överens med formatet för fältet [{arg0}]","dateValidationBadFormat":"Ogiltigt datum/tid: kontrollera att datumet eller tiden finns. Fältet [{arg0}] bör stämma överens med formatet {arg1}","insertAfterPage":"Infoga efter sida","docEditorMoveBeginningHint":"Flytta den markerade sidan (sidorna) till början av dokumentet genom att skriva ”0”.","cloudyRectangleAnnotation":"Molnrektangel","dashedRectangleAnnotation":"Streckad rektangel","cloudyEllipseAnnotation":"Molnellips","dashedEllipseAnnotation":"Streckad ellips","cloudyPolygonAnnotation":"Molnpolygon","dashedPolygonAnnotation":"Streckad polygon","cloudAnnotation":"Moln","rotateCounterclockwise":"Rotera motsols","rotateClockwise":"Rotera medsols","enterDescriptionHere":"Skriv beskrivning här","addOption":"Lägg till alternativ","formDesignerPopoverTitle":"{formFieldType} egenskaper","formFieldNameExists":"Det finns redan ett formulärfält med namnet {formFieldName}. Välj ett annat namn.","styleSectionLabel":"{formFieldType} stil","formFieldName":"Formulärfältets namn","defaultValue":"Förvalt värde","multiLine":"Flera rader","radioButtonFormFieldNameWarning":"Gruppera radioknapparna genom att ge dem samma formulärfältsnamn.","advanced":"Avancerat","creatorName":"Skaparens namn","note":"Anteckning","customData":"Anpassat data","required":"Krävs","readOnly":"Endast läsning","createdAt":"Skapad","updatedAt":"Ändrad","customDataErrorMessage":"Måste vara ett rent JSON-serialiserat objekt","borderColor":"Kantfärg","borderWidth":"Kantbredd","borderStyle":"Kantstil","solidBorder":"Heldragen","dashed":"Streckad","beveled":"Fasad","inset":"Infälld","underline":"Understruken","textStyle":"Textstil","fontSize":"Teckensnittsstorlek","fontColor":"Textfärg","button":"Knappfält","textField":"Textfält","radioField":"Radioknappsfält","checkboxField":"Kryssrutefält","comboBoxField":"Kombinationsfält","listBoxField":"Listrutefält","signatureField":"Signaturfält","formDesigner":"Formulärskaparen","buttonText":"Knapptext","notAvailable":"Ej tillämpligt","label":"Etikett","value":"Värde","cannotEditOnceCreated":"Kan inte redigeras när den skapats.","formFieldNameNotEmpty":"Formulärfältet måste ha ett namn.","mediaAnnotation":"Mediaanteckning","mediaFormatNotSupported":"Denna webbläsare stöder inte inbäddning av video eller ljud.","distanceMeasurement":"Avstånd","perimeterMeasurement":"Omkrets","polygonAreaMeasurement":"Polygonens yta","rectangularAreaMeasurement":"Rektangelns yta","ellipseAreaMeasurement":"Ellipsens yta","distanceMeasurementSettings":"Måttinställningar för avstånd","perimeterMeasurementSettings":"Måttinställningar för omkrets","polygonAreaMeasurementSettings":"Måttinställningar för polygon","rectangularAreaMeasurementSettings":"Måttinställningar för rektangel","ellipseAreaMeasurementSettings":"Måttinställningar för ellips","measurementScale":"Skala","measurementCalibrateLength":"Kalibrera längd","measurementPrecision":"Precision","measurementSnapping":"Fäster","formCreator":"Formulärskaparen","group":"Gruppera","ungroup":"Dela upp","bold":"Fet","italic":"Kursiv","addLink":"Lägg till länk","removeLink":"Ta bort länk","editLink":"Redigera länk","anonymous":"Anonym","saveAndClose":"Spara och stäng","ceToggleFontMismatchTooltip":"Visa/göm verktygstips om omaka typsnitt","ceFontMismatch":"Typsnittet {arg0} är inte tillgängligt eller kan inte användas för att redigera dokumentets innehåll. Tillagt eller ändrat innehåll kommer att använda ett förvalt typsnitt.","multiAnnotationsSelection":"Markera flera anteckningar","linkSettingsPopoverTitle":"Länkinställningar","linkTo":"Länka till","uriLink":"Webbplats","pageLink":"Sida","invalidPageNumber":"Ange ett giltigt sidnummer.","invalidPageLink":"Ange en länk till sida.","linkAnnotation":"Länk","targetPageLink":"Sidnummer","rotation":"Rotation","unlockDocumentDescription":"Dokumentet måste låsas upp för att visas. Ange lösenordet i fältet nedan.","commentDialogClosed":"Öppna kommentarstråd startad av {arg0}: ”{arg1}”","moreComments":"Mer kommentarer","setScale":"Ställ in skala","useCalibrationTool":"Använd kalibreringsverktyg","calibrateScale":"Kalibrera skala","unit":"Enhet","scaleAnnotationsDeleteWarning":"Om du tar bort skalan tas även måtten som använder skalan bort.","halves":"Halva tum","quarters":"Kvarts tum","eighths":"Åttondels tum","sixteenths":"16-dels tum","addTextBox":"Lägg till textruta","deleteTextBlockConfirmMessage":"Vill du radera textrutan?","deleteTextBlockConfirmAccessibilityLabel":"Bekräfta radering av textruta","deleteTextBlockConfirmAccessibilityDescription":"Dialogruta där användaren bekräftar eller avbryter raderingen av textrutan","linesCount":"{arg0, plural,\\none {{arg0} rad}\\nother {{arg0} rader}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anteckning}\\nother {{arg0} anteckningar}\\n=0 {Inga anteckningar}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} markerad sida}\\nother {{arg0} markerade sidor}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ytterligare kommentar}\\nother {{arg0} ytterligare kommentarer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-th-5854aa1a6778ac95.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-th-5854aa1a6778ac95.js new file mode 100644 index 00000000..5acb7a6a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-th-5854aa1a6778ac95.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5666],{81446:e=>{e.exports=JSON.parse('{"thumbnails":"ภาพขนาดย่อ","pageXofY":"หน้า {arg0} จาก {arg1}","XofY":"{arg0} จาก {arg1}","prevPage":"หน้าก่อนหน้า","nextPage":"หน้าถัดไป","goToPage":"ไปที่หน้า","gotoPageX":"ไปที่หน้า {arg0}","pageX":"หน้า {arg0}","pageLayout":"การกำหนดเลย์เอาท์","pageMode":"โหมดแสดงหน้า","pageModeSingle":"เดี่ยว","pageModeDouble":"สองหน้า","pageModeAutomatic":"อัตโนมัติ","pageTransition":"การเปลี่ยนหน้า","pageTransitionContinuous":"ต่อเนื่อง","pageTransitionJump":"กระโดด","pageRotation":"การหมุนหน้า","pageRotationLeft":"หมุนซ้าย","pageRotationRight":"หมุนขวา","zoomIn":"ซูมเข้า","zoomOut":"ซูมออก","marqueeZoom":"ซูมบริเวณที่เลือก","panMode":"โหมดแพน","fitPage":"ขนาดตามหน้า","fitWidth":"ขนาดตามความกว้าง","annotations":"โน้ต","noAnnotations":"ไม่มีการทำหมายเหตุ","bookmark":"ที่คั่นหน้า","bookmarks":"ที่คั่นหน้าเว็บ","noBookmarks":"ไม่มีที่คั่นหน้าเว็บ","newBookmark":"ที่คั่นหน้าใหม่","addBookmark":"เพิ่มที่คั่นหน้า","removeBookmark":"ลบที่คั่นหน้าเว็บ","loadingBookmarks":"กำลังโหลดที่คั่นหน้า","deleteBookmarkConfirmMessage":"คุณแน่ใจหรือไม่ว่าต้องการลบที่คั่นหน้านี้","deleteBookmarkConfirmAccessibilityLabel":"ยืนยันการยกเลิกที่คั่นหน้า","annotation":"การทำโน้ต","noteAnnotation":"บันทึก","textAnnotation":"ข้อความ","inkAnnotation":"การวาด","highlightAnnotation":"ไฮไลท์ข้อความ","underlineAnnotation":"ขีดเส้นใต้","squiggleAnnotation":"ขยุกขยิก","strikeOutAnnotation":"ขีดฆ่า","print":"พิมพ์","printPrepare":"กำลังเตรียมเอกสารเพื่อพิมพ์","searchDocument":"ค้นหาเอกสาร","searchPreviousMatch":"ก่อนหน้า","searchNextMatch":"ถัดไป","searchResultOf":"{arg0} จาก {arg1}","accessibilityLabelDropdownGroupToggle":"เครื่องมือ {arg0}, เมนูเปิดปิด","save":"บันทึก","edit":"แก้ไข","delete":"ลบ","close":"ปิด","cancel":"ยกเลิก","ok":"ตกลง","done":"เสร็จ","clear":"ล้าง","date":"วันที่","time":"เวลา","name":"ชื่อ","color":"สี","black":"สีดำ","white":"สีขาว","blue":"สีน้ำเงิน","red":"สีแดง","green":"สีเขียว","orange":"สีส้ม","lightOrange":"ส้มอ่อน","yellow":"สีเหลือง","lightYellow":"เหลืองอ่อน","lightBlue":"ฟ้าอ่อน","lightRed":"แดงอ่อน","lightGreen":"เขียวอ่อน","fuchsia":"ชมพูบานเย็น","purple":"สีม่วง","pink":"สีชมพู","mauve":"ม่วงซีด","lightGrey":"เทาอ่อน","grey":"สีเทา","darkGrey":"เทาเข้ม","noColor":"ไม่มีเลย","transparent":"โปร่งใส","darkBlue":"น้ำเงินเข้ม","opacity":"ความทึบแสง","thickness":"ความหนา","size":"ขนาด","numberInPt":"{arg0} จุด","font":"แบบอักษร","fonts":"แบบอักษร","allFonts":"แบบอักษรทั้งหมด","alignment":"การจัดแนว","alignmentLeft":"ซ้าย","alignmentRight":"ขวา","alignmentCenter":"กลาง","verticalAlignment":"การวางแนวขวาง","horizontalAlignment":"ม่วงอ่อน","top":"บน","bottom":"ล่าง","deleteAnnotationConfirmMessage":"คุณแน่ใจหรือไม่ว่าต้องการลบโน้ตนี้","deleteAnnotationConfirmAccessibilityLabel":"ยืนยันการลบโน้ต","fontFamilyUnsupported":"{arg0} (ไม่รองรับ)","sign":"ลงชื่อ","signed":"เซ็นแล้ว","signatures":"ลายเซ็น","addSignature":"ลงลายเซ็น","clearSignature":"ลบลายเซ็น","storeSignature":"เก็บลายเซ็น","pleaseSignHere":"กรุณาลงชื่อที่นี่","signing":"กำลังลงเส้น…","password":"รหัสผ่าน","unlock":"ปลดล็อก","passwordRequired":"จำเป็นต้องมีพาสเวิร์ด","unlockThisDocument":"คุณต้องปลดล็อกเอกสารนี้เพื่อจะเปิดดู โปรดใส่พาสเวิร์ดในช่องด้านล่างนี้","incorrectPassword":"พาสเวิร์ดที่คุณใส่ไม่ถูกต้อง โปรดลองอีกครั้งหนึ่ง","blendMode":"โหมดผสาน","normal":"ปกติ","multiply":"การคูณ","screenBlend":"หน้าจอ","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"หลายโหมด","linecaps-dasharray":"แบบเส้น","dasharray":"แบบเส้น","startLineCap":"จุดเริ่มต้นของเส้น","strokeDashArray":"แบบเส้น","endLineCap":"จุดจบของเส้น","lineAnnotation":"เส้น","rectangleAnnotation":"สี่เหลี่ยม","ellipseAnnotation":"วงรี","polygonAnnotation":"โพลีกอน","polylineAnnotation":"โพลีไลน์","solid":"ต่อเนื่อง","narrowDots":"จุดถี่ๆ","wideDots":"จุดห่างๆ","narrowDashes":"เส้นประถี่ๆ","wideDashes":"เส้นประห่างๆ","none":"ไม่มีเลย","square":"จัตุรัส","circle":"วงกลม","diamond":"เพชร","openArrow":"ลูกศรเปิด","closedArrow":"ลูกศรปิด","butt":"ก้อน","reverseOpenArrow":"ลูกศรเปิดที่พลิกกลับ","reverseClosedArrow":"ลูกศรปิดที่พลิกกลับ","slash":"เครื่องหมายทับ","fillColor":"สีระบาย","cloudy":"ก้อนเมฆ","arrow":"ลูกศร","filePath":"ไฟล์พาธ","unsupportedImageFormat":"{arg0} ไม่รองรับสำหรับการเพิ่มโน้ตรูปภาพ โปรดใช้ JPEG หรือ PNG.","noOutline":"ไม่มีโครงร่าง","outline":"ตัวเส้นขอบ","imageAnnotation":"รูปภาพ","selectImage":"เลือกรูปภาพ","stampAnnotation":"ตราประทับ","highlighter":"การไฮไลท์แบบฟรีฟอร์ม","textHighlighter":"ปากกาไฮไลท์ข้อความ","pen":"การวาด","eraser":"ยางลบ","export":"เอ็กซ์พอร์ต","useAnExistingStampDesign":"ใช้แสตมป์ที่ออกแบบไว้","createStamp":"สร้างตราประทับ","stampText":"ข้อความของตราประทับ","chooseColor":"เลือกสี","rejected":"ถูกปฏิเสธ","accepted":"ยอมรับ","approved":"ผ่านการรับรอง","notApproved":"ไม่ผ่านการรับรอง","draft":"ฉบับร่าง","final":"สุดท้าย","completed":"เสร็จสิ้น","confidential":"เป็นความลับ","forPublicRelease":"สำหรับข่าวประชาสัมพันธ์","notForPublicRelease":"ไม่ใช่สำหรับข่าวประชาสัมพันธ์","forComment":"สำหรับแสดงความเห็น","void":"เป็นโมฆะ","preliminaryResults":"ผลลัพธ์ขั้นต้น","informationOnly":"ข้อมูลเท่านั้น","initialHere":"ลงตัวย่อที่นี่","signHere":"ลงชื่อที่นี่","witness":"พยาน","asIs":"ตามสภาพ","departmental":"ของแผนก","experimental":"ขั้นทดลอง","expired":"หมดอายุ","sold":"ขายแล้ว","topSecret":"ความลับสุดยอด","revised":"ฉบับแก้ไขปรับปรุง","custom":"กำหนดเอง","customStamp":"แต่งแสตมป์","icon":"ไอคอน","iconRightPointer":"พอยเตอร์ขวา","iconRightArrow":"ลูกศรขวา","iconCheck":"เครื่องหมายถูก","iconCircle":"วงรี","iconCross":"กากบาท","iconInsert":"ใส่ข้อความ","iconNewParagraph":"ย่อหน้าใหม่","iconNote":"โน้ตข้อความ","iconComment":"ความคิดเห็น","iconParagraph":"ย่อหน้า","iconHelp":"ความช่วยเหลือ","iconStar":"ดอกจันทร์","iconKey":"กุญแจ","documentEditor":"โปรแกรมแก้ไขเอกสาร","newPage":"หน้าใหม่","removePage":"ลบหน้า","duplicatePage":"ทำสำเนา","rotatePageLeft":"หมุนซ้าย","rotatePageRight":"หมุนขวา","moveBefore":"เลื่อนไปหน้า","moveAfter":"เลื่อนไปหลัง","selectNone":"ไม่เลือก","selectAll":"เลือกทั้งหมด","saveAs":"บันทึกเป็น…","mergeDocument":"นำเข้าเอกสาร","undo":"ถอนคำสั่งกลับ","redo":"ทำซ้ำ","openMoveDialog":"ย้าย","move":"ย้าย","instantModifiedWarning":"เอกสารมีการเปลี่ยนแปลง จึงเปิดเอกสารในโหมดสำหรับอ่านเท่านั้น โหลดใหม่อีกครั้งเพื่อแก้ไข","documentMergedHere":"จะรวมเอกสารที่นี่","digitalSignaturesAllValid":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วและทุกลายเซ็นถูกต้อง","digitalSignaturesDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ","digitalSignaturesSignatureWarning":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีหนึ่งลายเซ็นที่มีปัญหา","digitalSignaturesSignatureWarningDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ และมีอย่างน้อยหนึ่งลายเซ็นที่มีปัญหา","digitalSignaturesSignatureError":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แต่อย่างน้อยมีหนึ่งลายมือชื่อที่ไม่ถูกต้อง","digitalSignaturesSignatureErrorDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ อย่างน้อยมีหนึ่งลายเซ็นที่ไม่ถูกต้อง","signingInProgress":"กำลังลงลายมือ","signingModalDesc":"ระบุว่าเอกสารนี้ถูกลงลายมือ","discardChanges":"ยกเลิกการเปลี่ยนแปลง","commentEditorLabel":"เพิ่มความคิดเห็นของคุณ…","reply":"ตอบ","comment":"ความคิดเห็น","comments":"ความคิดเห็น","showMore":"แสดงเพิ่ม","showLess":"แสดงผลย่อ","deleteComment":"ลดความคิดเห็น","deleteCommentConfirmMessage":"คุณแน่ใจหรือไม่ที่จะลบคอมเม้นท์นี้","deleteCommentConfirmAccessibilityLabel":"ยืนยันการลบคอมเม้นท์","editContent":"แก้ไขเนื้อหา","commentOptions":"ตัวเลือกของความคิดเห็น","areaRedaction":"พื้นที่เขียนโน้ต","textRedaction":"การเขียนโน้ตข้อความ","redactionAnnotation":"การเขียนโน้ต","applyingRedactions":"กำลังใช้การเขียนโน้ต","overlayTextPlaceholder":"แทรกข้อความ","outlineColor":"สีของเส้นขอบ","overlayText":"ข้อความที่ซ้อนทับ","repeatText":"ข้อความซ้ำ","preview":"ดูตัวอย่าง","applyRedactions":"ทำการแก้ไข","markupAnnotationToolbar":"แถบเครื่องมือทำโน้ตมาร์กอัพ","documentViewport":"จุดชมวิวเอกสาร","redactionInProgress":"กำลังทำการแก้ไข","redactionModalDesc":"ระบุว่าเอกสารนี้มีการแก้ไข","commentAction":"ให้ความเห็น","printProgressModalDesc":"ระบุว่าเอกสารนี้กำลังถูกเตรียมเพื่อพิมพ์","printProgressModal":"กำลังพิมพ์","documentEditorDesc":"ทำการเปลี่ยนแปลงในเอกสารปัจจุบัน","reloadDocumentDialog":"ยืนยันการรีโหลดเอกสาร","reloadDocumentDialogDesc":"เพื่อเตรียมพร้อมผู้ใช้งานให้ยืนยันการรีโหลดเอกสาร","signatureDialog":"ลายเซ็น","signatureDialogDesc":"เพื่อให้คุณเลือกหมึกของลายเซ็นที่จะใส่ในเอกสาร หากคุณไม่ได้ทำลายเซ็นเก็บไว้ คุณสามารถสร้างขึ้นใหม่ได้ที่ช่องวาดรูป","stampAnnotationTemplatesDialog":"เทมเพล็ตแสตมป์โน้ต","stampAnnotationTemplatesDialogDesc":"เพื่อให้คุณเลือกเทมเพล็ตของแสตมป์โน้ตที่จะใส่ลงในเอกสาร หรือคุณสามารถสร้างแสตป์โน้ตด้วยข้อความของคุณเอง","selectedAnnotation":"ที่เลือกไว้ {arg0}","commentThread":"หัวข้อคอมเม้นท์","selectedAnnotationWithText":"ที่เลือกไว้ {arg0} ด้วย {arg1} เป็นคอนเทนต์","signature":"ลายเซ็น","ElectronicSignatures_SignHereTypeHint":"พิมพ์ลายเซ็นของคุณด้านบน","ElectronicSignatures_SignHereDrawHint":"ลงชื่อที่นี่","selectDragImage":"เลือกหรือลากรูปภาพ","replaceImage":"แทนที่รูปภาพ","draw":"วาด","image":"รูปภาพ","type":"พิมพ์","saveSignature":"บันทึกลายเซ็น","loading":"กำลังโหลด","selectedItem":"{arg0}, ที่เลือก","annotationDeleted":"โน้ตที่ลบแล้ว","newAnnotationCreated":"{arg0} โน้ตใหม่ที่สร้างแล้ว","bookmarkCreated":"ที่คั่นหน้าที่สร้างไว้","bookmarkEdited":"ที่คั่นหน้าที่แก้ไข","bookmarkDeleted":"ที่คั่นหน้าที่ลบแล้ว","cancelledEditingBookmark":"การแก้ไขที่คั่นหน้าที่ยกเลิก","selectAFileForImage":"เลือกไฟล์สำหรับการทำโน้ตรูปภาพใหม่","deleteAnnotationConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบโน้ต","deleteBookmarkConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบที่คั่นหน้า","deleteCommentConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบคอมเมนท์","resize":"ปรับขนาด","resizeHandleTop":"บน","resizeHandleBottom":"ล่าง","resizeHandleRight":"ขวา","resizeHandleLeft":"ซ้าย","cropCurrentPage":"ครอบตัดหน้าปัจจุบัน","cropCurrent":"ครอบตัดปัจจุบัน","cropAllPages":"ครอบตัดทั้งหน้า","cropAll":"ครอบตัดทั้งหมด","documentCrop":"ครอบตัดเอกสาร","Comparison_alignButtonTouch":"จัดตำแหน่ง","Comparison_selectPoint":"เลือกจุด","Comparison_documentOldTouch":"เก่า","Comparison_documentNewTouch":"ใหม่","Comparison_result":"เปรียบเทียบ","UserHint_description":"เลือกสามจุดในเอกสารทั้งสองสำหรับการจัดตำแหน่งด้วยตนเอง เพื่อผลลัพธ์ที่ดีที่สุด ให้เลือกจุดที่ใกล้กับมุมของเอกสาร เพื่อให้แน่ใจว่าจุดต่างๆ จะอยู่ในลำดับเดียวกันในเอกสารทั้งสองฉบับ","UserHint_dismissMessage":"ยกเลิก","Comparison_alignButton":"จัดตำแหน่งเอกสาร","documentComparison":"การเปรียบเทียบเอกสาร","Comparison_documentOld":"เอกสารเก่า","Comparison_documentNew":"เอกสารใหม่","Comparison_resetButton":"รีเซ็ต","UserHint_Select":"การเลือกจุด","numberValidationBadFormat":"ค่าที่ใส่ไม่ตรงกับฟอร์แมตของช่อง[{arg0}]","dateValidationBadFormat":"วัน/เวลาไม่ถูกต้อง กรุณาตรวจสอบวัน/เวลาที่ปรากฎอยู่ ช่อง[{arg0}]ควรตรงกับฟอร์แมต{arg1}","insertAfterPage":"แทรกหลังจากหน้า","docEditorMoveBeginningHint":"พิมพ์ “0” เพื่อย้ายหน้าที่เลือกไปยังจุดเริ่มต้นของเอกสาร","cloudyRectangleAnnotation":"เมฆสี่เหลี่ยมผืนผ้า","dashedRectangleAnnotation":"สี่เหลี่ยมผืนผ้าเส้นประ","cloudyEllipseAnnotation":"เมฆวงรี","dashedEllipseAnnotation":"วงรีเส้นประ","cloudyPolygonAnnotation":"เมฆหลายเหลี่ยม","dashedPolygonAnnotation":"หลายเหลี่ยมเส้นประ","cloudAnnotation":"เมฆ","rotateCounterclockwise":"หมุนทวนเข็มนาฬิกา","rotateClockwise":"หมุนตามเข็มนาฬิกา","enterDescriptionHere":"ใส่คำอธิบายที่นี่","addOption":"เพิ่มตัวเลือก","formDesignerPopoverTitle":"คุณสมบัติของ{formFieldType}","formFieldNameExists":"ชื่อที่ตั้งไว้สำหรับช่องฟอร์ม{formFieldName}นี้ได้ใช้ไปแล้ว โปรดเลือกชื่ออื่น","styleSectionLabel":"รูปแบบ{formFieldType}","formFieldName":"ชื่อช่องฟอร์ม","defaultValue":"ค่าเริ่มต้น","multiLine":"มัลติไลน์","radioButtonFormFieldNameWarning":"หากต้องการจัดกลุ่มปุ่มตัวเลือก ตรวจสอบให้แน่ใจว่าปุ่มเหล่านี้มีชื่อช่องฟอร์มเหมือนกัน","advanced":"ขั้นสูง","creatorName":"ชื่อผู้สร้าง","note":"หมายเหตุ","customData":"ข้อมูลที่กำหนดเอง","required":"จำเป็น","readOnly":"อ่านเท่านั้น","createdAt":"สร้างขึ้น","updatedAt":"อัพเดทเมื่อ","customDataErrorMessage":"ต้องเป็นออบเจ็กต์ JSON ธรรมดาที่แปลงได้","borderColor":"สีของเส้นขอบ","borderWidth":"ความกว้างของเส้นขอบ","borderStyle":"รูปแบบเส้นขอบ","solidBorder":"ต่อเนื่อง","dashed":"เส้นปรุ","beveled":"ขอบตัด","inset":"แทรก","underline":"ขีดเส้นใต้","textStyle":"รูปแบบข้อความ","fontSize":"ขนาดแบบอักษร","fontColor":"สีแบบอักษร","button":"ช่องของปุ่ม","textField":"ช่องใส่ข้อความ","radioField":"ช่องตัวเลือก","checkboxField":"ช่องติ๊ก","comboBoxField":"ช่องข้อมูลคอมโบ","listBoxField":"ช่องข้อมูลรายการ","signatureField":"ช่องลายเซ็น","formDesigner":"สร้างแบบฟอร์ม","buttonText":"ปุ่มข้อความ","notAvailable":"ไม่มี","label":"ฉลาก","value":"ค่า","cannotEditOnceCreated":"เมื่อสร้างแล้วไม่สามารถแก้ไขได้","formFieldNameNotEmpty":"ชื่อช่องแบบฟอร์มต้องไม่เว้นว่าง","mediaAnnotation":"โน้ตประกอบสื่อ","mediaFormatNotSupported":"เบราว์เซอร์นี้ไม่รองรับวิดีโอหรือเสียงที่ฝัง","distanceMeasurement":"ระยะห่าง","perimeterMeasurement":"เส้นรอบรูป","polygonAreaMeasurement":"พื้นที่รูปหลายเหลี่ยม","rectangularAreaMeasurement":"พื้นที่รูปสี่เหลี่ยม","ellipseAreaMeasurement":"พื้นที่วงรี","distanceMeasurementSettings":"การตั้งค่าขนาดระยะห่าง","perimeterMeasurementSettings":"การตั้งค่าขนาดเส้นรอบรูป","polygonAreaMeasurementSettings":"การตั้งค่าการวัดพื้นที่รูปหลายเหลี่ยม","rectangularAreaMeasurementSettings":"การตั้งค่าขนาดพื้นที่สี่เหลี่ยมผืนผ้า","ellipseAreaMeasurementSettings":"การตั้งค่าการวัดพื้นที่วงรี","measurementScale":"ขนาด","measurementCalibrateLength":"ปรับค่าความยาว","measurementPrecision":"ความแม่นยำ","measurementSnapping":"การสแนป","formCreator":"สร้างแบบฟอร์ม","group":"จัดกลุ่ม","ungroup":"แยกการจัดกลุ่ม","bold":"ตัวหนา","italic":"ตัวเอน","addLink":"เพิ่มลิงก์","removeLink":"ลบลิงก์","editLink":"แก้ไขลิงก์","anonymous":"นิรนาม","saveAndClose":"บันทึก & ปิด","ceToggleFontMismatchTooltip":"ทูลทิปเปลี่ยนแบบตัวอักษรที่ไม่ตรงกัน","ceFontMismatch":"แบบอักษร {arg0} ไม่พร้อมใช้งาน หรืไม่สามารถใช้ในการแก้ไขเนื้อหาในเอกสารนี้ เนื้อหาที่เพิ่มหรือเปลี่ยนแปลงจะเปลี่ยนกลับเป็นแบบอักษรเริ่มต้น","multiAnnotationsSelection":"เลือกโน้ตหลายรายการ","linkSettingsPopoverTitle":"การตั้งค่าลิงก์","linkTo":"ลิงก์ไปยัง","uriLink":"เว็บไซต์","pageLink":"หน้า","invalidPageNumber":"โปรดใส่หมายเลขหน้าที่ถูกต้อง","invalidPageLink":"กรุณาใส่ลิงก์ของหน้าที่ถูกต้อง","linkAnnotation":"ลิงก์","targetPageLink":"หมายเลขหน้า","rotation":"การหมุน","unlockDocumentDescription":"คุณต้องปลดล็อกเอกสารนี้เพื่อดู กรุณากรอกรหัสผ่านในช่องด้านล่าง","commentDialogClosed":"เปิดหัวข้อคอมเม้นท์ที่เริ่มต้นโดย {arg0}: “{arg1}”","moreComments":"ความคิดเห็นเพิ่มเติม","setScale":"ตั้งค่าเครื่องวัด","useCalibrationTool":"ใช้เครื่องมือสอบเทียบ","calibrateScale":"สอบเทียบเครื่องวัด","unit":"หน่วย","scaleAnnotationsDeleteWarning":"การลบเครื่องวัดจะลบค่าการวัดที่ใช้ในเครื่องวัดด้วย","halves":"ครึ่งนิ้ว","quarters":"หนึ่งในสี่ส่วนนิ้ว","eighths":"ส่วนแปดนิ้ว","sixteenths":"ส่วนสิบหกนิ้ว","addTextBox":"เพิ่มกล่องข้อความ","deleteTextBlockConfirmMessage":"คุณแน่ใจหรือไม่ว่าต้องการลบกล่องข้อความนี้","deleteTextBlockConfirmAccessibilityLabel":"ยืนยันการลบกล่องข้อความ","deleteTextBlockConfirmAccessibilityDescription":"กล่องโต้ตอบที่อนุญาตให้ผู้ใช้ยืนยันหรือยกเลิกการลบกล่องข้อความ","linesCount":"{arg0, plural,\\nother {{arg0} เส้น}\\n}","annotationsCount":"{arg0, plural,\\nother {หมายเหตุ {arg0} แห่ง}\\n=0 {ไม่มีหมายเหตุ}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} หน้าที่เลือก}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} ข้อความ}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} ข้อความ}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} คอมเม้นท์}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-tr-8b97d09c42078a26.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-tr-8b97d09c42078a26.js new file mode 100644 index 00000000..f3113c58 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-tr-8b97d09c42078a26.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[407],{18141:e=>{e.exports=JSON.parse('{"thumbnails":"Küçük Resimler","pageXofY":"Sayfa {arg0}/{arg1}","XofY":"{arg0} / {arg1}","prevPage":"Önceki Sayfa","nextPage":"Sonraki Sayfa","goToPage":"Sayfaya Git","gotoPageX":"{arg0}. sayfaya git","pageX":"Sayfa {arg0}","pageLayout":"Sayfa Düzeni","pageMode":"Sayfa Modu","pageModeSingle":"Tek","pageModeDouble":"Çift","pageModeAutomatic":"Otomatik","pageTransition":"Sayfa Geçişi","pageTransitionContinuous":"Sürekli","pageTransitionJump":"Atlamalı","pageRotation":"Sayfa Dönüşü","pageRotationLeft":"Sola Döndür","pageRotationRight":"Sağa Döndür","zoomIn":"Büyüt","zoomOut":"Küçült","marqueeZoom":"Seçim Çerçeve Aracı","panMode":"Pan Modu","fitPage":"Sayfaya Sığdır","fitWidth":"Genişliğe Sığdır","annotations":"Notlar","noAnnotations":"Not Yok","bookmark":"Yer İmi","bookmarks":"Yer İmleri","noBookmarks":"Yer İmi Yok","newBookmark":"Yeni Yer İmi","addBookmark":"Yer İmi Ekle","removeBookmark":"Yer İmini Sil","loadingBookmarks":"Yer İmleri Yükleniyor","deleteBookmarkConfirmMessage":"Bu yer imini silmek istediğinizden emin misiniz?","deleteBookmarkConfirmAccessibilityLabel":"Yer imini silmeyi onayla","annotation":"Not","noteAnnotation":"Not","textAnnotation":"Metin","inkAnnotation":"Çizim","highlightAnnotation":"Metin Vurgusu","underlineAnnotation":"Alt Çizgi","squiggleAnnotation":"Eğri","strikeOutAnnotation":"Üst Çizgi","print":"Yazdır","printPrepare":"Belge yazdırma için hazırlanıyor…","searchDocument":"Dökümanda Ara","searchPreviousMatch":"Geri","searchNextMatch":"Sonraki","searchResultOf":"{arg0} / {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} araçları, menüyü aç/kapat","save":"Kaydet","edit":"Düzenle","delete":"Sil","close":"Kapat","cancel":"Vazgeç","ok":"Tamam","done":"Bitti","clear":"Temizle","date":"Tarih","time":"Saat","name":"Ad","color":"Renk","black":"Siyah","white":"Beyaz","blue":"Mavi","red":"Kırmızı","green":"Yeşil","orange":"Turuncu","lightOrange":"Açık Turuncu","yellow":"Sarı","lightYellow":"Açık Sarı","lightBlue":"Açık Mavi","lightRed":"Açık Kırmızı","lightGreen":"Açık Yeşil","fuchsia":"Fuşya","purple":"Mor","pink":"Pembe","mauve":"Eflatun","lightGrey":"Açık Gri","grey":"Gri","darkGrey":"Koyu Gri","noColor":"Hiçbiri","transparent":"Şeffaf","darkBlue":"Koyu Mavi","opacity":"Saydamlık","thickness":"Kalınlık","size":"Büyüklük","numberInPt":"{arg0} pt","font":"Fontlar","fonts":"Fontlar","allFonts":"Tüm Fontlar","alignment":"Hizalama","alignmentLeft":"Sol","alignmentRight":"Sağ","alignmentCenter":"Merkez","verticalAlignment":"Dikey Hizalama","horizontalAlignment":"Yatay Hizalama","top":"Yukarı","bottom":"Aşağı","deleteAnnotationConfirmMessage":"Bu not tamamen silinsin mi?","deleteAnnotationConfirmAccessibilityLabel":"Notu silmeyi onaylayın","fontFamilyUnsupported":"{arg0} (desteklenmiyor)","sign":"İmzala","signed":"İmzalandı","signatures":"İmzalar","addSignature":"İmza Ekle","clearSignature":"İmzayı Sil","storeSignature":"İmzayı Arşivle","pleaseSignHere":"Lütfen burayı imzalayın","signing":"İmzalanıyor…","password":"Şifre","unlock":"Kilidi Aç","passwordRequired":"Şifre Gerekiyor","unlockThisDocument":"Görmek için bu belgenin kilidini açmanız gerekiyor. Lütfen şifreyi aşağıdaki alana girin.","incorrectPassword":"Girmiş olduğunuz şifre geçersiz. Lütfen tekrar deneyin.","blendMode":"Karışım Modu","normal":"Normal","multiply":"Çoğalt","screenBlend":"Ekran","overlay":"Tabaka","darken":"Karart","lighten":"Aydınlat","colorDodge":"Renk Soldurma","colorBurn":"Renk Yakma","hardLight":"Güçlü Işık","softLight":"Yumuşak Işık","difference":"Fark","exclusion":"Dışla","multiple":"Çoklu","linecaps-dasharray":"Çizgi Stili","dasharray":"Çizgi Stili","startLineCap":"Satır Başlangıcı","strokeDashArray":"Çizgi Stili","endLineCap":"Satır Sonu","lineAnnotation":"Çizgi","rectangleAnnotation":"Dikdörtgen","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Devamlı Çizgi","solid":"Düz","narrowDots":"İnce Nokta","wideDots":"Kalın Nokta","narrowDashes":"İnce Tire","wideDashes":"Kalın Tire","none":"Hiçbiri","square":"Kare","circle":"Daire","diamond":"Karo","openArrow":"Açık Ok","closedArrow":"Kapalı Ok","butt":"Uç","reverseOpenArrow":"Ters Açık Ok","reverseClosedArrow":"Ters Kapalı Ok","slash":"Bölme İşareti","fillColor":"Doldurma Rengi","cloudy":"Bulutlu","arrow":"Ok","filePath":"Dosya Yolu","unsupportedImageFormat":"Resim notları için desteklenmeyen format: {arg0}. Lütfen bir JPEG veya PNG kullanın.","noOutline":"Çerçeve Yok","outline":"Çerçeve","imageAnnotation":"Resim","selectImage":"Resim Seç","stampAnnotation":"Damga","highlighter":"Serbest Vurgu","textHighlighter":"Metin Vurgulayıcı","pen":"Çizim","eraser":"Silgi","export":"Dışa Aktar","useAnExistingStampDesign":"Mevcut bir damga tasarımı kullan","createStamp":"Damga Yarat","stampText":"Damga Metni","chooseColor":"Renk Seç","rejected":"Kabul Edilmedi","accepted":"Kabul Edildi","approved":"Onaylandı","notApproved":"Onaylanmadı","draft":"Taslak","final":"Son","completed":"Tamamlandı","confidential":"Gizli","forPublicRelease":"Genel Sürüm","notForPublicRelease":"Özel Sürüm","forComment":"Yorum","void":"Geçersiz","preliminaryResults":"Ön Sonuçlar","informationOnly":"Sadece Bilgi","initialHere":"Başharfler Buraya","signHere":"Burayı İmzala","witness":"Şahit","asIs":"Olduğu Gibi","departmental":"Birimsel","experimental":"Deneyimsel","expired":"Süresi Doldu","sold":"Satıldı","topSecret":"Çok Özel","revised":"Gözden Geçirildi","custom":"Özel","customStamp":"Kişisel Damga","icon":"Simge","iconRightPointer":"Sağ İşaretçi","iconRightArrow":"Sağ Ok","iconCheck":"Onay İşareti","iconCircle":"Elips","iconCross":"Çarpı","iconInsert":"Metin Ekle","iconNewParagraph":"Yeni Paragraf","iconNote":"Metin Notu","iconComment":"Yorum","iconParagraph":"Paragraf","iconHelp":"Yardım","iconStar":"Yıldız","iconKey":"Anahtar","documentEditor":"Belge Editörü","newPage":"Yeni Sayfa","removePage":"Sayfaları Sil","duplicatePage":"Çoğalt","rotatePageLeft":"Sola Döndür","rotatePageRight":"Sağa Döndür","moveBefore":"Öncesine Taşı","moveAfter":"Sonrasına Taşı","selectNone":"Hiçbirini Seçme","selectAll":"Tümünü Seç","saveAs":"Kaydet…","mergeDocument":"Belgeyi İçe Aktar","undo":"Geri Al","redo":"Yinele","openMoveDialog":"Taşı","move":"Taşı","instantModifiedWarning":"Belge değiştirilmiş olup, yalnızca okuma modunda. Düzeltmek için sayfayı yineleyin.","documentMergedHere":"Belge burada birleştirilecek","digitalSignaturesAllValid":"Bu belge dijital olarak imzalanmış olup tüm imzaları geçerlidir.","digitalSignaturesDocModified":"Bu belge dijital olarak imzalanmış ama imzalandıktan sonra değiştirilmiştir.","digitalSignaturesSignatureWarning":"Bu belge dijital olarak imzalanmış ama en az bir imzasında sorun bulunmaktadır.","digitalSignaturesSignatureWarningDocModified":"Bu belge dijital olarak imzalanmıştır ama imzalandıktan sonra değiştirilmiş olup en az bir imzasında sorun bulunmaktadır.","digitalSignaturesSignatureError":"Bu belge dijital olarak imzalanmış ama en az bir imzası geçersizdir.","digitalSignaturesSignatureErrorDocModified":"Bu belge dijital olarak imzalanmış ama imzalandıktan sonra değiştirilmiş olup en az bir imzası geçersizdir.","signingInProgress":"Giriş yapılıyor","signingModalDesc":"Mevcut belgenin imzalanmakta olduğunu belirtiyor","discardChanges":"Değişiklikleri Gözardı Et","commentEditorLabel":"Yorum ekleyin…","reply":"Yanıtla","comment":"Yorum","comments":"Yorumlar","showMore":"Daha fazla göster","showLess":"Daha az göster","deleteComment":"Yorumu Sil","deleteCommentConfirmMessage":"Bu yorumu silmek istediğinizden emin misiniz?","deleteCommentConfirmAccessibilityLabel":"Yorumu silmeyi onayla","editContent":"İçeriği düzenle","commentOptions":"Yorum seçenekleri","areaRedaction":"Alan Redaksiyonu","textRedaction":"Metin Redaksiyonu","redactionAnnotation":"Redaksiyon","applyingRedactions":"Redaksiyonlar uygulanıyor","overlayTextPlaceholder":"Tabaka metnini ekle","outlineColor":"Çerçeve Rengi","overlayText":"Dolgu Metni","repeatText":"Metin Tekrarlansın","preview":"Ön İzleme","applyRedactions":"Redaksiyonları Uygula","markupAnnotationToolbar":"Not işaretleme araç çubuğu","documentViewport":"Belge görünüm konumu","redactionInProgress":"Redaksiyon yapılıyor","redactionModalDesc":"Mevcut belgenin redakte edilmekte olduğunu gösteriyor","commentAction":"Yorum Ekle","printProgressModalDesc":"Belgenin yazdırmaya hazırlanmakta olduğunu gösteriyor","printProgressModal":"Yazdırılıyor","documentEditorDesc":"Mevcut belgeyi değiştirin","reloadDocumentDialog":"Belge yenilemeyi onayla","reloadDocumentDialogDesc":"Belge yenilenmesinin onaylaması için beliren diyalog.","signatureDialog":"İmza","signatureDialogDesc":"Bu diyalog belgeye bir mürekkep imzası seçmenizi sağlıyor. Eğer kayıtlı imzalarınız yoksa kanvas görünümünü kullanarak bir tane oluşturabilirsiniz.","stampAnnotationTemplatesDialog":"Damga Not Şablonları","stampAnnotationTemplatesDialogDesc":"Bu diyalog belgeye bir damga notu seçmenizi veya kendi metninizden özel damga notu oluşturmanızı sağlıyor.","selectedAnnotation":"Seçili {arg0}","commentThread":"Yorumlar","selectedAnnotationWithText":"İçerik olarak {arg0} ile seçili {arg1}","signature":"İmza","ElectronicSignatures_SignHereTypeHint":"İmzanızı Yukarı Girin","ElectronicSignatures_SignHereDrawHint":"Burayı İmzala","selectDragImage":"Bir Resim Seç veya Sürükle","replaceImage":"Resmi Değiştir","draw":"Çiz","image":"Resim","type":"Yaz","saveSignature":"İmzayı Kaydet","loading":"Yükleniyor","selectedItem":"{arg0}, seçili.","annotationDeleted":"Not silindi.","newAnnotationCreated":"Yeni {arg0} notu oluşturuldu.","bookmarkCreated":"Yer imi oluşturuldu.","bookmarkEdited":"Yer imi düzenlendi.","bookmarkDeleted":"Yer imi silindi.","cancelledEditingBookmark":"Yer imi düzenlenmesinden vazgeçildi.","selectAFileForImage":"Yeni foto notu için bir dosya seçin.","deleteAnnotationConfirmAccessibilityDescription":"Not silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","deleteBookmarkConfirmAccessibilityDescription":"Yer imi silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","deleteCommentConfirmAccessibilityDescription":"Yorum silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","resize":"Yeniden Boyutlandır","resizeHandleTop":"En Üst","resizeHandleBottom":"En Alt","resizeHandleRight":"Sağ","resizeHandleLeft":"Sol","cropCurrentPage":"Mevcut Sayfayı Kırp","cropCurrent":"Mevcudu Kırp","cropAllPages":"Tüm Sayfaları Kırp","cropAll":"Tümünü Kırp","documentCrop":"Belgeyi Kırp","Comparison_alignButtonTouch":"Hizala","Comparison_selectPoint":"Nokta Seç","Comparison_documentOldTouch":"Eski","Comparison_documentNewTouch":"Yeni","Comparison_result":"Karşılaştırma","UserHint_description":"Elle hizalamak için her iki belgenizde üç nokta seçin. İdeal performans için noktaları her iki belgede de aynı hizada olacak şekilde belge köşelerine yakın yerlerden seçin.","UserHint_dismissMessage":"Kapat","Comparison_alignButton":"Belgeleri Hizala","documentComparison":"Belge Karşılaştırma","Comparison_documentOld":"Eski Belge","Comparison_documentNew":"Yeni Belge","Comparison_resetButton":"Sıfırla","UserHint_Select":"Noktalar Seçimi","numberValidationBadFormat":"Girilen değer, [{arg0}] kısmından beklenen formatla uyuşmuyor","dateValidationBadFormat":"Geçersiz tarih/zaman: lütfen gün/zaman bilgisini girin. [{arg0}] alanı {arg1} formatıyla uyuşmak zorunda","insertAfterPage":"Sayfadan sonra ekle","docEditorMoveBeginningHint":"“0” yazarak seçili sayfa veya sayfaları belgenin başına taşıyın.","cloudyRectangleAnnotation":"Bulutlu Dikdörtgen","dashedRectangleAnnotation":"Kesik Çizgili Dikdörtgen","cloudyEllipseAnnotation":"Bulutlu Elips","dashedEllipseAnnotation":"Kesik Çizgili Elips","cloudyPolygonAnnotation":"Bulutlu Poligon","dashedPolygonAnnotation":"Kesik Çizgili Poligon","cloudAnnotation":"Bulut","rotateCounterclockwise":"Saat yönünün tersine döndür","rotateClockwise":"Saat yönüne döndür","enterDescriptionHere":"Açıklamayı buraya girin","addOption":"Seçenek ekle","formDesignerPopoverTitle":"{formFieldType} Özellikleri","formFieldNameExists":"{formFieldName} adlı bir form alanı zaten var. Lütfen farklı bir ad seçin.","styleSectionLabel":"{formFieldType} Stili","formFieldName":"Form Alanı Adı","defaultValue":"Saptanmış Değer","multiLine":"Çok satırlı","radioButtonFormFieldNameWarning":"Radyo düğmelerini gruplandırmak için aynı form alanı adlarına sahip olduklarından emin olun.","advanced":"Gelişmiş Ayarlar","creatorName":"Oluşturanın Adı","note":"Not","customData":"Özel Veriler","required":"Zorunlu","readOnly":"Salt Okunur","createdAt":"Oluşturulma Tarihi","updatedAt":"Güncellenme Tarihi","customDataErrorMessage":"Yalın JSON-serilenebilir bir nesne olmalıdır","borderColor":"Kenarlık Rengi","borderWidth":"Kenarlık Kalınlığı","borderStyle":"Kenarlık Stili","solidBorder":"Sürekli","dashed":"Kesikli","beveled":"Eğimli","inset":"İç Metin","underline":"Altı Çizgili","textStyle":"Metin Stili","fontSize":"Yazı Tipi Boyutu","fontColor":"Yazı Tipi Rengi","button":"Düğme Alanı","textField":"Metin Alanı","radioField":"Radyo Alanı","checkboxField":"Onay Kutusu Alanı","comboBoxField":"Açılır Kutu Alanı","listBoxField":"Liste Kutusu Alanı","signatureField":"İmza Alanı","formDesigner":"Form Oluşturucu","buttonText":"Düğme Metni","notAvailable":"Yok","label":"Etiket","value":"Değer","cannotEditOnceCreated":"Oluşturulduktan sonra düzenlenemez.","formFieldNameNotEmpty":"Form alanı adı boş bırakılamaz.","mediaAnnotation":"Medya Notu","mediaFormatNotSupported":"Bu tarayıcı gömülü video veya sesleri desteklemiyor.","distanceMeasurement":"Mesafe","perimeterMeasurement":"Çevre","polygonAreaMeasurement":"Çokgenin Alanı","rectangularAreaMeasurement":"Dikdörtgenin Alanı","ellipseAreaMeasurement":"Elipsin Alanı","distanceMeasurementSettings":"Mesafe ölçüm ayarları","perimeterMeasurementSettings":"Çevre ölçüm ayarları","polygonAreaMeasurementSettings":"Çokgen alan ölçüm ayarları","rectangularAreaMeasurementSettings":"Dikdörtgen alan ölçüm ayarları","ellipseAreaMeasurementSettings":"Elips alan ölçüm ayarları","measurementScale":"Ölçek","measurementCalibrateLength":"Uzunluğu Kalibre Et","measurementPrecision":"Hassasiyet","measurementSnapping":"Tutunma","formCreator":"Form Oluşturucu","group":"Grupla","ungroup":"Grubu Kaldır","bold":"Kalın","italic":"İtalik","addLink":"Bağlantı Ekle","removeLink":"Bağlantıyı Kaldır","editLink":"Bağlatıyı Düzenle","anonymous":"Anonim","saveAndClose":"Kaydet ve kapat","ceToggleFontMismatchTooltip":"Yazı tipi uyumsuzluğu araç ipucunu aç/kapat","ceFontMismatch":"{arg0} yazı tipi yok veya bu belgede içerik düzenlemek için kullanılamıyor. Eklenen veya değiştirilen içerikler varsayılan bir yazı tipine dönüştürülecek.","multiAnnotationsSelection":"Birden çok not seç","linkSettingsPopoverTitle":"Bağlantı Ayarları","linkTo":"Şuraya bağlan:","uriLink":"Web sitesi","pageLink":"Sayfa","invalidPageNumber":"Geçerli bir sayfa numarası girin.","invalidPageLink":"Geçerli bir sayfa bağlantısı girin.","linkAnnotation":"Bağlantı","targetPageLink":"Sayfa Numarası","rotation":"Döndürme","unlockDocumentDescription":"Görmek için bu belgenin kilidini açmanız gerekiyor. Lütfen şifreyi aşağıdaki alana girin.","commentDialogClosed":"{arg0} tarafından başlatılan yorum dizisini aç: \\"{arg1}\\"","moreComments":"Daha fazla yorum","setScale":"Ölçeği belirle","useCalibrationTool":"Kalibrasyon aracını kullan","calibrateScale":"Ölçek Kalibrasyonu","unit":"Birim","scaleAnnotationsDeleteWarning":"Ölçeği sildiğinizde ölçeği kullanan ölçümler de silinir.","halves":"Yarım inç","quarters":"Çeyrek inç","eighths":"İnçin sekizde biri","sixteenths":"İnçin on altıda biri","addTextBox":"Metin kutusu ekle","deleteTextBlockConfirmMessage":"Bu metin kutusunu silmek istediğinizden emin misiniz?","deleteTextBlockConfirmAccessibilityLabel":"Metin kutusu silmeyi onaylayın","deleteTextBlockConfirmAccessibilityDescription":"Metin kutusunu silmeyi onaylayacağınız veya iptal edeceğiniz iletişim penceresi","linesCount":"{arg0, plural,\\none {{arg0} çizgi}\\nother {{arg0} çizgi}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} not}\\nother {{arg0} not}\\n=0 {Not Yok}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} sayfa seçildi}\\nother {{arg0} sayfa seçildi}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} yorum}\\nother {{arg0} yorum}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} yorum}\\nother {{arg0} yorum}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} fazla yorum}\\nother {{arg0} fazla yorum}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-uk-a7a5da33c16216d8.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-uk-a7a5da33c16216d8.js new file mode 100644 index 00000000..926f5314 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-uk-a7a5da33c16216d8.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3095],{76911:e=>{e.exports=JSON.parse('{"thumbnails":"Мініатюри","pageXofY":"Сторінка {arg0} з {arg1}","XofY":"{arg0} з {arg1}","prevPage":"Попередня сторінка","nextPage":"Наступна сторінка","goToPage":"Перейти на сторінку","gotoPageX":"Перейти на сторінку {arg0}","pageX":"Сторінка {arg0}","pageLayout":"Розкладка сторінки","pageMode":"Режим сторінок","pageModeSingle":"По одній","pageModeDouble":"Дві сторінки","pageModeAutomatic":"Автоматично","pageTransition":"Перехід між сторінками","pageTransitionContinuous":"Безперервний","pageTransitionJump":"Стрибок","pageRotation":"Повернути сторінки","pageRotationLeft":"Повернути ліворуч","pageRotationRight":"Повернути праворуч","zoomIn":"Збільшити","zoomOut":"Зменшити","marqueeZoom":"Область масштабування","panMode":"Режим панорами","fitPage":"Масштабування по сторінці","fitWidth":"Масштабування по ширині","annotations":"Примітки","noAnnotations":"Немає приміток","bookmark":"Закладка","bookmarks":"Закладки","noBookmarks":"Немає закладок","newBookmark":"Нова закладка","addBookmark":"Додати закладку","removeBookmark":"Видалити закладку","loadingBookmarks":"Завантаження закладок","deleteBookmarkConfirmMessage":"Видалити цю закладку?","deleteBookmarkConfirmAccessibilityLabel":"Підтвердити видалення закладки","annotation":"Примітка","noteAnnotation":"Примітка","textAnnotation":"Текст","inkAnnotation":"Малюнок","highlightAnnotation":"Виділення тексту","underlineAnnotation":"Підкреслити","squiggleAnnotation":"Хвилясте","strikeOutAnnotation":"Закреслення","print":"Друк","printPrepare":"Готуємо документ до друку…","searchDocument":"Шукати в документі","searchPreviousMatch":"Попередня","searchNextMatch":"Наступна","searchResultOf":"{arg0} з {arg1}","accessibilityLabelDropdownGroupToggle":"інструменти {arg0}, увімкнути меню","save":"Зберегти","edit":"Редагувати","delete":"Видалити","close":"Закрити","cancel":"Скасувати","ok":"ОК","done":"Готово","clear":"Очистити","date":"Дата","time":"Час","name":"Ім\'я","color":"Колір","black":"Чорний","white":"Білий","blue":"Синій","red":"Червоний","green":"Зелений","orange":"Помаранчевий","lightOrange":"Світло-помаранчевий","yellow":"Жовтий","lightYellow":"Світло-жовтий","lightBlue":"Блакитний","lightRed":"Рожевий","lightGreen":"Світло-зелений","fuchsia":"Фуксія","purple":"Фіолетовий","pink":"Рожевий","mauve":"Бузковий","lightGrey":"Світло-сірий","grey":"Сірий","darkGrey":"Темно-сірий","noColor":"Немає","transparent":"Прозорий","darkBlue":"Темно-синій","opacity":"Непрозорість","thickness":"Товщина","size":"Розмір","numberInPt":"{arg0} пт","font":"Шрифт","fonts":"Шрифти","allFonts":"Всі шрифти","alignment":"Вирівнювання","alignmentLeft":"Ліво","alignmentRight":"Право","alignmentCenter":"Центр","verticalAlignment":"Вертикальне вирівнювання","horizontalAlignment":"Горизонтальне вирівнювання","top":"Верх","bottom":"Низ","deleteAnnotationConfirmMessage":"Видалити цю примітку?","deleteAnnotationConfirmAccessibilityLabel":"Підтвердити видалення примітки","fontFamilyUnsupported":"«{arg0}» не підтримується","sign":"Підписати","signed":"Підписано","signatures":"Підписи","addSignature":"Додати підпис","clearSignature":"Видалити підпис","storeSignature":"Зберегти підпис","pleaseSignHere":"Будь-ласка підпишіть тут","signing":"Підписання…","password":"Пароль","unlock":"Розблокувати","passwordRequired":"Потрібний пароль","unlockThisDocument":"Потрібно розблокувати цей документ для перегляду. Введіть пароль нижче.","incorrectPassword":"Введено неправильний пароль. Спробуйте ще раз.","blendMode":"Режим накладання","normal":"Звичайний","multiply":"Множення","screenBlend":"Освітлення","overlay":"Перекриття","darken":"Затемнення","lighten":"Заміна світлим","colorDodge":"Освітлення основи","colorBurn":"Затемнення основи","hardLight":"Направлене світло","softLight":"Розсіяне світло","difference":"Різниця","exclusion":"Виключення","multiple":"Декілька режимів","linecaps-dasharray":"Стиль лінії","dasharray":"Стиль лінії","startLineCap":"Початок лінії","strokeDashArray":"Стиль лінії","endLineCap":"Кінець лінії","lineAnnotation":"Лінія","rectangleAnnotation":"Прямокутник","ellipseAnnotation":"Еліпс","polygonAnnotation":"Полігон","polylineAnnotation":"Ламана лінія","solid":"Безперервний","narrowDots":"Вузькі крапки","wideDots":"Широкі крапки","narrowDashes":"Вузький пунктир","wideDashes":"Широкий пунктир","none":"Немає","square":"Квадрат","circle":"Круг","diamond":"Діамант","openArrow":"Відкрита стрілка","closedArrow":"Закрита стрілка","butt":"Кнопка","reverseOpenArrow":"Зворотня відкрита стрілка","reverseClosedArrow":"Зворотня закрита стрілка","slash":"Коса риска","fillColor":"Колір заливки","cloudy":"Хмарка","arrow":"Стрілка","filePath":"Шлях до файлу","unsupportedImageFormat":"Цей тип зображень-приміток не підтримується: {arg0}. Будь ласка, оберіть файл JPEG або PNG.","noOutline":"Без змісту","outline":"Зміст","imageAnnotation":"Зображення","selectImage":"Обрати зображення","stampAnnotation":"Штамп","highlighter":"Вільне виділення","textHighlighter":"Виділення тексту","pen":"Малюнок","eraser":"Гумка","export":"Експортувати","useAnExistingStampDesign":"Використати існуючий дизайн","createStamp":"Створити штамп","stampText":"Штамп тексту","chooseColor":"Виберіть колір","rejected":"Відхилено","accepted":"Прийнято","approved":"Затверджено","notApproved":"Не затверджено","draft":"Проект","final":"Фінал","completed":"Завершено","confidential":"Конфіденційно","forPublicRelease":"Для широкого розповсюдження","notForPublicRelease":"Не для широкого розповсюдження","forComment":"Для коментарів","void":"Пустота","preliminaryResults":"Попередні результати","informationOnly":"Лише інформація","initialHere":"Ініціали","signHere":"Підписувати тут","witness":"Свідок","asIs":"Як є","departmental":"Відомчий","experimental":"Експериментальний","expired":"Прострочений","sold":"Продано","topSecret":"Цілком таємно","revised":"Переглянуто","custom":"Користувацькі","customStamp":"Власний штамп","icon":"Іконка","iconRightPointer":"Правий покажчик","iconRightArrow":"Стрілка вправо","iconCheck":"Позначка","iconCircle":"Еліпс","iconCross":"Хрестик","iconInsert":"Вставити текст","iconNewParagraph":"Новий абзац","iconNote":"Текстова примітка","iconComment":"Коментар","iconParagraph":"Абзац","iconHelp":"Довідка","iconStar":"Зірка","iconKey":"Ключ","documentEditor":"Редактор документа","newPage":"Нова сторінка","removePage":"Видалити сторінки","duplicatePage":"Створити копію","rotatePageLeft":"Повернути ліворуч","rotatePageRight":"Повернути праворуч","moveBefore":"Перемістити наперед","moveAfter":"Перемістити назад","selectNone":"Не обирати жодного","selectAll":"Обрати все","saveAs":"Зберегти як…","mergeDocument":"Імпортувати документ","undo":"Скасувати","redo":"Повторити","openMoveDialog":"Перемістити","move":"Перемістити","instantModifiedWarning":"Документ було змінено і тепер він може використовуватися лише у режимі читання. Перезавантажте сторінку, щоб виправити цю помилку.","documentMergedHere":"Документи будуть поєднані тут","digitalSignaturesAllValid":"Документ було підписано за допомогою електронного підпису — усі підписи дійсні.","digitalSignaturesDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше.","digitalSignaturesSignatureWarning":"Документ було підписано за допомогою електронного підпису, однак існують проблемі з щонайменше одним підписом.","digitalSignaturesSignatureWarningDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше, та проблемі з щонайменше одним підписом.","digitalSignaturesSignatureError":"Документ було підписано за допомогою електронного підпису, однак щонайменше один підпис недійсний.","digitalSignaturesSignatureErrorDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше, та щонайменше один підпис недійсний.","signingInProgress":"Підписуємо...","signingModalDesc":"Показує, що цей документ підписується","discardChanges":"Скасувати зміни","commentEditorLabel":"Додати","reply":"Відповісти","comment":"Коментар","comments":"Коментарі","showMore":"Показати більше","showLess":"Показати менше","deleteComment":"Видалити примітку","deleteCommentConfirmMessage":"Ви насправді хочете видалити цей коментар?","deleteCommentConfirmAccessibilityLabel":"Підтвердити видалення коментару","editContent":"Редагування контенту","commentOptions":"Опції коментарів","areaRedaction":"Редагування зони","textRedaction":"Редагування тексту","redactionAnnotation":"Редагування","applyingRedactions":"Редагування виконується","overlayTextPlaceholder":"Введіть текст перекриття","outlineColor":"Колір контуру","overlayText":"Перекрити текстом","repeatText":"Повторити текст","preview":"Попередній перегляд","applyRedactions":"Застосувати редагування","markupAnnotationToolbar":"Спливаюча панель приміток","documentViewport":"Вікно перегляду документу","redactionInProgress":"Виконується редагування","redactionModalDesc":"Показує, що документ редагується","commentAction":"Коментувати","printProgressModalDesc":"Показує, що документ готується до друку","printProgressModal":"Друкуємо","documentEditorDesc":"Внести зміни до цього документу","reloadDocumentDialog":"Підтвердити перезавантаження документу","reloadDocumentDialogDesc":"Діалог, що викликає підтверждення користувачем перезавантаження документу.","signatureDialog":"Підпис","signatureDialogDesc":"Цей діалог дозволяє обрати підпис чорнилами та вставити його в документ. Якщо ви ще не маєте збереженого підпису, ви можете створити його на полотні.","stampAnnotationTemplatesDialog":"Шаблон штампів-приміток","stampAnnotationTemplatesDialogDesc":"Цей діалог дозволяє обрати штамп-примітку та вставити її в документ або створити власну штамп-примітку з власним текстом.","selectedAnnotation":"Обрано {arg0}","commentThread":"Ланцюжок коментарів","selectedAnnotationWithText":"Обрано {arg0} з контентом {arg1}","signature":"Підпис","ElectronicSignatures_SignHereTypeHint":"Наберіть підпис вище","ElectronicSignatures_SignHereDrawHint":"Підпішіться тут","selectDragImage":"Обрати або перетягти зображення","replaceImage":"Замінити зображення","draw":"Малювати","image":"Зображення","type":"Набирати","saveSignature":"Зберегти підпис","loading":"Завантаження","selectedItem":"Обрано {arg0}.","annotationDeleted":"Примітка видалена.","newAnnotationCreated":"Нова {arg0} примітка створена.","bookmarkCreated":"Закладка створена.","bookmarkEdited":"Закладка відредагована.","bookmarkDeleted":"Закладка видалена.","cancelledEditingBookmark":"Редагування закладки відмінено.","selectAFileForImage":"Оберіть файл для нової примітки-зображення.","deleteAnnotationConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення примітки.","deleteBookmarkConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення закладки.","deleteCommentConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення коментара.","resize":"Змінити розмір","resizeHandleTop":"Угорі","resizeHandleBottom":"Унизу","resizeHandleRight":"Справа","resizeHandleLeft":"Зліва","cropCurrentPage":"Підрізати поточну сторінку","cropCurrent":"Підрізати поточне","cropAllPages":"Підрізати всі сторінки","cropAll":"Підрізати всі","documentCrop":"Підрізати документ","Comparison_alignButtonTouch":"Вирівняти","Comparison_selectPoint":"Обрати точку","Comparison_documentOldTouch":"Попередній","Comparison_documentNewTouch":"Новий","Comparison_result":"Порівняння","UserHint_description":"Оберіть три точки обох документів для вирівнювання вручну. Для отримання найліпших результатів оберіть точки біля кутів документів та перевірте, що точки встановлені в однаковому порядку.","UserHint_dismissMessage":"Закрити","Comparison_alignButton":"Вирівняти документи","documentComparison":"Порівняння документів","Comparison_documentOld":"Попередній документ","Comparison_documentNew":"Новий документ","Comparison_resetButton":"Скинути","UserHint_Select":"Обрання точок","numberValidationBadFormat":"Введене значення не відповідає формату поля [{arg0}]","dateValidationBadFormat":"Неправильна дата/час: перевірте, що така дата/час існують Поле [{arg0}] має відповідати формату {arg1}","insertAfterPage":"Вставити після сторінки","docEditorMoveBeginningHint":"Введіть “0” для переміщення обраної сторінки чи сторінок до початку документу.","cloudyRectangleAnnotation":"Хмарний прямокутник","dashedRectangleAnnotation":"Пунктирний прямокутник","cloudyEllipseAnnotation":"Хмарний овал","dashedEllipseAnnotation":"Пунктирний овал","cloudyPolygonAnnotation":"Хмарний багатокутник","dashedPolygonAnnotation":"Пунктирний багатокутний","cloudAnnotation":"Хмара","rotateCounterclockwise":"Повернути проти стрілки годинника","rotateClockwise":"Повернути за стрілкою годинника","enterDescriptionHere":"Введіть опис тут","addOption":"Додати варіант","formDesignerPopoverTitle":"Властивості полю \\"{formFieldType}\\"","formFieldNameExists":"Поле форми з назвою \\"{formFieldName}\\" вже існує. Оберіть іншу назву.","styleSectionLabel":"Стиль полю \\"{formFieldType}\\"","formFieldName":"Назва полю форми","defaultValue":"Значення за замовчанням","multiLine":"Декілька рядків","radioButtonFormFieldNameWarning":"Для групування кнопок радіо вони потребують однакову назву полю форми.","advanced":"Додатково","creatorName":"Ім\'я автору","note":"Примітка","customData":"Спеціальні дані","required":"Обов\'язкове","readOnly":"Лише для читання","createdAt":"Створено","updatedAt":"Обновлено","customDataErrorMessage":"Лише серіалізуємий об\'єкт JSON","borderColor":"Колір межі","borderWidth":"Ширина межі","borderStyle":"Стиль межі","solidBorder":"Суцільна","dashed":"Штрихова","beveled":"Скошена","inset":"Вкладена","underline":"Підкреслення","textStyle":"Стиль тексту","fontSize":"Розмір шрифту","fontColor":"Колір шрифту","button":"Поле кнопки","textField":"Текстове поле","radioField":"Поле радіо","checkboxField":"Кнопка-прапорець","comboBoxField":"Поле з комбінованим списком","listBoxField":"Поле зі списком","signatureField":"Поле підпису","formDesigner":"Створювач форм","buttonText":"Текст кнопки","notAvailable":"N/A","label":"Позначка","value":"Значення","cannotEditOnceCreated":"Неможливо редагувати після створення.","formFieldNameNotEmpty":"Назва полю форми не може бути порожня.","mediaAnnotation":"Примітка-медіафайл","mediaFormatNotSupported":"Цей браузер не підтримує вбудовані відео чи аудіофайли.","distanceMeasurement":"Відстань","perimeterMeasurement":"Периметр","polygonAreaMeasurement":"Площа многокутника","rectangularAreaMeasurement":"Площа прямокутника","ellipseAreaMeasurement":"Площа елiпсу","distanceMeasurementSettings":"Налаштування вимірювань відстані","perimeterMeasurementSettings":"Налаштування вимірювань периметру","polygonAreaMeasurementSettings":"Налаштування вимірювань площі многокутника","rectangularAreaMeasurementSettings":"Налаштування вимірювань площі прямокутника","ellipseAreaMeasurementSettings":"Налаштування вимірювань площі еліпсу","measurementScale":"Масштаб","measurementCalibrateLength":"Калібрувати довжину","measurementPrecision":"Точність","measurementSnapping":"Прив’язка","formCreator":"Створювач форм","group":"Згрупувати","ungroup":"Розгрупувати","bold":"Жирний","italic":"Курсив","addLink":"Додати посилання","removeLink":"Видалити посилання","editLink":"Редагувати посилання","anonymous":"Анонімний користувач","saveAndClose":"Зберегти та закрити","ceToggleFontMismatchTooltip":"Перемикач підказки про розузгодження шрифту","ceFontMismatch":"Шрифт \\"{arg0}\\" зараз недоступний або ви не можете використовувати його задля редагування контенту в цьому документі. Доданий або змінений контент буде змінено до шрифту за замовчуванням.","multiAnnotationsSelection":"Обрати декілька приміток","linkSettingsPopoverTitle":"Налаштування посилання","linkTo":"Посилання до","uriLink":"Веб-сайт","pageLink":"Сторінка","invalidPageNumber":"Введіть дійсний номер сторінки.","invalidPageLink":"Введіть дійсне посилання до сторінки.","linkAnnotation":"Посилання","targetPageLink":"Номер сторінки","rotation":"Обертання","unlockDocumentDescription":"Потрібно розблокувати цей документ для перегляду. Введіть пароль нижче.","commentDialogClosed":"Відкрити ланцюжок коментарів, початий {arg0}: «{arg1}»","moreComments":"Більше коментарів","setScale":"Встановити шкалу","useCalibrationTool":"Використати інструмент для калібрування","calibrateScale":"Калібрувати шкалу","unit":"Одиниця","scaleAnnotationsDeleteWarning":"Видалення шкали також видалить вимірювання з застосуванням цієї шкали.","halves":"Половини дюйма","quarters":"Чверті дюйма","eighths":"Восьмини дюйма","sixteenths":"Шістнадцяти частини дюйма","addTextBox":"Додати текстове поле","deleteTextBlockConfirmMessage":"Видалити це текстове поле?","deleteTextBlockConfirmAccessibilityLabel":"Підтвердити видалення текстового поля","deleteTextBlockConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення текстового поля","linesCount":"{arg0, plural,\\none {{arg0} лінія}\\nfew {{arg0} лінії}\\nmany {{arg0} ліній}\\nother {{arg0} лінії}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} анотація}\\nfew {{arg0} анотації}\\nmany {{arg0} анотацій}\\nother {{arg0} анотації}\\n=0 {Немає анотацій}\\n}","pagesSelected":"{arg0, plural,\\none {Обрана {arg0} сторінка}\\nfew {Обрано {arg0} сторінки}\\nmany {Обрано {arg0} сторінок}\\nother {Обрано {arg0} сторінки}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} коментар}\\nfew {{arg0} коментарі}\\nmany {{arg0} коментарів}\\nother {{arg0} коментарі}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} коментар}\\nfew {{arg0} коментарі}\\nmany {{arg0} коментарів}\\nother {{arg0} коментарі}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Ще {arg0} коментар}\\nfew {Ще {arg0} коментари}\\nmany {Ще {arg0} коментарів}\\nother {Ще {arg0} коментари}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hans-86cb0781567a0a19.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hans-86cb0781567a0a19.js new file mode 100644 index 00000000..dcec3886 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hans-86cb0781567a0a19.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6678],{47224:e=>{e.exports=JSON.parse('{"thumbnails":"缩略图","pageXofY":"第 {arg0}/{arg1} 页","XofY":"{arg0}/{arg1}","prevPage":"上一页","nextPage":"下一页","goToPage":"前往页面","gotoPageX":"前往第 {arg0} 页","pageX":"第 {arg0} 页","pageLayout":"页面布局","pageMode":"页面模式","pageModeSingle":"单页","pageModeDouble":"双页","pageModeAutomatic":"自动","pageTransition":"页面过渡","pageTransitionContinuous":"连续","pageTransitionJump":"跳转","pageRotation":"页面旋转","pageRotationLeft":"向左旋转","pageRotationRight":"向右旋转","zoomIn":"放大","zoomOut":"缩小","marqueeZoom":"选框工具","panMode":"平移模式","fitPage":"适配页面","fitWidth":"适配宽度","annotations":"批注","noAnnotations":"没有批注","bookmark":"书签","bookmarks":"书签","noBookmarks":"没有书签","newBookmark":"新建书签","addBookmark":"添加书签","removeBookmark":"移除书签","loadingBookmarks":"加载书签","deleteBookmarkConfirmMessage":"您确定要删除此书签吗?","deleteBookmarkConfirmAccessibilityLabel":"确认删除书签","annotation":"批注","noteAnnotation":"注释","textAnnotation":"文本","inkAnnotation":"绘画","highlightAnnotation":"文本高亮显示","underlineAnnotation":"下划线","squiggleAnnotation":"波形曲线","strikeOutAnnotation":"删去","print":"打印","printPrepare":"正在准备打印文稿…","searchDocument":"搜索文稿","searchPreviousMatch":"上一页","searchNextMatch":"下一步","searchResultOf":"{arg0}/{arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} 个工具,切换菜单","save":"保存","edit":"编辑","delete":"删除","close":"关闭","cancel":"取消","ok":"好","done":"完成","clear":"清除","date":"日期","time":"时间","name":"姓名","color":"颜色","black":"黑色","white":"白色","blue":"蓝色","red":"红色","green":"绿色","orange":"橙色","lightOrange":"浅橙色","yellow":"黄色","lightYellow":"浅黄色","lightBlue":"浅蓝色","lightRed":"浅红色","lightGreen":"浅绿色","fuchsia":"紫红色","purple":"紫色","pink":"粉色","mauve":"淡紫色","lightGrey":"浅灰色","grey":"灰色","darkGrey":"深灰色","noColor":"无","transparent":"透明","darkBlue":"深蓝","opacity":"不透明度","thickness":"粗细","size":"大小","numberInPt":"{arg0} 磅","font":"字体","fonts":"字体","allFonts":"所有字体","alignment":"对齐","alignmentLeft":"剩下","alignmentRight":"右转","alignmentCenter":"中心","verticalAlignment":"垂直对齐","horizontalAlignment":"水平对齐","top":"顶部","bottom":"底部","deleteAnnotationConfirmMessage":"您确定要删除此批注吗?","deleteAnnotationConfirmAccessibilityLabel":"确认删除批注","fontFamilyUnsupported":"{arg0}(不支持)","sign":"签名","signed":"已签名","signatures":"签名","addSignature":"添加签名","clearSignature":"清除签名","storeSignature":"存储签名","pleaseSignHere":"请在这里签名","signing":"正在签署…","password":"密码","unlock":"解锁","passwordRequired":"需要密码","unlockThisDocument":"您必须解锁此文稿才能查看。请在下方字段输入密码。","incorrectPassword":"您输入的密码不正确。请重试。","blendMode":"混合模式","normal":"正常","multiply":"正片叠底","screenBlend":"滤色","overlay":"叠层","darken":"变暗","lighten":"变亮","colorDodge":"颜色减淡","colorBurn":"颜色加深","hardLight":"强光","softLight":"柔光","difference":"差异","exclusion":"排除","multiple":"混合","linecaps-dasharray":"线型","dasharray":"线型","startLineCap":"直线起点","strokeDashArray":"线型","endLineCap":"直线终点","lineAnnotation":"直线","rectangleAnnotation":"矩形","ellipseAnnotation":"椭圆","polygonAnnotation":"多边形","polylineAnnotation":"折线","solid":"实线","narrowDots":"窄点","wideDots":"宽点","narrowDashes":"窄虚线","wideDashes":"宽虚线","none":"无","square":"方框","circle":"圆圈","diamond":"菱形","openArrow":"开放箭头","closedArrow":"闭合箭头","butt":"对接","reverseOpenArrow":"倒转开放箭头","reverseClosedArrow":"倒转闭合箭头","slash":"斜线","fillColor":"填充颜色","cloudy":"模糊","arrow":"箭头","filePath":"文件路径","unsupportedImageFormat":"不支持的图像批注:{arg0}。请使用 JPEG 或 PNG。","noOutline":"无大纲","outline":"大纲","imageAnnotation":"图像","selectImage":"选择图像","stampAnnotation":"印章","highlighter":"自由高亮显示","textHighlighter":"文本荧光笔","pen":"绘画","eraser":"橡皮","export":"导出","useAnExistingStampDesign":"使用现有印章设计","createStamp":"创建印章","stampText":"印章文本","chooseColor":"选择颜色","rejected":"已拒绝","accepted":"已接受","approved":"已批准","notApproved":"未批准","draft":"草案","final":"最终","completed":"已完成","confidential":"机密","forPublicRelease":"公开发布","notForPublicRelease":"非公开发布","forComment":"添加注释","void":"无效","preliminaryResults":"初步结果","informationOnly":"仅供参考","initialHere":"在这里首字母签名","signHere":"在此签名","witness":"见证","asIs":"原样","departmental":"部门","experimental":"实验","expired":"已过期","sold":"已售","topSecret":"绝密","revised":"已修订","custom":"自定","customStamp":"自定义印章","icon":"图标","iconRightPointer":"右指针","iconRightArrow":"右箭头","iconCheck":"对号","iconCircle":"椭圆","iconCross":"交叉","iconInsert":"插入文本","iconNewParagraph":"新段落","iconNote":"文本注释","iconComment":"注释","iconParagraph":"段落","iconHelp":"帮助","iconStar":"星形","iconKey":"键形","documentEditor":"文稿编辑器","newPage":"新建页面","removePage":"删除页面","duplicatePage":"复制","rotatePageLeft":"向左旋转","rotatePageRight":"向右旋转","moveBefore":"在此之前移动","moveAfter":"在此之后移动","selectNone":"未选择任何内容","selectAll":"全选","saveAs":"另存为…","mergeDocument":"导入文稿","undo":"撤销","redo":"重做","openMoveDialog":"移动","move":"移动","instantModifiedWarning":"本文稿已修订,现在处于只读模式。重新加载页面,捷径此问题。","documentMergedHere":"文稿将在此合并","digitalSignaturesAllValid":"此文稿已经有数字签名,且所有签名有效。","digitalSignaturesDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改。","digitalSignaturesSignatureWarning":"此文稿已经有数字签名,但是至少一个签名存在问题。","digitalSignaturesSignatureWarningDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改,且至少一个签名存在问题。","digitalSignaturesSignatureError":"此文稿已经有数字签名,但是至少一个签名无效。","digitalSignaturesSignatureErrorDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改,且至少一个签名无效。","signingInProgress":"正在登录","signingModalDesc":"表示当前文稿正在签名","discardChanges":"放弃更改","commentEditorLabel":"添加您的注释…","reply":"回复","comment":"注释","comments":"注释","showMore":"分享更多","showLess":"收起","deleteComment":"删除注释","deleteCommentConfirmMessage":"您确定要删除此评论吗?","deleteCommentConfirmAccessibilityLabel":"确认删除评论","editContent":"编辑内容","commentOptions":"注释选项","areaRedaction":"区域编辑","textRedaction":"文本编辑","redactionAnnotation":"编辑","applyingRedactions":"正在应用编辑","overlayTextPlaceholder":"插入覆盖文本","outlineColor":"大纲颜色","overlayText":"叠层文本","repeatText":"重复文本","preview":"预览","applyRedactions":"应用编辑","markupAnnotationToolbar":"标记批注工具栏","documentViewport":"文稿视区","redactionInProgress":"正在编辑","redactionModalDesc":"表示当前文稿正在编辑中","commentAction":"添加注释","printProgressModalDesc":"指示文稿正在准备打印","printProgressModal":"正在打印","documentEditorDesc":"更改当前文稿","reloadDocumentDialog":"确认文稿重新加载","reloadDocumentDialogDesc":"提醒用户确认重新加载文稿的对话框。","signatureDialog":"签名","signatureDialogDesc":"您可以在此对话框中选择要插入到文稿中的墨迹签名。如果您没有存储签名,您可以使用画布视图创建一个签名。","stampAnnotationTemplatesDialog":"印章批注模板","stampAnnotationTemplatesDialogDesc":"您可以在此对话框中选择要插入到文稿中的印章批注或用自己的文字创建自定义印章批注。","selectedAnnotation":"选择的 {arg0}","commentThread":"注释会话","selectedAnnotationWithText":"选择的是 {arg0},内容为 {arg1}","signature":"签名","ElectronicSignatures_SignHereTypeHint":"在上面输入您的签名","ElectronicSignatures_SignHereDrawHint":"在此签名","selectDragImage":"选择或拖动图像","replaceImage":"替换图像","draw":"绘制签名","image":"图像","type":"输入","saveSignature":"保存签名","loading":"正在加载","selectedItem":"已选中{arg0}。","annotationDeleted":"批注已删除。","newAnnotationCreated":"新{arg0}批注已经创建。","bookmarkCreated":"已创建的书签。","bookmarkEdited":"已编辑的书签。","bookmarkDeleted":"已删除的书签。","cancelledEditingBookmark":"取消书签编辑。","selectAFileForImage":"为新图像批注选择文件。","deleteAnnotationConfirmAccessibilityDescription":"确认或取消删除批注的对话框。","deleteBookmarkConfirmAccessibilityDescription":"确认或取消删除书签的对话框。","deleteCommentConfirmAccessibilityDescription":"确认或取消删除评论的对话框。","resize":"调整大小","resizeHandleTop":"顶部","resizeHandleBottom":"底部","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"剪裁当前页面","cropCurrent":"剪裁当前","cropAllPages":"剪裁所有页面","cropAll":"剪裁全部","documentCrop":"文稿剪裁","Comparison_alignButtonTouch":"对齐","Comparison_selectPoint":"选择点","Comparison_documentOldTouch":"旧","Comparison_documentNewTouch":"新建","Comparison_result":"比较","UserHint_description":"在两个文稿中选择三个点进行手动对齐。为了获得最理想的效果,请选择靠近文稿边角的点,确保两个文稿中点的顺序相同。","UserHint_dismissMessage":"消除","Comparison_alignButton":"对齐文稿","documentComparison":"文稿比较","Comparison_documentOld":"旧文稿","Comparison_documentNew":"新建文稿","Comparison_resetButton":"重置","UserHint_Select":"选择点","numberValidationBadFormat":"输入的值与字段 [{arg0}] 的格式不匹配","dateValidationBadFormat":"无效日期/时间:请确保日期/时间存在。字段 [{arg0}] 应该与格式 {arg1} 匹配","insertAfterPage":"在页后插入","docEditorMoveBeginningHint":"输入“0”可以将选择的页面移动到文稿开始位置。","cloudyRectangleAnnotation":"云边矩形","dashedRectangleAnnotation":"虚线矩形","cloudyEllipseAnnotation":"云边椭圆形","dashedEllipseAnnotation":"虚线椭圆形","cloudyPolygonAnnotation":"云边多边形","dashedPolygonAnnotation":"虚线多边形","cloudAnnotation":"云","rotateCounterclockwise":"逆时针旋转","rotateClockwise":"顺时针旋转","enterDescriptionHere":"在此输入描述","addOption":"添加选项","formDesignerPopoverTitle":"{formFieldType}属性","formFieldNameExists":"名为“{formFieldName}”的表单字段已存在,请选择其他名称。","styleSectionLabel":"{formFieldType}样式","formFieldName":"表单字段名称","defaultValue":"默认值","multiLine":"多行","radioButtonFormFieldNameWarning":"若要对单选按钮进行分组,请确保它们具有相同的表单字段名称。","advanced":"高级","creatorName":"创建者名称","note":"备注","customData":"自定义数据","required":"必填","readOnly":"只读","createdAt":"创建日期","updatedAt":"更新日期","customDataErrorMessage":"必须为纯 JSON 序列化对象","borderColor":"边框颜色","borderWidth":"边框粗细","borderStyle":"边框样式","solidBorder":"实心","dashed":"虚线","beveled":"斜面","inset":"内线","underline":"下划线","textStyle":"文本样式","fontSize":"字体大小","fontColor":"字体颜色","button":"按钮字段","textField":"文本字段","radioField":"单选按钮字段","checkboxField":"复选框字段","comboBoxField":"组合框字段","listBoxField":"列表框字段","signatureField":"签名字段","formDesigner":"来自创作者","buttonText":"按钮文本","notAvailable":"不适用","label":"标签","value":"值","cannotEditOnceCreated":"创建后无法编辑。","formFieldNameNotEmpty":"表单字段名称不能为空。","mediaAnnotation":"媒体批注","mediaFormatNotSupported":"该浏览器不支持嵌入视频或音频。","distanceMeasurement":"距离","perimeterMeasurement":"周长","polygonAreaMeasurement":"多边形面积","rectangularAreaMeasurement":"矩形面积","ellipseAreaMeasurement":"椭圆形面积","distanceMeasurementSettings":"距离测量设置","perimeterMeasurementSettings":"周长测量设置","polygonAreaMeasurementSettings":"多边形面积测量设置","rectangularAreaMeasurementSettings":"长方形面积测量设置","ellipseAreaMeasurementSettings":"椭圆面积测量设置","measurementScale":"比例","measurementCalibrateLength":"校准长度","measurementPrecision":"精度","measurementSnapping":"定住","formCreator":"来自创作者","group":"群组","ungroup":"取消群组","bold":"加粗","italic":"斜体","addLink":"添加链接","removeLink":"移除链接","editLink":"编辑链接","anonymous":"匿名","saveAndClose":"保存并关闭","ceToggleFontMismatchTooltip":"显示/隐藏字体不匹配工具提示","ceFontMismatch":"{arg0}字体不可用,或无法用于编辑此文稿中的内容。已添加或已更改的内容将恢复为使用默认字体。","multiAnnotationsSelection":"选择多个批注","linkSettingsPopoverTitle":"链接设置","linkTo":"链接至","uriLink":"网站","pageLink":"页码","invalidPageNumber":"请输入有效的页码。","invalidPageLink":"请输入有效的页面链接。","linkAnnotation":"链接","targetPageLink":"页码","rotation":"旋转","unlockDocumentDescription":"您必须解锁此文稿才能查看。请在下方字段输入密码。","commentDialogClosed":"打开从{arg0}的“{arg1}”开始的注释会话","moreComments":"更多注释","setScale":"设置比例","useCalibrationTool":"使用校准工具","calibrateScale":"校准比例","unit":"单位","scaleAnnotationsDeleteWarning":"如果删除该比例,则使用该比例的测量也将被一并删除。","halves":"二分之一(英寸)","quarters":"四分之一(英寸)","eighths":"八分之一(英寸)","sixteenths":"十六分之一(英寸)","addTextBox":"添加文本框","deleteTextBlockConfirmMessage":"您确定要删除此文本框吗?","deleteTextBlockConfirmAccessibilityLabel":"确认删除文本框","deleteTextBlockConfirmAccessibilityDescription":"允许用户确认或取消删除文本框的对话框。","linesCount":"{arg0, plural,\\nother {{arg0} 笔}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} 个批注}\\n=0 {没有批注}\\n}","pagesSelected":"{arg0, plural,\\nother {已选择 {arg0} 页}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} 个注释}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} 个注释}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {另外 {arg0} 条注释}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hant-167b3461f8d87580.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hant-167b3461f8d87580.js new file mode 100644 index 00000000..b01a3cce --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-locale-zh-Hant-167b3461f8d87580.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7579],{58372:e=>{e.exports=JSON.parse('{"thumbnails":"縮覽圖","pageXofY":"第{arg0}頁,共{arg1}頁","XofY":"{arg0}/{arg1}頁","prevPage":"上一頁","nextPage":"下一頁","goToPage":"到此頁","gotoPageX":"到第{arg0}頁","pageX":"第{arg0}頁","pageLayout":"頁面排版","pageMode":"頁面模式","pageModeSingle":"單頁","pageModeDouble":"雙頁","pageModeAutomatic":"自動","pageTransition":"翻頁","pageTransitionContinuous":"連續","pageTransitionJump":"跳換","pageRotation":"旋轉頁面","pageRotationLeft":"向左旋轉","pageRotationRight":"向右旋轉","zoomIn":"放大","zoomOut":"縮小","marqueeZoom":"選框放大","panMode":"平移模式","fitPage":"配合頁面調整","fitWidth":"配合寬度調整","annotations":"註解","noAnnotations":"無註解","bookmark":"書籤","bookmarks":"書籤","noBookmarks":"無書籤","newBookmark":"新書籤","addBookmark":"添加書籤","removeBookmark":"刪除書籤","loadingBookmarks":"載入書籤","deleteBookmarkConfirmMessage":"是否確定要刪除這個書籤?","deleteBookmarkConfirmAccessibilityLabel":"確定刪除書籤","annotation":"註解","noteAnnotation":"備註","textAnnotation":"文字","inkAnnotation":"畫圖","highlightAnnotation":"文字加亮","underlineAnnotation":"底線","squiggleAnnotation":"波浪線","strikeOutAnnotation":"刪除線","print":"列印","printPrepare":"正在準備列印…","searchDocument":"搜尋文件","searchPreviousMatch":"上一個","searchNextMatch":"下一步","searchResultOf":"{arg0}/{arg1}頁","accessibilityLabelDropdownGroupToggle":"{arg0} 工具,切換選單","save":"儲存","edit":"編輯","delete":"刪除","close":"關閉","cancel":"取消","ok":"好","done":"完成","clear":"清除","date":"日期","time":"時間","name":"名字","color":"顏色","black":"黑色","white":"白色","blue":"藍色","red":"紅色","green":"綠色","orange":"橙色","lightOrange":"淺橘色","yellow":"黃色","lightYellow":"淺黃色","lightBlue":"淺藍色","lightRed":"淡紅色","lightGreen":"淺綠色","fuchsia":"桃紅色","purple":"紫色","pink":"粉紅色","mauve":"淡紫色","lightGrey":"淺灰色","grey":"灰色","darkGrey":"深灰色","noColor":"無","transparent":"透明","darkBlue":"深藍色","opacity":"不透明度","thickness":"粗細","size":"大小","numberInPt":"{arg0} 級字","font":"字體","fonts":"字體","allFonts":"全部字體","alignment":"對齊","alignmentLeft":"靠左對齊","alignmentRight":"靠右對齊","alignmentCenter":"正中","verticalAlignment":"垂直對齊","horizontalAlignment":"水平對齊","top":"上方","bottom":"下方","deleteAnnotationConfirmMessage":"您是否確定要刪除這則註解?","deleteAnnotationConfirmAccessibilityLabel":"確認刪除註解","fontFamilyUnsupported":"{arg0}(不支援)","sign":"簽名","signed":"已簽署","signatures":"簽名","addSignature":"加上簽名","clearSignature":"清除簽名","storeSignature":"儲存簽名","pleaseSignHere":"請簽署","signing":"正在簽署…","password":"密碼","unlock":"解鎖","passwordRequired":"需要密碼","unlockThisDocument":"你必須將這個文件解鎖才能瀏覽,請在下列欄位中輸入密碼。","incorrectPassword":"你所輸入的密碼不正確,請重新輸入。","blendMode":"混合模式","normal":"正常","multiply":"正片疊底","screenBlend":"濾色","overlay":"疊加","darken":"加深","lighten":"變淡","colorDodge":"顏色減淡","colorBurn":"顏色加深","hardLight":"強光","softLight":"柔光","difference":"差異","exclusion":"排除","multiple":"多個","linecaps-dasharray":"線條樣式","dasharray":"線條樣式","startLineCap":"線條開始","strokeDashArray":"線條樣式","endLineCap":"線條終端","lineAnnotation":"線條","rectangleAnnotation":"長方形","ellipseAnnotation":"橢圓形","polygonAnnotation":"多邊形","polylineAnnotation":"多點線","solid":"實線","narrowDots":"窄點線","wideDots":"寬點線","narrowDashes":"窄虛線","wideDashes":"寬虛線","none":"無","square":"正方形","circle":"圓圈","diamond":"菱形","openArrow":"開放的箭頭","closedArrow":"封閉箭頭","butt":"末端","reverseOpenArrow":"反方向開放箭頭","reverseClosedArrow":"反方向封閉箭頭","slash":"斜線","fillColor":"填充顏色","cloudy":"朦朧的","arrow":"箭頭","filePath":"檔案路徑","unsupportedImageFormat":"不支援的圖像註解類型:{arg0}。請使用 JPEG 或 PNG。","noOutline":"無輪廓","outline":"中空字","imageAnnotation":"圖像","selectImage":"選取圖像","stampAnnotation":"印章","highlighter":"自由格式加亮","textHighlighter":"文字螢光筆","pen":"畫圖","eraser":"橡皮擦","export":"匯出","useAnExistingStampDesign":"使用現有的圖章設計","createStamp":"自訂印章","stampText":"印章文字","chooseColor":"選擇顏色","rejected":"被拒絕","accepted":"已收到","approved":"已批准","notApproved":"未批准","draft":"草稿","final":"終稿","completed":"已完成","confidential":"密件","forPublicRelease":"可公佈","notForPublicRelease":"不可公佈","forComment":"供評註","void":"失效","preliminaryResults":"初步結果","informationOnly":"僅供參考","initialHere":"這裏草簽","signHere":"在此簽名","witness":"證人","asIs":"按現狀","departmental":"分科","experimental":"實驗性","expired":"已過期","sold":"售出","topSecret":"高度機密","revised":"已修訂","custom":"自定","customStamp":"自訂水印","icon":"圖示","iconRightPointer":"右指針","iconRightArrow":"右箭頭","iconCheck":"打勾","iconCircle":"橢圓形","iconCross":"叉號","iconInsert":"插入文字","iconNewParagraph":"新段落","iconNote":"文字筆記","iconComment":"評註","iconParagraph":"段落","iconHelp":"輔助說明","iconStar":"星號","iconKey":"鑰匙","documentEditor":"文件編輯器","newPage":"新頁面","removePage":"刪除頁面","duplicatePage":"複製","rotatePageLeft":"向左旋轉","rotatePageRight":"向右旋轉","moveBefore":"向後移","moveAfter":"向前移","selectNone":"未選取","selectAll":"選取全部","saveAs":"儲存為…","mergeDocument":"匯入文件","undo":"復原","redo":"重作","openMoveDialog":"移動","move":"移動","instantModifiedWarning":"這個文件經過修改且現為唯讀模式。重新載入這個頁面以解決這個問題。","documentMergedHere":"將從這裡合併文件","digitalSignaturesAllValid":"這份文件已經過電子簽字且所有的簽字皆有效。","digitalSignaturesDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改。","digitalSignaturesSignatureWarning":"這份文件已經過電子簽字,但至少有一筆簽字有問題。","digitalSignaturesSignatureWarningDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改,且至少有一筆簽字有問題。","digitalSignaturesSignatureError":"這份文件已經過電子簽字,但至少有一筆簽字無效。","digitalSignaturesSignatureErrorDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改,且至少有一筆簽字無效。","signingInProgress":"正在簽署","signingModalDesc":"指出正在簽署目前文件","discardChanges":"清除更改","commentEditorLabel":"添加評註…","reply":"回覆","comment":"評註","comments":"評註","showMore":"顯示較多","showLess":"顯示較少","deleteComment":"刪除評註","deleteCommentConfirmMessage":"您是否確定要刪除這則評註?","deleteCommentConfirmAccessibilityLabel":"確認刪除評註","editContent":"編輯內容","commentOptions":"評註選項","areaRedaction":"區域修訂","textRedaction":"文字修訂","redactionAnnotation":"修訂","applyingRedactions":"套用修訂","overlayTextPlaceholder":"插入疊加文字","outlineColor":"輪廓顏色","overlayText":"疊加文字","repeatText":"重複文字","preview":"預覽","applyRedactions":"套用修訂","markupAnnotationToolbar":"標記註解工具列","documentViewport":"文件檢視區","redactionInProgress":"修訂進行中","redactionModalDesc":"表示目前正在修訂這份文件","commentAction":"評註","printProgressModalDesc":"表示正在準備列印文件","printProgressModal":"正在列印","documentEditorDesc":"更動目前文件","reloadDocumentDialog":"確認文件重新載入","reloadDocumentDialogDesc":"提醒用戶確認重新載入文件的對話","signatureDialog":"簽名","signatureDialogDesc":"這則對話讓您可以選擇要插入文件的墨水簽名。若您沒有儲存的簽名,您可以在畫布視圖下建立。","stampAnnotationTemplatesDialog":"圖章註解範本","stampAnnotationTemplatesDialogDesc":"這則對話讓您可以選取要插入文件的圖章註解,或以自己的文字建立自訂圖章註解。","selectedAnnotation":"已選取{arg0}","commentThread":"評註串","selectedAnnotationWithText":"已選取{arg0}和{arg1}做為內容","signature":"簽名","ElectronicSignatures_SignHereTypeHint":"在上面鍵入您的簽名","ElectronicSignatures_SignHereDrawHint":"在此簽名","selectDragImage":"選取或拖曳圖像","replaceImage":"置換簽名","draw":"手繪","image":"圖像","type":"鍵入","saveSignature":"儲存簽名","loading":"正在載入","selectedItem":"{arg0},已選取。","annotationDeleted":"已刪除註解。","newAnnotationCreated":"已建立新的 {arg0} 註解。","bookmarkCreated":"建立的書籤。","bookmarkEdited":"編輯的書籤。","bookmarkDeleted":"刪除的書籤。","cancelledEditingBookmark":"取消的書籤編輯。","selectAFileForImage":"為新的圖像註解選擇一個檔案。","deleteAnnotationConfirmAccessibilityDescription":"供您確認或取消刪除註解的對話。","deleteBookmarkConfirmAccessibilityDescription":"供您確認或取消刪除書籤的對話。","deleteCommentConfirmAccessibilityDescription":"供您確認或取消刪除評註的對話。","resize":"調整大小","resizeHandleTop":"上","resizeHandleBottom":"下","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"裁剪本頁","cropCurrent":"裁剪目前","cropAllPages":"裁剪全部頁面","cropAll":"裁剪全部","documentCrop":"文件裁剪","Comparison_alignButtonTouch":"對齊","Comparison_selectPoint":"選取點","Comparison_documentOldTouch":"舊","Comparison_documentNewTouch":"新","Comparison_result":"比較","UserHint_description":"在兩份文件中各選取三個點以手動對齊。請選擇接近文件角落的點,並確定兩個文件中的點的順序一樣,以獲得最佳效果。","UserHint_dismissMessage":"關閉","Comparison_alignButton":"對齊文件","documentComparison":"文件比較","Comparison_documentOld":"舊文件","Comparison_documentNew":"新文件","Comparison_resetButton":"重置","UserHint_Select":"選取點","numberValidationBadFormat":"輸入的值不符合[{arg0}]欄的格式","dateValidationBadFormat":"無效的日期/時間:請確認該日期/時間存在。[{arg0}]欄必須符合{arg1}格式","insertAfterPage":"插入頁面後","docEditorMoveBeginningHint":"鍵入「0」以將所選頁面移至文件開頭。","cloudyRectangleAnnotation":"朦朧長方形","dashedRectangleAnnotation":"虛線長方形","cloudyEllipseAnnotation":"朦朧橢圓形","dashedEllipseAnnotation":"虛線橢圓形","cloudyPolygonAnnotation":"朦朧多邊形","dashedPolygonAnnotation":"虛線多邊形","cloudAnnotation":"雲端","rotateCounterclockwise":"逆時針旋轉","rotateClockwise":"順時針旋轉","enterDescriptionHere":"在這裡輸入說明","addOption":"添加選項","formDesignerPopoverTitle":"{formFieldType}屬性","formFieldNameExists":"已經有名為{formFieldName}的表格欄位。請另選一個名稱。","styleSectionLabel":"{formFieldType}樣式","formFieldName":"表單欄位名稱","defaultValue":"預設值","multiLine":"多行","radioButtonFormFieldNameWarning":"要將選項按鈕編組時,請確認其表單欄位名稱相同。","advanced":"進階","creatorName":"創作者名稱","note":"備註","customData":"自訂資料","required":"必填","readOnly":"唯讀","createdAt":"建立於","updatedAt":"更新於","customDataErrorMessage":"必須為可進行JSON序列化物件","borderColor":"邊框顏色","borderWidth":"邊框寬度","borderStyle":"邊框樣式","solidBorder":"實線","dashed":"虛線","beveled":"斜角","inset":"立體(內凹)","underline":"底線","textStyle":"文字樣式","fontSize":"字級大小","fontColor":"字形顏色","button":"按鈕欄位","textField":"文字欄位","radioField":"選項按鈕欄位","checkboxField":"勾選框欄位","comboBoxField":"組合框欄位","listBoxField":"列表框欄位","signatureField":"簽名欄位","formDesigner":"形狀建立工具","buttonText":"按鈕文字","notAvailable":"N/A","label":"標籤","value":"值","cannotEditOnceCreated":"建立後即無法編輯。","formFieldNameNotEmpty":"表單欄位名稱不可空白。","mediaAnnotation":"媒體註解","mediaFormatNotSupported":"這個瀏覽器不支援嵌入的影片或音訊。","distanceMeasurement":"距離","perimeterMeasurement":"周長","polygonAreaMeasurement":"多邊形面積","rectangularAreaMeasurement":"長方形面積","ellipseAreaMeasurement":"橢圓形面積","distanceMeasurementSettings":"距離測量設定","perimeterMeasurementSettings":"周長測量設定","polygonAreaMeasurementSettings":"多邊形面積測量設定","rectangularAreaMeasurementSettings":"長方形面積測量設定","ellipseAreaMeasurementSettings":"橢圓形面積測量設定","measurementScale":"比例","measurementCalibrateLength":"校准長度","measurementPrecision":"精度","measurementSnapping":"鎖點","formCreator":"形狀建立工具","group":"群組","ungroup":"取消編組","bold":"粗體","italic":"斜體","addLink":"加入連結","removeLink":"刪除連結","editLink":"編輯連結","anonymous":"匿名者","saveAndClose":"儲存 & 關閉","ceToggleFontMismatchTooltip":"切換字體不符提示框","ceFontMismatch":"{arg0}字體不存在或者無法用於編輯本文件內容。添加或變更內容將回復成預設字體。","multiAnnotationsSelection":"選取多項註解","linkSettingsPopoverTitle":"連結設定","linkTo":"連結至","uriLink":"網站","pageLink":"頁面","invalidPageNumber":"輸入有效的頁碼","invalidPageLink":"輸入有效的網頁連結。","linkAnnotation":"連結","targetPageLink":"頁碼","rotation":"旋轉","unlockDocumentDescription":"您必須解鎖這份文件才能瀏覽,請在以下欄位中輸入密碼。","commentDialogClosed":"開啟由{arg0}開始的評註串:「{arg1}」","moreComments":"更多評註","setScale":"設定比例尺","useCalibrationTool":"使用校正工具","calibrateScale":"校正比例尺","unit":"單位","scaleAnnotationsDeleteWarning":"刪除這個比例尺也會一併刪除使用這個比例尺的測量。","halves":"半英吋","quarters":"四分之一英吋","eighths":"八分之一英吋","sixteenths":"十六分之一英吋","addTextBox":"新增文字框","deleteTextBlockConfirmMessage":"您是否確定要刪除這個文字框?","deleteTextBlockConfirmAccessibilityLabel":"確認刪除文字框","deleteTextBlockConfirmAccessibilityDescription":"供使用者確認或刪除文字框的對話。","linesCount":"{arg0, plural,\\nother {{arg0} 行}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0}個註解}\\n=0 {沒有註解}\\n}","pagesSelected":"{arg0, plural,\\nother {已選取{arg0}頁}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}則}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}則}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {其他{arg0}則評註}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cs-c366085523db19e8.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cs-c366085523db19e8.js new file mode 100644 index 00000000..560324e3 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cs-c366085523db19e8.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3005],{12282:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{cs:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1];return e?"other":1==a&&n?"one":t>=2&&t<=4&&n?"few":n?"other":"many"}}},availableLocales:["cs"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cy-742139159bf11e72.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cy-742139159bf11e72.js new file mode 100644 index 00000000..a8344533 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-cy-742139159bf11e72.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7050],{26873:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{cy:{categories:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},fn:function(e,a){return a?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"}}},availableLocales:["cy"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-da-2277a49bada5f415.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-da-2277a49bada5f415.js new file mode 100644 index 00000000..b24a0343 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-da-2277a49bada5f415.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[752],{5407:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{da:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split("."),t=e[0],n=Number(e[0])==a;return l||1!=a&&(n||0!=t&&1!=t)?"other":"one"}}},availableLocales:["da"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-de-28a08e1b996b6870.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-de-28a08e1b996b6870.js new file mode 100644 index 00000000..58ce6612 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-de-28a08e1b996b6870.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8869],{60333:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{de:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){var l=!String(a).split(".")[1];return e?"other":1==a&&l?"one":"other"}}},availableLocales:["de"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-el-060f52dc5fea36c6.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-el-060f52dc5fea36c6.js new file mode 100644 index 00000000..dfa8cb35 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-el-060f52dc5fea36c6.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1882],{80056:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{el:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["el"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-en-117bd3cebba0cf2f.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-en-117bd3cebba0cf2f.js new file mode 100644 index 00000000..66451e15 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-en-117bd3cebba0cf2f.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5014],{32778:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,a){var l=String(e).split("."),t=!l[1],n=Number(l[0])==e,o=n&&l[0].slice(-1),r=n&&l[0].slice(-2);return a?1==o&&11!=r?"one":2==o&&12!=r?"two":3==o&&13!=r?"few":"other":1==e&&t?"one":"other"}}},availableLocales:["en"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-es-c4336577aaa1ae3e.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-es-c4336577aaa1ae3e.js new file mode 100644 index 00000000..9d220958 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-es-c4336577aaa1ae3e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1252],{53802:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{es:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["es"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fi-fa353fdab4828c43.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fi-fa353fdab4828c43.js new file mode 100644 index 00000000..94aed02b --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fi-fa353fdab4828c43.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5528],{15857:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{fi:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?"other":1==a&&e?"one":"other"}}},availableLocales:["fi"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fr-693929b40bfd226b.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fr-693929b40bfd226b.js new file mode 100644 index 00000000..a7112236 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-fr-693929b40bfd226b.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1145],{75828:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{fr:{categories:{cardinal:["one","other"],ordinal:["one","other"]},fn:function(a,e){return e?1==a?"one":"other":a>=0&&a<2?"one":"other"}}},availableLocales:["fr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-hr-fe1fa56dd5867336.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-hr-fe1fa56dd5867336.js new file mode 100644 index 00000000..f5f963a6 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-hr-fe1fa56dd5867336.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9677],{34029:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{hr:{categories:{cardinal:["one","few","other"],ordinal:["other"]},fn:function(e,l){var a=String(e).split("."),t=a[0],n=a[1]||"",r=!a[1],i=t.slice(-1),o=t.slice(-2),c=n.slice(-1),s=n.slice(-2);return l?"other":r&&1==i&&11!=o||1==c&&11!=s?"one":r&&i>=2&&i<=4&&(o<12||o>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"}}},availableLocales:["hr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-id-e98e6bc0ba4efb6c.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-id-e98e6bc0ba4efb6c.js new file mode 100644 index 00000000..c38b7c76 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-id-e98e6bc0ba4efb6c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5192],{32419:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{id:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["id"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-it-eb799026cfabc61e.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-it-eb799026cfabc61e.js new file mode 100644 index 00000000..34c849f4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-it-eb799026cfabc61e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3424],{81998:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{it:{categories:{cardinal:["one","other"],ordinal:["many","other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?11==a||8==a||80==a||800==a?"many":"other":1==a&&e?"one":"other"}}},availableLocales:["it"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ja-abd9cf05b9ee281f.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ja-abd9cf05b9ee281f.js new file mode 100644 index 00000000..f5f4f931 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ja-abd9cf05b9ee281f.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4728],{55389:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ja:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["ja"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ko-4340d884ab33ceed.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ko-4340d884ab33ceed.js new file mode 100644 index 00000000..9bdce16a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ko-4340d884ab33ceed.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1089],{97301:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ko:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["ko"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ms-2060de3dfdb95117.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ms-2060de3dfdb95117.js new file mode 100644 index 00000000..3dc378c5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ms-2060de3dfdb95117.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1518],{55367:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ms:{categories:{cardinal:["other"],ordinal:["one","other"]},fn:function(a,l){return l&&1==a?"one":"other"}}},availableLocales:["ms"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nb-58dd5b0bce58eb4d.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nb-58dd5b0bce58eb4d.js new file mode 100644 index 00000000..a65e606f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nb-58dd5b0bce58eb4d.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2279],{93673:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{nb:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["nb"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nl-1a37147c1d7de33e.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nl-1a37147c1d7de33e.js new file mode 100644 index 00000000..06aab409 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-nl-1a37147c1d7de33e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9486],{80953:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{nl:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?"other":1==a&&e?"one":"other"}}},availableLocales:["nl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pl-3e1b0525d48ab910.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pl-3e1b0525d48ab910.js new file mode 100644 index 00000000..3af531ed --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pl-3e1b0525d48ab910.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6523],{12533:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{pl:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split("."),t=e[0],n=!e[1],o=t.slice(-1),r=t.slice(-2);return l?"other":1==a&&n?"one":n&&o>=2&&o<=4&&(r<12||r>14)?"few":n&&1!=t&&(0==o||1==o)||n&&o>=5&&o<=9||n&&r>=12&&r<=14?"many":"other"}}},availableLocales:["pl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pt-54a5083c6fc30919.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pt-54a5083c6fc30919.js new file mode 100644 index 00000000..9f68a9fa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-pt-54a5083c6fc30919.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4932],{28708:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{pt:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split(".")[0];return l?"other":0==e||1==e?"one":"other"}}},availableLocales:["pt"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ru-90173defab18c4fb.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ru-90173defab18c4fb.js new file mode 100644 index 00000000..d7c48ee4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-ru-90173defab18c4fb.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1385],{63409:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ru:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1],r=t.slice(-1),o=t.slice(-2);return e?"other":n&&1==r&&11!=o?"one":n&&r>=2&&r<=4&&(o<12||o>14)?"few":n&&0==r||n&&r>=5&&r<=9||n&&o>=11&&o<=14?"many":"other"}}},availableLocales:["ru"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sk-52704eb81d09ae89.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sk-52704eb81d09ae89.js new file mode 100644 index 00000000..ae5900de --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sk-52704eb81d09ae89.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1077],{87042:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sk:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1];return e?"other":1==a&&n?"one":t>=2&&t<=4&&n?"few":n?"other":"many"}}},availableLocales:["sk"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sl-611885e0a3e66a66.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sl-611885e0a3e66a66.js new file mode 100644 index 00000000..06b6de89 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sl-611885e0a3e66a66.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1277],{13367:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sl:{categories:{cardinal:["one","two","few","other"],ordinal:["other"]},fn:function(l,a){var e=String(l).split("."),t=e[0],n=!e[1],o=t.slice(-2);return a?"other":n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}}},availableLocales:["sl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sv-fed1d6c4bd1a1fec.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sv-fed1d6c4bd1a1fec.js new file mode 100644 index 00000000..c691c217 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-sv-fed1d6c4bd1a1fec.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2727],{64520:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sv:{categories:{cardinal:["one","other"],ordinal:["one","other"]},fn:function(e,a){var l=String(e).split("."),t=!l[1],n=Number(l[0])==e,o=n&&l[0].slice(-1),r=n&&l[0].slice(-2);return a?1!=o&&2!=o||11==r||12==r?"other":"one":1==e&&t?"one":"other"}}},availableLocales:["sv"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-th-69beaff1c2e3af7e.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-th-69beaff1c2e3af7e.js new file mode 100644 index 00000000..70565d46 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-th-69beaff1c2e3af7e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1063],{69909:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{th:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["th"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-tr-6ea055f730cedd49.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-tr-6ea055f730cedd49.js new file mode 100644 index 00000000..8b4187e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-tr-6ea055f730cedd49.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9384],{99102:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{tr:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["tr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-uk-41ac716f712c86b9.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-uk-41ac716f712c86b9.js new file mode 100644 index 00000000..bb057320 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-uk-41ac716f712c86b9.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1843],{32058:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{uk:{categories:{cardinal:["one","few","many","other"],ordinal:["few","other"]},fn:function(e,a){var l=String(e).split("."),t=l[0],n=!l[1],r=Number(l[0])==e,u=r&&l[0].slice(-1),i=r&&l[0].slice(-2),o=t.slice(-1),c=t.slice(-2);return a?3==u&&13!=i?"few":"other":n&&1==o&&11!=c?"one":n&&o>=2&&o<=4&&(c<12||c>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&c>=11&&c<=14?"many":"other"}}},availableLocales:["uk"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-zh-585229c41a8d5ec4.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-zh-585229c41a8d5ec4.js new file mode 100644 index 00000000..a07d86c9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-localedata-zh-585229c41a8d5ec4.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4072],{2725:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{zh:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["zh"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-server-285e3bf0e27beb60.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-server-285e3bf0e27beb60.js new file mode 100644 index 00000000..db2f4a07 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/chunk-server-285e3bf0e27beb60.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6377],{16288:(t,e,n)=>{n.r(e),n.d(e,{default:()=>K});var o=n(17375),s=n(84121),a=n(35369),r=n(47347),i=n(34997),c=n(77552),l=n(45513),d=n(93572),u=n(2810),h=n(28028),m=n(23413),p=n(45207),f=n(67628);class g extends(a.WV({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,a.aV)(),signatureFeatureAvailability:f.H.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1})){}var w=n(53678),y=n(71231),P=n(92466),S=n(13997);const _="The image can not be rendered because of an unknown error.";class b{constructor(t){let{identifier:e,url:n,token:o,payload:s,doNotRequestWebP:a=!1}=t;this.identifier=e,this.url=n,this.token=o,this.payload=s,this.doNotRequestWebP=a}abort(){var t;null===(t=this.httpRequest)||void 0===t||t.abort()}request(){return new Promise(((t,e)=>{const n=new XMLHttpRequest;this.httpRequest=n,n.open(this.payload?"POST":"GET",this.url,!0),n.setRequestHeader("X-PSPDFKit-Image-Token",this.token),n.setRequestHeader("PSPDFKit-Platform","web"),n.setRequestHeader("PSPDFKit-Version",(0,S.oM)()),y.Zy&&!this.doNotRequestWebP&&n.setRequestHeader("Accept","image/webp,*/*"),n.responseType="blob",n.onreadystatechange=(async()=>{if(4!==n.readyState)return;if(n.response&&n.response.type.startsWith("application/json")){const o=new FileReader;return o.onload=n=>{var o;const s=JSON.parse(null===(o=n.target)||void 0===o?void 0:o.result);s.attachments_not_found?t({attachmentsNotFound:s.attachments_not_found}):s.error?"initialization_error"===s.error?t(null):e(new r.p2(`The server could not render the requested image (${s.error})`)):e(new r.p2(_))},o.onerror=()=>e(new r.p2(_)),void o.readAsText(n.response)}if(!(0,w.vu)(n.status))return void e(new r.p2(_));const o=n.response,s=URL.createObjectURL(o),a=new Image;a.onerror=()=>e(new r.p2(_)),a.src=s,await a.decode(),t(new P.Z(a,(()=>URL.revokeObjectURL(s))))}).bind(this),n.send(this.payload)}))}}var v=n(91859),F=n(4757),E=n(95651),R=n(30578),k=n(29346),$=n(89835);var T=n(70569),x=n(16554),O=n(13071),A=n(96617),D=n(46309),j=n(80488),U=n(4054),C=n(16126),I=n(60132),L=n(19815),N=n(63632),q=n(91039);const B=["color","fillColor","outlineColor"];function H(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function J(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:window;if(super(),e=this,(0,s.Z)(this,"_password",null),(0,s.Z)(this,"type","SERVER"),(0,s.Z)(this,"_requestRenderAnnotation",((t,n,o,s,a,c)=>{const l=`${this._state.documentURL}/render_annotation`,d=`render-annotation-${c?(0,i.SK)():t.id}`,h=JSON.stringify({data:(0,u.Hs)(t),width:s,height:a,detached:c||void 0,formFieldValue:n?(0,u.kr)(n):void 0});let m,p,f=!1,g=[];const w=new Promise(((t,e)=>{m=t,p=e}));return function n(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const c=new FormData;c.append("render",h),i.length>0&&"imageAttachmentId"in t&&t.imageAttachmentId&&o&&c.append(t.imageAttachmentId,o);const u=new b({identifier:d,url:l,token:e._state.imageToken,payload:c,doNotRequestWebP:s>v.pt||a>v.pt}),w=e._requestQueue.enqueue(u,!1);w.promise.then((t=>{f||(null!=t&&t.attachmentsNotFound?n(t.attachmentsNotFound):null!=t&&t.attachmentsNotFound?p(new r.p2("Attachment could not be found.")):m(t))})).catch((t=>{f||p(t)})),g.push(w)}(),{promise:w,cancel:()=>{f=!0,g.forEach((t=>{t.cancel()}))}}})),(0,s.Z)(this,"_requestRenderAnnotations",((t,e,n,o,s)=>{const a=`${this._state.documentURL}/render_annotations`,r=JSON.stringify({annotations:e.map(((e,s)=>({pageIndex:t,pdfObjectId:e,width:n[s],height:o[s]}))),formFieldValues:s});let i,c,l=!1;const d=new Promise(((t,e)=>{i=t,c=e}));return this._fetch(a,{method:"post",body:r,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((t=>t.formData())).then((t=>{l||i(Array.from(t.values()))})).catch((t=>{l||c(t)})),{promise:d,cancel:()=>{l=!0}}})),(0,s.Z)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()})),"object"!=typeof t.authPayload)throw new r.p2("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const a=null===(n=t.authPayload)||void 0===n?void 0:n.accessToken;let c=null,l=null,d=null;if(a)d=t.hostedBaseUrl||"https://api.pspdfkit.com/",(0,w.sf)(d),(0,h.eU)(a);else{if(c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const n=t.serverUrl||(0,S.SV)(e.document);if("/"!==n.substr(-1))throw new r.p2("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!t.serverUrl){if(n===`${e.location.protocol}//${e.location.host}/`)throw new r.p2('PSPDFKit automatically infers the URL of PSPDFKit Server from the current ` \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/initDotnet.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/initDotnet.js new file mode 100644 index 00000000..60efc974 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/initDotnet.js @@ -0,0 +1 @@ +import{dotnet}from"./dotnet.js";export async function initDotnet(t){if(null===t||"string"!=typeof t||0===t.trim().length)throw Error("`baseUrl` must be a string passed to `initDotnet` and be non-empty.");const{getAssemblyExports:e,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:e=>`${t}/${e}`}).create();globalThis.gdPicture={module:o,baseUrl:t};const n=await e(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,BaseUrl:t}} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/BouncyCastle.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/BouncyCastle.Cryptography.dll new file mode 100644 index 00000000..baf513b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/BouncyCastle.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/ChromeHtmlToPdfLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/ChromeHtmlToPdfLib.dll new file mode 100644 index 00000000..975fb56d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/ChromeHtmlToPdfLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/DocumentFormat.OpenXml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/DocumentFormat.OpenXml.dll new file mode 100644 index 00000000..d7bc7d6f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/DocumentFormat.OpenXml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.API.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.API.dll new file mode 100644 index 00000000..6a0cae02 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.API.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.CAD.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.CAD.dll new file mode 100644 index 00000000..1dc66f14 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.CAD.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Common.dll new file mode 100644 index 00000000..a2b291f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Document.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Document.dll new file mode 100644 index 00000000..7a766d3a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Document.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll new file mode 100644 index 00000000..5fb245cf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.dll new file mode 100644 index 00000000..59b864d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Formats.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll new file mode 100644 index 00000000..5b61e93d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.dll new file mode 100644 index 00000000..a2a18248 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.Imaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll new file mode 100644 index 00000000..3def7584 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenDocument.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenDocument.dll new file mode 100644 index 00000000..37fcbed0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenDocument.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenXML.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenXML.dll new file mode 100644 index 00000000..c65b1101 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.OpenXML.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.PDF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.PDF.dll new file mode 100644 index 00000000..ee0843ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.PDF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.RTF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.RTF.dll new file mode 100644 index 00000000..15529d9b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.RTF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.SVG.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.SVG.dll new file mode 100644 index 00000000..b257d37d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.SVG.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll new file mode 100644 index 00000000..4f8249df Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll new file mode 100644 index 00000000..86ee2c7b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll new file mode 100644 index 00000000..c1c92d77 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll new file mode 100644 index 00000000..9321d914 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.Wasm.NET7.dll new file mode 100644 index 00000000..276bf4b7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/GdPicture.NET.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.CSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.CSharp.dll new file mode 100644 index 00000000..e9f091c0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.CSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.Win32.Registry.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.Win32.Registry.dll new file mode 100644 index 00000000..65835e0a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Microsoft.Win32.Registry.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/MsgReader.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/MsgReader.dll new file mode 100644 index 00000000..7d9690d8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/MsgReader.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Newtonsoft.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Newtonsoft.Json.dll new file mode 100644 index 00000000..76c6d1af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/Newtonsoft.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/OpenMcdf.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/OpenMcdf.dll new file mode 100644 index 00000000..c52d61c6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/OpenMcdf.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/RtfPipe.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/RtfPipe.dll new file mode 100644 index 00000000..411819a6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/RtfPipe.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Concurrent.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Concurrent.dll new file mode 100644 index 00000000..f78371e6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Concurrent.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Immutable.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Immutable.dll new file mode 100644 index 00000000..1f01727c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Immutable.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.NonGeneric.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.NonGeneric.dll new file mode 100644 index 00000000..9da96846 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.NonGeneric.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Specialized.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Specialized.dll new file mode 100644 index 00000000..7718c00a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.Specialized.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.dll new file mode 100644 index 00000000..2048bbb1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Collections.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.EventBasedAsync.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 00000000..452e83eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.EventBasedAsync.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.Primitives.dll new file mode 100644 index 00000000..a0383b19 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.TypeConverter.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.TypeConverter.dll new file mode 100644 index 00000000..114544df Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.TypeConverter.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.dll new file mode 100644 index 00000000..b668a9ea Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ComponentModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Console.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Console.dll new file mode 100644 index 00000000..75ad6379 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Console.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Data.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Data.Common.dll new file mode 100644 index 00000000..09bf47d1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Data.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.DiagnosticSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 00000000..e21a404e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.DiagnosticSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.Process.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.Process.dll new file mode 100644 index 00000000..a682a6e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.Process.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.TraceSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.TraceSource.dll new file mode 100644 index 00000000..d9c43571 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Diagnostics.TraceSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.Primitives.dll new file mode 100644 index 00000000..96f48585 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.dll new file mode 100644 index 00000000..02399c5f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Drawing.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Formats.Asn1.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Formats.Asn1.dll new file mode 100644 index 00000000..57ffd7d0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Formats.Asn1.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Compression.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Compression.dll new file mode 100644 index 00000000..69d63e14 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Compression.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Packaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Packaging.dll new file mode 100644 index 00000000..a083cb30 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.IO.Packaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.Expressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.Expressions.dll new file mode 100644 index 00000000..e7cddf91 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.Expressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.dll new file mode 100644 index 00000000..e7efb70b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Memory.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Memory.dll new file mode 100644 index 00000000..ccf7297d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Memory.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.Formatting.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.Formatting.dll new file mode 100644 index 00000000..efaa5cf7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.Formatting.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.dll new file mode 100644 index 00000000..3fbef7e7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Http.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Mail.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Mail.dll new file mode 100644 index 00000000..bfd2d47b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Mail.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.NetworkInformation.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.NetworkInformation.dll new file mode 100644 index 00000000..039c0962 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.NetworkInformation.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Primitives.dll new file mode 100644 index 00000000..08e286a9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Requests.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Requests.dll new file mode 100644 index 00000000..4bcd6abd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Requests.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Security.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Security.dll new file mode 100644 index 00000000..7d435a4e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Security.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.ServicePoint.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.ServicePoint.dll new file mode 100644 index 00000000..052f610d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.ServicePoint.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Sockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Sockets.dll new file mode 100644 index 00000000..2a7f4a6b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.Sockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebHeaderCollection.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebHeaderCollection.dll new file mode 100644 index 00000000..6a8cbb67 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebHeaderCollection.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.Client.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.Client.dll new file mode 100644 index 00000000..b52b07be Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.Client.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.dll new file mode 100644 index 00000000..f5238fc9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Net.WebSockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ObjectModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ObjectModel.dll new file mode 100644 index 00000000..c91131f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.ObjectModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.CoreLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.CoreLib.dll new file mode 100644 index 00000000..73db180b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.CoreLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Uri.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Uri.dll new file mode 100644 index 00000000..65e6840f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Uri.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.Linq.dll new file mode 100644 index 00000000..6c174431 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.dll new file mode 100644 index 00000000..8d1e9d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Private.Xml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.InteropServices.JavaScript.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 00000000..befe479b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Numerics.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Numerics.dll new file mode 100644 index 00000000..a81298dd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Numerics.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Formatters.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 00000000..1ca7f269 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Formatters.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 00000000..1200239b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.Serialization.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.dll new file mode 100644 index 00000000..814086a0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Runtime.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.Pkcs.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 00000000..d4d3a17d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.Pkcs.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.dll new file mode 100644 index 00000000..c13d6b65 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Security.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encoding.CodePages.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encoding.CodePages.dll new file mode 100644 index 00000000..a1b481da Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encoding.CodePages.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encodings.Web.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encodings.Web.dll new file mode 100644 index 00000000..c965c332 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Encodings.Web.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Json.dll new file mode 100644 index 00000000..2ccc3f79 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.RegularExpressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.RegularExpressions.dll new file mode 100644 index 00000000..721beadb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Text.RegularExpressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Threading.Tasks.Parallel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Threading.Tasks.Parallel.dll new file mode 100644 index 00000000..6e3ea829 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Threading.Tasks.Parallel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Windows.Extensions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Windows.Extensions.dll new file mode 100644 index 00000000..0d60996c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Windows.Extensions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Xml.Linq.dll new file mode 100644 index 00000000..97523c31 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.dll new file mode 100644 index 00000000..2a26cb53 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/System.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.Core.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.Core.dll new file mode 100644 index 00000000..c10c6f24 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.Core.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.dll new file mode 100644 index 00000000..2faf78d5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/managed/protobuf-net.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/mono-config.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/mono-config.json new file mode 100644 index 00000000..a11e74bd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/mono-config.json @@ -0,0 +1,364 @@ +{ + "mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll", + "assemblyRootFolder": "managed", + "debugLevel": 0, + "assets": [ + { + "behavior": "assembly", + "name": "BouncyCastle.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "ChromeHtmlToPdfLib.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.API.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.1d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.2d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.CAD.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Common.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Document.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Rendering.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.MSOfficeBinary.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenDocument.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenXML.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.PDF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.RTF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.SVG.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.CSharp.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.Win32.Registry.dll" + }, + { + "behavior": "assembly", + "name": "MsgReader.dll" + }, + { + "behavior": "assembly", + "name": "Newtonsoft.Json.dll" + }, + { + "behavior": "assembly", + "name": "OpenMcdf.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.Core.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.dll" + }, + { + "behavior": "assembly", + "name": "RtfPipe.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Concurrent.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Immutable.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.NonGeneric.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Specialized.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.EventBasedAsync.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.TypeConverter.dll" + }, + { + "behavior": "assembly", + "name": "System.Console.dll" + }, + { + "behavior": "assembly", + "name": "System.Data.Common.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.DiagnosticSource.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.Process.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.TraceSource.dll" + }, + { + "behavior": "assembly", + "name": "System.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Formats.Asn1.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Compression.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Packaging.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.Expressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Memory.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.Formatting.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Mail.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.NetworkInformation.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Requests.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Security.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.ServicePoint.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Sockets.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebHeaderCollection.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.Client.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.dll" + }, + { + "behavior": "assembly", + "name": "System.ObjectModel.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.CoreLib.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Uri.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.InteropServices.JavaScript.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Numerics.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Formatters.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.Pkcs.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encoding.CodePages.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encodings.Web.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Json.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.RegularExpressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Threading.Tasks.Parallel.dll" + }, + { + "behavior": "assembly", + "name": "System.Windows.Extensions.dll" + }, + { + "behavior": "assembly", + "name": "System.Xml.Linq.dll" + }, + { + "virtualPath": "runtimeconfig.bin", + "behavior": "vfs", + "name": "supportFiles/0_runtimeconfig.bin" + }, + { + "loadRemote": false, + "behavior": "icu", + "name": "icudt.dat" + }, + { + "virtualPath": "/usr/share/zoneinfo/", + "behavior": "vfs", + "name": "dotnet.timezones.blat" + }, + { + "behavior": "dotnetwasm", + "name": "dotnet.wasm" + } + ], + "remoteSources": [], + "pthreadPoolSize": 0 +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/package.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/package.json new file mode 100644 index 00000000..3e0a2a7f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/package.json @@ -0,0 +1 @@ +{ "type":"module" } \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resourceLoader.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resourceLoader.js new file mode 100644 index 00000000..65a50937 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resourceLoader.js @@ -0,0 +1 @@ +let require,resources;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(ENVIRONMENT_IS_NODE){const{createRequire:e}=await import("module");require=e(import.meta.url)}else if(ENVIRONMENT_IS_DENO){const e=new URL("./resources/list.json",import.meta.url),r=await globalThis.fetch(e).then((e=>e.json())),t=await Promise.all(r.map((e=>{const r=new URL(`./resources/${e}`,import.meta.url);return globalThis.fetch(r).then((async e=>{if(e.ok)return e.arrayBuffer()})).then((r=>({buffer:r,filename:e}))).catch((()=>({buffer:void 0,filename:e})))})));resources=t.reduce(((e,{filename:r,buffer:t})=>(e[`${globalThis.gdPicture.baseUrl}/resources/${decodeURI(r)}`]=t,e)),{})}}export function fetchResource(e,r){fetch(`${globalThis.gdPicture.baseUrl}/resources/${e}`,r)}export function fetch(e,r){try{if(ENVIRONMENT_IS_NODE){const t=require("node:fs"),o=require("node:path"),i=t.readFileSync(o.normalize(e));globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(i))}else if(ENVIRONMENT_IS_DENO)globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(resources[e]));else{const t=new XMLHttpRequest;t.open("GET",e,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(r,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(let r=0,o=e.length;r驮v6w7j{ GgL[LqLqL8+(]}uC 4-1PwH#c$&聘jGbz&Z腨W"w7߉ +$Znp뮑S_ VG \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78-V.dat new file mode 100644 index 00000000..a516681c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78-V.dat @@ -0,0 +1 @@ +x%̽j`Jp}B]t(\:ekoSDpwzpԛ%IAumo[hx'[jx4LJ+mb0DD|ħJ _*9r|(R¯J* lUZعBF\0<‚WXּ†J˖!WT1 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-H.dat new file mode 100644 index 00000000..8571d516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-V.dat new file mode 100644 index 00000000..fa7c606c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_78ms-RKSJ-V.dat @@ -0,0 +1,3 @@ +xEKKa!>Z+DJ u_i;; -VWQIioq]M}u +Nržq[=k^OMd[3tٛ W9;1m޾a̎` 6B%kK7ivo 2.d]ֽ7r[v v܎dvg=2ՠܗoq *}aPOO_~o?W~!>I&yL0!RL`<-H3GX!0(G 2A9 ̳_01s LpuINV0)V +9n grsE< \``l,q}e.`+!X*;k\%:yU lrڤ Yv&`mѻZUh6];( :SDn==ڣ#\^=}ڧ"RG/R; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_83pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_83pv-RKSJ-H.dat new file mode 100644 index 00000000..ab4e2e4b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_83pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-H.dat new file mode 100644 index 00000000..a8f8ba36 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-UCS2.dat new file mode 100644 index 00000000..b5d22be8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-V.dat new file mode 100644 index 00000000..a47109f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90ms-RKSJ-V.dat @@ -0,0 +1,2 @@ +xEKKa!>]t0Ѱ(BϚ Az6.E183:GDmdsBUTr|WSb'l}lr[nOE۸pƞOLPo/ۧ&h- :Mv+6o_0jXP[!AʥKq .lM`mn}2q;u_ J}jP70A'/A ԫG?} $, rG)xR0!f`,da`#de y'( 8c s NF0IV8.4pEg` l,r%.`˼!X +\%xUulp ڨ Iv&tfmֻZEhVM۵( :CD.=ڭ#\=ګ"R/7? \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-H.dat new file mode 100644 index 00000000..d60b4783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-V.dat new file mode 100644 index 00000000..cfe70499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90msp-RKSJ-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-H.dat new file mode 100644 index 00000000..265cf14d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2.dat new file mode 100644 index 00000000..264f511c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2C.dat new file mode 100644 index 00000000..2f5def6c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-V.dat new file mode 100644 index 00000000..c85cc6aa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_90pv-RKSJ-V.dat @@ -0,0 +1 @@ +xEMKQ2xʝ "Cn6!iת<7 Br|̏: D6ZZj-VWޮ-/S8<uc:=qOܫŽ7q(5ǂDh?yOAA z*(jQe-/AE+[Pժ P/Gzvk?Jav-N+Xn6`Vs+Z4дe0ۊ#dTXSEUX +OgXc*WDQg2lbLSMPbOuvsEV~TҞk \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Add-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Add-V.dat new file mode 100644 index 00000000..b723ddd7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Add-V.dat @@ -0,0 +1 @@ +x%MKasKCDPja-jD C:F-G-Eʝ6Hu"6}81:݀%o6Y 7>^1U}ØiO0:)jW:7״bȈhZDhYEm#:ֱ1>ETVj1MJWkƼ21oyf;+c^y2#C7}$iNxB=K gH, nIO$s \ɄO' 8ྠd3 \䩄wK\`<>=>U j<qO\`![[ho \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-0.dat new file mode 100644 index 00000000..46a900d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-1.dat new file mode 100644 index 00000000..cc0448e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-2.dat new file mode 100644 index 00000000..9c02a633 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-3.dat new file mode 100644 index 00000000..c2ea5f03 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-4.dat new file mode 100644 index 00000000..8df3a15e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-5.dat new file mode 100644 index 00000000..42421863 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-6.dat new file mode 100644 index 00000000..56e68c7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-7.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-7.dat new file mode 100644 index 00000000..33db65eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-7.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-B5pc.dat new file mode 100644 index 00000000..d65b9bf0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-ETenms-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-ETenms-B5.dat new file mode 100644 index 00000000..8165b275 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-ETenms-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-CID.dat new file mode 100644 index 00000000..ac2e376d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Host.dat new file mode 100644 index 00000000..fb2e9201 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Mac.dat new file mode 100644 index 00000000..302bdfb0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-UCS2.dat new file mode 100644 index 00000000..d1e3b07c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-CNS1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-0.dat new file mode 100644 index 00000000..b6d05924 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-1.dat new file mode 100644 index 00000000..ee304d0e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-2.dat new file mode 100644 index 00000000..a4f0bd70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-3.dat new file mode 100644 index 00000000..f250662e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-4.dat new file mode 100644 index 00000000..acc71545 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-5.dat new file mode 100644 index 00000000..9b78c40e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-UCS2.dat new file mode 100644 index 00000000..725a844b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-GB1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-0.dat new file mode 100644 index 00000000..04bb9ac4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-1.dat new file mode 100644 index 00000000..addb6246 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-2.dat new file mode 100644 index 00000000..4cc5ec8e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-3.dat new file mode 100644 index 00000000..bdb56a82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-4.dat new file mode 100644 index 00000000..a43767cd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-5.dat new file mode 100644 index 00000000..71400f97 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-6.dat new file mode 100644 index 00000000..8f3c5a4d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat new file mode 100644 index 00000000..e049e02b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat new file mode 100644 index 00000000..4e632385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-CID.dat new file mode 100644 index 00000000..ac40ffe5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Host.dat new file mode 100644 index 00000000..fcb56d54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Mac.dat new file mode 100644 index 00000000..dfba535c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-UCS2.dat new file mode 100644 index 00000000..9e40df62 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan2-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan2-0.dat new file mode 100644 index 00000000..aa5004ff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Japan2-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-0.dat new file mode 100644 index 00000000..32240d5e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-1.dat new file mode 100644 index 00000000..c0545801 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-2.dat new file mode 100644 index 00000000..33f7cf3f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-CID.dat new file mode 100644 index 00000000..18faba63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Host.dat new file mode 100644 index 00000000..93e1ff92 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Mac.dat new file mode 100644 index 00000000..6a47ad70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCms-UHC.dat new file mode 100644 index 00000000..3fba1e58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat new file mode 100644 index 00000000..30597cd3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-UCS2.dat new file mode 100644 index 00000000..ada286a1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Adobe-Korea1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_B5-H.dat new file mode 100644 index 00000000..1890fd27 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_B5-H.dat @@ -0,0 +1,9 @@ +x%[PG j"5h8Awm&S/2Q{Jlb&hzdE;t2$39L aq(*,*˲, o޼k|E!DDߟ c6AU: VQfVR*_ jY%_!+C@擞9%@PZM@sAK|B* jra#ET#PE\*P\|j%ԩu/|JN< +U%ZTP\*WBQOZe\**X~1p9_*:Vp!+P\Ye&X(sXy,dUu⪀eUPVA^+3ZWՐTjjЪ5P5\sl d-նjr'' k]?}]Z ԰g-T7a-d#5k5rc\d5."7iHktm:k|:fj.ji-ku`8h!x( [B-Z-ܲ)VjT+ZڨmsT[i[ (k ۩QvG wy8j%o`mEZ(lҗCH"lyO6Zec[zVwj]I}3Ioo?#O%ጝ%AٛeI-oDo9;ۗrnrDlcMv +]SZNrd!۫[6APgzIz7> ˽죾:>[͐4dțtd|ө5Hi[y!⡕[!]:* +MvWoO؆'7_fK oѭnQtۡnOCӰ[kxlx} +ឭb|@H4 +5ʣBzcH⡇=@_wdz4gyܦu<u}r&Z&x&iI~MZSqYRUy?Sǔ9*RzLE/QTz Xz tDoLlZZLWPWZT*TJB.tjQQ*".: +*]кW,SOAsIJU%2 +J*RV4TٓO˸RTa9ox*?UUZf22^3/GCVRY\׺F~_jt}F:_ߵ>[UUZTONj}k, o|AQWAqK߭l>nl_@5v4v#7&\&<iZXey2#[r4–?B6SV37xZ.=-VjZNJ[86jka͈Cg[g8lxHqknCG i|ppUyA#4 5#o&CzcOccϧ≇=^C/B蟵hlZkv9Nz jmZ~P!'hYk'Xk&턚서)Ck =r~0y!?+Q#~.r5?]4Ou8̚T\P3/)QߏRŘ}HKPsstmɟ??^)|~zVH 7@Gx;@sPG tN g `0y_3q6x6x^wKxJ1x,:I ccM"yFHg#y@2ȘDG1Z#Yd_1uDs]!H&0Nb6#La-LcSkRB5RF \-:{d HGtHS^%,]"X~OVPIVa-]CRG- :ilb3(-ml";؉Dw{4EW +c 9h }r÷(}?d \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CNS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CNS2-V.dat new file mode 100644 index 00000000..c32d92fa Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CNS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CourierStdToNew.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CourierStdToNew.dat new file mode 100644 index 00000000..bf30555e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_CourierStdToNew.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DefaultCMYK.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DefaultCMYK.icc new file mode 100644 index 00000000..881cfb41 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DefaultCMYK.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansFallbackFull.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansFallbackFull.ttf new file mode 100644 index 00000000..8f540d16 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansFallbackFull.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansMono.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansMono.ttf new file mode 100644 index 00000000..98e21409 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_DroidSansMono.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-H.dat new file mode 100644 index 00000000..a19245c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-V.dat new file mode 100644 index 00000000..7023d86e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETHK-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETen-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETen-B5-H.dat new file mode 100644 index 00000000..772fe376 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ETen-B5-H.dat @@ -0,0 +1,4 @@ +x%kpDD(!&pIT0re:SfAE"VMP?:/:;δ:= 亁\ȅl.d%Hvsߐdf۞_y}WBTQb RQ'VGلw)=ԢZbI-IJbe\T.<^+>ohk[%t( +_: +2Zd|T8.PWJQB*<(T!iQVBq\ YL?hsV TÒ KbTa)=UeZf22w_F͟GCSY\׺JW_]uu56u\ YA_VJL^Uɕ@VQUVWW}uu'!k'jƥUK{BrBQ]V@SG1Pm1h~ޠkAA6PCV7x,[^7,}1␅,Gb,lS,d#5Nh5r SPMdjqPEġߏl:tqll9'-ܒi}ϚcV!Zc6Z9^Yer=i;l #ǖc$^e#۪P6elֿkrk PvGo€}^a loMPmܶa/d; ~J˱q6AujG8]ht:0`RduDotKK?l|ur甖6B9FțtӣuonE]mzn4T7wyzzgQzmޯ7Cޢ[[|+#6*6vjQ_>;۴VHNnrurL7]֝S76IMA6^kFigۡyC4ZϐgkI4|. j`" yN#4 5#'CҨYk?d<}0Ex8ʣ@_ZѷԾ5 lh3 #\ĦаT "Z 6*2lUrة(W)QRQFJD/0 +3]a·+,t%_+)DFD"+F4E6N~T3EZВpLoII;oFv+D.BntE+҇vҏ'D0 bp a(0_# }xJt ced㱱xM&1C0':d3dE0K|SKX X#+XqNt_ YڽXI6}At/6] `g}ItH?d{E_/`R \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-EUC-V.dat new file mode 100644 index 00000000..fcc9b6fd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-EUC-V.dat @@ -0,0 +1,3 @@ +x- `E0 +(!T=FX +!BDVgqSЏFHbm4FZjiMUʎlG;܋˘q-(XpxÝ%CA͚KEÆh&"3 R|VA \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-H.dat new file mode 100644 index 00000000..695fe1c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-V.dat new file mode 100644 index 00000000..af567748 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GB-V.dat @@ -0,0 +1,4 @@ +x%= +@E;,ByrI +Ke.@B2kw8Mf)Od?- ΂ +k{+m>mH#;ĕ,5k.GxR^;={b`ȗ`ķ 2r \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-H.dat new file mode 100644 index 00000000..531672ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-UCS2.dat new file mode 100644 index 00000000..5b5f8002 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-V.dat new file mode 100644 index 00000000..a67b0113 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_GBK-EUC-V.dat @@ -0,0 +1,2 @@ +x59`E8p)74BR' \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-H.dat new file mode 100644 index 00000000..3753d7dc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-V.dat new file mode 100644 index 00000000..e76f5d71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm314-B5-V.dat @@ -0,0 +1,2 @@ +xEƱ +Aqr݀Կ CQuE1 `P+k:7B<ӓvzy?Qa}J$W3$Oq,KV\57yÖcC>p)74 C˿& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-H.dat new file mode 100644 index 00000000..23ead8d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-V.dat new file mode 100644 index 00000000..2a44d619 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKm471-B5-V.dat @@ -0,0 +1,3 @@ +xEƱ +Aqrn:/6PEEQ`0 +΍PdENޏ|_X_mAxL8Sf9 .WfMް.y ?& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-H.dat new file mode 100644 index 00000000..56a2d1fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-V.dat new file mode 100644 index 00000000..2ec41783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_HKscs-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hankaku.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hankaku.dat new file mode 100644 index 00000000..ec002fc3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hankaku.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hiragana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hiragana.dat new file mode 100644 index 00000000..ce2a4471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hiragana.dat @@ -0,0 +1,2 @@ +x%-@PF~@ue3*+\Q 3ӎ3l g|#DFFN+&idfjEczǸ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-H.dat new file mode 100644 index 00000000..d50e5a0d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-V.dat new file mode 100644 index 00000000..b71442c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-EUC-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-H.dat new file mode 100644 index 00000000..34ecce80 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Hojo-H.dat @@ -0,0 +1 @@ +x%=LSq{@Fr/|JRR(|C) A:IqprprP&`b`ĻrNrrkckىzfBWQF=7\,}ҏ  \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-UCS2.dat new file mode 100644 index 00000000..4b8634b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-V.dat new file mode 100644 index 00000000..6f156c2d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCms-UHC-V.dat @@ -0,0 +1,3 @@ +xE1 +p .)\ƨ[4DAWTS$CcDx MxA00G޿Cgt.p1c` z9\Μ ؝O.6\_Up2` +at+UTU { y=N \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-H.dat new file mode 100644 index 00000000..acf61b84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-UCS2C.dat new file mode 100644 index 00000000..b10e553e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-V.dat new file mode 100644 index 00000000..e4722c74 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_KSCpc-EUC-V.dat @@ -0,0 +1,2 @@ +xEʱ `Eۦq".`) +jV%`R !dA XU8^L~w#=g.p#`1c:9\ƌ ؝O.j\Ú_UpR`rat+T+UT) h_=. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Katakana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Katakana.dat new file mode 100644 index 00000000..fd967d4f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Katakana.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-H.dat new file mode 100644 index 00000000..7e60acdf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-V.dat new file mode 100644 index 00000000..dc461eb9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_NWP-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_OutputIntent.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_OutputIntent.icc new file mode 100644 index 00000000..1b072d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_OutputIntent.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_PDFA-XMP.4.2.3 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_PDFA-XMP.4.2.3 new file mode 100644 index 00000000..0bb93bfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_PDFA-XMP.4.2.3 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-H.dat new file mode 100644 index 00000000..45d15da6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-V.dat new file mode 100644 index 00000000..21772182 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_RKSJ-V.dat @@ -0,0 +1,2 @@ +x%KJBqw&sW"rIhAHw̙NED\+4qf﷕uoUw7 U" ؋K8+8k8(}uG 4=1PH#=cDL431T/L3sF,;QsDܟDu/" +&npiE/vq)C=WU \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Roman.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Roman.dat new file mode 100644 index 00000000..dfee909d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Roman.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Symbol.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Symbol.ttf new file mode 100644 index 00000000..a961602c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Symbol.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90ms-RKSJ.dat new file mode 100644 index 00000000..73c911b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90pv-RKSJ.dat new file mode 100644 index 00000000..d677b3fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-B5pc.dat new file mode 100644 index 00000000..583a9959 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-ETen-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-ETen-B5.dat new file mode 100644 index 00000000..84dc29b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-ETen-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBK-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBK-EUC.dat new file mode 100644 index 00000000..9086b27e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBK-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBpc-EUC.dat new file mode 100644 index 00000000..4147ed82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-GBpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCms-UHC.dat new file mode 100644 index 00000000..b75d746a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCpc-EUC.dat new file mode 100644 index 00000000..f9fbe4c3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UCS2-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-H.dat new file mode 100644 index 00000000..828f6a5b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-V.dat new file mode 100644 index 00000000..0a6a270b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-H.dat new file mode 100644 index 00000000..488bc329 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-V.dat new file mode 100644 index 00000000..6d7d156e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-H.dat new file mode 100644 index 00000000..7cbbe581 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-V.dat new file mode 100644 index 00000000..a5d16ba9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-H.dat new file mode 100644 index 00000000..a49aea21 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-V.dat new file mode 100644 index 00000000..ee565245 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniCNS-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-H.dat new file mode 100644 index 00000000..c56a1528 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-V.dat new file mode 100644 index 00000000..bc1f554a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UCS2-V.dat @@ -0,0 +1 @@ +xM1k`Eﻓ`+h%t <\%Fbь[w tl'ju?%00?8l}|W%F 'A?~LPAHJbs-%J4Sm**U&Lt74 + aZ4 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-H.dat new file mode 100644 index 00000000..2ad4fa7f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-V.dat new file mode 100644 index 00000000..7ff0ba73 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF16-V.dat @@ -0,0 +1 @@ +xM`E;PDMY,R"=l'9W_ݢZ AOnDɝrFmۉ.F:6X`fkJut *#M"  \yv@A%P L@H|(14 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-H.dat new file mode 100644 index 00000000..cdf16983 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-V.dat new file mode 100644 index 00000000..ce4830a2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniGB-UTF8-V.dat @@ -0,0 +1 @@ +xMKPFovN,(t &-g\ 3qI$cfФj'd1 +~2(Qih"7v{9u;onp`dm7h~y?%^F171c7`sJ +愷<BC8)( >q4QGGFLLOp(=~p:ÑHIOq<=p"=RRzwl9T:'8K7%44Jy͗X_BBtNӕ 7S˴S\VhYZkUi Z5Z:[stnjnչUPu]P#h4jnyQФMIЬ:$h,uXЪG *z? MjAsA^'(k t^/NK,(hAoi X&b] +ETmeLGZLM˕zBGJ)nکWҵzuNtk.XNA^ݠګlԍOЧ}wA:ĵZ  )BRh ȵ16V,gzWn6]p@5؇޵ZOXb {X]^£K<^׾o=;vо8jGmk1;f[m~x=&l~xž='Nj1i;cǔM|kY.qY"GJM4|&bgEF`Y|.|!U<Qj$aODWzH;W<Ml⑀f6 +_sS.< x,`!TD'|7g'hc+,b~.cK Ώ""[|<<VR^+#VqXOe_Ft~.~'7u_Gz F~]8~1NO0AMy1!,0y(` qlvg;8eE߀˪"q+U`E#<*6d5%-B2>:Mf{X \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UCS2-V.dat new file mode 100644 index 00000000..a657c0b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UTF8-V.dat new file mode 100644 index 00000000..cf4182d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISPro-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-H.dat new file mode 100644 index 00000000..a3b5ef63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-V.dat new file mode 100644 index 00000000..365fbf28 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX0213-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-H.dat new file mode 100644 index 00000000..538a3f54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-V.dat new file mode 100644 index 00000000..de0455de Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniJISX02132004-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-H.dat new file mode 100644 index 00000000..ed856026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-V.dat new file mode 100644 index 00000000..f1c50727 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-H.dat new file mode 100644 index 00000000..b66337f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-V.dat new file mode 100644 index 00000000..fecb38f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-H.dat new file mode 100644 index 00000000..d6a7dc7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-V.dat new file mode 100644 index 00000000..7aec18e0 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF32-V.dat @@ -0,0 +1,2 @@ +xM? AqFߟ r-[blRFE&ʧA8ϵܧ9p~Mt flB3WEV@ZfX)rH  +GET`|9pJ~<D\ED\5$bक़#b 2 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-H.dat new file mode 100644 index 00000000..afc93e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-V.dat new file mode 100644 index 00000000..d0110aa4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_UniKS-UTF8-V.dat @@ -0,0 +1 @@ +xMMPӘvdV`n"1`b,QQ2^X@{k$O76[U]U;_4ӕwH3码MO4; ,Hc/+7,WY+ lX&[⩁#jDd84Db⪁1qrCB|a. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_V.dat new file mode 100644 index 00000000..f7b2445d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_WP-Symbol.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_WP-Symbol.dat new file mode 100644 index 00000000..aa6295e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_WP-Symbol.dat @@ -0,0 +1,3 @@ +x%Ja?6 7G1MZ +⮈ENНt^.,WDKɁ#OY"_%~DsF +JY:[K"&+ɮin.Xm/ptc*'0b#gFlΜx䕜DH \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Wingding.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Wingding.ttf new file mode 100644 index 00000000..a50b2cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_Wingding.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ZapfDingbats.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ZapfDingbats.ttf new file mode 100644 index 00000000..649ccd58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_ZapfDingbats.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_fontsubst.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_fontsubst.dat new file mode 100644 index 00000000..32851043 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_fontsubst.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_times.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_times.ttf new file mode 100644 index 00000000..2e69c6a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/_times.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/list.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/list.json new file mode 100644 index 00000000..47fa74ca --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/resources/list.json @@ -0,0 +1,231 @@ +[ +"_UCS2-ETen-B5.dat", +"_Adobe-GB1-UCS2.dat", +"_GBT-H.dat", +"_Adobe-GB1-2.dat", +"_Adobe-Korea1-UCS2.dat", +"_Hojo-H.dat", +"_Identity-V.dat", +"_Adobe-GB1-0.dat", +"_UniGB-UTF8-H.dat", +"_Symbol.ttf", +"_times.ttf", +"_GBK2K-V.dat", +"_Add-RKSJ-V.dat", +"_UniJIS-UTF8-V.dat", +"_Adobe-Korea1-1.dat", +"_Adobe-GB1-3.dat", +"_UniHojo-UCS2-V.dat", +"_CNS-EUC-H.dat", +"_UniCNS-UTF16-V.dat", +"_UniGB-UCS2-H.dat", +"_UniKS-UCS2-H.dat", +"_GB-EUC-V.dat", +"_Adobe-Japan2-0.dat", +"_Hojo-EUC-V.dat", +"_UniJIS-UCS2-HW-H.dat", +"_KSCpc-EUC-UCS2C.dat", +"_Adobe-CNS1-5.dat", +"_Ext-H.dat", +"_Hojo-EUC-H.dat", +"_Adobe-CNS1-B5pc.dat", +"_Adobe-Korea1-KSCms-UHC.dat", +"_UCS2-90ms-RKSJ.dat", +"_KSCms-UHC-HW-H.dat", +"_HKm314-B5-H.dat", +"_EUC-V.dat", +"_HKdlb-B5-H.dat", +"_Adobe-CNS1-2.dat", +"_78-EUC-H.dat", +"_ETen-B5-V.dat", +"_KSCms-UHC-H.dat", +"_ZapfDingbats.ttf", +"_Adobe-CNS1-1.dat", +"_Ext-RKSJ-V.dat", +"_UCS2-GBpc-EUC.dat", +"_OutputIntent.icc", +"_Adobe-Japan1-2.dat", +"_UniKS-UTF8-V.dat", +"_WP-Symbol.dat", +"_UniJIS2004-UTF8-H.dat", +"_UniKS-UTF32-H.dat", +"_90pv-RKSJ-UCS2.dat", +"_UCS2-KSCpc-EUC.dat", +"_GBK-EUC-V.dat", +"_ETenms-B5-V.dat", +"_HKgccs-B5-H.dat", +"_UniJIS-UTF32-V.dat", +"_90pv-RKSJ-H.dat", +"_UniJIS-UCS2-HW-V.dat", +"_Adobe-CNS1-7.dat", +"_GB-V.dat", +"_B5pc-V.dat", +"_UniHojo-UTF32-V.dat", +"_GBT-V.dat", +"_Adobe-Japan1-4.dat", +"_UniHojo-UTF16-H.dat", +"_Ext-RKSJ-H.dat", +"_KSCpc-EUC-H.dat", +"_Adobe-Japan1-3.dat", +"_NWP-H.dat", +"_Katakana.dat", +"_HKscs-B5-H.dat", +"_UniGB-UTF16-V.dat", +"_GBTpc-EUC-H.dat", +"_90ms-RKSJ-UCS2.dat", +"_GB-H.dat", +"_Adobe-CNS1-6.dat", +"_UniCNS-UCS2-H.dat", +"_UniHojo-UTF8-H.dat", +"_Adobe-Japan1-0.dat", +"_KSC-EUC-V.dat", +"_Adobe-Korea1-2.dat", +"_UCS2-B5pc.dat", +"_UniKS-UTF32-V.dat", +"_UniJIS-UTF8-H.dat", +"_UniJIS2004-UTF8-V.dat", +"_Adobe-CNS1-H-CID.dat", +"_UCS2-90pv-RKSJ.dat", +"_UniJISX02132004-UTF32-V.dat", +"_Identity-H.dat", +"_KSC-V.dat", +"_HKgccs-B5-V.dat", +"_UniHojo-UTF8-V.dat", +"_UniGB-UTF32-V.dat", +"_UniJIS-UTF32-H.dat", +"_HKm314-B5-V.dat", +"_UniJISPro-UCS2-V.dat", +"_HKdla-B5-H.dat", +"_HKm471-B5-H.dat", +"_KSC-Johab-H.dat", +"_GBTpc-EUC-V.dat", +"_Roman.dat", +"_CNS1-H.dat", +"_UniGB-UTF16-H.dat", +"_B5-V.dat", +"_UniCNS-UTF32-V.dat", +"_DroidSansMono.ttf", +"_Adobe-Japan1-H-Mac.dat", +"_UniGB-UCS2-V.dat", +"_Adobe-CNS1-H-Host.dat", +"_GBK-EUC-H.dat", +"_90ms-RKSJ-H.dat", +"_UniJIS2004-UTF16-V.dat", +"_Add-H.dat", +"_UniKS-UCS2-V.dat", +"_Adobe-Korea1-KSCpc-EUC.dat", +"_UniGB-UTF32-H.dat", +"_UniCNS-UTF32-H.dat", +"_UniCNS-UTF16-H.dat", +"_78-EUC-V.dat", +"_UniHojo-UTF32-H.dat", +"_KSCpc-EUC-V.dat", +"_UniCNS-UTF8-H.dat", +"_Adobe-GB1-1.dat", +"_Adobe-Japan1-90ms-RKSJ.dat", +"_GBK-EUC-UCS2.dat", +"_CNS-EUC-V.dat", +"_UniJIS2004-UTF32-V.dat", +"_UniCNS-UCS2-V.dat", +"_NWP-V.dat", +"_UniCNS-UTF8-V.dat", +"_GBpc-EUC-H.dat", +"_HKscs-B5-V.dat", +"_Adobe-Japan1-90pv-RKSJ.dat", +"_KSCms-UHC-V.dat", +"_Adobe-CNS1-ETenms-B5.dat", +"_Adobe-Japan1-H-Host.dat", +"_UniJIS-UTF16-V.dat", +"_EUC-H.dat", +"_78-H.dat", +"_B5pc-UCS2.dat", +"_UniKS-UTF8-H.dat", +"_DroidSansFallbackFull.ttf", +"_GBT-EUC-V.dat", +"_KSCms-UHC-UCS2.dat", +"_HKdla-B5-V.dat", +"_UniJISPro-UCS2-HW-V.dat", +"_Adobe-CNS1-UCS2.dat", +"_Adobe-Korea1-H-Host.dat", +"_PDFA-XMP.4.2.3", +"_UniHojo-UCS2-H.dat", +"_83pv-RKSJ-H.dat", +"_UCS2-KSCms-UHC.dat", +"_GBT-EUC-H.dat", +"_Adobe-CNS1-3.dat", +"_90pv-RKSJ-UCS2C.dat", +"_GBKp-EUC-H.dat", +"_78ms-RKSJ-V.dat", +"_KSC-Johab-V.dat", +"_UniJISX02132004-UTF32-H.dat", +"_90ms-RKSJ-V.dat", +"_ETen-B5-UCS2.dat", +"_Adobe-Korea1-H-Mac.dat", +"_ETen-B5-H.dat", +"_UniJISX0213-UTF32-H.dat", +"_ETHK-B5-V.dat", +"_KSCms-UHC-HW-V.dat", +"_Adobe-Korea1-0.dat", +"_Adobe-Japan1-H-CID.dat", +"_Wingding.ttf", +"_B5pc-UCS2C.dat", +"_Adobe-Korea1-H-CID.dat", +"_fontsubst.dat", +"_78-RKSJ-H.dat", +"_GBpc-EUC-UCS2C.dat", +"_UniKS-UTF16-H.dat", +"_90msp-RKSJ-V.dat", +"_UniJISX0213-UTF32-V.dat", +"_UniKS-UTF16-V.dat", +"_V.dat", +"_Adobe-CNS1-H-Mac.dat", +"_Hojo-V.dat", +"_GBK2K-H.dat", +"_Adobe-CNS1-0.dat", +"_B5pc-H.dat", +"_CNS1-V.dat", +"_CNS2-H.dat", +"_Add-RKSJ-H.dat", +"_HKm471-B5-V.dat", +"_B5-H.dat", +"_Add-V.dat", +"_ETHK-B5-H.dat", +"_GBKp-EUC-V.dat", +"_UniJIS-UTF16-H.dat", +"_KSC-H.dat", +"_UniJIS2004-UTF32-H.dat", +"_HKdlb-B5-V.dat", +"_RKSJ-H.dat", +"_Adobe-Japan1-UCS2.dat", +"_UniJIS-UCS2-V.dat", +"_UniJIS-UCS2-H.dat", +"_GBpc-EUC-V.dat", +"_Adobe-CNS1-4.dat", +"_90msp-RKSJ-H.dat", +"_CourierStdToNew.dat", +"_Adobe-Japan1-6.dat", +"_78ms-RKSJ-H.dat", +"_Hankaku.dat", +"_Adobe-Japan1-5.dat", +"_RKSJ-V.dat", +"_KSC-EUC-H.dat", +"_Ext-V.dat", +"_Adobe-GB1-4.dat", +"_UniGB-UTF8-V.dat", +"_ETenms-B5-H.dat", +"_UniJISPro-UTF8-V.dat", +"_UniJIS2004-UTF16-H.dat", +"_GB-EUC-H.dat", +"_CNS2-V.dat", +"list.json", +"_Hiragana.dat", +"_78-V.dat", +"_90pv-RKSJ-V.dat", +"_H.dat", +"_UCS2-GBK-EUC.dat", +"_78-RKSJ-V.dat", +"_Adobe-Japan1-1.dat", +"_DefaultCMYK.icc", +"_UniHojo-UTF16-V.dat", +"_Adobe-GB1-5.dat" +] diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/supportFiles/0_runtimeconfig.bin b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/supportFiles/0_runtimeconfig.bin new file mode 100644 index 00000000..c33b89a9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/aot/supportFiles/0_runtimeconfig.bin @@ -0,0 +1 @@ + MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse6System.Reflection.Metadata.MetadataUpdater.IsSupportedfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalse=n)return null;const t=e[o];return o+=1,t}};return Object.defineProperty(s,"eof",{get:function(){return o>=n},configurable:!0,enumerable:!0}),s}(e,t,r);let o="",s=0,i=0,a=0,c=0,u=0,l=0;for(;s=n.read(),i=n.read(),a=n.read(),null!==s;)null===i&&(i=0,u+=1),null===a&&(a=0,u+=1),l=s<<16|i<<8|a<<0,c=(16777215&l)>>18,o+=b[c],c=(262143&l)>>12,o+=b[c],u<2&&(c=(4095&l)>>6,o+=b[c]),2===u?o+="==":1===u?o+="=":(c=(63&l)>>0,o+=b[c]);return o}const b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"];const v=new Map;v.remove=function(e){const t=this.get(e);return this.delete(e),t};let E,A,k,S={},O=0,x=-1;function N(){r.mono_wasm_runtime_is_ready=m.mono_wasm_runtime_is_ready=!0,O=0,S={},x=-1,globalThis.dotnetDebugger||console.debug("mono_wasm_runtime_ready","fe00e07a-5519-4dfe-b35a-f867dbaf2e28")}function j(){}function D(e,r,n,o){const s={res_ok:e,res:{id:r,value:y(new Uint8Array(t.HEAPU8.buffer,n,o))}};v.has(r)&&console.warn(`MONO_WASM: Adding an id (${r}) that already exists in commands_received`),v.set(r,s)}function M(e){e.length>x&&(E&&t._free(E),x=Math.max(e.length,x,256),E=t._malloc(x));const r=atob(e);for(let e=0;ee.value)),e;if(void 0===t.dimensionsDetails||1===t.dimensionsDetails.length)return e=t.items.map((e=>e.value)),e}const r={};return Object.keys(t).forEach((e=>{const n=t[e];void 0!==n.get?Object.defineProperty(r,n.name,{get:()=>T(n.get.id,n.get.commandSet,n.get.command,n.get.buffer),set:function(e){return R(n.set.id,n.set.commandSet,n.set.command,n.set.buffer,n.set.length,n.set.valtype,e),!0}}):void 0!==n.set?Object.defineProperty(r,n.name,{get:()=>n.value,set:function(e){return R(n.set.id,n.set.commandSet,n.set.command,n.set.buffer,n.set.length,n.set.valtype,e),!0}}):r[n.name]=n.value})),r}(t,r);const o=null!=e.arguments?e.arguments.map((e=>JSON.stringify(e.value))):[],s=`const fn = ${e.functionDeclaration}; return fn.apply(proxy, [${o}]);`,i=new Function("proxy",s)(n);if(void 0===i)return{type:"undefined"};if(Object(i)!==i)return"object"==typeof i&&null==i?{type:typeof i,subtype:`${i}`,value:null}:{type:typeof i,description:`${i}`,value:`${i}`};if(e.returnByValue&&null==i.subtype)return{type:"object",value:i};if(Object.getPrototypeOf(i)==Array.prototype){const e=L(i);return{type:"object",subtype:"array",className:"Array",description:`Array(${i.length})`,objectId:e}}if(void 0!==i.value||void 0!==i.subtype)return i;if(i==n)return{type:"object",className:"Object",description:"Object",objectId:t};return{type:"object",className:"Object",description:"Object",objectId:L(i)}}function W(e,t={}){return function(e,t){if(!(e in S))throw new Error(`Could not find any object with id ${e}`);const r=S[e],n=Object.getOwnPropertyDescriptors(r);t.accessorPropertiesOnly&&Object.keys(n).forEach((e=>{void 0===n[e].get&&Reflect.deleteProperty(n,e)}));const o=[];return Object.keys(n).forEach((e=>{let t;const r=n[e];t="object"==typeof r.value?Object.assign({name:e},r):void 0!==r.value?{name:e,value:Object.assign({type:typeof r.value,description:""+r.value},r)}:void 0!==r.get?{name:e,get:{className:"Function",description:`get ${e} () {}`,type:"function"}}:{name:e,value:{type:"symbol",value:"",description:""}},o.push(t)})),{__value_as_json_string__:JSON.stringify(o)}}(`dotnet:cfo_res:${e}`,t)}function L(e){const t="dotnet:cfo_res:"+O++;return S[t]=e,t}function H(e){e in S&&delete S[e]}function V(e,n){const o=t.UTF8ToString(n);r.logging&&"function"==typeof r.logging.debugger&&r.logging.debugger(e,o)}let q=0;function J(e){const t=1===g.mono_wasm_load_icu_data(e);return t&&q++,t}function G(e){return g.mono_wasm_get_icudt_name(e)}function Y(){const e=m.config;let r=!1;if(e.globalizationMode||(e.globalizationMode="auto"),"invariant"===e.globalizationMode&&(r=!0),!r)if(q>0)m.diagnosticTracing&&console.debug("MONO_WASM: ICU data archive(s) loaded, disabling invariant mode");else{if("icu"===e.globalizationMode){const e="invariant globalization mode is inactive and no ICU data archives were loaded";throw t.printErr(`MONO_WASM: ERROR: ${e}`),new Error(e)}m.diagnosticTracing&&console.debug("MONO_WASM: ICU data archive(s) not loaded, using invariant globalization mode"),r=!0}r&&g.mono_wasm_setenv("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT","1"),g.mono_wasm_setenv("DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY","1")}function X(e){null==e&&(e={}),"writeAt"in e||(e.writeAt="System.Runtime.InteropServices.JavaScript.JavaScriptExports::StopProfile"),"sendTo"in e||(e.sendTo="Interop/Runtime::DumpAotProfileData");const r="aot:write-at-method="+e.writeAt+",send-to-method="+e.sendTo;t.ccall("mono_wasm_load_profiler_aot",null,["string"],[r])}function Z(e){null==e&&(e={}),"writeAt"in e||(e.writeAt="WebAssembly.Runtime::StopProfile"),"sendTo"in e||(e.sendTo="WebAssembly.Runtime::DumpCoverageProfileData");const r="coverage:write-at-method="+e.writeAt+",send-to-method="+e.sendTo;t.ccall("mono_wasm_load_profiler_coverage",null,["string"],[r])}const K=new Map,Q=new Map;let ee=0;function te(e){if(K.has(e))return K.get(e);const t=g.mono_wasm_assembly_load(e);return K.set(e,t),t}function re(e,t,r){ee||(ee=g.mono_wasm_get_corlib());let n=function(e,t,r){let n=Q.get(e);n||Q.set(e,n=new Map);let o=n.get(t);return o||(o=new Map,n.set(t,o)),o.get(r)}(ee,e,t);if(void 0!==n)return n;if(n=g.mono_wasm_assembly_find_class(ee,e,t),r&&!n)throw new Error(`Failed to find corlib class ${e}.${t}`);return function(e,t,r,n){const o=Q.get(e);if(!o)throw new Error("internal error");const s=o.get(t);if(!s)throw new Error("internal error");s.set(r,n)}(ee,e,t,n),n}const ne=new Map,oe=[];function se(e){try{if(0==ne.size)return e;const t=e;for(let r=0;r{const r=t.find((e=>"object"==typeof e&&void 0!==e.replaceSection));if(void 0===r)return e;const n=r.funcNum,o=r.replaceSection,s=ne.get(Number(n));return void 0===s?e:e.replace(o,`${s} (${o})`)}));if(n!==t)return n}return t}catch(t){return console.debug(`MONO_WASM: failed to symbolicate: ${t}`),e}}function ie(e){let t=e;return t instanceof Error||(t=new Error(t)),se(t.stack)}function ae(e,n,o,s,i){const a=t.UTF8ToString(o),c=!!s,u=t.UTF8ToString(e),l=i,_=t.UTF8ToString(n),f=`[MONO] ${a}`;if(r.logging&&"function"==typeof r.logging.trace)r.logging.trace(u,_,f,c,l);else switch(_){case"critical":case"error":console.error(ie(f));break;case"warning":console.warn(f);break;case"message":default:console.log(f);break;case"info":console.info(f);break;case"debug":console.debug(f)}}let ce;function ue(e){if(!m.mono_wasm_symbols_are_ready){m.mono_wasm_symbols_are_ready=!0;try{t.FS_readFile(e,{flags:"r",encoding:"utf8"}).split(/[\r\n]/).forEach((e=>{const t=e.split(/:/);t.length<2||(t[1]=t.splice(1).join(":"),ne.set(Number(t[0]),t[1]))}))}catch(t){return void(44==t.errno||console.log(`MONO_WASM: Error loading symbol file ${e}: ${JSON.stringify(t)}`))}}}async function le(e,t){try{const r=await _e(e,t);return me(r),r}catch(e){return e instanceof m.ExitStatus?e.status:(me(1,e),1)}}async function _e(e,r){(function(e,r){const n=r.length+1,o=t._malloc(4*n);let s=0;t.setValue(o+4*s,g.mono_wasm_strdup(e),"i32"),s+=1;for(let e=0;e{const t=setInterval((()=>{1==m.waitForDebugger&&(clearInterval(t),e())}),100)})));const n=fe(e);return m.javaScriptExports.call_entry_point(n,r)}function fe(e){if(!m.mono_wasm_bindings_is_ready)throw new Error("Assert failed: The runtime must be initialized.");const t=te(e);if(!t)throw new Error("Could not find assembly: "+e);let r=0;1==m.waitForDebugger&&(r=1);const n=g.mono_wasm_assembly_get_entry_point(t,r);if(!n)throw new Error("Could not find entry point for assembly: "+e);return n}function de(e){Mi(e,!1),me(1,e)}function me(e,t){if(m.config.asyncFlushOnExit&&0===e)throw(async()=>{try{await async function(){try{const e=await import("process"),t=e=>new Promise(((t,r)=>{e.on("error",(e=>r(e))),e.write("",(function(){t()}))})),r=t(e.stderr),n=t(e.stdout);await Promise.all([n,r])}catch(e){console.error(`flushing std* streams failed: ${e}`)}}()}finally{pe(e,t)}})(),m.ExitStatus?new m.ExitStatus(e):t||new Error("Stop with exit code "+e);pe(e,t)}function pe(e,n){if(m.ExitStatus&&(!n||n instanceof m.ExitStatus?n=new m.ExitStatus(e):n instanceof Error?t.printErr(r.mono_wasm_stringify_as_error_with_stack(n)):"string"==typeof n?t.printErr(n):t.printErr(JSON.stringify(n))),function(e,t){if(m.config.logExitCode)if(0!=e&&t&&(t instanceof Error?console.error(ie(t)):"string"==typeof t?console.error(t):console.error(JSON.stringify(t))),ce){const t=()=>{0==ce.bufferedAmount?console.log("WASM EXIT "+e):setTimeout(t,100)};t()}else console.log("WASM EXIT "+e)}(e,n),function(e){if(i&&m.config.appendElementOnExit){const t=document.createElement("label");t.id="tests_done",e&&(t.style.background="red"),t.innerHTML=e.toString(),document.body.appendChild(t)}}(e),0!==e||!i){if(!m.quit)throw n;m.quit(e,n)}}oe.push(/at (?[^:()]+:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)((?![^)a-fA-F\d])|$)/),oe.push(/(?:WASM \[[\da-zA-Z]+\], (?function #(?[\d]+) \(''\)))/),oe.push(/(?[a-z]+:\/\/[^ )]*:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)/),oe.push(/(?<[^ >]+>[.:]wasm-function\[(?[0-9]+)\])/);const he="function"==typeof globalThis.WeakRef;function we(e){return he?new WeakRef(e):{deref:()=>e}}const ge="function"==typeof globalThis.FinalizationRegistry;let ye;const be=[],ve=[];let Ee=1;const Ae=new Map;ge&&(ye=new globalThis.FinalizationRegistry((function(e){De(null,e)})));const ke=Symbol.for("wasm js_owned_gc_handle"),Se=Symbol.for("wasm cs_owned_js_handle");function Oe(e){return 0!==e&&-1!==e?be[e]:null}function xe(e){if(e[Se])return e[Se];const t=ve.length?ve.pop():Ee++;return be[t]=e,Object.isExtensible(e)&&(e[Se]=t),t}function Ne(e){const t=be[e];if(null!=t){if(globalThis===t)return;void 0!==t[Se]&&(t[Se]=void 0),be[e]=void 0,ve.push(e)}}function je(e,t){e[ke]=t,ge&&ye.register(e,t,e);const r=we(e);Ae.set(t,r)}function De(e,t){e&&(t=e[ke],e[ke]=0,ge&&ye.unregister(e)),0!==t&&Ae.delete(t)&&m.javaScriptExports.release_js_owned_object_by_gc_handle(t)}function Me(e){const t=e[ke];if(0==t)throw new Error("Assert failed: ObjectDisposedException");return t}function Re(e){if(!e)return null;const t=Ae.get(e);return t?t.deref():null}const Te=Symbol.for("wasm promise_control");function Ie(e,t){let r=null;const n=new Promise((function(n,o){r={isDone:!1,promise:null,resolve:t=>{r.isDone||(r.isDone=!0,n(t),e&&e())},reject:e=>{r.isDone||(r.isDone=!0,o(e),t&&t())}}}));r.promise=n;const o=n;return o[Te]=r,{promise:o,promise_control:r}}function $e(e){return e[Te]}function Fe(e){if(!function(e){return void 0!==e[Te]}(e))throw new Error("Assert failed: Promise is not controllable")}const Pe=("object"==typeof Promise||"function"==typeof Promise)&&"function"==typeof Promise.resolve;function Ce(e){return Promise.resolve(e)===e||("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function Ue(e){const{promise:t,promise_control:r}=Ie();return e().then((e=>r.resolve(e))).catch((e=>r.reject(e))),t}function Be(e){const t=Re(e);if(!t)return;const r=t.promise;if(!r)throw new Error(`Assert failed: Expected Promise for GCHandle ${e}`);Fe(r);$e(r).reject("OperationCanceledException")}const ze=[];let We,Le,He=null;const Ve="undefined"!=typeof BigInt&&"undefined"!=typeof BigInt64Array;function qe(){We||(We=t._malloc(32768),Le=We),ze.push(Le)}function Je(e,t,r){if(!Number.isSafeInteger(e))throw new Error(`Assert failed: Value is not an integer: ${e} (${typeof e})`);if(!(e>=t&&e<=r))throw new Error(`Assert failed: Overflow: value ${e} is out of ${t} ${r} range`)}function Ge(e,r){t.HEAP8.fill(0,e,r+e)}function Ye(e,r){const n=!!r;"number"==typeof r&&Je(r,0,1),t.HEAP32[e>>>2]=n?1:0}function Xe(e,r){Je(r,0,255),t.HEAPU8[e]=r}function Ze(e,r){Je(r,0,65535),t.HEAPU16[e>>>1]=r}function Ke(e,r){t.HEAPU32[e>>>2]=r}function Qe(e,r){Je(r,0,4294967295),t.HEAPU32[e>>>2]=r}function et(e,r){Je(r,-128,127),t.HEAP8[e]=r}function tt(e,r){Je(r,-32768,32767),t.HEAP16[e>>>1]=r}function rt(e,r){t.HEAP32[e>>>2]=r}function nt(e,r){Je(r,-2147483648,2147483647),t.HEAP32[e>>>2]=r}function ot(e){if(0!==e)switch(e){case 1:throw new Error("value was not an integer");case 2:throw new Error("value out of range");default:throw new Error("unknown internal error")}}function st(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);ot(g.mono_wasm_f64_to_i52(e,t))}function it(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);if(!(t>=0))throw new Error("Assert failed: Can't convert negative Number into UInt64");ot(g.mono_wasm_f64_to_u52(e,t))}function at(e,t){if(!Ve)throw new Error("Assert failed: BigInt is not supported.");if("bigint"!=typeof t)throw new Error(`Assert failed: Value is not an bigint: ${t} (${typeof t})`);if(!(t>=At&&t<=Et))throw new Error(`Assert failed: Overflow: value ${t} is out of ${At} ${Et} range`);He[e>>>3]=t}function ct(e,r){if("number"!=typeof r)throw new Error(`Assert failed: Value is not a Number: ${r} (${typeof r})`);t.HEAPF32[e>>>2]=r}function ut(e,r){if("number"!=typeof r)throw new Error(`Assert failed: Value is not a Number: ${r} (${typeof r})`);t.HEAPF64[e>>>3]=r}function lt(e){return!!t.HEAP32[e>>>2]}function _t(e){return t.HEAPU8[e]}function ft(e){return t.HEAPU16[e>>>1]}function dt(e){return t.HEAPU32[e>>>2]}function mt(e){return t.HEAP8[e]}function pt(e){return t.HEAP16[e>>>1]}function ht(e){return t.HEAP32[e>>>2]}function wt(e){const t=g.mono_wasm_i52_to_f64(e,m._i52_error_scratch_buffer);return ot(ht(m._i52_error_scratch_buffer)),t}function gt(e){const t=g.mono_wasm_u52_to_f64(e,m._i52_error_scratch_buffer);return ot(ht(m._i52_error_scratch_buffer)),t}function yt(e){if(!Ve)throw new Error("Assert failed: BigInt is not supported.");return He[e>>>3]}function bt(e){return t.HEAPF32[e>>>2]}function vt(e){return t.HEAPF64[e>>>3]}let Et,At;function kt(e){const r=t._malloc(e.length);return new Uint8Array(t.HEAPU8.buffer,r,e.length).set(e),r}const St=8192;let Ot=null,xt=null,Nt=0;const jt=[],Dt=[];function Mt(e,r){if(e<=0)throw new Error("capacity >= 1");const n=4*(e|=0),o=t._malloc(n);if(o%4!=0)throw new Error("Malloc returned an unaligned offset");return Ge(o,n),new $t(o,e,!0,r)}function Rt(e){let t;if(!e)throw new Error("address must be a location in the native heap");return Dt.length>0?(t=Dt.pop(),t._set_address(e)):t=new Pt(e),t}function Tt(e){let t;if(jt.length>0)t=jt.pop();else{const e=function(){if(h(Ot)||!xt){Ot=Mt(St,"js roots"),xt=new Int32Array(St),Nt=St;for(let e=0;e>>2,this.__count=t,this.length=t,this.__handle=g.mono_wasm_register_root(e,o,n||"noname"),this.__ownsAllocation=r}_throw_index_out_of_range(){throw new Error("index out of range")}_check_in_range(e){(e>=this.__count||e<0)&&this._throw_index_out_of_range()}get_address(e){return this._check_in_range(e),this.__offset+4*e}get_address_32(e){return this._check_in_range(e),this.__offset32+e}get(e){this._check_in_range(e);const r=this.get_address_32(e);return t.HEAPU32[r]}set(e,t){const r=this.get_address(e);return g.mono_wasm_write_managed_pointer_unsafe(r,t),t}copy_value_from_address(e,t){const r=this.get_address(e);g.mono_wasm_copy_managed_pointer(r,t)}_unsafe_get(e){return t.HEAPU32[this.__offset32+e]}_unsafe_set(e,t){const r=this.__offset+e;g.mono_wasm_write_managed_pointer_unsafe(r,t)}clear(){this.__offset&&Ge(this.__offset,4*this.__count)}release(){this.__offset&&this.__ownsAllocation&&(g.mono_wasm_deregister_root(this.__offset),Ge(this.__offset,4*this.__count),t._free(this.__offset)),this.__handle=this.__offset=this.__count=this.__offset32=0}toString(){return`[root buffer @${this.get_address(0)}, size ${this.__count} ]`}}class Ft{constructor(e,t){this.__buffer=e,this.__index=t}get_address(){return this.__buffer.get_address(this.__index)}get_address_32(){return this.__buffer.get_address_32(this.__index)}get address(){return this.__buffer.get_address(this.__index)}get(){return this.__buffer._unsafe_get(this.__index)}set(e){const t=this.__buffer.get_address(this.__index);return g.mono_wasm_write_managed_pointer_unsafe(t,e),e}copy_from(e){const t=e.address,r=this.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_to(e){const t=this.address,r=e.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_from_address(e){const t=this.address;g.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.address;g.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){this.set(0)}release(){if(!this.__buffer)throw new Error("No buffer");jt.length>128?(function(e){void 0!==e&&(Ot.set(e,0),xt[Nt]=e,Nt++)}(this.__index),this.__buffer=null,this.__index=0):(this.set(0),jt.push(this))}toString(){return`[root @${this.address}]`}}class Pt{constructor(e){this.__external_address=0,this.__external_address_32=0,this._set_address(e)}_set_address(e){this.__external_address=e,this.__external_address_32=e>>>2}get address(){return this.__external_address}get_address(){return this.__external_address}get_address_32(){return this.__external_address_32}get(){return t.HEAPU32[this.__external_address_32]}set(e){return g.mono_wasm_write_managed_pointer_unsafe(this.__external_address,e),e}copy_from(e){const t=e.address,r=this.__external_address;g.mono_wasm_copy_managed_pointer(r,t)}copy_to(e){const t=this.__external_address,r=e.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_from_address(e){const t=this.__external_address;g.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.__external_address;g.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){this.set(0)}release(){Dt.length<128&&Dt.push(this)}toString(){return`[external root @${this.address}]`}}const Ct=new Map,Ut=new Map,Bt=Symbol.for("wasm bound_cs_function"),zt=Symbol.for("wasm bound_js_function"),Wt=16;function Lt(e){const r=t.stackAlloc(Wt*e);if(!r||r%8!=0)throw new Error("Assert failed: Arg alignment");er(Ht(r,0),yr.None);return er(Ht(r,1),yr.None),r}function Ht(e,t){if(!e)throw new Error("Assert failed: Null args");return e+t*Wt}function Vt(e,t){if(!e)throw new Error("Assert failed: Null signatures");return e+32*t+8}function qt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e)}function Jt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+16)}function Gt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+20)}function Yt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+24)}function Xt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+28)}function Zt(e){if(!e)throw new Error("Assert failed: Null signatures");return ht(e+4)}function Kt(e){if(!e)throw new Error("Assert failed: Null signatures");return ht(e)}function Qt(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+12)}function er(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+12,t)}function tr(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e)}function rr(e,t){if(!e)throw new Error("Assert failed: Null arg");if("boolean"!=typeof t)throw new Error(`Assert failed: Value is not a Boolean: ${t} (${typeof t})`);Xe(e,t?1:0)}function nr(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e,t)}function or(e,t){if(!e)throw new Error("Assert failed: Null arg");ut(e,t.getTime())}function sr(e,t){if(!e)throw new Error("Assert failed: Null arg");ut(e,t)}function ir(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}function ar(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}function cr(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}function ur(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}function lr(e){if(!e)throw new Error("Assert failed: Null arg");return Rt(e)}function _r(e){if(!e)throw new Error("Assert failed: Null arg");return ht(e+8)}function fr(e,t){if(!e)throw new Error("Assert failed: Null arg");nt(e+8,t)}class dr{dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}toString(){return`CsObject(gc_handle: ${this[ke]})`}}class mr extends Error{constructor(e){super(e),this.superStack=Object.getOwnPropertyDescriptor(this,"stack"),Object.defineProperty(this,"stack",{get:this.getManageStack})}getSuperStack(){return this.superStack?this.superStack.value:super.stack}getManageStack(){const e=this[ke];if(e){const t=m.javaScriptExports.get_managed_stack_trace(e);if(t)return t+"\n"+this.getSuperStack()}return this.getSuperStack()}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}function pr(e){return e==yr.Byte?1:e==yr.Int32?4:e==yr.Int52||e==yr.Double?8:e==yr.String||e==yr.Object||e==yr.JSObject?Wt:-1}class hr{constructor(e,t,r){this._pointer=e,this._length=t,this._viewType=r}_unsafe_create_view(){const e=0==this._viewType?new Uint8Array(t.HEAPU8.buffer,this._pointer,this._length):1==this._viewType?new Int32Array(t.HEAP32.buffer,this._pointer,this._length):2==this._viewType?new Float64Array(t.HEAPF64.buffer,this._pointer,this._length):null;if(!e)throw new Error("NotImplementedException");return e}set(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const r=this._unsafe_create_view();if(!e||!r||e.constructor!==r.constructor)throw new Error(`Assert failed: Expected ${r.constructor}`);r.set(e,t)}copyTo(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const r=this._unsafe_create_view();if(!e||!r||e.constructor!==r.constructor)throw new Error(`Assert failed: Expected ${r.constructor}`);const n=r.subarray(t);e.set(n)}slice(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._unsafe_create_view().slice(e,t)}get length(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._length}get byteLength(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return 0==this._viewType?this._length:1==this._viewType?this._length<<2:2==this._viewType?this._length<<3:0}}class wr extends hr{constructor(e,t,r){super(e,t,r),this.is_disposed=!1}dispose(){this.is_disposed=!0}get isDisposed(){return this.is_disposed}}class gr extends hr{constructor(e,t,r){super(e,t,r)}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}var yr;!function(e){e[e.None=0]="None",e[e.Void=1]="Void",e[e.Discard=2]="Discard",e[e.Boolean=3]="Boolean",e[e.Byte=4]="Byte",e[e.Char=5]="Char",e[e.Int16=6]="Int16",e[e.Int32=7]="Int32",e[e.Int52=8]="Int52",e[e.BigInt64=9]="BigInt64",e[e.Double=10]="Double",e[e.Single=11]="Single",e[e.IntPtr=12]="IntPtr",e[e.JSObject=13]="JSObject",e[e.Object=14]="Object",e[e.String=15]="String",e[e.Exception=16]="Exception",e[e.DateTime=17]="DateTime",e[e.DateTimeOffset=18]="DateTimeOffset",e[e.Nullable=19]="Nullable",e[e.Task=20]="Task",e[e.Array=21]="Array",e[e.ArraySegment=22]="ArraySegment",e[e.Span=23]="Span",e[e.Action=24]="Action",e[e.Function=25]="Function",e[e.JSException=26]="JSException"}(yr||(yr={}));const br=new Map,vr=new Map;let Er=0,Ar=null,kr=0;const Sr=new class{init_fields(){this.mono_wasm_string_decoder_buffer||(this.mono_text_decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):null,this.mono_wasm_string_root=Tt(),this.mono_wasm_string_decoder_buffer=t._malloc(12))}copy(e){if(this.init_fields(),0===e)return null;this.mono_wasm_string_root.value=e;const t=this.copy_root(this.mono_wasm_string_root);return this.mono_wasm_string_root.value=0,t}copy_root(e){if(this.init_fields(),0===e.value)return null;const t=this.mono_wasm_string_decoder_buffer+0,r=this.mono_wasm_string_decoder_buffer+4,n=this.mono_wasm_string_decoder_buffer+8;let o;g.mono_wasm_string_get_data_ref(e.address,t,r,n);const s=ht(r),i=dt(t),a=ht(n);if(a&&(o=br.get(e.value)),void 0===o&&(s&&i?(o=this.decode(i,i+s),a&&br.set(e.value,o)):o=Or),void 0===o)throw new Error(`internal error when decoding string at location ${e.value}`);return o}decode(e,r){let n="";if(this.mono_text_decoder){const o="undefined"!=typeof SharedArrayBuffer&&t.HEAPU8.buffer instanceof SharedArrayBuffer?t.HEAPU8.slice(e,r):t.HEAPU8.subarray(e,r);n=this.mono_text_decoder.decode(o)}else for(let o=0;o=8192&&(Ar=null),Ar||(Ar=Mt(8192,"interned strings"),kr=0);const n=Ar,o=kr++;if(r&&(g.mono_wasm_intern_string_ref(t.address),!t.value))throw new Error("mono_wasm_intern_string_ref produced a null pointer");vr.set(e,t.value),br.set(t.value,e),0!==e.length||Er||(Er=t.value),n.copy_value_from_address(o,t.address)}(r,t,!0))}function Mr(e,t){if(t.clear(),null!==e)if("symbol"==typeof e)Dr(e,t);else{if("string"!=typeof e)throw new Error("Expected string argument, got "+typeof e);if(0===e.length)Dr(e,t);else{if(e.length<=256){const r=vr.get(e);if(r)return void t.set(r)}Rr(e,t)}}}function Rr(e,r){const n=t._malloc(2*(e.length+1)),o=n>>>1|0;for(let r=0;r{const r=Ht(e,0),a=Ht(e,1),c=Ht(e,2),u=Ht(e,3),l=Ht(e,4);try{let e,r,_;o&&(e=o(c)),s&&(r=s(u)),i&&(_=i(l));const f=t(e,r,_);n&&n(a,f)}catch(e){Qr(r,e)}};a[zt]=!0;ar(e,xe(a)),er(e,yr.Function)}class Zr{constructor(e){this.promise=e}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}function Kr(e,t,r,n){if(null==t)return void er(e,yr.None);if(!Ce(t))throw new Error("Assert failed: Value is not a Promise");const o=m.javaScriptExports.create_task_callback();ur(e,o),er(e,yr.Task);const s=new Zr(t);je(s,o),t.then((e=>{m.javaScriptExports.complete_task(o,null,e,n||tn),De(s,o)})).catch((e=>{m.javaScriptExports.complete_task(o,e,null,void 0),De(s,o)}))}function Qr(e,t){if(null==t)er(e,yr.None);else if(t instanceof mr){er(e,yr.Exception);ur(e,Me(t))}else{if("object"!=typeof t&&"string"!=typeof t)throw new Error("Assert failed: Value is not an Error "+typeof t);er(e,yr.JSException);Gr(e,t.toString());const r=t[Se];if(r)ar(e,r);else{ar(e,xe(t))}}}function en(e,t){if(null==t)er(e,yr.None);else{if(void 0!==t[ke])throw new Error("Assert failed: JSObject proxy of ManagedObject proxy is not supported");if("function"!=typeof t&&"object"!=typeof t)throw new Error(`Assert failed: JSObject proxy of ${typeof t} is not supported`);er(e,yr.JSObject);ar(e,xe(t))}}function tn(e,t){if(null==t)er(e,yr.None);else{const r=t[ke],n=typeof t;if(void 0===r)if("string"===n||"symbol"===n)er(e,yr.String),Gr(e,t);else if("number"===n)er(e,yr.Double),sr(e,t);else{if("bigint"===n)throw new Error("NotImplementedException: bigint");if("boolean"===n)er(e,yr.Boolean),rr(e,t);else if(t instanceof Date)er(e,yr.DateTime),or(e,t);else if(t instanceof Error)Qr(e,t);else if(t instanceof Uint8Array)nn(e,t,yr.Byte);else if(t instanceof Float64Array)nn(e,t,yr.Double);else if(t instanceof Int32Array)nn(e,t,yr.Int32);else if(Array.isArray(t))nn(e,t,yr.Object);else{if(t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Float32Array)throw new Error("NotImplementedException: TypedArray");if(Ce(t))Kr(e,t);else{if(t instanceof wr)throw new Error("NotImplementedException: Span");if("object"!=n)throw new Error(`JSObject proxy is not supported for ${n} ${t}`);{const r=xe(t);er(e,yr.JSObject),ar(e,r)}}}}else{if(Me(t),t instanceof gr)throw new Error("NotImplementedException: ArraySegment");if(t instanceof mr)er(e,yr.Exception),ur(e,r);else{if(!(t instanceof dr))throw new Error("NotImplementedException "+n);er(e,yr.Object),ur(e,r)}}}}function rn(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");nn(e,t,Gt(r))}function nn(e,r,n){if(null==r)er(e,yr.None);else{const o=pr(n);if(-1==o)throw new Error(`Assert failed: Element type ${yr[n]} not supported`);const s=r.length,i=o*s,a=t._malloc(i);if(n==yr.String){if(!Array.isArray(r))throw new Error("Assert failed: Value is not an Array");Ge(a,i),g.mono_wasm_register_root(a,i,"marshal_array_to_cs");for(let e=0;e>2,(a>>2)+s).set(r)}else{if(n!=yr.Double)throw new Error("not implemented");if(!(Array.isArray(r)||r instanceof Float64Array))throw new Error("Assert failed: Value is not an Array or Float64Array");t.HEAPF64.subarray(a>>3,(a>>3)+s).set(r)}nr(e,a),er(e,yr.Array),function(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}(e,n),fr(e,r.length)}}function on(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");if(t.isDisposed)throw new Error("Assert failed: ObjectDisposedException");an(r,t._viewType),er(e,yr.Span),nr(e,t._pointer),fr(e,t.length)}function sn(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");const n=Me(t);if(!n)throw new Error("Assert failed: Only roundtrip of ArraySegment instance created by C#");an(r,t._viewType),er(e,yr.ArraySegment),nr(e,t._pointer),fr(e,t.length),ur(e,n)}function an(e,t){const r=Gt(e);if(r==yr.Byte){if(0!=t)throw new Error("Assert failed: Expected MemoryViewType.Byte")}else if(r==yr.Int32){if(1!=t)throw new Error("Assert failed: Expected MemoryViewType.Int32")}else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);if(2!=t)throw new Error("Assert failed: Expected MemoryViewType.Double")}}function cn(e,t,r,n,o,s){let i="",a="",c="";const u="converter"+t;let l="null",_="null",f="null",d="null",m=qt(e);if(m===yr.None||m===yr.Void)return{converters:i,call_body:c,marshaler_type:m};const p=Jt(e);if(p!==yr.None){const e=Ct.get(p);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${p} at ${t}`);m!=yr.Nullable?(d="converter"+t+"_res",i+=", "+d,a+=" "+yr[p],s[d]=e):m=p}const h=Gt(e);if(h!==yr.None){const e=Ut.get(h);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${h} at ${t}`);l="converter"+t+"_arg1",i+=", "+l,a+=" "+yr[h],s[l]=e}const w=Yt(e);if(w!==yr.None){const e=Ut.get(w);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${w} at ${t}`);_="converter"+t+"_arg2",i+=", "+_,a+=" "+yr[w],s[_]=e}const g=Xt(e);if(g!==yr.None){const e=Ut.get(g);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${g} at ${t}`);f="converter"+t+"_arg3",i+=", "+f,a+=" "+yr[g],s[f]=e}const y=Ct.get(m);if(!y||"function"!=typeof y)throw new Error(`Assert failed: Unknow converter for type ${m} at ${t} `);return i+=", "+u,a+=" "+yr[m],s[u]=y,c=m==yr.Task?` const ${o} = ${u}(args + ${r}, signature + ${n}, ${d}); // ${a} \n`:m==yr.Action||m==yr.Function?` const ${o} = ${u}(args + ${r}, signature + ${n}, ${d}, ${l}, ${_}, ${f}); // ${a} \n`:` const ${o} = ${u}(args + ${r}, signature + ${n}); // ${a} \n`,{converters:i,call_body:c,marshaler_type:m}}function un(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return!!_t(e)}(e)}function ln(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return _t(e)}(e)}function _n(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return ft(e)}(e)}function fn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return pt(e)}(e)}function dn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return ht(e)}(e)}function mn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return vt(e)}(e)}function pn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return yt(e)}(e)}function hn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return bt(e)}(e)}function wn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return vt(e)}(e)}function gn(e){return Qt(e)==yr.None?null:tr(e)}function yn(){return null}function bn(e){return Qt(e)===yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");const t=vt(e);return new Date(t)}(e)}function vn(e,t,r,n,o,s){if(Qt(e)===yr.None)return null;const i=cr(e);let a=Re(i);return null!=a||(a=(e,t,a)=>m.javaScriptExports.call_delegate(i,e,t,a,r,n,o,s),je(a,i)),a}function En(e,t,r){const n=Qt(e);if(n===yr.None)return null;if(n!==yr.Task){if(r||(r=Ct.get(n)),!r)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[n]} `);const t=r(e);return new Promise((e=>e(t)))}const o=ir(e);if(0==o)return new Promise((e=>e(void 0)));const s=Oe(o);if(!s)throw new Error(`Assert failed: ERR28: promise not found for js_handle: ${o} `);Fe(s);const i=$e(s),a=i.resolve;return i.resolve=e=>{const t=Qt(e);if(t===yr.None)return void a(null);if(r||(r=Ct.get(t)),!r)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[t]}`);const n=r(e);a(n)},s}function An(e){const t=Ht(e,0),r=Ht(e,1),n=Ht(e,2),o=Ht(e,3),s=Qt(t),i=Qt(o),a=ir(n);if(0===a){const{promise:e,promise_control:n}=Ie();if(ar(r,xe(e)),s!==yr.None){const e=Sn(t);n.reject(e)}else if(i!==yr.Task){const e=Ct.get(i);if(!e)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[i]} `);const t=e(o);n.resolve(t)}}else{const e=Oe(a);if(!e)throw new Error(`Assert failed: ERR25: promise not found for js_handle: ${a} `);Fe(e);const r=$e(e);if(s!==yr.None){const e=Sn(t);r.reject(e)}else i!==yr.Task&&r.resolve(o)}er(r,yr.Task),er(t,yr.None)}function kn(e){if(Qt(e)==yr.None)return null;const t=lr(e);try{return Nr(t)}finally{t.release()}}function Sn(e){const t=Qt(e);if(t==yr.None)return null;if(t==yr.JSException){return Oe(ir(e))}const r=cr(e);let n=Re(r);if(null==n){const t=kn(e);n=new mr(t),je(n,r)}return n}function On(e){if(Qt(e)==yr.None)return null;return Oe(ir(e))}function xn(e){const t=Qt(e);if(t==yr.None)return null;if(t==yr.JSObject){return Oe(ir(e))}if(t==yr.Array){return jn(e,function(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}(e))}if(t==yr.Object){const t=cr(e);if(0===t)return null;let r=Re(t);return r||(r=new dr,je(r,t)),r}const r=Ct.get(t);if(!r)throw new Error(`Assert failed: Unknow converter for type ${yr[t]}`);return r(e)}function Nn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");return jn(e,Gt(t))}function jn(e,r){if(Qt(e)==yr.None)return null;if(-1==pr(r))throw new Error(`Assert failed: Element type ${yr[r]} not supported`);const n=tr(e),o=_r(e);let s=null;if(r==yr.String){s=new Array(o);for(let e=0;e>2,(n>>2)+o).slice()}else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=t.HEAPF64.subarray(n>>3,(n>>3)+o).slice()}return t._free(n),s}function Dn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");const r=Gt(t),n=tr(e),o=_r(e);let s=null;if(r==yr.Byte)s=new wr(n,o,0);else if(r==yr.Int32)s=new wr(n,o,1);else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=new wr(n,o,2)}return s}function Mn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");const r=Gt(t),n=tr(e),o=_r(e);let s=null;if(r==yr.Byte)s=new gr(n,o,0);else if(r==yr.Int32)s=new gr(n,o,1);else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=new gr(n,o,2)}return je(s,cr(e)),s}let Rn,Tn;const In={};const $n=Symbol.for("wasm type");const Fn=Ie(),Pn=Ie();let Cn=0,Un=0,Bn=0,zn=0;const Wn=[],Ln=Object.create(null);let Hn,Vn=0;const qn={"js-module-threads":!0},Jn={dotnetwasm:!0},Gn={"js-module-threads":!0,dotnetwasm:!0};async function Yn(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_download_assets"),m.maxParallelDownloads=m.config.maxParallelDownloads||m.maxParallelDownloads;try{const e=[];for(const t of m.config.assets){const r=t;if(Gn[r.behavior]||zn++,!qn[r.behavior]){const t=Jn[r.behavior];if(Bn++,r.pendingDownload){r.pendingDownloadInternal=r.pendingDownload;const n=async()=>{const e=await r.pendingDownloadInternal.response;return t||(r.buffer=await e.arrayBuffer()),++Cn,{asset:r,buffer:r.buffer}};e.push(n())}else{const n=async()=>(r.buffer=await Xn(r,!t),{asset:r,buffer:r.buffer});e.push(n())}}}Pn.promise_control.resolve();const r=[];for(const t of e)r.push((async()=>{const e=await t,r=e.asset;if(e.buffer){if(!Gn[r.behavior]){const t=r.pendingDownloadInternal.url,n=new Uint8Array(r.buffer);r.pendingDownloadInternal=null,r.pendingDownload=null,r.buffer=null,e.buffer=null,await ki.promise,eo(r,t,n)}}else{if(Jn[r.behavior])Jn[r.behavior]&&++Cn;else{if(!r.isOptional)throw new Error("Assert failed: Expected asset to have the downloaded buffer");qn[r.behavior]||Bn--,Gn[r.behavior]||zn--}}})());Promise.all(r).then((()=>{Fn.promise_control.resolve()})).catch((e=>{t.printErr("MONO_WASM: Error in mono_download_assets: "+e),Mi(e,!0)}))}catch(e){throw t.printErr("MONO_WASM: Error in mono_download_assets: "+e),e}}async function Xn(e,t){try{return await Zn(e,t)}catch(r){if(s||o)throw r;if(e.pendingDownload&&e.pendingDownloadInternal==e.pendingDownload)throw r;if(e.resolvedUrl&&-1!=e.resolvedUrl.indexOf("file://"))throw r;if(r&&404==r.status)throw r;e.pendingDownloadInternal=void 0,await Pn.promise;try{return await Zn(e,t)}catch(r){return e.pendingDownloadInternal=void 0,await function(e){return new Promise((t=>setTimeout(t,e)))}(100),await Zn(e,t)}}}async function Zn(e,r){for(;Hn;)await Hn.promise;try{++Vn,Vn==m.maxParallelDownloads&&(m.diagnosticTracing&&console.debug("MONO_WASM: Throttling further parallel downloads"),Hn=Ie());const n=await async function(e){if(e.buffer){const t=e.buffer;return e.buffer=null,e.pendingDownloadInternal={url:"undefined://"+e.name,name:e.name,response:Promise.resolve({arrayBuffer:()=>t,headers:{get:()=>{}}})},e.pendingDownloadInternal.response}if(e.pendingDownloadInternal&&e.pendingDownloadInternal.response){return await e.pendingDownloadInternal.response}const r=e.loadRemote&&m.config.remoteSources?m.config.remoteSources:[""];let n;for(let t of r){t=t.trim(),"./"===t&&(t="");const r=Kn(e,t);e.name===r?m.diagnosticTracing&&console.debug(`MONO_WASM: Attempting to download '${r}'`):m.diagnosticTracing&&console.debug(`MONO_WASM: Attempting to download '${r}' for ${e.name}`);try{const t=Qn({name:e.name,resolvedUrl:r,hash:e.hash,behavior:e.behavior});if(e.pendingDownloadInternal=t,n=await t.response,!n.ok)continue;return n}catch(e){continue}}const o=e.isOptional||e.name.match(/\.pdb$/)&&m.config.ignorePdbLoadErrors;if(!n)throw new Error(`Assert failed: Response undefined ${e.name}`);if(o)return void t.print(`MONO_WASM: optional download '${n.url}' for ${e.name} failed ${n.status} ${n.statusText}`);{const t=new Error(`MONO_WASM: download '${n.url}' for ${e.name} failed ${n.status} ${n.statusText}`);throw t.status=n.status,t}}(e);if(!r||!n)return;const o=await n.arrayBuffer();return++Cn,o}finally{if(--Vn,Hn&&Vn==m.maxParallelDownloads-1){m.diagnosticTracing&&console.debug("MONO_WASM: Resuming more parallel downloads");const e=Hn;Hn=void 0,e.promise_control.resolve()}}}function Kn(e,t){if(null==t)throw new Error(`Assert failed: sourcePrefix must be provided for ${e.name}`);let r;const n=m.config.assemblyRootFolder;if(e.resolvedUrl)r=e.resolvedUrl;else{if(""===t)if("assembly"===e.behavior||"pdb"===e.behavior)r=n?n+"/"+e.name:e.name;else if("resource"===e.behavior){const t=e.culture&&""!==e.culture?`${e.culture}/${e.name}`:e.name;r=n?n+"/"+t:t}else r=e.name;else r=t+e.name;r=m.locateFile(r)}if(!r||"string"!=typeof r)throw new Error("Assert failed: attemptUrl need to be path or url string");return r}function Qn(e){try{if("function"==typeof t.downloadResource){const r=t.downloadResource(e);if(r)return r}const r={};e.hash&&(r.integrity=e.hash);const n=m.fetch_like(e.resolvedUrl,r);return{name:e.name,url:e.resolvedUrl,response:n}}catch(t){const r={ok:!1,url:e.resolvedUrl,status:500,statusText:"ERR29: "+t,arrayBuffer:()=>{throw t},json:()=>{throw t}};return{name:e.name,url:e.resolvedUrl,response:Promise.resolve(r)}}}function eo(e,r,n){m.diagnosticTracing&&console.debug(`MONO_WASM: Loaded:${e.name} as ${e.behavior} size ${n.length} from ${r}`);const o="string"==typeof e.virtualPath?e.virtualPath:e.name;let s=null;switch(e.behavior){case"dotnetwasm":case"js-module-threads":break;case"resource":case"assembly":case"pdb":Wn.push({url:r,file:o});case"heap":case"icu":s=kt(n),Ln[o]=[s,n.length];break;case"vfs":{const e=o.lastIndexOf("/");let r=e>0?o.substr(0,e):null,s=e>0?o.substr(e+1):o;s.startsWith("/")&&(s=s.substr(1)),r?(m.diagnosticTracing&&console.debug(`MONO_WASM: Creating directory '${r}'`),t.FS_createPath("/",r,!0,!0)):r="/",m.diagnosticTracing&&console.debug(`MONO_WASM: Creating file '${s}' in directory '${r}'`),to(n,r)||t.FS_createDataFile(r,s,n,!0,!0,!0);break}default:throw new Error(`Unrecognized asset behavior:${e.behavior}, for asset ${e.name}`)}if("assembly"===e.behavior){if(!g.mono_wasm_add_assembly(o,s,n.length)){const e=Wn.findIndex((e=>e.file==o));Wn.splice(e,1)}}else"icu"===e.behavior?J(s)||t.printErr(`MONO_WASM: Error loading ICU asset ${e.name}`):"resource"===e.behavior&&g.mono_wasm_add_satellite_assembly(o,e.culture||"",s,n.length);++Un}function to(e,r){if(e.length<8)return!1;const n=new DataView(e.buffer);if(1651270004!=n.getUint32(0,!0))return!1;const o=n.getUint32(4,!0);if(0==o||e.length{const t=e[0],r=t.lastIndexOf("/"),n=t.slice(0,r+1);i.add(n)})),i.forEach((e=>{t.FS_createPath(r,e,!0,!0)}));for(const n of s){const o=n[0],s=n[1],i=e.slice(0,s);t.FS_createDataFile(r,o,i,!0,!0),e=e.slice(s)}return!0}async function ro(){if(await Fn.promise,m.config.assets){if(Cn!=Bn)throw new Error(`Assert failed: Expected ${Bn} assets to be downloaded, but only finished ${Cn}`);if(Un!=zn)throw new Error(`Assert failed: Expected ${zn} assets to be in memory, but only instantiated ${Un}`);Wn.forEach((e=>Rn.loaded_files.push(e.url))),m.diagnosticTracing&&console.debug("MONO_WASM: all assets are loaded in wasm memory")}}function no(){return Rn.loaded_files}let oo,so;function io(e){const r=t;void 0===globalThis.performance&&(globalThis.performance=ao),void 0===globalThis.URL&&(globalThis.URL=class{constructor(e){this.url=e}toString(){return this.url}});const n=r.imports=t.imports||{},c=e=>r=>t.imports[r]||e(r);n.require?m.requirePromise=e.requirePromise=Promise.resolve(c(n.require)):e.require?m.requirePromise=e.requirePromise=Promise.resolve(c(e.require)):e.requirePromise?m.requirePromise=e.requirePromise.then((e=>c(e))):m.requirePromise=e.requirePromise=Promise.resolve(c((e=>{throw new Error(`Please provide Module.imports.${e} or Module.imports.require`)}))),m.scriptDirectory=e.scriptDirectory=function(e){return a&&(e.scriptUrl=self.location.href),e.scriptUrl||(e.scriptUrl="./dotnet.js"),e.scriptUrl=function(e){return e.replace(/\\/g,"/").replace(/[?#].*/,"")}(e.scriptUrl),function(e){return e.slice(0,e.lastIndexOf("/"))+"/"}(e.scriptUrl)}(e),r.mainScriptUrlOrBlob=e.scriptUrl,r.__locateFile===r.locateFile?r.locateFile=m.locateFile=e=>function(e){return o||s?e.startsWith("/")||e.startsWith("\\")||-1!==e.indexOf("///")||lo.test(e):uo.test(e)}(e)?e:m.scriptDirectory+e:m.locateFile=r.locateFile,n.fetch?e.fetch=m.fetch_like=n.fetch:e.fetch=m.fetch_like=co,e.noExitRuntime=i;const u=e.updateGlobalBufferAndViews;e.updateGlobalBufferAndViews=e=>{u(e),function(e){Ve&&(Et=BigInt("9223372036854775807"),At=BigInt("-9223372036854775808"),He=new BigInt64Array(e))}(e)}}const ao={now:function(){return Date.now()}};async function co(e,r){try{if(o){if(!oo){const e=await m.requirePromise;so=e("url"),oo=e("fs")}e.startsWith("file://")&&(e=so.fileURLToPath(e));const t=await oo.promises.readFile(e);return{ok:!0,url:e,arrayBuffer:()=>t,json:()=>JSON.parse(t)}}if("function"==typeof globalThis.fetch)return globalThis.fetch(e,r||{credentials:"same-origin"});if("function"==typeof read){const r=new Uint8Array(read(e,"binary"));return{ok:!0,url:e,arrayBuffer:()=>r,json:()=>JSON.parse(t.UTF8ArrayToString(r,0,r.length))}}}catch(r){return{ok:!1,url:e,status:500,statusText:"ERR28: "+r,arrayBuffer:()=>{throw r},json:()=>{throw r}}}throw new Error("No fetch implementation available")}const uo=/^[a-zA-Z][a-zA-Z\d+\-.]*?:\/\//,lo=/[a-zA-Z]:[\\/]/;function _o(e,t,r,n,o,s){const i=Rt(e),a=Rt(t),c=Rt(s);try{const e=Kt(r);if(1!==e)throw new Error(`Assert failed: Signature version ${e} mismatch.`);const t=Nr(i),o=Nr(a);m.diagnosticTracing&&console.debug(`MONO_WASM: Binding [JSImport] ${t} from ${o}`);const s=po(t,o),u=Zt(r),l={fn:s,marshal_exception_to_cs:Qr,signature:r},_="_bound_js_"+t.replace(/\./g,"_");let f=`//# sourceURL=https://dotnet.generated.invalid/${_} \n`,d="",p="",h="";for(let e=0;e{const o=await r;return n&&(Eo.set(e,o),m.diagnosticTracing&&console.debug(`MONO_WASM: imported ES6 module '${e}' from '${t}'`)),o}))}function ko(e,r,n){Mr(function(e,r){let n="unknown exception";if(r){n=r.toString();const e=r.stack;e&&(e.startsWith(n)?n=e:n+="\n"+e),n=se(n)}return e&&t.setValue(e,1,"i32"),n}(e,r),n)}const So=new Map;function Oo(e,r,n,o,s){const i=Rt(e),a=Rt(s),c=t;try{const e=Kt(n);if(1!==e)throw new Error(`Assert failed: Signature version ${e} mismatch.`);const t=Zt(n),o=Nr(i);if(!o)throw new Error("Assert failed: fully_qualified_name must be string");m.diagnosticTracing&&console.debug(`MONO_WASM: Binding [JSExport] ${o}`);const{assembly:s,namespace:u,classname:l,methodname:_}=Do(o),f=te(s);if(!f)throw new Error("Could not find assembly: "+s);const d=g.mono_wasm_assembly_find_class(f,u,l);if(!d)throw new Error("Could not find class: "+u+":"+l+" in assembly "+s);const p=`__Wrapper_${_}_${r}`,h=g.mono_wasm_assembly_find_method(d,p,-1);if(!h)throw new Error(`Could not find method: ${p} in ${d} [${s}]`);const w={method:h,signature:n,stackSave:c.stackSave,stackRestore:c.stackRestore,alloc_stack_frame:Lt,invoke_method_and_handle_exception:xo},y="_bound_cs_"+`${u}_${l}_${_}`.replace(/\./g,"_").replace(/\//g,"_");let b=`//# sourceURL=https://dotnet.generated.invalid/${y} \n`,v="",E="";for(let e=0;ea&&(i=a);const c=n*s;return new Uint8Array(e.buffer,0,i).set(t.HEAPU8.subarray(r+c,r+c+i)),i}throw new Error("Object '"+e+"' is not a typed array")}function Io(e){return"undefined"!=typeof SharedArrayBuffer?e.buffer instanceof ArrayBuffer||e.buffer instanceof SharedArrayBuffer:e.buffer instanceof ArrayBuffer}function $o(e,t,r){switch(!0){case null===t:case void 0===t:return void r.clear();case"symbol"==typeof t:case"string"==typeof t:return void Es._create_uri_ref(t,r.address);default:return void Co(e,t,r)}}function Fo(e){const t=Tt();try{return Po(e,t,!1),t.value}finally{t.release()}}function Po(e,t,r){if(h(t))throw new Error("Expected (value, WasmRoot, boolean)");switch(!0){case null===e:case void 0===e:return void t.clear();case"number"==typeof e:{let r;return(0|e)===e?(rt(In._box_buffer,e),r=In._class_int32):e>>>0===e?(Ke(In._box_buffer,e),r=In._class_uint32):(ut(In._box_buffer,e),r=In._class_double),void g.mono_wasm_box_primitive_ref(r,In._box_buffer,8,t.address)}case"string"==typeof e:return void Mr(e,t);case"symbol"==typeof e:return void Dr(e,t);case"boolean"==typeof e:return Ye(In._box_buffer,e),void g.mono_wasm_box_primitive_ref(In._class_boolean,In._box_buffer,4,t.address);case!0===Ce(e):return void function(e,t){if(!e)return t.clear(),null;const r=xe(e),n=Es._create_tcs(),o={tcs_gc_handle:n};je(o,n),e.then((e=>{Es._set_tcs_result_ref(n,e)}),(e=>{Es._set_tcs_failure(n,e?e.toString():"")})).finally((()=>{Ne(r),De(o,n)})),Es._get_tcs_task_ref(n,t.address)}(e,t);case"Date"===e.constructor.name:return void Es._create_date_time_ref(e.getTime(),t.address);default:return void Co(r,e,t)}}function Co(e,t,r){if(r.clear(),null!=t){if(void 0!==t[ke]){return void Ko(Me(t),r.address)}if(t[Se]&&(function(e,t,r){if(0===e||-1===e)return void rt(r,0);Es._get_cs_owned_object_by_js_handle_ref(e,t?1:0,r)}(t[Se],e,r.address),r.value||delete t[Se]),!r.value){const n=t[$n],o=void 0===n?0:n,s=xe(t);Es._create_cs_owned_proxy_ref(s,o,e?1:0,r.address)}}}function Uo(e,r){if(!Io(e)||!e.BYTES_PER_ELEMENT)throw new Error("Object '"+e+"' is not a typed array");{const n=e[$n],o=function(e){const r=e.length*e.BYTES_PER_ELEMENT,n=t._malloc(r),o=new Uint8Array(t.HEAPU8.buffer,n,r);return o.set(new Uint8Array(e.buffer,e.byteOffset,r)),o}(e);g.mono_wasm_typed_array_new_ref(o.byteOffset,e.length,e.BYTES_PER_ELEMENT,n,r.address),t._free(o.byteOffset)}}function Bo(e){const t=Tt();try{return Uo(e,t),t.value}finally{t.release()}}function zo(e,t,r){if("number"!=typeof e)throw new Error(`Expected numeric value for enum argument, got '${e}'`);return 0|e}function Wo(e,t,r){const n=Rt(r);try{const r=Oe(e);if(h(r))return void ko(t,"ERR06: Invalid JS object handle '"+e+"'",n);Uo(r,n)}catch(e){ko(t,String(e),n)}finally{n.release()}}const Lo=Symbol.for("wasm delegate_invoke");function Ho(e){if(0===e)return;const t=Tt(e);try{return Jo(t)}finally{t.release()}}function Vo(e,t,r,n){switch(t){case 0:return null;case 26:case 27:throw new Error("int64 not available");case 3:case 29:return Nr(e);case 4:throw new Error("no idea on how to unbox value types");case 5:return function(e){if(0===e.value)return null;return function(e){let t=Re(e);if(t)Me(t);else{t=function(...e){Me(t);return(0,t[Lo])(...e)};const r=Tt();Ko(e,r.address);try{if(void 0===t[Lo]){const n=g.mono_wasm_get_delegate_invoke_ref(r.address),o=ws(n,bs(n,r),!0);if(t[Lo]=o.bind({this_arg_gc_handle:e}),!t[Lo])throw new Error("System.Delegate Invoke method can not be resolved.")}}finally{r.release()}je(t,e)}return t}(Es._get_js_owned_object_gc_handle_ref(e.address))}(e);case 6:return function(e){if(0===e.value)return null;if(!Pe)throw new Error("Promises are not supported thus 'System.Threading.Tasks.Task' can not work in this context.");const t=Es._get_js_owned_object_gc_handle_ref(e.address);let r=Re(t);if(!r){const n=()=>De(r,t),{promise:o,promise_control:s}=Ie(n,n);r=o,Es._setup_js_cont_ref(e.address,s),je(r,t)}return r}(e);case 7:return function(e){if(0===e.value)return null;const t=Es._try_get_cs_owned_object_js_handle_ref(e.address,0);if(t){if(t===p)throw new Error("Cannot access a disposed JSObject at "+e.value);return Oe(t)}const r=Es._get_js_owned_object_gc_handle_ref(e.address);let n=Re(r);return h(n)&&(n=new dr,je(n,r)),n}(e);case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:throw new Error("Marshaling of primitive arrays are not supported.");case 20:return new Date(Es._get_date_value_ref(e.address));case 21:case 22:return Es._object_to_string_ref(e.address);case 23:return function(e){return Oe(Es._get_cs_owned_object_js_handle_ref(e.address,0))}(e);case 30:return;default:throw new Error(`no idea on how to unbox object of MarshalType ${t} at offset ${e.value} (root address is ${e.address})`)}}function qo(e,t,r){if(t>=512)throw new Error(`Got marshaling error ${t} when attempting to unbox object at address ${e.value} (root located at ${e.address})`);let n=0;if((4===t||7==t)&&(n=dt(r),n<1024))throw new Error(`Got invalid MonoType ${n} for object at address ${e.value} (root located at ${e.address})`);return Vo(e,t)}function Jo(e){if(0===e.value)return;const t=In._unbox_buffer,r=g.mono_wasm_try_unbox_primitive_and_get_type_ref(e.address,t,In._unbox_buffer_size);switch(r){case 1:return ht(t);case 25:case 32:return dt(t);case 24:return bt(t);case 2:return vt(t);case 8:return 0!==ht(t);case 28:return String.fromCharCode(ht(t));case 0:return null;default:return qo(e,r,t)}}function Go(e){if(0===e)return null;const t=Tt(e);try{return Xo(t)}finally{t.release()}}function Yo(e){return Es._is_simple_array_ref(e.address)}function Xo(e){if(0===e.value)return null;const t=e.address,r=Tt(),n=r.address;try{const o=g.mono_wasm_array_length(e.value),s=new Array(o);for(let e=0;e0&&Array.isArray(e[0])&&(e[0]=function(e,t,r){const n=Tt();t?g.mono_wasm_string_array_new_ref(e.length,n.address):g.mono_wasm_obj_array_new_ref(e.length,n.address);const o=Tt(0),s=n.address,i=o.address;try{for(let n=0;n{e&&"AbortError"!==e.name&&t.printErr("MONO_WASM: Error in http_wasm_abort_response: "+e)}))}function js(e,t,r,n,o,s,i,a){return Ds(e,t,r,n,o,s,new wr(i,a,0).slice())}function Ds(e,t,r,n,o,s,i){if(!e||"string"!=typeof e)throw new Error("Assert failed: expected url string");if(!(t&&r&&Array.isArray(t)&&Array.isArray(r)&&t.length===r.length))throw new Error("Assert failed: expected headerNames and headerValues arrays");if(!(n&&o&&Array.isArray(n)&&Array.isArray(o)&&n.length===o.length))throw new Error("Assert failed: expected headerNames and headerValues arrays");const a=new Headers;for(let e=0;e{const t=await fetch(e,c);return t.__abort_controller=s,t}))}function Ms(e){if(!e.__headerNames){e.__headerNames=[],e.__headerValues=[];const t=e.headers.entries();for(const r of t)e.__headerNames.push(r[0]),e.__headerValues.push(r[1])}}function Rs(e){return Ms(e),e.__headerNames}function Ts(e){return Ms(e),e.__headerValues}function Is(e){return Ue((async()=>{const t=await e.arrayBuffer();return e.__buffer=t,e.__source_offset=0,t.byteLength}))}function $s(e,t){if(!e.__buffer)throw new Error("Assert failed: expected resoved arrayBuffer");if(e.__source_offset==e.__buffer.byteLength)return 0;const r=new Uint8Array(e.__buffer,e.__source_offset);t.set(r,0);const n=Math.min(t.byteLength,r.byteLength);return e.__source_offset+=n,n}function Fs(e,t,r){const n=new wr(t,r,0);return Ue((async()=>{if(e.__reader||(e.__reader=e.body.getReader()),e.__chunk||(e.__chunk=await e.__reader.read(),e.__source_offset=0),e.__chunk.done)return 0;const t=e.__chunk.value.byteLength-e.__source_offset;if(!(t>0))throw new Error("Assert failed: expected remaining_source to be greater than 0");const r=Math.min(t,n.byteLength),o=e.__chunk.value.subarray(e.__source_offset,e.__source_offset+r);return n.set(o,0),e.__source_offset+=r,t==r&&(e.__chunk=void 0),r}))}let Ps,Cs=0,Us=!1,Bs=0;if(globalThis.navigator){const e=globalThis.navigator;e.userAgentData&&e.userAgentData.brands?Us=e.userAgentData.brands.some((e=>"Chromium"==e.brand)):e.userAgent&&(Us=e.userAgent.includes("Chrome"))}function zs(){for(;Bs>0;)--Bs,g.mono_background_exec()}function Ws(){if(!Us)return;const e=(new Date).valueOf(),t=e+36e4;for(let r=Math.max(e+1e3,Cs);r{g.mono_set_timeout_exec(),Bs++,zs()}),r-e)}Cs=t}function Ls(){++Bs,setTimeout(zs,0)}function Hs(e){Ps&&(clearTimeout(Ps),Ps=void 0),Ps=setTimeout((function(){g.mono_set_timeout_exec()}),e)}class Vs{constructor(){this.queue=[],this.offset=0}getLength(){return this.queue.length-this.offset}isEmpty(){return 0==this.queue.length}enqueue(e){this.queue.push(e)}dequeue(){if(0===this.queue.length)return;const e=this.queue[this.offset];return this.queue[this.offset]=null,2*++this.offset>=this.queue.length&&(this.queue=this.queue.slice(this.offset),this.offset=0),e}peek(){return this.queue.length>0?this.queue[this.offset]:void 0}drain(e){for(;this.getLength();){e(this.dequeue())}}}const qs=Symbol.for("wasm ws_pending_send_buffer"),Js=Symbol.for("wasm ws_pending_send_buffer_offset"),Gs=Symbol.for("wasm ws_pending_send_buffer_type"),Ys=Symbol.for("wasm ws_pending_receive_event_queue"),Xs=Symbol.for("wasm ws_pending_receive_promise_queue"),Zs=Symbol.for("wasm ws_pending_open_promise"),Ks=Symbol.for("wasm ws_pending_close_promises"),Qs=Symbol.for("wasm ws_pending_send_promises"),ei=Symbol.for("wasm ws_is_aborted"),ti=Symbol.for("wasm ws_receive_status_ptr");let ri,ni,oi=!1;const si=new Uint8Array;function ii(e,t,r,n){if(!e||"string"!=typeof e)throw new Error("Assert failed: ERR12: Invalid uri "+typeof e);const o=new globalThis.WebSocket(e,t||void 0),{promise_control:s}=Ie();o[Ys]=new Vs,o[Xs]=new Vs,o[Zs]=s,o[Qs]=[],o[Ks]=[],o[ti]=r,o.binaryType="arraybuffer";const i=e=>{o[ei]||(function(e,t){const r=e[Ys],n=e[Xs];if("string"==typeof t.data)void 0===ni&&(ni=new TextEncoder),r.enqueue({type:0,data:ni.encode(t.data),offset:0});else{if("ArrayBuffer"!==t.data.constructor.name)throw new Error("ERR19: WebSocket receive expected ArrayBuffer");r.enqueue({type:1,data:new Uint8Array(t.data),offset:0})}if(n.getLength()&&r.getLength()>1)throw new Error("ERR21: Invalid WS state");for(;n.getLength()&&r.getLength();){const t=n.dequeue();fi(e,r,t.buffer_ptr,t.buffer_length),t.resolve()}Ws()}(o,e),Ws())};return o.addEventListener("message",i),o.addEventListener("open",(()=>{o[ei]||(s.resolve(o),Ws())}),{once:!0}),o.addEventListener("close",(e=>{if(o.removeEventListener("message",i),o[ei])return;n&&n(e.code,e.reason),s.reject(e.reason);for(const e of o[Ks])e.resolve();o[Xs].drain((e=>{nt(r,0),nt(r+4,2),nt(r+8,1),e.resolve()}))}),{once:!0}),o.addEventListener("error",(e=>{s.reject(e.message||"WebSocket error")}),{once:!0}),o}function ai(e){if(!e)throw new Error("Assert failed: ERR17: expected ws instance");return e[Zs].promise}function ci(e,r,n,o,s){if(!e)throw new Error("Assert failed: ERR17: expected ws instance");const i=function(e,t,r,n){let o=e[qs],s=0;const i=t.byteLength;if(o){if(s=e[Js],r=e[Gs],0!==i){if(s+i>o.length){const r=new Uint8Array(1.5*(s+i+50));r.set(o,0),r.subarray(s).set(t),e[qs]=o=r}else o.subarray(s).set(t);s+=i,e[Js]=s}}else n?0!==i&&(o=t,s=i):(0!==i&&(o=t.slice(),s=i,e[Js]=s,e[qs]=o),e[Gs]=r);if(n){if(0==s||null==o)return si;if(0===r){void 0===ri&&(ri=new TextDecoder("utf-8",{fatal:!1}));const e="undefined"!=typeof SharedArrayBuffer&&o instanceof SharedArrayBuffer?o.slice(0,s):o.subarray(0,s);return ri.decode(e)}return o.subarray(0,s)}return null}(e,new Uint8Array(t.HEAPU8.buffer,r,n),o,s);return s&&i?function(e,t){if(e.send(t),e[qs]=null,e.bufferedAmount<65536)return null;const{promise:r,promise_control:n}=Ie(),o=e[Qs];o.push(n);let s=1;const i=()=>{if(0===e.bufferedAmount)n.resolve();else if(e.readyState!=WebSocket.OPEN)n.reject("InvalidState: The WebSocket is not connected.");else if(!n.isDone)return globalThis.setTimeout(i,s),void(s=Math.min(1.5*s,1e3));const t=o.indexOf(n);t>-1&&o.splice(t,1)};return globalThis.setTimeout(i,0),r}(e,i):null}function ui(e,t,r){if(!e)throw new Error("Assert failed: ERR18: expected ws instance");const n=e[Ys],o=e[Xs],s=e.readyState;if(s!=WebSocket.OPEN&&s!=WebSocket.CLOSING)throw new Error("InvalidState: The WebSocket is not connected.");if(n.getLength()){if(0!=o.getLength())throw new Error("Assert failed: ERR20: Invalid WS state");return fi(e,n,t,r),null}const{promise:i,promise_control:a}=Ie(),c=a;return c.buffer_ptr=t,c.buffer_length=r,o.enqueue(c),i}function li(e,t,r,n){if(!e)throw new Error("Assert failed: ERR19: expected ws instance");if(e.readyState==WebSocket.CLOSED)return null;if(n){const{promise:n,promise_control:o}=Ie();return e[Ks].push(o),"string"==typeof r?e.close(t,r):e.close(t),n}return oi||(oi=!0,console.warn("WARNING: Web browsers do not support closing the output side of a WebSocket. CloseOutputAsync has closed the socket and discarded any incoming messages.")),"string"==typeof r?e.close(t,r):e.close(t),null}function _i(e){if(!e)throw new Error("Assert failed: ERR18: expected ws instance");e[ei]=!0;const t=e[Zs];t&&t.reject("OperationCanceledException");for(const t of e[Ks])t.reject("OperationCanceledException");for(const t of e[Qs])t.reject("OperationCanceledException");e[Xs].drain((e=>{e.reject("OperationCanceledException")})),e.close(1e3,"Connection was aborted.")}function fi(e,r,n,o){const s=r.peek(),i=Math.min(o,s.data.length-s.offset);if(i>0){const e=s.data.subarray(s.offset,s.offset+i);new Uint8Array(t.HEAPU8.buffer,n,o).set(e,0),s.offset+=i}const a=s.data.length===s.offset?1:0;a&&r.dequeue();const c=e[ti];nt(c,i),nt(c+4,s.type),nt(c+8,a)}function di(){return{mono_wasm_exit:e=>{t.printErr("MONO_WASM: early exit "+e)},mono_wasm_enable_on_demand_gc:g.mono_wasm_enable_on_demand_gc,mono_profiler_init_aot:g.mono_profiler_init_aot,mono_wasm_exec_regression:g.mono_wasm_exec_regression,mono_method_resolve:ys,mono_intern_string:jr,logging:void 0,mono_wasm_stringify_as_error_with_stack:ie,mono_wasm_get_loaded_files:no,mono_wasm_send_dbg_command_with_parms:R,mono_wasm_send_dbg_command:T,mono_wasm_get_dbg_command_info:I,mono_wasm_get_details:W,mono_wasm_release_object:H,mono_wasm_call_function_on:z,mono_wasm_debugger_resume:$,mono_wasm_detach_debugger:F,mono_wasm_raise_debug_event:C,mono_wasm_change_debugger_log_level:P,mono_wasm_debugger_attached:U,mono_wasm_runtime_is_ready:m.mono_wasm_runtime_is_ready,get_property:wo,set_property:ho,has_property:go,get_typeof_property:yo,get_global_this:bo,get_dotnet_instance:()=>u,dynamic_import:Ao,mono_wasm_cancel_promise:Be,ws_wasm_create:ii,ws_wasm_open:ai,ws_wasm_send:ci,ws_wasm_receive:ui,ws_wasm_close:li,ws_wasm_abort:_i,http_wasm_supports_streaming_response:Ss,http_wasm_create_abort_controler:Os,http_wasm_abort_request:xs,http_wasm_abort_response:Ns,http_wasm_fetch:Ds,http_wasm_fetch_bytes:js,http_wasm_get_response_header_names:Rs,http_wasm_get_response_header_values:Ts,http_wasm_get_response_bytes:$s,http_wasm_get_response_length:Is,http_wasm_get_streamed_response_bytes:Fs}}function mi(){}let pi,hi=!1,wi=!1;const gi=Ie(),yi=Ie(),bi=Ie(),vi=Ie(),Ei=Ie(),Ai=Ie(),ki=Ie(),Si=Ie(),Oi=Ie();function xi(e,t){const r=e.instantiateWasm,n=e.preInit?"function"==typeof e.preInit?[e.preInit]:e.preInit:[],o=e.preRun?"function"==typeof e.preRun?[e.preRun]:e.preRun:[],s=e.postRun?"function"==typeof e.postRun?[e.postRun]:e.postRun:[],i=e.onRuntimeInitialized?e.onRuntimeInitialized:()=>{};wi=!(e.configSrc||e.config&&e.config.assets&&-1!=e.config.assets.findIndex((e=>"assembly"===e.behavior))),e.instantiateWasm=(e,t)=>Ni(e,t,r),e.preInit=[()=>ji(n)],e.preRun=[()=>Di(o)],e.onRuntimeInitialized=()=>async function(e){await Ai.promise,m.diagnosticTracing&&console.debug("MONO_WASM: onRuntimeInitialized"),ki.promise_control.resolve();try{wi||(await ro(),await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_before_user_runtime_initialized");try{await async function(){try{Ii("TZ",Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC")}catch(e){Ii("TZ","UTC")}for(const e in pi.environmentVariables){const t=pi.environmentVariables[e];if("string"!=typeof t)throw new Error(`Expected environment variable '${e}' to be a string but it was ${typeof t}: '${t}'`);Ii(e,t)}pi.runtimeOptions&&$i(pi.runtimeOptions),pi.aotProfilerOptions&&X(pi.aotProfilerOptions),pi.coverageProfilerOptions&&Z(pi.coverageProfilerOptions)}(),Y(),m.mono_wasm_load_runtime_done||Fi("unused",pi.debugLevel),m.mono_wasm_runtime_is_ready||N(),m.mono_wasm_symbols_are_ready||ue("dotnet.js.symbols"),setTimeout((()=>{Sr.init_fields()}))}catch(e){throw Ti("MONO_WASM: Error in mono_wasm_before_user_runtime_initialized",e),e}}()),pi.runtimeOptions&&$i(pi.runtimeOptions);try{e()}catch(e){throw Ti("MONO_WASM: user callback onRuntimeInitialized() failed",e),e}await Ri()}catch(e){throw Ti("MONO_WASM: onRuntimeInitializedAsync() failed",e),Mi(e,!0),e}Si.promise_control.resolve()}(i),e.postRun=[()=>async function(e){await Si.promise,m.diagnosticTracing&&console.debug("MONO_WASM: postRunAsync");try{e.map((e=>e()))}catch(e){throw Ti("MONO_WASM: user callback posRun() failed",e),Mi(e,!0),e}Oi.promise_control.resolve()}(s)],e.ready.then((async()=>{await Oi.promise,gi.promise_control.resolve(t)})).catch((e=>{gi.promise_control.reject(e)})),e.ready=gi.promise,e.onAbort||(e.onAbort=()=>de)}function Ni(e,r,n){if(t.configSrc||t.config||n||t.print("MONO_WASM: configSrc nor config was specified"),pi=t.config?m.config=t.config:m.config=t.config={},m.diagnosticTracing=!!pi.diagnosticTracing,n){return n(e,((e,t)=>{bi.promise_control.resolve(),r(e,t)}))}return async function(e,r){try{await Pi(t.configSrc),m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module");const n=function(e){var t;const r=null===(t=m.config.assets)||void 0===t?void 0:t.find((t=>t.behavior==e));if(!r)throw new Error(`Assert failed: Can't find asset for ${e}`);return r.resolvedUrl||(r.resolvedUrl=Kn(r,"")),r}("dotnetwasm");await Xn(n,!1),await vi.promise,t.addRunDependency("instantiate_wasm_module"),async function(e,t,r){if(!(e&&e.pendingDownloadInternal&&e.pendingDownloadInternal.response))throw new Error("Assert failed: Can't load dotnet.wasm");const n=await e.pendingDownloadInternal.response,o=n.headers&&n.headers.get?n.headers.get("Content-Type"):void 0;let s,a;if("function"==typeof WebAssembly.instantiateStreaming&&"application/wasm"===o){m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module streaming");const e=await WebAssembly.instantiateStreaming(n,t);s=e.instance,a=e.module}else{i&&"application/wasm"!==o&&console.warn('MONO_WASM: WebAssembly resource does not have the expected content type "application/wasm", so falling back to slower ArrayBuffer instantiation.');const e=await n.arrayBuffer();m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module buffered");const r=await WebAssembly.instantiate(e,t);s=r.instance,a=r.module}r(s,a)}(n,e,r),m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module done"),bi.promise_control.resolve()}catch(e){throw Ti("MONO_WASM: instantiate_wasm_module() failed",e),Mi(e,!0),e}t.removeRunDependency("instantiate_wasm_module")}(e,r),[]}function ji(e){t.addRunDependency("mono_pre_init");try{t.addRunDependency("mono_wasm_pre_init_essential"),m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_essential"),function(){const e=!!c;for(const r of w){const n=g,[o,s,i,a,c]=r;if(o||e)n[s]=function(...e){const r=t.cwrap(s,i,a,c);return n[s]=r,r(...e)};else{const e=t.cwrap(s,i,a,c);n[s]=e}}}(),function(e){Object.assign(e,{mono_wasm_exit:g.mono_wasm_exit,mono_wasm_enable_on_demand_gc:g.mono_wasm_enable_on_demand_gc,mono_profiler_init_aot:g.mono_profiler_init_aot,mono_wasm_exec_regression:g.mono_wasm_exec_regression})}(r),function(e){Object.assign(e,{mono_wasm_add_assembly:g.mono_wasm_add_assembly})}(Rn),function(e){Object.assign(e,{mono_obj_array_new:g.mono_wasm_obj_array_new,mono_obj_array_set:g.mono_wasm_obj_array_set,mono_obj_array_new_ref:g.mono_wasm_obj_array_new_ref,mono_obj_array_set_ref:g.mono_wasm_obj_array_set_ref})}(Tn),t.removeRunDependency("mono_wasm_pre_init_essential"),m.diagnosticTracing&&console.debug("MONO_WASM: preInit"),vi.promise_control.resolve(),e.forEach((e=>e()))}catch(e){throw Ti("MONO_WASM: user preInint() failed",e),Mi(e,!0),e}(async()=>{try{await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_essential_async"),t.addRunDependency("mono_wasm_pre_init_essential_async"),await async function(){if(o){if(r.require=await m.requirePromise,globalThis.performance===ao){const{performance:e}=r.require("perf_hooks");globalThis.performance=e}if(globalThis.crypto||(globalThis.crypto={}),!globalThis.crypto.getRandomValues){let e;try{e=r.require("node:crypto")}catch(e){}e?e.webcrypto?globalThis.crypto=e.webcrypto:e.randomBytes&&(globalThis.crypto.getRandomValues=t=>{t&&t.set(e.randomBytes(t.length))}):globalThis.crypto.getRandomValues=()=>{throw new Error("Using node without crypto support. To enable current operation, either provide polyfill for 'globalThis.crypto.getRandomValues' or enable 'node:crypto' module.")}}}}(),await Pi(t.configSrc),t.removeRunDependency("mono_wasm_pre_init_essential_async")}(),wi||await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_full"),t.addRunDependency("mono_wasm_pre_init_full"),await Yn(),t.removeRunDependency("mono_wasm_pre_init_full")}()}catch(e){throw Mi(e,!0),e}Ei.promise_control.resolve(),t.removeRunDependency("mono_pre_init")})()}async function Di(e){t.addRunDependency("mono_pre_run_async"),await bi.promise,await Ei.promise,m.diagnosticTracing&&console.debug("MONO_WASM: preRunAsync");try{e.map((e=>e()))}catch(e){throw Ti("MONO_WASM: user callback preRun() failed",e),Mi(e,!0),e}Ai.promise_control.resolve(),t.removeRunDependency("mono_pre_run_async")}function Mi(e,t){m.diagnosticTracing&&console.trace("MONO_WASM: abort_startup"),gi.promise_control.reject(e),bi.promise_control.reject(e),vi.promise_control.reject(e),Ei.promise_control.reject(e),Ai.promise_control.reject(e),ki.promise_control.reject(e),Si.promise_control.reject(e),Oi.promise_control.reject(e),t&&me(1,e)}async function Ri(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_after_user_runtime_initialized");try{if(!t.disableDotnet6Compatibility&&t.exports){const e=globalThis;for(let r=0;r{const n=e.stackSave();try{const s=Lt(4),i=Ht(s,1),a=Ht(s,2),c=Ht(s,3);return Hr(a,t),r&&0==r.length&&(r=void 0),nn(c,r,yr.String),xo(o,s),En(i,0,dn)||Promise.resolve(0)}finally{e.stackRestore(n)}},m.javaScriptExports.release_js_owned_object_by_gc_handle=t=>{if(!t)throw new Error("Assert failed: Must be valid gc_handle");const r=e.stackSave();try{const n=Lt(3),o=Ht(n,2);er(o,yr.Object),ur(o,t),xo(s,n)}finally{e.stackRestore(r)}},m.javaScriptExports.create_task_callback=()=>{const t=e.stackSave();try{const r=Lt(2);return xo(i,r),cr(Ht(r,1))}finally{e.stackRestore(t)}},m.javaScriptExports.complete_task=(t,r,n,o)=>{const s=e.stackSave();try{const i=Lt(5),c=Ht(i,2);er(c,yr.Object),ur(c,t);const u=Ht(i,3);if(r)Qr(u,r);else{er(u,yr.None);const e=Ht(i,4);if(!o)throw new Error("Assert failed: res_converter missing");o(e,n)}xo(a,i)}finally{e.stackRestore(s)}},m.javaScriptExports.call_delegate=(t,r,n,o,s,i,a,c)=>{const l=e.stackSave();try{const _=Lt(6),f=Ht(_,2);if(er(f,yr.Object),ur(f,t),i&&i(Ht(_,3),r),a&&a(Ht(_,4),n),c&&c(Ht(_,5),o),xo(u,_),s)return s(Ht(_,1))}finally{e.stackRestore(l)}},m.javaScriptExports.get_managed_stack_trace=t=>{const r=e.stackSave();try{const n=Lt(3),o=Ht(n,2);return er(o,yr.Exception),ur(o,t),xo(l,n),kn(Ht(n,1))}finally{e.stackRestore(r)}},n&&(m.javaScriptExports.install_synchronization_context=()=>{const t=e.stackSave();try{const r=Lt(2);xo(n,r)}finally{e.stackRestore(t)}},c||m.javaScriptExports.install_synchronization_context())})(),ks(),0==Ct.size&&(Ct.set(yr.Array,Nn),Ct.set(yr.Span,Dn),Ct.set(yr.ArraySegment,Mn),Ct.set(yr.Boolean,un),Ct.set(yr.Byte,ln),Ct.set(yr.Char,_n),Ct.set(yr.Int16,fn),Ct.set(yr.Int32,dn),Ct.set(yr.Int52,mn),Ct.set(yr.BigInt64,pn),Ct.set(yr.Single,hn),Ct.set(yr.IntPtr,gn),Ct.set(yr.Double,wn),Ct.set(yr.String,kn),Ct.set(yr.Exception,Sn),Ct.set(yr.JSException,Sn),Ct.set(yr.JSObject,On),Ct.set(yr.Object,xn),Ct.set(yr.DateTime,bn),Ct.set(yr.DateTimeOffset,bn),Ct.set(yr.Task,En),Ct.set(yr.Action,vn),Ct.set(yr.Function,vn),Ct.set(yr.None,yn),Ct.set(yr.Void,yn),Ct.set(yr.Discard,yn)),0==Ut.size&&(Ut.set(yr.Array,rn),Ut.set(yr.Span,on),Ut.set(yr.ArraySegment,sn),Ut.set(yr.Boolean,$r),Ut.set(yr.Byte,Fr),Ut.set(yr.Char,Pr),Ut.set(yr.Int16,Cr),Ut.set(yr.Int32,Ur),Ut.set(yr.Int52,Br),Ut.set(yr.BigInt64,zr),Ut.set(yr.Double,Wr),Ut.set(yr.Single,Lr),Ut.set(yr.IntPtr,Hr),Ut.set(yr.DateTime,Vr),Ut.set(yr.DateTimeOffset,qr),Ut.set(yr.String,Jr),Ut.set(yr.Exception,Qr),Ut.set(yr.JSException,Qr),Ut.set(yr.JSObject,en),Ut.set(yr.Object,tn),Ut.set(yr.Task,Kr),Ut.set(yr.Action,Xr),Ut.set(yr.Function,Xr),Ut.set(yr.None,Yr),Ut.set(yr.Discard,Yr),Ut.set(yr.Void,Yr)),m._i52_error_scratch_buffer=t._malloc(4)}catch(e){throw Ti("MONO_WASM: Error in bindings_init",e),e}}}()}catch(e){if(Ti("MONO_WASM: mono_wasm_load_runtime () failed",e),Mi(e,!1),s||o){(0,g.mono_wasm_exit)(1)}throw e}}}async function Pi(e){if(hi)await yi.promise;else{if(hi=!0,!e)return r(),void yi.promise_control.resolve();m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_load_config");try{const n=m.locateFile(e),o=await m.fetch_like(n),s=await o.json()||{};if(s.environmentVariables&&"object"!=typeof s.environmentVariables)throw new Error("Expected config.environmentVariables to be unset or a dictionary-style object");if(s.assets=[...s.assets||[],...pi.assets||[]],s.environmentVariables={...s.environmentVariables||{},...pi.environmentVariables||{}},pi=m.config=t.config=Object.assign(t.config,s),r(),t.onConfigLoaded)try{await t.onConfigLoaded(m.config),r()}catch(e){throw Ti("MONO_WASM: onConfigLoaded() failed",e),e}yi.promise_control.resolve()}catch(r){const n=`Failed to load config file ${e} ${r}`;throw Mi(n,!0),pi=m.config=t.config={message:n,error:r,isError:!0},r}}function r(){pi.environmentVariables=pi.environmentVariables||{},pi.assets=pi.assets||[],pi.runtimeOptions=pi.runtimeOptions||[],pi.globalizationMode=pi.globalizationMode||"auto",pi.debugLevel,pi.diagnosticTracing,m.diagnosticTracing=!!m.config.diagnosticTracing}}function Ci(e,r,n,o,s){if(!0!==m.mono_wasm_runtime_is_ready)return;const i=0!==e?t.UTF8ToString(e).concat(".dll"):"",a=y(new Uint8Array(t.HEAPU8.buffer,r,n));let c;if(o){c=y(new Uint8Array(t.HEAPU8.buffer,o,s))}C({eventName:"AssemblyLoaded",assembly_name:i,assembly_b64:a,pdb_b64:c})}async function Ui(e){pi=t.config=m.config=Object.assign(m.config||{},e||{}),await Yn(),wi||await ro()}var Bi,zi;(function(e){e[e.Sending=0]="Sending",e[e.Closed=1]="Closed",e[e.Error=2]="Error"})(Bi||(Bi={})),function(e){e[e.Idle=0]="Idle",e[e.PartialCommand=1]="PartialCommand",e[e.Error=2]="Error"}(zi||(zi={}));const Wi=new class{constructor(){this.moduleConfig={disableDotnet6Compatibility:!0,configSrc:"./mono-config.json",config:m.config}}withModuleConfig(e){try{return Object.assign(this.moduleConfig,e),this}catch(e){throw me(1,e),e}}withConsoleForwarding(){try{const e={forwardConsoleLogsToWS:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withAsyncFlushOnExit(){try{const e={asyncFlushOnExit:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withExitCodeLogging(){try{const e={logExitCode:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withElementOnExit(){try{const e={appendElementOnExit:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withWaitingForDebugger(e){try{const t={waitForDebugger:e};return Object.assign(this.moduleConfig.config,t),this}catch(e){throw me(1,e),e}}withConfig(e){try{const t={...e};return t.assets=[...this.moduleConfig.config.assets||[],...t.assets||[]],t.environmentVariables={...this.moduleConfig.config.environmentVariables||{},...t.environmentVariables||{}},Object.assign(this.moduleConfig.config,t),this}catch(e){throw me(1,e),e}}withConfigSrc(e){try{if(!e||"string"!=typeof e)throw new Error("Assert failed: must be file path or URL");return Object.assign(this.moduleConfig,{configSrc:e}),this}catch(e){throw me(1,e),e}}withVirtualWorkingDirectory(e){try{if(!e||"string"!=typeof e)throw new Error("Assert failed: must be directory path");return this.virtualWorkingDirectory=e,this}catch(e){throw me(1,e),e}}withEnvironmentVariable(e,t){try{return this.moduleConfig.config.environmentVariables[e]=t,this}catch(e){throw me(1,e),e}}withEnvironmentVariables(e){try{if(!e||"object"!=typeof e)throw new Error("Assert failed: must be dictionary object");return Object.assign(this.moduleConfig.config.environmentVariables,e),this}catch(e){throw me(1,e),e}}withDiagnosticTracing(e){try{if("boolean"!=typeof e)throw new Error("Assert failed: must be boolean");return this.moduleConfig.config.diagnosticTracing=e,this}catch(e){throw me(1,e),e}}withDebugging(e){try{if(!e||"number"!=typeof e)throw new Error("Assert failed: must be number");return this.moduleConfig.config.debugLevel=e,this}catch(e){throw me(1,e),e}}withApplicationArguments(...e){try{if(!e||!Array.isArray(e))throw new Error("Assert failed: must be array of strings");return this.applicationArguments=e,this}catch(e){throw me(1,e),e}}withRuntimeOptions(e){try{if(!e||!Array.isArray(e))throw new Error("Assert failed: must be array of strings");return Object.assign(this.moduleConfig,{runtimeOptions:e}),this}catch(e){throw me(1,e),e}}withMainAssembly(e){try{return this.moduleConfig.config.mainAssemblyName=e,this}catch(e){throw me(1,e),e}}withApplicationArgumentsFromQuery(){try{if(void 0!==globalThis.URLSearchParams){const e=new URLSearchParams(window.location.search).getAll("arg");return this.withApplicationArguments(...e)}throw new Error("URLSearchParams is supported")}catch(e){throw me(1,e),e}}async create(){try{if(!this.instance){if(i&&!c&&this.moduleConfig.config.forwardConsoleLogsToWS&&void 0!==globalThis.WebSocket&&function(e,t,r){const n={log:t.log,error:t.error},o=t;function s(t,r,o){return function(...s){try{let n=s[0];if(void 0===n)n="undefined";else if(null===n)n="null";else if("function"==typeof n)n=n.toString();else if("string"!=typeof n)try{n=JSON.stringify(n)}catch(e){n=n.toString()}"string"==typeof n&&"main"!==e&&(n=`[${e}] ${n}`),r(o?JSON.stringify({method:t,payload:n,arguments:s}):[t+n,...s.slice(1)])}catch(e){n.error(`proxyConsole failed: ${e}`)}}}const i=["debug","trace","warn","info","error"];for(const e of i)"function"!=typeof o[e]&&(o[e]=s(`console.${e}: `,t.log,!1));const a=`${r}/console`.replace("https://","wss://").replace("http://","ws://");ce=new WebSocket(a),ce.addEventListener("open",(()=>{n.log(`browser: [${e}] Console websocket connected.`)})),ce.addEventListener("error",(t=>{n.error(`[${e}] websocket error: ${t}`,t)})),ce.addEventListener("close",(t=>{n.error(`[${e}] websocket closed: ${t}`,t)}));const c=e=>{ce.readyState===WebSocket.OPEN?ce.send(e):n.log(e)};for(const e of["log",...i])o[e]=s(`console.${e}`,c,!0)}("main",globalThis.console,globalThis.location.origin),o){const e=await import("process");if(e.versions.node.split(".")[0]<14)throw new Error(`NodeJS at '${e.execPath}' has too low version '${e.versions.node}'`)}if(!this.moduleConfig)throw new Error("Assert failed: Null moduleConfig");if(!this.moduleConfig.config)throw new Error("Assert failed: Null moduleConfig.config");this.instance=await _(this.moduleConfig)}if(this.virtualWorkingDirectory){const e=this.instance.Module.FS,t=e.stat(this.virtualWorkingDirectory);if(!t||!e.isDir(t.mode))throw new Error(`Assert failed: Could not find working directory ${this.virtualWorkingDirectory}`);e.chdir(this.virtualWorkingDirectory)}return this.instance}catch(e){throw me(1,e),e}}async run(){try{if(!this.moduleConfig.config)throw new Error("Assert failed: Null moduleConfig.config");if(this.instance||await this.create(),!this.moduleConfig.config.mainAssemblyName)throw new Error("Assert failed: Null moduleConfig.config.mainAssemblyName");if(!this.applicationArguments)if(o){const e=await import("process");this.applicationArguments=e.argv.slice(2)}else this.applicationArguments=[];return this.instance.runMainAndExit(this.moduleConfig.config.mainAssemblyName,this.applicationArguments)}catch(e){throw me(1,e),e}}};const Li=function(t,r,n,o){const s=r.module,i=globalThis;f(t,r),function(e){Rn=e.mono,Tn=e.binding}(r),io(n),Object.assign(r.mono,{mono_wasm_setenv:Ii,mono_wasm_load_bytes_into_heap:kt,mono_wasm_load_icu_data:J,mono_wasm_runtime_ready:N,mono_wasm_load_data_archive:to,mono_wasm_load_config:Pi,mono_load_runtime_and_bcl_args:Ui,mono_wasm_new_root_buffer:Mt,mono_wasm_new_root:Tt,mono_wasm_new_external_root:Rt,mono_wasm_release_roots:It,mono_run_main:_e,mono_run_main_and_exit:le,mono_wasm_add_assembly:null,mono_wasm_load_runtime:Fi,config:m.config,loaded_files:[],setB32:Ye,setI8:et,setI16:tt,setI32:nt,setI52:st,setU52:it,setI64Big:at,setU8:Xe,setU16:Ze,setU32:Qe,setF32:ct,setF64:ut,getB32:lt,getI8:mt,getI16:pt,getI32:ht,getI52:wt,getU52:gt,getI64Big:yt,getU8:_t,getU16:ft,getU32:dt,getF32:bt,getF64:vt}),Object.assign(r.binding,{bind_static_method:ts,call_assembly_entry_point:ns,mono_obj_array_new:null,mono_obj_array_set:null,js_string_to_mono_string:Tr,js_typed_array_to_array:Bo,mono_array_to_js_array:Go,js_to_mono_obj:Fo,conv_string:xr,unbox_mono_obj:Ho,mono_obj_array_new_ref:null,mono_obj_array_set_ref:null,js_string_to_mono_string_root:Mr,js_typed_array_to_array_root:Uo,js_to_mono_obj_root:Po,conv_string_root:Nr,unbox_mono_obj_root:Jo,mono_array_root_to_js_array:Xo}),Object.assign(r.internal,di()),Object.assign(r.internal,di());const a={runMain:_e,runMainAndExit:le,setEnvironmentVariable:Ii,getAssemblyExports:jo,setModuleImports:mo,getConfig:()=>m.config,setHeapB32:Ye,setHeapU8:Xe,setHeapU16:Ze,setHeapU32:Qe,setHeapI8:et,setHeapI16:tt,setHeapI32:nt,setHeapI52:st,setHeapU52:it,setHeapI64Big:at,setHeapF32:ct,setHeapF64:ut,getHeapB32:lt,getHeapU8:_t,getHeapU16:ft,getHeapU32:dt,getHeapI8:mt,getHeapI16:pt,getHeapI32:ht,getHeapI52:wt,getHeapU52:gt,getHeapI64Big:yt,getHeapF32:bt,getHeapF64:vt};if(e.__linker_exports={mono_set_timeout:Hs,mono_wasm_asm_loaded:Ci,mono_wasm_fire_debugger_agent_message:j,mono_wasm_debugger_log:V,mono_wasm_add_dbg_command_received:D,schedule_background_exec:Ls,mono_wasm_invoke_js_blazor:ls,mono_wasm_trace_logger:ae,mono_wasm_set_entrypoint_breakpoint:B,mono_wasm_event_pipe_early_startup_callback:mi,mono_wasm_invoke_js_with_args_ref:os,mono_wasm_get_object_property_ref:ss,mono_wasm_set_object_property_ref:is,mono_wasm_get_by_index_ref:as,mono_wasm_set_by_index_ref:cs,mono_wasm_get_global_object_ref:us,mono_wasm_create_cs_owned_object_ref:Zo,mono_wasm_release_cs_owned_object:Ne,mono_wasm_typed_array_to_array_ref:Wo,mono_wasm_typed_array_from_ref:Ro,mono_wasm_bind_js_function:_o,mono_wasm_invoke_bound_function:fo,mono_wasm_bind_cs_function:Oo,mono_wasm_marshal_promise:An,mono_wasm_load_icu_data:J,mono_wasm_get_icudt_name:G},Object.assign(u,{MONO:r.mono,BINDING:r.binding,INTERNAL:r.internal,IMPORTS:r.marshaled_imports,Module:s,runtimeBuildInfo:{productVersion:"7.0.13",buildConfiguration:"Release"},...a}),Object.assign(o,a),r.module.__undefinedConfig&&(s.disableDotnet6Compatibility=!0,s.configSrc="./mono-config.json"),s.print||(s.print=console.log.bind(console)),s.printErr||(s.printErr=console.error.bind(console)),void 0===s.disableDotnet6Compatibility&&(s.disableDotnet6Compatibility=!0),t.isGlobal||!s.disableDotnet6Compatibility){Object.assign(s,u),s.mono_bind_static_method=(e,t)=>(console.warn("MONO_WASM: Module.mono_bind_static_method is obsolete, please use [JSExportAttribute] interop instead"),ts(e,t));const e=(e,t)=>{if(void 0!==i[e])return;let r;Object.defineProperty(globalThis,e,{get:()=>{if(h(r)){const n=(new Error).stack,o=n?n.substr(n.indexOf("\n",8)+1):"";console.warn(`MONO_WASM: global ${e} is obsolete, please use Module.${e} instead ${o}`),r=t()}return r}})};i.MONO=r.mono,i.BINDING=r.binding,i.INTERNAL=r.internal,t.isGlobal||(i.Module=s),e("cwrap",(()=>s.cwrap)),e("addRunDependency",(()=>s.addRunDependency)),e("removeRunDependency",(()=>s.removeRunDependency))}let c;return i.getDotnetRuntime?c=i.getDotnetRuntime.__list:(i.getDotnetRuntime=e=>i.getDotnetRuntime.__list.getRuntime(e),i.getDotnetRuntime.__list=c=new Vi),c.registerRuntime(u),xi(s,u),u},Hi=function(e,t){d(t),Object.assign(l,{dotnet:Wi,exit:me}),function(e){_=e}(e)};e.__linker_exports=null;class Vi{constructor(){this.list={}}registerRuntime(e){return e.runtimeId=Object.keys(this.list).length,this.list[e.runtimeId]=we(e),e.runtimeId}getRuntime(e){const t=this.list[e];return t?t.deref():void 0}}return e.__initializeImportsAndExports=Li,e.__setEmscriptenEntrypoint=Hi,e.moduleExports=l,Object.defineProperty(e,"__esModule",{value:!0}),e}({}),createDotnetRuntime=(()=>{var e=import.meta.url;return function(t){var r,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise((function(e,t){r=e,n=t}));var s=s||void 0,i=i||"",a={MONO,BINDING,INTERNAL,IMPORTS};if("function"==typeof t){a.Module=o={ready:o.ready};const e=t(a);if(e.ready)throw new Error("MONO_WASM: Module.ready couldn't be redefined.");Object.assign(o,e),(t=o).locateFile||(t.locateFile=t.__locateFile=e=>E+e)}else{if("object"!=typeof t)throw new Error("MONO_WASM: Can't use moduleFactory callback of createDotnetRuntime function.");a.Module=o={ready:o.ready,__undefinedConfig:1===Object.keys(t).length},Object.assign(o,t),(t=o).locateFile||(t.locateFile=t.__locateFile=e=>E+e)}var c,u,l,_,f,d,m=Object.assign({},o),p=[],h="./this.program",w=(e,t)=>{throw t},g="object"==typeof window,y="function"==typeof importScripts,b="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,v=!g&&!b&&!y,E="";function A(e){return o.locateFile?o.locateFile(e,E):E+e}function k(e){if(e instanceof Eo)return;O("exiting due to exception: "+e)}b?(E=y?s("path").dirname(E)+"/":i+"/",d=()=>{f||(_=s("fs"),f=s("path"))},c=function(e,t){return d(),e=f.normalize(e),_.readFileSync(e,t?void 0:"utf8")},l=e=>{var t=c(e,!0);return t.buffer||(t=new Uint8Array(t)),t},u=(e,t,r)=>{d(),e=f.normalize(e),_.readFile(e,(function(e,n){e?r(e):t(n.buffer)}))},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),p=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof Eo))throw e})),process.on("unhandledRejection",(function(e){throw e})),w=(e,t)=>{if(ae())throw process.exitCode=e,t;k(t),process.exit(e)},o.inspect=function(){return"[Emscripten Module object]"}):v?("undefined"!=typeof read&&(c=function(e){return read(e)}),l=function(e){let t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(t=read(e,"binary"),I("object"==typeof t),t)},u=function(e,t,r){setTimeout((()=>t(l(e))),0)},"undefined"!=typeof scriptArgs?p=scriptArgs:void 0!==arguments&&(p=arguments),"function"==typeof quit&&(w=(e,t)=>{k(t),quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(g||y)&&(y?E=self.location.href:"undefined"!=typeof document&&document.currentScript&&(E=document.currentScript.src),e&&(E=e),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"",c=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},y&&(l=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),u=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var S=o.print||console.log.bind(console),O=o.printErr||console.warn.bind(console);Object.assign(o,m),m=null,o.arguments&&(p=o.arguments),o.thisProgram&&(h=o.thisProgram),o.quit&&(w=o.quit);var x,N=0,j=e=>{N=e},D=()=>N;o.wasmBinary&&(x=o.wasmBinary);var M,R=o.noExitRuntime||!0;"object"!=typeof WebAssembly&&ye("no native wasm support detected");var T=!1;function I(e,t){e||ye(t)}function $(e){return o["_"+e]}function F(e,t,r,n,o){var s={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);Z(e,t=Nn(r),r)}return t},array:function(e){var t=Nn(e.length);return ee(e,t),t}};var i=$(e),a=[],c=0;if(n)for(var u=0;u=n);)++o;if(o-t>16&&e.buffer&&J)return J.decode(e.subarray(t,o));for(var s="";t>10,56320|1023&u)}}else s+=String.fromCharCode((31&i)<<6|a)}else s+=String.fromCharCode(i)}return s}function Y(e,t){return e?G(B,e,t):""}function X(e,t,r,n){if(!(n>0))return 0;for(var o=r,s=r+n-1,i=0;i=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(a<=127){if(r>=s)break;t[r++]=a}else if(a<=2047){if(r+1>=s)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=s)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=s)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-o}function Z(e,t,r){return X(e,B,t,r)}function K(e){for(var t=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function Q(e){var t=K(e)+1,r=yn(t);return r&&X(e,U,r,t),r}function ee(e,t){U.set(e,t)}function te(e,t,r){for(var n=0;n>0]=e.charCodeAt(n);r||(U[t>>0]=0)}function re(e){C=e,o.HEAP8=U=new Int8Array(e),o.HEAP16=z=new Int16Array(e),o.HEAP32=L=new Int32Array(e),o.HEAPU8=B=new Uint8Array(e),o.HEAPU16=W=new Uint16Array(e),o.HEAPU32=H=new Uint32Array(e),o.HEAPF32=V=new Float32Array(e),o.HEAPF64=q=new Float64Array(e)}o.INITIAL_MEMORY;var ne,oe=[],se=[],ie=[];function ae(){return R}function ce(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)_e(o.preRun.shift());De(oe)}function ue(){!0,o.noFSInit||ct.init.initialized||ct.init(),ct.ignorePermissions=!1,tt.init(),ft.root=ct.mount(ft,{},null),De(se)}function le(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)de(o.postRun.shift());De(ie)}function _e(e){oe.unshift(e)}function fe(e){se.unshift(e)}function de(e){ie.unshift(e)}var me=0,pe=null,he=null;function we(e){me++,o.monitorRunDependencies&&o.monitorRunDependencies(me)}function ge(e){if(me--,o.monitorRunDependencies&&o.monitorRunDependencies(me),0==me&&(null!==pe&&(clearInterval(pe),pe=null),he)){var t=he;he=null,t()}}function ye(e){o.onAbort&&o.onAbort(e),O(e="Aborted("+e+")"),T=!0,1,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}var be,ve,Ee,Ae="data:application/octet-stream;base64,";function ke(e){return e.startsWith(Ae)}function Se(e){return e.startsWith("file://")}function Oe(e){try{if(e==be&&x)return new Uint8Array(x);if(l)return l(e);throw"both async and sync fetching of the wasm failed"}catch(e){ye(e)}}function xe(){if(!x&&(g||y)){if("function"==typeof pn&&!Se(be))return pn(be,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+be+"'";return e.arrayBuffer()})).catch((function(){return Oe(be)}));if(u)return new Promise((function(e,t){u(be,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return Oe(be)}))}function Ne(){var e={a:gn};function t(e,t){var r=e.exports;o.asm=r,re((M=o.asm.sb).buffer),ne=o.asm.xb,fe(o.asm.tb),ge()}function r(e){t(e.instance)}function s(t){return xe().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){O("failed to asynchronously prepare wasm: "+e),ye(e)}))}if(we(),o.instantiateWasm)try{return o.instantiateWasm(e,t)}catch(e){return O("Module.instantiateWasm callback failed with error: "+e),!1}return(x||"function"!=typeof WebAssembly.instantiateStreaming||ke(be)||Se(be)||"function"!=typeof pn?s(r):pn(be,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return O("wasm streaming compile failed: "+e),O("falling back to ArrayBuffer instantiation"),s(r)}))}))).catch(n),{}}o.locateFile?ke(be="dotnet.wasm")||(be=A(be)):be=new URL("dotnet.wasm",import.meta.url).toString();var je={2873364:(e,t)=>{setTimeout((function(){console.error(Y(e))}),t)},2873431:e=>{setTimeout((function(){try{"undefined"==typeof window&&"undefined"==typeof document&&"undefined"!=typeof self&&void 0!==self.close?self.close():"undefined"!=typeof process&&void 0!==process.exit?process.exit(1):location.href="https://pspdfkit.com"}catch(e){location.href="https://pspdfkit.com"}}),e)}};function De(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?Te(r)():Te(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(o)}}function Me(e,t="i8"){switch(t.endsWith("*")&&(t="i32"),t){case"i1":case"i8":return U[e>>0];case"i16":return z[e>>1];case"i32":case"i64":return L[e>>2];case"float":return V[e>>2];case"double":return Number(q[e>>3]);default:ye("invalid type for getValue: "+t)}return null}var Re=[];function Te(e){var t=Re[e];return t||(e>=Re.length&&(Re.length=e+1),Re[e]=t=ne.get(e)),t}function Ie(e,t,r="i8"){switch(r.endsWith("*")&&(r="i32"),r){case"i1":case"i8":U[e>>0]=t;break;case"i16":z[e>>1]=t;break;case"i32":L[e>>2]=t;break;case"i64":Ee=[t>>>0,(ve=t,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[e>>2]=Ee[0],L[e+4>>2]=Ee[1];break;case"float":V[e>>2]=t;break;case"double":q[e>>3]=t;break;default:ye("invalid type for setValue: "+r)}}function $e(e,t,r,n){ye("Assertion failed: "+Y(e)+", at: "+[t?Y(t):"unknown filename",r,n?Y(n):"unknown function"])}function Fe(e){return yn(e+24)+24}var Pe=[];function Ce(e){e.add_ref()}var Ue=0;function Be(e){var t=new We(e);return t.get_caught()||(t.set_caught(!0),Ue--),t.set_rethrown(!1),Pe.push(t),Ce(t),t.get_exception_ptr()}var ze=0;function We(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){H[this.ptr+4>>2]=e},this.get_type=function(){return H[this.ptr+4>>2]},this.set_destructor=function(e){H[this.ptr+8>>2]=e},this.get_destructor=function(){return H[this.ptr+8>>2]},this.set_refcount=function(e){L[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,U[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=U[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,U[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=U[this.ptr+13>>0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=L[this.ptr>>2];L[this.ptr>>2]=e+1},this.release_ref=function(){var e=L[this.ptr>>2];return L[this.ptr>>2]=e-1,1===e},this.set_adjusted_ptr=function(e){H[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return H[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Dn(this.get_type()))return H[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}function Le(e){return bn(new We(e).ptr)}function He(e){if(e.release_ref()&&!e.get_rethrown()){var t=e.get_destructor();t&&Te(t)(e.excPtr),Le(e.excPtr)}}function Ve(){Sn(0),He(Pe.pop()),ze=0}function qe(e){throw ze||(ze=e),e}function Je(){var e=ze;if(!e)return j(0),0;var t=new We(e);t.set_adjusted_ptr(e);var r=t.get_type();if(!r)return j(0),e;for(var n=Array.prototype.slice.call(arguments),o=0;o"/"===e.charAt(0),splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray:(e,t)=>{for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:e=>{var t=Ke.isAbs(e),r="/"===e.substr(-1);return(e=Ke.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:e=>{var t=Ke.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:e=>{if("/"===e)return"/";var t=(e=(e=Ke.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},join:function(){var e=Array.prototype.slice.call(arguments,0);return Ke.normalize(e.join("/"))},join2:(e,t)=>Ke.normalize(e+"/"+t)};function Qe(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(b)try{var t=s("crypto");return function(){return t.randomBytes(1)[0]}}catch(e){}return function(){ye("randomDevice")}}var et={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:ct.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t=Ke.isAbs(n)}return(t?"/":"")+(e=Ke.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||"."},relative:(e,t)=>{function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=et.resolve(e).substr(1),t=et.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),s=Math.min(n.length,o.length),i=s,a=0;a0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;e.input=hn(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(S(G(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(S(G(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(O(G(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(O(G(e.output,0)),e.output=[])}}};function rt(e,t){B.fill(0,e,e+t)}function nt(e,t){return Math.ceil(e/t)*t}function ot(e){e=nt(e,65536);var t=An(65536,e);return t?(rt(t,e),t):0}var st={ops_table:null,mount:function(e){return st.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(ct.isBlkdev(r)||ct.isFIFO(r))throw new ct.ErrnoError(63);st.ops_table||(st.ops_table={dir:{node:{getattr:st.node_ops.getattr,setattr:st.node_ops.setattr,lookup:st.node_ops.lookup,mknod:st.node_ops.mknod,rename:st.node_ops.rename,unlink:st.node_ops.unlink,rmdir:st.node_ops.rmdir,readdir:st.node_ops.readdir,symlink:st.node_ops.symlink},stream:{llseek:st.stream_ops.llseek}},file:{node:{getattr:st.node_ops.getattr,setattr:st.node_ops.setattr},stream:{llseek:st.stream_ops.llseek,read:st.stream_ops.read,write:st.stream_ops.write,allocate:st.stream_ops.allocate,mmap:st.stream_ops.mmap,msync:st.stream_ops.msync}},link:{node:{getattr:st.node_ops.getattr,setattr:st.node_ops.setattr,readlink:st.node_ops.readlink},stream:{}},chrdev:{node:{getattr:st.node_ops.getattr,setattr:st.node_ops.setattr},stream:ct.chrdev_stream_ops}});var o=ct.createNode(e,t,r,n);return ct.isDir(o.mode)?(o.node_ops=st.ops_table.dir.node,o.stream_ops=st.ops_table.dir.stream,o.contents={}):ct.isFile(o.mode)?(o.node_ops=st.ops_table.file.node,o.stream_ops=st.ops_table.file.stream,o.usedBytes=0,o.contents=null):ct.isLink(o.mode)?(o.node_ops=st.ops_table.link.node,o.stream_ops=st.ops_table.link.stream):ct.isChrdev(o.mode)&&(o.node_ops=st.ops_table.chrdev.node,o.stream_ops=st.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;if(!(r>=t)){t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=ct.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,ct.isDir(e.mode)?t.size=4096:ct.isFile(e.mode)?t.size=e.usedBytes:ct.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&st.resizeFileStorage(e,t.size)},lookup:function(e,t){throw ct.genericErrors[44]},mknod:function(e,t,r,n){return st.createNode(e,t,r,n)},rename:function(e,t,r){if(ct.isDir(e.mode)){var n;try{n=ct.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new ct.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){var r=ct.lookupNode(e,t);for(var n in r.contents)throw new ct.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=st.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!ct.isLink(e.mode))throw new ct.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var s=e.node.contents;if(o>=e.node.usedBytes)return 0;var i=Math.min(e.node.usedBytes-o,n);if(i>8&&s.subarray)t.set(s.subarray(o,o+i),r);else for(var a=0;a0||r+t=e.node.size)return 0;var s=e.node.contents.slice(o,o+n),i=at.reader.readAsArrayBuffer(s);return t.set(new Uint8Array(i),r),s.size},write:function(e,t,r,n,o){throw new ct.ErrnoError(29)},llseek:function(e,t,r){var n=t;if(1===r?n+=e.position:2===r&&ct.isFile(e.node.mode)&&(n+=e.node.size),n<0)throw new ct.ErrnoError(28);return n}}},ct={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(e,t={})=>{if(!(e=et.resolve(ct.cwd(),e)))return{path:"",node:null};if((t=Object.assign({follow_mount:!0,recurse_count:0},t)).recurse_count>8)throw new ct.ErrnoError(32);for(var r=Ke.normalizeArray(e.split("/").filter((e=>!!e)),!1),n=ct.root,o="/",s=0;s40)throw new ct.ErrnoError(32)}}return{path:o,node:n}},getPath:e=>{for(var t;;){if(ct.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?r+"/"+t:r+t:r}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:(e,t)=>{for(var r=0,n=0;n>>0)%ct.nameTable.length},hashAddNode:e=>{var t=ct.hashName(e.parent.id,e.name);e.name_next=ct.nameTable[t],ct.nameTable[t]=e},hashRemoveNode:e=>{var t=ct.hashName(e.parent.id,e.name);if(ct.nameTable[t]===e)ct.nameTable[t]=e.name_next;else for(var r=ct.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:(e,t)=>{var r=ct.mayLookup(e);if(r)throw new ct.ErrnoError(r,e);for(var n=ct.hashName(e.id,t),o=ct.nameTable[n];o;o=o.name_next){var s=o.name;if(o.parent.id===e.id&&s===t)return o}return ct.lookup(e,t)},createNode:(e,t,r,n)=>{var o=new ct.FSNode(e,t,r,n);return ct.hashAddNode(o),o},destroyNode:e=>{ct.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>49152==(49152&e),flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:e=>{var t=ct.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:e=>{var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:(e,t)=>ct.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2,mayLookup:e=>{var t=ct.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:(e,t)=>{try{ct.lookupNode(e,t);return 20}catch(e){}return ct.nodePermissions(e,"wx")},mayDelete:(e,t,r)=>{var n;try{n=ct.lookupNode(e,t)}catch(e){return e.errno}var o=ct.nodePermissions(e,"wx");if(o)return o;if(r){if(!ct.isDir(n.mode))return 54;if(ct.isRoot(n)||ct.getPath(n)===ct.cwd())return 10}else if(ct.isDir(n.mode))return 31;return 0},mayOpen:(e,t)=>e?ct.isLink(e.mode)?32:ct.isDir(e.mode)&&("r"!==ct.flagsToPermissionString(t)||512&t)?31:ct.nodePermissions(e,ct.flagsToPermissionString(t)):44,MAX_OPEN_FDS:4096,nextfd:(e=0,t=ct.MAX_OPEN_FDS)=>{for(var r=e;r<=t;r++)if(!ct.streams[r])return r;throw new ct.ErrnoError(33)},getStream:e=>ct.streams[e],createStream:(e,t,r)=>{ct.FSStream||(ct.FSStream=function(){this.shared={}},ct.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(e){this.shared.flags=e}},position:{get function(){return this.shared.position},set:function(e){this.shared.position=e}}}),e=Object.assign(new ct.FSStream,e);var n=ct.nextfd(t,r);return e.fd=n,ct.streams[n]=e,e},closeStream:e=>{ct.streams[e]=null},chrdev_stream_ops:{open:e=>{var t=ct.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:()=>{throw new ct.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,t)=>e<<8|t,registerDevice:(e,t)=>{ct.devices[e]={stream_ops:t}},getDevice:e=>ct.devices[e],getMounts:e=>{for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:(e,t)=>{"function"==typeof e&&(t=e,e=!1),ct.syncFSRequests++,ct.syncFSRequests>1&&O("warning: "+ct.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var r=ct.getMounts(ct.root.mount),n=0;function o(e){return ct.syncFSRequests--,t(e)}function s(e){if(e)return s.errored?void 0:(s.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((t=>{if(!t.type.syncfs)return s(null);t.type.syncfs(t,e,s)}))},mount:(e,t,r)=>{var n,o="/"===r,s=!r;if(o&&ct.root)throw new ct.ErrnoError(10);if(!o&&!s){var i=ct.lookupPath(r,{follow_mount:!1});if(r=i.path,n=i.node,ct.isMountpoint(n))throw new ct.ErrnoError(10);if(!ct.isDir(n.mode))throw new ct.ErrnoError(54)}var a={type:e,opts:t,mountpoint:r,mounts:[]},c=e.mount(a);return c.mount=a,a.root=c,o?ct.root=c:n&&(n.mounted=a,n.mount&&n.mount.mounts.push(a)),c},unmount:e=>{var t=ct.lookupPath(e,{follow_mount:!1});if(!ct.isMountpoint(t.node))throw new ct.ErrnoError(28);var r=t.node,n=r.mounted,o=ct.getMounts(n);Object.keys(ct.nameTable).forEach((e=>{for(var t=ct.nameTable[e];t;){var r=t.name_next;o.includes(t.mount)&&ct.destroyNode(t),t=r}})),r.mounted=null;var s=r.mount.mounts.indexOf(n);r.mount.mounts.splice(s,1)},lookup:(e,t)=>e.node_ops.lookup(e,t),mknod:(e,t,r)=>{var n=ct.lookupPath(e,{parent:!0}).node,o=Ke.basename(e);if(!o||"."===o||".."===o)throw new ct.ErrnoError(28);var s=ct.mayCreate(n,o);if(s)throw new ct.ErrnoError(s);if(!n.node_ops.mknod)throw new ct.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:(e,t)=>(t=void 0!==t?t:438,t&=4095,t|=32768,ct.mknod(e,t,0)),mkdir:(e,t)=>(t=void 0!==t?t:511,t&=1023,t|=16384,ct.mknod(e,t,0)),mkdirTree:(e,t)=>{for(var r=e.split("/"),n="",o=0;o(void 0===r&&(r=t,t=438),t|=8192,ct.mknod(e,t,r)),symlink:(e,t)=>{if(!et.resolve(e))throw new ct.ErrnoError(44);var r=ct.lookupPath(t,{parent:!0}).node;if(!r)throw new ct.ErrnoError(44);var n=Ke.basename(t),o=ct.mayCreate(r,n);if(o)throw new ct.ErrnoError(o);if(!r.node_ops.symlink)throw new ct.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename:(e,t)=>{var r,n,o=Ke.dirname(e),s=Ke.dirname(t),i=Ke.basename(e),a=Ke.basename(t);if(r=ct.lookupPath(e,{parent:!0}).node,n=ct.lookupPath(t,{parent:!0}).node,!r||!n)throw new ct.ErrnoError(44);if(r.mount!==n.mount)throw new ct.ErrnoError(75);var c,u=ct.lookupNode(r,i),l=et.relative(e,s);if("."!==l.charAt(0))throw new ct.ErrnoError(28);if("."!==(l=et.relative(t,o)).charAt(0))throw new ct.ErrnoError(55);try{c=ct.lookupNode(n,a)}catch(e){}if(u!==c){var _=ct.isDir(u.mode),f=ct.mayDelete(r,i,_);if(f)throw new ct.ErrnoError(f);if(f=c?ct.mayDelete(n,a,_):ct.mayCreate(n,a))throw new ct.ErrnoError(f);if(!r.node_ops.rename)throw new ct.ErrnoError(63);if(ct.isMountpoint(u)||c&&ct.isMountpoint(c))throw new ct.ErrnoError(10);if(n!==r&&(f=ct.nodePermissions(r,"w")))throw new ct.ErrnoError(f);ct.hashRemoveNode(u);try{r.node_ops.rename(u,n,a)}catch(e){throw e}finally{ct.hashAddNode(u)}}},rmdir:e=>{var t=ct.lookupPath(e,{parent:!0}).node,r=Ke.basename(e),n=ct.lookupNode(t,r),o=ct.mayDelete(t,r,!0);if(o)throw new ct.ErrnoError(o);if(!t.node_ops.rmdir)throw new ct.ErrnoError(63);if(ct.isMountpoint(n))throw new ct.ErrnoError(10);t.node_ops.rmdir(t,r),ct.destroyNode(n)},readdir:e=>{var t=ct.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new ct.ErrnoError(54);return t.node_ops.readdir(t)},unlink:e=>{var t=ct.lookupPath(e,{parent:!0}).node;if(!t)throw new ct.ErrnoError(44);var r=Ke.basename(e),n=ct.lookupNode(t,r),o=ct.mayDelete(t,r,!1);if(o)throw new ct.ErrnoError(o);if(!t.node_ops.unlink)throw new ct.ErrnoError(63);if(ct.isMountpoint(n))throw new ct.ErrnoError(10);t.node_ops.unlink(t,r),ct.destroyNode(n)},readlink:e=>{var t=ct.lookupPath(e).node;if(!t)throw new ct.ErrnoError(44);if(!t.node_ops.readlink)throw new ct.ErrnoError(28);return et.resolve(ct.getPath(t.parent),t.node_ops.readlink(t))},stat:(e,t)=>{var r=ct.lookupPath(e,{follow:!t}).node;if(!r)throw new ct.ErrnoError(44);if(!r.node_ops.getattr)throw new ct.ErrnoError(63);return r.node_ops.getattr(r)},lstat:e=>ct.stat(e,!0),chmod:(e,t,r)=>{var n;"string"==typeof e?n=ct.lookupPath(e,{follow:!r}).node:n=e;if(!n.node_ops.setattr)throw new ct.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:(e,t)=>{ct.chmod(e,t,!0)},fchmod:(e,t)=>{var r=ct.getStream(e);if(!r)throw new ct.ErrnoError(8);ct.chmod(r.node,t)},chown:(e,t,r,n)=>{var o;"string"==typeof e?o=ct.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new ct.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:(e,t,r)=>{ct.chown(e,t,r,!0)},fchown:(e,t,r)=>{var n=ct.getStream(e);if(!n)throw new ct.ErrnoError(8);ct.chown(n.node,t,r)},truncate:(e,t)=>{if(t<0)throw new ct.ErrnoError(28);var r;"string"==typeof e?r=ct.lookupPath(e,{follow:!0}).node:r=e;if(!r.node_ops.setattr)throw new ct.ErrnoError(63);if(ct.isDir(r.mode))throw new ct.ErrnoError(31);if(!ct.isFile(r.mode))throw new ct.ErrnoError(28);var n=ct.nodePermissions(r,"w");if(n)throw new ct.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:(e,t)=>{var r=ct.getStream(e);if(!r)throw new ct.ErrnoError(8);if(0==(2097155&r.flags))throw new ct.ErrnoError(28);ct.truncate(r.node,t)},utime:(e,t,r)=>{var n=ct.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(t,r)})},open:(e,t,r)=>{if(""===e)throw new ct.ErrnoError(44);var n;if(r=void 0===r?438:r,r=64&(t="string"==typeof t?ct.modeStringToFlags(t):t)?4095&r|32768:0,"object"==typeof e)n=e;else{e=Ke.normalize(e);try{n=ct.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}var s=!1;if(64&t)if(n){if(128&t)throw new ct.ErrnoError(20)}else n=ct.mknod(e,r,0),s=!0;if(!n)throw new ct.ErrnoError(44);if(ct.isChrdev(n.mode)&&(t&=-513),65536&t&&!ct.isDir(n.mode))throw new ct.ErrnoError(54);if(!s){var i=ct.mayOpen(n,t);if(i)throw new ct.ErrnoError(i)}512&t&&!s&&ct.truncate(n,0),t&=-131713;var a=ct.createStream({node:n,path:ct.getPath(n),flags:t,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return a.stream_ops.open&&a.stream_ops.open(a),!o.logReadFiles||1&t||(ct.readFiles||(ct.readFiles={}),e in ct.readFiles||(ct.readFiles[e]=1)),a},close:e=>{if(ct.isClosed(e))throw new ct.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{ct.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek:(e,t,r)=>{if(ct.isClosed(e))throw new ct.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new ct.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new ct.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:(e,t,r,n,o)=>{if(n<0||o<0)throw new ct.ErrnoError(28);if(ct.isClosed(e))throw new ct.ErrnoError(8);if(1==(2097155&e.flags))throw new ct.ErrnoError(8);if(ct.isDir(e.node.mode))throw new ct.ErrnoError(31);if(!e.stream_ops.read)throw new ct.ErrnoError(28);var s=void 0!==o;if(s){if(!e.seekable)throw new ct.ErrnoError(70)}else o=e.position;var i=e.stream_ops.read(e,t,r,n,o);return s||(e.position+=i),i},write:(e,t,r,n,o,s)=>{if(n<0||o<0)throw new ct.ErrnoError(28);if(ct.isClosed(e))throw new ct.ErrnoError(8);if(0==(2097155&e.flags))throw new ct.ErrnoError(8);if(ct.isDir(e.node.mode))throw new ct.ErrnoError(31);if(!e.stream_ops.write)throw new ct.ErrnoError(28);e.seekable&&1024&e.flags&&ct.llseek(e,0,2);var i=void 0!==o;if(i){if(!e.seekable)throw new ct.ErrnoError(70)}else o=e.position;var a=e.stream_ops.write(e,t,r,n,o,s);return i||(e.position+=a),a},allocate:(e,t,r)=>{if(ct.isClosed(e))throw new ct.ErrnoError(8);if(t<0||r<=0)throw new ct.ErrnoError(28);if(0==(2097155&e.flags))throw new ct.ErrnoError(8);if(!ct.isFile(e.node.mode)&&!ct.isDir(e.node.mode))throw new ct.ErrnoError(43);if(!e.stream_ops.allocate)throw new ct.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:(e,t,r,n,o)=>{if(0!=(2&n)&&0==(2&o)&&2!=(2097155&e.flags))throw new ct.ErrnoError(2);if(1==(2097155&e.flags))throw new ct.ErrnoError(2);if(!e.stream_ops.mmap)throw new ct.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o)},msync:(e,t,r,n,o)=>e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0,munmap:e=>0,ioctl:(e,t,r)=>{if(!e.stream_ops.ioctl)throw new ct.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:(e,t={})=>{if(t.flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var r,n=ct.open(e,t.flags),o=ct.stat(e).size,s=new Uint8Array(o);return ct.read(n,s,0,o,0),"utf8"===t.encoding?r=G(s,0):"binary"===t.encoding&&(r=s),ct.close(n),r},writeFile:(e,t,r={})=>{r.flags=r.flags||577;var n=ct.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(K(t)+1),s=X(t,o,0,o.length);ct.write(n,o,0,s,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");ct.write(n,t,0,t.byteLength,void 0,r.canOwn)}ct.close(n)},cwd:()=>ct.currentPath,chdir:e=>{var t=ct.lookupPath(e,{follow:!0});if(null===t.node)throw new ct.ErrnoError(44);if(!ct.isDir(t.node.mode))throw new ct.ErrnoError(54);var r=ct.nodePermissions(t.node,"x");if(r)throw new ct.ErrnoError(r);ct.currentPath=t.path},createDefaultDirectories:()=>{ct.mkdir("/tmp"),ct.mkdir("/home"),ct.mkdir("/home/web_user")},createDefaultDevices:()=>{ct.mkdir("/dev"),ct.registerDevice(ct.makedev(1,3),{read:()=>0,write:(e,t,r,n,o)=>n}),ct.mkdev("/dev/null",ct.makedev(1,3)),tt.register(ct.makedev(5,0),tt.default_tty_ops),tt.register(ct.makedev(6,0),tt.default_tty1_ops),ct.mkdev("/dev/tty",ct.makedev(5,0)),ct.mkdev("/dev/tty1",ct.makedev(6,0));var e=Qe();ct.createDevice("/dev","random",e),ct.createDevice("/dev","urandom",e),ct.mkdir("/dev/shm"),ct.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{ct.mkdir("/proc");var e=ct.mkdir("/proc/self");ct.mkdir("/proc/self/fd"),ct.mount({mount:()=>{var t=ct.createNode(e,"fd",16895,73);return t.node_ops={lookup:(e,t)=>{var r=+t,n=ct.getStream(r);if(!n)throw new ct.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:()=>{o.stdin?ct.createDevice("/dev","stdin",o.stdin):ct.symlink("/dev/tty","/dev/stdin"),o.stdout?ct.createDevice("/dev","stdout",null,o.stdout):ct.symlink("/dev/tty","/dev/stdout"),o.stderr?ct.createDevice("/dev","stderr",null,o.stderr):ct.symlink("/dev/tty1","/dev/stderr");ct.open("/dev/stdin",0),ct.open("/dev/stdout",1),ct.open("/dev/stderr",1)},ensureErrnoError:()=>{ct.ErrnoError||(ct.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},ct.ErrnoError.prototype=new Error,ct.ErrnoError.prototype.constructor=ct.ErrnoError,[44].forEach((e=>{ct.genericErrors[e]=new ct.ErrnoError(e),ct.genericErrors[e].stack=""})))},staticInit:()=>{ct.ensureErrnoError(),ct.nameTable=new Array(4096),ct.mount(st,{},"/"),ct.createDefaultDirectories(),ct.createDefaultDevices(),ct.createSpecialDirectories(),ct.filesystems={MEMFS:st,WORKERFS:at}},init:(e,t,r)=>{ct.init.initialized=!0,ct.ensureErrnoError(),o.stdin=e||o.stdin,o.stdout=t||o.stdout,o.stderr=r||o.stderr,ct.createStandardStreams()},quit:()=>{ct.init.initialized=!1;for(var e=0;e{var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:(e,t)=>{var r=ct.analyzePath(e,t);return r.exists?r.object:null},analyzePath:(e,t)=>{try{e=(n=ct.lookupPath(e,{follow:!t})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=ct.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=Ke.basename(e),n=ct.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath:(e,t,r,n)=>{e="string"==typeof e?e:ct.getPath(e);for(var o=t.split("/").reverse();o.length;){var s=o.pop();if(s){var i=Ke.join2(e,s);try{ct.mkdir(i)}catch(e){}e=i}}return i},createFile:(e,t,r,n,o)=>{var s=Ke.join2("string"==typeof e?e:ct.getPath(e),t),i=ct.getMode(n,o);return ct.create(s,i)},createDataFile:(e,t,r,n,o,s)=>{var i=t;e&&(e="string"==typeof e?e:ct.getPath(e),i=t?Ke.join2(e,t):e);var a=ct.getMode(n,o),c=ct.create(i,a);if(r){if("string"==typeof r){for(var u=new Array(r.length),l=0,_=r.length;l<_;++l)u[l]=r.charCodeAt(l);r=u}ct.chmod(c,146|a);var f=ct.open(c,577);ct.write(f,r,0,r.length,0,s),ct.close(f),ct.chmod(c,a)}return c},createDevice:(e,t,r,n)=>{var o=Ke.join2("string"==typeof e?e:ct.getPath(e),t),s=ct.getMode(!!r,!!n);ct.createDevice.major||(ct.createDevice.major=64);var i=ct.makedev(ct.createDevice.major++,0);return ct.registerDevice(i,{open:e=>{e.seekable=!1},close:e=>{n&&n.buffer&&n.buffer.length&&n(10)},read:(e,t,n,o,s)=>{for(var i=0,a=0;a{for(var i=0;i{if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!c)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=hn(c(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new ct.ErrnoError(29)}},createLazyFile:(e,t,r,n,o)=>{function s(){this.lengthKnown=!1,this.chunks=[]}if(s.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},s.prototype.setDataGetter=function(e){this.getter=e},s.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,s=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,i=1048576;o||(i=n);var a=this;a.setDataGetter((e=>{var t=e*i,o=(e+1)*i-1;if(o=Math.min(o,n-1),void 0===a.chunks[e]&&(a.chunks[e]=((e,t)=>{if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==i&&o.setRequestHeader("Range","bytes="+e+"-"+t),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):hn(o.responseText||"",!0)})(t,o)),void 0===a.chunks[e])throw new Error("doXHR failed!");return a.chunks[e]})),!s&&n||(i=n=1,n=this.getter(0).length,i=n,S("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!y)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new s;Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var a={isDevice:!1,contents:i}}else a={isDevice:!1,url:r};var c=ct.createFile(e,t,a,n,o);a.contents?c.contents=a.contents:a.url&&(c.contents=null,c.url=a.url),Object.defineProperties(c,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(c.stream_ops).forEach((e=>{var t=c.stream_ops[e];u[e]=function(){return ct.forceLoadFile(c),t.apply(null,arguments)}})),u.read=(e,t,r,n,o)=>{ct.forceLoadFile(c);var s=e.node.contents;if(o>=s.length)return 0;var i=Math.min(s.length-o,n);if(s.slice)for(var a=0;a{var l=t?et.resolve(Ke.join2(e,t)):e;function _(r){function _(r){u&&u(),a||ct.createDataFile(e,t,r,n,o,c),s&&s(),ge()}Browser.handledByPreloadPlugin(r,l,_,(()=>{i&&i(),ge()}))||_(r)}we(),"string"==typeof r?it(r,(e=>_(e)),i):_(r)},indexedDB:()=>window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,DB_NAME:()=>"EM_FS_"+window.location.pathname,DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(e,t,r)=>{t=t||(()=>{}),r=r||(()=>{});var n=ct.indexedDB();try{var o=n.open(ct.DB_NAME(),ct.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=()=>{S("creating db"),o.result.createObjectStore(ct.DB_STORE_NAME)},o.onsuccess=()=>{var n=o.result.transaction([ct.DB_STORE_NAME],"readwrite"),s=n.objectStore(ct.DB_STORE_NAME),i=0,a=0,c=e.length;function u(){0==a?t():r()}e.forEach((e=>{var t=s.put(ct.analyzePath(e).object.contents,e);t.onsuccess=()=>{++i+a==c&&u()},t.onerror=()=>{a++,i+a==c&&u()}})),n.onerror=r},o.onerror=r},loadFilesFromDB:(e,t,r)=>{t=t||(()=>{}),r=r||(()=>{});var n=ct.indexedDB();try{var o=n.open(ct.DB_NAME(),ct.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=()=>{var n=o.result;try{var s=n.transaction([ct.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}var i=s.objectStore(ct.DB_STORE_NAME),a=0,c=0,u=e.length;function l(){0==c?t():r()}e.forEach((e=>{var t=i.get(e);t.onsuccess=()=>{ct.analyzePath(e).exists&&ct.unlink(e),ct.createDataFile(Ke.dirname(e),Ke.basename(e),t.result,!0,!0,!0),++a+c==u&&l()},t.onerror=()=>{c++,a+c==u&&l()}})),s.onerror=r},o.onerror=r}},ut={DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if(Ke.isAbs(t))return t;var n;if(-100===e)n=ct.cwd();else{var o=ct.getStream(e);if(!o)throw new ct.ErrnoError(8);n=o.path}if(0==t.length){if(!r)throw new ct.ErrnoError(44);return n}return Ke.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&Ke.normalize(t)!==Ke.normalize(ct.getPath(e.node)))return-54;throw e}return L[r>>2]=n.dev,L[r+4>>2]=0,L[r+8>>2]=n.ino,L[r+12>>2]=n.mode,L[r+16>>2]=n.nlink,L[r+20>>2]=n.uid,L[r+24>>2]=n.gid,L[r+28>>2]=n.rdev,L[r+32>>2]=0,Ee=[n.size>>>0,(ve=n.size,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[r+40>>2]=Ee[0],L[r+44>>2]=Ee[1],L[r+48>>2]=4096,L[r+52>>2]=n.blocks,L[r+56>>2]=n.atime.getTime()/1e3|0,L[r+60>>2]=0,L[r+64>>2]=n.mtime.getTime()/1e3|0,L[r+68>>2]=0,L[r+72>>2]=n.ctime.getTime()/1e3|0,L[r+76>>2]=0,Ee=[n.ino>>>0,(ve=n.ino,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[r+80>>2]=Ee[0],L[r+84>>2]=Ee[1],0},doMsync:function(e,t,r,n,o){var s=B.slice(e,e+r);ct.msync(t,s,o,r,n)},varargs:void 0,get:function(){return ut.varargs+=4,L[ut.varargs-4>>2]},getStr:function(e){return Y(e)},getStreamFromFD:function(e){var t=ct.getStream(e);if(!t)throw new ct.ErrnoError(8);return t}};function lt(e){try{return e=ut.getStr(e),ct.chdir(e),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function _t(e,t){try{return e=ut.getStr(e),ct.chmod(e,t),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}var ft={mount:function(e){return o.websocket=o.websocket&&"object"==typeof o.websocket?o.websocket:{},o.websocket._callbacks={},o.websocket.on=function(e,t){return"function"==typeof t&&(this._callbacks[e]=t),this},o.websocket.emit=function(e,t){"function"==typeof this._callbacks[e]&&this._callbacks[e].call(this,t)},ct.createNode(null,"/",16895,0)},createSocket:function(e,t,r){if(1==(t&=-526337)&&r&&6!=r)throw new ct.ErrnoError(66);var n={family:e,type:t,protocol:r,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:ft.websocket_sock_ops},o=ft.nextname(),s=ct.createNode(ft.root,o,49152,0);s.sock=n;var i=ct.createStream({path:o,node:s,flags:2,seekable:!1,stream_ops:ft.stream_ops});return n.stream=i,n},getSocket:function(e){var t=ct.getStream(e);return t&&ct.isSocket(t.node.mode)?t.node.sock:null},stream_ops:{poll:function(e){var t=e.node.sock;return t.sock_ops.poll(t)},ioctl:function(e,t,r){var n=e.node.sock;return n.sock_ops.ioctl(n,t,r)},read:function(e,t,r,n,o){var s=e.node.sock,i=s.sock_ops.recvmsg(s,n);return i?(t.set(i.buffer,r),i.buffer.length):0},write:function(e,t,r,n,o){var s=e.node.sock;return s.sock_ops.sendmsg(s,t,r,n)},close:function(e){var t=e.node.sock;t.sock_ops.close(t)}},nextname:function(){return ft.nextname.current||(ft.nextname.current=0),"socket["+ft.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(e,t,r){var n;if("object"==typeof t&&(n=t,t=null,r=null),n)if(n._socket)t=n._socket.remoteAddress,r=n._socket.remotePort;else{var i=/ws[s]?:\/\/([^:]+):(\d+)/.exec(n.url);if(!i)throw new Error("WebSocket URL must be in the format ws(s)://address:port");t=i[1],r=parseInt(i[2],10)}else try{var a=o.websocket&&"object"==typeof o.websocket,c="ws:#".replace("#","//");if(a&&"string"==typeof o.websocket.url&&(c=o.websocket.url),"ws://"===c||"wss://"===c){var u=t.split("/");c=c+u[0]+":"+r+"/"+u.slice(1).join("/")}var l="binary";a&&"string"==typeof o.websocket.subprotocol&&(l=o.websocket.subprotocol);var _=void 0;"null"!==l&&(_=l=l.replace(/^ +| +$/g,"").split(/ *, */)),a&&null===o.websocket.subprotocol&&(l="null",_=void 0),(n=new(b?s("ws"):WebSocket)(c,_)).binaryType="arraybuffer"}catch(e){throw new ct.ErrnoError(23)}var f={addr:t,port:r,socket:n,dgram_send_queue:[]};return ft.websocket_sock_ops.addPeer(e,f),ft.websocket_sock_ops.handlePeerEvents(e,f),2===e.type&&void 0!==e.sport&&f.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(65280&e.sport)>>8,255&e.sport])),f},getPeer:function(e,t,r){return e.peers[t+":"+r]},addPeer:function(e,t){e.peers[t.addr+":"+t.port]=t},removePeer:function(e,t){delete e.peers[t.addr+":"+t.port]},handlePeerEvents:function(e,t){var r=!0,n=function(){o.websocket.emit("open",e.stream.fd);try{for(var r=t.dgram_send_queue.shift();r;)t.socket.send(r),r=t.dgram_send_queue.shift()}catch(e){t.socket.close()}};function s(n){if("string"==typeof n){n=(new TextEncoder).encode(n)}else{if(I(void 0!==n.byteLength),0==n.byteLength)return;n=new Uint8Array(n)}var s=r;if(r=!1,s&&10===n.length&&255===n[0]&&255===n[1]&&255===n[2]&&255===n[3]&&n[4]==="p".charCodeAt(0)&&n[5]==="o".charCodeAt(0)&&n[6]==="r".charCodeAt(0)&&n[7]==="t".charCodeAt(0)){var i=n[8]<<8|n[9];return ft.websocket_sock_ops.removePeer(e,t),t.port=i,void ft.websocket_sock_ops.addPeer(e,t)}e.recv_queue.push({addr:t.addr,port:t.port,data:n}),o.websocket.emit("message",e.stream.fd)}b?(t.socket.on("open",n),t.socket.on("message",(function(e,t){t&&s(new Uint8Array(e).buffer)})),t.socket.on("close",(function(){o.websocket.emit("close",e.stream.fd)})),t.socket.on("error",(function(t){e.error=14,o.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])}))):(t.socket.onopen=n,t.socket.onclose=function(){o.websocket.emit("close",e.stream.fd)},t.socket.onmessage=function(e){s(e.data)},t.socket.onerror=function(t){e.error=14,o.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])})},poll:function(e){if(1===e.type&&e.server)return e.pending.length?65:0;var t=0,r=1===e.type?ft.websocket_sock_ops.getPeer(e,e.daddr,e.dport):null;return(e.recv_queue.length||!r||r&&r.socket.readyState===r.socket.CLOSING||r&&r.socket.readyState===r.socket.CLOSED)&&(t|=65),(!r||r&&r.socket.readyState===r.socket.OPEN)&&(t|=4),(r&&r.socket.readyState===r.socket.CLOSING||r&&r.socket.readyState===r.socket.CLOSED)&&(t|=16),t},ioctl:function(e,t,r){if(21531===t){var n=0;return e.recv_queue.length&&(n=e.recv_queue[0].data.length),L[r>>2]=n,0}return 28},close:function(e){if(e.server){try{e.server.close()}catch(e){}e.server=null}for(var t=Object.keys(e.peers),r=0;r>2]=e,e}function pt(e){return(255&e)+"."+(e>>8&255)+"."+(e>>16&255)+"."+(e>>24&255)}function ht(e){var t="",r=0,n=0,o=0,s=0,i=0,a=0,c=[65535&e[0],e[0]>>16,65535&e[1],e[1]>>16,65535&e[2],e[2]>>16,65535&e[3],e[3]>>16],u=!0,l="";for(a=0;a<5;a++)if(0!==c[a]){u=!1;break}if(u){if(l=pt(c[6]|c[7]<<16),-1===c[5])return t="::ffff:",t+=l;if(0===c[5])return t="::","0.0.0.0"===l&&(l=""),"0.0.0.1"===l&&(l="1"),t+=l}for(r=0;r<8;r++)0===c[r]&&(r-o>1&&(i=0),o=r,i++),i>n&&(s=r-(n=i)+1);for(r=0;r<8;r++)n>1&&0===c[r]&&r>=s&&r>1],o=kn(W[e+2>>1]);switch(n){case 2:if(16!==t)return{errno:28};r=pt(r=L[e+4>>2]);break;case 10:if(28!==t)return{errno:28};r=ht(r=[L[e+8>>2],L[e+12>>2],L[e+16>>2],L[e+20>>2]]);break;default:return{errno:5}}return{family:n,addr:r,port:o}}function gt(e){for(var t=e.split("."),r=0;r<4;r++){var n=Number(t[r]);if(isNaN(n))return null;t[r]=n}return(t[0]|t[1]<<8|t[2]<<16|t[3]<<24)>>>0}function yt(e){return parseInt(e)}function bt(e){var t,r,n,o,s=[];if(!/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i.test(e))return null;if("::"===e)return[0,0,0,0,0,0,0,0];for((e=e.startsWith("::")?e.replace("::","Z:"):e.replace("::",":Z:")).indexOf(".")>0?((t=(e=e.replace(new RegExp("[.]","g"),":")).split(":"))[t.length-4]=yt(t[t.length-4])+256*yt(t[t.length-3]),t[t.length-3]=yt(t[t.length-2])+256*yt(t[t.length-1]),t=t.slice(0,t.length-2)):t=e.split(":"),n=0,o=0,r=0;r>1]=2,0;case 16:case 8:default:return-28;case 9:return mt(28),-1}}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Nt(e,t){try{var r=ut.getStreamFromFD(e);return ut.doStat(ct.stat,r.path,t)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function jt(e,t,r){try{return e=ut.getStr(e),L[r+4>>2]=4096,L[r+40>>2]=4096,L[r+8>>2]=1e6,L[r+12>>2]=5e5,L[r+16>>2]=5e5,L[r+20>>2]=ct.nextInode,L[r+24>>2]=1e6,L[r+28>>2]=42,L[r+44>>2]=2,L[r+36>>2]=255,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Dt(e,t,r){try{ut.getStreamFromFD(e);return jt(0,0,r)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Mt(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function Rt(e,t,r){try{var n=Mt(t,r);return isNaN(n)?-61:(ct.ftruncate(e,n),0)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Tt(e,t){try{if(0===t)return-28;var r=ct.cwd(),n=K(r)+1;return t>>0,(ve=c,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[t+s>>2]=Ee[0],L[t+s+4>>2]=Ee[1],Ee=[(a+1)*o>>>0,(ve=(a+1)*o,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[t+s+8>>2]=Ee[0],L[t+s+12>>2]=Ee[1],z[t+s+16>>1]=280,U[t+s+18>>0]=u,Z(l,t+s+19,256),s+=o,a+=1}return ct.llseek(n,a*o,0),s}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function $t(e,t,r){ut.varargs=r;try{var n=ut.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var o=ut.get();return L[o>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:o=ut.get();return ct.ioctl(n,t,o);default:ye("bad ioctl syscall "+t)}}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Ft(e,t){try{return e=ut.getStr(e),ut.doStat(ct.lstat,e,t)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Pt(e,t,r){try{return t=ut.getStr(t),t=ut.calculateAt(e,t),"/"===(t=Ke.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),ct.mkdir(t,r,0),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Ct(e,t,r,n){try{t=ut.getStr(t);var o=256&n,s=4096&n;return n&=-4353,t=ut.calculateAt(e,t,s),ut.doStat(o?ct.lstat:ct.stat,t,r)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Ut(e,t,r,n){ut.varargs=n;try{t=ut.getStr(t),t=ut.calculateAt(e,t);var o=n?ut.get():0;return ct.open(t,r,o).fd}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Bt(e,t,r,n){try{if(t=ut.getStr(t),t=ut.calculateAt(e,t),n<=0)return-28;var o=ct.readlink(t),s=Math.min(n,K(o)),i=U[r+s];return Z(o,r,n+1),U[r+s]=i,s}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function zt(e,t,r,n){try{return t=ut.getStr(t),n=ut.getStr(n),t=ut.calculateAt(e,t),n=ut.calculateAt(r,n),ct.rename(t,n),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Wt(e){try{return e=ut.getStr(e),ct.rmdir(e),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Lt(e,t,r,n,o,s){try{var i=dt(e),a=Et(o,s,!0);return a?i.sock_ops.sendmsg(i,U,t,r,a.addr,a.port):ct.write(i.stream,U,t,r)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Ht(e,t,r){try{return ft.createSocket(e,t,r).stream.fd}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Vt(e,t){try{return e=ut.getStr(e),ut.doStat(ct.stat,e,t)}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function qt(e,t,r){try{return t=ut.getStr(t),t=ut.calculateAt(e,t),0===r?ct.unlink(t):512===r?ct.rmdir(t):ye("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Jt(e,t,r,n){try{if(t=ut.getStr(t),t=ut.calculateAt(e,t,!0),r){var o=L[r>>2],s=L[r+4>>2];i=1e3*o+s/1e6,a=1e3*(o=L[(r+=8)>>2])+(s=L[r+4>>2])/1e6}else var i=Date.now(),a=i;return ct.utime(t,i,a),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function Gt(){return Date.now()}var Yt=!0;function Xt(){return Yt}function Zt(){throw 1/0}function Kt(e,t){var r=new Date(1e3*L[e>>2]);L[t>>2]=r.getUTCSeconds(),L[t+4>>2]=r.getUTCMinutes(),L[t+8>>2]=r.getUTCHours(),L[t+12>>2]=r.getUTCDate(),L[t+16>>2]=r.getUTCMonth(),L[t+20>>2]=r.getUTCFullYear()-1900,L[t+24>>2]=r.getUTCDay();var n=Date.UTC(r.getUTCFullYear(),0,1,0,0,0,0),o=(r.getTime()-n)/864e5|0;L[t+28>>2]=o}function Qt(e,t){var r=new Date(1e3*L[e>>2]);L[t>>2]=r.getSeconds(),L[t+4>>2]=r.getMinutes(),L[t+8>>2]=r.getHours(),L[t+12>>2]=r.getDate(),L[t+16>>2]=r.getMonth(),L[t+20>>2]=r.getFullYear()-1900,L[t+24>>2]=r.getDay();var n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;L[t+28>>2]=o,L[t+36>>2]=-60*r.getTimezoneOffset();var s=new Date(r.getFullYear(),6,1).getTimezoneOffset(),i=n.getTimezoneOffset(),a=0|(s!=i&&r.getTimezoneOffset()==Math.min(i,s));L[t+32>>2]=a}function er(e){var t=new Date(L[e+20>>2]+1900,L[e+16>>2],L[e+12>>2],L[e+8>>2],L[e+4>>2],L[e>>2],0),r=L[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),s=new Date(t.getFullYear(),6,1).getTimezoneOffset(),i=o.getTimezoneOffset(),a=Math.min(i,s);if(r<0)L[e+32>>2]=Number(s!=i&&a==n);else if(r>0!=(a==n)){var c=Math.max(i,s),u=r>0?a:c;t.setTime(t.getTime()+6e4*(u-n))}L[e+24>>2]=t.getDay();var l=(t.getTime()-o.getTime())/864e5|0;return L[e+28>>2]=l,L[e>>2]=t.getSeconds(),L[e+4>>2]=t.getMinutes(),L[e+8>>2]=t.getHours(),L[e+12>>2]=t.getDate(),L[e+16>>2]=t.getMonth(),t.getTime()/1e3|0}function tr(e,t,r,n,o,s){try{var i=ct.getStream(n);if(!i)return-8;var a=ct.mmap(i,e,o,t,r),c=a.ptr;return L[s>>2]=a.allocated,c}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function rr(e,t,r,n,o,s){try{var i=ct.getStream(o);i&&(2&r&&ut.doMsync(e,i,t,n,s),ct.munmap(i))}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return-e.errno}}function nr(e,t,r){var n=(new Date).getFullYear(),o=new Date(n,0,1),s=new Date(n,6,1),i=o.getTimezoneOffset(),a=s.getTimezoneOffset(),c=Math.max(i,a);function u(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}L[e>>2]=60*c,L[t>>2]=Number(i!=a);var l=u(o),_=u(s),f=Q(l),d=Q(_);a>2]=f,H[r+4>>2]=d):(H[r>>2]=d,H[r+4>>2]=f)}function or(e,t,r){or.called||(or.called=!0,nr(e,t,r))}function sr(){ye("")}var ir={batchedQuotaMax:65536,getBatchedRandomValues:function(e,t){const r="undefined"!=typeof SharedArrayBuffer&&o.HEAPU8.buffer instanceof SharedArrayBuffer,n=r?new ArrayBuffer(t):o.HEAPU8.buffer,s=r?0:e;for(let e=0;e>=2;r=B[e++];)t+=105!=r&t,ur.push(105==r?L[t]:q[t++>>1]),++t;return ur}function _r(e,t,r){var n=lr(t,r);return je[e].apply(null,n)}function fr(){return 2147483648}function dr(){return b?1:1e3}function mr(e,t,r){B.copyWithin(e,t,t+r)}function pr(e){try{return M.grow(e-C.byteLength+65535>>>16),re(M.buffer),1}catch(e){}}function hr(e){var t=B.length,r=2147483648;if((e>>>=0)>r)return!1;for(var n=1;n<=4;n*=2){var o=t*(1+.2/n);if(o=Math.min(o,e+100663296),pr(Math.min(r,(s=Math.max(e,o))+((i=65536)-s%i)%i)))return!0}var s,i;return!1}cr=b?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:()=>performance.now();var wr={};function gr(){return h||"./this.program"}function yr(){if(!yr.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:gr()};for(var t in wr)void 0===wr[t]?delete e[t]:e[t]=wr[t];var r=[];for(var t in e)r.push(t+"="+e[t]);yr.strings=r}return yr.strings}function br(e,t){var r=0;return yr().forEach((function(n,o){var s=t+r;H[e+4*o>>2]=s,te(n,s),r+=n.length+1})),0}function vr(e,t){var r=yr();H[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),H[t>>2]=n,0}function Er(e){ko(e)}function Ar(e){try{var t=ut.getStreamFromFD(e);return ct.close(t),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function kr(e,t){try{var r=ut.getStreamFromFD(e),n=r.tty?2:ct.isDir(r.mode)?3:ct.isLink(r.mode)?7:4;return U[t>>0]=n,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function Sr(e,t,r,n){for(var o=0,s=0;s>2],a=H[t+4>>2];t+=8;var c=ct.read(e,U,i,a,n);if(c<0)return-1;if(o+=c,c>2]=a,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function xr(e,t,r,n){for(var o=0,s=0;s>2],a=H[t+4>>2];t+=8;var c=ct.write(e,U,i,a,n);if(c<0)return-1;o+=c}return o}function Nr(e,t,r,n,o,s){try{var i=Mt(n,o);if(isNaN(i))return 61;var a=xr(ut.getStreamFromFD(e),t,r,i);return L[s>>2]=a,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function jr(e,t,r,n){try{var o=Sr(ut.getStreamFromFD(e),t,r);return L[n>>2]=o,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function Dr(e,t,r,n,o){try{var s=Mt(t,r);if(isNaN(s))return 61;var i=ut.getStreamFromFD(e);return ct.llseek(i,s,n),Ee=[i.position>>>0,(ve=i.position,+Math.abs(ve)>=1?ve>0?(0|Math.min(+Math.floor(ve/4294967296),4294967295))>>>0:~~+Math.ceil((ve-+(~~ve>>>0))/4294967296)>>>0:0)],L[o>>2]=Ee[0],L[o+4>>2]=Ee[1],i.getdents&&0===s&&0===n&&(i.getdents=null),0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function Mr(e){try{var t=ut.getStreamFromFD(e);return t.stream_ops&&t.stream_ops.fsync?-t.stream_ops.fsync(t):0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function Rr(e,t,r,n){try{var o=xr(ut.getStreamFromFD(e),t,r);return H[n>>2]=o,0}catch(e){if(void 0===ct||!(e instanceof ct.ErrnoError))throw e;return e.errno}}function Tr(){return D()}function Ir(e){return e}function $r(){return __dotnet_runtime.__linker_exports.mono_set_timeout.apply(__dotnet_runtime,arguments)}function Fr(){return __dotnet_runtime.__linker_exports.mono_wasm_bind_cs_function.apply(__dotnet_runtime,arguments)}function Pr(){return __dotnet_runtime.__linker_exports.mono_wasm_bind_js_function.apply(__dotnet_runtime,arguments)}function Cr(){return __dotnet_runtime.__linker_exports.mono_wasm_create_cs_owned_object_ref.apply(__dotnet_runtime,arguments)}function Ur(){return __dotnet_runtime.__linker_exports.mono_wasm_get_by_index_ref.apply(__dotnet_runtime,arguments)}function Br(){return __dotnet_runtime.__linker_exports.mono_wasm_get_global_object_ref.apply(__dotnet_runtime,arguments)}function zr(){return __dotnet_runtime.__linker_exports.mono_wasm_get_object_property_ref.apply(__dotnet_runtime,arguments)}function Wr(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_bound_function.apply(__dotnet_runtime,arguments)}function Lr(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_js_blazor.apply(__dotnet_runtime,arguments)}function Hr(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_js_with_args_ref.apply(__dotnet_runtime,arguments)}function Vr(){return __dotnet_runtime.__linker_exports.mono_wasm_marshal_promise.apply(__dotnet_runtime,arguments)}function qr(){return __dotnet_runtime.__linker_exports.mono_wasm_release_cs_owned_object.apply(__dotnet_runtime,arguments)}function Jr(){return __dotnet_runtime.__linker_exports.mono_wasm_set_by_index_ref.apply(__dotnet_runtime,arguments)}function Gr(){return __dotnet_runtime.__linker_exports.mono_wasm_set_entrypoint_breakpoint.apply(__dotnet_runtime,arguments)}function Yr(){return __dotnet_runtime.__linker_exports.mono_wasm_set_object_property_ref.apply(__dotnet_runtime,arguments)}function Xr(){return __dotnet_runtime.__linker_exports.mono_wasm_trace_logger.apply(__dotnet_runtime,arguments)}function Zr(){return __dotnet_runtime.__linker_exports.mono_wasm_typed_array_from_ref.apply(__dotnet_runtime,arguments)}function Kr(){return __dotnet_runtime.__linker_exports.mono_wasm_typed_array_to_array_ref.apply(__dotnet_runtime,arguments)}function Qr(){return __dotnet_runtime.__linker_exports.schedule_background_exec.apply(__dotnet_runtime,arguments)}function en(e){j(e)}function tn(e){return e%4==0&&(e%100!=0||e%400==0)}function rn(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var nn=[31,29,31,30,31,30,31,31,30,31,30,31],on=[31,28,31,30,31,30,31,31,30,31,30,31];function sn(e,t){for(var r=new Date(e.getTime());t>0;){var n=tn(r.getFullYear()),o=r.getMonth(),s=(n?nn:on)[o];if(!(t>s-r.getDate()))return r.setDate(r.getDate()+t),r;t-=s-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function an(e,t,r,n){var o=L[n+40>>2],s={tm_sec:L[n>>2],tm_min:L[n+4>>2],tm_hour:L[n+8>>2],tm_mday:L[n+12>>2],tm_mon:L[n+16>>2],tm_year:L[n+20>>2],tm_wday:L[n+24>>2],tm_yday:L[n+28>>2],tm_isdst:L[n+32>>2],tm_gmtoff:L[n+36>>2],tm_zone:o?Y(o):""},i=Y(r),a={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var c in a)i=i.replace(new RegExp(c,"g"),a[c]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function _(e,t,r){for(var n="number"==typeof e?e.toString():e||"";n.length0?1:0}var n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function m(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function p(e){var t=sn(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=m(r),s=m(n);return d(o,t)<=0?d(s,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var h={"%a":function(e){return u[e.tm_wday].substring(0,3)},"%A":function(e){return u[e.tm_wday]},"%b":function(e){return l[e.tm_mon].substring(0,3)},"%B":function(e){return l[e.tm_mon]},"%C":function(e){return f((e.tm_year+1900)/100|0,2)},"%d":function(e){return f(e.tm_mday,2)},"%e":function(e){return _(e.tm_mday,2," ")},"%g":function(e){return p(e).toString().substring(2)},"%G":function(e){return p(e)},"%H":function(e){return f(e.tm_hour,2)},"%I":function(e){var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),f(t,2)},"%j":function(e){return f(e.tm_mday+rn(tn(e.tm_year+1900)?nn:on,e.tm_mon-1),3)},"%m":function(e){return f(e.tm_mon+1,2)},"%M":function(e){return f(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return f(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var t=e.tm_yday+7-e.tm_wday;return f(Math.floor(t/7),2)},"%V":function(e){var t=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&t++,t){if(53==t){var r=(e.tm_wday+371-e.tm_yday)%7;4==r||3==r&&tn(e.tm_year)||(t=1)}}else{t=52;var n=(e.tm_wday+7-e.tm_yday-1)%7;(4==n||5==n&&tn(e.tm_year%400-1))&&t++}return f(t,2)},"%w":function(e){return e.tm_wday},"%W":function(e){var t=e.tm_yday+7-(e.tm_wday+6)%7;return f(Math.floor(t/7),2)},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var t=e.tm_gmtoff,r=t>=0;return t=(t=Math.abs(t)/60)/60*100+t%60,(r?"+":"-")+String("0000"+t).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var c in i=i.replace(/%%/g,"\0\0"),h)i.includes(c)&&(i=i.replace(new RegExp(c,"g"),h[c](s)));var w=hn(i=i.replace(/\0\0/g,"%"),!1);return w.length>t?0:(ee(w,e),w.length-1)}function cn(e,t,r,n){return an(e,t,r,n)}var un=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=ct.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},ln=365,_n=146;let fn;Object.defineProperties(un.prototype,{read:{get:function(){return(this.mode&ln)===ln},set:function(e){e?this.mode|=ln:this.mode&=~ln}},write:{get:function(){return(this.mode&_n)===_n},set:function(e){e?this.mode|=_n:this.mode&=~_n}},isFolder:{get:function(){return ct.isDir(this.mode)}},isDevice:{get:function(){return ct.isChrdev(this.mode)}}}),ct.FSNode=un,ct.staticInit(),o.FS_createPath=ct.createPath,o.FS_createDataFile=ct.createDataFile,o.FS_readFile=ct.readFile,o.FS_createPath=ct.createPath,o.FS_createDataFile=ct.createDataFile,o.FS_createPreloadedFile=ct.createPreloadedFile,o.FS_unlink=ct.unlink,o.FS_createLazyFile=ct.createLazyFile,o.FS_createDevice=ct.createDevice;let dn={scriptUrl:import.meta.url,fetch:globalThis.fetch,require:s,updateGlobalBufferAndViews:re,pthreadReplacements:fn};b&&(dn.requirePromise=import("module").then((e=>e.createRequire(import.meta.url))));let mn=__dotnet_runtime.__initializeImportsAndExports({isGlobal:!1,isNode:b,isWorker:y,isShell:v,isWeb:g,isPThread:!1,quit_:w,ExitStatus:Eo,requirePromise:dn.requirePromise},{mono:MONO,binding:BINDING,internal:INTERNAL,module:o,marshaled_imports:IMPORTS},dn,a);re=dn.updateGlobalBufferAndViews;var pn=dn.fetch;e=i=E=dn.scriptDirectory,b&&dn.requirePromise.then((e=>{s=e}));R=dn.noExitRuntime;function hn(e,t,r){var n=r>0?r:K(e)+1,o=new Array(n),s=X(e,o,0,o.length);return t&&(o.length=s),o}var wn,gn={B:$e,h:Fe,v:Be,w:Ve,b:Je,j:Ge,l:Le,ba:Ye,m:Xe,rb:Ze,f:qe,qb:lt,aa:_t,pb:At,ob:kt,Ga:St,nb:Ot,D:xt,mb:Nt,lb:Dt,Fa:Rt,kb:Tt,jb:It,ib:$t,hb:Ft,gb:Pt,fb:Ct,$:Ut,eb:Bt,db:zt,_:Wt,cb:Lt,Z:Ht,bb:Vt,Y:qt,ab:Jt,I:Gt,W:Xt,Xa:Zt,Wa:Kt,Va:Qt,Ua:er,Ta:tr,Sa:rr,Ra:or,n:sr,V:ar,U:_r,Qa:fr,L:cr,Pa:dr,Oa:mr,Na:hr,$a:br,_a:vr,z:Er,J:Ar,Za:kr,Ea:Or,Da:Nr,X:jr,Ca:Dr,Ya:Mr,M:Rr,a:Tr,T:fo,S:_o,x:no,g:Pn,d:Un,c:zn,q:Wn,R:lo,r:Gn,Ma:eo,A:Yn,La:Xn,Q:so,P:co,O:Vn,N:io,C:Jn,Ba:bo,Aa:wo,za:yo,ya:ho,xa:vo,t:ro,p:Bn,Ka:qn,i:Ln,Ja:po,e:Cn,s:Hn,o:Zn,u:Qn,y:to,Ia:uo,H:Kn,E:oo,Ha:ao,K:mo,wa:go,G:Ir,va:$r,ua:Fr,ta:Pr,sa:Cr,ra:Ur,qa:Br,pa:zr,oa:Wr,na:Lr,ma:Hr,la:Vr,ka:qr,ja:Jr,ia:Gr,ha:Yr,ga:Xr,fa:Zr,ea:Kr,da:Qr,k:en,F:an,ca:cn},yn=(Ne(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.tb).apply(null,arguments)},o._malloc=function(){return(yn=o._malloc=o.asm.ub).apply(null,arguments)}),bn=o._free=function(){return(bn=o._free=o.asm.vb).apply(null,arguments)},vn=(o._memset=function(){return(o._memset=o.asm.wb).apply(null,arguments)},o.___errno_location=function(){return(vn=o.___errno_location=o.asm.yb).apply(null,arguments)}),En=(o._memalign=function(){return(o._memalign=o.asm.zb).apply(null,arguments)},o._htons=function(){return(En=o._htons=o.asm.Ab).apply(null,arguments)}),An=(o._mono_wasm_register_root=function(){return(o._mono_wasm_register_root=o.asm.Bb).apply(null,arguments)},o._mono_wasm_deregister_root=function(){return(o._mono_wasm_deregister_root=o.asm.Cb).apply(null,arguments)},o._mono_wasm_add_assembly=function(){return(o._mono_wasm_add_assembly=o.asm.Db).apply(null,arguments)},o._mono_wasm_add_satellite_assembly=function(){return(o._mono_wasm_add_satellite_assembly=o.asm.Eb).apply(null,arguments)},o._mono_wasm_setenv=function(){return(o._mono_wasm_setenv=o.asm.Fb).apply(null,arguments)},o._mono_wasm_getenv=function(){return(o._mono_wasm_getenv=o.asm.Gb).apply(null,arguments)},o._mono_wasm_register_bundled_satellite_assemblies=function(){return(o._mono_wasm_register_bundled_satellite_assemblies=o.asm.Hb).apply(null,arguments)},o._mono_wasm_load_runtime=function(){return(o._mono_wasm_load_runtime=o.asm.Ib).apply(null,arguments)},o._mono_wasm_assembly_load=function(){return(o._mono_wasm_assembly_load=o.asm.Jb).apply(null,arguments)},o._mono_wasm_get_corlib=function(){return(o._mono_wasm_get_corlib=o.asm.Kb).apply(null,arguments)},o._mono_wasm_assembly_find_class=function(){return(o._mono_wasm_assembly_find_class=o.asm.Lb).apply(null,arguments)},o._mono_wasm_runtime_run_module_cctor=function(){return(o._mono_wasm_runtime_run_module_cctor=o.asm.Mb).apply(null,arguments)},o._mono_wasm_assembly_find_method=function(){return(o._mono_wasm_assembly_find_method=o.asm.Nb).apply(null,arguments)},o._mono_wasm_get_delegate_invoke_ref=function(){return(o._mono_wasm_get_delegate_invoke_ref=o.asm.Ob).apply(null,arguments)},o._mono_wasm_box_primitive_ref=function(){return(o._mono_wasm_box_primitive_ref=o.asm.Pb).apply(null,arguments)},o._mono_wasm_invoke_method_ref=function(){return(o._mono_wasm_invoke_method_ref=o.asm.Qb).apply(null,arguments)},o._mono_wasm_invoke_method_bound=function(){return(o._mono_wasm_invoke_method_bound=o.asm.Rb).apply(null,arguments)},o._mono_wasm_assembly_get_entry_point=function(){return(o._mono_wasm_assembly_get_entry_point=o.asm.Sb).apply(null,arguments)},o._mono_wasm_string_get_utf8=function(){return(o._mono_wasm_string_get_utf8=o.asm.Tb).apply(null,arguments)},o._mono_wasm_string_from_js=function(){return(o._mono_wasm_string_from_js=o.asm.Ub).apply(null,arguments)},o._mono_wasm_string_from_utf16_ref=function(){return(o._mono_wasm_string_from_utf16_ref=o.asm.Vb).apply(null,arguments)},o._mono_wasm_get_obj_class=function(){return(o._mono_wasm_get_obj_class=o.asm.Wb).apply(null,arguments)},o._mono_wasm_get_obj_type=function(){return(o._mono_wasm_get_obj_type=o.asm.Xb).apply(null,arguments)},o._mono_wasm_try_unbox_primitive_and_get_type_ref=function(){return(o._mono_wasm_try_unbox_primitive_and_get_type_ref=o.asm.Yb).apply(null,arguments)},o._mono_wasm_array_length=function(){return(o._mono_wasm_array_length=o.asm.Zb).apply(null,arguments)},o._mono_wasm_array_get=function(){return(o._mono_wasm_array_get=o.asm._b).apply(null,arguments)},o._mono_wasm_array_get_ref=function(){return(o._mono_wasm_array_get_ref=o.asm.$b).apply(null,arguments)},o._mono_wasm_obj_array_new_ref=function(){return(o._mono_wasm_obj_array_new_ref=o.asm.ac).apply(null,arguments)},o._mono_wasm_obj_array_new=function(){return(o._mono_wasm_obj_array_new=o.asm.bc).apply(null,arguments)},o._mono_wasm_obj_array_set=function(){return(o._mono_wasm_obj_array_set=o.asm.cc).apply(null,arguments)},o._mono_wasm_obj_array_set_ref=function(){return(o._mono_wasm_obj_array_set_ref=o.asm.dc).apply(null,arguments)},o._mono_wasm_string_array_new_ref=function(){return(o._mono_wasm_string_array_new_ref=o.asm.ec).apply(null,arguments)},o._mono_wasm_exec_regression=function(){return(o._mono_wasm_exec_regression=o.asm.fc).apply(null,arguments)},o._mono_wasm_exit=function(){return(o._mono_wasm_exit=o.asm.gc).apply(null,arguments)},o._mono_wasm_set_main_args=function(){return(o._mono_wasm_set_main_args=o.asm.hc).apply(null,arguments)},o._mono_wasm_strdup=function(){return(o._mono_wasm_strdup=o.asm.ic).apply(null,arguments)},o._mono_wasm_parse_runtime_options=function(){return(o._mono_wasm_parse_runtime_options=o.asm.jc).apply(null,arguments)},o._mono_wasm_enable_on_demand_gc=function(){return(o._mono_wasm_enable_on_demand_gc=o.asm.kc).apply(null,arguments)},o._mono_wasm_intern_string_ref=function(){return(o._mono_wasm_intern_string_ref=o.asm.lc).apply(null,arguments)},o._mono_wasm_string_get_data_ref=function(){return(o._mono_wasm_string_get_data_ref=o.asm.mc).apply(null,arguments)},o._mono_wasm_string_get_data=function(){return(o._mono_wasm_string_get_data=o.asm.nc).apply(null,arguments)},o._mono_wasm_class_get_type=function(){return(o._mono_wasm_class_get_type=o.asm.oc).apply(null,arguments)},o._mono_wasm_type_get_class=function(){return(o._mono_wasm_type_get_class=o.asm.pc).apply(null,arguments)},o._mono_wasm_get_type_name=function(){return(o._mono_wasm_get_type_name=o.asm.qc).apply(null,arguments)},o._mono_wasm_get_type_aqn=function(){return(o._mono_wasm_get_type_aqn=o.asm.rc).apply(null,arguments)},o._mono_wasm_write_managed_pointer_unsafe=function(){return(o._mono_wasm_write_managed_pointer_unsafe=o.asm.sc).apply(null,arguments)},o._mono_wasm_copy_managed_pointer=function(){return(o._mono_wasm_copy_managed_pointer=o.asm.tc).apply(null,arguments)},o._mono_wasm_i52_to_f64=function(){return(o._mono_wasm_i52_to_f64=o.asm.uc).apply(null,arguments)},o._mono_wasm_u52_to_f64=function(){return(o._mono_wasm_u52_to_f64=o.asm.vc).apply(null,arguments)},o._mono_wasm_f64_to_u52=function(){return(o._mono_wasm_f64_to_u52=o.asm.wc).apply(null,arguments)},o._mono_wasm_f64_to_i52=function(){return(o._mono_wasm_f64_to_i52=o.asm.xc).apply(null,arguments)},o._mono_wasm_typed_array_new_ref=function(){return(o._mono_wasm_typed_array_new_ref=o.asm.yc).apply(null,arguments)},o._mono_wasm_unbox_enum=function(){return(o._mono_wasm_unbox_enum=o.asm.zc).apply(null,arguments)},o._mono_wasm_send_dbg_command_with_parms=function(){return(o._mono_wasm_send_dbg_command_with_parms=o.asm.Ac).apply(null,arguments)},o._mono_wasm_send_dbg_command=function(){return(o._mono_wasm_send_dbg_command=o.asm.Bc).apply(null,arguments)},o._mono_wasm_event_pipe_enable=function(){return(o._mono_wasm_event_pipe_enable=o.asm.Cc).apply(null,arguments)},o._mono_wasm_event_pipe_session_start_streaming=function(){return(o._mono_wasm_event_pipe_session_start_streaming=o.asm.Dc).apply(null,arguments)},o._mono_wasm_event_pipe_session_disable=function(){return(o._mono_wasm_event_pipe_session_disable=o.asm.Ec).apply(null,arguments)},o._mono_background_exec=function(){return(o._mono_background_exec=o.asm.Fc).apply(null,arguments)},o._mono_wasm_get_icudt_name=function(){return(o._mono_wasm_get_icudt_name=o.asm.Gc).apply(null,arguments)},o._mono_wasm_load_icu_data=function(){return(o._mono_wasm_load_icu_data=o.asm.Hc).apply(null,arguments)},o._mono_print_method_from_ip=function(){return(o._mono_print_method_from_ip=o.asm.Ic).apply(null,arguments)},o._mono_set_timeout_exec=function(){return(o._mono_set_timeout_exec=o.asm.Jc).apply(null,arguments)},o._emscripten_builtin_memalign=function(){return(An=o._emscripten_builtin_memalign=o.asm.Kc).apply(null,arguments)}),kn=o._ntohs=function(){return(kn=o._ntohs=o.asm.Lc).apply(null,arguments)},Sn=o._setThrew=function(){return(Sn=o._setThrew=o.asm.Mc).apply(null,arguments)},On=o.stackSave=function(){return(On=o.stackSave=o.asm.Nc).apply(null,arguments)},xn=o.stackRestore=function(){return(xn=o.stackRestore=o.asm.Oc).apply(null,arguments)},Nn=o.stackAlloc=function(){return(Nn=o.stackAlloc=o.asm.Pc).apply(null,arguments)},jn=o.___cxa_can_catch=function(){return(jn=o.___cxa_can_catch=o.asm.Qc).apply(null,arguments)},Dn=o.___cxa_is_pointer_type=function(){return(Dn=o.___cxa_is_pointer_type=o.asm.Rc).apply(null,arguments)},Mn=o.dynCall_ji=function(){return(Mn=o.dynCall_ji=o.asm.Sc).apply(null,arguments)},Rn=o.dynCall_iij=function(){return(Rn=o.dynCall_iij=o.asm.Tc).apply(null,arguments)},Tn=o.dynCall_j=function(){return(Tn=o.dynCall_j=o.asm.Uc).apply(null,arguments)},In=o.dynCall_viijii=function(){return(In=o.dynCall_viijii=o.asm.Vc).apply(null,arguments)},$n=o.dynCall_iiiiij=function(){return($n=o.dynCall_iiiiij=o.asm.Wc).apply(null,arguments)},Fn=o.dynCall_jiiii=function(){return(Fn=o.dynCall_jiiii=o.asm.Xc).apply(null,arguments)};function Pn(e,t){var r=On();try{return Te(e)(t)}catch(e){if(xn(r),e!==e+0)throw e;Sn(1,0)}}function Cn(e,t,r,n){var o=On();try{Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function Un(e,t,r){var n=On();try{return Te(e)(t,r)}catch(e){if(xn(n),e!==e+0)throw e;Sn(1,0)}}function Bn(e,t){var r=On();try{Te(e)(t)}catch(e){if(xn(r),e!==e+0)throw e;Sn(1,0)}}function zn(e,t,r,n){var o=On();try{return Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function Wn(e,t,r,n,o){var s=On();try{return Te(e)(t,r,n,o)}catch(e){if(xn(s),e!==e+0)throw e;Sn(1,0)}}function Ln(e,t,r){var n=On();try{Te(e)(t,r)}catch(e){if(xn(n),e!==e+0)throw e;Sn(1,0)}}function Hn(e,t,r,n,o){var s=On();try{Te(e)(t,r,n,o)}catch(e){if(xn(s),e!==e+0)throw e;Sn(1,0)}}function Vn(e,t,r,n,o,s,i,a,c,u){var l=On();try{return Te(e)(t,r,n,o,s,i,a,c,u)}catch(e){if(xn(l),e!==e+0)throw e;Sn(1,0)}}function qn(e,t,r,n){var o=On();try{Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function Jn(e,t,r,n,o,s,i,a,c,u,l,_){var f=On();try{return Te(e)(t,r,n,o,s,i,a,c,u,l,_)}catch(e){if(xn(f),e!==e+0)throw e;Sn(1,0)}}function Gn(e,t,r,n,o,s){var i=On();try{return Te(e)(t,r,n,o,s)}catch(e){if(xn(i),e!==e+0)throw e;Sn(1,0)}}function Yn(e,t,r,n,o,s,i){var a=On();try{return Te(e)(t,r,n,o,s,i)}catch(e){if(xn(a),e!==e+0)throw e;Sn(1,0)}}function Xn(e,t,r,n,o,s,i,a){var c=On();try{return Te(e)(t,r,n,o,s,i,a)}catch(e){if(xn(c),e!==e+0)throw e;Sn(1,0)}}function Zn(e,t,r,n,o,s){var i=On();try{Te(e)(t,r,n,o,s)}catch(e){if(xn(i),e!==e+0)throw e;Sn(1,0)}}function Kn(e,t,r,n,o,s,i,a,c,u){var l=On();try{Te(e)(t,r,n,o,s,i,a,c,u)}catch(e){if(xn(l),e!==e+0)throw e;Sn(1,0)}}function Qn(e,t,r,n,o,s,i){var a=On();try{Te(e)(t,r,n,o,s,i)}catch(e){if(xn(a),e!==e+0)throw e;Sn(1,0)}}function eo(e,t,r,n,o,s,i){var a=On();try{return Te(e)(t,r,n,o,s,i)}catch(e){if(xn(a),e!==e+0)throw e;Sn(1,0)}}function to(e,t,r,n,o,s,i,a){var c=On();try{Te(e)(t,r,n,o,s,i,a)}catch(e){if(xn(c),e!==e+0)throw e;Sn(1,0)}}function ro(e){var t=On();try{Te(e)()}catch(e){if(xn(t),e!==e+0)throw e;Sn(1,0)}}function no(e){var t=On();try{return Te(e)()}catch(e){if(xn(t),e!==e+0)throw e;Sn(1,0)}}function oo(e,t,r,n,o,s,i,a,c,u,l){var _=On();try{Te(e)(t,r,n,o,s,i,a,c,u,l)}catch(e){if(xn(_),e!==e+0)throw e;Sn(1,0)}}function so(e,t,r,n,o,s,i,a){var c=On();try{return Te(e)(t,r,n,o,s,i,a)}catch(e){if(xn(c),e!==e+0)throw e;Sn(1,0)}}function io(e,t,r,n,o,s,i,a,c,u,l){var _=On();try{return Te(e)(t,r,n,o,s,i,a,c,u,l)}catch(e){if(xn(_),e!==e+0)throw e;Sn(1,0)}}function ao(e,t,r,n,o,s,i,a,c,u,l,_){var f=On();try{Te(e)(t,r,n,o,s,i,a,c,u,l,_)}catch(e){if(xn(f),e!==e+0)throw e;Sn(1,0)}}function co(e,t,r,n,o,s,i,a,c){var u=On();try{return Te(e)(t,r,n,o,s,i,a,c)}catch(e){if(xn(u),e!==e+0)throw e;Sn(1,0)}}function uo(e,t,r,n,o,s,i,a,c){var u=On();try{Te(e)(t,r,n,o,s,i,a,c)}catch(e){if(xn(u),e!==e+0)throw e;Sn(1,0)}}function lo(e,t,r,n,o,s){var i=On();try{return Te(e)(t,r,n,o,s)}catch(e){if(xn(i),e!==e+0)throw e;Sn(1,0)}}function _o(e,t,r,n){var o=On();try{return Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function fo(e,t,r,n){var o=On();try{return Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function mo(e,t,r,n,o,s,i,a,c,u,l,_,f,d,m,p){var h=On();try{Te(e)(t,r,n,o,s,i,a,c,u,l,_,f,d,m,p)}catch(e){if(xn(h),e!==e+0)throw e;Sn(1,0)}}function po(e,t,r,n){var o=On();try{Te(e)(t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function ho(e,t){var r=On();try{return Mn(e,t)}catch(e){if(xn(r),e!==e+0)throw e;Sn(1,0)}}function wo(e,t,r,n){var o=On();try{return Rn(e,t,r,n)}catch(e){if(xn(o),e!==e+0)throw e;Sn(1,0)}}function go(e,t,r,n,o,s,i){var a=On();try{In(e,t,r,n,o,s,i)}catch(e){if(xn(a),e!==e+0)throw e;Sn(1,0)}}function yo(e){var t=On();try{return Tn(e)}catch(e){if(xn(t),e!==e+0)throw e;Sn(1,0)}}function bo(e,t,r,n,o,s,i){var a=On();try{return $n(e,t,r,n,o,s,i)}catch(e){if(xn(a),e!==e+0)throw e;Sn(1,0)}}function vo(e,t,r,n,o){var s=On();try{return Fn(e,t,r,n,o)}catch(e){if(xn(s),e!==e+0)throw e;Sn(1,0)}}function Eo(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Ao(e){function t(){wn||(wn=!0,o.calledRun=!0,T||(ue(),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),le()))}e=e||p,me>0||(ce(),me>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),t()}),1)):t()))}function ko(e,t){e,So(e)}function So(e){e,ae()||(o.onExit&&o.onExit(e),T=!0),w(e,new Eo(e))}if(o.ccall=F,o.cwrap=P,o.UTF8ArrayToString=G,o.UTF8ToString=Y,o.addRunDependency=we,o.removeRunDependency=ge,o.FS_createPath=ct.createPath,o.FS_createDataFile=ct.createDataFile,o.FS_createPreloadedFile=ct.createPreloadedFile,o.FS_createLazyFile=ct.createLazyFile,o.FS_createDevice=ct.createDevice,o.FS_unlink=ct.unlink,o.print=S,o.setValue=Ie,o.getValue=Me,o.FS=ct,he=function e(){wn||Ao(),wn||(he=e)},o.run=Ao,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return Ao(),t.ready=t.ready.then((()=>mn)),t.ready}})();export default createDotnetRuntime;const MONO={},BINDING={},INTERNAL={},IMPORTS={};var ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;__dotnet_runtime.__setEmscriptenEntrypoint(createDotnetRuntime,{isNode:ENVIRONMENT_IS_NODE,isShell:ENVIRONMENT_IS_SHELL,isWeb:ENVIRONMENT_IS_WEB,isWorker:ENVIRONMENT_IS_WORKER});const dotnet=__dotnet_runtime.moduleExports.dotnet,exit=__dotnet_runtime.moduleExports.exit;export{dotnet,exit,INTERNAL}; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.timezones.blat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.timezones.blat new file mode 100644 index 00000000..6b914ca6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.timezones.blat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.wasm b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.wasm new file mode 100644 index 00000000..fbfc7779 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/dotnet.wasm differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/icudt.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/icudt.dat new file mode 100644 index 00000000..54093bdd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/icudt.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/index.html b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/index.html new file mode 100644 index 00000000..38c28922 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/initDotnet.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/initDotnet.js new file mode 100644 index 00000000..60efc974 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/initDotnet.js @@ -0,0 +1 @@ +import{dotnet}from"./dotnet.js";export async function initDotnet(t){if(null===t||"string"!=typeof t||0===t.trim().length)throw Error("`baseUrl` must be a string passed to `initDotnet` and be non-empty.");const{getAssemblyExports:e,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:e=>`${t}/${e}`}).create();globalThis.gdPicture={module:o,baseUrl:t};const n=await e(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,BaseUrl:t}} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/BouncyCastle.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/BouncyCastle.Cryptography.dll new file mode 100644 index 00000000..baf513b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/BouncyCastle.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/ChromeHtmlToPdfLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/ChromeHtmlToPdfLib.dll new file mode 100644 index 00000000..e8b27667 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/ChromeHtmlToPdfLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/DocumentFormat.OpenXml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/DocumentFormat.OpenXml.dll new file mode 100644 index 00000000..d7bc7d6f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/DocumentFormat.OpenXml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.API.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.API.dll new file mode 100644 index 00000000..efbf1d95 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.API.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.CAD.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.CAD.dll new file mode 100644 index 00000000..5e290921 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.CAD.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Common.dll new file mode 100644 index 00000000..f1d3a8fc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Document.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Document.dll new file mode 100644 index 00000000..8063ade8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Document.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll new file mode 100644 index 00000000..9532051e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.dll new file mode 100644 index 00000000..cfaa9159 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Formats.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll new file mode 100644 index 00000000..407ea79e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.dll new file mode 100644 index 00000000..5cd7f48a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.Imaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll new file mode 100644 index 00000000..1d0332e3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenDocument.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenDocument.dll new file mode 100644 index 00000000..e313ab98 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenDocument.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenXML.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenXML.dll new file mode 100644 index 00000000..953f9f5a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.OpenXML.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.PDF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.PDF.dll new file mode 100644 index 00000000..9999a704 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.PDF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.RTF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.RTF.dll new file mode 100644 index 00000000..8e69b933 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.RTF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.SVG.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.SVG.dll new file mode 100644 index 00000000..af0f2785 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.SVG.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll new file mode 100644 index 00000000..580641ca Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll new file mode 100644 index 00000000..1d6b18d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll new file mode 100644 index 00000000..e3ac4276 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll new file mode 100644 index 00000000..89eac73a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.Wasm.NET7.dll new file mode 100644 index 00000000..120aba7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/GdPicture.NET.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.CSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.CSharp.dll new file mode 100644 index 00000000..e9f091c0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.CSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.Win32.Registry.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.Win32.Registry.dll new file mode 100644 index 00000000..65835e0a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Microsoft.Win32.Registry.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/MsgReader.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/MsgReader.dll new file mode 100644 index 00000000..3bc4bafc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/MsgReader.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Newtonsoft.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Newtonsoft.Json.dll new file mode 100644 index 00000000..76c6d1af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/Newtonsoft.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/OpenMcdf.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/OpenMcdf.dll new file mode 100644 index 00000000..c52d61c6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/OpenMcdf.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/RtfPipe.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/RtfPipe.dll new file mode 100644 index 00000000..411819a6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/RtfPipe.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Concurrent.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Concurrent.dll new file mode 100644 index 00000000..f78371e6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Concurrent.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Immutable.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Immutable.dll new file mode 100644 index 00000000..1f01727c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Immutable.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.NonGeneric.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.NonGeneric.dll new file mode 100644 index 00000000..9da96846 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.NonGeneric.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Specialized.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Specialized.dll new file mode 100644 index 00000000..7718c00a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.Specialized.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.dll new file mode 100644 index 00000000..2048bbb1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Collections.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.EventBasedAsync.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 00000000..452e83eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.EventBasedAsync.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.Primitives.dll new file mode 100644 index 00000000..a0383b19 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.TypeConverter.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.TypeConverter.dll new file mode 100644 index 00000000..114544df Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.TypeConverter.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.dll new file mode 100644 index 00000000..b668a9ea Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ComponentModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Console.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Console.dll new file mode 100644 index 00000000..75ad6379 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Console.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Data.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Data.Common.dll new file mode 100644 index 00000000..09bf47d1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Data.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.DiagnosticSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 00000000..e21a404e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.DiagnosticSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.Process.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.Process.dll new file mode 100644 index 00000000..a682a6e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.Process.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.TraceSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.TraceSource.dll new file mode 100644 index 00000000..d9c43571 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Diagnostics.TraceSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.Primitives.dll new file mode 100644 index 00000000..96f48585 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.dll new file mode 100644 index 00000000..02399c5f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Drawing.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Formats.Asn1.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Formats.Asn1.dll new file mode 100644 index 00000000..57ffd7d0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Formats.Asn1.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Compression.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Compression.dll new file mode 100644 index 00000000..69d63e14 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Compression.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Packaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Packaging.dll new file mode 100644 index 00000000..a083cb30 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.IO.Packaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.Expressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.Expressions.dll new file mode 100644 index 00000000..e7cddf91 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.Expressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.dll new file mode 100644 index 00000000..e7efb70b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Memory.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Memory.dll new file mode 100644 index 00000000..ccf7297d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Memory.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.Formatting.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.Formatting.dll new file mode 100644 index 00000000..efaa5cf7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.Formatting.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.dll new file mode 100644 index 00000000..3fbef7e7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Http.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Mail.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Mail.dll new file mode 100644 index 00000000..bfd2d47b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Mail.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.NetworkInformation.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.NetworkInformation.dll new file mode 100644 index 00000000..039c0962 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.NetworkInformation.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Primitives.dll new file mode 100644 index 00000000..08e286a9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Requests.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Requests.dll new file mode 100644 index 00000000..4bcd6abd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Requests.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Security.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Security.dll new file mode 100644 index 00000000..7d435a4e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Security.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.ServicePoint.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.ServicePoint.dll new file mode 100644 index 00000000..052f610d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.ServicePoint.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Sockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Sockets.dll new file mode 100644 index 00000000..2a7f4a6b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.Sockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebHeaderCollection.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebHeaderCollection.dll new file mode 100644 index 00000000..6a8cbb67 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebHeaderCollection.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.Client.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.Client.dll new file mode 100644 index 00000000..b52b07be Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.Client.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.dll new file mode 100644 index 00000000..f5238fc9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Net.WebSockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ObjectModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ObjectModel.dll new file mode 100644 index 00000000..c91131f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.ObjectModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.CoreLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.CoreLib.dll new file mode 100644 index 00000000..73db180b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.CoreLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Uri.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Uri.dll new file mode 100644 index 00000000..65e6840f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Uri.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.Linq.dll new file mode 100644 index 00000000..6c174431 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.dll new file mode 100644 index 00000000..8d1e9d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Private.Xml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.InteropServices.JavaScript.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 00000000..befe479b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Numerics.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Numerics.dll new file mode 100644 index 00000000..a81298dd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Numerics.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Formatters.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 00000000..1ca7f269 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Formatters.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 00000000..1200239b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.Serialization.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.dll new file mode 100644 index 00000000..814086a0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Runtime.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.Pkcs.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 00000000..d4d3a17d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.Pkcs.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.dll new file mode 100644 index 00000000..c13d6b65 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Security.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encoding.CodePages.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encoding.CodePages.dll new file mode 100644 index 00000000..a1b481da Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encoding.CodePages.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encodings.Web.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encodings.Web.dll new file mode 100644 index 00000000..c965c332 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Encodings.Web.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Json.dll new file mode 100644 index 00000000..2ccc3f79 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.RegularExpressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.RegularExpressions.dll new file mode 100644 index 00000000..721beadb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Text.RegularExpressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Threading.Tasks.Parallel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Threading.Tasks.Parallel.dll new file mode 100644 index 00000000..6e3ea829 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Threading.Tasks.Parallel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Windows.Extensions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Windows.Extensions.dll new file mode 100644 index 00000000..0d60996c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Windows.Extensions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Xml.Linq.dll new file mode 100644 index 00000000..97523c31 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.dll new file mode 100644 index 00000000..2a26cb53 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/System.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.Core.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.Core.dll new file mode 100644 index 00000000..c10c6f24 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.Core.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.dll new file mode 100644 index 00000000..2faf78d5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/managed/protobuf-net.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/mono-config.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/mono-config.json new file mode 100644 index 00000000..a11e74bd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/mono-config.json @@ -0,0 +1,364 @@ +{ + "mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll", + "assemblyRootFolder": "managed", + "debugLevel": 0, + "assets": [ + { + "behavior": "assembly", + "name": "BouncyCastle.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "ChromeHtmlToPdfLib.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.API.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.1d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.2d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.CAD.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Common.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Document.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Rendering.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.MSOfficeBinary.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenDocument.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenXML.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.PDF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.RTF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.SVG.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.CSharp.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.Win32.Registry.dll" + }, + { + "behavior": "assembly", + "name": "MsgReader.dll" + }, + { + "behavior": "assembly", + "name": "Newtonsoft.Json.dll" + }, + { + "behavior": "assembly", + "name": "OpenMcdf.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.Core.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.dll" + }, + { + "behavior": "assembly", + "name": "RtfPipe.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Concurrent.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Immutable.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.NonGeneric.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Specialized.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.EventBasedAsync.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.TypeConverter.dll" + }, + { + "behavior": "assembly", + "name": "System.Console.dll" + }, + { + "behavior": "assembly", + "name": "System.Data.Common.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.DiagnosticSource.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.Process.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.TraceSource.dll" + }, + { + "behavior": "assembly", + "name": "System.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Formats.Asn1.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Compression.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Packaging.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.Expressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Memory.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.Formatting.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Mail.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.NetworkInformation.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Requests.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Security.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.ServicePoint.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Sockets.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebHeaderCollection.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.Client.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.dll" + }, + { + "behavior": "assembly", + "name": "System.ObjectModel.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.CoreLib.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Uri.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.InteropServices.JavaScript.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Numerics.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Formatters.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.Pkcs.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encoding.CodePages.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encodings.Web.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Json.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.RegularExpressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Threading.Tasks.Parallel.dll" + }, + { + "behavior": "assembly", + "name": "System.Windows.Extensions.dll" + }, + { + "behavior": "assembly", + "name": "System.Xml.Linq.dll" + }, + { + "virtualPath": "runtimeconfig.bin", + "behavior": "vfs", + "name": "supportFiles/0_runtimeconfig.bin" + }, + { + "loadRemote": false, + "behavior": "icu", + "name": "icudt.dat" + }, + { + "virtualPath": "/usr/share/zoneinfo/", + "behavior": "vfs", + "name": "dotnet.timezones.blat" + }, + { + "behavior": "dotnetwasm", + "name": "dotnet.wasm" + } + ], + "remoteSources": [], + "pthreadPoolSize": 0 +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/package.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/package.json new file mode 100644 index 00000000..3e0a2a7f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/package.json @@ -0,0 +1 @@ +{ "type":"module" } \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resourceLoader.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resourceLoader.js new file mode 100644 index 00000000..65a50937 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resourceLoader.js @@ -0,0 +1 @@ +let require,resources;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(ENVIRONMENT_IS_NODE){const{createRequire:e}=await import("module");require=e(import.meta.url)}else if(ENVIRONMENT_IS_DENO){const e=new URL("./resources/list.json",import.meta.url),r=await globalThis.fetch(e).then((e=>e.json())),t=await Promise.all(r.map((e=>{const r=new URL(`./resources/${e}`,import.meta.url);return globalThis.fetch(r).then((async e=>{if(e.ok)return e.arrayBuffer()})).then((r=>({buffer:r,filename:e}))).catch((()=>({buffer:void 0,filename:e})))})));resources=t.reduce(((e,{filename:r,buffer:t})=>(e[`${globalThis.gdPicture.baseUrl}/resources/${decodeURI(r)}`]=t,e)),{})}}export function fetchResource(e,r){fetch(`${globalThis.gdPicture.baseUrl}/resources/${e}`,r)}export function fetch(e,r){try{if(ENVIRONMENT_IS_NODE){const t=require("node:fs"),o=require("node:path"),i=t.readFileSync(o.normalize(e));globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(i))}else if(ENVIRONMENT_IS_DENO)globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(resources[e]));else{const t=new XMLHttpRequest;t.open("GET",e,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(r,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(let r=0,o=e.length;r驮v6w7j{ GgL[LqLqL8+(]}uC 4-1PwH#c$&聘jGbz&Z腨W"w7߉ +$Znp뮑S_ VG \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78-V.dat new file mode 100644 index 00000000..a516681c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78-V.dat @@ -0,0 +1 @@ +x%̽j`Jp}B]t(\:ekoSDpwzpԛ%IAumo[hx'[jx4LJ+mb0DD|ħJ _*9r|(R¯J* lUZعBF\0<‚WXּ†J˖!WT1 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-H.dat new file mode 100644 index 00000000..8571d516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-V.dat new file mode 100644 index 00000000..fa7c606c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_78ms-RKSJ-V.dat @@ -0,0 +1,3 @@ +xEKKa!>Z+DJ u_i;; -VWQIioq]M}u +Nržq[=k^OMd[3tٛ W9;1m޾a̎` 6B%kK7ivo 2.d]ֽ7r[v v܎dvg=2ՠܗoq *}aPOO_~o?W~!>I&yL0!RL`<-H3GX!0(G 2A9 ̳_01s LpuINV0)V +9n grsE< \``l,q}e.`+!X*;k\%:yU lrڤ Yv&`mѻZUh6];( :SDn==ڣ#\^=}ڧ"RG/R; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_83pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_83pv-RKSJ-H.dat new file mode 100644 index 00000000..ab4e2e4b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_83pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-H.dat new file mode 100644 index 00000000..a8f8ba36 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-UCS2.dat new file mode 100644 index 00000000..b5d22be8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-V.dat new file mode 100644 index 00000000..a47109f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90ms-RKSJ-V.dat @@ -0,0 +1,2 @@ +xEKKa!>]t0Ѱ(BϚ Az6.E183:GDmdsBUTr|WSb'l}lr[nOE۸pƞOLPo/ۧ&h- :Mv+6o_0jXP[!AʥKq .lM`mn}2q;u_ J}jP70A'/A ԫG?} $, rG)xR0!f`,da`#de y'( 8c s NF0IV8.4pEg` l,r%.`˼!X +\%xUulp ڨ Iv&tfmֻZEhVM۵( :CD.=ڭ#\=ګ"R/7? \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-H.dat new file mode 100644 index 00000000..d60b4783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-V.dat new file mode 100644 index 00000000..cfe70499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90msp-RKSJ-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-H.dat new file mode 100644 index 00000000..265cf14d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2.dat new file mode 100644 index 00000000..264f511c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2C.dat new file mode 100644 index 00000000..2f5def6c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-V.dat new file mode 100644 index 00000000..c85cc6aa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_90pv-RKSJ-V.dat @@ -0,0 +1 @@ +xEMKQ2xʝ "Cn6!iת<7 Br|̏: D6ZZj-VWޮ-/S8<uc:=qOܫŽ7q(5ǂDh?yOAA z*(jQe-/AE+[Pժ P/Gzvk?Jav-N+Xn6`Vs+Z4дe0ۊ#dTXSEUX +OgXc*WDQg2lbLSMPbOuvsEV~TҞk \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Add-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Add-V.dat new file mode 100644 index 00000000..b723ddd7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Add-V.dat @@ -0,0 +1 @@ +x%MKasKCDPja-jD C:F-G-Eʝ6Hu"6}81:݀%o6Y 7>^1U}ØiO0:)jW:7״bȈhZDhYEm#:ֱ1>ETVj1MJWkƼ21oyf;+c^y2#C7}$iNxB=K gH, nIO$s \ɄO' 8ྠd3 \䩄wK\`<>=>U j<qO\`![[ho \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-0.dat new file mode 100644 index 00000000..46a900d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-1.dat new file mode 100644 index 00000000..cc0448e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-2.dat new file mode 100644 index 00000000..9c02a633 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-3.dat new file mode 100644 index 00000000..c2ea5f03 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-4.dat new file mode 100644 index 00000000..8df3a15e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-5.dat new file mode 100644 index 00000000..42421863 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-6.dat new file mode 100644 index 00000000..56e68c7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-7.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-7.dat new file mode 100644 index 00000000..33db65eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-7.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-B5pc.dat new file mode 100644 index 00000000..d65b9bf0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-ETenms-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-ETenms-B5.dat new file mode 100644 index 00000000..8165b275 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-ETenms-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-CID.dat new file mode 100644 index 00000000..ac2e376d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Host.dat new file mode 100644 index 00000000..fb2e9201 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Mac.dat new file mode 100644 index 00000000..302bdfb0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-UCS2.dat new file mode 100644 index 00000000..d1e3b07c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-CNS1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-0.dat new file mode 100644 index 00000000..b6d05924 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-1.dat new file mode 100644 index 00000000..ee304d0e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-2.dat new file mode 100644 index 00000000..a4f0bd70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-3.dat new file mode 100644 index 00000000..f250662e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-4.dat new file mode 100644 index 00000000..acc71545 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-5.dat new file mode 100644 index 00000000..9b78c40e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-UCS2.dat new file mode 100644 index 00000000..725a844b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-GB1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-0.dat new file mode 100644 index 00000000..04bb9ac4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-1.dat new file mode 100644 index 00000000..addb6246 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-2.dat new file mode 100644 index 00000000..4cc5ec8e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-3.dat new file mode 100644 index 00000000..bdb56a82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-4.dat new file mode 100644 index 00000000..a43767cd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-5.dat new file mode 100644 index 00000000..71400f97 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-6.dat new file mode 100644 index 00000000..8f3c5a4d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat new file mode 100644 index 00000000..e049e02b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat new file mode 100644 index 00000000..4e632385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-CID.dat new file mode 100644 index 00000000..ac40ffe5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Host.dat new file mode 100644 index 00000000..fcb56d54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Mac.dat new file mode 100644 index 00000000..dfba535c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-UCS2.dat new file mode 100644 index 00000000..9e40df62 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan2-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan2-0.dat new file mode 100644 index 00000000..aa5004ff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Japan2-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-0.dat new file mode 100644 index 00000000..32240d5e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-1.dat new file mode 100644 index 00000000..c0545801 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-2.dat new file mode 100644 index 00000000..33f7cf3f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-CID.dat new file mode 100644 index 00000000..18faba63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Host.dat new file mode 100644 index 00000000..93e1ff92 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Mac.dat new file mode 100644 index 00000000..6a47ad70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCms-UHC.dat new file mode 100644 index 00000000..3fba1e58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat new file mode 100644 index 00000000..30597cd3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-UCS2.dat new file mode 100644 index 00000000..ada286a1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Adobe-Korea1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_B5-H.dat new file mode 100644 index 00000000..1890fd27 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_B5-H.dat @@ -0,0 +1,9 @@ +x%[PG j"5h8Awm&S/2Q{Jlb&hzdE;t2$39L aq(*,*˲, o޼k|E!DDߟ c6AU: VQfVR*_ jY%_!+C@擞9%@PZM@sAK|B* jra#ET#PE\*P\|j%ԩu/|JN< +U%ZTP\*WBQOZe\**X~1p9_*:Vp!+P\Ye&X(sXy,dUu⪀eUPVA^+3ZWՐTjjЪ5P5\sl d-նjr'' k]?}]Z ԰g-T7a-d#5k5rc\d5."7iHktm:k|:fj.ji-ku`8h!x( [B-Z-ܲ)VjT+ZڨmsT[i[ (k ۩QvG wy8j%o`mEZ(lҗCH"lyO6Zec[zVwj]I}3Ioo?#O%ጝ%AٛeI-oDo9;ۗrnrDlcMv +]SZNrd!۫[6APgzIz7> ˽죾:>[͐4dțtd|ө5Hi[y!⡕[!]:* +MvWoO؆'7_fK oѭnQtۡnOCӰ[kxlx} +ឭb|@H4 +5ʣBzcH⡇=@_wdz4gyܦu<u}r&Z&x&iI~MZSqYRUy?Sǔ9*RzLE/QTz Xz tDoLlZZLWPWZT*TJB.tjQQ*".: +*]кW,SOAsIJU%2 +J*RV4TٓO˸RTa9ox*?UUZf22^3/GCVRY\׺F~_jt}F:_ߵ>[UUZTONj}k, o|AQWAqK߭l>nl_@5v4v#7&\&<iZXey2#[r4–?B6SV37xZ.=-VjZNJ[86jka͈Cg[g8lxHqknCG i|ppUyA#4 5#o&CzcOccϧ≇=^C/B蟵hlZkv9Nz jmZ~P!'hYk'Xk&턚서)Ck =r~0y!?+Q#~.r5?]4Ou8̚T\P3/)QߏRŘ}HKPsstmɟ??^)|~zVH 7@Gx;@sPG tN g `0y_3q6x6x^wKxJ1x,:I ccM"yFHg#y@2ȘDG1Z#Yd_1uDs]!H&0Nb6#La-LcSkRB5RF \-:{d HGtHS^%,]"X~OVPIVa-]CRG- :ilb3(-ml";؉Dw{4EW +c 9h }r÷(}?d \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CNS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CNS2-V.dat new file mode 100644 index 00000000..c32d92fa Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CNS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CourierStdToNew.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CourierStdToNew.dat new file mode 100644 index 00000000..bf30555e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_CourierStdToNew.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DefaultCMYK.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DefaultCMYK.icc new file mode 100644 index 00000000..881cfb41 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DefaultCMYK.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansFallbackFull.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansFallbackFull.ttf new file mode 100644 index 00000000..8f540d16 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansFallbackFull.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansMono.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansMono.ttf new file mode 100644 index 00000000..98e21409 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_DroidSansMono.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-H.dat new file mode 100644 index 00000000..a19245c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-V.dat new file mode 100644 index 00000000..7023d86e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETHK-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETen-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETen-B5-H.dat new file mode 100644 index 00000000..772fe376 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ETen-B5-H.dat @@ -0,0 +1,4 @@ +x%kpDD(!&pIT0re:SfAE"VMP?:/:;δ:= 亁\ȅl.d%Hvsߐdf۞_y}WBTQb RQ'VGلw)=ԢZbI-IJbe\T.<^+>ohk[%t( +_: +2Zd|T8.PWJQB*<(T!iQVBq\ YL?hsV TÒ KbTa)=UeZf22w_F͟GCSY\׺JW_]uu56u\ YA_VJL^Uɕ@VQUVWW}uu'!k'jƥUK{BrBQ]V@SG1Pm1h~ޠkAA6PCV7x,[^7,}1␅,Gb,lS,d#5Nh5r SPMdjqPEġߏl:tqll9'-ܒi}ϚcV!Zc6Z9^Yer=i;l #ǖc$^e#۪P6elֿkrk PvGo€}^a loMPmܶa/d; ~J˱q6AujG8]ht:0`RduDotKK?l|ur甖6B9FțtӣuonE]mzn4T7wyzzgQzmޯ7Cޢ[[|+#6*6vjQ_>;۴VHNnrurL7]֝S76IMA6^kFigۡyC4ZϐgkI4|. j`" yN#4 5#'CҨYk?d<}0Ex8ʣ@_ZѷԾ5 lh3 #\ĦаT "Z 6*2lUrة(W)QRQFJD/0 +3]a·+,t%_+)DFD"+F4E6N~T3EZВpLoII;oFv+D.BntE+҇vҏ'D0 bp a(0_# }xJt ced㱱xM&1C0':d3dE0K|SKX X#+XqNt_ YڽXI6}At/6] `g}ItH?d{E_/`R \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-EUC-V.dat new file mode 100644 index 00000000..fcc9b6fd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-EUC-V.dat @@ -0,0 +1,3 @@ +x- `E0 +(!T=FX +!BDVgqSЏFHbm4FZjiMUʎlG;܋˘q-(XpxÝ%CA͚KEÆh&"3 R|VA \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-H.dat new file mode 100644 index 00000000..695fe1c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-V.dat new file mode 100644 index 00000000..af567748 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GB-V.dat @@ -0,0 +1,4 @@ +x%= +@E;,ByrI +Ke.@B2kw8Mf)Od?- ΂ +k{+m>mH#;ĕ,5k.GxR^;={b`ȗ`ķ 2r \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-H.dat new file mode 100644 index 00000000..531672ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-UCS2.dat new file mode 100644 index 00000000..5b5f8002 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-V.dat new file mode 100644 index 00000000..a67b0113 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_GBK-EUC-V.dat @@ -0,0 +1,2 @@ +x59`E8p)74BR' \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-H.dat new file mode 100644 index 00000000..3753d7dc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-V.dat new file mode 100644 index 00000000..e76f5d71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm314-B5-V.dat @@ -0,0 +1,2 @@ +xEƱ +Aqr݀Կ CQuE1 `P+k:7B<ӓvzy?Qa}J$W3$Oq,KV\57yÖcC>p)74 C˿& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-H.dat new file mode 100644 index 00000000..23ead8d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-V.dat new file mode 100644 index 00000000..2a44d619 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKm471-B5-V.dat @@ -0,0 +1,3 @@ +xEƱ +Aqrn:/6PEEQ`0 +΍PdENޏ|_X_mAxL8Sf9 .WfMް.y ?& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-H.dat new file mode 100644 index 00000000..56a2d1fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-V.dat new file mode 100644 index 00000000..2ec41783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_HKscs-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hankaku.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hankaku.dat new file mode 100644 index 00000000..ec002fc3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hankaku.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hiragana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hiragana.dat new file mode 100644 index 00000000..ce2a4471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hiragana.dat @@ -0,0 +1,2 @@ +x%-@PF~@ue3*+\Q 3ӎ3l g|#DFFN+&idfjEczǸ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-H.dat new file mode 100644 index 00000000..d50e5a0d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-V.dat new file mode 100644 index 00000000..b71442c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-EUC-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-H.dat new file mode 100644 index 00000000..34ecce80 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Hojo-H.dat @@ -0,0 +1 @@ +x%=LSq{@Fr/|JRR(|C) A:IqprprP&`b`ĻrNrrkckىzfBWQF=7\,}ҏ  \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-UCS2.dat new file mode 100644 index 00000000..4b8634b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-V.dat new file mode 100644 index 00000000..6f156c2d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCms-UHC-V.dat @@ -0,0 +1,3 @@ +xE1 +p .)\ƨ[4DAWTS$CcDx MxA00G޿Cgt.p1c` z9\Μ ؝O.6\_Up2` +at+UTU { y=N \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-H.dat new file mode 100644 index 00000000..acf61b84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-UCS2C.dat new file mode 100644 index 00000000..b10e553e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-V.dat new file mode 100644 index 00000000..e4722c74 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_KSCpc-EUC-V.dat @@ -0,0 +1,2 @@ +xEʱ `Eۦq".`) +jV%`R !dA XU8^L~w#=g.p#`1c:9\ƌ ؝O.j\Ú_UpR`rat+T+UT) h_=. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Katakana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Katakana.dat new file mode 100644 index 00000000..fd967d4f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Katakana.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-H.dat new file mode 100644 index 00000000..7e60acdf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-V.dat new file mode 100644 index 00000000..dc461eb9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_NWP-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_OutputIntent.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_OutputIntent.icc new file mode 100644 index 00000000..1b072d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_OutputIntent.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_PDFA-XMP.4.2.3 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_PDFA-XMP.4.2.3 new file mode 100644 index 00000000..0bb93bfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_PDFA-XMP.4.2.3 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-H.dat new file mode 100644 index 00000000..45d15da6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-V.dat new file mode 100644 index 00000000..21772182 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_RKSJ-V.dat @@ -0,0 +1,2 @@ +x%KJBqw&sW"rIhAHw̙NED\+4qf﷕uoUw7 U" ؋K8+8k8(}uG 4=1PH#=cDL431T/L3sF,;QsDܟDu/" +&npiE/vq)C=WU \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Roman.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Roman.dat new file mode 100644 index 00000000..dfee909d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Roman.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Symbol.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Symbol.ttf new file mode 100644 index 00000000..a961602c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Symbol.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90ms-RKSJ.dat new file mode 100644 index 00000000..73c911b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90pv-RKSJ.dat new file mode 100644 index 00000000..d677b3fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-B5pc.dat new file mode 100644 index 00000000..583a9959 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-ETen-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-ETen-B5.dat new file mode 100644 index 00000000..84dc29b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-ETen-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBK-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBK-EUC.dat new file mode 100644 index 00000000..9086b27e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBK-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBpc-EUC.dat new file mode 100644 index 00000000..4147ed82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-GBpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCms-UHC.dat new file mode 100644 index 00000000..b75d746a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCpc-EUC.dat new file mode 100644 index 00000000..f9fbe4c3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UCS2-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-H.dat new file mode 100644 index 00000000..828f6a5b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-V.dat new file mode 100644 index 00000000..0a6a270b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-H.dat new file mode 100644 index 00000000..488bc329 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-V.dat new file mode 100644 index 00000000..6d7d156e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-H.dat new file mode 100644 index 00000000..7cbbe581 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-V.dat new file mode 100644 index 00000000..a5d16ba9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-H.dat new file mode 100644 index 00000000..a49aea21 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-V.dat new file mode 100644 index 00000000..ee565245 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniCNS-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-H.dat new file mode 100644 index 00000000..c56a1528 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-V.dat new file mode 100644 index 00000000..bc1f554a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UCS2-V.dat @@ -0,0 +1 @@ +xM1k`Eﻓ`+h%t <\%Fbь[w tl'ju?%00?8l}|W%F 'A?~LPAHJbs-%J4Sm**U&Lt74 + aZ4 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-H.dat new file mode 100644 index 00000000..2ad4fa7f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-V.dat new file mode 100644 index 00000000..7ff0ba73 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF16-V.dat @@ -0,0 +1 @@ +xM`E;PDMY,R"=l'9W_ݢZ AOnDɝrFmۉ.F:6X`fkJut *#M"  \yv@A%P L@H|(14 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-H.dat new file mode 100644 index 00000000..cdf16983 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-V.dat new file mode 100644 index 00000000..ce4830a2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniGB-UTF8-V.dat @@ -0,0 +1 @@ +xMKPFovN,(t &-g\ 3qI$cfФj'd1 +~2(Qih"7v{9u;onp`dm7h~y?%^F171c7`sJ +愷<BC8)( >q4QGGFLLOp(=~p:ÑHIOq<=p"=RRzwl9T:'8K7%44Jy͗X_BBtNӕ 7S˴S\VhYZkUi Z5Z:[stnjnչUPu]P#h4jnyQФMIЬ:$h,uXЪG *z? MjAsA^'(k t^/NK,(hAoi X&b] +ETmeLGZLM˕zBGJ)nکWҵzuNtk.XNA^ݠګlԍOЧ}wA:ĵZ  )BRh ȵ16V,gzWn6]p@5؇޵ZOXb {X]^£K<^׾o=;vо8jGmk1;f[m~x=&l~xž='Nj1i;cǔM|kY.qY"GJM4|&bgEF`Y|.|!U<Qj$aODWzH;W<Ml⑀f6 +_sS.< x,`!TD'|7g'hc+,b~.cK Ώ""[|<<VR^+#VqXOe_Ft~.~'7u_Gz F~]8~1NO0AMy1!,0y(` qlvg;8eE߀˪"q+U`E#<*6d5%-B2>:Mf{X \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UCS2-V.dat new file mode 100644 index 00000000..a657c0b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UTF8-V.dat new file mode 100644 index 00000000..cf4182d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISPro-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-H.dat new file mode 100644 index 00000000..a3b5ef63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-V.dat new file mode 100644 index 00000000..365fbf28 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX0213-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-H.dat new file mode 100644 index 00000000..538a3f54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-V.dat new file mode 100644 index 00000000..de0455de Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniJISX02132004-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-H.dat new file mode 100644 index 00000000..ed856026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-V.dat new file mode 100644 index 00000000..f1c50727 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-H.dat new file mode 100644 index 00000000..b66337f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-V.dat new file mode 100644 index 00000000..fecb38f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-H.dat new file mode 100644 index 00000000..d6a7dc7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-V.dat new file mode 100644 index 00000000..7aec18e0 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF32-V.dat @@ -0,0 +1,2 @@ +xM? AqFߟ r-[blRFE&ʧA8ϵܧ9p~Mt flB3WEV@ZfX)rH  +GET`|9pJ~<D\ED\5$bक़#b 2 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-H.dat new file mode 100644 index 00000000..afc93e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-V.dat new file mode 100644 index 00000000..d0110aa4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_UniKS-UTF8-V.dat @@ -0,0 +1 @@ +xMMPӘvdV`n"1`b,QQ2^X@{k$O76[U]U;_4ӕwH3码MO4; ,Hc/+7,WY+ lX&[⩁#jDd84Db⪁1qrCB|a. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_V.dat new file mode 100644 index 00000000..f7b2445d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_WP-Symbol.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_WP-Symbol.dat new file mode 100644 index 00000000..aa6295e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_WP-Symbol.dat @@ -0,0 +1,3 @@ +x%Ja?6 7G1MZ +⮈ENНt^.,WDKɁ#OY"_%~DsF +JY:[K"&+ɮin.Xm/ptc*'0b#gFlΜx䕜DH \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Wingding.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Wingding.ttf new file mode 100644 index 00000000..a50b2cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_Wingding.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ZapfDingbats.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ZapfDingbats.ttf new file mode 100644 index 00000000..649ccd58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_ZapfDingbats.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_fontsubst.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_fontsubst.dat new file mode 100644 index 00000000..32851043 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_fontsubst.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_times.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_times.ttf new file mode 100644 index 00000000..2e69c6a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/_times.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/list.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/list.json new file mode 100644 index 00000000..53a3bf00 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/resources/list.json @@ -0,0 +1,231 @@ +[ +"_Hiragana.dat", +"_EUC-V.dat", +"_B5-H.dat", +"_Adobe-CNS1-6.dat", +"_UCS2-90pv-RKSJ.dat", +"_KSCpc-EUC-V.dat", +"list.json", +"_UniHojo-UCS2-V.dat", +"_V.dat", +"_ETHK-B5-V.dat", +"_78-EUC-V.dat", +"_GBpc-EUC-UCS2C.dat", +"_UniCNS-UCS2-V.dat", +"_UniKS-UTF8-H.dat", +"_UniCNS-UTF16-V.dat", +"_Wingding.ttf", +"_Ext-H.dat", +"_GBK-EUC-H.dat", +"_UniHojo-UCS2-H.dat", +"_ETen-B5-UCS2.dat", +"_KSCms-UHC-HW-V.dat", +"_HKgccs-B5-H.dat", +"_HKm314-B5-V.dat", +"_UniKS-UTF16-H.dat", +"_Adobe-CNS1-4.dat", +"_Adobe-CNS1-3.dat", +"_CourierStdToNew.dat", +"_Hojo-EUC-H.dat", +"_GB-H.dat", +"_CNS1-H.dat", +"_90pv-RKSJ-UCS2C.dat", +"_Add-V.dat", +"_HKscs-B5-H.dat", +"_Adobe-Japan1-5.dat", +"_WP-Symbol.dat", +"_KSCpc-EUC-UCS2C.dat", +"_Ext-RKSJ-V.dat", +"_UniHojo-UTF8-H.dat", +"_78-RKSJ-H.dat", +"_GBT-EUC-H.dat", +"_RKSJ-V.dat", +"_Adobe-CNS1-1.dat", +"_Ext-V.dat", +"_Adobe-Korea1-KSCpc-EUC.dat", +"_UniHojo-UTF8-V.dat", +"_UCS2-90ms-RKSJ.dat", +"_Adobe-GB1-2.dat", +"_Adobe-GB1-1.dat", +"_DroidSansMono.ttf", +"_UniJISX02132004-UTF32-H.dat", +"_UniHojo-UTF16-H.dat", +"_90msp-RKSJ-H.dat", +"_UniGB-UCS2-V.dat", +"_Identity-H.dat", +"_CNS-EUC-H.dat", +"_UniGB-UTF8-H.dat", +"_83pv-RKSJ-H.dat", +"_UCS2-B5pc.dat", +"_GBT-V.dat", +"_KSCms-UHC-V.dat", +"_UniKS-UTF8-V.dat", +"_CNS2-H.dat", +"_UniGB-UTF16-H.dat", +"_Add-RKSJ-H.dat", +"_UniGB-UTF16-V.dat", +"_UCS2-ETen-B5.dat", +"_UniJIS2004-UTF32-V.dat", +"_UniCNS-UTF32-V.dat", +"_UniHojo-UTF32-V.dat", +"_UniKS-UCS2-V.dat", +"_HKm471-B5-H.dat", +"_UCS2-KSCpc-EUC.dat", +"_Adobe-Korea1-UCS2.dat", +"_UCS2-GBpc-EUC.dat", +"_Adobe-CNS1-UCS2.dat", +"_78-EUC-H.dat", +"_UniJISX0213-UTF32-V.dat", +"_times.ttf", +"_B5pc-V.dat", +"_UCS2-KSCms-UHC.dat", +"_Adobe-CNS1-H-CID.dat", +"_Adobe-GB1-0.dat", +"_KSC-Johab-H.dat", +"_UniHojo-UTF16-V.dat", +"_UniJIS-UCS2-H.dat", +"_ETHK-B5-H.dat", +"_UniGB-UTF32-V.dat", +"_Adobe-GB1-UCS2.dat", +"_ETenms-B5-V.dat", +"_Adobe-Japan1-0.dat", +"_UniJISX0213-UTF32-H.dat", +"_B5pc-UCS2C.dat", +"_DefaultCMYK.icc", +"_UniCNS-UTF16-H.dat", +"_UniGB-UCS2-H.dat", +"_Roman.dat", +"_Adobe-Japan1-2.dat", +"_Hojo-V.dat", +"_UniCNS-UCS2-H.dat", +"_Adobe-CNS1-H-Host.dat", +"_KSC-EUC-V.dat", +"_90ms-RKSJ-H.dat", +"_UniJIS2004-UTF16-V.dat", +"_GB-EUC-V.dat", +"_Add-RKSJ-V.dat", +"_UniJIS-UTF16-H.dat", +"_Adobe-GB1-3.dat", +"_Add-H.dat", +"_90ms-RKSJ-UCS2.dat", +"_Adobe-Japan1-1.dat", +"_Adobe-Japan1-90ms-RKSJ.dat", +"_Adobe-Japan1-UCS2.dat", +"_HKscs-B5-V.dat", +"_DroidSansFallbackFull.ttf", +"_HKdlb-B5-H.dat", +"_UniJIS-UTF32-V.dat", +"_KSCpc-EUC-H.dat", +"_HKdla-B5-H.dat", +"_UniGB-UTF8-V.dat", +"_Adobe-Japan1-H-CID.dat", +"_Adobe-Korea1-0.dat", +"_UniKS-UCS2-H.dat", +"_UniJIS-UTF8-V.dat", +"_90pv-RKSJ-UCS2.dat", +"_UniJIS-UTF32-H.dat", +"_Adobe-Japan1-4.dat", +"_UniJISPro-UCS2-HW-V.dat", +"_Hojo-H.dat", +"_ETen-B5-H.dat", +"_Adobe-CNS1-B5pc.dat", +"_fontsubst.dat", +"_GBpc-EUC-H.dat", +"_90pv-RKSJ-H.dat", +"_GBK2K-V.dat", +"_78-H.dat", +"_Hankaku.dat", +"_Adobe-CNS1-5.dat", +"_UniCNS-UTF32-H.dat", +"_UniGB-UTF32-H.dat", +"_B5-V.dat", +"_EUC-H.dat", +"_UniKS-UTF16-V.dat", +"_HKdlb-B5-V.dat", +"_Adobe-Japan1-6.dat", +"_78ms-RKSJ-H.dat", +"_Ext-RKSJ-H.dat", +"_HKm471-B5-V.dat", +"_90msp-RKSJ-V.dat", +"_UniJIS2004-UTF32-H.dat", +"_B5pc-UCS2.dat", +"_Adobe-Korea1-KSCms-UHC.dat", +"_90ms-RKSJ-V.dat", +"_HKm314-B5-H.dat", +"_Adobe-GB1-4.dat", +"_GBT-EUC-V.dat", +"_GB-V.dat", +"_Adobe-Korea1-H-Mac.dat", +"_UniJISPro-UTF8-V.dat", +"_UniHojo-UTF32-H.dat", +"_Adobe-Japan1-90pv-RKSJ.dat", +"_78-RKSJ-V.dat", +"_OutputIntent.icc", +"_GBK2K-H.dat", +"_NWP-V.dat", +"_ZapfDingbats.ttf", +"_KSC-H.dat", +"_GBKp-EUC-H.dat", +"_KSCms-UHC-H.dat", +"_UniJIS-UCS2-HW-V.dat", +"_ETen-B5-V.dat", +"_ETenms-B5-H.dat", +"_Adobe-Korea1-H-CID.dat", +"_H.dat", +"_Adobe-Korea1-H-Host.dat", +"_UniJIS-UCS2-HW-H.dat", +"_Adobe-Japan1-3.dat", +"_Symbol.ttf", +"_Adobe-CNS1-H-Mac.dat", +"_RKSJ-H.dat", +"_90pv-RKSJ-V.dat", +"_Adobe-Korea1-2.dat", +"_78ms-RKSJ-V.dat", +"_CNS-EUC-V.dat", +"_KSC-V.dat", +"_B5pc-H.dat", +"_GBKp-EUC-V.dat", +"_Adobe-CNS1-2.dat", +"_78-V.dat", +"_GBpc-EUC-V.dat", +"_HKdla-B5-V.dat", +"_CNS2-V.dat", +"_KSCms-UHC-UCS2.dat", +"_CNS1-V.dat", +"_GB-EUC-H.dat", +"_Adobe-GB1-5.dat", +"_Adobe-CNS1-ETenms-B5.dat", +"_KSC-Johab-V.dat", +"_UniKS-UTF32-H.dat", +"_Identity-V.dat", +"_UniJISPro-UCS2-V.dat", +"_UniJIS2004-UTF8-V.dat", +"_UniJIS-UTF8-H.dat", +"_Adobe-CNS1-0.dat", +"_PDFA-XMP.4.2.3", +"_UniJIS-UCS2-V.dat", +"_UniKS-UTF32-V.dat", +"_GBK-EUC-UCS2.dat", +"_GBK-EUC-V.dat", +"_HKgccs-B5-V.dat", +"_KSCms-UHC-HW-H.dat", +"_UniCNS-UTF8-H.dat", +"_Adobe-Japan2-0.dat", +"_GBT-H.dat", +"_Katakana.dat", +"_GBTpc-EUC-H.dat", +"_UniJIS2004-UTF16-H.dat", +"_Hojo-EUC-V.dat", +"_UCS2-GBK-EUC.dat", +"_UniCNS-UTF8-V.dat", +"_KSC-EUC-H.dat", +"_Adobe-Japan1-H-Mac.dat", +"_UniJIS2004-UTF8-H.dat", +"_Adobe-Korea1-1.dat", +"_UniJISX02132004-UTF32-V.dat", +"_Adobe-Japan1-H-Host.dat", +"_UniJIS-UTF16-V.dat", +"_NWP-H.dat", +"_GBTpc-EUC-V.dat", +"_Adobe-CNS1-7.dat" +] diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/supportFiles/0_runtimeconfig.bin b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/supportFiles/0_runtimeconfig.bin new file mode 100644 index 00000000..c33b89a9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/gdpicture-e184469a/jit/supportFiles/0_runtimeconfig.bin @@ -0,0 +1 @@ + MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse6System.Reflection.Metadata.MetadataUpdater.IsSupportedfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalsebutton{fill:#4d525d;fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);background-color:#f6f8fa;background-color:var(--PSPDFKit-FormDesignerExpandoComponent-button-color);color:#4d525d;color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);letter-spacing:.03rem;margin:0;padding-left:6px;text-transform:uppercase}.PSPDFKit-9kt28ket9qkhevfbz7cbbw1hb>button:hover{fill:#2b2e36;fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);color:#2b2e36;color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);cursor:pointer}.PSPDFKit-4qbtrs7uku7m1vc5hra33bpuyg{display:flex;padding:0.46875em;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wag8ffkyv8h2tybvhe7amk9nm{height:22px;margin-right:0.46875em;margin-right:var(--PSPDFKit-spacing-7);width:12px}.PSPDFKit-5sx5qx4udha76yjmqjkh932ffg{fill:#000;fill:var(--PSPDFKit-FormDesignerExpandoComponent-content-color);color:#000;color:var(--PSPDFKit-FormDesignerExpandoComponent-content-color)} +.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube{align-items:center;background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:flex;font:inherit;justify-content:center;line-height:normal;padding:0;touch-action:pan-x;width:auto}.PSPDFKit-86bf3wbtmfc5xa3yfd4fazea9y,.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube:disabled{cursor:default;pointer-events:none}.PSPDFKit-5734rhbbfgd613g81qs13md49y{margin-right:11px}.PSPDFKit-2n6h3jcy1kke81pjgewmpnqa34{cursor:not-allowed} +.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{background:transparent;border:none;color:#fff;color:var(--PSPDFKit-ColorDropdown-customColor-deleteButton-color);display:none;height:16px;padding:0;position:absolute;right:-6px;top:-7px;width:16px}@media(max-width:992px)and (hover:none){.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{align-items:center;border-radius:5px;display:flex;height:34px;justify-content:center;right:-30px;top:-1px;width:30px;z-index:1}.PSPDFKit-996xvngvf7q6px5aesbyjcvt5 svg{height:24px;width:24px}}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover .PSPDFKit-996xvngvf7q6px5aesbyjcvt5{display:block}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc{position:relative}@media(max-width:992px){.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background)}} +.PSPDFKit-61pwj551swb751vsvtncfs97hr{background:#fcfdfe;background:var(--PSPDFKit-DropdownMenu-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-DropdownMenu-border);border-radius:4px;box-shadow:0 3px 12px rgb(61 66 78 / 0.5);box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:#2b2e36;color:var(--PSPDFKit-DropdownMenu-color);list-style:none;margin:0;padding:0.609em;padding:var(--PSPDFKit-spacing-6);-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-3txgs1brv6djswfx9c7deps2u2{border:0;height:0;padding:0}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-8f8f78v7f3wp5n55qwjfz6qd98{visibility:hidden}.PSPDFKit-33kurg23vuastg415g558n9d74{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:inherit;cursor:pointer;display:flex;font:inherit;height:34px;justify-content:flex-start;line-height:normal;padding:0 11px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-width-md .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-sm .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-xs .PSPDFKit-33kurg23vuastg415g558n9d74{display:none}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-DropdownMenu-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:space-between;padding:0.46875em;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#848c9a;fill:var(--PSPDFKit-DropdownMenu-button-fill)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq),.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within]{background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq) .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd,.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within] .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within{background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-5nr9hus8pqrwezzkgpd829srq5{background:#f0f3f9;background:var(--PSPDFKit-DropdownMenu-isSelected-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-isSelected-color)}.PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd.PSPDFKit-5qky4ks8vy64a1wucbs25k86sv{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d{max-width:200px}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{background-color:transparent;border:0;height:44px;margin:0;transition:background-color .15s,color .15s}.PSPDFKit-2h6u1uvepb29aceyswrhabn442 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5{fill:currentColor;display:flex;flex-direction:column;height:24px;justify-content:center;width:24px}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442[data-focus-within],.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:active,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:hover,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5[data-focus-within]{background-color:#f0f3f9;background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:#3d424e;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus-within,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus-within{background-color:#f0f3f9;background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:#3d424e;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8[data-focus-within],.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:active,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:hover,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k[data-focus-within]{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus-within,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus-within{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{min-width:44px;padding:0 11px}.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh{display:flex}.PSPDFKit-2h6u1uvepb29aceyswrhabn442{color:inherit;padding:0 5px}.PSPDFKit-32j2tkxs7yf83d9vrqs2np1xja{align-items:center;cursor:pointer;display:flex;justify-content:center;padding:0;width:44px}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:.8}:active>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:focus>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:hover>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:1}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{border:0;padding:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-right:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{transition:none}.PSPDFKit-7t6uf3numwbvg2qg3x9sx7rkjx .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-left:0}.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{background:transparent}.PSPDFKit-67e5xx7a8j97ze41fv1th56sbu{margin-right:11px}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity);pointer-events:none}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4 i,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled i{fill:#848c9a;fill:var(--PSPDFKit-ToolbarButton-isDisabled-child-fill)}.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:active,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:focus,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:hover{background:#4636e3!important;background:var(--PSPDFKit-ToolbarButton-isActive-background)!important;color:#fff!important;color:var(--PSPDFKit-ToolbarButton-isActive-color)!important}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe.PSPDFKit-7mpjdpbxyc5gttymwetaz47j3q{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity)} +.PSPDFKit-224gyk59mnmuy1j6u58s8bcf2p [tabindex]:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.PSPDFKit-3mxmx3p3whct5a2qk5bsb3v7rg[tabindex]:focus:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color} +.PSPDFKit-6eekmx2r3rzpn49557vdt2e5tj{fill:currentColor;display:flex;flex:24px 0 0;flex-direction:column;height:24px;justify-content:center;width:24px} +.PSPDFKit-3rtr4tx6y919hj63k8j6veyfvu{align-items:center;display:flex;flex-direction:row;height:30px;justify-content:center;min-width:30px}.PSPDFKit-2f2ahvz6xw42cz6ppqg7qrnv5w{background-color:transparent;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjQ5NyAxMkg3LjUwM00xMiA3LjUwM3Y4Ljk5NC04Ljk5NFoiIHN0cm9rZT0iIzg0OEM5QSIgc3Ryb2tlLXdpZHRoPSIxLjI1IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xMiAyMS41YTkuNSA5LjUgMCAxIDAgMC0xOSA5LjUgOS41IDAgMCAwIDAgMTlaIiBzdHJva2U9IiM4NDhDOUEiLz48L3N2Zz4=");background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:50%;cursor:pointer}input[type=color]::-webkit-color-swatch{visibility:hidden}input[type=color]::-moz-color-swatch{visibility:hidden} +.PSPDFKit-4knn6qcs6mfzubc11j3jn3kdh9{align-items:center;color:inherit;display:flex;font-size:inherit;line-height:32px;margin:5px}.PSPDFKit-5sa85wwcx2g58bvnwu3e9vxux8{padding-right:6px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa{align-items:center;display:flex;position:relative;width:140px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;min-width:70px;padding:0;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-runnable-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#4636e3;background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid #fff;border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;margin-top:-4px;-webkit-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:hover{background:#190d94;background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]:focus::-webkit-slider-runnable-track{background:#4636e3}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-progress{background:#4636e3;border:0 solid #4636e3;border:0 solid var(--PSPDFKit-SliderComponent-track-progress-color);border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb{background:#4636e3;background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid #fff;border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;-moz-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:hover{background:#190d94;background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-focus-outer{border:0}.PSPDFKit-6b7xgm3nqzh79vcp4knygzskc2{margin-left:8px;text-align:right;white-space:nowrap} +.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1{align-items:center;color:inherit;cursor:pointer;display:flex;font-size:inherit;line-height:32px;margin:5px;position:relative}.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1:focus{outline:none}.PSPDFKit-8mewb5unfae7pfb8a3vhx2pfe4{cursor:pointer;margin-right:10px;position:relative}.PSPDFKit-7s1evqenghjbnmpkjx46g7aj7a{padding-right:6px}.PSPDFKit-4tsachwba3d2gug8ut8n2k7kw2{cursor:pointer;line-height:1;text-align:right;white-space:nowrap}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-items-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-items-border);display:none;list-style:none;margin:0;min-width:100%;overflow:visible;position:absolute;text-align:left;top:100%;z-index:100}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm:focus{outline:none}.PSPDFKit-width-md .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-sm .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xs .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{left:auto!important;right:0}.PSPDFKit-86g1a3rfhteap5bxhyrt2js27u{bottom:100%;top:auto}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-button-color);cursor:pointer;font:inherit;line-height:1;min-width:5em;padding-right:20px;text-align:center;width:100%}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn:hover .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#090c12;fill:var(--PSPDFKit-SliderDropdownComponent-button-isHovered-color)}.PSPDFKit-7bepqp75z28r5jat89hqdhcjva{display:flex}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#848c9a;fill:var(--PSPDFKit-SliderDropdownComponent-button-toggle-color);line-height:1;position:absolute;right:5px;top:50%;transform:translateY(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#090c12;fill:var(--PSPDFKit-SliderDropdownComponent-button-show-color)}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1 svg{height:12px;width:12px}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu{border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-SliderDropdownComponent-item-border);clear:both;color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-item-color);display:block;overflow:hidden;padding:10px;text-decoration:none;white-space:nowrap}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu:last-child{border-bottom:0}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8{background:--PSPDFKit-SliderDropdownComponent-item-isFocused-background;color:#fff;color:var(--PSPDFKit-SliderDropdownComponent--item-isFocused-color)}.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:--PSPDFKit-SliderDropdownComponent-item-isSelected-background}.PSPDFKit-6baefa9vw8uyyrsvfez7h3ewrq{color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-color);opacity:0.3;opacity:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity)}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:#4636e3;background:var(--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background);font-weight:700}.PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{display:block;left:50%}.PSPDFKit-width-lg .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xl .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{transform:translateX(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm>a{outline:0}.PSPDFKit-4xjmg49gjvk5zp5p42ms81uw4h{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-dropdown-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-dropdown-border);border-radius:3px;box-shadow:0 3px 12px rgb(61 66 78 / 0.5);box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:#848c9a;color:var(--PSPDFKit-SliderDropdownComponent-dropdown-color);height:auto;margin-top:5px;opacity:1;position:absolute;width:auto;z-index:2}.PSPDFKit-2cuzr66tz354vn9dgkzb1pwq4b{position:static} +.PSPDFKit-5w3r6933jce2abq346fpwgue51{flex-direction:row-reverse;justify-content:space-between;padding:2px;width:100%}.PSPDFKit-5w3r6933jce2abq346fpwgue51:after{box-shadow:none;color:#090c12;color:var(--color-coolGrey1000);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:800;left:13px;right:.3125rem;top:0}.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{border-radius:50%;margin-left:.5rem;margin-right:0}.PSPDFKit-45ug7rn2wuu9n7de4t3y1vuqwa:checked+.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{background-color:#bec9d9;background-color:var(--color-coolGrey200);border-color:#bec9d9;border-color:var(--color-coolGrey200);box-shadow:none} +.PSPDFKit-6zammky19ps21racepzhy8rr4j{align-items:center;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-6zammky19ps21racepzhy8rr4j:last-child{border-bottom:none}.PSPDFKit-2973scygnut2d1y23dq3gdzwkg{display:flex;height:24px;width:24px}.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{flex:1 0;margin:0 1rem}.PSPDFKit-4jkuv1k2kb5b4d6b929psybced,.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c{height:30px}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-78jtbtb2j2q11tpjx4jn1wvwvk{background-color:#fff;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv{height:30px;margin:0}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-6gk4p1adjfr1kg7hjpk3dgvtwc{height:20px;width:20px}.PSPDFKit-4eqdajsqgt941vw7crd9u82kmt{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{display:none}.PSPDFKit-width-md .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-sm .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-xs .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{align-items:center;display:block}.PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-sm .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-xs .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{display:none}.PSPDFKit-5rw15mhzf9ycre4r1g7q2ptv9h{padding:0}.PSPDFKit-3691qqtsdq1317y5z7k3ak5jgk{height:32px}.PSPDFKit-68nrp97epj74ah3dwvjg79nfmr{align-items:center;border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-5fqyghhu3ajdj6t464j4ufdk6q{color:#848c9a;color:var(--color-coolGrey400);flex:1 0;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-7qt3uxz4r5wpssw2bbe778ga4g{align-items:center;display:flex;padding:0 1em 1em;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-edsr1ac3tdhjwcufzhwq9jz98{height:16px;margin-right:8px;width:16px}.PSPDFKit-8fdb8fsm3rux9gpz8ggdyhhsyb{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);line-height:0.815rem;line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag{position:relative}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag>div:first-child{cursor:not-allowed}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3{pointer-events:none}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3 input{background-color:transparent!important}.PSPDFKit-6eg6h7jnq9b1wjwv6kf3eqsd7b{padding-bottom:1.625em!important;padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-sm .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-xs .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e{border-radius:3px;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover{background-color:initial}.PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid #2b1cc1;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)} +.PSPDFKit-6r17fy6uh5kqy3cfjb73vq9v1v{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-2uhz161knhrkpzrb5mn5na3aqr{width:100%}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{align-items:center;display:flex;flex-grow:1}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row;justify-content:flex-start}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3.PSPDFKit-2qbav5sard6dxefsy6p5gufajq{flex-direction:row}.PSPDFKit-318vz1kpftbtjp8eccy824g4m6 .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-78mpt2swt4apfep3ag7quqq6me{align-items:center;height:44px}.PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{margin-right:6px}.PSPDFKit-532n3mbvmujvwmv3zweh7u59u7{height:32px}.PSPDFKit-8b7caq86m7x4bkzf3ecjwqesrz button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1{align-items:center;width:100%}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1,.PSPDFKit-559g7qqwsyx86ydrj6d8x6kwqz{display:flex;flex-direction:column}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{margin:0 8px}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-sm .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-xs .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{display:none}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s{display:flex;flex:1}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j),.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j){cursor:default}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:block}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-sm .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-xs .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{display:none}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2 button{height:32px}.PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-4aap34xg2exyha2wvgep2kbrsr{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-sm .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-xs .PSPDFKit-6panjxae2rqax33e2x13v8zhd7{display:none}.PSPDFKit-63mkqz864gr762bjh37u3z33ks,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{align-items:center;display:flex}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z circle,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z line,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z path,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polygon,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polyline,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z rect,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 circle,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 line,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 path,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polygon,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polyline,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 rect,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w circle,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w line,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w path,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polygon,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polyline,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z button,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 button,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w button{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{width:64px}.PSPDFKit-width-md .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-sm .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-xs .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{left:0;right:auto!important}.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{width:96px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks{height:32px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:hover,.PSPDFKit-63mkqz864gr762bjh37u3z33ks[data-focus-within]{background:transparent}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:focus-within{background:transparent}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3),.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3) span,.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-xjmpbe2ndu31ngzn7k6thcce2{width:100px}}.PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-md .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-sm .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-xs .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-md .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-sm .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-xs .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover{background:transparent!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:active,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:focus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:hover,.PSPDFKit-7hajh57r86sbfab9agdabjpdus.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-qq4v7j3ztmbsu7sszn7n6eedz,.PSPDFKit-53qj5y7xwpxf385e5qupnueez4{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-67g1s4jvmu1dwuq693983pavtq{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-6kwwztxzkww77985knzv4yj25t{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-6kwwztxzkww77985knzv4yj25t.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:active,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p3fhayknwfc2wy838mm6uf6ts{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5qha63wcjhyk977pmb11w183gf:first-child,.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:first-child{border-left:none!important}.PSPDFKit-7pxe4xgby27sg3gch3hgymc65k{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3fr3j3qzhb8zms4ha22gf8ap4w{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-7vux3363c2h5bhhue8x2tgc2d8{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-55tsnvt1cbusd6n1b314embzfj{height:16px;width:16px}.PSPDFKit-ve8hjm9h24pnag6snsj5hqyba{width:max-content}.PSPDFKit-364rxkqcrexqk43jvg479qt5us{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm,.PSPDFKit-5rx1gxu9ku1pmjedwxt4bb8tcs{display:flex}.PSPDFKit-2v57cb7nenh6qvs2r55dm7ftbf{height:20px;width:20px}.PSPDFKit-42uwtdws1bb24aernmbsz8ndnc,.PSPDFKit-8497hrdu98kjamf5s4gjf2bqmd{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{display:none}.PSPDFKit-width-md .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-sm .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-xs .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-3smmwjpf56cyb4zkshtg21jz2s,.PSPDFKit-7bwhutmv5jg6hggz6hp8kfcaxy{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-sm .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-xs .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694{align-items:center}.PSPDFKit-823r5gtrunhm37br45pwje8e5c,.PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-sm .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-xs .PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:0}.PSPDFKit-j3u5td7da5d2g12j3qb8kpqeq{align-items:center;display:inline-flex}.PSPDFKit-74acavk6n23dwq957gtnmbyyrf{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-6dqybwsyjvqprdkfh1d5t3w2yj{max-width:110px}.PSPDFKit-87t3tq755fdm56p5111u2h5a4g{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:active,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:focus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s span{max-width:60px;overflow-x:hidden}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:none!important}}.PSPDFKit-p9ftrww9ym9pd2eqpps4xf6fp{display:inline-flex}.PSPDFKit-68jg3chhe27v2qnds97q2btw4c{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-3hf9zjqgg3t2aehba45fzmw9nc{margin-left:4px}.PSPDFKit-4g9caken58dfxv7snyka36rppq{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5mpcapg77fbdwa2sj3mz1x79hy span{align-items:center;display:flex;justify-content:center}.PSPDFKit-8bdhrea5ynkgph4wjuf7eenccs{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn label{align-items:center;display:flex;justify-content:center}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn span{color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-8bdhrea5ynkgph4wjuf7eenccs{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}} +.PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{bottom:0;cursor:inherit;left:0;mix-blend-mode:multiply;position:absolute;right:0;top:0;-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-browser-engine-webkit .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66::selection{background:transparent}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-android .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-windows .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{opacity:.2}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66 .PSPDFKit-3p1jq2xuq7kt61btvzbmcvfsdg{bottom:0;cursor:default;left:0;position:absolute;right:0;top:100%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t{cursor:inherit;display:block;height:100vh;position:absolute;width:100vw;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t ::selection{background-color:transparent!important}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw,.PSPDFKit-7mqrwx6ruetyxx1crt7g8tj53b{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{color:transparent;display:block;font-family:Arial,sans-serif;font-size:16px!important;font-weight:400;line-height:1;margin:0;position:absolute;text-align:left;transform-origin:0 0 0;white-space:pre}.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw ::selection{background-color:#2378ff}.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:highlight;color:transparent}.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff;color:#2378ff}.PSPDFKit-browser-system-linux .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff}.interactions-disabled .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{content:"";height:150%;position:absolute;top:-10%;width:100%}.PSPDFKit-browser-engine-blink .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before,.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{display:none}.PSPDFKit-55tte6u6fczpks4kxqrywvkhcv{height:50%;position:absolute;width:100%}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:text}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x.PSPDFKit-68wd7m2jrz9c462vgy6yvba62f{cursor:vertical-text}.PSPDFKit-CursorPointer .PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:inherit!important}.PSPDFKit-2tg9p1utsyyke5vpebq5gc3413{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-3a9hp6ezp9vyzwpeksepg43552{color:red;outline:1px solid red}.PSPDFKit-6fq5ysqkmc2gc1fek9b659qfh8{display:block} +.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h{background-color:rgba(236,240,255,.9);border:1px solid #7f96ed;box-sizing:border-box;display:block;font-family:Helvetica,sans-serif;margin:0}.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h:hover{outline:1px solid #7f96ed}.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19,.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19:hover{background-color:hsla(0,0%,94%,.9);border-color:#cacaca;color:gray;cursor:default}.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:focus-visible,.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus-visible:focus{outline:5px auto Highlight}.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4,.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:hover,.PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus{background-color:#fffb8b;border-color:#beb700;color:#333}.PSPDFKit-x9z86ubc4peun53ye7m7udhyp:focus{padding-left:0!important}.PSPDFKit-cr6q4n8xfg6vtzd5q658psukz{display:flex;flex-direction:column} +.PSPDFKit-8djq2v9hms33ptxdax4spyth66{background-clip:padding-box;background-color:#3d464d;border:0 solid transparent;border-radius:6px;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:1000}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm,.PSPDFKit-8djq2v9hms33ptxdax4spyth66{display:block;position:absolute}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm{border:5px solid transparent;color:#3d464d;height:0;width:0}.PSPDFKit-6b9stttuxax9qewr2yxczpv3yz{border-bottom-width:0;border-top-color:initial}.PSPDFKit-6zjksunaugtab91x5bucrc5pa6{border-bottom-color:initial;border-top-width:0}.PSPDFKit-6bfp163dnjfdkd9f9m84znw1uj{border-left-color:initial;border-right-width:0}.PSPDFKit-7es6pryn4pwz64rxf4payggfh1{border-left-width:0;border-right-color:initial} +.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow{color:#f0f3f9;color:var(--PSPDFKit-ExpandingPopoverComponent-background-color);z-index:1001}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Right{filter:drop-shadow(-1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Left{filter:drop-shadow(1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Top{filter:drop-shadow(0 3px 2px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Bottom{filter:drop-shadow(0 -1px 2px rgba(43,50,59,.1))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover{background-color:#f0f3f9;background-color:var(--PSPDFKit-ExpandingPopoverComponent-background);box-shadow:0 1px 2px rgba(43,50,59,.4),0 3px 4px rgba(43,50,59,.1);z-index:1000}.PSPDFKit-8ahxg2rbtxn2ubnutukzs28dqn{display:none}.PSPDFKit-4jrgdk842q6nrzgfag4cvz7hsa{border-radius:6px;overflow:hidden;text-align:left;width:360px}.PSPDFKit-7bx43nrztecej9c1j8qw9tshdy{display:flex;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7w1dhbtytq2jfdb48gs1ywe8jm{border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);color:#2b2e36;color:var(--PSPDFKit-ExpandingPopoverComponent-title-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0;padding:0.8125em 1em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4);word-break:break-all}.PSPDFKit-7dajp2vmg4zxw9ambet64n9umu{background-color:#fff;background-color:var(--PSPDFKit-ExpandingPopoverComponent-content-background);color:#000;color:var(--PSPDFKit-ExpandingPopoverComponent-content-color);display:flex;flex:1 1 auto;flex-direction:column;overflow:auto}.PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border)}.PSPDFKit-width-md .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-sm .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-xs .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{align-items:center;display:flex;justify-content:flex-end;padding:0.8125em 1em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4)}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;color:#4636e3;color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0;padding:1.125rem 1em;padding:1.125rem var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77:hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background);cursor:pointer}.PSPDFKit-41mt66hwvjgy4qa89c1mtspd1a{animation:PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6 .2s;animation-iteration-count:1}@keyframes PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6{0%{transform:translate(2px)}25%{transform:translate(0)}50%{transform:translate(-2px)}75%{transform:translate(0)}80%{transform:translate(2px)}to{transform:translate(1px)}}.PSPDFKit-79jfh5ner7hhtyf4y5s4u8az38{text-align:center} +.PSPDFKit-4q6rf47rhqhrpm9gdfefxt7qxa{padding:0.46875em 1em;padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4)}.PSPDFKit-nt12adttbyb52awsgj2pvucxy{color:#3d424e;color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa{border-color:#bec9d9;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-border-color);color:#000;color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:active,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:hover{border-color:#4636e3;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-42bq6cs954sqg5h9qybewg7j71,.PSPDFKit-42bq6cs954sqg5h9qybewg7j71:focus{border-color:#d63960;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)}.PSPDFKit-m39r8ehbhmf2d2t2fhn5emy6h{color:#d63960;color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerTextInputComponent-border-color);border-radius:2px;color:#000;color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);cursor:pointer;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:0}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:active,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:hover{border-color:#4636e3;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub{border:1px solid transparent;border-right-width:10px;height:40px;width:100%}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover{border-color:transparent}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt{-webkit-appearance:none;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==) no-repeat 100% 50%;padding-bottom:8px;padding-top:8px}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:active,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:focus,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:hover{border-color:#d8dfeb;border-color:var(--PSPDFKit-Button--default-isDisabled-borderColor)} +.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:center;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq:last-child,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau:last-child,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258:last-child{border-bottom:none}.PSPDFKit-nmsane1s7x9rp49pa42tzpgya{display:flex;height:24px;width:24px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{flex:1 0;margin:0 1rem}.PSPDFKit-24yucwgnrz6dxz6nmkt9jremkb,.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc,.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf{height:30px}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-6e6bk97ea2ucn9vbtxktfajm2p{background-color:#fff;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-82a458mhumnurhq39us7zu6hyz{height:30px;margin:0}.PSPDFKit-82a458mhumnurhq39us7zu6hyz .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-5nmcjw7r4p1h2nd2mexfegg2rt{height:20px;width:20px}.PSPDFKit-3cbxsq6nmh9r4f5756r6c95c7m{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{display:none}.PSPDFKit-width-md .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-sm .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-xs .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{align-items:center;display:block}.PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-sm .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-xs .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{display:none}.PSPDFKit-u1vpgqn2y5rje53z63f7mq5er{padding:0}.PSPDFKit-51c4fjecxrh9h4tcuygx1te5q8{height:32px}.PSPDFKit-ncuqwmdusv2msxq73z6fzb24z{align-items:center;border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-4ua7xnacac2pm8hhds1kq2me5u{color:#848c9a;color:var(--color-coolGrey400);flex:1 0;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-2abxjf7c5m54s1fbpjybj51p2m{align-items:center;display:flex;padding:0 1em 1em;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-4enmf2wc85hnr4743bkg1tyeer{height:16px;margin-right:8px;width:16px}.PSPDFKit-6z22nmct2crec69qf41ena61ub{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);line-height:0.815rem;line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-4nrcak3ru32krpendekckcwwv8{position:relative}.PSPDFKit-4nrcak3ru32krpendekckcwwv8>div:first-child{cursor:not-allowed}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49{pointer-events:none}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49 input{background-color:transparent!important}.PSPDFKit-8zzdqsxn1q94q3wn44vjes6g2r{padding-bottom:1.625em!important;padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-sm .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-xs .PSPDFKit-71vy88q3wndydgre2e58gj53rd{border-radius:3px;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover{background-color:initial}.PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid #2b1cc1;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:flex-start;border-bottom:none;flex-direction:column;height:auto;justify-content:center;width:100%}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq{height:50px}.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc{color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc{align-items:center;padding-bottom:0!important;width:100%}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc,.PSPDFKit-4fbe83fym7dgut61w2nf74r473{display:flex;flex-direction:row;padding-bottom:.5rem}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g{align-items:center;border-top:1px solid var(--PSPDFKit-MeasurementPopoverComponent-separator-color);display:flex;flex-direction:row;justify-content:space-between;padding-top:.5rem;width:100%}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg>div,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g>div{display:flex;flex-direction:row;gap:6px}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg{align-items:flex-start;color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg svg{padding-top:4px}.PSPDFKit-83b7zxjm332wqcc4s5gvrxfucj{display:flex;flex-direction:row;gap:6px}.PSPDFKit-5xp4qfj9u68z92e75mcf5nqkcg select{height:100%}.PSPDFKit-3bdhuh7gr82rtyrxt33vmpj2hk{margin:0 8px 0 0}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy{padding-top:10px}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy,.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color)}.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{margin-left:14px;margin-right:14px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{margin:0}.PSPDFKit-29u9ktdbpp3nysqgxn6naha4m8{display:flex;flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem} +.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98{max-height:660px;min-width:360px;padding:0;width:auto}.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98 p{margin:0}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:16px;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);min-height:46px;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9:last-child{border:none}.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{align-items:center}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd,.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{justify-content:space-between}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd{align-items:baseline;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:10px;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);padding:0.609em 0;padding:var(--PSPDFKit-spacing-6) 0}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd:first-child{padding-top:0}.PSPDFKit-6xaquyhkgnnz83eh3tcntmwpqp{column-gap:8px;display:flex;flex-direction:row}.PSPDFKit-7zz1pa7xv6wgt2y9szvhke9935{align-items:center;column-gap:8px;cursor:pointer;display:flex;font-size:14px;padding-top:8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);padding:8px 0}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:first-child{padding:0 0 8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:last-child{border:none;padding:8px 0 0}.PSPDFKit-37dv4qsruvxu93evjeh9gtqdna{width:80%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt{color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);display:flex;flex-direction:column;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);width:85%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt:last-child{border:none}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m,.PSPDFKit-32yn21p1rhkx6139tfee43rskf{background-color:#f0f3f9;background-color:var(--PSPDFKit-MeasurementSettingsModal-background-color);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);min-height:46px;overflow:hidden;text-align:left;width:100%}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m button,.PSPDFKit-32yn21p1rhkx6139tfee43rskf button{align-items:center;display:flex;height:32px;justify-content:center;width:103px}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m{border:none;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);column-gap:8px;justify-content:flex-end}.PSPDFKit-88em62dff33bjz4dpcz217kgw1{background-color:#f6f8fa;background-color:var(--PSPDFKit-MeasurementSettingsModal-section-background-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);margin:0;min-height:35px;text-transform:uppercase}.PSPDFKit-5dpchy3cupj5bxucqn5nt8anr5{align-items:center;color:#2b2e36;color:var(--PSPDFKit-Text-color);display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0}.PSPDFKit-8cfu1mwm1ccfxda8tyh14s93v5{height:auto;max-height:90%;padding:1em 0.609em 1em 0.46875em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-7ypv327ggsprw7wtqh3ggzwtt5{flex-basis:22px;height:22px;width:22px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6{background-color:transparent;border:none;display:flex;justify-content:center;padding:0;position:relative;top:1px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6.PSPDFKit-7u52vd8vcqhwm46mqm3f6x3u4n,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:active,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:disabled,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:focus,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:hover{background-color:unset}.PSPDFKit-4mb9ffzr14xj4f7cmnqkgcrcmq :before{border-color:#d63960!important;border-color:var(--color-red400)!important}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:#5e5ceb;color:var(--PSPDFKit-MeasurementSettingsModal-highlight-color);cursor:pointer;display:flex;font:inherit;font-size:14px;font-style:normal;font-weight:500;height:34px;justify-content:flex-start;line-height:140%;padding:4px 8px 4px 28px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:focus-within,.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:last-child{border-bottom:none}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up{align-items:flex-start;display:flex;flex-direction:column;padding:24px;width:390px}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up p{margin:0}.PSPDFKit-6g6xvejv8dd1pf35kx6ba8gp5e{align-items:center;display:flex;flex-direction:column;gap:24px;width:100%}.PSPDFKit-41haxjcx7ed6crwc23x62ewb7t{display:flex;justify-content:space-between;width:100%}.PSPDFKit-68duutqz7ut9qftzm7ns95kbsg{color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5);font-style:normal;font-weight:600;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1)}.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{display:none}@media(max-width:1070px){.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{align-items:center;display:block}}.PSPDFKit-49whdesn68fq294wzdzda443yx{align-items:center;display:flex;height:30px}@media(max-width:1070px){.PSPDFKit-49whdesn68fq294wzdzda443yx{display:none}}.PSPDFKit-3xxzytnemnzg22awfk9rymr2m7{padding:0}.PSPDFKit-75ga4kp46pkcv4peqbsu45nk79{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#d63960;color:var(--PSPDFKit-MeasurementSettingsModal-error-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:1rem;line-height:var(--PSPDFKit-fontSize-1);margin-bottom:0.609em;margin-bottom:var(--PSPDFKit-spacing-6);max-width:340px;padding:0.609em;padding:var(--PSPDFKit-spacing-6)}.PSPDFKit-5d5cb99rrfftnfraj6ve1wxtcw{margin-right:.5rem;width:.625rem}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{align-items:center;-webkit-appearance:none;-moz-appearance:none;border:1px solid #5e5ceb;border:1px solid var(--PSPDFKit-MeasurementSettingsModal-highlight-color);border-radius:50%;display:flex;flex-direction:row;flex-shrink:0;height:18px;justify-content:space-evenly;margin:0 5px;width:18px}@media(max-width:660px){.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{margin-right:3%}}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:before{background:unset;border-radius:50%;content:"";display:block;height:10px;width:10px}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:checked:before{background:#5e5ceb;background:var(--PSPDFKit-MeasurementSettingsModal-highlight-color)} +.PSPDFKit-6sv7sqb53n124u6fj1tms89hna{display:flex;justify-content:flex-end;margin-top:1em}.PSPDFKit-654mqarkz9bpasgehzef4652nz p{margin:0}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{border-color:#0a0167!important;border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{outline:none}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus-within{border-color:#0a0167!important;border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important;outline:none} +.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:focus,.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:hover{cursor:pointer}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp[disabled]{cursor:auto}.PSPDFKit-5cbbkpsrtp7h1aheyyz5jh553f svg{height:100%;overflow:visible;width:100%}.PSPDFKit-gfh2n7ye6agxztvft95yj26j6 .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:#4636e3;stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px} +.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d canvas,.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d img{display:block;height:100%;width:100%} +.PSPDFKit-xe2ftya3wdjvwwhx6d5stmz59{display:flex}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{background-color:#a6adad;border-radius:50%;height:6px;transform:scale(0);width:6px}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:not(:last-child){margin-right:4px}.PSPDFKit-64xwysuhvuuphryhjd9kj5nvy3 .PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{animation:PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n 1.5s ease-in-out infinite}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(2){animation-delay:.16s}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(3){animation-delay:.32s}@keyframes PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n{20%{transform:scale(0)}50%{transform:scale(1)}80%{transform:scale(0)}} +.PSPDFKit-611629rcz14kzt4fxq9cun8r55{left:50%;position:absolute;transform:translateX(-50%)}.PSPDFKit-291h7cpg24qsc3uyjkzbr88w1y,.PSPDFKit-3k8pvf98ypg7cfxdw2h4s9hks8{position:relative}.PSPDFKit-6kn9fwrhmcn5ws8thfmrbawkps,.PSPDFKit-4668kvbgmy9yr757xzersy788h{background-color:#eee}.PSPDFKit-3gs4z9rtc1a83dstvmn7mamwfd{align-items:center;display:flex;justify-content:center}.PSPDFKit-4vsf7ppa6vgpu72s69w4p6cheb svg{background-color:#fff;border-radius:12px;color:#db2a37;height:24px;width:24px}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:first-child{opacity:.0001!important}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:last-child{opacity:1!important} +.PSPDFKit-4rfp7ee9191kd8ynnn3bq8u33p:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px} +.PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf,.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{pointer-events:none}.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px}.interactions-disabled .PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf{touch-action:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33{fill:none;stroke-linejoin:round;stroke-linecap:round;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:stroke}.PSPDFKit-supportsTouch.PSPDFKit-width-sm .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3,.PSPDFKit-supportsTouch.PSPDFKit-width-xs .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{pointer-events:none}.PSPDFKit-57qn9qb3ug1rpk9v33hd5cxd1d.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:fill}.PSPDFKit-5q9h4djx3kcxba1qj815pdz3fs{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-252bad36x484xaffc25n3h9thg{pointer-events:painted} +.PSPDFKit-3ncb69xb2ve1sqjjdtyc6cd8g4{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-5mur5qgg6vwc2wpggzustr83j9{border:0;line-height:0;font:inherit;padding:0;position:absolute} +.PSPDFKit-2wu94uj3duvdnqa6qcf42ezs6d{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:focus,.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:hover{cursor:pointer}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14[disabled]{cursor:auto}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h{word-wrap:break-word;cursor:text;display:flex;flex-direction:column;font-family:sans-serif;height:200px;line-height:1.2em;overflow-y:auto;padding:10px;position:relative;white-space:pre-wrap;width:300px;word-break:break-word}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:10px}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg{background:#fff;bottom:0;left:0;margin:0;padding:15px 7px 15px 15px;position:absolute;right:0;text-align:initial}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:15px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat{align-items:center;align-self:flex-end;background:transparent;border:transparent;cursor:pointer;display:flex;height:24px;justify-content:center;margin:0;opacity:.7;padding:0;width:24px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:active,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:focus,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:hover{opacity:1}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat span{height:20px;width:20px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat.PSPDFKit-3zbd56btxsp72du8mq44gc68pf{pointer-events:none;visibility:hidden}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4 .PSPDFKit-8jdq4qfwqhh5yzunhf1nvu3sxs{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0;opacity:.8;text-shadow:0 1px 1px #fff}.PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{background:transparent;flex:1;overflow-y:auto;position:relative;text-align:left}.PSPDFKit-5ns5z6cwaq7uvb37ejfqcck6cj{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;justify-content:center;max-width:100%;overflow-y:auto}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78{opacity:.7}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:active,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:hover,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78[data-focus-within]{opacity:1}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus-within{opacity:1}.PSPDFKit-53wjfdyupu3zpctpt74eumsq2b{align-items:center;color:#2b2e36;display:flex;flex-direction:row;justify-content:flex-start}.PSPDFKit-39sru8fstgk9ukw59vdxw6fxkm{font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);padding-top:2px}.PSPDFKit-2rbb4rpjnbmgu1bj6enchp1549{fill:currentColor;margin-right:0.46875em;margin-right:var(--PSPDFKit-spacing-7)} +.PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4,.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{pointer-events:none}.interactions-disabled .PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4{touch-action:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn{shape-rendering:geometricPrecision;stroke-linecap:butt;stroke-linejoin:miter;pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-xydzth3k7ns3nahap4gpxayej,.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9.PSPDFKit-3zmy52u71trzxmdvbycck28tg7{stroke-linecap:butt;stroke-linejoin:miter}.PSPDFKit-xydzth3k7ns3nahap4gpxayej{cursor:pointer;pointer-events:painted}.PSPDFKit-xydzth3k7ns3nahap4gpxayej.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-68femat6jd47qrav117uen51r{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-btun3r6cqwxytpv1u8kdyngqc{pointer-events:painted}.PSPDFKit-btun3r6cqwxytpv1u8kdyngqc:focus-visible{outline:2px solid rgba(70,54,227,.5)} +.PSPDFKit-26jegsvp6ufypbu8pxdv7fr1zz{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2wjxpeaermrgg7maxgnqmz9nc3{align-items:center;display:flex;justify-content:center}.PSPDFKit-3g43gj4at3dwbty7y7kctavd8b{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-85dfpszurcp74kqrua8y455s3x,.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:first-child{height:100%}.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:last-child *{box-sizing:border-box} +.PSPDFKit-4dwy35ce5zzs8fcuzm4z5qyj9j{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4{overflow:hidden;position:absolute}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p{margin:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p:empty:after,.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p>span:empty:after{content:" "}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh{margin:0;padding:0}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh:focus{outline:none}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t{background:inherit;cursor:text;height:auto;overflow:hidden;position:absolute;-webkit-user-select:text!important;-ms-user-select:text!important;user-select:text!important;width:auto}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t *{margin:0;padding:0}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t:focus{outline:none}.PSPDFKit-3g965ce6b38z92kn57ymc33d93{position:absolute!important}.PSPDFKit-4f28b7qs5h6nk9v4ngh8xr9zsb:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px} +.PSPDFKit-87g1wera6smataxregkeucdz7u{pointer-events:none}.PSPDFKit-7nzf5ygyxf3ft1vwqded1vys1c{z-index:1}.PSPDFKit-7ckwm8p8x63jumkemns7vefj6u{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8629afaazd1efzub8c3z1qfnae{position:absolute;text-align:left}.PSPDFKit-4vzt6kbkqqcu93437rphdgn7xj{border:2px solid rgba(60,151,254,.5);bottom:-6px;left:-6px;position:absolute;right:-6px;top:-6px}.PSPDFKit-8qst6ht79xb7qug95szm7j35vv{cursor:pointer}.PSPDFKit-86f9zgw71s8n95n7rxd3uqn3c{word-wrap:break-word;font-family:Helvetica,sans-serif;line-height:0;overflow:hidden;overflow-wrap:break-word}.PSPDFKit-82f4yxbm2u7ssyqxr8sztm7qzb{display:inline-block;overflow:hidden;width:100%}.PSPDFKit-7vkn9dyk6rhen2hjabdgskypgp{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-8py43zrk8tdwczbp1rgu5zkpcc{position:absolute}.PSPDFKit-4111jnwhknt7c61pjq82hshdjm,.PSPDFKit-68rke3v2mwfersk9s87pby4xqz:focus{outline:2px solid #2378ff!important;outline-offset:2px}.PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{background:hsla(0,0%,100%,.5);border-radius:3px;bottom:3px;left:3px;position:absolute;right:3px;top:3px}.PSPDFKit-68rke3v2mwfersk9s87pby4xqz .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{cursor:pointer}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0;top:50%}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background:none!important;bottom:0;cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1} +.PSPDFKit-73459dse4nv5d9mqecpwp57s3d{height:100%;width:100%}.PSPDFKit-8wsgnacdwb75d488xzar24jqkq{position:absolute} +.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69{border-radius:3px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;touch-action:none;white-space:nowrap}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]){background-color:#7792f4;border-color:#1946ec;color:#fff}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):hover{background-color:#8fa5f6;color:#fff;outline:0}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):active{background-color:#607ff2}.PSPDFKit-4cfxcba5wt87u69f2dw7v6xter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1{display:block;position:relative}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox],.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]{bottom:0;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fffb8b;border-color:#beb700;box-shadow:none!important}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fff;box-shadow:inset 0 0 0 1px #b9c8ff}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:#1332a7}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:rgba(87,87,87,.7)}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#666}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{bottom:0;left:0;line-height:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{border-radius:.1em}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj,.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{border-radius:100%;pointer-events:none}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:transparent;content:"";height:50%;left:25%;position:absolute;top:25%;width:50%}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#1332a7}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq svg{height:100%;width:100%} +.PSPDFKit-5pebxrpmqgkrf7vcxe4371geyh{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm{align-items:flex-start;display:flex;flex:0 1 auto;flex-direction:column;margin:0;padding:0;position:relative}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm.PSPDFKit-2a2g4zggqmewex1vm5v4zpgb56{z-index:100}.PSPDFKit-6s31a1f931synspdjrnvzxnfgc{display:block;position:relative;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us{background-color:transparent;border:0;box-sizing:border-box;font:inherit;height:100%;margin-right:0;overflow:hidden;padding:0 .3em;text-align:left;white-space:nowrap;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled],.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled]+.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{color:#666}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{border:none;color:#5f5f5f;margin-top:-.35em;position:absolute;right:.25em;top:50%;width:.7em}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn svg{fill:currentColor;border:0!important;display:block;height:.7em}.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{align-items:stretch;background-color:#fff;display:flex;flex-direction:column;min-width:3em;outline:2px solid #000;width:100%}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6,.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{box-sizing:border-box}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6{flex:0 1 auto;margin:.2em;min-height:0;min-width:0;padding:.2em}.PSPDFKit-88t5fcsjadwffxkef3gfkzaksk{align-items:stretch;border-style:none;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;margin-top:.1em;overflow:none}.PSPDFKit-844vbxfxwv5rq9arab8e8gd5de{color:#3d464d;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au{background-color:#ecf0ff}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu{background-color:#b9c8ff;color:#fff}.PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#aeaeae}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#3d464d}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#fff} +.PSPDFKit-4epuuwuap9pk3ntjcv5zf9djsb{outline:1px solid transparent}.PSPDFKit-7xq92qy48k696v9kfs77d7f216:not([disabled]) option:checked{background:#b9c8ff linear-gradient(0deg,#b9c8ff,#b9c8ff);color:#fff} +.PSPDFKit-6b7je6w7pq8q3htgsu22kkv6jy{align-items:center;background-color:#4636e3;background-color:var(--PSPDFKit-Signatures-background);border:1px solid #5e5ceb;border:1px solid var(--PSPDFKit-Signatures-border);border-radius:0 0 .2em;color:#fff;color:var(--PSPDFKit-Signatures-color);display:inline-flex;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);left:0;line-height:1;padding:.2em .4em;position:absolute;text-transform:lowercase;top:0}.PSPDFKit-7181s3qkmmn7fdexydqff3quq3{background-color:inherit;border-color:inherit;color:inherit}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{max-height:100vh;max-width:640px;width:100%}@media(max-height:455px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:90%}}@media(max-height:300px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:100%}}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{border-radius:0;height:100%;max-width:100%}}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3nvj481sp2nd9z1gjhvh4xnak2,.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{margin-left:calc(0.8125em*-1);margin-left:calc(var(--PSPDFKit-spacing-5)*-1);margin-right:calc(0.8125em*-1);margin-right:calc(var(--PSPDFKit-spacing-5)*-1)}.PSPDFKit-2g5n99kjfbnxh1che778jg7tjb{color:#4d525d;color:var(--PSPDFKit-Signatures-container-color);display:flex;flex-direction:column;height:100%;justify-content:space-between}.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:auto;max-height:60vh}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:100%;max-height:100%}}.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks,.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks{margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:0.609em;margin-bottom:var(--PSPDFKit-spacing-6)}@media(min-width:350px){.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:0}}@media(max-width:350px){.PSPDFKit-8c4vuvw13bebs9s1s79remb5de{width:100%}.PSPDFKit-8c4vuvw13bebs9s1s79remb5de~.PSPDFKit-8c4vuvw13bebs9s1s79remb5de,.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5)}.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{width:100%}}.PSPDFKit-5ngq82qgx5cxz4uz5mzjkchjr4{background-color:#fcfdfe;background-color:var(--PSPDFKit-Signatures-editorCanvas-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-Signatures-editorCanvas-border);border-radius:3px;overflow:hidden;padding-bottom:43.3333%;position:relative;width:100%}.PSPDFKit-2ju133936zwp42hg96a2f41uec{color:#4d525d;color:var(--PSPDFKit-Signatures-signHere-color);margin-top:-.5em;position:absolute;text-align:center;top:50%;transition:opacity .2s linear,visibility .2s;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-2ttca3yjnqndu3nqu48x21jqwz{opacity:0;visibility:hidden}.PSPDFKit-6uvk92p73etnn6mk5qcbqwj9yx{align-items:center;display:flex}.PSPDFKit-642395esq5512gt252k1kx6gg2{margin-left:.5em}.PSPDFKit-3bexu72w84xp6s2e361sj7711b{font-size:1.5rem!important;font-size:var(--PSPDFKit-fontSize-6)!important}.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{flex:1 1 auto;max-height:50vh;overflow:auto}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{max-height:100%}}.PSPDFKit-6p71pj5wv5hqqjxncy9s2zhp6z{display:block;margin:0;padding:0 0 1rem;width:100%}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g{list-style:none;margin-top:0.46875em;margin-top:var(--PSPDFKit-spacing-7);position:relative}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g:first-child{margin-top:0}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3{display:block;opacity:.75;padding-bottom:20%;touch-action:auto;width:100%}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:active,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:focus,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:hover{opacity:1}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3.PSPDFKit-353zxjn4cwq7f5trcamndrkw3j{padding:calc(0.8125em/2) 0.8125em;padding:calc(var(--PSPDFKit-spacing-5)/2) var(--PSPDFKit-spacing-5)}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x{background:transparent;border:0;color:#4d525d;color:var(--PSPDFKit-Signatures-DeleteSignatureButton-color);cursor:pointer;height:24px;opacity:.3;padding:0;position:absolute;right:0.609em;right:var(--PSPDFKit-spacing-6);top:0.609em;top:var(--PSPDFKit-spacing-6);width:24px}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:active,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:focus,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:hover{opacity:1}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x svg{height:100%;width:100%}.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{color:#4d525d;color:var(--PSPDFKit-Signatures-Title-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5)} +.PSPDFKit-6nx1rtuadk913zxen95pax5hz5{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:focus,.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:hover{cursor:pointer}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5[disabled]{cursor:auto}.PSPDFKit-8qpben4cgdt355xztxuqcrcxvg svg{height:100%;overflow:visible;width:100%}.PSPDFKit-5ty8mmke3as9vprwxv67knqxcc .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:#4636e3;stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px}.PSPDFKit-4cgbq7rdg2pm33fadjsppnpuux{cursor:pointer;opacity:1;pointer-events:all;position:absolute}.PSPDFKit-2aywxsct3x3wxc4d46re3nssxu{opacity:1} +.PSPDFKit-334y8gbu8r2jjjn87nzvuevc59{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3hfxfy9zqj8jprbtu9vf3epp17{cursor:pointer}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3p9u592y96exhe2r2ntk5vbyxu{cursor:text} +.PSPDFKit-41x845wgwdrzef1yhewvdke7jq{fill:transparent;shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-41x845wgwdrzef1yhewvdke7jq.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3{fill:transparent;stroke:rgba(60,151,254,.5);shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g,.PSPDFKit-m9u6yjwr7kv5hrxj2edskfkgq{fill:#3c97fe;stroke:#fff;pointer-events:fill}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g{cursor:move}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-39325679hnnu7x4wvxu6tbzens{cursor:nwse-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-4d596dtje8pvaa57j35a6jumtj{cursor:nesw-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-24ebukh9y4t3vv23sz65xrazp3{cursor:ew-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-3vgs6mrf1dabs2kb4pj7s49g45{cursor:ns-resize}.PSPDFKit-h4n5vrr4a9j6mcbt75ygqk7hf{stroke:#3c97fe}.PSPDFKit-8edbp12fj3btvvzys6786f1fgj{pointer-events:none;position:absolute;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-cb345hgmyvpuvgnewsbd7dmq6{overflow:visible} +.PSPDFKit-3g9zhcucr422ntc7f1j5r7d642{cursor:crosshair;height:100%;position:relative;width:100%}.PSPDFKit-5jju3cq115q7jyhsr5tbbc9k5v{background-color:#4636e3;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 1px rgba(0,0,0,.15);height:12px!important;width:12px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d,.PSPDFKit-6jhwapspg9juffwvb74ngnheyk,.PSPDFKit-72wh5syb1qx2wkvnqjh2ts7ghz{left:50%!important;margin-left:-6px}.PSPDFKit-6jhwapspg9juffwvb74ngnheyk{top:-6px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d{bottom:-6px!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9,.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe,.PSPDFKit-4xstjgjt6yzwy52577u1uxmq58{margin-top:-6px;top:50%!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9{left:-6px!important}.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe{right:-6px!important}.PSPDFKit-75mze7fkqv4saep8aun4y1qf7n{left:-6px!important;top:-6px!important}.PSPDFKit-q2hk1mcaqqvf11djfan91yrhz{right:-6px!important;top:-6px!important}.PSPDFKit-7w3jyr3yvfr7hpbmmha8uc2wr7{bottom:-6px!important;left:-6px!important}.PSPDFKit-3n3x1jyrwpd789w22qhc6nrscf{bottom:-6px!important;right:-6px!important}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4{border:1px solid #fff;cursor:grab;outline:1px solid #717885;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4:active{cursor:grabbing;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-6zm9nnbwvmtst5hnt9v1yhtmta{cursor:auto;height:100%;position:relative;width:100%;z-index:3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd{background-color:rgba(68,132,227,.2);border:1px solid #4484e3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd,.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd:active{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-2nvh838hnrmj6tjpctafyh5x7m{margin-bottom:0;margin-top:0;max-width:100vw;position:relative;top:5px}.PSPDFKit-5xzg6bg1qbsb5nyd5qtnxyygh4{bottom:5px;top:auto}.PSPDFKit-7m14b5a6nxx7rywstpkcac66jh,.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-bottom:5px solid transparent;border-bottom-color:#bec9d9;border-bottom-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-left:5px solid transparent;border-right:5px solid transparent;border-top:0 solid transparent;display:block;height:0;margin-top:1px;position:relative;width:0}.PSPDFKit-8eerxut5n95np3tqrj71w5e222,.PSPDFKit-5b9jgmbtab9q2nsf1et2wzayps{border-bottom-width:0;border-top-color:#bec9d9;border-top-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-top-width:5px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-width:0 4px 4px;border-bottom:4px #fff;border-bottom:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);top:1px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph,.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-style:solid;left:-4px;position:absolute}.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-width:4px 0;border-top:4px #fff;border-top:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);bottom:2px;color:transparent}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf{border-collapse:collapse;margin:0 10px}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf tr+tr td{border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-LayoutConfig-table-border)}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2{cursor:pointer;touch-action:none}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2,.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{display:inline-block}.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{border-radius:3px;margin:5px 0;padding:3px}.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp{background-color:#4636e3;background-color:var(--PSPDFKit-LayoutConfig-icon-isActive-background);color:#fff;color:var(--PSPDFKit-LayoutConfig-icon-isActive-color)}.PSPDFKit-h975nt1b2sjwtx24fkebaskvu:not(.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp){background-color:#f0f3f9;background-color:var(--PSPDFKit-LayoutConfig-icon-isHighlighted-background)} +.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj{-ms-overflow-style:none;background-color:#fcfdfe;background-color:var(--PSPDFKit-Toolbar-background);box-shadow:0 1px 2px rgb(61 66 78 / 0.5);box-shadow:0 1px 2px var(--PSPDFKit-Toolbar-boxShadow);color:#3d424e;color:var(--PSPDFKit-Toolbar-color);flex:2;flex-direction:row;font-weight:400;height:44px;min-height:44px;opacity:1;overflow-x:auto;overflow-y:hidden;position:relative;transition:opacity .4s ease 0s;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;z-index:3}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{align-items:center;display:flex}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{flex-grow:1}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{justify-content:flex-end}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child .PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border:0}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{margin:0 12px}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-sm .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-xs .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{display:none}.PSPDFKit-2znbjv3uzcg3sd8kby58ara78y{align-items:center;display:flex;justify-content:center}.PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border-left:1px solid #f0f3f9;border-left:1px solid var(--PSPDFKit-Toolbar-button-border);flex-shrink:0}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{align-items:center;border:0;border-radius:4px;display:flex;flex-shrink:0;font:inherit;justify-content:flex-start;padding-right:24px;white-space:nowrap;width:100%}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:inherit}.PSPDFKit-4w5v8zc35y6mjqvgzm7h29yxjz{background-color:#4636e3;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-background);color:#fff!important;color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-color)!important}.PSPDFKit-3esgz77hvs295449651j22wfqe{background-color:#f0f3f9;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isDisabled-background)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87{background-color:#4636e3;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-background);color:#fff;color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:#fff;color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)} +.PSPDFKit-7q656qfg6merpmvr8kzt9szzpm{opacity:0;transform:translate3d(0,-50%,0)}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm{transition:all .1s ease-out}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm,.PSPDFKit-5v5jfhfemf1mxc5ret8j9wh9sh{opacity:1;transform:translateZ(0)}.PSPDFKit-3a46uu7aytzncpnz4ppsu1ucnd{opacity:0;transform:translate3d(0,-50%,0);transition:all .12s ease-in}.PSPDFKit-7yg9b82v4xahqj93wys6tpbu1f{opacity:0;transform:translate3d(0,50%,0)}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392{transition:all .1s ease-out}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392,.PSPDFKit-4pjqt364whvu7b81yv22fwa1ve{opacity:1;transform:translateZ(0)}.PSPDFKit-4sea6h8efz1kfffbq87vcmq3qu{opacity:0;transform:translate3d(0,50%,0);transition:all .12s ease-in}.PSPDFKit-6hdgn11y1ecgvxga69t6p78b9a{transform:translate3d(0,-44px,0)}.PSPDFKit-2b6tmwyq1x3rcswb7k71f8vurh{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-7hwkgbqv2uvce8qyhqnq7n9vdp{transform:translateZ(0)}.PSPDFKit-4b3k2aksgt8h7qfz8vz5nbnvfz{transform:translate3d(0,-44px,0);transition:all .12s ease-in}.PSPDFKit-6rtd66rsbcpdy21mbkethcajk1{transform:translate3d(0,44px,0)}.PSPDFKit-6jy41y1rpnd5deemk7hqpbq4m1{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-21nc3yzh856bkm3mw7smrrzb5w{transform:translateZ(0)}.PSPDFKit-4zmvpm3c2adfnu8qnuw79cjh3s{transform:translate3d(0,44px,0);transition:all .12s ease-in}.PSPDFKit-79rm2zddjaxgzdkx4w8mqnqa8c{opacity:0}.PSPDFKit-7trwsc5j1bg69wa1vf9qt5e2ve{opacity:1;transition:opacity .1s ease-in}.PSPDFKit-8t2qrt9phw91wb7a8wwmgdce7p{opacity:1}.PSPDFKit-7e9n9mfhw378wrt55c2j4gpdxm{opacity:0;transition:opacity .15s ease-out}.PSPDFKit-67d6x1qnthds5d58mamrx9qpu3{opacity:0}.PSPDFKit-3dfszxf6jpx5tm2y1gn1ehxgtw{transform:scale(.7) translateY(-12px);transform-origin:top center}.PSPDFKit-8kb8kruw3xcx17v1486van1ttq{transform:scale(.7) translateY(12px);transform-origin:bottom center}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we{transition-duration:.24s;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.165,.84,.44,1)}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we,.PSPDFKit-3uce8apgqwt65tqd63cq5zuvpm{opacity:1;transform:none}.PSPDFKit-3hsvwu5hjq1a44vcrtkv5fhpnr{transform-origin:top center}.PSPDFKit-5r2r1t3f6q5zqjq84zbr69ejuk{transform-origin:bottom center}.PSPDFKit-35xj9c4azp7m511gxuzzvr1k5d{opacity:0;transition-duration:80ms;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.PSPDFKit-t8mvndx8cr8ydw9bm2vyh2wgw{transform:scale(.7) translateY(-12px)}.PSPDFKit-378kvahbp4zr42u1gb4cqyxsad{transform:scale(.7) translateY(12px)} +.PSPDFKit-ueuej8dv753zvbk6mp828mzsr{color:#3d424e;color:var(--PSPDFKit-Pager-color);cursor:default;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-variant-numeric:tabular-nums;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:-moz-fit-content;width:fit-content}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{align-items:center;display:flex}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{min-width:0}.PSPDFKit-width-sm .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-width-xs .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{display:none}.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:none}.PSPDFKit-width-sm .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a,.PSPDFKit-width-xs .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:flex}.PSPDFKit-bc9txuev7gse3pp84ajq62vmt strong{color:#3d424e;color:var(--PSPDFKit-Pager-color);font-weight:400}.PSPDFKit-7tngmuaurbw9evq3vhsmqhb79y{display:flex;height:26px;margin:0 0.609em;margin:0 var(--PSPDFKit-spacing-6)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w{-moz-appearance:textfield;background:rgb(61 66 78 / 0.2);background:var(--PSPDFKit-Pager-input-background);border:none;color:#3d424e;color:var(--PSPDFKit-Pager-input-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:0 1px;padding:4px;text-align:center;transition:all .15s;width:48px}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:active,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:focus{color:#3d424e;color:var(--PSPDFKit-Pager-input-isActive-color)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-inner-spin-button,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-outer-spin-button{-webkit-appearance:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw,.PSPDFKit-218fbh46vhgjukxda9q16dva61{background:rgb(61 66 78 / 0.2);background:var(--PSPDFKit-Pager-input-background);border:0;color:#3d424e;color:var(--PSPDFKit-Pager-input-isActive-color);cursor:pointer;display:flex;height:100%;justify-content:center;padding:5px 3px;touch-action:none;transition:all .15s;width:26px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61 .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isActive-color);display:block;height:14px;width:14px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover{background:#bec9d9;background:var(--PSPDFKit-Pager-input-isHovered-background)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isHovered-color)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled{pointer-events:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isDisabled-color);opacity:0.3;opacity:var(--PSPDFKit-Pager-input-isDisabled-opacity)}.PSPDFKit-218fbh46vhgjukxda9q16dva61{border-radius:4px 0 0 4px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw{border-radius:0 4px 4px 0}.PSPDFKit-6fnzgpjer6z7ca9jecfhk8hdsy{left:-1000000px;position:absolute;top:-1000000px} +.PSPDFKit-7kgnbhpp26m2rect3yjw1u1693{background-color:inherit;border:1px solid transparent}.PSPDFKit-314s1es5hfe28mgs9tnhkzb1de{pointer-events:none}.PSPDFKit-812ak3qykd2u5n22qxdy661rhr{border:unset} +.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9{align-items:stretch;display:flex;flex:2;flex-direction:row;left:0;position:absolute;right:0;top:0;z-index:4}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja{-ms-overflow-style:none;background-color:#fcfdfe;background-color:var(--PSPDFKit-ToolbarResponsiveGroup--primary-background);overflow-x:auto;position:fixed}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja.PSPDFKit-2sm51vztwj4mjbhd5pehvnauwk{bottom:0;top:auto}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{background:#d8dfeb;background:var(--PSPDFKit-ToolbarResponsiveGroup--secondary-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ToolbarResponsiveGroup--secondary-border);box-shadow:-1px 2px 5px rgb(61 66 78 / 0.5);box-shadow:-1px 2px 5px var(--PSPDFKit-shadow-color)}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{right:unset}.PSPDFKit-8tf4984hks13xr145qxkvqh5x2{height:auto}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid #f0f3f9;border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-border)}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:#3d424e;border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:#3d424e;border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2.PSPDFKit-3jvcxjeemxp6228839um72qy4t,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:active,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:focus,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:hover{background:#f0f3f9!important;background:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 svg{fill:#3d424e;fill:var(--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill);height:24px;width:24px}.PSPDFKit-2n3akw6g2m6zcpdwrxfqcdm28q{align-items:center;display:flex;flex-direction:row;height:auto;width:auto}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe{background:transparent;border:0;height:20px;left:3px;position:relative;width:24px}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-width:2px;content:"";height:50%;left:0;position:absolute;width:calc(50% - 1px)}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{animation:PSPDFKit-6t665x89dpp83cptuahpm823v9 .25s linear;border-right-style:solid;top:0;transform:rotate(-45deg);transform-origin:100% 100%}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after{animation:PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2 .25s linear;border-right-style:solid;top:50%;transform:rotate(45deg);transform-origin:100% 0}.PSPDFKit-5g7enmsbf45swnff2zwyxdwmd8{opacity:0;transform:translate3d(50%,0,0)}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu{transition:all .15s ease-out}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{opacity:1;transform:translateZ(0)}.PSPDFKit-2f4rg8arx4myttw4gnp6m4cj6f{opacity:0;transform:translate3d(50%,0,0);transition:all .12s ease-in}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{right:0}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz{position:absolute}@keyframes PSPDFKit-6t665x89dpp83cptuahpm823v9{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(-45deg)}}@keyframes PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(45deg)}} +.PSPDFKit-6xbbtf8p2qcsg9fyy1cuyj7gw5{align-items:stretch;display:flex;flex-direction:column;position:relative}.PSPDFKit-5vy62kz7ms89nk2k2k3swztwdt,.PSPDFKit-2bqfqmutsr41ycmfq7rs53uqxa{align-self:stretch;flex-grow:1}.PSPDFKit-3r5sb26jgasuxhwabq3dunx45u{height:55px;position:absolute;transform:translate(-27px,-28.5px);width:52px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s{height:82px;left:50%;position:fixed;top:50%;transform:translate(-41px,-19px);width:82px;z-index:1}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s svg{height:82px;pointer-events:none;width:82px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path:nth-child(2){stroke:#4537de;stroke:var(--PSPDFKit-DocumentComparison-crosshair-stroke)}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7{align-items:center;background-color:#000;border-radius:8px;color:#fff;display:flex;height:45px;justify-content:center;left:50%;opacity:1;pointer-events:all;position:absolute;top:-55px;transform:translateX(-50%);transition:.25s;width:117px}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7.PSPDFKit-3dkk2vqpcthpdtrchghtj4ssn4{opacity:0;pointer-events:none}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7:after{background-color:#000;bottom:-5px;content:"";height:10px;left:50%;position:absolute;transform:translateX(-50%) rotate(45deg);width:10px}.PSPDFKit-7kr3xjykvj7fr643ccby96g62n path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-5pzb826nhfhqp1g5p1ks17fq77{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-427zszzm3g9rt685w6err79657{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-2ymsd6xds9g7m3tn384wexbs7d{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-36rheuktx5sb8ecxck9vutfh9y{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-4y67gffktarr3dzsdm3be4tkxg{background-color:var(--PSPDFKit-DocumentComparison-background);border:1px solid var(--PSPDFKit-DocumentComparison-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px var(--PSPDFKit-DocumentComparison-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:fixed;right:30px;top:118px;width:174px}.PSPDFKit-5dnneume1xfsb52nce5gmkwws3{position:absolute}.PSPDFKit-5vm17u78a9y73z4fns92w8pcmh{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-5r343876m2a2k85cus2jjxh8fw{stroke:var(--PSPDFKit-DocumentComparison-magnifierGrid-stroke);fill:none}.PSPDFKit-54zz8rzg9jq31dvzq91d2qkgg5{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-5ct94rndvza9jt8fdk5kj434wf{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb,.PSPDFKit-41ur68urabv2z38jg19c3pcx39{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb{background-color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-41ur68urabv2z38jg19c3pcx39{color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-color);text-align:center}.PSPDFKit-4kmrm9dhgkuczunfzmxs26b83p{left:50%;position:absolute;top:50%}.PSPDFKit-4t23dm96wzfwsfr5116ky9f96y{bottom:0;left:0;pointer-events:auto;position:absolute;right:0;top:0} +.PSPDFKit-5b8n6ax7uyfq7q2zt9n9en17ab{background:#eff4fb;background:var(--PSPDFKit-UserHintComponent-background);border:1px solid #8f9bf4;border:1px solid var(--PSPDFKit-UserHintComponent-border);border-radius:4px;bottom:20px;box-sizing:border-box;color:#190d94;color:var(--PSPDFKit-UserHintComponent-color);position:fixed;right:40px;width:240px}.PSPDFKit-2jffvae4wwchr5476dpvz5z5ch{align-items:flex-start;display:flex;flex-direction:column;padding:20px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22{align-items:center;font-size:14px;font-weight:700;padding-bottom:5px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-style:normal;max-width:100%}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-size:12px;font-weight:400;line-height:140%;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu{padding-top:5px}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button{border:none;padding:0;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{background-color:#eff4fb;background-color:var(--PSPDFKit-UserHintComponent-background);color:#190d94;color:var(--PSPDFKit-UserHintComponent-color)}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{text-decoration:underline}.PSPDFKit-32x2pcstxyeubux789j773s9rc{padding-bottom:5px} +.PSPDFKit-8cswfxve74abt7a5ua2r512q67{-webkit-overflow-scrolling:touch;background:#fff;background:var(--PSPDFKit-AnnotationsSidebar-container-background);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6)}.PSPDFKit-7ukwuhzxh3rd8yp7euuxw4jn9b{background-color:#f6f8fa;background-color:var(--PSPDFKit-AnnotationsSidebar--empty-background);color:#000;color:var(--PSPDFKit-AnnotationsSidebar--empty-color);display:flex;justify-content:center;padding:2.4375em 0.609em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-4qgb7hxxn2r4g3fdet5bn1pzv8{background-color:#fff;background-color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-background);color:#4d525d;color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-color);display:flex;font-weight:700;padding:1em;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-7pcrw4sjytqdrvwzpes48axkkj{background:#f0f3f9;background:var(--PSPDFKit-AnnotationsSidebar-pageNumber-background);color:#4d525d;color:var(--PSPDFKit-AnnotationsSidebar-pageNumber-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:700;margin:0;padding:0.8125em 1.625em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-3);text-align:right}.PSPDFKit-4uh3zdrahzskzstfsa5v48m76w{background-color:#fff;background-color:var(--PSPDFKit-AnnotationsSidebar-annotations-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-AnnotationsSidebar-annotations-border)}.PSPDFKit-65qjuaube253zzcqdz1q4ku4y9{fill:#4636e3;fill:var(--PSPDFKit-AnnotationsSidebar-icon-color);color:#4636e3;color:var(--PSPDFKit-AnnotationsSidebar-icon-color);display:block;height:24px;margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);width:24px}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3{align-items:center;cursor:pointer;display:flex;margin-right:1em;margin-right:var(--PSPDFKit-spacing-4);padding-bottom:0.46875em;padding-bottom:var(--PSPDFKit-spacing-7);padding-left:0;padding-right:0;padding-top:0.8125em;padding-top:var(--PSPDFKit-spacing-5);position:relative}.PSPDFKit-6ek4wb89x2x5x1vhr1s1xdux9n{cursor:default}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3+.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3:before{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationsSidebar-layout-background);content:"";height:1px;left:0;position:absolute;right:0;top:0}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8{flex:1;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8,.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{color:#21242c;color:var(--PSPDFKit-AnnotationsSidebar-layoutContent-button-color);cursor:inherit}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{background:transparent;border:0;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn{color:#848c9a;color:var(--PSPDFKit-AnnotationsSidebar-footer-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn p{margin:0;padding:0}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{background:transparent;border:0;color:#3d424e;color:var(--PSPDFKit-AnnotationsSidebar-deleteIcon-color);cursor:pointer;height:24px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);opacity:0;padding:0;width:24px}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:active,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:focus,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:hover,:active>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:focus>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:hover>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{opacity:1}.PSPDFKit-52gz8466br5ea9fb7c841e2syj{fill:#848c9a;background:transparent;border:0;color:#848c9a;cursor:default;height:13px;margin-right:0.46875em;margin-right:var(--PSPDFKit-spacing-7);margin-top:2px;padding:0;width:13px}.PSPDFKit-8wr83uqbdd33rfwu128mj5gnh2{padding-left:44px}.PSPDFKit-8d9gtv8zjahaxqn3hdsa2t7tea,.PSPDFKit-8wr83uqbdd33rfwu128mj5gnh2{display:flex;flex-direction:row;flex-wrap:wrap}.PSPDFKit-8d9gtv8zjahaxqn3hdsa2t7tea{padding-right:0.8125em;padding-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-6qg835argr8knewku8zy5hfyqv{color:#848c9a;cursor:default;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)} +.PSPDFKit-6pk75qzdg2ukj6fscjncywz97r{align-items:center;display:flex}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc{background:#fff;background:var(--PSPDFKit-TextInputComponent-input-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-TextInputComponent-input-border);color:#3d424e;color:var(--PSPDFKit-TextInputComponent-input-color);font-size:1rem;font-size:var(--PSPDFKit-fontSize-1);font-weight:400;max-height:32px;padding:6px 10px}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc:focus{border:1px solid #4636e3;border:1px solid var(--PSPDFKit-TextInputComponent-input-active-border)} +.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{align-items:center;flex-wrap:wrap;font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4)}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j,.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{display:flex;line-height:0}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j{border-radius:100%;cursor:pointer;margin:4px 3px;padding:4px;touch-action:none;transition:all .15s}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:active,.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:hover{background:#848c9a;background:var(--PSPDFKit-ColorPicker-isHovered-background)}.PSPDFKit-5z85yf9u7uzqx732cjqehyhd3s{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-ColorPicker-input-outline)}.PSPDFKit-7899cbm2djcuh9uzvh8y9mhq12{border:2px solid #fff;border:2px solid var(--PSPDFKit-ColorPicker-swatch-border);border-radius:100%;display:inline-block;height:1em;position:relative;width:1em;z-index:2}.PSPDFKit-7m6c5mvk9zc3ccp4w9ckt76p5q{background:#4636e3!important;background:var(--PSPDFKit-ColorPicker-input-isActive-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6,.PSPDFKit-3eaf5m5zxe8hsj1wptbbs2ru3r{border:2px solid #bec9d9;border:2px solid var(--PSPDFKit-ColorPicker-swatch--transparent-border)}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6{background:#fff!important;background:var(--PSPDFKit-ColorPicker-swatch--transparent-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6:after{border-bottom:1px solid #d63960;border-bottom:1px solid var(--PSPDFKit-ColorPicker-swatch--transparent-after-border);content:"";display:inline-block;transform:rotate(-60deg) translate(-2px,3px);width:12px} +.PSPDFKit-8yyas95udks18p394fepzz4n9c{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-4a4w8vxdz3qm2pcgsdreydv72t{width:100%}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{align-items:center;display:flex;flex-grow:1}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row;justify-content:flex-start}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w.PSPDFKit-5cjsnmyjcke6b1v12yfgbz41gg{flex-direction:row}.PSPDFKit-6kfdt35ea6cx8yeepx58n36vmj .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-5f5bztx4e8cyvfqegfp7b8wthw{align-items:center;height:44px}.PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{margin-right:6px}.PSPDFKit-7m8dfjh7avxk6eweakkjyh6xyd{height:32px}.PSPDFKit-713qj5u5gbp169rww4vvs3uac button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f{align-items:center;width:100%}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f,.PSPDFKit-6xaanvujukmusu5r1tv594b12u{display:flex;flex-direction:column}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{margin:0 8px}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-sm .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-xs .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{display:none}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y{display:flex;flex:1}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s),.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s){cursor:default}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:block}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-sm .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-xs .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{display:none}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf button{height:32px}.PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-6wmznmmpnx14v21nf84mdrgcjn{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-sm .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-xs .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv{display:none}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{align-items:center;display:flex}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv circle,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv line,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv path,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polygon,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polyline,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv rect,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv circle,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv line,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv path,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polygon,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polyline,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv rect,.PSPDFKit-c55swym84na3uj8cbws3nfkvk circle,.PSPDFKit-c55swym84na3uj8cbws3nfkvk line,.PSPDFKit-c55swym84na3uj8cbws3nfkvk path,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polygon,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polyline,.PSPDFKit-c55swym84na3uj8cbws3nfkvk rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv button,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv button,.PSPDFKit-c55swym84na3uj8cbws3nfkvk button{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{width:64px}.PSPDFKit-width-md .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-sm .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-xs .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{left:0;right:auto!important}.PSPDFKit-c55swym84na3uj8cbws3nfkvk{width:96px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e{height:32px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:hover,.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e[data-focus-within]{background:transparent}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:focus-within{background:transparent}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7 span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51),.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51) span,.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-2mcx41qn64buedadzqmun4x439{width:100px}}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-md .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-sm .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-xs .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-md .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-sm .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-xs .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover{background:transparent!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:active,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:focus,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:hover,.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p1au3zb7x12z2rhdhxt23urrf,.PSPDFKit-3jfra6hbvv4uav6ycenbqaya53{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:active,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-21r1nktvgb352rd4c4yy57pz9g{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:first-child,.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-c3779mg2s6295w7bzec9269ub:first-child{border-left:none!important}.PSPDFKit-7gzw1kmadbfq1tnmw7d1w7zxd1{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3ytv364gpnrm7x19bnbmeyg8f8{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-46sarmfrc8jg6s66bqgfefbjjh{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-4zhmsmuwkhtpwtruurtrcn2q8j{height:16px;width:16px}.PSPDFKit-54kg6hjakpubj7vt368nk674tz{width:max-content}.PSPDFKit-2nazf4z9xd7xjtyhnbhe7rqgep{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp,.PSPDFKit-8gqc3tnvh9jka9muq4a9t5ahej{display:flex}.PSPDFKit-5c7qnuw3hacprzg2xwyca31kpu{height:20px;width:20px}.PSPDFKit-46k4525rumt3dyxruh7yn6ftbe,.PSPDFKit-2ujy7afe1awfhuh9ymbm6bme7t{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{display:none}.PSPDFKit-width-md .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-sm .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-xs .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-2kq3mk8tfsg87ukm5zvcxchay3,.PSPDFKit-77brcq5bxx44kv6p84cffgnrfh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-sm .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-xs .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an{align-items:center}.PSPDFKit-2skb7mhe9t63pg2ukxcsw49xsr,.PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-sm .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-xs .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:0}.PSPDFKit-2jq33zcqjvm19mjme567rvfrrm{align-items:center;display:inline-flex}.PSPDFKit-3xk6qkbjafwv7228ck9bx347w6{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-7jwg5rgcerucffvtbsmxvfb7zk{max-width:110px}.PSPDFKit-4e75mg661j3ax96qwbdmpzpsb4{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:active,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:focus,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty span{max-width:60px;overflow-x:hidden}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:none!important}}.PSPDFKit-6jesjcs8hzf3yy3bqdg9kv3hk7{display:inline-flex}.PSPDFKit-7bm2dwvsr17e373y82u42rsemg{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-2x6urux4z76dkhv9azjrwtw1r6{margin-left:4px}.PSPDFKit-41f3k1r3a4wcjyvwb632qbpsar{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-c3779mg2s6295w7bzec9269ub.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zh4b5sq7ky7hj92aqd24n3cec span{align-items:center;display:flex;justify-content:center}.PSPDFKit-5y5uj8j53b14ftvfmra5n2fyyy{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 label{align-items:center;display:flex;justify-content:center}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 span{color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-5y5uj8j53b14ftvfmra5n2fyyy{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-28p9qe5v9wa12h9abqanj7759r{width:3rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:2rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn:not(.PSPDFKit-37jqdeb6j87paw3ang9yrcet45):focus{background-color:#fff;background-color:var(--PSPDFKit-TextInputComponent-input-background)}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d{align-items:center;display:flex;flex-direction:row}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:focus-within,.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-pynbrvdg7hats6u5gzc58czkp{border-left:0;margin-left:0;padding-left:2px;padding-right:2px}.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:active,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:hover{cursor:not-allowed;opacity:.3}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem}.PSPDFKit-8uffc57cupxw72ujvccyd5u75q{border-bottom-left-radius:0;border-top-left-radius:0;margin:0}.PSPDFKit-4v7qu3gbmmmxc2v2hdycthse1t{width:4.5rem} +.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-s88hmm2u6mr4p6a34q6p5x97j{width:100%}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row;justify-content:flex-start}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj.PSPDFKit-7p5sgv4my75nm8c7s61pavhw9k{flex-direction:row}.PSPDFKit-4s922kjq16ky2tuz2stu8cmevf .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-3yctv5gp7m63pzzfqmcn2vwzsu{align-items:center;height:44px}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{margin-right:6px}.PSPDFKit-2td3u6fzb1juvzark5t2sx4q2k{height:32px}.PSPDFKit-5aqdkx2cvj2jkgvavhn63b9ng2 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594{align-items:center;width:100%}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594,.PSPDFKit-7yq1g1auatabjgr9redkv9mw4z{display:flex;flex-direction:column}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{margin:0 8px}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-sm .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-xs .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{display:none}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv{display:flex;flex:1}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd),.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd){cursor:default}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:block}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-8925upm91judwppvv9p55bukww{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-sm .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-xs .PSPDFKit-8925upm91judwppvv9p55bukww{display:none}.PSPDFKit-8925upm91judwppvv9p55bukww button{height:32px}.PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-47dkg274amuhtuvgmphaa3qbp8{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-sm .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-xs .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr{display:none}.PSPDFKit-6kf14wyby256uusycuansuqden,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{align-items:center;display:flex}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj circle,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj line,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj path,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polygon,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polyline,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj rect,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 circle,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 line,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 path,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polygon,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polyline,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 rect,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 circle,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 line,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 path,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polygon,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polyline,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj button,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 button,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 button{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2{width:64px}.PSPDFKit-width-md .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-sm .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-xs .PSPDFKit-628jqdm82emd3wd8ywct68fvp2{left:0;right:auto!important}.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{width:96px}.PSPDFKit-6kf14wyby256uusycuansuqden{height:32px}.PSPDFKit-6kf14wyby256uusycuansuqden:hover,.PSPDFKit-6kf14wyby256uusycuansuqden[data-focus-within]{background:transparent}.PSPDFKit-6kf14wyby256uusycuansuqden:focus-within{background:transparent}.PSPDFKit-58854re4pgbwg56mdaznmjjscz{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-58854re4pgbwg56mdaznmjjscz span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81),.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81) span,.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8uywmag1h1x3ypdz5b98crr775{width:100px}}.PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-md .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-sm .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-xs .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-md .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-sm .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-xs .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover{background:transparent!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:active,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:focus,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:hover,.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-48d85wg1rgb1utxa2a4fvw2vth,.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-8xb3dqw6xuht2n573uhuknfp2k{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:active,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-52c5dtm21r4933mu2fkpjpe6uk{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-fcgb4uy1g1393vcttkd834zya:first-child,.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:first-child{border-left:none!important}.PSPDFKit-5kgz7sh1trs8k2a4xw51qvusej{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-psd9e4tcte8ac4k6jmkt1wfeu{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-8zkbczvhbtdyv5utgdt42896wt{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-2bmrfq7hm8z4thd49fdtpzxewe{height:16px;width:16px}.PSPDFKit-6q2rpnx5br9xmymy4hxdvc9atg{width:max-content}.PSPDFKit-mjt1a3qgrvvxan7b2eet56kkt{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-3radjttaddx7fe6dnnreugbam2{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-3radjttaddx7fe6dnnreugbam2,.PSPDFKit-7uud28jq3crfqs4f4edufdekkf{display:flex}.PSPDFKit-5jpt4x4a9kj7rf7d24shsfp48k{height:20px;width:20px}.PSPDFKit-3fweswjpkq7dt55fw6t438rgun,.PSPDFKit-3hmu51e1ur6hrmfyzz2cru1c48{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{display:none}.PSPDFKit-width-md .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-sm .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-xs .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5p5hpd3y1t7kjkjpn6cyqaqptj,.PSPDFKit-3v6m9ae9v1gsx87x46mg6kjmzf{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-sm .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-xs .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a{align-items:center}.PSPDFKit-41gfyk1yj6dkqvg8px6c7j3sec,.PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-sm .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-xs .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:0}.PSPDFKit-77hntfhrv9fmz6c5684u5bkz7s{align-items:center;display:inline-flex}.PSPDFKit-7kmmurpd341ujzyvezu9ecj88h{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3fu4z9m4y47mmezmqbsmsg6u6f{max-width:110px}.PSPDFKit-8pbq1nn2qbdp1czxjuu7bjw2ks{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:active,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:focus,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9 span{max-width:60px;overflow-x:hidden}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:none!important}}.PSPDFKit-6ep9xddvqffd53nu5e72pbdbgj{display:inline-flex}.PSPDFKit-717y4rg4qa1pc652h8cg793m4d{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-4xdm97phakaezcxf6wpdxn2tjm{margin-left:4px}.PSPDFKit-62hyggwkdx954k8f821btn7zeh{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-6dpm8fme3awumu6c44rktfucs2 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-4y4mzezsayhjmmtm9qqkgywcsh{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-8grpnn6cc1r855m2st438et1tg label{align-items:center;display:flex;justify-content:center}.PSPDFKit-8grpnn6cc1r855m2st438et1tg input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-8grpnn6cc1r855m2st438et1tg span{color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-4y4mzezsayhjmmtm9qqkgywcsh{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:#f0f3f9;background:var(--PSPDFKit-ContentEditorToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ContentEditorToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt,.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{align-items:center;display:flex}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt{padding-right:.75rem}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w{background-color:unset;border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-ContentEditorToolbar-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-ContentEditorToolbar-button-color);cursor:pointer;font-size:.875rem;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:0 20px;transition:border-color .15s}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:hover{border-color:rgb(132 140 154 / 0.5);border-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-border)}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w span{align-items:center;display:flex;height:32px}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:last-child{margin:0}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7{background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor);border-color:#2b1cc1;border-color:var(--PSPDFKit-ContentEditorToolbar-button-save-border);color:#fff;color:var(--PSPDFKit-ContentEditorToolbar-button-save-color)}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7:hover{background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor);border-color:#0a0167;border-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-border);color:#fff;color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-color)}.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.5}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{flex-wrap:nowrap}.PSPDFKit-5z4at4466ca8t6dkug1bqpq81{cursor:not-allowed}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982{align-items:center;background-color:#fff;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor);display:flex;height:32px;justify-content:center;padding:0;width:32px}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 span,.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 svg{height:1.5rem;width:1.5rem}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:hover:not(:disabled){background-color:#fff;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor)}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:disabled{cursor:not-allowed}.PSPDFKit-5hv5vgzkpzspks749ufhhvfz1k{border:none}.PSPDFKit-3y1g2avp88swge652xu9nj312z{background-color:#4636e3!important;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z svg{color:#fff!important;color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z:hover:not(:disabled){background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj{border:none;color:#3d424e;color:var(--PSPDFKit-ContentEditorToolbar-button-color)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj:hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor);cursor:pointer} +.PSPDFKit-8mw7cgx9nrd1yg35kkhqyhksqy{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3e1ymauppttrz41jzw3mzc2t65{width:100%}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row;justify-content:flex-start}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2.PSPDFKit-39d47rs5fq7kcjer959hp5rx8d{flex-direction:row}.PSPDFKit-8y6ce6n5884k7zrpr3uqnz7htb .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-pqz79rmnz1jk37ra4q9jr8t33{align-items:center;height:44px}.PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{margin-right:6px}.PSPDFKit-6nbc7qagvqu9yd6yet13hb6rhj{height:32px}.PSPDFKit-48x8nkebmfpqss6a3u7rs8g9q5 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd{align-items:center;width:100%}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd,.PSPDFKit-7ntyew6gjjyyu8e3azuddfrhnp{display:flex;flex-direction:column}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{margin:0 8px}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-sm .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-xs .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{display:none}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8{display:flex;flex:1}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg){cursor:default}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:block}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-75ttad8xww9mpzzprak2aac974{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-sm .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-xs .PSPDFKit-75ttad8xww9mpzzprak2aac974{display:none}.PSPDFKit-75ttad8xww9mpzzprak2aac974 button{height:32px}.PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-w47nwqgy1154yrmztu2mnwzpm{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-sm .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-xs .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4{display:none}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{align-items:center;display:flex}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 circle,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 line,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 path,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polygon,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polyline,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 rect,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s circle,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s line,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s path,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polygon,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polyline,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s rect,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 circle,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 line,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 path,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polygon,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polyline,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 button,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s button,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 button{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s{width:64px}.PSPDFKit-width-md .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-sm .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-xs .PSPDFKit-275wshr5dpqatccw8ux11qqk9s{left:0;right:auto!important}.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{width:96px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp{height:32px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:hover,.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp[data-focus-within]{background:transparent}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:focus-within{background:transparent}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf),.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf) span,.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8j3bg3d3dbcpkjba4qpgt6mtwx{width:100px}}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover{background:transparent!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:active,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:focus,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:hover,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:active,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:focus,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:active,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:focus,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:hover,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-fts7hzse3qdkgfmxd89z1sxgg,.PSPDFKit-4q6ah6p4esufmffveqzpjh47b{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-2s797jk128ay8vfscex2bv7kfe{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-73qv358utjtrzr85ky96uevmtg{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-73qv358utjtrzr85ky96uevmtg.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:active,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-4nuygfwr1ru425pyg3yjydvr61{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-8tz941rhqxq9a7km8terwandnm:first-child{border-left:none!important}.PSPDFKit-3fzefd39fwgk1qdbxv6jdjs8f7{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5cn9vbp8wrnrmnk914jdmynjve{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-88kdpafyrs8h3rj4zjbrrted2p{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6yj82gkzhm3npm9qtbttnwhvqs{height:16px;width:16px}.PSPDFKit-5kx5x5nrf9ffzpw127n7tdvrqw{width:max-content}.PSPDFKit-6m8awubd892h2q7bxq6ucu9yx5{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5z24bvabee7axqkv39se95kj79{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5z24bvabee7axqkv39se95kj79,.PSPDFKit-5uu5r98quqvpyqqvmhf7eqx6n8{display:flex}.PSPDFKit-7sx7anuampjzrt9mnvv7zccdny{height:20px;width:20px}.PSPDFKit-84hychtak5eqe99svt8mp3g7gq,.PSPDFKit-3wpt6233mxj93ajtgz97kkfp95{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{display:none}.PSPDFKit-width-md .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-sm .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-xs .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5wjc8qvxn2shc717ghes4hwe4r,.PSPDFKit-4axb3jsn3p35zcvz2qkf1627s1{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-sm .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-xs .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf{align-items:center}.PSPDFKit-25fpzkeppwbvrayjgduw8retb5,.PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-sm .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-xs .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:0}.PSPDFKit-2syhxbxpfgp19jpz3z5x49q224{align-items:center;display:inline-flex}.PSPDFKit-7eua9n76z6wh9hyqtrgxabwhyp{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-8san6jac5e16c3cmp3udzsyzq9{max-width:110px}.PSPDFKit-2bhr7dx4y8a6z7s598sms29ggb{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:active,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:focus,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g span{max-width:60px;overflow-x:hidden}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:none!important}}.PSPDFKit-6s24914j26xzdhgmaqjbdae7a8{display:inline-flex}.PSPDFKit-7kdp2eku1rven1vm3eug4x6su9{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-5mud2pd31puwn1df9zjr639yy4{margin-left:4px}.PSPDFKit-84kcnetmpfg2e64pd3wmwkkbud{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-8tz941rhqxq9a7km8terwandnm.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-2q1r39e1v2u5ekry3v7vbc9yr7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-4g2ngud8r3s5zduhf5fa58c69y{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan label{align-items:center;display:flex;justify-content:center}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan span{color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-4g2ngud8r3s5zduhf5fa58c69y{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5t9fk8ex9uwch2qhza7wa1pacw,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{display:flex}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{align-items:center;color:#4d525d;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:not(:last-child){border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:hover:not([aria-disabled=true]){background-color:#d8dfeb!important;background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue span,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue svg{align-items:center;display:flex;height:32px}.PSPDFKit-6uhymu5y17pjr47gp9zdvgf3bd{cursor:not-allowed;opacity:.5}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3{border:1px solid!important;border-color:#bec9d9!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover{border:1px solid!important;border-color:#3d424e!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3 span{align-items:center;display:flex;height:32px}.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:block}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{align-items:center;border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:block}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:none!important}@media(max-width:768px){.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:none}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{display:flex;width:47px}.PSPDFKit-7tretxh1ue798paef14ryrb6q6 svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{padding:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:none!important}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:flex!important}}:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row;padding:0}.PSPDFKit-width-md .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-sm .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-xs .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row-reverse}.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-7dgtuxjugwv9wr6k94pfvchgzt{background:#4636e3!important;color:#fff}.PSPDFKit-3nf3mgqa1mk6xs968ztk8n1ped{display:flex;flex:1}.PSPDFKit-7kz6k3947em3q3sp47s5cd3u3m{flex-shrink:unset;width:max-content} +.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{align-items:center;color:#848c9a;color:var(--PSPDFKit-Error-color);height:100%;justify-content:center}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j,.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{display:flex}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j{align-items:stretch;background:#fff;background:var(--PSPDFKit-Error-background);border-radius:6px;box-shadow:0 3px 3px rgb(61 66 78 / 0.5);box-shadow:0 3px 3px var(--PSPDFKit-shadow-color);max-width:670px}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j a{color:#4d525d;color:var(--PSPDFKit-Error-hyperlink-color);text-decoration:underline}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j span{line-height:30px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649{align-items:center;background-color:#d63960;background-color:var(--PSPDFKit-Error-error-background);border-bottom-left-radius:6px;border-top-left-radius:6px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649,.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{display:flex;padding:15px 20px}.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{flex-direction:column}.PSPDFKit-4wf98g1ha47f4tw6p5xpr51nn7{fill:#d63960;fill:var(--PSPDFKit-Error-icon-color);background-color:#fff;background-color:var(--PSPDFKit-Error-icon-background);border-radius:12px;height:24px;width:24px} +.PSPDFKit-87k1yb2m56xugj11pvrn2epwmr{max-width:422px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4{position:absolute}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg{height:48px;width:48px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg g{fill:currentColor;stroke:currentColor}.PSPDFKit-g3g187c7zezz65j88wexd218w{color:#5e5ceb;color:var(--PSPDFKit-PasswordModal-icon--regular-color)}.PSPDFKit-568kqv9a573y6cm3j1y6xs5v62{color:#d63960;color:var(--PSPDFKit-PasswordModal-icon--error-color)}.PSPDFKit-287v657mcme5ewwt57t23w5qyh{color:#89bd1c;color:var(--PSPDFKit-PasswordModal-icon--success-color)}.PSPDFKit-3m2rqse7rv63dfkwgvcjy19997{height:48px;position:relative;width:48px}.PSPDFKit-3eq8gr4w2wkxz8kcemn3feckgz{background:#d63960;background:var(--PSPDFKit-PasswordModal-message--alert-background);border-bottom:2px solid #ab1d41;border-bottom:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);border-top:2px solid #ab1d41;border-top:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);color:#fff;color:var(--PSPDFKit-PasswordModal-message--alert-color)}.PSPDFKit-7qjt9yezkrce9kdkn11wwk7ntz{display:flex;justify-content:flex-end}.PSPDFKit-5r5qzyzhnat22bqdytrnu5ageu{opacity:0;transform:scale(.5)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c{transition:all .3s cubic-bezier(.895,.03,.685,.22)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c,.PSPDFKit-g25477hjsg4skgtpfrw93sj7u{opacity:1;transform:scale(1)}.PSPDFKit-3vp9fnny3e7hxta8yxd6jaxea4{opacity:0;transform:scale(.5);transition:all .3s cubic-bezier(.165,.84,.44,1)} +.PSPDFKit-7386u3hksvwqrk1txdsf6yjwh7{align-items:center;display:flex;height:100%;justify-content:center;width:100%} +.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd{position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz img{image-rendering:-webkit-optimize-contrast}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:pixelated}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:crisp-edges}.PSPDFKit-4uahg5akq9ua7h3n6r45t9pnv1{background:#fff} +.PSPDFKit-4hndx219v53cj6xkbemwdxxfbp{bottom:0;left:0;position:relative;right:0;top:0}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam{background-color:#fad40c;background-color:var(--PSPDFKit-SearchHighlight-background);mix-blend-mode:multiply;position:absolute}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam.PSPDFKit-2m3zj91uw1smew17zjaj1g3xfx{background-color:#e8b500;background-color:var(--PSPDFKit-SearchHighlight-isFocused-background)} +.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw{bottom:0;cursor:zoom-in;left:0;right:0;top:0;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw,.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{position:absolute}.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{shape-rendering:crispEdges}.PSPDFKit-zxyvguvek2ym1z7dekdnq5v1z{fill:#a8bff8;fill:var(--PSPDFKit-MarqueeZoom-rect-fill);stroke-width:1px;stroke-dasharray:5;stroke:#000;opacity:.5}.PSPDFKit-brx4byv7qnas5ky1tfgt6ba6x{fill:transparent;stroke-width:1px;stroke-dasharray:5;stroke-dashoffset:5;stroke:#fff;opacity:.5} +:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-21tdya9vwjkb9467d89dpj3dz5{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-6hysu1r6uydnrqrhfk1pps1pr8,.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j,.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{border:1px dashed #4636e3;border:1px dashed var(--color-blue600);position:absolute}.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j{height:2px;width:100%}.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{height:100%;width:2px}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a{background:rgba(69,55,222,.2);border:2px solid #4537de;border:2px solid var(--color-blue70);height:40px;position:absolute}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>div,.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>span,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>div,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>span,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>div,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>div,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>div,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>span,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>div,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>span,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>span,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>div,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>span,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>div,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>span{display:none}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve{width:120px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj{width:220px}.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma{height:150px;width:220px}.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{border-radius:50%}.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{height:32px;width:32px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq{display:flex;height:150px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div{align-self:flex-start;background-color:#4636e3;background-color:var(--color-blue600);color:#fff;color:var(--color-white);display:inline-block;font-size:14px;padding:2px 8px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span{color:#4636e3;color:var(--color-blue600);display:inline-flex;height:16px;width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span{color:#4636e3;color:var(--color-blue600);display:inline-flex;height:16px;transform:translateX(35px);width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span svg{fill:#4636e3;fill:var(--color-blue600)} +.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7qanggak6kh1whzh64vrkx4krz,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:hover{border-color:#4636e3;border-color:var(--color-blue600);border-style:solid}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3{background-color:rgba(69,55,222,.1)}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:not(.PSPDFKit-7qanggak6kh1whzh64vrkx4krz) textarea:hover{cursor:pointer}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3 textarea:hover,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj textarea:hover{cursor:move}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7{border:thin dashed #777cf0;border:thin dashed var(--color-blue300);box-sizing:initial!important;margin-left:-1px;margin-top:-1px}.PSPDFKit-3mngkstqybyrr7k8f5kgqf5ksn{background:none;border:none;cursor:pointer;margin:0;padding:0}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3{color:#ff900d;color:var(--color-orange400);display:block}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3,.PSPDFKit-7eywttjpush5dwpejjm2b1edg3>svg{height:100%;width:100%}@keyframes PSPDFKit-7kwgpn262dubfp6s5nxvyrt295{0%{color:#000}to{color:transparent}}.PSPDFKit-4tgb9n39czt6qk8ajacqjv5xdj{animation:PSPDFKit-7kwgpn262dubfp6s5nxvyrt295 1.2s steps(2,jump-none) 0s infinite normal both running}.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt{outline:3px solid #8f9bf4;outline:3px solid var(--color-blue200);outline-offset:1px}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc{padding:.25rem;position:absolute;top:calc(50% - .6875rem)}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc:hover{cursor:ew-resize}.PSPDFKit-3wksyn2d8kqsw1kg6b3vqztpfr{background-color:#4636e3;background-color:var(--color-blue600);border:1px solid #fff;border:1px solid var(--color-white);border-radius:50%;box-shadow:0 4px 8px rgba(0,0,0,.15),0 1px 3px rgba(0,0,0,.3);height:.875rem;width:.875rem}.PSPDFKit-2dv6u2bf1w5g4e17qeenc78qhu{right:-.6875rem}.PSPDFKit-4fvhxnqd5sg3bad4pr5gsqshv2{left:-.6875rem} +.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-5scxecvmyvz7wahnvpvhqf1u6n{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-4f127napxmw48wj78u1h4t24d5{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-6ncgj8zzkc4v2az5nh5414n95b{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-2a2y9pvb8su899gfj1wsz2ta6n{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-863nmkfmtuh7z8chsq5cfw6y9h{left:0;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:transparent!important;color:transparent!important}.PSPDFKit-browser-system-android .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:rgba(18,61,112,.05)!important}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-8hbgq8hdkhtfm5abztpkrkdp87{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-87pd6mukheqbugejr1g1n3es7w{cursor:none} +.PSPDFKit-34rw6dd52chrrk7xv2jr6zquew{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-3eg3ptc58eu1dbczvddeqqmn75{stroke:#4537de;stroke:var(--color-blue70);stroke-width:1px} +.PSPDFKit-4fy2py5absazy7wc1atsvf39uh{-webkit-overflow-scrolling:touch;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);left:0;position:absolute;text-align:left;text-align:initial;top:0;transition:transform .3s cubic-bezier(.215,.61,.355,1)}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx{background-color:#f6f8fa;background-color:var(--PSPDFKit-Viewport-background);bottom:0;left:0;overflow-y:auto;position:fixed;right:0;top:auto}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf{border-radius:6px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);position:absolute;transition:all .3s cubic-bezier(.215,.61,.355,1);transition-property:transform,box-shadow}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:not(.PSPDFKit-57ma556dgg7p25vkpwgypaprqm){cursor:pointer}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:hover{box-shadow:0 4px 6px rgba(43,50,59,.2),0 6px 16px rgba(43,50,59,.1)}.PSPDFKit-57ma556dgg7p25vkpwgypaprqm,.PSPDFKit-57ma556dgg7p25vkpwgypaprqm:hover{box-shadow:0 16px 32px rgba(43,50,59,.25),0 16px 32px rgba(43,50,59,.1);z-index:1}.PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{background-color:#fff;background-color:var(--PSPDFKit-Comment-thread-backgroundColor);border-radius:6px;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);height:100%;width:100%}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-6n4vf5zb3fds69s2uvw3xyfaxk{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-6abtkbxbe387rzj3weks85eubv{border-top:1px solid #f6f8fa;border-top:1px solid var(--PSPDFKit-Comment-separator-color);margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5)}.PSPDFKit-8gpdea9u4mgzacra4wx6vq3mxh{border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-83aay96yymctba7rmvy6wzwfzs{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;line-height:1}.PSPDFKit-th67kk1b8w7umaeh289rjkc6s{font-weight:600;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-6kppppmn52ajrv8ahh7vyaqspg{color:#4636e3;color:var(--PSPDFKit-Comment-accent-color);display:block;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;margin-top:0.609em;margin-top:var(--PSPDFKit-spacing-6)}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca{align-items:center;border:1px solid #4636e3;border:1px solid var(--PSPDFKit-Comment-accent-color);border-radius:100%;display:flex;height:32px;justify-content:center;margin-right:8px;overflow:hidden;width:32px}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca,.PSPDFKit-8xau5mfzb7xbtsd67bf4f7amph{flex-shrink:0}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca img{background-color:#d8dfeb;background-color:var(--PSPDFKit-Comment-footer-color);border-radius:100%;display:block;height:32px;width:32px}.PSPDFKit-2uymwug35415u37jmmjeckcf66{margin-bottom:0;margin-top:0.609em;margin-top:var(--PSPDFKit-spacing-6);white-space:pre-wrap;word-break:break-word}.PSPDFKit-2uymwug35415u37jmmjeckcf66 a{color:#777cf0;color:var(--color-blue300);text-decoration:underline}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p>span:empty:after{content:" "}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]{color:#4636e3;color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]:before{content:"@"}.PSPDFKit-browser-engine-webkit .PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{max-height:calc(1.4rem*3);max-height:calc(var(--PSPDFKit-lineHeight-1)*3)}.PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p{margin:0}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p>span:empty:after{content:" "}.PSPDFKit-3jv55mynpjvcvxarj2awcxbc4q{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-top:0.46875em;margin-top:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wf8kzxdewz91bkynxz9nf13vn{display:inline-block}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-radius:0 0 5px 5px;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color);display:flex;flex-direction:column;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;padding:0.609em 0.8125em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-5)}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq:first-child{border-radius:6px;border-top:0}.PSPDFKit-37dn8ce9d95692mrtn658uddbn{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-728a47tmgr74fsteq92f378fyg{color:#4636e3;color:var(--PSPDFKit-Comment-accent-color);cursor:pointer}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4{background-color:var(--PSPDFKit-Comment-editor-backgroundColor);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px 3px 0 0;color:inherit;display:block;font-size:inherit;min-height:115px;outline-color:#4636e3;outline-color:var(--PSPDFKit-Comment-accent-color);padding:0.609em;padding:var(--PSPDFKit-spacing-6);resize:none;white-space:pre-wrap;width:100%}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [contenteditable]{min-height:inherit}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [data-user-id]{background-color:transparent;color:#4636e3;color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);padding:0.8125em;padding:var(--PSPDFKit-spacing-5);width:100%}.PSPDFKit-3a6az8snvjp28tbbeuzbhb8g3j{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas{align-items:center;background:none;border:none;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);display:flex;height:26px;justify-content:center;margin-left:8px;padding:0}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas span{border-radius:3px;height:26px;padding:1px;width:26px}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover{cursor:pointer}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover:not(.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn) span{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-icon-backgroundColor-hover)}.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn span{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-icon-backgroundColorActive);color:#fff;color:var(--PSPDFKit-Comment-icon-strokeColorActive)}.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:focus,.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:hover{color:#d63960;color:var(--PSPDFKit-Comment-deleteIcon-color)}.PSPDFKit-5y5p3r6ykjn2ayvbvjkrfqphey{height:24px}.PSPDFKit-37gwnzwf4ca3vasdqrh9p66p1v{align-items:center;border-radius:3px;display:flex;padding:6px 8px}.PSPDFKit-8nc3tp5w5tk5jedzmbawt81rb3{margin-top:15px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;border-radius:50%;height:24px;margin-left:8px;padding:0;width:24px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z:hover{cursor:pointer}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z[disabled]{background-color:#bec9d9;background-color:var(--PSPDFKit-Comment-editingTextButtonIconDisabled-background);pointer-events:none}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm svg{color:#4636e3;color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm:hover svg{color:#2b1cc1;color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg svg{color:#fff;color:var(--PSPDFKit-Comment-editingTextButtonIcon-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg:hover{background-color:#2b1cc1;background-color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab{padding-top:1px}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab svg{color:#848c9a;color:var(--PSPDFKit-Comment-editingTextCancelButton-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab:hover svg{color:#717885;color:var(--PSPDFKit-Comment-editingTextCancelButtonHover-color)}.PSPDFKit-58hy6741cqa5n2g3pqaermn97s{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;box-shadow:0 1px 2px 0 #2b323b33, 0 3px 4px 0 #2b323b0d;box-shadow:var(--PSPDFKit-Comment-Toolbar-backdrop);display:flex;flex-direction:row}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht{align-items:center;background-color:transparent;border:none;cursor:pointer;display:flex;height:38px;justify-content:center}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht>span{display:flex}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht svg{color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);height:24px;width:24px}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht.PSPDFKit-5ege4ny766r38mq51n6h553ksm svg,.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=on] svg{color:#4636e3;color:var(--PSPDFKit-Comment-Toolbar-Selected-Color)}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=open]{opacity:.5}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba{margin-left:8px}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba svg{color:#848c9a;color:var(--PSPDFKit-Comment-editingTextCancelButton-color);width:10px}.PSPDFKit-89u863ebnbu84fn5v8hhghh83x{align-items:center;display:flex;flex-direction:row}.PSPDFKit-3e81entadshw7dt4gtbeuem2xu{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-Toolbar-borderColor);width:1px}.PSPDFKit-2nb7drgzfpu5sppaazuvdaas8q{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;display:grid;gap:12px;grid-template-columns:repeat(6,1fr);padding:16px;width:200px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf{border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-ColorPicker-borderColor);border-radius:100%;cursor:pointer;height:16px;width:16px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf[data-state=checked]{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-Comment-linkEditor-buttonText-color)}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8{align-items:center;background-color:#606671;background-color:var(--color-coolGrey600);background-image:linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-image:linear-gradient(45deg,var(--color-black) 25%,transparent 25%,transparent 75%,var(--color-black) 75%,var(--color-black)),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-position:0 0,4px 4px;background-size:8px 8px;display:flex;justify-content:center}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8>div{background-color:#ec2d67;border-radius:2px;height:13px;transform:rotate(45deg);width:3px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor);border-radius:4px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);min-width:360px;overflow:hidden}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m,.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{display:flex;flex-direction:column}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);color:#3d424e;color:var(--PSPDFKit-Comment-linkEditor-inputLabel-color);padding:8px 16px 24px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m label{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m input{all:unset;background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor);border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-Comment-linkEditor-input-borderColor);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin-top:4px;padding:8px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::-ms-input-placeholder{color:#606671;color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::placeholder{color:#606671;color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-7kqa88wjcucusw944q4td6njjs{all:unset;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px}.PSPDFKit-45m9kechgpmukdwrz93q4qmrh1{display:flex;flex-direction:row;padding:10px 16px!important}.PSPDFKit-78emxwqr69budhctjscsd4btu4{background-color:#f0f3f9!important;background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor)!important;border-top:unset!important}.PSPDFKit-739qzd1hv6b6qjjx638p4258gh{align-items:center;column-gap:1em;column-gap:var(--PSPDFKit-spacing-4);display:flex;flex:1;flex-direction:row;overflow:auto}.PSPDFKit-2t2huzxxwcaje7r4h9u6cs8gf8{justify-content:center}.PSPDFKit-4pxvqpszy7wy3zb3hxw4p8qk2r{justify-content:flex-end}.PSPDFKit-3u7etkbahb7gyv7dvxrfvtugfd{text-align:center}.PSPDFKit-23zx2zfm8wum8a6s3vr81nawu9{flex:1}.PSPDFKit-pjs3fa92fehykyz7vs566ebn3{min-width:100px}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n{all:unset;color:#4636e3;color:var(--PSPDFKit-Comment-linkEditor-buttonText-color);cursor:pointer;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px;text-align:center}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:not(:disabled):hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover)}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:disabled{cursor:not-allowed;opacity:.5}.PSPDFKit-2cz2cdu6k2usyms4krcjqkgzbu{fill:#f0f3f9;fill:var(--PSPDFKit-Comment-linkEditor-backgroundColor)}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda:focus-within{border-color:#4636e3;border-color:var(--PSPDFKit-Comment-accent-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border-radius:0}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{border-radius:0;color:#000;color:var(--PSPDFKit-Comment-popover-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-738g668qas89ty7hkqaw6r3wj8{max-height:calc(100vh - 60px)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);padding:0!important}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx.PSPDFKit-2k9waz28euj6he95bg1pth1q71{border-top:none}.PSPDFKit-fe2j351tsy55sdctatshf3857{background:linear-gradient( + 180deg, + rgba(255, 255, 255, 0) 0%, + #fff 100% + );background:var(--PSPDFKit-Comment-popover-moreComments-gradient);bottom:0;display:flex;justify-content:center;padding:60px 0 12px;position:sticky}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh{align-items:center;background-color:#3d424e;background-color:var(--PSPDFKit-Comment-popover-moreComments-background);border-radius:20px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);color:#fff;color:var(--PSPDFKit-Comment-popover-moreComments-color);display:flex;padding:4px 12px 4px 8px}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh:hover{cursor:pointer}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge{background-color:#fff;background-color:var(--PSPDFKit-Comment-popover-moreComments-color);border-radius:50%;display:flex;height:16px;margin-right:8px;width:16px}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge>svg{color:#3d424e;color:var(--PSPDFKit-Comment-popover-moreComments-background);height:16px;rotate:180deg;width:16px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-borderColor);border-radius:3px;max-height:300px;overflow:scroll;width:297px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju[data-side=bottom]{transform:translateY(36px)}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju>div:not(:first-child){border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-separator)}@media(max-width:480px){.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{max-height:200px;width:calc(100vw - 26px)}}.PSPDFKit-29ub44u4t1nq9au4r5r8gq16zz{display:flex;flex-direction:row}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true]{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{color:#d3dcff;color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{background-color:#d3dcff;background-color:var(--PSPDFKit-Comment-Avatar-Active-backgroundColor);color:#4636e3;color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{color:#f0f3f9;color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color)}.PSPDFKit-283uxv24vcfj241z4bctddtydk{grid-column-gap:12px;grid-row-gap:0;cursor:pointer;display:grid;grid-template-columns:24px 1fr;grid-template-rows:20px 17px;padding:8px 16px}.PSPDFKit-6f9qc1enqd8ejv1rusfkvmsbum{grid-template-rows:1fr}.PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{align-self:center;background-color:#848c9a;background-color:var(--PSPDFKit-Comment-Avatar-backgroundColor);border-radius:100%;color:#fcfdfe;color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);grid-area:1/1/3/2;height:24px;width:24px}.PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{align-self:center;color:#3d424e;color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-color);font-size:14px;font-weight:600;grid-area:1/2/2/3}.PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{align-self:center;color:#848c9a;color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-color);font-size:12px;font-weight:500;grid-area:2/2/3/3}.PSPDFKit-6p3jtubgkq6b3vgyr1n1fm5hh6{display:flex;width:100%}.PSPDFKit-2cdzkdcuqaah7ztnfqfbupn397{align-items:flex-end;color:#bec9d9;color:var(--color-coolGrey200);display:flex;margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5)}.PSPDFKit-4693n37yeyx3742yquf9zbuh9x{font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)} +.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh{max-width:362px}.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh,.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{border-radius:6px;overflow:hidden}.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{height:46px;text-align:center;width:362px}.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{align-content:center;justify-content:center;text-align:center}.PSPDFKit-6c7xfncwch6xyvu2c9ht4628jr,.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{display:flex;flex:1;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{color:var(--PSPDFKit-FormDesignerPopoverComponent-title-color);margin:0;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg,.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg{color:#3d424e;color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j{flex:1;flex-direction:column;padding:0.46875em 1em 1em 1em;padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j,.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-content-background-color);color:var(--PSPDFKit-FormDesignerPopoverComponent-content-color);display:flex;overflow:auto}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{align-content:center;column-gap:1em;column-gap:var(--PSPDFKit-spacing-4);flex:1;flex-direction:row;justify-content:space-around;padding:1em;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e button{width:100%}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr{margin:4px 0 16px!important}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr svg{height:11px!important;width:12px!important} +.PSPDFKit-rmf34nztrfgm2bcf7ccec8zhz{max-width:700px}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6{margin-bottom:20px;text-align:left}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6 a{color:#3c97fe}.PSPDFKit-8m2ghddxnzm27ad3jnnphw522j{background:#000;color:#fff;font-family:monospace;height:100px;margin:auto;resize:none;width:100%} +.PSPDFKit-5wp751jqbxpbbwkus9rbbddxgu{background-color:#fff;background-color:var(--PSPDFKit-DocumentOutline-background);height:100%;overflow:auto;padding:0.46875em calc(0.46875em/2);padding:var(--PSPDFKit-spacing-7) calc(var(--PSPDFKit-spacing-7)/2);padding-right:0}.PSPDFKit-38m3bpj83kumpugydqecgvfb87{display:flex;justify-content:center;padding:2.4375em 0.609em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-6thyvskwj8bhtjt43bjv7r2tv3{padding-left:0.609em;padding-left:var(--PSPDFKit-spacing-6)}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf{align-items:center;cursor:pointer;display:flex}.PSPDFKit-8q6pak6zvt1x45sh6b8f91pb5g{cursor:default}.PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4{padding-left:24px}.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-DocumentOutline-control-border);color:#21242c;color:var(--PSPDFKit-DocumentOutline-control-color);display:block;padding:0.8125em 1em 0.8125em 0;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-5) 0;width:100%}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc{fill:#bec9d9;fill:var(--PSPDFKit-DocumentOutline-icon-color);color:#bec9d9;color:var(--PSPDFKit-DocumentOutline-icon-color);cursor:pointer;display:block;margin-right:calc(0.46875em/2);margin-right:calc(var(--PSPDFKit-spacing-7)/2)}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc svg{height:100%;width:100%}.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{transform:rotate(90deg);transition:transform .2s ease}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf:hover .PSPDFKit-8hs25mq46u5e54udrwp52hzqxc,.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{fill:#4636e3;fill:var(--PSPDFKit-DocumentOutline-icon-isHovered-color);color:#4636e3;color:var(--PSPDFKit-DocumentOutline-icon-isHovered-color)}div[id^=outline-control] .PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4>.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{padding-left:10px} +.PSPDFKit-3794mza67b1yg72kafrt5hb5ne{-webkit-overflow-scrolling:touch;background-color:#fff;background-color:var(--PSPDFKit-BookmarksSidebar-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-border);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:0.8125em;padding-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-82vfq7tmnvc7msfc9e69vvteqg{display:flex;width:100%}.PSPDFKit-74mdazdfzvch29s6gw4fvdanw9{min-width:100%}.PSPDFKit-3fv5zkg97n3mu687rszsbq2vap,.PSPDFKit-6n1ufy9m7k6kddjekzx8ra9equ{width:90%}.PSPDFKit-8ar7rzebgg8hmscpa7e7zunr9c{background-color:#f6f8fa;background-color:var(--PSPDFKit-BookmarksSidebar--loading-background);display:flex;justify-content:center;padding:2.4375em 0.8125em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-5)}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh,.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:#4d525d;color:var(--PSPDFKit-BookmarksSidebar-heading-color);font-size:inherit;font-weight:400;text-transform:uppercase}.PSPDFKit-25cnnvzt1zat453758mcudxsca{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{align-items:center;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:0.609em 0;margin:var(--PSPDFKit-spacing-6) 0;text-transform:uppercase}.PSPDFKit-39x22bdb75a1huszgc6wehk4n2{display:flex;justify-content:space-between;margin-top:1em;margin-top:var(--PSPDFKit-spacing-4)}.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);max-width:100%;overflow:hidden;padding:.1em 0 0 .7em;position:absolute;right:0;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:#2b2e36;color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin:0 1em 0 0.46875em;margin:0 var(--PSPDFKit-spacing-4) 0 var(--PSPDFKit-spacing-7);padding:0.8125em 0 0.8125em 0.8125em;padding:var(--PSPDFKit-spacing-5) 0 var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-5);position:relative}.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="-1"]>div,.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="0"]>div{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-layout-border)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#3d424e;fill:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:#2b2e36;color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:hover{color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within]{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#4636e3;fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#4636e3;fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 button{background:transparent;border:0;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57 svg{background:#fff;background:var(--PSPDFKit-BookmarksSidebar-edit-background);height:24px;position:relative;width:24px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-edit-color);flex:0 0 16px;height:16px;margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);opacity:0;width:16px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:active,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:focus,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:hover,.PSPDFKit-3gpkhfqvs5pqtr4r9ry6e3jwjq,:active>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:focus>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:hover>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{opacity:1}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x{background-color:#f0f3f9;background-color:var(--PSPDFKit-BookmarksSidebar-editor-background);padding:0.8125em;padding:var(--PSPDFKit-spacing-5);position:relative;width:100%;z-index:2}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x .PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{margin-bottom:0.8125em;margin-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-5zwbu9g714rrbrfqc66ep7t3cs{flex-wrap:nowrap;margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5);overflow-y:auto}.PSPDFKit-2b313c5ajnt3v97v7xqyj8k9ag{flex:1}.PSPDFKit-426mdzb7nn1fr9xdajcg4c1cqv{align-self:flex-start;margin-right:.5em}.PSPDFKit-2bfgwcaxtth9w1jg88tzb46hy7{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5em;justify-content:flex-end} +.PSPDFKit-wqnk7x3sp9sp2zkcvbfawsb6r{background-color:#f6f8fa;background-color:var(--PSPDFKit-Sidebar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:100%;overflow-wrap:break-word;position:relative;word-break:break-word;z-index:1}.PSPDFKit-6zdf5v5224wp5vu92pkacn6sx3{background:#f0f3f9;background:var(--PSPDFKit-Sidebar-header-background);display:flex;flex-direction:column;flex-wrap:wrap;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);text-align:right}.PSPDFKit-4bvu69j78qa67c4wqqxaxrqbs5{background-color:#bec9d9;background-color:var(--PSPDFKit-Sidebar-dragger-background);border-left:1px solid rgb(33 36 44 / 0.2);border-left:1px solid var(--PSPDFKit-Sidebar-dragger-border);bottom:0;cursor:col-resize;overflow:hidden;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{background:#fff;background:var(--PSPDFKit-Sidebar-draggerHandle-background);border:1px solid rgb(33 36 44 / 0.2);border:1px solid var(--PSPDFKit-Sidebar-draggerHandle-border);border-left:none;border-radius:3px;display:block;height:32px;position:fixed;top:50%;width:9px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after,.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{background-color:#bec9d9;background-color:var(--PSPDFKit-Sidebar-dragger-pseudo-background);content:"";height:20px;left:50%;margin-top:-15px;position:absolute;top:64%;width:1px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{margin-left:-2px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after{margin-left:1px}@media(max-width:768px){.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{display:none}}.PSPDFKit-2x4gzue77m9rd4f4ax5y9e5wj1{height:100%;overflow:auto} +.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{color:#fff;display:block;-webkit-user-select:none;-ms-user-select:none;user-select:none}.interactions-disabled .PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{display:none}.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf div{align-items:center;display:flex;flex:1 0 auto;flex-direction:row;flex-wrap:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.PSPDFKit-6stgnz1576bk1x1pc2nvf8mswa{border-radius:6px;display:block;overflow:hidden}.PSPDFKit-47apua2t9uqk8xayrhg2x6bxwp{background:#5e6266;height:20px;margin:0 6px;width:1px}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe{border-right:1px solid #4a4d51;height:34px!important;width:38px!important}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe:last-child{border-right:0}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe i{height:20px!important;width:20px!important} +.PSPDFKit-8ffg9gawq78kbmz1r4tzjvvqc9{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.PSPDFKit-8xy9jsj7mkgjmn242vthsdvebm{min-height:32px;padding:0 10px} +.PSPDFKit-4vgck46zhyuscqkznsp8pabh68{cursor:all-scroll;cursor:grab;height:auto;min-height:100%;min-width:100%;width:auto}.PSPDFKit-4cbfb2m7vt4aq7g21z3gxtzzde{cursor:grabbing} +.PSPDFKit-m8vcznd3skqsshg6rhqg119mc{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:90%}@media(min-width:320px){.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:300px}}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>button,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>div{margin:.5em 0}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n{background-color:#f0f3f9;background-color:var(--PSPDFKit-PrintLoadingIndicator-progress-background);border-radius:3px;color:#000;color:var(--PSPDFKit-PrintLoadingIndicator-progress-color);display:block;overflow:hidden;padding:.25em .5em;position:relative;width:100%;z-index:1}.PSPDFKit-3mu82vxhmw13y36qrsu6ya81cc{background-color:#4636e3;background-color:var(--PSPDFKit-PrintLoadingIndicator-progressBar-background);bottom:0;left:0;position:absolute;top:0;z-index:-1}.PSPDFKit-489xz3n1mhssjcqb9fqcbey276{color:#4d525d;color:var(--PSPDFKit-PrintLoadingIndicator-progressText-color)} +.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{align-items:center;display:flex;width:90%}@media(min-width:320px){.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{width:300px}}.PSPDFKit-4dct27k6q3q9d4c4atrzr75u79{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:1.625em;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-6pphz7vq2cfumupsmn27tmjjzb{display:block;height:48px;width:48px} +.PSPDFKit-5w2de1uyy445puycu46qkgmvar{align-items:center;display:flex;overflow:hidden;width:90%}@media(min-width:320px){.PSPDFKit-5w2de1uyy445puycu46qkgmvar{width:300px}}.PSPDFKit-6w84556468p7ssdr8cqmyn8mjr{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:1.625em;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-75vqhz2zk4qrae8pgcsegd1jf9{display:block;height:48px;width:48px} +.PSPDFKit-6mny4jk3t426w24d83deht33rn{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-5e2eu5vu2edrbusdw9chj1k5ya{align-items:center;display:flex;height:100%;justify-content:center;margin-right:16px}.PSPDFKit-qrb6rv4vd7m34wj2w85zjxjfu{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{align-items:center;background-color:#fff;background-color:var(--PSPDFKit-SearchForm-background);border-radius:0 0 4px 4px;border-top:1px solid #f6f8fa;border-top:1px solid var(--PSPDFKit-SearchForm-border);display:flex;flex-direction:row;height:44px;opacity:1;padding:5px 10px;position:absolute;right:0;top:44px;transition:opacity .4s ease 0s;width:400px;z-index:10}.PSPDFKit-width-xs .PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{border-radius:0;width:100%}.PSPDFKit-kygm1cgnwkp9bv59ggpqfyv9j{top:0}.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{align-items:stretch;display:flex;flex-direction:row;margin-right:10px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk,.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{flex-grow:1;height:30px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-input-background);border:none;border-radius:4px 0 0 4px;color:#3d424e;color:var(--PSPDFKit-SearchForm-input-color);font-size:0.875rem!important;font-size:var(--PSPDFKit-fontSize-3)!important;padding:5px 0 5px 10px;width:0}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-input-placeholder{color:#3d424e;color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::placeholder{color:#3d424e;color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk:focus{outline:none}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-clear{height:0;width:0}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct{display:none}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){background:#f0f3f9;background:var(--PSPDFKit-SearchForm-results-isDisabled-background);color:rgb(132 140 154 / 0.5);color:var(--PSPDFKit-SearchForm-results-isDisabled-color);display:flex;min-width:40px;text-align:right}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j,.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){height:30px;line-height:20px;padding:5px 10px}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j{background:#bec9d9;background:var(--PSPDFKit-SearchForm-button-background);border:0;border-radius:4px;color:#3d424e;color:var(--PSPDFKit-SearchForm-button-color);cursor:pointer;font-size:inherit;text-align:center;touch-action:none;transition:all .15s}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j:hover{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-button-isHovered-background);border:rgb(132 140 154 / 0.5);border:var(--PSPDFKit-SearchForm-button-isHovered-border);color:#21242c;color:var(--PSPDFKit-SearchForm-button-isHovered-color)}.PSPDFKit-6jsphwggasn3qhq6cpukr87kyp{border-radius:0 4px 4px 0;display:flex;flex-direction:row;height:30px;margin-left:1px;overflow:hidden}.PSPDFKit-the91ha3x5196stsyerdyzwb2,.PSPDFKit-8sbnka5652yjkubedgurz66zwq{align-items:center;background:#bec9d9;background:var(--PSPDFKit-SearchForm-button-controls-background);border:1px solid transparent;color:#3d424e;color:var(--PSPDFKit-SearchForm-button-controls-color);cursor:pointer;display:flex;justify-content:center;padding:0;touch-action:none;transition:all .15s;width:30px}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus-visible{border:2px solid #5e5ceb;border-radius:4px;transition:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:#3d424e;fill:var(--PSPDFKit-SearchForm-button-controls-color);height:12px;width:12px}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg{height:100%;width:100%}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt{display:flex;justify-content:center}.PSPDFKit-the91ha3x5196stsyerdyzwb2:hover,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:hover{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-button-controls-isHovered-background)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled{pointer-events:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:rgb(132 140 154 / 0.5);fill:var(--PSPDFKit-SearchForm-button-controls-isDisabled-color)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus{outline:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child{border-left:1px solid #f0f3f9;border-left:1px solid var(--PSPDFKit-SearchForm-button-lasChild-border)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child:focus-visible{border-left:2px solid #5e5ceb;border-radius:4px} +.PSPDFKit-5jn8feeuubm369vnx3evcba1rp,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.PSPDFKit-5jn8feeuubm369vnx3evcba1rp canvas,.PSPDFKit-5jn8feeuubm369vnx3evcba1rp img,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r canvas,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r img{height:auto;left:0;max-height:100%;max-width:100%;top:0;width:auto}.PSPDFKit-6anvx47kar5w253fz6rqg9hxcr,.PSPDFKit-rfgw2ucjvptvmzh7zu271n4x2{background-color:#f0f3f9;background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-background);position:relative}.PSPDFKit-4jv7s61cvh1pcgqnvbxqubx8xv{align-items:center;display:flex;justify-content:center}.PSPDFKit-3z5svj219typgks4atm97b4y6h svg{background-color:#fff;background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background);border-radius:12px;color:#d63960;color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color);height:24px;width:24px}.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 canvas,.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 img{height:auto;width:auto}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 img{height:auto;width:100%}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t img{height:100%;width:auto}.PSPDFKit-4dw6z4dcs45pn73rp3uakt52q2{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)} +.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{max-width:640px}.PSPDFKit-5vxa6baehq7axm7hfhdhastujx{max-width:480px}.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{max-height:100vh;padding:0;width:100%}@media(max-height:455px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{height:90%}}@media(max-height:300px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{height:100%}}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{border-radius:0;height:100%;max-width:100%}}.PSPDFKit-2z88h3qxg8pahcdtccg1v16rzw{margin-left:calc(0.8125em*2);margin-left:calc(var(--PSPDFKit-spacing-5)*2);margin-right:calc(0.8125em*2);margin-right:calc(var(--PSPDFKit-spacing-5)*2)}@media(max-width:992px){.PSPDFKit-2z88h3qxg8pahcdtccg1v16rzw{margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}}.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd{margin:0!important;padding:1.625em;padding:var(--PSPDFKit-spacing-3);position:relative}.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd:last-child{margin-bottom:0}@media(max-width:992px){.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-5d23s5wtcb4xyd2r69ffat43tr{color:#3d424e;color:var(--PSPDFKit-StampViewComponent-header-color);display:flex;flex-direction:column;height:100%;justify-content:space-between}@media(max-height:480px),(orientation:landscape)and (max-width:992px){.PSPDFKit-5d23s5wtcb4xyd2r69ffat43tr{height:auto}}.PSPDFKit-htg8xmsw1medv8z65rsxzra3j{height:auto;max-height:90vh}@media(max-height:480px),(orientation:landscape)and (max-width:992px){.PSPDFKit-htg8xmsw1medv8z65rsxzra3j{max-height:none}}.PSPDFKit-83y7r7bjft89d7vj54ak85a64d{align-items:center;border:0 solid #bec9d9;border:0 solid var(--PSPDFKit-StampViewComponent-header-border);display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:1.625em;padding:var(--PSPDFKit-spacing-3);z-index:1}@media(max-width:992px){.PSPDFKit-83y7r7bjft89d7vj54ak85a64d{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-4c13ns3r3x61v4zpchdh6wzdc6{align-items:center;display:flex;flex-wrap:wrap;margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b,.PSPDFKit-4c13ns3r3x61v4zpchdh6wzdc6{justify-content:space-between}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b{font-size:1.5rem;font-size:var(--PSPDFKit-fontSize-6);padding-bottom:0.8125em;padding-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b label{margin:0}@media(min-width:350px){.PSPDFKit-8aay2s7evt3up79u41nwecrs5b{margin-bottom:0;padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6);padding-top:0.609em;padding-top:var(--PSPDFKit-spacing-6)}}@media(max-width:350px){.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2{width:100%}.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2~.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2,.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5)}.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{width:100%}}@media(max-width:350px)and (max-width:992px){.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{margin-top:0}}.PSPDFKit-72pcrgpengy3y8cuv97n9jaw3f{background-color:rgb(216 223 235 / 0.25);background-color:var(--PSPDFKit-StampViewComponent-previewContainer-background);border:1px solid #a8bff8;border:1px solid var(--PSPDFKit-StampViewComponent-previewContainer-border);border-radius:3px;display:flex;flex-direction:row;justify-content:center;margin-left:calc(0.8125em*-1);margin-left:calc(var(--PSPDFKit-spacing-5)*-1);margin-right:calc(0.8125em*-1);margin-right:calc(var(--PSPDFKit-spacing-5)*-1);overflow:hidden;padding:2.4375em 0.8125em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-5);position:relative}@media(max-width:992px){.PSPDFKit-72pcrgpengy3y8cuv97n9jaw3f{margin-left:0;margin-right:0;padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-572d5dceqqhvah17hy2c45a4ej{background-color:transparent;color:transparent;text-align:center;text-transform:uppercase}.PSPDFKit-572d5dceqqhvah17hy2c45a4ej canvas{max-width:100%}.PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{background-color:#fcfdfe;background-color:var(--PSPDFKit-StampViewComponent-templateImageContainer-background);border:1px solid #a8bff8;border:1px solid var(--PSPDFKit-StampViewComponent-templateImageContainer-border);border-radius:2px;box-sizing:initial!important;display:flex;flex-direction:row;justify-content:center;padding:7.422924052%}@media(max-width:992px){.PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{padding:4.4932079415%}}.PSPDFKit-2ntpjcyeqryy3sx2z21svrqz1w{color:#bec9d9;color:var(--PSPDFKit-StampViewComponent-writeHere-color);margin-top:-.5em;position:absolute;text-align:center;top:50%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-66ekjcxsaeqgn89qtwpugg9xvn{align-items:center;cursor:pointer;display:flex;flex:1}.PSPDFKit-6zmyzykxc4t66pwbdd5sen73re{display:flex;flex-direction:row;justify-content:space-around;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0}.PSPDFKit-6j7fbdr9rnqrtkj8begfh32k5z{-webkit-overflow-scrolling:touch;flex:1 1 auto;max-height:50vh;overflow:auto;transform:translateZ(0)}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-6j7fbdr9rnqrtkj8begfh32k5z{max-height:100%}}.PSPDFKit-7nv5w9b4mfxuda9qpmyu4tfmkq{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-top:0;padding:0 1.6666666667%;scroll-behavior:smooth;width:100%}@media(max-width:992px){.PSPDFKit-7nv5w9b4mfxuda9qpmyu4tfmkq{padding:0 1.875%}}.PSPDFKit-3cppdtq9fhab43g49xz5t5vzy5{list-style:none;margin-top:3.3333333333%;width:31.03%}@media(max-width:992px){.PSPDFKit-3cppdtq9fhab43g49xz5t5vzy5{margin-top:3.75%;width:47.85%}}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j{align-items:stretch;background-color:transparent;border:1px solid transparent;display:flex;flex-direction:column;padding:0;touch-action:auto;width:100%}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j.PSPDFKit-6rfyzsd4thzrxy3u2uacc8zvq4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:focus,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:hover{background-color:#fff;background-color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-background);border-color:#4636e3;border-color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-border);color:#fff;color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-color)}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j.PSPDFKit-6rfyzsd4thzrxy3u2uacc8zvq4 .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:focus .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:hover .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{background-color:#fcfdfe;background-color:var(--PSPDFKit-StampViewComponent-templateImageContainer-background)}.PSPDFKit-8agdbfphrnw37rw3cw5sfvvfjm{color:#4d525d;color:var(--PSPDFKit-StampViewComponent-title-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5);margin-bottom:0;max-width:100%;white-space:nowrap}@media(max-width:768px){.PSPDFKit-8agdbfphrnw37rw3cw5sfvvfjm{padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6);padding-top:0.609em;padding-top:var(--PSPDFKit-spacing-6)}}.PSPDFKit-2dzap69xuhzmtc67qz5wnyya7a{padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0}.PSPDFKit-8kvufduapwfav2a4wpe2xsukhy{position:absolute}.PSPDFKit-7s8151tm4sjch2syfq2v6t7wzw{margin:0}.PSPDFKit-zdns58vemvwxvgxmts83x9exn{justify-content:space-between} +.PSPDFKit-69gywaa9k96ge1hvked74ez5n1{background:#f0f3f9;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-row-background);display:flex;justify-content:space-around;justify-content:space-evenly;position:relative}.PSPDFKit-83vux4k1ev4t7s9g2qxwew634a{border-radius:10px;text-align:center}.PSPDFKit-42kn3f7jwfc8upuf4bdwgdyxcg{align-items:center;display:flex;justify-content:center}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub{background:#5e5ceb;height:calc(100% - 8px);left:50%;pointer-events:none;position:relative;width:3px}.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2{background:#000;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);opacity:.1}.PSPDFKit-6bd8y61brzkav8gpvce127azsv{left:16px;position:absolute;top:50%;transform:translateY(-50%)}.PSPDFKit-7b8eq949hpzkc8q3qh9tv8nxbp{transform:translateX(calc(-100% - 48px)) translateY(-50%)}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{background:#000;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);width:12px}@media(min-width:768px){.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{width:24px}}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):before{background:#5e5ceb}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{top:0}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after{bottom:0}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz{background-color:#fff;background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background);box-shadow:0 1.5px 2px rgba(43, 46, 54, 0.15),0 3px 6px rgba(43, 46, 54, 0.15);box-shadow:0 1.5px 2px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow),0 3px 6px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow);overflow:hidden;transition:opacity .16s}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz:not(.PSPDFKit-213q4dhe5s5dzr5zeyuf11xun6){cursor:pointer}.PSPDFKit-4vvz95aegtycng8362mk8x2u2f{border-radius:1px;box-shadow:0 0 0 4px #5e5ceb;box-shadow:0 0 0 4px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow)}.PSPDFKit-7w3scq2qsd5h5g3fxuj2wccn4t{opacity:.3}.PSPDFKit-2y5u2mcg8a7zhnfwfbbcfhnxcx{background-color:rgb(61 66 78 / 0.5);background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-background);border-radius:3px;color:#fff;color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-color);display:inline-block;min-width:48px;overflow:hidden;padding:0 4px;text-align:center;text-overflow:ellipsis;text-shadow:0 1.5px 3px rgba(0,0,0,.3);white-space:nowrap;width:auto}.PSPDFKit-3q3ydy7h9pcgtbpzqngpf8cet1{background-color:#5e5ceb;background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background);color:#fff;color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color)}.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu canvas,.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu img{transform:translateZ(0)} +.PSPDFKit-6rzkyc987bqyetscyfvr4nf3f2{-webkit-backface-visibility:hidden;left:0;position:absolute;right:0;width:100%;z-index:2}.PSPDFKit-2fwepfwm4jpbvv9evy3bh2cmsu{bottom:44px} +.PSPDFKit-7dzbfgjr5hhbb3rc1z1j74nw53{align-items:flex-start;display:flex;flex-direction:row;opacity:.97;padding:1em 0.46875em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-67qcupwvpz7h59x97s5hu3w8y9{display:flex;margin-left:auto;margin-right:auto}.PSPDFKit-5hnd1py888z6q6dqpr2kp2cq2e{margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-6ee193drjzesd61tu19hcvekb6{display:block;height:24px;width:24px}.PSPDFKit-67meud5692v5j5a61jw2681xzk{background-color:transparent;border:none;display:flex;justify-content:center;padding:0 0 0 0.8125em;padding:0 0 0 var(--PSPDFKit-spacing-5)}.PSPDFKit-67meud5692v5j5a61jw2681xzk:hover{background-color:transparent}.PSPDFKit-6u1j5sk8ayvj3gvkxqkswrcet2{flex-basis:24px;height:24px;width:24px}.PSPDFKit-44csr6tj4teuj9fhfz8ee71tfx{background-color:#f5fee3;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-color)}.PSPDFKit-2e9udw15t4gp8scnfddhxz9hsd{color:#628d06;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color)}.PSPDFKit-4ppb4buhu7rwnjufcn6ajpkskn{background-color:#fffae1;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-color)}.PSPDFKit-86f3yc46j85tr3gsnftm482dk{color:#e8b500;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color)}.PSPDFKit-2c4pxuv49a7x173nj5nzfauxbt{background-color:#fceaf1;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-color)}.PSPDFKit-8zs1teqnye2ksnaxmemgknn6pv{color:#d63960;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color)} +.PSPDFKit-32xak74au7weyz9ycbwytr2c3f{color:#fff;padding:0 6px}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j{border-right:1px solid #4a4d51}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:last-child{border-right:0}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:active,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:hover,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j[data-focus-within]{background-color:#5f6d78}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus-within{background-color:#5f6d78} +.PSPDFKit-8jp8nm1hj7szh4vv5aurdvd5j9{background:#f6f8fa;background:var(--PSPDFKit-Viewport-background);overflow:hidden;position:absolute;text-align:center} +.PSPDFKit-upyueavav3kv33ygfhr93t7hn{background-color:#f6f8fa;background-color:var(--PSPDFKit-ElectronicSignatures-modal-background);max-height:100vh;max-width:1126px;padding:0;width:90%}@media(max-height:455px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{height:90%}}@media(max-height:300px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{height:100%}}@media(orientation:landscape)and (max-width:480px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{border-radius:0;max-width:100%}}@media(max-width:740px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{width:95%}}@media(max-width:695px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{width:100%}} +.PSPDFKit-8gq7mgq8djv9ezfm3aggdqah73{background-color:#f0f3f9;background-color:var(--PSPDFKit-ElectronicSignatures-tabsContainer-background)}.PSPDFKit-4naqn2bzdrgu5nb7mcca6813b9{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);display:flex;list-style:none;margin:0;padding:12px 32px;position:relative}.PSPDFKit-2wypy7bhpedng6w2enk86n2ffe{display:none}.PSPDFKit-2c6rssd6rpe9grxycaej4zf8rn{align-items:center;color:#4d525d;color:var(--PSPDFKit-ElectronicSignatures-tabLabel-color);cursor:pointer;display:flex;flex-direction:column;font-weight:400;height:35px;justify-content:center;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);min-width:80px}.PSPDFKit-2c6rssd6rpe9grxycaej4zf8rn[aria-selected=true]{color:#4636e3;color:var(--PSPDFKit-ElectronicSignatures-tabLabel-active-color)}.PSPDFKit-79am7vyks3epfsjgn3wk7mww8m{background-color:#4636e3;background-color:var(--PSPDFKit-ElectronicSignatures-tabLabel-active-color);height:2px;position:absolute;top:59px;transition:all .2s ease}.PSPDFKit-83cpfrtzfckj4rmhdjbf74dvzb{align-items:center;display:flex}.PSPDFKit-7wtc4u9qzvmjad6d77716688jh{color:#4d525d;color:var(--PSPDFKit-ElectronicSignatures-storeCheckLabel-color);margin-left:0.609em;margin-left:var(--PSPDFKit-spacing-6)}.PSPDFKit-u7shgag5rj3hh92n3awajszy4{background-color:#fff;background-color:var(--PSPDFKit-ElectronicSignatures-contentArea-background)}.PSPDFKit-2qk916qe3f3jfunhkv92wmtjwx{align-items:center;background-color:#f6f8fa;background-color:var(--PSPDFKit-ElectronicSignatures-modal-background);border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);display:flex;flex-wrap:wrap;justify-content:space-between;padding:1.625em 1.625em;padding:var(--PSPDFKit-spacing-3) var(--PSPDFKit-spacing-3)} +.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{height:465px;margin:0 auto;padding-top:35px;width:640px}@media(max-width:660px){.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{width:500px}}@media(max-width:480px){.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{height:368px;width:100%}}.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{display:flex;justify-content:flex-end;margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3);margin-left:auto;margin-right:auto;width:640px}@media(max-width:660px){.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{width:500px}}@media(max-width:480px){.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{padding-top:15px;width:100%}}.PSPDFKit-8wzepjf229upy2k96xt66nwvg1{border:1px dashed #bec9d9;border:1px dashed var(--PSPDFKit-DrawingTab-canvas-borderColor);border-radius:5px;padding-bottom:40.8%}@media(max-width:480px){.PSPDFKit-8wzepjf229upy2k96xt66nwvg1{padding-bottom:38.8%;width:95%}}.PSPDFKit-4g59caqc4n814yqz4cmsatkbb4{align-items:center;display:flex;flex-direction:column;justify-content:center}@media(max-width:480px){.PSPDFKit-4g59caqc4n814yqz4cmsatkbb4{height:163px}}.PSPDFKit-25wyftd6zqm5vz9yxv6w2ptfka{color:#606671;color:var(--PSPDFKit-DrawingTab-signHere-color);left:0;right:auto}.PSPDFKit-465fzcz7141apddhad1qk38m5n{border:none;color:#2b1cc1!important;color:var(--PSPDFKit-DrawingTab-deleteSignature-color)!important;padding:0}.PSPDFKit-465fzcz7141apddhad1qk38m5n,.PSPDFKit-25wyftd6zqm5vz9yxv6w2ptfka{margin-top:2em;position:inherit;text-align:center;top:auto;transition:opacity .2s linear,visibility .2s;width:100%}.PSPDFKit-8ca9yy99yv6dw22x1rju3mhdb{align-items:center;display:flex;flex-direction:row;justify-content:center}.PSPDFKit-8ca9yy99yv6dw22x1rju3mhdb>.PSPDFKit-465fzcz7141apddhad1qk38m5n{width:auto} +.PSPDFKit-47zcsv3fwu5f5j1agedgk7s38h{cursor:pointer;display:block;height:40px;width:40px}.PSPDFKit-84pakzkccrn1sw838hggzcebe3{background:none;border:none;color:inherit}.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{border:1px dashed #bec9d9;border:1px dashed var(--PSPDFKit-ElectronicSignatures-imagePicker-borderColor);border-radius:5px;cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:263px;width:640px}@media(max-width:660px){.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{width:500px}}@media(max-width:480px){.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{height:163px;width:95%}}.PSPDFKit-46re49atn1q2cssy9hm43jv1d9,.PSPDFKit-7aga8jh8uu7qs1c39crzpzcny9{align-items:center;flex-direction:column;justify-content:center}.PSPDFKit-7aga8jh8uu7qs1c39crzpzcny9{margin-bottom:5rem}.PSPDFKit-64akqfkfe3yfh3psehrkhk11cn,.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{align-items:center;display:flex;flex-direction:column;justify-content:center}.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{color:#4636e3;color:var(--PSPDFKit-ElectronicSignatures-imagePicker-color);height:465px;padding-top:5rem}@media(max-width:480px){.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{height:368px}}.PSPDFKit-7p7qnahhw8p91ewfd4espwghse{max-height:100%;max-width:100%}.PSPDFKit-2y5be3xzgvqseyuzhcmm6vsx4z,.PSPDFKit-7d7x8413mymuchrw2nz2993mp7{background-color:#d3dcff;background-color:var(--PSPDFKit-ElectronicSignatures-imagePicker-draggingBackground);border:1px dashed #4636e3;border:1px dashed var(--PSPDFKit-ElectronicSignatures-imagePicker-draggingBorder)}.PSPDFKit-83fg6reutzs25txppbedtku6vc{margin-top:14px}.PSPDFKit-82vsn8dkv4nb7e9kgk5qp8xbgp{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px}.PSPDFKit-6u72ac2hzryqdgq3x5wsufupt4{background:none;border:none;color:inherit;cursor:pointer;font-size:inherit;margin-bottom:28px}.PSPDFKit-5dt9dw8u46k56qmj8cuh4sh97h{margin-top:2rem} +.PSPDFKit-719ep6pyz562atwmhkacj3k3m6{-webkit-overflow-scrolling:touch;height:465px}@media(max-width:480px){.PSPDFKit-719ep6pyz562atwmhkacj3k3m6{height:368px;overflow:scroll;width:100%}}.PSPDFKit-3n31k66pdk1ftnkfsz9qyf4hw2{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-container-background-color);height:45%}@media(max-width:480px){.PSPDFKit-3n31k66pdk1ftnkfsz9qyf4hw2{height:53%}}.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{display:flex;justify-content:flex-end;margin-left:auto;margin-right:auto;padding-top:1.625em;padding-top:var(--PSPDFKit-spacing-3);width:640px}@media(max-width:660px){.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{width:500px}}@media(max-width:480px){.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{padding-top:15px;width:100%}}.PSPDFKit-61amcd4h9urqydnusjka2n26zq span{fill:#000;fill:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-color)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq:active,.PSPDFKit-61amcd4h9urqydnusjka2n26zq:focus,.PSPDFKit-61amcd4h9urqydnusjka2n26zq:hover,.PSPDFKit-61amcd4h9urqydnusjka2n26zq[data-focus-within]{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq:focus-within{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq div[role=button]{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-2drm1cp6n3kvyeazukdtmu95sc{height:20px;width:20px}.PSPDFKit-4ptevweskgj257y41s798h5jjb{display:block;margin-left:auto;margin-right:auto;width:640px}@media(max-width:660px){.PSPDFKit-4ptevweskgj257y41s798h5jjb{width:500px}}@media(max-width:480px){.PSPDFKit-4ptevweskgj257y41s798h5jjb{width:100%}}.PSPDFKit-7nwwdf84apx2b7hzp5dwzennx6{opacity:.5}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3{background-color:inherit;border:none;caret-color:rgba(0,0,0,.5);font-size:41px;font-weight:700;height:86px;letter-spacing:.02em;margin-bottom:20px;margin-left:auto;margin-right:auto;max-height:86px;text-align:center}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3,.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus{border-bottom:.33px solid #848c9a;border-bottom:.33px solid var(--PSPDFKit-TypingTab-input-border)}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus{background:#fff;background:var(--PSPDFKit-TypingTab-input-isFocused-background)}@media speech{.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus-visible{outline-color:initial;outline-offset:0;outline-style:auto}}@media(max-width:480px){.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3{width:95%}}.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3{align-items:flex-end;display:flex;flex-direction:row;height:30px;justify-content:center;padding-bottom:.5em}@media(max-width:480px){.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3{padding-bottom:.8em}}.PSPDFKit-3p7nz96bvsjsdgjw4c8kyj4398{color:#606671;color:var(--PSPDFKit-DrawingTab-signHere-color);left:0;right:auto;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj{border:none;color:#2b1cc1!important;color:var(--PSPDFKit-DrawingTab-deleteSignature-color)!important;padding:0;width:auto}.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3>.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj{width:auto}.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj,.PSPDFKit-3p7nz96bvsjsdgjw4c8kyj4398{position:inherit;text-align:center;top:auto;transition:opacity .2s linear,visibility .2s;width:100%}.PSPDFKit-qs3v152s7j26gqhj68c2q6bss{background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background);border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);display:flex;flex-wrap:wrap;height:55%}@media(max-width:480px){.PSPDFKit-qs3v152s7j26gqhj68c2q6bss{border:none;display:block;height:47%;padding-bottom:80vh}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t{align-items:center;background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);display:flex;flex:0 0 50%;flex-direction:row;font-size:30px;justify-content:flex-start;letter-spacing:.02em;line-height:20px;padding-left:3%}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:hover{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-fontFamily-isHovered-background)}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t{height:100px}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t label{height:2em;line-height:2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:88%}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background)}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd){border-right:1px solid #d8dfeb;border-right:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border)}@media(min-width:768px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd).PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-last-child(2){border-bottom:none}}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd){border-right:none}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(3){border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border)}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:last-child{border-bottom:none}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:last-child{border-right:none}}.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg{align-items:center;-webkit-appearance:none;-moz-appearance:none;border:2px solid #d8dfeb;border:2px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);border-radius:50%;display:flex;flex-direction:row;flex-shrink:0;height:28px;justify-content:space-evenly;margin-right:32px;width:28px}@media(max-width:660px){.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg{margin-right:3%}}.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg:checked:before{background:#4636e3;background:var(--color-blue600);border-radius:50%;content:"";display:block;height:16px;margin:4px auto;width:16px}.PSPDFKit-5ua85syhm5ve22x5eyb9j4wkut{align-items:center;display:flex;height:100%} +.PSPDFKit-8pxcgwyzugpmx2y9hzc8mar5sx{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-46bu8hmtxqnu6z2bfjmgu8yc12{color:#21242c;color:var(--PSPDFKit-ElectronicSignatures-modal-legend-color);font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4);font-weight:600;margin-left:1.625em;margin-left:var(--PSPDFKit-spacing-3);margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-2xtks3w6gdnf916enx9j4pwpfu{margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-4vs74kx4e13zumkps7tgue7ez,.PSPDFKit-2xtks3w6gdnf916enx9j4pwpfu{margin-right:1.625em;margin-right:var(--PSPDFKit-spacing-3);margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-5aztmmhhz1251z37zr16w279dd{flex:1 1 auto;margin-left:1em;margin-left:var(--PSPDFKit-spacing-4);margin-right:1em;margin-right:var(--PSPDFKit-spacing-4);max-height:50vh;overflow:auto}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-5aztmmhhz1251z37zr16w279dd{max-height:100%}} +.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{display:flex;flex-direction:column;height:100vh;position:relative;width:100vw}@media(min-width:768px){.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{border-radius:6px;height:calc(100vh - 64px);isolation:isolate;overflow:hidden;width:calc(100vw - 64px)}}.PSPDFKit-4pkhpangb13n8mmvw8ukdfhw4n{position:relative}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65,.PSPDFKit-4m35g8jgpcwck6gzgr9fx9sj37>*{pointer-events:none}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65{background:#fff;background:var(--PSPDFKit-DocumentEditor-moveDialog-background);border-radius:0 0 4px 4px;box-shadow:0 8px 16px rgba(0,0,0,.333);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:absolute;right:0;top:100%;transform:translateY(-8px);transition-duration:.12s;transition-property:opacity,transform;width:375px;z-index:1}.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{border-radius:4px;left:50%;right:auto;top:12px;transform:translateX(-50%) translateY(-8px)}@media(min-width:1200px){.PSPDFKit-8am6zresjtqzubaax3ncbdkk65:not(.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w){left:0;right:auto}}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm{opacity:.98;pointer-events:all;transform:none}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{transform:translateX(-50%)}.PSPDFKit-8h6fy8n1ae1b2jzvx2bx945q5p{align-items:center;display:flex;font-size:15px;height:3.5rem;padding:12px}.PSPDFKit-2q7tsdrjbypfd7mwu6hbfdnmqn{flex:1}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw{-moz-appearance:textfield;background:#fff;background:var(--PSPDFKit-DocumentEditor-moveDialogFormInput-background);border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor);border-radius:3px;box-shadow:inset 0 1px 2px rgba(0,0,0,.2);color:inherit;font:inherit;height:100%;padding:0 8px;width:64px}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-inner-spin-button,.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92{font-weight:500;height:100%;margin-left:12px;padding:0 20px}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92:disabled{opacity:.5}.PSPDFKit-7nbf67rhjsg7k4gsdmg33muhjb{background:#f0f3f9;background:var(--PSPDFKit-DocumentEditor-moveDialogHint-background);padding:6px 12px;white-space:normal}.PSPDFKit-2mh89kckyg3qpesbhuwrcrw9rd{color:#848c9a;color:var(--PSPDFKit-DocumentEditor-moveDialogHintText-color);font-size:13px;margin:0}.PSPDFKit-4qc12j3k5rawv8wqf56u3q8k4b{background:#f0f3f9;background:var(--PSPDFKit-DocumentEditor-pagesView-background);flex:1;overflow:auto;position:relative}.PSPDFKit-87xjjuqyeg5kxzvrh4nak5jkrs{align-items:center;display:flex;font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4);font-weight:700}.PSPDFKit-832dwy6tmpr3u59345n392d5kp{position:relative}.PSPDFKit-ufnr5vdahbxdpe2583xyak7wk{background:#fff}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t{align-items:center;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:24px;position:relative}.PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{background:#4636e3;border-radius:50%;color:#fff;height:64px;padding:12px;width:64px}.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe .PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{height:32px;padding:6px;width:32px}.PSPDFKit-3hs8zjffpgsz41nr4dp7ybdkt5{color:rgba(0,0,0,.8);display:none;margin-top:24px}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after,.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{background:transparent;box-shadow:0 1px 2px rgba(0,0,0,.25);content:"";left:0;position:absolute;top:0;width:100%}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{height:calc(100% - 6px)}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after{height:calc(100% - 3px)}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-491vbmcbxhae4fwryx7hsht2wh{height:80px;padding:16px;width:80px}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-2q199y39wutn5mwnfxjd4juxqq{display:initial}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-5nnn6safhgnqp45k1gnacbs5b9{box-shadow:0 0 0 4px #5e5ceb}.PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:rgba(0,0,0,.3);border-radius:6px;color:#fff;font-weight:700;margin-top:16px;padding:4px 24px;text-shadow:0 2px 3px rgba(0,0,0,.5);transition:background 40ms linear}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:#5e5ceb}.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{align-items:center;background-color:#5e5ceb;background-color:var(--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background);border-radius:3px;color:#fff;cursor:default;display:none;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:37px;opacity:0;padding:0 12px 0 8px;text-shadow:0 1.5px 3px rgba(0,0,0,.3);-webkit-user-select:none;-ms-user-select:none;user-select:none}@media(min-width:768px){.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{display:flex}}.PSPDFKit-7dep96m3dt6f6m6ggtsdvejn1b{opacity:1}.PSPDFKit-czbss4f5tejzb3s7rydnxdc6g{height:24px;margin-right:4px;width:24px}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy{align-items:center;background:#fcfdfe;background:var(--PSPDFKit-DocumentEditor-bottomBar-background);display:flex;flex-shrink:0;height:66px;padding:0 24px;position:relative}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy>:not(:last-child){margin-right:16px}.PSPDFKit-397h62jvayz1wt2xp2cz2ekmmw{flex:1}.PSPDFKit-7egcdrn8t9zxr4h4f3tqd6a6q9{overflow:visible!important}.PSPDFKit-5mgaebuj6tj1kbvvkf42rphvab{display:flex;justify-content:flex-start;overflow:visible;width:100%}.PSPDFKit-7mbngz46jn2pabmnth6t7hsds1{opacity:.8;position:relative}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj>*{box-shadow:0 2px 4px rgba(0,0,0,.2);position:absolute}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :first-child{position:static}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(2){left:8px;top:8px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(3){left:16px;top:16px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(4){left:24px;top:24px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(5){left:32px;top:32px}.PSPDFKit-339r3xtmjz8gs5vpsy5ncb75nb{background:#5f5af4;border-radius:100px;box-shadow:0 2px 4px rgba(0,0,0,.2);color:#fff;left:4px;padding:.1em 1em;position:absolute;top:4px} +.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a{background:transparent;padding:0}.PSPDFKit-68rzfs8a4kxm2sv4wxbhvjjsk4{display:flex;flex-direction:column;height:calc(100vh - 64px);max-height:320px;max-width:640px;width:calc(100vw - 120px)}.PSPDFKit-8a6esc3kchamvphrc23c4bjcxn{align-items:center;background:#f0f3f9;display:flex;flex:1;justify-content:center} +.PSPDFKit-6wj1ne12vnarkud1xme1m8q59e{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-8dvj6jpqdurcexw9s38nyrdusm{width:100%}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{align-items:center;display:flex;flex-grow:1}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row;justify-content:flex-start}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w.PSPDFKit-5whgpdfnjnj445bw24d7d2eepu{flex-direction:row}.PSPDFKit-qg3hbxzy2wa7d7kn2kyb5hfg6 .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-fw1d4hymsqsunxnj7htn2vejg{align-items:center;height:44px}.PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{margin-right:6px}.PSPDFKit-8p1jwd1vdxc1uu5kv9x8p6kgp5{height:32px}.PSPDFKit-4tf1hj3ua2348x3vfjq2ckjdzj button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt{align-items:center;width:100%}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt,.PSPDFKit-8rw1bsyhe4kbrshjzkbxn2pxt9{display:flex;flex-direction:column}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{margin:0 8px}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-sm .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-xs .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{display:none}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693{display:flex;flex:1}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh){cursor:default}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:block}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-sm .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-xs .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{display:none}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t button{height:32px}.PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-3spwsrcuq4a58mafezc2hew2hm{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-sm .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-xs .PSPDFKit-322qz987bpbdyu82atqpttzvvy{display:none}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{align-items:center;display:flex}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 circle,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 line,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 path,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polygon,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polyline,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 rect,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 circle,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 line,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 path,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polygon,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polyline,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 rect,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e circle,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e line,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e path,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polygon,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polyline,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 button,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 button,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e button{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{width:64px}.PSPDFKit-width-md .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-sm .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-xs .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{left:0;right:auto!important}.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{width:96px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he{height:32px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:hover,.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he[data-focus-within]{background:transparent}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:focus-within{background:transparent}.PSPDFKit-47tvrbutrws584y86zkht7ugrh{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-47tvrbutrws584y86zkht7ugrh span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx),.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx) span,.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-7dcpygp7ucqsxtt8jqu8wqaek8{width:100px}}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover{background:transparent!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:active,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:focus,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:hover,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:active,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:focus,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-7ksmq2q9vqb2a84h6pknr59vq,.PSPDFKit-4frspfy8ydaf2dspz1w2fe24sm{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-6a17y1zq5nmhnd7rsvvnnp3u82{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:active,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-2kd6b54vbgtjvjpw1vfjnz3gxa{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:first-child{border-left:none!important}.PSPDFKit-5ju67k328yc7tj3jx5vxn2tn9q{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4rm6x2vr78j36rwf82x8zcfxaf{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-2jdyb25hw79fahb16kjd7nuauu{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6gnk29arwa3bmx79suwfyneh29{height:16px;width:16px}.PSPDFKit-76w7jmjqqnsz53a6hk7gjuqjfv{width:max-content}.PSPDFKit-7xact8a8nm7egrfqd6jm8dexja{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4,.PSPDFKit-6j136ndjfdbtgth4w1223r3b8v{display:flex}.PSPDFKit-53pmrz6mhqkv25rduwt3r74tdf{height:20px;width:20px}.PSPDFKit-6kht9xjauanscqhyehtvh2m7kf,.PSPDFKit-64qwd21qw14a1hs2qywq9dktfv{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-51ppvqecyde7wtftnkhpvreywa{display:none}.PSPDFKit-width-md .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-sm .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-xs .PSPDFKit-51ppvqecyde7wtftnkhpvreywa{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-47ujkffabzpr19w6jed6s7rn8s,.PSPDFKit-79wa34vt8h1dey55mwshznckvh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-sm .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-xs .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv{align-items:center}.PSPDFKit-2bv4uu555xwcfzm4cbz9xw1575,.PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-sm .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-xs .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:0}.PSPDFKit-3n3jywv8np58aypaxcq1dxaka4{align-items:center;display:inline-flex}.PSPDFKit-7h2nqj8dz99huxsdvz85vzqtkv{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3sskmdn9q2pttd7gnbgtfx1svm{max-width:110px}.PSPDFKit-5161whx8v77nvzdxwn92nren7h{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:active,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:focus,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b span{max-width:60px;overflow-x:hidden}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:none!important}}.PSPDFKit-6zcvxqm7p1fu6peaqcvy1ggxur{display:inline-flex}.PSPDFKit-87rtaenbkbsa4vh76fdk49yn3{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-7n79z1dfc6drdkd4q859desfw4{margin-left:4px}.PSPDFKit-7h73prxvatb9v6feg135wrgpnu{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zxmaq2rs3z7z1ycb76vnfp8s7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-54tjnzkmwp6xxxj9x2w181zxyx{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz label{align-items:center;display:flex;justify-content:center}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz span{color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-54tjnzkmwp6xxxj9x2w181zxyx{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-4su7z3fj53danm9m8sfmsun6mh,.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{display:flex}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{align-items:center;color:#4d525d;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:not(:last-child){border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:hover:not([aria-disabled=true]){background-color:#d8dfeb!important;background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 span,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 svg{align-items:center;display:flex;height:32px}.PSPDFKit-3yfe86869dr14nnq3hdqmpstt3{cursor:not-allowed;opacity:.5}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376{border:1px solid!important;border-color:#bec9d9!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover{border:1px solid!important;border-color:#3d424e!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376 span{align-items:center;display:flex;height:32px}.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:block}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{align-items:center;border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:block}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:none!important}@media(max-width:768px){.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:none}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{display:flex;width:47px}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{padding:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:none!important}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:flex!important}} +.PSPDFKit-5u5zg1p821mpfkbnn2k5uwyj5f{background-color:#f6f8fa;background-color:var(--PSPDFKit-MagnifierComponent-background);border:1px solid #000;border:1px solid var(--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:fixed;right:30px;top:118px;width:174px}.PSPDFKit-8wd7v7mnz2rcxvt87ua26mzc6b{height:136px;right:15px;top:103px;width:136px}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay{position:absolute}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:pixelated}.PSPDFKit-browser-engine-gecko .PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:crisp-edges}.PSPDFKit-4ucp3vtq371cyq6rjfnyr48ke9{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-2mrwgj2fjj6868616ds613yrym{stroke:#d8dfeb;stroke:var(--PSPDFKit-MagnifierComponent-magnifierGrid-stroke);fill:none}.PSPDFKit-7sk5hhk6ycrf96cdxc48xy41us{stroke:#fff;stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-4cc9nv4wau5sr77yxnn4p9c6vn{stroke:#000;stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-61a71yusrshwesstskqk1ts821,.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-61a71yusrshwesstskqk1ts821{background-color:#848c9a;background-color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{color:#fff;color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-color);text-align:center} +.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef{display:flex;flex-direction:row;opacity:.5;padding-right:24px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef,.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef.PSPDFKit-8eej8fpcv5wjeexf54uv82ajge{opacity:1}.PSPDFKit-5ryk8gx2yq84us8ukyczpsxy3m{align-items:center;display:flex;flex-wrap:nowrap;justify-content:center}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j{opacity:.5;padding:0 24px}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j.PSPDFKit-2we2fxduv62wzemn8q1msf1mgz{padding:0 8px}.PSPDFKit-4dxpfmdzs1ahjnhcn4j2824q7j{opacity:1}.PSPDFKit-xy1ab3hf7etfk3xyw2jg4queq{background-color:#bec9d9;background-color:var(--PSPDFKit-DocumentComparisonToolbar-separator-background);height:1px;margin:0 4px;width:24px}.PSPDFKit-3wymx3u415ps1255jfa43bguba{align-items:center;display:flex;height:20px;justify-content:center;width:20px}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf{align-items:center;border-right:1px solid #d8dfeb;border-right:1px solid var(--PSPDFKit-DocumentComparisonToolbar-tab-border);color:#3d424e;color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;display:flex;flex-direction:row;height:100%;justify-content:space-between}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq{max-width:21px;overflow:hidden}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:0}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6{height:15px;width:15px}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6 svg{stroke-width:3px}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m circle{fill:#4636e3;fill:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-fill)}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m path{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 circle{fill:#89bd1c;fill:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 path{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy circle{fill:#bec9d9;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy text{stroke:#2b2e36;stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke);fill:#2b2e36;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj circle{fill:#4636e3;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj text{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke);fill:#fff;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill)}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn.PSPDFKit-4ws5865r8ddf7waw5w994xbgka{padding-right:2px}.PSPDFKit-63wgvxgkew5y5nngyepzsvu4me{padding-right:3px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt{background-color:#f6f8fa;background-color:var(--PSPDFKit-DocumentComparisonToolbar-tab-active-background)}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq,.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:none}.PSPDFKit-5g2uumfazey6jk28fuu62t1ku1{background:#f0f3f9;background:var(--PSPDFKit-DocumentComparisonToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);position:absolute;width:100%;z-index:1}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex:2;flex-direction:row;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{align-items:center;display:flex;height:44px;width:100%}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-grow:1;justify-content:space-between}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p{align-items:center;height:44px}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row;justify-content:flex-start}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4.PSPDFKit-54wvq7waj941tcr6uq8dg63zsm{flex-direction:row}.PSPDFKit-84kxsxx785v52177eqww89wnfu{bottom:44px}.PSPDFKit-84kxsxx785v52177eqww89wnfu .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph{align-items:center}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph,.PSPDFKit-6q2z53f1kt5u3frhayfupey174{display:flex;justify-content:space-between}.PSPDFKit-6q2z53f1kt5u3frhayfupey174{flex-wrap:nowrap;height:100%}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm,.PSPDFKit-kfexhdzwencygrragmhzwd8v3{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-DocumentComparisonToolbar-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;margin:0 5px;opacity:.25;padding:5px 16px;pointer-events:none}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-kfexhdzwencygrragmhzwd8v3.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2{padding:6px 10px}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-2wue8e3wfu7w9cxehmz4e88ktt,.PSPDFKit-5p1uejfqckjn5s61nuatmaqbme,.PSPDFKit-5jfgm1cjfd1sp4z1fkd6a1hcc7{opacity:1;pointer-events:all}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y{background-color:#4636e3;background-color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-background);color:#d8dfeb;color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-color)}.PSPDFKit-6s9dcaafj7ab6mc6ktq5xn5tw6{align-items:center;display:flex;height:100%;justify-content:space-between;width:100%} +.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;touch-action:pan-x pan-y;width:100%}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds,.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds *{box-sizing:border-box}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds.PSPDFKit-browser-engine-webkit{transform:translateZ(0)}@media print{*{display:none!important}}body{background:#f6f8fa;background:var(--PSPDFKit-App-background);font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-family:var(--PSPDFKit-fontFamily-1);font-size:1rem;font-size:var(--PSPDFKit-fontSize-1);line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1)}.PSPDFKit-6qc6bjvev7sffhewvpkas9njsf{display:flex;flex-wrap:nowrap;height:100%;overflow:hidden;position:relative}.PSPDFKit-2f9xn5bkkrt3h6fsmstdexegkk{flex:1}:focus:not(:focus-visible){outline:none}.PSPDFKit-61bk1385h5ss7vmr9n4d26y7wj{opacity:.3;-webkit-user-select:none;-ms-user-select:none;user-select:none}:root:not([data-focusvisible-supported]) :focus:not([data-focusvisible-polyfill]){outline:none}.PSPDFKit-ejvfc31fwjv43pf6dxbymn8xw{display:flex}.PSPDFKit-gec7bey8wdz7abca1kbpqjncb{overscroll-behavior:contain} +.PSPDFKit-5ndr2a8v593wmzbkugj7mhpkx6{padding:1em 1em 1.625em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-3)}.PSPDFKit-8a1r68duucnwazuve1yp3nbng9{color:#3d424e;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-title-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);padding-bottom:1em;padding-bottom:var(--PSPDFKit-spacing-4);text-transform:uppercase}.PSPDFKit-4wma8z492shc4ep1hmy6t4vqut{align-items:center;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;min-height:46px;padding:0.8125em 0;padding:var(--PSPDFKit-spacing-5) 0}.PSPDFKit-4tmeja8e4gtumrdf83gvhyrcc4{color:#bec9d9;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);width:16px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;height:23px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m:hover{cursor:pointer}.PSPDFKit-42c2zme6zggmdzdxcpyafgegx3{color:#000;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-text-color);flex:1 0;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0 1rem 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96{display:flex}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96:hover .PSPDFKit-7qr7fr949c5zy3chtgst1aqgnh{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-hover-color)}.PSPDFKit-2ds9qudjp9zf1adda74rdu1zrf{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);padding-left:0;padding-top:6px;text-decoration:underline}.PSPDFKit-4h68nb316qa6qx4sztcx3gjhnt{align-items:flex-start;border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;flex-direction:column;height:unset}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq{background:none;border:none;display:inline-block;flex:1 1 auto;height:30px;margin-right:0;width:100%}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq:focus{outline:none}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::-ms-input-placeholder{color:#848c9a;color:var(--color-coolGrey400)}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::placeholder{color:#848c9a;color:var(--color-coolGrey400)}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm{background-color:transparent;border:none;color:#bec9d9;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);cursor:move;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);padding:0}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm,.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm span{display:inline-flex}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm:hover{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color)}.PSPDFKit-35d4wvwwd43nxvufv3g9vaexbe{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerOptionsControlComponent-background-color);border-top:none;opacity:.5;width:332px}.PSPDFKit-2qjmywkp4vpcrjshnshk8bang7{color:#d63960;color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);width:100%}.PSPDFKit-2jz3pq39c872g9k317nqj88ts4{border-bottom-color:#d63960;border-bottom-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)} +.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{display:flex;flex-direction:column;padding-left:1.125rem;padding-right:1.125rem}.PSPDFKit-89fc7eud4xcjy12ca7j2haddwk{align-self:center;color:#e8b500;color:var(--PSPDFKit-ExitContentEditorConfirm-warning-color);height:3rem;width:3rem}.PSPDFKit-47ced6qn4nruzv5vuz287qtd7z{padding:.375rem 0 0;width:23.75rem}.PSPDFKit-2cqd842dczj7tmreu8ur1v9s39{color:#2b2e36;color:var(--PSPDFKit-ExitContentEditorConfirm-heading-color);font-size:1.125rem;font-weight:500;margin-bottom:0;margin-top:2rem}.PSPDFKit-yuc41qrmjjetqv8krhsnx78k4{color:#606671;color:var(--PSPDFKit-ExitContentEditorConfirm-description-color);font-size:.875rem;margin-bottom:0;margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5);padding-bottom:2rem}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{border:none;display:flex;justify-content:center;margin:0 0 0 auto;padding:.5rem 1.125rem 0 0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:focus,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:hover{background-color:transparent}.PSPDFKit-5zfc76hv99gw27ybkmbk7ebzep{flex-basis:36px;height:32px;width:32px}.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3{background-color:#fcfdfe;background-color:var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background);border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border);margin-left:0;margin-right:0;padding-bottom:1rem;padding-right:1.125rem;padding-top:1rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{margin-left:0;margin-right:0;padding-right:0}.PSPDFKit-8etcg5412u6jyxe6wcw49n4eev{width:110px}.PSPDFKit-3hxqujdr5scngtpmjesahhytzq.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin:0;padding:0;width:100%}@media(max-width:480px){.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:1.125rem}}@media(max-width:992px){.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3.PSPDFKit-3hxqujdr5scngtpmjesahhytzq{margin-bottom:0;padding-left:1.5rem;padding-right:1.5rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{padding-right:1.5rem;padding-top:1.5rem}.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{padding-left:1.5rem;padding-right:1.5rem}}.PSPDFKit-8p7rfubnucmdpxjpsw31xbf5mm[open]{border:0;border-radius:8px 8px 0 0;height:320px;margin-bottom:0;margin-left:0;margin-right:0;max-width:100%;overflow:hidden;padding:0;width:100%}.PSPDFKit-v7ryn5whw1cfrp237m7h2y2mz{display:flex;flex-direction:column;height:100%;justify-content:space-between} +.PSPDFKit-5eynqxckhbqrz8a4f77yujbh2k{background-color:#ffc78f;background-color:var(--color-orange100);box-shadow:0 0 4px rgba(113,126,144,.5);line-height:1.4;padding:.75rem;text-align:left;-webkit-user-select:all;user-select:all;width:17.75rem}.PSPDFKit-42pbth2eu2zrmgpae4jhg6h8en{font-size:.75rem;line-height:1.4}.PSPDFKit-6nx2uf6vhf6v33bnb1j4ganvvd{display:none} +.PSPDFKit-818uepd2971vwf3fmcn6tbacgg{background-color:#2b2e36;border-radius:5px;color:#fff;padding:8px 1em;padding:8px var(--PSPDFKit-spacing-4)}.PSPDFKit-5zd14p1pfpmy1ny1f8skcknw3j{color:#2b2e36;margin-top:4px} +:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe;--PSPDFKit-spacing-1:3.25em;--PSPDFKit-spacing-2:2.4375em;--PSPDFKit-spacing-3:1.625em;--PSPDFKit-spacing-4:1em;--PSPDFKit-spacing-5:0.8125em;--PSPDFKit-spacing-6:0.609em;--PSPDFKit-spacing-7:0.46875em;--PSPDFKit-fontFamily-1:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--PSPDFKit-lineHeight-1:1.4rem;--PSPDFKit-lineHeight-2:0.815rem;--PSPDFKit-fontSize-1:1rem;--PSPDFKit-fontSize-2:0.75rem;--PSPDFKit-fontSize-3:0.875rem;--PSPDFKit-fontSize-4:1.125rem;--PSPDFKit-fontSize-5:1.25rem;--PSPDFKit-fontSize-6:1.5rem} +:root{--PSPDFKit-shadow-color:var(--color-coolGrey800_alpha05);--PSPDFKit-App-background:var(--color-coolGrey37);--PSPDFKit-Viewport-background:var(--PSPDFKit-App-background);--PSPDFKit-Button-isDisabled-opacity:0.3;--PSPDFKit-Button--default-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-color:var(--color-coolGrey800);--PSPDFKit-Button--default-isHovered-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isHovered-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-Button--default-isHovered-color:var(--color-coolGrey900);--PSPDFKit-Button--default-isActive-backgroundColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isActive-borderColor:var(--color-coolGrey200);--PSPDFKit-Button--default-isActive-color:var(--color-coolGrey700);--PSPDFKit-Button--default-isDisabled-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isDisabled-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isDisabled-color:var(--color-coolGrey800);--PSPDFKit-Button--primary-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-border:var(--color-blue700);--PSPDFKit-Button--primary-color:var(--color-white);--PSPDFKit-Button--primary-isHovered-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isHovered-borderColor:var(--color-blue900);--PSPDFKit-Button--primary-isHovered-color:var(--color-white);--PSPDFKit-Button--primary-isActive-backgroundColor:var(--color-blue700);--PSPDFKit-Button--primary-isActive-borderColor:var(--color-blue800);--PSPDFKit-Button--primary-isActive-color:var(--color-white);--PSPDFKit-Button--primary-isDisabled-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isDisabled-borderColor:var(--color-blue700);--PSPDFKit-Button--primary-isDisabled-color:var(--color-white);--PSPDFKit-Button--primary-inverted-color:var(--PSPDFKit-Button--primary-backgroundColor);--PSPDFKit-Button--danger-backgroundColor:var(--color-red50);--PSPDFKit-Button--danger-borderColor:var(--color-red400);--PSPDFKit-Button--danger-color:var(--color-red600);--PSPDFKit-Button--danger-isHovered-backgroundColor:var(--color-red600);--PSPDFKit-Button--danger-isHovered-borderColor:var(--color-red800);--PSPDFKit-Button--danger-isHovered-color:var(--color-white);--PSPDFKit-Button--danger-isDisabled-backgroundColor:var(--color-red100);--PSPDFKit-Button--danger-isDisabled-borderColor:var(--color-red400);--PSPDFKit-Button--danger-isDisabled-color:var(--color-red800);--PSPDFKit-Modal-dialog-backgroundColor:var(--color-white);--PSPDFKit-Modal-dialog-boxShadowColor:var(--PSPDFKit-shadow-color);--PSPDFKit-Modal-dialog-color:var(--color-black);--PSPDFKit-Modal-backdrop-backgroundColor:var(--color-coolGrey900_alpha05);--PSPDFKit-Modal-divider-color:var(--color-coolGrey100);--PSPDFKit-Modal-divider-border:var(--PSPDFKit-Modal-divider-color);--PSPDFKit-Mobile-popover-backgroundColor:var(--color-white);--PSPDFKit-ConfirmModalComponent-button-isFocused-border:var(--color-blue900);--PSPDFKit-Text-color:var(--color-coolGrey850);--PSPDFKit-TextInput--default-backgroundColor:var(--color-coolGrey25);--PSPDFKit-TextInput--default-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-TextInput--default-color:var(--color-coolGrey700);--PSPDFKit-TextInput--default-placeholder-color:var(--color-coolGrey900_alpha05);--PSPDFKit-TextInput--default-isFocused-backgroundColor:var(--color-white);--PSPDFKit-TextInput--default-isFocused-borderColor:var(--color-coolGrey200);--PSPDFKit-TextInput--default-isFocused-color:var(--color-coolGrey900);--PSPDFKit-TextInput--error-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-borderColor:var(--color-red400);--PSPDFKit-TextInput--error-color:var(--color-red800);--PSPDFKit-TextInput--error-placeholder-color:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-isFocused-borderColor:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-color:var(--color-red800);--PSPDFKit-TextInput--success-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-borderColor:var(--color-green400);--PSPDFKit-TextInput--success-color:var(--color-green800);--PSPDFKit-TextInput--success-placeholder-color:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-isFocused-borderColor:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-color:var(--color-green800);--PSPDFKit-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Toolbar-color:var(--color-coolGrey800);--PSPDFKit-Toolbar-boxShadow:var(--PSPDFKit-shadow-color);--PSPDFKit-Toolbar-hover:var(--color-blue600);--PSPDFKit-Toolbar-button-border:var(--color-coolGrey50);--PSPDFKit-Toolbar-dropdownButton-isSelected-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isSelected-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isFocused-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isFocused-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isDisabled-background:var(--color-coolGrey50);--PSPDFKit-ToolbarButton-dropdown-isFocused-background:var(--color-coolGrey50);--PSPDFKit-ToolbarButton-dropdown-isFocused-color:var(--color-coolGrey800);--PSPDFKit-ToolbarButton-isDisabled-opacity:0.3;--PSPDFKit-ToolbarButton-isDisabled-child-fill:var(--color-coolGrey400);--PSPDFKit-ToolbarButton-isActive-background:var(--color-blue600);--PSPDFKit-ToolbarButton-isActive-color:var(--color-white);--PSPDFKit-ToolbarDropdownGroup-background:var(--color-coolGrey25);--PSPDFKit-ToolbarDropdownGroup-activeChild-color:var(--color-black);--PSPDFKit-ToolbarDropdownGroup-toggle-color:var(--color-white);--PSPDFKit-ToolbarResponsiveGroup--primary-background:var(--color-coolGrey25);--PSPDFKit-ToolbarResponsiveGroup--secondary-background:var(--color-coolGrey100);--PSPDFKit-ToolbarResponsiveGroup--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--primary-border:var(--PSPDFKit-Toolbar-button-border);--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background:var( --color-coolGrey50 );--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill:var(--color-coolGrey800);--PSPDFKit-CropToolbarComponent-button-borderColor:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor:var(--color-coolGrey800);--PSPDFKit-CropToolbarComponent-text-color:var(--color-coolGrey700);--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-CropToolbarComponent-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-background:var(--color-coolGrey50);--PSPDFKit-ContentEditorToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-isHovered-border:var( --PSPDFKit-Button--default-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-text-color:var(--color-coolGrey700);--PSPDFKit-ContentEditorToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-ContentEditorToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor:var( --PSPDFKit-Button--primary-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-save-color:var(--PSPDFKit-Button--primary-color);--PSPDFKit-ContentEditorToolbar-button-save-border:var(--PSPDFKit-Button--primary-border);--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor:var( --PSPDFKit-Button--primary-isHovered-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-hover-save-color:var( --PSPDFKit-Button--primary-isHovered-color );--PSPDFKit-ContentEditorToolbar-button-hover-save-border:var( --PSPDFKit-Button--primary-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-MagnifierComponent-background:var(--PSPDFKit-App-background);--PSPDFKit-MagnifierComponent-magnifierGrid-stroke:var(--color-coolGrey100);--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor:var(--color-coolGrey400);--PSPDFKit-MagnifierComponent-magnifierZoomValue-color:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow:var(--color-white);--PSPDFKit-DocumentComparison-crosshair-stroke:var(--color-blue70);--PSPDFKit-DocumentComparisonToolbar-background:var(--color-coolGrey50);--PSPDFKit-DocumentComparisonToolbar-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-DocumentComparisonToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-DocumentComparisonToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-highlight-button-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-highlight-button-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-tab-border:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-tab-active-background:var(--PSPDFKit-App-background);--PSPDFKit-DocumentComparisonToolbar-referencePoint-background:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-referencePoint-text-color:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-text-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-button-svg-fill:var( --PSPDFKit-AnnotationToolbar-button-svg-color );--PSPDFKit-DocumentComparisonToolbar-button-outline:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-icon-label-background:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-color:var( --PSPDFKit-DropdownMenu-button-fill );--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-checkMark-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill:var(--color-green400);--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-separator-background:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-background:var(--color-coolGrey50);--PSPDFKit-AnnotationToolbar-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-color:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-AnnotationToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-svg-fill:var(--PSPDFKit-AnnotationToolbar-button-svg-color);--PSPDFKit-AnnotationToolbar-button-outline:var(--color-blue600);--PSPDFKit-AnnotationToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-icon-label-background:var(--color-white);--PSPDFKit-AnnotationToolbar-warning-icon-background:var(--color-orange100);--PSPDFKit-AnnotationToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color:var(--PSPDFKit-DropdownMenu-button-fill);--PSPDFKit-AnnotationToolbar-redactions-button-background:var(--color-white);--PSPDFKit-AnnotationToolbar-redactions-button-color:var(--color-black);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color:var(--color-white);--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background:var( --PSPDFKit-ToolbarButton-dropdown-isFocused-background );--PSPDFKit-ColorDropdown-customColor-deleteButton-color:var(--color-white);--PSPDFKit-CheckboxComponent-label-color:var(--color-coolGrey800);--PSPDFKit-CheckboxComponent-unchecked-border:var(--color-coolGrey200);--PSPDFKit-CheckboxComponent-checked-border:var(--color-blue400);--PSPDFKit-CheckboxComponent-checked-background:var(--color-blue600);--PSPDFKit-LayoutConfig-arrow-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-arrowFill-border:var(--color-white);--PSPDFKit-LayoutConfig-table-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-icon-isActive-color:var(--color-white);--PSPDFKit-LayoutConfig-icon-isActive-background:var(--color-blue600);--PSPDFKit-LayoutConfig-icon-isHighlighted-background:var(--color-coolGrey50);--PSPDFKit-Pager-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-background:var(--color-coolGrey800_alpha02);--PSPDFKit-Pager-input-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isActive-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-background:var(--color-coolGrey200);--PSPDFKit-Pager-input-isDisabled-color:var(--PSPDFKit-Pager-input-isActive-color);--PSPDFKit-Pager-input-isDisabled-opacity:0.3;--PSPDFKit-Progress-dot-size:6px;--PSPDFKit-Progress-dot-height:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-dot-width:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-borderRadius:5px;--PSPDFKit-Progress-progress-background:var(--color-coolGrey50);--PSPDFKit-Progress-progress-color:var(--color-black);--PSPDFKit-Progress-progressBar-background:var(--color-blue600);--PSPDFKit-Progress-progressText-color:var(--color-coolGrey700);--PSPDFKit-ColorPicker-isHovered-background:var(--color-coolGrey400);--PSPDFKit-ColorPicker-swatch-border:var(--color-white);--PSPDFKit-ColorPicker-input-isActive-background:var(--color-blue600);--PSPDFKit-ColorPicker-input-outline:var(--color-blue600);--PSPDFKit-ColorPicker-swatch--transparent-border:var(--color-coolGrey200);--PSPDFKit-ColorPicker-swatch--transparent-background:var(--color-white);--PSPDFKit-ColorPicker-swatch--transparent-after-border:var(--color-red400);--PSPDFKit-SliderComponent-thumb-color:var(--color-blue600);--PSPDFKit-SliderComponent-thumb-isHovered-color:var(--color-blue800);--PSPDFKit-SliderComponent-thumb-border:var(--color-white);--PSPDFKit-SliderComponent-track-color:var(--color-coolGrey50);--PSPDFKit-SliderComponent-track-progress-color:var(--color-blue600);--PSPDFKit-SliderDropdownComponent-items-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-items-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-button-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-color:var(--color-coolGrey800);--PSPDFKit-SliderDropdownComponent-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-SliderDropdownComponent-button-toggle-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-button-show-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-SliderDropdownComponent-item-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-border:var( --PSPDFKit-SliderDropdownComponent-button-border );--PSPDFKit-SliderDropdownComponent-item-isFocused-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent--item-isFocused-color:var(--color-white);--PSPDFKit-SliderDropdownComponent-item-isSelected-background:var(--color-coolGrey50);--PSPDFKit-SliderDropdownComponent-item-isDisabled-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity:0.3;--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent-dropdown-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-dropdown-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-dropdown-border:var(--color-coolGrey100);--PSPDFKit-TextInputComponent-input-background:var(--color-white);--PSPDFKit-TextInputComponent-input-border:var(--color-coolGrey100);--PSPDFKit-TextInputComponent-input-color:var(--color-coolGrey800);--PSPDFKit-TextInputComponent-input-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-TextInputComponent-input-active-border:var(--color-blue600);--PSPDFKit-PasswordModal-icon--regular-color:var(--color-blue400);--PSPDFKit-PasswordModal-icon--error-color:var(--color-red400);--PSPDFKit-PasswordModal-icon--success-color:var(--color-green400);--PSPDFKit-PasswordModal-message--alert-background:var(--color-red400);--PSPDFKit-PasswordModal-message--alert-color:var(--color-white);--PSPDFKit-PasswordModal-message--alert-border:var(--color-red600);--PSPDFKit-SearchForm-background:var(--color-white);--PSPDFKit-SearchForm-border:var(--PSPDFKit-Viewport-background);--PSPDFKit-SearchForm-input-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-input-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-input-placeholder-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-results-isDisabled-background:var(--PSPDFKit-SearchForm-input-background);--PSPDFKit-SearchForm-results-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-isHovered-color:var(--color-coolGrey900);--PSPDFKit-SearchForm-button-isHovered-border:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-controls-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-controls-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-controls-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-controls-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-lasChild-border:var(--color-coolGrey50);--PSPDFKit-SearchHighlight-background:var(--color-yellow400);--PSPDFKit-SearchHighlight-isFocused-background:var(--color-yellow600);--PSPDFKit-Sidebar-background:var(--color-coolGrey37);--PSPDFKit-Sidebar-dragger-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-dragger-border:var(--color-coolGrey900_alpha02);--PSPDFKit-Sidebar-dragger-pseudo-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-draggerHandle-background:var(--color-white);--PSPDFKit-Sidebar-draggerHandle-border:var(--PSPDFKit-Sidebar-dragger-border);--PSPDFKit-Sidebar-header-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar--empty-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-AnnotationsSidebar--empty-color:var(--color-black);--PSPDFKit-AnnotationsSidebar-annotationCounter-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-container-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-border:var(--color-coolGrey100);--PSPDFKit-AnnotationsSidebar-icon-color:var(--color-blue600);--PSPDFKit-AnnotationsSidebar-layout-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-layoutContent-color:var(--color-coolGrey900);--PSPDFKit-AnnotationsSidebar-layoutContent-button-color:var( --PSPDFKit-AnnotationsSidebar-layoutContent-color );--PSPDFKit-AnnotationsSidebar-layoutContent-button-color--selected:var(--color-coolGrey1000);--PSPDFKit-AnnotationsSidebar-footer-color:var(--color-coolGrey400);--PSPDFKit-AnnotationsSidebar-deleteIcon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationsSidebar-pageNumber-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-pageNumber-color:var(--PSPDFKit-TextInput--default-color);--PSPDFKit-AnnotationsSidebar-annotationCounter-color:var(--color-coolGrey700);--PSPDFKit-DocumentEditor-moveDialog-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor:var(--color-coolGrey200);--PSPDFKit-DocumentEditor-moveDialogHint-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-moveDialogHintText-color:var(--color-coolGrey400);--PSPDFKit-DocumentEditor-pagesView-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-bottomBar-background:var(--color-coolGrey25);--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background:var(--color-blue400);--PSPDFKit-DocumentOutline-background:var(--color-white);--PSPDFKit-DocumentOutline-control-color:var(--color-coolGrey900);--PSPDFKit-DocumentOutline-control-border:var(--color-coolGrey50);--PSPDFKit-DocumentOutline-icon-color:var(--color-coolGrey200);--PSPDFKit-DocumentOutline-icon-isHovered-color:var(--color-blue600);--PSPDFKit-BookmarksSidebar-background:var(--color-white);--PSPDFKit-BookmarksSidebar-border:var(--color-coolGrey100);--PSPDFKit-BookmarksSidebar--loading-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-BookmarksSidebar-heading-color:var(--color-coolGrey700);--PSPDFKit-BookmarksSidebar-layout-pageNumber-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color:var(--color-blue600);--PSPDFKit-BookmarksSidebar-name-color:var(--color-coolGrey850);--PSPDFKit-BookmarksSidebar-layout-border:var(--color-coolGrey50);--PSPDFKit-BookmarksSidebar-edit-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-edit-background:var(--color-white);--PSPDFKit-BookmarksSidebar-editor-background:var(--color-coolGrey50);--PSPDFKit-Error-color:var(--color-coolGrey400);--PSPDFKit-Error-background:var(--color-white);--PSPDFKit-Error-hyperlink-color:var(--color-coolGrey700);--PSPDFKit-Error-error-background:var(--color-red400);--PSPDFKit-Error-icon-color:var(--color-red400);--PSPDFKit-Error-icon-background:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-row-background:var(--color-coolGrey50);--PSPDFKit-ThumbnailsSidebar-gridView-column-isHovered-background:var( --color-coolGrey850_alpha01 );--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow:rgba(43,46,54,.15);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-background:var(--color-coolGrey800_alpha05);--PSPDFKit-ThumbnailsSidebar-gridView-label-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background:var(--color-black);--PSPDFKit-PrintLoadingIndicator-progress-background:var(--color-coolGrey50);--PSPDFKit-PrintLoadingIndicator-progress-color:var(--color-black);--PSPDFKit-PrintLoadingIndicator-progressBar-background:var(--color-blue600);--PSPDFKit-PrintLoadingIndicator-progressText-color:var(--color-coolGrey700);--PSPDFKit-StampViewComponent-header-color:var(--color-coolGrey800);--PSPDFKit-StampViewComponent-header-border:var(--color-coolGrey200);--PSPDFKit-StampViewComponent-previewContainer-border:var(--color-blue100);--PSPDFKit-StampViewComponent-previewContainer-background:var(--color-coolGrey100_alpha25);--PSPDFKit-StampViewComponent-templateImageContainer-border:var( --PSPDFKit-StampViewComponent-previewContainer-border );--PSPDFKit-StampViewComponent-templateImageContainer-background:var(--color-coolGrey25);--PSPDFKit-StampViewComponent-writeHere-color:var(--color-coolGrey200);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-background:var(--color-white);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-color:var(--color-white);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-border:var(--color-blue600);--PSPDFKit-StampViewComponent-title-color:var(--color-coolGrey700);--PSPDFKit-ImagePreview-imageAnnotation--error-background:var(--color-coolGrey50);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color:var(--color-red400);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background:var(--color-white);--PSPDFKit-DropdownMenu-background:var(--color-coolGrey25);--PSPDFKit-DropdownMenu-color:var(--color-coolGrey850);--PSPDFKit-DropdownMenu-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-item-background:var(--color-white);--PSPDFKit-DropdownMenu-item-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-isSelected-background:var(--color-coolGrey50);--PSPDFKit-DropdownMenu-isSelected-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-background:var(--color-white);--PSPDFKit-DropdownMenu-button-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-button-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-DropdownMenu-button-fill:var(--color-coolGrey400);--PSPDFKit-Signatures-background:var(--color-blue600);--PSPDFKit-Signatures-color:var(--color-white);--PSPDFKit-Signatures-border:var(--color-blue400);--PSPDFKit-Signatures-container-color:var(--color-coolGrey700);--PSPDFKit-Signatures-editorCanvas-border:var(--color-coolGrey100);--PSPDFKit-Signatures-editorCanvas-background:var(--color-coolGrey25);--PSPDFKit-Signatures-signHere-color:var(--color-coolGrey700);--PSPDFKit-Signatures-DeleteSignatureButton-color:var(--color-coolGrey700);--PSPDFKit-Signatures-Title-color:var(--color-coolGrey700);--PSPDFKit-MarqueeZoom-rect-fill:var(--color-blue100);--PSPDFKit-Comment-thread-backgroundColor:var(--color-white);--PSPDFKit-Comment-thread-color:var(--color-coolGrey800);--PSPDFKit-Comment-accent-color:var(--color-blue600);--PSPDFKit-Comment-separatorBold-color:var(--color-coolGrey100);--PSPDFKit-Comment-separator-color:var(--color-coolGrey37);--PSPDFKit-Comment-footer-color:var(--color-coolGrey100);--PSPDFKit-Comment-footer-backgroundColor:var(--color-white);--PSPDFKit-Comment-editor-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-deleteIcon-color:var(--color-red400);--PSPDFKit-Comment-editingText-border:var(--color-blue600);--PSPDFKit-Comment-editingTextButtonContainer-border-top:var(--color-coolGrey50);--PSPDFKit-Comment-editingTextButtonIcon-color:var(--color-white);--PSPDFKit-Comment-editingTextSaveButton-color:var(--color-blue600);--PSPDFKit-Comment-editingTextSaveButtonHover-color:var(--color-blue700);--PSPDFKit-Comment-editingTextCancelButton-color:var(--color-coolGrey400);--PSPDFKit-Comment-editingTextCancelButtonHover-color:var(--color-coolGrey500);--PSPDFKit-Comment-editingTextButtonIconDisabled-background:var(--color-coolGrey200);--PSPDFKit-Comment-Toolbar-backdrop:0 1px 2px 0 #2b323b33,0 3px 4px 0 #2b323b0d;--PSPDFKit-Comment-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Comment-Toolbar-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Toolbar-Selected-Color:var(--color-blue600);--PSPDFKit-Comment-icon-backgroundColor-hover:var(--color-coolGrey50);--PSPDFKit-Comment-icon-strokeColorActive:var(--color-white);--PSPDFKit-Comment-icon-backgroundColorActive:var(--color-blue600);--PSPDFKit-Comment-ColorPicker-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-ColorPicker-activeColor:#9e73fa;--PSPDFKit-Comment-linkEditor-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-borderColor:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-buttonText-color:var(--color-blue600);--PSPDFKit-Comment-linkEditor-inputLabel-color:var(--color-coolGrey800);--PSPDFKit-Comment-linkEditor-input-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-input-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-input-placeholder-color:var(--color-coolGrey600);--PSPDFKit-Comment-Mention-color:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-backgroundColor:var(--color-coolGrey25);--PSPDFKit-Comment-Mention-Suggestion-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-separator:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-Title-color:var(--color-coolGrey800);--PSPDFKit-Comment-Mention-Suggestion-Description-color:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-backgroundColor:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-Active-backgroundColor:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color:var(--color-coolGrey50);--PSPDFKit-Comment-popover-color:var(--color-black);--PSPDFKit-Comment-popover-moreComments-gradient:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);--PSPDFKit-Comment-popover-moreComments-background:var(--color-coolGrey800);--PSPDFKit-Comment-popover-moreComments-border:var(--color-coolGrey200);--PSPDFKit-Comment-popover-moreComments-color:var(--color-white);--PSPDFKit-CommentMarkerAnnotation-accent-stroke:var(--color-blue600);--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor:var(--color-green25);--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor:var(--color-yellow25);--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor:var(--color-red50);--PSPDFKit-SignaturesValidationStatusBar-Valid-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Warning-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Error-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color:var(--color-green600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color:var(--color-yellow600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color:var(--color-red400);--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-tabLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-tabLabel-active-color:var(--color-blue600);--PSPDFKit-ElectronicSignatures-tabList-border-color:var(--color-coolGrey200);--PSPDFKit-ElectronicSignatures-tabsContainer-background:var(--color-coolGrey50);--PSPDFKit-ElectronicSignatures-modal-background:var(--color-coolGrey37);--PSPDFKit-ElectronicSignatures-modal-legend-color:var(--color-coolGrey900);--PSPDFKit-ElectronicSignatures-storeCheckLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-contentArea-background:var(--color-white);--PSPDFKit-ElectronicSignatures-imagePicker-color:var(--color-blue600);--PSPDFKit-ElectronicSignatures-imagePicker-borderColor:var(--color-coolGrey200);--PSPDFKit-ElectronicSignatures-imagePicker-draggingBackground:var(--color-blue50);--PSPDFKit-ElectronicSignatures-imagePicker-draggingBorder:var(--color-blue600);--PSPDFKit-DrawingTab-deleteSignature-color:var(--color-blue700);--PSPDFKit-DrawingTab-signHere-color:var(--color-coolGrey600);--PSPDFKit-DrawingTab-canvas-borderColor:var(--color-coolGrey200);--PSPDFKit-TypingTab-container-background-color:var(--color-white);--PSPDFKit-TypingTab-input-border:var(--color-coolGrey400);--PSPDFKit-TypingTab-fontFamilyPicker-border:var(--color-coolGrey100);--PSPDFKit-TypingTab-fontFamilyPicker-background:var(--color-coolGrey50);--PSPDFKit-TypingTab-input-isFocused-background:var(--color-white);--PSPDFKit-TypingTab-Dropdown-ColorPicker-background:var(--color-white);--PSPDFKit-TypingTab-Dropdown-ColorPicker-color:var(--color-black);--PSPDFKit-TypingTab-fontFamily-border:var(--color-coolGrey100);--PSPDFKit-TypingTab-fontFamily-isHovered-background:var(--color-white);--PSPDFKit-UserHintComponent-background:var(--color-blue25);--PSPDFKit-UserHintComponent-border:var(--color-blue200);--PSPDFKit-UserHintComponent-color:var(--color-blue800);--PSPDFKit-FormDesignerExpandoComponent-button-color:var(--color-coolGrey37);--PSPDFKit-FormDesignerExpandoComponent-button-text-color:var(--color-coolGrey700);--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerExpandoComponent-content-color:var(--color-black);--PSPDFKit-FormDesignerExpandoComponent-border-color:var(--color-coolGrey50);--PSPDFKit-RadioGroup-selectedLabel-color:var(--color-coolGrey25);--PSPDFKit-RadioGroup-label-background:var(--color-coolGrey50);--PSPDFKit-RadioGroup-icon-label-background:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-RadioGroup-icon-color:var(--PSPDFKit-AnnotationToolbar-icon-color);--PSPDFKit-RadioGroup-iconLabel-isActive-background:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-RadioGroup-iconLabel-isActive-border:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-border );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill );--PSPDFKit-FormDesignerToolbar-button-border:var(--PSPDFKit-AnnotationToolbar-button-border);--PSPDFKit-FormDesignerToolbar-button-color:var(--PSPDFKit-AnnotationToolbar-button-color);--PSPDFKit-FormDesignerOptionsControlComponent-title-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerOptionsControlComponent-border-color:var(--color-coolGrey100);--PSPDFKit-FormDesignerOptionsControlComponent-icon-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerOptionsControlComponent-hover-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-text-color:var(--color-black);--PSPDFKit-FormDesignerOptionsControlComponent-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerTextInputComponent-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerTextInputComponent-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerTextInputComponent-input-text-color:var(--color-black);--PSPDFKit-FormDesignerTextInputComponent-border-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerTextInputComponent-hover-border-color:var(--color-blue600);--PSPDFKit-FormDesignerTextInputComponent-error-color:var(--color-red400);--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-item-border-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-item-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-warning-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-readonly-icon-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border:var(--color-coolGrey200);--PSPDFKit-FormDesignerPopoverComponent-doneButton-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-doneButton-background:var(--color-blue600);--PSPDFKit-FormDesignerPopoverComponent-doneButton-border:var(--color-blue700);--PSPDFKit-ExpandingPopoverComponent-title-color:var(--color-coolGrey850);--PSPDFKit-ExpandingPopoverComponent-background:var(--color-coolGrey50);--PSPDFKit-ExpandingPopoverComponent-background-color:var( --PSPDFKit-ExpandingPopoverComponent-background );--PSPDFKit-ExpandingPopoverComponent-content-background:var(--color-white);--PSPDFKit-ExpandingPopoverComponent-separator-border:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-footerButton-color:var(--color-blue600);--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-content-color:var(--color-black);--PSPDFKit-ExitContentEditorConfirm-warning-color:var(--color-yellow600);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background:var(--color-coolGrey25);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border:var(--color-coolGrey50);--PSPDFKit-ExitContentEditorConfirm-description-color:var(--color-coolGrey600);--PSPDFKit-ExitContentEditorConfirm-heading-color:var(--color-coolGrey850);--PSPDFKit-MeasurementSettingsModal-separator-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-info-color:var(--color-coolGrey400);--PSPDFKit-MeasurementSettingsModal-background-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-section-background-color:var(--color-coolGrey37);--PSPDFKit-MeasurementSettingsModal-section-color:var(--color-coolGrey700);--PSPDFKit-MeasurementSettingsModal-section-text-color:var(--color-coolGrey800);--PSPDFKit-MeasurementSettingsModal-highlight-color:var(--color-blue400);--PSPDFKit-MeasurementSettingsModal-calibration-success-text-color:var(--color-coolGrey600);--PSPDFKit-MeasurementSettingsModal-error-text-color:var(--color-red400);--PSPDFKit-DropdownMenuComponent-trigger-backgroundColor:var(--color-coolGrey50);--PSPDFKit-DropdownMenuComponent-content-backgroundColor:var(--color-coolGrey25);--PSPDFKit-DropdownMenuComponent-border:1px solid var(--color-coolGrey100);--PSPDFKit-DropdownMenuComponent-item-highlighted-backgroundColor:var(--color-blue600);--PSPDFKit-DropdownMenuComponent-trigger-icon-fill:var(--color-coolGrey700);--PSPDFKit-DropdownMenuComponent-item-color:var(--color-black);--PSPDFKit-DropdownMenuComponent-separator-backgroundColor:var(--color-coolGrey50)} diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-8707878492bc153a.wasm b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-8707878492bc153a.wasm new file mode 100644 index 00000000..b7bb9d6a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-8707878492bc153a.wasm differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-d1f8fd5b9fdcbc26.wasm.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-d1f8fd5b9fdcbc26.wasm.js new file mode 100644 index 00000000..50a9b207 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/pspdfkit-d1f8fd5b9fdcbc26.wasm.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +var PSPDFModuleInit=(()=>{var _scriptDir="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(_scriptDir=_scriptDir||__filename),function(moduleArg={}){var Module=moduleArg,readyPromiseResolve,readyPromiseReject;Module.ready=new Promise(((e,r)=>{readyPromiseResolve=e,readyPromiseReject=r}));var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,r)=>{throw r},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}if(ENVIRONMENT_IS_NODE){var fs=require("fs"),nodePath=require("path");scriptDirectory=ENVIRONMENT_IS_WORKER?nodePath.dirname(scriptDirectory)+"/":__dirname+"/",read_=(e,r)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e,r?void 0:"utf8")),readBinary=e=>{var r=read_(e,!0);return r.buffer||(r=new Uint8Array(r)),r},readAsync=(e,r,t,n=!0)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,n?void 0:"utf8",((e,o)=>{e?t(e):r(n?o.buffer:o)}))},!Module.thisProgram&&process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),quit_=(e,r)=>{throw process.exitCode=e,r},Module.inspect=()=>"[Emscripten Module object]"}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:"undefined"!=typeof document&&document.currentScript&&(scriptDirectory=document.currentScript.src),_scriptDir&&(scriptDirectory=_scriptDir),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1):"",read_=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),readAsync=(e,r,t)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?r(n.response):t()},n.onerror=t,n.send(null)});var out=Module.print||console.log.bind(console),err=Module.printErr||console.error.bind(console),wasmBinary;Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit),Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function assert(e,r){e||abort(r)}function updateMemoryViews(){var e=wasmMemory.buffer;Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var __ATPRERUN__=[],__ATINIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,Module.noFSInit||FS.init.initialized||FS.init(),FS.ignorePermissions=!1,TTY.init(),callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var r=dependenciesFulfilled;dependenciesFulfilled=null,r()}}function abort(e){Module.onAbort&&Module.onAbort(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",runtimeInitialized&&___trap();var r=new WebAssembly.RuntimeError(e);throw readyPromiseReject(r),r}var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(e){return e.startsWith(dataURIPrefix)}function isFileURI(e){return e.startsWith("file://")}function getBinarySync(e){if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}function getBinaryPromise(e){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(e))return fetch(e,{credentials:"same-origin"}).then((r=>{if(!r.ok)throw"failed to load wasm binary file at '"+e+"'";return r.arrayBuffer()})).catch((()=>getBinarySync(e)));if(readAsync)return new Promise(((r,t)=>{readAsync(e,(e=>r(new Uint8Array(e))),t)}))}return Promise.resolve().then((()=>getBinarySync(e)))}function instantiateArrayBuffer(e,r,t){return getBinaryPromise(e).then((e=>WebAssembly.instantiate(e,r))).then((e=>e)).then(t,(e=>{err(`failed to asynchronously prepare wasm: ${e}`),abort(e)}))}function instantiateAsync(e,r,t,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(r)||isFileURI(r)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?instantiateArrayBuffer(r,t,n):fetch(r,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,t).then(n,(function(e){return err(`wasm streaming compile failed: ${e}`),err("falling back to ArrayBuffer instantiation"),instantiateArrayBuffer(r,t,n)}))))}function createWasm(){var e={a:wasmImports};function r(e,r){return wasmExports=e.exports,wasmMemory=wasmExports.va,updateMemoryViews(),wasmTable=wasmExports.Ca,addOnInit(wasmExports.wa),removeRunDependency("wasm-instantiate"),wasmExports}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,r)}catch(e){err(`Module.instantiateWasm callback failed with error: ${e}`),readyPromiseReject(e)}return instantiateAsync(wasmBinary,wasmBinaryFile,e,(function(e){r(e.instance)})).catch(readyPromiseReject),{}}wasmBinaryFile="pspdfkit.wasm.wasm",isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={3038280:()=>!!("undefined"!=typeof window&&window&&window.process&&window.process.type)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0,3038540:(e,r)=>{setTimeout((function(){console.error(UTF8ToString(e))}),r)},3038607:e=>{setTimeout((function(){try{"undefined"==typeof window&&"undefined"==typeof document&&"undefined"!=typeof self&&void 0!==self.close?self.close():"undefined"!=typeof process&&void 0!==process.exit?process.exit(1):location.href="https://pspdfkit.com"}catch(e){location.href="https://pspdfkit.com"}}),e)},3039003:()=>{if("undefined"!=typeof self&&void 0!==self.crypto&&void 0!==self.crypto.getRandomValues){var e=new Uint32Array(1);return self.crypto.getRandomValues(e),e[0]}return Math.round(255*Math.random())}},callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(Module)},PATH={isAbs:e=>"/"===e.charAt(0),splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray:(e,r)=>{for(var t=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(r)for(;t;t--)e.unshift("..");return e},normalize:e=>{var r=PATH.isAbs(e),t="/"===e.substr(-1);return(e=PATH.normalizeArray(e.split("/").filter((e=>!!e)),!r).join("/"))||r||(e="."),e&&t&&(e+="/"),(r?"/":"")+e},dirname:e=>{var r=PATH.splitPath(e),t=r[0],n=r[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."},basename:e=>{if("/"===e)return"/";var r=(e=(e=PATH.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},join:function(){var e=Array.prototype.slice.call(arguments);return PATH.normalize(e.join("/"))},join2:(e,r)=>PATH.normalize(e+"/"+r)},initRandomFill=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);if(ENVIRONMENT_IS_NODE)try{var e=require("crypto");if(e.randomFillSync)return r=>e.randomFillSync(r);var r=e.randomBytes;return e=>(e.set(r(e.byteLength)),e)}catch(e){}abort("initRandomDevice")},randomFill=e=>(randomFill=initRandomFill())(e),PATH_FS={resolve:function(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var n=t>=0?arguments[t]:FS.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,r=PATH.isAbs(n)}return(r?"/":"")+(e=PATH.normalizeArray(e.split("/").filter((e=>!!e)),!r).join("/"))||"."},relative:(e,r)=>{function t(e){for(var r=0;r=0&&""===e[t];t--);return r>t?[]:e.slice(r,t-r+1)}e=PATH_FS.resolve(e).substr(1),r=PATH_FS.resolve(r).substr(1);for(var n=t(e.split("/")),o=t(r.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s{for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(r,o));for(var a="";r>10,56320|1023&d)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},FS_stdin_getChar_buffer=[],lengthBytesUTF8=e=>{for(var r=0,t=0;t=55296&&n<=57343?(r+=4,++t):r+=3}return r},stringToUTF8Array=(e,r,t,n)=>{if(!(n>0))return 0;for(var o=t,a=t+n-1,i=0;i=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++i);if(s<=127){if(t>=a)break;r[t++]=s}else if(s<=2047){if(t+1>=a)break;r[t++]=192|s>>6,r[t++]=128|63&s}else if(s<=65535){if(t+2>=a)break;r[t++]=224|s>>12,r[t++]=128|s>>6&63,r[t++]=128|63&s}else{if(t+3>=a)break;r[t++]=240|s>>18,r[t++]=128|s>>12&63,r[t++]=128|s>>6&63,r[t++]=128|63&s}}return r[t]=0,t-o};function intArrayFromString(e,r,t){var n=t>0?t:lengthBytesUTF8(e)+1,o=new Array(n),a=stringToUTF8Array(e,o,0,o.length);return r&&(o.length=a),o}var FS_stdin_getChar=()=>{if(!FS_stdin_getChar_buffer.length){var e=null;if(ENVIRONMENT_IS_NODE){var r=Buffer.alloc(256),t=0,n=process.stdin.fd;try{t=fs.readSync(n,r)}catch(e){if(!e.toString().includes("EOF"))throw e;t=0}e=t>0?r.slice(0,t).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\n");if(!e)return null;FS_stdin_getChar_buffer=intArrayFromString(e,!0)}return FS_stdin_getChar_buffer.shift()},TTY={ttys:[],init(){},shutdown(){},register(e,r){TTY.ttys[e]={input:[],output:[],ops:r},FS.registerDevice(e,TTY.stream_ops)},stream_ops:{open(e){var r=TTY.ttys[e.node.rdev];if(!r)throw new FS.ErrnoError(43);e.tty=r,e.seekable=!1},close(e){e.tty.ops.fsync(e.tty)},fsync(e){e.tty.ops.fsync(e.tty)},read(e,r,t,n,o){if(!e.tty||!e.tty.ops.get_char)throw new FS.ErrnoError(60);for(var a=0,i=0;iFS_stdin_getChar(),put_char(e,r){null===r||10===r?(out(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},fsync(e){e.output&&e.output.length>0&&(out(UTF8ArrayToString(e.output,0)),e.output=[])},ioctl_tcgets:e=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(e,r,t)=>0,ioctl_tiocgwinsz:e=>[24,80]},default_tty1_ops:{put_char(e,r){null===r||10===r?(err(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},fsync(e){e.output&&e.output.length>0&&(err(UTF8ArrayToString(e.output,0)),e.output=[])}}},zeroMemory=(e,r)=>(HEAPU8.fill(0,e,e+r),e),alignMemory=(e,r)=>Math.ceil(e/r)*r,mmapAlloc=e=>{e=alignMemory(e,65536);var r=_emscripten_builtin_memalign(65536,e);return r?zeroMemory(r,e):0},MEMFS={ops_table:null,mount:e=>MEMFS.createNode(null,"/",16895,0),createNode(e,r,t,n){if(FS.isBlkdev(t)||FS.isFIFO(t))throw new FS.ErrnoError(63);MEMFS.ops_table||(MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}});var o=FS.createNode(e,r,t,n);return FS.isDir(o.mode)?(o.node_ops=MEMFS.ops_table.dir.node,o.stream_ops=MEMFS.ops_table.dir.stream,o.contents={}):FS.isFile(o.mode)?(o.node_ops=MEMFS.ops_table.file.node,o.stream_ops=MEMFS.ops_table.file.stream,o.usedBytes=0,o.contents=null):FS.isLink(o.mode)?(o.node_ops=MEMFS.ops_table.link.node,o.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(o.mode)&&(o.node_ops=MEMFS.ops_table.chrdev.node,o.stream_ops=MEMFS.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[r]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,r){var t=e.contents?e.contents.length:0;if(!(t>=r)){r=Math.max(r,t*(t<1048576?2:1.125)>>>0),0!=t&&(r=Math.max(r,256));var n=e.contents;e.contents=new Uint8Array(r),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage(e,r){if(e.usedBytes!=r)if(0==r)e.contents=null,e.usedBytes=0;else{var t=e.contents;e.contents=new Uint8Array(r),t&&e.contents.set(t.subarray(0,Math.min(r,e.usedBytes))),e.usedBytes=r}},node_ops:{getattr(e){var r={};return r.dev=FS.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,FS.isDir(e.mode)?r.size=4096:FS.isFile(e.mode)?r.size=e.usedBytes:FS.isLink(e.mode)?r.size=e.link.length:r.size=0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&MEMFS.resizeFileStorage(e,r.size)},lookup(e,r){throw FS.genericErrors[44]},mknod:(e,r,t,n)=>MEMFS.createNode(e,r,t,n),rename(e,r,t){if(FS.isDir(e.mode)){var n;try{n=FS.lookupNode(r,t)}catch(e){}if(n)for(var o in n.contents)throw new FS.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=t,r.contents[t]=e,r.timestamp=e.parent.timestamp,e.parent=r},unlink(e,r){delete e.contents[r],e.timestamp=Date.now()},rmdir(e,r){var t=FS.lookupNode(e,r);for(var n in t.contents)throw new FS.ErrnoError(55);delete e.contents[r],e.timestamp=Date.now()},readdir(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink(e,r,t){var n=MEMFS.createNode(e,r,41471,0);return n.link=t,n},readlink(e){if(!FS.isLink(e.mode))throw new FS.ErrnoError(28);return e.link}},stream_ops:{read(e,r,t,n,o){var a=e.node.contents;if(o>=e.node.usedBytes)return 0;var i=Math.min(e.node.usedBytes-o,n);if(i>8&&a.subarray)r.set(a.subarray(o,o+i),t);else for(var s=0;s0||t+r(MEMFS.stream_ops.write(e,r,0,n,t,!1),0)}},asyncLoad=(e,r,t,n)=>{var o=n?"":getUniqueRunDependency(`al ${e}`);readAsync(e,(t=>{assert(t,`Loading data file "${e}" failed (no arrayBuffer).`),r(new Uint8Array(t)),o&&removeRunDependency(o)}),(r=>{if(!t)throw`Loading data file "${e}" failed.`;t()})),o&&addRunDependency(o)},FS_createDataFile=(e,r,t,n,o,a)=>FS.createDataFile(e,r,t,n,o,a),preloadPlugins=Module.preloadPlugins||[],FS_handledByPreloadPlugin=(e,r,t,n)=>{"undefined"!=typeof Browser&&Browser.init();var o=!1;return preloadPlugins.forEach((a=>{o||a.canHandle(r)&&(a.handle(e,r,t,n),o=!0)})),o},FS_createPreloadedFile=(e,r,t,n,o,a,i,s,l,d)=>{var u=r?PATH_FS.resolve(PATH.join2(e,r)):e,c=getUniqueRunDependency(`cp ${u}`);function m(t){function m(t){d&&d(),s||FS_createDataFile(e,r,t,n,o,l),a&&a(),removeRunDependency(c)}FS_handledByPreloadPlugin(t,u,m,(()=>{i&&i(),removeRunDependency(c)}))||m(t)}addRunDependency(c),"string"==typeof t?asyncLoad(t,(e=>m(e)),i):m(t)},FS_modeStringToFlags=e=>{var r={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===r)throw new Error(`Unknown file open mode: ${e}`);return r},FS_getMode=(e,r)=>{var t=0;return e&&(t|=365),r&&(t|=146),t},WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount(e){assert(ENVIRONMENT_IS_WORKER),WORKERFS.reader||(WORKERFS.reader=new FileReaderSync);var r=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0),t={};function n(e){for(var n=e.split("/"),o=r,a=0;a({dev:1,ino:e.id,mode:e.mode,nlink:1,uid:0,gid:0,rdev:0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}),setattr(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp)},lookup(e,r){throw new FS.ErrnoError(44)},mknod(e,r,t,n){throw new FS.ErrnoError(63)},rename(e,r,t){throw new FS.ErrnoError(63)},unlink(e,r){throw new FS.ErrnoError(63)},rmdir(e,r){throw new FS.ErrnoError(63)},readdir(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink(e,r,t){throw new FS.ErrnoError(63)}},stream_ops:{read(e,r,t,n,o){if(o>=e.node.size)return 0;var a=e.node.contents.slice(o,o+n),i=WORKERFS.reader.readAsArrayBuffer(a);return r.set(new Uint8Array(i),t),a.size},write(e,r,t,n,o){throw new FS.ErrnoError(29)},llseek(e,r,t){var n=r;if(1===t?n+=e.position:2===t&&FS.isFile(e.node.mode)&&(n+=e.node.size),n<0)throw new FS.ErrnoError(28);return n}}},FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(e,r={}){if(!(e=PATH_FS.resolve(e)))return{path:"",node:null};if((r=Object.assign({follow_mount:!0,recurse_count:0},r)).recurse_count>8)throw new FS.ErrnoError(32);for(var t=e.split("/").filter((e=>!!e)),n=FS.root,o="/",a=0;a40)throw new FS.ErrnoError(32)}}return{path:o,node:n}},getPath(e){for(var r;;){if(FS.isRoot(e)){var t=e.mount.mountpoint;return r?"/"!==t[t.length-1]?`${t}/${r}`:t+r:t}r=r?`${e.name}/${r}`:e.name,e=e.parent}},hashName(e,r){for(var t=0,n=0;n>>0)%FS.nameTable.length},hashAddNode(e){var r=FS.hashName(e.parent.id,e.name);e.name_next=FS.nameTable[r],FS.nameTable[r]=e},hashRemoveNode(e){var r=FS.hashName(e.parent.id,e.name);if(FS.nameTable[r]===e)FS.nameTable[r]=e.name_next;else for(var t=FS.nameTable[r];t;){if(t.name_next===e){t.name_next=e.name_next;break}t=t.name_next}},lookupNode(e,r){var t=FS.mayLookup(e);if(t)throw new FS.ErrnoError(t,e);for(var n=FS.hashName(e.id,r),o=FS.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===e.id&&a===r)return o}return FS.lookup(e,r)},createNode(e,r,t,n){var o=new FS.FSNode(e,r,t,n);return FS.hashAddNode(o),o},destroyNode(e){FS.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>49152==(49152&e),flagsToPermissionString(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r},nodePermissions:(e,r)=>FS.ignorePermissions||(!r.includes("r")||292&e.mode)&&(!r.includes("w")||146&e.mode)&&(!r.includes("x")||73&e.mode)?0:2,mayLookup(e){var r=FS.nodePermissions(e,"x");return r||(e.node_ops.lookup?0:2)},mayCreate(e,r){try{FS.lookupNode(e,r);return 20}catch(e){}return FS.nodePermissions(e,"wx")},mayDelete(e,r,t){var n;try{n=FS.lookupNode(e,r)}catch(e){return e.errno}var o=FS.nodePermissions(e,"wx");if(o)return o;if(t){if(!FS.isDir(n.mode))return 54;if(FS.isRoot(n)||FS.getPath(n)===FS.cwd())return 10}else if(FS.isDir(n.mode))return 31;return 0},mayOpen:(e,r)=>e?FS.isLink(e.mode)?32:FS.isDir(e.mode)&&("r"!==FS.flagsToPermissionString(r)||512&r)?31:FS.nodePermissions(e,FS.flagsToPermissionString(r)):44,MAX_OPEN_FDS:4096,nextfd(){for(var e=0;e<=FS.MAX_OPEN_FDS;e++)if(!FS.streams[e])return e;throw new FS.ErrnoError(33)},getStreamChecked(e){var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(8);return r},getStream:e=>FS.streams[e],createStream:(e,r=-1)=>(FS.FSStream||(FS.FSStream=function(){this.shared={}},FS.FSStream.prototype={},Object.defineProperties(FS.FSStream.prototype,{object:{get(){return this.node},set(e){this.node=e}},isRead:{get(){return 1!=(2097155&this.flags)}},isWrite:{get(){return 0!=(2097155&this.flags)}},isAppend:{get(){return 1024&this.flags}},flags:{get(){return this.shared.flags},set(e){this.shared.flags=e}},position:{get(){return this.shared.position},set(e){this.shared.position=e}}})),e=Object.assign(new FS.FSStream,e),-1==r&&(r=FS.nextfd()),e.fd=r,FS.streams[r]=e,e),closeStream(e){FS.streams[e]=null},chrdev_stream_ops:{open(e){var r=FS.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek(){throw new FS.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,r)=>e<<8|r,registerDevice(e,r){FS.devices[e]={stream_ops:r}},getDevice:e=>FS.devices[e],getMounts(e){for(var r=[],t=[e];t.length;){var n=t.pop();r.push(n),t.push.apply(t,n.mounts)}return r},syncfs(e,r){"function"==typeof e&&(r=e,e=!1),FS.syncFSRequests++,FS.syncFSRequests>1&&err(`warning: ${FS.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=FS.getMounts(FS.root.mount),n=0;function o(e){return FS.syncFSRequests--,r(e)}function a(e){if(e)return a.errored?void 0:(a.errored=!0,o(e));++n>=t.length&&o(null)}t.forEach((r=>{if(!r.type.syncfs)return a(null);r.type.syncfs(r,e,a)}))},mount(e,r,t){var n,o="/"===t,a=!t;if(o&&FS.root)throw new FS.ErrnoError(10);if(!o&&!a){var i=FS.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,FS.isMountpoint(n))throw new FS.ErrnoError(10);if(!FS.isDir(n.mode))throw new FS.ErrnoError(54)}var s={type:e,opts:r,mountpoint:t,mounts:[]},l=e.mount(s);return l.mount=s,s.root=l,o?FS.root=l:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),l},unmount(e){var r=FS.lookupPath(e,{follow_mount:!1});if(!FS.isMountpoint(r.node))throw new FS.ErrnoError(28);var t=r.node,n=t.mounted,o=FS.getMounts(n);Object.keys(FS.nameTable).forEach((e=>{for(var r=FS.nameTable[e];r;){var t=r.name_next;o.includes(r.mount)&&FS.destroyNode(r),r=t}})),t.mounted=null;var a=t.mount.mounts.indexOf(n);t.mount.mounts.splice(a,1)},lookup:(e,r)=>e.node_ops.lookup(e,r),mknod(e,r,t){var n=FS.lookupPath(e,{parent:!0}).node,o=PATH.basename(e);if(!o||"."===o||".."===o)throw new FS.ErrnoError(28);var a=FS.mayCreate(n,o);if(a)throw new FS.ErrnoError(a);if(!n.node_ops.mknod)throw new FS.ErrnoError(63);return n.node_ops.mknod(n,o,r,t)},create:(e,r)=>(r=void 0!==r?r:438,r&=4095,r|=32768,FS.mknod(e,r,0)),mkdir:(e,r)=>(r=void 0!==r?r:511,r&=1023,r|=16384,FS.mknod(e,r,0)),mkdirTree(e,r){for(var t=e.split("/"),n="",o=0;o(void 0===t&&(t=r,r=438),r|=8192,FS.mknod(e,r,t)),symlink(e,r){if(!PATH_FS.resolve(e))throw new FS.ErrnoError(44);var t=FS.lookupPath(r,{parent:!0}).node;if(!t)throw new FS.ErrnoError(44);var n=PATH.basename(r),o=FS.mayCreate(t,n);if(o)throw new FS.ErrnoError(o);if(!t.node_ops.symlink)throw new FS.ErrnoError(63);return t.node_ops.symlink(t,n,e)},rename(e,r){var t,n,o=PATH.dirname(e),a=PATH.dirname(r),i=PATH.basename(e),s=PATH.basename(r);if(t=FS.lookupPath(e,{parent:!0}).node,n=FS.lookupPath(r,{parent:!0}).node,!t||!n)throw new FS.ErrnoError(44);if(t.mount!==n.mount)throw new FS.ErrnoError(75);var l,d=FS.lookupNode(t,i),u=PATH_FS.relative(e,a);if("."!==u.charAt(0))throw new FS.ErrnoError(28);if("."!==(u=PATH_FS.relative(r,o)).charAt(0))throw new FS.ErrnoError(55);try{l=FS.lookupNode(n,s)}catch(e){}if(d!==l){var c=FS.isDir(d.mode),m=FS.mayDelete(t,i,c);if(m)throw new FS.ErrnoError(m);if(m=l?FS.mayDelete(n,s,c):FS.mayCreate(n,s))throw new FS.ErrnoError(m);if(!t.node_ops.rename)throw new FS.ErrnoError(63);if(FS.isMountpoint(d)||l&&FS.isMountpoint(l))throw new FS.ErrnoError(10);if(n!==t&&(m=FS.nodePermissions(t,"w")))throw new FS.ErrnoError(m);FS.hashRemoveNode(d);try{t.node_ops.rename(d,n,s)}catch(e){throw e}finally{FS.hashAddNode(d)}}},rmdir(e){var r=FS.lookupPath(e,{parent:!0}).node,t=PATH.basename(e),n=FS.lookupNode(r,t),o=FS.mayDelete(r,t,!0);if(o)throw new FS.ErrnoError(o);if(!r.node_ops.rmdir)throw new FS.ErrnoError(63);if(FS.isMountpoint(n))throw new FS.ErrnoError(10);r.node_ops.rmdir(r,t),FS.destroyNode(n)},readdir(e){var r=FS.lookupPath(e,{follow:!0}).node;if(!r.node_ops.readdir)throw new FS.ErrnoError(54);return r.node_ops.readdir(r)},unlink(e){var r=FS.lookupPath(e,{parent:!0}).node;if(!r)throw new FS.ErrnoError(44);var t=PATH.basename(e),n=FS.lookupNode(r,t),o=FS.mayDelete(r,t,!1);if(o)throw new FS.ErrnoError(o);if(!r.node_ops.unlink)throw new FS.ErrnoError(63);if(FS.isMountpoint(n))throw new FS.ErrnoError(10);r.node_ops.unlink(r,t),FS.destroyNode(n)},readlink(e){var r=FS.lookupPath(e).node;if(!r)throw new FS.ErrnoError(44);if(!r.node_ops.readlink)throw new FS.ErrnoError(28);return PATH_FS.resolve(FS.getPath(r.parent),r.node_ops.readlink(r))},stat(e,r){var t=FS.lookupPath(e,{follow:!r}).node;if(!t)throw new FS.ErrnoError(44);if(!t.node_ops.getattr)throw new FS.ErrnoError(63);return t.node_ops.getattr(t)},lstat:e=>FS.stat(e,!0),chmod(e,r,t){var n;"string"==typeof e?n=FS.lookupPath(e,{follow:!t}).node:n=e;if(!n.node_ops.setattr)throw new FS.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&r|-4096&n.mode,timestamp:Date.now()})},lchmod(e,r){FS.chmod(e,r,!0)},fchmod(e,r){var t=FS.getStreamChecked(e);FS.chmod(t.node,r)},chown(e,r,t,n){var o;"string"==typeof e?o=FS.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new FS.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(e,r,t){FS.chown(e,r,t,!0)},fchown(e,r,t){var n=FS.getStreamChecked(e);FS.chown(n.node,r,t)},truncate(e,r){if(r<0)throw new FS.ErrnoError(28);var t;"string"==typeof e?t=FS.lookupPath(e,{follow:!0}).node:t=e;if(!t.node_ops.setattr)throw new FS.ErrnoError(63);if(FS.isDir(t.mode))throw new FS.ErrnoError(31);if(!FS.isFile(t.mode))throw new FS.ErrnoError(28);var n=FS.nodePermissions(t,"w");if(n)throw new FS.ErrnoError(n);t.node_ops.setattr(t,{size:r,timestamp:Date.now()})},ftruncate(e,r){var t=FS.getStreamChecked(e);if(0==(2097155&t.flags))throw new FS.ErrnoError(28);FS.truncate(t.node,r)},utime(e,r,t){var n=FS.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(r,t)})},open(e,r,t){if(""===e)throw new FS.ErrnoError(44);var n;if(t=void 0===t?438:t,t=64&(r="string"==typeof r?FS_modeStringToFlags(r):r)?4095&t|32768:0,"object"==typeof e)n=e;else{e=PATH.normalize(e);try{n=FS.lookupPath(e,{follow:!(131072&r)}).node}catch(e){}}var o=!1;if(64&r)if(n){if(128&r)throw new FS.ErrnoError(20)}else n=FS.mknod(e,t,0),o=!0;if(!n)throw new FS.ErrnoError(44);if(FS.isChrdev(n.mode)&&(r&=-513),65536&r&&!FS.isDir(n.mode))throw new FS.ErrnoError(54);if(!o){var a=FS.mayOpen(n,r);if(a)throw new FS.ErrnoError(a)}512&r&&!o&&FS.truncate(n,0),r&=-131713;var i=FS.createStream({node:n,path:FS.getPath(n),flags:r,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return i.stream_ops.open&&i.stream_ops.open(i),!Module.logReadFiles||1&r||(FS.readFiles||(FS.readFiles={}),e in FS.readFiles||(FS.readFiles[e]=1)),i},close(e){if(FS.isClosed(e))throw new FS.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{FS.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,r,t){if(FS.isClosed(e))throw new FS.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new FS.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new FS.ErrnoError(28);return e.position=e.stream_ops.llseek(e,r,t),e.ungotten=[],e.position},read(e,r,t,n,o){if(n<0||o<0)throw new FS.ErrnoError(28);if(FS.isClosed(e))throw new FS.ErrnoError(8);if(1==(2097155&e.flags))throw new FS.ErrnoError(8);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(31);if(!e.stream_ops.read)throw new FS.ErrnoError(28);var a=void 0!==o;if(a){if(!e.seekable)throw new FS.ErrnoError(70)}else o=e.position;var i=e.stream_ops.read(e,r,t,n,o);return a||(e.position+=i),i},write(e,r,t,n,o,a){if(n<0||o<0)throw new FS.ErrnoError(28);if(FS.isClosed(e))throw new FS.ErrnoError(8);if(0==(2097155&e.flags))throw new FS.ErrnoError(8);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(31);if(!e.stream_ops.write)throw new FS.ErrnoError(28);e.seekable&&1024&e.flags&&FS.llseek(e,0,2);var i=void 0!==o;if(i){if(!e.seekable)throw new FS.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,r,t,n,o,a);return i||(e.position+=s),s},allocate(e,r,t){if(FS.isClosed(e))throw new FS.ErrnoError(8);if(r<0||t<=0)throw new FS.ErrnoError(28);if(0==(2097155&e.flags))throw new FS.ErrnoError(8);if(!FS.isFile(e.node.mode)&&!FS.isDir(e.node.mode))throw new FS.ErrnoError(43);if(!e.stream_ops.allocate)throw new FS.ErrnoError(138);e.stream_ops.allocate(e,r,t)},mmap(e,r,t,n,o){if(0!=(2&n)&&0==(2&o)&&2!=(2097155&e.flags))throw new FS.ErrnoError(2);if(1==(2097155&e.flags))throw new FS.ErrnoError(2);if(!e.stream_ops.mmap)throw new FS.ErrnoError(43);return e.stream_ops.mmap(e,r,t,n,o)},msync:(e,r,t,n,o)=>e.stream_ops.msync?e.stream_ops.msync(e,r,t,n,o):0,munmap:e=>0,ioctl(e,r,t){if(!e.stream_ops.ioctl)throw new FS.ErrnoError(59);return e.stream_ops.ioctl(e,r,t)},readFile(e,r={}){if(r.flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error(`Invalid encoding type "${r.encoding}"`);var t,n=FS.open(e,r.flags),o=FS.stat(e).size,a=new Uint8Array(o);return FS.read(n,a,0,o,0),"utf8"===r.encoding?t=UTF8ArrayToString(a,0):"binary"===r.encoding&&(t=a),FS.close(n),t},writeFile(e,r,t={}){t.flags=t.flags||577;var n=FS.open(e,t.flags,t.mode);if("string"==typeof r){var o=new Uint8Array(lengthBytesUTF8(r)+1),a=stringToUTF8Array(r,o,0,o.length);FS.write(n,o,0,a,void 0,t.canOwn)}else{if(!ArrayBuffer.isView(r))throw new Error("Unsupported data type");FS.write(n,r,0,r.byteLength,void 0,t.canOwn)}FS.close(n)},cwd:()=>FS.currentPath,chdir(e){var r=FS.lookupPath(e,{follow:!0});if(null===r.node)throw new FS.ErrnoError(44);if(!FS.isDir(r.node.mode))throw new FS.ErrnoError(54);var t=FS.nodePermissions(r.node,"x");if(t)throw new FS.ErrnoError(t);FS.currentPath=r.path},createDefaultDirectories(){FS.mkdir("/tmp"),FS.mkdir("/home"),FS.mkdir("/home/web_user")},createDefaultDevices(){FS.mkdir("/dev"),FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(e,r,t,n,o)=>n}),FS.mkdev("/dev/null",FS.makedev(1,3)),TTY.register(FS.makedev(5,0),TTY.default_tty_ops),TTY.register(FS.makedev(6,0),TTY.default_tty1_ops),FS.mkdev("/dev/tty",FS.makedev(5,0)),FS.mkdev("/dev/tty1",FS.makedev(6,0));var e=new Uint8Array(1024),r=0,t=()=>(0===r&&(r=randomFill(e).byteLength),e[--r]);FS.createDevice("/dev","random",t),FS.createDevice("/dev","urandom",t),FS.mkdir("/dev/shm"),FS.mkdir("/dev/shm/tmp")},createSpecialDirectories(){FS.mkdir("/proc");var e=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd"),FS.mount({mount(){var r=FS.createNode(e,"fd",16895,73);return r.node_ops={lookup(e,r){var t=+r,n=FS.getStreamChecked(t),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},r}},{},"/proc/self/fd")},createStandardStreams(){Module.stdin?FS.createDevice("/dev","stdin",Module.stdin):FS.symlink("/dev/tty","/dev/stdin"),Module.stdout?FS.createDevice("/dev","stdout",null,Module.stdout):FS.symlink("/dev/tty","/dev/stdout"),Module.stderr?FS.createDevice("/dev","stderr",null,Module.stderr):FS.symlink("/dev/tty1","/dev/stderr");FS.open("/dev/stdin",0),FS.open("/dev/stdout",1),FS.open("/dev/stderr",1)},ensureErrnoError(){FS.ErrnoError||(FS.ErrnoError=function(e,r){this.name="ErrnoError",this.node=r,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},FS.ErrnoError.prototype=new Error,FS.ErrnoError.prototype.constructor=FS.ErrnoError,[44].forEach((e=>{FS.genericErrors[e]=new FS.ErrnoError(e),FS.genericErrors[e].stack=""})))},staticInit(){FS.ensureErrnoError(),FS.nameTable=new Array(4096),FS.mount(MEMFS,{},"/"),FS.createDefaultDirectories(),FS.createDefaultDevices(),FS.createSpecialDirectories(),FS.filesystems={MEMFS,WORKERFS}},init(e,r,t){FS.init.initialized=!0,FS.ensureErrnoError(),Module.stdin=e||Module.stdin,Module.stdout=r||Module.stdout,Module.stderr=t||Module.stderr,FS.createStandardStreams()},quit(){FS.init.initialized=!1;for(var e=0;ethis.length-1||e<0)){var r=e%this.chunkSize,t=e/this.chunkSize|0;return this.getter(t)[r]}},a.prototype.setDataGetter=function(e){this.getter=e},a.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",t,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+t+". Status: "+e.status);var r,n=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,a=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,i=1048576;o||(i=n);var s=this;s.setDataGetter((e=>{var r=e*i,o=(e+1)*i-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=((e,r)=>{if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",t,!1),n!==i&&o.setRequestHeader("Range","bytes="+e+"-"+r),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+t+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):intArrayFromString(o.responseText||"",!0)})(r,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!a&&n||(i=n=1,n=this.getter(0).length,i=n,out("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new a;Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:i}}else s={isDevice:!1,url:t};var l=FS.createFile(e,r,s,n,o);s.contents?l.contents=s.contents:s.url&&(l.contents=null,l.url=s.url),Object.defineProperties(l,{usedBytes:{get:function(){return this.contents.length}}});var d={};function u(e,r,t,n,o){var a=e.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s{var r=l.stream_ops[e];d[e]=function(){return FS.forceLoadFile(l),r.apply(null,arguments)}})),d.read=(e,r,t,n,o)=>(FS.forceLoadFile(l),u(e,r,t,n,o)),d.mmap=(e,r,t,n,o)=>{FS.forceLoadFile(l);var a=mmapAlloc(r);if(!a)throw new FS.ErrnoError(48);return u(e,HEAP8,a,r,t),{ptr:a,allocated:!0}},l.stream_ops=d,l}},UTF8ToString=(e,r)=>e?UTF8ArrayToString(HEAPU8,e,r):"",SYSCALLS={DEFAULT_POLLMASK:5,calculateAt(e,r,t){if(PATH.isAbs(r))return r;var n;-100===e?n=FS.cwd():n=SYSCALLS.getStreamFromFD(e).path;if(0==r.length){if(!t)throw new FS.ErrnoError(44);return n}return PATH.join2(n,r)},doStat(e,r,t){try{var n=e(r)}catch(e){if(e&&e.node&&PATH.normalize(r)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[t>>2]=n.dev,HEAP32[t+4>>2]=n.mode,HEAPU32[t+8>>2]=n.nlink,HEAP32[t+12>>2]=n.uid,HEAP32[t+16>>2]=n.gid,HEAP32[t+20>>2]=n.rdev,tempI64=[n.size>>>0,(tempDouble=n.size,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[t+24>>2]=tempI64[0],HEAP32[t+28>>2]=tempI64[1],HEAP32[t+32>>2]=4096,HEAP32[t+36>>2]=n.blocks;var o=n.atime.getTime(),a=n.mtime.getTime(),i=n.ctime.getTime();return tempI64=[Math.floor(o/1e3)>>>0,(tempDouble=Math.floor(o/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[t+40>>2]=tempI64[0],HEAP32[t+44>>2]=tempI64[1],HEAPU32[t+48>>2]=o%1e3*1e3,tempI64=[Math.floor(a/1e3)>>>0,(tempDouble=Math.floor(a/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[t+56>>2]=tempI64[0],HEAP32[t+60>>2]=tempI64[1],HEAPU32[t+64>>2]=a%1e3*1e3,tempI64=[Math.floor(i/1e3)>>>0,(tempDouble=Math.floor(i/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[t+72>>2]=tempI64[0],HEAP32[t+76>>2]=tempI64[1],HEAPU32[t+80>>2]=i%1e3*1e3,tempI64=[n.ino>>>0,(tempDouble=n.ino,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[t+88>>2]=tempI64[0],HEAP32[t+92>>2]=tempI64[1],0},doMsync(e,r,t,n,o){if(!FS.isFile(r.node.mode))throw new FS.ErrnoError(43);if(2&n)return 0;var a=HEAPU8.slice(e,e+t);FS.msync(r,a,o,t,n)},varargs:void 0,get(){var e=HEAP32[+SYSCALLS.varargs>>2];return SYSCALLS.varargs+=4,e},getp:()=>SYSCALLS.get(),getStr:e=>UTF8ToString(e),getStreamFromFD:e=>FS.getStreamChecked(e)};function ___syscall_chmod(e,r){try{return e=SYSCALLS.getStr(e),FS.chmod(e,r),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_faccessat(e,r,t,n){try{if(r=SYSCALLS.getStr(r),r=SYSCALLS.calculateAt(e,r),-8&t)return-28;var o=FS.lookupPath(r,{follow:!0}).node;if(!o)return-44;var a="";return 4&t&&(a+="r"),2&t&&(a+="w"),1&t&&(a+="x"),a&&FS.nodePermissions(o,a)?-2:0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_fchmod(e,r){try{return FS.fchmod(e,r),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}var setErrNo=e=>(HEAP32[___errno_location()>>2]=e,e);function ___syscall_fcntl64(e,r,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(e);switch(r){case 0:if((o=SYSCALLS.get())<0)return-28;for(;FS.streams[o];)o++;return FS.createStream(n,o).fd;case 1:case 2:case 6:case 7:return 0;case 3:return n.flags;case 4:var o=SYSCALLS.get();return n.flags|=o,0;case 5:o=SYSCALLS.getp();return HEAP16[o+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return setErrNo(28),-1}}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_fstat64(e,r){try{var t=SYSCALLS.getStreamFromFD(e);return SYSCALLS.doStat(FS.stat,t.path,r)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}var convertI32PairToI53Checked=(e,r)=>r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN;function ___syscall_ftruncate64(e,r,t){var n=convertI32PairToI53Checked(r,t);try{return isNaN(n)?61:(FS.ftruncate(e,n),0)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}var stringToUTF8=(e,r,t)=>stringToUTF8Array(e,HEAPU8,r,t);function ___syscall_getdents64(e,r,t){try{var n=SYSCALLS.getStreamFromFD(e);n.getdents||(n.getdents=FS.readdir(n.path));for(var o=280,a=0,i=FS.llseek(n,0,1),s=Math.floor(i/o);s>>0,(tempDouble=l,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+a>>2]=tempI64[0],HEAP32[r+a+4>>2]=tempI64[1],tempI64=[(s+1)*o>>>0,(tempDouble=(s+1)*o,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+a+8>>2]=tempI64[0],HEAP32[r+a+12>>2]=tempI64[1],HEAP16[r+a+16>>1]=280,HEAP8[r+a+18>>0]=d,stringToUTF8(u,r+a+19,256),a+=o,s+=1}return FS.llseek(n,s*o,0),a}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_ioctl(e,r,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(e);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=SYSCALLS.getp();HEAP32[a>>2]=o.c_iflag||0,HEAP32[a+4>>2]=o.c_oflag||0,HEAP32[a+8>>2]=o.c_cflag||0,HEAP32[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)HEAP8[a+i+17>>0]=o.c_cc[i]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){a=SYSCALLS.getp();var s=HEAP32[a>>2],l=HEAP32[a+4>>2],d=HEAP32[a+8>>2],u=HEAP32[a+12>>2],c=[];for(i=0;i<32;i++)c.push(HEAP8[a+i+17>>0]);return n.tty.ops.ioctl_tcsets(n.tty,r,{c_iflag:s,c_oflag:l,c_cflag:d,c_lflag:u,c_cc:c})}return 0;case 21519:if(!n.tty)return-59;a=SYSCALLS.getp();return HEAP32[a>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:a=SYSCALLS.getp();return FS.ioctl(n,r,a);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var m=n.tty.ops.ioctl_tiocgwinsz(n.tty);a=SYSCALLS.getp();HEAP16[a>>1]=m[0],HEAP16[a+2>>1]=m[1]}return 0;default:return-28}}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_lstat64(e,r){try{return e=SYSCALLS.getStr(e),SYSCALLS.doStat(FS.lstat,e,r)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_mkdirat(e,r,t){try{return r=SYSCALLS.getStr(r),r=SYSCALLS.calculateAt(e,r),"/"===(r=PATH.normalize(r))[r.length-1]&&(r=r.substr(0,r.length-1)),FS.mkdir(r,t,0),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_newfstatat(e,r,t,n){try{r=SYSCALLS.getStr(r);var o=256&n,a=4096&n;return n&=-6401,r=SYSCALLS.calculateAt(e,r,a),SYSCALLS.doStat(o?FS.lstat:FS.stat,r,t)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_openat(e,r,t,n){SYSCALLS.varargs=n;try{r=SYSCALLS.getStr(r),r=SYSCALLS.calculateAt(e,r);var o=n?SYSCALLS.get():0;return FS.open(r,t,o).fd}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_renameat(e,r,t,n){try{return r=SYSCALLS.getStr(r),n=SYSCALLS.getStr(n),r=SYSCALLS.calculateAt(e,r),n=SYSCALLS.calculateAt(t,n),FS.rename(r,n),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_rmdir(e){try{return e=SYSCALLS.getStr(e),FS.rmdir(e),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_stat64(e,r){try{return e=SYSCALLS.getStr(e),SYSCALLS.doStat(FS.stat,e,r)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function ___syscall_unlinkat(e,r,t){try{return r=SYSCALLS.getStr(r),r=SYSCALLS.calculateAt(e,r),0===t?FS.unlink(r):512===t?FS.rmdir(r):abort("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}var char_0=48,char_9=57,makeLegalFunctionName=e=>{if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=char_0&&r<=char_9?`_${e}`:e};function createNamedFunction(e,r){return{[e=makeLegalFunctionName(e)]:function(){return r.apply(this,arguments)}}[e]}function handleAllocatorInit(){Object.assign(HandleAllocator.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var r=this.freelist.pop()||this.allocated.length;return this.allocated[r]=e,r},free(e){this.allocated[e]=void 0,this.freelist.push(e)}})}function HandleAllocator(){this.allocated=[void 0],this.freelist=[]}var emval_handles=new HandleAllocator,BindingError,throwBindingError=e=>{throw new BindingError(e)},count_emval_handles=()=>{for(var e=0,r=emval_handles.reserved;r{emval_handles.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),emval_handles.reserved=emval_handles.allocated.length,Module.count_emval_handles=count_emval_handles},Emval={toValue:e=>(e||throwBindingError("Cannot use deleted val. handle = "+e),emval_handles.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return emval_handles.allocate({refcount:1,value:e})}}},extendError=(e,r)=>{var t=createNamedFunction(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t},PureVirtualError,embind_init_charCodes=()=>{for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);embind_charCodes=e},embind_charCodes,readLatin1String=e=>{for(var r="",t=e;HEAPU8[t];)r+=embind_charCodes[HEAPU8[t++]];return r},getInheritedInstanceCount=()=>Object.keys(registeredInstances).length,getLiveInheritedInstances=()=>{var e=[];for(var r in registeredInstances)registeredInstances.hasOwnProperty(r)&&e.push(registeredInstances[r]);return e},deletionQueue=[],flushPendingDeletes=()=>{for(;deletionQueue.length;){var e=deletionQueue.pop();e.$$.deleteScheduled=!1,e.delete()}},delayFunction,setDelayFunction=e=>{delayFunction=e,deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes)},init_embind=()=>{Module.getInheritedInstanceCount=getInheritedInstanceCount,Module.getLiveInheritedInstances=getLiveInheritedInstances,Module.flushPendingDeletes=flushPendingDeletes,Module.setDelayFunction=setDelayFunction},registeredInstances={},getBasestPointer=(e,r)=>{for(void 0===r&&throwBindingError("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r},registerInheritedInstance=(e,r,t)=>{r=getBasestPointer(e,r),registeredInstances.hasOwnProperty(r)?throwBindingError(`Tried to register registered instance: ${r}`):registeredInstances[r]=t},registeredTypes={},getTypeName=e=>{var r=___getTypeName(e),t=readLatin1String(r);return _free(r),t},requireRegisteredType=(e,r)=>{var t=registeredTypes[e];return void 0===t&&throwBindingError(r+" has unknown type "+getTypeName(e)),t},unregisterInheritedInstance=(e,r)=>{r=getBasestPointer(e,r),registeredInstances.hasOwnProperty(r)?delete registeredInstances[r]:throwBindingError(`Tried to unregister unregistered instance: ${r}`)},detachFinalizer=e=>{},finalizationRegistry=!1,runDestructor=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},releaseClassHandle=e=>{e.count.value-=1,0===e.count.value&&runDestructor(e)},downcastPointer=(e,r,t)=>{if(r===t)return e;if(void 0===t.baseClass)return null;var n=downcastPointer(e,r,t.baseClass);return null===n?null:t.downcast(n)},registeredPointers={},getInheritedInstance=(e,r)=>(r=getBasestPointer(e,r),registeredInstances[r]),InternalError,throwInternalError=e=>{throw new InternalError(e)},makeClassHandle=(e,r)=>(r.ptrType&&r.ptr||throwInternalError("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!==!!r.smartPtr&&throwInternalError("Both smartPtrType and smartPtr must be specified"),r.count={value:1},attachFinalizer(Object.create(e,{$$:{value:r}})));function RegisteredPointer_fromWireType(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=getInheritedInstance(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var a,i=this.registeredClass.getActualType(r),s=registeredPointers[i];if(!s)return o.call(this);a=this.isConst?s.constPointerType:s.pointerType;var l=downcastPointer(r,this.registeredClass,a.registeredClass);return null===l?o.call(this):this.isSmartPointer?makeClassHandle(a.registeredClass.instancePrototype,{ptrType:a,ptr:l,smartPtrType:this,smartPtr:e}):makeClassHandle(a.registeredClass.instancePrototype,{ptrType:a,ptr:l})}var attachFinalizer=e=>"undefined"==typeof FinalizationRegistry?(attachFinalizer=e=>e,e):(finalizationRegistry=new FinalizationRegistry((e=>{releaseClassHandle(e.$$)})),attachFinalizer=e=>{var r=e.$$;if(!!r.smartPtr){var t={$$:r};finalizationRegistry.register(e,t,e)}return e},detachFinalizer=e=>finalizationRegistry.unregister(e),attachFinalizer(e)),__embind_create_inheriting_constructor=(e,r,t)=>{e=readLatin1String(e),r=requireRegisteredType(r,"wrapper"),t=Emval.toValue(t);var n=[].slice,o=r.registeredClass,a=o.instancePrototype,i=o.baseClass.instancePrototype,s=o.baseClass.constructor,l=createNamedFunction(e,(function(){o.baseClass.pureVirtualFunctions.forEach(function(e){if(this[e]===i[e])throw new PureVirtualError(`Pure virtual function ${e} must be implemented in JavaScript`)}.bind(this)),Object.defineProperty(this,"__parent",{value:a}),this.__construct.apply(this,n.call(arguments))}));return a.__construct=function(){this===a&&throwBindingError("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(n.call(arguments)));detachFinalizer(e);var r=e.$$;e.notifyOnDestruction(),r.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:r}}),attachFinalizer(this),registerInheritedInstance(o,r.ptr,this)},a.__destruct=function(){this===a&&throwBindingError("Pass correct 'this' to __destruct"),detachFinalizer(this),unregisterInheritedInstance(o,this.$$.ptr)},l.prototype=Object.create(a),Object.assign(l.prototype,t),Emval.toHandle(l)},structRegistrations={},runDestructors=e=>{for(;e.length;){var r=e.pop();e.pop()(r)}};function simpleReadValueFromPointer(e){return this.fromWireType(HEAP32[e>>2])}var awaitingDependencies={},typeDependencies={},whenDependentTypesAreResolved=(e,r,t)=>{function n(r){var n=t(r);n.length!==e.length&&throwInternalError("Mismatched type converter count");for(var o=0;o{registeredTypes.hasOwnProperty(e)?o[r]=registeredTypes[e]:(a.push(e),awaitingDependencies.hasOwnProperty(e)||(awaitingDependencies[e]=[]),awaitingDependencies[e].push((()=>{o[r]=registeredTypes[e],++i===a.length&&n(o)})))})),0===a.length&&n(o)},__embind_finalize_value_object=e=>{var r=structRegistrations[e];delete structRegistrations[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields,a=o.map((e=>e.getterReturnType)).concat(o.map((e=>e.setterArgumentType)));whenDependentTypesAreResolved([e],a,(e=>{var a={};return o.forEach(((r,t)=>{var n=r.fieldName,i=e[t],s=r.getter,l=r.getterContext,d=e[t+o.length],u=r.setter,c=r.setterContext;a[n]={read:e=>i.fromWireType(s(l,e)),write:(e,r)=>{var t=[];u(c,e,d.toWireType(t,r)),runDestructors(t)}}})),[{name:r.name,fromWireType:e=>{var r={};for(var t in a)r[t]=a[t].read(e);return n(e),r},toWireType:(e,r)=>{for(var o in a)if(!(o in r))throw new TypeError(`Missing field: "${o}"`);var i=t();for(o in a)a[o].write(i,r[o]);return null!==e&&e.push(n,i),i},argPackAdvance:GenericWireTypeSize,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:n}]}))},__embind_register_bigint=(e,r,t,n,o)=>{};function sharedRegisterType(e,r,t={}){var n=r.name;if(e||throwBindingError(`type "${n}" must have a positive integer typeid pointer`),registeredTypes.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;throwBindingError(`Cannot register type '${n}' twice`)}if(registeredTypes[e]=r,delete typeDependencies[e],awaitingDependencies.hasOwnProperty(e)){var o=awaitingDependencies[e];delete awaitingDependencies[e],o.forEach((e=>e()))}}function registerType(e,r,t={}){if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");return sharedRegisterType(e,r,t)}var GenericWireTypeSize=8,__embind_register_bool=(e,r,t,n)=>{registerType(e,{name:r=readLatin1String(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?t:n},argPackAdvance:GenericWireTypeSize,readValueFromPointer:function(e){return this.fromWireType(HEAPU8[e])},destructorFunction:null})},shallowCopyInternalPointer=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),throwInstanceAlreadyDeleted=e=>{throwBindingError(e.$$.ptrType.registeredClass.name+" instance already deleted")},init_ClassHandle=()=>{Object.assign(ClassHandle.prototype,{isAliasOf(e){if(!(this instanceof ClassHandle))return!1;if(!(e instanceof ClassHandle))return!1;var r=this.$$.ptrType.registeredClass,t=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o},clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),1===deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}})};function ClassHandle(){}var ensureOverloadTable=(e,r,t)=>{if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||throwBindingError(`Function '${t}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[r].overloadTable})!`),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}},exposePublicSymbol=(e,r,t)=>{Module.hasOwnProperty(e)?((void 0===t||void 0!==Module[e].overloadTable&&void 0!==Module[e].overloadTable[t])&&throwBindingError(`Cannot register public name '${e}' twice`),ensureOverloadTable(Module,e,e),Module.hasOwnProperty(t)&&throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),Module[e].overloadTable[t]=r):(Module[e]=r,void 0!==t&&(Module[e].numArguments=t))};function RegisteredClass(e,r,t,n,o,a,i,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=a,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var upcastPointer=(e,r,t)=>{for(;r!==t;)r.upcast||throwBindingError(`Expected null or instance of ${t.name}, got an instance of ${r.name}`),e=r.upcast(e),r=r.baseClass;return e};function constNoSmartPtrRawPointerToWireType(e,r){if(null===r)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;r.$$||throwBindingError(`Cannot pass "${embindRepr(r)}" as a ${this.name}`),r.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`);var t=r.$$.ptrType.registeredClass;return upcastPointer(r.$$.ptr,t,this.registeredClass)}function genericPointerToWireType(e,r){var t;if(null===r)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||throwBindingError(`Cannot pass "${embindRepr(r)}" as a ${this.name}`),r.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&r.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);var n=r.$$.ptrType.registeredClass;if(t=upcastPointer(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:throwBindingError(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,Emval.toHandle((()=>o.delete()))),null!==e&&e.push(this.rawDestructor,t)}break;default:throwBindingError("Unsupporting sharing policy")}return t}function nonConstNoSmartPtrRawPointerToWireType(e,r){if(null===r)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;r.$$||throwBindingError(`Cannot pass "${embindRepr(r)}" as a ${this.name}`),r.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),r.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);var t=r.$$.ptrType.registeredClass;return upcastPointer(r.$$.ptr,t,this.registeredClass)}function readPointer(e){return this.fromWireType(HEAPU32[e>>2])}var init_RegisteredPointer=()=>{Object.assign(RegisteredPointer.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:GenericWireTypeSize,readValueFromPointer:readPointer,deleteObject(e){null!==e&&e.delete()},fromWireType:RegisteredPointer_fromWireType})};function RegisteredPointer(e,r,t,n,o,a,i,s,l,d,u){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=a,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=l,this.rawShare=d,this.rawDestructor=u,o||void 0!==r.baseClass?this.toWireType=genericPointerToWireType:n?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null)}var replacePublicSymbol=(e,r,t)=>{Module.hasOwnProperty(e)||throwInternalError("Replacing nonexistant public symbol"),void 0!==Module[e].overloadTable&&void 0!==t?Module[e].overloadTable[t]=r:(Module[e]=r,Module[e].argCount=t)},dynCallLegacy=(e,r,t)=>{var n=Module["dynCall_"+e];return t&&t.length?n.apply(null,[r].concat(t)):n.call(null,r)},wasmTable,getWasmTableEntry=e=>wasmTable.get(e),dynCall=(e,r,t)=>e.includes("j")?dynCallLegacy(e,r,t):getWasmTableEntry(r).apply(null,t),getDynCaller=(e,r)=>{var t=[];return function(){return t.length=0,Object.assign(t,arguments),dynCall(e,r,t)}},embind__requireFunction=(e,r)=>{var t=(e=readLatin1String(e)).includes("j")?getDynCaller(e,r):getWasmTableEntry(r);return"function"!=typeof t&&throwBindingError(`unknown function pointer with signature ${e}: ${r}`),t},UnboundTypeError,throwUnboundTypeError=(e,r)=>{var t=[],n={};throw r.forEach((function e(r){n[r]||registeredTypes[r]||(typeDependencies[r]?typeDependencies[r].forEach(e):(t.push(r),n[r]=!0))})),new UnboundTypeError(`${e}: `+t.map(getTypeName).join([", "]))},__embind_register_class=(e,r,t,n,o,a,i,s,l,d,u,c,m)=>{u=readLatin1String(u),a=embind__requireFunction(o,a),s&&(s=embind__requireFunction(i,s)),d&&(d=embind__requireFunction(l,d)),m=embind__requireFunction(c,m);var p=makeLegalFunctionName(u);exposePublicSymbol(p,(function(){throwUnboundTypeError(`Cannot construct ${u} due to unbound types`,[n])})),whenDependentTypesAreResolved([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:ClassHandle.prototype;var i=createNamedFunction(p,(function(){if(Object.getPrototypeOf(this)!==l)throw new BindingError("Use 'new' to construct "+u);if(void 0===c.constructor_body)throw new BindingError(u+" has no accessible constructor");var e=c.constructor_body[arguments.length];if(void 0===e)throw new BindingError(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(c.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)})),l=Object.create(o,{constructor:{value:i}});i.prototype=l;var c=new RegisteredClass(u,i,l,m,t,a,s,d);c.baseClass&&(void 0===c.baseClass.__derivedClasses&&(c.baseClass.__derivedClasses=[]),c.baseClass.__derivedClasses.push(c));var _=new RegisteredPointer(u,c,!0,!1,!1),h=new RegisteredPointer(u+"*",c,!1,!1,!1),f=new RegisteredPointer(u+" const*",c,!1,!0,!1);return registeredPointers[e]={pointerType:h,constPointerType:f},replacePublicSymbol(p,i),[_,h,f]}))};function newFunc(e,r){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var t=createNamedFunction(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,o=e.apply(n,r);return o instanceof Object?o:n}function craftInvokerFunction(e,r,t,n,o,a){var i=r.length;i<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&null!==t,l=!1,d=1;d0?", ":"")+m),p+=(u||a?"var rv = ":"")+"invoker(fn"+(m.length>0?", ":"")+m+");\n",l)p+="runDestructors(destructors);\n";else for(d=s?1:2;d{for(var t=[],n=0;n>2]);return t},__embind_register_class_class_function=(e,r,t,n,o,a,i,s)=>{var l=heap32VectorToArray(t,n);r=readLatin1String(r),a=embind__requireFunction(o,a),whenDependentTypesAreResolved([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`;function o(){throwUnboundTypeError(`Cannot call ${n} due to unbound types`,l)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]);var d=e.registeredClass.constructor;return void 0===d[r]?(o.argCount=t-1,d[r]=o):(ensureOverloadTable(d,r,n),d[r].overloadTable[t-1]=o),whenDependentTypesAreResolved([],l,(function(o){var l=[o[0],null].concat(o.slice(1)),u=craftInvokerFunction(n,l,null,a,i,s);if(void 0===d[r].overloadTable?(u.argCount=t-1,d[r]=u):d[r].overloadTable[t-1]=u,e.registeredClass.__derivedClasses)for(const t of e.registeredClass.__derivedClasses)t.constructor.hasOwnProperty(r)||(t.constructor[r]=u);return[]})),[]}))},__embind_register_class_constructor=(e,r,t,n,o,a)=>{var i=heap32VectorToArray(r,t);o=embind__requireFunction(n,o),whenDependentTypesAreResolved([],[e],(function(e){var t=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[r-1]=()=>{throwUnboundTypeError(`Cannot construct ${e.name} due to unbound types`,i)},whenDependentTypesAreResolved([],i,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[r-1]=craftInvokerFunction(t,n,null,o,a),[]))),[]}))},__embind_register_class_function=(e,r,t,n,o,a,i,s,l)=>{var d=heap32VectorToArray(t,n);r=readLatin1String(r),a=embind__requireFunction(o,a),whenDependentTypesAreResolved([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`;function o(){throwUnboundTypeError(`Cannot call ${n} due to unbound types`,d)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(r);var u=e.registeredClass.instancePrototype,c=u[r];return void 0===c||void 0===c.overloadTable&&c.className!==e.name&&c.argCount===t-2?(o.argCount=t-2,o.className=e.name,u[r]=o):(ensureOverloadTable(u,r,n),u[r].overloadTable[t-2]=o),whenDependentTypesAreResolved([],d,(function(o){var s=craftInvokerFunction(n,o,e,a,i,l);return void 0===u[r].overloadTable?(s.argCount=t-2,u[r]=s):u[r].overloadTable[t-2]=s,[]})),[]}))},validateThis=(e,r,t)=>(e instanceof Object||throwBindingError(`${t} with invalid "this": ${e}`),e instanceof r.registeredClass.constructor||throwBindingError(`${t} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||throwBindingError(`cannot call emscripten binding method ${t} on deleted object`),upcastPointer(e.$$.ptr,e.$$.ptrType.registeredClass,r.registeredClass)),__embind_register_class_property=(e,r,t,n,o,a,i,s,l,d)=>{r=readLatin1String(r),o=embind__requireFunction(n,o),whenDependentTypesAreResolved([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`,u={get(){throwUnboundTypeError(`Cannot access ${n} due to unbound types`,[t,i])},enumerable:!0,configurable:!0};return u.set=l?()=>throwUnboundTypeError(`Cannot access ${n} due to unbound types`,[t,i]):e=>throwBindingError(n+" is a read-only property"),Object.defineProperty(e.registeredClass.instancePrototype,r,u),whenDependentTypesAreResolved([],l?[t,i]:[t],(function(t){var i=t[0],u={get(){var r=validateThis(this,e,n+" getter");return i.fromWireType(o(a,r))},enumerable:!0};if(l){l=embind__requireFunction(s,l);var c=t[1];u.set=function(r){var t=validateThis(this,e,n+" setter"),o=[];l(d,t,c.toWireType(o,r)),runDestructors(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,r,u),[]})),[]}))},__emval_decref=e=>{e>=emval_handles.reserved&&0==--emval_handles.get(e).refcount&&emval_handles.free(e)},__embind_register_emval=(e,r)=>{registerType(e,{name:r=readLatin1String(r),fromWireType:e=>{var r=Emval.toValue(e);return __emval_decref(e),r},toWireType:(e,r)=>Emval.toHandle(r),argPackAdvance:GenericWireTypeSize,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:null})},embindRepr=e=>{if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e},floatReadValueFromPointer=(e,r)=>{switch(r){case 4:return function(e){return this.fromWireType(HEAPF32[e>>2])};case 8:return function(e){return this.fromWireType(HEAPF64[e>>3])};default:throw new TypeError(`invalid float width (${r}): ${e}`)}},__embind_register_float=(e,r,t)=>{registerType(e,{name:r=readLatin1String(r),fromWireType:e=>e,toWireType:(e,r)=>r,argPackAdvance:GenericWireTypeSize,readValueFromPointer:floatReadValueFromPointer(r,t),destructorFunction:null})},__embind_register_function=(e,r,t,n,o,a,i)=>{var s=heap32VectorToArray(r,t);e=readLatin1String(e),o=embind__requireFunction(n,o),exposePublicSymbol(e,(function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,s)}),r-1),whenDependentTypesAreResolved([],s,(function(t){var n=[t[0],null].concat(t.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,n,null,o,a,i),r-1),[]}))},integerReadValueFromPointer=(e,r,t)=>{switch(r){case 1:return t?e=>HEAP8[e>>0]:e=>HEAPU8[e>>0];case 2:return t?e=>HEAP16[e>>1]:e=>HEAPU16[e>>1];case 4:return t?e=>HEAP32[e>>2]:e=>HEAPU32[e>>2];default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},__embind_register_integer=(e,r,t,n,o)=>{r=readLatin1String(r),-1===o&&(o=4294967295);var a=e=>e;if(0===n){var i=32-8*t;a=e=>e<>>i}var s=r.includes("unsigned");registerType(e,{name:r,fromWireType:a,toWireType:s?function(e,r){return this.name,r>>>0}:function(e,r){return this.name,r},argPackAdvance:GenericWireTypeSize,readValueFromPointer:integerReadValueFromPointer(r,t,0!==n),destructorFunction:null})},__embind_register_memory_view=(e,r,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=HEAPU32[e>>2],t=HEAPU32[e+4>>2];return new n(HEAP8.buffer,t,r)}registerType(e,{name:t=readLatin1String(t),fromWireType:o,argPackAdvance:GenericWireTypeSize,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},__embind_register_smart_ptr=(e,r,t,n,o,a,i,s,l,d,u,c)=>{t=readLatin1String(t),a=embind__requireFunction(o,a),s=embind__requireFunction(i,s),d=embind__requireFunction(l,d),c=embind__requireFunction(u,c),whenDependentTypesAreResolved([e],[r],(function(e){return e=e[0],[new RegisteredPointer(t,e.registeredClass,!1,!1,!0,e,n,a,s,d,c)]}))},__embind_register_std_string=(e,r)=>{var t="std::string"===(r=readLatin1String(r));registerType(e,{name:r,fromWireType(e){var r,n=HEAPU32[e>>2],o=e+4;if(t)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==HEAPU8[s]){var l=UTF8ToString(a,s-a);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),a=s+1}}else{var d=new Array(n);for(i=0;i>2]=n,t&&o)stringToUTF8(r,i,n+1);else if(o)for(var s=0;s255&&(_free(i),throwBindingError("String has UTF-16 code units that do not fit in 8 bits")),HEAPU8[i+s]=l}else for(s=0;s{for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&HEAPU16[n];)++n;if((t=n<<1)-e>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(e,t));for(var a="",i=0;!(i>=r/2);++i){var s=HEAP16[e+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},stringToUTF16=(e,r,t)=>{if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,a=0;a>1]=i,r+=2}return HEAP16[r>>1]=0,r-n},lengthBytesUTF16=e=>2*e.length,UTF32ToString=(e,r)=>{for(var t=0,n="";!(t>=r/4);){var o=HEAP32[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},stringToUTF32=(e,r,t)=>{if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,a=0;a=55296&&i<=57343)i=65536+((1023&i)<<10)|1023&e.charCodeAt(++a);if(HEAP32[r>>2]=i,(r+=4)+4>o)break}return HEAP32[r>>2]=0,r-n},lengthBytesUTF32=e=>{for(var r=0,t=0;t=55296&&n<=57343&&++t,r+=4}return r},__embind_register_std_wstring=(e,r,t)=>{var n,o,a,i,s;t=readLatin1String(t),2===r?(n=UTF16ToString,o=stringToUTF16,i=lengthBytesUTF16,a=()=>HEAPU16,s=1):4===r&&(n=UTF32ToString,o=stringToUTF32,i=lengthBytesUTF32,a=()=>HEAPU32,s=2),registerType(e,{name:t,fromWireType:e=>{for(var t,o=HEAPU32[e>>2],i=a(),l=e+4,d=0;d<=o;++d){var u=e+4+d*r;if(d==o||0==i[u>>s]){var c=n(l,u-l);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),l=u+r}}return _free(e),t},toWireType:(e,n)=>{"string"!=typeof n&&throwBindingError(`Cannot pass non-string to C++ string type ${t}`);var a=i(n),l=_malloc(4+a+r);return HEAPU32[l>>2]=a>>s,o(n,l+4,a+r),null!==e&&e.push(_free,l),l},argPackAdvance:GenericWireTypeSize,readValueFromPointer:simpleReadValueFromPointer,destructorFunction(e){_free(e)}})},__embind_register_value_object=(e,r,t,n,o,a)=>{structRegistrations[e]={name:readLatin1String(r),rawConstructor:embind__requireFunction(t,n),rawDestructor:embind__requireFunction(o,a),fields:[]}},__embind_register_value_object_field=(e,r,t,n,o,a,i,s,l,d)=>{structRegistrations[e].fields.push({fieldName:readLatin1String(r),getterReturnType:t,getter:embind__requireFunction(n,o),getterContext:a,setterArgumentType:i,setter:embind__requireFunction(s,l),setterContext:d})},__embind_register_void=(e,r)=>{registerType(e,{isVoid:!0,name:r=readLatin1String(r),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,r)=>{}})},__emscripten_fs_load_embedded_files=e=>{do{var r=HEAPU32[e>>2],t=HEAPU32[(e+=4)>>2],n=HEAPU32[(e+=4)>>2];e+=4;var o=UTF8ToString(r);FS.createPath("/",PATH.dirname(o),!0,!0),FS.createDataFile(o,null,HEAP8.subarray(n,n+t),!0,!0,!0)}while(HEAPU32[e>>2])},nowIsMonotonic=!0,__emscripten_get_now_is_monotonic=()=>nowIsMonotonic,__emval_as=(e,r,t)=>{e=Emval.toValue(e),r=requireRegisteredType(r,"emval::as");var n=[],o=Emval.toHandle(n);return HEAPU32[t>>2]=o,r.toWireType(n,e)},emval_lookupTypes=(e,r)=>{for(var t=new Array(e),n=0;n>2],"parameter "+n);return t},__emval_call=(e,r,t,n)=>{e=Emval.toValue(e);for(var o=emval_lookupTypes(r,t),a=new Array(r),i=0;i{var r=[];return HEAPU32[e>>2]=Emval.toHandle(r),r},emval_symbols={},getStringOrSymbol=e=>{var r=emval_symbols[e];return void 0===r?readLatin1String(e):r},emval_methodCallers=[],__emval_call_method=(e,r,t,n,o)=>(e=emval_methodCallers[e])(r=Emval.toValue(r),t=getStringOrSymbol(t),emval_allocateDestructors(n),o),__emval_call_void_method=(e,r,t,n)=>{(e=emval_methodCallers[e])(r=Emval.toValue(r),t=getStringOrSymbol(t),null,n)},emval_get_global=()=>"object"==typeof globalThis?globalThis:Function("return this")(),__emval_get_global=e=>0===e?Emval.toHandle(emval_get_global()):(e=getStringOrSymbol(e),Emval.toHandle(emval_get_global()[e])),emval_addMethodCaller=e=>{var r=emval_methodCallers.length;return emval_methodCallers.push(e),r},emval_registeredMethods={},__emval_get_method_caller=(e,r)=>{var t=emval_lookupTypes(e,r),n=t[0],o=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",a=emval_registeredMethods[o];if(void 0!==a)return a;for(var i=["retType"],s=[n],l="",d=0;d(e=Emval.toValue(e),r=Emval.toValue(r),Emval.toHandle(e[r])),__emval_incref=e=>{e>4&&(emval_handles.get(e).refcount+=1)},__emval_new_cstring=e=>Emval.toHandle(getStringOrSymbol(e)),__emval_run_destructors=e=>{var r=Emval.toValue(e);runDestructors(r),__emval_decref(e)},__emval_take_value=(e,r)=>{var t=(e=requireRegisteredType(e,"_emval_take_value")).readValueFromPointer(r);return Emval.toHandle(t)},__emval_typeof=e=>(e=Emval.toValue(e),Emval.toHandle(typeof e));function __gmtime_js(e,r,t){var n=convertI32PairToI53Checked(e,r),o=new Date(1e3*n);HEAP32[t>>2]=o.getUTCSeconds(),HEAP32[t+4>>2]=o.getUTCMinutes(),HEAP32[t+8>>2]=o.getUTCHours(),HEAP32[t+12>>2]=o.getUTCDate(),HEAP32[t+16>>2]=o.getUTCMonth(),HEAP32[t+20>>2]=o.getUTCFullYear()-1900,HEAP32[t+24>>2]=o.getUTCDay();var a=Date.UTC(o.getUTCFullYear(),0,1,0,0,0,0),i=(o.getTime()-a)/864e5|0;HEAP32[t+28>>2]=i}var isLeapYear=e=>e%4==0&&(e%100!=0||e%400==0),MONTH_DAYS_LEAP_CUMULATIVE=[0,31,60,91,121,152,182,213,244,274,305,335],MONTH_DAYS_REGULAR_CUMULATIVE=[0,31,59,90,120,151,181,212,243,273,304,334],ydayFromDate=e=>(isLeapYear(e.getFullYear())?MONTH_DAYS_LEAP_CUMULATIVE:MONTH_DAYS_REGULAR_CUMULATIVE)[e.getMonth()]+e.getDate()-1;function __localtime_js(e,r,t){var n=convertI32PairToI53Checked(e,r),o=new Date(1e3*n);HEAP32[t>>2]=o.getSeconds(),HEAP32[t+4>>2]=o.getMinutes(),HEAP32[t+8>>2]=o.getHours(),HEAP32[t+12>>2]=o.getDate(),HEAP32[t+16>>2]=o.getMonth(),HEAP32[t+20>>2]=o.getFullYear()-1900,HEAP32[t+24>>2]=o.getDay();var a=0|ydayFromDate(o);HEAP32[t+28>>2]=a,HEAP32[t+36>>2]=-60*o.getTimezoneOffset();var i=new Date(o.getFullYear(),0,1),s=new Date(o.getFullYear(),6,1).getTimezoneOffset(),l=i.getTimezoneOffset(),d=0|(s!=l&&o.getTimezoneOffset()==Math.min(l,s));HEAP32[t+32>>2]=d}var __mktime_js=function(e){var r=(()=>{var r=new Date(HEAP32[e+20>>2]+1900,HEAP32[e+16>>2],HEAP32[e+12>>2],HEAP32[e+8>>2],HEAP32[e+4>>2],HEAP32[e>>2],0),t=HEAP32[e+32>>2],n=r.getTimezoneOffset(),o=new Date(r.getFullYear(),0,1),a=new Date(r.getFullYear(),6,1).getTimezoneOffset(),i=o.getTimezoneOffset(),s=Math.min(i,a);if(t<0)HEAP32[e+32>>2]=Number(a!=i&&s==n);else if(t>0!=(s==n)){var l=Math.max(i,a),d=t>0?s:l;r.setTime(r.getTime()+6e4*(d-n))}HEAP32[e+24>>2]=r.getDay();var u=0|ydayFromDate(r);return HEAP32[e+28>>2]=u,HEAP32[e>>2]=r.getSeconds(),HEAP32[e+4>>2]=r.getMinutes(),HEAP32[e+8>>2]=r.getHours(),HEAP32[e+12>>2]=r.getDate(),HEAP32[e+16>>2]=r.getMonth(),HEAP32[e+20>>2]=r.getYear(),r.getTime()/1e3})();return setTempRet0((tempDouble=r,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)),r>>>0};function __mmap_js(e,r,t,n,o,a,i,s){var l=convertI32PairToI53Checked(o,a);try{if(isNaN(l))return 61;var d=SYSCALLS.getStreamFromFD(n),u=FS.mmap(d,e,l,r,t),c=u.ptr;return HEAP32[i>>2]=u.allocated,HEAPU32[s>>2]=c,0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}function __munmap_js(e,r,t,n,o,a,i){var s=convertI32PairToI53Checked(a,i);try{if(isNaN(s))return 61;var l=SYSCALLS.getStreamFromFD(o);2&t&&SYSCALLS.doMsync(e,l,r,n,s),FS.munmap(l)}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return-e.errno}}var __timegm_js=function(e){var r=(()=>{var r=Date.UTC(HEAP32[e+20>>2]+1900,HEAP32[e+16>>2],HEAP32[e+12>>2],HEAP32[e+8>>2],HEAP32[e+4>>2],HEAP32[e>>2],0),t=new Date(r);HEAP32[e+24>>2]=t.getUTCDay();var n=Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0),o=(t.getTime()-n)/864e5|0;return HEAP32[e+28>>2]=o,t.getTime()/1e3})();return setTempRet0((tempDouble=r,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)),r>>>0},_abort=()=>{abort("")},readEmAsmArgsArray=[],readEmAsmArgs=(e,r)=>{var t;for(readEmAsmArgsArray.length=0;t=HEAPU8[e++];){var n=105!=t;r+=(n&=112!=t)&&r%8?4:0,readEmAsmArgsArray.push(112==t?HEAPU32[r>>2]:105==t?HEAP32[r>>2]:HEAPF64[r>>3]),r+=n?8:4}return readEmAsmArgsArray},runEmAsmFunction=(e,r,t)=>{var n=readEmAsmArgs(r,t);return ASM_CONSTS[e].apply(null,n)},_emscripten_asm_const_int=(e,r,t)=>runEmAsmFunction(e,r,t),_emscripten_date_now=()=>Date.now(),_emscripten_get_now;_emscripten_get_now=()=>performance.now();var _emscripten_memcpy_js=(e,r,t)=>HEAPU8.copyWithin(e,r,r+t),getHeapMax=()=>2147483648,growMemory=e=>{var r=(e-wasmMemory.buffer.byteLength+65535)/65536;try{return wasmMemory.grow(r),updateMemoryViews(),1}catch(e){}},_emscripten_resize_heap=e=>{var r=HEAPU8.length;e>>>=0;var t=getHeapMax();if(e>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=r*(1+.2/a);i=Math.min(i,e+100663296);var s=Math.min(t,(n=Math.max(e,i))+((o=65536)-n%o)%o);if(growMemory(s))return!0}return!1},_emscripten_run_script=ptr=>{eval(UTF8ToString(ptr))},ENV={},getExecutableName=()=>thisProgram||"./this.program",getEnvStrings=()=>{if(!getEnvStrings.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:getExecutableName()};for(var r in ENV)void 0===ENV[r]?delete e[r]:e[r]=ENV[r];var t=[];for(var r in e)t.push(`${r}=${e[r]}`);getEnvStrings.strings=t}return getEnvStrings.strings},stringToAscii=(e,r)=>{for(var t=0;t>0]=e.charCodeAt(t);HEAP8[r>>0]=0},_environ_get=(e,r)=>{var t=0;return getEnvStrings().forEach(((n,o)=>{var a=r+t;HEAPU32[e+4*o>>2]=a,stringToAscii(n,a),t+=n.length+1})),0},_environ_sizes_get=(e,r)=>{var t=getEnvStrings();HEAPU32[e>>2]=t.length;var n=0;return t.forEach((e=>n+=e.length+1)),HEAPU32[r>>2]=n,0};function _fd_close(e){try{var r=SYSCALLS.getStreamFromFD(e);return FS.close(r),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}function _fd_fdstat_get(e,r){try{var t=SYSCALLS.getStreamFromFD(e),n=t.tty?2:FS.isDir(t.mode)?3:FS.isLink(t.mode)?7:4;return HEAP8[r>>0]=n,HEAP16[r+2>>1]=0,tempI64=[0,(tempDouble=0,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+8>>2]=tempI64[0],HEAP32[r+12>>2]=tempI64[1],tempI64=[0,(tempDouble=0,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+16>>2]=tempI64[0],HEAP32[r+20>>2]=tempI64[1],0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}var doReadv=(e,r,t,n)=>{for(var o=0,a=0;a>2],s=HEAPU32[r+4>>2];r+=8;var l=FS.read(e,HEAP8,i,s,n);if(l<0)return-1;if(o+=l,l>2]=a,0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}function _fd_seek(e,r,t,n,o){var a=convertI32PairToI53Checked(r,t);try{if(isNaN(a))return 61;var i=SYSCALLS.getStreamFromFD(e);return FS.llseek(i,a,n),tempI64=[i.position>>>0,(tempDouble=i.position,+Math.abs(tempDouble)>=1?tempDouble>0?+Math.floor(tempDouble/4294967296)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[o>>2]=tempI64[0],HEAP32[o+4>>2]=tempI64[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}function _fd_sync(e){try{var r=SYSCALLS.getStreamFromFD(e);return r.stream_ops&&r.stream_ops.fsync?r.stream_ops.fsync(r):0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}var doWritev=(e,r,t,n)=>{for(var o=0,a=0;a>2],s=HEAPU32[r+4>>2];r+=8;var l=FS.write(e,HEAP8,i,s,n);if(l<0)return-1;o+=l,void 0!==n&&(n+=l)}return o};function _fd_write(e,r,t,n){try{var o=SYSCALLS.getStreamFromFD(e),a=doWritev(o,r,t);return HEAPU32[n>>2]=a,0}catch(e){if(void 0===FS||"ErrnoError"!==e.name)throw e;return e.errno}}var _getentropy=(e,r)=>(randomFill(HEAPU8.subarray(e,e+r)),0),arraySum=(e,r)=>{for(var t=0,n=0;n<=r;t+=e[n++]);return t},MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31],MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31],addDays=(e,r)=>{for(var t=new Date(e.getTime());r>0;){var n=isLeapYear(t.getFullYear()),o=t.getMonth(),a=(n?MONTH_DAYS_LEAP:MONTH_DAYS_REGULAR)[o];if(!(r>a-t.getDate()))return t.setDate(t.getDate()+r),t;r-=a-t.getDate()+1,t.setDate(1),o<11?t.setMonth(o+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return t},writeArrayToMemory=(e,r)=>{HEAP8.set(e,r)},_strftime=(e,r,t,n)=>{var o=HEAPU32[n+40>>2],a={tm_sec:HEAP32[n>>2],tm_min:HEAP32[n+4>>2],tm_hour:HEAP32[n+8>>2],tm_mday:HEAP32[n+12>>2],tm_mon:HEAP32[n+16>>2],tm_year:HEAP32[n+20>>2],tm_wday:HEAP32[n+24>>2],tm_yday:HEAP32[n+28>>2],tm_isdst:HEAP32[n+32>>2],tm_gmtoff:HEAP32[n+36>>2],tm_zone:o?UTF8ToString(o):""},i=UTF8ToString(t),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var l in s)i=i.replace(new RegExp(l,"g"),s[l]);var d=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["January","February","March","April","May","June","July","August","September","October","November","December"];function c(e,r,t){for(var n="number"==typeof e?e.toString():e||"";n.length0?1:0}var n;return 0===(n=t(e.getFullYear()-r.getFullYear()))&&0===(n=t(e.getMonth()-r.getMonth()))&&(n=t(e.getDate()-r.getDate())),n}function _(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function h(e){var r=addDays(new Date(e.tm_year+1900,0,1),e.tm_yday),t=new Date(r.getFullYear(),0,4),n=new Date(r.getFullYear()+1,0,4),o=_(t),a=_(n);return p(o,r)<=0?p(a,r)<=0?r.getFullYear()+1:r.getFullYear():r.getFullYear()-1}var f={"%a":e=>d[e.tm_wday].substring(0,3),"%A":e=>d[e.tm_wday],"%b":e=>u[e.tm_mon].substring(0,3),"%B":e=>u[e.tm_mon],"%C":e=>m((e.tm_year+1900)/100|0,2),"%d":e=>m(e.tm_mday,2),"%e":e=>c(e.tm_mday,2," "),"%g":e=>h(e).toString().substring(2),"%G":e=>h(e),"%H":e=>m(e.tm_hour,2),"%I":e=>{var r=e.tm_hour;return 0==r?r=12:r>12&&(r-=12),m(r,2)},"%j":e=>m(e.tm_mday+arraySum(isLeapYear(e.tm_year+1900)?MONTH_DAYS_LEAP:MONTH_DAYS_REGULAR,e.tm_mon-1),3),"%m":e=>m(e.tm_mon+1,2),"%M":e=>m(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>m(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U":e=>{var r=e.tm_yday+7-e.tm_wday;return m(Math.floor(r/7),2)},"%V":e=>{var r=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&r++,r){if(53==r){var t=(e.tm_wday+371-e.tm_yday)%7;4==t||3==t&&isLeapYear(e.tm_year)||(r=1)}}else{r=52;var n=(e.tm_wday+7-e.tm_yday-1)%7;(4==n||5==n&&isLeapYear(e.tm_year%400-1))&&r++}return m(r,2)},"%w":e=>e.tm_wday,"%W":e=>{var r=e.tm_yday+7-(e.tm_wday+6)%7;return m(Math.floor(r/7),2)},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z":e=>{var r=e.tm_gmtoff,t=r>=0;return r=(r=Math.abs(r)/60)/60*100+r%60,(t?"+":"-")+String("0000"+r).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var l in i=i.replace(/%%/g,"\0\0"),f)i.includes(l)&&(i=i.replace(new RegExp(l,"g"),f[l](a)));var y=intArrayFromString(i=i.replace(/\0\0/g,"%"),!1);return y.length>r?0:(writeArrayToMemory(y,e),y.length-1)},jstoi_q=e=>parseInt(e),_strptime=(e,r,t)=>{for(var n=UTF8ToString(r),o="\\!@#$^&*()+=-[]/{}|:<>?,.",a=0,i=o.length;a=0;a=n.indexOf("%"))c.push(n[a+1]),n=n.replace(new RegExp("\\%"+n[a+1],"g"),"");var m=new RegExp("^"+n,"i").exec(UTF8ToString(e));if(m){var p,_=function(){function e(e,r,t){return"number"!=typeof e||isNaN(e)?r:e>=r?e<=t?e:t:r}return{year:e(HEAP32[t+20>>2]+1900,1970,9999),month:e(HEAP32[t+16>>2],0,11),day:e(HEAP32[t+12>>2],1,31),hour:e(HEAP32[t+8>>2],0,23),min:e(HEAP32[t+4>>2],0,59),sec:e(HEAP32[t>>2],0,59)}}(),h=e=>{var r=c.indexOf(e);if(r>=0)return m[r+1]};if((p=h("S"))&&(_.sec=jstoi_q(p)),(p=h("M"))&&(_.min=jstoi_q(p)),p=h("H"))_.hour=jstoi_q(p);else if(p=h("I")){var f=jstoi_q(p);(p=h("p"))&&(f+="P"===p.toUpperCase()[0]?12:0),_.hour=f}if(p=h("Y"))_.year=jstoi_q(p);else if(p=h("y")){var y=jstoi_q(p);(p=h("C"))?y+=100*jstoi_q(p):y+=y<69?2e3:1900,_.year=y}if((p=h("m"))?_.month=jstoi_q(p)-1:(p=h("b"))&&(_.month={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11}[p.substring(0,3).toUpperCase()]||0),p=h("d"))_.day=jstoi_q(p);else if(p=h("j"))for(var g=jstoi_q(p),S=isLeapYear(_.year),v=0;v<12;++v){var F=arraySum(S?MONTH_DAYS_LEAP:MONTH_DAYS_REGULAR,v-1);g<=F+(S?MONTH_DAYS_LEAP:MONTH_DAYS_REGULAR)[v]&&(_.day=g-F)}else if(p=h("a")){var E=p.substring(0,3).toUpperCase();if(p=h("U")){var w={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6}[E],A=jstoi_q(p);b=0===(P=new Date(_.year,0,1)).getDay()?addDays(P,w+7*(A-1)):addDays(P,7-P.getDay()+w+7*(A-1)),_.day=b.getDate(),_.month=b.getMonth()}else if(p=h("W")){var P,b;w={MON:0,TUE:1,WED:2,THU:3,FRI:4,SAT:5,SUN:6}[E],A=jstoi_q(p);b=1===(P=new Date(_.year,0,1)).getDay()?addDays(P,w+7*(A-1)):addDays(P,7-P.getDay()+1+w+7*(A-1)),_.day=b.getDate(),_.month=b.getMonth()}}var T=new Date(_.year,_.month,_.day,_.hour,_.min,_.sec,0);return HEAP32[t>>2]=T.getSeconds(),HEAP32[t+4>>2]=T.getMinutes(),HEAP32[t+8>>2]=T.getHours(),HEAP32[t+12>>2]=T.getDate(),HEAP32[t+16>>2]=T.getMonth(),HEAP32[t+20>>2]=T.getFullYear()-1900,HEAP32[t+24>>2]=T.getDay(),HEAP32[t+28>>2]=arraySum(isLeapYear(T.getFullYear())?MONTH_DAYS_LEAP:MONTH_DAYS_REGULAR,T.getMonth()-1)+T.getDate()-1,HEAP32[t+32>>2]=0,e+intArrayFromString(m[0]).length-1}return 0},FSNode=function(e,r,t,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=FS.nextInode++,this.name=r,this.mode=t,this.node_ops={},this.stream_ops={},this.rdev=n},readMode=365,writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(e){e?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(e){e?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}}),FS.FSNode=FSNode,FS.createPreloadedFile=FS_createPreloadedFile,FS.staticInit(),Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_unlink=FS.unlink,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createDevice=FS.createDevice,handleAllocatorInit(),BindingError=Module.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},init_emval(),PureVirtualError=Module.PureVirtualError=extendError(Error,"PureVirtualError"),embind_init_charCodes(),init_embind(),InternalError=Module.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},init_ClassHandle(),init_RegisteredPointer(),UnboundTypeError=Module.UnboundTypeError=extendError(Error,"UnboundTypeError");var wasmImports={ia:___syscall_chmod,ma:___syscall_faccessat,ja:___syscall_fchmod,C:___syscall_fcntl64,fa:___syscall_fstat64,T:___syscall_ftruncate64,Z:___syscall_getdents64,ha:___syscall_ioctl,da:___syscall_lstat64,_:___syscall_mkdirat,ca:___syscall_newfstatat,u:___syscall_openat,Y:___syscall_renameat,y:___syscall_rmdir,ea:___syscall_stat64,z:___syscall_unlinkat,ua:__embind_create_inheriting_constructor,J:__embind_finalize_value_object,U:__embind_register_bigint,oa:__embind_register_bool,k:__embind_register_class,I:__embind_register_class_class_function,K:__embind_register_class_constructor,d:__embind_register_class_function,G:__embind_register_class_property,na:__embind_register_emval,D:__embind_register_float,c:__embind_register_function,g:__embind_register_integer,e:__embind_register_memory_view,ta:__embind_register_smart_ptr,E:__embind_register_std_string,v:__embind_register_std_wstring,L:__embind_register_value_object,x:__embind_register_value_object_field,pa:__embind_register_void,qa:__emscripten_fs_load_embedded_files,la:__emscripten_get_now_is_monotonic,o:__emval_as,sa:__emval_call,j:__emval_call_method,H:__emval_call_void_method,b:__emval_decref,r:__emval_get_global,h:__emval_get_method_caller,q:__emval_get_property,i:__emval_incref,p:__emval_new_cstring,f:__emval_run_destructors,l:__emval_take_value,w:__emval_typeof,O:__gmtime_js,P:__localtime_js,Q:__mktime_js,M:__mmap_js,N:__munmap_js,R:__timegm_js,a:_abort,t:_emscripten_asm_const_int,m:_emscripten_date_now,ka:_emscripten_get_now,ga:_emscripten_memcpy_js,W:_emscripten_resize_heap,F:_emscripten_run_script,$:_environ_get,aa:_environ_sizes_get,n:_fd_close,X:_fd_fdstat_get,B:_fd_read,S:_fd_seek,ba:_fd_sync,A:_fd_write,V:_getentropy,s:_strftime,ra:_strptime},wasmExports=createWasm(),___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports.wa)(),_malloc=e=>(_malloc=wasmExports.xa)(e),_free=e=>(_free=wasmExports.ya)(e),___errno_location=()=>(___errno_location=wasmExports.za)(),___getTypeName=e=>(___getTypeName=wasmExports.Aa)(e),__embind_initialize_bindings=Module.__embind_initialize_bindings=()=>(__embind_initialize_bindings=Module.__embind_initialize_bindings=wasmExports.Ba)(),_emscripten_builtin_memalign=(e,r)=>(_emscripten_builtin_memalign=wasmExports.Da)(e,r),___trap=()=>(___trap=wasmExports.Ea)(),setTempRet0=e=>(setTempRet0=wasmExports.Fa)(e),dynCall_jiji=Module.dynCall_jiji=(e,r,t,n,o)=>(dynCall_jiji=Module.dynCall_jiji=wasmExports.Ga)(e,r,t,n,o),dynCall_ji=Module.dynCall_ji=(e,r)=>(dynCall_ji=Module.dynCall_ji=wasmExports.Ha)(e,r),dynCall_viij=Module.dynCall_viij=(e,r,t,n,o)=>(dynCall_viij=Module.dynCall_viij=wasmExports.Ia)(e,r,t,n,o),dynCall_iij=Module.dynCall_iij=(e,r,t,n)=>(dynCall_iij=Module.dynCall_iij=wasmExports.Ja)(e,r,t,n),dynCall_iiji=Module.dynCall_iiji=(e,r,t,n,o)=>(dynCall_iiji=Module.dynCall_iiji=wasmExports.Ka)(e,r,t,n,o),dynCall_jji=Module.dynCall_jji=(e,r,t,n)=>(dynCall_jji=Module.dynCall_jji=wasmExports.La)(e,r,t,n),dynCall_iji=Module.dynCall_iji=(e,r,t,n)=>(dynCall_iji=Module.dynCall_iji=wasmExports.Ma)(e,r,t,n),dynCall_viijj=Module.dynCall_viijj=(e,r,t,n,o,a,i)=>(dynCall_viijj=Module.dynCall_viijj=wasmExports.Na)(e,r,t,n,o,a,i),dynCall_iiij=Module.dynCall_iiij=(e,r,t,n,o)=>(dynCall_iiij=Module.dynCall_iiij=wasmExports.Oa)(e,r,t,n,o),dynCall_vij=Module.dynCall_vij=(e,r,t,n)=>(dynCall_vij=Module.dynCall_vij=wasmExports.Pa)(e,r,t,n),dynCall_viiiji=Module.dynCall_viiiji=(e,r,t,n,o,a,i)=>(dynCall_viiiji=Module.dynCall_viiiji=wasmExports.Qa)(e,r,t,n,o,a,i),dynCall_viijii=Module.dynCall_viijii=(e,r,t,n,o,a,i)=>(dynCall_viijii=Module.dynCall_viijii=wasmExports.Ra)(e,r,t,n,o,a,i),dynCall_jij=Module.dynCall_jij=(e,r,t,n)=>(dynCall_jij=Module.dynCall_jij=wasmExports.Sa)(e,r,t,n),dynCall_iiiij=Module.dynCall_iiiij=(e,r,t,n,o,a)=>(dynCall_iiiij=Module.dynCall_iiiij=wasmExports.Ta)(e,r,t,n,o,a),dynCall_iiiiij=Module.dynCall_iiiiij=(e,r,t,n,o,a,i)=>(dynCall_iiiiij=Module.dynCall_iiiiij=wasmExports.Ua)(e,r,t,n,o,a,i),dynCall_iiiiijj=Module.dynCall_iiiiijj=(e,r,t,n,o,a,i,s,l)=>(dynCall_iiiiijj=Module.dynCall_iiiiijj=wasmExports.Va)(e,r,t,n,o,a,i,s,l),dynCall_iiiiiijj=Module.dynCall_iiiiiijj=(e,r,t,n,o,a,i,s,l,d)=>(dynCall_iiiiiijj=Module.dynCall_iiiiiijj=wasmExports.Wa)(e,r,t,n,o,a,i,s,l,d),___emscripten_embedded_file_data=Module.___emscripten_embedded_file_data=186828,calledRun;function run(){function e(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),readyPromiseResolve(Module),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),postRun()))}runDependencies>0||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),e()}),1)):e()))}if(Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.FS_createPath=FS.createPath,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createDevice=FS.createDevice,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS=FS,Module.FS_createDataFile=FS.createDataFile,Module.FS_unlink=FS.unlink,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)},Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();return run(),moduleArg.ready}})();"object"==typeof exports&&"object"==typeof module?module.exports=PSPDFModuleInit:"function"==typeof define&&define.amd&&define([],(()=>PSPDFModuleInit)); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css new file mode 100644 index 00000000..3db8058e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css @@ -0,0 +1,15 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +:root{--primary:#2d78d6;--primary-dark-1:#1f5aa2;--primary-dark-2:#123d70;--primary-dark-3:#0b2f56;--primary-light-1:#3091e2;--primary-light-2:#5fafef;--primary-light-3:#91c5f0;--disabled:#dee5f0;--color-coolGrey800:#3d424e;--PSPDFKit-Pager-color:var(--color-white);--PSPDFKit-Pager-background:var(--primary-dark-2);--PSPDFKit-Pager-input-isActive-color:var(--color-white);--PSPDFKit-Pager-input-isDisabled-color:var(--disabled);--PSPDFKit-Pager-input-isHovered-color:var(--color-white);--PSPDFKit-Pager-input-isDisabled-opacity:0.25;--PSPDFKit-Toolbar-background:var(--primary-dark-1);--PSPDFKit-Toolbar-color:var(--color-white);--PSPDFKit-Toolbar-button-border:none;--PSPDFKit-Toolbar-button-image-annotation:var(--primary-dark-1);--PSPDFKit-Toolbar-dropdownButton-isFocused-background:var(--primary);--PSPDFKit-Toolbar-dropdownButton-isFocused-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isSelected-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isSelected-background:var(--primary);--PSPDFKit-CropToolbarComponent-button-borderColor:var(--color-coolGrey600);--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-text-color:var(--color-white);--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor:var(--color-coolGrey700);--PSPDFKit-AnnotationToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-ToolbarButton-dropdown-isFocused-background:var(--primary);--PSPDFKit-ToolbarButton-dropdown-isFocused-color:var(--color-white);--PSPDFKit-ToolbarButton-isActive-background:var(--color-white);--PSPDFKit-ToolbarButton-isActive-color:var(--primary-dark-1);--PSPDFKit-ToolbarResponsiveGroup-background:var(--primary-dark-2);--PSPDFKit-ToolbarResponsiveGroup-background-isHovered:var(--primary-dark-1);--PSPDFKit-ToolbarResponsiveGroup--primary-background:var( + --PSPDFKit-ToolbarResponsiveGroup-background + );--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border:var(--color-white);--PSPDFKit-Viewport-background:#dfdfdf;--PSPDFKit-DropdownMenu-background:var(--color-coolGrey25);--PSPDFKit-DropdownMenu-color:var(--color-coolGrey850);--PSPDFKit-DropdownMenu-border:var(--primary-dark-1);--PSPDFKit-DropdownMenu-isSelected-background:var(--primary);--PSPDFKit-DropdownMenu-isSelected-color:var(--color-white);--PSPDFKit-LayoutConfig-icon-isActive-color:var(--primary);--PSPDFKit-LayoutConfig-icon-isActive-background:var(--color-white);--PSPDFKit-Signatures-background:var(--color-blue600);--PSPDFKit-Signatures-color:var(--color-white);--PSPDFKit-Signatures-border:var(--color-blue400);--PSPDFKit-Signatures-container-color:var(--color-coolGrey700);--PSPDFKit-Signatures-editorCanvas-border:var(--color-coolGrey100);--PSPDFKit-Signatures-editorCanvas-background:var(--color-coolGrey25);--PSPDFKit-Signatures-signHere-color:var(--color-coolGrey700);--PSPDFKit-Signatures-DeleteSignatureButton-color:var(--color-coolGrey700);--PSPDFKit-Signatures-Title-color:var(--color-coolGrey700)}.PSPDFKit-Page-Indicator-Input,.PSPDFKit-Page-Indicator-Label{background:var(--PSPDFKit-Pager-background);color:var(--PSPDFKit-Pager-color);font-family:Segoe UI,sans-serif}.PSPDFKit-Page-Indicator-Next,.PSPDFKit-Page-Indicator-Prev{background:var(--PSPDFKit-Pager-background);border-radius:0;margin:0}.PSPDFKit-Page-Indicator-Next:hover,.PSPDFKit-Page-Indicator-Prev:hover{background:var(--PSPDFKit-Pager-background)}.PSPDFKit-Page-Indicator-Next-disabled span,.PSPDFKit-Page-Indicator-Prev-disabled span{fill:var(--disabled)!important;opacity:var(--PSPDFKit-Pager-input-isDisabled-opacity)}.PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar-Responsive-Group>div,.PSPDFKit-Toolbar>div{border:none;color:var(--PSPDFKit-Toolbar-color)}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-Button{color:var(--PSPDFKit-AnnotationToolbar-button-color)}.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active,.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active:active,.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active:focus{background:var(--PSPDFKit-ToolbarButton-isActive-background)}.PSPDFKit-Input-Dropdown-Item-selected{background:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-Input-Dropdown-Item-selected>.PSPDFKit-Toolbar-Button-active{background:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background)!important;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)!important}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:active,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:focus,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:focus-within{background:var(--PSPDFKit-AnnotationToolbar-background)}div[role=listbox] .PSPDFKit-Input-Dropdown-Item-selected{background:var(--color-white)}.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-DropdownGroup,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group-primary,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group>div{background:var(--PSPDFKit-ToolbarResponsiveGroup-background)}.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button:hover,.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-DropdownGroup:hover{background:var(--PSPDFKit-ToolbarResponsiveGroup-background-isHovered)}.PSPDFKit-Toolbar-Button.animatedArrow:after,.PSPDFKit-Toolbar-Button.animatedArrow:before{color:var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border)}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-Button:hover,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover{background:var(--color-coolGrey50)}.PSPDFKit-Text-Annotation-Toolbar-Alignment-left,.PSPDFKit-Text-Annotation-Toolbar-Alignment-right,.PSPDFKit-Toolbar-DropdownGroup-Button{border-radius:0!important}.PSPDFKit-Input-Slider-Value,.PSPDFKit-Toolbar-DropdownGroup-Button{font-family:Segoe UI,sans-serif}.PSPDFKit-Toolbar-Button-Image-Annotation{border-left:var(--PSPDFKit-Toolbar-button-image-annotation)}.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover button,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover label,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover span{background:initial}.PSPDFKit-DocumentEditor-MoveDialog form>span,.PSPDFKit-DocumentEditor-MoveDialog input{color:var(--color-black)}.PSPDFKit-Viewport{background:var(--PSPDFKit-Viewport-background)}.PSPDFKit-Toolbox-BlendMode{display:none!important}input[type=range]{appearance:normal}input[type=range]::-ms-fill-lower{background:#91c5f0}input[type=range]::-ms-fill-upper{background:#eee}input[type=range]::-ms-thumb{background:#1f5aa2} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit.js new file mode 100644 index 00000000..ea807eab --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2023.5.2/pspdfkit.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.5.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PSPDFKit=t():e.PSPDFKit=t()}(self,(()=>(()=>{var e,t,n,o,r={84121:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>i})},22122:(e,t,n)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},17375:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{Z:()=>o})},53912:(e,t,n)=>{"use strict";function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}n.d(t,{M:()=>o})},21286:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var o=n(67294),r=n(47257),i=n(72261),a=n(8145);function s(e){const t=e+"CollectionProvider",[n,s]=(0,r.b)(t),[l,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),u=e=>{const{scope:t,children:n}=e,r=o.useRef(null),i=o.useRef(new Map).current;return o.createElement(l,{scope:t,itemMap:i,collectionRef:r},n)},d=e+"CollectionSlot",p=o.forwardRef(((e,t)=>{const{scope:n,children:r}=e,s=c(d,n),l=(0,i.e)(t,s.collectionRef);return o.createElement(a.g7,{ref:l},r)})),f=e+"CollectionItemSlot",h="data-radix-collection-item",m=o.forwardRef(((e,t)=>{const{scope:n,children:r,...s}=e,l=o.useRef(null),u=(0,i.e)(t,l),d=c(f,n);return o.useEffect((()=>(d.itemMap.set(l,{ref:l,...s}),()=>{d.itemMap.delete(l)}))),o.createElement(a.g7,{[h]:"",ref:u},r)}));return[{Provider:u,Slot:p,ItemSlot:m},function(t){const n=c(e+"CollectionConsumer",t);return o.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},s]}},72261:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,e:()=>i});var o=n(67294);function r(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function i(...e){return(0,o.useCallback)(r(...e),e)}},47257:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var o=n(67294);function r(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>(0,o.createContext)(e)));return function(n){const r=(null==n?void 0:n[e])||t;return(0,o.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const i=(0,o.createContext)(r),a=n.length;function s(t){const{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][a])||i,c=(0,o.useMemo)((()=>s),Object.values(s));return(0,o.createElement)(l.Provider,{value:c},r)}return n=[...n,r],s.displayName=t+"Provider",[s,function(n,s){const l=(null==s?void 0:s[e][a])||i,c=(0,o.useContext)(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},i(r,...t)]}function i(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]})),{});return(0,o.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}},69409:(e,t,n)=>{"use strict";n.d(t,{gm:()=>i});var o=n(67294);const r=(0,o.createContext)(void 0);function i(e){const t=(0,o.useContext)(r);return e||t||"ltr"}},48923:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;th});var r=n(67294),i=n(53912),a=n(84178),s=n(72261),l=n(88751);const c="dismissableLayer.update",u="dismissableLayer.pointerDownOutside",d="dismissableLayer.focusOutside";let p;const f=(0,r.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=(0,r.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:S,...P}=e,E=(0,r.useContext)(f),[x,D]=(0,r.useState)(null),C=null!==(n=null==x?void 0:x.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,k]=(0,r.useState)({}),O=(0,s.e)(t,(e=>D(e))),A=Array.from(E.layers),[T]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),I=A.indexOf(T),F=x?A.indexOf(x):-1,M=E.layersWithOutsidePointerEventsDisabled.size>0,_=F>=I,N=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),o=(0,r.useRef)(!1),i=(0,r.useRef)((()=>{}));return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){const r={originalEvent:e};function a(){g(u,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}o.current=!1},r=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}}),[t,n]),{onPointerDownCapture:()=>o.current=!0}}((e=>{const t=e.target,n=[...E.branches].some((e=>e.contains(t)));_&&!n&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==S||S())}),C),R=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),o=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){g(d,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}((e=>{const t=e.target;[...E.branches].some((e=>e.contains(t)))||(null==b||b(e),null==w||w(e),e.defaultPrevented||null==S||S())}),C);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e);(0,r.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{F===E.layers.size-1&&(null==v||v(e),!e.defaultPrevented&&S&&(e.preventDefault(),S()))}),C),(0,r.useEffect)((()=>{if(x)return h&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(p=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(x)),E.layers.add(x),m(),()=>{h&&1===E.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=p)}}),[x,C,h,E]),(0,r.useEffect)((()=>()=>{x&&(E.layers.delete(x),E.layersWithOutsidePointerEventsDisabled.delete(x),m())}),[x,E]),(0,r.useEffect)((()=>{const e=()=>k({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)}),[]),(0,r.createElement)(a.WV.div,o({},P,{ref:O,style:{pointerEvents:M?_?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,R.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,N.onPointerDownCapture)}))}));function m(){const e=new CustomEvent(c);document.dispatchEvent(e)}function g(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?(0,a.jH)(r,i):r.dispatchEvent(i)}},12921:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tnt,oC:()=>Qe,VY:()=>Ye,ck:()=>Je,Uv:()=>Xe,Ee:()=>et,Rk:()=>tt,fC:()=>He,xz:()=>$e});var r=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(16180),c=n(84178);function u(){return u=Object.assign||function(e){for(var t=1;t{var t;const{__scopeMenu:n,open:o=!1,children:i,dir:a,onOpenChange:s,modal:l=!0}=e,c=_(n),[u,d]=(0,r.useState)(null),f=(0,r.useRef)(!1),h=(0,P.W)(s),m=(0,p.gm)(a),g=null!==(t=null==u?void 0:u.ownerDocument)&&void 0!==t?t:document;return(0,r.useEffect)((()=>{const e=()=>{f.current=!0,g.addEventListener("pointerdown",t,{capture:!0,once:!0}),g.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return g.addEventListener("keydown",e,{capture:!0}),()=>{g.removeEventListener("keydown",e,{capture:!0}),g.removeEventListener("pointerdown",t,{capture:!0}),g.removeEventListener("pointermove",t,{capture:!0})}}),[g]),(0,r.createElement)(v.fC,c,(0,r.createElement)(R,{scope:n,open:o,onOpenChange:h,content:u,onContentChange:d},(0,r.createElement)(B,{scope:n,onClose:(0,r.useCallback)((()=>h(!1)),[h]),isUsingKeyboardRef:f,dir:m,modal:l},i)))},K=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e,i=_(n);return(0,r.createElement)(v.ee,u({},i,o,{ref:t}))})),Z="MenuPortal",[U,V]=F(Z,{forceMount:void 0}),G=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:i}=e,a=L(Z,t);return(0,r.createElement)(U,{scope:t,forceMount:n},(0,r.createElement)(b.z,{present:n||a.open},(0,r.createElement)(y.h,{asChild:!0,container:i},o)))},W="MenuContent",[q,H]=F(W),$=(0,r.forwardRef)(((e,t)=>{const n=V(W,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=L(W,e.__scopeMenu),s=j(W,e.__scopeMenu);return(0,r.createElement)(A.Provider,{scope:e.__scopeMenu},(0,r.createElement)(b.z,{present:o||a.open},(0,r.createElement)(A.Slot,{scope:e.__scopeMenu},s.modal?(0,r.createElement)(X,u({},i,{ref:t})):(0,r.createElement)(Y,u({},i,{ref:t})))))})),X=(0,r.forwardRef)(((e,t)=>{const n=L(W,e.__scopeMenu),o=(0,r.useRef)(null),s=(0,a.e)(t,o);return(0,r.useEffect)((()=>{const e=o.current;if(e)return(0,E.Ry)(e)}),[]),(0,r.createElement)(J,u({},e,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),Y=(0,r.forwardRef)(((e,t)=>{const n=L(W,e.__scopeMenu);return(0,r.createElement)(J,u({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),J=(0,r.forwardRef)(((e,t)=>{var n,o;const{__scopeMenu:s,loop:l=!1,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:p,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:P,onInteractOutside:E,onDismiss:D,disableOutsideScroll:O,...A}=e,I=L(W,s),F=j(W,s),M=_(s),R=N(s),B=T(s),[z,K]=(0,r.useState)(null),Z=(0,r.useRef)(null),U=(0,a.e)(t,Z,I.onContentChange),V=(0,r.useRef)(0),G=(0,r.useRef)(""),H=(0,r.useRef)(0),$=(0,r.useRef)(null),X=(0,r.useRef)("right"),Y=(0,r.useRef)(0),J=null!==(n=null===(o=Z.current)||void 0===o?void 0:o.ownerDocument)&&void 0!==n?n:document,Q=O?x.f:r.Fragment,ee=O?{as:S.g7,allowPinchZoom:!0}:void 0,te=e=>{var t,n;const o=G.current+e,r=B().filter((e=>!e.disabled)),i=J.activeElement,a=null===(t=r.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,s=function(e,t,n){const o=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,r=n?e.indexOf(n):-1;let i=(a=e,s=Math.max(r,0),a.map(((e,t)=>a[(s+t)%a.length])));var a,s;1===o.length&&(i=i.filter((e=>e!==n)));const l=i.find((e=>e.toLowerCase().startsWith(o.toLowerCase())));return l!==n?l:void 0}(r.map((e=>e.textValue)),o,a),l=null===(n=r.find((e=>e.textValue===s)))||void 0===n?void 0:n.ref.current;!function e(t){var n;G.current=t;const o=null!==(n=J.defaultView)&&void 0!==n?n:window;o.clearTimeout(V.current),""!==t&&(V.current=o.setTimeout((()=>e("")),1e3))}(o),l&&setTimeout((()=>l.focus()))};(0,r.useEffect)((()=>()=>{var e;return null===(e=J.defaultView)||void 0===e?void 0:e.clearTimeout(V.current)}),[J]),(0,h.EW)(J);const ne=(0,r.useCallback)((e=>{var t,n;return X.current===(null===(t=$.current)||void 0===t?void 0:t.side)&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:o}=e;let r=!1;for(let e=0,i=t.length-1;eo!=c>o&&n<(l-a)*(o-s)/(c-s)+a&&(r=!r)}return r}({x:e.clientX,y:e.clientY},t)}(e,null===(n=$.current)||void 0===n?void 0:n.area)}),[]);return(0,r.createElement)(q,{scope:s,searchRef:G,onItemEnter:(0,r.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),onItemLeave:(0,r.useCallback)((e=>{var t;ne(e)||(null===(t=Z.current)||void 0===t||t.focus(),K(null))}),[ne]),onTriggerLeave:(0,r.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),pointerGraceTimerRef:H,onPointerGraceIntentChange:(0,r.useCallback)((e=>{$.current=e}),[])},(0,r.createElement)(Q,ee,(0,r.createElement)(m.M,{asChild:!0,trapped:c,onMountAutoFocus:(0,i.M)(d,(e=>{var t;e.preventDefault(),null===(t=Z.current)||void 0===t||t.focus()})),onUnmountAutoFocus:p},(0,r.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:P,onInteractOutside:E,onDismiss:D},(0,r.createElement)(w.fC,u({asChild:!0},R,{dir:F.dir,orientation:"vertical",loop:l,currentTabStopId:z,onCurrentTabStopIdChange:K,onEntryFocus:e=>{F.isUsingKeyboardRef.current||e.preventDefault()}}),(0,r.createElement)(v.VY,u({role:"menu","aria-orientation":"vertical","data-state":ye(I.open),"data-radix-menu-content":"",dir:F.dir},M,A,{ref:U,style:{outline:"none",...A.style},onKeyDown:(0,i.M)(A.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&o&&te(e.key));const r=Z.current;if(e.target!==r)return;if(!k.includes(e.key))return;e.preventDefault();const i=B().filter((e=>!e.disabled)).map((e=>e.ref.current));C.includes(e.key)&&i.reverse(),function(e,t=document){const n=t.activeElement;for(const o of e){if(o===n)return;if(o.focus(),t.activeElement!==n)return}}(i,J)})),onBlur:(0,i.M)(e.onBlur,(e=>{var t;e.currentTarget.contains(e.target)||((null!==(t=J.defaultView)&&void 0!==t?t:window).clearTimeout(V.current),G.current="")})),onPointerMove:(0,i.M)(e.onPointerMove,Se((e=>{const t=e.target,n=Y.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>Y.current?"right":"left";X.current=t,Y.current=e.clientX}})))})))))))})),Q=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e;return(0,r.createElement)(c.WV.div,u({role:"group"},o,{ref:t}))})),ee="MenuItem",te="menu.itemSelect",ne=(0,r.forwardRef)(((e,t)=>{const{disabled:n=!1,onSelect:o,...s}=e,l=(0,r.useRef)(null),d=j(ee,e.__scopeMenu),p=H(ee,e.__scopeMenu),f=(0,a.e)(t,l),h=(0,r.useRef)(!1);return(0,r.createElement)(oe,u({},s,{ref:f,disabled:n,onClick:(0,i.M)(e.onClick,(()=>{const e=l.current;if(!n&&e){const t=new CustomEvent(te,{bubbles:!0,cancelable:!0});e.addEventListener(te,(e=>null==o?void 0:o(e)),{once:!0}),(0,c.jH)(e,t),t.defaultPrevented?h.current=!1:d.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),h.current=!0},onPointerUp:(0,i.M)(e.onPointerUp,(e=>{var t;h.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{const t=""!==p.searchRef.current;n||t&&" "===e.key||D.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),oe=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:s,...l}=e,d=H(ee,n),p=N(n),f=(0,r.useRef)(null),h=(0,a.e)(t,f),[m,g]=(0,r.useState)(!1),[v,y]=(0,r.useState)("");return(0,r.useEffect)((()=>{const e=f.current;var t;e&&y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[l.children]),(0,r.createElement)(A.ItemSlot,{scope:n,disabled:o,textValue:null!=s?s:v},(0,r.createElement)(w.ck,u({asChild:!0},p,{focusable:!o}),(0,r.createElement)(c.WV.div,u({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0},l,{ref:h,onPointerMove:(0,i.M)(e.onPointerMove,Se((e=>{if(o)d.onItemLeave(e);else if(d.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus()}}))),onPointerLeave:(0,i.M)(e.onPointerLeave,Se((e=>d.onItemLeave(e)))),onFocus:(0,i.M)(e.onFocus,(()=>g(!0))),onBlur:(0,i.M)(e.onBlur,(()=>g(!1)))}))))})),re=(0,r.forwardRef)(((e,t)=>{const{checked:n=!1,onCheckedChange:o,...a}=e;return(0,r.createElement)(pe,{scope:e.__scopeMenu,checked:n},(0,r.createElement)(ne,u({role:"menuitemcheckbox","aria-checked":be(n)?"mixed":n},a,{ref:t,"data-state":we(n),onSelect:(0,i.M)(a.onSelect,(()=>null==o?void 0:o(!!be(n)||!n)),{checkForDefaultPrevented:!1})})))})),ie="MenuRadioGroup",[ae,se]=F(ie,{value:void 0,onValueChange:()=>{}}),le=(0,r.forwardRef)(((e,t)=>{const{value:n,onValueChange:o,...i}=e,a=(0,P.W)(o);return(0,r.createElement)(ae,{scope:e.__scopeMenu,value:n,onValueChange:a},(0,r.createElement)(Q,u({},i,{ref:t})))})),ce="MenuRadioItem",ue=(0,r.forwardRef)(((e,t)=>{const{value:n,...o}=e,a=se(ce,e.__scopeMenu),s=n===a.value;return(0,r.createElement)(pe,{scope:e.__scopeMenu,checked:s},(0,r.createElement)(ne,u({role:"menuitemradio","aria-checked":s},o,{ref:t,"data-state":we(s),onSelect:(0,i.M)(o.onSelect,(()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)}),{checkForDefaultPrevented:!1})})))})),de="MenuItemIndicator",[pe,fe]=F(de,{checked:!1}),he=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e,i=_(n);return(0,r.createElement)(v.Eh,u({},i,o,{ref:t}))})),me="MenuSub",[ge,ve]=F(me);function ye(e){return e?"open":"closed"}function be(e){return"indeterminate"===e}function we(e){return be(e)?"indeterminate":e?"checked":"unchecked"}function Se(e){return t=>"mouse"===t.pointerType?e(t):void 0}const Pe=z,Ee=K,xe=G,De=$,Ce=ne,ke=re,Oe=le,Ae=ue,Te=he,Ie="DropdownMenu",[Fe,Me]=(0,s.b)(Ie,[M]),_e=M(),[Ne,Re]=Fe(Ie),Le=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:a,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=_e(t),p=(0,r.useRef)(null),[f=!1,h]=(0,l.T)({prop:a,defaultProp:s,onChange:c});return(0,r.createElement)(Ne,{scope:t,triggerId:(0,g.M)(),triggerRef:p,contentId:(0,g.M)(),open:f,onOpenChange:h,onOpenToggle:(0,r.useCallback)((()=>h((e=>!e))),[h]),modal:u},(0,r.createElement)(Pe,o({},d,{open:f,onOpenChange:h,dir:i,modal:u}),n))},Be="DropdownMenuTrigger",je=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,disabled:s=!1,...l}=e,u=Re(Be,n),d=_e(n);return(0,r.createElement)(Ee,o({asChild:!0},d),(0,r.createElement)(c.WV.button,o({type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":s?"":void 0,disabled:s},l,{ref:(0,a.F)(t,u.triggerRef),onPointerDown:(0,i.M)(e.onPointerDown,(e=>{s||0!==e.button||!1!==e.ctrlKey||(u.onOpenToggle(),u.open||e.preventDefault())})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{s||(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),ze=e=>{const{__scopeDropdownMenu:t,...n}=e,i=_e(t);return(0,r.createElement)(xe,o({},i,n))},Ke="DropdownMenuContent",Ze=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...a}=e,s=Re(Ke,n),l=_e(n),c=(0,r.useRef)(!1);return(0,r.createElement)(De,o({id:s.contentId,"aria-labelledby":s.triggerId},l,a,{ref:t,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;c.current||null===(t=s.triggerRef.current)||void 0===t||t.focus(),c.current=!1,e.preventDefault()})),onInteractOutside:(0,i.M)(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;s.modal&&!o||(c.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"}}))})),Ue=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Ce,o({},a,i,{ref:t}))})),Ve=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(ke,o({},a,i,{ref:t}))})),Ge=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Oe,o({},a,i,{ref:t}))})),We=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Ae,o({},a,i,{ref:t}))})),qe=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Te,o({},a,i,{ref:t}))})),He=Le,$e=je,Xe=ze,Ye=Ze,Je=Ue,Qe=Ve,et=Ge,tt=We,nt=qe},57279:(e,t,n)=>{"use strict";n.d(t,{EW:()=>i});var o=n(67294);let r=0;function i(e=document){(0,o.useEffect)((()=>{var t,n;const o=e.querySelectorAll("[data-radix-focus-guard]");return e.body.insertAdjacentElement("afterbegin",null!==(t=o[0])&&void 0!==t?t:a()),e.body.insertAdjacentElement("beforeend",null!==(n=o[1])&&void 0!==n?n:a()),r++,()=>{1===r&&e.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),r--}}),[e])}function a(e=document){const t=e.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}},1788:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;td});var r=n(67294),i=n(72261),a=n(84178),s=n(88751);const l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=(0,r.forwardRef)(((e,t)=>{var n;const{loop:d=!1,trapped:h=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...b}=e,[w,S]=(0,r.useState)(null),P=(0,s.W)(v),E=(0,s.W)(y),x=(0,r.useRef)(null),D=null!==(n=null==w?void 0:w.ownerDocument)&&void 0!==n?n:document,C=(0,i.e)(t,(e=>S(e))),k=(0,r.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,r.useEffect)((()=>{if(h){function e(e){if(k.paused||!w)return;const t=e.target;w.contains(t)?x.current=t:m(x.current,{select:!0,ownerDocument:D})}function t(e){!k.paused&&w&&(w.contains(e.relatedTarget)||m(x.current,{select:!0,ownerDocument:D}))}return D.addEventListener("focusin",e),D.addEventListener("focusout",t),()=>{D.removeEventListener("focusin",e),D.removeEventListener("focusout",t)}}}),[h,w,k.paused,D]),(0,r.useEffect)((()=>{if(w){g.add(k);const t=D.activeElement;if(!w.contains(t)){const n=new CustomEvent(l,u);w.addEventListener(l,P),w.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1,ownerDocument:n=document}={}){const o=n.activeElement;for(const r of e)if(m(r,{select:t,ownerDocument:n}),n.activeElement!==o)return}((e=p(w),e.filter((e=>"A"!==e.tagName))),{select:!0,ownerDocument:D}),D.activeElement===t&&m(w,{ownerDocument:D}))}return()=>{w.removeEventListener(l,P),setTimeout((()=>{const e=new CustomEvent(c,u);w.addEventListener(c,E),w.dispatchEvent(e),e.defaultPrevented||m(null!=t?t:D.body,{select:!0,ownerDocument:D}),w.removeEventListener(c,E),g.remove(k)}),0)}}var e}),[w,D,P,E,k]);const O=(0,r.useCallback)((e=>{if(!d&&!h)return;if(k.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=D.activeElement;if(t&&n){const t=e.currentTarget,[o,r]=function(e){const t=p(e),n=f(t,e),o=f(t.reverse(),e);return[n,o]}(t);o&&r?e.shiftKey||n!==r?e.shiftKey&&n===o&&(e.preventDefault(),d&&m(r,{select:!0,ownerDocument:D})):(e.preventDefault(),d&&m(o,{select:!0,ownerDocument:D})):n===t&&e.preventDefault()}}),[d,h,k.paused,D]);return(0,r.createElement)(a.WV.div,o({tabIndex:-1},b,{ref:C,onKeyDown:O}))}));function p(e){const t=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(const n of e)if(!h(n,{upTo:t}))return n}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1,ownerDocument:n=document}={}){if(e&&e.focus){const o=n.activeElement;e.focus({preventScroll:!0}),e!==o&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const g=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=v(e,t),e.unshift(t)},remove(t){var n;e=v(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function v(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}},69448:(e,t,n)=>{"use strict";var o;n.d(t,{M:()=>l});var r=n(67294),i=n(14805);const a=(o||(o=n.t(r,2)))["useId".toString()]||(()=>{});let s=0;function l(e){const[t,n]=r.useState(a());return(0,i.b)((()=>{e||n((e=>null!=e?e:String(s++)))}),[e]),e||(t?`radix-${t}`:"")}},54941:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tZ,VY:()=>G,h_:()=>V,fC:()=>K,xz:()=>U});var r=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(48923),c=n(57279),u=n(1788),d=n(69448),p=n(74943),f=n(37103),h=n(83583),m=n(84178),g=n(8145),v=n(16180),y=n(23541),b=n(81066);const w="Popover",[S,P]=(0,s.b)(w,[p.D7]),E=(0,p.D7)(),[x,D]=S(w),C=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,l=E(t),c=(0,r.useRef)(null),[u,f]=(0,r.useState)(!1),[h=!1,m]=(0,v.T)({prop:o,defaultProp:i,onChange:a});return(0,r.createElement)(p.fC,l,(0,r.createElement)(x,{scope:t,contentId:(0,d.M)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:(0,r.useCallback)((()=>m((e=>!e))),[m]),hasCustomAnchor:u,onCustomAnchorAdd:(0,r.useCallback)((()=>f(!0)),[]),onCustomAnchorRemove:(0,r.useCallback)((()=>f(!1)),[]),modal:s},n))},k="PopoverAnchor",O=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,...i}=e,a=D(k,n),s=E(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=a;return(0,r.useEffect)((()=>(l(),()=>c())),[l,c]),(0,r.createElement)(p.ee,o({},s,i,{ref:t}))})),A="PopoverTrigger",T=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,...s}=e,l=D(A,n),c=E(n),u=(0,a.e)(t,l.triggerRef),d=(0,r.createElement)(m.WV.button,o({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":z(l.open)},s,{ref:u,onClick:(0,i.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?d:(0,r.createElement)(p.ee,o({asChild:!0},c),d)})),I="PopoverPortal",[F,M]=S(I,{forceMount:void 0}),_=e=>{const{__scopePopover:t,forceMount:n,children:o,container:i}=e,a=D(I,t);return(0,r.createElement)(F,{scope:t,forceMount:n},(0,r.createElement)(h.z,{present:n||a.open},(0,r.createElement)(f.h,{asChild:!0,container:i},o)))},N="PopoverContent",R=(0,r.forwardRef)(((e,t)=>{const n=M(N,e.__scopePopover),{forceMount:i=n.forceMount,...a}=e,s=D(N,e.__scopePopover);return(0,r.createElement)(h.z,{present:i||s.open},s.modal?(0,r.createElement)(L,o({},a,{ref:t})):(0,r.createElement)(B,o({},a,{ref:t})))})),L=(0,r.forwardRef)(((e,t)=>{const n=D(N,e.__scopePopover),s=(0,r.useRef)(null),l=(0,a.e)(t,s),c=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{const e=s.current;if(e)return(0,y.Ry)(e)}),[]),(0,r.createElement)(b.f,{as:g.g7,allowPinchZoom:!0},(0,r.createElement)(j,o({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),c.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;c.current=o}),{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})))})),B=(0,r.forwardRef)(((e,t)=>{const n=D(N,e.__scopePopover),i=(0,r.useRef)(!1);return(0,r.createElement)(j,o({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,r;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(i.current||null===(r=n.triggerRef.current)||void 0===r||r.focus(),t.preventDefault());i.current=!1},onInteractOutside:t=>{var o,r;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(i.current=!0);const a=t.target;(null===(r=n.triggerRef.current)||void 0===r?void 0:r.contains(a))&&t.preventDefault()}}))})),j=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:d,disableOutsidePointerEvents:f,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:v,...y}=e,b=D(N,n),w=E(n),[S,P]=(0,r.useState)(document),x=(0,a.e)(t,(e=>{var t;return P(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)}));return(0,c.EW)(S),(0,r.createElement)(u.M,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:d},(0,r.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:f,onInteractOutside:v,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onDismiss:()=>b.onOpenChange(!1)},(0,r.createElement)(p.VY,o({"data-state":z(b.open),role:"dialog",id:b.contentId},w,y,{ref:x,style:{...y.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))}));function z(e){return e?"open":"closed"}const K=C,Z=O,U=T,V=_,G=R},74943:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tZe,Eh:()=>Ve,VY:()=>Ue,fC:()=>Ke,D7:()=>Pe});var r=n(67294);function i(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function s(e){return["top","bottom"].includes(i(e))?"x":"y"}function l(e){return"y"===e?"height":"width"}function c(e,t,n){let{reference:o,floating:r}=e;const c=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=s(t),p=l(d),f=o[p]/2-r[p]/2,h="x"===d;let m;switch(i(t)){case"top":m={x:c,y:o.y-r.height};break;case"bottom":m={x:c,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(a(t)){case"start":m[d]-=f*(n&&h?-1:1);break;case"end":m[d]+=f*(n&&h?-1:1)}return m}function u(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function p(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=t,g=u(m),v=s[h?"floating"===f?"reference":"floating":f],y=d(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b=d(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:o,y:r}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:y.top-b.top+g.top,bottom:b.bottom-y.bottom+g.bottom,left:y.left-b.left+g.left,right:b.right-y.right+g.right}}const f=Math.min,h=Math.max;function m(e,t,n){return h(e,f(t,n))}const g=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:c,rects:d,platform:p}=t;if(null==n)return{};const f=u(o),h={x:r,y:i},g=s(c),v=a(c),y=l(g),b=await p.getDimensions(n),w="y"===g?"top":"left",S="y"===g?"bottom":"right",P=d.reference[y]+d.reference[g]-h[g]-d.floating[y],E=h[g]-d.reference[g],x=await(null==p.getOffsetParent?void 0:p.getOffsetParent(n));let D=x?"y"===g?x.clientHeight||0:x.clientWidth||0:0;0===D&&(D=d.floating[y]);const C=P/2-E/2,k=f[w],O=D-b[y]-f[S],A=D/2-b[y]/2+C,T=m(k,A,O),I=("start"===v?f[w]:f[S])>0&&A!==T&&d.reference[y]<=d.floating[y];return{[g]:h[g]-(I?Av[e]))}function b(e,t,n){void 0===n&&(n=!1);const o=a(e),r=s(e),i=l(r);let c="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=y(c)),{main:c,cross:y(c)}}const w={start:"end",end:"start"};function S(e){return e.replace(/start|end/g,(e=>w[e]))}const P=["top","right","bottom","left"],E=(P.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",flipAlignment:m=!0,...g}=e,v=i(o),w=f||(v!==s&&m?function(e){const t=y(e);return[S(e),t,S(t)]}(s):[y(s)]),P=[s,...w],E=await p(t,g),x=[];let D=(null==(n=r.flip)?void 0:n.overflows)||[];if(u&&x.push(E[v]),d){const{main:e,cross:t}=b(o,a,await(null==l.isRTL?void 0:l.isRTL(c.floating)));x.push(E[e],E[t])}if(D=[...D,{placement:o,overflows:x}],!x.every((e=>e<=0))){var C,k;const e=(null!=(C=null==(k=r.flip)?void 0:k.index)?C:0)+1,t=P[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n="bottom";switch(h){case"bestFit":{var O;const e=null==(O=D.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0].placement;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}});function x(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return P.some((t=>e[t]>=0))}const C=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=x(await p(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{const t=x(await p(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,l=await(null==o.isRTL?void 0:o.isRTL(r.floating)),c=i(n),u=a(n),d="x"===s(n),p=["left","top"].includes(c)?-1:1,f=l&&d?-1:1,h="function"==typeof t?t(e):t;let{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return u&&"number"==typeof v&&(g="end"===u?-1*v:v),d?{x:g*f,y:m*p}:{x:m*p,y:g*f}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};function O(e){return"x"===e?"y":"x"}const A=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=e,d={x:n,y:o},f=await p(t,u),h=s(i(r)),g=O(h);let v=d[h],y=d[g];if(a){const e="y"===h?"bottom":"right";v=m(v+f["y"===h?"top":"left"],v,v-f[e])}if(l){const e="y"===g?"bottom":"right";y=m(y+f["y"===g?"top":"left"],y,y-f[e])}const b=c.fn({...t,[h]:v,[g]:y});return{...b,data:{x:b.x-n,y:b.y-o}}}}},T=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:a,middlewareData:l}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=e,p={x:n,y:o},f=s(r),h=O(f);let m=p[f],g=p[h];const v="function"==typeof c?c({...a,placement:r}):c,y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+y.mainAxis,n=a.reference[f]+a.reference[e]-y.mainAxis;mn&&(m=n)}if(d){var b,w,S,P;const e="y"===f?"width":"height",t=["top","left"].includes(i(r)),n=a.reference[h]-a.floating[e]+(t&&null!=(b=null==(w=l.offset)?void 0:w[h])?b:0)+(t?0:y.crossAxis),o=a.reference[h]+a.reference[e]+(t?0:null!=(S=null==(P=l.offset)?void 0:P[h])?S:0)-(t?y.crossAxis:0);go&&(g=o)}return{[f]:m,[h]:g}}}};function I(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function F(e){if(null==e)return window;if(!I(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function M(e){return F(e).getComputedStyle(e)}function _(e){return I(e)?"":e?(e.nodeName||"").toLowerCase():""}function N(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function R(e){return e instanceof F(e).HTMLElement}function L(e){return e instanceof F(e).Element}function B(e){return"undefined"!=typeof ShadowRoot&&(e instanceof F(e).ShadowRoot||e instanceof ShadowRoot)}function j(e){const{overflow:t,overflowX:n,overflowY:o}=M(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function z(e){return["table","td","th"].includes(_(e))}function K(e){const t=/firefox/i.test(N()),n=M(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Z(){return!/^((?!chrome|android).)*safari/i.test(N())}const U=Math.min,V=Math.max,G=Math.round;function W(e,t,n){var o,r,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&R(e)&&(l=e.offsetWidth>0&&G(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&G(s.height)/e.offsetHeight||1);const u=L(e)?F(e):window,d=!Z()&&n,p=(s.left+(d&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/l,f=(s.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,h=s.width/l,m=s.height/c;return{width:h,height:m,top:f,right:p+h,bottom:f+m,left:p,x:p,y:f}}function q(e){return(t=e,(t instanceof F(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function H(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $(e){return W(q(e)).left+H(e).scrollLeft}function X(e,t,n){const o=R(t),r=q(t),i=W(e,o&&function(e){const t=W(e);return G(t.width)!==e.offsetWidth||G(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==_(t)||j(r))&&(a=H(t)),R(t)){const e=W(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=$(r));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Y(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(B(e)?e.host:null)||q(e)}function J(e){return R(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Q(e){const t=F(e);let n=J(e);for(;n&&z(n)&&"static"===getComputedStyle(n).position;)n=J(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===getComputedStyle(n).position&&!K(n))?t:n||function(e){let t=Y(e);for(B(t)&&(t=t.host);R(t)&&!["html","body"].includes(_(t));){if(K(t))return t;t=t.parentNode}return null}(e)||t}function ee(e){if(R(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=W(e);return{width:t.width,height:t.height}}function te(e){const t=Y(e);return["html","body","#document"].includes(_(t))?e.ownerDocument.body:R(t)&&j(t)?t:te(t)}function ne(e,t){var n;void 0===t&&(t=[]);const o=te(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=F(o),a=r?[i].concat(i.visualViewport||[],j(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(ne(a))}function oe(e,t,n){return"viewport"===t?d(function(e,t){const n=F(e),o=q(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const e=Z();(e||!e&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):L(t)?function(e,t){const n=W(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):d(function(e){var t;const n=q(e),o=H(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=V(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=V(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let s=-o.scrollLeft+$(e);const l=-o.scrollTop;return"rtl"===M(r||n).direction&&(s+=V(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(q(e)))}function re(e){const t=ne(e),n=["absolute","fixed"].includes(M(e).position)&&R(e)?Q(e):e;return L(n)?t.filter((e=>L(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&B(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==_(e))):[]}const ie={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?re(t):[].concat(n),o],a=i[0],s=i.reduce(((e,n)=>{const o=oe(t,n,r);return e.top=V(o.top,e.top),e.right=U(o.right,e.right),e.bottom=U(o.bottom,e.bottom),e.left=V(o.left,e.left),e}),oe(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=R(n),i=q(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==_(n)||j(i))&&(a=H(n)),R(n))){const e=W(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:L,getDimensions:ee,getOffsetParent:Q,getDocumentElement:q,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:X(t,Q(n),o),floating:{...ee(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===M(e).direction};function ae(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=o,l=r&&!s,c=i&&!s,u=l||c?[...L(e)?ne(e):[],...ne(t)]:[];u.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));let d,p=null;if(a){let o=!0;p=new ResizeObserver((()=>{o||n(),o=!1})),L(e)&&!s&&p.observe(e),p.observe(t)}let f=s?W(e):null;return s&&function t(){const o=W(e);!f||o.x===f.x&&o.y===f.y&&o.width===f.width&&o.height===f.height||n(),f=o,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{l&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,s&&cancelAnimationFrame(d)}}const se=(e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=c(l,o,s),p=o,f={},h=0;for(let n=0;n{t.current=e})),t}(i),c=r.useRef(null),[u,d]=r.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[p,f]=r.useState(t);ue(null==p?void 0:p.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||f(t);const h=r.useCallback((()=>{a.current&&s.current&&se(a.current,s.current,{middleware:p,placement:n,strategy:o}).then((e=>{m.current&&le.flushSync((()=>{d(e)}))}))}),[p,n,o]);ce((()=>{m.current&&h()}),[h]);const m=r.useRef(!1);ce((()=>(m.current=!0,()=>{m.current=!1})),[]);const g=r.useCallback((()=>{if("function"==typeof c.current&&(c.current(),c.current=null),a.current&&s.current)if(l.current){const e=l.current(a.current,s.current,h);c.current=e}else h()}),[h,l]),v=r.useCallback((e=>{a.current=e,g()}),[g]),y=r.useCallback((e=>{s.current=e,g()}),[g]),b=r.useMemo((()=>({reference:a,floating:s})),[]);return r.useMemo((()=>({...u,update:h,refs:b,reference:v,floating:y})),[u,h,b,v,y])}const pe=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return o=t,Object.prototype.hasOwnProperty.call(o,"current")?null!=t.current?g({element:t.current,padding:n}).fn(e):{}:t?g({element:t,padding:n}).fn(e):{};var o}}};function fe(){return fe=Object.assign||function(e){for(var t=1;t{const{children:n,width:o=10,height:i=5,...a}=e;return(0,r.createElement)(he.WV.svg,fe({},a,{ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,r.createElement)("polygon",{points:"0,0 30,0 15,10"}))})),ge=me;var ve=n(72261),ye=n(47257),be=n(14805);const we="Popper",[Se,Pe]=(0,ye.b)(we),[Ee,xe]=Se(we),De=e=>{const{__scopePopper:t,children:n}=e,[o,i]=(0,r.useState)(null);return(0,r.createElement)(Ee,{scope:t,anchor:o,onAnchorChange:i},n)},Ce="PopperAnchor",ke=(0,r.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:i,...a}=e,s=xe(Ce,n),l=(0,r.useRef)(null),c=(0,ve.e)(t,l);return(0,r.useEffect)((()=>{s.onAnchorChange((null==i?void 0:i.current)||l.current)})),i?null:(0,r.createElement)(he.WV.div,o({},a,{ref:c}))})),Oe="PopperContent",[Ae,Te]=Se(Oe),[Ie,Fe]=Se(Oe,{hasParent:!1,positionUpdateFns:new Set}),Me=(0,r.forwardRef)(((e,t)=>{var n,o,i,a,s,l,c,u;const{__scopePopper:d,side:p="bottom",sideOffset:f=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:w=!1,avoidCollisions:S=!0,...P}=e,x=xe(Oe,d),[D,O]=(0,r.useState)(null),I=(0,ve.e)(t,(e=>O(e))),[F,M]=(0,r.useState)(null),_=function(e){const[t,n]=(0,r.useState)(void 0);return(0,be.b)((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const o=t[0];let r,i;if("borderBoxSize"in o){const e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(F),N=null!==(n=null==_?void 0:_.width)&&void 0!==n?n:0,R=null!==(o=null==_?void 0:_.height)&&void 0!==o?o:0,L=p+("center"!==h?"-"+h:""),B="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},j=Array.isArray(v)?v:[v],z=j.length>0,K={padding:B,boundary:j.filter(Be),altBoundary:z},{reference:Z,floating:U,strategy:V,x:G,y:W,placement:q,middlewareData:H,update:$}=de({strategy:"fixed",placement:L,whileElementsMounted:ae,middleware:[k({mainAxis:f+R,alignmentAxis:m}),S?A({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?T():void 0,...K}):void 0,F?pe({element:F,padding:g}):void 0,S?E({...K}):void 0,je({arrowWidth:N,arrowHeight:R}),w?C({strategy:"referenceHidden"}):void 0].filter(Le)});(0,be.b)((()=>{Z(x.anchor)}),[Z,x.anchor]);const X=null!==G&&null!==W,[Y,J]=ze(q),Q=null===(i=H.arrow)||void 0===i?void 0:i.x,ee=null===(a=H.arrow)||void 0===a?void 0:a.y,te=0!==(null===(s=H.arrow)||void 0===s?void 0:s.centerOffset),[ne,oe]=(0,r.useState)();(0,be.b)((()=>{if(D){var e;const t=null!==(e=D.ownerDocument.defaultView)&&void 0!==e?e:window;oe(t.getComputedStyle(D).zIndex)}}),[D]);const{hasParent:re,positionUpdateFns:ie}=Fe(Oe,d),se=!re;(0,r.useLayoutEffect)((()=>{if(!se)return ie.add($),()=>{ie.delete($)}}),[se,ie,$]),(0,r.useLayoutEffect)((()=>{se&&X&&Array.from(ie).reverse().forEach((e=>requestAnimationFrame(e)))}),[se,X,ie]);const le={"data-side":Y,"data-align":J,...P,ref:I,style:{...P.style,animation:X?void 0:"none",opacity:null!==(l=H.hide)&&void 0!==l&&l.referenceHidden?0:void 0}};return(0,r.createElement)("div",{ref:U,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:X?`translate3d(${Math.round(G)}px, ${Math.round(W)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[null===(c=H.transformOrigin)||void 0===c?void 0:c.x,null===(u=H.transformOrigin)||void 0===u?void 0:u.y].join(" ")}},(0,r.createElement)(Ae,{scope:d,placedSide:Y,onArrowChange:M,arrowX:Q,arrowY:ee,shouldHideArrow:te},se?(0,r.createElement)(Ie,{scope:d,hasParent:!0,positionUpdateFns:ie},(0,r.createElement)(he.WV.div,le)):(0,r.createElement)(he.WV.div,le)))})),_e="PopperArrow",Ne={top:"bottom",right:"left",bottom:"top",left:"right"},Re=(0,r.forwardRef)((function(e,t){const{__scopePopper:n,...i}=e,a=Te(_e,n),s=Ne[a.placedSide];return(0,r.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,r.createElement)(ge,o({},i,{ref:t,style:{...i.style,display:"block"}})))}));function Le(e){return void 0!==e}function Be(e){return null!==e}const je=e=>({name:"transformOrigin",options:e,fn(t){var n,o,r,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,h]=ze(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+d/2,v=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+p/2;let y="",b="";return"bottom"===f?(y=u?m:`${g}px`,b=-p+"px"):"top"===f?(y=u?m:`${g}px`,b=`${l.floating.height+p}px`):"right"===f?(y=-p+"px",b=u?m:`${v}px`):"left"===f&&(y=`${l.floating.width+p}px`,b=u?m:`${v}px`),{data:{x:y,y:b}}}});function ze(e){const[t,n="center"]=e.split("-");return[t,n]}const Ke=De,Ze=ke,Ue=Me,Ve=Re},37103:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ts});var r=n(67294),i=n(73935),a=n(84178);const s=(0,r.forwardRef)(((e,t)=>{var n;const{container:s=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...l}=e;return s?i.createPortal((0,r.createElement)(a.WV.div,o({},l,{ref:t})),s):null}))},83583:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var o=n(67294),r=n(73935),i=n(72261),a=n(14805);const s=e=>{const{present:t,children:n}=e,s=function(e){const[t,n]=(0,o.useState)(),i=(0,o.useRef)({}),s=(0,o.useRef)(e),c=(0,o.useRef)("none"),u=e?"mounted":"unmounted",[d,p]=function(e,t){return(0,o.useReducer)(((e,n)=>{const o=t[e][n];return null!=o?o:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,o.useEffect)((()=>{const e=l(i.current);c.current="mounted"===d?e:"none"}),[d]),(0,a.b)((()=>{const t=i.current,n=s.current;if(n!==e){const o=c.current,r=l(t);if(e)p("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{const e=o!==r;p(n&&e?"ANIMATION_OUT":"UNMOUNT")}s.current=e}}),[e,p]),(0,a.b)((()=>{if(t){const e=e=>{const n=l(i.current).includes(e.animationName);e.target===t&&n&&(0,r.flushSync)((()=>p("ANIMATION_END")))},n=e=>{e.target===t&&(c.current=l(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")}),[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:(0,o.useCallback)((e=>{e&&(i.current=getComputedStyle(e)),n(e)}),[])}}(t),c="function"==typeof n?n({present:s.isPresent}):o.Children.only(n),u=(0,i.e)(s.ref,c.ref);return"function"==typeof n||s.isPresent?(0,o.cloneElement)(c,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},84178:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ts,jH:()=>l});var r=n(67294),i=n(73935),a=n(8145);const s=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,r.forwardRef)(((e,n)=>{const{asChild:i,...s}=e,l=i?a.g7:t;return(0,r.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,r.createElement)(l,o({},s,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function l(e,t){e&&(0,i.flushSync)((()=>e.dispatchEvent(t)))}},20026:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tI,fC:()=>T,Pc:()=>S});var r=n(67294),i=n(53912),a=n(21286),s=n(72261),l=n(47257),c=n(69448),u=n(84178),d=n(88751),p=n(16180),f=n(69409);const h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.B)(g),[w,S]=(0,l.b)(g,[b]),[P,E]=w(g),x=(0,r.forwardRef)(((e,t)=>(0,r.createElement)(v.Provider,{scope:e.__scopeRovingFocusGroup},(0,r.createElement)(v.Slot,{scope:e.__scopeRovingFocusGroup},(0,r.createElement)(D,o({},e,{ref:t})))))),D=(0,r.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:c,currentTabStopId:g,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:b,onEntryFocus:w,...S}=e,E=(0,r.useRef)(null),x=(0,s.e)(t,E),D=(0,f.gm)(c),[C=null,k]=(0,p.T)({prop:g,defaultProp:v,onChange:b}),[O,T]=(0,r.useState)(!1),I=(0,d.W)(w),F=y(n),M=(0,r.useRef)(!1),[_,N]=(0,r.useState)(0),[R,L]=(0,r.useState)(document);return(0,r.useEffect)((()=>{const e=E.current;if(e)return L(e.ownerDocument),e.addEventListener(h,I),()=>e.removeEventListener(h,I)}),[I]),(0,r.createElement)(P,{scope:n,orientation:a,dir:D,loop:l,currentTabStopId:C,onItemFocus:(0,r.useCallback)((e=>k(e)),[k]),onItemShiftTab:(0,r.useCallback)((()=>T(!0)),[]),onFocusableItemAdd:(0,r.useCallback)((()=>N((e=>e+1))),[]),onFocusableItemRemove:(0,r.useCallback)((()=>N((e=>e-1))),[])},(0,r.createElement)(u.WV.div,o({tabIndex:O||0===_?-1:0,"data-orientation":a},S,{ref:x,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,(()=>{M.current=!0})),onFocus:(0,i.M)(e.onFocus,(e=>{const t=!M.current;if(e.target===e.currentTarget&&t&&!O){const t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=F().filter((e=>e.focusable));A([e.find((e=>e.active)),e.find((e=>e.id===C)),...e].filter(Boolean).map((e=>e.ref.current)),R)}}M.current=!1})),onBlur:(0,i.M)(e.onBlur,(()=>T(!1)))})))})),C="RovingFocusGroupItem",k=(0,r.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,...d}=e,p=(0,c.M)(),f=E(C,n),h=f.currentTabStopId===p,m=y(n),[g,b]=(0,r.useState)(document),w=(0,s.e)(t,(e=>{var t;return b(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)})),{onFocusableItemAdd:S,onFocusableItemRemove:P}=f;return(0,r.useEffect)((()=>{if(a)return S(),()=>P()}),[a,S,P]),(0,r.createElement)(v.ItemSlot,{scope:n,id:p,focusable:a,active:l},(0,r.createElement)(u.WV.span,o({tabIndex:h?0:-1,"data-orientation":f.orientation},d,{ref:w,onMouseDown:(0,i.M)(e.onMouseDown,(e=>{a?f.onItemFocus(p):e.preventDefault()})),onFocus:(0,i.M)(e.onFocus,(()=>f.onItemFocus(p))),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const o=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(o)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)?void 0:O[o]}(e,f.orientation,f.dir);if(void 0!==t){e.preventDefault();let r=m().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();const i=r.indexOf(e.currentTarget);r=f.loop?(o=i+1,(n=r).map(((e,t)=>n[(o+t)%n.length]))):r.slice(i+1)}setTimeout((()=>A(r,g)))}var n,o}))})))})),O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e,t=document){const n=t.activeElement;for(const o of e){if(o===n)return;if(o.focus(),t.activeElement!==n)return}}const T=x,I=k},8145:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ta});var r=n(67294),i=n(72261);const a=(0,r.forwardRef)(((e,t)=>{const{children:n,...i}=e,a=r.Children.toArray(n),l=a.find(c);if(l){const e=l.props.children,n=a.map((t=>t===l?r.Children.count(e)>1?r.Children.only(null):(0,r.isValidElement)(e)?e.props.children:null:t));return(0,r.createElement)(s,o({},i,{ref:t}),(0,r.isValidElement)(e)?(0,r.cloneElement)(e,void 0,n):null)}return(0,r.createElement)(s,o({},i,{ref:t}),n)}));a.displayName="Slot";const s=(0,r.forwardRef)(((e,t)=>{const{children:n,...o}=e;return(0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...u(o,n.props),ref:(0,i.F)(t,n.ref)}):r.Children.count(n)>1?r.Children.only(null):null}));s.displayName="SlotClone";const l=({children:e})=>(0,r.createElement)(r.Fragment,null,e);function c(e){return(0,r.isValidElement)(e)&&e.type===l}function u(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...e)=>{i(...e),r(...e)}:r&&(n[o]=r):"style"===o?n[o]={...r,...i}:"className"===o&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}},88751:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var o=n(67294);function r(e){const t=(0,o.useRef)(e);return(0,o.useEffect)((()=>{t.current=e})),(0,o.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}},16180:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var o=n(67294),r=n(88751);function i({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[i,a]=function({defaultProp:e,onChange:t}){const n=(0,o.useState)(e),[i]=n,a=(0,o.useRef)(i),s=(0,r.W)(t);return(0,o.useEffect)((()=>{a.current!==i&&(s(i),a.current=i)}),[i,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i,c=(0,r.W)(n);return[l,(0,o.useCallback)((t=>{if(s){const n=t,o="function"==typeof t?n(e):t;o!==e&&c(o)}else a(t)}),[s,e,a,c])]}},14805:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var o=n(67294);const r=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{}},23541:(e,t,n)=>{"use strict";n.d(t,{Ry:()=>u});var o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},r=new WeakMap,i=new WeakMap,a={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},c=function(e,t,n,o){var c=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=l(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var u=a[n],d=[],p=new Set,f=new Set(c),h=function(e){e&&!p.has(e)&&(p.add(e),h(e.parentNode))};c.forEach(h);var m=function(e){e&&!f.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(p.has(e))m(e);else{var t=e.getAttribute(o),a=null!==t&&"false"!==t,s=(r.get(e)||0)+1,l=(u.get(e)||0)+1;r.set(e,s),u.set(e,l),d.push(e),1===s&&a&&i.set(e,!0),1===l&&e.setAttribute(n,"true"),a||e.setAttribute(o,"true")}}))};return m(t),p.clear(),s++,function(){d.forEach((function(e){var t=r.get(e)-1,a=u.get(e)-1;r.set(e,t),u.set(e,a),t||(i.has(e)||e.removeAttribute(o),i.delete(e)),a||e.removeAttribute(n)})),--s||(r=new WeakMap,r=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||o(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),c(r,i,n,"aria-hidden")):function(){return null}}},10531:(e,t)=>{"use strict";function n(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TouchBackendImpl=void 0;var o,r=n(685),i=n(7584),a=n(52355),s=n(60814),l=n(39751),c=n(47473),u=n(10531);function d(e,t){for(var n=0;n0){var o=r.moveStartSourceIds;r.actions.beginDrag(o,{clientOffset:r._mouseClientOffset,getSourceClientOffset:r.getSourceClientOffset,publishSource:!1})}}r.waitingForDelay=!1}},this.handleTopMoveStartDelay=function(e){if((0,a.eventShouldStartDrag)(e)){var t=e.type===f.touch.start?r.options.delayTouchStart:r.options.delayMouseStart;r.timeout=setTimeout(r.handleTopMoveStart.bind(r,e),t),r.waitingForDelay=!0}},this.handleTopMoveCapture=function(){r.dragOverTargetIds=[]},this.handleMove=function(e,t){r.dragOverTargetIds&&r.dragOverTargetIds.unshift(t)},this.handleTopMove=function(e){if(r.document&&!r.waitingForDelay){r.timeout&&clearTimeout(r.timeout);var t=r.moveStartSourceIds,n=r.dragOverTargetIds,o=r.options.enableHoverOutsideTarget,i=(0,s.getEventClientOffset)(e,r.lastTargetTouchFallback);if(i)if(r._isScrolling||!r.monitor.isDragging()&&(0,l.inAngleRanges)(r._mouseClientOffset.x||0,r._mouseClientOffset.y||0,i.x,i.y,r.options.scrollAngleRanges))r._isScrolling=!0;else if(!r.monitor.isDragging()&&r._mouseClientOffset.hasOwnProperty("x")&&t&&(0,l.distance)(r._mouseClientOffset.x||0,r._mouseClientOffset.y||0,i.x,i.y)>(r.options.touchSlop?r.options.touchSlop:0)&&(r.moveStartSourceIds=void 0,r.actions.beginDrag(t,{clientOffset:r._mouseClientOffset,getSourceClientOffset:r.getSourceClientOffset,publishSource:!1})),r.monitor.isDragging()){var a=r.sourceNodes.get(r.monitor.getSourceId());r.installSourceNodeRemovalObserver(a),r.actions.publishDragSource(),e.cancelable&&e.preventDefault();var c=(n||[]).map((function(e){return r.targetNodes.get(e)})).filter((function(e){return!!e})),u=r.options.getDropTargetElementsAtPoint?r.options.getDropTargetElementsAtPoint(i.x,i.y,c):r.document.elementsFromPoint(i.x,i.y),d=[];for(var p in u)if(u.hasOwnProperty(p)){var f=u[p];for(d.push(f);f;)(f=f.parentElement)&&-1===d.indexOf(f)&&d.push(f)}var h=d.filter((function(e){return c.indexOf(e)>-1})).map((function(e){return r._getDropTargetId(e)})).filter((function(e){return!!e})).filter((function(e,t,n){return n.indexOf(e)===t}));if(o)for(var m in r.targetNodes){var g=r.targetNodes.get(m);if(a&&g&&g.contains(a)&&-1===h.indexOf(m)){h.unshift(m);break}}if(r.lastDragOverTargetIds=h.reverse(),r.lastClientOffset=i,!r.updateTimer){var v=function e(){r.monitor.isDragging()&&(r.actions.hover(r.lastDragOverTargetIds,{clientOffset:r.lastClientOffset}),r.updateTimer=requestAnimationFrame(e))};r.updateTimer=requestAnimationFrame((function(){v()}))}}}},this._getDropTargetId=function(e){for(var t=r.targetNodes.keys(),n=t.next();!1===n.done;){var o=n.value;if(e===r.targetNodes.get(o))return o;n=t.next()}},this.handleTopMoveEndCapture=function(e){r._isScrolling=!1,r.lastTargetTouchFallback=void 0,(0,a.eventShouldEndDrag)(e)&&(r.monitor.isDragging()&&!r.monitor.didDrop()?(e.cancelable&&e.preventDefault(),r._mouseClientOffset={},r.uninstallSourceNodeRemovalObserver(),r.actions.drop(),r.actions.endDrag(),r.updateTimer&&cancelAnimationFrame(r.updateTimer),r.updateTimer=null):r.moveStartSourceIds=void 0)},this.handleCancelOnEscape=function(e){"Escape"===e.key&&r.monitor.isDragging()&&(r._mouseClientOffset={},r.uninstallSourceNodeRemovalObserver(),r.actions.endDrag())},this.options=new u.OptionsReader(o,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(i.ListenerType.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(i.ListenerType.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(i.ListenerType.keyboard)}var t,n,o;return t=e,(n=[{key:"profile",value:function(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}},{key:"setup",value:function(){this.document&&((0,r.invariant)(!e.isSetUp,"Cannot have two Touch backends at the same time."),e.isSetUp=!0,this.addEventListener(this.document,"start",this.getTopMoveStartHandler()),this.addEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(this.document,"move",this.handleTopMove),this.addEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.addEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(this.document,"keydown",this.handleCancelOnEscape,!0))}},{key:"teardown",value:function(){this.document&&(e.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(this.document,"start",this.handleTopMoveStart),this.removeEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.removeEventListener(this.document,"move",this.handleTopMove),this.removeEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(this.document,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}},{key:"throttle",value:function(e,t){var n=!1;return function(o){n||(e(o),n=!0,setTimeout((function(){n=!1}),t))}}},{key:"addEventListener",value:function(e,t,n,o){var r=c.supportsPassive?{capture:o,passive:!1}:o,i=this.throttle(n,50);this.listenerTypes.forEach((function(n){var o=f[n][t];o&&e.addEventListener(o,i,r)}))}},{key:"removeEventListener",value:function(e,t,n,o){var r=c.supportsPassive?{capture:o,passive:!1}:o;this.listenerTypes.forEach((function(o){var i=f[o][t];i&&e.removeEventListener(i,n,r)}))}},{key:"connectDragSource",value:function(e,t){var n=this,o=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",o),function(){n.sourceNodes.delete(e),n.removeEventListener(t,"start",o)}}},{key:"connectDragPreview",value:function(e,t,n){var o=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){o.sourcePreviewNodes.delete(e),o.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDropTarget",value:function(e,t){var n=this;if(!this.document)return function(){};var o=function(o){if(n.document&&n.monitor.isDragging()){var r;switch(o.type){case f.mouse.move:r={x:o.clientX,y:o.clientY};break;case f.touch.move:r={x:o.touches[0].clientX,y:o.touches[0].clientY}}var i=null!=r?n.document.elementFromPoint(r.x,r.y):void 0,a=i&&t.contains(i);return i===t||a?n.handleMove(o,e):void 0}};return this.addEventListener(this.document.body,"move",o),this.targetNodes.set(e,t),function(){n.document&&(n.targetNodes.delete(e),n.removeEventListener(n.document.body,"move",o))}}},{key:"getTopMoveStartHandler",value:function(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}},{key:"installSourceNodeRemovalObserver",value:function(e){var t=this;this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver((function(){e&&!e.parentElement&&(t.resurrectSourceNode(),t.uninstallSourceNodeRemovalObserver())})),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}},{key:"resurrectSourceNode",value:function(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}},{key:"uninstallSourceNodeRemovalObserver",value:function(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}},{key:"document",get:function(){return this.options.document}}])&&d(t.prototype,n),o&&d(t,o),e}();t.TouchBackendImpl=h},71634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={TouchBackend:!0};t.TouchBackend=void 0;var r=n(6901);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));t.TouchBackend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new r.TouchBackendImpl(e,t,n)}},7584:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListenerType=void 0,t.ListenerType=n,function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(n||(t.ListenerType=n={}))},39751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distance=function(e,t,n,o){return Math.sqrt(Math.pow(Math.abs(n-e),2)+Math.pow(Math.abs(o-t),2))},t.inAngleRanges=function(e,t,n,o,r){if(!r)return!1;for(var i=180*Math.atan2(o-t,n-e)/Math.PI+180,a=0;a=r[a].start)&&(null==r[a].end||i<=r[a].end))return!0;return!1}},60814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=function(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return;var n=t.getBoundingClientRect(),o=n.top;return{x:n.left,y:o}},t.getEventClientTouchOffset=r,t.getEventClientOffset=i;var o=n(52355);function r(e,t){return 1===e.targetTouches.length?i(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?i(e.touches[0]):void 0}function i(e,t){return(0,o.isTouchEvent)(e)?r(e,t):{x:e.clientX,y:e.clientY}}},52355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventShouldStartDrag=function(e){return void 0===e.button||e.button===o},t.eventShouldEndDrag=function(e){return void 0===e.buttons||0==(e.buttons&n)},t.isTouchEvent=function(e){return!!e.targetTouches};var n=1,o=0},47473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsPassive=void 0;var n=function(){var e=!1;try{addEventListener("test",(function(){}),Object.defineProperty({},"passive",{get:function(){return e=!0,!0}}))}catch(e){}return e}();t.supportsPassive=n},685:(e,t,n)=>{"use strict";function o(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;ro})},79153:(e,t,n)=>{"use strict";n.d(t,{WG:()=>Ie,c0:()=>ot,f$:()=>rt,LW:()=>lt});var o=n(67294);const r=(0,o.createContext)({dragDropManager:void 0});var i=n(85893),a=n(40230);function s(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;re&&e[t]?e[t]:n||null),e)}function u(e,t){return e.filter((e=>e!==t))}function d(e){return"object"==typeof e}function p(e,t){const n=new Map,o=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(o),t.forEach(o);const r=[];return n.forEach(((e,t)=>{1===e&&r.push(t)})),r}const f="dnd-core/INIT_COORDS",h="dnd-core/BEGIN_DRAG",m="dnd-core/PUBLISH_DRAG_SOURCE",g="dnd-core/HOVER",v="dnd-core/DROP",y="dnd-core/END_DRAG";function b(e,t){return{type:f,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const w={type:f,payload:{clientOffset:null,sourceClientOffset:null}};function S(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0};const{publishSource:o=!0,clientOffset:r,getSourceClientOffset:i}=n,a=e.getMonitor(),s=e.getRegistry();e.dispatch(b(r)),P(t,a,s);const l=D(t,a);if(null==l)return void e.dispatch(w);let c=null;if(r){if(!i)throw new Error("getSourceClientOffset must be defined");E(i),c=i(l)}e.dispatch(b(r,c));const u=s.getSource(l),d=u.beginDrag(a,l);if(null==d)return;x(d),s.pinSource(l);const p=s.getSourceType(l);return{type:h,payload:{itemType:p,item:d,sourceId:l,clientOffset:r||null,sourceClientOffset:c||null,isSourcePublic:!!o}}}}function P(e,t,n){s(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){s(n.getSource(e),"Expected sourceIds to be registered.")}))}function E(e){s("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}function x(e){s(d(e),"Item must be an object.")}function D(e,t){let n=null;for(let o=e.length-1;o>=0;o--)if(t.canDragSource(e[o])){n=e[o];break}return n}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const n=e.getMonitor(),o=e.getRegistry();A(n);const r=I(n);r.forEach(((r,i)=>{const a=T(r,i,o,n),s={type:v,payload:{dropResult:k({},t,a)}};e.dispatch(s)}))}}function A(e){s(e.isDragging(),"Cannot call drop while not dragging."),s(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function T(e,t,n,o){const r=n.getTarget(e);let i=r?r.drop(o,e):void 0;return function(e){s(void 0===e||d(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:o.getDropResult()),i}function I(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function F(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){s(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const o=t.getSourceId();if(null!=o){n.getSource(o,!0).endDrag(t,o),n.unpinSource()}return{type:y}}}function M(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function _(e){return function(t){let{clientOffset:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(t);const o=t.slice(0),r=e.getMonitor(),i=e.getRegistry(),a=r.getItemType();return L(o,i,a),R(o,r,i),B(o,r,i),{type:g,payload:{targetIds:o,clientOffset:n||null}}}}function N(e){s(Array.isArray(e),"Expected targetIds to be an array.")}function R(e,t,n){s(t.isDragging(),"Cannot call hover while not dragging."),s(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t=0;o--){const r=e[o];M(t.getTargetType(r),n)||e.splice(o,1)}}function B(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}function j(e){return function(){if(e.getMonitor().isDragging())return{type:m}}}class z{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store;const n=function(e){return{beginDrag:S(e),publishDragSource:j(e),hover:_(e),drop:O(e),endDrag:F(e)}}(this);return Object.keys(n).reduce(((o,r)=>{const i=n[r];var a;return o[r]=(a=i,function(){for(var n=arguments.length,o=new Array(n),r=0;r{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function K(e,t){return{x:e.x-t.x,y:e.y-t.y}}const Z=[],U=[];Z.__IS_NONE__=!0,U.__IS_ALL__=!0;class V{subscribeToStateChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{handlerIds:n}=t;s("function"==typeof e,"listener must be a function."),s(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let o=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),r=t.stateId;try{const i=r===o||r===o+1&&!function(e,t){return e!==Z&&(e===U||void 0===t||(n=e,t.filter((e=>n.indexOf(e)>-1))).length>0);var n}(t.dirtyHandlerIds,n);i||e()}finally{o=r}}))}subscribeToOffsetChange(e){s("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const n=this.store.getState().dragOffset;n!==t&&(t=n,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return s(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);if(s(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;return M(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);if(s(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!e)return!1;const{shallow:n}=t;if(!this.isDragging())return!1;const o=this.registry.getTargetType(e),r=this.getItemType();if(r&&!M(o,r))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:o}=e;return t&&n&&o?K((i=o,{x:(r=t).x+i.x,y:r.y+i.y}),n):null;var r,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:n}=e;return t&&n?K(t,n):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const G=void 0!==n.g?n.g:self,W=G.MutationObserver||G.WebKitMutationObserver;function q(e){return function(){const t=setTimeout(o,0),n=setInterval(o,50);function o(){clearTimeout(t),clearInterval(n),e()}}}const H="function"==typeof W?function(e){let t=1;const n=new W(e),o=document.createTextNode("");return n.observe(o,{characterData:!0}),function(){t=-t,o.data=t}}:q;class ${call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const X=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.indexthis.capacity){for(let t=0,n=e.length-this.index;t{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=H(this.flush),this.requestErrorThrow=q((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},Y=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new $(this.onError,(e=>t[t.length]=e));return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(X.registerPendingError);const J="dnd-core/ADD_SOURCE",Q="dnd-core/ADD_TARGET",ee="dnd-core/REMOVE_SOURCE",te="dnd-core/REMOVE_TARGET";function ne(e,t){t&&Array.isArray(e)?e.forEach((e=>ne(e,!1))):s("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var oe;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(oe||(oe={}));let re=0;function ie(e){const t=(re++).toString();switch(e){case oe.SOURCE:return`S${t}`;case oe.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}function ae(e){switch(e[0]){case"S":return oe.SOURCE;case"T":return oe.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function se(e,t){const n=e.entries();let o=!1;do{const{done:e,value:[,r]}=n.next();if(r===t)return!0;o=!!e}while(!o);return!1}class le{addSource(e,t){ne(e),function(e){s("function"==typeof e.canDrag,"Expected canDrag to be a function."),s("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),s("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const n=this.addHandler(oe.SOURCE,e,t);return this.store.dispatch(function(e){return{type:J,payload:{sourceId:e}}}(n)),n}addTarget(e,t){ne(e,!0),function(e){s("function"==typeof e.canDrop,"Expected canDrop to be a function."),s("function"==typeof e.hover,"Expected hover to be a function."),s("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const n=this.addHandler(oe.TARGET,e,t);return this.store.dispatch(function(e){return{type:Q,payload:{targetId:e}}}(n)),n}containsHandler(e){return se(this.dragSources,e)||se(this.dropTargets,e)}getSource(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s(this.isSourceId(e),"Expected a valid source ID.");return t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return s(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return ae(e)===oe.SOURCE}isTargetId(e){return ae(e)===oe.TARGET}removeSource(e){var t;s(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:ee,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},X.enqueueTask(Y.create(t))}removeTarget(e){s(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:te,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);s(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){s(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){const o=ie(e);return this.types.set(o,t),e===oe.SOURCE?this.dragSources.set(o,n):e===oe.TARGET&&this.dropTargets.set(o,n),o}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const ce=(e,t)=>e===t;function ue(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)}function de(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce;if(e.length!==t.length)return!1;for(let o=0;o1?arguments[1]:void 0;switch(e.type){case g:break;case J:case Q:case te:case ee:return Z;default:return U}const{targetIds:t=[],prevTargetIds:n=[]}=e.payload,o=p(t,n),r=o.length>0||!de(t,n);if(!r)return Z;const i=n[n.length-1],a=t[t.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function he(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:me,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case f:case h:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case g:return ue(e.clientOffset,n.clientOffset)?e:he({},e,{clientOffset:n.clientOffset});case y:case v:return me;default:return e}}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case h:return ye({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case m:return ye({},e,{isSourcePublic:!0});case g:return ye({},e,{targetIds:n.targetIds});case te:return-1===e.targetIds.indexOf(n.targetId)?e:ye({},e,{targetIds:u(e.targetIds,n.targetId)});case v:return ye({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case y:return ye({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case J:case Q:return e+1;case ee:case te:return e-1;default:return e}}function Pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:pe(e.dirtyHandlerIds,{type:t.type,payload:xe({},t.payload,{prevTargetIds:c(e,"dragOperation.targetIds",[])})}),dragOffset:ge(e.dragOffset,t),refCount:Se(e.refCount,t),dragOperation:we(e.dragOperation,t),stateId:Pe(e.stateId)}}function Ce(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=ke(o),i=new V(r,new le(r)),a=new z(r,i),s=e(a,t,n);return a.receiveBackend(s),a}function ke(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,a.MT)(De,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}function Oe(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}let Ae=0;const Te=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Ie=(0,o.memo)((function(e){var{children:t}=e,n=Oe(e,["children"]);const[a,s]=function(e){if("manager"in e){return[{dragDropManager:e.manager},!1]}const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe(),n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const r=t;r[Te]||(r[Te]={dragDropManager:Ce(e,t,n,o)});return r[Te]}(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[t,n]}(n);return(0,o.useEffect)((()=>{if(s){const e=Fe();return++Ae,()=>{0==--Ae&&(e[Te]=null)}}}),[]),(0,i.jsx)(r.Provider,{value:a,children:t})}));function Fe(){return void 0!==n.g?n.g:window}var Me=n(64063),_e=n.n(Me);const Ne="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Re(e,t,n){const[r,i]=(0,o.useState)((()=>t(e))),a=(0,o.useCallback)((()=>{const o=t(e);_e()(r,o)||(i(o),n&&n())}),[r,e,n]);return Ne(a),[r,a]}function Le(e,t,n){return function(e,t,n){const[o,r]=Re(e,t,n);return Ne((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(r,{handlerIds:[t]})}),[e,r]),o}(t,e||(()=>({})),(()=>n.reconnect()))}function Be(e,t){const n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),(0,o.useMemo)((()=>"function"==typeof e?e():e),n)}function je(e){return(0,o.useMemo)((()=>e.hooks.dragSource()),[e])}function ze(e){return(0,o.useMemo)((()=>e.hooks.dragPreview()),[e])}let Ke=!1,Ze=!1;class Ue{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){s(!Ke,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ke=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Ke=!1}}isDragging(){if(!this.sourceId)return!1;s(!Ze,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ze=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{Ze=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let Ve=!1;class Ge{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;s(!Ve,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Ve=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Ve=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function We(e,t,n,o){let r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a, or turn it into a drag source or a drop target itself.`)}function $e(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{const e=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,o.isValidElement)(t)){const o=t;return e(o,n),o}const r=t;He(r);return Ye(r,n?t=>e(t,n):e)}}(r);t[n]=()=>e}})),t}function Xe(e,t){"function"==typeof e?e(t):e.current=t}function Ye(e,t){const n=e.ref;return s("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,o.cloneElement)(e,{ref:e=>{Xe(n,e),Xe(t,e)}}):(0,o.cloneElement)(e,{ref:t})}class Je{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();n&&this.disconnectDragPreview(),this.handlerId&&(t?n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!We(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!We(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=$e({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,qe(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,qe(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class Qe{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!We(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=$e({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,qe(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function et(){const{dragDropManager:e}=(0,o.useContext)(r);return s(null!=e,"Expected drag drop context"),e}class tt{beginDrag(){const e=this.spec,t=this.monitor;let n=null;return n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=n?n:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const n=this.spec,o=this.monitor,{isDragging:r}=n;return r?r(o):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,n=this.connector,{end:o}=e;o&&o(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}}function nt(e,t,n){const r=et(),i=function(e,t,n){const r=(0,o.useMemo)((()=>new tt(e,t,n)),[t,n]);return(0,o.useEffect)((()=>{r.spec=e}),[e]),r}(e,t,n),a=function(e){return(0,o.useMemo)((()=>{const t=e.type;return s(null!=t,"spec.type must be defined"),t}),[e])}(e);Ne((function(){if(null!=a){const[e,o]=function(e,t,n){const o=n.getRegistry(),r=o.addSource(e,t);return[r,()=>o.removeSource(r)]}(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}}),[r,t,n,i,a])}function ot(e,t){const n=Be(e,t);s(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const r=function(){const e=et();return(0,o.useMemo)((()=>new Ue(e)),[e])}(),i=function(e,t){const n=et(),r=(0,o.useMemo)((()=>new Je(n.getBackend())),[n]);return Ne((()=>(r.dragSourceOptions=e||null,r.reconnect(),()=>r.disconnectDragSource())),[r,e]),Ne((()=>(r.dragPreviewOptions=t||null,r.reconnect(),()=>r.disconnectDragPreview())),[r,t]),r}(n.options,n.previewOptions);return nt(n,r,i),[Le(n.collect,r,i),je(i),ze(i)]}function rt(e){const t=et().getMonitor(),[n,r]=Re(t,e);return(0,o.useEffect)((()=>t.subscribeToOffsetChange(r))),(0,o.useEffect)((()=>t.subscribeToStateChange(r))),n}function it(e){return(0,o.useMemo)((()=>e.hooks.dropTarget()),[e])}class at{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function st(e,t,n){const r=et(),i=function(e,t){const n=(0,o.useMemo)((()=>new at(e,t)),[t]);return(0,o.useEffect)((()=>{n.spec=e}),[e]),n}(e,t),a=function(e){const{accept:t}=e;return(0,o.useMemo)((()=>(s(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);Ne((function(){const[e,o]=function(e,t,n){const o=n.getRegistry(),r=o.addTarget(e,t);return[r,()=>o.removeTarget(r)]}(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}),[r,t,i,n,a.map((e=>e.toString())).join("|")])}function lt(e,t){const n=Be(e,t),r=function(){const e=et();return(0,o.useMemo)((()=>new Ge(e)),[e])}(),i=function(e){const t=et(),n=(0,o.useMemo)((()=>new Qe(t.getBackend())),[t]);return Ne((()=>(n.dropTargetOptions=e||null,n.reconnect(),()=>n.disconnectDropTarget())),[e]),n}(n.options);return st(n,r,i),[Le(n.collect,r,i),it(i)]}},76154:(e,t,n)=>{"use strict";n.d(t,{_H:()=>Wt,Pj:()=>_t,dp:()=>Ft,Sn:()=>je,vU:()=>Ht,XN:()=>xt,YB:()=>Dt});var o=n(70655),r=n(67294),i=n(8679),a=n.n(i);["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map((function(e){return e.slice(e.indexOf("-")+1)}));function s(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}var l=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;new RegExp("^"+l.source),new RegExp(l.source+"$");var c,u,d,p;!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}(0,o.ZT)(t,e)}(Error);function f(e){return e.type===d.literal}function h(e){return e.type===d.argument}function m(e){return e.type===d.number}function g(e){return e.type===d.date}function v(e){return e.type===d.time}function y(e){return e.type===d.select}function b(e){return e.type===d.plural}function w(e){return e.type===d.pound}function S(e){return e.type===d.tag}function P(e){return!(!e||"object"!=typeof e||e.type!==p.number)}function E(e){return!(!e||"object"!=typeof e||e.type!==p.dateTime)}!function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(c||(c={})),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(u||(u={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(d||(d={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var x=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,D=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function C(e){var t={};return e.replace(D,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var k=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var O,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,F=/^(0+)$/;function M(e){var t={};return e.replace(T,(function(e,n,o){return"string"!=typeof o?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===o?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof o?o.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function N(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!F.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function R(e){var t=_(e);return t||{}}function L(e){for(var t={},n=0,r=e;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(I,(function(e,n,o,r,i,a){if(n)t.minimumIntegerDigits=o.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(F.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(A.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(A,(function(e,n,o,r,i,a){return"*"===o?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""})),i.options.length&&(t=(0,o.pi)((0,o.pi)({},t),M(i.options[0])))}else if(T.test(i.stem))t=(0,o.pi)((0,o.pi)({},t),M(i.stem));else{var a=_(i.stem);a&&(t=(0,o.pi)((0,o.pi)({},t),a));var s=N(i.stem);s&&(t=(0,o.pi)((0,o.pi)({},t),s))}}return t}var B=new RegExp("^"+x.source+"*"),j=new RegExp(x.source+"*$");function z(e,t){return{start:e,end:t}}var K=!!String.prototype.startsWith,Z=!!String.fromCodePoint,U=!!Object.fromEntries,V=!!String.prototype.codePointAt,G=!!String.prototype.trimStart,W=!!String.prototype.trimEnd,q=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},H=!0;try{H="a"===(null===(O=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===O?void 0:O[0])}catch(e){H=!1}var $,X=K?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Y=Z?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");o+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return o},J=U?Object.fromEntries:function(e){for(var t={},n=0,o=e;n=n)){var o,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:o-56320+(r-55296<<10)+65536}},ee=G?function(e){return e.trimStart()}:function(e){return e.replace(B,"")},te=W?function(e){return e.trimEnd()}:function(e){return e.replace(j,"")};function ne(e,t){return new RegExp(e,t)}if(H){var oe=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$=function(e,t){var n;return oe.lastIndex=t,null!==(n=oe.exec(e)[1])&&void 0!==n?n:""}}else $=function(e,t){for(var n=[];;){var o=Q(e,t);if(void 0===o||ae(o)||se(o))break;n.push(o),t+=o>=65536?2:1}return Y.apply(void 0,n)};var re=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var r=this.char();if(123===r){if((i=this.parseArgument(e,n)).err)return i;o.push(i.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(u.UNMATCHED_CLOSING_TAG,z(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&ie(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;o.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;o.push(i.val)}}else{var a=this.clonePosition();this.bump(),o.push({type:d.pound,location:z(a,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<"+o+"/>",location:z(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var i=r.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:d.tag,value:o,children:i,location:z(n,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,z(a,this.clonePosition())))}return this.error(u.UNCLOSED_TAG,z(n,this.clonePosition()))}return this.error(u.INVALID_TAG,z(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),o="";;){var r=this.tryParseQuote(t);if(r)o+=r;else{var i=this.tryParseUnquoted(e,t);if(i)o+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;o+=a}}}var s=z(n,this.clonePosition());return{val:{type:d.literal,value:o,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ie(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Y.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Y(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,z(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(u.MALFORMED_ARGUMENT,z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:o,location:z(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition())):this.parseArgumentOptions(e,t,o,n);default:return this.error(u.MALFORMED_ARGUMENT,z(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=$(this.message,t),o=t+n.length;return this.bumpTo(o),{value:n,location:z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,z(a,l));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(g=te(w.val)).length)return this.error(u.EXPECT_ARGUMENT_STYLE,z(this.clonePosition(),this.clonePosition()));c={style:g,styleLocation:z(f,this.clonePosition())}}if((S=this.tryParseArgumentClose(r)).err)return S;var h=z(r,this.clonePosition());if(c&&X(null==c?void 0:c.style,"::",0)){var m=ee(c.style.slice(2));if("number"===s)return(w=this.parseNumberSkeletonFromString(m,c.styleLocation)).err?w:{val:{type:d.number,value:n,location:h,style:w.val},err:null};if(0===m.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,h);var g={type:p.dateTime,pattern:m,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?C(m):{}};return{val:{type:"date"===s?d.date:d.time,value:n,location:h,style:g},err:null}}return{val:{type:"number"===s?d.number:"date"===s?d.date:d.time,value:n,location:h,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,z(v,(0,o.pi)({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),b=0;if("select"!==s&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,z(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),y=this.parseIdentifierIfPossible(),b=w.val}var S,P=this.tryParsePluralOrSelectOptions(e,s,t,y);if(P.err)return P;if((S=this.tryParseArgumentClose(r)).err)return S;var E=z(r,this.clonePosition());return"select"===s?{val:{type:d.select,value:n,options:J(P.val),location:E},err:null}:{val:{type:d.plural,value:n,options:J(P.val),offset:b,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,z(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,z(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,o=e.split(k).filter((function(e){return e.length>0}));n=48&&a<=57))break;r=!0,i=10*i+(a-48),this.bump()}var s=z(o,this.clonePosition());return r?q(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Q(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(X(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ae(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ie(e){return e>=97&&e<=122||e>=65&&e<=90}function ae(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function se(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function le(e){e.forEach((function(e){if(delete e.location,y(e)||b(e))for(var t in e.options)delete e.options[t].location,le(e.options[t].value);else m(e)&&P(e.style)||(g(e)||v(e))&&E(e.style)?delete e.style.location:S(e)&&le(e.children)}))}function ce(e,t){void 0===t&&(t={}),t=(0,o.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new re(e,t).parse();if(n.err){var r=SyntaxError(u[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||le(n.val),n.val}function ue(e,t){var n=t&&t.cache?t.cache:ye,o=t&&t.serializer?t.serializer:me;return(t&&t.strategy?t.strategy:he)(e,{cache:n,serializer:o})}function de(e,t,n,o){var r,i=null==(r=o)||"number"==typeof r||"boolean"==typeof r?o:n(o),a=t.get(i);return void 0===a&&(a=e.call(this,o),t.set(i,a)),a}function pe(e,t,n){var o=Array.prototype.slice.call(arguments,3),r=n(o),i=t.get(r);return void 0===i&&(i=e.apply(this,o),t.set(r,i)),i}function fe(e,t,n,o,r){return n.bind(t,e,o,r)}function he(e,t){return fe(e,this,1===e.length?de:pe,t.cache.create(),t.serializer)}var me=function(){return JSON.stringify(arguments)};function ge(){this.cache=Object.create(null)}ge.prototype.has=function(e){return e in this.cache},ge.prototype.get=function(e){return this.cache[e]},ge.prototype.set=function(e,t){this.cache[e]=t};var ve,ye={create:function(){return new ge}},be={variadic:function(e,t){return fe(e,this,pe,t.cache.create(),t.serializer)},monadic:function(e,t){return fe(e,this,de,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ve||(ve={}));var we,Se=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=o,r}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Pe=function(e){function t(t,n,o,r){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(o).join('", "')+'"',ve.INVALID_VALUE,r)||this}return(0,o.ZT)(t,e),t}(Se),Ee=function(e){function t(t,n,o){return e.call(this,'Value for "'+t+'" must be of type '+n,ve.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(Se),xe=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',ve.MISSING_VALUE,n)||this}return(0,o.ZT)(t,e),t}(Se);function De(e){return"function"==typeof e}function Ce(e,t,n,o,r,i,a){if(1===e.length&&f(e[0]))return[{type:we.literal,value:e[0].value}];for(var s=[],l=0,c=e;l needs to exist in the component ancestry.")}var gt=(0,o.pi)((0,o.pi)({},Be),{textComponent:r.Fragment});function vt(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),o=Object.keys(t),r=n.length;if(o.length!==r)return!1;for(var i=0;i=g?a-r:a,c=Math.abs(s-g);return g!==s&&(l=setTimeout((function(){return v(s)}),1e3*c)),e}),[g,i,n]);var y=t||0,b=n;if(jt(n)&&"number"==typeof g&&i){var w=Lt(b=Rt(g));y=Math.round(g/w)}return r.createElement(zt,(0,o.pi)({value:y,unit:b},a))};Kt.displayName="FormattedRelativeTime",Kt.defaultProps={value:0,unit:"second"};var Zt=function(e){var t=Dt(),n=t.formatPlural,o=t.textComponent,i=e.value,a=e.other,s=e.children,l=e[n(i,e)]||a;return"function"==typeof s?s(l):o?r.createElement(o,null,l):l};Zt.defaultProps={type:"cardinal"},Zt.displayName="FormattedPlural";function Ut(e,t){var n=e.values,r=(0,o._T)(e,["values"]),i=t.values,a=(0,o._T)(t,["values"]);return vt(i,n)&&vt(r,a)}function Vt(e){var t=Dt(),n=t.formatMessage,o=t.textComponent,i=void 0===o?r.Fragment:o,a=e.id,s=e.description,l=e.defaultMessage,c=e.values,u=e.children,d=e.tagName,p=void 0===d?i:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return Array.isArray(f)||(f=[f]),"function"==typeof u?u(f):p?r.createElement(p,null,r.Children.toArray(f)):r.createElement(r.Fragment,null,f)}Vt.displayName="FormattedMessage";var Gt=r.memo(Vt,Ut);Gt.displayName="MemoizedFormattedMessage";const Wt=Gt;var qt=function(e){var t=Dt(),n=e.from,i=e.to,a=e.children,s=(0,o._T)(e,["from","to","children"]),l=t.formatDateTimeRange(n,i,s);if("function"==typeof a)return a(l);var c=t.textComponent||r.Fragment;return r.createElement(c,null,l)};qt.displayName="FormattedDateTimeRange";function Ht(e){return e}Ot("formatDate"),Ot("formatTime"),Ot("formatNumber"),Ot("formatList"),Ot("formatDisplayName"),kt("formatDate"),kt("formatTime")},21076:(e,t,n)=>{"use strict";n.d(t,{AO:()=>d,L7:()=>f,$u:()=>g,UK:()=>w,Qk:()=>S,d:()=>v,Sk:()=>y,AL:()=>x,oH:()=>P});var o=n(84121),r=n(47347),i=(n(77552),n(91117),n(35349),n(26656)),a=n.n(i);let s;s="object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node||"undefined"!=typeof window&&"Deno"in window||"undefined"!=typeof self&&"Deno"in self?a():function(e){return"object"==typeof window?new Promise(((t,n)=>{const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.onload=()=>t(window.PSPDFModuleInit),o.onerror=n,o.src=e;const{documentElement:i}=document;(0,r.kG)(i),i.appendChild(o)})):(self.importScripts(e),Promise.resolve(self.PSPDFModuleInit))};n(37015);var l=n(96617),c=(n(55024),n(91859),n(5038));n(26248);n(72852);new Set;new Set;c.x.Maui_iOS,c.x.Maui_Android,c.x.Maui_MacCatalyst,c.x.Maui_Windows;const u=()=>{};class d{constructor(){(0,o.Z)(this,"_requests",new Map),(0,o.Z)(this,"_nextRequestId",1),(0,o.Z)(this,"_isLoading",!0),(0,o.Z)(this,"_loadPromise",null),(0,o.Z)(this,"_initPromise",null),(0,o.Z)(this,"_hasOpenedDocument",!1),(0,o.Z)(this,"_hasLoadedCertificates",!1),(0,o.Z)(this,"_handleMessage",(e=>{const t=e.data,n=this._requests.get(t.id);(0,r.kG)(n,`No request was made for id ${t.id}.`);const{resolve:o,reject:i}=n;if(this._requests.delete(t.id),t.error){const e=new r.p2(t.error);e.callArgs=t.callArgs,i(e)}else o(t.result)}))}async loadNativeModule(e,t){let{mainThreadOrigin:n,disableWebAssemblyStreaming:o,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a,wasmLoaderPath:s,wasm:l,workerSpawnerFn:c}=t;return(0,r.kG)(!this._hasOpenedDocument,"cannot invoke `loadNativeModule` while an instance is still in use. Please call `recycle` first."),this._loadPromise?this._loadPromise.then((()=>{})):(this._initPromise||(this.workerSpawner||(this.workerSpawner=await c(),this.workerSpawner.setMessageHandler(this._handleMessage)),this._baseCoreUrl=e,this._mainThreadOrigin=n,this._initPromise=this._sendRequest("loadNativeModule",[s&&l?{wasm:l,wasmLoaderPath:s}:e,{mainThreadOrigin:n,disableWebAssemblyStreaming:o,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a}]).then((e=>e)).catch((e=>{throw this._isLoading=!1,this.destroy(),e}))),this._initPromise)}load(e,t,n){let{mainThreadOrigin:o,customFonts:i,dynamicFonts:a,productId:s}=n;return(0,r.kG)(!this._hasOpenedDocument,"cannot invoke `load` while an instance is still in use. Please call `recycle` first."),this._loadPromise||(this._loadPromise=this._sendRequest("load",[e,t,{mainThreadOrigin:o,customFonts:i,dynamicFonts:a,productId:s}]).then((e=>(this._isLoading=!1,e))).catch((e=>{var t;throw this._isLoading=!1,null===(t=this.workerSpawner)||void 0===t||t.terminate(),e}))),this._loadPromise}version(){return this._assertLoaded(),this._sendRequest("version")}openDocument(e,t,n){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openDocument",[e,t,n]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}async getMeasurementScales(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementScales")}async removeMeasurementScale(e){return this._sendRequest("removeMeasurementScale",[e])}async addMeasurementScale(e){return await this._sendRequest("addMeasurementScale",[e])}async getAnnotationsByScale(e){return await this._sendRequest("getAnnotationsByScale",[e])}async openDocumentAt(){throw new Error("Should never be called")}async getAllPageInfos(e){return this._assertLoaded(),this._sendRequest("getAllPageInfos",[e])}async enablePDFJavaScriptSupport(){return this._assertLoaded(),this._sendRequest("enablePDFJavaScriptSupport")}async runPDFFormattingScripts(e,t){return this._assertLoaded(),this._sendRequest("runPDFFormattingScripts",[e,t])}async getSuggestedLineHeightFactor(e,t){return this._assertLoaded(),this._sendRequest("getSuggestedLineHeightFactor",[e,t])}async getAvailableFontFaces(e){return this._assertLoaded(),this._sendRequest("getAvailableFontFaces",[e])}async setFontSubstitutions(e){return this._assertLoaded(),this._sendRequest("setFontSubstitutions",[e])}getBookmarks(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getBookmarks")}getFormJSON(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormJSON")}evalFormValuesActions(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalFormValuesActions",[e])}evalScript(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalScript",[e,t])}setFormJSONUpdateBatchMode(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormJSONUpdateBatchMode",[e])}getFormValues(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormValues")}closeDocument(){return this._assertLoaded(),this._hasOpenedDocument=!1,this._sendRequest("closeDocument")}renderTile(e,t,n,o,r,i,a,s){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderTile",[e,t,n,o,r,i,a,s])}renderAnnotation(e,t,n,o,r,i){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderAnnotation",[e,t,n,o,r,i])}renderPageAnnotations(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderPageAnnotations",[e,t,n,o,r])}renderDetachedAnnotation(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderDetachedAnnotation",[e,t,n,o,r])}onKeystrokeEvent(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("onKeystrokeEvent",[e])}getAttachment(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getAttachment",[e])}textForPageIndex(e){this._assertLoaded(),this._assertDocumentOpen();return this._sendRequest("textForPageIndex",[e])}textContentTreeForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("textContentTreeForPageIndex",[e])}annotationsForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("annotationsForPageIndex",[e])}createAnnotation(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createAnnotation",[e,t])}updateAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateAnnotation",[e])}deleteAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteAnnotation",[e])}createFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createFormField",[e,t])}updateFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateFormField",[e,t])}deleteFormField(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormField",[e])}setFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormFieldValue",[e])}deleteFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormFieldValue",[e])}createBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createBookmark",[e])}updateBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateBookmark",[e])}deleteBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteBookmark",[e])}setDocumentOutline(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setDocumentOutline",[e])}getTextFromRects(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTextFromRects",[e,t])}getClosestSnapPoint(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getClosestSnapPoint",[e,t])}configureSnapper(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("configureSnapper",[e])}search(e,t,n,o){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:l.S.TEXT;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("search",[e,t,n,o,r])}getSecondaryMeasurementUnit(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSecondaryMeasurementUnit",[])}compareDocuments(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("compareDocuments",[e])}setSecondaryMeasurementUnit(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setSecondaryMeasurementUnit",[e])}getMeasurementSnappingPoints(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementSnappingPoints",[e])}parseXFDF(e,t){return this._sendRequest("parseXFDF",[e,t])}getEmbeddedFilesList(){return this._sendRequest("getEmbeddedFilesList")}exportFile(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"pdf",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportFile",[e,t,n,o,r,i,a])}importXFDF(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importXFDF",[e,t,n])}exportXFDF(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportXFDF",[e])}importInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importInstantJSON",[e])}exportInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportInstantJSON",[e])}getDocumentOutline(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getDocumentOutline")}getPageGlyphs(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getPageGlyphs",[e])}applyOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyOperations",[e,t])}reloadDocument(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("reloadDocument")}exportPDFWithOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportPDFWithOperations",[e,t])}loadCertificates(e){return this._assertLoaded(),this._assertDocumentOpen(),this._hasLoadedCertificates=Boolean(e.length),this._sendRequest("loadCertificates",[e]).catch((e=>{throw this._hasLoadedCertificates=!1,e}))}getSignaturesInfo(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSignaturesInfo",[])}getComments(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getComments",[])}applyComments(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyComments",[e])}prepareSign(e,t,n,o,r,i,a){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("prepareSign",[e,t,n,o,r,i,a])}getTimestampRequest(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTimestampRequest",[e,t])}sign(e,t,n,o,r,i,a){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("sign",[e,t,n,o,r,i,a])}restoreToOriginalState(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("restoreToOriginalState")}applyRedactions(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyRedactions",[])}readFormJSONObjects(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("readFormJSONObjects")}clearAPStreamCache(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("clearAPStreamCache")}setComparisonDocument(e,t){return this._assertLoaded(),t||this._assertDocumentOpen(),this._sendRequest("setComparisonDocument",[e,t])}openComparisonDocument(e){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openComparisonDocument",[e]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}documentCompareAndOpen(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("documentCompareAndOpen",[e])}persistOpenDocument(e){return this._assertLoaded(),e||this._assertDocumentOpen(),this._sendRequest("persistOpenDocument",[e])}cleanupDocumentComparison(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("cleanupDocumentComparison")}contentEditorEnter(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorEnter",[])}contentEditorExit(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorExit",[])}contentEditorGetTextBlocks(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorGetTextBlocks",[e])}contentEditorDetectParagraphs(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDetectParagraphs",[e])}contentEditorRenderTextBlock(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorRenderTextBlock",[e,t,n])}contentEditorSetTextBlockCursor(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockCursor",[e,t,n,o])}contentEditorMoveTextBlockCursor(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorMoveTextBlockCursor",[e,t,n,o])}contentEditorInsertTextBlockString(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorInsertTextBlockString",[e,t,n,o])}contentEditorInsertTextBlockContentRef(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorInsertTextBlockContentRef",[e,t,n,o])}contentEditorCreateTextBlock(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorCreateTextBlock",[e])}contentEditorLayoutTextBlock(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorLayoutTextBlock",[e,t,n,o])}contentEditorDeleteTextBlockRange(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDeleteTextBlockRange",[e,t,n])}contentEditorDeleteTextBlockString(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDeleteTextBlockString",[e,t,n])}contentEditorSetTextBlockSelection(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockSelection",[e,t,n])}contentEditorSetTextBlockSelectionRange(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockSelectionRange",[e,t,n,o,r])}contentEditorTextBlockUndo(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockUndo",[e,t])}contentEditorTextBlockRedo(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockRedo",[e,t])}contentEditorTextBlockRestore(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockRestore",[e,t,n])}contentEditorTextBlockApplyFormat(e,t,n,o){return this._sendRequest("contentEditorTextBlockApplyFormat",[e,t,n,o])}contentEditorGetAvailableFaces(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorGetAvailableFaces",[])}contentEditorSave(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSave",[e])}getOCGs(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getOCGs",[])}getOCGVisibilityState(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getOCGVisibilityState",[])}setOCGVisibilityState(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setOCGVisibilityState",[e])}recycle(){this._hasLoadedCertificates&&this.loadCertificates([]),this._hasOpenedDocument&&this.closeDocument(),this._isLoading||this._requests.forEach(((e,t)=>{this._requests.set(t,{resolve:u,reject:u})}))}destroy(){var e;this._loadPromise=null,null===(e=this.workerSpawner)||void 0===e||e.terminate()}_assertLoaded(){if(this._isLoading)throw new r.p2("CoreClient not yet initialized")}_assertDocumentOpen(){if(!this._hasOpenedDocument)throw new r.p2("This method can not be called since there is no open document. Have you run PSPDFKit.unload()?")}_sendRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,r.kG)(this.workerSpawner,"CoreClient has been destroyed");const n=this.workerSpawner;return new Promise(((o,r)=>{const i=this._assignId(),a=[...t].filter((e=>e instanceof ArrayBuffer));n.postMessage({id:i,action:e,args:t},a),this._requests=this._requests.set(i,{resolve:o,reject:r})}))}_assignId(){const e=this._nextRequestId;return this._nextRequestId=this._nextRequestId+1,e}}n(17375),n(97528);var p=n(56664);(0,p.Z)();class f{constructor(e){(0,o.Z)(this,"size",1),(0,o.Z)(this,"_freeObjects",[]),this._constructor=e}checkOut(){let e;return e=this._freeObjects.length>0?this._freeObjects.shift():new this._constructor,{object:e,checkIn:()=>{this._freeObjects.length>=this.size?e.destroy():(e.recycle(),this._freeObjects.push(e))}}}}var h=n(47167),m=n.n(h);const g=async function(){let e=new(m());return{setMessageHandler(t){(0,r.kG)(e,"Worker is null"),e.onmessage=t},postMessage(t,n){var o;null===(o=e)||void 0===o||o.postMessage(t,n)},terminate(){var t;null===(t=e)||void 0===t||t.terminate(),e=null}}};function v(){return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0}function y(){const e=E()[atob("cmVxdWlyZQ==")];return v()&&"undefined"!=typeof window&&window&&window.process&&window.process.type&&"function"==typeof e}function b(){let e;try{e=P("@electron/remote")}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;try{e=P("electron").remote}catch(e){(0,r.vU)(`Failed to load the remote module package. PSPDFKit for Web needs access to it in order to work in Electron.\n Please read our Electron guides to help you set it up: https://pspdfkit.com/getting-started/electron/\n ${t.message}\n ${e.message}`)}}return e}function w(){if(!v())return null;if(!y())return null;try{const e=P("fs"),t=b().app.getAppPath()+"/package.json";return JSON.parse(e.readFileSync(t).toString()).name}catch(e){throw new Error(`There was an error parsing this project's \`package.json\`: ${e.message}`)}}function S(){if(!v())return null;try{return`file://${b().app.getAppPath()}/node_modules/pspdfkit/dist/`}catch(e){return null}}function P(e){return(0,E()[atob("cmVxdWlyZQ==")])(e)}function E(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g}function x(e,t){return"string"==typeof e&&(null==t?void 0:t.startsWith("Maui_"))}},72852:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var o=n(47347);async function r(e){try{const t=await fetch(e).catch((t=>{throw new o.p2(`Error fetching dynamic fonts file ${e}. ${t}`)}));if(200!==t.status)throw new o.p2(`Error fetching dynamic fonts file ${e}. Status code: ${t.status}`);return await t.json().catch((t=>{throw new o.p2(`Error parsing dynamic fonts file ${e}. ${t}`)}))}catch(e){throw e}}},46797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(84121);class r{constructor(e){(0,o.Z)(this,"_subscriptions",new Set),this._state=e}getState(){return this._state}setState(e){this._state="function"==typeof e?e(this._state):e;for(const e of this._subscriptions)e(this._state)}subscribe(e){return this._subscriptions.add(e),()=>this.unsubscribe(e)}unsubscribe(e){this._subscriptions.delete(e)}}},75920:(e,t,n)=>{"use strict";n.d(t,{XV:()=>r,ZK:()=>a,a1:()=>o,cM:()=>i,um:()=>l,vU:()=>s});n(56664);function o(e){a(e)}function r(e,t,n){if(n)return o(`The API ${e} has been deprecated and will be removed in the next major release. Please use ${t} instead. Please go to https://pspdfkit.com/api/web/ for more informations`);o(`The function ${e} was deprecated and will be removed in future version. Please use ${t} instead.`)}function i(e){console.log(e)}function a(){console.warn(...arguments)}function s(e){console.error(e)}function l(){console.info(...arguments)}},87350:(e,t,n)=>{"use strict";n.d(t,{GO:()=>r,cO:()=>o});const o=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");function r(e){return Array.prototype.filter.call(e.querySelectorAll(o),(e=>!(e.inert||e.hasAttribute("inert")||"-1"===e.getAttribute("tabindex")||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))))}},47347:(e,t,n)=>{"use strict";n.d(t,{p2:()=>r,Rz:()=>s,GB:()=>p,Qo:()=>S,$O:()=>d,FE:()=>m,Tr:()=>i,XV:()=>h.XV,a1:()=>h.a1,vU:()=>h.vU,H7:()=>w,um:()=>h.um,kG:()=>a,PO:()=>l,AK:()=>c,cM:()=>h.cM,lH:()=>P,wp:()=>f,Ou:()=>b,ZK:()=>h.ZK});const o=function e(t){let n;return n=t instanceof Error?t:new Error(t),Object.setPrototypeOf(n,e.prototype),n};o.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const r=o;function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=>new o(""===e?t:`${e}: ${t}`)}function a(e,t){if(!e)throw new r(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}const s=e=>{throw new Error("")};function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){const t=new MessageChannel;try{t.port1.postMessage(e)}catch(e){return!1}return!0}const u={keys:[]};function d(e,t){var n;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;if(o={keys:null!=(null===(n=o)||void 0===n?void 0:n.keys)?o.keys:u.keys},Object.is(e,t))return[];let r=o.keys||[];if(0===r.length){r=[...new Set(Object.keys(e).concat(Object.keys(t)))]}const i=r.filter((n=>e[n]!==t[n]));return i.map((n=>({key:n,previous:e[n],current:t[n]})))}function p(e){return e.map((e=>{let{key:t,previous:n,current:o}=e;return`- ${t} was previously ${n}, but is now ${o}`})).join("\n")}function f(e){alert(e)}var h=n(75920);n(59271),n(87350),n(30667),n(46797);function m(){for(var e=arguments.length,t=new Array(e),n=0;nv(e,t)),t[0]);return o||null}const g=new WeakMap;function v(e,t){if(e&&t){const n=g.get(e)||new WeakMap;g.set(e,n);const o=n.get(t)||(n=>{y(e,n),y(t,n)});return n.set(t,o),o}return e||t}function y(e,t){"function"==typeof e?e(t):e.current=t}function b(e){a("object"==typeof e&&null!==e,"instantJSON must be an Object"),a("https://pspdfkit.com/instant-json/v1"===e.format,"instantJSON has an invalid format, please use 'https://pspdfkit.com/instant-json/v1");const{pdfId:t}=e;t&&a("object"==typeof t&&null!==t&&("string"==typeof t.permanent&&"string"==typeof t.changing||"string"!=typeof t.permanent&&"string"!=typeof t.changing),"instantJSON has an invalid pdfId"),a(void 0===e.skippedPdfObjectIds||Array.isArray(e.skippedPdfObjectIds),"instantJSON has invalid skippedPdfObjectIds"),a(void 0===e.annotations||Array.isArray(e.annotations)&&e.annotations.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid annotations"),a(void 0===e.formFieldValues||Array.isArray(e.formFieldValues)&&e.formFieldValues.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid form field values"),a(void 0===e.skippedPdfBookmarkIds||Array.isArray(e.skippedPdfBookmarkIds),"instantJSON has invalid skippedPdfBookmarkIds"),a(void 0===e.bookmarks||Array.isArray(e.bookmarks)&&e.bookmarks.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid bookmarks")}function w(e){const t={};return Object.keys(e).forEach((n=>{Array.isArray(e[n])?t[n]=e[n].filter(Boolean):"object"==typeof e[n]&&null!==e[n]?t[n]=w(e[n]):t[n]=e[n]})),t}function S(e,t){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(e.x,e.y);if("caretPositionFromPoint"in t&&"function"==typeof t.caretPositionFromPoint){const n=t.caretPositionFromPoint(e.x,e.y),o=t.createRange();return o.setStart(n.offsetNode,n.offset),o.setEnd(n.offsetNode,n.offset),o}}function P(e){return null!=e}},59271:(e,t,n)=>{"use strict";function o(e){return"true"===e.contentEditable||"INPUT"===e.tagName||"TEXTAREA"===e.tagName}n.d(t,{c:()=>o})},30667:(e,t,n)=>{"use strict";n.d(t,{AV:()=>v,Cp:()=>o,E$:()=>l,MS:()=>p,OC:()=>w,P9:()=>f,b8:()=>i,bs:()=>b,cS:()=>g,d2:()=>y,gs:()=>m,gx:()=>s,iT:()=>a,j4:()=>r,rw:()=>h,tW:()=>u,wG:()=>d,zz:()=>c});const o=48,r=70,i=71,a=80,s=90,l=13,c=27,u=32,d=34,p=33,f=37,h=38,m=39,g=40,v=187,y=189,b=8,w=9},25915:(e,t,n)=>{"use strict";n.d(t,{HJ:()=>$t,zx:()=>p,hE:()=>f,qe:()=>ht,M5:()=>vt,bK:()=>zn,FE:()=>Kt,ub:()=>mr,N9:()=>hr,nB:()=>gr,D:()=>er,Hp:()=>lr,F0:()=>Gt,w6:()=>Vt,z:()=>kn,QO:()=>gn,u_:()=>dn,Ex:()=>bn,Ee:()=>Rn,xv:()=>Cn,oi:()=>Fn,TX:()=>nn,ri:()=>o});var o={};n.r(o),n.d(o,{applyStyle:()=>qo,cssStringToObject:()=>xo,deserialize:()=>Po,escapeHtml:()=>bo,getComputedStyleAll:()=>Zo,getInnerHTML:()=>Io,getLastNCharacters:()=>_o,getSelectedNodesColor:()=>Uo,getStyleString:()=>Do,getText:()=>Oo,getWrapperTags:()=>To,isAtStartOfWordOrText:()=>No,isMarkActive:()=>Co,isRangeSelected:()=>Mo,isSelectionUnderlined:()=>Ho,parseHTML:()=>Ao,prepareHTML:()=>Fo,serialize:()=>Eo,setStyleOrToggleFormat:()=>jo,toHex:()=>zo,toggleMark:()=>ko,unwrapNode:()=>Wo,wrapNode:()=>Go});var r=n(22122),i=n(17375),a=n(67294),s=n(9327),l=n.n(s),c=n(38996),u=n.n(c);const d=["className","disabled","inverted","primary","danger","type"],p=e=>{const{className:t,disabled:n,inverted:o,primary:s,danger:c,type:p}=e,f=(0,i.Z)(e,d),h=l()({[u().general]:!0,[u().default]:!s,[u().primary]:s,[u().danger]:c,[u().disabled]:n,[u().inverted]:!n&&o},t);return a.createElement("button",(0,r.Z)({},f,{className:h,disabled:n,type:p||"button"}))},f=e=>{const{className:t,children:n,align:o,style:r}=e;let i=null;return a.createElement("div",{className:l()(u().group,"start"===o&&u().groupAlignStart,"end"===o&&u().groupAlignEnd,t),style:r},a.Children.map(n,(e=>e?i?(i=e,a.createElement(a.Fragment,null,a.createElement("div",{className:u().groupSpacer}),e)):(i=e,e):null)))};function h(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function m(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function g(e){m(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function v(e,t){m(2,arguments);var n=g(e).getTime(),o=h(t);return new Date(n+o)}function y(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}Math.pow(10,8);function b(e){m(1,arguments);var t=g(e);return!isNaN(t)}var w={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function S(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var P={date:S({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:S({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:S({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var E={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function x(e){return function(t,n){var o,r=n||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=r.width?String(r.width):e.defaultWidth;o=e.values[l]||e.values[s]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function D(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a,s=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?k(l,(function(e){return e.test(s)})):C(l,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var u=t.slice(s.length);return{value:a,rest:u}}}function C(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function k(e,t){for(var n=0;n0?"in "+o:o+" ago":o},formatLong:P,formatRelative:function(e,t,n,o){return E[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:x({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:x({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:x({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:x({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:x({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(O={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(O.matchPattern);if(!n)return null;var o=n[0],r=e.match(O.parsePattern);if(!r)return null;var i=O.valueCallback?O.valueCallback(r[0]):r[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(o.length);return{value:i,rest:a}}),era:D({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:D({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:D({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:D({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:D({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function T(e,t){m(2,arguments);var n=h(t);return v(e,-n)}function I(e,t){for(var n=e<0?"-":"",o=Math.abs(e).toString();o.length0?n:1-n;return I("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):I(n+1,2)},d:function(e,t){return I(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return I(e.getUTCHours()%12||12,t.length)},H:function(e,t){return I(e.getUTCHours(),t.length)},m:function(e,t){return I(e.getUTCMinutes(),t.length)},s:function(e,t){return I(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds();return I(Math.floor(o*Math.pow(10,n-3)),t.length)}};const M=F;var _=864e5;function N(e){m(1,arguments);var t=1,n=g(e),o=n.getUTCDay(),r=(o=r.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function L(e){m(1,arguments);var t=R(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var o=N(n);return o}var B=6048e5;function j(e){m(1,arguments);var t=g(e),n=N(t).getTime()-L(t).getTime();return Math.round(n/B)+1}function z(e,t){m(1,arguments);var n=t||{},o=n.locale,r=o&&o.options&&o.options.weekStartsOn,i=null==r?0:h(r),a=null==n.weekStartsOn?i:h(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=g(e),l=s.getUTCDay(),c=(l=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(o+1,0,l),c.setUTCHours(0,0,0,0);var u=z(c,t),d=new Date(0);d.setUTCFullYear(o,0,l),d.setUTCHours(0,0,0,0);var p=z(d,t);return n.getTime()>=u.getTime()?o+1:n.getTime()>=p.getTime()?o:o-1}function Z(e,t){m(1,arguments);var n=t||{},o=n.locale,r=o&&o.options&&o.options.firstWeekContainsDate,i=null==r?1:h(r),a=null==n.firstWeekContainsDate?i:h(n.firstWeekContainsDate),s=K(e,t),l=new Date(0);l.setUTCFullYear(s,0,a),l.setUTCHours(0,0,0,0);var c=z(l,t);return c}var U=6048e5;function V(e,t){m(1,arguments);var n=g(e),o=z(n,t).getTime()-Z(n,t).getTime();return Math.round(o/U)+1}var G="midnight",W="noon",q="morning",H="afternoon",$="evening",X="night",Y={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var o=e.getUTCFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return M.y(e,t)},Y:function(e,t,n,o){var r=K(e,o),i=r>0?r:1-r;return"YY"===t?I(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):I(i,t.length)},R:function(e,t){return I(R(e),t.length)},u:function(e,t){return I(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return I(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return I(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){var o=e.getUTCMonth();switch(t){case"M":case"MM":return M.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return I(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var r=V(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):I(r,t.length)},I:function(e,t,n){var o=j(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):I(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):M.d(e,t)},D:function(e,t,n){var o=function(e){m(1,arguments);var t=g(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var o=t.getTime(),r=n-o;return Math.floor(r/_)+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):I(o,t.length)},E:function(e,t,n){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return I(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return I(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var o=e.getUTCDay(),r=0===o?7:o;switch(t){case"i":return String(r);case"ii":return I(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,r=e.getUTCHours();switch(o=12===r?W:0===r?G:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,r=e.getUTCHours();switch(o=r>=17?$:r>=12?H:r>=4?q:X,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var o=e.getUTCHours()%12;return 0===o&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return M.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):M.H(e,t)},K:function(e,t,n){var o=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):I(o,t.length)},k:function(e,t,n){var o=e.getUTCHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):I(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):M.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):M.s(e,t)},S:function(e,t){return M.S(e,t)},X:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Q(r);case"XXXX":case"XX":return ee(r);default:return ee(r,":")}},x:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"x":return Q(r);case"xxxx":case"xx":return ee(r);default:return ee(r,":")}},O:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+J(r,":");default:return"GMT"+ee(r,":")}},z:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+J(r,":");default:return"GMT"+ee(r,":")}},t:function(e,t,n,o){var r=o._originalDate||e;return I(Math.floor(r.getTime()/1e3),t.length)},T:function(e,t,n,o){return I((o._originalDate||e).getTime(),t.length)}};function J(e,t){var n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),i=o%60;if(0===i)return n+String(r);var a=t||"";return n+String(r)+a+I(i,2)}function Q(e,t){return e%60==0?(e>0?"-":"+")+I(Math.abs(e)/60,2):ee(e,t)}function ee(e,t){var n=t||"",o=e>0?"-":"+",r=Math.abs(e);return o+I(Math.floor(r/60),2)+n+I(r%60,2)}const te=Y;function ne(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function oe(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var re={p:oe,P:function(e,t){var n,o=e.match(/(P+)(p+)?/),r=o[1],i=o[2];if(!i)return ne(e,t);switch(r){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ne(r,t)).replace("{{time}}",oe(i,t))}};const ie=re;var ae=["D","DD"],se=["YY","YYYY"];function le(e){return-1!==ae.indexOf(e)}function ce(e){return-1!==se.indexOf(e)}function ue(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var de=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fe=/^'([^]*?)'?$/,he=/''/g,me=/[a-zA-Z]/;function ge(e,t,n){m(2,arguments);var o=String(t),r=n||{},i=r.locale||A,a=i.options&&i.options.firstWeekContainsDate,s=null==a?1:h(a),l=null==r.firstWeekContainsDate?s:h(r.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=i.options&&i.options.weekStartsOn,u=null==c?0:h(c),d=null==r.weekStartsOn?u:h(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var p=g(e);if(!b(p))throw new RangeError("Invalid time value");var f=y(p),v=T(p,f),w={firstWeekContainsDate:l,weekStartsOn:d,locale:i,_originalDate:p},S=o.match(pe).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,i.formatLong,w):e})).join("").match(de).map((function(n){if("''"===n)return"'";var o=n[0];if("'"===o)return ve(n);var a=te[o];if(a)return!r.useAdditionalWeekYearTokens&&ce(n)&&ue(n,t,e),!r.useAdditionalDayOfYearTokens&&le(n)&&ue(n,t,e),a(v,n,i.localize,w);if(o.match(me))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n})).join("");return S}function ve(e){return e.match(fe)[1].replace(he,"'")}function ye(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function be(e,t,n){m(2,arguments);var o=n||{},r=o.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:h(i),s=null==o.weekStartsOn?a:h(o.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=g(e),c=h(t),u=l.getUTCDay(),d=c%7,p=(d+7)%7,f=(p0,r=o?t:1-t;if(r<=50)n=e||100;else{var i=r+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return o?n:1-n}var Ye=[31,28,31,30,31,30,31,31,30,31,30,31],Je=[31,29,31,30,31,30,31,31,30,31,30,31];function Qe(e){return e%400==0||e%4==0&&e%100!=0}var et={G:{priority:140,parse:function(e,t,n,o){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,o){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return qe(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return qe(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=Xe(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return qe(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return qe(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=K(e,o);if(n.isTwoDigitYear){var i=Xe(n.year,r);return e.setUTCFullYear(i,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),z(e,o)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),z(e,o)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,o){return He("R"===t?4:t.length,e)},set:function(e,t,n,o){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),N(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,o){return He("u"===t?4:t.length,e)},set:function(e,t,n,o){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,o){switch(t){case"Q":case"QQ":return qe(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,o){switch(t){case"q":case"qq":return qe(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"M":return Ve(we,e,r);case"MM":return qe(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"L":return Ve(we,e,r);case"LL":return qe(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,o){switch(t){case"w":return Ve(Ee,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return z(function(e,t,n){m(2,arguments);var o=g(e),r=h(t),i=V(o,n)-r;return o.setUTCDate(o.getUTCDate()-7*i),o}(e,n,o),o)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,o){switch(t){case"I":return Ve(Ee,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return N(function(e,t){m(2,arguments);var n=g(e),o=h(t),r=j(n)-o;return n.setUTCDate(n.getUTCDate()-7*r),n}(e,n,o),o)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"d":return Ve(Se,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return qe(t.length,e)}},validate:function(e,t,n){var o=Qe(e.getUTCFullYear()),r=e.getUTCMonth();return o?t>=1&&t<=Je[r]:t>=1&&t<=Ye[r]},set:function(e,t,n,o){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"D":case"DD":return Ve(Pe,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return qe(t.length,e)}},validate:function(e,t,n){return Qe(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,o){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,o){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return qe(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return qe(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,o){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return qe(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,o){return e=function(e,t){m(2,arguments);var n=h(t);n%7==0&&(n-=7);var o=1,r=g(e),i=r.getUTCDay(),a=((n%7+7)%7=1&&t<=12},set:function(e,t,n,o){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,o){switch(t){case"H":return Ve(xe,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,o){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,o){switch(t){case"K":return Ve(Ce,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,o){switch(t){case"k":return Ve(De,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,o){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,o){switch(t){case"m":return Ve(Oe,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,o){switch(t){case"s":return Ve(Ae,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,o){return qe(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,o){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,o){switch(t){case"X":return Ge(je,e);case"XX":return Ge(ze,e);case"XXXX":return Ge(Ke,e);case"XXXXX":return Ge(Ue,e);default:return Ge(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,o){switch(t){case"x":return Ge(je,e);case"xx":return Ge(ze,e);case"xxxx":return Ge(Ke,e);case"xxxxx":return Ge(Ue,e);default:return Ge(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,o){return We(e)},set:function(e,t,n,o){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,o){return We(e)},set:function(e,t,n,o){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};const tt=et;var nt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ot=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rt=/^'([^]*?)'?$/,it=/''/g,at=/\S/,st=/[a-zA-Z]/;function lt(e,t,n,o){m(3,arguments);var r=String(e),i=String(t),a=o||{},s=a.locale||A;if(!s.match)throw new RangeError("locale must contain match property");var l=s.options&&s.options.firstWeekContainsDate,c=null==l?1:h(l),u=null==a.firstWeekContainsDate?c:h(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=s.options&&s.options.weekStartsOn,p=null==d?0:h(d),f=null==a.weekStartsOn?p:h(a.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===i)return""===r?g(n):new Date(NaN);var v,b={firstWeekContainsDate:u,weekStartsOn:f,locale:s},w=[{priority:10,subPriority:-1,set:ct,index:0}],S=i.match(ot).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,s.formatLong,b):e})).join("").match(nt),P=[];for(v=0;v0&&at.test(r))return new Date(NaN);var M=w.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return w.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),_=g(n);if(isNaN(_))return new Date(NaN);var N=T(_,y(_)),R={};for(v=0;v{const n=a.useRef(null),o=a.useRef(null),[r,i]=a.useState(!1);a.useImperativeHandle(t,(()=>n.current));const s=e.format.split("").map((e=>{switch(e){case"m":return"M";case"M":return"m"}return e})).join(""),c=ft.i7||ft.TL||"date"===e.type,u=t=>{const r=n.current,a=o.current;if(!r)return;const s=r.ownerDocument.activeElement;s!==r&&s!==a&&(e.onBlur&&e.onBlur(t),i(!1))},d=t=>{!r&&e.onFocus&&(e.onFocus(t),i(!0)),i(!0)},p=()=>{switch(e.type){case"date":return"yyyy-MM-dd";case"time":return"HH:mm";case"datetime-local":return"yyyy-MM-dd'T'HH:mm"}};return a.createElement("div",{className:pt().wrapper},a.createElement("input",{"data-testid":"input",ref:n,name:e.name,value:e.value,style:e.style,className:l()(pt().input,e.className,"PSPDFKit-Annotation-Widget-Date-Input"),type:"text",disabled:e.disabled,maxLength:e.maxLength,placeholder:e.format,required:e.required,onChange:t=>{const r=n.current,i=o.current;if(r){const n=lt(r.value,s,new Date);!0===b(n)&&i&&(i.value=ge(n,p())),e.onChange&&e.onChange(t)}},onBlur:u,onFocus:d}),c?a.createElement("div",{style:{opacity:r?1:0},className:pt().pickerWidget},a.createElement("input",{"data-testid":"picker",ref:o,className:pt().picker,type:e.type,onChange:t=>{const r=n.current,i=o.current;if(r&&i){var a;const n=lt(i.value,p(),new Date);b(n)&&i&&(r.value=ge(n,s)),null===(a=e.onChange)||void 0===a||a.call(e,t)}},onBlur:u,onFocus:d})):null)}));ht.defaultProps={};var mt=n(81585),gt=n.n(mt);function vt(e){let{children:t,className:n}=e;return a.createElement("div",{className:l()(gt().center,n)},t)}var yt=n(84121),bt=n(79153),wt=n(71634),St=n(35369),Pt=n(12459),Et=n.n(Pt);const xt=e=>{const{onDragOver:t}=e,[,n]=(0,bt.c0)({type:Dt,item:()=>(e.onDragStart&&e.onDragStart(e.index),{id:e.index,type:Dt}),canDrag:()=>e.draggable||!1,end:()=>{e.onDragEnd&&e.onDragEnd()}}),[,o]=(0,bt.LW)({accept:Dt,hover:(n,o)=>{t&&t(e.index,o.getClientOffset())}});return a.createElement("div",{"data-id":e.index,ref:o},a.createElement("div",{ref:n,className:Et().item},a.createElement("div",{className:Et().content},e.children)))},Dt="ITEM",Ct=e=>{const{renderItem:t}=e,{item:n,isDragging:o,currentOffset:r}=(0,bt.f$)((e=>({item:e.getItem(),currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging()}))),i=a.useMemo((()=>o?a.createElement(xt,{index:n.id},t(n.id)):null),[o,n,t]);if(!o||!r)return null;const{x:s,y:l}=r;return a.createElement("div",{className:Et().dragPreview},a.createElement("div",{style:{transform:`translate(${s}px, ${l}px)`}},i))};var kt=n(34855);function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function At(e){for(var t=1;t{const{scrollY:t=0,onViewportChange:n,initialForcedScrollY:o}=e,[r,i]=a.useState(null),[s,l]=a.useState({height:0,width:0,scrollY:0}),c=a.useRef(null),u=a.useRef(null),d=a.useRef(0);a.useLayoutEffect((()=>{r&&(r.scrollTop=t)}),[r,t]),a.useLayoutEffect((()=>{r&&"number"==typeof o&&(r.scrollTop=o)}),[r,o]);const{currentOffset:p,isDragging:f}=(0,bt.f$)((e=>({isDragging:e.isDragging(),currentOffset:e.getClientOffset()}))),h=a.useCallback((()=>{const{clientWidth:e=0,clientHeight:t=0}=r||{},n=e||0,o=t||0;n===s.width&&o===s.height||l(At(At({},s),{},{width:n||0,height:o||0}))}),[r,s]),m=a.useCallback((e=>{const t=e.currentTarget.scrollTop,n=At(At({},s),{},{scrollY:t});s.scrollY!==t&&l(n)}),[s]);a.useLayoutEffect((()=>{n(s)}),[n,s]),a.useEffect((()=>{c.current=null==r?void 0:r.getBoundingClientRect(),h()}),[r,h]);const g=a.useCallback((()=>{clearInterval(u.current),u.current=null}),[]),v=a.useCallback((e=>{g(),r&&d.current!==e&&(g(),u.current=setInterval((()=>{r.scrollBy(0,e)}),Nt),d.current=e)}),[r,g]);a.useEffect((()=>{if(!c.current||!p)return void g();const{height:e}=c.current,t=p.ye-It,o=p.y,r=e-p.y,i=Ft+(It-(t?o:r))/It*(Mt-Ft);!u.current||t||n?t?v(-_t*i):n&&v(_t*i):g()}),[p,v,g]);const y={position:"relative",width:"100%",height:"100%",overflowX:"hidden",overflowY:f&&(0,ft.b1)()?"hidden":"scroll"},b=a.useRef(null);return a.useEffect((()=>{var e;b.current&&(null===(e=b.current)||void 0===e||e.focus({preventScroll:!0}))})),a.createElement("div",{"data-testid":"scroll",ref:e=>i(e),style:y,onScroll:m},a.createElement(kt.Z,{onResize:h}),r?e.renderContent(s,b):null)},It=50,Ft=.5,Mt=1,_t=10,Nt=1;var Rt=n(47347);class Lt{constructor(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;(0,yt.Z)(this,"itemWidth",0),(0,yt.Z)(this,"itemHeight",0),(0,yt.Z)(this,"itemPaddingLeft",0),(0,yt.Z)(this,"itemPaddingRight",0),(0,yt.Z)(this,"totalItems",0),(0,Rt.kG)(e>0,"You must provide an item width of greater than 0"),(0,Rt.kG)(t>0,"You must provide an item height of greater than 0"),(0,Rt.kG)(o>=0,"Padding must be greater than 0"),(0,Rt.kG)(r>=0,"Padding must be greater than 0"),this.itemWidth=e,this.itemHeight=t,this.totalItems=n,this.itemPaddingLeft=o,this.itemPaddingRight=r}contentHeight(e){const t=this.itemsPerRow(e);return Math.ceil(this.totalItems/t)*this.itemHeight}itemsPerRow(e){return Math.max(Math.floor(e.width/this.itemWidth),1)}layoutAttributesForItemsIn(e){const{scrollY:t,height:n}=e,o=this.itemsPerRow(e),r=Math.ceil(this.totalItems/o),i=t?Math.floor(t/this.itemHeight):0,a=Math.ceil(n/this.itemHeight),s=Math.max(i-Bt,0),l=Math.min(i+a+Bt,r),c=[];for(let t=s*o;t{var t;const{draggingEnabled:n=!1,totalItems:o,itemHeight:r,itemWidth:i,itemPaddingLeft:s,itemPaddingRight:l,selectedItemIndexes:c=(0,St.l4)(),canInsert:u,renderDragPreview:d,renderInsertionCursor:p,focusedItemIndex:f}=e,[h,m]=a.useState(null),g=a.useRef(null),v=a.useRef(null),y=a.useRef(null),[b,w]=a.useState((0,St.l4)([])),S=new Lt(i,r,o,s,l),[P,E]=a.useState(0);a.useLayoutEffect((()=>{0!==c.size&&(e=>{const t=v.current;if(0===e.size)return;if(!t)return;const n=t.height+t.scrollY,o=e=>{const o=e.top+e.height/2;return o>t.scrollY&&oe.has(t.index)));if(r.filter(o).length>0)return;let i=r.filter((e=>!o(e)));0===i.length&&(i=e.map((e=>S.layoutAttributeForItemAt(t,e))).toArray()),i=i.sort(((e,t)=>e.index-t.index));const a=i[0];v.current=zt(zt({},t),{},{scrollY:a.top}),E(a.top)})(c)}),[c]);const x=e=>{e.preventDefault()},D=e=>c.has(e)||!1,C=()=>{g.current=null,y.current=null,w((0,St.l4)([]))},k=a.useCallback(((e,t)=>{const n=g.current;if(h&&t)if(null===n||n.index!==e){const t=h.querySelector(`[data-id="${e}"]`),n=null==t?void 0:t.getBoundingClientRect();if(!n)return void(g.current=null);g.current={index:e,bounds:n}}else{const r=n.bounds.left+n.bounds.width/2,i=t.x{const t=D(e);w(t?(0,St.l4)(c):(0,St.l4)([e]))},A=()=>{const t=y.current;if(null!==t){const n=Array.from(b);if(b.has(t))return void T();e.onDragEnd&&e.onDragEnd(n,t)}C()},T=()=>{requestAnimationFrame((()=>C()))},I=t=>{if(d)return d(t,Array.from(b));{const n={selected:!1,dragging:!1};return e.renderItem(t,n)}},F=e=>{v.current=e},M=(t,n)=>{if(!p)return null;const o=null!==y.current?y.current:e.insertionIndex;if(null==o)return;const r=t.layoutAttributeForInsertionCursor(n,g.current?g.current.index:null,o),i={position:"absolute",width:r.width,height:r.height,left:r.left,top:r.top,zIndex:100},s=(e=>!u||u(b.isEmpty()&&c?Array.from(c):Array.from(b),e))(r.index);return a.createElement("div",{style:i},p(s,!!r.atRowEnd))},_=(t,s)=>{const l=S.layoutAttributesForItemsIn(t);let c=!1;if(l.length>0){const e=l[0].index,t=l[l.length-1].index;c=null!=f&&(ft)}const u=l.map(((t,u)=>{const{index:d}=t,p={position:"absolute",left:t.left,top:t.top,width:t.width,height:t.height},f=u===Math.floor(l.length/2)&&c;return a.createElement("div",{key:e.itemKey?e.itemKey(d):d,style:p},((t,s)=>{const l={selected:D(t),dragging:b.has(t),itemRef:s},c=!(tm(e)},(()=>{var n;if(!h)return null;const o={enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:h.ownerDocument},r={width:e.width,height:e.height};return a.createElement(bt.WG,{backend:wt.TouchBackend,options:o},a.createElement("div",{className:Et().container,onContextMenu:x,style:r},t||(t=a.createElement(Ct,{renderItem:I})),a.createElement(Tt,{onViewportChange:F,renderContent:_,scrollY:(null===(n=v.current)||void 0===n?void 0:n.scrollY)||0,initialForcedScrollY:P})))})())};var Zt=n(68402),Ut=n.n(Zt);const Vt=e=>{const{children:t,onPress:n,expanded:o,ariaControls:r,className:i,headingRef:s}=e,c=e.headingTag;return a.createElement(c,{className:l()("PSPDFKit-Expando-Control",Ut().control,i),ref:s},a.createElement("button",{className:Ut().controlButton,"aria-expanded":r?o:void 0,"aria-controls":r,onClick:n,autoFocus:e.autoFocus},t))};Vt.defaultProps={headingTag:"div"};const Gt=e=>{const{children:t,expanded:n,id:o}=e;return a.createElement("div",{id:o,className:l()("PSPDFKit-Expando-Content",!n&&Ut().contentHidden,!n&&"PSPDFKit-Expando-Content-Hidden")},t)};var Wt=n(59271),qt=n(30667),Ht=n(87350);class $t extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"rootRef",a.createRef()),(0,yt.Z)(this,"activeItem",a.createRef()),(0,yt.Z)(this,"state",{activeItemIndex:0,focusReason:"initial"}),(0,yt.Z)(this,"didSetActiveItem",!1),(0,yt.Z)(this,"onActiveItemIndexChange",(()=>{this.props.onActiveItemIndexChange&&this.props.onActiveItemIndexChange(this.state.activeItemIndex)})),(0,yt.Z)(this,"onKeyDown",(e=>{var t;const{ignoreOnKeyPress:n}=this.props;if("function"==typeof n?n(e):e.altKey||e.shiftKey)return;const o=null===(t=e.currentTarget.ownerDocument.defaultView)||void 0===t?void 0:t.HTMLElement;if(!(e.target instanceof o)||(0,Wt.c)(e.target))return;const{activeItemIndex:r}=this.state,i=e.ctrlKey||e.metaKey;if(e.which===this.props.prevKey&&r>0&&this.setState({activeItemIndex:i?0:r-1,focusReason:"keyboard"},this.onActiveItemIndexChange),e.which===this.props.nextKey){const e=this.props.items.length-1;r{const t=e.target!==e.currentTarget;let n=this.state.activeItemIndex;const o=e.currentTarget,r=o&&o.parentNode&&o.parentNode.children?Array.prototype.findIndex.call(o.parentNode.children,(e=>e===o)):-1;-1!==r&&(n=r),this.setState({activeItemIndex:n,focusReason:t?"focus_within":"focus"},this.onActiveItemIndexChange)}))}setActiveItem(e){this.didSetActiveItem=!0,this.setState({activeItemIndex:e,focusReason:"focus"})}getActiveItem(){return this.state.activeItemIndex}componentDidMount(){Xt(this.rootRef.current,this.activeItem.current),this.onActiveItemIndexChange()}componentDidUpdate(e,t){(this.didSetActiveItem||e.items.length!==this.props.items.length||t.activeItemIndex!==this.state.activeItemIndex)&&(this.didSetActiveItem=!1,Xt(this.rootRef.current,this.activeItem.current),"focus_within"!==this.state.focusReason&&function(e){if(!e)return;const t=e.children,n=t[0],o=n.matches||n.msMatchesSelector;1===t.length&&o.call(n,Ht.cO)?(e.removeAttribute("tabindex"),n.focus()):e.focus()}(this.activeItem.current))}render(){if("function"==typeof this.props.children){let e=!1,t=!1;const n=this.props.children({activeItemIndex:this.state.activeItemIndex,getContainerProps:()=>(e=!0,{onKeyDown:this.onKeyDown,ref:this.rootRef}),getItemProps:e=>{let{item:n}=e;(0,Rt.kG)(n,"getItemProps must be called with `{ item }`");const o=this.props.items.findIndex((e=>e===n));(0,Rt.kG)(o>-1,"getItemPropsL: Cannot find `item` in `props.items`");const r=o===this.state.activeItemIndex;return t=!0,{tabIndex:r?0:-1,ref:r?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Ht.cO)||this.setState({activeItemIndex:o,focusReason:"focus"},this.onActiveItemIndexChange)}}}});return(0,Rt.kG)(n,"Did not return valid children"),(0,Rt.kG)(e,"Did not call getContainerProps"),(0,Rt.kG)(t,"Did not call getItemProps"),n}return a.createElement("div",{onKeyDown:this.onKeyDown,ref:this.rootRef,"data-testid":"accessible-collection"},this.props.items.map(((e,t)=>{const n=t===this.state.activeItemIndex;return a.createElement("div",{key:t,tabIndex:n?0:-1,ref:n?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Ht.cO)||this.setState({activeItemIndex:t,focusReason:"focus"},this.onActiveItemIndexChange)}},e)})))}}function Xt(e,t){if(!e||!t)return;(0,Ht.GO)(e).forEach((t=>{t.parentNode!==e&&t.setAttribute("tabindex","-1")})),Array.prototype.forEach.call(t.querySelectorAll('[tabindex="-1"]'),(e=>{e.removeAttribute("tabindex")}))}(0,yt.Z)($t,"defaultProps",{prevKey:qt.rw,nextKey:qt.cS,ignoreOnKeyPress:null});var Yt=n(67665),Jt=n(19575),Qt=n(21246),en=n.n(Qt);const tn=["className","tag","announce"],nn=a.forwardRef((function(e,t){const{className:n,tag:o,announce:s}=e,c=(0,i.Z)(e,tn),u=s?{role:"status","aria-live":s}:{};return a.createElement(o||"p",(0,r.Z)({},c,{ref:t,className:l()(en().visuallyHidden,n)},u))}));class on extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"_handleRef",(e=>{this._el=e,this._document=e?e.ownerDocument:null})),(0,yt.Z)(this,"_handleKeyDown",(e=>{const t=this._el,n=this._document;if(e.keyCode===qt.OC&&t&&n){const o=(0,Ht.GO)(t),r=o.indexOf(n.activeElement);e.shiftKey&&0===r?(o[o.length-1].focus(),e.preventDefault()):e.shiftKey||r!==o.length-1||(o[0].focus(),e.preventDefault())}}))}componentDidMount(){this._document&&this._document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keydown",this._handleKeyDown);const e=this._el;if(e&&!e.querySelector('[autofocus]:not([autofocus="false"])')){const t=(0,Ht.GO)(e)[0]||e.querySelector('[tabindex="-1"]');t&&t.focus()}}componentWillUnmount(){this._document&&this._document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keydown",this._handleKeyDown)}render(){return a.createElement("div",{ref:this._handleRef},this.props.children)}}var rn=n(48721),an=n.n(rn);const sn=["children","className","spaced"],ln=["className","spaced"],cn=[];function un(){const e=cn.length-1;cn.forEach(((t,n)=>{t.setState({isOnTop:n==e})}))}class dn extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"descriptionId",this.props.accessibilityDescription?`modal-description-${Jt.Base64.encode(this.props.accessibilityDescription).substr(0,10)}`:null),(0,yt.Z)(this,"restoreOnCloseElement",this.props.restoreOnCloseElement),(0,yt.Z)(this,"useBorderRadius",!1!==this.props.useBorderRadius),(0,yt.Z)(this,"state",{isShaking:!1,isOnTop:!0}),(0,yt.Z)(this,"_preventPropagation",(e=>{e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()})),(0,yt.Z)(this,"_handleClick",(()=>{this.props.onDismiss&&this.props.onDismiss()})),(0,yt.Z)(this,"onMount",(e=>{0===cn.length&&e.setAttribute("aria-hidden","true"),cn.push(this),un()})),(0,yt.Z)(this,"onUnmount",(e=>{cn.pop(),0===cn.length&&e.removeAttribute("aria-hidden"),un(),this.restoreOnCloseElement&&this.restoreOnCloseElement.focus()})),(0,yt.Z)(this,"_handleKeyDown",(e=>{e.keyCode!==qt.E$&&e.keyCode!==qt.tW||e.nativeEvent.stopImmediatePropagation(),this.props.onEscape&&e.keyCode===qt.zz&&(this.props.onEscape(),e.preventDefault(),e.target.ownerDocument.addEventListener("keyup",this._preventPropagation,{capture:!0,once:!0})),this.props.onEnter&&e.keyCode===qt.E$&&(this.props.onEnter(),e.preventDefault())})),(0,yt.Z)(this,"_handleAnimationEnd",(()=>{this.setState({isShaking:!1})}))}shake(){this.setState({isShaking:!0})}componentDidMount(){this.props.innerRef&&(this.props.innerRef.current=this)}componentWillUnmount(){this.props.innerRef&&(this.props.innerRef.current=null)}render(){var e,t;const{isShaking:n,isOnTop:o}=this.state,{className:r,backdropFixed:i}=this.props,s=o?on:a.Fragment,c={position:i?"fixed":"absolute"};return a.createElement(Yt.m,{onMount:this.onMount,onUnmount:this.onUnmount},a.createElement("div",{"aria-hidden":!o},a.createElement(s,null,a.createElement("div",{className:l()(an().backdropContainer,"PSPDFKit-Modal-Backdrop"),style:c,onClick:this._handleClick,onKeyDown:o?this._handleKeyDown:void 0},a.createElement("div",{role:this.props.role,"aria-label":this.props.accessibilityLabel,"aria-describedby":this.props.accessibilityDescription&&null!==(e=this.descriptionId)&&void 0!==e?e:void 0,className:l()(an().dialog,r,"PSPDFKit-Modal-Dialog",{[an().shaking]:n,[an().squareCorners]:!this.useBorderRadius}),onTouchEndCapture:this._preventPropagation,onMouseUpCapture:this._preventPropagation,onPointerUpCapture:this._preventPropagation,onKeyUpCapture:this._preventPropagation,onAnimationEnd:this._handleAnimationEnd,tabIndex:-1},this.props.children,this.props.accessibilityDescription&&a.createElement(nn,{id:null!==(t=this.descriptionId)&&void 0!==t?t:void 0},this.props.accessibilityDescription))))))}}function pn(e){const{children:t,className:n,spaced:o}=e,s=(0,i.Z)(e,sn),c=l()(an().section,o&&an().sectionSpaced,o&&"PSPDFKit-Modal-Section-Spaced",n,"PSPDFKit-Modal-Section");return a.createElement("div",(0,r.Z)({},s,{className:c}),t)}function fn(e){const{className:t,spaced:n}=e,o=(0,i.Z)(e,ln),s=l()(an().divider,n&&an().dividerSpaced,n&&"PSPDFKit-Modal-Divider-Spaced",t,"PSPDFKit-Modal-Divider");return a.createElement("div",(0,r.Z)({},o,{className:s}))}(0,yt.Z)(dn,"Section",pn),(0,yt.Z)(dn,"Divider",fn),(0,yt.Z)(dn,"defaultProps",{role:"dialog"}),pn.displayName="Modal.Section",pn.defaultProps={spaced:!1},fn.displayName="Modal.Divider",fn.defaultProps={spaced:!0};var hn=n(45265),mn=n.n(hn);const gn=a.forwardRef((function(e,t){const n=a.useRef(null);return a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const e=n.current;return null==e||e.showModal(),()=>{null==e||e.close()}}),[]),a.createElement("dialog",{ref:n,className:l()("PSPDFKit-Modal-Backdrop",mn().wrapper,e.wrapperClass),onClose:e.onDismiss},a.createElement("form",{method:"dialog",className:e.formClass},e.children))}));var vn=n(41707),yn=n.n(vn);const bn=e=>{let{message:t,progress:n,style:o}=e;if(n){const e=Math.floor(100*n);return a.createElement("div",{className:l()("PSPDFKit-Progress",yn().progress),style:o,role:"progressbar","aria-valuenow":e,"aria-label":`${e}% complete`},a.createElement("div",{className:yn().progressBar},a.createElement("div",{className:yn().progressFill,style:{width:`${e}%`}})),t?a.createElement("div",{className:yn().progressText},t):null)}return a.createElement("div",{className:l()("PSPDFKit-Progress",yn().loader),style:o,role:"progressbar","aria-valuenow":0,"aria-label":"0% complete"},a.createElement("div",{className:yn().loaderDot}),a.createElement("div",{className:yn().loaderDot}),a.createElement("div",{className:yn().loaderDot}))};var wn=n(38104),Sn=n.n(wn);const Pn=["className","children"];function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function xn(e){for(var t=1;tt=>{const{className:n,children:o}=t,r=xn(xn({},(0,i.Z)(t,Pn)),{},{className:l()(Sn()[e],n)});return a.createElement(e,r,o)},Cn=Dn("p");Cn.displayName="Text";const kn=Dn("h1");kn.displayName="HeaderText";var On=n(60044),An=n.n(On);const Tn=["secureTextEntry","error","success","selectTextOnFocus","onBlur","onFocus"],In=(e,t)=>{const n=a.useRef(null);a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const{selectTextOnFocus:t,autoFocus:n}=e;t&&n&&o()}),[]);const o=a.useCallback((()=>{const{selectTextOnFocus:t}=e,{current:o}=n;o&&(t&&o.select(),f&&f())}),[]),{secureTextEntry:s,error:c,success:u,selectTextOnFocus:d,onBlur:p,onFocus:f}=e,h=(0,i.Z)(e,Tn),m=l()({[An().default]:!c&&!u,[An().error]:c,[An().success]:u},e.className),g=s?"password":"text";return a.createElement("input",(0,r.Z)({},h,{className:m,type:g,ref:n,onFocus:o,onBlur:p}))},Fn=a.memo(a.forwardRef(In));var Mn=n(13540),_n=n(15967),Nn=n.n(_n);function Rn(e){let{inputName:t,label:n,options:o,onChange:r,selectedOption:i,labelClassNamePrefix:s,disabled:c=!1,showLabel:u,isButton:d,wrapperClasses:p}=e;return a.createElement("div",{className:l()(Nn().radioGroup,{[p]:p}),"aria-label":n,role:"radiogroup"},o.map((e=>{let{value:n,label:o,iconPath:p}=e;const f=n===i,h=l()(Nn().iconLabel,{[Nn().iconLabelIsActive]:f,[`${s}-${n}`]:!0,[`${s}-active`]:f,[Nn().focusedLabelFocusVisible]:f,[Nn().selectedLabel]:f&&d,[Nn().radioGroupLabel]:!f&&d,[Nn().fullWidthRadio]:d});return a.createElement("label",{key:n,className:h},a.createElement(nn,{tag:"span"},o),a.createElement("input",{type:"radio",name:t,value:n,checked:f,onChange:e=>r(e.target.value),"aria-label":o,disabled:c}),d&&f&&a.createElement(Mn.Z,{src:p,className:l()(Nn().icon,{[Nn().radioGroupIcon]:d})}),!d&&a.createElement(Mn.Z,{src:p,className:Nn().icon}),u&&a.createElement("span",null,o))})))}var Ln=n(98932),Bn=n.n(Ln);let jn=0;function zn(e){const t=a.useRef(jn++),{label:n,accessibilityLabel:o,onUpdate:r}=e,i=a.useCallback((e=>{r(e.target.checked)}),[r]);const s=l()(Bn().label,e.styles.label);return a.createElement("div",{className:e.styles.controlWrapper},a.createElement("div",{className:e.styles.control},a.createElement("div",{className:l()("PSPDFKit-Checkbox-Input",e.className,Bn().root)},a.createElement("input",{className:l()(Bn().input,e.styles.input),type:"checkbox",id:`${Bn().label}-${t.current}`,onChange:i,checked:e.value}),e.label?a.createElement("label",{htmlFor:`${Bn().label}-${t.current}`,className:s},n):o?a.createElement("label",{htmlFor:`${Bn().label}-${t.current}`,className:s},a.createElement(nn,{tag:"span"},o)):null)))}var Kn=n(74305),Zn=n(42308),Un=n(35583),Vn={isHistory:e=>(0,Un.P)(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Zn.OX.isOperationList(e.redos[0].operations))&&(0===e.undos.length||Zn.OX.isOperationList(e.undos[0].operations))},Gn=(new WeakMap,new WeakMap),Wn=new WeakMap,qn={isHistoryEditor:e=>Vn.isHistory(e.history)&&Zn.ML.isEditor(e),isMerging:e=>Wn.get(e),isSaving:e=>Gn.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=qn.isMerging(e);Wn.set(e,!1),t(),Wn.set(e,n)},withoutSaving(e,t){var n=qn.isSaving(e);Gn.set(e,!1),t(),Gn.set(e,n)}},Hn=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Zn.y$.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Zn.y$.equals(e.path,t.path)),$n=(e,t)=>"set_selection"!==e.type,Xn=n(18953),Yn=n.n(Xn);function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qn=new WeakMap,eo=new WeakMap;class to{}class no extends to{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}class oo extends to{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}var ro=e=>eo.get(e);function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ao(e){for(var t=1;t{var t=[],n=e=>{if(null!=e){var o=t[t.length-1];if("string"==typeof e){var r={text:e};so.add(r),e=r}if(Zn.xv.isText(e)){var i=e;Zn.xv.isText(o)&&so.has(o)&&so.has(i)&&Zn.xv.equals(o,i,{loose:!0})?o.text+=i.text:t.push(i)}else if(Zn.W_.isElement(e))t.push(e);else{if(!(e instanceof to))throw new Error("Unexpected hyperscript child object: ".concat(e));var a=t[t.length-1];Zn.xv.isText(a)||(n(""),a=t[t.length-1]),e instanceof no?((e,t)=>{var n=e.text.length;Qn.set(e,[n,t])})(a,e):e instanceof oo&&((e,t)=>{var n=e.text.length;eo.set(e,[n,t])})(a,e)}}};for(var o of e.flat(1/0))n(o);return t};function co(e,t,n){return ao(ao({},t),{},{children:lo(n)})}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function po(e){for(var t=1;t{var o,r=[];for(var i of n)Zn.e6.isRange(i)?o=i:r.push(i);var a,s=lo(r),l={},c=fo();for(var[u,d]of(Object.assign(c,t),c.children=s,Zn.NB.texts(c))){var p=(a=u,Qn.get(a)),f=ro(u);if(null!=p){var[h]=p;l.anchor={path:d,offset:h}}if(null!=f){var[m]=f;l.focus={path:d,offset:m}}}if(l.anchor&&!l.focus)throw new Error("Slate hyperscript ranges must have both `` and `` defined if one is defined, but you only defined ``. For collapsed selections, use `` instead.");if(!l.anchor&&l.focus)throw new Error("Slate hyperscript ranges must have both `` and `` defined if one is defined, but you only defined ``. For collapsed selections, use `` instead.");return null!=o?c.selection=o:Zn.e6.isRange(l)&&(c.selection=l),c}),element:co,focus:function(e,t,n){return new oo(t)},fragment:function(e,t,n){return lo(n)},selection:function(e,t,n){var o=n.find((e=>e instanceof no)),r=n.find((e=>e instanceof oo));if(!o||null==o.offset||null==o.path)throw new Error("The hyperscript tag must have an tag as a child with `path` and `offset` attributes defined.");if(!r||null==r.offset||null==r.path)throw new Error("The hyperscript tag must have a tag as a child with `path` and `offset` attributes defined.");return ao({anchor:{offset:o.offset,path:o.path},focus:{offset:r.offset,path:r.path}},t)},text:function(e,t,n){var o=lo(n);if(o.length>1)throw new Error("The hyperscript tag must only contain a single node's worth of children.");var[r]=o;if(null==r&&(r={text:""}),!Zn.xv.isText(r))throw new Error("\n The hyperscript tag can only contain text content as children.");return so.delete(r),Object.assign(r,t),r}},mo=e=>function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),i=2;i"));null==n&&(n={}),(0,Un.P)(n)||(r=[n].concat(r),n={});var s=a(t,n,r=r.filter((e=>Boolean(e))).flat());return s},go=e=>{var t={},n=function(n){var o=e[n];if("object"!=typeof o)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(o));t[n]=(e,t,n)=>co(0,po(po({},o),t),n)};for(var o in e)n(o);return t},vo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=go(t),o=po(po(po({},ho),n),e.creators),r=mo(o);return r}();const yo=/["'&<>]/;function bo(e){const t=""+e,n=yo.exec(t);if(!n)return t;let o,r="",i=0,a=0;for(i=n.index;iPo(e,n))).flat();switch(0===o.length&&o.push(vo("text",n,"")),e.nodeName.toUpperCase()){case"BR":return vo("text",t,"\n");case"SPAN":{const t=function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("data-user-id")}(e);if(t)return vo("element",{type:"mention",userId:t,displayName:Oo(Eo(o))},o);if(function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("style")}(e)&&!function(e){return"underline"===e.style.textDecoration&&!e.style.color&&!e.style.backgroundColor}(e)){const t=xo(e.getAttribute("style")||""),n=t.color?zo(t.color):void 0,r=t["background-color"]?zo(t["background-color"]):void 0;return vo("element",{type:"style",fontColor:n,backgroundColor:r},o)}return o}case"P":return vo("element",{type:"paragraph"},o);case"A":return vo("element",{type:"link",url:e.getAttribute("href")},o);default:return o}}function Eo(e){function t(e){var t;if(function(e){return Zn.xv.isText(e)}(e)){let t=bo(e.text);return e.bold&&(t=`${t}`),e.italic&&(t=`${t}`),e.underline&&(t=`${t}`),t}const n=null===(t=e.children)||void 0===t?void 0:t.map((e=>Eo(e))).join("");switch(e.type){case"paragraph":return`

${n}

`;case"link":return`${n}`;case"mention":return`${e.displayName}`;case"style":{const t=Do(e);return`${n}`}default:return n}}return Array.isArray(e)?e.map((e=>t(e))).join(""):t(e)}function xo(e){return e?((e=e.trim()).endsWith(";")&&(e=e.slice(0,-1)),e.split(";").map((e=>e.split(":").map((e=>e.trim())))).reduce(((e,t)=>{let[n,o]=t;return So(So({},e),{},{[n]:o})}),{})):{}}function Do(e){let t="";return e.fontColor&&(t+=`color: ${e.fontColor};`),e.backgroundColor&&(t+=`background-color: ${e.backgroundColor};`),t}function Co(e,t){const n=Zn.ML.marks(e);return!!n&&!0===n[t]}const ko=(e,t)=>{Co(e,t)?Zn.ML.removeMark(e,t):Zn.ML.addMark(e,t,!0)};function Oo(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function Ao(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(new DOMParser).parseFromString(e,"text/html")}function To(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(e||"").match(/(<[^<>]+>)/g)||[],n={pre:[],post:[]};return t.forEach((e=>{if(e.startsWith("");e.startsWith(""))})),n}function Io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Ao(e).body.innerHTML}function Fo(e){let{changeUnderlineCSStoHTML:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Ao(e).body;if(0===n.childNodes.length){const e=document.createElement("p");return n.appendChild(e),n}const o=document.createElement("body");let r=[];return[...n.childNodes].forEach(((e,t)=>{const i=n.childNodes.length-1===t;if("P"===e.nodeName.toUpperCase()||i){if(i&&"P"!==e.nodeName.toUpperCase()&&r.push(e),r.length){const e=document.createElement("p");r.forEach((t=>{e.appendChild(t)})),o.appendChild(e),r=[]}"P"===e.nodeName.toUpperCase()&&o.appendChild(e)}else r.push(e)})),o.childNodes.forEach((e=>{var n,o,r,i,a,s;(null===(n=(o=e).querySelectorAll)||void 0===n||n.call(o,"p").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),null===(r=(i=e).querySelectorAll)||void 0===r||r.call(i,"div").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),t)&&(null===(a=(s=e).querySelectorAll)||void 0===a||a.call(s,"span").forEach((e=>{if("underline"===e.style.textDecoration){const t=document.createElement("u");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML,e.style.textDecoration="",e.style.cssText||(e.removeAttribute("style"),e.attributes.length||e.replaceWith(...e.childNodes))}})))})),o}function Mo(e){if(!e)return!1;const{selection:t}=e;return!!t&&Zn.e6.isExpanded(t)&&""!==Zn.ML.string(e,t)}function _o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const{selection:n}=e;if(n){const[o]=Zn.e6.edges(n),r=Zn.ML.before(e,o,{distance:t,unit:"character"}),i=r&&Zn.ML.range(e,r,o);return{text:i&&Zn.ML.string(e,i),range:i}}return null}function No(e){return e&&(" "===e.text||!e.range)}function Ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Lo(e){for(var t=1;t{let[,t]=e;return void 0!==t})).map((e=>{let[t,n]=e;return`${t}: ${n}`})).join("; ").concat(";")}function jo(e,t,n){const o=Fo(e,{changeUnderlineCSStoHTML:!1});function r(e){var t;const n=null===(t=e.closest("p"))||void 0===t?void 0:t.textContent;return e.textContent===n&&!e.closest("span[style]")}return o.querySelectorAll("p").forEach((e=>{const{isBold:o,isUnderlined:i,isItalic:a}=Ko(e);if("fontColor"===t){let t=!1;if(e.querySelectorAll("span[style]").forEach((e=>{r(e)?(t=!0,e.setAttribute("style",Bo(e,"fontColor",n))):(e.style.color="",""===e.style.cssText&&e.replaceWith(...e.childNodes))})),!t){const t=document.createElement("span");t.setAttribute("style",Bo(t,"fontColor",n)),t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("underline"===t){const t=e.querySelectorAll("span[style]");if(i)t.forEach((e=>{e.style.textDecoration=""}));else{let n=!1;if(t.forEach((e=>{r(e)&&(n=!0,e.style.textDecoration="underline")})),!n){const t=document.createElement("span");t.style.textDecoration="underline",t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}t.forEach((e=>{r(e)?e.style.textDecoration=i?"":"underline":(e.style.textDecoration="",""===e.style.cssText&&e.replaceWith(...e.childNodes))}))}else if("bold"===t){const t=e.querySelectorAll("b");if(o)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("b");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("italic"===t){const t=e.querySelectorAll("i, em");if(a)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("i");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}})),o.innerHTML}function zo(e){if(!e)return"";if(e.startsWith("rgb")){return`#${e.replace("rgb(","").replace(")","").split(",").map((e=>parseInt(e,10))).map((e=>e.toString(16))).map((e=>1===e.length?`0${e}`:e)).join("")}`}return e.startsWith("#")&&9===e.length?`#${e.substr(3,6)}`:7===e.length&&e.startsWith("#")?e:"#000000"}function Ko(e){const t=e.querySelectorAll("span[style]"),n=Array.from(t).filter((t=>t.textContent===e.textContent)),o=n.filter((e=>e.style.color)),r=n.filter((e=>e.style.backgroundColor)),i=n.filter((e=>"underline"===e.style.textDecoration)),a=e.querySelectorAll("b"),s=Array.from(a).filter((t=>t.textContent===e.textContent)),l=e.querySelectorAll("i, em"),c=Array.from(l).filter((t=>t.textContent===e.textContent));return{fontColor:o.length>0?zo(o[o.length-1].style.color):null,backgroundColor:r.length>0?zo(r[r.length-1].style.backgroundColor):null,isUnderlined:i.length>0,isBold:s.length>0,isItalic:c.length>0}}function Zo(e){const t=Fo(e,{changeUnderlineCSStoHTML:!1}).querySelectorAll("p"),n=Array.from(t).map((e=>Ko(e)));return{fontColor:n.every((e=>{let{fontColor:t}=e;return t&&t===n[0].fontColor}))?n[0].fontColor:null,isUnderlined:n.every((e=>{let{isUnderlined:t}=e;return t&&t===n[0].isUnderlined})),isBold:n.every((e=>{let{isBold:t}=e;return t&&t===n[0].isBold})),isItalic:n.every((e=>{let{isItalic:t}=e;return t&&t===n[0].isItalic})),backgroundColor:n.every((e=>{let{backgroundColor:t}=e;return t&&t===n[0].backgroundColor}))?n[0].backgroundColor:null}}function Uo(e,t){var n;const{selection:o}=e;if(!o)return;const[...r]=Array.from(Zn.ML.nodes(e,{at:Zn.ML.unhangRange(e,o),match:e=>!Zn.ML.isEditor(e)&&Vo(e)})),i=r.map((e=>{let[t]=e;return t}));if(!i)return;const a=i.map((e=>zo(e[t])));return 1===new Set(a).size&&null!==(n=a[0])&&void 0!==n?n:void 0}function Vo(e){return"style"===e.type}function Go(e,t){const{selection:n}=e;n&&Zn.e6.isCollapsed(n)?Zn.YR.insertNodes(e,t):(Zn.YR.wrapNodes(e,t,{split:!0}),Zn.YR.collapse(e,{edge:"end"}))}function Wo(e,t){Zn.YR.unwrapNodes(e,{match:e=>!Zn.ML.isEditor(e)&&Zn.W_.isElement(e)&&e.type===t})}function qo(e,t,n){(0,Rt.kG)(e,"Editor is not defined.");const[o]=Zn.ML.nodes(e,{match:e=>!Zn.ML.isEditor(e)&&Zn.W_.isElement(e)&&Vo(e)});o?Zn.YR.setNodes(e,{[t]:n},{match:e=>Vo(e),split:!0}):Go(e,{type:"style",[t]:n,children:[{text:""}]})}function Ho(e){var t;const{selection:n}=e;if(!n)return!1;const[...o]=Array.from(Zn.ML.nodes(e,{at:Zn.ML.unhangRange(e,n),match:e=>!Zn.ML.isEditor(e)&&Vo(e)})),r=o.map((e=>{let[t]=e;return t}));return!(null==r||null===(t=r[0])||void 0===t||!t.underline)}function $o(e){return"mention"===e.type}var Xo,Yo;const Jo="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),Qo="undefined"!=typeof navigator&&/Chrome/.test(navigator.userAgent),er=a.forwardRef(((e,t)=>{let{text:n,style:o,updateBoundingBox:r,onValueChange:i,onBlurSave:s,maxLength:c,onStopEditing:u,onEscape:d,lastMousePoint:p,onEditorInit:f,className:h,placeholder:m,onBlur:g,autoFocus:v=!0,onSelectionChange:y,autoOpenKeyboard:b=!0,onKeyDown:w,title:S="Rich text editor"}=e;const{value:P,wrapperTags:E}=(0,a.useMemo)((()=>({wrapperTags:To(n),value:Io(n)})),[n]),x=(0,a.useRef)(null),D=a.useRef(P),C=(0,a.useMemo)((()=>(e=>{const{insertData:t,isInline:n,markableVoid:o,isVoid:r}=e;return e.isInline=e=>"link"===e.type||$o(e)||"style"===e.type||n(e),e.isVoid=e=>$o(e)||r(e),e.markableVoid=e=>$o(e)||o(e),e.insertData=n=>{try{const o=n.getData("text/html");if(o){const t=Po(Fo(o));return void Zn.YR.insertFragment(e,t)}t(n)}catch(e){}},e})((e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var o=n[n.length-1];o.selectionBefore&&Zn.YR.setSelection(t,o.selectionBefore),qn.withoutSaving(t,(()=>{Zn.ML.withoutNormalizing(t,(()=>{for(var e of o.operations)t.apply(e)}))})),e.redos.pop(),e.undos.push(o)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var o=n[n.length-1];qn.withoutSaving(t,(()=>{Zn.ML.withoutNormalizing(t,(()=>{var e=o.operations.map(Zn.OX.inverse).reverse();for(var n of e)t.apply(n);o.selectionBefore&&Zn.YR.setSelection(t,o.selectionBefore)}))})),e.redos.push(o),e.undos.pop()}},t.apply=e=>{var{operations:o,history:r}=t,{undos:i}=r,a=i[i.length-1],s=a&&a.operations[a.operations.length-1],l=qn.isSaving(t),c=qn.isMerging(t);if(null==l&&(l=$n(e)),l){if(null==c&&(c=null!=a&&(0!==o.length||Hn(e,s))),a&&c)a.operations.push(e);else{var u={operations:[e],selectionBefore:t.selection};i.push(u)}for(;i.length>100;)i.shift();r.redos=[]}n(e)},t})((0,Kn.BU)((0,Zn.Jh)())))),[]),k=(0,a.useCallback)((e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}),[]);(0,a.useEffect)((()=>{const e=x.current;function t(t){null!=e&&e.contains(t.target)||null==s||s()}return null==e||e.ownerDocument.addEventListener("pointerdown",t,{capture:!0}),Zn.YR.select(C,Zn.ML.end(C,[])),()=>{null==e||e.ownerDocument.removeEventListener("pointerdown",t,{capture:!0})}}),[C,s]);const O=(0,a.useMemo)((()=>Po(Fo(P))),[P]),A=(0,a.useCallback)((e=>a.createElement(or,e)),[]),T=(0,a.useCallback)((e=>a.createElement(tr,e)),[]);(0,a.useEffect)((()=>(null==f||f(C),()=>{null==f||f(null)})),[C,f]),(0,a.useEffect)((()=>{v&&(Kn.F3.focus(C),setTimeout((()=>{Kn.F3.blur(C),Kn.F3.focus(C),b||Kn.F3.blur(C)}),0))}),[b]),(0,a.useEffect)((()=>{setTimeout((()=>{if(p&&x.current){const e=(0,Rt.Qo)(p,x.current.ownerDocument);if(!e)return;const t=Kn.F3.toSlatePoint(C,[e.startContainer,e.startOffset],{exactMatch:!0,suppressThrow:!0});t&&Zn.YR.select(C,t)}}),0)}),[C,p,t]);const I=(0,a.useCallback)((e=>{if("Escape"!==e.key)return"Enter"===e.key&&e.shiftKey?(null==u||u(),void e.preventDefault()):void(c&&Oo(D.current).length>=c&&e.preventDefault());null==d||d(e)}),[c,d,u]),F=(0,a.useCallback)((()=>{const{selection:e}=C;if(e&&Zn.e6.isCollapsed(e)){var t,n,o;const[i]=Zn.e6.edges(e),a=_o(C,2);if((null!=a&&null!==(t=a.text)&&void 0!==t&&t.startsWith(" ")||1===(null==a||null===(n=a.text)||void 0===n?void 0:n.length))&&null!=a&&null!==(o=a.text)&&void 0!==o&&o.endsWith("@")){var r;(0,Rt.kG)(a,"lastTwoCharacters should be defined");const e=null===(r=_o(C))||void 0===r?void 0:r.range;return e?{query:"",target:e}:null}{const e=Zn.ML.before(C,i,{unit:"word"}),t=e&&Zn.ML.before(C,e),n=t&&Zn.ML.range(C,t,i),o=n&&Zn.ML.string(C,n),r=o&&o.match(/^@(\w+)$/),a=Zn.ML.after(C,i),s=Zn.ML.range(C,i,a),l=Zn.ML.string(C,s).match(/^(\s|$)/);return r&&l&&n?{query:r[1],target:n}:null}}return null}),[C]),M=(0,a.useCallback)((e=>{var t;C.operations.every((e=>"set_selection"===e.type))&&(null==y||y(),"onSelectionChange"in C&&"function"==typeof C.onSelectionChange&&C.onSelectionChange());const n=e.map((e=>Eo(e))).join("");D.current=n,i(`${E.pre.join("")}${n}${E.post.join("")}`,{activeMention:null!==(t=F())&&void 0!==t?t:null}),null==r||r(),"onValueChange"in C&&"function"==typeof C.onValueChange&&C.onValueChange(n)}),[i,r,E,C,y,F]);return a.createElement("div",{role:"presentation",className:l()(Yn().richTextEditor,"PSPDFKit-Rich-Text-Editor",h),style:o,ref:(0,Rt.FE)(t,x),onBlur:()=>{null==s||s(),null==g||g()},onDragStart:k,onDragEnd:k,onKeyUp:k,onMouseDown:k,onPointerUp:k,onTouchStart:k,onTouchEnd:k,onMouseUp:k},a.createElement(Kn.mH,{onChange:M,editor:C,value:O},a.createElement(Kn.CX,{title:S,placeholder:m,renderLeaf:T,renderElement:A,onInput:r,className:Yn().wrapper,onKeyDown:e=>{w?w(e):(I(e),(e.metaKey||e.ctrlKey)&&"b"===e.key?(e.preventDefault(),ko(C,"bold")):(e.metaKey||e.ctrlKey)&&"i"===e.key?(e.preventDefault(),ko(C,"italic")):(e.metaKey||e.ctrlKey)&&"u"===e.key&&(e.preventDefault(),ko(C,"underline")),Jo&&!Kn.F3.isComposing(C)&&setTimeout(C.onChange,10))}})))})),tr=e=>{let{attributes:t,children:n,leaf:o}=e;return o.bold&&(n=a.createElement("strong",null,n)),o.italic&&(n=a.createElement("em",null,n)),o.underline&&(n=a.createElement("u",null,n)),a.createElement("span",t,n)},nr=()=>a.createElement("span",{contentEditable:!1,style:{fontSize:0}},"$",String.fromCodePoint(160)),or=e=>{const{attributes:t,children:n,element:o}=e;switch(o.type){case"link":return a.createElement("a",(0,r.Z)({},t,{href:o.url}),Xo||(Xo=a.createElement(nr,null)),n,Yo||(Yo=a.createElement(nr,null)));case"mention":return a.createElement("span",(0,r.Z)({},t,{contentEditable:Qo?void 0:t.contentEditable,"data-user-id":o.userId}),n,"@",o.displayName);case"style":return a.createElement("span",(0,r.Z)({},t,{style:{color:o.fontColor,backgroundColor:o.backgroundColor}}),n);default:return a.createElement("p",t,n)}};var rr=n(87360),ir=n.n(rr),ar=n(54941);const sr=["onMention","users","onValueChange","mentionDropdownClassName","mentionListRenderer","mentionListClassName","onEditorInit","maxMentionSuggestions","onMentionSuggestionsOpenChange"],lr=a.forwardRef(((e,t)=>{let{onMention:n,users:o,onValueChange:s,mentionDropdownClassName:l,mentionListRenderer:c,mentionListClassName:u,onEditorInit:d,maxMentionSuggestions:p=5,onMentionSuggestionsOpenChange:f}=e,h=(0,i.Z)(e,sr);const[m,g]=a.useState([]),[v,y]=(0,a.useState)(null),b=(0,a.useRef)(null),[w,S]=(0,a.useState)(null),[P,E]=(0,a.useState)(0),x=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>({startMention:()=>{const e=b.current;(0,Rt.kG)(e,"Editor ref is not set");const t=_o(e,1);Zn.YR.insertText(e,No(t)?"@":" @"),Kn.F3.focus(e)}})));const D=(0,a.useCallback)((e=>{null==n||n(e);const t={userId:e.id,displayName:e.displayName||e.name,children:[{text:""}],type:"mention"};(0,Rt.kG)(b.current,"Editor ref is not set"),(0,Rt.kG)(v,"Target is not set"),Zn.YR.select(b.current,v),Zn.YR.insertNodes(b.current,t),Zn.YR.move(b.current),Zn.YR.insertText(b.current," "),E(0),g([]),y(null)}),[n,v]),C=(0,a.useCallback)((e=>{null==d||d(e),b.current=e}),[d]),k=(0,a.useCallback)((e=>{"ArrowDown"===e.key?(e.preventDefault(),E((e=>(e+1)%m.length))):"ArrowUp"===e.key?(e.preventDefault(),E((e=>(e-1+m.length)%m.length))):"Enter"===e.key?(e.preventDefault(),D(m[P])):"Escape"===e.key&&(e.preventDefault(),E(0),g([]),y(null))}),[m,P,D,v]);(0,a.useEffect)((()=>{if(x.current){const e=x.current.querySelector('[data-highlighted="true"]');e&&e.scrollIntoView({block:"nearest"})}}),[P]);const O=!(!v||!m.length);return(0,a.useEffect)((()=>{null==f||f(O)}),[f,O]),a.createElement(ar.fC,{modal:!1,open:O},a.createElement(ar.xz,{asChild:!0},a.createElement(er,(0,r.Z)({},h,{onValueChange:function(e,t){var n;null==s||s(e,t);const{activeMention:r}=t;if(y(null!==(n=null==r?void 0:r.target)&&void 0!==n?n:null),r)if(r.query.length){const e=ir().go(r.query,o,{keys:["name","displayName","description"]});g(e.slice(0,p).map((e=>e.obj)))}else g(o.slice(0,p));else g([]);E(0)},onEditorInit:C,ref:e=>{var t,n;e&&S(null!==(t=null===(n=e.ownerDocument)||void 0===n?void 0:n.body)&&void 0!==t?t:null)},onKeyDown:O?k:void 0}))),a.createElement(ar.h_,{container:w},a.createElement(ar.VY,{onOpenAutoFocus:e=>e.preventDefault(),className:l,role:"menu",ref:x,onInteractOutside:()=>{g([]),y(null)}},m.map(((e,t)=>a.createElement("div",{role:"menuitem",tabIndex:t===P?0:-1,"data-highlighted":t===P,key:e.id,className:u,onClick:()=>{D(e)},onMouseEnter:()=>E(t)},(null==c?void 0:c(e))||a.createElement("div",null,e.name)))))))}));var cr=n(12921),ur=n(12704),dr=n.n(ur),pr=n(11149),fr=n.n(pr);function hr(e){let{label:t,trigger:n,items:o,container:r=document.body,alignContent:i="center",className:s}=e;return a.createElement("div",{className:l()(fr().wrapper,s)},a.createElement(cr.fC,null,a.createElement(cr.xz,{asChild:!0},a.createElement("button",{className:fr().trigger,"aria-label":t},n||a.createElement(Mn.Z,{src:dr(),className:fr().triggerIcon}))),a.createElement(cr.Uv,{container:r},a.createElement(cr.VY,{className:fr().content,align:i},o.map(((e,t)=>(0,a.isValidElement)(e)?a.createElement(a.Fragment,{key:t},e):a.createElement(cr.ck,{key:t,className:fr().item,onSelect:e.onClick},e.content,e.helperText&&a.createElement("div",{className:fr().itemHelperText},e.helperText))))))))}function mr(e){let{checked:t,onCheckedChange:o,children:r}=e;return a.createElement(cr.oC,{className:l()(fr().item,fr().checkboxItem),checked:t,onCheckedChange:o},t&&a.createElement(Mn.Z,{src:n(70190),className:fr().itemCheckmark}),a.createElement("span",null,r))}const gr=function(){return a.createElement("div",{role:"separator",className:fr().separatorItem})}},75189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>qe});var o=n(35369),r=n(47347),i=n(46797),a=n(84121),s=n(37927),l=n(60132),c=n(51559);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t0&&e.width<=ie.Qr?(l=Math.round(e.width),c=Math.round(l*s.height/s.width)):"height"in e&&"number"==typeof e.height&&e.height>0&&e.height<=ie.Qr?(c=Math.round(e.height),l=Math.round(c*s.width/s.height)):se(!1,`Could not calculate cover dimensions. Values must be in the interval \`(0; ${ie.Qr}]\`.`);const u=i.annotations.filter((e=>e.pageIndex===t&&!(e instanceof L.Jn||e instanceof L.On&&i.commentThreads.has(e.id)))).toList(),d=i.formFields.filter((e=>e.annotationIds.some((e=>{const n=i.annotations.get(e);return!(!n||n.pageIndex!==t)})))),p=(0,$.Qg)(d);se(i.backend);const{promise:f}=i.backend.renderTile(t,new L.$u({width:l,height:c}),new L.UL({width:l,height:c}),!1,!0,{annotations:u,formFieldValues:p,formFields:d.toList(),attachments:i.attachments,signatures:i.digitalSignatures&&i.digitalSignatures.signatures}),{element:h}=await f;return{element:h,width:l,height:c}}var ce=n(70006),ue=n(56169),de=n(96617),pe=n(94681),fe=n(97413);const he=["search.stateChange","search.termChange"];var me=n(94734);const ge=(0,T.Z)("StampAnnotationTemplates");var ve=n(66209),ye=n(93092),be=n(17500);function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Se(e){for(var t=1;t{e.setFormJSONUpdateBatchMode(!1)})))}var Te=n(92234);const Ie=["history.undo","history.redo","history.change","history.willChange","history.clear"];var Fe=n(62e3),Me=n(97358);const _e=(0,T.Z)("DocumentEditorFooterItem");var Ne=n(86617);const Re=["documentComparisonUI.start","documentComparisonUI.end"];var Le=n(79329);var Be=n(62793),je=n(71603),ze=n(38858),Ke=n(33320);const Ze=(0,T.Z)(),Ue=["instant.connectedClients.change","page.press","textLine.press","annotationPresets.update","annotationNote.hover","annotationNote.press"],Ve=[function(e,t){Object.defineProperty(t,"editableAnnotationTypes",{enumerable:!0,configurable:!1,get:()=>e.getState().editableAnnotationTypes}),t.setEditableAnnotationTypes=function(t){if(!Array.isArray(t))throw new r.p2("editableAnnotationTypes must be an array of annotation types.");if(!t.every((e=>e&&e.prototype&&(e.prototype instanceof U.Z||e==U.Z))))throw new r.p2("editableAnnotationTypes must be an array of annotation types.");e.dispatch((0,h.ZV)((0,o.l4)(t)))},t.setIsEditableAnnotation=function(t){if("function"!=typeof t)throw new r.p2("The type for isEditableAnnotation is not valid. Must be `function`.");e.dispatch((0,h.R1)(t))}},function(e,t){const n=()=>e.getState().annotationPresets;Object.defineProperty(t,"annotationPresets",{enumerable:!0,configurable:!1,get:()=>n().toObject()}),Object.defineProperty(t,"currentAnnotationPreset",{enumerable:!0,configurable:!1,get:()=>e.getState().currentItemPreset}),t.setAnnotationPresets=function(t){let r=t;"function"==typeof t&&(r=t.call(null,n().toObject())),I("object"==typeof r,`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an object.`),Object.values(r).forEach(A.G);const i=(0,o.D5)(r);n().equals(i)||e.dispatch((0,O.QA)(i))},t.setCurrentAnnotationPreset=function(t){const n=e.getState();"string"==typeof t&&(0,r.kG)(void 0!==n.annotationPresets.get(t),`There is no annotation preset with the supplied 'annotationPresetID' ${t}`),e.dispatch((0,O.Ds)(t))}},function(e,t){const n=()=>[...e.getState().stampAnnotationTemplates];Object.defineProperty(t,"stampAnnotationTemplates",{enumerable:!0,configurable:!1,get:()=>n()}),t.setStampAnnotationTemplates=function(t){let o=t;"function"==typeof o&&(o=o.call(null,n())),ge(Array.isArray(o),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),o.forEach(me.wB);const r=n();JSON.stringify(r)!==JSON.stringify(o)&&e.dispatch((0,O.fx)([...o]))}},Ee.ZP,function(e,t){const n=()=>e.getState().toolbarItems;Object.defineProperty(t,"toolbarItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),t.setToolbarItems=function(t){let i=t;"function"==typeof i&&(i=i.call(null,n().toJS())),Pe(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`);const{backend:a}=e.getState();i=i.map((e=>"ink-signature"===e.type?((0,r.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),Se(Se({},e),{},{type:"signature"})):e)).filter((e=>"content-editor"!==e.type||"SERVER"!==(null==a?void 0:a.type)||((0,r.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1))),i.forEach(be.G);const s=(0,o.d0)(i);n().equals(s)||e.dispatch((0,ye.De)(s))},t.setAnnotationToolbarItems=t=>{(0,r.kG)("function"==typeof t,"The annotationToolbarItemsCallback argument must be a function."),e.dispatch((0,ye.v1)(t))}},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("annotations.willChange","annotations.change","annotations.willSave","annotations.didSave","annotations.load","annotations.create","annotations.update","annotations.delete","annotations.press","annotations.focus","annotations.blur","annotations.transform","annotations.cut","annotations.copy","annotations.paste","annotations.duplicate");let n=e.getState().annotations;const o=()=>t.emit("annotations.willSave"),r=()=>t.emit("annotations.didSave"),i=e=>t.emit("annotations.load",e),a=e=>t.emit("annotations.create",e),s=e=>t.emit("annotations.update",e),l=e=>t.emit("annotations.delete",e);let c=!1;const u=()=>{if(!c){const{annotationManager:t}=e.getState();t&&(t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe((()=>{const o=e.getState().annotations;n!==o&&(n=o,t.emit("annotations.change")),u()}));return u(),()=>{if(c){const{annotationManager:t}=e.getState();Z(t,"AnnotationManager is not present in the state"),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),c=!1}d()}}(e);return t.getAnnotations=async function(t){Z("number"==typeof t,"`pageIndex` must be a number");const{annotationManager:n,totalPages:o}=e.getState();Z(t>-1&&te.pageIndex===t)).toList()},t.createAttachment=async function(t){const{hash:n}=await(0,B.uq)(t),o=new L.Pg({data:t});return e.dispatch((0,z.O)(n,o)),n},t.getAttachment=async function(t){if(!(0,_.F3)(t))throw new r.p2(`${t} is not a valid attachment.`);const n=e.getState(),o=n.attachments.get(t);if(o){if(o.data)return o.data;throw new r.p2(`Attachment ${t} not found.`)}return Z(n.backend),n.backend.getAttachment(t)},t.calculateFittingTextAnnotationBoundingBox=function(t){Z(t instanceof F.gd,"The annotation in `calculateFittingTextAnnotationBoundingBox(annotation)` must be of type `PSPDFKit.Annotations.TextAnnotation`"),Z("number"==typeof t.pageIndex,"`pageIndex` must be a number");const{viewportState:n}=e.getState(),o=n.pageSizes.get(t.pageIndex);return Z(o,"`pageIndex` is not a valid page index in the open document"),(0,j.Zv)(t,o)},t.getEmbeddedFiles=async function(){const{backend:t}=e.getState();return Z(t),t.getEmbeddedFiles()},t.setOnAnnotationResizeStart=function(t){e.dispatch((0,O.dt)(t))},t.getOverlappingAnnotations=async function(t){Z(t instanceof F.q6||t instanceof K.ZP,"Argument must be an annotation or a form field");const{annotationManager:n,annotations:r}=e.getState();if(t instanceof K.ZP){const i=t.annotationIds?t.annotationIds:(0,o.aV)(),a=r.valueSeq().toList().filter((e=>i.includes(e.id)||i.includes(String(e.pdfObjectId)))),s=a.map((e=>e.pageIndex)),l=s.filter(((e,t)=>s.indexOf(e)===t));for(let e=0;ea.some((t=>t.pageIndex===e.pageIndex)))).filter((e=>!(e instanceof F.x_&&e.formFieldName!==t.formFieldName)));let u,d=(0,o.aV)();return c.size>0&&(u=a.map((e=>e.boundingBox)),d=c.filter((e=>u.some((t=>e.boundingBox.isRectOverlapping(t)))))),d}{await(null==n?void 0:n.loadAnnotationsForPageIndex(t.pageIndex));const{annotations:o}=e.getState();return o.filter((e=>!(e.id===t.id))).filter((e=>e.boundingBox.isRectOverlapping(t.boundingBox)&&e.pageIndex===t.pageIndex)).valueSeq().toList()}},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("bookmarks.change","bookmarks.willSave","bookmarks.didSave","bookmarks.load","bookmarks.create","bookmarks.update","bookmarks.delete");const n=()=>t.emit("bookmarks.change"),o=()=>t.emit("bookmarks.willSave"),r=()=>t.emit("bookmarks.didSave"),i=e=>t.emit("bookmarks.load",e),a=e=>t.emit("bookmarks.create",e),s=e=>t.emit("bookmarks.update",e),l=e=>t.emit("bookmarks.delete",e);let c=!1;const u=()=>{if(!c){const{bookmarkManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe(u);return u(),()=>{if(c){const{bookmarkManager:t}=e.getState();t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),c=!1}d()}}(e);return t.getBookmarks=async function(){var t;const n=await(null===(t=e.getState().bookmarkManager)||void 0===t?void 0:t.getBookmarks());return V(n),n.toList()},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("formFieldValues.update","formFieldValues.willSave","formFieldValues.didSave","forms.willSubmit","forms.didSubmit","formFields.change","formFields.willSave","formFields.didSave","formFields.load","formFields.create","formFields.update","formFields.delete");const n=e.getState();let{formFields:o}=n;const r=()=>t.emit("formFieldValues.willSave"),i=()=>t.emit("formFieldValues.didSave"),a=e=>t.emit("formFieldValues.update",e),s=e=>t.emit("forms.willSubmit",e),l=e=>t.emit("forms.didSubmit",e),c=()=>t.emit("formFields.willSave"),u=()=>t.emit("formFields.didSave"),d=e=>t.emit("formFields.load",e),p=e=>t.emit("formFields.create",e),f=e=>t.emit("formFields.update",e),h=e=>t.emit("formFields.delete",e);let m=!1,g=!1;const v=()=>{const t=e.getState();if(!m){const{formFieldValueManager:e}=t;e&&(e.eventEmitter.on("willSave",r),e.eventEmitter.on("didSave",i),e.eventEmitter.on("update",a),e.eventEmitter.on("willSubmit",s),e.eventEmitter.on("didSubmit",l),m=!0)}if(!g){const{formFieldManager:e}=t;e&&(0,b.ix)(t)&&(e.eventEmitter.on("willSave",c),e.eventEmitter.on("didSave",u),e.eventEmitter.on("load",d),e.eventEmitter.on("create",p),e.eventEmitter.on("update",f),e.eventEmitter.on("delete",h),g=!0)}},y=e.subscribe((()=>{const n=e.getState();if((0,b.ix)(n)){const e=n.formFields;o!==e&&(o=e,t.emit("formFields.change"))}v()}));return v(),()=>{if(m){const{formFieldValueManager:t}=e.getState();t.eventEmitter.off("willSave",r),t.eventEmitter.off("didSave",i),t.eventEmitter.off("update",a),t.eventEmitter.off("willSubmit",s),t.eventEmitter.off("didSubmit",l),m=!1}if(g){const{formFieldManager:t}=e.getState();t.eventEmitter.off("willSave",c),t.eventEmitter.off("didSave",u),t.eventEmitter.off("load",d),t.eventEmitter.off("create",p),t.eventEmitter.off("update",f),t.eventEmitter.off("delete",h),g=!1}y()}}(e);return t.getFormFields=async function(){const{features:t,formFieldManager:n,formsEnabled:o}=e.getState();J(t.includes(l.q.FORMS),N.DR),J(o,N.BZ),n instanceof X.c&&await n.loadFormFields();const{formFields:r}=e.getState();return r.valueSeq().toList()},t.getFormFieldValues=function(){const{formFields:t,features:n,formsEnabled:r}=e.getState();return J(n.includes(l.q.FORMS),N.DR),J(r,N.BZ),(0,$.Qg)(t).reduce(((e,t)=>(e[t.name]=t.value instanceof o.aV?t.value.toJS():t.value,e)),{})},t.setFormFieldValues=async function(t){const{formFieldManager:n,features:r,formsEnabled:i}=e.getState();J(r.includes(l.q.FORMS),N.DR),J(i,N.BZ),n instanceof X.c&&await n.loadFormFields();const{formFields:a}=e.getState(),s=Object.keys(t).map((e=>{const n=a.get(e);J(a.has(e),`Tried to set the form field value for form field \`${e}\` which does not exist.`);const r=Array.isArray(t[e])?(0,o.aV)(t[e]):t[e];return n&&(0,N._1)(n,r),{name:e,value:r,optionIndexes:void 0}}));return new Promise((t=>{e.dispatch((0,Y.xh)(s,t))})).then((()=>{})).catch((e=>{throw e}))},t.setOnWidgetAnnotationCreationStart=function(t){const{features:n}=e.getState();J("function"==typeof t,"The callback must be a function."),J(n.includes(l.q.FORMS),N.DR),J(n.includes(l.q.FORM_DESIGNER),N.RB),e.dispatch((0,Y.r$)(t))},n},ve.Z,function(e,t){function n(){const{selectedAnnotationIds:t,annotations:n}=e.getState();if(t.size>=1){const e=t.first();(0,r.kG)(e);return n.get(e)}return null}function i(t,n){if(!t)return void e.dispatch((0,k.fz)());const i=o.aV.isList(t)?t:(0,o.aV)([t]),{annotations:a}=e.getState(),s=e.getState(),c=i.map((t=>{const n=t instanceof F.q6?t.id:t;(0,r.kG)("string"==typeof n,"annotationId must be a string"),(0,r.kG)(a.has(n),"Unknown annotationId. Either the annotation was not yet created or is not yet loaded from the annotation provider.");const o=a.get(n);return(0,r.kG)(o&&(0,_.Fp)(o),"Annotations with the `noView` or `hidden` flag set cannot be selected."),o instanceof F.x_&&!s.formDesignMode?e.dispatch((0,O.vy)(n)):((0,r.kG)(!(o instanceof F.x_)||s.features.includes(l.q.FORM_DESIGNER),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${N.RB}`),(0,r.kG)(!(o instanceof F.x_)||(0,b.k_)(s.backend),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${N.Bl}`)),n}));if(1===c.size){const t=a.get(c.first());e.dispatch((0,k.J4)(c.toSet(),t instanceof F.gd||t instanceof F.Qi?n:M.o.SELECTED))}else e.dispatch((0,k.J4)(c.toSet(),M.o.SELECTED))}t.getSelectedAnnotation=function(){(0,r.XV)("getSelectedAnnotation","getSelectedAnnotations",!1);for(var e=arguments.length,t=new Array(e),o=0;o=1?(0,o.aV)(t.map((e=>{const t=n.get(e);return(0,r.kG)(t),t}))):null},t.setSelectedAnnotation=function(e){(0,r.XV)("setSelectedAnnotation","setSelectedAnnotations",!1),i(e,M.o.SELECTED)},t.setSelectedAnnotations=function(e){i(e,M.o.SELECTED)},t.groupAnnotations=function(t){if(!t||0===(null==t?void 0:t.size))return;const n=null==t?void 0:t.map((e=>e instanceof F.q6?e.id:e));e.dispatch((0,h._R)(n.toSet()))},t.getAnnotationsGroups=function(){const{annotationsGroups:t}=e.getState();return t.size>=1?t:null},t.deleteAnnotationsGroup=function(t){t&&e.dispatch((0,h.UZ)(t))},t.setEditingAnnotation=function(t,n){e.dispatch((0,k.fz)()),!0===n&&e.dispatch((0,k.Y1)()),i(t,M.o.EDITING)};let a=n();const{eventEmitter:s}=e.getState();return s.events.push(...R),e.subscribe((()=>{const e=n();(a&&a.id)!==(e&&e.id)?(a=e,s.emit("annotationSelection.change",e)):a=e}))},function(e,t){t.setCustomOverlayItem=function(t){H(t instanceof q.Z,"invalid item. Expected an instance of PSPDFKit.CustomOverlayItem"),(0,q.G)(t),e.dispatch((e=>({type:W.jJ7,item:e}))(t))},t.removeCustomOverlayItem=function(t){H("string"==typeof t,"`id` must be a string"),e.dispatch((e=>({type:W.G8_,id:e}))(t))}},function(e,t){t.setLocale=async function(t){const n=(0,Q.z5)(t);await(0,Q.sS)(n),e.dispatch((0,h.i_)(n))},Object.defineProperty(t,"locale",{enumerable:!0,configurable:!1,get:()=>e.getState().locale})},function(e,t){const n=()=>e.getState().searchState;t.search=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{backend:o,totalPages:r,searchState:{minSearchQueryLength:i}}=e.getState(),a=null!=n.startPageIndex?n.startPageIndex:0,s=null!=n.endPageIndex?n.endPageIndex:r-1,l=n.searchType||de.S.TEXT,c=n.searchInAnnotations||!1,u="boolean"==typeof n.caseSensitive?n.caseSensitive:l!==de.S.TEXT;return(0,fe.k)(Object.values(de.S).includes(l),"searchType is not valid."),l===de.S.PRESET&&(0,fe.k)(Object.values(pe.n).includes(t),"search query is not a valid search pattern."),(0,fe.k)("number"==typeof a&&"number"==typeof s,"startPageIndex/endPageIndex must be numbers"),(0,fe.k)("boolean"==typeof c,"searchInAnnotations should be boolean"),(0,fe.k)(void 0===n.caseSensitive||"boolean"==typeof n.caseSensitive,"caseSensitive should be boolean"),(0,fe.k)(s>=a,"endPageIndex must be greater than or equal to startPageIndex"),(0,fe.k)(t.length>=i,`"${t}" - search query length (${t.length}) shorter than the minimum (${i})`),(0,fe.k)(o),await o.search(t,a,s-a+1,u,c,l)},Object.defineProperty(t,"searchState",{enumerable:!0,configurable:!1,get:n}),t.setSearchState=function(t){let i=t;if("function"==typeof i&&(i=i.call(null,n())),!(i instanceof ue.Z)){const e="function"==typeof i?"return value of your update function":"supplied argument";throw new r.p2(`The ${e} is not an instance of PSPDFKit.SearchState.`)}const a=n();i.minSearchQueryLength!==a.minSearchQueryLength&&((0,r.ZK)(`Trying to set readonly property SearchState.minSearchQueryLength from ${a.minSearchQueryLength} to ${i.minSearchQueryLength} failed. For more details please see https://pspdfkit.com/api/web/PSPDFKit.SearchState.html#minSearchQueryLength`),i=i.set("minSearchQueryLength",a.minSearchQueryLength)),function(e){if("boolean"!=typeof e.isFocused)throw new r.p2("`isFocused` must be of type boolean.");if("boolean"!=typeof e.isLoading)throw new r.p2("`isLoading` must be of type boolean.");if("string"!=typeof e.term)throw new r.p2("`term` must be of type string.");if("number"!=typeof e.focusedResultIndex)throw new r.p2("`focusedResultIndex` must be of type number.");if(!(e.results instanceof o.aV))throw new r.p2("`results` must be of type PSPDFKit.Immutable.List.")}(i),function(e,t,n){const{dispatch:o}=e;t!==n&&o((0,ce.j8)(n))}(e,n(),i)},t.startUISearch=function(t){const{dispatch:n,getState:o}=e,{searchProvider:r,eventEmitter:i,searchState:{minSearchQueryLength:a}}=o();let s=!1;i.emit("search.termChange",{term:t,preventDefault:()=>{s=!0}}),s||((0,fe.k)(t.length>=a,`"${t}" - search query length (${t.length}) shorter than the minimum (${a})`),n((0,ce.Xe)()),n((0,ce._8)(t)),null==r||r.searchTerm(t))};let i=e.getState();const{eventEmitter:a}=i;return a.events.push(...he),e.subscribe((()=>{const t=e.getState();i.searchState.equals(t.searchState)||a.emit("search.stateChange",t.searchState),i=t}))},function(e,t){t.renderPageAsArrayBuffer=async function(t,n){const{element:o,width:r,height:i}=await le(t,n,e);let a;if(o instanceof HTMLImageElement){const e=document.createElement("canvas");e.width=r,e.height=i,a=e.getContext("2d"),await(0,ae.sR)(o),a.drawImage(o,0,0,r,i)}else o instanceof HTMLCanvasElement?a=o.getContext("2d"):se(!1,"There was an error while rendering the page. Please try again.");return a.getImageData(0,0,r,i).data.buffer},t.renderPageAsImageURL=async function(t,n){const{element:o}=await le(t,n,e);return o instanceof HTMLImageElement?o.src:o instanceof HTMLCanvasElement?URL.createObjectURL(await(0,ae._c)(o)):void se(!1,"There was an error while generating the image URL. Please try again.")}},function(e,t){async function n(){let{storedSignatures:t}=e.getState().signatureState;if(!t){const n=(0,te.de)();await n(e.dispatch,e.getState),t=e.getState().signatureState.storedSignatures}return t||(0,o.aV)()}async function r(t){let n=e.getState().signatureState.storedSignatures;const r=n instanceof o.aV;n||(n=await e.getState().signatureState.populateStoredSignatures());let i=t;"function"==typeof i&&(i=i.call(null,n)),ne(i instanceof o.aV&&i.every((e=>e instanceof L.Zc||e instanceof L.sK)),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not a PSPDFKit.Immutable.List of PSPDFKit.Annotations.InkAnnotation or PSPDFKit.Annotations.ImageAnnotation`),r&&n.equals(i)||(e.dispatch((0,te.nR)(i)),e.getState().eventEmitter.emit("inkSignatures.update",i),e.getState().eventEmitter.emit("inkSignatures.change"),e.getState().eventEmitter.emit("storedSignatures.update",i),e.getState().eventEmitter.emit("storedSignatures.change"))}e.getState().eventEmitter.events.push(...oe,...re),t.getInkSignatures=async function(){return(0,ee.XV)("instance.getInkSignatures","instance.getStoredSignatures"),n()},t.getStoredSignatures=n,t.setInkSignatures=async function(e){return(0,ee.XV)("instance.setInkSignatures","instance.setStoredSignatures"),r(e)},t.setStoredSignatures=r},G.Z,function(e,t){t.setIsEditableComment=function(t){(0,r.kG)("function"==typeof t,"The type for isEditableComment is not valid. Must be `function`."),e.dispatch((0,h.Gh)(t))}},xe.Z,function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("comments.change","comments.willSave","comments.didSave","comments.load","comments.create","comments.update","comments.delete","comments.mention");const n=()=>t.emit("comments.change"),o=()=>t.emit("comments.willSave"),r=()=>t.emit("comments.didSave"),i=e=>t.emit("comments.load",e),a=e=>t.emit("comments.create",e),s=e=>t.emit("comments.update",e),l=e=>t.emit("comments.delete",e);let c=!1;const u=()=>{if(!c){const{commentManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe(u);return u(),()=>{if(c){const{commentManager:t}=e.getState();t&&(t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l)),c=!1}d()}}(e);return t.getComments=async function(){const{comments:t,backend:n}=e.getState(),o=t.filter((e=>!(0,De.kT)(e))).toList();return o.size||null==n||!n.isUsingInstantProvider()?o:new Promise((t=>{const n=setInterval((()=>{const{hasFetchedInitialRecordsFromInstant:o,comments:r}=e.getState();o&&(clearInterval(n),t(r.filter((e=>!(0,De.kT)(e))).toList()))}),500)}))},t.setMentionableUsers=function(t){e.dispatch((0,Ce.v7)(t))},t.setMaxMentionSuggestions=function(t){e.dispatch((0,Ce.aZ)(t))},t.setOnCommentCreationStart=function(t){(0,r.kG)("function"==typeof t,"The callback must be a function."),e.dispatch((0,Ce.Rf)(t))},n},ke.Z,function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("document.saveStateChange");const n=e=>{t.emit("document.saveStateChange",e)};let o=!1;const i=()=>{if(!o){const{changeManager:t}=e.getState();t&&(t.eventEmitter.on("saveStateChange",n),o=!0)}},a=e.subscribe((()=>{i()}));return i(),()=>{if(o){const{changeManager:t}=e.getState();(0,r.kG)(t),t.eventEmitter.off("saveStateChange",n),o=!1}a()}}(e);return t.save=async function(){const{changeManager:t}=e.getState();return(0,r.kG)(t),t.save(!0)},t.hasUnsavedChanges=function(){const{changeManager:t}=e.getState();return(0,r.kG)(t),t.hasUnsavedChanges()},t.syncChanges=async function(){const{backend:n}=e.getState();if((0,r.kG)(n),!n.isUsingInstantProvider())throw new r.p2("You need PSPDFKit Instant to use this method.");return t.save()},t.create=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,r.kG)(n&&o),Ae(o,(()=>n.create(Oe(t))))},t.update=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,r.kG)(n&&o),Ae(o,(()=>n.update(Oe(t))))},t.delete=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,r.kG)(n&&o),Ae(o,(()=>n.delete(Oe(t))))},t.ensureChangesSaved=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,r.kG)(n&&o),"STANDALONE"===(null==o?void 0:o.type)&&await(null==o?void 0:o.setFormJSONUpdateBatchMode(!1)),n.ensureChangesSaved(Oe(t))},n},ke.Z,function(e,t){t.setGroup=function(t){const{backend:n}=e.getState();null!=n&&n.isCollaborationPermissionsEnabled()?e.dispatch((0,h.YK)(t)):(0,r.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")},t.resetGroup=function(){const{backend:t}=e.getState();null!=t&&t.isCollaborationPermissionsEnabled()?e.dispatch((0,h.YK)(t.getDefaultGroup())):(0,r.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")}},function(e,t){const n=()=>e.getState().documentEditorFooterItems,r=()=>e.getState().documentEditorToolbarItems;Object.defineProperty(t,"documentEditorFooterItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),Object.defineProperty(t,"documentEditorToolbarItems",{enumerable:!0,configurable:!1,get:()=>r().toJS()}),t.setDocumentEditorFooterItems=function(t){const{features:r}=e.getState();(0,fe.k)(r.includes(l.q.DOCUMENT_EDITING),G.I);let i=t;"function"==typeof i&&(i=i(n().toJS())),_e(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),i.forEach(Fe.G);const a=(0,o.d0)(i);var s;n().equals(a)||e.dispatch((s=a,{type:W.Kpf,documentEditorFooterItems:s}))},t.setDocumentEditorToolbarItems=function(t){const{features:n}=e.getState();(0,fe.k)(n.includes(l.q.DOCUMENT_EDITING),G.I);let i=t;"function"==typeof i&&(i=i(r().toJS())),_e(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),i.forEach(Me.G);const a=(0,o.d0)(i);var s;r().equals(a)||e.dispatch((s=a,{type:W.wPI,documentEditorToolbarItems:s}))}},function(e,t){function n(){const{isHistoryEnabled:t,undoActions:n}=e.getState();return t&&n.size>0}function o(){const{isHistoryEnabled:t,redoActions:n}=e.getState();return t&&n.size>0}e.getState().eventEmitter.events.push(...Ie),t.history={},t.history.undo=async function(){return!!n()&&(e.dispatch((0,Te.Yw)()),!0)},t.history.redo=async function(){return!!o()&&(e.dispatch((0,Te.KX)()),!0)},t.history.canUndo=function(){return n()},t.history.canRedo=function(){return o()},t.history.clear=function(){e.dispatch((0,Te.QQ)())},t.history.enable=function(){e.dispatch((0,Te.z9)())},t.history.disable=function(){e.dispatch((0,Te.ou)())}},function(e,t){t.parseXFDF=async(t,n)=>{const{backend:o}=e.getState();return(0,r.kG)(o,"backend is null."),(0,r.kG)("STANDALONE"===o.type,"`instance.parseXFDF` only works in standalone mode."),o.parseXFDF(t,null!=n&&n)}},function(e,t){e.getState().eventEmitter.events.push(...Re),t.setDocumentComparisonMode=async function(t){const{features:n,backend:o,viewportState:{documentComparisonMode:i}}=e.getState();if((0,r.kG)(n.includes(l.q.DOCUMENT_COMPARISON),c.nN),(0,r.kG)("STANDALONE"===(null==o?void 0:o.type),c.bZ),function(e){if("object"!=typeof e)throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration` must be a `PSPDFKit.DocumentComparisonConfiguration` plain object, or `null`.");if(null===e)return;if("boolean"!=typeof e.autoCompare)throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration.autoCompare` must be a boolean value.");if("object"!=typeof e.documentA||null===e.documentA)throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA` must be a plain object.");if("object"!=typeof e.documentB||null===e.documentB)throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB` must be a plain object.");if(!("string"==typeof e.documentA.source||e.documentA.source instanceof ArrayBuffer||e.documentA.source instanceof Promise))throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(!("string"==typeof e.documentB.source||e.documentB.source instanceof ArrayBuffer||e.documentB.source instanceof Promise))throw new r.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(void 0!==e.documentA.pageIndex&&"number"!=typeof e.documentA.pageIndex)throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentA#pageIndex` must be a number.");if(void 0!==e.documentB.pageIndex&&"number"!=typeof e.documentB.pageIndex)throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentB#pageIndex` must be a number.");if(void 0!==e.blendMode&&!Object.values(Ne.b).includes(e.blendMode))throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.blendMode` must be a `PSPDFKit.BlendMode`.");if(void 0!==e.strokeColors&&("object"!=typeof e.strokeColors||null===e.strokeColors))throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors` must be a plain object.");if("object"==typeof e.strokeColors){if(void 0!==e.strokeColors.documentA&&!(e.strokeColors.documentA instanceof L.Il))throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` must be a `PSPDFKit.Color` value.");if(void 0!==e.strokeColors.documentB&&!(e.strokeColors.documentB instanceof L.Il))throw new r.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` must be a `PSPDFKit.Color` value.");e.strokeColors.documentA&&e.strokeColors.documentB&&e.strokeColors.documentA.equals(e.strokeColors.documentB)&&(0,r.ZK)("The values provided for `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` and `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` are identical.")}}(t),t)e.dispatch((0,h.cz)(t));else if(i){const{completion:{end:{promise:t}}}=i;return e.dispatch((0,h.cz)(null)),t}}},function(e,t){t.compareDocuments=async function(t,n){var o;const{backend:i,features:a}=e.getState();if("object"!=typeof t||null===t)throw new r.p2("`comparisonDocuments` must be a plain object.");(0,r.kG)(a.includes(l.q.TEXT_COMPARISON),p),(0,r.kG)("STANDALONE"===(null==i?void 0:i.type),f);const u=await async function(e){return(0,r.kG)(e.originalDocument.filePath),(0,r.kG)(e.changedDocument.filePath),{originalDocument:d(d({},(0,s.c)(e.originalDocument)),{},{arrayBuffer:await(0,c.rh)(e.originalDocument.filePath)}),changedDocument:d(d({},(0,s.c)(e.changedDocument)),{},{arrayBuffer:await(0,c.rh)(e.changedDocument.filePath)})}}(t);return(0,r.kG)(i),(0,r.kG)("STANDALONE"===i.type,"compareDocuments is only supported in the web standalone."),null===(o=i.compareDocuments)||void 0===o?void 0:o.call(i,u,n)}}],Ge="You need PSPDFKit Instant to use this method.",We="You need to enable clients presence in your configuration (`instant: { clientsPresenceEnabled: true }`) to use this method.";class qe{constructor(e){let{store:t,backend:n,eventEmitter:a}=e;a.events.push(...Ue);let s=!1;const l=Ve.map((e=>e(t,this)));let c=(0,o.D5)();t.dispatch((0,h.lW)((e=>{s||(c=e.map((e=>(0,g.B)(e))),a.emit("instant.connectedClients.change",c))}))),Object.defineProperty(this,"totalPageCount",{enumerable:!0,configurable:!1,get:()=>t.getState().totalPages}),this.pageInfoForIndex=function(e){const n=t.getState().pages.get(e);return n?(0,m.J)(n):null},this.textLinesForPageIndex=async function(e){const{promise:t}=n.textForPageIndex(e);return t},this.toggleClipboardActions=function(e){Ze("boolean"==typeof e,"`toggleClipboardActions` expects a boolean as an argument"),t.dispatch((0,h.UG)(e))},this.setMeasurementSnapping=function(e){Ze("boolean"==typeof e,"`setMeasurementSnapping` expects a boolean as an argument"),t.dispatch((0,h.Gc)(e))},this.setMeasurementPrecision=function(e){Ze("string"==typeof e,"`setMeasurementPrecision` expects a string as an argument"),t.dispatch((0,h.M4)(e))},this.setMeasurementScale=function(e){Ze(e instanceof je.Z,"`setMeasurementScale` expects an instance of `MeasurementScale` as an argument"),t.dispatch((0,h._b)(e))},this.setMeasurementValueConfiguration=e=>{Ze("function"==typeof e,"The `measurementValueConfigurationCallback` argument must be a function."),t.dispatch((0,h.QL)(e))},this.getMarkupAnnotationText=async function(e){return Ze(e instanceof v.Z,"annotation must be a PSPDFKit.Annotations.MarkupAnnotation"),n.getTextFromRects(e.pageIndex,e.rects)},this.getTextFromRects=async function(e,t){return Ze("number"==typeof e,"pageIndex must be a number"),Ze(t instanceof o.aV&&t.every((e=>e instanceof x.UL)),"rects must be a PSPDFKit.Immutable.List of PSPDFKit.Geometry.Rect"),n.getTextFromRects(e,t)},this.getDocumentPermissions=async function(){return(0,b.Pt)(t.getState())},Object.defineProperty(this,"currentZoomLevel",{enumerable:!0,configurable:!1,get:()=>t.getState().viewportState.zoomLevel}),Object.defineProperty(this,"annotationCreatorName",{enumerable:!0,configurable:!1,get:()=>t.getState().annotationCreatorName}),Object.defineProperty(this,"maximumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,y.Sm)(e)}}),Object.defineProperty(this,"minimumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,y.Yo)(e)}}),Object.defineProperty(this,"zoomStep",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return e.zoomStep}}),Object.defineProperty(this,"disablePointSnapping",{get(){const{viewportState:e}=t.getState();return e.disablePointSnapping}}),Object.defineProperty(this,"connectedClients",{enumerable:!0,configurable:!1,get:()=>n.isUsingInstantProvider()?n.hasClientsPresence()?c:((0,r.ZK)(We),(0,o.D5)()):((0,r.ZK)(Ge),(0,o.D5)())}),this.addEventListener=function(e,t){Ze("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),Ge),Ze("instant.connectedClients.change"!==e||n.hasClientsPresence(),We),Ze(!e.startsWith("comments.")||(0,b.xr)(n),Ge);const o=He(e);try{a.on(o,t)}catch(e){throw new r.p2(e)}},this.removeEventListener=function(e,t){Ze("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),Ge),Ze("instant.connectedClients.change"!==e||n.hasClientsPresence(),We);const o=He(e);try{a.off(o,t)}catch(e){throw new r.p2(e)}},this.jumpToRect=function(e,n){const{totalPages:o}=t.getState();Ze(e>=0&&e=0&&e=0&&n=0&&n=0&&n=0&&n0&&void 0!==arguments[0]?arguments[0]:{};return n.exportPDF(e)},this.exportXFDF=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return n.exportXFDF(e)},this.exportInstantJSON=async function(e){return n.exportInstantJSON(e)},this._destroy=function(){l.filter(Boolean).forEach((e=>{null==e||e()})),s=!0},this.print=function(e){const n=t.getState(),{isPrinting:o}=n,i=(0,b.VT)(n);e&&"object"!=typeof e&&(0,r.ZK)("PSPDFKit.Instance.print: options must be an object. If you want to pass the `printMode`, use `{ mode: PSPDFKit.PrintMode.DOM }` instead.");const a="object"==typeof e?e.mode:e;if(!i)throw new r.p2("Tried to start a print job while printing is disabled.");if(o)throw new r.p2("Tried to start a print job while another one was already being processed.\nUse PSPDFKit.Instance#abortPrint to terminate the current print job.\n ");if(a&&!Object.prototype.hasOwnProperty.call(E.X,a))throw new r.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");t.dispatch(C.S0({mode:a,excludeAnnotations:"object"==typeof e&&e.excludeAnnotations}))},this.setAnnotationCreatorName=function(e){const{annotationCreatorNameReadOnly:n}=t.getState();if(n)throw new r.p2("When the annotation creator name is defined on the JWT it can't be overriden.");t.dispatch((0,h.X8)(e))},this.setCustomRenderers=function(e){t.dispatch((0,h.jM)(e))},this.setCustomUIConfiguration=function(e){const{customUIStore:n}=t.getState();if((null==n?void 0:n.getState())===e)return;let o,r;o="function"==typeof e?e((null==n?void 0:n.getState())||null):e,(0,Le.a)(o),n||(r=new i.Z(o),t.dispatch((0,h.W)(r))),(n||r).setState(o)},this.setInlineTextSelectionToolbarItems=e=>{Ze("function"==typeof e,"The inlineTextSelectionToolbarItemsCallback argument must be a function."),t.dispatch((0,k.tu)(e))},this.abortPrint=function(){const e=t.getState(),{isPrinting:n}=e;if(!(0,b.VT)(e))throw new r.p2("Tried to terminate a print job while printing is disabled.");if(!n)throw new r.p2("No print job to abort found.");t.dispatch(C.xF())},this.getDocumentOutline=async function(){const e=t.getState();if(e.documentOutlineState.elements)return e.documentOutlineState.elements;Ze(e.backend);const n=await e.backend.getDocumentOutline();return t.dispatch((0,D.o)(n)),n},this.setDocumentOutline=async function(e){const n=t.getState();Ze(n.backend);try{await n.backend.setDocumentOutline(e)}catch(e){throw new r.p2(`Failed to set the document outline: ${e.message}`,e)}t.dispatch((0,D.o)(e))},this.getPageGlyphs=async function(e){const n=t.getState();return Ze(n.backend),Ze("number"==typeof e&&Number.isInteger(e)&&e>=0&&e({pageIndex:e.pageIndex,pageKey:(0,Ke.C)()})))))},Object.defineProperty(this,"contentWindow",{enumerable:!0,configurable:!1,get:()=>t.getState().frameWindow}),Object.defineProperty(this,"contentDocument",{enumerable:!0,configurable:!1,get(){var e;return null===(e=t.getState().frameWindow)||void 0===e?void 0:e.document}}),Object.defineProperty(this,"licenseFeatures",{enumerable:!0,configurable:!1,get:()=>t.getState().features}),"production"!==(0,S.zj)()&&(this._store=t,this._eventEmitter=a)}}function He(e){switch(e){case"annotations.onPress":case"textLine.onPress":case"page.onPress":{const t=e.replace(".onPress",".press");return(0,r.a1)(`The event ${e} was renamed and will be removed in a a future version. Please use ${t} instead.`),t}default:return e}}},12708:(e,t,n)=>{"use strict";n.d(t,{default:()=>Je});var o=n(84121),r=n(17375);n(41817),n(72443),n(69007),n(83510),n(41840),n(32159),n(84944),n(86535),n(2707),n(33792),n(99244),n(61874),n(9494),n(56977),n(19601),n(38559),n(54678),n(91058),n(88674),n(17727),n(83593),n(24603),n(74916),n(92087),n(39714),n(27852),n(32023),n(4723),n(15306),n(64765),n(23123),n(23157),n(48702),n(55674),n(33105),n(3462),n(33824),n(12974),n(4129),n(33948),n(84633),n(85844),n(60285),n(83753),n(41637),n(94301);"object"==typeof window&&(window._babelPolyfill=!1);var i=n(35369),a=n(47347),s=n(94905),l=n(15973);n(75376);function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function u(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,c(e,t,"set"),n),n}function d(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,c(e,t,"get"))}var p=n(34852),f=n(75189);function h(e){if(null==e)throw new a.p2("Expected `PSPDFKit.unload` to be called with an `HTMLElement | string | PSPDFKit.Instance`\ninstead none was provided.");if("string"==typeof e){const t=e;if(null===(e=document.querySelector(t)))throw new a.p2(`Couldn't find a container which matches the provided selector \`${t}\``)}else if(!(e instanceof HTMLElement||e instanceof f.Z))throw new a.p2("Expected `PSPDFKit.unload` to be called with a valid `target` argument.\nAllowed values for `target` are: `HTMLElement | string | PSPDFKit.Instance`.\n");let t;return e instanceof f.Z?t=p.ae.current.get(e):p.If.current.has(e)&&(t=p.If.current.get(e)),!!t&&(t(),!0)}var m=n(68138),g=n(63632);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t{var e,n;(P(this,A,F).call(this),d(this,C))||(u(this,C,document.getElementById("filePicker")),null===(n=d(this,C))||void 0===n||n.addEventListener("change",(e=>{var n;const o=null==e||null===(n=e.target)||void 0===n?void 0:n.files[0];if(o){const e=new FileReader;e.onload=async e=>{const n=new Uint8Array(e.target.result);this.unload(),await P(this,k,T).call(this,n.buffer,t)},e.readAsArrayBuffer(o)}})));null===(e=d(this,C))||void 0===e||e.click()},icon:''};this.currentDocument.setToolbarItems((t=>[e,...t]))}}function I(e){return`Maui_${e}`}function F(){if(!d(this,x)){const e=document.getElementById("documentLoadingIndicator");if(!e)return;u(this,x,e)}d(this,x).style.visibility="collapse"}new class{constructor(){b(this,A),b(this,O),b(this,k),w(this,E,{writable:!0,value:"#pspdfkit"}),w(this,x,{writable:!0,value:void 0}),w(this,D,{writable:!0,value:void 0}),w(this,C,{writable:!0,value:void 0})}async addAdvanceAccessScript(e){const t=document.getElementById("advanceAccess");t.src=e;const n=new Promise(((e,n)=>{t.onload=e,t.onerror=n}));await n}async loadDocumentFromPath(e,t){P(this,A,F).call(this),await P(this,k,T).call(this,e,t)}async loadDocumentFromBase64String(e,t){P(this,A,F).call(this),await P(this,k,T).call(this,`data:application/pdf;base64,${e}`,t)}async loadDocumentFromBuffer(e,t){P(this,A,F).call(this),await P(this,k,T).call(this,e.buffer,t)}async exportDocument(e,t){const n=JSON.parse(e);n.outputFormat=null!=t&&{conformance:g.w[t]};const o=await this.currentDocument.exportPDF(n);return new Uint8Array(o)}unload(){h("#pspdfkit")}setSelectedAnnotation(e){this.currentDocument.setSelectedAnnotation(e)}showDocumentLoadingIndicator(){if(!d(this,x)){const e=document.getElementById("documentLoadingIndicator");if(!e)return;u(this,x,e)}d(this,x).style.visibility="visible"}showGenericProcessingIndicator(){if(!d(this,D)){const e=document.getElementById("genericProcessingIndicator");if(!e)return;u(this,D,e)}d(this,D).style.visibility="visible"}hideGenericProcessingIndicator(){if(!d(this,D)){const e=document.getElementById("genericProcessingIndicator");if(!e)return;u(this,D,e)}d(this,D).style.visibility="collapse"}};var M=n(59780),_=n(89335),N=n(3845),R=n(1053),L=n(83634),B=n(74985),j=n(27646),z=n(19209),K=n(18509),Z=n(19419),U=n(65338),V=n(34426),G=n(11863),W=n(39745),q=n(76192),H=n(26248),$=n(13997),X=n(20792),Y=n(52842),J=n(77973),Q=n(18025),ee=n(97528),te=n(88804),ne=n(39511),oe=n(80440),re=n(66209),ie=n(47710),ae=n(89e3),se=n(52247),le=n(2810),ce=n(19702);var ue=n(9946),de=n(65872),pe=n(37231),fe=n(59386),he=n(99745),me=n(28098),ge=n(64494),ve=n(75237),ye=n(79941),be=n(151),we=n(64125),Se=n(92457),Pe=n(64845),Ee=n(84760),xe=n(68258),De=n(46791),Ce=n(56169),ke=n(94681),Oe=n(96617),Ae=n(33320),Te=n(71652),Ie=n(19568),Fe=n(84674),Me=n(98158),_e=n(54097),Ne=n(86617),Re=n(45395),Le=n(24871),Be=n(78399),je=n(36489),ze=n(79827),Ke=n(4132),Ze=n(3150),Ue=n(5038),Ve=n(71603),Ge=n(75669),We=n(66687);const qe=["color"];function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $e(e){for(var t=1;t(0,le.vH)(null,e),rotate:(e,t,n)=>{const o=(0,Ge.h4)(e,n);return(0,Ge.az)(o.set("rotation",t))}},AnnotationPresets:{toSerializableObject:le.xT,fromSerializableObject:le.MR},Comment:G.ZP,Bookmark:R.Z,CustomOverlayItem:B.Z,OutlineElement:j.Z,FormFields:{FormField:M.Wi,ButtonFormField:M.R0,CheckBoxFormField:M.rF,ChoiceFormField:M.Dz,ComboBoxFormField:M.fB,ListBoxFormField:M.Vi,RadioButtonFormField:M.XQ,TextFormField:M.$o,SignatureFormField:M.Yo,toSerializableObject:le.vD,fromSerializableObject:e=>(0,le.IN)(String(e.pdfObjectId),e)},FormFieldValue:M.KD,FormOption:z.Z,Color:L.Z,Instance:f.Z,preloadWorker:Ye,load:p.zD,unload:h,convertToPDF:p.eQ,populateDocumentTemplate:p.XV,Error:a.p2,SaveError:Te.V,ViewState:V.Z,PageInfo:Z.Z,TextLine:U.Z,InstantClient:K.Z,TextSelection:re.H,SearchResult:De.Z,SearchState:Ce.Z,AutoSaveMode:q.u,SignatureSaveMode:fe.f,LayoutMode:J.X,PrintMode:ne.X,PrintQuality:oe.g,ScrollMode:ie.G,ZoomMode:me.c,InteractionMode:X.A,unstable_InkEraserMode:Y.b,SidebarMode:ce.f,UIElement:{Sidebar:"Sidebar"},BlendMode:Ne.b,BorderStyle:Re.N,LineCap:Le.u,SidebarPlacement:de.d,SignatureAppearanceMode:pe.H,ShowSignatureValidationStatusMode:ge.W,NoteIcon:Q.Zi,Theme:m.Q,ToolbarPlacement:ae.p,ElectronicSignatureCreationMode:se.M,I18n:xe.ZP,baseUrl:Xe,DocumentIntegrityStatus:H.QA,SignatureValidationStatus:H.qA,SignatureType:H.BG,SignatureContainerType:H.FR,PAdESLevel:H.hz,CertificateChainValidationStatus:H.wk,AnnotationsWillChangeReason:N.f,DocumentComparisonSourceType:ue.b,MeasurementScaleUnitFrom:je.s,MeasurementScaleUnitTo:ze.K,MeasurementPrecision:Ke.L,MeasurementScale:Ve.Z,ProductId:Ue.x,ProcessorEngine:Ze.l,Conformance:g.w,DocumentPermissions:Ie.A,ComparisonOperation:We.Bd,DocumentDescriptor:We.ZS,ComparisonOperationType:s.b,viewStateFromOpenParameters:he.s,get unstable_defaultElectronicSignatureColorPresets(){return(0,i.d0)(Pe.Z).toJS().map((e=>{let{color:t}=e;return $e($e({},(0,r.Z)(e,qe)),{},{color:new L.Z(t)})}))},get defaultToolbarItems(){return Se.ZP.toJS()},get defaultDocumentEditorFooterItems(){return Fe.Z.toJS()},get defaultDocumentEditorToolbarItems(){return Me.Z.toJS()},get defaultAnnotationPresets(){return ve.ZP.toObject()},get defaultStampAnnotationTemplates(){return[...we.ZP]},get defaultAnnotationsSidebarContent(){return _e.Z.toJS()},defaultEditableAnnotationTypes:ye.Z,defaultElectronicSignatureCreationModes:be.Z,defaultSigningFonts:Ee.Z,Options:ee.Options,SearchPattern:ke.n,SearchType:Oe.S,UIDateTimeElement:Be.Y,generateInstantId:Ae.C,Font:W.Z}},61631:(e,t,n)=>{"use strict";n.d(t,{TU:()=>m,aG:()=>f,gH:()=>g,oo:()=>h});var o=n(47347),r=n(67366),i=n(35369),a=n(96114),s=n(3219),l=n(89335),c=n(37676),u=n(97528),d=n(69939),p=n(29346);const f=e=>(t,n)=>{!function e(u){try{if(u instanceof l.lm){(0,o.kG)("string"==typeof u.uri,"URIAction requires `uri`");const e=n();(!e.onOpenURI||e.onOpenURI(u.uri,!0))&&(0,c.Z)(u.uri)}else if(u instanceof l.Di)(0,o.kG)("number"==typeof u.pageIndex,"GoToAction requires `pageIndex`"),t((0,s.YA)(u.pageIndex));else if(u instanceof l.BO)(0,o.kG)("boolean"==typeof u.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.yM)(u.fields,u.includeExclude));else if(u instanceof l.pl)(0,o.kG)("string"==typeof u.uri,"ResetFormAction requires `uri`"),(0,o.kG)("boolean"==typeof u.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.V6)(u));else{if(!(u instanceof l.ZD))throw new o.p2(`Annotation action not handled: ${u.constructor.name}`);{(0,o.kG)(i.aV.isList(u.annotationReferences),"HideAction must have `annotationReferences`");const{annotations:e,formFields:a}=n(),s=u.annotationReferences.map((e=>"fieldName"in e&&a.get(e.fieldName))),l=u.annotationReferences.map((t=>"pdfObjectId"in t&&"number"==typeof t.pdfObjectId?e.find((e=>e.pdfObjectId===t.pdfObjectId)):null));(0,r.dC)((()=>{l.forEach((e=>{e&&t((0,d.FG)(e.set("hidden",u.hide)))})),s.forEach((n=>{n&&n.annotationIds.forEach((n=>{const o=e.get(n);o&&t((0,d.FG)(o.set("hidden",u.hide)))}))}))}))}}}catch(e){(0,o.ZK)(e.message)}u.subActions&&u.subActions.forEach((t=>{e(t)}))}(e)},h=e=>{const{action:t}=e;return t instanceof l.bp?g(t.script,e instanceof p.Z?e.formFieldName:null):f(t)},m=(e,t)=>{const{additionalActions:n,formFieldName:o}=e;return(null==n?void 0:n[t])instanceof l.bp?g(n[t].script,e instanceof p.Z?o:null):f(null==n?void 0:n[t])};function g(e,t){return async(n,r)=>{const{backend:i}=r();if((0,o.kG)(i),"STANDALONE"!==i.type||!u.Options.PDF_JAVASCRIPT)return;(0,o.kG)("string"==typeof e,"JavaScriptAction requires `script`");const s=await i.evalScript(e,t);n((0,a.bt)({changes:s}))}}},69939:(e,t,n)=>{"use strict";n.d(t,{$d:()=>T,$e:()=>O,Ds:()=>N,FG:()=>G,GI:()=>te,GT:()=>Y,GZ:()=>H,Iv:()=>k,QA:()=>R,RK:()=>Q,VX:()=>z,XG:()=>J,ZE:()=>j,Zr:()=>F,aF:()=>M,d8:()=>$,dt:()=>oe,fx:()=>X,gX:()=>_,hQ:()=>q,hX:()=>D,hj:()=>C,i0:()=>ee,ip:()=>A,lA:()=>I,mw:()=>re,pZ:()=>L,sF:()=>B,ug:()=>ne,uk:()=>U,vc:()=>x,vy:()=>ie});var o=n(35369),r=n(67366),i=n(47347),a=n(66687),s=n(3845),l=n(88804),c=n(34573),u=n(29165),d=n(63738),p=n(3219),f=n(96114),h=n(51333),m=n(95651),g=n(7921),v=n(78233),y=n(49177),b=n(45588),w=n(62164),S=n(25387),P=n(91859),E=n(75237);const x=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.ILc,annotation:e,pageIndex:t})},D=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.HS7,annotation:e,pageIndex:t})},C=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.jzI,annotation:e,pageIndex:t})},k=async e=>{const{hash:t,dimensions:n}=await(0,b.uq)(e);return{hash:t,dimensions:n,attachment:new a.Pg({data:e})}},O=e=>async(t,n)=>{const{dimensions:i,hash:a,attachment:l}=await k(e),d=(0,m.om)(n(),i,a,e.type,e.name),f={annotations:(0,o.aV)([d]),reason:s.f.SELECT_END},{eventEmitter:h,annotationManager:g}=n();(0,r.dC)((()=>{null==h||h.emit("annotations.willChange",f),t((0,u.O)(a,l)),t(I((0,o.aV)([d]))),null==g||g.createObject(d,{attachments:(0,o.D5)([[a,l]])}),null==g||g.autoSave(),t((0,c.Df)((0,o.l4)([d.id]),null)),t((0,p.kN)(d.pageIndex,d.boundingBox))}))},A=e=>(t,n)=>{let i;const{imageAttachmentId:u,contentType:d,fileName:f,description:h}=e,g=u&&n().attachments.get(u);if(e instanceof a.GI)t(N("stamp")),i=(0,m.hG)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),e);else{if(!(e instanceof a.sK))return;if(!u)return;t(N("image")),i=(0,m.om)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),u,d||"",f),h&&(i=i.set("description",h))}const v={annotations:(0,o.aV)([i]),reason:s.f.SELECT_END},{eventEmitter:y,annotationManager:b}=n();(0,r.dC)((()=>{null==y||y.emit("annotations.willChange",v),t(I((0,o.aV)([i]))),null==b||b.createObject(i,{attachments:u&&g?(0,o.D5)([[u,g]]):(0,o.D5)()}),null==b||b.autoSave(),t((0,c.Df)((0,o.l4)([i.id]),null)),t((0,p.kN)(i.pageIndex,i.boundingBox))}))},T=e=>(t,n)=>{const a=n();(0,i.kG)(a.backend);const{annotationManager:s,backend:l}=a;(0,r.dC)((()=>{"STANDALONE"===(null==l?void 0:l.type)?t(I((0,o.aV)([e.set("pdfObjectId",null).delete("APStreamCache")]))):t(I((0,o.aV)([e]))),null==s||s.createObject(e,{attachments:(0,m.Dc)(n(),e)})}))},I=e=>({type:S.M85,annotations:e}),F=e=>({type:S.R8P,annotations:e}),M=e=>({type:S.gF5,ids:e}),_=e=>(t,n)=>{const o=n(),r=o.currentItemPreset;if(!r)return;const i=o.annotationPresets.get(r);if(!i)return;let a=!1;o.eventEmitter.emit("annotationPresets.update",{preventDefault:()=>a=!0,currentPreset:r,currentPresetProperties:i,newPresetProperties:e}),a||t({type:S.oE1,attributes:e})},N=e=>({type:S.oWy,currentItemPreset:e}),R=e=>({type:S.UiQ,annotationPresets:e}),L=(e,t)=>({type:S.R1i,annotationID:e,annotationPresetID:t}),B=e=>({type:S.x0v,annotationID:e}),j=e=>({type:S.JwD,annotationID:e}),z=(e,t)=>(n,o)=>{n(N(t)),(0,y.PK)(o(),e).forEach((e=>{n(T(e)),!E.AQ[t]&&n(L(e.id,t))}))},K=(e,t)=>{e().annotationManager.updateObject(t,(0,m.Dc)(e(),t))},Z={},U=e=>(t,n)=>{const{annotations:r,invalidAPStreams:a,backend:s}=n();if(!r.has(e.id))return void(0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped.");(0,m.tl)({annotations:r,backend:s},(0,o.aV)([e]));let l=e.set("updatedAt",new Date);t(F((0,o.aV)([l]))),l=(0,m.tM)(n(),a,l),Z[l.id]||(Z[l.id]=(0,g.Z)(K,P.sP)),Z[l.id](n,l)};function V(e,t,n){const{annotations:o,invalidAPStreams:r,backend:s}=t;(0,m.tl)({annotations:o,backend:s},n);const l=n.map((e=>o.has(e.id)?(e instanceof a.UX&&e.isMeasurement()&&(e=e.set("note",e.getMeasurementDetails().label)),"STANDALONE"===(null==s?void 0:s.type)?e.delete("APStreamCache").set("updatedAt",new Date):e.set("updatedAt",new Date)):((0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),!1))).filter(Boolean);e(F(l)),l.forEach((e=>{const n=(0,m.tM)(t,r,e);var o;null!==e.pageIndex&&(null===(o=t.annotationManager)||void 0===o||o.updateObject(n,{attachments:(0,m.Dc)(t,n)}))}))}const G=e=>(t,n)=>{const i=n();(0,r.dC)((()=>{V(t,i,(0,o.aV)([e]))}))};function W(e,t,n){const{commentThreads:s,comments:l,annotationManager:c,formFieldValueManager:u}=t;n.forEach((t=>{const n=s.get(t.id);if(n&&1===n.size){const t=l.get(n.first());t&&(0,w.kT)(t)&&((0,i.kG)(t.id),e((0,h.Vn)((0,o.l4)([t.id]))))}})),n.forEach((t=>{(t instanceof a.Jn||t instanceof a.FV||t.isCommentThreadRoot)&&e((0,h.Wn)(t))}));let d=(0,o.aV)();(0,r.dC)((()=>{e(M(n.map((e=>e.id)).toSet())),d=n.map((e=>(0,m.dk)(t,e))),d.forEach((e=>{null==c||c.deleteObject(e)}))})),d.forEach((n=>{if(n instanceof a.x_){const r=n.formFieldName?t.formFields.get(n.formFieldName):null;var o;if(r)if(1===r.annotationIds.size&&r.annotationIds.first()===n.id)e((0,f.Wh)(r)),null!==(o=t.backend)&&void 0!==o&&o.isUsingInstantProvider()||null==u||u.deleteObject(new a.KD({name:r.name,value:r.value}));else if(r.annotationIds.includes(n.id)){const t=r.annotationIds.findIndex((e=>e===n.id));let o=r.set("annotationIds",r.annotationIds.filter((e=>e!==n.id)));o.options&&(o=o.set("options",r.options.filter(((e,n)=>n!==t)))),e((0,f.vK)(o))}}Z[n.id]&&delete Z[n.id]}))}const q=e=>(t,n)=>{W(t,n(),(0,o.aV)([e]))},H=(e,t)=>(n,o)=>{const i=o(),{annotations:a}=i,s=t.map((e=>a.get(e))).filter(Boolean);(0,r.dC)((()=>{e.size>0&&V(n,i,e),s.size>0&&W(n,i,s)}))};function $(e){return(t,n)=>{if(e&&!e.isEmpty()){const t=n(),r=e.map((e=>t.annotations.get(e))).filter(Boolean),i={annotations:(0,o.aV)(r),reason:s.f.DELETE_START};t.eventEmitter.emit("annotations.willChange",i)}t({type:S.sCM,annotationsIDs:e})}}const X=e=>({type:S.qRJ,stampAnnotationTemplates:e}),Y=e=>({type:S.RPc,lineWidth:e});function J(){return(e,t)=>{const n=t();let o=new a.Qi((0,m.lx)(n));const r=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(r);const s=a.UL.getCenteredRect(new l.$u({width:P.SP,height:P.SP}),r.pageSize);o=o.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",s),e((0,d.i9)(null,o)),e(G(o))}}function Q(){return(e,t)=>{const n=t();let o=new a.gd((0,m.lx)(n));const r=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(r);const{pagesRotation:s,currentPageIndex:l}=n.viewportState,c=r.pageSize.scale(.5),u=(0,v.gB)(new a.E9({x:c.width,y:c.height}),s);o=o.set("pageIndex",l).set("boundingBox",u).set("rotation",s),e((0,d.DU)(null,o)),e(G(o))}}const ee=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:S.WaW,value:e}},te=e=>({type:S.ieh,ids:e}),ne=e=>({type:S.kVz,ids:e}),oe=e=>({type:S.hw0,callback:e}),re=(e,t)=>({type:S.Dqw,variant:e,annotationObjectIds:t}),ie=e=>({type:S.uOP,annotationId:e})},29165:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});var o=n(25387);const r=(e,t)=>({type:o.huI,hash:e,attachment:t})},51333:(e,t,n)=>{"use strict";n.d(t,{$z:()=>I,BY:()=>x,DO:()=>T,Dm:()=>P,GH:()=>F,Jr:()=>D,Rf:()=>M,UM:()=>k,V4:()=>C,Vn:()=>S,Wn:()=>O,aZ:()=>b,cQ:()=>v,fg:()=>m,gk:()=>w,mh:()=>g,v7:()=>y});var o=n(35369),r=n(25387),i=n(91859),a=n(66687),s=n(69939),l=n(34573),c=n(63738),u=n(49177),d=n(62164),p=n(95651),f=n(97413),h=n(30360);const m=e=>t=>{t({type:r.ckI,comments:e}),t(I())},g=e=>t=>{t({type:r.hxO,rootId:e}),t(I())};function v(){return(e,t)=>{const n=(0,u.PK)(t(),a.FV,!0);if(n.size){e((0,l.fz)()),e((0,s.lA)(n));const r=t().annotations.get(n.first().id);(0,f.k)(r),e((0,l.Df)((0,o.l4)([r.id]),null)),e(g(r.id))}}}const y=e=>({type:r.YHT,users:e}),b=e=>({type:r.ZLr,maxSuggestions:e}),w=e=>t=>{t((e=>({type:r.FdD,comments:e}))(e)),t(I())},S=e=>t=>{t({type:r.kg,ids:e}),t(I())};function P(){return(e,t)=>{const n=t(),r=[],i=[];n.selectedAnnotationIds.forEach((e=>{const t=n.commentThreads.get(e);if(!t)return;let o=t.size;t.forEach((e=>{var t;const i=n.comments.get(e);!i||null!=i.pageIndex||null!=(null===(t=i.text)||void 0===t?void 0:t.value)&&""!==(0,h.KY)(i.text.value)||(r.push(e),o--)})),0===o&&i.push(e)})),r.length>0&&e(S((0,o.l4)(r))),i.length>0&&e((0,s.aF)((0,o.l4)(i)))}}function E(e,t){let{oldComment:n,comment:r,action:i}=t;const{comments:a,eventEmitter:s}=e;if("DELETE"===i)(0,f.k)(n),s.emit("comments.mention",{comment:n,modifications:n.getMentionedUserIds().map((e=>({userId:e,action:"REMOVED"}))).toList()});else if("CREATE"===i)(0,f.k)(r),s.emit("comments.mention",{comment:r,modifications:r.getMentionedUserIds().map((e=>({userId:e,action:"ADDED"}))).toList()});else{(0,f.k)(r);const e=n||r.id&&a.get(r.id),t=r.getMentionedUserIds();let i=(0,o.aV)();(0,f.k)(e);const l=e.getMentionedUserIds(),c=l.subtract(t);c.size>0&&(i=i.push(...c.map((e=>({userId:e,action:"REMOVED"}))).toList()));const u=t.subtract(l);u.size>0&&(i=i.push(...u.map((e=>({userId:e,action:"ADDED"}))).toList())),s.emit("comments.mention",{comment:r,modifications:i})}}const x=(e,t)=>(n,r)=>{const i=r();(0,f.k)(e.rootId);const a=i.annotations.get(e.rootId);(0,f.k)(a);const l=new Date,c=e.set("createdAt",l).set("updatedAt",l).set("pageIndex",a.pageIndex);E(i,{comment:c,oldComment:t,action:"UPDATE"}),n(w((0,o.aV)([c])));const u=i.commentThreads.get(e.rootId);if((0,f.k)(null!=u),1===u.size&&(0,d.kT)(e)){var p,h;let e=a.set("isCommentThreadRoot",!0);const t=i.comments.get(u.first());e=e.set("isAnonymous",Boolean(null==t?void 0:t.isAnonymous)),n((0,s.Zr)((0,o.aV)([e]))),null===(p=i.annotationManager)||void 0===p||p.createObject(e),null===(h=i.annotationManager)||void 0===h||h.autoSave()}(0,f.k)(null!=i.commentManager);const m=r(),g=m.comments.toList().filter((e=>!(0,d.kT)(e)));i.commentManager.createObject(c,{comments:g,annotations:m.annotations}),i.commentManager.autoSave()},D=e=>(t,n)=>{const r=new Date,i=e.set("createdAt",r).set("updatedAt",r);t(m((0,o.aV)([i]))),E(n(),{comment:i,action:"CREATE"});const{commentManager:a,annotations:s}=n();(0,f.k)(null!=a);const l=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.createObject(i,{comments:l,annotations:s})},C=e=>(t,n)=>{const r=e.set("updatedAt",new Date);t(w((0,o.aV)([r]))),E(n(),{comment:r,oldComment:e,action:"UPDATE"});const{annotations:i,commentManager:a}=n();(0,f.k)(null!=a);const s=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.updateObject(r,{comments:s,annotations:i})},k=e=>(t,n)=>{const r=n();if((0,f.k)(e.id),E(r,{oldComment:e,action:"DELETE"}),e.rootId){const o=r.commentThreads.get(e.rootId);if(o&&o.first()===e.id){const a=o.toList().get(1);if(a){const o=r.comments.get(a);var i;if(o)A(n,e.rootId,t,null!==(i=o.isAnonymous)&&void 0!==i&&i)}}if(o&&(1===o.size||(0,d._P)(o,r.comments)&&2===o.size)){const n=r.annotations.get(e.rootId);if(n)return void t((0,s.hQ)(n))}}t(S((0,o.l4)([e.id])));const{commentManager:a}=r;(0,f.k)(null!=a);const l=n(),c=l.comments.toList().filter((e=>!(0,d.kT)(e)));a.deleteObject(e,{comments:c,annotations:l.annotations}),a.autoSave()},O=e=>(t,n)=>{var o;const r=n();if((0,f.k)(e),"SERVER"===(null===(o=r.backend)||void 0===o?void 0:o.type))return;const i=r.comments.filter((t=>t.rootId===e.id&&!(0,d.kT)(t))).map((e=>e.id));if(0===i.size)return;t(S(i.toSet())),r.comments.forEach((e=>{E(r,{oldComment:e,action:"DELETE"})}));const{commentManager:a}=r;(0,f.k)(null!=a);const s=n();let l=s.comments.toList().filter((e=>!(0,d.kT)(e)));l.forEach((t=>{t.rootId===e.id&&(a.deleteObject(t,{comments:l,annotations:s.annotations}),l=l.filter((e=>e.id!==t.id)))})),a.autoSave()},A=(e,t,n,r)=>{var i,a;const l=e(),c=l.annotations.get(t);(0,f.k)(null!=c);const u=c.set("isAnonymous",r);n((0,s.Zr)((0,o.aV)([u]))),null===(i=l.annotationManager)||void 0===i||i.updateObject(u),null===(a=l.annotationManager)||void 0===a||a.autoSave()},T=e=>(t,n)=>{const r=n();(0,f.k)(e.id),E(r,{comment:e,oldComment:r.comments.get(e.id),action:"UPDATE"}),t(w((0,o.aV)([e])));const{commentManager:i}=r;(0,f.k)(null!=i),(0,f.k)(e.rootId);const a=r.commentThreads.get(e.rootId);var s;((0,f.k)(null!=a),a.first()===e.id)&&A(n,e.rootId,t,null!==(s=e.isAnonymous)&&void 0!==s&&s);const{annotations:l,comments:c}=n(),u=c.toList().filter((e=>!(0,d.kT)(e)));i.updateObject(e,{comments:u,annotations:l}),i.autoSave()};function I(){return{type:r.NB4}}const F=()=>(e,t)=>{const n=t();let r=new a.Jn((0,p.lx)(n));const l=n.pages.get(n.viewportState.currentPageIndex);(0,f.k)(l);const u=a.UL.getCenteredRect(new a.$u({width:i.zk,height:i.zk}),l.pageSize);r=r.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",u),e((0,c.k6)(r)),e((0,s.Zr)((0,o.aV)([r]))),e(g(r.id))};function M(e){return{type:r.mfU,onCommentCreationStartCallback:e}}},63738:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>ce,A7:()=>ve,BB:()=>m,BR:()=>x,C4:()=>N,Cc:()=>O,Ce:()=>F,Cn:()=>pt,DU:()=>oe,Di:()=>at,EJ:()=>ze,EY:()=>Se,FA:()=>Pt,Ft:()=>mt,GL:()=>Ie,Gc:()=>U,Gh:()=>Le,HT:()=>gt,Hf:()=>je,IU:()=>ue,Ie:()=>qe,JN:()=>be,Jn:()=>ie,K_:()=>ye,LE:()=>Z,Lt:()=>ne,M4:()=>G,M5:()=>ct,MV:()=>A,Ol:()=>H,Ox:()=>Ve,P4:()=>P,PR:()=>kt,P_:()=>st,Q8:()=>ke,QL:()=>W,Ql:()=>de,R:()=>h,R1:()=>Ne,RN:()=>q,Rx:()=>X,SE:()=>Te,Sn:()=>v,T:()=>Ae,TR:()=>S,Tu:()=>Ce,UF:()=>Je,UG:()=>g,UU:()=>ae,UZ:()=>xt,Ug:()=>C,VF:()=>pe,VU:()=>k,W:()=>bt,Wv:()=>te,X2:()=>le,X8:()=>$e,XX:()=>Qe,Xv:()=>vt,YA:()=>me,YF:()=>St,YI:()=>Y,YK:()=>He,ZV:()=>_e,Zg:()=>se,_$:()=>yt,_P:()=>Pe,_R:()=>Et,_U:()=>ge,_b:()=>V,_z:()=>R,aw:()=>w,bv:()=>J,cI:()=>De,cz:()=>lt,d5:()=>y,d9:()=>ot,dp:()=>j,ek:()=>xe,el:()=>Ke,fq:()=>it,hS:()=>D,i9:()=>B,iJ:()=>ut,i_:()=>We,iu:()=>Q,jJ:()=>Ot,jM:()=>nt,jP:()=>_,k4:()=>re,k6:()=>z,lC:()=>b,lL:()=>wt,lV:()=>Xe,lW:()=>fe,m$:()=>ee,m0:()=>$,mu:()=>Ue,oX:()=>Ee,of:()=>Dt,p2:()=>Ct,p9:()=>T,pM:()=>L,qB:()=>ft,rL:()=>dt,rd:()=>Ze,s3:()=>E,sJ:()=>Ye,sY:()=>Fe,si:()=>tt,t:()=>M,t6:()=>rt,tr:()=>K,u0:()=>Oe,vI:()=>Ge,vY:()=>we,we:()=>Re,xF:()=>et,xW:()=>ht,yg:()=>I,z5:()=>he,ze:()=>Be});var o=n(84121),r=n(47347),i=n(67366),a=n(32170),s=n(25387),l=n(34573),c=n(19702),u=n(3219),d=n(55024);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t({type:s.Dj2}),m=()=>({type:s.G5w}),g=e=>({type:s.kt4,enabled:e}),v=()=>({type:s.GW4}),y=e=>({type:s.mqf,preset:e}),b=()=>({type:s.tLW}),w=e=>({type:s.tS$,preset:e}),S=()=>({type:s.g30}),P=e=>({type:s.GXR,preset:e}),E=()=>({type:s.J7J}),x=e=>({type:s.yPS,preset:e}),D=()=>({type:s.m_C}),C=()=>({type:s.JyO}),k=()=>({type:s.NDs}),O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{signatureRect:null,signaturePageIndex:null,formFieldName:null};return f({type:s.Vu4},e)},A=()=>({type:s.S$y}),T=(e,t)=>()=>I(e,t),I=(e,t,n)=>({type:s.JS9,shapeClass:e,shapeInteractionMode:t,preset:n}),F=()=>({type:s.AIf}),M=e=>({type:s.cbv,preset:e}),_=()=>({type:s.TUA}),N=()=>({type:s.Dzg}),R=()=>({type:s.M3C}),L=()=>({type:s.tie}),B=(e,t)=>({type:s.ZDQ,preset:e,annotation:t}),j=()=>({type:s.B1n}),z=e=>({type:s.dEe,annotation:e}),K=()=>({type:s.iMs});function Z(e){return{type:s.IFt,formDesignMode:e}}function U(e){return{type:s.Gkm,measurementSnapping:e}}function V(e){return{type:s.G6t,scale:e}}function G(e){return{type:s.fwq,measurementPrecision:e}}function W(e){return{type:s.vkF,configurationCallback:e}}function q(e){return{type:s.SdX,scales:e}}function H(){return{type:s.aYj}}function $(){return{type:s.hpj}}function X(){return{type:s.QYP}}function Y(){return{type:s.zKF}}const J=()=>({type:s.MuN}),Q=()=>({type:s.xk1}),ee=()=>({type:s.tYC}),te=()=>({type:s.NAH}),ne=(e,t)=>({type:s.pnu,preset:e,annotation:t,isCallout:!0}),oe=(e,t)=>({type:s.pnu,preset:e,annotation:t}),re=()=>({type:s.KqR}),ie=()=>({type:s.R7l}),ae=()=>({type:s.Vpf}),se=()=>({type:s.eFQ}),le=()=>({type:s.L8n}),ce=e=>({type:s.VNM,editor:e}),ue=e=>({type:s.tPZ,width:e}),de=e=>({type:s.u9b,zoomStep:e}),pe=e=>({type:s.tIQ,disablePointSnapping:e}),fe=e=>({type:s.Ce5,callback:e}),he=e=>({type:s.WtY,transformClientToPage:e});function me(e){return{type:s.rWQ,layoutMode:e}}function ge(e){return{type:s.b0l,scrollMode:e}}function ve(e){return{type:s._TO,showSignatureValidationStatus:e}}function ye(e){return{type:s._n_,scrollElement:e}}function be(e){return{type:s.bxr,spreadSpacing:e}}function we(e){return{type:s._ko,pageSpacing:e}}function Se(e){return{type:s.FHt,keepFirstSpreadAsSinglePage:e}}function Pe(e){return{type:s.ht3,viewportPadding:e}}function Ee(e){return{type:s.NfO,readOnlyEnabled:e}}function xe(){return{type:s.Xlm}}function De(){return{type:s.cyk}}function Ce(){return{type:s.KYU}}function ke(){return{type:s.Nl1}}function Oe(){return{type:s.L9g}}function Ae(){return{type:s.Dl4}}function Te(){return{type:s.GfR}}function Ie(e){return{type:s.iQZ,features:e}}function Fe(e){return{type:s.JQC,signatureFeatureAvailability:e}}function Me(e){return t=>{t({type:s.hv0,mode:e}),t((0,l.vR)())}}function _e(e){return{type:s.ZbY,editableAnnotationTypes:e}}function Ne(e){return{type:s.uFU,isEditableAnnotation:e}}function Re(e,t){return{type:s.ArU,editableAnnotationTypes:e,isEditableAnnotation:t}}function Le(e){return{type:s.Q2U,isEditableComment:e}}const Be=()=>(e,t)=>{e(Me(c.f.ANNOTATIONS));const n=t();for(let e=0;easync(e,t)=>{e(Me(c.f.DOCUMENT_OUTLINE));const n=t();if(n.documentOutlineState.elements)return;(0,r.kG)(n.backend);const o=await n.backend.getDocumentOutline();e((0,a.o)(o))};function Ke(){return Me(c.f.THUMBNAILS)}function Ze(){return Me(c.f.CUSTOM)}function Ue(){return{type:s.hv0,mode:null}}function Ve(e){return{type:s.eI4,placement:e}}function Ge(e){return{type:s.bP3,sidebarOptions:e}}function We(e){return{type:s.dVW,locale:e}}function qe(){return{type:s.RTr}}function He(e){return{type:s.heZ,group:e}}function $e(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:s.hlI,annotationCreatorName:e,immutable:t}}const Xe=()=>({type:s.YIz}),Ye=()=>({type:s.K26}),Je=e=>({type:s.$VE,interactionMode:e}),Qe=()=>({type:s.yrz});function et(){return{type:s.Hbz}}function tt(){return{type:s.sYK}}const nt=e=>({type:s.fAF,customRenderers:e});function ot(){return{type:s.pNz}}function rt(){return{type:s.bV3}}function it(){return{type:s.EpY}}function at(){return{type:s.bui}}function st(e){return{type:s.vVk,previewRedactionMode:e}}function lt(e){return async(t,n)=>{const{viewportState:o,eventEmitter:a,documentComparisonState:s}=n();if(e){const n={start:{},end:{}};n.start.promise=new Promise(((e,t)=>{n.start.resolve=e,n.start.reject=t})),n.end.promise=new Promise(((e,t)=>{n.end.resolve=e,n.end.reject=t})),(0,i.dC)((()=>{t((0,u.nr)(o.set("documentComparisonMode",f(f({},e),{},{completion:n})))),t(ct({referencePoints:[],autoCompare:e.autoCompare,isResultFetched:!1,currentTab:e.autoCompare?null:d.Q.documentA,documentKey:d.Q.documentA,previousViewportState:{zoomMode:o.zoomMode,zoomLevel:o.zoomLevel,scrollPosition:o.scrollPosition,currentPageIndex:o.currentPageIndex,pageSizes:o.pageSizes}}))})),a.emit("documentComparisonUI.start",e)}else if(o.documentComparisonMode){const{completion:e}=o.documentComparisonMode;try{e.start.resolve(),await e.end.promise,(0,i.dC)((()=>{t((0,u.nr)(o.set("documentComparisonMode",null).merge(s.previousViewportState))),t(ct(null))})),a.emit("documentComparisonUI.end")}catch(e){throw new r.p2(e.message)}}}}function ct(e){return{type:s.KA1,documentComparisonState:e}}function ut(e){return{type:s.D5x,a11yStatusMessage:e}}function dt(){return{type:s.JRS}}function pt(){return{type:s.Gox}}function ft(e){return{type:s.rpU,lastToolbarActionUsedKeyboard:e}}function ht(){return{type:s.MYU}}function mt(){return{type:s.mbD}}function gt(){return{type:s.wog}}function vt(){return{type:s.UL9}}function yt(e){return{type:s.IyB,instance:e}}function bt(e){return{type:s.eJ4,customUIStore:e}}const wt=()=>({type:s.qKG}),St=e=>({type:s.oZW,multiAnnotationsUsingShortcut:e}),Pt=()=>({type:s.odo}),Et=e=>({type:s.FQb,annotationsIds:e}),xt=e=>({type:s.bzW,groupId:e}),Dt=(e,t)=>({type:s.b4I,annotationId:e,groupId:t}),Ct=e=>({type:s.tzG,customFontsReadableNames:e}),kt=()=>({type:s.Vje}),Ot=()=>({type:s.XTO})},14012:(e,t,n)=>{"use strict";n.d(t,{Bm:()=>p,qZ:()=>d,rJ:()=>m,sr:()=>f,uT:()=>h});var o=n(67366),r=n(25387),i=n(70006),a=n(96114),s=n(38858),l=n(63738),c=n(20234),u=n(92234);function d(e,t){return{type:r.BS3,reason:e,progress:t}}function p(){return{type:r.nmm}}function f(e){return{type:r.zZV,reason:e}}function h(e){return{type:r.Ty$,resolvePassword:e}}function m(e){let{attemptedUnlockViaModal:t,hasPassword:n,features:d,signatureFeatureAvailability:p,permissions:f,documentInfo:h,formJSON:m,annotationManager:g,bookmarkManager:v,formFieldManager:y,formFieldValueManager:b,commentManager:w,changeManager:S,minSearchQueryLength:P,documentHandle:E,allowedTileScales:x,pageKeys:D}=e;return(e,C)=>{const{searchState:k,documentHandle:O,features:A,signatureFeatureAvailability:T}=C();(0,o.dC)((()=>{x&&e(function(e){return{type:r.iZ1,allowedTileScales:e}}(x)),t&&e({type:r.hC8}),e(function(e){return{type:r.poO,hasPassword:e}}(n)),d&&0===A.size&&e((0,l.GL)(d)),p&&!T&&e((0,l.sY)(p)),e((0,s.at)(f)),O&&O!==E&&e({type:r.obk}),e((0,s.GO)(h,D)),m&&e((0,a.Qi)(m)),e((0,u.QQ)()),e(function(e){return{type:r.rxv,annotationManager:e}}(g)),e(function(e){return{type:r.Hrp,bookmarkManager:e}}(v)),e(function(e){return{type:r.oj5,formFieldManager:e}}(y)),e(function(e){return{type:r.GHc,formFieldValueManager:e}}(b)),null!=w&&e(function(e){return{type:r.UII,commentManager:e}}(w)),e(function(e){return{type:r.gbd,changeManager:e}}(S)),"number"==typeof P&&e((0,i.j8)(k.set("minSearchQueryLength",P))),e((0,c.kE)(E))}))}}},38151:(e,t,n)=>{"use strict";n.d(t,{$t:()=>O,C0:()=>x,FD:()=>g,Hv:()=>_,Ij:()=>C,Mq:()=>A,O2:()=>T,Ow:()=>y,PZ:()=>k,Pq:()=>D,RL:()=>v,SF:()=>E,Yg:()=>P,Zv:()=>w,gY:()=>p,lx:()=>F,qt:()=>m,rO:()=>j,sC:()=>b,u:()=>B,u8:()=>f,um:()=>L,uy:()=>M,v2:()=>h,yy:()=>S});var o=n(67366),r=n(25387),i=n(97413),a=n(30761),s=n(96114),l=n(72643),c=n(68218),u=n(34573),d=n(12671);const p=async(e,t)=>{const{backend:n,contentEditorSession:i}=t();i.sessionId>0&&await(null==n?void 0:n.contentEditorExit()),await(null==n?void 0:n.contentEditorEnter()),(0,o.dC)((()=>{e((0,u.fz)()),e({type:r.MGL})}))},f=async(e,t)=>{const{backend:n}=t();await(null==n?void 0:n.contentEditorExit()),(0,o.dC)((()=>{e({type:r.Qm9}),e(P(!1))}))};const h=(e,t,n,o,r)=>R(e,t,(e=>e.contentEditorSetTextBlockCursor(t,n,o,r))),m=(e,t,n,o,r)=>R(e,t,(e=>e.contentEditorInsertTextBlockString(t,n,o,r))),g=(e,t,n,o,r)=>R(e,t,(e=>e.contentEditorMoveTextBlockCursor(t,n,o,r))),v=(e,t,n,o)=>R(e,t,(e=>e.contentEditorDeleteTextBlockString(t,n,o))),y=(e,t,n,o)=>R(e,t,(e=>e.contentEditorSetTextBlockSelection(t,n,o))),b=(e,t,n,o,r,i)=>R(e,t,(e=>e.contentEditorSetTextBlockSelectionRange(t,n,o,r,i))),w=(e,t,n)=>R(e,t,(e=>e.contentEditorTextBlockUndo(t,n))),S=(e,t,n)=>R(e,t,(e=>e.contentEditorTextBlockRedo(t,n))),P=e=>({type:r.bOH,isVisible:e}),E=(e,t)=>({type:r.joZ,pageIndex:e,textBlockId:t}),x=(e,t)=>({type:r.xhM,pageIndex:e,textBlockId:t}),D=e=>{e({type:r.fQw})},C=(e,t)=>{e({type:r.Y4});const n=t().contentEditorSession;e(function(e){return async(t,n)=>{const{backend:o,features:r,annotations:l,isAPStreamRendered:c}=n();(0,i.k)(o),o.cancelRequests(),await o.contentEditorSaveAndReload(e);const u=await o.runPDFFormattingScriptsFromWidgets(l,null,c);await(0,a.jX)(t,n,{features:r}),u.length&&t((0,s.bt)({changes:u}))}}((0,l.Gp)(n))),e(f)},k=e=>{let{fixpointValue:t,newWidth:n}=e;return async(e,o)=>{const a=o(),{backend:s}=a;(0,i.k)(s);const{textBlockInteractionState:l}=a.contentEditorSession;if((null==l?void 0:l.state)!==c.FP.Selected)return;const{pageIndex:u,textBlockId:p}=l;e({type:r.ciU,pageIndex:u,textBlockId:p,fixpointValue:t,newWidth:n});const f=(0,c.aT)(u,p)(o());(0,i.k)(f),await s.contentEditorLayoutTextBlock(p,null,null,(0,d.hH)(f)).then((t=>e({type:r.VOt,pageIndex:u,textBlockId:p,updateInfo:t}))).catch()}},O=e=>{let{anchor:t,pageIndex:n=null,textBlockId:o=null,isKeyboardMove:a}=e;return async(e,s)=>{const l=s(),{backend:u}=l;if((0,i.k)(u),null===n||!o){const{textBlockInteractionState:e}=l.contentEditorSession;if(({pageIndex:n,textBlockId:o}=e),(null==e?void 0:e.state)===c.FP.Active)return}e({type:r.fLm,pageIndex:n,textBlockId:o,anchor:t,isKeyboardMove:a});const p=(0,c.aT)(n,o)(s());(0,i.k)(p),await u.contentEditorLayoutTextBlock(o,null,null,(0,d.hH)(p)).then((t=>e({type:r.VOt,pageIndex:n,textBlockId:o,updateInfo:t}))).catch()}},A=e=>(t,n)=>{const o=n(),{backend:a}=o;(0,i.k)(a);const{textBlockInteractionState:s}=o.contentEditorSession;(0,i.k)((null==s?void 0:s.state)===c.FP.Active);const l=(0,c.aT)(s.pageIndex,s.textBlockId)(o);if(l)if(l.selection)a.contentEditorTextBlockApplyFormat(s.textBlockId,null,e,(0,d.hH)(l)).then((e=>{t({type:r.VOt,pageIndex:s.pageIndex,textBlockId:s.textBlockId,updateInfo:e})}));else{let n=l.modificationsCharacterStyle.fontRef.faceRef;e.family&&(n=n.set("family",e.family)),null!=e.bold&&(n=n.setIn(["variant","bold"],e.bold)),null!=e.italic&&(n=n.setIn(["variant","italic"],e.italic)),t({type:r.Ebp,pageIndex:s.pageIndex,textBlockId:s.textBlockId,faceRef:n,color:e.color,size:e.size})}},T=async(e,t)=>{e(I());const{backend:n}=t();(0,i.k)(n);const o=await n.contentEditorGetAvailableFaces();e(N(o))},I=()=>({type:r.U7k}),F=(e,t)=>({type:r.Han,tooltipRect:e,fontFace:t}),M=e=>async t=>{new Promise((n=>{setTimeout((()=>{e.aborted||t({type:r.WmI}),n()}),100)}))},_=e=>({type:r.nI6,abortController:e}),N=e=>({type:r.ZgW,faceList:e}),R=(e,t,n)=>async(o,a)=>{const{backend:s}=a();(0,i.k)(s),o({type:r.HYy});const l=await n(s);o({type:r.VOt,pageIndex:e,textBlockId:t,updateInfo:l})},L=async(e,t)=>{const n=t(),{backend:a,contentEditorSession:s}=n;(0,i.k)(a);const{textBlockInteractionState:l}=s;(0,i.k)((null==l?void 0:l.state)===c.FP.Selected||(null==l?void 0:l.state)===c.FP.Active);const{pageIndex:u,textBlockId:p}=l,f=(0,c.aT)(u,p)(t());(0,i.k)(f);const h=(0,d.hH)(f);(0,o.dC)((()=>{e(y(u,p,"everything",h)),e(v(u,p,"forward",h)),e({type:r.snK,pageIndex:u,textBlockId:p})}))},B=e=>({type:r.teI,mode:e}),j=(e,t)=>async(n,a)=>{const{backend:s}=a();(0,i.k)(s),n({type:r.HYy});const l=await s.contentEditorCreateTextBlock(e);l.textBlock.modificationsCharacterStyle.fontRef.size=16;const{id:c,textBlock:{maxWidth:u,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:f}}=l,h=await s.contentEditorLayoutTextBlock(c,null,null,{maxWidth:u,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:f});(0,o.dC)((()=>{n({type:r.uo5,pageIndex:e,initialTextBlock:l,anchor:t.set("y",t.y-h.contentRect.offset.y/2)}),n({type:r.VOt,pageIndex:e,textBlockId:c,updateInfo:h})}))}},41194:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l,e:()=>s});var o=n(47347),r=n(30761),i=n(25387),a=n(96114);function s(e,t,n,i){return async(s,l)=>{const{backend:c,features:u,pages:d}=l();try{(0,o.kG)(c),c.cancelRequests();const n=await c.signDocumentAndReload(e,t);if(await(0,r.jX)(s,l,{features:u,pageKeys:d.map((e=>e.pageKey))}),n&&"STANDALONE"===c.type){const e=await c.runPDFFormattingScripts([n],!1);e.length>0&&s((0,a.bt)({changes:e,isReloading:!0}))}}catch(e){return i(e)}l().eventEmitter.emit("document.change",[]),n()}}function l(e){return{type:i.lRe,digitalSignatures:e}}},20234:(e,t,n)=>{"use strict";n.d(t,{KY:()=>p,NV:()=>f,b_:()=>u,kE:()=>d});var o=n(47347),r=n(30761),i=n(25387),a=n(96114),s=n(2810),l=n(33320),c=n(18146);function u(e,t,n){return async(i,l)=>{const{backend:u,features:d,pages:p,annotations:f,isAPStreamRendered:m}=l();(0,o.kG)(u);try{const t=e.map(s.kg);u.cancelRequests(),await u.applyOperationsAndReload(t);const n=await u.runPDFFormattingScriptsFromWidgets(f,null,m);await(0,r.jX)(i,l,{features:d,pageKeys:h(p.map((e=>e.pageKey)),e,f.filter((e=>e instanceof c.Z)))}),n.length&&i((0,a.bt)({changes:n}))}catch(e){return n(e)}l().eventEmitter.emit("document.change",e),t()}}function d(e){return{type:i.S0t,documentHandle:e}}function p(e){return{type:i.YS$,isDocumentHandleOutdated:e}}function f(e,t){return async(n,i)=>{const{backend:s,features:l,annotations:c,isAPStreamRendered:u}=i();(0,o.kG)(s);try{s.cancelRequests(),await s.reloadDocument();const e=await s.runPDFFormattingScriptsFromWidgets(c,null,u);await(0,r.jX)(n,i,{features:l}),e.length&&n((0,a.bt)({changes:e}))}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function h(e,t,n){return t.reduce(((e,t)=>{switch(t.type){case"addPage":return e.insert("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,(0,l.C)());case"movePages":{const n=e.filter(((e,n)=>t.pageIndexes.includes(n)));return e.map(((e,n)=>t.pageIndexes.includes(n)?null:e)).splice("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,0,...n.toArray()).filter((e=>e))}case"removePages":return e.filter(((e,n)=>!t.pageIndexes.includes(n)));case"keepPages":return e.filter(((e,n)=>t.pageIndexes.includes(n)));case"duplicatePages":return e.flatMap(((e,n)=>t.pageIndexes.includes(n)?[e,(0,l.C)()]:[e]));case"cropPages":case"rotatePages":case"flattenAnnotations":return e.map(((e,n)=>!t.pageIndexes||t.pageIndexes.includes(n)?(0,l.C)():e));case"applyRedactions":{const t=n.map((e=>e.pageIndex)).toSet();return e.map(((e,n)=>t.includes(n)?(0,l.C)():e))}case"updateMetadata":case"setPageLabel":return e;case"importDocument":if(t.treatImportedDocumentAsOnePage){const n="beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1;return e.map(((e,t)=>t(0,l.C)()));default:throw new Error(`Operation ${t} is not implemented`)}}),e)}},32170:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,o:()=>r});var o=n(25387);function r(e){return{type:o.Oh4,outline:e}}function i(e){return{type:o.Whn,level:e}}},96114:(e,t,n)=>{"use strict";n.d(t,{bt:()=>Z,kW:()=>U,zq:()=>T,TD:()=>M,Wh:()=>G,HE:()=>F,M$:()=>N,h4:()=>B,el:()=>L,ul:()=>K,yM:()=>W,xW:()=>I,xh:()=>j,Qi:()=>A,r$:()=>R,V6:()=>q,vK:()=>V,C2:()=>_});var o=n(67366),r=n(47347),i=n(35369),a=n(73935),s=n(66687),l=n(25387),c=n(2810),u=n(69939),d=n(86920),p=n(37676),f=n(16126),h=n(25644),m=n(97333),g=n(97528),v=n(35129),y=n(84121),b=n(76154),w=n(37756);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function P(e){for(var t=1;t(0,r.wp)(i.formatMessage(t,null==n?void 0:n.reduce(((e,t,n)=>P(P({},e),{},{[`arg${n}`]:t})),{})))),0)}var x=n(63738),D=n(20792),C=n(76192),k=n(95651),O=n(25904);function A(e){return{type:l.iJ2,formJSON:e}}function T(e){return{type:l.Ui_,formFieldValues:e}}function I(e){return{type:l.m3$,formFieldValues:e}}function F(e){return{type:l.u7V,formFieldValuesIds:e}}function M(e){return{type:l.zGM,formFields:e}}function _(e){return{type:l.Wyx,formFields:e}}function N(e){return{type:l.D_w,formFieldsIds:e}}function R(e){return{type:l.TYu,onWidgetCreationStartCallback:e}}function L(){return e=>{e((0,x.LE)(!0)),e((0,x.UF)(D.A.FORM_CREATOR))}}function B(){return e=>{e((0,x.LE)(!1)),e((0,x.XX)())}}function j(e,t){return(n,a)=>{const l=e.map((e=>new s.KD({name:e.name,value:e.value,optionIndexes:e.optionIndexes,isFitting:e.isFitting}))),c=(0,i.aV)(l),{backend:u,formFields:d,formFieldValueManager:p,annotations:h,viewportState:{zoomLevel:m}}=a();if((0,r.kG)(u),(0,r.kG)(p),g.Options.PDF_JAVASCRIPT&&"STANDALONE"===u.type)n(K(c,t));else{const e=[];(0,o.dC)((()=>{c.forEach((t=>{let o;const a=new Promise((e=>{o=e}));e.push(a),(0,f.Ay)({getState:()=>({formFields:d,annotations:h,backend:u}),originalFormFields:(0,i.D5)({[t.name]:d.get(t.name)}),formFieldValues:(0,i.aV)(l),callback:e=>{if(!e.includes(t.name)){const e=d.get(t.name);(0,r.kG)(e);const o=e.annotationIds.reduce(((e,t)=>{const n=h.get(t);return n instanceof s.x_?e.push(n):e}),(0,i.aV)());if(e.multiLine){const r=(0,O.$Z)(o.first(),e.value,m);n(I((0,i.aV)([t.set("isFitting",r)])))}else n(I((0,i.aV)([t])))}},resolve:o}),p.updateObject(t)}))})),Promise.all(e).then((()=>{null==t||t()})).catch((e=>{throw e}))}}}let z=Promise.resolve();function K(e,t){return async(n,o)=>{const l=z;let c=()=>{};z=new Promise((function(e){c=e})),await l;try{const{backend:t}=o();if((0,r.kG)(t),"STANDALONE"!==t.type||!g.Options.PDF_JAVASCRIPT)return;const l=await(0,m.Vs)(t.evalFormValuesActions(e),1e4),u=l.filter((e=>e.change_type===d.zR&&"pspdfkit/form-field-value"===e.object.type)),p=u.map((e=>e.object.name)),h=(0,i.aV)(u.map((e=>new s.KD({name:e.object.name,value:Array.isArray(e.object.value)?(0,i.aV)(e.object.value):e.object.value,optionIndexes:e.object.optionIndexes})))),v=e.map((e=>e.name)).toArray().filter((e=>p.indexOf(e)<0)),{formFields:y}=o(),b=(0,f.Qg)(y.filter(((e,t)=>v.indexOf(t)>=0))),w=y.filter((t=>e.find((e=>e.name===t.name))||b.find((e=>e.name===t.name))||p.includes(t.name))),S=e.map((e=>h.find((t=>t.name===e.name))||e)).concat(h.filter((t=>!e.find((e=>e.name===t.name)))));(0,f.Ay)({getState:o,originalFormFields:w,formFieldValues:S,callback:t=>{e.size>0&&(0,a.flushSync)((function(){n(I(e))})),b.size>0&&n(I(b)),n(Z({changes:l,unchangedFormFieldValues:t}))}})}catch(e){}finally{c()}null==t||t()}}function Z(e){let{changes:t,unchangedFormFieldValues:n=[],resolve:a,reject:s,isReloading:m=!1}=e;return(e,g)=>{const y=g(),{annotations:b,formFields:w,formFieldManager:S,backend:P,autoSaveMode:x}=y,D=y.formattedFormFieldValues;let k,O=(0,i.aV)(),A=y.editingFormFieldValues;(0,o.dC)((function(){null==P||P.setFormJSONUpdateBatchMode(!0).catch((e=>{null==s||s(e)})),O=(0,i.aV)().withMutations((n=>{k=D.withMutations((o=>{t.forEach((t=>{let{change_type:i,object:a}=t;switch(i){case d.uV:case d.zR:if("pspdfkit/form-field-value"===a.type){const e=(0,c.u9)(a);n.push(e),"string"==typeof a.formattedValue&&o.set(e.name,a.formattedValue),"string"==typeof a.editingValue&&(A=A.set(e.name,a.editingValue))}else if(a.type.startsWith("pspdfkit/form-field/")){if(!S)return;const t=(0,c.IN)(a.id,a,{permissions:a.permissions,group:a.group});w.has(t.name)?e(V(t)):e(U(t))}else try{const t=(0,c.vH)(a.id,a);b.has(t.id)?e((0,u.FG)(t)):e((0,u.$d)(t))}catch(e){(0,r.ZK)(`Form actions: unable to apply change of type "${i}"\n\n${a}\n\n${e.message}`)}break;case d.co:if(a.type.startsWith("pspdfkit/form-field/")){const t=w.get(a.name);t?e(G(t)):(0,r.ZK)(`Form actions: unable to find FormField to delete with id "${a.id}".`)}else{const t=b.get(a.id);t?e((0,u.hQ)(t)):(0,r.ZK)(`Form actions: unable to find Annotation to delete with id "${a.id}".`)}break;case d.D2:switch(a.type){case"pspdfkit/javascript/effects/alert":{const{message:e}=a;if(e.startsWith(f.$Y)){const t=e.split("[")[1].split("]"),n=t[1].split(f.as);E(y.locale,v.A.dateValidationBadFormat,[t[0],n[1]])}else if(e.startsWith(f.sh)){const t=e.split("[")[1].split("]");E(y.locale,v.A.numberValidationBadFormat,[t[0]])}else(0,r.wp)(e);break}case"pspdfkit/javascript/effects/print":e((0,h.S0)());break;case"pspdfkit/javascript/effects/launchURL":var s;(null===(s=y.onOpenURI)||void 0===s?void 0:s.call(y,a.url,!1))&&(a.newFrame?(0,p.Z)(a.url):(0,p.l)(a.url));break;case"pspdfkit/javascript/effects/mail":{if(!a.to)break;let e=`mailto:${Array.isArray(a.to)?a.to.join(","):a.to}?`;const t=[];if(a.subject&&t.push(`subject=${encodeURIComponent(a.subject)}`),a.cc){const e=Array.isArray(a.cc)?a.cc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.cc);t.push(`cc=${e}`)}if(a.bcc){const e=Array.isArray(a.bcc)?a.bcc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.bcc);t.push(`bcc=${e}`)}a.message&&t.push(`body=${encodeURIComponent(a.message)}`),e+=t.join("&"),(0,p.Z)(e);break}case"pspdfkit/javascript/effects/importIcon":break;default:(0,r.ZK)(`Form actions: side effect "${a.type}" not supported.`)}break;case d.Q:break;default:(0,r.ZK)(`Form actions: change type "${i}" not supported.`)}}))}))}))}));const T=null==P?void 0:P.setFormJSONUpdateBatchMode(!1);let F=[];if(O.size>0){e(I(O)),k.size>0&&e(function(e){return{type:l.VK7,formattedFormFieldValues:e}}(k)),A.size>0&&e(function(e){return{type:l.yET,editingFormFieldValues:e}}(A));const{formFieldValueManager:t}=g();(0,r.kG)(t);let o=(0,i.l4)();F=O.filter((e=>!n.includes(e.name))).map((e=>{if(t.updateObject(e),m){const t=w.get(e.name);if(t){const e=t.annotationIds.map((e=>b.get(e))).filter(Boolean);o=o.concat((0,i.l4)(e.map((e=>e.pageIndex))))}}return x===C.u.DISABLED?Promise.resolve():t.ensureObjectSaved(e)})).toArray(),m&&o.size>0&&e({type:l.TG1,pageIndexes:o})}Promise.all([T,...F]).then((()=>{null==a||a()})).catch((e=>{null==s||s(e)}))}}function U(e){return(t,n)=>{const{formFields:o,formFieldManager:a}=n();if(o.get(e.name))throw new r.p2(`Cannot create form field: a form field with the name "${e.name}" already exists. Form field names must be unique.`);t(M((0,i.aV)([e]))),null==a||a.createObject(e)}}function V(e){return(t,n)=>{var o;const{formFields:a,annotations:s,backend:l}=n(),c=a.find((t=>t.id===e.id||t.name===e.name));if(!c)return void(0,r.ZK)("A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped.");if(c.readOnly!==e.readOnly){const t=e.annotationIds.map((e=>s.get(e))).filter(Boolean);(0,k.CU)({formFields:a,backend:l},t,e)}const u=e.merge({value:c.value,values:c.values});t(_((0,i.aV)([u]))),null===(o=n().formFieldManager)||void 0===o||o.updateObject(u)}}function G(e){return(t,n)=>{var o;const r=n(),a=e.annotationIds.map((e=>r.annotations.get(e))).filter(Boolean);a.isEmpty()||(t((0,u.aF)(a.map((e=>null==e?void 0:e.id)).toSet())),a.forEach((e=>{var t;null===(t=r.annotationManager)||void 0===t||t.deleteObject(e)}))),t(N((0,i.l4)([e.id]))),null===(o=n().formFieldManager)||void 0===o||o.deleteObject(e)}}function W(e,t){return(n,o)=>{const i=H(o(),e,t).map((e=>{const{name:t}=e;let n;return e instanceof s.$o||e instanceof s.XQ?n=e.defaultValue:e instanceof s.Dz||e instanceof s.rF?n=e.defaultValues:e instanceof s.R0?n=null:(0,r.kG)(!1),new s.KD({name:t,value:n})}));g.Options.PDF_JAVASCRIPT&&n(K(i)),n(I(i)),i.forEach((e=>{var t;null===(t=o().formFieldValueManager)||void 0===t||t.updateObject(e)}))}}function q(e){return(t,n)=>{var o;const a=n();let l,c=!1;if(null===(o=a.formFieldValueManager)||void 0===o||o.eventEmitter.emit("willSubmit",{preventDefault:()=>c=!0}),c)return;const{uri:u,fields:d,includeExclude:p,exportFormat:f,getMethod:h,submitPDF:m,xfdf:g}=e,v=(0,i.D5)(H(a,d,p).filter((e=>!e.noExport)).map((e=>{const{name:t}=e;return[t,e instanceof s.R0?null:void 0===e.value?e.values:e.value]})));if(f){const e=function(e){const t=[];return e.forEach(((e,n)=>{const o=encodeURIComponent(n);"string"==typeof e?t.push(`${o}=${encodeURIComponent(e)}`):null===e?t.push(`${o}=`):e instanceof i.aV&&e.forEach((e=>{t.push(`${o}[]=${encodeURIComponent(e)}`)}))})),t.join("&")}(v);if(h)l=Promise.resolve({uri:`${u}?${e}`,fetchOptions:{method:"GET"}});else{const t={headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"}),method:"POST",body:e};l=Promise.resolve({uri:u,fetchOptions:t})}}else{if(!m)return g?void(0,r.vU)("XFDF Form submission not supported yet."):void(0,r.vU)("FDF Form submission not supported yet.");var y;l=null===(y=a.backend)||void 0===y?void 0:y.exportPDF({flatten:!0,incremental:!1}).then((e=>{const t={headers:new Headers({"Content-Type":"application/pdf"}),method:"POST",body:e};return{uri:u,fetchOptions:t}}))}l.then((e=>{let{uri:t,fetchOptions:n}=e;fetch(t,n).then((e=>{var t;null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{response:e})}))})).catch((e=>{var t;e(`Form submission failed with the following error:\n\n${e}`),null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{error:e})}))}}function H(e,t,n){let o;const r=e.formFields.keySeq().toSet();return o=t?n?r.subtract(t):r.intersect(t):r,e.get("formFields").valueSeq().filter((e=>o.includes(e.name))).toList()}},92234:(e,t,n)=>{"use strict";n.d(t,{KX:()=>w,QQ:()=>S,Yw:()=>b,ou:()=>E,pB:()=>y,z9:()=>P});var o=n(84121),r=n(35369),i=n(47347),a=n(25387),s=n(69939),l=n(39728),c=n(32125),u=n(95651),d=n(67699),p=n(51333),f=n(33320),h=n(96114);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t{const{historyChangeContext:r}=o();n(v(e)),t(),n(v(r))}}function b(){return(e,t)=>{const{undoActions:n,annotations:o,isHistoryEnabled:m}=t();if(!m)throw new i.p2("Cannot undo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot undo: the Undo actions history is empty.");const v=n.last(),b=(0,l.kM)(v,o);e(y(d.j.HISTORY,(()=>{"create"===v.type?e(function(e){return function(t,n){const{historyIdsMap:o,backend:i}=n();let l=e.payload;const c=e.formField;if(e.restoreAPStream&&"STANDALONE"===(null==i?void 0:i.type)&&(l=l.set("APStreamCache",{attach:o.get(l.id)||l.id})),t((0,s.$d)(l)),c&&t((0,h.kW)(c)),l.isCommentThreadRoot&&e.comments){e.comments.map((t=>t.set("rootId",e.payload.id).set("id",(0,f.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}e.restoreAPStream?t((0,s.ug)((0,r.D5)({[l.id]:l.pageIndex}))):t((0,s.GI)((0,r.D5)({[l.id]:l.pageIndex})));const u={type:"delete",payload:{id:l.id}};t({type:a.bVL,nextRedoAction:u})}}(v)):"update"===v.type?e(function(e){return function(t,n){const{annotations:o,historyIdsMap:d,backend:p}=n();let f=o.get(e.payload.id);!f&&e.deletedAnnotation&&(f=e.deletedAnnotation.set("id",(0,u.xc)()),t((0,s.$d)(f))),(0,i.kG)(f instanceof c.Z);let h=f.merge(g(g({},e.payload),{},{pdfObjectId:f.pdfObjectId,id:f.id}));e.restoreAPStream&&"STANDALONE"===(null==p?void 0:p.type)&&(h=h.set("APStreamCache",{attach:d.get(h.id)||h.id})),t((0,s.FG)(h)),e.restoreAPStream&&t((0,s.ug)((0,r.D5)({[h.id]:h.pageIndex})));const m={type:"update",payload:g(g({},(0,l.mZ)(h,f)),{},{id:f.id})};t({type:a.bVL,nextRedoAction:m}),t({type:a.tC1,oldId:d.get(e.payload.id)||e.payload.id,newId:f.id})}}(v)):"delete"===v.type?e(function(e){return function(t,n){const o=n(),{annotations:i,commentThreads:d,comments:p,historyIdsMap:f}=o,m=i.get(e.payload.id);if(!(m instanceof c.Z))return;t((0,s.hQ)(m));const g=(0,u.xc)(),v=(0,l.Yr)(m,g,d,p),y=(0,l.ax)(m,g,o);y&&t((0,h.M$)((0,r.l4)([y.id])));const b={type:"create",payload:m.merge(e.payload).set("id",g),comments:v,formField:y};t({type:a.bVL,nextRedoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:f.get(e.payload.id)||e.payload.id,newId:g})}}(v)):(0,i.Rz)(v.type)})));const{annotations:w,eventEmitter:S}=t(),P=(0,l.FA)(v,w,v.payload.id);S.emit("history.undo",{before:b,after:P}),S.emit("history.change",{before:b,after:P,action:"undo"})}}function w(){return(e,t)=>{const{redoActions:n,annotations:o,isHistoryEnabled:r}=t();if(!r)throw new i.p2("Cannot redo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot redo: the Redo actions history is empty.");const m=n.last(),v=(0,l.kM)(m,o);e(y(d.j.HISTORY,(()=>{"create"===m.type?e(function(e){return t=>{const n=e.payload,o=e.formField;if(t((0,s.$d)(n)),n.isCommentThreadRoot&&e.comments){e.comments.map((e=>e.set("rootId",n.id).set("id",(0,f.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}o&&t((0,h.kW)(o));const r={type:"delete",payload:{id:n.id}};t({type:a.iwn,nextUndoAction:r})}}(m)):"update"===m.type?e(function(e){return(t,n)=>{const{annotations:o}=n(),r=o.get(e.payload.id);(0,i.kG)(r instanceof c.Z);const d=r.merge(g(g({},e.payload),{},{id:r.id})),p=(0,u.pe)(n,r,(()=>{t((0,s.FG)(d))})),f={type:"update",payload:(0,l.mZ)(d,r),restoreAPStream:p};t({type:a.iwn,nextUndoAction:f})}}(m)):"delete"===m.type&&e(function(e){return(t,n)=>{const o=n(),{historyIdsMap:r,annotations:d,commentThreads:p,comments:f}=o,h=d.get(e.payload.id);(0,i.kG)(h instanceof c.Z);const m=(0,u.pe)(n,h,(()=>{t((0,s.hQ)(h))})),g=(0,u.xc)(),v=(0,l.Yr)(h,g,p,f),y=(0,l.ax)(h,g,o),b={type:"create",payload:h.set("id",g),restoreAPStream:m,comments:v,formField:y};t({type:a.iwn,nextUndoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:r.get(e.payload.id)||e.payload.id,newId:g})}}(m))})));const{annotations:b,eventEmitter:w}=t(),S=(0,l.FA)(m,b,m.payload.id);w.emit("history.redo",{before:v,after:S}),w.emit("history.change",{before:v,after:S,action:"redo"})}}function S(){return(e,t)=>{e({type:a._Qf});const{backend:n,eventEmitter:o}=t();"STANDALONE"===(null==n?void 0:n.type)&&n.clearAPStreamCache(),o.emit("history.clear")}}function P(){return{type:a._33}}function E(){return{type:a.wG7}}},44763:(e,t,n)=>{"use strict";n.d(t,{C0:()=>m,Ik:()=>c,Se:()=>d,U7:()=>h,VO:()=>u,Xh:()=>p,eO:()=>l,v9:()=>f});var o=n(47347),r=n(20234),i=n(30570),a=n(63738),s=n(25387);function l(e){return{type:s.$8O,measurementToolState:e}}function c(e){return{type:s.UP4,hintLines:e}}function u(e){return{type:s.Zt9,secondaryMeasurementUnit:e}}function d(e){return{type:s.VNu,activeMeasurementScale:e}}function p(e){return{type:s.wgG,isCalibratingScale:e}}const f=e=>async(t,n)=>{const r=n();(0,o.kG)(r.backend);const{backend:i,secondaryMeasurementUnit:a}=r;try{e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(e)),t(u(e))),a&&!e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(null)),t(u(null)))}catch(e){(0,o.ZK)(`Failed to set secondary measurement unit: ${e}.`),t(u(a))}},h=(e,t)=>async(n,s)=>{const l=s();(0,o.kG)(l.backend);const{backend:c,measurementScales:u}=l,d="STANDALONE"===c.type;(0,o.kG)(u);const{added:p,deleted:f}=(0,i.Rc)(u,e),h=f.map((async e=>{d&&await(null==c?void 0:c.removeMeasurementScale(e));(null==t?void 0:t.find((t=>t.prevScale===e)))||await(0,i.fH)({deletedScale:e,getState:s,dispatch:n})})),m=p.map((async e=>{d&&await(null==c?void 0:c.addMeasurementScale(e))})),g=null==t?void 0:t.map((async t=>{await(0,i.Hg)({scale:e[t.index],oldScale:t.prevScale,getState:s,dispatch:n})}));Promise.all([h,m,g]).then((async()=>{d||(p.length>0?await(null==c?void 0:c.addMeasurementScale(p[0])):f.length>0&&await(null==c?void 0:c.removeMeasurementScale(f[0])),n((0,r.KY)(!0))),n((0,a.RN)(e))}))},m=e=>async(t,n)=>{const r=n();(0,o.kG)(r.backend);const{backend:i,measurementScales:s}=r;await(null==i?void 0:i.addMeasurementScale(e)),t((0,a.RN)(s?[...s,e]:[e]))}},3219:(e,t,n)=>{"use strict";n.d(t,{IT:()=>a,Ic:()=>p,Pt:()=>P,U1:()=>b,YA:()=>s,Yr:()=>S,_R:()=>g,ac:()=>E,du:()=>y,dx:()=>d,fz:()=>i,kN:()=>c,kr:()=>h,lO:()=>v,lt:()=>l,nr:()=>f,vG:()=>m,vP:()=>u,vc:()=>w});var o=n(25387),r=n(51333);const i=()=>({type:o.wtk}),a=()=>({type:o.mE7}),s=e=>({type:o.RxB,pageIndex:e}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:o.mLh,scrollPosition:e,lastScrollUsingKeyboard:t}},c=(e,t)=>({type:o.g4f,pageIndex:e,rect:t}),u=(e,t)=>({type:o.Lyo,pageIndex:e,rect:t});function d(e,t){return n=>{n({type:o.xYE,viewportRect:e,isTriggeredByOrientationChange:t}),n((0,r.$z)())}}const p=(e,t)=>({type:o.syg,zoomLevel:e,scrollPosition:t}),f=e=>({type:o.ZGb,viewportState:e}),h=()=>({type:o.UFs}),m=()=>({type:o.RCc}),g=()=>({type:o.MfE}),v=()=>({type:o.BWS}),y=()=>({type:o.QU3}),b=e=>({type:o.lD1,degCW:e}),w=()=>({type:o.kRo}),S=()=>({type:o.UFK}),P=e=>({type:o.D1d,width:e}),E=e=>({type:o.WsN,shouldDisable:e})},38858:(e,t,n)=>{"use strict";n.d(t,{GO:()=>r,Lv:()=>a,at:()=>s,g5:()=>l,uM:()=>i});var o=n(25387);function r(e,t){return{type:o.ME7,payload:e,pageKeys:t}}function i(e){return{type:o.dCo,payload:e}}const a=(e,t)=>({type:o.GZZ,pageIndex:e,textLines:t});function s(e){return{type:o.fnw,backendPermissions:e}}function l(e){return{type:o.bM3,pageKeysForPages:e}}},25644:(e,t,n)=>{"use strict";n.d(t,{xF:()=>T,WQ:()=>A,S0:()=>F});var o=n(35369),r=n(47347),i=n(91859),a=n(80440),s=n(66687),l=n(36095);const c=l.Ni;function u(e,t,n){const o=i.nJ[n];let r=o>=i.nJ[a.g.LOW]&&c?i.nJ[a.g.MEDIUM]:o;t||(r=i.nJ[a.g.MEDIUM]);let l=e.scale(r).floor();return l.width>i.Qr&&l.width>l.height&&(l=new s.$u({width:i.Qr,height:Math.round(i.Qr*l.height/l.width)})),l.height>i.Qr&&l.height>l.width&&(l=new s.$u({width:Math.round(i.Qr*l.width/l.height),height:i.Qr})),[l,r]}const d=e=>{const t=e.scale(i.Ui);return new s.$u({width:Math.ceil(t.width),height:Math.floor(t.height)})};function p(e,t,n,o){const a=e.ownerDocument,l=a.createElement("div");l.id="print";const c=a.createElement("style");c.textContent=function(e){const t=`\n @page {\n size: ${e.width}pt ${e.height}pt;\n }\n\n \n @page {\n margin: 0;\n }`;return`\n @media print {\n \n * {\n ${f()}\n padding: 0 !important;\n margin: 0 !important;\n box-sizing: initial !important;\n display: none !important;\n visibility: hidden !important;\n }\n\n html, body {\n ${f()}\n height: 100% !important;\n width: 100% !important;\n display: block !important;\n visibility: visible !important;\n }\n\n \n\n body {\n background: transparent none !important;\n }\n\n #print, #print-container {\n ${f()}\n display: block !important;\n visibility: visible !important;\n height: 100% !important;\n }\n\n #print-container > div {\n ${f()}\n display: block !important;\n visibility: visible !important;\n position: relative !important;\n top: 0 !important;\n left: 0 !important;\n width: 1px !important;\n height: 1px !important;\n overflow: visible !important;\n page-break-after: always !important;\n page-break-inside: avoid !important;\n }\n\n #print-container canvas {\n ${f()}\n display: block !important;\n visibility: visible !important;\n }\n\n \n #print-container > .rotate90 {\n ${f()}\n display: block !important;\n visibility: visible !important;\n transform: rotate(90deg) !important;\n }\n\n \n #print-container > .rotateNegative90 {\n ${f()}\n display: block !important;\n visibility: visible !important;\n transform: translateY(${Math.abs(e.height-e.width)}pt) rotate(-90deg) !important;\n }\n\n \n @-moz-document url-prefix() {\n #print-container > .rotateNegative90 , #print-container > .rotate90 {\n margin-bottom: ${Math.abs(e.height-e.width)}pt !important;\n }\n }\n\n\n\n\n ${t}\n `}(function(e){const t=e.first();if(!t)return new s.$u({width:i.zA,height:i._2});let n=!1;const o=e.reduce(((e,t)=>{let{pageSize:o}=t;return o.width{const{rotation:r}=n.get(t)||{},i=a.createElement("div");if(i.classList.add("page"),o){e.width>e.height&&(1===r?i.classList.add("rotateNegative90"):i.classList.add("rotate90"))}i.appendChild(e),u.appendChild(i)})),l.appendChild(c),l.appendChild(u),e.appendChild(l),()=>{e.removeChild(l)}}function f(){return"animation: none 0s ease 0s 1 normal none running !important;\nbackface-visibility: visible !important;\nbackground: transparent none repeat 0 0/auto auto padding-box border-box scroll !important;\nborder: medium none currentColor !important;\nborder-collapse: separate !important;\nborder-image: none !important;\nborder-radius: 0 !important;\nborder-spacing: 0 !important;\nbottom: auto !important;\nbox-shadow: none !important;\nbox-sizing: content-box !important;\ncaption-side: top !important;\nclear: none !important;\nclip: auto !important;\ncolor: #000 !important;\ncolumns: auto !important;\ncolumn-count: auto !important;\ncolumn-fill: balance !important;\ncolumn-gap: normal !important;\ncolumn-rule: medium none currentColor !important;\ncolumn-span: 1 !important;\ncolumn-width: auto !important;\ncontent: normal !important;\ncounter-increment: none !important;\ncounter-reset: none !important;\ncursor: auto !important;\ndirection: ltr !important;\ndisplay: inline !important;\nempty-cells: show !important;\nfloat: none !important;\nfont-family: serif !important;\nfont-size: medium !important;\nfont-style: normal !important;\nfont-variant: normal !important;\nfont-weight: 400 !important;\nfont-stretch: normal !important;\nline-height: normal !important;\nheight: auto !important;\nhyphens: none !important;\nleft: auto !important;\nletter-spacing: normal !important;\nlist-style: disc outside none !important;\nmargin: 0 !important;\nmax-height: none !important;\nmax-width: none !important;\nmin-height: 0 !important;\nmin-width: 0 !important;\nopacity: 1 !important;\norphans: 2 !important;\noutline: medium none invert !important;\noverflow: visible !important;\noverflow-x: visible !important;\noverflow-y: visible !important;\npadding: 0 !important;\npage-break-after: auto !important;\npage-break-before: auto !important;\npage-break-inside: auto !important;\nperspective: none !important;\nperspective-origin: 50% 50% !important;\nposition: static !important;\nright: auto !important;\ntab-size: 8 !important;\ntable-layout: auto !important;\ntext-align: left !important;\ntext-align-last: auto !important;\ntext-decoration: none !important;\ntext-indent: 0 !important;\ntext-shadow: none !important;\ntext-transform: none !important;\ntop: auto !important;\ntransform: none !important;\ntransform-origin: 50% 50% 0 !important;\ntransform-style: flat !important;\ntransition: none 0s ease 0s !important;\nunicode-bidi: normal !important;\nvertical-align: baseline !important;\nvisibility: visible !important;\nwhite-space: normal !important;\nwidows: 2 !important;\nwidth: auto !important;\nword-spacing: normal !important;\nz-index: auto !important;\nall-initial !important;"}n(75376);var h=n(63738),m=n(16126),g=n(55615),v=n(95651),y=n(39511),b=n(97413);const w={macos:{blink:!0,webkit:!0},windows:{blink:!0,trident:!0},ios:{webkit:!0},android:{},linux:{blink:!0},unknown:{}};let S=null,P=null,E=null,x=null;function D(){E&&(clearTimeout(E),E=null),x&&(clearTimeout(x),x=null),S&&S.parentNode&&(S.parentNode.removeChild(S),S=null),P&&P()}var C=n(25387),k=n(19815);function O(){return{type:C.skc}}function A(){return{type:C.snh}}function T(){return{type:C._uU}}function I(e){const t="number"==typeof e?e:null;return{type:C.qV6,currentPage:t}}function F(){let{mode:e,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(n,o)=>{e||(e=o().printMode);return(e===y.X.DOM?_:N)(n,o,t)}}let M=()=>{};async function _(e,t,n){e((0,h.X2)()),e(I(0)),e(O());const r=[];let i=t(),a=[];function c(){a.forEach((e=>{e()})),a=[]}M(),M=c;for(const{pageIndex:p,pageSize:h}of i.pages){if(!t().isPrinting)return M(),M=()=>{},void e(I(null));const[g,w]=u(h,(0,k.jb)(i),i.printQuality);try{var f;await(null===(f=i.annotationManager)||void 0===f?void 0:f.loadAnnotationsForPageIndex(p)),i=t();const c=i.pages.get(p);let u;if((0,b.k)(c&&i.backend),n)u=i.backend.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0).promise;else{var y;const{annotationIds:e}=c,t=e.map((e=>i.annotations.get(e))).filter(Boolean).filter((e=>(0,v.x2)(e)&&(0,v.d)(e)&&!(e instanceof s.Jn||e instanceof s.On&&i.commentThreads.has(e.id)))).toList(),n=i.formFields.filter((e=>e.annotationIds.some((e=>{const t=i.annotations.get(e);return!(!t||t.pageIndex!==p)})))),r=(0,m.Qg)(n),a=t.reduce(((e,t)=>e.merge((0,v.Dc)(i,t))),(0,o.D5)()),l=null===(y=i.digitalSignatures)||void 0===y||null===(y=y.signatures)||void 0===y?void 0:y.filter((e=>n.some((t=>{let{name:n}=t;return n===e.signatureFormFQN}))));u=i.backend.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0,{annotations:t,formFieldValues:r,attachments:a,signatures:l,formFields:n.toList()}).promise}let{element:S,release:P}=await u;if(a.push(P),"IMG"===S.nodeName){const e=S,t=document.createElement("canvas");t.width=g.width,t.height=g.height;const n=t.getContext("2d");(0,b.k)(n),null==n||n.drawImage(e,0,0),S=t}const{renderPageCallback:E}=i;if("function"==typeof E){const e=S.getContext("2d");null==e||e.scale(w,w),E(e,p,h)}const x=l.G6?h:d(h);S.style.cssText=`width: ${x.width}px !important;\nheight: ${x.height}px !important; display: none; filter: none; ${l.vU?"border: 1px solid transparent !important":""}`,r.push(S),e(I(p+1))}catch(e){throw c(),e}}try{(0,b.k)(document.body,"Printing requires a `` tag in the main HTML layout.");const{pages:t}=i,n=function(e){let t;for(const[n,{pageSize:o}]of e.entries()){const e=o.width>o.height?"landscape":"portrait";if(0!==n){if(e!==t)return!0}else t=e}return!1}(t),o=p(document.body,r,t,n);M=()=>{c(),o()},await(w=()=>{if((0,g.il)(),window.focus(),l.b5){let e=!1;const t=()=>{e=!0,window.focus()},n=()=>{e=!1},o=()=>{e||(window.removeEventListener("focus",o),window.removeEventListener("beforeprint",t),window.removeEventListener("afterprint",n),M(),M=()=>{})};window.addEventListener("focus",o),window.addEventListener("beforeprint",t),window.addEventListener("afterprint",n)}window.print()},S=()=>{e((0,h.Zg)()),e(A()),e(I(null))},new Promise((e=>{const t=Date.now();setTimeout((()=>{w(),S();const n=Date.now()-t>500?25:18e4;setTimeout(e,n)}))})))}catch(e){throw e}finally{l.b5||(M(),M=()=>{})}var w,S}async function N(e,t,n){const o=t().backend;if((0,b.k)(o),!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.By,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:navigator.plugins;const o=w[e].hasOwnProperty(t);let r="ios"===e;const i=/pdf/i;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((async(o,r)=>{const i=12e4;D();const a=document.documentElement;(0,b.k)(a,"Could not access document.documentElement");const s=e=>{e.dataset.pspdfkitPrint="true",e.style.position="absolute",e.style.bottom="0px",e.style.left="0px",e.style.width="0px",e.style.height="0px",e.style.border="none",e.setAttribute("type","application/pdf")},{promise:l,revoke:c}=e.generatePDFObjectURL({includeComments:!1,saveForPrinting:!0,excludeAnnotations:n});P=c;const u=await l;if("trident"===t){S=document.createElement("embed"),S.setAttribute("src",u),s(S),a.appendChild(S),S.focus();const e=Date.now();!function t(){const n=document.querySelector("embed[data-pspdfkit-print=true]");(0,b.k)(n,"element not found"),Date.now()-e>3e4&&(c(),r(new Error("timeout")));try{n.print(),o(),E=setTimeout(D,i)}catch(e){x=setTimeout(t,500)}}()}else try{S=document.createElement("iframe"),S.setAttribute("src",u),S.setAttribute("aria-hidden","true"),s(S),S.onload=()=>{(0,b.k)(S,"iframe.onload called without element"),(0,b.k)(S instanceof HTMLIFrameElement,"element must be of type iframe");const e=S.contentWindow;if("webkit"===t){const t=setInterval((()=>{var n;"about:blank"!==(null==e?void 0:e.location.href)&&"complete"===(null==e?void 0:e.document.readyState)&&(clearInterval(t),null===(n=S)||void 0===n||n.focus(),null==e||e.print(),o(),E=setTimeout(D,i))}),100);setTimeout((()=>{clearInterval(t),r("Print failed: the document is taking too long to prepare"),D()}),5e3)}else S.focus(),null==e||e.print(),o(),E=setTimeout(D,i)},a.appendChild(S)}catch(e){r(e),D()}}))}(o,void 0,n),e(A())}catch(t){e(A())}}}},24852:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var o=n(47347),r=n(30761),i=n(18146),a=n(33320);function s(e,t){return async(n,i)=>{const{backend:a,features:s}=i();try{(0,o.kG)(a),a.cancelRequests(),await a.applyRedactionsAndReload(),await(0,r.jX)(n,i,{features:s,pageKeys:l(i())})}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function l(e){const{pages:t,annotations:n}=e,o=n.filter((e=>e instanceof i.Z)).map((e=>e.pageIndex)).toSet();return t.map((e=>o.includes(e.pageIndex)?(0,a.C)():e.pageKey))}},70006:(e,t,n)=>{"use strict";n.d(t,{M0:()=>d,Sc:()=>p,Xe:()=>s,_8:()=>r,ct:()=>l,dZ:()=>a,j8:()=>f,jL:()=>i,nJ:()=>u,t2:()=>h,tB:()=>c});var o=n(25387);function r(e){return{type:o.FH6,term:e}}function i(){return{type:o.$Jy}}function a(){return{type:o.gIV}}function s(){return{type:o.$hO}}function l(){return{type:o._AY}}function c(){return{type:o.Ifu}}function u(){return{type:o.nFn}}function d(e){return{type:o.F6q,isLoading:e}}function p(e){return{type:o.qZT,results:e}}function f(e){return{type:o.p1u,state:e}}function h(e){return{type:o.esN,provider:e}}},34573:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>C,BO:()=>D,Df:()=>T,FP:()=>w,IP:()=>_,J4:()=>O,Oc:()=>R,Q2:()=>N,Sb:()=>F,VR:()=>I,Y1:()=>A,_:()=>K,_3:()=>L,d5:()=>P,fz:()=>k,mg:()=>j,mv:()=>B,oX:()=>M,td:()=>E,tu:()=>Z,vR:()=>S});var o=n(67366),r=n(35369),i=n(47347),a=n(66687),s=n(18803),l=n(19815),c=n(95651),u=n(51333),d=n(69939),p=n(75237),f=n(68382),h=n(25387),m=n(49177),g=n(61631),v=n(62164),y=n(91039),b=n(44763);const w=(e,t)=>n=>{n((0,u.Dm)()),n(((e,t)=>({type:h.f3N,textRange:e,inlineTextMarkupToolbar:t}))(e,t))},S=()=>(e,t)=>{(0,s.a7)(t().frameWindow),e({type:h.MOe})},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)(),t=arguments.length>1?arguments[1]:void 0;return{type:h._fK,newSelectedAnnotationsIds:e,annotationClass:t}},E=e=>(t,n)=>{const{annotations:o,selectedAnnotationIds:i}=n(),a=i.reduce(((e,t)=>{const n=o.get(t);return n?e.push(n):e}),(0,r.aV)());t(x(a)),t(P((0,r.l4)(),e))},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.aV)(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,r.aV)(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,r.aV)();return(o,r)=>{const i=r().currentItemPreset;e.forEach((e=>{e&&o((0,d.hQ)(e)),e&&!p.ZP[i]&&o((0,d.sF)(e.id))})),t.forEach((e=>{o((0,d.$d)(e)),i&&!p.ZP[i]&&o((0,d.pZ)(e.id,i))})),n.forEach((e=>{o((0,d.uk)(e))}))}},D=e=>(t,n)=>{const o=n();if(!o.currentTextSelection)return t(E(e)),void t(S());const i=o.annotations.filter((e=>o.selectedAnnotationIds.has(e.id))).mapEntries((e=>{let[,t]=e;return[null!=t.pageIndex?t.pageIndex:o.viewportState.currentPageIndex,null!=t.pageIndex?t:t.set("pageIndex",o.viewportState.currentPageIndex)]})),a=(0,m.Bx)(o,i,e),s=i.reduce(((e,t)=>a.find((e=>e.id===t.id))?e:e.push(t)),(0,r.aV)()),l=a.filter((e=>!o.selectedAnnotationIds.has(e.id))),c=a.filter((e=>o.selectedAnnotationIds.has(e.id)&&!e.equals(i.get(e.pageIndex))));t(x(s,l,c));const u=(0,r.l4)(a.map((e=>e.id)));t(P(u,e))},C=()=>(e,t)=>{const n=t();n.selectedAnnotationIds.toSeq().map((e=>n.annotations.get(e))).filter(Boolean).filter((e=>e instanceof a.gd?!e.text.value||""===e.text.value:(e instanceof a.Hi||e instanceof a.om)&&(!e.points||e.points.size<=1))).forEach((t=>{e((0,d.hQ)(t))}))},k=()=>(e,t)=>{var n;(0,s.a7)(t().frameWindow),(0,o.dC)((()=>{e((0,u.Dm)()),e(C()),e((0,d.i0)()),e({type:h.MOe}),e({type:h.a33}),e((0,u.$z)()),e(z(null)),e((0,b.Ik)(null))})),null===(n=t().annotationManager)||void 0===n||n.autoSave()},O=(e,t)=>(n,o)=>{const r=o(),c=r.annotations.filter(((t,n)=>e.includes(n))),d=(0,l.ix)(r),p=c.some((e=>e instanceof a.x_));(0,i.kG)(!p||d,"Widget annotations cannot be selected without the corresponding license feature nor without instant enabled.");const f=c.map((e=>e.id)).toSet();n((0,u.Dm)()),(0,s.a7)(r.frameWindow);const m=f.find((e=>r.commentThreads.has(e)));if(m){const e=r.commentThreads.get(m);(0,i.kG)(null!=e);(0,v._P)(e,r.comments)||n((0,u.mh)(m))}n({type:h._Yi,annotations:f,mode:t,selectedAnnotationShouldDrag:null}),n((0,u.$z)())},A=()=>({type:h.RvB}),T=(e,t)=>(n,o)=>{const{commentThreads:a,comments:s,annotationsGroups:l}=o();if(1===e.size){const o=null==l?void 0:l.find((t=>{let{annotationsIds:n}=t;return n.has(e.first())}));if(o)return n(T(o.annotationsIds,t||null)),void n(z(o.groupKey))}e.forEach((e=>{if(a.has(e)){const t=a.get(e);(0,i.kG)(t);(0,v._P)(t,s)||n((0,u.mh)(e))}})),n(((e,t)=>({type:h._Yi,annotations:(0,r.l4)(e),mode:f.o.SELECTED,selectedAnnotationShouldDrag:t}))(e,t)),n((0,u.$z)())},I=e=>({type:h._Yi,annotations:(0,r.l4)([e]),mode:f.o.EDITING});function F(){return{type:h.c3G}}const M=e=>({type:h.TPT,id:e}),_=e=>({type:h.iyZ,id:e}),N=e=>({type:h.qh0,id:e}),R=e=>({type:h.rm,id:e}),L=e=>(t,n)=>{const{eventEmitter:o}=n();if(e){let t=!1;if(o.emit("annotationNote.hover",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:h.yyM,annotationNote:e})},B=e=>(t,n)=>{const{eventEmitter:o}=n();if(e){let t=!1;if(o.emit("annotationNote.press",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:h.vSH,annotationNote:e})},j=function(e,t){let{selectedAnnotationShouldDrag:n,preventDefault:i,stopPropagation:s,ignoreReadOnly:u,isAnnotationPressPrevented:p,clearSelection:f,longPress:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{selectedAnnotationShouldDrag:null,preventDefault:!1,stopPropagation:!1,ignoreReadOnly:!1,isAnnotationPressPrevented:void 0,clearSelection:!1,longPress:!1};return(m,v)=>{var b,w;const S=v(),{selectedAnnotationIds:P,annotations:E,activeAnnotationNote:x,collapseSelectedNoteContent:D,interactionsDisabled:C,eventEmitter:O,formDesignMode:A,isMultiSelectionEnabled:I}=S,F=!!e&&(e instanceof a.Qi||(e instanceof a.Jn||e instanceof a.FV)&&e.isCommentThreadRoot);if(null!=e&&e.locked&&!F)return;const M=P.size>1,_=t.shiftKey;if(x&&m(B(null)),D&&m((0,d.i0)()),!u&&(C||e&&(!("action"in e)||!e.action)&&(null===(b=e.additionalActions)||void 0===b||!b.onPointerDown)&&!e.isCommentThreadRoot&&(0,l.lV)(e,S)))return;if(void 0===p&&(p=!!e&&(0,c.TW)({annotation:e,nativeEvent:t.nativeEvent,selected:!1},O)),p)return;if((i||t.hasOwnProperty("type")&&"keypress"===t.type)&&t.preventDefault(),s&&t.stopPropagation(),f&&m(k()),!e)return;if(_){const t=E.get(P.first());if((null==t?void 0:t.pageIndex)!==e.pageIndex)return}const N=P.has(e.id);if("action"in e&&e.action&&!h&&!N&&!_)return void m((0,g.oo)(e));if("additionalActions"in e&&null!==(w=e.additionalActions)&&void 0!==w&&w.onPointerDown)return void m((0,g.TU)(e,"onPointerDown"));const R=!(0,y.Zt)(S,e)&&(!(e instanceof a.x_)||A);if(!R)return;const L=S.annotationsGroups.find((t=>{let{annotationsIds:n}=t;return n.has(e.id)}));if(N||!R||_||L){if(_&&I){if(N)return m(T(P.remove(e.id),n||null)),void m(z(null));if(L)return void(0,o.dC)((()=>{m(T(S.selectedAnnotationIds.merge(L.annotationsIds),n||null)),m(z(null))}));if(!N&&!L)return m(T(P.add(e.id),n||null)),void m(z(null))}if(!_){if(!N&&!L)return void(0,o.dC)((()=>{m(k()),m(T((0,r.l4)([e.id]),n||null))}));N||!L||M||(0,o.dC)((()=>{m(T(L.annotationsIds,n||null)),m(z(L.groupKey))}))}}else(0,o.dC)((()=>{m(k()),m(T((0,r.l4)([e.id]),n||null))}))}},z=e=>({type:h.t$K,groupId:e}),K=e=>({type:h.vBn,pullToRefreshNewState:e}),Z=e=>({type:h.L2A,inlineTextSelectionToolbarItemsCallback:e})},52042:(e,t,n)=>{"use strict";n.d(t,{Bm:()=>y,T6:()=>m,Th:()=>h,de:()=>b,l5:()=>g,nR:()=>v});var o=n(35369),r=n(47347),i=n(25387),a=n(36658),s=n(4352),l=n(20449),c=n(52871),u=n(95651),d=n(3845),p=n(29165),f=n(69939);function h(e,t){let{signatureRect:n,signaturePageIndex:p}=t,{hash:f,attachment:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t,m)=>{var g,v;null===p&&(p=m().viewportState.currentPageIndex),(0,r.kG)("number"==typeof p,"Page index for a signature should be a number.");const y=m().pages.get(p);(0,r.kG)(y,`Cannot find page at index ${p}`);const b=y.pageSize;let w,S=e.withMutations((e=>{const t=(0,u.lx)(m());Object.keys(t).forEach((n=>{e.set(n,t[n])})),e.set("pageIndex",p),e.set("isSignature",!0)}));if(n){S=S.set("boundingBox",S.boundingBox.set("top",0).set("left",0)),S=(0,s.o)(S,new l.Z({width:n.width,height:n.height}),!0);const{boundingBox:e}=S,t=n.left+(n.width-e.width)/2,o=n.top+(n.height-e.height)/2;w=new c.Z({x:t,y:o})}else if(!S.boundingBox.top&&!S.boundingBox.left){const{boundingBox:e}=S;w=new c.Z({x:b.width/2-e.width/2,y:b.height/2-e.height/2})}w&&(S=(0,a.c)(S,w,b,new c.Z));const P={annotations:(0,o.aV)([S]),reason:d.f.SELECT_END};m().eventEmitter.emit("annotations.willChange",P),t({type:i.mGH,signature:S}),null===(g=m().annotationManager)||void 0===g||g.createObject(S,{attachments:f&&h?(0,o.D5)([[f,h]]):(0,o.D5)()}),null===(v=m().annotationManager)||void 0===v||v.autoSave()}}function m(e,t){return(n,o)=>{const r=e.merge({id:null,name:null,pageIndex:0});t&&n({type:i.W0l,annotation:r}),o().eventEmitter.emit("inkSignatures.create",r),o().eventEmitter.emit("inkSignatures.change"),o().eventEmitter.emit("storedSignatures.create",r),o().eventEmitter.emit("storedSignatures.change")}}function g(e,t,n,o){let{dimensions:r,hash:i,attachment:a,file:s}=e,{signatureRect:l,signaturePageIndex:c}=o;return(e,o)=>{let d;e((0,f.Ds)("image")),d=s instanceof File?(0,u.om)(o(),r,i,s.type,s.name):(0,u.om)(o(),r,i,"image/png"),d=d.set("isSignature",!0),e((0,p.O)(i,a)),e(h(d,{signatureRect:l,signaturePageIndex:c},{hash:i,attachment:a})),t&&e(m(d,n))}}function v(e){return{type:i.Kw7,annotations:e}}function y(e,t){return(n,o)=>{t&&n({type:i.Kc8,annotation:e}),o().eventEmitter.emit("inkSignatures.delete",e),o().eventEmitter.emit("inkSignatures.change"),o().eventEmitter.emit("storedSignatures.delete",e),o().eventEmitter.emit("storedSignatures.change")}}function b(){return async(e,t)=>{const{populateStoredSignatures:n}=t().signatureState;e(v(await n()))}}},93092:(e,t,n)=>{"use strict";n.d(t,{De:()=>r,LT:()=>a,v1:()=>i});var o=n(25387);const r=e=>({type:o.aWu,toolbarItems:e}),i=e=>({type:o.T3g,annotationToolbarItemsCallback:e}),a=e=>({type:o.A8G,height:e})},60840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var o=n(84121),r=n(67294),i=n(66687),a=n(7844),s=n(13944),l=n(36095),c=n(4054),u=n(90523),d=n.n(u),p=n(95919),f=n.n(p),h=n(14483),m=n.n(h),g=n(39583),v=n(44763);const y=(0,l.yx)(),b="data:image/svg+xml;base64,"+globalThis.btoa(f()),w="data:image/svg+xml;base64,"+globalThis.btoa(m());class S extends r.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",a.O),(0,o.Z)(this,"position",null),(0,o.Z)(this,"rect",null),(0,o.Z)(this,"state",{isDrawing:!1,isPenUser:!1,explicitScroll:!1,clientX:0,clientY:0,canAutoCloseShape:!1}),(0,o.Z)(this,"_drawingAreaEl",null),(0,o.Z)(this,"lastClickTime",null),(0,o.Z)(this,"_drawingAreaRef",(e=>{var t;(this._drawingAreaEl=e,e&&l.TL)&&(null===(t=this._drawingAreaEl)||void 0===t||t.addEventListener("touchmove",c.PF))})),(0,o.Z)(this,"onUnmount",(()=>{var e;this._drawingAreaEl&&l.TL&&(null===(e=this._drawingAreaEl)||void 0===e||e.removeEventListener("touchmove",c.PF));this._drawingAreaEl=null})),(0,o.Z)(this,"_handlePointerDown",(e=>{let t=!0;if(y&&this.props.canScrollWhileDrawing&&("pen"!==e.pointerType||this.state.isPenUser?"touch"===e.pointerType&&this.state.isPenUser&&(this.setState({explicitScroll:!0,clientX:e.clientX,clientY:e.clientY}),t=!1):this.setState({explicitScroll:!1,isPenUser:!0})),this.state.isDrawing)return void this._handlePointerUp();if(!e.isPrimary)return;if(!this._drawingAreaEl)return;this.rect=this._drawingAreaEl.getBoundingClientRect(),e.stopPropagation();const n=new i.E9({x:e.clientX,y:e.clientY}),o=this.position&&n.distance(this.position)<=10;var r,a;(this.position=n,this._buffer=[],this.setState({isDrawing:!0}),this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&(null===(r=(a=this.props).dispatch)||void 0===r||r.call(a,(0,v.Ik)(null)));const{onDrawStart:s,onDoubleClick:l}=this.props,c=(new Date).getTime();if(this.lastClickTime&&l&&c-this.lastClickTime<500&&o)return l(this._transformPoint(n)),void(this.lastClickTime=null);this.lastClickTime=c,t&&s&&s(this._transformPoint(n),n)})),(0,o.Z)(this,"_buffer",[]),(0,o.Z)(this,"_throttleMove",P()),(0,o.Z)(this,"_throttleUp",P()),(0,o.Z)(this,"_handlePointerMove",(e=>{if(this.state.explicitScroll){const t={x:e.clientX,y:e.clientY},n={x:this.state.clientX,y:this.state.clientY};return requestAnimationFrame((()=>{if(this.props.scrollElement){const e=this.props.scrollElement.scrollTop+(n.y-t.y),o=this.props.scrollElement.scrollLeft+(n.x-t.x);this.props.scrollElement.scrollTop=e,this.props.scrollElement.scrollLeft=o}})),void this.setState({clientX:t.x,clientY:t.y})}this._handleDrawLine(e),this._handleCursorMove(e)})),(0,o.Z)(this,"_handleCursorMove",(e=>{if(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi){if(!this.props.defaultAutoCloseThreshold)return;const a=new i.E9({x:e.clientX,y:e.clientY}),s=this.props.currentAnnotation.points,l=s.last(),c=this._transformPoint(a);var t,n;if(l&&c)null===(t=(n=this.props).dispatch)||void 0===t||t.call(n,(0,v.Ik)({lines:[{start:l,end:c}],pageIndex:this.props.currentAnnotation.pageIndex}));if(s&&s.size<3)return;const u=(0,g.KM)(this.props.currentAnnotation,0,this.props.defaultAutoCloseThreshold,new i.E9({x:c.x,y:c.y}));var o,r;if(-1!==u&&u!==s.size-1)this.setState({canAutoCloseShape:!0}),null===(o=(r=this.props).dispatch)||void 0===o||o.call(r,(0,v.Ik)({lines:[{start:l,end:s.get(u)}],pageIndex:this.props.currentAnnotation.pageIndex}));else this.setState({canAutoCloseShape:!1})}})),(0,o.Z)(this,"_handlePointerUp",(e=>{e&&!e.isPrimary||(e&&e.stopPropagation(),this.setState({isDrawing:!1}),this.state.isPenUser&&"touch"==(null==e?void 0:e.pointerType)?this.setState({explicitScroll:!1}):this._throttleUp((()=>{const{onDrawEnd:e}=this.props;this._drawingAreaEl&&(this.rect=this._drawingAreaEl.getBoundingClientRect(),this._buffer=[],this.position&&e&&e(this._transformPoint(this.position)))})))})),(0,o.Z)(this,"_defaultTransformPoint",(e=>{if(!this.rect)return e;const t=this.props.size.width/this.rect.width,n=this.props.size.height/this.rect.height,o="number"==typeof this.rect.x?this.rect.x:this.rect.left,r="number"==typeof this.rect.y?this.rect.y:this.rect.top;return new i.Wm({x:e.x-o,y:e.y-r}).scale(t,n)})),(0,o.Z)(this,"_transformPoint",(e=>this._clipPointToContainerBounds((this.props.transformPoint||this._defaultTransformPoint)(new i.Wm({x:e.x,y:e.y})))))}render(){return r.createElement(s.Z,{onPointerDown:this._handlePointerDown,onRootPointerMove:this.state.isDrawing?this._handlePointerMove:this._handleCursorMove,onRootPointerUpCapture:this.state.isDrawing?this._handlePointerUp:void 0,interactionMode:this.props.interactionMode},r.createElement("div",{"data-testid":"drawcomponent",role:"application"},r.createElement("div",{className:d().layer,style:(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&!l.G6?{cursor:this.state.canAutoCloseShape?`url(${w}) 6 6, auto`:`url(${b}) 6 6, auto`}:{},ref:this._drawingAreaRef})))}_handleDrawLine(e){e.preventDefault(),e.stopPropagation();const t=new i.E9({x:e.clientX,y:e.clientY});if(t.equals(this.position))return;this.position=t;const{onDrawCoalesced:n}=this.props;if(n){const t=e.getCoalescedEvents();this._buffer=this._buffer.concat(t),this._throttleMove((()=>{const[e,t]=this._buffer.reduce(((e,t)=>{const n=new i.E9({x:t.clientX,y:t.clientY});return e[0].push(this._transformPoint(n)),e[1].push(n),e}),[[],[]]);this._buffer=[],n(e,t)}))}}_clipPointToContainerBounds(e){if(this._isPointWithinContainer(e))return e;const{size:t}=this.props;return e.x>t.width&&(e=e.set("x",t.width)),e.x<0&&(e=e.set("x",0)),e.y>t.height&&(e=e.set("y",t.height)),e.y<0&&(e=e.set("y",0)),e}_isPointWithinContainer(e){const{size:t}=this.props;return new i.UL({width:t.width,height:t.height}).isPointInside(e)}}function P(){let e;return t=>{e||requestAnimationFrame((()=>{const t=e;e=null,t()})),e=t}}},86366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(84121),r=n(47347),i=n(67294),a=n(94184),s=n.n(a),l=n(94385),c=n(4054),u=n(21824),d=n.n(u);class p extends i.PureComponent{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"_cancelImagePromise",null),(0,o.Z)(this,"_throttledFetchImage",(0,l.Z)(this._fetchImage,"number"==typeof this.props.throttleTimeout?this.props.throttleTimeout:2e3,!0)),(0,o.Z)(this,"imageRef",i.createRef()),(0,o.Z)(this,"_replaceImage",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.imageRef.current?(e.imageRef.current.appendChild(t.element),setTimeout((()=>t.release()),500),e.imageRef.current&&e.imageRef.current.children.length>1&&e.imageRef.current.removeChild(e.imageRef.current.firstChild),e.props.onRenderFinished&&e.props.onRenderFinished(),n&&e._throttledFetchImage()):t.release()})),(0,o.Z)(this,"_onImageAvailable",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{label:o,visible:i}=e.props,a=t.element;a&&e.imageRef.current&&a!==e.imageRef.current.firstChild&&(a.setAttribute("alt",o||""),i||a.setAttribute("role","presentation"),(0,c.sR)(a).then((()=>requestAnimationFrame((()=>e._replaceImage(t,n))))).catch((t=>{(0,r.vU)(t),e.props.onError&&e.props.onError(t)})))}))}componentDidMount(){this._throttledFetchImage()}refresh(){this._throttledFetchImage()}refreshSkippingThrottle(){this._fetchImage()}async _fetchImage(){let e;this._cancelOutstandingRequests();const{promise:t,isProvisional:n,cancel:o}=this.props.fetchImage();this._cancelImagePromise=o;try{var i,a;if(e=await t,e)this._onImageAvailable(e,n);else null===(i=(a=this.props).onError)||void 0===i||i.call(a)}catch(e){var s,l;(0,r.vU)(e),o(e),null===(s=(l=this.props).onError)||void 0===s||s.call(l,e)}this._cancelImagePromise=null}_cancelOutstandingRequests(){this._cancelImagePromise&&this._cancelImagePromise()}componentWillUnmount(){this._cancelOutstandingRequests()}render(){const{className:e,rectStyle:t}=this.props;return i.createElement("div",{className:s()(d().root,e),style:t,ref:this.imageRef})}}},6437:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(22122),r=n(84121),i=n(25915),a=n(67294),s=n(94184),l=n.n(s),c=n(18390),u=n(30667),d=n(88804),p=n(36095),f=n(6006),h=n.n(f);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n=0;const[o,r]=a.useState(null),[i,s]=a.useState(!1),l=e=>{t||s(e)};function c(){n=Date.now(),l(!1)}return[i,{onTouchStart(){n=Date.now(),l(!0)},onTouchEnd:c,onTouchCancel:c,onMouseEnter(){Date.now()-n>500&&l(!0)},onMouseLeave(){l(!1)},onMouseDown(e){r(e)},onPointerDown(e){r(e)},onClick(t){o&&o.clientX===t.clientX&&o.clientY===t.clientY&&(e(t),r(null))}}]}((()=>{i.dragging||d(t)})),{item:P,label:E,props:x}=r(t,b,v),D=l()(h().thumbnail,n+"-Thumbnails-Page-Image",{[h().thumbnailClickDisabled]:s,[h().thumbnailSelected]:i.selected,[h().thumbnailBeingDragged]:i.dragging});return a.createElement("div",(0,o.Z)({style:w,className:l()(h().column,n+"-Thumbnails-Page",h()[`engine-${p.SR}`],{[n+"-Thumbnails-Page-Selected"]:i.selected}),"data-testid":"grid-column","data-page-index":t},x),a.createElement("div",{style:{width:b,height:b},className:h().columnPreview},e.clickDisabled?a.createElement("div",{className:D},P):a.createElement(c.Z,(0,o.Z)({is:"div",className:D,"aria-label":`Select Page ${E}`,"aria-pressed":i.selected,onKeyPress:e=>{const{charCode:n}=e;n===u.tW&&d(t)},onFocus:()=>f(t),onBlur:()=>f(null),ref:i.itemRef},"object"==typeof S&&S),P)),a.createElement("div",{style:{height:24,maxWidth:b,marginTop:16*y,lineHeight:"24px"},className:l()(h().label,n+"-Thumbnails-Page-Label",{[h().labelSelected]:i.selected})},E))}const b=e=>{const{cssPrefix:t,clickDisabled:n,width:o,moveCursor:r}=e;let{itemScale:s}=e;const[c,u]=a.useState(null);s=Math.min(s,(o-15)/314),s=Math.max(s,.01);const p=a.useMemo((function(){return new d.$u({width:314*s,height:322*s+24})}),[s]),f=v*s,m=r?"left"===r.position?r.pageIndex:r.pageIndex+1:void 0;return a.createElement(i.FE,{width:e.width,height:e.height,canInsert:e.canInsert,draggingEnabled:!!e.onItemsMove&&!n,totalItems:e.totalItems,itemWidth:p.width,itemHeight:p.height,itemPaddingLeft:32*s,itemPaddingRight:32*s,renderItem:(o,r)=>a.createElement(y,{selectedItemIndexes:e.selectedItemIndexes,size:p,itemScale:s,pageIndex:o,itemState:r,cssPrefix:t,clickDisabled:n||!1,renderItemCallback:e.renderItemCallback,onItemPress:e.onItemPress,onItemFocus:e=>u(e)}),itemKey:e.itemKeyCallback,renderDragPreview:e.renderDragPreviewCallback?(t,n)=>e.renderDragPreviewCallback?e.renderDragPreviewCallback(n,t,f,v):null:void 0,renderInsertionCursor:(e,t)=>{const n={top:32*s+1,height:v*s-1};return a.createElement("div",{style:n,className:l()(h().moveCursor,{[h().moveCursorDisabled]:!e})},null!=(null==r?void 0:r.previewContent)&&a.createElement("div",{className:l()(h().moveCursorPreview,{[h().moveCursorPreviewEnd]:t})},r.previewContent))},onDragEnd:e.onItemsMove,selectedItemIndexes:e.selectedItemIndexes,insertionIndex:m,focusedItemIndex:c})}},13540:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(22122),r=n(17375),i=n(67294);const a=["src"];function s(e){let{src:t}=e,n=(0,r.Z)(e,a);const s=i.useRef(null);return i.useEffect((function(){if(s.current){const e=s.current.childNodes[0];"function"==typeof e.setAttribute&&e.setAttribute("focusable","false")}}),[]),i.createElement("span",(0,o.Z)({},n,{dangerouslySetInnerHTML:{__html:t},ref:s}))}},26467:(e,t,n)=>{"use strict";n.d(t,{O:()=>p});var o=n(84121),r=n(67294);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;tr.createElement("polygon",{points:"0.5,2 0.5,0.5 3.5,0.5 3.5,3.5 0.5,3.5 0.5,2",style:a(a({},e),s)}),u=e=>r.createElement("circle",{cx:"2",cy:"2",r:"1.5",style:a(a({},e),s)}),d=e=>r.createElement("line",{x1:"0",y1:"2",x2:"4",y2:"2",style:a(a({},e),l)}),p={none:{startElement:d,endElement:d,width:4},square:{startElement:c,endElement:c,width:3.5},circle:{startElement:u,endElement:u,width:3.5},diamond:{startElement:e=>r.createElement("polygon",{points:"3.5,2 2.25,3.25 1,2 2.25,0.75 3.5,2 4,2",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.75,2 2,0.75 3.25,2 2,3.25 0.75,2 0.25,2",style:a(a({},e),s)}),width:3.5},openArrow:{startElement:e=>r.createElement("polyline",{points:"4.25,0.5 1.25,2 4.25,3.5 1.25,2 4.75,2",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"0.25,0.5 3.25,2 0.25,3.5 3.25,2 -0.25,2",style:a(a({},e),l)}),width:3.75},closedArrow:{startElement:e=>r.createElement("polygon",{points:"3.75,2 3.75,0.75 1.25,2 3.75,3.25 3.75,2 4.75,2",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.75,2 0.75,0.75 3.25,2 0.75,3.25 0.75,2 -0.75,2",style:a(a({},e),s)}),width:3.75},butt:{startElement:e=>r.createElement("line",{x1:"3.75",y1:"0.5",x2:"3.75",y2:"3.5",style:a(a({},e),l)}),endElement:e=>r.createElement("line",{x1:"0.5",y1:"0.5",x2:"0.5",y2:"3.5",style:a(a({},e),l)}),width:.5},reverseOpenArrow:{startElement:e=>r.createElement("polyline",{points:"1,0.5 4,2 1,3.5",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"3.25,0.5 0.25,2 3.25,3.5",style:a(a({},e),l)}),width:3},reverseClosedArrow:{startElement:e=>r.createElement("polygon",{points:"4,2 1.5,3.25 1.5,0.75",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.25,2 2.75,3.25 2.75,0.75",style:a(a({},e),s)}),width:2.75},slash:{startElement:e=>r.createElement("polyline",{points:"3.25,0.5 2.25,3.75 2.85,2 3.75,2",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"1.85,0.5 0.85,3.75 1.25,2 0.35,2",style:a(a({},e),l)}),width:1.5}}},73264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(67294),r=n(94184),i=n.n(r),a=n(71945),s=n.n(a);function l(e){let{scale:t=1,rotate:n=0}=e;const[r,a]=o.useState(!1);o.useEffect((()=>{const e=setTimeout((()=>{a(!0)}),400);return()=>{clearTimeout(e)}}),[]);const l=`scale(${t})`,c={transform:n?`rotate(${n}deg) ${l}`:l,transformOrigin:"center center"};return o.createElement("div",{style:c,className:i()("PSPDFKit-Loading-Indicator",s().loader,{[s().loaderShown]:r})},o.createElement("div",{className:s().loaderDot}),o.createElement("div",{className:s().loaderDot}),o.createElement("div",{className:s().loaderDot}))}},40045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var o=n(84121),r=n(67366),i=n(67294),a=n(52560),s=n(27515),l=n(18803),c=n(36095),u=n(47710),d=n(3219),p=n(66687),f=n(42911),h=n(97413);const m=(0,f.Yw)(),g={onPinchStart:"pinchstart",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onSwipeLeft:"swipeleft",onSwipeRight:"swiperight",onDoubleTap:"doubletap"};function v(e,t,n){t&&Object.keys(t).forEach((o=>{const r=g[o];!r||"function"!=typeof t[o]||n&&"function"==typeof n[o]&&n[o]===t[o]||e.off(r,t[o])})),n&&(n.enablePinch&&e.get("pinch").set({enable:!0,threshold:.3}),n.onDoubleTap&&e.get("doubletap").set({posThreshold:50}),Object.keys(n).forEach((o=>{const r=g[o];!r||"function"!=typeof n[o]||t&&"function"==typeof n[o]&&n[o]===t[o]||e.on(r,n[o])})))}class y extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"_handleRef",(e=>{e&&((0,h.k)("string"==typeof e.nodeName,"TRC requires a basic HTML element as children. This looks like a custom react component."),this._refElement=e)}))}componentDidMount(){this.initializeHammer(),v(this._hammer,null,this.props)}initializeHammer(){this._hammer=new m(this._refElement,{touchAction:"pan-x pan-y"}),this._refElement.style.msTouchSelect="initial"}componentDidUpdate(e){this._hammer&&v(this._hammer,e,this.props)}componentWillUnmount(){v(this._hammer,this.props,null),this._hammer&&(this._hammer.stop(),this._hammer.destroy()),this._hammer=null}render(){const e=i.Children.only(this.props.children);return(0,h.k)(!e.ref,"TRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(e,{ref:this._handleRef})}}const b=!n(71231).Gn||{passive:!1,capture:!0};class w extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"_trackpadRef",i.createRef()),(0,o.Z)(this,"_hasWheelEventStarted",!1),(0,o.Z)(this,"_currentWheelTimeout",null),(0,o.Z)(this,"_lastScale",1),(0,o.Z)(this,"_handleWheel",(e=>{if(!e.ctrlKey)return;e.preventDefault(),e.stopPropagation(),this._currentWheelTimeout&&clearTimeout(this._currentWheelTimeout),this._currentWheelTimeout=setTimeout((()=>{this.props.onPinchEnd(),this._hasWheelEventStarted=!1,this._lastScale=1}),250);const t=function(e,t){return{center:{x:e.clientX,y:e.clientY},scale:t-e.deltaY/120,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}(e,this._lastScale);let n=1;n=t.scale>1?1.05*this._lastScale:.95*this._lastScale,t.scale=n,n*this.props.zoomLevel>this.props.minZoomLevel&&n*this.props.zoomLevel{e.preventDefault(),this.props.onPinchStart(S(e))})),(0,o.Z)(this,"_handleGestureChange",(e=>{e.preventDefault(),this.props.onPinch(S(e))})),(0,o.Z)(this,"_handleGestureEnd",(e=>{e.preventDefault(),this.props.onPinchEnd(S(e))}))}componentDidMount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.addEventListener("wheel",this._handleWheel,b),"ios"!==c.By&&(t.addEventListener("gesturestart",this._handleGestureStart),t.addEventListener("gesturechange",this._handleGestureChange),t.addEventListener("gestureend",this._handleGestureEnd))}}componentWillUnmount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.removeEventListener("wheel",this._handleWheel,b),"ios"!==c.By&&(t.removeEventListener("gesturestart",this._handleGestureStart),t.removeEventListener("gesturechange",this._handleGestureChange),t.removeEventListener("gestureend",this._handleGestureEnd))}}render(){return i.createElement("div",{ref:this._trackpadRef},this.props.children)}}function S(e){return{center:{x:e.clientX,y:e.clientY},scale:e.scale,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function E(e){for(var t=1;t{if("touch"!==e.pointerType)return;const{viewportState:t}=this.props,{viewportRect:n,zoomLevel:o}=t;this._startZooming();const r=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1)),i=this.props.viewportState.scrollMode===u.G.PER_SPREAD||this.props.viewportState.scrollMode===u.G.DISABLED?(0,a.vw)(t):(0,a.kh)(t),s=o>i?i:1.5*o,l=(0,a.cq)(t,s,{zoomCenter:r});this.setState({nextViewportState:l,shouldAnimate:!0}),this._callEndZoomingAfterTransition(l)})),(0,o.Z)(this,"_handlePinchStart",(e=>{const{viewportState:t}=this.props,{viewportRect:n}=t;this._startZooming(),this._touchZoomCenter=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1))})),(0,o.Z)(this,"_handlePinch",(e=>{this._isZooming&&(this._lastPinchScale=e.scale,this.requestAnimationFrameId||(this.requestAnimationFrameId=window.requestAnimationFrame(this._renderNextFrame)),null!==this._pinchResetTimeoutId&&clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=setTimeout((()=>this._handlePinchEnd()),2e3))})),(0,o.Z)(this,"_handlePinchEnd",(()=>{if(!this._isZooming)return;null!==this._pinchResetTimeoutId&&(clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=null);const{viewportState:e}=this.props,{zoomLevel:t}=e;if(!this._touchZoomCenter)return;this.requestAnimationFrameId&&(window.cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null);const n=t*this._lastPinchScale,o=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter});this.state.nextViewportState&&(0,a.hT)(this.state.nextViewportState)?(this.setState({nextViewportState:o,shouldAnimate:!0}),this._callEndZoomingAfterTransition(o)):this._zoomComplete(o)})),(0,o.Z)(this,"_renderNextFrame",(()=>{const{viewportState:e}=this.props,{zoomLevel:t}=e,n=t*this._lastPinchScale,o=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter,unbounded:!0});this.setState({nextViewportState:o}),this.requestAnimationFrameId=null})),(0,o.Z)(this,"_zoomComplete",(e=>{(0,r.dC)((()=>{this.props.dispatch((0,d.nr)(e)),this._endZooming()}))})),this._touchZoomCenter=new p.E9,this._isZooming=!1,this.state={shouldAnimate:!1,nextViewportState:null},this.requestAnimationFrameId=null}render(){const{children:e,viewportState:t}=this.props,{nextViewportState:n}=this.state,o=(0,s.G4)(t);let r={transformOrigin:"0 0",width:o.width+t.viewportPadding.x,height:o.height+t.viewportPadding.y};if(n){const e=n.scrollPosition.scale(n.zoomLevel).translate(t.scrollPosition.scale(-t.zoomLevel)),o=(0,s.G4)(n).translate(e.scale(-1)),i=n.zoomLevel/t.zoomLevel;r=E(E({},r),{},{transform:`translate(${o.left}px, ${o.top}px)\n scale(${i}, ${i})`,willChange:"transform",transition:this.state.shouldAnimate?"transform 150ms ease-in":""})}else r=E(E({},r),{},{transform:`translate(${Math.ceil(o.left)}px, ${Math.ceil(o.top)}px)`});return i.createElement(w,{onPinchStart:this._handlePinchStart,onPinch:this._handlePinch,onPinchEnd:this._handlePinchEnd,zoomLevel:this.props.viewportState.zoomLevel,minZoomLevel:(0,a.Yo)(this.props.viewportState),maxZoomLevel:(0,a.Sm)(this.props.viewportState)},i.createElement(y,{onPinchStart:this._handlePinchStart,onPinchIn:this._handlePinch,onPinchOut:this._handlePinch,onPinchEnd:this._handlePinchEnd,onPinchCancel:this._handlePinchEnd,onDoubleTap:this._handleDoubleTap,enablePinch:!0},i.createElement("div",null,i.createElement("div",{ref:this._zoomLayerRef,style:r,className:"PSPDFKit-Zoom"},e))))}_callEndZoomingAfterTransition(e){this._removeAnimationEventListener();const t=this._zoomComplete.bind(this,e);this._zoomCompleteFn=t,this._zoomLayerRef.current&&this._zoomLayerRef.current.addEventListener("transitionend",this._zoomCompleteFn),setTimeout((()=>{this._zoomCompleteFn&&t===this._zoomCompleteFn&&this._zoomCompleteFn()}),250)}_startZooming(){if(!this._isZooming&&(this._isZooming=!0,"gecko"===c.SR&&"windows"===c.By&&this._zoomLayerRef.current)){const{defaultView:e}=this._zoomLayerRef.current.ownerDocument;(0,l.a7)(e)}}_endZooming(){this._resetState()}_resetState(){this.setState({shouldAnimate:!1,nextViewportState:null}),this._lastPinchScale=1,this._touchZoomCenter=new p.E9,this._isZooming=!1,this._removeAnimationEventListener()}_removeAnimationEventListener(){this._zoomLayerRef.current&&this._zoomLayerRef.current.removeEventListener("transitionend",this._zoomCompleteFn),this._zoomCompleteFn=null}}},99728:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ne,getDocumentKeyForReferencePoints:()=>te,messages:()=>oe});var o,r,i,a,s,l,c,u,d=n(67294),p=n(73935),f=n(76154),h=n(51559),m=n(55024),g=n(84121),v=n(73264),y=n(22122),b=n(67665),w=n(94184),S=n.n(w),P=n(67366),E=n(40045),x=n(60840),D=n(13540),C=n(88804),k=n(58479),O=n(20500),A=n(20792),T=n(72800),I=n(98013),F=n(36095),M=n(53033),_=n.n(M);const N=(0,F.b1)(),R=N?{x:31.25,y:13}:{x:12.5,y:-4},L=e=>{const{viewportState:t,backend:o,scrollElement:r,styles:i,currentDocumentKey:a,referencePoints:s,addReferencePoint:l,page:c,isAutoCompare:u,interactionMode:p}=e,{formatMessage:h}=(0,f.YB)(),g=(0,k.tm)(),[v,y]=d.useState(!1),w=d.useRef(null),F=(0,k.R9)((e=>{N?(v||y(!0),w.current&&clearTimeout(w.current),w.current=setTimeout((()=>{w.current=null,g()&&y(!1)}),300)):e()})),M=a!==m.Q.result?a===m.Q.documentA?s.slice(0,3):s.slice(3,6):[],L=s.length<6&&M.filter(Boolean).length<3&&!u&&p!==A.A.PAN&&(a===m.Q.documentA&&s.length<3||a===m.Q.documentB&&s.length>=3),B={width:c.pageSize.width*t.zoomLevel,height:c.pageSize.height*t.zoomLevel},z=d.useRef(null),K=S()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${t.pagesRotation}-degree`]:!0,[i.page]:!0,[i["deg-"+t.pagesRotation]]:!0}),Z=(0,k._x)(),U=(0,P.v9)((e=>e.showToolbar))?I.k3:0,V=(0,k.R9)((()=>{l(Z(new C.Wm({x:t.viewportRect.width/2+2,y:t.viewportRect.height/2+U})))})),G={inViewport:!0,page:c,backend:o,shouldPrerender:!0,zoomLevel:t.zoomLevel,rotation:t.pagesRotation,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,documentHandle:a,viewportRect:t.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:!0,crispTiles:!0,inContentEditorMode:!1},W=(0,P.v9)((e=>e.scrollbarOffset)),q=M.map(((e,n)=>e?d.createElement("div",{className:S()({"PSPDFKit-DocumentComparison-ReferencePoint-Marker":!0,[i.referencePoint]:!0}),style:{left:e.x*t.zoomLevel-R.x+(N?W/2:0),top:e.y*t.zoomLevel-R.y},key:`point_${n}`},d.createElement(j,{touchDevice:N,className:i.comparisonPin},n+1)):null));return d.createElement(d.Fragment,null,d.createElement("div",{className:S()({[i.source]:!N,[i.sourceTouch]:!!N,"PSPDFKit-DocumentComparison-Source":!0,[`PSPDFKit-DocumentComparison-Source-${a}`]:!!a}),style:{cursor:L&&!N?`url('data:image/svg+xml,${_()}') 4 20, crosshair`:"auto"}},L&&N&&d.createElement(b.m,null,d.createElement("div",{className:i.crosshair,ref:z},d.createElement("div",{className:S()(i.selectPoint,{[i.hidden]:v}),onClick:V},h(oe.Comparison_selectPoint)),d.createElement(D.Z,{src:n(96373)}))),d.createElement(E.Z,{dispatch:e.dispatch,viewportState:t},d.createElement("section",{className:K,style:B,"data-page-index":c?c.pageIndex:""},d.createElement(T.Z,G),q,N?null:d.createElement("div",{className:i.pointerLayer},L?d.createElement(x.Z,{size:c.pageSize,onDrawEnd:l,transformPoint:Z,interactionMode:p,scrollElement:r}):null)))),r&&!N?d.createElement(O.B,{viewportState:t,scrollElement:r,onScroll:F,currentMainToolbarHeight:U,className:"PSPDFKit-DocumentComparison-Magnifier",pageIndex:c.pageIndex,pageRendererComponentProps:G},q):null)},B=N?{width:"100",height:"100",viewBox:"-10 0 90 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"}:{width:"66",height:"66",viewBox:"-10 0 56 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j=e=>{let{children:t,touchDevice:n,className:p}=e;return d.createElement("svg",(0,y.Z)({},B,{className:p}),n?d.createElement("g",{stroke:"#f5281b"},o||(o=d.createElement("path",{d:"M44.0171 43.4142L72.3014 71.6985",strokeWidth:"4"})),r||(r=d.createElement("path",{d:"M12.9043 12.3015L41.1886 40.5858",strokeWidth:"4"})),i||(i=d.createElement("path",{d:"M72.3013 12.3015L44.017 40.5858",strokeWidth:"4"})),a||(a=d.createElement("path",{d:"M41.189 43.4142L12.9047 71.6985",strokeWidth:"4"})),d.createElement("text",{x:"-10",y:"82",fontSize:"28",fill:"#f5281b",dominantBaseline:"central"},t)):d.createElement("g",{stroke:"#f5281b"},s||(s=d.createElement("path",{d:"M26.0083 25.7072L40.1505 39.8493",strokeWidth:"1.99616"})),l||(l=d.createElement("path",{d:"M10.4521 10.1508L24.5943 24.2929",strokeWidth:"1.99616"})),c||(c=d.createElement("path",{d:"M40.1509 10.1508L26.0087 24.2929",strokeWidth:"1.99616"})),u||(u=d.createElement("path",{d:"M24.5952 25.7072L10.453 39.8493",strokeWidth:"1.99616"})),d.createElement("text",{x:"0",y:"44",fontSize:"14",fill:"#f5281b",dominantBaseline:"central"},t)))};var z=n(25915);const K=e=>{const{addSource:t}=e,n=d.useCallback((e=>{(null==e?void 0:e.click)&&e.click()}),[]),o=d.useCallback((e=>{if(e.target.files[0]){const n=new FileReader;n.onload=e=>{var n;t(null===(n=e.target)||void 0===n?void 0:n.result)},n.readAsArrayBuffer(e.target.files[0])}}),[t]);return d.createElement(z.TX,{tag:"div"},d.createElement("input",{ref:n,"aria-label":"","aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, image/tiff, application/pdf",onChange:o,tabIndex:-1}))};var Z,U=n(9946),V=n(80399),G=n(3219),W=n(22660),q=n(2270);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $(e){for(var t=1;t{const{styles:t,currentDocumentKey:n,referencePoints:o,addReferencePoint:r,settings:i,completionConfiguration:a,setDocumentSources:s,documentSources:l,backend:c,viewportState:u,interactionMode:f,dispatch:g,isAutoCompare:y,renderPagePreview:b}=e,w=(0,k.tm)(),[S,P]=d.useState(null),[E,x]=d.useState(!1),D=(0,k.R9)((()=>{S&&g((0,G.nr)((0,h.mr)(u,S)))}));d.useEffect((()=>{D()}),[S,D]);const[O,A]=(0,k.dX)();d.useEffect((()=>{A(!1)}),[y,A]);const T=(0,k.R9)((e=>{e&&!l[e]&&i[e].source!==U.b.USE_OPEN_DOCUMENT||async function(){if(E)return;let t;e!==m.Q.result&&e?(S&&P(null),t=await c.openComparisonDocument(e)):(S&&P(null),t=O?await c.openComparisonDocument(m.Q.result):await Y(o,i,c),A(!0));const n=i[m.Q.documentA].pageIndex||0,r=new V.Z($({pageSize:new C.$u(t.pages[n])},t.pages[n]));w()&&P(r)}()})),I=d.useRef(null);d.useEffect((()=>{I.current!==n&&S&&P(null),I.current=n}),[n,S]),d.useEffect((()=>{S||E||T(n)}),[S,n,T,E,l]);const F=6===o.length||y;d.useEffect((()=>{F&&!y&&T(null)}),[T,F,y]),d.useEffect((()=>{!async function(){try{await a.start.promise,w()&&(0,p.unstable_batchedUpdates)((()=>{x(!0),P(null)}))}catch(e){a.start.reject(e)}}()}),[a,w]),d.useEffect((()=>{E&&async function(){try{await c.cleanupDocumentComparison(),a.end.resolve()}catch(e){a.end.reject(e)}}()}),[E,c,a]);const M=d.useCallback((async e=>{e&&(await c.setComparisonDocument(n,e),w()&&s($($({},l),{},{[n]:e})))}),[n,l,s,c,w]);return S?d.createElement(L,{backend:e.backend,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:u,scrollElement:e.scrollElement,styles:t,dispatch:e.dispatch,viewportWidth:e.viewportWidth,currentDocumentKey:n,addReferencePoint:r,referencePoints:o,page:S,isAutoCompare:y,interactionMode:f,renderPagePreview:b}):F||l[n]||i[n].source!==U.b.USE_FILE_DIALOG?d.createElement("div",{className:t.documentComparisonPageLoading},Z||(Z=d.createElement(v.Z,{scale:2}))):d.createElement(K,{addSource:M})},Y=async(e,t,n)=>{var o,r,i,a,s,l;let c;c=e&&e.length?[[[e[3].x,e[3].y],[e[0].x,e[0].y]],[[e[4].x,e[4].y],[e[1].x,e[1].y]],[[e[5].x,e[5].y],[e[2].x,e[2].y]]]:h.h6;return await n.documentCompareAndOpen({documentA:{pageIndex:t.documentA.pageIndex||0,strokeColor:null!==(o=t.strokeColors)&&void 0!==o&&o.documentA?(0,W.C)(null===(r=t.strokeColors)||void 0===r?void 0:r.documentA):(0,W.C)(null===(i=q.se.strokeColors)||void 0===i?void 0:i.documentA)},documentB:{pageIndex:t.documentB.pageIndex||0,strokeColor:null!==(a=t.strokeColors)&&void 0!==a&&a.documentB?(0,W.C)(null===(s=t.strokeColors)||void 0===s?void 0:s.documentB):(0,W.C)(null===(l=q.se.strokeColors)||void 0===l?void 0:l.documentB)},options:{type:"path",points:c,blendMode:t.blendMode||"darken"}})},J=e=>{const{onHide:t,styles:o}=e,{formatMessage:r}=(0,f.YB)();return d.createElement("div",{className:o.container},d.createElement("div",{className:o.wrapper},d.createElement(D.Z,{src:n(96462),className:o.icon}),d.createElement("div",{className:o.header},r(Q.UserHint_title)),d.createElement("div",{className:o.hint},r(Q.UserHint_description)),d.createElement("div",{className:o.hideButton},d.createElement(z.zx,{onClick:t},r(Q.UserHint_dismissMessage)))))},Q=(0,f.vU)({UserHint_title:{id:"UserHint_Select",defaultMessage:"Selecting Points",description:"User hint Title. User should select points to compare documents."},UserHint_description:{id:"UserHint_description",defaultMessage:"Select 3 points on both documents for manual alignment. For best results, choose points near corners of the document, and make sure to choose the points in the same order on both documents.",description:"Main body of the user hint. Explains what to do to compare documents"},UserHint_dismissMessage:{id:"UserHint_dismissMessage",defaultMessage:"Dismiss Message",description:"Dismiss user hint message"}}),ee=(0,F.b1)(),te=e=>e.length<3?m.Q.documentA:e.length<6?m.Q.documentB:m.Q.result,ne=e=>{const{interactionMode:t,initialDocumentSources:n,settings:o,backend:r}=e,{styles:i}=e.CSS_HACK,a=(0,k.tm)(),[s,l]=(0,k.nG)(),[c,u]=(0,k.jw)(),[f]=(0,k.$)(),[g,v]=d.useState(!0),y=(0,h.SH)(c),b=(0,k.R9)((e=>{e!==y&&u(e||m.Q.result)})),w=d.useCallback((e=>{const t=[...s,e];(0,p.unstable_batchedUpdates)((()=>{l(t),b(te(t))}))}),[s,b,l]),[S,P]=d.useState(null);return d.useEffect((()=>{!async function(){const[e,t]=await Promise.all([n[m.Q.documentA],n[m.Q.documentB]]);(e&&e.byteLength>0||o[m.Q.documentA].source===U.b.USE_OPEN_DOCUMENT)&&await r.setComparisonDocument(m.Q.documentA,e),(t&&t.byteLength>0||o[m.Q.documentB].source===U.b.USE_OPEN_DOCUMENT)&&await r.setComparisonDocument(m.Q.documentB,t),a()&&P({[m.Q.documentA]:e,[m.Q.documentB]:t,[m.Q.result]:{source:null}})}()}),[n,r,o,a]),d.createElement("div",{className:i.docComparison},S?d.createElement(X,{backend:r,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:e.viewportState,interactionMode:t,scrollElement:e.scrollElement,styles:i,dispatch:e.dispatch,settings:o,completionConfiguration:e.completionConfiguration,documentSources:S,setDocumentSources:P,viewportWidth:e.viewportWidth,currentDocumentKey:y,addReferencePoint:w,referencePoints:s,isAutoCompare:f,renderPagePreview:e.renderPagePreview}):null,!ee&&!(6===s.length)&&!f&&g&&d.createElement(J,{styles:i.userHintStyles,onHide:()=>v(!1)}))},oe=(0,f.vU)({Comparison_documentOld:{id:"Comparison_documentOld",defaultMessage:"Old Document",description:"One of the documents to be compared."},Comparison_documentOldTouch:{id:"Comparison_documentOldTouch",defaultMessage:"Old",description:"The original document used in the comparison."},Comparison_documentNew:{id:"Comparison_documentNew",defaultMessage:"New Document",description:"The new document used in the comparison."},Comparison_documentNewTouch:{id:"Comparison_documentNewTouch",defaultMessage:"New",description:"The new document used in the comparison."},Comparison_result:{id:"Comparison_result",defaultMessage:"Comparison",description:"The compared document."},Comparison_resetButton:{id:"Comparison_resetButton",defaultMessage:"Reset",description:"Reset all placed alignment points."},Comparison_alignButton:{id:"Comparison_alignButton",defaultMessage:"Align Documents",description:"Start the manual document alignment process."},Comparison_alignButtonTouch:{id:"Comparison_alignButtonTouch",defaultMessage:"Align",description:"Start the manual document alignment process."},Comparison_selectPoint:{id:"Comparison_selectPoint",defaultMessage:"Select Point",description:"Select alignment point."}})},2270:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>P,se:()=>y});var o=n(84121),r=n(67294),i=n(73264),a=n(83634),s=n(9946),l=n(51559),c=n(55024),u=n(79973),d=n.n(u),p=n(94287),f=n.n(p);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;tPromise.resolve().then(n.bind(n,99728)))),y={documentA:{source:s.b.USE_OPEN_DOCUMENT,pageIndex:0},documentB:{source:s.b.USE_FILE_DIALOG,pageIndex:0},strokeColors:{documentA:new a.Z({r:245,g:40,b:27}),documentB:new a.Z({r:49,g:193,b:255})},blendMode:"darken",autoCompare:!1},b=r.createElement("div",{className:d().documentComparisonPageLoading,"data-testid":"documentComparisonFallback"},r.createElement(i.Z,{scale:2})),w=(e,t)=>({documentA:m(m({},y.documentA),{},{pageIndex:(null==e?void 0:e.documentA.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentA),documentB:m(m({},y.documentB),{},{pageIndex:(null==e?void 0:e.documentB.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentB),strokeColors:m(m({},y.strokeColors),null==e?void 0:e.strokeColors),blendMode:(null==e?void 0:e.blendMode)||y.blendMode,autoCompare:e.autoCompare}),S=e=>e!==s.b.USE_OPEN_DOCUMENT&&e!==s.b.USE_FILE_DIALOG?(0,l.rh)(e):null,P=e=>{const{backend:t,viewportState:n,interactionMode:o=null,configuration:i}=e,a=r.useMemo((()=>w(i,n.currentPageIndex)),[i,n.currentPageIndex]);r.useEffect((()=>{let e;a[c.Q.documentA].source===s.b.USE_OPEN_DOCUMENT?e=c.Q.documentA:a[c.Q.documentB].source===s.b.USE_OPEN_DOCUMENT&&(e=c.Q.documentB),t.persistOpenDocument(e)}),[t,a]);const l=r.useRef({[c.Q.documentA]:S(a.documentA.source),[c.Q.documentB]:S(a.documentB.source)});return r.createElement(r.Suspense,{fallback:b},r.createElement(v,{backend:e.backend,interactionMode:o,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:n,scrollElement:e.scrollElement,CSS_HACK:g,viewportWidth:e.viewportWidth,dispatch:e.dispatch,settings:a,completionConfiguration:i.completion,initialDocumentSources:l.current,renderPagePreview:e.renderPagePreview}))}},84537:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var o=n(22122),r=n(67294),i=n(25915),a=n(72673),s=n.n(a);function l(e){return r.createElement(i.bK,(0,o.Z)({},e,{styles:{label:s().label,input:s().input}}))}},28910:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var o=n(67294),r=n(25915),i=n(13540),a=n(99580),s=n.n(a);function l(e){let{title:t,children:a}=e;const[l,c]=o.useState(!1),u=(0,o.useCallback)((()=>c((e=>!e))),[]);return o.createElement(o.Fragment,null,o.createElement(r.w6,{expanded:l,onPress:u,className:s().wrapper},o.createElement("div",{className:s().controlContent},o.createElement(i.Z,{src:n(35982)(`./caret-${l?"down":"right"}.svg`),className:s().icon}),o.createElement("span",null,t))),o.createElement(r.F0,{expanded:l},o.createElement("div",{className:s().content},a)))}},40853:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>F,ck:()=>T,zx:()=>A});var o=n(84121),r=n(22122),i=n(67294),a=n(76154),s=n(94184),l=n.n(s),c=n(18390),u=n(35129),d=n(28910),p=n(13540),f=n(66003),h=n(2726),m=n(84537),g=n(5462),v=n(45395),y=n(13448),b=n(95651),w=n(22458),S=n.n(w),P=n(9437),E=n.n(P),x=n(93628),D=n.n(x);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;to=>{let{btnComponentProps:a,selectedItem:s}=o;return i.createElement(c.Z,(0,r.Z)({is:"div"},a,{className:l()("PSPDFKit-Input-Dropdown-Button",D().selectBox,S().selectBox,{[D().measurementDropdownText]:"measurement"===t}),style:{minWidth:"measurement"===t?"60px":"100px",columnGap:"measurement"===t?"8px":"",width:n?`${n}px`:""}}),i.createElement("span",null,null!=s&&s.label?O(s.label)?e(O(s.label)):s.label:null),i.createElement("div",null,(0,y.Z)({type:"caret-down",style:{width:12,height:12,flexBasis:12},className:l()(D().dropdownIcon)})))},T=(e,t)=>n=>{let{item:o,state:a,itemComponentProps:s,ref:u}=n;return i.createElement(c.Z,(0,r.Z)({is:"div",className:l()(D().item,{[D().isSelected]:(null==a?void 0:a.includes("selected"))||(null==a?void 0:a.includes("focused")),[D().measurementDropdownText]:"measurement"===t}),name:null==o?void 0:o.value},s,{ref:u}),i.createElement("span",null,null!=o&&o.label?O(o.label)?e(O(o.label)):o.label:null))};const I=(0,a.vU)({borderColor:{id:"borderColor",defaultMessage:"Border Color",description:"Form designer popover style section border color label"},borderWidth:{id:"borderWidth",defaultMessage:"Border Width",description:"Form designer popover style section border width label"},borderStyle:{id:"borderStyle",defaultMessage:"Border Style",description:"Form designer popover style section border style label"},print:{id:"print",defaultMessage:"Print",description:"Form designer popover style section print label"},solid:{id:"solid",defaultMessage:"Solid",description:"Form designer popover style section solid border label"},dashed:{id:"dashed",defaultMessage:"Dashed",description:"Form designer popover style section dashed border label"},beveled:{id:"beveled",defaultMessage:"Beveled",description:"Form designer popover style section beveled border label"},inset:{id:"inset",defaultMessage:"Inset",description:"Form designer popover style section inset border label"},underline:{id:"underline",defaultMessage:"Underline",description:"Form designer popover style section unredline border label"}}),F=function(e){var t;let{annotation:o,updateAnnotation:r,intl:a,frameWindow:s,label:l,pageSize:c}=e;const y=i.useCallback((e=>a.formatMessage(u.Z.numberInPt,{arg0:e.toFixed(0)})),[a]),w=i.useCallback((e=>`${Math.round(e)}%`),[]),P=i.useCallback((e=>r({borderWidth:e})),[r]),x=i.useCallback((e=>{if(!c)return;const t=Number(e);if(90!==Math.abs(t-o.rotation)&&270!==Math.abs(t-o.rotation))r({rotation:t});else{const e=(0,b.eJ)(o,c),n=e.set("rotation",t);r({rotation:n.rotation,boundingBox:e.boundingBox})}}),[c,r,o]),D=i.useMemo((()=>[{label:"none",value:"none"},...Object.keys(v.N).map((e=>({label:e,value:e})))]),[]),C=null!==(t=D.find((e=>{var t;return(null!==(t=o.borderStyle)&&void 0!==t?t:"none")===e.value})))&&void 0!==t?t:null,F=[{label:"0°",value:"0"},{label:"90°",value:"90"},{label:"180°",value:"180"},{label:"270°",value:"270"}];let M=o.rotation?F.find((e=>{let{value:t}=e;return Number(t)===o.rotation})):F[0];void 0===M&&(M=F[0]);const _=i.useCallback(A(a.formatMessage),[a.formatMessage]),N=i.useCallback(T(a.formatMessage),[a.formatMessage]);return i.createElement(d.U,{title:l},i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(59601),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.fillColor)),i.createElement(f.Z,{record:o,onChange:r,styles:k(k({},E()),{},{colorSvg:S().colorSvg,colorItem:S().colorItem,controlWrapper:k(k({},E().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(u.Z.fillColor),caretDirection:"down",colorProperty:"backgroundColor",frameWindow:s,className:S().colorDropdown})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(35147),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderColor)),i.createElement(f.Z,{record:o,onChange:r,styles:k(k({},E()),{},{colorSvg:S().colorSvg,colorItem:S().colorItem,controlWrapper:k(k({},E().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(I.borderColor),caretDirection:"down",colorProperty:"borderColor",frameWindow:s,className:S().colorDropdown})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(81913),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderStyle)),i.createElement("div",{className:S().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(I.borderStyle),className:"PSPDFKit-Input-Dropdown-Select",value:o.borderStyle||"",onChange:e=>{e.target.value!==D[0].value?void 0!==e.target.value&&r({borderStyle:e.target.value}):r({borderStyle:null})}},D.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label?a.formatMessage(O(e.label)):""))))),i.createElement(g.Z,{items:D,value:C,accessibilityLabel:a.formatMessage(I.borderStyle),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:_,ItemComponent:N,onSelect:(e,t)=>{t.value!==D[0].value?void 0!==t.value&&r({borderStyle:t.value}):r({borderStyle:null})},frameWindow:s})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(62846),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderWidth)),i.createElement(h.Z,{onChange:P,value:o.borderWidth||0,name:"borderWidth",caretDirection:"down",min:0,max:40,valueLabel:y,className:S().sliderDropdown,accessibilityLabel:a.formatMessage(I.borderWidth)})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(53491),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.opacity)),i.createElement(h.Z,{onChange:e=>r({opacity:e/100}),value:100*o.opacity,name:"opacity",caretDirection:"down",valueLabel:w,className:S().sliderDropdown,accessibilityLabel:a.formatMessage(u.Z.opacity)})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(55426),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.rotation)),i.createElement("div",{className:S().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(u.Z.rotation),className:"PSPDFKit-Input-Dropdown-Select",value:o.rotation||0,onChange:e=>{e.target.value&&x(e.target.value)}},F.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),i.createElement(g.Z,{items:F,value:M,accessibilityLabel:a.formatMessage(u.Z.rotation),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:_,ItemComponent:N,onSelect:(e,t)=>{t.value&&x(t.value)},frameWindow:s})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(54629),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.print)),i.createElement(m.n,{value:!o.noPrint,onUpdate:e=>r({noPrint:!e}),accessibilityLabel:a.formatMessage(I.print)})))}},98785:(e,t,n)=>{"use strict";n.d(t,{X:()=>f,Z:()=>h});var o=n(67294),r=n(35369),i=n(55961),a=n(87515),s=n(88804),l=n(73815),c=n(95651),u=n(16126),d=n(10333),p=n.n(d);function f(e,t,n,o){const{width:r,height:i}=e,a=Math.min(n/r,n/i),s=Math.min(o/r,o/i),c=Math.ceil(r*s*(0,l.L)()),u=Math.ceil(i*s*(0,l.L)()),d=Math.floor(r*a),p=Math.floor(i*a);let f=d,h=p;90!==t&&270!==t||(f=p,h=d);let m=0,g=0;return 90===t?m=f:180===t?(m=f,g=h):270===t&&(g=h),{ratio:a,tileRatio:s,tileWidth:c,tileHeight:u,containerWidth:d,containerHeight:p,rotatedWidth:f,rotatedHeight:h,translationX:m,translationY:g}}const h=(0,i.x)((function(e,t){const{page:n}=t,{backend:o,annotations:i,attachments:a,formFields:s,showAnnotations:l,renderPageCallback:d}=e,p=l?(0,c.xp)(i,n):void 0,f=l?(0,u.ET)(s,n):void 0,h=l&&f?(0,u.Qg)(f.reduce(((e,t)=>e.set(t.name,t)),(0,r.D5)())):void 0;return{annotations:p,formFields:f,formFieldValues:h,attachments:l?a:void 0,backend:o,renderPageCallback:d,digitalSignatures:e.digitalSignatures}}))((function(e){const{page:{pageSize:t,pageIndex:n,pageKey:r},size:i,maxSize:c,backend:u,annotations:d,attachments:h,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageRef:b}=e,w=e.rotation||0,{ratio:S,tileRatio:P,tileWidth:E,tileHeight:x,rotatedWidth:D,rotatedHeight:C,translationX:k,translationY:O}=f(t,w,i,c),A=o.useMemo((function(){return new s.$u({width:E,height:x})}),[x,E]),T=o.useMemo((function(){return new s.UL({width:E,height:x})}),[x,E]),I={width:D,height:C,transform:`\n translateX(${k}px)\n translateY(${O}px)\n rotate(${w}deg)\n scale(${S/P/(0,l.L)()})\n `,transformOrigin:"top left"};return o.createElement("div",{style:I,ref:b},o.createElement("div",{className:p().tilePlaceholder,style:{width:E,height:x}}),o.createElement(a.Z,{backend:u,pageIndex:n,originalPageSize:t,scaledPageSize:A,rect:T,annotations:d,attachments:h,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageKey:r}))}))},34855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(22122),r=n(84121),i=n(67294),a=n(73935),s=n(7844),l=n(66687),c=n(45719),u=n.n(c);class d extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"shouldComponentUpdate",s.O),(0,r.Z)(this,"_lastOrientationChange",0),(0,r.Z)(this,"_handleResize",(()=>{const e=this._element&&this._element.getBoundingClientRect();if(!e)return;const t=Date.now()-this._lastOrientationChange<1e3;(0,a.unstable_batchedUpdates)((()=>{this.props.onResize(l.UL.fromClientRect(e),t)}))})),(0,r.Z)(this,"_handleOrientationChange",(()=>{this._lastOrientationChange=Date.now()})),(0,r.Z)(this,"_handleRef",(e=>{this._element=e}))}componentDidMount(){const e=this._getIFrameWindow();null==e||e.addEventListener("resize",this._handleResize),null==e||e.addEventListener("orientationchange",this._handleOrientationChange),this._handleResize()}componentWillUnmount(){const e=this._getIFrameWindow();null==e||e.removeEventListener("resize",this._handleResize),null==e||e.removeEventListener("orientationchange",this._handleOrientationChange)}_getIFrameWindow(){var e;return null===(e=this._element)||void 0===e?void 0:e.contentWindow}render(){return i.createElement("iframe",(0,o.Z)({ref:this._handleRef,className:u().root},{inert:""},{"aria-hidden":!0,tabIndex:"-1"}))}}},13448:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(67294),r=n(94184),i=n.n(r),a=n(13540),s=n(25393),l=n.n(s),c=n(30360);function u(e){const{icon:t,type:r,style:s=null}=e,u=i()(l().root,e.className,"PSPDFKit-Icon","PSPDFKit-Icon-"+(0,c.in)(r));if(t)return/{"use strict";n.d(t,{Z:()=>p});var o=n(84121),r=n(67294),i=n(66687),a=n(97528),s=n(18146),l=n(95651),c=n(32801),u=n(35129);const d=[i.Xs,i.gd,i.Zc,s.Z,i.FV,i.o9,i.om,i.Hi,i.b3,i.x_];class p extends r.PureComponent{static getDerivedStateFromProps(e){if(e.annotationToolbarColorPresets){const t=e.annotationToolbarColorPresets({propertyName:(()=>{for(const[t,n]of l.fc.entries())if(n===e.colorProperty)return t})(),defaultAnnotationToolbarColorPresets:a.Options.COLOR_PRESETS});if(void 0!==t)return!1===t.showColorPicker?{hasColorPicker:t.showColorPicker,colors:t.presets,isUsingCustomConfig:!0}:{colors:t.presets,hasColorPicker:!0,isUsingCustomConfig:!0}}return e.colors?{colors:e.colors}:{colors:a.Options.COLOR_PRESETS}}constructor(e){super(e),(0,o.Z)(this,"state",{colors:a.Options.COLOR_PRESETS,colorPresets:(0,l.sH)(this.props.colorProperty),creatingColor:void 0,hasColorPicker:!0,isDeleteButtonVisible:void 0,isUsingCustomConfig:!1}),(0,o.Z)(this,"defaultBorderColor","#404040"),(0,o.Z)(this,"_autoFocused",!1),(0,o.Z)(this,"_onChange",(e=>{this.props.onChange({[this.props.colorProperty]:e?e.color:null})})),(0,o.Z)(this,"showCustomPickerForAnnotation",(e=>d.some((t=>e instanceof t)))),(0,o.Z)(this,"_setStoredColors",(e=>localStorage.setItem(`persistedColors${this.props.colorProperty}`,JSON.stringify(e))))}render(){var e;const{record:t}=this.props,n=this.state.hasColorPicker&&(!(t instanceof i.q6)||this.showCustomPickerForAnnotation(t)),o=this.props.record[this.props.colorProperty],a=null!==(e=this.state.colors.find((e=>!(null!=e.color&&!e.color.transparent||null!=o)||null!=e.color&&null!=o&&e.color.equals(o))))&&void 0!==e?e:{color:o,localization:u.Z.color};return r.createElement(c.Z,{colors:this.state.colors,value:a,customColorPresets:this.state.colorPresets,setCustomColorPresets:e=>e?this.setState({colorPresets:e}):null,onChange:this._onChange,className:this.props.className,caretDirection:this.props.caretDirection,removeTransparent:this.props.removeTransparent,opacity:this.props.record.opacity,accessibilityLabel:this.props.accessibilityLabel,keepOpacity:this.props.keepOpacity,frameWindow:this.props.frameWindow,innerRef:this.props.innerRef,lastToolbarActionUsedKeyboard:this.props.lastToolbarActionUsedKeyboard,styles:this.props.styles,setStoredColors:this._setStoredColors,shouldShowCustomColorPicker:n,unavailableItemFallback:{type:"swatch"},isUsingCustomConfig:this.state.isUsingCustomConfig})}}(0,o.Z)(p,"defaultProps",{className:"",removeTransparent:!1,lastToolbarActionUsedKeyboard:!1})},32801:(e,t,n)=>{"use strict";n.d(t,{Z:()=>X});var o=n(22122),r=n(18390),i=n(67294),a=n(21614),s=n(47347),l=n(25915),c=n(94184),u=n.n(c),d=n(76154),p=n(44364),f=n.n(p),h=n(97528),m=n(66687),g=n(62967),v=n.n(g),y=n(93628),b=n.n(y),w=n(27435),S=n.n(w),P=n(38006),E=n.n(P),x=n(35129),D=n(5462),C=n(23093),k=n.n(C),O=n(36095),A=n(4054),T=n(13448),I=n(13540),F=n(775),M=n(47650),_=n.n(M);const N=i.memo((function(e){const{onCreateNewColor:t,onChange:n,disabled:o,isChoosingColor:r}=e,[a,s]=i.useState("#000000"),l={opacity:o?"40%":"100%",backgroundImage:r?"none":_().nativeColorInput.backgroundImage,backgroundColor:r?a:null,border:r?"1px solid var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)":"none",width:r?"18px":"22px",height:r?"18px":"22px"};return i.createElement("label",{htmlFor:"input-color"},i.createElement("div",{className:_().nativeColorInputWrapper},i.createElement(F.DebounceInput,{className:u()(_().nativeColorInput,"PSPDFKit-Custom-Color-Input"),style:l,type:"color",id:"input-color",debounceTimeout:200,value:a,onChange:e=>{const t=e.target.value;t&&(s(t),n(m.Il.fromHex(t)))},onBlur:e=>{const n=e.target.value;n&&t(m.Il.fromHex(n))},disabled:o})))}));var R,L,B,j,z;const K=e=>{var t,n;const o=null!==(t=e.colors)&&void 0!==t?t:h.Options.COLOR_PRESETS,{formatMessage:r}=(0,d.YB)(),{removeTransparent:s=!1,customColorPresets:l=[],setCustomColorPresets:c,setStoredColors:p,lastToolbarActionUsedKeyboard:f=!1,opacity:g=1,innerRef:v,value:y,caretDirection:b,keepOpacity:w,frameWindow:S,accessibilityLabel:P,onChange:E,unavailableItemFallback:x={type:"label"},disabled:C=!1,styles:k,shouldShowCustomColorPicker:A=!1,isUsingCustomConfig:T=!1,menuClassName:I}=e,[F,M]=i.useState(),[_,R]=i.useState(),L=i.useRef(!1),B=i.useCallback((e=>{const t=[...o,...l].find((t=>{var n,o,r,i;return null!==(n=null!=t.color&&null!=(null==e||null===(o=e.value)||void 0===o?void 0:o.color)&&(null===(r=e.value.color)||void 0===r?void 0:r.equals(t.color)))&&void 0!==n?n:null==(null==e||null===(i=e.value)||void 0===i?void 0:i.color)&&null==t.color})),n=[...o,...l].find((e=>t?V(e)===V(t):null));E(null!=n?n:null)}),[o,l,E]),j=i.useCallback((e=>{var t;const n={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}},o=[...l,n];null==p||p(o),c&&(c(o),M(void 0)),null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e)||E(n)}),[l,c,p,E,y]),z=i.useCallback((e=>{var t;const n=l.filter((t=>t.localization.id!==e.localization.id));null==p||p(n),c&&(c(n),M(void 0)),e.color&&null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e.color)&&E(o[0])}),[l,E,c,p,o,y]),K=i.useCallback((e=>{M(e);const t={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}};E(t)}),[E]),U=[...o,...l].filter((e=>!(s&&(null===e.color||e.color.transparent)))).map((e=>({label:e.localization.id,value:e,disabled:!1}))),G=H({caretDirection:b,colors:o,customColorPresets:l,colorItems:U,disabled:C,innerRef:v,keepOpacity:w,lastToolbarActionUsedKeyboard:f,opacity:g,unavailableItemFallback:x,styles:k,value:y,formatMessage:r,autoFocused:L}),W=$({colors:o,customColorPresets:l,isDeleteButtonVisible:_,setIsDeleteButtonVisible:R,formatMessage:r,handleChange:B,handleDeleteColor:z,keepOpacity:w,opacity:g,styles:k});return i.createElement("div",{className:k.controlWrapper},i.createElement("div",{className:k.control},i.createElement(D.Z,{items:U,value:null!=y&&null!==(n=U.find((e=>V(e.value)===V(y))))&&void 0!==n?n:null,discreteDropdown:!1,isActive:!1,caretDirection:b,className:`${e.className} ${k.colorSelect}`,menuClassName:u()(k.dropdownMenu,k.colorPickerDropdownMenu,I),ButtonComponent:G,ItemComponent:W,onSelect:(0,O.b1)()?void 0:(e,t)=>{B(t)},frameWindow:S,accessibilityLabel:P,maxCols:6,itemWidth:30,appendAfter:A?{node:Z,index:T?o.length-1:o.length-(s?2:1)}:null},A&&i.createElement(N,{onCreateNewColor:j,onChange:K,disabled:l.length>=17,isChoosingColor:F instanceof m.Il}))))},Z=()=>i.createElement("label",{style:{width:"100%",paddingTop:"10px",paddingBottom:"10px",paddingLeft:"5px"}},"Custom");function U(e){let{onClick:t}=e;return i.createElement(r.Z,{onClick:t,is:"button",className:u()(`PSPDFKit-AnnotationToolbar-Custom-Color-Delete-Button ${v().colorDeleteButton}`)},R||(R=i.createElement(I.Z,{src:k(),"aria-hidden":"true"})))}function V(e){return null!=e?null!=e.color?e.color.toCSSValue():"none":"N/A"}function G(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{stroke:"var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)",fill:e?e.toCSSValue():"none",strokeWidth:1,fillOpacity:t?n:1}}const W=()=>i.createElement(i.Fragment,null,i.createElement("defs",null,i.createElement("pattern",{id:"PSPDFKit-Color-Background-Chessboard",width:"0.5",height:"0.5",patternContentUnits:"objectBoundingBox"},i.createElement("rect",{x:"0",y:"0",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}),i.createElement("rect",{x:"0.25",y:"0.25",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:{fill:"url(#PSPDFKit-Color-Background-Chessboard)"}})),q=()=>i.createElement("g",{transform:"translate(5 5)"},i.createElement("line",{x1:"2",x2:"12",y1:"12",y2:"2",style:{stroke:"#F00",strokeWidth:2},strokeLinecap:"round"})),H=e=>t=>{var n,r,a;let{btnComponentProps:s,selectedItem:c}=t,d=!1;if(null!=(null==c||null===(n=c.value)||void 0===n?void 0:n.color)){var p;const t=null===(p=c.value)||void 0===p?void 0:p.color;d=Boolean(!e.colorItems.some((e=>{var n;return null===(n=e.value)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.equals(t)})))}else d=!e.colorItems.some((e=>{var t,n,o;return null==(null===(t=e.value)||void 0===t?void 0:t.color)&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)||(null===(o=e.value)||void 0===o||null===(o=o.color)||void 0===o?void 0:o.transparent)}));const f=[...e.colors,...e.customColorPresets].find((e=>{var t;return c?V(e)===V(c.value):null===(t=e.color)||void 0===t?void 0:t.transparent})),h=f?V(f):null,m=e.formatMessage(f?f.localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}),g=e.value,v=(!g||!f||"transparent"===f.localization.id||!e.keepOpacity&&e.opacity<1)&&(L||(L=i.createElement(W,null)));return i.createElement("button",(0,o.Z)({},s,{className:u()("PSPDFKit-Input-Dropdown-Button","PSPDFKit-Input-Color-Dropdown",e.styles.colorSelectButton,{[S().isDisabled]:e.disabled,[e.styles.controlIsDisabled]:e.disabled}),ref:t=>{s.ref(t),"function"==typeof e.innerRef?e.innerRef(t):e.innerRef&&"object"==typeof e.innerRef&&"current"in e.innerRef&&(e.innerRef.current=t),e.innerRef&&t&&!e.autoFocused.current&&(t.focus(),e.autoFocused.current=!0,e.lastToolbarActionUsedKeyboard&&(t.classList.add(E().focusedFocusVisible),t.addEventListener("blur",A.Cz)))},name:"clickableBox",disabled:e.disabled}),d&&"label"===e.unavailableItemFallback.type?i.createElement("span",null,null!==(r=e.unavailableItemFallback.label)&&void 0!==r?r:"N/A"):i.createElement(i.Fragment,null,i.createElement(l.TX,{tag:"div"},m),i.createElement("svg",(0,o.Z)({viewBox:"0 0 24 24",className:e.styles.colorSvg,key:h},{title:m,value:h},{"aria-hidden":!0}),v,(f&&"transparent"===f.localization.id||!g)&&(B||(B=i.createElement(q,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:G(null!==(a=null==g?void 0:g.color)&&void 0!==a?a:null)}))),i.createElement("div",null,(0,T.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:12,flexBasis:12},className:u()(b().dropdownIcon)})))},$=e=>t=>{var n,a;let{item:c,state:d,itemComponentProps:p}=t;const h=[...e.colors,...e.customColorPresets].find((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(null==c?void 0:c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)})),m=e.colors.some((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)}));(0,s.kG)(h,"Couldn't find matching color.");const g=V(h),y=m?e.formatMessage(h.localization):e.formatMessage(x.Z.newColor),w=e.customColorPresets.find((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)}));let P,E=0;const D=("transparent"===h.localization.id||!e.keepOpacity&&e.opacity<1)&&(j||(j=i.createElement(W,null)));return i.createElement("div",{"data-testid":"color-swatch",className:v().colorItemContainer},w&&(e.isDeleteButtonVisible===g||!(0,O.b1)())&&i.createElement(U,{onClick:()=>e.handleDeleteColor(w)}),i.createElement(r.Z,(0,o.Z)({is:"div",className:u()(f().root,S().root,{[b().isSelected]:(null==d?void 0:d.includes("selected"))||(null==d?void 0:d.includes("focused"))},b().item,e.styles.colorItem),name:null!==(n=null==c||null===(a=c.value)||void 0===a?void 0:a.localization.id)&&void 0!==n?n:""},p,{onPointerDown:(0,O.b1)()?()=>{E=Date.now(),P=setTimeout((()=>{e.setIsDeleteButtonVisible(g)}),300)}:void 0,onPointerUp:(0,O.b1)()?(t=>()=>{Date.now()-E<300&&(window.clearTimeout(P),e.setIsDeleteButtonVisible(void 0),e.handleChange(t))})(c):void 0}),i.createElement(l.TX,{tag:"div"},y),i.createElement("svg",(0,o.Z)({viewBox:"0 0 24 24",className:`PSPDFKit-Input-Dropdown-Item ${e.styles.colorSvg}`,key:g},{title:y,value:g},{"aria-hidden":"true"}),D,"transparent"===h.localization.id&&(z||(z=i.createElement(q,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:G(h.color,e.keepOpacity)}))))},X=i.memo(K)},2726:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var o=n(22122),r=n(84121),i=(n(47347),n(67294)),a=n(94184),s=n.n(a),l=n(25915),c=n(13540),u=n(7844),d=n(23215),p=n.n(d);let f=0;class h extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"inputRef",i.createRef()),(0,r.Z)(this,"shouldComponentUpdate",u.O),(0,r.Z)(this,"_guid",f++),(0,r.Z)(this,"triggerChange",(()=>{this.inputRef.current&&this.props.onChange(Number(this.inputRef.current.value))}))}render(){const{label:e,accessibilityLabel:t}=this.props;return i.createElement("div",{className:`PSPDFKit-Input-Slider ${this.props.className} ${p().root}`},this.props.label?i.createElement("label",{htmlFor:`${p().label}-${this._guid}`,className:p().label},this.props.label):this.props.accessibilityLabel?i.createElement(l.TX,{tag:"label",htmlFor:`${p().label}-${this._guid}`},this.props.accessibilityLabel):null,i.createElement("div",{className:p().input},i.createElement("input",{id:`${p().label}-${this._guid}`,type:"range",ref:this.inputRef,className:"PSPDFKit-Input-Slider-Input",min:this.props.min,max:this.props.max,step:this.props.step,value:this.props.value,onChange:this.triggerChange})),!this.props.hideLabel&&i.createElement("label",{className:`PSPDFKit-Input-Slider-Value ${p().value}`},this.props.valueLabel(this.props.value)))}}(0,r.Z)(h,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""});var m=n(19770),g=n.n(m);let v=0;class y extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"controlRef",i.createRef()),(0,r.Z)(this,"state",{isOpen:!1}),(0,r.Z)(this,"_guid",v++),(0,r.Z)(this,"_toggleItems",(()=>{this.state.isOpen?this._hideItems():this._showItems()})),(0,r.Z)(this,"_handleKeyDown",(e=>{"ArrowDown"!==e.key||this.state.isOpen||this._toggleItems()})),(0,r.Z)(this,"_handleBlur",(e=>{e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),setTimeout((()=>{const e=this.controlRef.current,t=e&&e.ownerDocument&&e.ownerDocument.activeElement;this.state.isOpen&&e&&!e.contains(t)&&this._hideItems()}),0)}))}_showItems(){this.setState({isOpen:!0})}_hideItems(){this.setState({isOpen:!1})}render(){const{label:e,accessibilityLabel:t,caretDirection:o}=this.props;const r=this.props.className?this.props.className:"",a=s()(g().root,this.state.isOpen&&g().show,r,"PSPDFKit-Input-Dropdown",this.state.isOpen&&"PSPDFKit-Input-Dropdown-open");return i.createElement("div",{style:this.props.style,className:a,onBlur:this._handleBlur,ref:this.controlRef,tabIndex:-1},i.createElement("button",{className:`PSPDFKit-Input-Dropdown-Button ${g().button}`,onClick:this._toggleItems,onKeyDown:this._handleKeyDown,"aria-labelledby":`${g().srLabel}-${this._guid} ${g().value}-${this._guid}`,style:{height:32},ref:this.props.innerRef,"aria-expanded":this.state.isOpen,"aria-controls":`${g().dropdownItems}-${this._guid}`,type:"button"},i.createElement("span",{className:`PSPDFKit-Input-Dropdown-FlexContainer ${g().flexContainer}`,"aria-hidden":"true"},i.createElement("span",{className:`PSPDFKit-Input-Slider-Value ${g().value}`,id:`${g().value}-${this._guid}`},this.props.valueLabel(this.props.value))),i.createElement(l.TX,{id:`${g().srLabel}-${this._guid}`},t||null),i.createElement(c.Z,{src:n("down"===o?58021:7359),className:g().toggle,"aria-hidden":"true"})),i.createElement("div",{className:s()("PSPDFKit-Input-Dropdown-Items",g().dropdownItems,g().dropdown,{[g().dropDownItemsUp]:"up"===this.props.caretDirection}),id:`${g().dropdownItems}-${this._guid}`},this.state.isOpen&&this._renderDropdownItems()))}_renderDropdownItems(){return i.createElement("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",width:"auto",padding:"5px 10px"}},i.createElement(h,(0,o.Z)({},this.props,{className:`${this.props.className} ${g().slider}`,hideLabel:!0})))}}(0,r.Z)(y,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""})},20500:(e,t,n)=>{"use strict";n.d(t,{B:()=>E});var o,r=n(22122),i=n(67294),a=n(67665),s=n(94184),l=n.n(s),c=n(27515),u=n(73815),d=n(36095),p=n(58479),f=n(13944),h=n(66687),m=n(72800),g=n(71693),v=n(89029),y=n.n(v);const b=d.G6&&(0,u.L)()>1,w=b?2:1,S=16/w;function P(e,t){const{zoomLevel:n}=e;return Math.round((0,g.e8)(e,(0,g.dF)(e,t))*n)}const E=e=>{const{pageRendererComponentProps:t,contentState:n,pageIndex:s,viewportState:g,onScroll:v,currentMainToolbarHeight:E,className:x,scrollElement:D,label:C,cursorPosition:k,isMobile:O}=e,[{x:A,y:T},I]=i.useState({x:0,y:0}),[{scrollTop:F,scrollLeft:M},_]=i.useState({scrollLeft:(null==D?void 0:D.scrollLeft)||0,scrollTop:((null==D?void 0:D.scrollTop)||0)-P(g,s)}),N=(0,p.R9)((e=>{k||I({x:e.clientX,y:e.clientY})})),R=(0,p.tm)(),L=(0,p.R9)((()=>{if(!D||!R())return;const e={scrollLeft:D.scrollLeft,scrollTop:D.scrollTop-P(g,s)};v?v((()=>_(e))):_(e)}));i.useEffect((()=>(null==D||D.addEventListener("scroll",L,!1),()=>{null==D||D.removeEventListener("scroll",L,!1)})),[L,D]);const B=O?136:174,j=g.scrollPosition.scale(g.zoomLevel).translate(g.scrollPosition.scale(-g.zoomLevel)),z=(0,c.G4)(g).translate(j.scale(-1)),K=(0,u.L)(),Z=Math.floor(K*(((null==k?void 0:k.x)||A)-z.left+M))/K,U=Math.floor(K*(((null==k?void 0:k.y)||T)-z.top-E+F))/K,V=Math.floor(B/2-Z),G=Math.floor(B/2-U),W=K/(w*S/K)+.5/w,q=w*S*.5*K,H=C||`${(g.zoomLevel*S*K/2).toFixed(1).replace(".0","")}x`;return i.createElement(f.Z,{onRootPointerMove:N},i.createElement(a.m,null,i.createElement("div",{className:l()(y().magnifierContainer,{[y().magnifierContainerMobile]:O},x)},i.createElement("div",{className:y().magnifier,style:{transformOrigin:`${Z}px ${U}px`,transform:`scale(${S*K/2}) translate(-${W}px, -${W}px)`,left:V,top:G}},i.createElement(m.Z,(0,r.Z)({},t,{contentState:n,viewportRect:new h.UL({left:Z,top:U,width:B,height:B}),forceDetailView:!0})),e.children),i.createElement("div",{className:y().magnifierGridContainer},i.createElement("svg",{width:B,height:B,viewBox:`0 0 ${B*K} ${B*K}`},i.createElement("defs",null,i.createElement("pattern",{id:"grid",x:O?-3*K:K>1?-.5*K:0,y:O?-3*K:K>1?-.5*K:0,width:q,height:q,patternUnits:"userSpaceOnUse"},i.createElement("polyline",{points:`${q-.5},0 ${q-.5},${q-.5} 0,${q-.5}`,className:y().magnifierGridStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("g",{transform:`translate(-${1+q/2},-${1+q/2})`},o||(o=i.createElement("rect",{fill:"url(#grid)",x:"0",y:"0",width:"100%",height:"100%",strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"})),i.createElement("rect",{x:Math.floor(B*K/2)+K*(b||d.vU&&K>1?0:.5),y:Math.floor(B*K/2)+(b?1:0),width:q,height:q,className:y().magnifierCenterStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}),i.createElement("rect",{x:Math.floor(B*K/2)-1,y:Math.floor(B*K/2)-1,width:q+3,height:q+3,className:y().magnifierCenterOutlineStroke,strokeWidth:2,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("div",{className:y().magnifierLabelBackground}),i.createElement("div",{className:y().magnifierLabelText},H)))))}},27001:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>$,qw:()=>J,sY:()=>X});var o,r,i,a,s=n(22122),l=n(67294),c=n(94184),u=n.n(c),d=n(76154),p=n(35369),f=n(25915),h=n(47347),m=n(67366),g=n(18390),v=n(20234),y=n(9599),b=n(20792),w=n(34573),S=n(44763),P=n(35129),E=n(51205),x=n(22458),D=n.n(x),C=n(56966),k=n(69939),O=n(13540),A=n(4132),T=n(30570),I=n(36095),F=n(5462),M=n(40853),_=n(3845),N=n(36489),R=n(23756),L=n.n(R),B=n(10754),j=n.n(B),z=n(80324),K=n.n(z),Z=n(93628),U=n.n(Z),V=n(79827),G=n(63738),W=n(2383),q=n(70190),H=n.n(q);const $=function(e){var t,o,r,i,a,s,c,g,x;let{referenceRect:I,viewportState:R,isHidden:B,annotation:z,frameWindow:Z,eventEmitter:U,setModalClosurePreventionError:q}=e;(0,h.kG)(z.measurementPrecision&&z.measurementScale);const{formatMessage:H}=(0,d.YB)(),$=(0,m.I0)(),Y=z.getMeasurementDetails().value,Q=(0,m.v9)((e=>e.backend)),ee=(0,m.v9)((e=>e.measurementScales)),te=(0,m.v9)((e=>e.activeMeasurementScale)),[ne,oe]=(0,l.useState)(!1),[re,ie]=(0,l.useState)(!1),ae=te&&!ne?te.precision:z.measurementPrecision,[se,le]=(0,l.useState)((0,p.l4)([])),[ce,ue]=(0,l.useState)(Y.toFixed(T._P[ae])),de=l.useMemo((()=>te&&!ne?{unitFrom:te.scale.unitFrom,unitTo:te.scale.unitTo,fromValue:te.scale.fromValue,toValue:te.scale.toValue}:z.measurementScale),[te,z.measurementScale,ne]),[pe,fe]=(0,l.useState)((0,y.sJ)({scale:de,precision:ae}).label),[he,me]=(0,l.useState)(null==de?void 0:de.fromValue.toString()),[ge,ve]=(0,l.useState)(null==de?void 0:de.toValue.toString()),[ye,be]=(0,l.useState)(!1),we=(0,l.useCallback)((e=>{const t=z.merge(e),n={annotations:(0,p.aV)([t]),reason:_.f.PROPERTY_CHANGE};U.emit("annotations.willChange",n),$((0,k.FG)(t)),oe(!0)}),[z,$,U]),Se=l.useCallback((e=>{const t=(0,T.P_)(z,e);we({measurementScale:t}),me(t.fromValue.toString()),ve(t.toValue.toString())}),[z,we]);(0,l.useEffect)((()=>{q({error:C.x.MEASUREMENT_ERROR,annotationId:z.id})}),[z.id]),(0,l.useEffect)((()=>{Se(parseFloat(ce||"1"))}),[ce,de]),(0,l.useEffect)((()=>{$((0,G.M4)(ae))}),[ae]),(0,l.useEffect)((()=>{re&&pe||(fe((0,y.sJ)({scale:de,precision:ae}).label),le(se.delete("scaleName")));const e=null==ee?void 0:ee.find((e=>{let{scale:t,precision:n}=e;return t.fromValue===Number(null==de?void 0:de.fromValue)&&t.toValue===Number(null==de?void 0:de.toValue)&&t.unitFrom===(null==de?void 0:de.unitFrom)&&t.unitTo===(null==de?void 0:de.unitTo)&&n===ae}));le(e?se.add("duplicate"):se.delete("duplicate"))}),[he,ge,ce,de,ae]);const Pe="startPoint"in z&&z.startPoint,Ee="endPoint"in z&&z.endPoint;(0,l.useEffect)((()=>{ue(z.getMeasurementDetails().value.toFixed(T._P[ae]))}),[Pe,Ee,ae]);const xe=l.useCallback((0,M.zx)(H,"measurement"),[H]),De=l.useCallback((0,M.ck)(H),[H]),Ce=l.useCallback((()=>{const e={name:pe,scale:{fromValue:parseFloat(he),toValue:parseFloat(ge),unitFrom:null==de?void 0:de.unitFrom,unitTo:null==de?void 0:de.unitTo},precision:ae};(0,m.dC)((()=>{$((0,S.C0)(e)),$((0,S.Se)(e))})),"SERVER"===(null==Q?void 0:Q.type)?(0,m.dC)((()=>{$((0,k.hQ)(z)),$((0,w.fz)()),$((0,G.UF)(b.A.MEASUREMENT)),$((0,S.Xh)(!1)),$((0,v.KY)(!0))})):be(!0)}),[be,$,he,ae,null==de?void 0:de.unitFrom,null==de?void 0:de.unitTo,pe,ge]),ke="in"===z.measurementScale.unitTo||"ft"===z.measurementScale.unitTo||"yd"===z.measurementScale.unitTo?T.nK:T.nK.filter((e=>!e.label.includes("/")));return ye?l.createElement(f.u_,{onEscape:()=>{(0,m.dC)((()=>{$((0,k.hQ)(z)),$((0,w.fz)()),$((0,G.UF)(b.A.MEASUREMENT)),$((0,S.Xh)(!1))}))},background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:K().calibrationSuccessModal},l.createElement("div",{className:K().calibrationSuccessModalContainer},l.createElement("div",{className:K().calibrationSuccessRow},l.createElement(O.Z,{src:n(17076),className:D().itemIcon,role:"presentation"}),l.createElement("div",{onClick:()=>{(0,m.dC)((()=>{$((0,k.hQ)(z)),$((0,w.fz)()),$((0,G.UF)(b.A.MEASUREMENT)),$((0,S.Xh)(!1))}))}},l.createElement(O.Z,{src:n(58054),className:D().itemIcon,role:"presentation",style:{cursor:"pointer"}}))),l.createElement("div",{className:u()(K().calibrationSuccessRow,K().calibrationSuccessTitle)},l.createElement("p",null,H(X.calibrationScaleSuccess))),l.createElement("div",{className:K().calibrationSuccessRow},l.createElement("p",null,H(X.calibrationScaleSubtitle))))):B?null:l.createElement(E.Z,{referenceRect:I,viewportState:R,className:"PSPDFKit-Measurement-Popover",wrapperClassName:"PSPDFKit-Measurement-Editor",title:H(X.calibrateScale),footer:l.createElement("div",{className:u()(K().footer,K().contentRow,K().spaceBetweenRow)},l.createElement(f.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},l.createElement(f.zx,{autoFocus:!0,onClick:()=>{(0,m.dC)((()=>{$((0,S.Xh)(!1)),$((0,k.hQ)(z)),$((0,w.fz)()),$((0,G.UF)(b.A.MEASUREMENT))}))},className:u()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",K().button)},H(P.Z.delete)),l.createElement(f.zx,{onClick:()=>Ce(),primary:!0,disabled:se.size>0,className:u()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",K().button)},H(P.Z.done))))},l.createElement("div",{className:j().calibration},l.createElement("div",{className:j().calibrationTop},l.createElement(O.Z,{src:n(96810),className:D().itemIcon,role:"presentation"}),l.createElement("div",{className:D().itemLabel},H(X.measurementCalibrateLength)),l.createElement("div",{className:j().calibrateRight},l.createElement(f.oi,{type:"number",value:ce,onChange:e=>{if(ue(e.target.value),!function(e){const t=parseFloat(e);return!isNaN(t)&&isFinite(t)&&t>0}(e.target.value))return void le(se.add("calibrationValue"));le(se.delete("calibrationValue"));const t=parseFloat(e.target.value);Se(t)},required:!0,style:{height:32,width:90,borderColor:se.has("calibrationValue")?"#FF0000":void 0},className:u()(L().input,"PSPDFKit-Calibration-Input")}),l.createElement("div",{className:u()(D().nativeDropdown,j().nativeButton)},l.createElement("select",{"aria-label":H(X.calibrate),className:u()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-UnitTo"),value:null!==(t=null===(o=T.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))||void 0===o?void 0:o.value)&&void 0!==t?t:null===(r=z.measurementScale)||void 0===r?void 0:r.unitTo,onChange:e=>{var t;we({measurementScale:null===(t=z.measurementScale)||void 0===t?void 0:t.set("unitTo",e.target.value)})}},Object.keys(V.K).map((e=>l.createElement("option",{key:e,value:V.K[e]},V.K[e]))))),l.createElement(F.Z,{items:T.b5,value:null!==(i=T.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))&&void 0!==i?i:null,accessibilityLabel:H(X.calibrate),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:u()(D().dropdownGroupComponent,"PSPDFKit-Calibration-UnitTo"),menuClassName:D().dropdownGroupMenu,ButtonComponent:xe,ItemComponent:De,onSelect:(e,t)=>{var n;we({measurementScale:null===(n=z.measurementScale)||void 0===n?void 0:n.set("unitTo",t.value)})},frameWindow:Z})))),l.createElement("span",{className:j().spacer}),l.createElement("div",{className:j().scale},l.createElement("div",{className:j().scaleTop},l.createElement(O.Z,{src:n(69695),className:D().itemIcon,role:"presentation"}),l.createElement("div",{className:D().itemLabel},H(X.measurementScale))),l.createElement("div",{style:{width:"100%"},className:j().itemHeader},l.createElement(f.oi,{type:"text",value:pe,onChange:e=>{e.target.value?le(se.delete("scaleName")):le(se.add("scaleName")),fe(e.target.value),re||ie(!0)},required:!0,style:{height:32,width:"100%",borderColor:se.has("scaleName")?"#FF0000":void 0},className:u()(L().input,"PSPDFKit-Calibration-Name")})),l.createElement("div",{className:j().scaleBottom},l.createElement("div",null,l.createElement(f.oi,{type:"number",value:he,required:!0,disabled:!0,style:{height:32,width:90,borderColor:se.has("fromValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:u()(L().input,L().disabled)}),l.createElement("div",{className:u()(D().nativeDropdown,j().nativeButton)},l.createElement("select",{"aria-label":H(X.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(a=z.measurementScale)||void 0===a?void 0:a.unitFrom)||"",disabled:!0},Object.keys(N.s).map((e=>l.createElement("option",{key:e,value:N.s[e]},N.s[e]))))),l.createElement(F.Z,{items:T.m_,value:null!==(s=T.m_.find((e=>e.value===(null==de?void 0:de.unitFrom))))&&void 0!==s?s:null,accessibilityLabel:H(X.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:D().dropdownGroupComponent,menuClassName:D().dropdownGroupMenu,ButtonComponent:xe,ItemComponent:De,disabled:!0,frameWindow:Z})),":",l.createElement("div",null,l.createElement(f.oi,{type:"number",value:ge,required:!0,disabled:!0,style:{height:32,width:90,borderColor:se.has("toValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:u()(L().input,L().disabled)}),l.createElement("div",{className:u()(D().nativeDropdown,j().nativeButton)},l.createElement("select",{"aria-label":H(X.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(c=z.measurementScale)||void 0===c?void 0:c.unitTo)||"",disabled:!0},Object.keys(V.K).map((e=>l.createElement("option",{key:e,value:V.K[e]},V.K[e]))))),l.createElement(F.Z,{items:T.b5,value:null!==(g=T.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))&&void 0!==g?g:null,accessibilityLabel:H(X.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:D().dropdownGroupComponent,menuClassName:D().dropdownGroupMenu,ButtonComponent:xe,ItemComponent:De,disabled:!0,frameWindow:Z})))),l.createElement("span",{className:j().spacer}),l.createElement("div",{className:D().item},l.createElement("div",{className:u()(D().itemLabel,j().itemLabel)},H(X.measurementPrecision)),l.createElement("div",{className:u()(D().nativeDropdown,j().nativeButton)},l.createElement("select",{style:{height:30},"aria-label":H(X.measurementPrecision),className:u()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-Precision"),value:z.measurementPrecision||"",onChange:e=>{we({measurementPrecision:e.target.value})}},Object.keys(A.L).map(((e,t)=>l.createElement("option",{key:e,value:A.L[e]},T.W9[t]))))),l.createElement(F.Z,{items:ke,value:null!==(x=ke.find((e=>e.value===z.measurementPrecision)))&&void 0!==x?x:null,accessibilityLabel:H(X.measurementPrecision),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:u()(D().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Calibration-Precision"),menuClassName:D().dropdownGroupMenu,ButtonComponent:xe,ItemComponent:J,onSelect:(e,t)=>{we({measurementPrecision:t.value}),ue(Y.toFixed(T._P[t.value]).toString())},frameWindow:Z})),se.has("duplicate")&&l.createElement("p",{className:K().scaleError},H(W.s.duplicateScaleError)))},X=(0,d.vU)({calibrationScaleSuccess:{id:"calibrationScaleSuccess",defaultMessage:"Scale has been successfully set",description:"Scale has been successfully set"},calibrationScaleSubtitle:{id:"calibrationScaleSubtitle",defaultMessage:"Start measuring by selecting one of the measurement tools.",description:"Start measuring by selecting one of the measurement tools."},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},measurementCalibrateLength:{id:"measurementCalibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Scale"},calibrateScale:{id:"calibrateScale",defaultMessage:"Calibrate Scale",description:"Calibrate Scale"},calibrate:{id:"calibrate",defaultMessage:"Calibrate",description:"Calibrate"}});const Y=e=>I.G6?l.createElement("span",null,e.label):"1/2"===e.label?o||(o=l.createElement("span",null,"1⁄2 in")):"1/4"===e.label?r||(r=l.createElement("span",null,"1⁄4 in")):"1/8"===e.label?i||(i=l.createElement("span",null,"1⁄8 in")):"1/16"===e.label?a||(a=l.createElement("span",null,"1⁄16 in ")):l.createElement("span",null,e.label),J=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return l.createElement(g.Z,(0,s.Z)({is:"div",className:u()(U().item,{[U().isSelected]:(null==n?void 0:n.includes("selected"))||(null==n?void 0:n.includes("focused"))},U().measurementDropdownText),name:null==t?void 0:t.value},o,{ref:r}),null!=n&&n.includes("selected")?l.createElement(O.Z,{src:H(),className:j().icon}):l.createElement("span",{className:j().icon}),l.createElement(Y,{label:null==t?void 0:t.label}))}},90012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I,s:()=>F});var o=n(67294),r=n(76154),i=n(25915),a=n(94184),s=n.n(a),l=n(67366),c=n(19338),u=n(71603),d=n(69939),p=n(34573),f=n(63738),h=n(35860),m=n(2383),g=n(28890),v=n(35129),y=n(80324),b=n.n(y),w=n(84537),S=n(10754),P=n.n(S),E=n(79827),x=n(22458),D=n.n(x),C=n(5462),k=n(40853),O=n(4132),A=n(30570),T=n(44763);const I=function(e){var t,n;let{frameWindow:a}=e;const y=(0,r.YB)(),{formatMessage:S}=(0,r.YB)(),x=(0,l.v9)((e=>e.measurementScales)),I=(0,l.v9)((e=>e.secondaryMeasurementUnit)),[M,_]=o.useState(Boolean(I)),[N,R]=o.useState(null==I?void 0:I.unitTo),[L,B]=o.useState(null==I?void 0:I.precision),[j,z]=o.useState(!1),[K,Z]=o.useState([]),[U,V]=o.useState(null),[G,W]=o.useState(null),[q,H]=o.useState(!1),$=(0,l.v9)((e=>{const{selectedAnnotationIds:t,annotations:n}=e;return t.map((e=>n.get(e)))})),X=(0,l.I0)(),Y=o.useCallback((0,k.zx)(S,"measurement"),[S]),J=o.useCallback((0,k.ck)(S),[S]),Q=o.useCallback((()=>{X((0,f.jJ)()),X((0,p.fz)()),X((0,d.Ds)("measurement")),X((0,f.BR)())}),[X]),ee=o.useCallback((e=>{if(j&&K&&x){const{deleted:t}=(0,A.Rc)(x,K);if(t.filter((e=>!(null==G?void 0:G.find((t=>t.prevScale===e))))).length>0&&!e)return void H(!0);(0,l.dC)((()=>{X((0,T.U7)(K,G)),X((0,T.Se)(U))}))}M&&N&&L&&X((0,T.v9)({unitTo:N,precision:L})),!I||N||L||X((0,T.v9)(null)),$.size>0&&(0,l.dC)((()=>{$.toList().forEach((e=>{const t=e.set("measurementScale",new u.Z({fromValue:Number(null==U?void 0:U.scale.fromValue),toValue:Number(null==U?void 0:U.scale.toValue),unitFrom:null==U?void 0:U.scale.unitFrom,unitTo:null==U?void 0:U.scale.unitTo})).set("measurementPrecision",null==U?void 0:U.precision);X((0,d.FG)(t))}))})),Q()}),[U,j,X,G,x,Q,K,I,N,L,M]),te=o.useMemo((()=>!!N&&(0,A.B0)(N)),[N]);return q?o.createElement(h.z,{onConfirm:()=>{ee(!0)},onCancel:()=>{H(!1)},accessibilityLabel:S(F.scaleAnnotationsDeleteWarning),accessibilityDescription:S(F.scaleAnnotationsDeleteWarning),intl:y},o.createElement("p",null,S(F.scaleAnnotationsDeleteWarning))):o.createElement(g.Z,{onEscape:Q,background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:b().modal},o.createElement("h2",{className:s()(b().title,b().header,b().contentRow)},S(F.setScale)),o.createElement(m.Z,{frameWindow:a,setAreValidScales:z,scalesSetter:Z,activeScaleSetter:V,editedScalesSetter:W}),o.createElement("h2",{className:s()(b().contentRow,b().sectionTitle,b().spaceBetweenRow)},S(F.secondaryUnit)),o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.displaySecondaryUnit)),o.createElement(w.n,{value:M,onUpdate:()=>{M?(R(void 0),B(void 0)):(R(E.K.INCHES),B(O.L.WHOLE)),_(!M)},accessibilityLabel:S(F.displaySecondaryUnit)})),M?o.createElement("div",{className:"PSPDFKit-Secondary-Measurement"},o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.unit)),o.createElement("div",{className:s()(b().nativeDropdown,P().nativeButton)},o.createElement("select",{style:{height:30},"aria-label":S(F.measurementScale),value:(null===(t=A.b5.find((e=>e.value===N)))||void 0===t?void 0:t.value)||"",className:"PSPDFKit-Input-Dropdown-Select",onChange:e=>{R(e.target.value)}},Object.keys(E.K).map((e=>o.createElement("option",{key:e,value:E.K[e]},E.K[e]))))),o.createElement(C.Z,{items:A.b5,value:null!==(n=A.b5.find((e=>e.value===N)))&&void 0!==n?n:null,accessibilityLabel:S(F.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:s()(b().dropdownGroupComponent,D().dropdownGroupComponent,"PSPDFKit-Secondary-Measurement-UnitTo"),menuClassName:D().dropdownGroupMenu,ButtonComponent:Y,ItemComponent:J,onSelect:(e,t)=>{(0,A.B0)(t.value)&&(0,A.zl)(L)&&!te&&B(void 0),R(t.value)},frameWindow:a})),o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.measurementPrecision)),o.createElement(c.Z,{frameWindow:a,unit:N,onPrecisionChange:B,selectedPrecision:L,precisionDropdownClassname:"PSPDFKit-Secondary-Measurement-Precision",accessibilityLabel:S(F.measurementPrecision)}))):null,o.createElement("div",{className:s()(b().footer,b().contentRow,b().spaceBetweenRow)},o.createElement(i.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},o.createElement(i.zx,{autoFocus:!0,onClick:Q,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",b().button)},S(v.Z.cancel)),o.createElement(i.zx,{onClick:()=>ee(),primary:!0,disabled:M&&(!N||!L)||!j,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",b().button)},S(v.Z.done)))))},F=(0,r.vU)({distanceMeasurementSettings:{id:"distanceMeasurementSettings",defaultMessage:"Distance Measurement Settings",description:"Distance Measurement Settings"},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},measurementCalibrateLength:{id:"measurementCalibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Measurement Scale"},setScale:{id:"setScale",defaultMessage:"Set Scale",description:"Set Scale"},unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},secondaryUnit:{id:"Secondary Unit",defaultMessage:"Secondary Unit",description:"Secondary Unit"},displaySecondaryUnit:{id:"displaySecondaryUnit",defaultMessage:"Display Secondary Unit",description:"Display Secondary Unit"},scaleAnnotationsDeleteWarning:{id:"scaleAnnotationsDeleteWarning",defaultMessage:"Deleting the scale will also delete measurements using the scale.",description:"Message displayed in the scales deletion dialog"}})},19338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(94184),r=n.n(o),i=n(67294),a=n(76154),s=n(40853),l=n(27001),c=n(10754),u=n.n(c),d=n(90012),p=n(80324),f=n.n(p),h=n(22458),m=n.n(h),g=n(5462),v=n(4132),y=n(30570);const b=e=>{var t,n;let{unit:o,frameWindow:c,selectedPrecision:p,onPrecisionChange:h,wrapperClass:b,precisionDropdownClassname:w,accessibilityLabel:S,index:P}=e;const{formatMessage:E}=(0,a.YB)(),x=(0,i.useMemo)((()=>!!o&&(0,y.B0)(o)),[o]),D=(0,i.useMemo)((()=>x?y.Qc:y.nK),[x]),C=i.useCallback((0,s.zx)(E,"measurement"),[E]);return i.createElement("div",{className:b||void 0},i.createElement("div",{className:r()(f().nativeDropdown,u().nativeButton)},i.createElement("select",{style:{height:30},"aria-label":E(d.s.measurementPrecision),"data-test-id":void 0!==P?`PSPDFKit-Scale-${P+1}-Precision`:"PSPDFKit-Scale-Precision",value:(null===(t=y.nK.find((e=>e.value===p||e.label===p)))||void 0===t?void 0:t.value)||"",className:r()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Measurement-Precision-Dropdown"),onChange:e=>{h(e.target.value)}},Object.keys(v.L).filter((e=>x?!(0,y.zl)(v.L[e]):e)).map(((e,t)=>i.createElement("option",{key:e,value:v.L[e]},y.W9[t]))))),i.createElement(g.Z,{items:D,value:null!==(n=D.find((e=>e.value===p||e.label===p)))&&void 0!==n?n:null,accessibilityLabel:S,discreteDropdown:!1,isActive:!1,caretDirection:"down",className:r()("PSPDFKit-Input-Dropdown-Select",f().dropdownGroupComponent,"PSPDFKit-Measurement-Precision-Dropdown",w),"data-test-id":void 0!==P?`PSPDFKit-Scale-${P+1}-Precision`:"PSPDFKit-Scale-Precision",menuClassName:m().dropdownGroupMenu,ButtonComponent:C,ItemComponent:l.qw,onSelect:(e,t)=>{h(t.value)},frameWindow:c}))}},2383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L,s:()=>R});var o=n(84121),r=n(25915),i=n(94184),a=n.n(i),s=n(67294),l=n(76154),c=n(67366),u=n(19338),d=n(4132),p=n(40853),f=n(22458),h=n.n(f),m=n(23756),g=n.n(m),v=n(13540),y=n(27001),b=n(10754),w=n.n(b),S=n(35129),P=n(5462),E=n(36489),x=n(79827),D=n(30570),C=n(80324),k=n.n(C);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function A(e){for(var t=1;t0}const R=(0,l.vU)({scaleSelector:{id:"scaleSelector",defaultMessage:"Scale {arg0}",description:"Scale checkbox selector for multiple scale selection accessibility"},scaleName:{id:"scaleName",defaultMessage:"Scale Name",description:"Scale Name"},scaleUnitFrom:{id:"scaleUnitFrom",defaultMessage:"Scale unit from",description:"Scale unit from"},scaleUnitTo:{id:"scaleUnitTo",defaultMessage:"Scale unit to",description:"Scale unit to"},newScale:{id:"newScale",defaultMessage:"Add new scale",description:"Add new scale"},duplicateScaleError:{id:"duplicateScaleError",defaultMessage:"Scale with these settings has already been defined. Please choose a different scale.",description:"Scale with these settings has already been defined. Please choose a different scale."}}),L=function(e){const{frameWindow:t,setAreValidScales:o,scalesSetter:i,activeScaleSetter:f,editedScalesSetter:m}=e,{formatMessage:b}=(0,l.YB)(),C=(0,c.v9)((e=>e.measurementScales)),O=(0,c.v9)((e=>e.activeMeasurementScale)),[L,B]=(0,s.useState)([]),[j,z]=(0,s.useState)(C),[K,Z]=(0,s.useState)(O?null==C?void 0:C.findIndex((e=>(0,D.cd)(e,O))):0),[U,V]=(0,s.useState)([]),[G,W]=(0,s.useState)([]);s.useEffect((()=>{const e=function(e,t){const n=[];return t.forEach((t=>{const o=e[t],r=[],i=o.scale.fromValue,a=o.scale.toValue,s=o.precision;N(i)||r.push(F),N(a)||r.push(M),s||r.push(_);const l=[];e.forEach(((e,n)=>{n!==t&&(l.push(n),o.name&&o.name===e.name&&!r.includes(I)&&r.push(I),(0,D.cd)(o,e)&&!r.includes(T)&&r.push(T))})),r.length>0&&n.push({index:t,fields:r,conflicts:l})})),n}(j,G);if(e.length>0){const t=e[e.length-1];B([t])}else B([]),W([]),i(j);o(0===e.length)}),[j,i,o]),s.useEffect((()=>{z(C)}),[C]),s.useEffect((()=>{const e=null==j?void 0:j.find(((e,t)=>t===K));e&&f(e)}),[K,f,j]),s.useEffect((()=>{m(U)}),[U]);const q=(e,t,n)=>{z((o=>{const r=null==o?void 0:o.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return"precision"===t?r[e][t]=n:r[e].scale=A(A({},r[e].scale),{},{[t]:n}),r})),null!=C&&C.find((t=>JSON.stringify(t)===JSON.stringify(null==j?void 0:j[e])))&&U&&!U.find((t=>t===e))&&V([...U,{index:e,prevScale:C[e]}]),G.includes(e)||W([...G,e])},H=s.useCallback((0,p.zx)(b,"measurement"),[b]),$=s.useCallback((0,p.ck)(b),[b]);return s.createElement("div",{className:k().scale},null==j?void 0:j.map(((e,o)=>{var i,l;const c=e.name,d=e.scale,p=e.precision,f=null==d?void 0:d.unitFrom,m=null==d?void 0:d.unitTo,O=null==d?void 0:d.fromValue,N=null==d?void 0:d.toValue,B=L.find((e=>e.index===o)),X=null==B?void 0:B.fields.includes(T),Y=null==B?void 0:B.fields.includes(I),J=null==B?void 0:B.fields.includes(F),Q=null==B?void 0:B.fields.includes(M),ee=null==B?void 0:B.fields.includes(_);return s.createElement("div",{key:o,style:{marginBottom:"var(--PSPDFKit-spacing-6)"}},s.createElement("div",{className:a()(k().scaleRow),style:X?{borderBottom:0}:{},"data-test-id":`PSPDFKit-Scale-${o+1}`},s.createElement("input",{key:c,type:"radio",checked:Boolean(K===o&&!X),value:o,id:b(R.scaleSelector,{arg0:o+1}),name:b(R.scaleSelector,{arg0:o+1}),onChange:e=>{e.target.checked&&Z(o)},className:a()(k().activeScaleRadio,"PSPDFKit-Active-Scale-Radio-Input")}),s.createElement("div",{className:a()(k().scaleContent,k().scaleMiddleSection)},s.createElement("div",{className:a()(k().scaleRow,k().spaceBetweenRow,k().rowSeparator)},s.createElement(r.oi,{type:"text",value:c,placeholder:b(R.scaleName),onChange:e=>{((e,t)=>{G.includes(e)||W([...G,e]),z((n=>{const o=null==n?void 0:n.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return o[e].name=t,o})),null!=C&&C.find((t=>JSON.stringify(t)===JSON.stringify(null==j?void 0:j[e])))&&U&&!U.find((t=>t===e))&&V([...U,{index:e,prevScale:C[e]}])})(o,e.target.value)},required:!0,style:{height:32,width:"100%",borderColor:Y?"#FF0000":void 0},className:a()(g().input),maxLength:40})),s.createElement("div",{className:a()(k().scaleRow,k().rowSeparator)},s.createElement("div",{className:k().scaleRowContent},s.createElement(r.oi,{type:"number",value:""+O,onChange:e=>{q(o,"fromValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:J||X?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${o+1}-FromValue`,className:a()(g().input)}),s.createElement("div",{className:a()(k().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(R.scaleUnitFrom)} ${o+1}`,className:a()("PSPDFKit-Input-Dropdown-Select"),"data-test-id":`PSPDFKit-Scale-${o+1}-UnitFrom`,value:f||"",onChange:e=>{q(o,"unitFrom",e.target.value)}},Object.keys(E.s).map((e=>s.createElement("option",{key:e,value:E.s[e]},E.s[e]))))),s.createElement(P.Z,{items:D.m_,value:null!==(i=D.m_.find((e=>e.value===f)))&&void 0!==i?i:null,accessibilityLabel:`${b(R.scaleUnitFrom)} ${o+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${o+1}-UnitFrom`,className:a()(k().dropdownGroupComponent,h().dropdownGroupComponent),menuClassName:h().dropdownGroupMenu,ButtonComponent:H,ItemComponent:$,onSelect:(e,t)=>{q(o,"unitFrom",t.value)},frameWindow:t})),"=",s.createElement("div",{className:k().scaleRowContent},s.createElement(r.oi,{type:"number",value:""+N,onChange:e=>{q(o,"toValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:Q||X?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${o+1}-ToValue`,className:a()(g().input)}),s.createElement("div",{className:a()(k().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(R.scaleUnitFrom)} ${o+1}`,"data-test-id":`PSPDFKit-Scale-${o+1}-UnitTo`,className:a()("PSPDFKit-Input-Dropdown-Select"),value:m||"",onChange:e=>{q(o,"unitTo",e.target.value)}},Object.keys(x.K).map((e=>s.createElement("option",{key:e,value:x.K[e]},x.K[e]))))),s.createElement(P.Z,{items:D.b5,value:null!==(l=D.b5.find((e=>e.value===m)))&&void 0!==l?l:null,accessibilityLabel:`${b(R.scaleUnitFrom)} ${o+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${o+1}-UnitTo`,className:a()(k().dropdownGroupComponent,h().dropdownGroupComponent),menuClassName:h().dropdownGroupMenu,ButtonComponent:H,ItemComponent:$,onSelect:(e,t)=>{q(o,"unitTo",t.value)},frameWindow:t}))),s.createElement("div",{className:a()(k().scaleRow,k().spaceBetweenRow,k().rowSeparator)},s.createElement("p",{className:h().itemLabel},b(y.sY.measurementPrecision)),s.createElement(u.Z,{frameWindow:t,unit:m,onPrecisionChange:e=>q(o,"precision",e),selectedPrecision:p,wrapperClass:a()({[k().error]:ee}),accessibilityLabel:`${y.sY.measurementScale} ${b(y.sY.measurementPrecision)} ${o+1}`,index:o}))),s.createElement("div",null,s.createElement(r.zx,{"data-test-id":`PSPDFKit-Scale-${o+1}-RemoveScale`,className:a()(k().closeButton,"PSPDFKit-Measurement-Exit-Dialog-Close-Button"),onClick:()=>{(e=>{if(z((t=>{const n=null==t?void 0:t.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return n.splice(e,1),n})),U){const t=U.filter((t=>t.index!==e)).map((e=>A(A({},e),{},{index:e.index-1})));V(t)}if(G){const t=G.filter((t=>t!==e)).map((e=>e-1));W(t)}Z((e=>e?e-1:0))})(o)},"aria-label":b(S.Z.close),disabled:1===j.length,style:{position:"relative",top:"7px"}},s.createElement(v.Z,{className:k().signatureValidationCloseIcon,src:n(15708)})))),(X||Y)&&s.createElement("p",{className:a()(k().scaleError)},b(R.duplicateScaleError)))})),s.createElement("div",{className:k().addNewScale,onClick:()=>{z((e=>{const t=null==e?void 0:e.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return t.push({name:"",scale:{unitFrom:"cm",unitTo:"cm",fromValue:1,toValue:1},precision:d.L.WHOLE}),t})),W([...G,null==j?void 0:j.length])}},s.createElement(v.Z,{className:k().signatureValidationCloseIcon,src:n(88232)}),s.createElement("u",{style:{color:"var(--color-blue600)"}},b(R.newScale))))}},9599:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>j,sJ:()=>L});var o=n(22122),r=n(94184),i=n.n(r),a=n(18390),s=n(85628),l=n.n(s),c=n(67294),u=n(76154),d=n(67366),p=n(70190),f=n.n(p),h=n(30570),m=n(90012),g=n(71603),v=n(20792),y=n(69939),b=n(44763),w=n(40853),S=n(93628),P=n.n(S),E=n(22458),x=n.n(E),D=n(10754),C=n.n(D),k=n(5462),O=n(63738),A=n(13540),T=n(9437),I=n.n(T),F=n(20683),M=n(80324),_=n.n(M),N=n(35129);function R(e,t){const n=Math.round(e*t);return new(l())(n/t).toFraction(!0)}function L(e){if(!e)return{label:"",value:null};let t,n;const o=function(e){switch(e){case"whole":return"1";case"oneDp":return"0.1";case"twoDp":return"0.001";case"threeDp":case"fourDp":return"0.0001";default:return null}}(e.precision)||e.precision;if(["1","0.1","0.01","0.001","0.0001"].includes(o)){const r=function(e){switch(e){case"1":default:return 0;case"0.1":return 1;case"0.01":return 2;case"0.001":return 3;case"0.0001":return 4}}(o);t=Number(e.scale.fromValue).toFixed(r),n=Number(e.scale.toValue).toFixed(r)}else if(["1/2","1/4","1/8","1/16"].includes(o)){const r=Number(o.split("/")[1]);t=R(e.scale.fromValue,r),n=R(e.scale.toValue,r)}return{label:e.name||`${t} ${e.scale.unitFrom} : ${n} ${e.scale.unitTo}`,value:e}}const B=(0,u.vU)({unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},scalesDropdown:{id:"scalesDropdown",defaultMessage:"Scales dropdown",description:"Scales dropdown"},editAddScale:{id:"editAddScale",defaultMessage:"Edit or add new scale",description:"Edit or add new scale"},useCalibrationTool:{id:"useCalibrationTool",defaultMessage:"Use calibration tool",description:"Use calibration tool"}}),j=function(e){var t;let{frameWindow:o,selectedAnnotation:r,onAnnotationScaleUpdate:a,selectedAnnotations:s}=e;const l=(0,d.v9)((e=>e.measurementScales)),p=(0,d.v9)((e=>e.activeMeasurementScale)),f=(0,d.I0)(),{formatMessage:S}=(0,u.YB)(),E=c.useMemo((()=>function(e,t){if(t&&e)return null==e?void 0:e.find((e=>{var n,o,r,i;const a=e.precision===t.measurementPrecision,s=e.scale.fromValue===(null===(n=t.measurementScale)||void 0===n?void 0:n.fromValue),l=e.scale.toValue===(null===(o=t.measurementScale)||void 0===o?void 0:o.toValue),c=e.scale.unitFrom===(null===(r=t.measurementScale)||void 0===r?void 0:r.unitFrom),u=e.scale.unitTo===(null===(i=t.measurementScale)||void 0===i?void 0:i.unitTo);return a&&s&&l&&c&&u}))}(l,r)||p),[l,r,p]),D=c.useCallback((0,w.zx)(S,"measurement",200),[S]),T=c.useMemo((()=>!!s&&(0,h.mq)(s)),[s]),M=c.useMemo((()=>function(e,t,n){const o=e.map((e=>L(e)));return t?[...o,{label:n,value:n}]:o}(l,T,S(N.Z.mixed))),[T,S,l]),R=c.useCallback((e=>{if(e.value!==S(N.Z.mixed))if(r){const{value:t}=e,{precision:n,scale:o}=t,{fromValue:r,toValue:i,unitFrom:s,unitTo:l}=o;null==a||a({measurementPrecision:n,measurementScale:new g.Z({fromValue:Number(r),toValue:Number(i),unitFrom:s,unitTo:l})})}else f((0,b.Se)(e.value))}),[f,S,a,r]);if(!l)return null;if(!E)return c.createElement("div",{className:I().warningButton,onClick:()=>f((0,O.PR)())},c.createElement(A.Z,{src:n(78339),role:"presentation",className:I().warningButtonIcon}),c.createElement("span",{className:I().radioButtonWarningLabel},S(m.s.setScale)));function j(){(0,d.dC)((()=>{f((0,b.Xh)(!0)),f((0,y.Ds)("distance")),f((0,O.yg)(F.Z,v.A.DISTANCE))}))}return c.createElement("div",{className:C().scaleDropdownContainer},c.createElement("div",{className:i()(x().nativeDropdown,C().nativeButton)},c.createElement("select",{"aria-label":S(B.scalesDropdown),value:T?S(N.Z.mixed):null===(t=M.find((e=>JSON.stringify(e.value)===JSON.stringify(E))))||void 0===t?void 0:t.label,className:i()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Scales-Dropdown"),onChange:e=>{const t=e.target.value;"editAddScale"===t?f((0,O.PR)()):"calibrationTool"===t?j():R(M.find((e=>e.label===t)))}},null==M?void 0:M.map((e=>c.createElement("option",{key:e.label,value:e.label},e.label))),c.createElement("option",{key:S(B.editAddScale),value:"editAddScale"},S(B.editAddScale),"..."),c.createElement("option",{key:S(B.useCalibrationTool),value:"calibrationTool"},S(B.useCalibrationTool),"..."))),c.createElement(k.Z,{items:M,value:T?{label:S(N.Z.mixed),value:S(N.Z.mixed)}:M.find((e=>JSON.stringify(e.value)===JSON.stringify(E))),accessibilityLabel:S(B.scalesDropdown),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:i()(x().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Scales-Dropdown"),menuClassName:i()(x().dropdownGroupMenu,P().measurementDropdownText),ButtonComponent:D,ItemComponent:z,onSelect:(e,t)=>R(t),frameWindow:o},c.createElement("div",{className:_().scalesDropdownItem,onClick:()=>f((0,O.PR)())},S(B.editAddScale),"..."),c.createElement("div",{className:_().scalesDropdownItem,onClick:()=>{j()}},S(B.useCalibrationTool),"...")))},z=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return c.createElement(K,{item:t,state:n,itemComponentProps:o,ref:r})},K=c.forwardRef(((e,t)=>{var n;let{item:r,state:s,itemComponentProps:l,width:u}=e;return c.createElement(a.Z,(0,o.Z)({is:"div",className:i()(P().item,_().item,{[P().isSelected]:(null==s?void 0:s.includes("selected"))||(null==s?void 0:s.includes("focused"))}),name:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,style:{width:u},ref:t},l),null!=s&&s.includes("selected")?c.createElement(A.Z,{src:f(),className:_().icon}):c.createElement("span",{className:_().icon}),null==r?void 0:r.label)}))},35129:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Z:()=>i});var o=n(76154),r=n(83634);const i=(0,o.vU)({color:{id:"color",defaultMessage:"Color",description:"Color"},fillColor:{id:"fillColor",defaultMessage:"Fill Color",description:"Background color"},newColor:{id:"newColor",defaultMessage:"New Color",description:"New Custom Color"},[r.Z.BLACK.toCSSValue()]:{id:"black",defaultMessage:"Black",description:"Black, the color"},[r.Z.WHITE.toCSSValue()]:{id:"white",defaultMessage:"White",description:"White, the color"},[r.Z.BLUE.toCSSValue()]:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"},[r.Z.RED.toCSSValue()]:{id:"red",defaultMessage:"Red",description:"Red, the color"},[r.Z.GREEN.toCSSValue()]:{id:"green",defaultMessage:"Green",description:"Green, the color"},[r.Z.ORANGE.toCSSValue()]:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"},[r.Z.LIGHT_BLUE.toCSSValue()]:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"},[r.Z.LIGHT_RED.toCSSValue()]:{id:"lightRed",defaultMessage:"Light Red",description:"Light Red color"},[r.Z.LIGHT_GREEN.toCSSValue()]:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"},[r.Z.LIGHT_YELLOW.toCSSValue()]:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"},opacity:{id:"opacity",defaultMessage:"Opacity",description:"Opacity"},thickness:{id:"thickness",defaultMessage:"Thickness",description:"Thickness of a line"},"linecaps-dasharray":{id:"linecaps-dasharray",defaultMessage:"Line Style",description:"Select line caps and dash pattern of lines"},linestyle:{id:"dasharray",defaultMessage:"Line style",description:"Select line style"},borderStyle:{id:"borderStyle",defaultMessage:"Border style",description:"Select border style"},borderColor:{id:"borderColor",defaultMessage:"Border color",description:"Select border color"},font:{id:"font",defaultMessage:"Font",description:"Font"},fontSize:{id:"fontSize",defaultMessage:"Font size",description:"Font size selection"},fonts:{id:"fonts",defaultMessage:"Fonts",description:"Fonts"},allFonts:{id:"allFonts",defaultMessage:"All Fonts",description:"Used when presenting a list of fonts"},fontFamilyUnsupported:{id:"fontFamilyUnsupported",defaultMessage:"{arg0} (not supported)",description:"Font family (type) is not supported"},alignment:{id:"alignment",defaultMessage:"Alignment",description:"Alignment (left, center, right, top, middle, bottom)"},alignmentRight:{id:"alignmentRight",defaultMessage:"Right",description:"Right alignment"},alignmentLeft:{id:"alignmentLeft",defaultMessage:"Left",description:"Left alignment"},alignmentCenter:{id:"alignmentCenter",defaultMessage:"center",description:"Center alignment"},verticalAlignment:{id:"verticalAlignment",defaultMessage:"Vertical Alignment",description:"Vertical Alignment (top, center, bottom)"},horizontalAlignment:{id:"horizontalAlignment",defaultMessage:"Horizontal Alignment",description:"Horizontal Alignment (left, center, right)"},size:{id:"size",defaultMessage:"Size",description:"Used to label sizes (eg. font)"},numberInPt:{id:"numberInPt",defaultMessage:"{arg0} pt",description:"A number in pt (points). eg. 10pt"},startLineCap:{id:"startLineCap",defaultMessage:"Line Start",description:'Start line cap marker. eg. "open arrow"'},strokeDashArray:{id:"strokeDashArray",defaultMessage:"Line Style",description:"Line Style"},endLineCap:{id:"endLineCap",defaultMessage:"Line End",description:'End line cap marker. eg. "open arrow"'},edit:{id:"edit",defaultMessage:"Edit",description:"Generic edit label"},save:{id:"save",defaultMessage:"Save",description:"Generic save label"},saveAs:{id:"saveAs",defaultMessage:"Save As...",description:'Generic "save as" label'},export:{id:"export",defaultMessage:"Export",description:'Generic "export" label'},delete:{id:"delete",defaultMessage:"Delete",description:"Generic delete label"},cancel:{id:"cancel",defaultMessage:"Cancel",description:"Cancel"},ok:{id:"ok",defaultMessage:"OK",description:"Ok, usually used to confirm an action"},close:{id:"close",defaultMessage:"Close",description:'Generic, usually to close something. "something" can be inferred from the context in which the message appears'},done:{id:"done",defaultMessage:"Done",description:'Generic "done" message. Usually used in a button.'},annotationsCount:{id:"annotationsCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Annotations}\n one {{arg0} Annotation}\n two {{arg0} Annotations}\n other {{arg0} Annotations}\n }",description:"Amount of annotations."},annotations:{id:"annotations",defaultMessage:"Annotations",description:"PDF Annotations"},bookmark:{id:"bookmark",defaultMessage:"Bookmark",description:"PDF Bookmark"},bookmarks:{id:"bookmarks",defaultMessage:"Bookmarks",description:"PDF Bookmarks"},annotation:{id:"annotation",defaultMessage:"Annotation",description:"Annotation"},selectedAnnotation:{id:"selectedAnnotation",defaultMessage:"selected {arg0}",description:"Selected Annotation"},selectedAnnotationWithText:{id:"selectedAnnotationWithText",defaultMessage:"Selected {arg0} with {arg1} as content",description:"Selected Text or Note Annotation"},noteAnnotation:{id:"noteAnnotation",defaultMessage:"Note",description:"Text Note Annotation"},comment:{id:"comment",defaultMessage:"Comment",description:"Comment"},commentAction:{id:"commentAction",defaultMessage:"Comment",description:"Comment"},comments:{id:"comments",defaultMessage:"Comments",description:"Comments"},textAnnotation:{id:"textAnnotation",defaultMessage:"Text",description:"Free Text Annotation"},calloutAnnotation:{id:"calloutAnnotation",defaultMessage:"Callout",description:"Free Text Annotation (Callout)"},pen:{id:"pen",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},eraser:{id:"eraser",defaultMessage:"Ink Eraser",description:"Ink Eraser tool to remove ink annotations points by hand."},inkAnnotation:{id:"inkAnnotation",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},highlighterAnnotation:{id:"highlighterAnnotation",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content."},highlightAnnotation:{id:"highlightAnnotation",defaultMessage:"Text Highlight",description:"Highlight Annotation used to select and mark text."},underlineAnnotation:{id:"underlineAnnotation",defaultMessage:"Underline",description:"Undeline Annotation used to select and mark text."},squiggleAnnotation:{id:"squiggleAnnotation",defaultMessage:"Squiggle",description:"Squiggle Annotation used to select and mark text."},strikeOutAnnotation:{id:"strikeOutAnnotation",defaultMessage:"Strikethrough",description:"StrikeOut Annotation used to select and mark text."},lineAnnotation:{id:"lineAnnotation",defaultMessage:"Line",description:"Shape Annotation used to draw straight lines."},arrowAnnotation:{id:"arrowAnnotation",defaultMessage:"Arrow",description:"Shape Annotation used to draw an arrow."},rectangleAnnotation:{id:"rectangleAnnotation",defaultMessage:"Rectangle",description:"Shape Annotation used to draw rectangles."},ellipseAnnotation:{id:"ellipseAnnotation",defaultMessage:"Ellipse",description:"Shape Annotation used to draw ellipses."},polygonAnnotation:{id:"polygonAnnotation",defaultMessage:"Polygon",description:"Shape Annotation used to draw polygons."},polylineAnnotation:{id:"polylineAnnotation",defaultMessage:"Polyline",description:"Shape Annotation used to draw polylines."},imageAnnotation:{id:"imageAnnotation",defaultMessage:"Image",description:"Image Annotation"},stampAnnotation:{id:"stampAnnotation",defaultMessage:"Stamp",description:"Stamp Annotation"},redactionAnnotation:{id:"redactionAnnotation",defaultMessage:"Redaction",description:"Redaction Annotation"},arrow:{id:"arrow",defaultMessage:"Line with arrow",description:"Shape Annotation used to draw straight lines with an arrow."},highlighter:{id:"highlighter",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content with freehand drawing."},icon:{id:"icon",defaultMessage:"Icon",description:"Label for when users need to select an icon"},pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator."},pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Page number"},searchDocument:{id:"searchDocument",defaultMessage:"Search Document",description:"Search document (for text)"},sign:{id:"sign",defaultMessage:"Sign",description:"Label for a signature field"},signed:{id:"signed",defaultMessage:"Signed",description:"Label for a signed field"},signatures:{id:"signatures",defaultMessage:"Signatures",description:"Signatures title"},blendMode:{id:"blendMode",defaultMessage:"Blend Mode",description:"Blend Mode"},linesCount:{id:"linesCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Lines}\n one {{arg0} Line}\n two {{arg0} Lines}\n other {{arg0} Lines}\n }",description:"Amount of lines (for example in a ink annotation)."},filePath:{id:"filePath",defaultMessage:"File Path",description:"Location of a file or file name"},useAnExistingStampDesign:{id:"useAnExistingStampDesign",defaultMessage:"Use an existing stamp design",description:"Use an existing stamp design"},customStamp:{id:"customStamp",defaultMessage:"Custom Stamp",description:"Custom Stamp"},stampText:{id:"stampText",defaultMessage:"Stamp Text",description:"Stamp Text"},clear:{id:"clear",defaultMessage:"Clear",description:"Clear"},date:{id:"date",defaultMessage:"Date",description:"Date."},time:{id:"time",defaultMessage:"Time",description:"Time."},sidebar:{id:"sidebar",defaultMessage:"Sidebar",description:"Generic label for a sidebar"},gotoPageX:{id:"gotoPageX",defaultMessage:"Go to Page {arg0}",description:"Go to a page"},name:{id:"name",defaultMessage:"Name",description:"Name field usually."},chooseColor:{id:"chooseColor",defaultMessage:"Choose Color",description:"Choose color from the UI."},textHighlighter:{id:"textHighlighter",defaultMessage:"Text highlighter",description:"Highlighter tool used to highlight selected text."},undo:{id:"undo",defaultMessage:"Undo",description:"Undo last action."},redo:{id:"redo",defaultMessage:"Redo",description:"Redo last undone action."},showMore:{id:"showMore",defaultMessage:"Show More",description:"Show more"},showLess:{id:"showLess",defaultMessage:"Show Less",description:"Show Less"},nMoreComments:{id:"nMoreComments",defaultMessage:"{arg0, plural,\none {{arg0} more comment}\nother {{arg0} more comments}\n}",description:"n more comments"},documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor toolbar label"},areaRedaction:{id:"areaRedaction",defaultMessage:"Area Redaction",description:"Area Redaction toolbar item label"},textRedaction:{id:"textRedaction",defaultMessage:"Text Redaction",description:"Text Redaction toolbar item label"},outlineColor:{id:"outlineColor",defaultMessage:"Outline Color",description:"Outline color"},overlayText:{id:"overlayText",defaultMessage:"Overlay text",description:"Overlay text"},insertOverlayText:{id:"overlayTextPlaceholder",defaultMessage:"Insert overlay text",description:"Overlay Text property placeholder"},repeatText:{id:"repeatText",defaultMessage:"Repeat text",description:"Repeat text placeholder"},preview:{id:"preview",defaultMessage:"Preview",description:"Preview"},markupToolbar:{id:"markupAnnotationToolbar",defaultMessage:"Markup annotation toolbar",description:"Label for the markup annotation toolbar popover"},documentViewport:{id:"documentViewport",defaultMessage:"document viewport",description:"Label for document viewport region"},top:{id:"top",defaultMessage:"Top",description:"Top"},bottom:{id:"bottom",defaultMessage:"Bottom",description:"Bottom"},resize:{id:"resize",defaultMessage:"Resize",description:"Resize action when an annotation is selected."},resizeHandleTop:{id:"resizeHandleTop",defaultMessage:"top",description:"One of the top resize handlers."},resizeHandleBottom:{id:"resizeHandleBottom",defaultMessage:"bottom",description:"One of the bottom resize handlers."},resizeHandleLeft:{id:"resizeHandleLeft",defaultMessage:"left",description:"One of the left resize handlers."},resizeHandleRight:{id:"resizeHandleRight",defaultMessage:"right",description:"One of the right resize handlers."},cropAll:{id:"cropAll",defaultMessage:"Crop All",description:"Crop all pages."},cropAllPages:{id:"cropAllPages",defaultMessage:"Crop All Pages",description:"Crop all pages."},cropCurrent:{id:"cropCurrent",defaultMessage:"Crop Current",description:"Crop current page."},cropCurrentPage:{id:"cropCurrentPage",defaultMessage:"Crop Current Page",description:"Crop current page."},documentCrop:{id:"documentCrop",defaultMessage:"Document Crop",description:"Crop document pages."},documentComparison:{id:"documentComparison",defaultMessage:"Document Comparison",description:"Compare two documents."},rotateCounterclockwise:{id:"rotateCounterclockwise",defaultMessage:"Rotate counterclockwise",description:"Label for the rotate counterclockwise button"},rotateClockwise:{id:"rotateClockwise",defaultMessage:"Rotate clockwise",description:"Label for the rotate clockwise button"},rotation:{id:"rotation",defaultMessage:"Rotate",description:"Label for the rotate button"},applyRedactions:{id:"applyRedactions",defaultMessage:"Apply Redactions",description:"Applies redactions to document"},cloudyRectangleAnnotation:{id:"cloudyRectangleAnnotation",defaultMessage:"Cloudy Rectangle",description:"Cloudy Rectangle"},dashedRectangleAnnotation:{id:"dashedRectangleAnnotation",defaultMessage:"Dashed Rectangle",description:"Dashed Rectangle"},cloudyEllipseAnnotation:{id:"cloudyEllipseAnnotation",defaultMessage:"Cloudy Ellipse",description:"Cloudy Ellipse"},dashedEllipseAnnotation:{id:"dashedEllipseAnnotation",defaultMessage:"Dashed Ellipse",description:"Dashed Ellipse"},cloudyPolygonAnnotation:{id:"cloudyPolygonAnnotation",defaultMessage:"Cloudy Polygon",description:"Cloudy Polygon"},dashedPolygonAnnotation:{id:"dashedPolygonAnnotation",defaultMessage:"Dashed Polygon",description:"Dashed Polygon"},cloudAnnotation:{id:"cloudAnnotation",defaultMessage:"Cloud",description:"Cloud Annotation"},addSignature:{id:"addSignature",defaultMessage:"Add Signature",description:"Add Signature"},storeSignature:{id:"storeSignature",defaultMessage:"Store Signature",description:"Store the signature that is in creation"},clearSignature:{id:"clearSignature",defaultMessage:"Clear Signature",description:"Clear the signature canvas"},button:{id:"button",defaultMessage:"Button Field",description:"Button Field"},textField:{id:"textField",defaultMessage:"Text Field",description:"Text Field"},radioField:{id:"radioField",defaultMessage:"Radio Field",description:"Radio Field"},checkboxField:{id:"checkboxField",defaultMessage:"Checkbox Field",description:"Checkbox Field"},comboBoxField:{id:"comboBoxField",defaultMessage:"Combo Box Field",description:"Combo Box Field"},listBoxField:{id:"listBoxField",defaultMessage:"List Box Field",description:"List Box Field"},signatureField:{id:"signatureField",defaultMessage:"Signature Field",description:"Signature Field"},dateField:{id:"dateField",defaultMessage:"Date Field",description:"Date Field"},formCreator:{id:"formCreator",defaultMessage:"Form Creator",description:"Create, edit or Delete widget annotations."},mediaAnnotation:{id:"mediaAnnotation",defaultMessage:"Media Annotation",description:"Media Annotation"},mediaFormatNotSupported:{id:"mediaFormatNotSupported",defaultMessage:"This browser does not support embedded medias.",description:"The browser does not support embedded medias"},contentEditor:{id:"contentEditor",defaultMessage:"Content Editor",description:"Content Editor"},saveAndClose:{id:"saveAndClose",defaultMessage:"Save & Close",description:"Save changes"},none:{id:"none",defaultMessage:"None",description:"Normal line"},linkAnnotation:{id:"linkAnnotation",defaultMessage:"Link",description:"Link Annotation"},measurement:{id:"measurement",defaultMessage:"Measurement",description:"Measurement"},Snapping:{id:"Snapping",defaultMessage:"Snapping",description:"Snapping"},distanceMeasurement:{id:"distanceMeasurement",defaultMessage:"Distance",description:"Measurement Annotation used to measure distance between 2 points"},multiAnnotationsSelection:{id:"multiAnnotationsSelection",defaultMessage:"Select Multiple Annotations",description:"Multiple annotations selection tool used to enable selection of multiple annotations."},rectangularAreaMeasurement:{id:"rectangularAreaMeasurement",defaultMessage:"Rectangle Area",description:"Measurement Annotation used to measure rectangle areas."},ellipseAreaMeasurement:{id:"ellipseAreaMeasurement",defaultMessage:"Ellipse Area",description:"Measurement Annotation used to measure elliptical areas."},polygonAreaMeasurement:{id:"polygonAreaMeasurement",defaultMessage:"Polygon Area",description:"Measurement Annotation used to measure polygon areas."},perimeterMeasurement:{id:"perimeterMeasurement",defaultMessage:"Perimeter",description:"Measure Annotation used to measure perimeter."},bold:{id:"bold",defaultMessage:"Bold",description:"Bold text"},italic:{id:"italic",defaultMessage:"Italic",description:"Italic text"},underline:{id:"underline",defaultMessage:"Underline",description:"Underline"},discard:{id:"discardChanges",defaultMessage:"Discard Changes",description:"Discard"},anonymous:{id:"anonymous",defaultMessage:"Anonymous",description:"Anonymous"},loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"},group:{id:"group",defaultMessage:"Group",description:"Group annotations."},ungroup:{id:"ungroup",defaultMessage:"Ungroup",description:"Ungroup annotations."},mixedMeasurements:{id:"mixedMeasurements",defaultMessage:"Mixed Measurements",description:"Mixed Measurements"},mixed:{id:"mixed",defaultMessage:"Mixed",description:"Mixed"},back:{id:"back",defaultMessage:"Back",description:"back"},readOnlyAnnotationFlag:{id:"readOnly",defaultMessage:"Read-only",description:"this annotation is read only"},lockedContents:{id:"lockedContents",defaultMessage:"Locked Contents",description:"this annotation has its contents locked"},locked:{id:"locked",defaultMessage:"Locked",description:"this annotation is locked"}}),a=(0,o.vU)({numberValidationBadFormat:{id:"numberValidationBadFormat",defaultMessage:"The value entered does not match the format of the field [{arg0}]",description:"The number form field value format is wrong."},dateValidationBadFormat:{id:"dateValidationBadFormat",defaultMessage:"Invalid date/time: please ensure that the date/time exists. Field [{arg0}] should match format {arg1}",description:"The date form field value format is wrong."}})},35860:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f,z:()=>p});var o=n(25915),r=n(76154),i=n(67294),a=n(94184),s=n.n(a),l=n(35129),c=n(28890),u=n(73535),d=n.n(u);class p extends i.PureComponent{render(){const{formatMessage:e}=this.props.intl;return i.createElement(c.Z,{role:"alertdialog",onEscape:this.props.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog",accessibilityLabel:this.props.accessibilityLabel||"Confirm Dialog",accessibilityDescription:this.props.accessibilityDescription,restoreOnClose:this.props.restoreOnClose},i.createElement(c.Z.Section,{style:{paddingBottom:0}},i.createElement("div",{className:`${d().content} PSPDFKit-Confirm-Dialog-Content`},this.props.children)),i.createElement(c.Z.Section,null,i.createElement(o.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},i.createElement(o.zx,{autoFocus:!0,onClick:this.props.onCancel,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",d().button)},e(l.Z.cancel)),i.createElement(o.zx,{onClick:this.props.onConfirm,primary:!0,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",d().button)},e(l.Z.delete)))))}}const f=(0,r.XN)(p)},72800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var o=n(67294),r=n(73264),i=n(87515),a=n(66687);function s(e){const{backend:t,onInitialRenderFinished:n,pageIndex:r,pageSize:s,pageKey:l,renderPageCallback:c,zoomLevel:u,scaleFactor:d}=e,p=o.useRef(!1),f=o.useCallback((function(){p.current||(p.current=!0,n&&n())}),[n]),h=o.useMemo((function(){return new a.UL({width:Math.ceil(s.width*d),height:Math.ceil(s.height*d)})}),[s,d]),m=e.inContentEditorMode||!1;return o.createElement("div",{style:{transform:`scale(${u/d})`,transformOrigin:"0 0"},key:l},o.createElement(i.Z,{backend:t,pageIndex:r,scaledPageSize:h,originalPageSize:s,onRenderFinished:f,rect:h,renderPageCallback:c,pageKey:l,hasInitialRenderFinished:p.current,inContentEditorMode:m}))}var l=n(55961),c=n(22122),u=n(27515),d=n(88804),p=n(91859);function f(e){let{backend:t,viewportState:n,page:r,tileSize:a,tileOverlapping:s,scale:l,renderPageCallback:d,tilesRenderedCallback:f,contentState:m,crispTiles:g,inContentEditorMode:v}=e;const{pageIndex:y,pageSize:b,pageKey:w}=r,[S,P]=function(e,t,n,r,i,a,s){const[l,c]=o.useState({}),d=o.useRef([]),f=o.useMemo((function(){return function(e,t,n,o,r,i,a){const{viewportRect:s}=e,l=(0,u.Ek)(e,r),c=s.apply(l).scale(a).round(),d=t.scale(a).ceil(),f={};h(f,c,d,n,o,i,a);const m=s.grow(Math.min(p.pK,n)).apply(l).scale(a).round();return h(f,m,d,n,o,i,a)}(e,t,n,r,i,a,s)}),[i,a,t,s,r,n,e]);o.useLayoutEffect((function(){c((e=>function(e,t,n){const o={};for(const n of t)o[n]=e[n];for(const e in n)o[e]=n[e];return o}(e,d.current,f)))}),[f]);return[o.useMemo((function(){return function(e){const t=[];for(const n in e){const o=e[n],{scale:r}=o;let i=t.find((function(e){return e[0]===r}));if(void 0===i){let e;for(i=[r,[]],e=0;e=t?(d.current=Object.keys(f),c(f)):d.current.push(e)}]}(n,b,a,s,y,w,l);return o.createElement(o.Fragment,null,S.map((e=>{let[a,s]=e;const l=b,u=l.scale(a).ceil();return o.createElement("div",{key:a},s.map((e=>o.createElement(i.Z,(0,c.Z)({key:e.key,rect:e.rect,pageIndex:y,originalPageSize:l,scaledPageSize:u,backend:t,renderPageCallback:d,onRenderFinished:()=>{P(e.key),f()},pageKey:r.pageKey,crisp:g,inContentEditorMode:v},m,{tileScale:n.zoomLevel/a})))))})))}function h(e,t,n,o,r,i,a){for(let s=0;s<=n.height;s+=o){let l=o;if(s+l>n.height&&(l=Math.floor(n.height-s)),s+l<=t.top||s>=t.bottom||l<=0)s-=r;else{for(let c=0;c<=n.width;c+=o){let u=o;if(c+o>n.width&&(u=Math.floor(n.width-c)),c+u<=t.left||c>=t.right||u<=0){c-=r;continue}const p=`${i}-sw${n.width}-sh${n.height}-x${c}-y${s}-w${u}-h${l}`;e[p]={key:p,scale:a,rect:new d.UL({width:u,height:l,left:c,top:s})},c-=r}s-=r}}return e}const m=o.memo(f,(function(e,t){return e.page.pageKey===t.page.pageKey&&!(0,u.pA)(e.viewportState,t.viewportState)&&e.inContentEditorMode===t.inContentEditorMode}));const g=(0,l.x)((function(e){var t;return{viewportState:e.viewportState,backend:e.backend,tileSize:"SERVER"===(null===(t=e.backend)||void 0===t?void 0:t.type)?p.uq:p.Bd,tileOverlapping:p.Dx,renderPageCallback:e.renderPageCallback}}))(m);var v=n(73815),y=n(36095);var b=n(58479),w=n(90523),S=n.n(w);const P=function(e){const{inViewport:t,shouldPrerender:n,rotation:i,backend:a,zoomLevel:l,renderPageCallback:c,page:u,onInitialOverviewRenderFinished:d,allowedTileScales:p,forceDetailView:f,renderPagePreview:h,isPageSizeReal:m,crispTiles:w=!1,inContentEditorMode:P,contentState:E}=e,[x,D]=o.useState(!h),C=o.useCallback((function(){D(!0),d&&d()}),[d]),k=function(e,t,n){var o;let r=(0,v.L)();const i=window.navigator,a=null==i||null===(o=i.connection)||void 0===o?void 0:o.saveData;"STANDALONE"===t.type&&y.Ni&&r>2&&(r=2),"SERVER"===t.type&&a&&(r=1);const s=e*r;return"all"===n?s:n.reduce(((e,t)=>eu.pageSize.floor()),[u.pageSize]),A=o.useMemo((function(){const t=Math.min((0,v.L)(),2);return Math.min(e.viewportRect.width*t/O.width,1)}),[O.width,e.viewportRect.width]),[T,I]=o.useState(!1),F=(0,b.R9)((()=>{T||h||I(!0)})),M=t&&m&&(!h||k>1||f||l>A)?o.createElement("div",{style:{opacity:x?1:0}},o.createElement(g,{contentState:E,page:u,scale:k,key:u.pageKey,crispTiles:w,tilesRenderedCallback:F,inContentEditorMode:P})):null;return o.createElement("div",null,(!x||!m||!T&&!h)&&o.createElement("div",{className:`${S().layer} ${S().deadCenter}`},o.createElement(r.Z,{scale:1.5,rotate:-i})),(t||x||n)&&h&&m&&o.createElement(s,{backend:a,pageIndex:u.pageIndex,pageSize:O,pageKey:u.pageKey,onInitialRenderFinished:C,zoomLevel:l,scaleFactor:A,renderPageCallback:c,inContentEditorMode:P}),M)}},87515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(84121),r=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(86366),c=n(97333),u=n(95651),d=n(36095),p=n(10333),f=n.n(p);class h extends r.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"imageFetcherRef",r.createRef()),(0,o.Z)(this,"_fetchImage",(()=>{const{backend:e,originalPageSize:t,scaledPageSize:n,pageIndex:o,rect:r,attachments:a,renderPageCallback:s,digitalSignatures:l}=this.props,d=(this.props.annotations||(0,i.aV)()).filter(u.bz),p=this.props.formFields||(0,i.aV)(),f=this.props.formFieldValues||(0,i.aV)(),h=l&&l.signatures||[],m=this.props.inContentEditorMode||!1;let g;if((d.size>0||f.size>0)&&(g={annotations:d,formFieldValues:f,formFields:p,attachments:a||(0,i.D5)(),signatures:h}),!n.width||!n.height)return{promise:Promise.resolve(null),cancel:()=>{}};const{cancel:v,promise:y}=e.renderTile(o,n,r,!1,!m,g);return(0,c.uZ)(y.then((e=>{let{element:i}=e;if("function"==typeof s){var a,l;let u;if("IMG"===i.nodeName){var c;const e=i,t=document.createElement("canvas");t.width=r.width,t.height=r.height,u=t.getContext("2d"),null===(c=u)||void 0===c||c.drawImage(e,0,0),i=t}u||(u=i.getContext("2d")),null===(a=u)||void 0===a||a.translate(-r.left,-r.top),null===(l=u)||void 0===l||l.scale(n.width/t.width,n.height/t.height),s(u,o,t);const d=document.createElement("img");d.src=i.toDataURL(),e.element=d}return e})),v)}))}componentDidUpdate(e){const{annotations:t,formFieldValues:n}=this.props,{annotations:o,formFieldValues:r}=e;(null!=this.props.hasInitialRenderFinished&&!this.props.hasInitialRenderFinished||!this.props.scaledPageSize.equals(e.scaledPageSize)||!this.props.rect.equals(e.rect)||t&&t!==o&&!t.equals(o)||n&&n!==r&&!n.equals(r)||this.props.pageKey!==e.pageKey||this.props.inContentEditorMode!==e.inContentEditorMode)&&this.imageFetcherRef.current&&this.imageFetcherRef.current.refresh()}render(){const{onRenderFinished:e,rect:t,tileScale:n=1,crisp:o=!1}=this.props,{width:i,height:a,left:c,top:u}=t,p={width:i*n,height:a*n,left:c*n,top:u*n,outline:null},h=s()({[f().tile]:!0,[f().tileChrome]:d.i7,[f().tileFirefox]:d.vU,[f().tileSafari]:d.G6,[f().crispTile]:o});return r.createElement(l.Z,{fetchImage:this._fetchImage,className:h,rectStyle:p,onRenderFinished:e,visible:!1,ref:this.imageFetcherRef})}}},51205:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,j:()=>u});var o=n(67294),r=n(94184),i=n.n(r),a=n(48311),s=n(22181),l=n.n(s);function c(e){let{referenceRect:t,viewportState:n,isHidden:r,children:s,title:c,className:u,wrapperClassName:d,innerWrapperClassName:p,footerClassName:f,footer:h,centeredTitle:m}=e;return o.createElement(a.Z,{referenceRect:t,viewportState:n,className:i()(l().popover,u,{[l().popoverHidden]:r})},o.createElement("div",{className:i()(l().container,d)},o.createElement("div",{className:i()(l().innerContainer,p)},o.createElement("h2",{className:i()(l().title,{[l().centeredTitle]:m})},c),s&&o.createElement("div",{className:l().content},s),h&&o.createElement("div",{className:i()(l().footer,f)},h))," "))}function u(e){let{children:t,className:n,onClick:r}=e;return o.createElement("button",{className:i()(l().footerButton,n),onClick:r},t)}},48311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var o=n(84121),r=n(67294),i=n(94184),a=n.n(i),s=n(13944),l=n(34855),c=n(88804),u=n(30360),d=n(32905),p=n.n(d);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t{if(!p)return;const e=o.translate(i);if(!e.isRectInside(n)&&!e.isRectOverlapping(n))return;const t=function(e){let{viewportRect:t,referenceRect:n,contentRect:o,scroll:r,onPositionConflict:i}=e,a=n.left+n.width/2-o.width/2;const s=new c.E9({x:a,y:n.top-o.height}),l=new c.E9({x:a,y:n.bottom});let u=n.top+n.height/2-o.height/2;const d=new c.E9({x:n.left-o.width,y:u}),p=new c.E9({x:n.right,y:u});let{position:f,direction:h}=m(t,o,{top:s,right:p,bottom:l,left:d});f||(at.width+t.left&&(a=t.width+t.left-o.width),ut.height+t.top&&(u=t.height+t.top-o.height),({position:f,direction:h}=m(t,o,{top:s.set("x",a),right:p.set("y",u),bottom:l.set("x",a),left:d.set("y",u)}))),f||("function"==typeof i?({position:f,direction:h}=i({referenceRect:n,viewportRect:t,contentRect:o,scroll:r,attempts:{top:s,right:p,bottom:l,left:d}})):t.isRectOverlapping(n)&&(f=new c.E9({x:t.left+t.width/2-o.width/2,y:t.top+t.height/2-o.height/2}),h="center"));return{direction:h,position:f}}({viewportRect:e,referenceRect:n,contentRect:p,scroll:i,onPositionConflict:s});t.position&&d(t)}),[o,n,p,s,i]),r.useEffect((()=>{a&&a(u)}),[u,a]);const{direction:g}=u,v=u.position&&u.position.translate(o.getLocation().scale(-1)),y=h(h({position:"absolute"},v?{top:v.y,left:v.x}:{top:-1e5,left:-1e5}),{},{visibility:v?void 0:"hidden"}),b=e=>{(e.height||e.width||e.top||e.left)&&f(e)};return"function"==typeof t?t({style:y,direction:g,onResize:b}):r.createElement("div",{style:y},r.createElement(l.Z,{onResize:b}),t)}const v=function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()};function y(e){let{children:t,referenceRect:n,color:o,baseColor:i,className:d,arrowClassName:f,viewportState:m,onPositionInfoChange:y,arrowSize:b=5,customZIndex:w}=e;const{viewportRect:S,zoomLevel:P,scrollPosition:E}=m;return r.createElement(g,{referenceRect:n.grow(b),viewportRect:S,scroll:E.scale(P),onPositionInfoChange:y},(e=>{let{style:m,direction:g,onResize:y}=e;const P=g&&(0,u.kC)(g),E=g&&"center"!==g?function(e){let t,n,{referenceRect:o,viewportRect:r,size:i,direction:a}=e;switch("top"===a||"bottom"===a?n=o.left+o.width/2-i:t=o.top+o.height/2-i,a){case"top":t=o.top-i;break;case"bottom":t=o.top+o.height;break;case"left":n=o.left-i;break;case"right":n=o.left+o.width;break;default:throw new Error("invalid direction")}return new c.E9({y:t,x:n}).translate(r.getLocation().scale(-1))}({referenceRect:n,viewportRect:S,size:b,direction:g}):null,x={};let D;if(o){switch(g){case"top":x.color=o[o.length-1].toCSSValue();break;case"bottom":x.color=o[0].toCSSValue();break;default:x.color=o[Math.floor((o.length-1)/2)].toCSSValue()}const e=o.map(((e,t)=>`${e.toCSSValue()} ${100*t/(o.length-1)}%`)).join(", ");i&&(m=h(h({},m),{},{backgroundColor:i.toCSSValue()}),D={color:i.toCSSValue()}),m=h(h({},m),{},{backgroundImage:`linear-gradient(to bottom, ${e})`,zIndex:w})}return r.createElement(s.Z,{onPointerUp:v},r.createElement("div",{className:d},E&&r.createElement("span",{style:h(h({},D),{},{zIndex:w})},r.createElement("div",{style:h({position:"absolute",top:E.y,left:E.x,width:b,height:b,zIndex:w},x),className:a()(p().arrow,f,P&&p()[`arrow${P}`],"PSPDFKit-Popover-Arrow",P&&"PSPDFKit-Popover-Arrow-"+P)})),r.createElement("div",{style:m,className:a()(p().root,"PSPDFKit-Popover",P&&"PSPDFKit-Popover-"+P)},t,r.createElement(l.Z,{onResize:y}))))}))}},54543:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var o=n(47347),r=n(49242);const i=e=>t=>e(function(e){const t=e.nativeEvent||e;let n=!1,i=0,a=0;const s=t.shiftKey;let l=t.pointerType||"mouse";const c=(void 0!==e.touches||void 0!==e.changedTouches)&&void 0===e.width;c?(l="touch",n=1==t.touches.length||"touchend"===e.type,n&&t.changedTouches.length&&(i=t.changedTouches[0].clientX,a=t.changedTouches[0].clientY)):(n=e.isPrimary||(0,r.I)(e),i=e.clientX,a=e.clientY);let u={clientX:i,clientY:a,isPrimary:n,pointerType:l,shiftKey:s,metaKey:t.metaKey,ctrlKey:t.ctrlKey,getCoalescedEvents:"function"==typeof t.getCoalescedEvents?()=>{const e=t.getCoalescedEvents.call(t);return e.length?e:[u]}:()=>[u],stopPropagation:()=>{e.stopPropagation(),t.stopImmediatePropagation()},preventDefault:()=>{e.preventDefault()},get target(){if(c&&void 0!==e.target.ownerDocument){const t=e.target.ownerDocument;return t&&t.elementFromPoint?t.elementFromPoint(i,a):e.target}return e.target},nativeEvent:t,get buttons(){return c?(0,o.ZK)("TouchEvent do not have the method buttons"):e.buttons}};return u}(t))},13944:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(22122),r=n(84121),i=n(67294),a=n(47347),s=n(54543),l=n(71231),c=n(36095);const u=l.Gn?{passive:!1}:void 0,d=!l.Gn||{passive:!1,capture:!0},p=1e3;let f=0,h=0;function m(e){return e?function(){if(f=Date.now(),!(Date.now()-h{this.props.onDOMElement&&this.props.onDOMElement(e),e&&((0,a.kG)("string"==typeof e.nodeName,"PRC requires a basic HTML element as children (so that we can find the proper `ownerDocument`)."),this._refDocument=e.ownerDocument)}))}componentDidMount(){this._updateRootListeners(this.props)}componentDidUpdate(){this._updateRootListeners(this.props)}componentWillUnmount(){this._removeAllRootListeners()}_updateListener(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=this._refDocument;let r=null,i=null;const a=this._attachedListeners[e][n?1:0];if(a&&([r,i]=a),i!==t&&(r&&(o.removeEventListener(e,r,n?d:u),this._attachedListeners[e][n?1:0]=null),"function"==typeof t)){const r=(0,s.S)(t);o.addEventListener(e,r,n?d:u),this._attachedListeners[e][n?1:0]=[r,t]}}_removeAllRootListeners(){const e=this._refDocument;Object.entries(this._attachedListeners).forEach((t=>{let[n,o]=t;const[r,i]=o;r&&e.removeEventListener(n,r[0],u),i&&e.removeEventListener(n,i[0],d)}))}_updateRootListeners(e){Object.entries(e).forEach((e=>{let[t,n]=e;switch(t){case"onRootPointerDown":this._updateListener("touchstart",m(n)),this.disablePointerEvents||this._updateListener("pointerdown",v(n)),this._updateListener("mousedown",g(n));break;case"onRootPointerDownCapture":this._updateListener("touchstart",m(n),!0),this.disablePointerEvents||this._updateListener("pointerdown",v(n),!0),this._updateListener("mousedown",g(n),!0);break;case"onRootPointerMove":this._updateListener("touchmove",m(n)),this.disablePointerEvents||this._updateListener("pointermove",v(n)),this._updateListener("mousemove",g(n));break;case"onRootPointerMoveCapture":this._updateListener("touchmove",m(n),!0),this.disablePointerEvents||this._updateListener("pointermove",v(n),!0),this._updateListener("mousemove",g(n),!0);break;case"onRootPointerUp":this._updateListener("touchend",m(n)),this.disablePointerEvents||this._updateListener("pointerup",v(n)),this._updateListener("mouseup",g(n));break;case"onRootPointerEnter":this.disablePointerEvents||this._updateListener("pointerenter",v(n)),this._updateListener("mouseenter",g(n));break;case"onRootPointerLeave":this.disablePointerEvents||this._updateListener("pointerleave",v(n)),this._updateListener("mouseleave",g(n));break;case"onRootPointerUpCapture":this._updateListener("touchend",m(n),!0),this.disablePointerEvents||this._updateListener("pointerup",v(n),!0),this._updateListener("mouseup",g(n),!0);break;case"onRootPointerEnterCapture":this.disablePointerEvents||this._updateListener("pointerenter",v(n),!0),this._updateListener("mouseenter",g(n),!0);break;case"onRootPointerLeaveCapture":this.disablePointerEvents||this._updateListener("pointerleave",v(n),!0),this._updateListener("mouseleave",g(n),!0);break;case"onRootPointerCancel":this.disablePointerEvents||this._updateListener("pointercancel",v(n)),this._updateListener("touchcancel",m(n));break;case"onRootPointerCancelCapture":this.disablePointerEvents||this._updateListener("pointercancel",v(n),!0),this._updateListener("touchcancel",m(n),!0)}}))}render(){const e={};let t=!1;if(this.disablePointerEvents="INK"!==this.props.interactionMode&&(0,c.yx)(),Object.entries(this.props).forEach((n=>{let[o,r]=n;if("function"==typeof r)switch(o){case"onPointerDown":e.onTouchStart=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerDown=v((0,s.S)(r))),e.onMouseDown=g((0,s.S)(r)),t=!0;break;case"onPointerDownCapture":e.onTouchStartCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerDownCapture=v((0,s.S)(r))),e.onMouseDownCapture=g((0,s.S)(r)),t=!0;break;case"onPointerMove":e.onTouchMove=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerMove=v((0,s.S)(r))),e.onMouseMove=g((0,s.S)(r)),t=!0;break;case"onPointerMoveCapture":e.onTouchMoveCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerMoveCapture=v((0,s.S)(r))),e.onMouseMoveCapture=g((0,s.S)(r)),t=!0;break;case"onPointerUp":e.onTouchEnd=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerUp=v((0,s.S)(r))),e.onMouseUp=g((0,s.S)(r)),t=!0;break;case"onPointerUpCapture":e.onTouchEndCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerUpCapture=v((0,s.S)(r))),e.onMouseUpCapture=g((0,s.S)(r)),t=!0;break;case"onPointerEnter":this.disablePointerEvents||(e.onPointerEnter=v((0,s.S)(r))),e.onMouseEnter=g((0,s.S)(r)),t=!0;break;case"onPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnterCapture=v((0,s.S)(r))),e.onMouseEnterCapture=g((0,s.S)(r)),t=!0;break;case"onPointerLeave":this.disablePointerEvents||(e.onPointerLeave=v((0,s.S)(r))),e.onMouseLeave=g((0,s.S)(r)),t=!0;break;case"onPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeaveCapture=v((0,s.S)(r))),e.onMouseLeaveCapture=g((0,s.S)(r)),t=!0;break;case"onPointerCancel":this.disablePointerEvents||(e.onPointerCancel=v((0,s.S)(r))),e.onTouchCancel=m((0,s.S)(r)),t=!0;break;case"onPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancelCapture=v((0,s.S)(r))),e.onTouchCancelCapture=m((0,s.S)(r)),t=!0;break;case"onRootPointerDown":case"onRootPointerDownCapture":e.onTouchStart=e.onTouchStart||y,this.disablePointerEvents||(e.onPointerDown=e.onPointerDown||y),e.onMouseDown=e.onMouseDown||y;break;case"onRootPointerMove":case"onRootPointerMoveCapture":e.onTouchMove=e.onTouchMove||y,this.disablePointerEvents||(e.onPointerMove=e.onPointerMove||y),e.onMouseMove=e.onMouseMove||y;break;case"onRootPointerUp":case"onRootPointerUpCapture":e.onTouchEnd=e.onTouchEnd||y,this.disablePointerEvents||(e.onPointerUp=e.onPointerUp||y),e.onMouseUp=e.onMouseUp||y;break;case"onRootPointerEnter":case"onRootPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnter=e.onPointerEnter||y),e.onMouseEnter=e.onMouseEnter||y;break;case"onRootPointerLeave":case"onRootPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeave=e.onPointerLeave||y),e.onMouseLeave=e.onMouseLeave||y;break;case"onRootPointerCancel":case"onRootPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancel=e.onPointerCancel||y),e.onTouchCancel=e.onTouchCancel||y}})),!t)return i.createElement("div",(0,o.Z)({ref:this._handleRef},e),this.props.children);const n=i.Children.only(this.props.children);return e.ref=this._handleRef,(0,a.kG)(!n.ref,"PRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(n,e)}}},41775:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o=(0,n(76154).vU)({approved:{id:"approved",defaultMessage:"Approved",description:"Approved Stamp Annotation"},notApproved:{id:"notApproved",defaultMessage:"Not Approved",description:"Not Approved Stamp Annotation"},draft:{id:"draft",defaultMessage:"Draft",description:"Draft Stamp Annotation"},final:{id:"final",defaultMessage:"Final",description:"Final Stamp Annotation"},completed:{id:"completed",defaultMessage:"Completed",description:"Completed Stamp Annotation"},confidential:{id:"confidential",defaultMessage:"Confidential",description:"Confidential Stamp Annotation"},forPublicRelease:{id:"forPublicRelease",defaultMessage:"For Public Release",description:"For Public Release Stamp Annotation"},notForPublicRelease:{id:"notForPublicRelease",defaultMessage:"Not For Public Release",description:"Not For Public Release Stamp Annotation"},forComment:{id:"forComment",defaultMessage:"For Comment",description:"ForComment Stamp Annotation"},void:{id:"void",defaultMessage:"Void",description:"Void Stamp Annotation"},preliminaryResults:{id:"preliminaryResults",defaultMessage:"Preliminary Results",description:"Preliminary Results Stamp Annotation"},informationOnly:{id:"informationOnly",defaultMessage:"Information Only",description:"Information Only Stamp Annotation"},rejected:{id:"rejected",defaultMessage:"Rejected",description:"Rejected Stamp Annotation"},accepted:{id:"accepted",defaultMessage:"Accepted",description:"Accepted Stamp Annotation"},initialHere:{id:"initialHere",defaultMessage:"Initial Here",description:"Initial Here Stamp Annotation"},signHere:{id:"signHere",defaultMessage:"Sign Here",description:"Sign Here Stamp Annotation"},witness:{id:"witness",defaultMessage:"Witness",description:"Witness Stamp Annotation"},asIs:{id:"asIs",defaultMessage:"As Is",description:"As Is Stamp Annotation"},departmental:{id:"departmental",defaultMessage:"Departmental",description:"Departmental Stamp Annotation"},experimental:{id:"experimental",defaultMessage:"Experimental",description:"Experimental Stamp Annotation"},expired:{id:"expired",defaultMessage:"Expired",description:"Expired Stamp Annotation"},sold:{id:"sold",defaultMessage:"Sold",description:"Sold Stamp Annotation"},topSecret:{id:"topSecret",defaultMessage:"Top Secret",description:"TopSecret Stamp Annotation"},revised:{id:"revised",defaultMessage:"Revised",description:"Revised Stamp Annotation"},custom:{id:"custom",defaultMessage:"Custom",description:"Custom Stamp Annotation"},stampAnnotationTemplatesDialog:{id:"stampAnnotationTemplatesDialog",defaultMessage:"Stamp Annotation Templates",description:"Stamp Annotation Templates Dialog"},stampAnnotationTemplatesDialogDescription:{id:"stampAnnotationTemplatesDialogDesc",defaultMessage:"This dialog lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.",description:"Stamp Annotation Templates Dialog Description"}})},11010:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=(n(44364),n(94505)),l=n(27435),c=n.n(l);const u=r.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()(c().root,n&&c().isActive,i&&c().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Button",n&&"PSPDFKit-Toolbar-Button-active",i&&"PSPDFKit-Toolbar-Button-disabled");return r.createElement(s.Z,(0,o.Z)({},e,{className:l,iconClassName:"PSPDFKit-Toolbar-Button-Icon",ref:t,itemComponentProps:e.itemComponentProps}))}))},98013:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Ie,k3:()=>Ce});var o=n(84121),r=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(30845),c=n(76154),u=n(47347),d=n(25915),p=n(30667),f=n(67366),h=n(7844),m=n(22122),g=n(67665),v=n(41756),y=n(26353),b=n(84013),w=n(47710),S=n(63738),P=n(58924),E=n(93628),x=n.n(E),D=n(60964),C=n.n(D),k=n(11010),O=n(23477),A=n.n(O),T=n(77973),I=n(3219),F=n(34573),M=n(11521),_=n.n(M),N=n(13448);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function L(e){for(var t=1;tnull===e?"":`${e.type} ${e.mode}`,stateReducer:z,environment:e.frameWindow},(c=>{let{getToggleButtonProps:u,getMenuProps:d,getItemProps:p,isOpen:f,highlightedIndex:h,setHighlightedIndex:v}=c,S=!1;const E=d({onMouseDown:()=>{S=!0},onTouchStart:()=>{S=!0}},{suppressRefError:!0}),D=u(),O="down"===e.caretDirection;return r.createElement("div",{className:s()(f&&"PSPDFKit-Input-Dropdown-open")},r.createElement("div",(0,m.Z)({ref:l},L(L({},D),e.disabled?{onClick:null}:null),{onBlur:function(e){if(S&&(S=!1,e.nativeEvent.preventDownshiftDefault=!0,l.current)){const e=l.current.querySelector("button");e&&e.focus()}D.onBlur(e)}}),r.createElement(k.Z,{type:"layout-config",selected:f,title:a(Z.pageLayout),icon:e.icon,className:s()(A().toolbarButton,"PSPDFKit-Toolbar-Button-Layout-Config",e.className),onPress:e=>{e.target.focus&&e.target.focus(),f||t((0,F.fz)())},disabled:i})),r.createElement(g.m,null,r.createElement(b.Z,null,f&&r.createElement(y.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(_().scaleInEnter,{[_().scaleInEnterTop]:O,[_().scaleInEnterBottom]:!O}),enterActive:_().scaleInEnterActive,exit:s()(_().scaleInExit,{[_().scaleInExitTop]:O,[_().scaleInExitBottom]:!O}),exitActive:s()(_().scaleInExitActive,{[_().scaleInExitActiveTop]:O,[_().scaleInExitActiveBottom]:!O})}},r.createElement(P.Z,{referenceElement:l.current,horizontalAlignment:"center"},r.createElement("div",(0,m.Z)({},E,{className:s()(x().root,C().dropdownMenu,"PSPDFKit-Dropdown-Layout-Config",{[C().dropdownMenuUp]:!O}),style:{padding:0},onMouseLeave:()=>v(null)}),r.createElement("table",{className:s()(C().table,"PSPDFKit-Layout-Config")},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageMode)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[0]}),isActive:n===T.X.SINGLE,isHighlighted:0===h,type:T.X.SINGLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Single",title:a(Z.pageModeSingle)}),r.createElement(B,{itemProps:p({item:j[1]}),isActive:n===T.X.DOUBLE,isHighlighted:1===h,type:T.X.DOUBLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Double",title:a(Z.pageModeDouble)}),r.createElement(B,{itemProps:p({item:j[2]}),isActive:n===T.X.AUTO,isHighlighted:2===h,type:T.X.AUTO,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Auto",title:a(Z.pageModeAutomatic)}))),r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageTransition)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[3]}),isActive:o===w.G.CONTINUOUS,isHighlighted:3===h,type:w.G.CONTINUOUS,className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Continuous",title:a(Z.pageTransitionContinuous)}),r.createElement(B,{itemProps:p({item:j[4]}),isActive:o===w.G.PER_SPREAD,isHighlighted:4===h,type:"single",className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Per-Spread",title:a(Z.pageTransitionJump)}))),r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageRotation)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[5]}),type:"view_rotate_left",title:a(Z.pageRotationLeft),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Left",isHighlighted:5===h,isActive:!1}),r.createElement(B,{itemProps:p({item:j[6]}),type:"view_rotate_right",title:a(Z.pageRotationRight),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Right",isHighlighted:6===h,isActive:!1})))))))))),!f&&r.createElement("div",E),r.createElement(g.m,null,r.createElement(b.Z,null,f&&r.createElement(y.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(_().scaleInEnter,{[_().scaleInEnterTop]:O,[_().scaleInEnterBottom]:!O}),enterActive:_().scaleInEnterActive,exit:s()(_().scaleInExit,{[_().scaleInExitTop]:O,[_().scaleInExitBottom]:!O}),exitActive:s()(_().scaleInExitActive,{[_().scaleInExitActiveTop]:O,[_().scaleInExitActiveBottom]:!O})}},r.createElement(P.Z,{referenceElement:l.current,horizontalAlignment:"center"},r.createElement(r.Fragment,null,r.createElement("div",{className:s()(C().arrow,{[C().arrowUp]:!O})},r.createElement("div",{className:s()({[C().arrowFill]:O,[C().arrowFillUp]:!O})}))))))))}))}));const Z=(0,c.vU)({pageLayout:{id:"pageLayout",defaultMessage:"Page Layout",description:'Button to open the "change page layout" menu'},pageMode:{id:"pageMode",defaultMessage:"Page Mode",description:"Label for the page mode configuration"},pageModeSingle:{id:"pageModeSingle",defaultMessage:"Single",description:"Single page mode"},pageModeDouble:{id:"pageModeDouble",defaultMessage:"Double",description:"Double page mode"},pageModeAutomatic:{id:"pageModeAutomatic",defaultMessage:"Automatic",description:"Automatic page mode"},pageTransition:{id:"pageTransition",defaultMessage:"Page Transition",description:"Label for the page transition mode"},pageTransitionContinuous:{id:"pageTransitionContinuous",defaultMessage:"Continuous",description:"Continuous page transition mode"},pageTransitionJump:{id:"pageTransitionJump",defaultMessage:"Jump",description:"Jump-ing page transition mode (one page at the time)"},pageRotation:{id:"pageRotation",defaultMessage:"Page Rotation",description:"Label for the page rotation mode (left, right)"},pageRotationLeft:{id:"pageRotationLeft",defaultMessage:"Rotate Left",description:"Button to rotate the page to the left of 90°"},pageRotationRight:{id:"pageRotationRight",defaultMessage:"Rotate Right",description:"Button to rotate the page to the right of 90°"}});var U=n(13540),V=n(36105),G=n.n(V);const W=e=>{["-","+",".","e","E"].some((t=>e.key===t))&&e.preventDefault()},q=e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},H=e=>{e.currentTarget.select()},$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{withParens:!1};return t=>r.createElement("div",{className:G().desktop},e.withParens&&"(",t.map(((e,t)=>r.createElement("span",{key:t},e))),e.withParens&&")")};const X=(0,c.XN)((function(e){const t=e.pages.get(e.currentPageNumber-1);(0,u.kG)(null!=t,`Couldn't get page number ${e.currentPageNumber}`);const o=r.useMemo((()=>e.pages.some((e=>e.pageLabel!==(e.pageIndex+1).toString()))),[e.pages]),[i,a]=r.useState(null==t?void 0:t.pageLabel);r.useEffect((()=>{a(null==t?void 0:t.pageLabel)}),[null==t?void 0:t.pageLabel]);const l=n=>{if(o){const t=e.pages.findIndex((e=>e.pageLabel===n));if(t>=0&&!e.readOnly)return void e.dispatch((0,I.YA)(t))}const r=parseInt(n);1<=r&&r<=e.totalPages&&!e.readOnly?e.dispatch((0,I.YA)(r-1)):a(t.pageLabel)},{formatMessage:d}=e.intl,p=s()({"PSPDFKit-Page-Indicator-Prev":!0,[G().prev]:!0,"PSPDFKit-Page-Indicator-Prev-disabled":1===e.currentPageNumber}),f=s()({"PSPDFKit-Page-Indicator-Next":!0,[G().next]:!0,"PSPDFKit-Page-Indicator-Next-disabled":e.currentPageNumber===e.totalPages}),h=r.createElement("div",{className:G().control},r.createElement("button",{className:p,title:d(Y.prevPage),onClick:()=>e.dispatch((0,I.IT)()),disabled:1===e.currentPageNumber||e.readOnly},r.createElement(U.Z,{src:n(28069),className:G().icon})),r.createElement("label",{className:G().inputLabel,htmlFor:G().input},d(Y.goToPage)),r.createElement("input",(0,m.Z)({id:G().input,type:o?"text":"number",value:i,className:`PSPDFKit-Page-Indicator-Input ${G().input}`,onMouseDown:q,onFocus:H,onChange:t=>{e.readOnly||a(t.currentTarget.value)},onBlur:e=>{l(e.currentTarget.value)},onKeyPress:e=>{"Enter"===e.key&&l(e.currentTarget.value)},disabled:e.readOnly},o?{}:{min:1,max:e.totalPages,onKeyDown:W,pattern:"[0-9]"})),r.createElement("button",{className:f,onClick:()=>e.dispatch((0,I.fz)()),title:d(Y.nextPage),disabled:e.currentPageNumber===e.totalPages||e.readOnly},r.createElement(U.Z,{src:n(14341),className:G().icon})));return r.createElement("div",{className:`PSPDFKit-Page-Indicator ${G().root}`},o?r.createElement(r.Fragment,null,r.createElement(c._H,{id:"pageX",defaultMessage:"Page {arg0}",description:"Page indicator prefix",values:{arg0:h},children:$()}),r.createElement(c._H,{id:"XofY",defaultMessage:"{arg0} of {arg1}",description:"Page indicator label",values:{arg0:e.currentPageNumber,arg1:e.totalPages},children:$({withParens:!0})})):r.createElement(c._H,{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator control. arg0 is an interactive widget to select pages.",values:{arg0:h,arg1:e.totalPages},children:$()}),r.createElement("div",{className:G().mobile},r.createElement("label",{className:G().label},r.createElement("strong",null,e.currentPageNumber)," ","/"," ",e.totalPages)))})),Y=(0,c.vU)({prevPage:{id:"prevPage",defaultMessage:"Previous Page",description:"Button to go to the previous page"},nextPage:{id:"nextPage",defaultMessage:"Next Page",description:"Button to go to the next page"},goToPage:{id:"goToPage",defaultMessage:"Go to Page",description:"label for the go to page selector"}}),J=(0,f.$j)((e=>({currentPageNumber:e.viewportState.currentPageIndex+1})))(X);var Q=n(11378),ee=n(44706),te=n(84747),ne=n(66687),oe=n(18146),re=n(3845),ie=n(38151),ae=n(69939),se=n(51333),le=n(77528),ce=n(25644),ue=n(70006),de=n(36095);function pe(e,t){const n=document.createElement("a");n.href=e,n.style.display="none",n.download=t,n.setAttribute("download",t);const o=document.body;return o?(o.appendChild(n),n.click(),()=>{const e=document.body;e&&e.removeChild(n)}):()=>{}}var fe=n(97528),he=n(20792),me=n(19702),ge=n(28098),ve=n(67628),ye=n(89e3),be=n(35129),we=n(92234),Se=n(2270),Pe=n(16126),Ee=n(96114);function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function De(e){for(var t=1;t{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.PAN?t((0,I.Yr)()):t((0,I.vc)())})),(0,o.Z)(this,"handleFormDesignerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),(0,Pe.fF)(e)?t((0,Ee.h4)()):t((0,Ee.el)())})),(0,o.Z)(this,"_handleZoomOutTap",(()=>{this.props.dispatch((0,I.vG)())})),(0,o.Z)(this,"_handleZoomInTap",(()=>{this.props.dispatch((0,I.kr)())})),(0,o.Z)(this,"_handleUndoTap",(()=>{this.props.canUndo&&this.props.dispatch((0,we.Yw)())})),(0,o.Z)(this,"_handleRedoTap",(()=>{this.props.canRedo&&this.props.dispatch((0,we.KX)())})),(0,o.Z)(this,"_handleMarqueeZoomTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.MARQUEE_ZOOM?t((0,S.si)()):t((0,S.xF)())})),(0,o.Z)(this,"_handleFitToWidthTap",(()=>{this.props.dispatch((0,I.du)())})),(0,o.Z)(this,"_handleFitToBothTap",(()=>{this.props.dispatch((0,I.lO)())})),(0,o.Z)(this,"handleCalloutTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.CALLOUT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.k4)())):(r((0,ae.Ds)(n)),r((0,S.Lt)()))})),(0,o.Z)(this,"_handleTextTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.TEXT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.k4)())):(r((0,ae.Ds)(n)),r((0,S.DU)()))})),(0,o.Z)(this,"_handleTextKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,ae.RK)())})),(0,o.Z)(this,"_handleTextHighlighterTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?r((0,S.lC)()):r((0,S.d5)(n))})),(0,o.Z)(this,"_handleLinkTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.LINK&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.UU)())):(r((0,ae.Ds)(n)),r((0,S.Jn)()))})),(0,o.Z)(this,"_handleInkTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.s3)())):(r((0,ae.Ds)(n)),r((0,S.P4)()))})),(0,o.Z)(this,"_handleMeasurementTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.MEASUREMENT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.hS)())):(r((0,ae.Ds)(n)),r((0,S.BR)()))})),(0,o.Z)(this,"_handleInkEraserTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK_ERASER?(r((0,ae.Ds)(null)),r((0,S.VU)())):(r((0,ae.Ds)(n)),r((0,S.Ug)()))})),(0,o.Z)(this,"_handleLineTap",((e,t,n)=>this._handleShapeTap(ne.o9,he.A.SHAPE_LINE,n))),(0,o.Z)(this,"_handleRectangleTap",((e,t,n)=>this._handleShapeTap(ne.b3,he.A.SHAPE_RECTANGLE,n))),(0,o.Z)(this,"_handleEllipseTap",((e,t,n)=>this._handleShapeTap(ne.Xs,he.A.SHAPE_ELLIPSE,n))),(0,o.Z)(this,"_handlePolygonTap",((e,t,n)=>this._handleShapeTap(ne.Hi,he.A.SHAPE_POLYGON,n))),(0,o.Z)(this,"_handlePolylineTap",((e,t,n)=>this._handleShapeTap(ne.om,he.A.SHAPE_POLYLINE,n))),(0,o.Z)(this,"_handleShapeTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===t&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.Ce)())):(r((0,ae.Ds)(n)),r((0,S.yg)(e,t)))})),(0,o.Z)(this,"_handleNoteTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.NOTE&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.dp)())):(r((0,ae.Ds)(n)),r((0,S.i9)()))})),(0,o.Z)(this,"_handleNoteKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,ae.XG)())})),(0,o.Z)(this,"_handleCommentMarkerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.COMMENT_MARKER?t((0,S.tr)()):t((0,S.k6)())})),(0,o.Z)(this,"_handleCommentMarkerKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,se.GH)())})),(0,o.Z)(this,"_handleSignatureTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK_SIGNATURE||o===he.A.SIGNATURE?(r((0,ae.Ds)(null)),r((0,S.MV)())):(r((0,ae.Ds)(n)),r((0,S.Cc)()))})),(0,o.Z)(this,"_handleStampTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.STAMP_PICKER?t((0,S.pM)()):t((0,S.C4)())})),(0,o.Z)(this,"_handleRedactRectangleTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.REDACT_SHAPE_RECTANGLE&&n===this.props.currentItemPreset?r((0,S.jP)()):r((0,S.t)(n))})),(0,o.Z)(this,"_handleRedactTextHighlighterTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.REDACT_TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?r((0,S.TR)()):r((0,S.aw)(n))})),(0,o.Z)(this,"_handleResponsiveGroupTap",(e=>{this.setState({activeResponsiveGroup:e}),e&&this.setState({prevActiveGroup:e})})),(0,o.Z)(this,"_handleAnnotateResponsiveGroupTap",(()=>this._handleResponsiveGroupTap("annotate"))),(0,o.Z)(this,"_handlePrintTap",(()=>{this.props.printingEnabled&&this.props.dispatch((0,ce.S0)())})),(0,o.Z)(this,"_handleSearchTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.SEARCH?t((0,ue.ct)()):t((0,ue.Xe)())})),(0,o.Z)(this,"handleCropTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.DOCUMENT_CROP?t((0,S.Cn)()):t((0,S.rL)())})),(0,o.Z)(this,"handleDocumentComparisonTap",(()=>{const{currentDocumentComparisonMode:e,dispatch:t}=this.props;t((0,F.fz)()),t(e?(0,S.cz)(null):(0,S.cz)(Se.se))})),(0,o.Z)(this,"_handleExportPDFTap",(async()=>{this.props.exportEnabled&&this.props.dispatch(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,n)=>{const{backend:o}=n();(0,u.kG)(o);const r=HTMLAnchorElement.prototype.hasOwnProperty("download"),i=await o.exportPDF(e),a=i.mimeType||"application/pdf",s=i.extension||"pdf",l=new Blob([i],{type:a}),c=`${(await o.documentInfo()).title||"document"}.${s}`;let d=()=>{};if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(l,c);else if(r){const e=window.URL.createObjectURL(l),t=pe(e,c);d=()=>{t(),window.URL.revokeObjectURL(e)}}else{const e=new FileReader;e.onloadend=()=>{d=pe(e.result,s)},e.readAsDataURL(l)}window.setTimeout(d,1e3)}}())})),(0,o.Z)(this,"_handleDebugTap",(()=>{this.props.dispatch((0,S.BB)())})),(0,o.Z)(this,"_handleThumbnailsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.THUMBNAILS?t((0,S.mu)()):t((0,S.el)())})),(0,o.Z)(this,"_handleDocumentOutlineSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.DOCUMENT_OUTLINE?t((0,S.mu)()):t((0,S.EJ)())})),(0,o.Z)(this,"_handleDocumentEditorTap",(()=>{const{dispatch:e}=this.props;e((0,S.lV)())})),(0,o.Z)(this,"_handleAnnotationsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.ANNOTATIONS?t((0,S.mu)()):t((0,S.ze)())})),(0,o.Z)(this,"_handleBookmarksSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.BOOKMARKS?t((0,S.mu)()):t((0,S.Hf)())})),(0,o.Z)(this,"_handleImageTap",(()=>{const e={annotations:(0,i.aV)([new ne.sK({pageIndex:this.state.currentPageIndex})]),reason:re.f.SELECT_START};this.props.eventEmitter.emit("annotations.willChange",e);const t=this.imagePickerRef&&this.imagePickerRef.current;if(t)try{const{formatMessage:e}=this.props.intl;this.props.dispatch((0,S.iJ)(e(Fe.selectAFileForImage))),t.removeAttribute("aria-hidden"),t.click()}catch(e){t.setAttribute("aria-hidden","true");const n={annotations:(0,i.aV)(),reason:re.f.SELECT_END};this.props.eventEmitter.emit("annotations.willChange",n)}})),(0,o.Z)(this,"_handleImageSelect",(e=>{if(e.target.setAttribute("aria-hidden","true"),e.target.files[0]){this.props.dispatch((0,F.fz)());{this.props.dispatch((0,ae.Ds)("image")),this.props.dispatch((0,ae.$e)(e.target.files[0]));const{formatMessage:t}=this.props.intl;this.props.dispatch((0,S.iJ)(t(Fe.newAnnotationCreated,{arg0:"image"})))}e.target.value=""}})),(0,o.Z)(this,"_handleResponsiveGroupClose",(()=>{this.props.dispatch((0,F.fz)()),this._handleResponsiveGroupTap(null)})),(0,o.Z)(this,"_handleContentEditorTap",(()=>{const{interactionMode:e,dispatch:t,isContentEditorSessionDirty:n}=this.props;e===he.A.CONTENT_EDITOR?t(n?(0,ie.Yg)(!0):ie.u8):t(ie.gY)})),(0,o.Z)(this,"_handleMultiAnnotationsSelectionTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;e===he.A.MULTI_ANNOTATIONS_SELECTION?t((0,S.FA)()):t((0,S.YF)())})),(0,o.Z)(this,"_getBuiltInDefaults",(0,l.Z)(((e,t,n,o,r,i,a,s,l,c,u,d,p,f,h,m,g,v)=>{const{formatMessage:y}=e,b=n===he.A.CONTENT_EDITOR;return{debug:{className:"",onPress:this._handleDebugTap,title:"Debug Info",forceHide:!t},image:{className:"PSPDFKit-Toolbar-Button-Image-Annotation",title:y(be.Z.imageAnnotation),forceHide:o(ne.sK),responsiveGroup:"annotate",preset:"image",onPress:this._handleImageTap,dropdownGroup:"image",disabled:b},stamp:{className:"PSPDFKit-Toolbar-Button-Stamp-Annotation",selected:n===he.A.STAMP_PICKER||n===he.A.STAMP_CUSTOM,onPress:this._handleStampTap,title:y(be.Z.stampAnnotation),forceHide:o(ne.GI),responsiveGroup:"annotate",preset:"stamp",dropdownGroup:"image",disabled:b},link:{className:"PSPDFKit-Toolbar-Button-Link-Annotation",selected:n===he.A.LINK&&"link"===this.state.lastSelectedToolbarItemType,onPress:this._handleLinkTap,title:y(be.Z.linkAnnotation),forceHide:o(ne.R1),responsiveGroup:"annotate",preset:"link",dropdownGroup:"image",disabled:b},ink:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation",selected:n===he.A.INK&&"ink"===h,onPress:this._handleInkTap,title:y(be.Z.pen),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:b},"ink-eraser":{className:"PSPDFKit-Toolbar-Button-Ink-Eraser",selected:n===he.A.INK_ERASER&&"ink-eraser"===h,onPress:this._handleInkEraserTap,title:y(be.Z.eraser),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:b},highlighter:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation PSPDFKit-Toolbar-Button-Variant-Highlighter",selected:n===he.A.INK&&"highlighter"===h,onPress:this._handleInkTap,title:y(be.Z.highlighter),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"highlighter",disabled:b},"text-highlighter":{className:"PSPDFKit-Toolbar-Button-TextHighlighter-Annotation",selected:n===he.A.TEXT_HIGHLIGHTER&&"text-highlighter"===h,onPress:this._handleTextHighlighterTap,title:y(be.Z.textHighlighter),forceHide:o(ne.FV),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"text-highlighter",disabled:b},line:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation",selected:n===he.A.SHAPE_LINE&&"line"===h,onPress:this._handleLineTap,title:y(be.Z.lineAnnotation),forceHide:o(ne.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"line",disabled:b},arrow:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation PSPDFKit-Toolbar-Button-Variant-Arrow",selected:n===he.A.SHAPE_LINE&&"arrow"===h,onPress:this._handleLineTap,title:y(be.Z.arrow),forceHide:o(ne.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"arrow",disabled:b},rectangle:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation",selected:n===he.A.SHAPE_RECTANGLE&&"rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.rectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"rectangle",disabled:b},"cloudy-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyRectangle",selected:n===he.A.SHAPE_RECTANGLE&&"cloudy-rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.cloudyRectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-rectangle",disabled:b},"dashed-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-DashedRectangle",selected:n===he.A.SHAPE_RECTANGLE&&"dashed-rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.dashedRectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-rectangle",disabled:b},ellipse:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation",selected:n===he.A.SHAPE_ELLIPSE&&"ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.ellipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"ellipse",disabled:b},"cloudy-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyEllipse",selected:n===he.A.SHAPE_ELLIPSE&&"cloudy-ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.cloudyEllipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-ellipse",disabled:b},"dashed-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-DashedEllipse",selected:n===he.A.SHAPE_ELLIPSE&&"dashed-ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.dashedEllipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-ellipse",disabled:b},polygon:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation",selected:n===he.A.SHAPE_POLYGON&&"polygon"===h,onPress:this._handlePolygonTap,title:y(be.Z.polygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polygon",disabled:b},"cloudy-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyPolygon",selected:n===he.A.SHAPE_POLYGON&&"cloudy-polygon"===h,onPress:this._handlePolygonTap,title:Te("cloudy-",this.props.items)?y(be.Z.cloudAnnotation):y(be.Z.cloudyPolygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-polygon",disabled:b},"dashed-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-DashedPolygon",selected:n===he.A.SHAPE_POLYGON&&"dashed-polygon"===h,onPress:this._handlePolygonTap,title:y(be.Z.dashedPolygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-polygon",disabled:b},polyline:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polyline-Annotation",selected:n===he.A.SHAPE_POLYLINE&&"polyline"===h,onPress:this._handlePolylineTap,title:y(be.Z.polylineAnnotation),forceHide:o(ne.om),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polyline",disabled:b},note:{className:"PSPDFKit-Toolbar-Button-Note-Annotation",selected:n===he.A.NOTE&&"note"===h,onPress:this._handleNoteTap,onKeyPress:this._handleNoteKeyPress,title:y(be.Z.noteAnnotation),forceHide:o(ne.Qi),responsiveGroup:"annotate",preset:"note",disabled:b},comment:{className:"PSPDFKit-Toolbar-Button-Comment-Marker-Annotation",selected:n===he.A.COMMENT_MARKER,title:y(be.Z.comment),onPress:this._handleCommentMarkerTap,onKeyPress:this._handleCommentMarkerKeyPress,forceHide:o(ne.Jn),responsiveGroup:"annotate",disabled:b},signature:{className:"PSPDFKit-Toolbar-Button-InkSignature-Annotation PSPDFKit-Toolbar-Button-Signature",selected:n===he.A.INK_SIGNATURE||n===he.A.SIGNATURE,onPress:this._handleSignatureTap,title:y(be.Z.sign),forceHide:s===ve.H.NONE||a||o(ne.Zc)&&s!==ve.H.ELECTRONIC_SIGNATURES,responsiveGroup:"annotate",preset:s===ve.H.ELECTRONIC_SIGNATURES?"es-signature":"ink-signature",disabled:b},"redact-text-highlighter":{className:"PSPDFKit-Toolbar-Button-RedactTextHighlighter-Annotation",selected:n===he.A.REDACT_TEXT_HIGHLIGHTER,onPress:this._handleRedactTextHighlighterTap,title:y(be.Z.textRedaction),forceHide:o(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:b},"redact-rectangle":{className:"PSPDFKit-Toolbar-Button-Redaction-Annotation PSPDFKit-Toolbar-Button-Rectangle-Redaction-Annotation",selected:n===he.A.REDACT_SHAPE_RECTANGLE,onPress:this._handleRedactRectangleTap,title:y(be.Z.areaRedaction),forceHide:o(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:b},"form-creator":{className:"PSPDFKit-Toolbar-Button-Form-Creator",selected:(0,Pe.fF)(n),onPress:this.handleFormDesignerTap,title:y(be.Z.formCreator),forceHide:o(ne.x_),disabled:b},pan:{className:"PSPDFKit-Toolbar-Button-Pan",selected:n===he.A.PAN,onPress:this._handlePanTap,title:y(Fe.panMode),forceHide:de.Ni,disabled:b},print:{className:"PSPDFKit-Toolbar-Button-Print",onPress:this._handlePrintTap,title:y(Fe.print),disabled:!l||b},"document-editor":{className:"PSPDFKit-Toolbar-Button-Document-Editor",onPress:this._handleDocumentEditorTap,title:y(be.Z.documentEditor),dropdownGroup:"editor",disabled:b},"document-crop":{className:"PSPDFKit-Toolbar-Button-Document-Crop",onPress:this.handleCropTap,title:y(be.Z.documentCrop),dropdownGroup:"editor",selected:n===he.A.DOCUMENT_CROP,disabled:b},"document-comparison":{className:"PSPDFKit-Toolbar-Button-Document-Comparison",onPress:this.handleDocumentComparisonTap,title:y(be.Z.documentComparison),dropdownGroup:"editor",forceHide:!r,selected:i,disabled:b},search:{className:"PSPDFKit-Toolbar-Button-Search",selected:n===he.A.SEARCH,onPress:this._handleSearchTap,title:y(be.Z.searchDocument),disabled:b},text:{className:"PSPDFKit-Toolbar-Button-Text-Annotation",selected:n===he.A.TEXT&&"text"===this.state.lastSelectedToolbarItemType,onPress:this._handleTextTap,onKeyPress:this._handleTextKeyPress,title:y(be.Z.textAnnotation),forceHide:o(ne.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"text",disabled:b},callout:{className:"PSPDFKit-Toolbar-Button-Callout-Annotation",selected:n===he.A.CALLOUT&&"callout"===this.state.lastSelectedToolbarItemType,onPress:this.handleCalloutTap,title:y(be.Z.calloutAnnotation),forceHide:o(ne.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"callout",disabled:b},"zoom-mode":De({mediaQueries:[de.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},u===ge.c.FIT_TO_VIEWPORT?{className:"PSPDFKit-Toolbar-Button-Fit-To-Width",onPress:this._handleFitToWidthTap,title:y(Fe.fitWidth),type:"fit-width",disabled:b}:{className:"PSPDFKit-Toolbar-Button-Fit-To-Page",onPress:this._handleFitToBothTap,title:y(Fe.fitPage),type:"fit-page",disabled:b}),"zoom-out":{className:"PSPDFKit-Toolbar-Button-Zoom-Out",disabled:p,onPress:this._handleZoomOutTap,title:y(Fe.zoomOut),mediaQueries:[de.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},"zoom-in":{className:"PSPDFKit-Toolbar-Button-Zoom-In",disabled:d,onPress:this._handleZoomInTap,title:y(Fe.zoomIn),mediaQueries:[de.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},undo:{className:"PSPDFKit-Toolbar-Button-Undo",disabled:!m||b,onPress:this._handleUndoTap,title:y(Fe.undo),forceHide:a,responsiveGroup:"annotate"},redo:{className:"PSPDFKit-Toolbar-Button-Redo",disabled:!g||b,onPress:this._handleRedoTap,title:y(Fe.redo),forceHide:a,responsiveGroup:"annotate"},"marquee-zoom":{className:"PSPDFKit-Toolbar-Button-Marquee-Zoom",selected:n===he.A.MARQUEE_ZOOM,onPress:this._handleMarqueeZoomTap,title:y(Fe.marqueeZoom),disabled:b},spacer:{},pager:{disabled:b},"layout-config":{mediaQueries:[`(min-width: ${fe.Options.BREAKPOINT_SM_TOOLBAR+1}px)`],disabled:b},"multi-annotations-selection":{className:"PSPDFKit-Toolbar-Button-Multiple-Annotations-Selection",selected:n===he.A.MULTI_ANNOTATIONS_SELECTION,onPress:this._handleMultiAnnotationsSelectionTap,title:y(be.Z.multiAnnotationsSelection),disabled:!v||b},annotate:{className:"PSPDFKit-Toolbar-Button-Annotate",onPress:this._handleAnnotateResponsiveGroupTap,title:y(be.Z.annotations),forceHide:o(ne.q6),mediaQueries:[`(max-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`],disabled:b},measure:{className:"PSPDFKit-Toolbar-Button-Measurement-Annotation",selected:n===he.A.MEASUREMENT||n===he.A.DISTANCE||n===he.A.PERIMETER||n===he.A.RECTANGLE_AREA||n===he.A.POLYGON_AREA||n===he.A.ELLIPSE_AREA,onPress:this._handleMeasurementTap,title:y(be.Z.measurement),forceHide:o(ne.q6),responsiveGroup:"annotate",preset:"measurement",disabled:b},"responsive-group":{onPress:(e,t)=>this._handleResponsiveGroupTap(t),disabled:b},"sidebar-thumbnails":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Thumbnails",title:y(Fe.thumbnails),onPress:this._handleThumbnailsSidebarTap,selected:f===me.f.THUMBNAILS,dropdownGroup:"sidebar",disabled:b},"sidebar-document-outline":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Document-Outline",title:y(Fe.outline),onPress:this._handleDocumentOutlineSidebarTap,selected:f===me.f.DOCUMENT_OUTLINE,dropdownGroup:"sidebar",disabled:b},"sidebar-annotations":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Annotations",title:y(be.Z.annotations),onPress:this._handleAnnotationsSidebarTap,selected:f===me.f.ANNOTATIONS,dropdownGroup:"sidebar",disabled:b},"sidebar-bookmarks":{className:"PSPDFKit-Toolbar-Button-Bookmarks PSPDFKit-Toolbar-Button-Sidebar-Bookmarks",title:y(be.Z.bookmarks),onPress:this._handleBookmarksSidebarTap,selected:f===me.f.BOOKMARKS,dropdownGroup:"sidebar",disabled:b},"export-pdf":{className:"PSPDFKit-Toolbar-Button-Export-PDF",title:y(be.Z.export),onPress:this._handleExportPDFTap,disabled:!c||b,selected:!1},"content-editor":{className:"PSPDFKit-Toolbar-Button-Content-Editor",onPress:this._handleContentEditorTap,title:y(be.Z.contentEditor),selected:n===he.A.CONTENT_EDITOR}}}))),(0,o.Z)(this,"_prepareToolbarItems",(0,l.Z)(((e,t,n,o,r,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,S)=>{const P=this._getBuiltInDefaults(e,t,n,r,i,a,o,s,l,c,u,d,p,f,y,b,w,S),E=a?h:(0,le.q1)(h,P,m),x=(0,le.DQ)(E,P),D=a?function(e){return e.filter((e=>Ae.includes(e.get("type"))))}(x):x,C=(0,le.Ut)((0,le.hJ)(D)),k=(0,le.Ut)(D,!0,g);return{items:C,groupedItems:this.getDropdownGroupGroupedItems(C),groupedResponsiveItems:this.getDropdownGroupGroupedItems(k)}}))),(0,o.Z)(this,"_onMediaQueryUpdate",(()=>{var e;null!==(e=this.props.frameWindow)&&void 0!==e&&e.matchMedia("print").matches||this.setState({mediaQueryDidUpdate:{}})})),(0,o.Z)(this,"_updateMediaQueryListener",(()=>{const{intl:e,debugMode:t,interactionMode:n,isAnnotationTypeReadOnly:o,isDocumentComparisonAvailable:r,currentDocumentComparisonMode:i,isDocumentReadOnly:a,signatureFeatureAvailability:s,printingEnabled:l,exportEnabled:c,zoomMode:u,maxZoomReached:d,minZoomReached:p,sidebarMode:f,items:h,canUndo:m,canRedo:g,isMultiSelectionEnabled:v}=this.props,y=this._getBuiltInDefaults(e,t,n,o,r,!!i,a,s,l,c,u,d,p,f,this.state.lastSelectedToolbarItemType,m,g,v),b=(0,le.se)(h,y);b.forEach((e=>{var t;if(this._mediaListeners.hasOwnProperty(e))return;const n=null===(t=this.props.frameWindow)||void 0===t?void 0:t.matchMedia(e);null==n||n.addListener(this._onMediaQueryUpdate),this._mediaListeners[e]=n})),Object.keys(this._mediaListeners).filter((e=>!b.includes(e))).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]}))})),(0,o.Z)(this,"_handleKeyPress",(e=>{e.keyCode===p.zz&&this.state.activeResponsiveGroup&&this._handleResponsiveGroupClose()})),(0,o.Z)(this,"_handleOnPress",(function(t,n,o,r,i){let a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0;(0,le.Li)(r)&&e.setState({lastSelectedToolbarItemType:r}),(0,f.dC)((()=>{a&&s?s(n,o,i,a):t(n,o,i,a),e.props.dispatch((0,S.qB)(a))}))})),(0,o.Z)(this,"DropdownItemComponent",r.forwardRef(((e,t)=>{if(!e.item)return null;const n=e.item.item,o=e.item.index,{isSelectedItem:r,state:i,itemComponentProps:a}=e;return Oe(this.props,De(De({},n),{},{className:s()(n.className,{[A().dropdownButtonSelected]:null==i?void 0:i.includes("selected"),[A().dropdownButtonDisabled]:null==i?void 0:i.includes("disabled"),[A().dropdownButtonFocused]:null==i?void 0:i.includes("focused")}),onPress:r?n.onPress:void 0}),o,this._handleOnPress,!r,t,a)}))),(0,o.Z)(this,"_renderGroupedItems",(e=>{let{groupedItems:t,classNamePartial:n}=e;return t.map(((e,t)=>Array.isArray(e)?e.length<2?Oe(this.props,e[0].item,e[0].index,this._handleOnPress,!1,0===t?this.itemToFocusRef:void 0):r.createElement(te.Z,{frameWindow:this.props.frameWindow,items:e,disabled:e.every((e=>e.item.disabled)),ItemComponent:this.DropdownItemComponent,role:"menu",onSelect:(t,n)=>{const{onPress:o,id:r,type:i,preset:a,disabled:s}=n.item;if(!s&&(e.forEach((e=>{delete e.item.selected})),o)){const e="keydown"===t.type;this._handleOnPress(o,t,r,i,a,e)}},isActive:e.some((e=>e.item.selected)),key:`toolbar-items-group-${t}-${n}`,caretDirection:this.props.toolbarPlacement===ye.p.TOP?"down":"up",ref:0===t?this.itemToFocusRef:void 0}):Oe(this.props,e.item,e.index,this._handleOnPress,!1,0===t||e.item.type===this.state.prevActiveGroup?this.itemToFocusRef:void 0)))}))}static getDerivedStateFromProps(e,t){let n=null;if(e.interactionMode&&e.interactionMode in le.FO){const t=le.FO[e.interactionMode];Array.isArray(t)?n=e.currentItemPreset&&t.includes(e.currentItemPreset)?e.currentItemPreset:t[0]:"string"==typeof t&&(n=t)}return n!==t.lastSelectedToolbarItemType?{lastSelectedToolbarItemType:n,currentPageIndex:e.currentPageIndex}:{currentPageIndex:e.currentPageIndex}}getDropdownGroupGroupedItems(e){let t=(0,i.aV)();const n={};return e.forEach(((e,o)=>{const r=(0,i.D5)({index:o,item:e}),a=e.get("dropdownGroup");a?void 0!==n[a]?t=t.update(n[a],(e=>e instanceof i.aV?e.push(r):e)):(n[a]=t.size,t=t.push((0,i.aV)([r]))):t=t.push(r)})),t.toJS()}componentDidUpdate(e,t){this._updateMediaQueryListener();const n=t&&!t.activeResponsiveGroup&&this.state.activeResponsiveGroup,o=t&&t.activeResponsiveGroup&&!this.state.activeResponsiveGroup;(n||o)&&this.itemToFocusRef.current&&this.itemToFocusRef.current.focus()}componentDidMount(){this._updateMediaQueryListener()}componentWillUnmount(){Object.keys(this._mediaListeners).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]}))}shouldComponentUpdate(e,t){const n=De(De({},e),{},{currentPageIndex:this.props.currentPageIndex}),o=De(De({},t),{},{currentPageIndex:this.state.currentPageIndex});return h.O.bind(this)(n,o)}render(){const{props:e}=this,{intl:t,debugMode:n,interactionMode:o,isDocumentReadOnly:i,isAnnotationTypeReadOnly:a,isDocumentComparisonAvailable:s,currentDocumentComparisonMode:l,signatureFeatureAvailability:c,printingEnabled:u,exportEnabled:p,zoomMode:f,maxZoomReached:h,minZoomReached:m,sidebarMode:g,items:v,frameWindow:y,toolbarPlacement:b,canUndo:w,canRedo:S,isMultiSelectionEnabled:P}=e,{formatMessage:E}=t,{activeResponsiveGroup:x,mediaQueryDidUpdate:D,lastSelectedToolbarItemType:C}=this.state,{groupedItems:k,groupedResponsiveItems:O}=this._prepareToolbarItems(t,n,o,i,a,s,!!l,c,u,p,f,h,m,g,v,y,x,D,C,w,S,P),T=x&&O.length,I=T?this._renderGroupedItems({groupedItems:O,classNamePartial:"groupedResponsiveItems"}):this._renderGroupedItems({groupedItems:k,classNamePartial:"groupedItems"}),F=T&&k.filter((e=>!Array.isArray(e))).find((e=>e.item.id===x)),M=F&&F.item?F.item.title:void 0,_=v.some((e=>"image"===e.get("type")));return r.createElement("div",{className:`PSPDFKit-Toolbar ${A().root}`,onKeyDown:this._handleKeyPress},T?null:I,r.createElement(ee.Z,{onClose:this._handleResponsiveGroupClose,isPrimary:!0,position:b===ye.p.TOP?"top":"bottom",accessibilityLabel:M},T?I:null),_&&r.createElement(d.TX,{tag:"div"},r.createElement("input",{ref:this.imagePickerRef,"aria-label":E(Fe.selectImage),"aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, application/pdf",onChange:this._handleImageSelect,tabIndex:-1})))}}function Oe(e,t,n,o,i,a,l){switch(t.type){case"spacer":return r.createElement("div",{style:{flex:1},key:`spacer-${n}`});case"pager":return r.createElement(J,{dispatch:e.dispatch,pages:e.pages,totalPages:e.totalPages,key:e.currentPageIndex.toString(),readOnly:e.scrollMode===w.G.DISABLED});case"layout-config":var c;return r.createElement(K,{dispatch:e.dispatch,key:"layout-config",className:t.className,icon:t.icon,layoutMode:e.layoutMode,scrollMode:e.scrollMode,caretDirection:e.toolbarPlacement===ye.p.TOP?"down":"up",frameWindow:e.frameWindow,disabled:null!==(c=t.disabled)&&void 0!==c&&c});default:{const{type:e,id:c,className:u,disabled:d,selected:p,icon:f,title:h,onPress:m,preset:g,onKeyPress:v}=t;return"custom"===e&&t.node?r.createElement(Q.Z,{node:t.node,className:u,onPress:m?t=>o(m,t,c,e,g):void 0,title:h,disabled:d,selected:p,ref:a,itemComponentProps:l,key:`custom-node-${n}`}):r.createElement(k.Z,{type:e,className:s()(u,i?A().dropdownButton:A().toolbarButton),disabled:d,selected:p,icon:f,title:h,onPress:m?(t,n)=>o(m,t,c,e,g,n,v):void 0,key:`${e}-${n}`,children:i?h:void 0,role:i?"menuitem":void 0,ref:a,itemComponentProps:l,doNotAutoFocusOnFirstItem:!0})}}}const Ae=["pan","zoom-in","zoom-out","fit-page","fit-width","spacer","export-pdf","document-comparison"];function Te(e,t){return 1===t.filter((t=>{var n;return null===(n=t.get("type"))||void 0===n?void 0:n.startsWith(e)})).size}const Ie=(0,c.XN)(ke),Fe=(0,c.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Show or hide the thumbnails sidebar"},outline:{id:"outline",defaultMessage:"Outline",description:"Show or hide the document outline sidebar"},panMode:{id:"panMode",defaultMessage:"Pan Mode",description:"Activate and deactivate the pan mode (the hand cursor to move the page)"},zoomIn:{id:"zoomIn",defaultMessage:"Zoom In",description:"Zoom in the document"},zoomOut:{id:"zoomOut",defaultMessage:"Zoom Out",description:"Zoom out the document"},undo:{id:"undo",defaultMessage:"Undo",description:"Undo a previous annotation operation"},redo:{id:"redo",defaultMessage:"Redo",description:"Redo a previous annotation operation"},marqueeZoom:{id:"marqueeZoom",defaultMessage:"Marquee Zoom",description:"Enables Marquee Zoom mode which allows to zoom to a rectangle"},fitPage:{id:"fitPage",defaultMessage:"Fit Page",description:"Fit the page in the viewer based on the bigger dimension"},fitWidth:{id:"fitWidth",defaultMessage:"Fit Width",description:"Fit the page in the document based on its width"},print:{id:"print",defaultMessage:"Print",description:"print"},selectImage:{id:"selectImage",defaultMessage:"Select Image",description:"Label for the select image field"},unsupportedImageFormat:{id:"unsupportedImageFormat",defaultMessage:"Unsupported type for image annotation: {arg0}. Please use a JPEG, PNG or PDF.",description:"Unsupported image type error."},newAnnotationCreated:{id:"newAnnotationCreated",defaultMessage:"New {arg0} annotation created.",description:"A new annotation was created."},selectAFileForImage:{id:"selectAFileForImage",defaultMessage:"Select a file for the new image annotation.",description:"Select a file from the file dialog for the new image annotation."}})},5462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var o=n(22122),r=n(84121),i=n(67294),a=n(94184),s=n.n(a),l=n(76154),c=n(41756),u=n(67665),d=n(30667),p=n(25915),f=n(35369),h=n(36095),m=n(13448),g=n(58924),v=n(91859),y=n(27435),b=n.n(y),w=n(93628),S=n.n(w),P=n(38006),E=n.n(P),x=n(20276);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t{let{selectedItem:t}=e;P&&P(F.current||(0,x._)("click"),t),F.current=null}),[P]),_=i.useRef(),N=null!==(n=i.useMemo((()=>y.find((e=>e.value===(null==w?void 0:w.value)))),[y,w]))&&void 0!==n?n:w,R=e.ItemComponent,L={root:s()("PSPDFKit-Input-Dropdown",e.isActive&&!e.disabled&&"PSPDFKit-Input-Dropdown-active","PSPDFKit-Toolbar-Dropdown",e.className,b().withDropdown,!e.isActive&&b().withDropdownIdle,e.disabled&&b().withDropdownDisabled,N&&"string"==typeof N.icon?N.icon:void 0),button:s()("PSPDFKit-Input-Dropdown-Button",b().dropdown,e.isActive&&!e.disabled&&b().isActive,{[b().discreteDropdown]:e.discreteDropdown,[b().isDisabled]:e.disabled}),menu:s()("PSPDFKit-Input-Dropdown-Items",S().root,e.menuClassName)},[B,j]=i.useState(!1),{getToggleButtonProps:z,getMenuProps:K,getItemProps:Z,getLabelProps:U,isOpen:V,selectedItem:G,highlightedIndex:W,setHighlightedIndex:q}=(0,c.L7)(C(C({items:y,itemToString:A,selectedItem:N,onHighlightedIndexChange:e=>{switch(e.type){case c.L7.stateChangeTypes.MenuKeyDownArrowDown:case c.L7.stateChangeTypes.MenuKeyDownArrowUp:case c.L7.stateChangeTypes.MenuKeyDownEscape:case c.L7.stateChangeTypes.MenuKeyDownHome:case c.L7.stateChangeTypes.MenuKeyDownEnd:case c.L7.stateChangeTypes.MenuKeyDownEnter:case c.L7.stateChangeTypes.MenuKeyDownSpaceButton:case c.L7.stateChangeTypes.MenuKeyDownCharacter:case c.L7.stateChangeTypes.FunctionSetHighlightedIndex:!B&&j(!0);break;default:B&&j(!1)}},onSelectedItemChange:t=>{"menu"!==e.role&&M(t)}},e.frameWindow?{environment:e.frameWindow}:null),{},{circularNavigation:!e.hasOwnProperty("circularNavigation")||e.circularNavigation,getA11yStatusMessage(){},getA11ySelectionMessage(){}})),H=z({onKeyDown:e=>{let{nativeEvent:t,key:n}=e;"Enter"===n&&(F.current=t)},onClick:e=>{e.target.focus&&e.target.focus()},"aria-haspopup":"menu"===e.role?"true":"listbox"}),$=K({onKeyDown:t=>{if(t.keyCode===d.zz&&V&&!e.propagateEscPress)t.stopPropagation();else if((t.keyCode===d.E$||t.keyCode===d.tW)&&W>-1&&"menu"===e.role&&V&&!y[W].disabled)F.current=t.nativeEvent,M({selectedItem:y[W]});else if(t.keyCode===d.P9&&Q>1)q(0===W?y.length:W-1);else if(t.keyCode===d.gs&&Q>1)q(W===y.length-1?0:W+1);else if(t.keyCode===d.OC&&_.current){const e=_.current.querySelector(`#${H.id}`);e&&e.focus()}}},{suppressRefError:!0}),X=U(),Y=e.ButtonComponent,J="menu"===e.role?{role:void 0,"aria-labelledby":void 0,"aria-haspopup":void 0,"aria-expanded":void 0}:{},Q=Math.min(y.length,e.maxCols||1),ee={display:"flex",flexDirection:Q>1?"row":"column",flexWrap:"wrap",width:e.itemWidth?Q*e.itemWidth:"auto",boxSizing:"content-box"},te=null!=e.icon?e.icon:{};return i.createElement("div",(0,o.Z)({className:s()(V&&"PSPDFKit-Input-Dropdown-open",L.root)},J,{"data-test-id":e["data-test-id"]}),i.createElement(p.TX,{tag:"div"},i.createElement("span",X,e.accessibilityLabel)),i.createElement("div",{ref:_,className:s()(b().wrapper,{[b().disabledWrapper]:e.disabled,[b().isDisabled]:e.disabled})},Y?Y({btnComponentProps:H,selectedItem:G,ref:t,caretDirection:e.caretDirection,disabled:null!==(r=e.disabled)&&void 0!==r&&r,isOpen:V}):i.createElement(i.Fragment,null,R({item:G,isSelectedItem:!0,state:null,ref:t}),i.createElement("button",(0,o.Z)({},C(C({},H),e.disabled?{onClick:null}:null),{className:L.button,style:{minWidth:0},type:"button"}),i.createElement(m.Z,(0,o.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:"100%"},className:s()("PSPDFKit-Toolbar-Button-Icon",b().dropdownIcon,{[b().disabledDropdownIcon]:e.disabled})},te)),i.createElement(p.TX,{tag:"div"},i.createElement("span",null,null==G?void 0:G.label))))),i.createElement(u.m,null,i.createElement(g.Z,{referenceElement:_.current,measure:V,offsets:O},(t=>{let{ref:n,style:r}=t;const l="down"===e.caretDirection;let c;c=(e.frameWindow?e.frameWindow.innerWidth:_.current.ownerDocument.defaultView.innerWidth)>=v.Fg?_.current.offsetWidth:"auto";const u=r.top,d={maxHeight:l&&"auto"!==u?`calc(100vh - ${u}px)`:void 0,overflowY:"auto"};return i.createElement("div",{ref:n,style:C({minWidth:c},r)},i.createElement("div",(0,o.Z)({},$,{className:`${L.menu} ${s()({[S().hiddenMenu]:!V})}`,style:C(C({},d),ee),onMouseLeave:()=>q(null),role:"menu"===e.role?"menu":"listbox","aria-labelledby":H["aria-label"]?void 0:$["aria-labelledby"],"aria-label":H["aria-label"],"aria-hidden":!V}),V&&y.map(((t,n)=>{var o;const r=!!G&&(G.value||t.label)===(t.value||t.label),l=function(e,t,n){return t.indexOf(e)===n}(t,y,W);let c=(0,f.l4)();t.disabled&&(c=c.add("disabled")),l&&(c=c.add("focused")),r&&(c=c.add("selected")),t.disabled||l||r||(c=c.add("default"));const u=s()("PSPDFKit-Input-Dropdown-Item",{"PSPDFKit-Input-Dropdown-Item-disabled":t.disabled,"PSPDFKit-Input-Dropdown-Item-focused":!t.disabled&&l,"PSPDFKit-Input-Dropdown-Item-selected":!t.disabled&&r,"PSPDFKit-Input-Dropdown-Item-default":!t.disabled&&!r&&!l,[E().focusVisible]:l&&B}),d=Z(C({item:t,index:n,disabled:null!==(o=t.disabled)&&void 0!==o&&o,onClick:n=>{let{nativeEvent:o}=n;t.disabled||(F.current=o,"menu"===e.role&&V&&M({selectedItem:t}))}},"menu"===e.role?{"aria-selected":void 0,role:void 0}:h.G6?{}:{"aria-selected":void 0,"aria-label":r?I(T.selectedItem,{arg0:t.label}):void 0}));return i.createElement(i.Fragment,{key:`${A(t)}${n}`},i.createElement("div",{className:u},R({item:t,isSelectedItem:!1,state:c,itemComponentProps:d})),null!=k&&(null==k?void 0:k.index)===n&&(a||(a=i.createElement(k.node,null))))})),D))}))))}const O=(0,i.memo)(i.forwardRef(k));function A(e){return null!=e&&e.label?null==e?void 0:e.label:(null!=(null==e?void 0:e.value)&&"object"==typeof e.value&&"toString"in e.value&&"function"==typeof e.value.toString&&e.value.toString(),null!=(null==e?void 0:e.value)&&"string"==typeof e.value?e.value:"N/A")}const T=(0,l.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},84747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(22122),r=n(17375),i=n(76154),a=n(67294),s=n(94184),l=n.n(s),c=n(27435),u=n.n(c),d=n(5462),p=n(97413);const f=["item"],h=["selectedItem"],m=a.memo(a.forwardRef((function(e,t){const{items:n,noInitialSelection:s,ItemComponent:c,ButtonComponent:m}=e,[b,w]=a.useState(null),{formatMessage:S}=(0,i.YB)(),P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Toolbar";return e.charAt(0).toUpperCase()+e.substr(1)}(n[0].item.dropdownGroup),E=a.useMemo((()=>n.find((e=>e.item.selected))||b||(s?null:n[0])),[n,s,b]),x=l()("PSPDFKit-Toolbar-DropdownGroup",P&&"PSPDFKit-Toolbar-DropdownGroup-"+P,e.className,E?"string"==typeof E.item.icon?E.item.icon:"string"==typeof E.item.type&&"custom"!==E.item.type?u().withDropdownIcon:void 0:void 0),D=e.items.map(g),C=E?g(E):null,k=a.useCallback((e=>{const{item:i}=e,s=(0,r.Z)(e,f),l=n.find((e=>null!=i?v(i,e):null));return a.createElement(c,(0,o.Z)({item:l},s,{ref:t}))}),[n,c,t]),O=a.useCallback((e=>{const{selectedItem:t}=e,i=(0,r.Z)(e,h),s=n.find((e=>null!=t?v(t,e):null));return(0,p.k)(s,"A dropdown item must be present for the button"),(0,p.k)(m,"A button must be available to render dropdown"),a.createElement(m,(0,o.Z)({selectedItem:s},i))}),[m,n]);return a.createElement(d.Z,{onSelect:(t,n)=>{const o=e.items.find((e=>v(n,e)));var r;null!=o&&(null===(r=e.onSelect)||void 0===r||r.call(e,t,o));if(b!==e.items.find((e=>v(n,e)))){const t=e.items.find((e=>v(n,e)));t&&w(t)}},items:D,value:C,ItemComponent:k,ButtonComponent:m?O:void 0,isActive:e.isActive,className:x,menuClassName:e.menuClassName,icon:e.icon,discreteDropdown:e.discreteDropdown,caretDirection:e.caretDirection,frameWindow:e.frameWindow,role:e.role,ref:t,accessibilityLabel:e.accessibilityLabel||S(y.accessibilityLabelDropdownGroupToggle,{arg0:P}),noInitialSelection:e.noInitialSelection,maxCols:e.maxCols,itemWidth:e.itemWidth,circularNavigation:e.circularNavigation,propagateEscPress:e.propagateEscPress,appendAfter:e.appendAfter,disabled:e.disabled},e.children)})));function g(e){var t,n,o,r;return{value:null!==(t=null!==(n=null!==(o=e.item.id)&&void 0!==o?o:e.item.title)&&void 0!==n?n:e.item.type)&&void 0!==t?t:"",icon:e.item.icon,label:null!==(r=e.item.title)&&void 0!==r?r:"",disabled:e.item.disabled}}function v(e,t){return t.item.id===e.value||t.item.title===e.value||t.item.type===e.value}const y=(0,i.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},11378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(3999);const l=r.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()("string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Node",n&&"PSPDFKit-Toolbar-Node-active",i&&"PSPDFKit-Toolbar-Node-disabled");return r.createElement(s.Z,(0,o.Z)({},e,{className:l,ref:t,itemComponentProps:e.itemComponentProps}))}))},44706:(e,t,n)=>{"use strict";n.d(t,{B:()=>f,Z:()=>h});var o=n(67294),r=n(76154),i=n(26353),a=n(84013),s=n(94184),l=n.n(s),c=n(85578),u=n.n(c),d=n(35129),p=n(11010);function f(e){let{children:t,onClose:n,isPrimary:r,position:s,intl:c,accessibilityLabel:f,onEntered:h,className:m}=e;const{formatMessage:g}=c,v=o.Children.count(t)>0;return o.createElement(a.Z,null,v&&o.createElement(i.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:150,exit:window["PSPDFKit-disable-animations"]?0:120},classNames:{enter:u().slideRightEnter,enterActive:u().slideRightEnterActive,enterDone:u().slideRightEnterDone,exit:u().slideRightExit,exitActive:u().slideRightExitActive},onEntered:h},o.createElement("div",{className:l()({[u().responsiveGroup]:!0,[u().primary]:r,[u().secondary]:!r,[u().stickToBottom]:"bottom"===s,"PSPDFKit-Toolbar-Responsive-Group":!0},m),role:"dialog","aria-label":f},o.createElement(p.Z,{type:"custom",title:g(d.Z.close),className:u().button,onPress:n},o.createElement("div",{className:u().animatedArrow})),o.createElement("div",{style:{flex:1}}),o.createElement("div",{className:u().items},t))))}const h=(0,r.XN)(f)},94505:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(13448),l=n(44364),c=n.n(l);const u=r.memo(r.forwardRef((function(e,t){const{type:n,selected:i,disabled:l,onPress:u,icon:d,role:p,title:f,doNotAutoFocusOnFirstItem:h=!1}=e,m=r.useRef(!1),g=r.useCallback((function(e){e.preventDefault(),!l&&u&&u(e.nativeEvent,m.current)}),[u,l]),v=r.useCallback((function(){m.current=!0}),[]),y=r.useCallback((function(){m.current=!1}),[]),b=(0,s.Z)({icon:d,type:n,className:a()(void 0!==e.children&&c().withLabel,"PSPDFKit-Tool-Button-Icon",e.iconClassName)}),w=e.children||(b?null:f),S=a()(c().root,i&&c().isActive,l&&c().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Tool-Button",i&&"PSPDFKit-Tool-Button-active",l&&"PSPDFKit-Tool-Button-disabled");r.useEffect((()=>{!e.presentational&&t&&t.current&&!h&&t.current.focus()}),[e.presentational,t,h]);const P=r.createElement("button",(0,o.Z)({className:S,title:f,"aria-label":f,disabled:l,onClick:u?g:void 0,onKeyDown:u?v:void 0,onPointerUp:u?y:void 0,"aria-pressed":"annotate"!==n&&"responsive-group"!==n&&void 0!==i?i:void 0},e.itemComponentProps,{role:p||(e.itemComponentProps?e.itemComponentProps.role:void 0),type:"button",ref:t}),b,null!=w&&r.createElement("span",null,w));return e.presentational?r.createElement("div",null,r.createElement("div",{className:S,title:f,"aria-hidden":"true",role:"presentation"},b)):e.disabled?r.createElement("div",{className:a()({[c().disabledWrapper]:e.disabled})},P):P})))},3999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(18571),l=n.n(s);const c=r.memo(r.forwardRef((function(e,t){const{node:n,title:i,selected:s,disabled:c}=e,u=r.useRef();r.useImperativeHandle(t,(()=>({focus:()=>{n instanceof n.ownerDocument.defaultView.HTMLElement&&n.focus()}}))),r.useLayoutEffect((()=>{const e=u&&u.current;e&&(e.innerHTML="",e.appendChild(n))}),[n]);const d=a()("PSPDFKit-Tool-Node",{"PSPDFKit-Tool-Node-active":s,"PSPDFKit-Tool-Node-disabled":c},e.className,l().root,{[l().disabled]:c,[l().annotationToolbar]:"annotationToolbar"===e.variant}),p=e.onPress?t=>{let{nativeEvent:n}=t;e.onPress&&e.onPress(n)}:void 0;return r.createElement("div",(0,o.Z)({onClick:p,className:d,title:i,"aria-label":i,tabIndex:c?-1:void 0,"aria-disabled":!!c||void 0},e.itemComponentProps,{ref:u}))})))},97528:(e,t,n)=>{"use strict";n.d(t,{Options:()=>m,W:()=>f,n:()=>v});var o=n(84121),r=n(80857),i=n(59386),a=n(83634),s=n(86071),l=n(65627),c=n(35129),u=n(24871),d=n(91859);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const f=s.Z.filter((e=>e.color!==a.Z.DARK_BLUE)),h={MIN_TEXT_ANNOTATION_SIZE:5,MIN_INK_ANNOTATION_SIZE:16,MIN_SHAPE_ANNOTATION_SIZE:16,MIN_IMAGE_ANNOTATION_SIZE:5,MIN_STAMP_ANNOTATION_SIZE:15,MIN_WIDGET_ANNOTATION_SIZE:3,ENABLE_INK_SMOOTH_LINES:!0,INK_EPSILON_RANGE_OPTIMIZATION:10,SIGNATURE_SAVE_MODE:i.f.USING_UI,INITIAL_DESKTOP_SIDEBAR_WIDTH:300,IGNORE_DOCUMENT_PERMISSIONS:!1,SELECTION_OUTLINE_PADDING:function(e){return e.width>d.y$?10:13},RESIZE_ANCHOR_RADIUS:function(e){return e.width>d.y$?7:10},SELECTION_STROKE_WIDTH:2,TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT:!0,TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT:!0,DISABLE_KEYBOARD_SHORTCUTS:!1,DEFAULT_INK_ERASER_CURSOR_WIDTH:12.5,COLOR_PRESETS:f,LINE_CAP_PRESETS:["none"].concat(u.a),LINE_WIDTH_PRESETS:null,HIGHLIGHT_COLOR_PRESETS:[a.Z.LIGHT_YELLOW,a.Z.LIGHT_BLUE,a.Z.LIGHT_GREEN,a.Z.LIGHT_RED].map((e=>({color:e,localization:c.Z[e.toCSSValue()]}))),TEXT_MARKUP_COLOR_PRESETS:s.Z.filter((e=>[a.Z.BLACK,a.Z.BLUE,a.Z.RED,a.Z.GREEN].includes(e.color))),NOTE_COLOR_PRESETS:l.W,PDF_JAVASCRIPT:!0,BREAKPOINT_MD_TOOLBAR:1070,BREAKPOINT_SM_TOOLBAR:768},m=Object.preventExtensions(function(e){for(var t=1;t{for(const t in e)g(void 0!==h[t],`Option \`${t}\` is not available in the \`Options\` object`),g(typeof h[t]==typeof e[t],`Option \`${t}\` is of incorrect type \`${typeof e[t]}\`, should be \`${typeof h[t]}\``)}},25387:(e,t,n)=>{"use strict";n.d(t,{$8O:()=>Eo,$Jy:()=>Tt,$VE:()=>ht,$hO:()=>Ft,A8G:()=>Pe,AIf:()=>et,ArU:()=>Zn,B1n:()=>nt,BS3:()=>o,BWS:()=>se,Ce5:()=>g,D1d:()=>no,D5x:()=>Un,D_w:()=>$t,Dj2:()=>ue,Dl4:()=>q,Dqw:()=>uo,Dzg:()=>it,Ebp:()=>Fo,EpY:()=>kn,F6q:()=>Rt,FH6:()=>At,FHt:()=>M,FQb:()=>Go,FdD:()=>yt,G5w:()=>de,G6t:()=>wo,G8_:()=>Qt,GHc:()=>l,GW4:()=>pe,GXR:()=>qe,GZZ:()=>ze,GfR:()=>H,Gkm:()=>yo,Gox:()=>Wn,HS7:()=>Et,HYy:()=>Ro,Han:()=>zo,Hbz:()=>pt,Hrp:()=>s,IFt:()=>mn,ILc:()=>Pt,Ifu:()=>_t,IyB:()=>eo,J7J:()=>He,JQC:()=>Q,JRS:()=>Gn,JS9:()=>Qe,JwD:()=>Oe,JyO:()=>$e,K26:()=>dt,KA1:()=>Hn,KYU:()=>V,Kc8:()=>rn,Kpf:()=>zn,KqR:()=>rt,Kw7:()=>on,L2A:()=>co,L8n:()=>ct,L9g:()=>W,Lyo:()=>E,M3C:()=>at,M85:()=>St,ME7:()=>y,MGL:()=>po,MOe:()=>Fe,MYU:()=>$n,MfE:()=>ae,MuN:()=>fe,NAH:()=>ge,NB4:()=>wt,NDs:()=>Xe,NfO:()=>K,Nl1:()=>G,Oh4:()=>Xt,Q2U:()=>hn,QU3:()=>le,QYP:()=>j,Qm9:()=>fo,R1i:()=>ke,R7l:()=>mo,R8P:()=>Dt,RCc:()=>ie,RPc:()=>gn,RTr:()=>h,RvB:()=>je,RxB:()=>k,S$y:()=>Je,S0t:()=>yn,SdX:()=>Po,T3g:()=>io,TG1:()=>Qo,TPT:()=>Me,TUA:()=>We,TYu:()=>so,Ty$:()=>sn,U7k:()=>Lo,UFK:()=>R,UFs:()=>re,UII:()=>u,UL9:()=>Qn,UP4:()=>xo,UX$:()=>Yn,UiQ:()=>Ce,Ui_:()=>Kt,VK7:()=>Ut,VNM:()=>Xo,VNu:()=>lr,VOt:()=>Io,Vje:()=>ir,Vpf:()=>go,Vu4:()=>Ye,W0l:()=>nn,WaW:()=>Tn,Whn:()=>Yt,WmI:()=>Ko,WsN:()=>tr,WtY:()=>v,Wyx:()=>qt,XTO:()=>ar,Xlm:()=>Z,Y4:()=>No,YHT:()=>d,YIz:()=>ut,YS$:()=>bn,ZDQ:()=>tt,ZGb:()=>T,ZLr:()=>p,ZbY:()=>fn,ZgW:()=>Bo,Zt9:()=>sr,_33:()=>Bn,_AY:()=>Mt,_Qf:()=>Ln,_TO:()=>Dn,_Yi:()=>Le,_fK:()=>dn,_ko:()=>F,_n_:()=>we,_uU:()=>ne,a33:()=>Te,aWu:()=>Ee,aYj:()=>L,b0l:()=>be,b4I:()=>Ho,bM3:()=>ur,bOH:()=>jo,bP3:()=>J,bV3:()=>xn,bVL:()=>Mn,bui:()=>On,bxr:()=>I,bzW:()=>qo,c3G:()=>Be,cbv:()=>Ge,ciU:()=>Mo,ckI:()=>gt,cyk:()=>U,dCo:()=>b,dEe:()=>Sn,dVW:()=>en,eFQ:()=>lt,eI4:()=>Y,eJ4:()=>to,esN:()=>jt,f3N:()=>Ie,fAF:()=>wn,fDl:()=>Ht,fLm:()=>_o,fQw:()=>Oo,faS:()=>Nn,fnw:()=>w,fwq:()=>bo,g30:()=>Ve,g4f:()=>P,gF5:()=>Ct,gIV:()=>It,gbd:()=>f,hC8:()=>cn,heZ:()=>m,hlI:()=>Se,hpj:()=>B,ht3:()=>_,huI:()=>Ot,hv0:()=>X,hw0:()=>qn,hxO:()=>vt,iJ2:()=>zt,iMs:()=>Pn,iQZ:()=>$,iZ1:()=>un,ieh:()=>In,iwn:()=>_n,iyZ:()=>_e,jJ7:()=>Jt,joZ:()=>ko,jzI:()=>xt,kD6:()=>Co,kRo:()=>N,kVz:()=>Fn,kg:()=>bt,kt4:()=>ao,l$y:()=>Do,lD1:()=>ce,lRe:()=>Cn,m3$:()=>Zt,mE7:()=>C,mGH:()=>tn,mLh:()=>S,m_C:()=>rr,mbD:()=>Xn,mfU:()=>Jo,mqf:()=>Ke,nFn:()=>Nt,nI6:()=>Zo,nmm:()=>r,oE1:()=>xe,oWy:()=>De,oZW:()=>Uo,obk:()=>vn,odo:()=>Vo,oj5:()=>c,p1u:()=>Bt,pNz:()=>En,pnu:()=>ot,poO:()=>ln,qKG:()=>vo,qRJ:()=>an,qV6:()=>oe,qZT:()=>Lt,qh0:()=>oo,rWQ:()=>ye,rm:()=>ro,rpU:()=>Vn,rxv:()=>a,sCM:()=>kt,sYK:()=>ft,skc:()=>ee,snK:()=>er,snh:()=>te,syg:()=>O,t$K:()=>Wo,tC1:()=>Rn,tIQ:()=>dr,tLW:()=>Ze,tPZ:()=>ve,tS$:()=>Ue,tYC:()=>me,teI:()=>ho,tie:()=>st,tzG:()=>nr,u7V:()=>Gt,u9b:()=>A,uFU:()=>pn,uOP:()=>Yo,uo5:()=>To,vBn:()=>$o,vSH:()=>Re,vVk:()=>An,vgx:()=>lo,vkF:()=>So,wG7:()=>jn,wPI:()=>Kn,wgG:()=>cr,wog:()=>Jn,wtk:()=>D,x0v:()=>Ae,xYE:()=>x,xhM:()=>Ao,xk1:()=>he,yET:()=>Vt,yPS:()=>or,yrz:()=>mt,yyM:()=>Ne,zGM:()=>Wt,zKF:()=>z,zZV:()=>i});const o="CONNECTING",r="CONNECTED",i="CONNECTION_FAILED",a="SET_ANNOTATION_MANAGER",s="SET_BOOKMARK_MANAGER",l="SET_FORM_FIELD_VALUE_MANAGER",c="SET_FORM_FIELD_MANAGER",u="SET_COMMENT_MANAGER",d="SET_MENTIONABLE_USERS",p="SET_MAX_MENTION_SUGGESTIONS",f="SET_CHANGE_MANAGER",h="SET_HAS_FETCHED_INITIAL_RECORDS_FROM_INSTANT",m="SET_GROUP",g="SET_CLIENTS_UPDATE_CALLBACK",v="SET_TRANSFORM_CLIENT_TO_PAGE",y="FETCH_DOCUMENT_SUCCESS",b="FETCH_PAGES_SUCCESS",w="SET_BACKEND_PERMISSIONS",S="SCROLLED",P="JUMP_TO_RECT",E="JUMP_AND_ZOOM_TO_RECT",x="RESIZED",D="NEXT_PAGE",C="PREVIOUS_PAGE",k="SET_PAGE",O="SET_ZOOM_LEVEL",A="SET_ZOOM_STEP",T="SET_VIEWPORT_STATE",I="SET_SPREAD_SPACING",F="SET_PAGE_SPACING",M="SET_FIRST_PAGE_ALWAYS_SINGLE",_="SET_VIEWPORT_PADDING",N="ENABLE_PANNING",R="DISABLE_PANNING",L="ENABLE_PRINTING",B="DISABLE_PRINTING",j="ENABLE_EXPORT",z="DISABLE_EXPORT",K="ENABLE_READ_ONLY",Z="DISABLE_READ_ONLY",U="SHOW_ANNOTATIONS",V="HIDE_ANNOTATIONS",G="SHOW_COMMENTS",W="HIDE_COMMENTS",q="SHOW_ANNOTATION_NOTES",H="HIDE_ANNOTATION_NOTES",$="SET_FEATURES",X="SET_SIDEBAR_MODE",Y="SET_SIDEBAR_PLACEMENT",J="SET_SIDEBAR_OPTIONS",Q="SET_SIGNATURE_FEATURE_AVAILABILITY",ee="START_PRINTING",te="END_PRINTING",ne="ABORT_PRINTING",oe="UPDATE_PRINT_LOADING_INDICATOR",re="ZOOM_IN",ie="ZOOM_OUT",ae="ZOOM_TO_AUTO",se="ZOOM_TO_FIT_TO_VIEWPORT",le="ZOOM_TO_FIT_TO_WIDTH",ce="ROTATE",ue="ENABLE_DEBUG_MODE",de="SHOW_DEBUG_CONSOLE",pe="HIDE_DEBUG_CONSOLE",fe="SHOW_TOOLBAR",he="HIDE_TOOLBAR",me="ENABLE_ANNOTATION_TOOLBAR",ge="DISABLE_ANNOTATION_TOOLBAR",ve="SET_SCROLLBAR_OFFSET",ye="SET_LAYOUT_MODE",be="SET_SCROLL_MODE",we="SET_SCROLL_ELEMENT",Se="SET_ANNOTATION_CREATOR",Pe="SET_ANNOTATION_TOOLBAR_HEIGHT",Ee="UPDATE_TOOLBAR_ITEMS",xe="UPDATE_CURRENT_PRESET",De="SET_CURRENT_ITEM_PRESET",Ce="UPDATE_ANNOTATION_PRESETS",ke="ADD_ANNOTATION_PRESET_ID",Oe="SET_CURRENT_ITEM_PRESET_FROM_ANNOTATION",Ae="REMOVE_ANNOTATION_PRESET_ID",Te="DESELECT",Ie="TEXT_SELECTED",Fe="TEXT_DESELECTED",Me="SET_ANNOTATION_HOVER",_e="UNSET_ANNOTATION_HOVER",Ne="SET_ANNOTATION_NOTE_HOVER",Re="SET_ACTIVE_ANNOTATION_NOTE",Le="SET_SELECTED_ANNOTATIONS",Be="UNSET_SELECTED_ANNOTATION_SHOULD_DRAG",je="SET_SELECTED_TEXT_ON_EDIT",ze="FETCH_TEXT_LINES_SUCCESS",Ke="ENABLE_TEXT_HIGHLIGHTER_MODE",Ze="DISABLE_TEXT_HIGHLIGHTER_MODE",Ue="ENABLE_REDACT_TEXT_HIGHLIGHTER_MODE",Ve="DISABLE_REDACT_TEXT_HIGHLIGHTER_MODE",Ge="ENABLE_REDACT_SHAPE_RECTANGLE_MODE",We="DISABLE_REDACT_SHAPE_RECTANGLE_MODE",qe="ENABLE_INK_MODE",He="DISABLE_INK_MODE",$e="ENABLE_INK_ERASER_MODE",Xe="DISABLE_INK_ERASER_MODE",Ye="ENABLE_SIGNATURE_MODE",Je="DISABLE_SIGNATURE_MODE",Qe="ENABLE_SHAPE_MODE",et="DISABLE_SHAPE_MODE",tt="ENABLE_NOTE_MODE",nt="DISABLE_NOTE_MODE",ot="ENABLE_TEXT_MODE",rt="DISABLE_TEXT_MODE",it="ENABLE_STAMP_PICKER_MODE",at="ENABLE_STAMP_CUSTOM_MODE",st="DISABLE_STAMP_MODE",lt="ENABLE_INTERACTIONS",ct="DISABLE_INTERACTIONS",ut="SHOW_DOCUMENT_EDITOR",dt="HIDE_DOCUMENT_EDITOR",pt="ENABLE_MARQUEE_ZOOM",ft="DISABLE_MARQUEE_ZOOM",ht="SET_INTERACTION_MODE",mt="RESET_INTERACTION_MODE",gt="CREATE_COMMENTS",vt="CREATE_COMMENT_DRAFT",yt="UPDATE_COMMENTS",bt="DELETE_COMMENTS",wt="COMPUTE_COMMENT_MODE",St="CREATE_ANNOTATIONS",Pt="CREATE_INK_ANNOTATION_ON_NEW_PAGE",Et="CREATE_SHAPE_ANNOTATION_ON_NEW_PAGE",xt="CREATE_REDACTION_ANNOTATION_ON_NEW_PAGE",Dt="UPDATE_ANNOTATIONS",Ct="DELETE_ANNOTATIONS",kt="SET_ANNOTATIONS_TO_DELETE",Ot="CREATE_ATTACHMENT",At="SEARCH_FOR_TERM",Tt="FOCUS_NEXT_SEARCH_HIGHLIGHT",It="FOCUS_PREVIOUS_SEARCH_HIGHLIGHT",Ft="SHOW_SEARCH",Mt="HIDE_SEARCH",_t="FOCUS_SEARCH",Nt="BLUR_SEARCH",Rt="SET_SEARCH_IS_LOADING",Lt="SET_SEARCH_RESULTS",Bt="SET_SEARCH_STATE",jt="SET_SEARCH_PROVIDER",zt="SET_FORM_JSON",Kt="CREATE_FORM_FIELD_VALUES",Zt="SET_FORM_FIELD_VALUES",Ut="SET_FORMATTED_FORM_FIELD_VALUES",Vt="SET_EDITING_FORM_FIELD_VALUES",Gt="DELETE_FORM_FIELD_VALUES",Wt="CREATE_FORM_FIELDS",qt="UPDATE_FORM_FIELDS",Ht="REPLACE_FORM_FIELD",$t="DELETE_FORM_FIELDS",Xt="SET_DOCUMENT_OUTLINE",Yt="TOGGLE_DOCUMENT_OUTLINE_ELEMENT",Jt="SET_CUSTOM_OVERLAY_ITEM",Qt="REMOVE_CUSTOM_OVERLAY_ITEM",en="I18N_SET_LOCALE",tn="CREATE_SIGNATURE",nn="STORE_SIGNATURE",on="SET_STORED_SIGNATURES",rn="DELETE_STORED_SIGNATURE",an="UPDATE_STAMP_ANNOTATION_TEMPLATES",sn="SHOW_PASSWORD_PROMPT",ln="SET_HAS_PASSWORD",cn="UNLOCKED_VIA_MODAL",un="SET_ALLOWED_TILE_SCALES",dn="UPDATE_SELECTED_MARKUP_ANNOTATIONS",pn="SET_IS_EDITABLE_ANNOTATION",fn="SET_EDITABLE_ANNOTATION_TYPES",hn="SET_IS_EDITABLE_COMMENT",mn="SET_FORM_DESIGN_MODE",gn="SET_INK_ERASER_WIDTH",vn="RESET_DOCUMENT_STATE",yn="SET_DOCUMENT_HANDLE",bn="SET_DOCUMENT_HANDLE_OUTDATED",wn="UPDATE_CUSTOM_RENDERERS",Sn="ENABLE_COMMENT_MARKER",Pn="DISABLE_COMMENT_MARKER",En="START_DIGITAL_SIGNATURE",xn="END_DIGITAL_SIGNATURE",Dn="SET_SHOW_SIGNATURE_VALIDATION_STATUS_MODE",Cn="SET_DIGITAL_SIGNATURES",kn="START_REDACTION",On="END_REDACTION",An="SET_PREVIEW_REDACTION_MODE",Tn="SET_COLLAPSE_SELECTED_NOTE_CONTENT",In="INVALIDATE_AP_STREAMS",Fn="VALIDATE_AP_STREAMS",Mn="HISTORY_UPDATE_FROM_UNDO",_n="HISTORY_UPDATE_FROM_REDO",Nn="SET_HISTORY_CHANGE_CONTEXT",Rn="HISTORY_IDS_MAP_ADD",Ln="CLEAR_HISTORY",Bn="ENABLE_HISTORY",jn="DISABLE_HISTORY",zn="UPDATE_DOCUMENT_EDITOR_FOOTER_ITEMS",Kn="UPDATE_DOCUMENT_EDITOR_TOOLBAR_ITEMS",Zn="SET_EDITABLE_ANNOTATION_STATE",Un="SET_A11Y_STATUS_MESSAGE",Vn="SET_LAST_TOOLBAR_ACTION_USED_KEYBOARD",Gn="ENABLE_DOCUMENT_CROP_MODE",Wn="DISABLE_DOCUMENT_CROP_MODE",qn="SET_ON_ANNOTATION_RESIZE_START",Hn="SET_DOCUMENT_COMPARISON_STATE",$n="ENABLE_SCROLL_WHILE_DRAWING",Xn="DISABLE_SCROLL_WHILE_DRAWING",Yn="SET_REUSE_STATE",Jn="ENABLE_KEEP_SELECTED_TOOL",Qn="DISABLE_KEEP_SELECTED_TOOL",eo="SET_INSTANCE",to="SET_CUSTOM_UI_STORE",no="SET_SIDEBAR_WIDTH",oo="SET_READ_ONLY_ANNOTATION_FOCUS",ro="UNSET_READ_ONLY_ANNOTATION_FOCUS",io="SET_ANNOTATION_TOOLBAR_ITEMS_CALLBACK",ao="TOGGLE_CLIPBOARD_ACTIONS",so="SET_ON_WIDGET_CREATION_START_CALLBACK",lo="SET_FORM_DESIGNER_LOCAL_WIDGET_ANNOTATION",co="SET_INLINE_TOOLBAR_ITEMS_CALLBACK",uo="ADD_ANNOTATION_VARIANTS",po="ENABLE_CONTENT_EDITOR",fo="DISABLE_CONTENT_EDITOR",ho="CHANGE_CONTENT_EDITOR_SESSION_MODE",mo="ENABLE_LINK_MODE",go="DISABLE_LINK_MODE",vo="DISABLE_DRAWING_LINK_ANNOTATION_MODE",yo="SET_MEASUREMENT_SNAPPING",bo="SET_MEASUREMENT_PRECISION",wo="SET_MEASUREMENT_SCALE",So="SET_MEASUREMENT_VALUE_CONFIGURATION_CALLBACK",Po="SET_MEASUREMENT_SCALES",Eo="SET_MEASUREMENT_TOOL_STATE",xo="SET_HINT_LINES",Do="CONTENT_EDITOR/PAGE/LOADING",Co="CONTENT_EDITOR/PAGE/LOADED",ko="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/ACTIVE",Oo="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/TOGGLE",Ao="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/SELECT",To="CONTENT_EDITOR/TEXT_BLOCK/CREATE",Io="CONTENT_EDITOR/TEXT_BLOCK/UPDATE_INFO",Fo="CONTENT_EDITOR/TEXT_BLOCK/SET_FORMAT",Mo="CONTENT_EDITOR_/TEXT_BLOCK/RESIZE",_o="CONTENT_EDITOR_/TEXT_BLOCK/MOVE",No="CONTENT_EDITOR/SAVING",Ro="CONTENT_EDITOR/SET_DIRTY",Lo="CONTENT_EDITOR/FACE_LIST/LOADING",Bo="CONTENT_EDITOR/FACE_LIST/SET",jo="CONTENT_EDITOR_SET_EXIT_DIALOG",zo="CONTENT_EDITOR_SHOW_FONT_MISMATCH_TOOLTIP",Ko="CONTENT_EDITOR_HIDE_FONT_MISMATCH_TOOLTIP",Zo="CONTENT_EDITOR_FONT_MISMATCH_TOOLTIP_ABORT_CONTROLLER",Uo="ENABLE_MULTI_ANNOTATIONS_SELECTION_MODE",Vo="DISABLE_MULTI_ANNOTATIONS_SELECTION_MODE",Go="CREATE_ANNOTATION_GROUP",Wo="SET_SELECTED_GROUP",qo="DELETE_ANNOTATION_GROUP",Ho="REMOVE_ANNOTATION_FROM_GROUP",$o="SET_PULL_TO_REFRESH_STATE",Xo="SET_RICH_EDITOR_REF",Yo="FOCUS_WIDGET_ANNOTATION",Jo="SET_ON_COMMENT_CREATION_START_CALLBACK",Qo="INVALIDATE_PAGE_KEYS",er="CONTENT_EDITOR_ACTIVE_TEXT_BLOCK_DELETE",tr="CHANGE_SCROLL_STATE",nr="SET_CUSTOM_FONTS_READABLE_NAMES",or="ENABLE_MEASUREMENT_MODE",rr="DISABLE_MEASUREMENT_MODE",ir="SHOW_MEASUREMENT_SETTINGS",ar="HIDE_MEASUREMENT_SETTINGS",sr="SET_SECONDARY_MEASUREMENT_UNIT",lr="SET_ACTIVE_MEASUREMENT_SCALE",cr="SET_CALIBRATION_MODE",ur="UPDATE_PAGE_KEYS",dr="SET_DISABLE_POINT_SNAPPING"},91859:(e,t,n)=>{"use strict";n.d(t,{$P:()=>V,Bd:()=>D,Bs:()=>j,Dx:()=>O,Fg:()=>i,GI:()=>r,Hr:()=>x,J8:()=>M,Kk:()=>P,M5:()=>N,QS:()=>m,Qc:()=>$,Qq:()=>o,Qr:()=>L,RI:()=>s,SP:()=>I,Sk:()=>S,St:()=>q,Ui:()=>R,V4:()=>A,W3:()=>Y,XU:()=>f,XZ:()=>v,YJ:()=>w,_2:()=>K,c1:()=>E,cY:()=>h,g3:()=>c,gZ:()=>b,h8:()=>p,i1:()=>H,j1:()=>u,mM:()=>U,nJ:()=>B,oW:()=>_,pK:()=>k,pt:()=>X,rB:()=>G,re:()=>T,rm:()=>l,sP:()=>W,uq:()=>C,wK:()=>y,xD:()=>d,y$:()=>a,zA:()=>z,zT:()=>Z,zh:()=>g,zk:()=>F});const o=1200,r=1070,i=768,a=480,s=32768,l=18,c=50,u=a,d=a,p=320,f=250,h=.5,m=10,g=1.25,v=5,y=30,b=2,w=20,S=0,P=20,E=5,x=1,D=1536,C=512,k=512,O=5,A=1.25,T="PSPDFKit-Root",I=32,F=32,M=5,_=0,N=1,R=96/72,L=5e3,B={LOW:75/72,MEDIUM:150/72,HIGH:300/72},j=2/3,z=595,K=842,Z=50,U=96,V=2*U,G=300,W=1e3,q=4.25,H=2,$=10,X=16383,Y=4},75237:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>d,ZP:()=>g,hD:()=>m});var o=n(84121),r=n(35369),i=n(83634),a=n(15973),s=n(24871);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;tObject.keys(e).filter((t=>!f.includes(t)&&null!=e[t])).reduce(((t,n)=>(t[n]=e[n],t)),{});for(const e in d){const t=u[e];Object.getPrototypeOf(t)===a.UX?d[e]=h(c(c({},a.UX.defaultValues),t.defaultValues)):Object.getPrototypeOf(t)===a.On?d[e]=h(c(c({},a.On.defaultValues),t.defaultValues)):d[e]=h(t.defaultValues)}for(const e in p){const t=u[e];Object.getPrototypeOf(t)===a.UX?p[e]=h(c(c(c({},a.UX.defaultValues),t.defaultValues),p[e])):Object.getPrototypeOf(t)===a.On?p[e]=h(c(c(c({},a.On.defaultValues),t.defaultValues),p[e])):p[e]=h(c(c({},t.defaultValues),p[e]))}const m=(0,r.D5)([[a.FV,"highlight"],[a.xu,"underline"],[a.hL,"squiggle"],[a.R9,"strikeout"]]),g=(0,r.D5)(c(c({},d),p))},54097:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,Z:()=>a});var o=n(35369),r=n(15973);const i=[r.Xs,r.FV,r.sK,r.Zc,r.o9,r.Qi,r.Hi,r.om,r.b3,r.hL,r.GI,r.R9,r.gd,r.xu,r.x_],a=(0,o.d0)(i)},84674:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>r});var o=n(35369);const r=[{type:"cancel"},{type:"selected-pages"},{type:"spacer"},{type:"loading-indicator"},{type:"save-as"},{type:"save"}],i=(0,o.d0)(r)},98158:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,Z:()=>i});var o=n(35369);const r=[{type:"add"},{type:"remove"},{type:"duplicate"},{type:"rotate-left"},{type:"rotate-right"},{type:"move"},{type:"move-left"},{type:"move-right"},{type:"import-document"},{type:"spacer"},{type:"undo"},{type:"redo"},{type:"select-all"},{type:"select-none"}],i=(0,o.d0)(r)},79941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(15973);const r=Object.freeze([o.Xs,o.FV,o.sK,o.Zc,o.o9,o.Qi,o.Hi,o.om,o.b3,o.Wk,o.hL,o.GI,o.R9,o.gd,o.x_,o.xu,o.Jn,o.R1].filter(Boolean))},64845:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(83634);const r=new o.Z({r:70,g:54,b:227}),i={color:o.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},a=[{color:o.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}},i,{color:r,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}}]},151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(52247);const r=Object.freeze([o.M.DRAW,o.M.IMAGE,o.M.TYPE])},84760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(39745);const r=Object.freeze([new o.Z({name:"Caveat"}),new o.Z({name:"Pacifico"}),new o.Z({name:"Marck Script"}),new o.Z({name:"Meddon"})])},64125:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var o=n(15973),r=n(55237);const i=n(36095).Ni?396:240,a=new r.Z({width:i,height:i/3,left:0,top:0}),s=new r.Z({width:i,height:i,left:0,top:0}),l=Object.freeze([["Approved",a],["NotApproved",a],["Draft",a],["Final",a],["Completed",a],["Confidential",a],["ForPublicRelease",a],["NotForPublicRelease",a],["ForComment",a],["Void",a],["PreliminaryResults",a],["InformationOnly",a],["Rejected",s],["Accepted",s],["InitialHere",a],["SignHere",a],["Witness",a],["AsIs",a],["Departmental",a],["Experimental",a],["Expired",a],["Sold",a],["TopSecret",a],["Revised",a],["RejectedWithText",a]].map((e=>{let[t,n]=e;return new o.GI({stampType:t,boundingBox:n})})))},92457:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>r,_o:()=>i});const o=[{type:"sidebar-thumbnails"},{type:"sidebar-document-outline"},{type:"sidebar-annotations"},{type:"sidebar-bookmarks"},{type:"pager"},{type:"multi-annotations-selection"},{type:"pan"},{type:"zoom-out"},{type:"zoom-in"},{type:"zoom-mode"},{type:"spacer"},{type:"annotate"},{type:"ink"},{type:"highlighter"},{type:"text-highlighter"},{type:"ink-eraser"},{type:"signature"},{type:"image"},{type:"stamp"},{type:"note"},{type:"text"},{type:"callout"},{type:"line"},{type:"link"},{type:"arrow"},{type:"rectangle"},{type:"ellipse"},{type:"polygon"},{type:"cloudy-polygon"},{type:"polyline"},{type:"print"},{type:"document-editor"},{type:"document-crop"},{type:"search"},{type:"export-pdf"},{type:"debug"}],r=(0,n(35369).d0)(o),i=[...o.map((e=>e.type)),"layout-config","marquee-zoom","custom","responsive-group","comment","redact-text-highlighter","redact-rectangle","cloudy-rectangle","dashed-rectangle","cloudy-ellipse","dashed-ellipse","dashed-polygon","document-comparison","measure","undo","redo","form-creator","content-editor","distance","perimeter","rectangle-area","ellipse-area","polygon-area"]},28890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67366),r=n(25915);const i=(0,o.$j)((function(e,t){var n;let{restoreOnClose:o=!0}=t;const r=null===(n=e.frameWindow)||void 0===n?void 0:n.document;return{restoreOnCloseElement:o?null!=r&&r.hasFocus()?r.activeElement&&"function"==typeof r.activeElement.focus?r.activeElement:r.body:document.activeElement:null}}))(r.u_)},58924:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(67366),r=n(84121),i=n(67294);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class s extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"elRef",i.createRef()),(0,r.Z)(this,"state",{styles:this._calculatePositionStyles()})}_calculatePositionStyles(){var e;const{referenceElement:t,horizontalAlignment:n}=this.props,{containerRect:o,offsets:r}=this.props,i=null!==(e=null==r?void 0:r.top)&&void 0!==e?e:0,a=this.elRef.current,s=t?t.getBoundingClientRect():null,l=a?a.getBoundingClientRect():null;let c=s?s.top+s.height:0;if(null!==l&&null!==s&&s.top+s.height+l.height>o.height&&0!==s.top&&(c=Math.max(0,s.top-l.height)),!a||!s)return{top:c+i,right:"auto",left:"auto"};if(a.offsetWidth>o.width)return{top:c+i,right:0,left:0};const u=this.props.isRTL?"right":"left",d=this.props.isRTL?"left":"right";let p="left"===u?s.left:s.right;switch(n){case"center":p-=(a.offsetWidth-s.width)/2;break;case"end":p=p-a.offsetWidth+s.width}return p<0?{top:c+i,[u]:0,[d]:"auto"}:p+a.offsetWidth>o.width?{top:c+i,[d]:0,[u]:"auto"}:"auto"===n&&p>o.width/2?{top:c+i,[u]:p-a.offsetWidth+s.width,[d]:"auto"}:{top:c+i,[u]:p,[d]:"auto"}}componentDidUpdate(e){(e.containerRect!==this.props.containerRect||this.props.measure&&!e.measure)&&this.setState({styles:this._calculatePositionStyles()})}componentDidMount(){this.setState({styles:this._calculatePositionStyles()})}render(){const{children:e}=this.props,t=function(e){for(var t=1;t({containerRect:e.containerRect})))(s)},76192:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});const o={IMMEDIATE:"IMMEDIATE",INTELLIGENT:"INTELLIGENT",DISABLED:"DISABLED"}},86617:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={normal:"normal",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten",colorDodge:"colorDodge",colorBurn:"colorBurn",hardLight:"hardLight",softLight:"softLight",difference:"difference",exclusion:"exclusion"}},45395:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});const o={solid:"solid",dashed:"dashed",beveled:"beveled",inset:"inset",underline:"underline"}},87222:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});const o={SIDEBAR:"SIDEBAR",PANE:"PANE"}},94905:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={TEXT:"text"}},89849:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});const o={PASSWORD_REQUIRED:"PASSWORD_REQUIRED",CONNECTING:"CONNECTING",CONNECTED:"CONNECTED",CONNECTION_FAILED:"CONNECTION_FAILED"}},55024:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o={documentA:"documentA",documentB:"documentB",result:"result"}},9946:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={USE_OPEN_DOCUMENT:"USE_OPEN_DOCUMENT",USE_FILE_DIALOG:"USE_FILE_DIALOG"}},52247:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});const o={DRAW:"DRAW",IMAGE:"IMAGE",TYPE:"TYPE"}},67699:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});const o={DEFAULT:"DEFAULT",EXTERNAL:"EXTERNAL",HISTORY:"HISTORY"}},52842:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={POINT:"POINT",STROKE:"STROKE"}},20792:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o={TEXT_HIGHLIGHTER:"TEXT_HIGHLIGHTER",INK:"INK",INK_SIGNATURE:"INK_SIGNATURE",SIGNATURE:"SIGNATURE",STAMP_PICKER:"STAMP_PICKER",STAMP_CUSTOM:"STAMP_CUSTOM",SHAPE_LINE:"SHAPE_LINE",SHAPE_RECTANGLE:"SHAPE_RECTANGLE",SHAPE_ELLIPSE:"SHAPE_ELLIPSE",SHAPE_POLYGON:"SHAPE_POLYGON",SHAPE_POLYLINE:"SHAPE_POLYLINE",INK_ERASER:"INK_ERASER",NOTE:"NOTE",COMMENT_MARKER:"COMMENT_MARKER",TEXT:"TEXT",CALLOUT:"CALLOUT",PAN:"PAN",SEARCH:"SEARCH",DOCUMENT_EDITOR:"DOCUMENT_EDITOR",MARQUEE_ZOOM:"MARQUEE_ZOOM",REDACT_TEXT_HIGHLIGHTER:"REDACT_TEXT_HIGHLIGHTER",REDACT_SHAPE_RECTANGLE:"REDACT_SHAPE_RECTANGLE",DOCUMENT_CROP:"DOCUMENT_CROP",BUTTON_WIDGET:"BUTTON_WIDGET",TEXT_WIDGET:"TEXT_WIDGET",RADIO_BUTTON_WIDGET:"RADIO_BUTTON_WIDGET",CHECKBOX_WIDGET:"CHECKBOX_WIDGET",COMBO_BOX_WIDGET:"COMBO_BOX_WIDGET",LIST_BOX_WIDGET:"LIST_BOX_WIDGET",SIGNATURE_WIDGET:"SIGNATURE_WIDGET",DATE_WIDGET:"DATE_WIDGET",FORM_CREATOR:"FORM_CREATOR",LINK:"LINK",DISTANCE:"DISTANCE",PERIMETER:"PERIMETER",RECTANGLE_AREA:"RECTANGLE_AREA",ELLIPSE_AREA:"ELLIPSE_AREA",POLYGON_AREA:"POLYGON_AREA",CONTENT_EDITOR:"CONTENT_EDITOR",MULTI_ANNOTATIONS_SELECTION:"MULTI_ANNOTATIONS_SELECTION",MEASUREMENT:"MEASUREMENT",MEASUREMENT_SETTINGS:"MEASUREMENT_SETTINGS"}},77973:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});const o={SINGLE:"SINGLE",DOUBLE:"DOUBLE",AUTO:"AUTO"}},60132:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});const o={ANNOTATION_EDITING:"annotation_editing",FORMS:"acro_forms",DIGITAL_SIGNATURES:"digital_signatures",DOCUMENT_COMPARISON:"comparison",DOCUMENT_EDITING:"document_editing",WEB_VIEWER:"web:viewer",WEB_ANNOTATION_EDITING:"web:annotation_editing",INSTANT:"instant",SERVER_OPT_OUT_ANALYTICS:"server:disable-analytics",UI:"user_interface",TEXT_SELECTION:"text_selection",ELECTRON:"web:electron",FORM_DESIGNER:"editable_forms",COMMENTS:"comments",REDACTIONS:"redaction",ELECTRONIC_SIGNATURES:"electronic_signatures",CONTENT_EDITING:"content_editing",MEASUREMENT_TOOLS:"measurement_tools",TEXT_COMPARISON:"text_comparison"}},24871:(e,t,n)=>{"use strict";n.d(t,{a:()=>r,u:()=>o});const o={square:"square",circle:"circle",diamond:"diamond",openArrow:"openArrow",closedArrow:"closedArrow",butt:"butt",reverseOpenArrow:"reverseOpenArrow",reverseClosedArrow:"reverseClosedArrow",slash:"slash"},r=Object.values(o)},4132:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});const o={WHOLE:"whole",ONE:"oneDp",TWO:"twoDp",THREE:"threeDp",FOUR:"fourDp",HALVES:"1/2",QUARTERS:"1/4",EIGHTHS:"1/8",SIXTEENTHS:"1/16"}},36489:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});const o={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt"}},79827:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt",FEET:"ft",METERS:"m",YARDS:"yd",KILOMETERS:"km",MILES:"mi"}},56966:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o={FORM_DESIGNER_ERROR:"FORM_DESIGNER_ERROR",MEASUREMENT_ERROR:"MEASUREMENT_ERROR"}},18025:(e,t,n)=>{"use strict";n.d(t,{V9:()=>i,Y4:()=>r,Zi:()=>o});const o={COMMENT:"COMMENT",RIGHT_POINTER:"RIGHT_POINTER",RIGHT_ARROW:"RIGHT_ARROW",CHECK:"CHECK",CIRCLE:"CIRCLE",CROSS:"CROSS",INSERT:"INSERT",NEW_PARAGRAPH:"NEW_PARAGRAPH",NOTE:"NOTE",PARAGRAPH:"PARAGRAPH",HELP:"HELP",STAR:"STAR",KEY:"KEY"},r={[o.COMMENT]:"comment",[o.RIGHT_POINTER]:"rightPointer",[o.RIGHT_ARROW]:"rightArrow",[o.CHECK]:"check",[o.CIRCLE]:"circle",[o.CROSS]:"cross",[o.INSERT]:"insert",[o.NEW_PARAGRAPH]:"newParagraph",[o.NOTE]:"note",[o.PARAGRAPH]:"paragraph",[o.HELP]:"help",[o.STAR]:"star",[o.KEY]:"key"},i=Object.keys(r).reduce(((e,t)=>(e[r[t]]=t,e)),{})},63632:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});const o={PDFA_1A:"pdfa-1a",PDFA_1B:"pdfa-1b",PDFA_2A:"pdfa-2a",PDFA_2U:"pdfa-2u",PDFA_2B:"pdfa-2b",PDFA_3A:"pdfa-3a",PDFA_3U:"pdfa-3u",PDFA_3B:"pdfa-3b",PDFA_4:"pdfa-4",PDFA_4E:"pdfa-4e",PDFA_4F:"pdfa-4f"}},39511:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});const o={DOM:"DOM",EXPORT_PDF:"EXPORT_PDF"}},80440:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});const o={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"}},3150:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});const o={smallerSize:"smallerSize",fasterProcessing:"fasterProcessing"}},5038:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o={SharePoint:"SharePoint",Salesforce:"Salesforce",Maui_Android:"Maui_Android",Maui_iOS:"Maui_iOS",Maui_MacCatalyst:"Maui_MacCatalyst",Maui_Windows:"Maui_Windows"}},72131:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});let o=function(e){return e.NO="NO",e.VIA_VIEW_STATE="VIA_VIEW_STATE",e.VIA_BACKEND_PERMISSIONS="VIA_BACKEND_PERMISSIONS",e.LICENSE_RESTRICTED="LICENSE_RESTRICTED",e}({})},51731:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});const o={TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT",BOTTOM_RIGHT:"BOTTOM_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT"}},47710:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});const o={CONTINUOUS:"CONTINUOUS",PER_SPREAD:"PER_SPREAD",DISABLED:"DISABLED"}},94681:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});const o={CREDIT_CARD_NUMBER:"credit_card_number",DATE:"date",TIME:"time",EMAIL_ADDRESS:"email_address",INTERNATIONAL_PHONE_NUMBER:"international_phone_number",IP_V4:"ipv4",IP_V6:"ipv6",MAC_ADDRESS:"mac_address",NORTH_AMERICAN_PHONE_NUMBER:"north_american_phone_number",SOCIAL_SECURITY_NUMBER:"social_security_number",URL:"url",US_ZIP_CODE:"us_zip_code",VIN:"vin"}},96617:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});const o={TEXT:"text",PRESET:"preset",REGEX:"regex"}},68382:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const o={SELECTED:"SELECTED",EDITING:"EDITING"}},64494:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});const o={IF_SIGNED:"IF_SIGNED",HAS_WARNINGS:"HAS_WARNINGS",HAS_ERRORS:"HAS_ERRORS",NEVER:"NEVER"}},19702:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o={ANNOTATIONS:"ANNOTATIONS",BOOKMARKS:"BOOKMARKS",DOCUMENT_OUTLINE:"DOCUMENT_OUTLINE",THUMBNAILS:"THUMBNAILS",CUSTOM:"CUSTOM"}},65872:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});const o={START:"START",END:"END"}},37231:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});const o={signatureOnly:"signatureOnly",signatureAndDescription:"signatureAndDescription",descriptionOnly:"descriptionOnly"}},67628:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});const o={ELECTRONIC_SIGNATURES:"electronic_signatures",LEGACY_SIGNATURES:"legacy_signatures",NONE:"none"}},59386:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o={ALWAYS:"ALWAYS",NEVER:"NEVER",USING_UI:"USING_UI"}},68138:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o={LIGHT:"LIGHT",DARK:"DARK",AUTO:"AUTO"}},89e3:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});const o={TOP:"TOP",BOTTOM:"BOTTOM"}},78399:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});const o={COMMENT_THREAD:"COMMENT_THREAD",ANNOTATIONS_SIDEBAR:"ANNOTATIONS_SIDEBAR"}},28098:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});const o={AUTO:"AUTO",FIT_TO_WIDTH:"FIT_TO_WIDTH",FIT_TO_VIEWPORT:"FIT_TO_VIEWPORT",CUSTOM:"CUSTOM"}},68258:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f,sS:()=>p,z5:()=>d});var o=n(80857),r=n(29662),i=n.n(r),a=n(57742),s=n(13997),l=n(53678);const c=(0,o.Z)("I18n"),u=e=>e.split("-")[0],d=e=>{let t=e;return i().includes(t)||(t=u(t),c(i().includes(t),`The "${t}" locale is not supported. Available locales are: ${i().join(", ")}. You can also add "${t}" as a custom one with PSPDFKit.I18n.locales.push('${t}')`)),t};async function p(e){await(0,a.EV)(e),await(0,a.wP)(u(e))}const f={locales:i(),messages:a.ZP,preloadLocalizationData:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t.baseUrl&&(0,l.Pn)(t.baseUrl);const o=t.baseUrl||(0,s.SV)(window.document);n.p=o;const r=d(e);await p(r)}}},29662:e=>{e.exports=["cs","cy","da","de","el","en-GB","en","es","fi","fr-CA","fr","hr","id","it","ja","ko","ms","nb-NO","nl","pl","pt-PT","pt","ru","sk","sl","sv","th","tr","uk","zh-Hans","zh-Hant"]},57742:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,wP:()=>u,EV:()=>c});var o=n(80857),r=n(37756);const i={cs:()=>n.e(3005).then(n.t.bind(n,12282,23)),cy:()=>n.e(7050).then(n.t.bind(n,26873,23)),da:()=>n.e(752).then(n.t.bind(n,5407,23)),de:()=>n.e(8869).then(n.t.bind(n,60333,23)),el:()=>n.e(1882).then(n.t.bind(n,80056,23)),en:()=>n.e(5014).then(n.t.bind(n,32778,23)),es:()=>n.e(1252).then(n.t.bind(n,53802,23)),fi:()=>n.e(5528).then(n.t.bind(n,15857,23)),fr:()=>n.e(1145).then(n.t.bind(n,75828,23)),hr:()=>n.e(9677).then(n.t.bind(n,34029,23)),id:()=>n.e(5192).then(n.t.bind(n,32419,23)),it:()=>n.e(3424).then(n.t.bind(n,81998,23)),ja:()=>n.e(4728).then(n.t.bind(n,55389,23)),ko:()=>n.e(1089).then(n.t.bind(n,97301,23)),ms:()=>n.e(1518).then(n.t.bind(n,55367,23)),nb:()=>n.e(2279).then(n.t.bind(n,93673,23)),nl:()=>n.e(9486).then(n.t.bind(n,80953,23)),pl:()=>n.e(6523).then(n.t.bind(n,12533,23)),pt:()=>n.e(4932).then(n.t.bind(n,28708,23)),ru:()=>n.e(1385).then(n.t.bind(n,63409,23)),sk:()=>n.e(1077).then(n.t.bind(n,87042,23)),sl:()=>n.e(1277).then(n.t.bind(n,13367,23)),sv:()=>n.e(2727).then(n.t.bind(n,64520,23)),th:()=>n.e(1063).then(n.t.bind(n,69909,23)),tr:()=>n.e(9384).then(n.t.bind(n,99102,23)),uk:()=>n.e(1843).then(n.t.bind(n,32058,23)),zh:()=>n.e(4072).then(n.t.bind(n,2725,23))},a=(0,o.Z)("I18n"),s={},l=s;async function c(e){if(!(e in s))try{const t=await r.o[e]();s[e]=t.default}catch(t){a(!1,`Cannot find translations for "${e}". Please retry or add them manually to PSPDFKit.I18n.messages["${e}"]`)}return s[e]}async function u(e){if(i[e])try{await i[e]()}catch(t){a(!1,`Cannot find locale data for "${e}". Please retry or contact support for further assistance.`)}}},37756:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const o={cs:()=>n.e(3579).then(n.t.bind(n,46984,19)),cy:()=>n.e(7578).then(n.t.bind(n,50706,19)),da:()=>n.e(1139).then(n.t.bind(n,32156,19)),de:()=>n.e(1009).then(n.t.bind(n,47875,19)),el:()=>n.e(1323).then(n.t.bind(n,87908,19)),"en-GB":()=>n.e(6045).then(n.t.bind(n,29207,19)),en:()=>n.e(1874).then(n.t.bind(n,70840,19)),es:()=>n.e(473).then(n.t.bind(n,59657,19)),fi:()=>n.e(9390).then(n.t.bind(n,5317,19)),"fr-CA":()=>n.e(2916).then(n.t.bind(n,76215,19)),fr:()=>n.e(3360).then(n.t.bind(n,28435,19)),hr:()=>n.e(157).then(n.t.bind(n,24733,19)),id:()=>n.e(9726).then(n.t.bind(n,33615,19)),it:()=>n.e(8839).then(n.t.bind(n,24068,19)),ja:()=>n.e(3463).then(n.t.bind(n,87854,19)),ko:()=>n.e(1168).then(n.t.bind(n,23980,19)),ms:()=>n.e(1391).then(n.t.bind(n,48853,19)),"nb-NO":()=>n.e(4966).then(n.t.bind(n,16844,19)),nl:()=>n.e(5677).then(n.t.bind(n,14314,19)),pl:()=>n.e(4899).then(n.t.bind(n,16365,19)),"pt-PT":()=>n.e(5431).then(n.t.bind(n,55910,19)),pt:()=>n.e(517).then(n.t.bind(n,7638,19)),ru:()=>n.e(8057).then(n.t.bind(n,21652,19)),sk:()=>n.e(9971).then(n.t.bind(n,57298,19)),sl:()=>n.e(5595).then(n.t.bind(n,33943,19)),sv:()=>n.e(6530).then(n.t.bind(n,99649,19)),th:()=>n.e(5666).then(n.t.bind(n,81446,19)),tr:()=>n.e(407).then(n.t.bind(n,18141,19)),uk:()=>n.e(3095).then(n.t.bind(n,76911,19)),"zh-Hans":()=>n.e(6678).then(n.t.bind(n,47224,19)),"zh-Hant":()=>n.e(7579).then(n.t.bind(n,58372,19))}},3479:(e,t,n)=>{e.exports=n(12708).default},31835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.events=e,this.listeners={}}on(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)}off(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);const n=this.listeners[e]||[];n.forEach(((e,o)=>{e===t&&n.splice(o,1)})),0===n.length&&delete this.listeners[e]}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{e.call(null,...n)}))}supportsEvent(e){return 0===this.events.length||-1!==this.events.indexOf(e)}}},8503:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var o=n(84121),r=n(35369),i=n(3534),a=n(76192),s=n(96846);class l{constructor(e,t){(0,o.Z)(this,"localFormFieldsMapping",(0,r.D5)()),(0,o.Z)(this,"onCreate",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.set(e.id,e.name)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.delete(e.id)})),this.formFieldProvider=e,this.localFormFieldCallbacks=t}createBackendObject(e){return this.formFieldProvider.createFormField(e)}updateBackendObject(e){return this.formFieldProvider.updateFormField(e)}deleteBackendObject(e){return this.formFieldProvider.deleteFormField(e)}createStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.createFormFields(e)}updateStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.updateFormFields(e)}deleteStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localFormFieldCallbacks.deleteFormFields(e)}validateObject(e){if(!e.name||"string"!=typeof e.name||!e.id||"string"!=typeof e.id)return!1;try{return(0,i.Gu)(e),!0}catch(e){return!1}}getObjectById(e){const t=this.localFormFieldsMapping.get(e);return t?this.localFormFieldCallbacks.getFormFieldByName(t):null}getObjectId(e){return e.id}refresh(){this.localFormFieldCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldProvider.syncChanges()}}class c extends s.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new l(e,t),n,r),(0,o.Z)(this,"loadFormFields",function(){let e=null;return async function(){e||(e=this.formFieldProvider.loadFormFields()),await e}}()),this.formFieldProvider=e}}},60797:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,V:()=>s});var o=n(84121),r=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t{Object.defineProperty(n,e,{get(){return this.get(e)},set(t){this.set(e,t)}})}))}class l extends((0,r.WV)({})){constructor(e){super(e)}}},55615:(e,t,n)=>{"use strict";n.d(t,{mH:()=>f,ZP:()=>v,il:()=>g});var o=n(84121),r=n(35369),i=n(21614),a=n(47347);function s(e,t){const n=t.record_rev,o=e.stagedRecordsChanges;if((0,a.kG)("number"==typeof n&&n>=0,"Tried to apply changes but the server responded with no `record_rev`"),(0,a.kG)(n>=e.localRecordsRev,"The server revision number is lower than the current one."),n<=e.localRecordsRev)return e;(0,a.kG)("number"==typeof t.previous_record_rev,"The payload must have a `previous_record_rev`"),(0,a.kG)(t.previous_record_rev>=e.localRecordsRev,"The payload's `previous_record_rev` is unknown to us, this means we missed out on changes.");let i=0;const s=e.requiredAttachmentIds;let l=(0,r.l4)(),c=(0,r.aV)();const u=[],d=e.localRecordsContents.withMutations((e=>{let n;n={accepted:{created:t=>{let{id:n,permissions:r,group:s,isAnonymous:l}=t;(0,a.kG)(!e.has(n),"There's already a record with the newly created record id");const c=o.find((e=>e.id===n));if(!c)return;c.resolve(null);const{content:u}=c;e.set(n,{content:u,permissions:r,group:s,isAnonymous:l}),i++},updated:t=>{let{id:n,permissions:r,group:s,isAnonymous:l}=t;(0,a.kG)(e.has(n),"Tried to update a record that is not present");const c=o.find((e=>e.id===n));if(!c)return;c.resolve(!0);const{content:u}=c;e.set(n,{content:u,permissions:r,group:s,isAnonymous:l}),i++},deleted:t=>{(0,a.kG)(e.has(t),"Tried to delete a record that is not present");const n=o.find((e=>e.id===t));n&&(n.resolve(!0),e.delete(t),i++)}},rejected:(e,t)=>{let[n,r]=t;const d=o.find((e=>e.id===n));if(d)switch(i++,r){case"conflict":d.reject(new a.p2("The server rejected the change due to a conflict")),"created"!==e&&u.push(n);break;case"attachment_not_found":{const e=Object.keys(d.attachments),t=!s.intersect(e).isEmpty();if(d.attachments&&!t&&Object.keys(d.attachments).length>0){l=l.union(Object.keys(d.attachments)),c=c.push(d);break}}default:d.reject(new a.p2("The server rejected the change")),"created"!==e&&u.push(n)}},changes:{created:t=>{(0,a.kG)(!e.has(t.id),"The change set tried to add a record that is already present");const{content:n,permissions:o,group:r,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:o,group:r,isAnonymous:i})},updated:t=>{(0,a.kG)(e.has(t.id),`The change set tried to update a record with id ${t.id} that was not present`);const{content:n,permissions:o,group:r,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:o,group:r,isAnonymous:i}),u.push(t.id)},deleted:t=>{(0,a.kG)(e.has(t),`The change set you tried to delete a record with id ${t} that was not present`),e.delete(t),u.push(t)}}},t.accepted.created.forEach(n.accepted.created),t.accepted.updated.forEach(n.accepted.updated),t.accepted.deleted.forEach(n.accepted.deleted),["created","updated","deleted"].forEach((e=>{Object.entries(t.rejected[e]).forEach((t=>{let o=t[1];"conflict"!==o&&"attachment_not_found"!==o&&(o=null),n.rejected(e,[t[0],o])}))})),t.changes.created.forEach(n.changes.created),t.changes.updated.forEach(n.changes.updated),t.changes.deleted.forEach(n.changes.deleted)}));(0,a.kG)(i===o.size,"Some changes were not processed by the server");const p=function(e,t){const n=e.localRecordsChanges.filter((e=>"created"===e.type||!t.includes(e.id)||(e.reject(new a.p2("Request was cleared because a newer revision arrived.")),!1)));return e.set("localRecordsChanges",n)}(e,(0,r.aV)(u));return p.withMutations((e=>e.set("requiredAttachmentIds",l).update("localRecordsChanges",(e=>e.merge(c))).set("stagedRecordsChanges",(0,r.aV)()).set("localRecordsContents",d).set("localRecordsRev",n)))}class l{constructor(e,t){(0,o.Z)(this,"_currentDelay",0),this._initialDelay=e,this._delayGrowthCap=t,this._currentDelay=e}schedule(e){const t=this._currentDelay;this.cancel(),te()),t)}cancel(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}reset(){this._currentDelay=this._initialDelay,this.cancel()}}var c=n(23413),u=n(89551);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t{e._currentRequest&&!e._currentRequestHasChanges&&(e._abortCurrentRequest(),setTimeout((()=>e.nextCycle().catch(console.log)),0))}))}class v{constructor(e){let{getState:t,setState:n,onChanges:r,onAcceptedRecords:i,longPollingTimeout:a=f,backoffTimer:s=new l(1e3,6e4),RequestClass:u=c.Z}=e;(0,o.Z)(this,"onDocumentHandleConflictCallback",(()=>{})),(0,o.Z)(this,"_lastAbortedRequest",null),(0,o.Z)(this,"_handleBeforeUnload",(()=>{this._abortCurrentRequest()})),this._currentRequestHasChanges=!1,this._isDestroyed=!1,this.getState=t,this.setState=n,this.onChangesCallback=r||(()=>{}),this.onAcceptedRecordsCallback=i||(()=>{}),this.RequestClass=u,this._longPollingTimeout=a,this._backoffTimer=s,window.addEventListener("beforeunload",this._handleBeforeUnload),m.add(this)}async nextCycle(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._longPollingTimeout;if(this._isDestroyed)return;if(this._currentRequest&&this._currentRequestHasChanges)return(0,a.kG)(this._currentRequestPromise,"Expected to have request running but no one was ever made."),this._currentRequestPromise;this._currentRequest&&(this._abortCurrentRequest(),this._backoffTimer&&this._backoffTimer.cancel());const o=this.getState(),l=o.localRecordsChanges;this.setState(o.set("localRecordsChanges",(0,r.aV)()).set("stagedRecordsChanges",l));const c=this._createSyncRequest(),d=!l.isEmpty(),f=new Promise(((n,o)=>{e=n,t=o})),m=(0,i.v4)(),g={request_id:m,record_rev:o.localRecordsRev,changes:{created:l.filter((e=>"created"===e.type)).map((e=>{let{id:t,content:n,group:o,isAnonymous:r}=e;const i=n&&"isAnonymous"in n?n.isAnonymous:r;return p(p(p({id:t},"boolean"==typeof i&&{isAnonymous:i}),n&&{content:n}),o&&{group:o})})).toJS(),updated:l.filter((e=>"updated"===e.type)).map((e=>{let{id:t,content:n,group:o,isAnonymous:r}=e;const i=n&&"isAnonymous"in n?n.isAnonymous:r;return p(p(p({id:t},"boolean"==typeof i&&{isAnonymous:i}),n&&{content:n}),o&&{group:o})})).toJS(),deleted:l.filter((e=>"deleted"===e.type)).map((e=>e.id)).toJS()},timeout:d?0:n},v=o.requiredAttachmentIds.isEmpty()?g:function(e,t){const n=new FormData;return n.append("sync",JSON.stringify(e)),t.requiredAttachmentIds.forEach((e=>{var o;n.append(e,null===(o=t.localRecordsChanges.find((t=>t.attachments.hasOwnProperty(e))))||void 0===o?void 0:o.attachments[e])})),n}(g,o);return c.request({method:"POST",data:v}).then((t=>{void 0!==t.request_id&&(0,a.kG)(t.request_id===m,"The response doesn't match the client request ID"),(0,a.kG)(c!==this._lastAbortedRequest,"A manually aborted request still managed to resolve."),(0,a.kG)(c===this._currentRequest,"Expected the resolved request to be the latest created request."),(0,a.kG)(!this._isDestroyed,"The instance is destroyed yet the request managed to resolve.");const n=this.getState(),o=s(n,p(p({},t),{},{previous_record_rev:n.localRecordsRev}));this.setState(o),this._currentRequestHasChanges=!1,this._currentRequest=null,h-=1,e();try{t.record_rev>n.localRecordsRev&&(this.onAcceptedRecordsCallback(t.accepted),this.onChangesCallback(t.changes)),this._scheduleNextCycle(!1,(()=>!o.localRecordsChanges.isEmpty()))}catch(e){throw h+=1,e}})).catch((e=>{if("Outdated layer handle"===e.message&&!this._isDestroyed)return this.onDocumentHandleConflictCallback(),this.destroy(),t();c===this._lastAbortedRequest?t(new a.p2("A manually aborted request still managed to reject.")):c!==this._currentRequest?t(new a.p2("Expected the reject request to be the latest created request.")):this._isDestroyed?t(new a.p2("The instance is destroyed yet the request managed to reject.")):t(new a.p2("Pushing changes failed"+(e&&e.message?`: ${e.message}`:"")));const n=(0,u.n)({oldChanges:l,newChanges:this.getState().localRecordsChanges});this.setState(o.set("localRecordsChanges",n).set("stagedRecordsChanges",(0,r.aV)())),this._currentRequestHasChanges=!1,this._currentRequest=null,h-=1,this._scheduleNextCycle(!0)})),h+=1,h>3&&(0,a.ZK)(`PSPDFKit: detected ${h} open sync requests. This might be due to multiple PSPDFKit for Web instances running in parallel, did you forget to \`unload\` any of them? Due to the browser limit of maximum number of default simultaneous persistent connections per server, this might cause subsequent requests to be queued and processed later which might result in a slowdown for your app.`),this._currentRequest=c,this._currentRequestHasChanges=d,this._currentRequestPromise=f,f}setOnDocumentHandleConflictCallback(e){this.onDocumentHandleConflictCallback=e}destroy(){this._abortCurrentRequest(),window.removeEventListener("beforeunload",this._handleBeforeUnload),this._isDestroyed=!0,m.delete(this)}log(e){(0,a.cM)(e)}_scheduleNextCycle(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0;const n=()=>{this.nextCycle().catch(this.log)};e?this._backoffTimer.schedule(n):(this._backoffTimer.reset(),(this._longPollingTimeout>0||t())&&n())}_createSyncRequest(){const{serverURL:e,authPayload:t}=this.getState().requestInfo;return(0,a.kG)("string"==typeof e,"Cannot call request without serverURL"),(0,a.kG)(t&&"string"==typeof t.auth_token,"Cannot call request without authPayload"),new this.RequestClass(e,t.auth_token)}_abortCurrentRequest(){this._currentRequest&&(h-=1,this._lastAbortedRequest=this._currentRequest,this._currentRequest.abort(),this._currentRequest=null)}}},89551:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var o=n(47347);function r(){let{oldChanges:e,newChanges:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e;return t.forEach((e=>{n=i({oldChanges:n,newChange:e})})),n}function i(){let{oldChanges:e,newChange:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t,r=e.filter((e=>{if(e.id===t.id){switch(t.type){case"updated":if("created"===e.type){n=a(e,t.set("type","created"));break}if("updated"===e.type){n=a(e,t);break}case"deleted":if("created"===e.type){e.resolve(),t.resolve(),n=null;break}if("updated"===e.type){n=a(e,t);break}default:e.reject(new o.p2("Request was cleared because a more recent update was queued."))}return!1}return!0}));return n&&(r=r.push(n)),r}function a(e,t){const n=e.resolve,o=t.resolve,r=e.reject,i=t.reject;return t.set("resolve",(e=>{n(e),o(e)})).set("reject",(e=>{r(e),i(e)}))}},71652:(e,t,n)=>{"use strict";n.d(t,{V:()=>r,h:()=>i});var o=n(47347);function r(e,t){let n;return n=e instanceof Error?e:new Error(e),Object.setPrototypeOf(n,r.prototype),n.reason=t,n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new r(n?`Some changes could not be ${t?"synced":"saved"} to backend: ${n}`:`Some changes could not be ${t?"synced":"saved"} to backend.`,e)}r.prototype=Object.create(o.p2.prototype,{name:{value:"PSPDFKitSaveError",enumerable:!1}})},83253:(e,t,n)=>{"use strict";n.d(t,{y:()=>o,z:()=>r});const o=1,r=2},34710:(e,t,n)=>{"use strict";n.d(t,{f:()=>c});var o=n(84121),r=n(35369),i=n(47347),a=n(88804);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;if(this.examples=t,this.customStyles=n,this.document=a?a.ownerDocument:e,this.wrapper=e.createElement("div"),this.wrapper.setAttribute("aria-hidden","true"),this.wrapper.className=o,this._setStyles(this.wrapper,l(l({},c.defaultWrapperStyles),n)),t instanceof r.aV)t.forEach((t=>{const n="string"==typeof t?t:"",o=e.createElement("span");o.setAttribute("aria-hidden","true"),o.style.display="inline-block",o.style.whiteSpace="pre-wrap",o.innerText=n,this.wrapper.appendChild(o)}));else{const e="string"==typeof t?t:"";this.wrapper.innerHTML=e}const s=a||this.document.documentElement;(0,i.kG)(s,"documentElement must not be null"),s.appendChild(this.wrapper)}measure(){const e=a.UL.fromClientRect(this.wrapper.getBoundingClientRect()),t=e.getLocation().scale(-1);return this.examples instanceof r.aV?this.examples.map(((e,n)=>{const o=this.wrapper.childNodes[n];return a.UL.fromClientRect(o.getBoundingClientRect()).translate(t)})):(0,r.aV)([e.translate(t)])}remove(){this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper),this.wrapper=null,this.examples=null}_setStyles(e,t){for(const n in t)e.style[n]=t[n]}}(0,o.Z)(c,"defaultWrapperStyles",Object.freeze({maxWidth:"none",display:"inline-block",position:"absolute",height:"auto",width:"auto",margin:"0",padding:"0",whiteSpace:"nowrap",top:"-10000px",left:"-10000px",fontSize:"80px",fontWeight:"normal"}))},60619:(e,t,n)=>{"use strict";n.d(t,{GA:()=>A,Nk:()=>O,oD:()=>k});var o=n(47347),r=n(35369),i=n(67366),a=n(15973),s=n(66687),l=n(18146),c=n(80857),u=n(25797),d=n(95651),p=n(69939),f=n(17746),h=n(33754),m=n(68250),g=n(55909),v=n(19815),y=n(59780),b=n(10284),w=n(22571),S=n(45395),P=n(51269),E=n(60132);const x=(0,c.Z)("Annotations"),D="The API you're trying to use requires a annotation editing license. Annotation Editing is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/",C="WidgetAnnotation can only be modified if you are using Standalone setup or with Instant turned on. If you are using server backed setup, make sure `instant` is set to `true` in configuration.",k="The API you're trying to use requires a measurement license. Measurement is a component of PSPDFKit for Web and sold separately.";class O extends m.I{constructor(e,t){super(t().annotationManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),r=e.map((e=>{T(n,e,"create");const r=e.id;if("string"==typeof r&&x(!n.annotations.has(r),`Annotation id (${r}) is already used.`),e instanceof a.x_&&t){A(n,e)||x(t.some((t=>t instanceof y.Wi&&t.name===e.formFieldName)),`Widget orphan: The widget annotation can't be created because no form field was found with the name '${e.formFieldName}'. Please ensure that you create the corresponding form field together with the widget via instance.create([widget, formField]).`)}const{annotationCreatorName:i,annotationCreatorNameReadOnly:s}=n;if(e.creatorName&&e.creatorName!==i&&s)throw new o.p2("The annotation creator name is different from the one set on the JWT.");M(e);let l=e.withMutations((t=>{t.merge((0,d.lx)(n.set("currentItemPreset",null))),["name","id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));if(e instanceof a.x_&&e.group)throw new o.p2("If you want to define the `group` of this widget annotation, pass it to the corresponding form field instead. Widget annotations inherit the `group` from their form field.");if(l instanceof a.x_&&(l=l.delete("group")),e instanceof a.x_){const n=this.getState;if((null==t?void 0:t.some((t=>t instanceof y.Wi&&t.name===e.formFieldName)))&&!!A(n(),e))throw new o.p2(`The widget annotation can't be created because the form field it'll be created with has a duplicated form field name '${e.formFieldName}'. Please ensure the form field name is unique.`);setTimeout((()=>{x(l instanceof a.x_,"Expected widget annotation");null==A(n(),l)&&(this.dispatch((0,p.hQ)(l)),(0,o.ZK)(`Widget orphan: The widget annotation has been deleted because no form was field found with the name ${l.formFieldName} after 500ms. Please ensure that once instance.create() resolves, a corresponding form field is created with instance.create(). (See: https://pspdfkit.com/api/web/PSPDFKit.Instance.html#create)`))}),500)}return l=_(l),l}));return(0,i.dC)((()=>{r.forEach((e=>{e instanceof Error||(this.dispatch((0,p.$d)(e)),this.autoSave())}))})),(0,P.s)(r)}async update(e){const t=this.getState(),n=e.map((e=>{var n;T(t,e,"update"),x("string"==typeof e.id,"The annotation you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const r=t.annotations.get(e.id);x(r,"An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),x(!(e instanceof a.sK&&e.imageAttachmentId!==(null===(n=t.annotations.get(e.id))||void 0===n?void 0:n.imageAttachmentId)),"Changing the imageAttachmentId of an annotation is not allowed."),x(t.backend),t.backend.isCollaborationPermissionsEnabled()||e.group===r.group&&e.isEditable===r.isEditable&&e.isDeletable===r.isDeletable&&e.canSetGroup===r.canSetGroup||(e=e.set("group",r.group).set("isEditable",r.isEditable).set("isDeletable",r.isDeletable).set("canSetGroup",r.canSetGroup),(0,o.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(r.delete("group"))&&!(0,b.CM)(r,t))throw new o.p2("You don't have permission to update this annotation.");if(e instanceof a.x_&&e.group!==r.group)throw new o.p2("The `group` property of widget annotations is read only and can't be updated directly. If you want to do that you should update the `group` property of the connected form field and this annotation will inherit that `group`.");if(e.group!==r.group&&!(0,b.uW)(r,t))throw new o.p2("You don't have permission to update the `group` of this annotation.");if(e.isEditable!==r.isEditable||e.isDeletable!==r.isDeletable||e.canSetGroup!==r.canSetGroup)throw new o.p2("You can't update `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==r.creatorName&&t.annotationCreatorNameReadOnly)throw new o.p2("You can't change the creatorName of an annotation if it was already set on the JWT.");const i=(e=_(e)).set("updatedAt",new Date);return M(i),i}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,p.FG)(e))})),this.autoSave()})),(0,P.s)(n)}async delete(e){const t=this.getState(),n=e.map((e=>{T(t,e,"delete");const n=t.annotations.get(e.id);if(x(n,`No annotation with id ${e.id} found.`),!(0,b.Kd)(n,t))throw new o.p2("You don't have permission to delete this annotation.");return e}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,p.hQ)(e))})),this.autoSave()})),(0,P.s)(n)}async ensureChangesSaved(e){x("string"==typeof e.id,"The annotation you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{annotationManager:t}=this.getState();return x(t),await t.ensureObjectSaved(e)}async getObjectById(e){x("string"==typeof e,"The supplied id is not a valid id.");const{annotations:t,features:n}=this.getState();return(0,v.Vz)(n)?t.get(e):null}}function A(e,t){const n=e.annotations.get(t.id);let o=t.formFieldName;return null!=n&&null!=n.formFieldName&&(o=n.formFieldName),null!=o?e.formFields.get(o):null}function T(e,t,n){const{features:r}=e;if(!(0,v.Vz)(r)){if(!(t instanceof s.Zc||t instanceof a.sK))throw new o.p2(`Annotations: ${D}`);if(!0===t.isSignature&&!r.includes(E.q.ELECTRONIC_SIGNATURES))throw new o.p2("Annotations: The API you're trying to use requires either an electronic signatures or annotation editing license. Electronic Signatures and Annotation Editing are components of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/");if(!t.isSignature||!r.includes(E.q.ELECTRONIC_SIGNATURES))throw new o.p2(`Annotations: ${D}`)}let i="";t.id&&(i=` with id "${t.id}"`),t instanceof a.x_&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n}=e;x(n.includes(E.q.FORM_DESIGNER),(t||"")+g.RB),x((0,v.k_)(e.backend),C)}(e,`Tried to ${n} a widget annotation${i}. Widget annotations are part of forms. `),x(!(t instanceof l.Z)||r.includes(E.q.REDACTIONS),`Tried to ${n} a redaction annotation${i}. ${u.q}`),x(!(t instanceof s.UX&&t.isMeasurement())||r.includes(E.q.MEASUREMENT_TOOLS),`Tried to ${n} a measurement annotation${i}. ${k}`)}function I(e){x(e instanceof s.UL,"`boundingBox` must be an instance of PSPDFKit.Geometry.Rect");for(const[t,n]of e)x("number"==typeof n,`invalid value \`${n}\` for \`boundingBox.${t}\``)}function F(e){x(e instanceof s.E9,"`startPoint` and `endPoint` must be instances of PSPDFKit.Geometry.Point");for(const[t,n]of e)x("number"==typeof n,`invalid value \`${n}\` for \`point.${t}\``)}function M(e){if(x(e instanceof a.q6,"Invalid annotation"),x("number"==typeof e.pageIndex,"`pageIndex` must be a number"),x("number"==typeof e.opacity,"`opacity` must be a number"),x("boolean"==typeof e.noView,"`noView` must be a boolean"),x("boolean"==typeof e.noPrint,"`noPrint` must be a boolean"),x("boolean"==typeof e.hidden,"`hidden` must be a boolean"),x(null==e.customData||(0,o.PO)(e.customData)&&(0,o.AK)(e.customData),"`customData` must be a serializable object"),I(e.boundingBox),"text"in e&&null!=e.text&&(x("object"==typeof e.text&&null!==e.text,"`text` is not an object with properties `format` and `value`"),x("plain"===e.text.format||"xhtml"===e.text.format,"Invalid text format"),x("string"==typeof e.text.value,"`text.value` must be a string")),e instanceof s.Qi&&x("plain"===e.text.format,"Invalid text format. Only `plain` format is supported"),e instanceof a.x_){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))x("onBlur"===t||"onFocus"===t||"onInput"===t||"onFormat"===t||"onChange"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onBlur\`, \`onFocus\`, \`onInput\`, \`onFormat\`, \`onChange\``),x(n instanceof w.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);x("string"==typeof e.formFieldName&&e.formFieldName.length>0,"Annotation attribute `formFieldName` must be of type `string` and larger than 0 characters")}if((e instanceof a.x_||e instanceof a.gd)&&(null!=e.isItalic&&x("boolean"==typeof e.isItalic,"Annotation attribute `isItalic` must be of type `boolean`"),null!=e.isBold&&x("boolean"==typeof e.isBold,"Annotation attribute `isBold` must be of type `boolean`"),null!=e.verticalAlign&&x("string"==typeof e.verticalAlign&&("top"===e.verticalAlign||"center"===e.verticalAlign||"bottom"===e.verticalAlign),"Annotation attribute `verticalAlign` must be of type `string` and either `top`, `center`, or `bottom`"),null!=e.horizontalAlign&&x("string"==typeof e.horizontalAlign&&("left"===e.horizontalAlign||"center"===e.horizontalAlign||"right"===e.horizontalAlign),"Annotation attribute `horizontalAlign` must be of type `string` and either `left`, `center`, or `right`"),null!=e.borderWidth&&x("number"==typeof e.borderWidth,"Annotation attribute `borderWidth` must be of type `number`"),null!=e.borderStyle&&x(e.borderStyle===S.N.solid||e.borderStyle===S.N.dashed||e.borderStyle===S.N.beveled||e.borderStyle===S.N.inset||e.borderStyle===S.N.underline,"Annotation attribute `borderStyle` must be one of `solid`, `dashed`, `beveled`, `inset`, `underline`"),null!=e.font&&x("string"==typeof e.font&&e.font.length>0,"Annotation attribute `font` must be of type `string` and larger than 0 characters."),null!=e.fontSize&&x("number"==typeof e.fontSize||"auto"===e.fontSize,"Annotation attribute `fontSize` must be of type `number` or the string `auto`")),["fillColor","backgroundColor","fontColor","color","borderColor","strokeColor"].forEach((t=>{e.has(t)&&null!==e.get(t)&&x(e.get(t)instanceof s.Il,`\`${t}\` must be an instance of PSPDFKit.Color`)})),e.has("lines")&&(x("lines"in e&&e.lines instanceof r.aV,"lines must be an instance of PSPDFKit.Immutable.List"),e.lines.forEach(((e,t)=>{x(e instanceof r.aV,"line must be an instance of PSPDFKit.Immutable.List"),e.some(((e,n)=>{x(e instanceof f.Z,`found an invalid DrawingPoint at index ${n} for line ${t}`)}))}))),e instanceof a.On&&x(e.has("rects"),"Text markup annotations must have `rects`"),e instanceof a.GI&&x(h.pY[e.stampType],`Unknown stamp annotation stampType: \`${e.stampType}\``),e.has("rects")&&(x("rects"in e&&e.rects instanceof r.aV,"rects must be an instance of `PSPDFKit.Immutable.List`"),x(e.rects.size>0,"rects must be contain at least one rect"),e.rects.forEach(I)),e.has("startPoint")&&(x("startPoint"in e&&e.startPoint instanceof s.E9,"startPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.startPoint)),e.has("endPoint")&&(x("endPoint"in e&&e.endPoint instanceof s.E9,"endPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.endPoint)),e.has("rotation")){const t=e.rotation;e instanceof a.x_?x(0===t||90===t||180===t||270===t,"`rotation` must be of type `number` and one of 0, 90, 180, or 270."):(e instanceof a.gd||e instanceof a.GI||e instanceof a.sK)&&x(Math.abs(t)%1==0,"`rotation` must be an integer")}}function _(e){let t=e;return e instanceof a.gd&&"xhtml"===e.text.format&&(x(t instanceof a.gd,"Expected TextAnnotation"),e.text.value.startsWith("

")&&e.text.value.endsWith("

")||((0,o.ZK)("TextAnnotation text value must be wrapped in

tags if the format is `xhtml`."),t=t.set("text",{format:"xhtml",value:`

${t.text.value}

`})),e.fontColor&&((0,o.ZK)('TextAnnotation fontColor is not supported for xhtml formatted text. You should add inline span element to the text value instead.\n\n Example:

your text

'),t=t.set("fontColor",null)),e.text.value||(t=t.set("text",{format:"xhtml",value:'

'}))),t}},68250:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var o=n(47347);class r{constructor(e){this._objectManager=e}create(e,t){return Promise.reject(new o.p2("create() is not implemented"))}update(e,t){return Promise.reject(new o.p2("update() is not implemented"))}delete(e){return Promise.reject(new o.p2("delete() is not implemented"))}getObjectById(e){return Promise.resolve(null)}ensureChangesSaved(e){throw new o.p2("ensureChangesSaved() is not implemented")}hasUnsavedChanges(){return!!this._objectManager&&this._objectManager.hasUnsavedChanges()}manualSave(e){return this._objectManager?this._objectManager.manualSave(e):Promise.resolve()}autoSave(){this._objectManager&&this._objectManager.autoSave()}getEventEmitter(){return this._objectManager?this._objectManager.eventEmitter:null}lockSave(){return this._objectManager?this._objectManager.lockSave():()=>{}}}},55909:(e,t,n)=>{"use strict";n.d(t,{BZ:()=>P,Bl:()=>S,DR:()=>b,RB:()=>w,_1:()=>k,fu:()=>x});var o=n(34997),r=n(35369),i=n(47347),a=n(67366),s=n(80857),l=n(16126),c=n(19815),u=n(96114),d=n(11032),p=n(68250),f=n(10284),h=n(22571),m=n(51269),g=n(66687),v=n(59780),y=n(60132);const b="The API you're trying to use requires a forms license. Forms is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",w="The API you're trying to use requires a license that includes the Form Designer component on standalone mode or with PSPDFKit Instant. This is a separate component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",S="The API you're trying to use is only available when using the standalone mode or with PSPDFKit Instant.",P="The API you're trying to use is not available when `disableForms` is set to `true`.",E=(0,s.Z)("Forms");class x extends p.I{constructor(e,t){super(t().formFieldManager),this.dispatch=e,this.getState=t}async create(e,t){const n=[],i=this.getState();D(i,"Tried to create a form field. ");const s=e.map((e=>{try{const r=e.id;"string"==typeof r&&E(!(0,l.CL)(i,r),`Form field id (${r}) is already used.`),C(e,i,t);let a="string"==typeof r?e:e.set("id",(0,o.SK)());if(E(i.backend),E(i.formFieldValueManager),i.backend.isCollaborationPermissionsEnabled()&&!e.group&&i.group!==i.backend.getDefaultGroup()&&(a=a.set("group",i.group)),void 0!==e.value||void 0!==e.values){const t=new d.Z({name:e.name,value:void 0!==e.value?e.value:e.values});n.push(t)}return a}catch(e){return e}}));return(0,a.dC)((()=>{s.forEach((e=>{e instanceof Error||(this.dispatch((0,u.kW)(e)),this.autoSave())}))})),n.forEach((e=>{this.dispatch((0,u.xW)((0,r.aV)([e]))),E(i.formFieldValueManager),i.formFieldValueManager.createObject(e),i.formFieldValueManager.autoSave()})),(0,m.s)(s)}async update(e,t){const n=this.getState();E(n.formFieldValueManager);const o=e.map((e=>{try{D(n,"Tried to update a form field. "),E("string"==typeof e.id,"The form field you passed to Instance.update() has no id.\n Please use Instance.create() first to assign an id."),C(e,n,t);const o=(0,l.CL)(n,e.id);E(o,"A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped."),E(n.backend),n.backend.isCollaborationPermissionsEnabled()||e.group===o.group&&e.isEditable===o.isEditable&&e.isDeletable===o.isDeletable&&e.canSetGroup===o.canSetGroup&&e.isFillable===o.isFillable||(e=e.set("group",o.group).set("isEditable",o.isEditable).set("isDeletable",o.isDeletable).set("canSetGroup",o.canSetGroup).set("isFillable",o.isFillable),(0,i.ZK)("`group`, `isEditable`, `isDeletable`, `isFillable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(o.delete("group"))&&!(0,f.iR)(o,n))throw new i.p2("You don't have permission to update this form field.");if(e.group!==o.group&&!(0,f.uW)(o,n))throw new i.p2("You don't have permission to update the `group` of this form field.");if(e.isEditable!==o.isEditable||e.isDeletable!==o.isDeletable||e.canSetGroup!==o.canSetGroup||e.isFillable!==o.isFillable)throw new i.p2("You can't update `isFillable`, `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");return e}catch(e){return e}}));return(0,a.dC)((()=>{o.forEach((e=>{e instanceof Error||(this.dispatch((0,u.vK)(e)),this.autoSave())}))})),(0,m.s)(o)}async delete(e){const t=this.getState();D(t,"Tried to delete a form field. ");const n=e.map((e=>{try{const o=(0,l.CL)(t,e.id);if(E(o,`There is no form field with id '${e.id}'`),E(t.formFieldValueManager),!(0,f.ev)(o,t))throw new i.p2("You don't have permission to delete this form field.");var n;if(void 0!==o.value||void 0!==o.values)null===(n=t.formFieldValueManager)||void 0===n||n.deleteObject(new d.Z({name:o.name,value:void 0!==o.value?o.value:o.values})),t.formFieldValueManager.autoSave();return e}catch(e){return e}}));return(0,a.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,u.Wh)(e)),this.autoSave())}))})),(0,m.s)(n)}async ensureChangesSaved(e){E("string"==typeof e.id,"The form field you passed to Instance.ensureSaved() has no id.\n Please use Instance.create() first to assign an id.");const{formFieldManager:t}=this.getState();return E(t),await t.ensureObjectSaved(e)}async getObjectById(e){return E("string"==typeof e,"The supplied id is not a valid id."),(0,l.CL)(this.getState(),e)}}function D(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n,formsEnabled:o}=e;E(n.includes(y.q.FORMS),(t||"")+b),E(o,(t||"")+P),E(n.includes(y.q.FORM_DESIGNER),(t||"")+w),E((0,c.k_)(e.backend),S)}function C(e,t,n){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))E("onCalculate"===t||"onChange"===t||"onFormat"===t||"onInput"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onCalculate\`, \`onChange\`, \`onFormat\`, \`onInput\``),E(n instanceof h.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);e.annotationIds&&(E(e.annotationIds instanceof r.aV,"Invalid form field `annotationIds` attribute. `annotationIds` must be of type `PSPDFKit.Immutable.List`"),E(e.annotationIds.every((e=>"string"==typeof e)),"Invalid form field `annotationIds` attribute. `annotationIds` should only contain string values."),e.annotationIds.forEach((e=>{!function(e,t,n){const o=e.get("annotations");if(!(((null==t?void 0:t.find((e=>e instanceof g.q6&&e.id===n)))||o.get(n)||o.find((e=>{var t;return(null==e||null===(t=e.pdfObjectId)||void 0===t?void 0:t.toString())===n})))instanceof g.x_))throw new i.p2("Invalid form field `annotationIds` attribute. `annotationIds` should only contain references to widget annotations.")}(t,n,e)}))),null!=e.id&&E("string"==typeof e.id&&e.id.length>0,"Invalid form field `id` attribute. `id` must be of type `string` and larger than 0 characters."),null!=e.label&&E("string"==typeof e.label,"Invalid form field `label` attribute. `label` must be of type `string`"),E("string"==typeof e.name&&e.name.length>0,"Invalid form field `name` attribute. `name` must be of type `string` and larger than 0 characters."),null!=e.noExport&&E("boolean"==typeof e.noExport,"Invalid form field `noExport` attribute. `noExport` must be of type `boolean`"),null!=e.pdfObjectId&&E("number"==typeof e.pdfObjectId,"Invalid form field `pdfObjectId` attribute. `pdfObjectId` must be of type `number`"),null!=e.readOnly&&E("boolean"==typeof e.readOnly,"Invalid form field `readOnly` attribute. `readOnly` must be of type `boolean`"),null!=e.required&&E("boolean"==typeof e.required,"Invalid form field `required` attribute. `required` must be of type `boolean`")}function k(e,t){e instanceof v.$o?E("string"==typeof(t=t||""),`The type of action value for a TextFormField ${e.name} is ${typeof t}, but has to be a string`):e instanceof v.Dz||e instanceof v.rF?E(t instanceof r.aV,`The type of action value for the ${e instanceof v.Dz?"ChoiceFormField":"CheckBoxFormField"} ${e.name} is ${typeof t}, but has to be a List of strings`):e instanceof v.XQ?E("string"==typeof t||null===t,`The type of action value for a RadioButtonFormField ${e.name} is ${typeof t}, but has to either be a string or null`):e instanceof v.R0||e instanceof v.Yo||E(!1,`Cannot set form field value for ${e.name}: unknown form field type`)}},92466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(e,t){this.element=e,this.release=t}}},96846:(e,t,n)=>{"use strict";n.d(t,{a:()=>w});var o=n(84121),r=n(35369),i=n(47347),a=n(76192);const s="CREATED",l="UPDATED",c="DELETED";var u=n(97333),d=n(31835),p=n(80857),f=n(34997);class h{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};(0,o.Z)(this,"_locks",(0,r.l4)()),this._onUnlockCallback=e}lock(){const e=(0,f.SK)();return this._locks=this._locks.add(e),()=>{this._locks=this._locks.remove(e),this._locks.isEmpty()&&this._onUnlockCallback()}}isLocked(){return!this._locks.isEmpty()}}var m=n(71652);const g=(0,p.Z)("SaveModeQueue");class v{constructor(e){let{autoSaveMode:t,flushCreateObject:n,flushUpdateObject:i,flushDeleteObject:s,validateObject:l,getObjectId:c,syncChanges:u=(async()=>{})}=e;(0,o.Z)(this,"eventEmitter",new d.Z(["willSave","didSave","saveStateChange"])),(0,o.Z)(this,"_modifications",(0,r.D5)()),(0,o.Z)(this,"_inFlightModifications",(0,r.D5)()),(0,o.Z)(this,"_savedObjects",(0,r.l4)()),(0,o.Z)(this,"_ensureSavedRequests",(0,r.D5)()),(0,o.Z)(this,"_prevHasUnsavedObjects",!1),(0,o.Z)(this,"_saveLock",new h((()=>{if(this._autoSaveMode===a.u.IMMEDIATE||!this._saveRequests.isEmpty()){const e=this._autoSaveMode===a.u.IMMEDIATE||this._saveRequests.some((e=>e.syncChanges)),t=this._saveRequests.some((e=>e.manualSave)),n=this._saveRequests;this._saveRequests=this._saveRequests.clear(),this._save(e,t).then((()=>{n.forEach((e=>{e.resolve()}))})).catch((e=>{n.forEach((t=>{t.reject(e)}))}))}}))),(0,o.Z)(this,"_saveRequests",(0,r.aV)()),this._autoSaveMode=t,this._flushCreateObject=n,this._flushUpdateObject=i,this._flushDeleteObject=s,this._validateObject=l,this._getObjectId=c,this._syncChanges=u}lockSave(){return this._saveLock.lock()}assertSaveLocked(){g(this._saveLock.isLocked(),"This method can't be used without active save lock, use saveLock() to acquire the lock.")}createObject(e){this.assertSaveLocked();const t=this._getObjectId(e);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:s}))}updateObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t),o=n&&n.type===s&&!this._inFlightModifications.has(t);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:o?s:l}))}deleteObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t);n&&n.type===s?this._setModificationsAndNotifyChange(this._modifications.delete(t)):this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:c}))}enqueueInFlightModification(e){const t=this._getObjectId(e.object);return this._inFlightModifications.has(t)?this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.push(e))):this._inFlightModifications=this._inFlightModifications.set(t,(0,r.aV)([e])),this._notifySaveStateChange(),()=>{this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.filter((t=>t!==e))));const n=this._inFlightModifications.get(t);n&&0===n.size&&(this._inFlightModifications=this._inFlightModifications.delete(t)),this._notifySaveStateChange()}}clearQueueForObject(e){this._setModificationsAndNotifyChange(this._modifications.delete(e))}queuedObjectType(e){const t=this._inFlightModifications.get(e);if(t&&t.size>0)return t.last().type;{const t=this._modifications.get(e);return t?t.type:null}}hasUnsavedObjects(){return this._modifications.size>0||this._inFlightModifications.size>0}autoSave(){this._autoSaveMode===a.u.INTELLIGENT&&this.manualSave(!0).catch((()=>{}))}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._save(e,!0)}_save(e,t){return new Promise(((n,o)=>{if(this._saveLock.isLocked())this._saveRequests=this._saveRequests.push({resolve:n,reject:o,syncChanges:e,manualSave:t});else{const a=this._modifications.filter((e=>{let{type:t}=e;return t!==c})).filter((e=>{let{object:t}=e;return!this._validateObject(t)}));t&&a.forEach((e=>{(0,i.ZK)(`Can not save invalid object with ID: ${this._getObjectId(e.object)}.\n Make sure to remove or update this object, before trying to save again.`)}));let d=(0,r.aV)();const p=this._modifications.filter(((e,t)=>!a.has(t))),f=p.map((e=>{let{object:t,type:n}=e;const o={object:t,type:n};let r;switch(d=d.push(this.enqueueInFlightModification(o)),n){case s:r=this._flushCreateObject(t);break;case l:r=this._flushUpdateObject(t);break;default:r=this._flushDeleteObject(t)}return r.then((()=>{this._markModificationAsSaved(o)})).catch((e=>{throw y(e),e}))})).valueSeq().toArray();if(this._setModificationsAndNotifyChange(a,!1),e&&f.length>0&&f.push(this._syncChanges().catch((e=>{throw y(e),e}))),this.eventEmitter.emit("willSave"),0===f.length)return this.eventEmitter.emit("didSave"),void n();let h;(0,u.jK)(f).catch((t=>{const n=p.toList(),o=e?t.pop():null,i=t.map(((e,t)=>{const o=n.get(t);if(e&&o)return{error:e,object:o.object,modificationType:o.type}})).filter(Boolean);throw h=(0,r.aV)(i),(0,m.h)(i,Boolean(o),o?o.message:null)})).finally((()=>{d.forEach((e=>{e()}));let e=p;h&&(e=e.withMutations((e=>{g(h),h.forEach((t=>{const n=this._getObjectId(t.object);e.remove(n)}))}))),this._resolveEnsureSavedRequests(e.map((e=>e.object)).valueSeq().toArray()),h&&this._rejectEnsureSavedRequests(h.toArray()),this.eventEmitter.emit("didSave")})).then((()=>{n()})).catch(o)}}))}markObjectsAsSaved(e){this._savedObjects=this._savedObjects.union(e)}isSaved(e){return this._savedObjects.has(e)&&null==this.queuedObjectType(e)}ensureObjectSaved(e){return new Promise(((t,n)=>{const o=this._getObjectId(e);this.isSaved(o)?t(e):this._ensureSavedRequests=this._ensureSavedRequests.withMutations((e=>{const i=e.get(o);i?e.set(o,i.push({resolve:t,reject:n})):e.set(o,(0,r.aV)([{resolve:t,reject:n}]))}))}))}_resolveEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e),o=t.get(n);o&&this.isSaved(n)&&(o.forEach((t=>{let{resolve:n}=t;n(e)})),t.delete(n))}))}))}_rejectEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e.object),o=t.get(n);o&&(o.forEach((t=>{let{reject:n}=t;n(e.error)})),t.delete(n))}))}))}_markModificationAsSaved(e){const t=this._getObjectId(e.object);switch(e.type){case"CREATED":case"UPDATED":this._savedObjects=this._savedObjects.add(t);break;case"DELETED":this._savedObjects=this._savedObjects.remove(t)}}_setModificationsAndNotifyChange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._modifications=e,t&&this._notifySaveStateChange()}_notifySaveStateChange(){const e=this.hasUnsavedObjects();this._prevHasUnsavedObjects!==e&&(this._prevHasUnsavedObjects=e,this.eventEmitter.emit("saveStateChange",e))}}function y(e){(0,i.vU)(e)}var b=n(83253);class w{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.u.IMMEDIATE,n=arguments.length>2?arguments[2]:void 0;(0,o.Z)(this,"eventEmitter",new d.Z(this._getSupportedEvents())),(0,o.Z)(this,"_createdObjects",(0,r.D5)()),(0,o.Z)(this,"_updatedObjects",(0,r.D5)()),(0,o.Z)(this,"_deletedObjects",(0,r.D5)()),(0,o.Z)(this,"_crudEventsLock",new h((()=>{(this._createdObjects.size||this._updatedObjects.size||this._deletedObjects.size)&&this.eventEmitter.emit("change"),this._createdObjects.size&&(this.eventEmitter.emit("create",(0,r.aV)(this._createdObjects.values())),this._createdObjects=this._createdObjects.clear()),this._updatedObjects.size&&(this.eventEmitter.emit("update",(0,r.aV)(this._updatedObjects.values())),this._updatedObjects=this._updatedObjects.clear()),this._deletedObjects.size&&(this.eventEmitter.emit("delete",(0,r.aV)(this._deletedObjects.values())),this._deletedObjects=this._deletedObjects.clear())}))),this._callbacks=e,this._autoSaveMode=t,null!=n&&(this.eventEmitter=n),this._saveModeQueue=new v({autoSaveMode:t,flushCreateObject:async e=>{try{await this._callbacks.createBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.deleteStoreObjects((0,r.l4)([e.id])),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",(0,r.aV)([e.object])),t}this._callbacks.refresh()},flushUpdateObject:async e=>{await this._callbacks.updateBackendObject(e.object,e.additionalFields),this._callbacks.refresh()},flushDeleteObject:async e=>{try{await this._callbacks.deleteBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.createStoreObjects((0,r.aV)([e.object])),this.eventEmitter.emit("change"),this.eventEmitter.emit("create",(0,r.aV)([e.object])),t}this._callbacks.refresh()},validateObject:e=>this._callbacks.validateObject(e.object),getObjectId:e=>e.id,syncChanges:()=>this._callbacks.syncChanges()}),this._saveModeQueue.eventEmitter.on("willSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("willSave")})),this._saveModeQueue.eventEmitter.on("didSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("didSave")})),this._saveModeQueue.eventEmitter.on("saveStateChange",(e=>this.eventEmitter.emit("saveStateChange",e)))}autoSave(){this._saveModeQueue.autoSave()}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._saveModeQueue.manualSave(e).catch((e=>{throw(0,i.kG)(e instanceof m.V),e.reason&&(e.reason=e.reason.map((e=>({error:e.error,modificationType:e.modificationType,object:e.object.object})))),e}))}ensureObjectSaved(e){return this._saveModeQueue.ensureObjectSaved(this._createSaveQueueObject(this._callbacks.getObjectId(e),e)).then((e=>e.object))}hasUnsavedChanges(){return this._saveModeQueue.hasUnsavedObjects()}lockSave(){const e=this._crudEventsLock.lock(),t=this._saveModeQueue.lockSave();return()=>{t(),e()}}createObject(e,t){const n=this.lockSave();try{const o=this._callbacks.getObjectId(e);(0,i.kG)(o);const r=this._saveModeQueue.queuedObjectType(o),a=this._saveModeQueue.isSaved(o)||r===l,c=r===s;a||c?(this._callbacks.onUpdate&&this._callbacks.onUpdate(e,t),this._saveModeQueue.updateObject(this._createSaveQueueObject(o,e,t)),this._updatedObjects=this._updatedObjects.set(o,e)):(this._callbacks.onCreate&&this._callbacks.onCreate(e,t),this._saveModeQueue.createObject(this._createSaveQueueObject(o,e,t)),this._createdObjects=this._createdObjects.set(o,e))}finally{n()}}updateObject(e,t){this.createObject(e,t)}deleteObject(e,t){const n=this.lockSave();try{const o=this._callbacks.getObjectId(e);(0,i.kG)(o);const r=this._saveModeQueue.queuedObjectType(o),a=this._saveModeQueue.isSaved(o)||r===l,c=r===s;this._callbacks.onDelete&&this._callbacks.onDelete(e,t),(a||c)&&this._saveModeQueue.deleteObject(this._createSaveQueueObject(o,e,t)),this._deletedObjects=this._deletedObjects.set(o,e)}finally{n()}}backendObjectsCreated(e,t,n){const o=t===b.y,r=e.map((e=>this._callbacks.getObjectId(e))).toArray();this._saveModeQueue.markObjectsAsSaved(r),this._callbacks.createStoreObjects(e,n),this.eventEmitter.emit("change"),this.eventEmitter.emit(o?"load":"create",e),r.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),!o&&this._callbacks.refresh()}backendObjectsUpdated(e,t){this._callbacks.updateStoreObjects(e),t||(this.eventEmitter.emit("change"),this.eventEmitter.emit("update",e));e.map((e=>this._callbacks.getObjectId(e))).toArray().forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this._callbacks.refresh()}backendObjectsDeleted(e){const t=e.map((e=>this._callbacks.getObjectById(e))).filter(Boolean).toList();this._callbacks.deleteStoreObjects(e),e.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",t),this._callbacks.refresh()}_getSupportedEvents(){return["change","willSave","didSave","load","create","update","delete","saveStateChange"]}_createSaveQueueObject(e,t,n){return void 0===n?{id:e,object:t}:{id:e,object:t,additionalFields:n}}}},46292:(e,t,n)=>{"use strict";n(84121),n(13096)},56664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(46292);let o;function r(){return o}},75376:(e,t,n)=>{"use strict";n(47347);var o=n(35369),r=(n(95651),n(20792),n(66687),n(63564)),i=(n(75237),n(59780),n(44048),n(2810),n(97528),n(88804),n(19702),n(65872),n(30578),n(92457)),a=n(56664);n(46791),n(52247),n(68258),n(97413),n(46292),n(13096);i.ZP.toJS(),(0,o.d0)({});(0,a.Z)();Object.entries(r.qH.toJS()).reduce(((e,t)=>{var n;let[o,r]=t;return e[o]=null===(n=r.desktop)||void 0===n?void 0:n.map((e=>({type:e}))),e}),{})},13096:(e,t,n)=>{"use strict";n(84121)},23413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(53678),r=n(13997);class i{constructor(e,t){this.identifier=this.url=e,this.token=t,this.aborted=!1}request(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{method:"GET"};const{method:t,data:n=null}=e,i=new XMLHttpRequest;return i.open(t,this.url,!0),i.setRequestHeader("X-PSPDFKit-Token",this.token),i.setRequestHeader("PSPDFKit-Platform","web"),i.setRequestHeader("PSPDFKit-Version",(0,r.oM)()),new Promise(((e,t)=>{i.onreadystatechange=()=>{this.aborted||4===i.readyState&&((0,o.vu)(i.status)?e(JSON.parse(i.responseText)):t({message:i.responseText}))},this.httpRequest=i,i.send(n instanceof FormData?n:"object"==typeof n?JSON.stringify(n):void 0)}))}abort(){this.httpRequest&&(this.aborted=!0,this.httpRequest.abort(),this.httpRequest=null)}}},16159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(84121),r=n(47347),i=n(31712),a=n(93572),s=n(84778);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t{this.annotation[t]&&e.push(t)})),e.length?e:null}}(0,o.Z)(u,"VERSION",2)},81041:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,Z:()=>p});var o=n(84121),r=n(35369),i=n(16159),a=n(15973),s=n(93572),l=n(97413);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t(0,s.u)(e))).toJS()})}static fromJSON(e,t,n){return(0,l.k)("object"==typeof t.rects,"Missing `rects` field"),u(u({},super.fromJSON(e,t,n)),{},{rects:(0,r.aV)(t.rects).map((e=>(0,s.k)(e)))})}}},44048:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,i:()=>s});var o=n(47347),r=n(31712),i=n(1053);function a(e){return{id:e.id,v:1,pdfBookmarkId:e.pdfBookmarkId,type:"pspdfkit/bookmark",name:e.name,sortKey:e.sortKey,action:e.action&&(0,r.vP)(e.action)}}function s(e,t){let n;(0,o.kG)(null==e||"string"==typeof e,"`id` must be null or of type `string`"),(0,o.kG)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,o.kG)(null==t.sortKey||"number"==typeof t.sortKey,"`sortKey` must be of type `number`"),(0,o.kG)("object"==typeof t.action,"Missing `action` field");try{n=(0,r.lk)(t.action)}catch(e){(0,o.ZK)(`PDF Action not supported:\n\n${t.action}`)}return new i.Z({id:e,pdfBookmarkId:t.pdfBookmarkId||null,name:t.name,sortKey:t.sortKey,action:n})}},56460:(e,t,n)=>{"use strict";n.d(t,{o:()=>c,z:()=>u});var o=n(84121),r=n(47347),i=n(66687),a=n(84778);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{T8:()=>i,X$:()=>o,hH:()=>a,uE:()=>r});const o=e=>e.toJS(),r=e=>e.toJS(),i=(e,t)=>{return{maxWidth:e.maxWidth,alignment:e.alignment,lineSpacingFactor:e.lineSpacingFactor,modificationsCharacterStyle:(n=t,n.toJS())};var n},a=e=>i(e.layout,e.modificationsCharacterStyle)},37927:(e,t,n)=>{"use strict";function o(e){var t;return{type:e.type,options:{numberOfContextWords:null===(t=e.options)||void 0===t?void 0:t.numberOfContextWords}}}function r(e){return{filePath:e.filePath,password:e.password,pageIndexes:e.pageIndexes,jwt:e.jwt}}n.d(t,{c:()=>r,j:()=>o})},30578:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,i:()=>c});var o=n(47347),r=n(35369),i=n(31712),a=n(22660),s=n(66687);function l(e){return{type:"pspdfkit/outline-element",children:e.children&&e.children.map((e=>l(e))).toJS(),title:e.title,color:e.color&&(0,a.C)(e.color),isBold:e.isBold,isItalic:e.isItalic,isExpanded:e.isExpanded,action:e.action&&(0,i.vP)(e.action)}}function c(e){let t,n;(0,o.kG)("pspdfkit/outline-element"===e.type,"invalid outline element type."),(0,o.kG)(null==e.children||Array.isArray(e.children),"children must be an Array."),(0,o.kG)("string"==typeof e.title,"title must be a string."),(0,o.kG)(null==e.isBold||"boolean"==typeof e.isBold,"isBold must be a boolean."),(0,o.kG)(null==e.isItalic||"boolean"==typeof e.isItalic,"isItalic must be a boolean."),(0,o.kG)(null==e.isExpanded||"boolean"==typeof e.isExpanded,"isExpanded must be a boolean.");try{t=e.action&&(0,i.lk)(e.action)}catch(t){(0,o.ZK)(`PDF Action not supported\n\n${e.action}`)}try{n=e.color&&(0,a.b)(e.color)}catch(t){(0,o.ZK)(`Invalid color:\n\n${e.color}`)}const l={title:e.title,color:n,isBold:!0===e.isBold,isItalic:!0===e.isItalic,isExpanded:!0===e.isExpanded,action:t,children:(0,r.aV)()};return e.children&&e.children.length>0&&(l.children=(0,r.aV)(e.children.map(c))),new s.sT(l)}},13071:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(84121),r=n(47347),i=n(22660),a=n(18146),s=n(5020),l=n(81041);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>h,q:()=>f});var o=n(84121),r=n(35369),i=n(22660),a=n(16159),s=n(20367),l=n(97413),c=n(71603),u=n(4132);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t(0,s.K)(e))).toJS()}static _JSONToPoints(e){return(0,r.aV)(e.map((e=>(0,s.W)(e))))}static _JSONLinesToPoints(e){return(0,r.aV)(e.points[0].map(s.W))}}function m(e){return new c.Z({unitFrom:e.unitFrom,unitTo:e.unitTo,fromValue:e.from,toValue:e.to})}},78162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(84121),r=n(47347),i=n(45395),a=n(22660),s=n(66687),l=n(16159),c=n(31712),u=n(2810),d=n(5020);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t{"use strict";n.d(t,{GI:()=>f,eb:()=>p,lk:()=>u,vP:()=>c});var o=n(84121),r=n(35369),i=n(47347),a=n(89335);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;te(t))).toArray()});if(t instanceof a.lm)return l({type:"uri",uri:t.uri},n);if(t instanceof a.Di)return l({type:"goTo",pageIndex:t.pageIndex},n);if(t instanceof a.Qr)return l({type:"goToEmbedded",newWindow:t.newWindow,relativePath:t.relativePath,targetType:t.targetType},n);if(t instanceof a._6)return l({type:"goToRemote",relativePath:t.relativePath,namedDestination:t.namedDestination},n);if(t instanceof a.ZD)return l({type:"hide",hide:t.hide,annotationReferences:t.annotationReferences.toJS()},n);if(t instanceof a.bp)return l({type:"javaScript",script:t.script},n);if(t instanceof a.b)return l({type:"launch",filePath:t.filePath},n);if(t instanceof a.oH)return l({type:"named",action:t.action},n);if(t instanceof a.BO)return l({type:"resetForm",fields:t.fields?t.fields.toArray():null,flags:t.includeExclude?"includeExclude":null},n);if(t instanceof a.pl)return l({type:"submitForm",uri:t.uri,fields:t.fields?t.fields.toArray():null,flags:d(t)},n);throw new Error(`Unknown action type: ${t.constructor.name}`)}(e)}function u(e){return function e(t){let n=null;switch(t.subactions&&(n={subActions:(0,r.aV)(t.subactions.map((t=>e(t))))}),t.type){case"uri":return(0,i.kG)("string"==typeof t.uri,"URI action must have a `uri`"),new a.lm(l({uri:t.uri},n));case"goTo":return(0,i.kG)("number"==typeof t.pageIndex,"Goto action must have a `pageIndex`"),new a.Di(l({pageIndex:t.pageIndex},n));case"goToEmbedded":return(0,i.kG)("boolean"==typeof t.newWindow,"GoToEmbeddedAction must have `newWindow`"),(0,i.kG)("parent"===t.targetType||"child"===t.targetType,"GoToEmbeddedAction must have a valid `targetType`"),new a.Qr(l({newWindow:t.newWindow,relativePath:t.relativePath||"",targetType:t.targetType||""},n));case"goToRemote":return new a._6(l({relativePath:t.relativePath||"",namedDestination:t.namedDestination||""},n));case"hide":return(0,i.kG)(Array.isArray(t.annotationReferences),"HideAction must have `annotationReferences`"),new a.ZD(l({hide:!!t.hide,annotationReferences:(0,r.aV)(t.annotationReferences)},n));case"javaScript":return new a.bp(l({script:t.script||""},n));case"launch":return new a.b(l({filePath:t.filePath||""},n));case"named":return new a.oH(l({action:t.action||""},n));case"resetForm":{(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of ResetForm Action has to be an array or undefined"),(0,i.kG)("string"==typeof t.flags||void 0===t.flags,"The value of the `flags` field of ResetForm Action has to be a string or undefined");const e="includeExclude"===t.flags;return new a.BO(l({fields:t.fields?(0,r.aV)(t.fields):void 0,includeExclude:e},n))}case"submitForm":return(0,i.kG)("string"==typeof t.uri,"The value of the `uri` field of SubmitForm Action has to be a string"),(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of SubmitForm Action has to be an array or undefined"),(0,i.kG)(t.flags instanceof Array||void 0===t.flags,"The value of the `flags` field of SubmitForm Action has to be a array or undefined"),t.flags||(t.flags=[]),new a.pl(l({fields:t.fields?(0,r.aV)(t.fields):void 0,uri:t.uri,includeExclude:t.flags.includes("includeExclude"),includeNoValueFields:t.flags.includes("includeNoValueFields"),exportFormat:t.flags.includes("exportFormat"),getMethod:t.flags.includes("getMethod"),submitCoordinated:t.flags.includes("submitCoordinated"),xfdf:t.flags.includes("xfdf"),includeAppendSaves:t.flags.includes("includeAppendSaves"),includeAnnotations:t.flags.includes("includeAnnotations"),submitPDF:t.flags.includes("submitPDF"),canonicalFormat:t.flags.includes("canonicalFormat"),excludeNonUserAnnotations:t.flags.includes("excludeNonUserAnnotations"),excludeFKey:t.flags.includes("excludeFKey"),embedForm:t.flags.includes("embedForm")},n));default:throw new Error(`Unknown action: ${t}`)}}(e)}function d(e){const t=[];return["includeExclude","includeNoValueFields","exportFormat","getMethod","submitCoordinated","xfdf","includeAppendSaves","includeAnnotations","submitPDF","canonicalFormat","excludeNonUserAnnotations","excludeFKey","embedForm"].forEach((n=>{e[n]&&t.push(n)})),t.length?t:null}function p(e){return Object.keys(e).reduce(((t,n)=>{const o=e[n];return o&&(t[n]=u(o)),t}),{})}function f(e){return Object.keys(e).reduce(((t,n)=>{const o=e[n];return o instanceof a.aU&&(t[n]=c(o)),t}),{})}},84778:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,Ut:()=>c,a5:()=>l});var o=n(84121),r=n(47347);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;(0,r.kG)(void 0===t||"string"==typeof t||null===t,"`group` should be `undefined` or `string`."),(0,r.kG)(void 0===n||(0,r.PO)(n),"`permissions` should be `undefined` or an `object`."),(0,r.PO)(n)&&((0,r.kG)("boolean"==typeof n.edit,"`permissions.edit` should be `boolean`."),(0,r.kG)("boolean"==typeof n.delete,"`permissions.delete` should be `boolean`."),(0,r.kG)("boolean"==typeof n.setGroup,"`permissions.setGroup` should be `boolean`."),void 0!==n.fill&&(0,r.kG)("boolean"==typeof n.fill,"`permissions.fill` should be `boolean`."),void 0!==n.reply&&(0,r.kG)("boolean"==typeof n.reply,"`permissions.reply` should be `boolean`."))}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;let o={group:t};return(0,r.PO)(n)&&(o=a(a({},o),{},{canSetGroup:n.setGroup,isEditable:n.edit,isDeletable:n.delete}),"boolean"==typeof n.fill&&(o.isFillable=n.fill),"boolean"==typeof n.reply&&(o.canReply=n.reply)),o}function c(e){const t="boolean"==typeof e.isEditable&&"boolean"==typeof e.canSetGroup&&"boolean"==typeof e.isDeletable;let n={group:e.group};return t&&((0,r.kG)("boolean"==typeof e.isEditable),(0,r.kG)("boolean"==typeof e.isDeletable),(0,r.kG)("boolean"==typeof e.canSetGroup),n=a(a({},n),{},{permissions:{edit:e.isEditable,delete:e.isDeletable,setGroup:e.canSetGroup}}),"boolean"==typeof e.isFillable&&(n.permissions=a(a({},n.permissions),{},{fill:e.isFillable})),"boolean"==typeof e.canReply&&(n.permissions=a(a({},n.permissions),{},{reply:e.canReply}))),n}},22660:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,b:()=>a});var o=n(47347),r=n(66687);function i(e){return e.toHex()}function a(e){if((0,o.kG)(7===e.length||9===e.length,"Tried to deserialize color that does not have 7 or 9 characters"),"#00000000"===e)return r.Il.TRANSPARENT;const t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),i=parseInt(e.substring(5,7),16);return new r.Il({r:t,g:n,b:i})}},62793:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,r:()=>a});var o=n(47347),r=n(66687);function i(e){return[e.left,e.top,e.right,e.bottom]}function a(e){return(0,o.kG)(4===e.length,"Tried to deserialize inset that does not have 4 entries"),new r.eB({left:e[0],top:e[1],right:e[2],bottom:e[3]})}},20367:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,W:()=>a});var o=n(47347),r=n(66687);function i(e){return[e.x,e.y]}function a(e){return(0,o.kG)(2===e.length,"Tried to deserialize point that does not have 2 entries"),new r.E9({x:e[0],y:e[1]})}},93572:(e,t,n)=>{"use strict";n.d(t,{k:()=>a,u:()=>i});var o=n(47347),r=n(66687);function i(e){return[e.left,e.top,e.width,e.height]}function a(e){return(0,o.kG)(4===e.length,"Tried to deserialize rect that does not have 4 entries"),new r.UL({left:e[0],top:e[1],width:e[2],height:e[3]})}},2810:(e,t,n)=>{"use strict";n.d(t,{Lw:()=>qe,vH:()=>Fe,Mu:()=>Ne,IN:()=>Me,u9:()=>Be,Vl:()=>it,rS:()=>je,XH:()=>tt,l9:()=>Ye,Fd:()=>Je,_o:()=>et,_Q:()=>Ge,Qp:()=>We,$T:()=>Qe,Hs:()=>Ie,jA:()=>Re,kg:()=>nt,vD:()=>_e,kr:()=>Le,xT:()=>$e,sr:()=>Ue,_D:()=>Ke,eE:()=>Ze,_L:()=>Ve,YA:()=>rt,MR:()=>Xe});var o=n(17375),r=n(84121),i=n(47347),a=n(35369),s=n(66687),l=n(18146),c=n(74973),u=n(22660),d=n(20367),p=n(16159);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;te.map((e=>(0,d.K)(e))))).toJS(),intensities:this.annotation.lines.map((e=>e.map((e=>e.intensity)))).toJS()}}static _JSONToLines(e){return(0,a.aV)(e.points).map(((t,n)=>{const o=e.intensities[n];return(0,a.aV)(t).map(((e,t)=>{const n=o[t],r=(0,d.W)(e);return new s.Wm({x:r.x,y:r.y,intensity:n})}))}))}}var g=n(74115),v=n(97413);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function b(e){for(var t=1;t{Object.keys(e).forEach((t=>{null==e[t]||e[t]instanceof Array&&0===e[t].length?delete e[t]:"object"!=typeof e[t]||e[t]instanceof Array||Te(e[t])}))};function Ie(e){const t=new(function(e){switch(e){case s.Zc:return m;case s.o9:return w;case s.b3:return D;case s.Xs:return O;case s.Hi:return I;case s.om:return _;case s.R1:return L;case s.FV:case s.R9:case s.xu:case s.hL:return Y;case l.Z:return pe.Z;case s.gd:return q;case s.Qi:return K;case s.sK:return oe;case s.GI:return se;case s.x_:return le.Z;case s.Jn:return de;case s.Ih:return ee;case c.Z:return me;default:throw new Error("Unsupported annotation type")}}(e.constructor))(e).toJSON();return Te(t),t}function Fe(e,t,n){return He(t.type).fromJSON(e,t,n)}function Me(e,t,n){return function(e,t,n){(0,v.k)(1===t.v,"Version Unknown"),(0,v.k)("string"==typeof e,"`id` must be of type `string`"),(0,v.k)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,v.k)("string"==typeof t.type&&t.type.startsWith("pspdfkit/form-field/")&&3===t.type.split("/").length,`Invalid type for form field '${t.type}'`),(0,we.G)(n);const o=t.type.split("/")[2],r=t.flags?t.flags.reduce(((e,t)=>(e[t]=!0,e)),{}):{},s=Pe({id:e,pdfObjectId:t.pdfObjectId||null,name:t.name,annotationIds:(0,a.aV)(t.annotationIds),label:t.label,readOnly:r.readOnly,required:r.required,noExport:r.noExport,additionalActions:t.additionalActions?(0,be.eb)(t.additionalActions):null},(0,we.a5)(n));switch(t.type){case"pspdfkit/form-field/button":return new ge.R0(Pe(Pe({},s),{},{buttonLabel:t.buttonLabel}));case"pspdfkit/form-field/checkbox":return new ge.rF(Pe(Pe({},s),{},{defaultValues:(0,a.aV)(t.defaultValues),options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/combobox":return new ge.fB(Pe(Pe({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues),edit:t.edit,doNotSpellCheck:t.doNotSpellCheck}));case"pspdfkit/form-field/listbox":return new ge.Vi(Pe(Pe({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues)}));case"pspdfkit/form-field/radio":return new ge.XQ(Pe(Pe({},s),{},{noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison,defaultValue:t.defaultValue,options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/text":return new ge.$o(Pe(Pe({},s),{},{defaultValue:t.defaultValue,password:t.password,maxLength:t.maxLength,doNotSpellCheck:t.doNotSpellCheck,doNotScroll:t.doNotScroll,multiLine:t.multiLine,comb:t.comb}));case"pspdfkit/form-field/signature":return new ge.Yo(s);default:throw new i.p2(`Form field type not deserializable: ${o}`)}}(e,t,n)}function _e(e){return function(e){const t=ye.Mr.filter((t=>e[t])),n=Pe(Pe({id:e.id,v:1,pdfObjectId:e.pdfObjectId,name:e.name,annotationIds:e.annotationIds.toArray(),label:e.label,additionalActions:e.additionalActions&&(0,be.GI)(e.additionalActions)},(0,we.Ut)(e)),(null==t?void 0:t.length)&&{flags:t});if(e instanceof ge.R0)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/button",buttonLabel:e.buttonLabel});if(e instanceof ge.rF)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/checkbox",defaultValues:e.defaultValues.toArray(),options:e.options.toJS()});if(e instanceof ge.fB)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/combobox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray(),edit:e.edit,doNotSpellCheck:e.doNotSpellCheck});if(e instanceof ge.Vi)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/listbox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray()});if(e instanceof ge.XQ)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/radio",options:e.options.toJS(),noToggleToOff:e.noToggleToOff,radiosInUnison:e.radiosInUnison,defaultValue:e.defaultValue});if(e instanceof ge.$o)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/text",password:e.password,maxLength:e.maxLength,doNotSpellcheck:e.doNotSpellCheck,doNotScroll:e.doNotScroll,multiLine:e.multiLine,comb:e.comb,defaultValue:e.defaultValue});if(e instanceof ge.Yo)return Pe(Pe({},n),{},{type:"pspdfkit/form-field/signature"});throw new i.p2("Form field type not serializable")}(e)}function Ne(e,t,n){return(0,De.z)(e,t,n)}function Re(e,t){return(0,De.o)(e,t)}function Le(e){const t=a.aV.isList(e.value)?e.value.toArray():null==e.value?void 0:e.value;return Ae(Ae({v:1,type:"pspdfkit/form-field-value",name:e.name,value:t},e.optionIndexes&&e.optionIndexes.size>=1?{optionIndexes:e.optionIndexes.toArray()}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting})}function Be(e){(0,i.kG)("pspdfkit/form-field-value"===e.type,"Invalid `type` for form field value."),(0,i.kG)(1===e.v,"Invalid `version` for form field value."),(0,i.kG)("string"==typeof e.name,"Invalid `name` for form field value. Must be of type `string`."),(0,i.kG)(void 0===e.value||null===e.value||"string"==typeof e.value||Array.isArray(e.value),"Invalid `value` for form field value. Must be of type `undefined`, `null`, `string`, or `Array`."),(0,i.kG)(void 0===e.optionIndexes||Array.isArray(e.optionIndexes)&&e.optionIndexes.every(Number.isInteger),"Invalid `optionIndexes` value for form field value. Must be an Array of integers."),(0,i.kG)(void 0===(null==e?void 0:e.isFitting)||"boolean"==typeof e.isFitting,"Invalid `isFitting` value for form field value. Must be a boolean.");const t=e.value instanceof Array?(0,a.aV)(e.value):e.value,n=e.name;return new ge.KD(Ae(Ae({name:n,value:t},e.optionIndexes&&e.optionIndexes.length>=1?{optionIndexes:(0,a.aV)(e.optionIndexes)}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting}))}function je(e){if(!Object.values(xe._).includes(e.status))throw new i.p2("Invalid `status` for signatures info. Must be one of the `PSPDFKit.DocumentValidationStatus` values");if("string"!=typeof e.checkedAt)throw new i.p2("Invalid `checkedAt` for signatures info. Must be of type `string`.");if(void 0!==e.signatures&&!Array.isArray(e.signatures))throw new i.p2("Invalid `signatures` for signatures info. Must be of type `undefined` or `Array`.");if(!["undefined","boolean"].includes(typeof e.documentModifiedSinceSignature))throw new i.p2("Invalid `documentModifiedSinceSignature` for signatures info. Must be of type `undefined` or `boolean`.");const{checkedAt:t,signatures:n,documentModifiedSinceSignature:o}=e;return Ae(Ae({status:xe._[e.status],checkedAt:new Date(t)},n?{signatures:ze(n)}:null),"boolean"==typeof o?{documentModifiedSinceSignature:o}:null)}function ze(e){return e.map((e=>{if("pspdfkit/signature-info"!==e.type)throw new i.p2("Invalid `type` for signature info.");if(["signerName","creationDate","signatureReason","signatureLocation"].forEach((t=>{if(!["undefined","string"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`undefined\` or \`string\`.`)})),["isTrusted","isSelfSigned","isExpired","documentModifiedSinceSignature"].forEach((t=>{if(!["boolean"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`boolean\``)})),!["string"].includes(typeof e.signatureFormFQN))throw new i.p2("Invalid `signatureFormFQN` for signature info. Must be a `string`.");if(!Object.values(Ee.QA).includes(e.documentIntegrityStatus))throw new i.p2("Invalid `documentIntegrityStatus` for signature info. Must be one of the `PSPDFKit.DocumentIntegrityStatus` values");if(e.signatureType&&!Object.values(Ee.Xl).includes(e.signatureType))throw new i.p2(`Invalid \`signatureType\` for signature info: ${e.signatureType}. Must be 'cms' or 'cades' if present`);if(!Object.values(Ee.wk).includes(e.certificateChainValidationStatus))throw new i.p2("Invalid `certificateChainValidationStatus` for signature info. Must be one of the `PSPDFKit.CertificateChainValidationStatus` values");if(!Object.values(Ee.qA).includes(e.signatureValidationStatus))throw new i.p2("Invalid `signatureValidationStatus` for signature info. Must be one of the `PSPDFKit.SignatureValidationStatus` values");return Ae(Ae({type:e.type},e.signatureType?{signatureType:ot[e.signatureType]}:null),{},{documentIntegrityStatus:Ee.QA[e.documentIntegrityStatus],certificateChainValidationStatus:Ee.wk[e.certificateChainValidationStatus],signatureValidationStatus:Ee.qA[e.signatureValidationStatus],isTrusted:e.isTrusted,isSelfSigned:e.isSelfSigned,isExpired:e.isExpired,documentModifiedSinceSignature:e.documentModifiedSinceSignature,signerName:e.signerName,signatureReason:e.signatureReason,signatureLocation:e.signatureLocation,creationDate:e.creationDate?new Date(e.creationDate):void 0,signatureFormFQN:e.signatureFormFQN,PAdESSignatureLevel:e.PAdESSignatureLevel,validFrom:e.validFrom,validUntil:e.validUntil,timestampInfo:e.timestampInfo})}))}function Ke(e){return Ae({type:"pspdfkit/signature-metadata"},e)}function Ze(e){return e?{type:"pspdfkit/signature-position",pageIndex:e.pageIndex,rect:(0,P.u)(e.boundingBox)}:null}function Ue(e){if(!e)return null;const{watermarkImage:t}=e,n=(0,o.Z)(e,Ce);let r;return t&&(r=t.type),Ae(Ae({type:"pspdfkit/signature-appearance"},n),r?{contentType:r}:null)}function Ve(e){const t=e||{},{signatureType:n,certificates:r}=t,i=(0,o.Z)(t,ke);return Ae({type:"pspdfkit/signer-data-source",certificates:r||[],signatureType:rt[n||(r&&r.length>0?Ee.BG.CAdES:Ee.BG.CMS)]||Ee.Xl.cms},i)}function Ge(e){return"string"==typeof e.type&&e.type.startsWith("pspdfkit/form-field/")}function We(e){return"pspdfkit/form-field-value"===e.type}function qe(e){return e.map((e=>e.data)).toJS()}const He=e=>{switch(e){case"pspdfkit/ink":return m;case"pspdfkit/shape/line":return w;case"pspdfkit/shape/rectangle":return D;case"pspdfkit/shape/ellipse":return O;case"pspdfkit/shape/polygon":return I;case"pspdfkit/shape/polyline":return _;case"pspdfkit/link":return L;case"pspdfkit/markup/highlight":case"pspdfkit/markup/squiggly":case"pspdfkit/markup/strikeout":case"pspdfkit/markup/underline":return Y;case"pspdfkit/markup/redaction":return pe.Z;case"pspdfkit/text":return q;case"pspdfkit/note":return K;case"pspdfkit/image":return oe;case"pspdfkit/stamp":return se;case"pspdfkit/widget":return le.Z;case"pspdfkit/comment-marker":return de;case"pspdfkit/media":return me;default:return ee}};function $e(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,o]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=o&&(0,u.C)(o);break;case"startPoint":case"endPoint":e[n]=o&&(0,d.K)(o);break;case"icon":e.icon=B.Y4[o];break;case"points":e.points=o&&o.map((e=>(0,d.K)(e))).toJS();break;case"lines":e.lines=o&&{points:o.map((e=>e.map((e=>(0,d.K)(e))))).toJS(),intensities:o.map((e=>e.map((e=>e.intensity)))).toJS()};break;case"isBold":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("bold"):["bold"];break;case"isItalic":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("italic"):["italic"];break;case"callout":e.callout=o&&{start:(0,d.K)(o.start),knee:o.knee&&(0,d.K)(o.knee),end:(0,d.K)(o.end),cap:o.cap};break;case"boundingBox":e.bbox=o&&(0,P.u)(o);break;case"cloudyBorderInset":e.cloudyBorderInset=o&&(0,S.B)(o);break;case"strokeDashArray":case"borderDashArray":e.strokeDashArray=o;break;case"action":e.action=o&&(0,be.vP)(o);break;case"createdAt":case"updatedAt":e[n]=o&&o.toISOString();break;case"noPrint":case"noZoom":case"noRotate":case"noView":case"hidden":!0===o&&(e.flags=Array.isArray(e.flags)?e.flags.concat(n):[n]);break;default:e[n]=o}return e}),{});return Te(t),t}function Xe(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,o]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=null!=o?(0,u.b)(o):null;break;case"startPoint":case"endPoint":e[n]=o&&(0,d.W)(o);break;case"icon":e.icon=B.V9[o];break;case"points":e.points=o&&(0,a.aV)(o.map((e=>(0,d.W)(e))));break;case"lines":e.lines=o&&(0,a.aV)(o.points).map(((e,t)=>{const n=o.intensities[t];return(0,a.aV)(e).map(((e,t)=>{const o=n[t],r=(0,d.W)(e);return new s.Wm({x:r.x,y:r.y,intensity:o})}))}));break;case"fontStyle":e.isBold=o&&o.includes("bold"),e.isItalic=o&&o.includes("italic");break;case"callout":e.callout=o&&{start:(0,d.W)(o.start),knee:o.knee&&(0,d.W)(o.knee),end:(0,d.W)(o.end),cap:o.cap};break;case"bbox":e.boundingBox=o&&(0,P.k)(o);break;case"cloudyBorderInset":e.cloudyBorderInset=o&&(0,S.r)(o);break;case"strokeDashArray":e.strokeDashArray=o;break;case"action":e.action=o&&(0,be.lk)(o);break;case"createdAt":case"updatedAt":e[n]=new Date(o);break;case"flags":o&&(e.noPrint=o.includes("noPrint"),e.noZoom=o.includes("noZoom"),e.noRotate=o.includes("noRotate"),e.noView=o.includes("noView"),e.hidden=o.includes("hidden"));break;default:e[n]=o}return e}),{});return Te(t),t}function Ye(e){return"pspdfkit/bookmark"===e.type}function Je(e){return"pspdfkit/comment"===e.type}function Qe(e){return"pspdfkit/signature-info"===e.type}function et(e){return"pspdfkit/embedded-file"===e.type}function tt(e){const t=[];return e.isBold&&t.push("bold"),e.isItalic&&t.push("italic"),t.length>0?t:null}function nt(e){if("addPage"===e.type){if("afterPageIndex"in e&&"number"==typeof e.afterPageIndex)return Ae({type:e.type,afterPageIndex:e.afterPageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,P.u)(e.insets)});if("beforePageIndex"in e&&"number"==typeof e.beforePageIndex)return Ae({type:e.type,beforePageIndex:e.beforePageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,P.u)(e.insets)});throw new i.p2("The `addPage` operation is missing either the `afterPageIndex` or the `beforePageIndex` property")}return"cropPages"===e.type?{type:e.type,cropBox:(0,P.u)(e.cropBox),pageIndexes:e.pageIndexes}:e}const ot={cms:"CMS",cades:"CAdES",documentTimestamp:"documentTimestamp"},rt={CMS:"cms",CAdES:"cades",documentTimestamp:"documentTimestamp"};function it(e){return(0,a.aV)(e.map((e=>({c:e.c,rect:(0,P.k)(e.r)}))))}},34852:(e,t,n)=>{"use strict";n.d(t,{eQ:()=>hE,xE:()=>nE,Un:()=>mE,zD:()=>lE,ae:()=>qP,XV:()=>gE,n_:()=>sE,Nt:()=>oE,If:()=>WP});var o=n(84121),r=n(67665),i=n(35369),a=n(67366),s=n(47347),l=n(73935),c=n(67294),u=n(94184),d=n.n(u),p=n(46797),f=n(75920),h=n(87153),m=n.n(h),g=(n(17938),n(21076));function v(e){return(0,s.kG)(Array.isArray(e),"fontSubstitutions must be an array of FontSubstitution objects."),e.every((e=>"string"==typeof(null==e?void 0:e.pattern)&&""!==(null==e?void 0:e.pattern.trim())&&"string"==typeof(null==e?void 0:e.target)&&""!==e.target.trim()))}var y=n(34426),b=n(88804),w=n(66687),S=n(76192),P=n(97333),E=n(40230);function x(e){return function(t){var n=t.dispatch,o=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,o,e):t(r)}}}}var D=x();D.withExtraArgument=x;const C=D;n(94500);var k=n(30570),O=n(79827),A=n(36489),T=n(80857),I=n(72584);const F=(0,T.Z)("MeasurementValueConfiguration");function M(e){let t=!1;e.forEach(((n,o)=>{var r;r=n,F((0,s.PO)(r)&&!!r,"Expected item to be an object"),F((0,s.PO)(r.scale)&&!!r.scale,"Expected scale to be an object"),F(void 0!==r.scale.unitFrom&&Object.values(A.s).includes(r.scale.unitFrom),`Scale ${r.name} does not have a valid 'unitFrom' value.`),F(void 0!==r.scale.unitTo&&Object.values(O.K).includes(r.scale.unitTo),`Scale ${r.name} does not have a valid 'unitTo' value.`),F(void 0!==r.scale.fromValue&&(0,I.hj)(Number(r.scale.fromValue)),`Scale ${r.name} does not have a valid 'fromValue' value.`),F(void 0!==r.scale.toValue&&(0,I.hj)(Number(r.scale.toValue)),`Scale ${r.name} does not have a valid 'toValue' value.`),F("string"==typeof r.precision||void 0===r.precision,"`measurementValueConfiguration.measurementPrecision` must be a string.");for(let t=o+1;te.withMutations((e=>{t.annotations.forEach((t=>{(0,_.ud)(e,t)}))})),[B.ILc]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,_.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",N.A.INK),e.set("selectedAnnotationMode",R.o.EDITING),(0,_.ud)(e,n)}))},[B.RPc]:(e,t)=>e.set("inkEraserCursorWidth",t.lineWidth),[B.HS7]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,_.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",(0,L.R4)(t.annotation.constructor)),e.set("selectedAnnotationMode",R.o.EDITING),(0,_.ud)(e,n)}))},[B.jzI]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,_.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",N.A.REDACT_SHAPE_RECTANGLE),e.set("selectedAnnotationMode",R.o.EDITING),(0,_.ud)(e,n)}))},[B.oE1]:(e,t)=>{let{attributes:n}=t;const{currentItemPreset:o}=e;return o?e.hasIn(["annotationPresets"],o)?e.mergeIn(["annotationPresets",o],n):e.setIn(["annotationPresets",o],n):e},[B.oWy]:(e,t)=>{let{currentItemPreset:n}=t;return e.set("currentItemPreset",n)},[B.UiQ]:(e,t)=>{let{annotationPresets:n}=t;return e.set("annotationPresets",n)},[B.R1i]:(e,t)=>{let{annotationID:n,annotationPresetID:o}=t;return e.setIn(["annotationPresetIds",n],o)},[B.x0v]:(e,t)=>{let{annotationID:n}=t;return e.delete("annotationPresetIds",n)},[B.JwD]:(e,t)=>{let{annotationID:n}=t;const o=e.annotationPresetIds.has(n)?e.annotationPresetIds.get(n):(0,_.X5)(e,n);return e.set("currentItemPreset",o)},[B.R8P]:(e,t)=>e.withMutations((e=>{t.annotations.forEach((t=>{(0,_._E)(e,t)}))})),[B.gF5]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,_.Dl)(e,t)}))})),[B.sCM]:(e,t)=>{let{annotationsIDs:n}=t;return e.set("annotationsIdsToDelete",n)},[B.qRJ]:(e,t)=>{let{stampAnnotationTemplates:n}=t;return e.set("stampAnnotationTemplates",n)},[B.WaW]:(e,t)=>e.set("collapseSelectedNoteContent",t.value),[B.ieh]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)||e.set("invalidAPStreams",e.invalidAPStreams.set(t,(0,i.l4)()));const o=e.invalidAPStreams.get(t);o&&e.set("invalidAPStreams",e.invalidAPStreams.set(t,o.add(n)))}))})),[B.kVz]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)&&e.deleteIn(["invalidAPStreams",t],n)}))})),[B.hw0]:(e,t)=>e.set("onAnnotationResizeStart",t.callback),[B.$8O]:(e,t)=>{let{measurementToolState:n}=t;return e.set("measurementToolState",n?z(z({},e.measurementToolState),n):null)},[B.UP4]:(e,t)=>{let{hintLines:n}=t;return e.set("hintLines",n)},[B.vkF]:(e,t)=>{let{configurationCallback:n}=t;return e.set("measurementValueConfiguration",n)},[B.SdX]:(e,t)=>{var n,o;let{scales:r}=t;const i=null!==(n=null===(o=e.measurementValueConfiguration)||void 0===o?void 0:o.call(e,r))&&void 0!==n?n:r;i&&M(i);const a=e.activeMeasurementScale||i.find((e=>e.selected))||i[0];return e.withMutations((e=>{e.set("measurementScales",i),a&&e.set("activeMeasurementScale",a)}))},[B.Zt9]:(e,t)=>e.set("secondaryMeasurementUnit",t.secondaryMeasurementUnit),[B.VNu]:(e,t)=>e.set("activeMeasurementScale",t.activeMeasurementScale),[B.wgG]:(e,t)=>e.set("isCalibratingScale",t.isCalibratingScale),[B.Dqw]:(e,t)=>e.withMutations((e=>{"down"===t.variant?e.updateIn(["APStreamVariantsDown"],(e=>e.concat(t.annotationObjectIds))):"rollover"===t.variant&&e.updateIn(["APStreamVariantsRollover"],(e=>e.concat(t.annotationObjectIds)))})),[B.uOP]:(e,t)=>e.set("widgetAnnotationToFocus",t.annotationId)};function U(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K,t=arguments.length>1?arguments[1]:void 0;const n=Z[t.type];return n?n(e,t):e}const V=new w.ZM,G={[B.huI]:(e,t)=>{const{hash:n,attachment:o}=t;return e.setIn(["attachments",n],o)}};function W(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0;const n=G[t.type];return n?n(e,t):e}var q=n(25915),H=n(27515),$=n(18146),X=n(75237),Y=n(79941),J=n(49027),Q=n(3845),ee=n(60132),te=n(72131),ne=n(17375);function oe(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t()=>{};function se(){const e=c.createContext(ae);class t extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{instances:{}}),(0,o.Z)(this,"refCreator",((e,t,n)=>o=>{this.setState((r=>{let{instances:i}=r;const a=i[e]||{node:null,portalTarget:document.createElement("div"),target:null};return n&&(a.portalTarget.className=n),a.portalTarget.parentNode!==o&&o&&o.appendChild(a.portalTarget),a.node===t&&a.target===o?null:{instances:ie(ie({},i),{},{[e]:ie(ie({},a),{},{node:t,target:o})})}}),(()=>{if(null===o){null===this.state.instances[e].target&&this.setState((t=>{let{instances:n}=t;const{[e]:o}=n;return{instances:(0,ne.Z)(n,[e].map(oe))}}))}}))}))}render(){const t=Object.entries(this.state.instances).map((e=>{let[t,{node:n,portalTarget:o}]=e;return l.createPortal(void 0===n?null:n,o,t)}));return c.createElement(e.Provider,{value:this.refCreator},this.props.children,t)}}return{Provider:t,Reparent:function(t){let{id:n,children:o,className:r}=t;return c.createElement(e.Consumer,null,(e=>c.createElement("div",{ref:e(n,o,r)})))}}}const le=se(),ce=se();se();var ue=n(22122),de=n(15973);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t{if(a&&n&&n!==a.firstChild){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(n)}return()=>{const e=l.current;e&&e(n)}}),[n,a]),c.useLayoutEffect((()=>{l.current=i}),[i]),c.createElement("div",{style:{position:"relative"}},t&&o,n&&c.createElement("div",{ref:s,style:r}))}function me(e,t){return!e&&!t}const ge={node:"object",append:"boolean",noZoom:"boolean",onDisappear:"function"};const ve=(0,a.$j)((e=>({customRenderers:e.customRenderers})))((function(e){const{children:t,customRenderers:n,renderer:o,zoomLevel:r,notCSSScaled:i=!1}=e;if(!n||!n[o])return t;const a=c.Children.only(t),l=a.props,u=ye[o],d=n[o];(0,s.kG)(null!=d);const p=d(u(l));if(!p)return t;!function(e){(0,s.kG)(e.node,"Custom renderers must return an object with a node property.");for(const t in e)e.hasOwnProperty(t)&&((0,s.kG)(void 0!==ge[t],`Render configuration '${t}' property is not supported`),(0,s.kG)(typeof e[t]===ge[t],`Render configuration ${t} property has wrong '${typeof e[t]}' type, should be '${ge[t]}'`))}(p);const{node:f,append:h,noZoom:m=!1,onDisappear:g}=p,v=be[o];(0,s.kG)("boolean"==typeof m);const y=fe({pointerEvents:h?"none":"all"},v?v(l,m,i,r):null);return c.createElement(he,{node:f,append:h,onDisappear:g,rendererStyles:y},a)})),ye={Annotation:e=>({annotation:e.annotation}),CommentAvatar:e=>({comment:e.comment})},be={Annotation:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;if(e&&e.annotation&&e.annotation.boundingBox){const{left:r,top:i,width:a,height:s}=e.annotation.boundingBox;return fe({position:"absolute",left:r*o,top:i*o,width:n?a*o:a,height:n?s*o:s},me(t,n)?{transform:`scale(${o})`,transformOrigin:"0 0"}:null)}return{}},CommentAvatar:null};var we=n(18390),Se=n(76154),Pe=n(97413);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class xe extends c.PureComponent{render(){const{applyZoom:e,children:t,position:n,zoomLevel:r,noRotate:i,currentPagesRotation:a,disablePointerEvents:s,additionalStyle:l={},isMultiAnnotationsSelected:u}=this.props;(0,Pe.k)(!i||"number"==typeof a);const d=(e?`scale(${r}) `:"")+(i?`rotate(-${String(a)}deg)`:""),p=function(e){for(var t=1;t{e.isPrimary&&(!this.props.isReadOnly&&e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_onFocus",(e=>{this.props.onFocus&&this.props.onFocus(this.props.annotation,e)})),(0,o.Z)(this,"_onBlur",(e=>{this.props.onBlur&&this.props.onBlur(this.props.annotation,e)}))}render(){const{annotation:e,zoomLevel:t,rotation:n,active:o,intl:{formatMessage:r}}=this.props,{width:i,height:a}=e.boundingBox,s=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},l=d()("PSPDFKit-Annotation","PSPDFKit-Comment-Marker-Annotation",o&&!this.props.isDisabled&&"PSPDFKit-Annotation-Selected",o&&!this.props.isDisabled&&"PSPDFKit-Comment-Marker-Annotation-Selected",Te().annotation);return c.createElement(xe,{position:e.boundingBox.getLocation(),zoomLevel:t,currentPagesRotation:n,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},c.createElement(we.Z,(0,ue.Z)({},s,{onClick:this._handleClick,onFocus:this._onFocus,onBlur:this._onBlur,disabled:this.props.isDisabled,style:{width:i,height:a,transformOrigin:"top left",transform:`translate(${i*t/2-i/2}px, ${a*t/2-a/2}px)`},className:l,"data-annotation-id":e.id,"aria-controls":`CommentThread-${e.id}`,"aria-label":`${r(ke.Z.annotation)}: ${r(ke.Z.comment)}`}),c.createElement(Oe.Z,{style:{width:20,height:20},className:d()(Te().icon,o&&Te().iconActive),type:"comment-indicator"})))}}const Fe=(0,Se.XN)(Ie,{forwardRef:!0});var Me,_e=n(45588),Ne=n(86366),Re=n(13540),Le=n(73264),Be=n(91859),je=n(58054),ze=n.n(je),Ke=n(36095),Ze=n(16126),Ue=n(75669),Ve=n(92606),Ge=n.n(Ve);function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function qe(e){for(var t=1;t{e&&!this._fetchImageComponentInstance&&(this._fetchImageComponentInstance=e)})),(0,o.Z)(this,"_fetchImageComponentInstance",null),(0,o.Z)(this,"state",{loadingState:"LOADING",showLoadingIndicator:!1,renderedAnnotation:null}),(0,o.Z)(this,"_fetchImage",(()=>{const{backend:e,attachment:t,zoomLevel:n,isDetachedAnnotation:o}=this.props;let r=this.props.annotation;return o&&(r=r.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0)))),(0,_e.an)({backend:e,blob:null==t?void 0:t.data,annotation:r,isDetachedAnnotation:Boolean(o),zoomLevel:n,variant:this.props.variant})})),(0,o.Z)(this,"_renderFinished",(()=>{var e,t;this.isAlive&&(this.props.annotation instanceof w.GI&&this.setState({renderedAnnotation:this.props.annotation}),this._shouldShowIndicators&&this.setState({loadingState:"LOADED"}),null===(e=(t=this.props).onRenderFinished)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showError",(()=>{var e,t;this.isAlive&&(this.props.annotation instanceof w.GI||this.props.annotation instanceof w.sK||this.props.annotation instanceof w.Ih?this._shouldShowIndicators&&this.setState({loadingState:"ERROR"}):null===(e=(t=this.props).onError)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.isAlive&&this._shouldShowIndicators&&this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){!this.props.isDragging&&this.isAlive&&Ye(e,this.props)&&(this._fetchImageComponentInstance&&this.props.annotation.rotation!==e.annotation.rotation?this._fetchImageComponentInstance.refreshSkippingThrottle():this._fetchImageComponentInstance&&this._fetchImageComponentInstance.refresh())}componentDidMount(){this._shouldShowIndicators&&setTimeout(this._showLoadingIndicator,Be.rB)}componentWillUnmount(){this.isAlive=!1;const{annotation:e,backend:t}=this.props;"imageAttachmentId"in e&&e.imageAttachmentId&&(t.attachmentsCache=t.attachmentsCache.delete((0,_e.UW)(e)))}render(){var e;const{annotation:t,attachment:n,formField:o,label:r,zoomLevel:i}=this.props,a=t instanceof w.GI&&(null===(e=this.state.renderedAnnotation)||void 0===e?void 0:e.opacity)!==t.opacity,l=qe(qe(qe({},$e),function(e){let{annotation:t,attachment:n,zoomLevel:o}=e;if(t instanceof w.x_||t instanceof w.R1)return{position:"absolute",top:0};if(t instanceof w.UX||t instanceof w.Zc)return{padding:Ke.Ni?Be.wK:Be.XZ};if(t instanceof w.GI&&(0,Ue.kv)(t)){const e=(0,Ue.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*o,r=(t.boundingBox.height-e.boundingBox.height)/2*o;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-r}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*o,height:t.boundingBox.height*o}}if(t instanceof w.gd&&(0,Ue.kv)(t)){const e=(0,Ue.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*o,r=(t.boundingBox.height-e.boundingBox.height)/2*o;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-r}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*o,height:t.boundingBox.height*o}}if(t instanceof w.sK&&n&&t.opacity<1)return{opacity:t.opacity};if(t instanceof w.R1||t instanceof w.gd||t instanceof w.On||t instanceof w.Qi||t instanceof w.Ih||t instanceof w.sK||t instanceof w.GI)return{};(0,s.Rz)(t.constructor)}({annotation:this.state.renderedAnnotation||t,attachment:n,zoomLevel:i})),a?{opacity:t.opacity}:null),u=d()(Ge().wrapper,"PSPDFKit-APStream-Wrapper",{[Ge().loading]:this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[Ge().error]:this._shouldShowIndicators&&"ERROR"===this.state.loadingState}),p=d()(t instanceof w.GI&&Ge().stampAnnotation,t instanceof w.x_&&Ge().widgetAnnotation,"PSPDFKit-APStream"),f=t instanceof w.GI||t instanceof w.sK||t instanceof w.Ih||t instanceof w.x_&&o instanceof w.Yo?null:0;return c.createElement("figure",{style:l,className:u,"data-name":null==o?void 0:o.name},c.createElement(Ne.Z,{className:p,fetchImage:this._fetchImage,label:r,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,throttleTimeout:f,rectStyle:Xe,ref:this._imageFetcherRef}),"description"in t&&t.description&&c.createElement(q.TX,{tag:"figcaption"},t.description),this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?c.createElement("div",{className:Ge().placeholder},Me||(Me=c.createElement(Le.Z,null))):this._shouldShowIndicators&&"ERROR"===this.state.loadingState?c.createElement("div",{className:Ge().placeholder},c.createElement(Re.Z,{src:ze(),className:Ge().errorIcon})):null)}}const $e={position:"relative",overflow:"hidden",margin:0,pointerEvents:"none",width:"100%",height:"100%"},Xe={pointerEvents:"none",width:"100%",height:"100%"};function Ye(e,t){return t.zoomLevel>e.zoomLevel||(0,_.AC)(e.annotation,t.annotation)||(0,_.TL)(e.formField,t.formField)||t.formField&&e.formField&&t.formField.formattedValue!==e.formField.formattedValue||!(0,Ze.BT)(t.formField,e.formField)||e.variant!==t.variant||e.isDigitallySigned!==t.isDigitallySigned}var Je=n(13944),Qe=n(24011),et=n.n(Qe);class tt extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;n.locked||n.readOnly||(t&&t(n,e),this.props.dispatch((0,De.Q2)(n.id)))})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,attachment:t,backend:n,onRenderFinished:o,zoomLevel:r,isSelectable:i,isDisabled:a,isDragging:s,intl:{formatMessage:l}}=this.props,{boundingBox:u,id:p}=e,f={cursor:(0,_.B7)(e,{isSelectable:i}),overflow:"hidden",width:u.width*r,height:u.height*r,display:"block",outline:this.props.isFocused?_.A8:null};return c.createElement(le.Reparent,{id:`annotation-image-${p}`},c.createElement(xe,{position:u.getLocation(),zoomLevel:r,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},c.createElement(Je.Z,{onPointerUp:this._handlePointerUp,onPointerEnter:()=>{this.props.dispatch((0,De.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(e.id))}},c.createElement(we.Z,{disabled:a,onPointerDown:this._handlePointerDown,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,style:f,className:d()("PSPDFKit-Annotation PSPDFKit-Image-Annotation",{[et().readOnlyOutline]:e.readOnly||e.locked}),"data-annotation-id":e.id,"aria-label":`${l(ke.Z.annotation)}: ${l(ke.Z.imageAnnotation)}`,innerRef:this._innerRef},c.createElement(He,{annotation:e,attachment:t,backend:n,onRenderFinished:o,zoomLevel:r,label:l(ke.Z.imageAnnotation),isDragging:s,onError:this.props.onError})))))}}const nt=(0,Se.XN)(tt,{forwardRef:!0});var ot=n(4352),rt=n(97528),it=n(70994),at=n.n(it);function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lt(e){for(var t=1;t{e.persist(),e.isPrimary&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.precision=(0,ot.HB)(this.props.zoomLevel),this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,intl:{formatMessage:t},isSelectable:n,pathDataFromFragments:o,backend:r,zoomLevel:i,isDragging:a=!1,shouldKeepRenderingAPStream:s=!1}=this.props,{boundingBox:l,blendMode:u}=e,p=l.grow(Ke.Ni?Be.wK:Be.XZ),f=(0,_.B7)(e,{isSelectable:n}),h=lt(lt({},p.toJS()),{},{cursor:f,outline:this.props.isFocused?_.A8:null}),m=u&&"normal"!==u?lt({mixBlendMode:(0,_.vk)(u)},Ke.G6?{transform:"translate3d(0,0,0)"}:null):{};return c.createElement("div",{style:m},c.createElement(xe,{zoomLevel:this.props.zoomLevel,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},c.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,De.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(e.id))}},c.createElement(we.Z,{disabled:this.props.isDisabled,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,onPointerUp:s?this._handlePointerUp:void 0,className:d()(at().container,{[at().cursorNotAllowed]:e.readOnly||e.locked},"PSPDFKit-Ink-Annotation PSPDFKit-Annotation"),style:h,"data-annotation-id":e.id,"aria-label":`${t(ke.Z.annotation)}: ${t(ke.Z.inkAnnotation)}`,innerRef:this._innerRef},c.createElement(dt,{annotation:e,onPointerDown:this._handlePointerDown,isSelectable:this.props.isSelectable,viewBox:p,pathDataFromFragments:o,renderInvisibleClickPath:s,precision:this.precision}),s&&r&&c.createElement(le.Reparent,{id:`annotation-ink-${e.id}`},c.createElement(He,{annotation:e,backend:r,zoomLevel:i,label:t(ke.Z.inkAnnotation),isDragging:a,onError:this.props.onError}))))))}}const ut=(0,Se.XN)(ct,{forwardRef:!0}),dt=function(e){let{annotation:t,isSelectable:n,viewBox:o,pathDataFromFragments:r=(()=>null),onPointerDown:a,renderInvisibleClickPath:s=!1,precision:l=(0,ot.HB)(1)}=e;const{ENABLE_INK_SMOOTH_LINES:u}=rt.Options,p=c.useMemo((()=>u?e=>(0,ot.vR)(e,l):ot.$U),[l,u]),f=c.useRef([]),h=c.useCallback(((e,n,o)=>r(t.id,n,o)||(0,ot.IQ)(e).map(p).flat()),[r,p,t]);f.current=c.useMemo((()=>{t.lines.size!==f.current.length&&(f.current=[]);const e=[];return t.lines.forEach((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.aV)(),n=arguments.length>1?arguments[1]:void 0;e.push(h(t,n,f.current[n]))})),e}),[t,h]);const m=c.useMemo((()=>{const{strokeColor:e,lineWidth:o,lines:r}=t,i={stroke:(null==e?void 0:e.toCSSValue())||"transparent",strokeWidth:o,pointerEvents:"none"},l={strokeWidth:n?Math.max(Ke.Ni?Be.wK:Be.XZ,o):0},p=d()({[at().path]:!0,[at().selectable]:!t.readOnly&&!t.locked,"PSPDFKit-Smooth-Lines":u}),h=r.map(((e,t)=>{const o=(0,ot.u8)(f.current[t]);return c.createElement("g",{key:t},!s&&c.createElement("path",{className:p,style:i,d:o,"data-testid":"ink-path"}),n&&c.createElement("path",{onPointerDown:a,className:p,style:l,stroke:"transparent",d:o,"data-testid":"clickable-path"}))}));return c.createElement("g",null,h)}),[t,n,a,u,s]),g=c.useMemo((()=>{const{backgroundColor:e,boundingBox:n}=t,o=d()({[at().rect]:!0,[at().selectable]:!!e}),r={fill:(null==e?void 0:e.toCSSValue())||"transparent"},{width:i,height:s,top:l,left:u}=n;return c.createElement("rect",{onPointerDown:a,x:u,y:l,width:i,height:s,className:o,style:r})}),[a,t,s]),v=`${o.left} ${o.top} ${o.width} ${o.height}`,y={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"};return c.createElement("svg",{viewBox:v,style:y,className:at().svg,focusable:!1,"data-testid":"ink-svg"},g,m)};var pt=n(17090),ft=n.n(pt),ht=n(89335);function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function gt(e){for(var t=1;tfunction(e){var t;switch((null===(t=e.action)||void 0===t?void 0:t.constructor)||null){case ht.lm:{const t=e.action;return(0,s.kG)("string"==typeof t.uri,"URIAction requires `uri`"),{type:"a",props:{href:t.uri,"aria-label":t.uri}}}case ht.Di:{const t=e.action;(0,s.kG)("number"==typeof t.pageIndex,"GoToAction requires `pageIndex`");const n=`#page=${t.pageIndex}`;return{type:"a",props:{href:n,"aria-label":n}}}case ht.BO:{const t=e.action;return(0,s.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"reset","aria-label":`Reset${t.fields?t.fields.join(" "):""}`}}}case ht.pl:{const t=e.action;return(0,s.kG)("string"==typeof t.uri,"ResetFormAction requires `uri`"),(0,s.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"submit","aria-label":`Submit to ${t.uri}`}}}default:return{type:"div",props:{}}}}(t)),[t]),O=c.useCallback((function(e){o(t,e)}),[t,o]),A=c.useCallback((function(e){r(t,e)}),[t,r]);return c.createElement(xe,{position:i.getLocation(),zoomLevel:a,disablePointerEvents:!0,isMultiAnnotationsSelected:m},c.createElement(we.Z,{disabled:n,className:d()(`PSPDFKit-${t.constructor.readableName}-Annotation PSPDFKit-Annotation`),style:x,onClick:function(e){"keypress"===e.type&&function(e,n){(0,De.mg)(t,e,{selectedAnnotationShouldDrag:n,stopPropagation:!0})}(e,null)},onFocus:function(t){const{onFocus:n,annotation:o}=e;n&&n(o,t)},onBlur:function(t){const{onBlur:n,annotation:o}=e;n&&n(o,t),p((0,De.Oc)(o.id))},onPointerUp:u?function(e){e.stopPropagation()}:void 0,"data-annotation-id":t.id,"aria-label":"Link-annotation",innerRef:v,onMouseEnter:()=>{p((0,De.oX)(t.id))},onMouseLeave:()=>{p((0,De.IP)(t.id))}},c.createElement(k.type,(0,ue.Z)({},k.props,{className:y,style:C,onFocus:O,onBlur:A,"data-annotation-id":t.id,tabIndex:n?-1:0,"aria-disabled":n?"true":"false"})),u&&f&&c.createElement(le.Reparent,{id:`annotation-link-${t.id}`},c.createElement(He,{annotation:t,backend:f,zoomLevel:a,label:g(ke.Z.linkAnnotation),isDragging:h,onError:e.onError}))))}));const yt=vt;var bt=n(69939),wt=n(18025),St=n(72032),Pt=n.n(St);class Et extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"onClick",(()=>{this.props.dispatch((0,bt.i0)()),window.setTimeout((()=>{this.props.dispatch((0,De.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_onPointerDownUp",(e=>{e.isPrimary&&(this.props.isReadOnly||e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null),this.props.isOpen||this.props.dispatch((0,De.IP)(this.props.annotation.id)),e.stopPropagation())})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_onMouseEnter",(()=>{this.props.dispatch((0,De.oX)(this.props.annotation.id))})),(0,o.Z)(this,"_onMouseLeave",(()=>{this.props.dispatch((0,De.IP)(this.props.annotation.id))})),(0,o.Z)(this,"_onFocus",(e=>{this.props.annotation.locked||this.props.annotation.readOnly||(this.props.onFocus&&this.props.onFocus(this.props.annotation,e),this.props.dispatch((0,De.Q2)(this.props.annotation.id)))})),(0,o.Z)(this,"_onBlur",(e=>{this.props.onBlur&&this.props.onBlur(this.props.annotation,e),this.props.dispatch((0,De.Oc)(this.props.annotation.id))}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{intl:{formatMessage:e},backend:t,shouldKeepRenderingAPStream:o,isFocused:r,isSelectable:i}=this.props,a=!this.props.isOpen&&!this.props.isFullscreen&&!Ke.Ni,{annotation:s,zoomLevel:l,rotation:u}=this.props,{boundingBox:p,color:f,icon:h}=s,{width:m,height:g}=p,v=(0,_.B7)(s,{isSelectable:i}),y={width:m,height:g,transformOrigin:"top left",transform:`translate(${m*l/2-m/2}px, ${g*l/2-g/2}px)`,color:f.toCSSValue(),opacity:s.opacity,outline:r?_.A8:null,cursor:v},b=wt.Y4[h]||wt.Y4[wt.Zi.COMMENT],w=(0,I.Oe)(b);let S;try{S=n(91435)(`./${b}.svg`)}catch(e){}const P=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},E=d()({"PSPDFKit-Annotation":!0,"PSPDFKit-Note-Annotation":!0,[`PSPDFKit-Note-Annotation-Icon-${w}`]:!0,[Pt().annotation]:!0});return c.createElement(c.Fragment,null,c.createElement(xe,{position:p.getLocation(),zoomLevel:l,currentPagesRotation:u,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},c.createElement(we.Z,(0,ue.Z)({},P,{onClick:this._handleClick,onFocus:this._onFocus,onBlur:this._onBlur,disabled:this.props.isDisabled,style:y,className:E,onPointerEnter:a?this._onMouseEnter:void 0,onPointerLeave:a?this._onMouseLeave:void 0,"data-annotation-id":s.id,"aria-label":`${e(ke.Z.annotation)}: ${e(ke.Z.noteAnnotation)}`,"aria-controls":`NoteAnnotationContent-${s.id}`,innerRef:this._innerRef}),o?c.createElement(le.Reparent,{id:`annotation-note-${s.id}`},c.createElement(He,{annotation:s,zoomLevel:l,backend:t,label:e(ke.Z.noteAnnotation),onError:this.props.onError})):S?c.createElement(Re.Z,{src:S,className:Pt().icon,role:"presentation"}):b)),!this.props.isOpen&&c.createElement(q.TX,{id:`NoteAnnotationContent-${s.id}`}))}}const xt=(0,Se.XN)(Et,{forwardRef:!0});const Dt=(0,a.$j)((function(e,t){let{annotation:n}=t;return{annotation:n,isFullscreen:e.viewportState.viewportRect.width<=Be.j1,rotation:e.viewportState.pagesRotation,isOpen:e.selectedAnnotationIds.has(n.id)&&"number"==typeof n.pageIndex}}),null,null,{forwardRef:!0})(xt),Ct=Dt;var kt=n(34997),Ot=n(26467);const At=e=>{let{lineCap:t,style:n,id:o,position:r}=e;return c.createElement("marker",{id:o,style:n,markerWidth:"5",markerHeight:"5",refX:"start"===r?3.75:.5,refY:"2",orient:"auto"},Ot.O[t][`${r}Element`](n))};var Tt=n(29978),It=n.n(Tt);const Ft=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:o,strokeColor:r,strokeWidth:a,startPoint:s,endPoint:l,lineCaps:u,fillColor:p,pageIndex:f,id:h=(0,kt.SK)(),locked:m,readOnly:g},renderInvisibleClickPath:v=!1}=e;if(null===f||0===a&&!v)return null;const y={stroke:(null==r?void 0:r.toCSSValue())||"transparent",strokeWidth:a,fill:"transparent"},b=d()({[It().visible]:!0}),w=t?Ke.Ni?Math.max(Be.wK,a):Math.max(Be.XZ,a):0,S=d()({[It().selectable]:!g&&!m}),P={stroke:(null==r?void 0:r.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==p?void 0:p.toCSSValue())||"transparent",strokeWidth:1},E=`${h}-StartLineCap`,x=`${h}-EndLineCap`,D=(0,L.CW)((0,i.aV)([s,l]),a,u||{}),C=D.first(),k=D.get(1),O={x1:void 0!==C?C.x:s.x,y1:void 0!==C?C.y:s.y,x2:void 0!==k?k.x:l.x,y2:void 0!==k?k.y:l.y},A=O.x1!==s.x||O.y1!==s.y,T=O.x2!==l.x||O.y2!==l.y,I=u&&A?`url(#${E})`:void 0,F=u&&T?`url(#${x})`:void 0;return c.createElement("g",{style:{strokeWidth:a}},(A||T)&&c.createElement("defs",null,u&&A&&u.start&&c.createElement(At,{style:P,lineCap:u.start,id:E,position:"start"}),u&&T&&u.end&&c.createElement(At,{style:P,lineCap:u.end,id:x,position:"end"})),!v&&c.createElement("line",{className:b,style:y,x1:O.x1,y1:O.y1,x2:O.x2,y2:O.y2,strokeDasharray:o?o.map((e=>e*a)).join(","):"",markerStart:I,markerEnd:F,strokeLinecap:"butt"}),t&&c.createElement("line",{onPointerDown:n,className:S,stroke:"transparent",style:{fill:"none",strokeWidth:w},x1:s.x,y1:s.y,x2:l.x,y2:l.y}))},Mt=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,boundingBox:p,cloudyBorderIntensity:f,cloudyBorderInset:h}=o,m=Number(f);if(null===u||0===s&&!l&&!r)return null;const{width:g,height:v,top:y,left:b}=p,S={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},P=d()({[It().visible]:!0,[It().cloudy]:!!m,[It().strokeDashArray]:!!i}),E=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,x={fill:l&&!l.equals(w.Il.TRANSPARENT)?"transparent":"none",strokeWidth:E},D=d()({[It().selectable]:!o.readOnly&&!o.locked,[It().cloudy]:!!m}),C=g>s?g-s:g/4,k=v>s?v-s:v/4,O=i?i.map((e=>e*s)).join(","):"",A=m>0,T=A?_t(m,h,p):"";return c.createElement(c.Fragment,null,!r&&(A?c.createElement("path",{d:T,className:P,style:S,strokeDasharray:O}):c.createElement("rect",{className:P,style:S,strokeDasharray:O,x:b+s/2,y:y+s/2,width:C,height:k})),t&&(A?c.createElement("path",{onPointerDown:n,d:T,className:D,style:x,stroke:"transparent"}):c.createElement("rect",{onPointerDown:n,className:D,stroke:"transparent",style:x,x:b+s/2,y:y+s/2,width:C,height:k})))},_t=(e,t,n)=>{const{left:o,top:r,width:i,height:a}=t instanceof w.eB?w.eB.applyToRect(t,n):n;return(0,L.rr)({points:[[o,r],[o+i,r],[o+i,r+a],[o,r+a]],intensity:e})},Nt=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,boundingBox:p,cloudyBorderIntensity:f,cloudyBorderInset:h}=o,m=Number(f);if(null===u||0===s&&!l&&!r)return null;const{width:g,height:v,top:y,left:b}=p,S={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},P=d()({[It().visible]:!0,[It().cloudy]:!!m,[It().strokeDashArray]:!!i}),E=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,x={fill:l&&!l.equals(w.Il.TRANSPARENT)?"transparent":"none",strokeWidth:E},D=d()({[It().selectable]:!o.readOnly&&!o.locked,[It().cloudy]:!!m}),C=g>2*s?(g-s)/2:g/4,k=v>2*s?(v-s)/2:v/4,O=i?i.map((e=>e*s)).join(","):"",A=m>0,T=A?(0,L.Hz)({boundingBox:p,cloudyBorderIntensity:m,cloudyBorderInset:h}):"";return c.createElement(c.Fragment,null,!r&&(A?c.createElement("path",{className:P,style:S,strokeDasharray:O,d:T}):c.createElement("ellipse",{className:P,style:S,strokeDasharray:O,cx:b+g/2,cy:y+v/2,rx:C,ry:k})),t&&(A?c.createElement("path",{onPointerDown:n,className:D,style:x,d:T,stroke:"transparent"}):c.createElement("ellipse",{onPointerDown:n,className:D,stroke:"transparent",style:x,cx:b+g/2,cy:y+v/2,rx:C,ry:k})))},Rt=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,points:p,cloudyBorderIntensity:f}=o,h=Number(f);if(null===u||0===p.size||0===s&&(!l||l.equals(w.Il.TRANSPARENT))&&!r)return null;const m={stroke:a?a.toCSSValue():"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},g=d()({[It().visible]:!0,[It().cloudy]:!!h,[It().strokeDashArray]:!!i}),v=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,y={fill:l&&!l.equals(w.Il.TRANSPARENT)?"transparent":"none",strokeWidth:v},b=d()({[It().selectable]:!o.readOnly&&!o.locked,[It().cloudy]:!!h}),S=p.first();if(void 0===S)return null;const P=1===p.size||2===p.size?p.push(S):p,E=i?i.map((e=>e*s)).join(","):"",x=h>0&&P.size>2,D=x?Lt({annotation:o,intensity:h}):`${P.map((e=>`${e.x},${e.y}`)).join(" ")}`;return c.createElement(c.Fragment,null,!r&&(x?c.createElement("path",{className:g,style:m,strokeDasharray:E,d:D}):c.createElement("polygon",{className:g,style:m,strokeDasharray:E,points:D})),t&&(x?c.createElement("path",{onPointerDown:n,className:b,style:y,stroke:"transparent",d:D}):c.createElement("polygon",{onPointerDown:n,className:b,stroke:"transparent",style:y,points:D})))},Lt=e=>{let{intensity:t,annotation:n}=e;return(0,L.rr)({points:n.points.map((e=>[e.x,e.y])).toArray(),intensity:t})},Bt=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:o,strokeColor:r,strokeWidth:i,lineCaps:a,fillColor:s,pageIndex:l,points:u,id:p=(0,kt.SK)(),locked:f,readOnly:h},renderInvisibleClickPath:m=!1}=e;if(null===l||void 0===u||0===u.size||0===i&&!m)return null;const g=u.first(),v=u.last();if(!g||!v)return null;const y={stroke:(null==r?void 0:r.toCSSValue())||"transparent",strokeWidth:i,fill:"transparent"},b=d()({[It().visible]:!0}),w=t?Ke.Ni?Math.max(Be.wK,i):Math.max(Be.XZ,i):0,S=d()({[It().selectable]:!h&&!f}),P={stroke:(null==r?void 0:r.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==s?void 0:s.toCSSValue())||"transparent",strokeWidth:1},E=`${p}-StartLineCap`,x=`${p}-EndLineCap`,D=1===u.size?` ${g.x},${g.y}`:"",C=(0,L.CW)(u,i,a||{}),k=C.first(),O=C.last();if(!k||!O)return null;const A=a&&(k.x!==g.x||k.y!==g.y),T=a&&(O.x!==v.x||O.y!==v.y),I=`${C.map((e=>`${e.x},${e.y}`)).join(" ")}${D}`,F=a&&A?`url(#${E})`:void 0,M=a&&T?`url(#${x})`:void 0;return c.createElement("g",{style:{strokeWidth:i}},(A||T)&&c.createElement("defs",null,a&&A&&a.start&&c.createElement(At,{style:P,lineCap:a.start,id:E,position:"start"}),a&&T&&a.end&&c.createElement(At,{style:P,lineCap:a.end,id:x,position:"end"})),!m&&c.createElement("polyline",{className:b,style:y,points:I,strokeDasharray:o?o.map((e=>e*i)).join(","):"",markerStart:F,markerEnd:M}),t&&c.createElement("polyline",{onPointerDown:n,className:S,stroke:"transparent",style:{fill:"none",strokeWidth:w},points:I}))},jt=e=>{const{annotation:t,viewBox:n,isSelectable:o,onPointerDown:r,renderInvisibleClickPath:i=!1}=e,a=`${n.left} ${n.top} ${n.width} ${n.height}`,s={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"},l=(e=>{switch(e){case w.o9:return Ft;case w.b3:return Mt;case w.Xs:return Nt;case w.Hi:return Rt;case w.om:return Bt;default:throw new Error("Unexpected shape annotation type")}})(t.constructor);return c.createElement("svg",{viewBox:a,style:s,className:It().svg,focusable:!1},c.createElement(l,{isSelectable:o,onPointerDown:r,annotation:t,renderInvisibleClickPath:i}))};var zt=n(60840),Kt=n(63738);function Zt(e,t){return e.distance(t)>Be.c1}var Ut=n(44763),Vt=n(39583);function Gt(e){const{pageIndex:t,currentAnnotation:n,onAnnotationUpdate:o,keepSelectedTool:r,interactionMode:s,defaultAutoCloseThreshold:l,backend:u,disablePointSnapping:d}=e,p=c.useRef(null),f=(0,a.v9)((e=>e.eventEmitter)),h=(0,a.I0)(),[m,g]=c.useState(!1),[v,y]=c.useState(null),b=c.useMemo((()=>(0,L.sS)(n.constructor)),[n.constructor]),S=c.useCallback((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h((0,bt.FG)(e)),t&&(h((0,Kt.Ce)()),h((0,De.Df)((0,i.l4)([e.id]),null)),h((0,bt.ZE)(e.id)),h((0,Ut.eO)(null)))}),[h]),P=c.useCallback((()=>{(n instanceof w.om||n instanceof w.Hi)&&S(n,!0)}),[n,S]),E=c.useCallback(((e,r)=>{var a,s;(0,Vt.mE)(u,n,d)&&u.configureSnapper(t);let l=n;const c={annotations:(0,i.aV)([l]),reason:Q.f.DRAW_START};f.emit("annotations.willChange",c);const m=new w.E9({x:e.x,y:e.y});if(l instanceof w.o9)l=l.merge({startPoint:m,endPoint:m});else if(l instanceof w.b3||l instanceof w.Xs){p.current=m;const e=l.cloudyBorderIntensity*Be.St+l.strokeWidth/2;l=l.merge({boundingBox:new w.UL({left:m.x,top:m.y,width:0,height:0}),cloudyBorderInset:l.cloudyBorderIntensity?l.cloudyBorderInset||w.eB.fromValue(e):null})}else if(l instanceof $.Z){p.current=m;const e=new w.UL({left:m.x,top:m.y,width:0,height:0});l=l.merge({boundingBox:e,rects:(0,i.aV)([e])})}else(l instanceof w.Hi||l instanceof w.om)&&(l=l.update("points",(e=>e.push(m))));l=l.set("boundingBox",b(l));const g=l.pageIndex;if(null===g)l=l.set("pageIndex",t);else if(g!==t){l=l.set("pageIndex",t);const e=l instanceof $.Z?bt.hj:bt.hX;h(e(l,t))}l instanceof w.Xs||!("isMeasurement"in l)||null===(a=(s=l).isMeasurement)||void 0===a||!a.call(s)||h((0,Ut.eO)({magnifierLabel:l.getMeasurementDetails().label,drawnAnnotationID:l.id,drawnAnnotationPageIndex:l.pageIndex,magnifierCursorPosition:r})),o(l)}),[n,h,f,t,o,b]),x=c.useCallback((async(e,t)=>{var r,a;let s=n,c=e[e.length-1];const f=t[t.length-1];if((0,Vt.mE)(u,s,d)){const e=await u.getClosestSnapPoint(new w.E9({x:c.x,y:c.y}));c=c.set("x",e.x).set("y",e.y)}const P=new w.E9({x:c.x,y:c.y});if(s instanceof w.o9)s=s.set("endPoint",P);else if(s instanceof w.b3||s instanceof w.Xs){(0,Pe.k)(null!=p.current);const e=p.current,t=new w.UL({left:Math.min(e.x,P.x),top:Math.min(e.y,P.y),width:Math.abs(P.x-e.x),height:Math.abs(P.y-e.y)});s=s.merge({boundingBox:t})}else if(s instanceof $.Z){(0,Pe.k)(null!=p.current);const e=p.current,t=new w.UL({left:Math.min(e.x,P.x),top:Math.min(e.y,P.y),width:Math.abs(P.x-e.x),height:Math.abs(P.y-e.y)});s=s.merge({boundingBox:t,rects:(0,i.aV)([t])})}else if(s instanceof w.Hi||s instanceof w.om){const e=s.points.size-1;if(v&&Zt(v,P))g(!1),y(null);else if(!m){const t=(0,Vt.KM)(s,e,l),n=-1!==t;s=Wt(s,P,n,t),n&&(S(s),g(!0),y(s.points.get(e)))}s.isMeasurement()&&"isMeasurement"in s&&h((0,Ut.eO)({magnifierLabel:s.getMeasurementDetails().label,drawnAnnotationID:s.id,drawnAnnotationPageIndex:s.pageIndex,magnifierCursorPosition:f}))}s=s.set("boundingBox",b(s)),o(s),s instanceof w.Xs||s instanceof w.om||s instanceof w.Hi||!("isMeasurement"in s)||null===(r=(a=s).isMeasurement)||void 0===r||!r.call(a)||h((0,Ut.eO)({magnifierLabel:s.getMeasurementDetails().label,magnifierCursorPosition:t[t.length-1]}))}),[n,b,o,v,m,l,S,h]),D=c.useCallback((()=>{var e,t;let a=n;const{left:c,top:u,width:d,height:p}=a.boundingBox,m={annotations:(0,i.aV)([a]),reason:Q.f.DRAW_END};if(f.emit("annotations.willChange",m),a instanceof w.Xs||!("isMeasurement"in a)||null===(e=(t=a).isMeasurement)||void 0===e||!e.call(t)||h((0,Ut.eO)(null)),a instanceof w.o9)Zt(a.startPoint,a.endPoint)?(h((0,bt.FG)(a)),h((0,Kt.Ce)()),h((0,De.Df)((0,i.l4)([a.id]),null)),h((0,bt.ZE)(a.id)),r&&h((0,Kt.yg)(a.constructor,s))):(a=a.merge({startPoint:new w.E9,endPoint:new w.E9,boundingBox:new w.UL}),o(a));else if(a instanceof w.b3||a instanceof w.Xs||a instanceof $.Z)if(Zt(new w.E9({x:c,y:u}),new w.E9({x:c+d,y:u+p})))h((0,bt.FG)(a)),h((0,De.Df)((0,i.l4)([a.id]),null)),a instanceof $.Z||h((0,Kt.Ce)()),h((0,bt.ZE)(a.id)),a instanceof $.Z&&r&&h((0,Kt.t)()),r&&a instanceof w.UX&&h((0,Kt.yg)(a.constructor,s));else{const e=new w.UL;a=a instanceof $.Z?a.merge({boundingBox:e,rects:(0,i.aV)([e])}):a.merge({boundingBox:e}),o(a)}else if(a instanceof w.Hi||a instanceof w.om){const e=a.points.size-1,t=(0,Vt.KM)(a,e,l),n=-1!==t,o=Wt(a,a.points.last(),n,t);n?S(o):h((0,bt.FG)(o))}else h((0,bt.FG)(a))}),[n,o,h,f,r,s]),C=(0,a.v9)((e=>(0,H.zi)(e,t))),k=c.useCallback((e=>e.apply(C)),[C]);return c.createElement(zt.Z,{size:e.pageSize,onDrawStart:E,onDrawCoalesced:x,onDrawEnd:D,transformPoint:k,interactionMode:s,scrollElement:e.scrollElement,onDoubleClick:P,currentAnnotation:n,defaultAutoCloseThreshold:l,dispatch:h})}const Wt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0;if(n){var r;const t=null===(r=e.get("points"))||void 0===r?void 0:r.get(o);return e.update("points",(e=>e.set(e.size-1,t)))}return e.update("points",(e=>e.set(e.size-1,t)))};function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ht(e){for(var t=1;t{this.setState({currentShapeAnnotation:e,isDrawing:!0})}))}static getDerivedStateFromProps(e,t){return(0,i.is)(t.shapeAnnotationFromCurrentProps,e.shapeAnnotation)||(0,i.is)(t.currentShapeAnnotation,e.shapeAnnotation)?null:$t(e)}componentDidMount(){this.props.dispatch((0,Kt.X2)())}componentWillUnmount(){this.props.dispatch((0,Kt.Zg)())}render(){const e=this.state.currentShapeAnnotation,{pageSize:t,viewportState:{zoomLevel:n}}=this.props,{boundingBox:o}=e,r=d()({[It().canvas]:!0});return c.createElement("div",{className:r},c.createElement(xe,{zoomLevel:n,applyZoom:!0},e.isMeasurement()&&this.state.isDrawing?c.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,k.KI)(e)},c.createElement(Jt,{value:e.getMeasurementDetails().label})):null,c.createElement("div",{style:Ht(Ht({},o.toJS()),{},{position:"absolute"})},c.createElement(jt,{isSelectable:!1,annotation:e,viewBox:o}))),c.createElement(Gt,{pageSize:t,pageIndex:this.props.pageIndex,currentAnnotation:e,onAnnotationUpdate:this._handleAnnotationUpdate,keepSelectedTool:this.props.keepSelectedTool,interactionMode:this.props.interactionMode,scrollElement:this.props.scrollElement,defaultAutoCloseThreshold:this.props.defaultAutoCloseThreshold,backend:this.props.backend,disablePointSnapping:this.props.disablePointSnapping}))}}const Yt=(0,a.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,H.zi)(e,n),eventEmitter:e.eventEmitter,keepSelectedTool:e.keepSelectedTool,interactionMode:e.interactionMode,scrollElement:e.scrollElement,defaultAutoCloseThreshold:e.defaultAutoCloseThreshold}}))(Xt),Jt=e=>{let{value:t,isSecondaryMeasurement:n}=e;if(n&&t.includes("/")){const e=t.split("/");return c.createElement("span",null,"  (",c.createElement("span",null,e[0],c.createElement(c.Fragment,null,"⁄"),e[1]),")")}if(n&&!t.includes("/"))return c.createElement("span",null,"  (",c.createElement("span",null,t),")");if(!n&&t.includes("/")){const e=t.split("/");return c.createElement("span",null,e[0],c.createElement(c.Fragment,null,"⁄"),e[1],";")}return c.createElement("span",null,t)};function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function en(e){for(var t=1;t{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this.handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"handlePress",((e,t)=>{this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"handleClick",(e=>{"keypress"===e.type&&this.handlePress(e,null)})),(0,o.Z)(this,"handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;n.readOnly||n.locked||(t&&t(n,e),this.props.dispatch((0,De.Q2)(this.props.annotation.id)))})),(0,o.Z)(this,"handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,intl:{formatMessage:t},zoomLevel:n,backend:o,isDragging:r,shouldKeepRenderingAPStream:i}=this.props,{boundingBox:a}=e;let s;s=!!((0,k.S6)(e)&&!e.measurementBBox&&(a.width<100||a.height<100)||e.isMeasurement()&&!i);const l=a.grow(Ke.Ni?Be.wK:Be.XZ),u=l.toJS(),p=(0,_.B7)(e),f=en(en({},u),{},{outline:this.props.isFocused?_.A8:null,cursor:p}),h=e.constructor.readableName,m=h&&ke.Z[`${h.charAt(0).toLowerCase()+h.slice(1)}Annotation`],g=(0,_.vk)(e.blendMode),v=g?{mixBlendMode:g}:{},y=e.isMeasurement()&&this.props.secondaryMeasurementUnit&&(0,k.Rw)(e,this.props.secondaryMeasurementUnit);return c.createElement(xe,{zoomLevel:n,additionalStyle:v,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},e.isMeasurement()&&s&&c.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,k.KI)(e,!!y)},c.createElement(Jt,{value:e.getMeasurementDetails().label}),y?c.createElement(Jt,{value:y.label,isSecondaryMeasurement:!0}):null),c.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,De.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(e.id))}},c.createElement(we.Z,{disabled:this.props.isDisabled,className:d()(It().container,`PSPDFKit-${nn(e)}-Annotation`,"PSPDFKit-Shape-Annotation","PSPDFKit-Annotation",{[It().cursorNotAllowed]:e.readOnly||e.locked}),style:f,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onPointerUp:i?this.handlePointerUp:void 0,"data-annotation-id":e.id,"aria-label":`${t(ke.Z.annotation)}${h&&m?`: ${t(m)}`:""}`,innerRef:this.innerRef},c.createElement(jt,{annotation:e,onPointerDown:this.handlePointerDown,isSelectable:this.props.isSelectable,viewBox:l,renderInvisibleClickPath:i}),i&&c.createElement(le.Reparent,{id:`annotation-shape-${e.id}`},c.createElement(He,{annotation:e,zoomLevel:n,backend:o,label:t(h&&m?m:ke.Z.annotation),isDragging:r,onError:this.props.onError})))))}}function nn(e){const t=e.constructor.readableName;return e.isMeasurement()?"Line"===t?"Distance":"Polyline"===t?"Perimeter":"Polygon"===t?"Polygon-Area":"Rectangle"===t?"Rectangle-Area":"Ellipse"===t?"Ellipse-Area":void 0:t}const on=(0,Se.XN)(tn,{forwardRef:!0});function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class an extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;n.locked||n.readOnly||(t&&t(n,e),this.props.dispatch((0,De.Q2)(this.props.annotation.id)))})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,globalAnnotation:t,onRenderFinished:n,zoomLevel:r,backend:i,isSelectable:a,isDisabled:s,isDragging:l,cursor:u,intl:{formatMessage:p},isFocused:f}=this.props,{boundingBox:h,id:m}=e,g=h.width*r,v=h.height*r,y=function(e){for(var t=1;t{this.props.dispatch((0,De.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(e.id))}},c.createElement(we.Z,{disabled:s,onPointerDown:this._handlePointerDown,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,style:y,className:d()("PSPDFKit-Annotation PSPDFKit-Stamp-Annotation",{[et().readOnlyOutline]:e.readOnly||e.locked}),"data-annotation-id":e.id,"aria-label":`${p(ke.Z.annotation)}: ${p(ke.Z.stampAnnotation)}`,innerRef:this._innerRef},c.createElement(He,{annotation:w,zoomLevel:r,backend:i,onRenderFinished:n,label:p(ke.Z.stampAnnotation),isDragging:l,isDetachedAnnotation:b,onError:this.props.onError})))))}}const sn=(0,Se.XN)(an,{forwardRef:!0});var ln=n(27856),cn=n.n(ln),un=n(78233),dn=n(3119),pn=n.n(dn),fn=n(45071),hn=n(30360);function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const gn=c.forwardRef(((e,t)=>{var n;let{annotation:{callout:r,borderWidth:i,borderStyle:l,boundingBox:u,borderColor:d,id:p,backgroundColor:f,verticalAlign:h,fontSize:m,font:g},annotation:v,children:y,isEditing:b}=e;const w=(0,a.I0)(),S=c.useRef(null),P=(0,a.v9)((e=>e.viewportState.zoomLevel));(0,s.kG)(r,"CalloutTextComponent: callout is undefined");const E=(0,c.useRef)(!0);(0,fn.useGranularLayoutEffect)((()=>{if(E.current)E.current=!1;else{var e;const t=null===(e=S.current)||void 0===e?void 0:e.getBoundingClientRect();if(!t)return;const n=(0,hn.Vq)({annotation:v,rect:t,zoomLevel:P,callout:v.callout,text:v.text});n&&w((0,bt.FG)(n))}}),[m,g],[v,P]);const x=null===(n=r.innerRectInset)||void 0===n?void 0:n.setScale(P),D=function(e){for(var t=1;t{(0,s.kG)(e,"CalloutTextComponent: point is undefined");const{x:t,y:n}=function(e,t,n){return{x:(e.x-t.left)*n,y:(e.y-t.top)*n}}(e,u,P);return`${t},${n}`})).join(" ");return c.createElement(c.Fragment,null,c.createElement("svg",{style:{position:"absolute",inset:0},width:k.width,height:k.height,stroke:null==d?void 0:d.toCSSValue(),viewBox:`0 0 ${k.width} ${k.height}`},c.createElement("g",null,r.cap&&c.createElement("defs",null,c.createElement(At,{lineCap:r.cap,style:O,id:C,position:"start"})),c.createElement("polyline",{fill:"none",points:A,stroke:(null==d?void 0:d.toCSSValue())||"black",strokeWidth:i||void 0,markerStart:`url(#${C})`}))),c.createElement("div",{style:D,ref:t,className:"Callout"},c.createElement("div",{style:{verticalAlign:"center"===h?"middle":h,display:"inline-block"},ref:S},y)))}));const vn=["backgroundColor"];function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function bn(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"onClick",(e=>{if("function"==typeof this.props.onClick){if(this.props.annotation.lockedContents)return;this.props.onClick(e)}window.setTimeout((()=>{this.props.dispatch((0,De.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{"function"==typeof this.props.onClick||this.props.annotation.locked?this.onClick(e):this.props.dispatch((0,De.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;n.readOnly||(t&&t(n,e),this.props.dispatch((0,De.Q2)(this.props.annotation.id)))})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:{boundingBox:e},annotation:t,globalAnnotation:n,zoomLevel:o,isDisabled:r,isSelectable:i,intl:{formatMessage:a},backend:s,isDragging:l,cursor:u,shouldKeepRenderingAPStream:p,isFocused:f,isMultiAnnotationsSelected:h}=this.props,m=(0,_.B7)(t,{isSelectable:i,cursor:u});l||(this._lastFittingFontSizeAnnotation=(0,un.MF)(t,o));const g=bn(bn({},(0,un.z1)(t.isFitting?this._lastFittingFontSizeAnnotation:t,o,p)),{},{cursor:m,outline:f?_.A8:null,outlineOffset:f?"10px":null},(0,Ue.kv)(t)&&p?{transformOrigin:"50% 50%",transform:`rotate(${String(-t.rotation)}deg)`}:null),{backgroundColor:v}=g,y=(0,ne.Z)(g,vn),b="xhtml"===t.text.format;let w;var S,P;p||(w=b?c.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=t.text)||void 0===S?void 0:S.value}}):cn().sanitize((0,un.hr)(null===(P=t.text)||void 0===P?void 0:P.value)),b&&(y.color=void 0));return c.createElement(xe,{position:e.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:h},c.createElement(Je.Z,{onPointerUp:p?this._handlePointerUp:void 0,onPointerEnter:()=>{this.props.dispatch((0,De.oX)(t.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(t.id))}},c.createElement(we.Z,{disabled:r,onPointerDown:this._handlePointerDown,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,style:bn(bn({},y),{},{backgroundColor:(0,_.Vc)(t)?void 0:v}),className:d()(pn().annotation,{[pn().readOnlyOutline]:t.readOnly||t.locked},"PSPDFKit-Text-Annotation PSPDFKit-Annotation"),"data-annotation-id":t.id,"aria-label":`${a(ke.Z.annotation)}: ${a(ke.Z.textAnnotation)}`,innerRef:this._innerRef},p?c.createElement(le.Reparent,{id:`annotation-text-${t.id}`},c.createElement(He,{annotation:n,zoomLevel:o,backend:s,label:a(ke.Z.textAnnotation),isDragging:l,onError:this.props.onError})):t.callout?c.createElement(gn,{annotation:t},w):w)))}}const Sn=(0,Se.XN)(wn,{forwardRef:!0});var Pn=n(54670),En=n(20276),xn=n(92135),Dn=n.n(xn);function Cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function kn(e){for(var t=1;t{if(n&&t.overlayText&&t.repeatOverlayText){const e=new Pn.default(`${l}px Helvetica, sans-serif`),{width:n}=e.measureText(t.overlayText);s(n),e.clean()}}),[n,t.overlayText,t.repeatOverlayText,l,s]);const f=c.useMemo((()=>t.overlayText&&!t.repeatOverlayText?t.rects.sortBy({0:e=>[e.top,e.left],90:e=>[e.left,-e.top],180:e=>[-e.top,-e.left],270:e=>[-e.left,e.top]}[t.rotation||"0"],Ce.b).first():null),[t.overlayText,t.repeatOverlayText,t.rects,t.rotation]),h=t.rects.map(((e,s)=>{const u=e.scale(o),{overlayText:h,textHeight:m}=function(e,t,n,o,r,i){let a=e.overlayText,s=o;if(t&&a&&e.repeatOverlayText&&n){const e=i.width/n,t=Math.max(1,Math.floor(i.height/o)),l=Math.ceil(e*t);s=o*t,s+r<=i.height&&(s+=r),a=a.repeat(l)}return{overlayText:a,textHeight:s}}(t,n,a,p,l,u),g={fontSize:l,lineHeight:`${p}px`,height:t.repeatOverlayText?m:"100%"};if((0,Ue.kv)(t)){const e=90===t.rotation||270===t.rotation;g.transformOrigin="50% 50%",g.transform=(e?`translate(${Math.round(u.width/2-u.height/2)}px, ${-Math.round(u.width/2-u.height/2)}px) `:"")+`rotate(${String(-t.rotation)}deg)`,e&&(g.width=u.height,g.height=u.width)}const v=(0,_.B7)(t,{isSelectable:r}),y={top:(e.top-i.top)*o,left:(e.left-i.left)*o,width:u.width,height:u.height,cursor:v,backgroundColor:n?"white":void 0},b={width:u.width,height:u.height},S=kn(kn({},b),{},{border:t.outlineColor instanceof w.Il?`2px solid ${t.outlineColor.toCSSValue()}`:void 0,opacity:t.opacity}),P=kn(kn({},b),{},{border:0,color:t.color instanceof w.Il?t.color.toCSSValue():void 0,backgroundColor:t.fillColor instanceof w.Il?t.fillColor.toCSSValue():"black",opacity:t.opacity}),E=d()({[Dn().textContainer]:!0,[Dn().selectable]:!0});return c.createElement("div",{key:s,className:Dn().rectContainer,style:y},c.createElement("div",{className:E,style:n?P:S},n&&(t.repeatOverlayText||e.equals(f))&&c.createElement("span",{className:Dn().textSpan,style:g},h)))}));return c.createElement(c.Fragment,null,h)}const An=function(e){const{isSelectable:t,dispatch:n,annotation:o,zoomLevel:r,onFocus:i,onBlur:s,active:l,isDisabled:u,isMultiAnnotationsSelected:p}=e,{boundingBox:f}=o,h=c.useRef(l),m=c.useCallback((e=>{n((0,De.mg)(o,e))}),[n,o]),g=c.useCallback((e=>{i&&i(o,e)}),[i,o]),v=c.useCallback((e=>{s&&s(o,e)}),[s,o]),y=c.useRef(null),b=(0,a.v9)((e=>e.previewRedactionMode));c.useEffect((()=>{y.current&&y.current.ownerDocument.activeElement!==y.current&&(!h.current&&l?y.current.focus():h.current&&!l&&u&&v((0,En.M)("blur"))),h.current=l}),[l,v,u]);const w={width:f.width*r,height:f.height*r,cursor:t?"pointer":"auto"};return c.createElement(xe,{zoomLevel:e.zoomLevel,position:f.getLocation(),className:Dn().wrapper,disablePointerEvents:!0,isMultiAnnotationsSelected:p},c.createElement(Je.Z,{onPointerEnter:()=>{e.dispatch((0,De.oX)(o.id))},onPointerLeave:()=>{e.dispatch((0,De.IP)(o.id))}},c.createElement(we.Z,{is:"div",disabled:Boolean(e.isDisabled),className:d()(Dn().container,"PSPDFKit-Redaction-Annotation PSPDFKit-Annotation",l&&!e.isDisabled&&"PSPDFKit-Annotation-Selected",l&&!e.isDisabled&&"PSPDFKit-Redaction-Annotation-Selected"),style:w,"data-annotation-id":o.id,onClick:m,onFocus:g,onBlur:v,innerRef:y},e.active?c.createElement("div",{className:Dn().active}):null,c.createElement(On,{annotation:o,previewRedactionMode:b,isSelectable:t,zoomLevel:r}))))};var Tn,In=n(65642),Fn=n.n(In);class Mn extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O)}render(){const{color:e,markupStyle:t,zoomLevel:n,pageRotation:o}=this.props,r=(0,kt.SK)(),i=0!==o?{transform:`rotate(${90*o}deg)`}:{};return c.createElement("svg",{className:Fn().markup,style:t,focusable:!1},c.createElement("defs",null,c.createElement("pattern",{id:r,width:"8",height:"3",patternUnits:"userSpaceOnUse",fill:e instanceof w.Il?e.toCSSValue():"transparent",style:i},Tn||(Tn=c.createElement("path",{d:"M8 2.9C7.2 2.9 6.7 2.3 6.5 1.9 6.2 1.5 6.1 1.4 6 1.4 5.9 1.4 5.8 1.5 5.5 1.9 5.3 2.3 4.8 2.9 4 2.9 3.2 2.9 2.7 2.3 2.5 1.9 2.2 1.5 2.1 1.4 2 1.4 1.9 1.4 1.8 1.5 1.5 1.9 1.3 2.3 0.8 2.9 0 2.9L0 1.6C0.1 1.6 0.2 1.5 0.5 1.1 0.7 0.7 1.2 0.1 2 0.1 2.8 0.1 3.3 0.7 3.5 1.1 3.8 1.5 3.9 1.6 4 1.6 4.1 1.6 4.2 1.5 4.5 1.1 4.7 0.7 5.2 0.1 6 0.1 6.8 0.1 7.3 0.7 7.5 1.1 7.8 1.5 7.9 1.6 8 1.6L8 2.9 8 2.9Z"})))),c.createElement("rect",{fill:`url(#${r})`,width:"100%",height:"100%",transform:`scale(${n<1?`1, ${n}`:`${n}`})`}))}}function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nn(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"_handlePress",(e=>{this.props.dispatch((0,De.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,De.Oc)(n.id))})),(0,o.Z)(this,"_handleCommentIconPress",(e=>{this._handlePress(e),e.stopPropagation()}))}componentDidUpdate(e){this.el&&this.el.ownerDocument.activeElement!==this.el&&(this.props.isFocused&&this.el&&this.el.focus(),!e.active&&this.props.active?this.el.focus():e.active&&!this.props.active&&this.props.isDisabled&&this._handleBlur((0,En.M)("blur")))}render(){const{active:e,annotation:t,zoomLevel:n,isSelectable:o,intl:{formatMessage:r},backend:i,shouldKeepRenderingAPStream:a,pageRotation:l}=this.props,u=t instanceof w.FV,p=(0,_.B7)(t,{isSelectable:o}),{boundingBox:f}=t,h=t.rects.map(((o,r)=>{const i=d()({[Fn().annotationRect]:!0,[Fn()[t.constructor.className]]:!0}),a={top:(o.top-f.top)*n,left:(o.left-f.left)*n,width:o.width*n,height:o.height*n,opacity:t.opacity,cursor:p},s=function(e){let{annotation:t,rect:n,zoomLevel:o,pageRotation:r}=e;const i=(0,_.B7)(t),a={width:n.width*o,height:n.height*o,backgroundColor:t.color instanceof w.Il?t.color.toCSSValue():"transparent",cursor:i};if(t instanceof w.R9)switch(r){case 0:return Nn(Nn({},a),{},{height:Math.max(1,Math.floor(2*o)),marginTop:Math.max(1,Math.floor(-1*o))});case 1:return Nn(Nn({},a),{},{width:Math.max(1,Math.floor(2*o)),left:"auto",right:"50%",top:0,marginRight:Math.max(1,Math.floor(-1*o))});case 2:return Nn(Nn({},a),{},{height:Math.max(1,Math.floor(2*o)),top:"auto",bottom:"50%",marginBottom:Math.max(1,Math.floor(-1*o))});case 3:return Nn(Nn({},a),{},{width:Math.max(1,Math.floor(2*o)),right:"auto",left:"50%",top:0,marginLeft:Math.max(1,Math.floor(-1*o))})}else if(t instanceof w.xu)switch(r){case 0:return Nn(Nn({},a),{},{marginTop:Math.max(1,Math.floor(2*o)),height:Math.max(1,Math.floor(2*o))});case 1:return Nn(Nn({},a),{},{marginRight:Math.max(1,Math.floor(2*o)),width:Math.max(1,Math.floor(2*o))});case 2:return Nn(Nn({},a),{},{marginBottom:Math.max(1,Math.floor(2*o)),height:Math.max(1,Math.floor(2*o)),top:0});case 3:return Nn(Nn({},a),{},{width:Math.max(1,Math.floor(2*o)),left:"auto",marginLeft:Math.max(1,Math.floor(2*o))})}else if(t instanceof w.hL)switch(r){case 0:return Nn(Nn({},a),{},{height:3*o,overflow:"hidden"});case 1:return Nn(Nn({},a),{},{width:3*o,overflow:"hidden"});case 2:return Nn(Nn({},a),{},{height:3*o,top:0,overflow:"hidden"});case 3:return Nn(Nn({},a),{},{width:3*o,left:"auto",overflow:"hidden"})}return a}({annotation:t,rect:o,zoomLevel:n,pageRotation:l}),h={backgroundColor:t.color instanceof w.Il?t.color.toCSSValue():"transparent"};return c.createElement("div",{key:r,className:i,style:a},e?c.createElement("div",{className:d()({[Fn().active]:!u}),style:h}):null,t instanceof w.hL?c.createElement(Mn,{markupStyle:s,color:t.color,zoomLevel:n,pageRotation:l}):c.createElement("div",{className:Fn().markup,style:s}))})).toArray(),m=(0,_.vk)(t.blendMode),g=m?{mixBlendMode:m}:void 0,v=Nn({width:f.width*n,height:f.height*n,cursor:p,outline:this.props.isFocused?_.A8:null},Ke.G6?null:g),y=function(e){switch(e.constructor){case w.FV:return"Highlight";case w.R9:return"StrikeOut";case w.xu:return"Underline";case w.hL:return"Squiggle";default:throw new s.p2(`Unknown text markup annotation type of annotation: ${JSON.stringify(e.toJS())}`)}}(t),b=ke.Z[`${y.charAt(0).toLowerCase()+y.slice(1)}Annotation`],S=d()(Fn().annotation,"PSPDFKit-Annotation","PSPDFKit-Text-Markup-Annotation",`PSPDFKit-${y}-Annotation`,{[Fn().activeTextMarkup]:e&&u,[Fn().highlight]:u,"PSPDFKit-Text-Markup-Annotation-selected":e,"PSPDFKit-Text-Markup-Comment-Annotation":t.isCommentThreadRoot}),P={};return e&&(P["data-testid"]="selected annotation"),c.createElement(xe,{position:f.getLocation(),zoomLevel:n,disablePointerEvents:!t.readOnly,additionalStyle:Ke.G6?g:void 0},c.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,De.oX)(t.id))},onPointerLeave:()=>{this.props.dispatch((0,De.IP)(t.id))}},c.createElement(we.Z,(0,ue.Z)({is:"div",style:v,className:S,onClick:this._handlePress,onFocus:this._handleFocus,onBlur:this._handleBlur,disabled:!!this.props.isDisabled,"data-annotation-id":t.id,"aria-label":`${r(ke.Z.annotation)}: ${r(b)}`,innerRef:this._innerRef},P),c.createElement(c.Fragment,null,a&&c.createElement(He,{annotation:t,zoomLevel:n,backend:i,label:r(b),onError:this.props.onError}),(!a||e)&&h))))}}(0,o.Z)(Rn,"defaultProps",{active:!1});const Ln=(0,Se.XN)(Rn,{forwardRef:!0});var Bn=n(68108),jn=n.n(Bn);function zn(e){let{annotation:t,zoomLevel:n,isDisabled:o,backend:r,isFocused:i,isMultiAnnotationsSelected:a}=e;const s=c.useRef(null),{formatMessage:l}=(0,Se.YB)(),{boundingBox:u}=t,p={width:u.width*n,height:u.height*n};return c.useEffect((()=>{i&&s.current&&s.current.focus()}),[i]),c.createElement(xe,{position:u.getLocation(),zoomLevel:n,applyZoom:!0,isMultiAnnotationsSelected:a},c.createElement(we.Z,{disabled:o,className:d()(jn().annotation,"PSPDFKit-Annotation-Unknown PSPDFKit-Annotation-Unsupported PSPDFKit-Annotation"),style:p,"data-annotation-id":t.id,"aria-label":l(ke.Z.annotation),innerRef:s},r&&c.createElement(He,{annotation:t,backend:r,zoomLevel:n,label:l(ke.Z.annotation)})))}var Kn=n(19815),Zn=n(55961),Un=n(23661),Vn=n.n(Un),Gn=n(29544),Wn=n.n(Gn);function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hn(e){for(var t=1;t{this.props.dispatch((0,De.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,bt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:e,formField:{name:t,readOnly:n,buttonLabel:o,label:r},zoomLevel:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,u="number"==typeof e.fontSize?e.fontSize:12,p=Hn({width:Math.ceil(e.boundingBox.width*i),height:Math.ceil(e.boundingBox.height*i)},s?{opacity:0}:Hn(Hn({},(0,Ze.i2)(e,i)),{},{fontSize:Math.ceil(u*i),justifyContent:e.verticalAlign&&Yn[e.verticalAlign]||"center",alignItems:e.horizontalAlign&&Jn[e.horizontalAlign]||"center"})),f=l&&!n,h=!f||a,m=d()({[Vn().widget]:!0,[Vn().onFocus]:!0,[Vn().readOnly]:!f,[Vn().flexText]:!0,[Wn().btn]:!h,[Wn().btnFormDesigner]:a,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!f});return c.createElement("button",{ref:this._inputRef,className:m,disabled:h,name:t,type:Xn(e),style:p,onClick:this._handleClickAction,onFocus:this._handleFocus,onBlur:this._handleBlur},o||r||"")}}function Xn(e){const{action:t}=e;if(!t)return"button";switch(t.constructor){case ht.BO:return"reset";case ht.pl:return"submit";default:return"button"}}const Yn={top:"flex-start",center:"center",bottom:"flex-end"},Jn={left:"flex-start",center:"center",right:"flex-end"};var Qn=n(96114),eo=n(69554),to=n.n(eo);function no(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class oo extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"state",{checked:(0,Ze.CK)(this.props.formField,this.props.annotation)}),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values.equals(this.props.formField.values)||this.setState({checked:(0,Ze.CK)(e.formField,e.annotation)})})),(0,o.Z)(this,"_inputRef",c.createRef()),(0,o.Z)(this,"_onChange",(()=>{const{formField:e,annotation:t}=this.props,n=(0,Ze.l_)(e,t),o=this.state.checked?(0,i.aV)(["Off"]):(0,i.aV)([n]),r=(0,Ze.g6)(e,t,!this.state.checked);this.setState({checked:!this.state.checked}),this.props.dispatch((0,Qn.xh)([{name:e.name,value:o,optionIndexes:r}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;null==t||t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,bt.vy)(null)),null==t||t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:r,formField:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,{readOnly:u}=i,p=(0,Ze.l_)(i,t),f=function(e){for(var t=1;t=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),n=t.offset+t.size,o=this.lastMeasuredIndex+1;o<=e;o++){var r=this.itemSizeGetter(o);if(null==r||isNaN(r))throw Error("Invalid size returned for index "+o+" of value "+r);this.itemSizeAndPositionData[o]={offset:n,size:r},n+=r}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},e.prototype.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},e.prototype.getTotalSize=function(){var e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},e.prototype.getUpdatedOffsetForIndex=function(e){var t=e.align,n=void 0===t?ho:t,o=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(o<=0)return 0;var a,s=this.getSizeAndPositionForIndex(i),l=s.offset,c=l-o+s.size;switch(n){case"end":a=c;break;case mo:a=l-(o-s.size)/2;break;case ho:a=l;break;default:a=Math.max(c,Math.min(l,r))}var u=this.getTotalSize();return Math.max(0,Math.min(u-o,a))},e.prototype.getVisibleRange=function(e){var t=e.containerSize,n=e.offset,o=e.overscanCount;if(0===this.getTotalSize())return{};var r=n+t,i=this.findNearestItem(n);if(void 0===i)throw Error("Invalid offset "+n+" specified");var a=this.getSizeAndPositionForIndex(i);n=a.offset+a.size;for(var s=i;n=e?this.binarySearch({high:n,low:0,offset:e}):this.exponentialSearch({index:n,offset:e})},e.prototype.binarySearch=function(e){for(var t=e.low,n=e.high,o=e.offset,r=0,i=0;t<=n;){if(r=t+Math.floor((n-t)/2),(i=this.getSizeAndPositionForIndex(r).offset)===o)return r;io&&(n=r-1)}return t>0?t-1:0},e.prototype.exponentialSearch=function(e){for(var t=e.index,n=e.offset,o=1;t=n)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[So[r]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},t.prototype.getSize=function(e){var t=this.props.itemSize;return"function"==typeof t?t(e):Array.isArray(t)?t[e]:t},t.prototype.getStyle=function(e){var t=this.styleCache[e];if(t)return t;var n,o=this.props.scrollDirection,r=void 0===o?go:o,i=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),a=i.size,s=i.offset;return this.styleCache[e]=co({},Co,((n={})[So[r]]=a,n[Po[r]]=s,n))},t.prototype.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},t.prototype.render=function(){var e,t=this.props,n=(t.estimatedItemSize,t.height),o=t.overscanCount,r=void 0===o?3:o,i=t.renderItem,a=(t.itemCount,t.itemSize,t.onItemsRendered),s=(t.onScroll,t.scrollDirection),l=void 0===s?go:s,u=(t.scrollOffset,t.scrollToIndex,t.scrollToAlignment,t.style),d=t.width,p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{if(e.isEmpty())return"";{const t=this.props.formField.options.find((t=>t.get("value")===e.first()));return t?t.label:e.first()||""}})),(0,o.Z)(this,"state",{initialValue:this._getInput(this.props.formField.values),value:this._getInput(this.props.formField.values),values:this.props.formField.values,isOpen:!1,isFocused:!1,textSelected:!1}),(0,o.Z)(this,"_getSelectedLabel",(()=>{const{options:e}=this.props.formField,t=this.state.values.first(),n=e.find((e=>e.value===t));return n&&n.label||t})),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values!==this.props.formField.values&&this.setState({values:e.formField.values})})),(0,o.Z)(this,"_onChange",(e=>{const t=e.currentTarget,{value:n}=t,{backend:o,formField:r,annotation:i}=this.props;if(!(0,Ze.sC)(o,i,r))return void this.setState({value:n,textSelected:!1});const{selectionStart:a,selectionEnd:l}=t,c=(0,I.QE)(this.state.initialValue,n,a);this.latestKeystrokeDiff=c;const u={change:c.change,value:c.prev,returnCode:!0,name:this.props.formField.name,selStart:a,selEnd:l};this.setState({value:n,textSelected:!1}),o.onKeystrokeEvent(u).then((e=>{if(c!==this.latestKeystrokeDiff||0===e.length)return;const n=e[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,textSelected:!1});const o=(0,I.F6)(c,n.change),r=e.slice(1);r.length&&this.props.dispatch((0,Qn.bt)({changes:r})),this.setState({value:o,initialValue:o,textSelected:!1},(function(){n.selStart!==t.selectionStart&&(t.selectionStart=n.selStart),n.selEnd!==t.selectionEnd&&(t.selectionEnd=n.selEnd)}))})).catch(s.vU)})),(0,o.Z)(this,"_onSelect",(e=>{if(!e){const e=this.state;return this.setState({values:e.values,isOpen:!1,value:e.value,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,void(this._button&&this._button.focus())}const t=(0,i.aV)([e.value]);this.setState({values:t,isOpen:!1,value:e.label,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,this.props.formField.commitOnChange&&(this.props.formField.values.equals(t)||this.props.dispatch((0,Qn.xh)([{name:this.props.formField.name,value:t}]))),this._button&&this._button.focus()})),(0,o.Z)(this,"_handleBlur",(e=>{e.persist();const{currentTarget:t}=e;this.props.dispatch((0,bt.vy)(null)),this.latestKeystrokeDiff=null,setTimeout((()=>{if(!t.contains(this.props.frameWindow.document.activeElement)){const t=this._getInput(this.state.values);this.setState({isOpen:!1,isFocused:!1,value:t,initialValue:t},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,Qn.xh)([{name:this.props.formField.name,value:this.state.values}]));const{onBlur:n,annotation:o}=this.props;n&&n(o,e)}}),0)})),(0,o.Z)(this,"calculateFilteredOptions",(()=>{const e=this.state.isOpen,{formField:{options:t,edit:n}}=this.props,o=e?t.toSeq().filter((e=>this.state.textSelected||!this.state.value||e.label.toLowerCase().includes(this.state.value.toLowerCase()))).toList():(0,i.aV)();return n?o.some((e=>this.state.value.includes(e.label)))?o:o.unshift(new w.mv({label:this.state.value,value:this.state.value})):o})),(0,o.Z)(this,"_renderComboBoxTop",((e,t,o,r)=>{const{name:i,readOnly:a}=this.props.formField,s=this.props.formDesignMode,l=this.props.canFillFormFieldCP&&!a,u=d()({[Io().comboBoxTop]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!l}),p=this._getSelectedLabel();return c.createElement("div",{className:u,onClick:this._openDropdownClick,ref:r},c.createElement("button",{"aria-controls":`PSPDFKit-dd-${this.props.formField.name}-menu`,"aria-expanded":o,"aria-haspopup":"true",tabIndex:o?-1:0,style:e,disabled:!l||s,className:Io().valueBtn,onFocus:e=>{this.setState({isFocused:!0});const{onFocus:t,annotation:n}=this.props;t&&(e.persist(),t(n,e))},ref:e=>this._button=e,name:i,value:p},p),c.createElement("div",(0,ue.Z)({"aria-hidden":!o,className:Io().arrowBtn},t),c.createElement(Re.Z,{src:n(58021)})))})),(0,o.Z)(this,"_openDropdownClick",(()=>{this.props.formField.readOnly||this.props.formField.formDesignMode||!this.props.canFillFormFieldCP||this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),(()=>{this._inputRef.current&&(this._inputRef.current.select(),this.setState({textSelected:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})))}))})),(0,o.Z)(this,"_setContentElementRect",(e=>{this.props.handleComboxBoxRect(e)})),(0,o.Z)(this,"_downShiftRenderFn",(e=>{let{getInputProps:t,getItemProps:n,getToggleButtonProps:o,isOpen:r,highlightedIndex:i}=e;const{annotation:{boundingBox:{width:a,height:s}},annotation:l,formField:{doNotSpellCheck:u,readOnly:p,required:f},formDesignMode:h,isRenderingAPStream:m,canFillFormFieldCP:g,viewportState:v}=this.props,{zoomLevel:y}=v,b=this.calculateFilteredOptions(),w=b.size>5?5:b.size,S={fontSize:10*y,padding:2*y},P=p||h||!g,E=t({ref:this._inputRef,value:this.state.value,onFocus:()=>this.setState({isOpen:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),spellCheck:!u,onChange:this._onChange}),x=o(),D=d()({[Io().comboBox]:!0,[Io().expanded]:r,[Vn().widget]:!0,[Vn().focusedWidget]:r||this.state.isFocused,[Vn().readOnly]:P,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ComboBox":!0,"PSPDFKit-Annotation-Widget-ComboBox-isOpen":r,"PSPDFKit-Annotation-Widget-Required":f}),C=Math.max(4,Math.min(.7*s,12))*y,k=90===l.rotation||270===l.rotation,O=this._memoizedCalculateFontSize(this._getSelectedLabel(),a,s,l.fontSize,!1,0,this._inputRef.current),A=_o({width:Math.ceil(l.boundingBox.width*y),height:Math.ceil(l.boundingBox.height*y)},m?{opacity:0}:(0,Ze.i2)(l,y,!1)),{height:T,width:I,opacity:F}=A,M=(0,ne.Z)(A,Fo),_=_o(_o({},(0,Ze.VY)(l,y)),{},{borderWidth:Math.max(1,y),fontSize:C,opacity:F,[k?"height":"width"]:I,[k?"width":"height"]:T}),N=_o(_o({},M),{},{cursor:P?"default":"pointer",padding:`0 ${Ao.DI*y}px`,fontSize:O*y,[k?"width":"height"]:T,[k?"height":"width"]:I}),R=d()({[Io().menu]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Menu":!0});return c.createElement("div",{className:D,style:_o(_o({},_),r?{position:"fixed"}:void 0),tabIndex:-1,onBlur:this._handleBlur},c.createElement(Ro,{viewportRect:v.viewportRect,isVertical:90===l.rotation||270===l.rotation,setContentElementRect:this._setContentElementRect},(e=>{let{referenceRef:t,contentRef:o,style:a}=e;return c.createElement(c.Fragment,null,this._renderComboBoxTop(N,x,r,t),r&&c.createElement("div",{className:R,ref:o,style:a},c.createElement("input",(0,ue.Z)({},E,{className:d()(Io().comboBoxInput,"PSPDFKit-Annotation-Widget-ComboBox-SearchInput"),style:{textAlign:"center"},tabIndex:-1,required:f})),c.createElement("div",{className:d()(Io().comboBoxList,"PSPDFKit-Annotation-Widget-ComboBox-List"),id:`PSPDFKit-dd-${this.props.formField.name}-menu`},b.isEmpty()?c.createElement("div",{className:Io().comboBoxListItem,style:S},"No results found"):c.createElement(Oo,{scrollToIndex:i||0,scrollToAlignment:"auto",width:"100%",height:Math.ceil(20*w*y),itemCount:b.size,itemSize:Math.ceil(20*y),renderItem:e=>{let{index:t,style:o}=e;const r=b.get(t),a=i===t;(0,Pe.k)(r);const s=this.state.values.includes(r.get("value")),l=d()({[Io().comboBoxListItem]:!0,[Io().comboBoxListItemActive]:a,[Io().comboBoxListItemSelected]:s});let u;return u=0===t&&this.props.formField.edit&&!this.props.formField.options.includes(r)?r.label.length?`Create "${r.label}"`:c.createElement("span",{className:Io().empty},"(empty)"):r.label,c.createElement("div",(0,ue.Z)({className:d()(l,"PSPDFKit-Annotation-Widget-ComboBox-ListItem",{"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Active":a,"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Selected":s}),title:r.label},n({key:r.value,index:t,item:r,style:_o(_o({},o),S)})),u)}}))))})))})),(0,o.Z)(this,"_itemToString",(e=>e?e.label:""))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;n!==t&&this.props.annotation.id===t&&this._openDropdownClick()}componentWillUnmount(){this.latestKeystrokeDiff=null}render(){const{frameWindow:e}=this.props;return c.createElement(ro.ZP,{environment:e,onSelect:this._onSelect,itemToString:this._itemToString,isOpen:this.state.isOpen,defaultHighlightedIndex:0},this._downShiftRenderFn)}}const Ro=function(e){const{children:t,viewportRect:n,isVertical:o,setContentElementRect:r}=e,[i,a]=c.useState(null),[s,l]=c.useState(null),[u,d]=c.useState(null),p=c.useCallback((()=>{const e=s?s.getBoundingClientRect():null,t=i?i.getBoundingClientRect():null,a=o?"left":"top",l=o?"width":"height";let c=e?e[l]:0;null!==t&&null!==e&&e[a]+e[l]+t[l]>n[l]&&0!==e[a]&&(c=-t[l]),r&&r(t),d({top:c})}),[i,s,n,o]);c.useLayoutEffect((()=>{p()}),[p]);return t({referenceRef:e=>l(e),contentRef:e=>a(e),style:_o(_o({position:"absolute"},u),{},{width:"100%"},s&&i?null:{opacity:0})})};var Lo=n(82654),Bo=n.n(Lo);function jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function zo(e){for(var t=1;t{e.formField.values.equals(this.props.formField.values)||this.setState({values:e.formField.values})})),(0,o.Z)(this,"_inputRef",c.createRef()),(0,o.Z)(this,"_onChange",(e=>{const t=e.target.options,n=(0,i.dM)([...t]).filter((e=>e.selected)).map((e=>e.value)).toList();this.setState({values:n}),this.props.formField.commitOnChange&&(this.props.formField.values.equals(n)||this.props.dispatch((0,Qn.xh)([{name:this.props.formField.name,value:n}])))})),(0,o.Z)(this,"_onBlur",(e=>{this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,bt.vy)(null)),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,Qn.xh)([{name:this.props.formField.name,value:this.state.values}]));const{onBlur:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_onFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:e,formField:{options:t,name:n,multiSelect:o,readOnly:r,required:i},zoomLevel:a,formDesignMode:s,isRenderingAPStream:l,canFillFormFieldCP:u}=this.props,p=u&&!r,f=zo({width:Math.ceil(e.boundingBox.width*a),height:Math.ceil(e.boundingBox.height*a)},l?{opacity:0}:zo(zo({},(0,Ze.i2)(e,a)),{},{fontSize:Math.ceil(12*a),textAlign:e.horizontalAlign})),h=d()({[Bo().listBox]:!0,[Vn().widget]:!0,[Vn().onFocus]:!0,[Vn().readOnly]:!p,[Bo().listBoxRotated]:!!e.rotation,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ListBox":!0,"PSPDFKit-Annotation-Widget-read-only":!p,"PSPDFKit-Annotation-Widget-Required":i}),m=o?this.state.values.toArray():this.state.values.size>0?this.state.values.get(0):void 0;return c.createElement("select",{ref:this._inputRef,disabled:!p||s,style:f,size:t.size,className:h,name:n,onChange:this._onChange,multiple:o,onBlur:this._onBlur,onFocus:this._onFocus,value:m,required:i},t.map((e=>c.createElement("option",{key:e.value,value:e.value},e.label))))}}var Zo=n(30667);const Uo=["borderColor","borderWidth","borderStyle","height","width","opacity","backgroundColor"];function Vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Go(e){for(var t=1;t{const t=(0,Ze.CK)(e.formField,e.annotation);this.setState({checked:t})})),(0,o.Z)(this,"_inputRef",c.createRef()),(0,o.Z)(this,"handleChange",(()=>{const{dispatch:e,formField:t,annotation:n}=this.props;if(this.state.checked&&t.noToggleToOff)return;const o=(0,Ze.g6)(t,n,!this.state.checked);e((0,Qn.xh)([{name:t.name,value:this.state.checked?null:(0,Ze.l_)(t,n),optionIndexes:o}])),this.setState((e=>{let{checked:t}=e;return{checked:!t}}))})),(0,o.Z)(this,"uncheck",(e=>{const{formField:t,dispatch:n,annotation:o}=this.props;if(t.readOnly||t.noToggleToOff||!this.state.checked||"keydown"===e.type&&e.keyCode!==Zo.tW)return;"keydown"===e.type&&e.preventDefault();const r=(0,Ze.g6)(t,o,!1);n((0,Qn.xh)([{name:t.name,value:null,optionIndexes:r}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,bt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:n,formField:o,formDesignMode:r,isRenderingAPStream:i,canFillFormFieldCP:a}=this.props,{checked:s}=this.state,l=Go({width:Math.ceil(t.boundingBox.width*n),height:Math.ceil(t.boundingBox.height*n)},i?{opacity:0}:(0,Ze.i2)(t,n,!1)),{borderColor:u,borderWidth:p,borderStyle:f,height:h,width:m,opacity:g,backgroundColor:v}=l,y=(0,ne.Z)(l,Uo),{transform:b,transformOrigin:w}=(0,Ze.i2)(t,n);let S={width:m,height:h,opacity:g};(0,Ue.kv)(t)&&(S=Go(Go({},S),{},{transform:b,transformOrigin:w}));const P=a&&!o.readOnly,E=d()({[to().input]:!0,[to().inputRadio]:!0,[Vn().widget]:!0,[Vn().readOnly]:!P,"PSPDFKit-Annotation-Widget-RadioButton-Control":!0}),x=d()({[to().checkradio]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-RadioButton":!0,"PSPDFKit-Annotation-Widget-read-only":!P});return c.createElement("label",{style:S,className:x},c.createElement("input",{ref:this._inputRef,type:"radio",name:o.name,disabled:!P||r,key:e,checked:s,value:(0,Ze.l_)(o,t),className:s?to().checked:null,onChange:P?this.handleChange:void 0,onClick:this.uncheck,onKeyDown:this.uncheck,onFocus:this._handleFocus,onBlur:this._handleBlur,style:y}),c.createElement("span",{className:E,style:{borderColor:u,borderWidth:null!=p?p:Math.max(1,n),borderStyle:f,backgroundColor:v}}))}}var qo=n(43578),Ho=n.n(qo),$o=n(67628);function Xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yo(e){for(var t=1;t{this._focusableElement=e})),(0,o.Z)(this,"_handlePress",(e=>{e.stopPropagation(),e.preventDefault();const t=this.props.features.includes(ee.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature",n=this.props.isAnnotationPressPrevented({annotation:this.props.annotation,nativeEvent:e.nativeEvent,selected:!1});if(!e.isPrimary||n||this.props.isDigitallySigned)return;const{overlappingAnnotation:o}=this.state;o?this.props.dispatch((0,De.mg)(o,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null})):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,bt.Ds)(t)),this.props.dispatch((0,Kt.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,bt.vy)(null)),t&&t(n,e)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}static getDerivedStateFromProps(e){const t=e.inkAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)))||e.imageAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)));return{overlappingAnnotation:t||null}}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;if(n!==t&&this.props.annotation.id===t&&!this.props.isDigitallySigned){const{overlappingAnnotation:e}=this.state,t=this.props.features.includes(ee.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature";e?this.props.dispatch((0,De.Df)((0,i.l4)([e.id]),null)):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,bt.Ds)(t)),this.props.dispatch((0,Kt.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))}}render(){const{formatMessage:e}=this.props.intl,{annotation:t,annotation:{boundingBox:n,id:o},formField:{readOnly:r,name:i},zoomLevel:a,formDesignMode:s,isDigitallySigned:l,hasSignatureLicenseComponent:u,backend:p,isDragging:f,canFillFormFieldCP:h,signatureFeatureAvailability:m}=this.props,g=Math.ceil(n.height*a),v=Yo(Yo({},(0,Ze.i2)(t,a,!1)),{},{fontSize:(20e instanceof de.Zc)).toList(),c=s.filter((e=>e instanceof de.sK)).toList();return{isDigitallySigned:(0,er.Zt)(e,n),inkAnnotations:l,imageAnnotations:c,isAnnotationPressPrevented:t=>(0,_.TW)(t,e.eventEmitter),backend:e.backend,features:i,signatureFeatureAvailability:a,hasSignatureLicenseComponent:i.includes(ee.q.DIGITAL_SIGNATURES)||i.includes(ee.q.ELECTRONIC_SIGNATURES)}}))(Qo),nr=tr;function or(e,t){return or=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},or(e,t)}function rr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&or(e,t)}var ir=n(34710),ar=n(4054);function sr(){sr=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,o,r){var i=new RegExp(e,o);return t.set(i,r||t.get(e)),or(i,n.prototype)}function o(e,n){var o=t.get(n);return Object.keys(o).reduce((function(t,n){var r=o[n];if("number"==typeof r)t[n]=e[r];else{for(var i=0;void 0===e[r[i]]&&i+1]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof r){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(o(e,a)),r.apply(this,e)}))}return e[Symbol.replace].call(this,n,r)},sr.apply(this,arguments)}function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cr(e){for(var t=1;t{const e=this._inputRef.current;(0,s.kG)(e);const{value:t}=e,{comb:n,doNotScroll:o,multiLine:r}=this.props.formField,i=t.length{if(h!==this._latestKeystrokeDiff||0===t.length)return;const n=t[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,editingValue:this.state.initialEditingValue});const o=(0,I.F6)(h,n.change),r=t.slice(1);r.length&&this.props.dispatch((0,Qn.bt)({changes:r})),this.setState({value:o,initialValue:o,editingValue:o,initialEditingValue:o},(function(){n.selStart!==e.selectionStart&&(e.selectionStart=n.selStart),n.selEnd!==h.endCursorPosition&&(e.selectionEnd=n.selEnd)}))})).catch(s.vU)})),(0,o.Z)(this,"_onFocus",(e=>{const t=this._inputRef.current;this.setState({isFocused:!0,shouldRecalculateWhenOverflow:!!t&&t.clientHeight{this.setState({isFocused:!1}),this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,bt.vy)(null)),this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:t}=this.props;t&&(e.persist(),t(this.props.annotation,e.nativeEvent))}))}static getDerivedStateFromProps(e,t){return t.valueFromCurrentProps!==e.formField.value||t.readOnlyFromCurrentProps!==e.formField.readOnly?pr(e,t):null}componentWillUnmount(){this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:e,annotation:t}=this.props;e&&e(t,(0,En.M)("blur"))}_commitChanges(){this.props.formField.value!==this.state.value&&this.props.dispatch((0,Qn.xh)([cr({name:this.props.formField.name,value:this.state.value},this.props.formField.multiLine&&{isFitting:(0,Ao.$Z)(this.props.annotation,this.state.value,this.props.zoomLevel)})]))}_dateFormat(){var e;const{annotation:t}=this.props,n=null===(e=t.additionalActions)||void 0===e||null===(e=e.onFormat)||void 0===e?void 0:e.script;if(!n)return null;const o=sr(/(AFTime|AFDate)_([FormatEx]*)\("*([0-9]+|[\w\d\s:\-/]*)"*\)/,{name:1,type:2,argument:3}),r=n.match(o);if(!r)return null;const{argument:i,type:a,name:s}=r.groups;if("FormatEx"===a){const e=i.match(/[d|y|m]/);return"AFDate"===s&&e||"AFTime"===s&&!e?i:null}switch(s){case"AFDate":return ur[i];case"AFTime":return dr[i]}return null}_dateInputType(e){if(e){const t=e.match(/[d|y|m]/),n=e.match(/[H|h|M|t]/);if(t&&n)return"datetime-local";if(n)return"time"}return"date"}_getReusableRealm(){return this._reusableRealm?this._reusableRealm.window.document.body.innerHTML="":this._reusableRealm=(0,ar.Aw)(this.props.frameWindow),this._reusableRealmRemoveTimeout&&clearTimeout(this._reusableRealmRemoveTimeout),this._reusableRealmRemoveTimeout=setTimeout((()=>{this._reusableRealm&&this._reusableRealm.remove(),this._reusableRealm=null,this._reusableRealmRemoveTimeout=null}),200),(0,s.kG)(this._reusableRealm),this._reusableRealm}componentDidMount(){this.props.formField.multiLine&&!this.props.formField.password&&"number"!=typeof this.props.annotation.lineHeightFactor&&this.props.backend.getSuggestedLineHeightFactor(this.props.annotation).then((e=>{this.props.dispatch((0,bt.Zr)((0,i.aV)([this.props.annotation.set("lineHeightFactor",e)])))})).catch(s.vU)}componentDidUpdate(e){var t;e.annotationToFocus!==this.props.annotationToFocus&&this.props.annotationToFocus===this.props.annotation.id&&(null===(t=this._inputRef.current)||void 0===t||t.focus())}render(){const{annotation:{boundingBox:{width:e,height:t},lineHeightFactor:n},annotation:o,formField:{name:r,password:i,maxLength:a,doNotSpellCheck:s,doNotScroll:l,multiLine:u,readOnly:p,comb:f,required:h},zoomLevel:m,formDesignMode:g,formattedValue:v,frameWindow:y,isRenderingAPStream:b,canFillFormFieldCP:w}=this.props,S=function(e,t){return e.isFocused||null==t?e.isFocused&&null!=e.editingValue?e.editingValue:e.value:t}(this.state,v),P=this._memoizedCalculateFontSize(S,e,t,o.fontSize,u,o.borderWidth||0,this._inputRef.current),E=cr({width:o.boundingBox.width*m,height:o.boundingBox.height*m,fontSize:P*m},b?{opacity:0}:cr(cr({},(0,Ze.i2)(o,m)),{},{overflow:l?"hidden":"auto",paddingTop:0,paddingBottom:0,paddingLeft:u?Ao.DI*m:0,paddingRight:u?Ao.DI*m:0}));if(o.horizontalAlign&&(E.textAlign=o.horizontalAlign),o.verticalAlign&&!u&&("bottom"===o.verticalAlign?E.paddingTop=E.height-E.fontSize-2*E.borderWidth:"top"===o.verticalAlign&&(E.paddingBottom=E.height-E.fontSize-2*E.borderWidth)),f&&"number"==typeof a&&!u){const t=this._memoizedCalculateCombLetterSpacing(P,e,a,y.document,this._inputRef.current)*m;E.fontFamily="monospace",E.letterSpacing=t,E.paddingLeft=t/2,E.paddingRight=0}const x=i?"password":"text",D=w&&!p,C=d()({[Vn().readOnly]:!D,[Vn().widget]:!0,[Vn().combNoPaddingLeftOnFocus]:f&&a,[Vn().onFocus]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Text":!0,"PSPDFKit-Annotation-Widget-read-only":!D,"PSPDFKit-Annotation-Widget-Required":h}),k=!D||g;if(!i&&u){let e=Ao.n*m;const t=E.height-E.fontSize;t-2*e<0&&(e=t>0?t/2:0);const i=E.fontSize*(null!=n?n:1),l=E.height/i<2?0:Math.min(.4*P*m,5*m),u=cr(cr({},E),{},{resize:"none",paddingTop:l,paddingLeft:Ao.DI*m,paddingRight:Ao.DI*m,lineHeight:`${i}px`});if(o.verticalAlign&&"top"!==o.verticalAlign){this._usedHeight=this._memoizedGetTextareaUsedHeight(S||" ",o.boundingBox.width,m,P,this._getReusableRealm());const t=u.height-(this._usedHeight||u.fontSize);"bottom"===o.verticalAlign?u.paddingTop=u.height>this._usedHeight?t-e-2*u.borderWidth:0:"center"===o.verticalAlign&&(u.paddingTop=u.height>this._usedHeight?t/2-u.borderWidth:0,u.paddingBottom=u.height>this._usedHeight?t/2-e-u.borderWidth:0)}return c.createElement("textarea",{ref:this._inputRef,className:C,name:r,disabled:k,value:S,style:u,maxLength:a,spellCheck:!s,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:h})}const O=this._dateFormat(),A=this._dateInputType(O);return O&&A?c.createElement(q.qe,{ref:this._inputRef,style:E,className:C,name:r,value:S,disabled:k,type:A,maxLength:a,format:O,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:h}):c.createElement("input",{ref:this._inputRef,className:C,type:x,disabled:k,maxLength:a,name:r,value:S,style:E,spellCheck:!s,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:h})}}function hr(e,t,n,o,r){let a,l=e/2;try{a=new ir.f(o,(0,i.aV)(["_"]),{fontSize:`${e}px`,width:`${t}px`,wordWrap:"break-word",whiteSpace:"pre-wrap",fontFamily:"monospace"},Vn().widget,r&&r.parentNode);const n=a.measure().first();(0,s.kG)(n),l=n.width}finally{a&&a.remove()}const c=t/n-l;return Math.max(c,0)}function mr(e,t,n,o,r){let i;try{const a={width:`${Math.ceil(t*n)}px`,fontSize:o*n+"px",padding:`0 ${Ao.DI*n}px`,whiteSpace:"pre-wrap",overflowWrap:"break-word",maxWidth:t*n+"px",border:`${Math.max(1,n)}px solid transparent`,boxSizing:"border-box",display:"block",fontFamily:"Helvetica, sans-serif",margin:"0",outline:"0"};return i=new ir.f(r.window.document,e,a),i.wrapper?i.wrapper.scrollHeight:0}finally{i&&i.remove()}}var gr=n(61631),vr=n(5020);function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function br(e){for(var t=1;t{this._pointerRecognizer=e})),(0,o.Z)(this,"onFocus",((e,t)=>{const{onFocus:n,dispatch:o,annotation:{additionalActions:r,formFieldName:i}}=this.props;r&&r.onFocus&&o((0,gr.gH)(r.onFocus.script,i)),n&&n(e,t),this.setState({isFocused:!0})})),(0,o.Z)(this,"onBlur",((e,t)=>{const{onBlur:n,dispatch:o,annotation:{additionalActions:r,formFieldName:i}}=this.props;r&&r.onBlur&&o((0,gr.gH)(r.onBlur.script,i)),n&&n(e,t),this.setState({isFocused:!1})})),(0,o.Z)(this,"onPointerUp",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerUp&&this.props.dispatch((0,gr.TU)(this.props.annotation,"onPointerUp")),this.state.isDown&&this.setState({isDown:!1})})),(0,o.Z)(this,"onPointerEnter",(()=>{var e,t;this._elementBoundingBox=null===(e=this._pointerRecognizer)||void 0===e?void 0:e.getBoundingClientRect(),null!==(t=this.props.annotation.additionalActions)&&void 0!==t&&t.onPointerEnter&&this.props.dispatch((0,gr.TU)(this.props.annotation,"onPointerEnter")),this.props.hasRolloverVariantAPStream&&this.setState({isRollover:!0})})),(0,o.Z)(this,"onPointerLeave",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerLeave&&this.props.dispatch((0,gr.TU)(this.props.annotation,"onPointerLeave")),this.state.isRollover&&this.setState({isRollover:!1,isDown:!1})})),(0,o.Z)(this,"onRootPointerMove",(e=>{var t,n,o,r;this._elementBoundingBox&&this.state.isRollover&&(e.clientX<(null===(t=this._elementBoundingBox)||void 0===t?void 0:t.left)||e.clientX>(null===(n=this._elementBoundingBox)||void 0===n?void 0:n.right)||e.clientY<(null===(o=this._elementBoundingBox)||void 0===o?void 0:o.top)||e.clientY>(null===(r=this._elementBoundingBox)||void 0===r?void 0:r.bottom))&&this.onPointerLeave()})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"handleOpenStateChange",(e=>{var t,n;(this.setState({isComboboxOpen:e}),this.props.isComboBoxOpen&&this.props.isComboBoxOpen(e),e)||(null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,null))})),(0,o.Z)(this,"handleComboBoxRect",(e=>{var t,n;null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,e)})),(0,o.Z)(this,"handlePointerDown",(e=>{if(e.isPrimary&&this.props.isSelectable&&this.props.hasDownVariantAPStream&&this.setState({isDown:!0}),!e.isPrimary||!this.props.isSelectable||this.props.formField instanceof w.R0&&!this.props.formDesignMode)return;const t={selectedAnnotationShouldDrag:"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!0};this.props.dispatch((0,De.mg)(this.props.annotation,e,t))}))}renderWidgetComponent(e){const{formField:t,canFillFormFieldCP:n,frameWindow:o}=this.props;(0,s.kG)(t),(0,s.kG)(o);const r={dispatch:this.props.dispatch,annotation:this.props.annotation,zoomLevel:this.props.zoomLevel,frameWindow:o,onFocus:this.onFocus,onBlur:this.onBlur,onPointerUp:e?this.handlePointerUp:void 0,formDesignMode:this.props.formDesignMode,backend:this.props.backend,formattedValue:this.props.formattedValue,editingValue:this.props.editingValue,isRenderingAPStream:e,canFillFormFieldCP:n,viewportState:this.props.viewportState,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected,annotationToFocus:this.props.annotationToFocus};if(t instanceof w.$o)return c.createElement(fr,(0,ue.Z)({},r,{formField:t}));if(t instanceof w.Vi)return c.createElement(Ko,(0,ue.Z)({},r,{formField:t}));if(t instanceof w.rF)return c.createElement(oo,(0,ue.Z)({},r,{formField:t}));if(t instanceof w.fB)return c.createElement(No,(0,ue.Z)({},r,{handleComboxBoxRect:this.handleComboBoxRect,onOpenStateChange:this.handleOpenStateChange,formField:t}));if(t instanceof w.XQ)return c.createElement(Wo,(0,ue.Z)({},r,{formField:t}));if(t instanceof w.R0)return c.createElement($n,(0,ue.Z)({},r,{formField:t}));if(t instanceof w.Yo)return c.createElement(nr,(0,ue.Z)({},r,{isDragging:this.props.isDragging,formField:t}));throw new Error("Unsupported type for FormField.")}renderWidgetMaybeWithAPStream(){const{annotation:e,zoomLevel:t,backend:n,formField:o,isDragging:r,shouldKeepRenderingAPStream:i,intl:{formatMessage:a}}=this.props,s=i&&!this.state.isComboboxOpen&&(!this.state.isFocused||o instanceof w.rF||o instanceof w.XQ||o instanceof w.R0)&&!(o instanceof w.Yo),l=(0,_.vk)(e.blendMode),u=l?{mixBlendMode:l}:{};let d;return this.state.isRollover&&(d="rollover"),this.state.isDown&&(d="down"),c.createElement("div",{style:u},this.renderWidgetComponent(s),s?c.createElement(le.Reparent,{id:`annotation-widget-${e.id}`,className:Ge().APStreamParent},c.createElement(He,{annotation:e,variant:d,zoomLevel:t,backend:n,formField:o,label:a(ke.Z.annotation),isDragging:r})):null)}render(){const{annotation:{rotation:e,boundingBox:t,id:n},zoomLevel:o,formDesignMode:r,formField:i,isSelectable:a}=this.props;if(!i)return null;const s=90===(0,vr.Lv)(e)||270===(0,vr.Lv)(e);let l=Pr,u=Er;return s&&(l=br(br({},l),{},{transformOrigin:"50% 50%",transform:(0,Ze.G8)({width:Math.ceil(t.width*o),height:Math.ceil(t.height*o),rotation:(0,vr.Lv)(e)})}),u=br(br({},u),{},{transformOrigin:"50% 50%",transform:(0,Ze.G8)({width:Math.ceil(t.width*o),height:Math.ceil(t.height*o),rotation:(0,vr.Lv)(e),reverse:!0})})),c.createElement(xe,{position:t.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},c.createElement(Je.Z,{onPointerDown:this.handlePointerDown,onPointerUp:this.onPointerUp,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave,onRootPointerMove:this.onRootPointerMove,onDOMElement:this._pointerRecognizerRef},r&&a?c.createElement("div",{style:l,className:"PSPDFKit-Annotation","data-annotation-id":n},c.createElement("div",{style:u},this.renderWidgetMaybeWithAPStream())):c.createElement("div",{className:"PSPDFKit-Annotation","data-annotation-id":n},this.renderWidgetMaybeWithAPStream())))}}const Sr=(0,Se.XN)(wr,{forwardRef:!0}),Pr={cursor:"pointer"},Er={pointerEvents:"none"};var xr=n(10284);const Dr=(0,Zn.x)((function(e,t){let{annotation:n}=t;const o=e.formFields.get(n.formFieldName),r=o&&e.formattedFormFieldValues.get(o.name),i=o&&e.editingFormFieldValues.get(o.name);return{annotation:n,formField:(null==o?void 0:o.set("readOnly",(0,Kn.VY)(o,n,e)))||null,frameWindow:e.frameWindow,formDesignMode:e.formDesignMode,backend:e.backend,formattedValue:r,editingValue:i,canFillFormFieldCP:!!o&&(0,xr.os)(o,e),viewportState:e.viewportState,hasDownVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsDown.has(n.pdfObjectId)),hasRolloverVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsRollover.has(n.pdfObjectId)),annotationToFocus:e.widgetAnnotationToFocus}}),{forwardRef:!0})(Sr),Cr=Dr;var kr=n(57497),Or=n.n(kr),Ar=n(70094);const Tr=Ar.p1;const Ir=function(e){var t;const{annotation:n,dispatch:o,zoomLevel:r,isAnnotationSelected:i,activeAnnotationNote:a,visible:s}=e,l=a&&(null===(t=a.parentAnnotation)||void 0===t?void 0:t.id)===n.id,u=n.isCommentThreadRoot,p=c.useMemo((()=>l&&a?a:(0,Ar.Yu)(n,u?24:Tr,u?24:Tr)),[n,l,u,a]),f=p.position,h=(u||n.note||l)&&function(e){return!(e instanceof de.Qi||e instanceof de.gd||e instanceof de.Jn||e instanceof de.x_||e instanceof de.R1||function(e){return e.creatorName&&/AutoCAD SHX Text/i.test(e.creatorName)}(e))}(n),m=!Ke.Ni&&!u,{width:g,height:v}=p.boundingBox,y={width:g,height:v,transformOrigin:"top left",transform:`translate(${g*r/2-g/2}px, ${v*r/2-v/2}px)`,cursor:(0,_.B7)(n,{isAnnotationNote:!0})},b=n.constructor.readableName,w=(0,_.B7)(n);return c.createElement(c.Fragment,null,h&&c.createElement(xe,{position:f,zoomLevel:r},c.createElement(Je.Z,{onPointerUp:e=>{u?o((0,De.mg)(n,e)):(i||o((0,De.mg)(p.parentAnnotation,e)),o((0,De.mv)(p))),e&&e.stopPropagation()}},c.createElement("div",{className:d()({"PSPDFKit-Annotation-Note":!0,[Or().noteIndicator]:!0,[Or().noteIndicatorActive]:i||l,[`PSPDFKit-Annotation-Note-${b}Annotation`]:!!b}),onMouseEnter:m?e=>{o((0,De._3)(p)),e&&e.stopPropagation()}:void 0,onMouseLeave:m?e=>{o((0,De._3)(null)),e&&e.stopPropagation()}:void 0,style:{cursor:w}},s?c.createElement(Oe.Z,{style:y,className:d()(Or().icon,l&&Or().iconActive),type:u?"comment-indicator":"note-indicator"}):c.createElement("div",{style:y})))))},Fr=c.memo((function(e){const{annotation:t,annotation:{boundingBox:n},zoomLevel:o,backend:r,onFocus:i,onBlur:a,isMultiAnnotationsSelected:l}=e,{formatMessage:u}=(0,Se.YB)(),p={width:n.width*o,height:n.height*o},[f,h]=c.useState(void 0),[m,g]=c.useState(void 0);c.useEffect((()=>{r.cachedRenderAnnotation(t,void 0,p.width,p.height).promise.then((e=>{if((null==e?void 0:e.element)instanceof HTMLImageElement)return g(e.element.src)})).catch((e=>{throw new s.p2(`Could not render the media annotation: ${e.message}`)}))}),[t,r,p.width,p.height]),c.useEffect((()=>{r.getAttachment(t.mediaAttachmentId).then((e=>h(e))).catch((()=>{throw new s.p2("Could not get media attachment for "+t.id)}))}),[t.mediaAttachmentId,r,t.id]);const v=c.useMemo((()=>f?URL.createObjectURL(f):""),[f]);c.useEffect((()=>function(){v&&URL.revokeObjectURL(v)}),[v]);const y=c.useCallback((function(e){i(t,e)}),[t,i]),b=c.useCallback((function(e){a(t,e)}),[t,a]);return v?c.createElement(xe,{position:n.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:l},c.createElement("div",{className:d()("PSPDFKit-MediaAnnotation","PSPDFKit-Annotation"),"data-annotation-id":t.id,tabIndex:0,onFocus:y,onBlur:b},c.createElement("video",{src:v,controls:!0,width:p.width,height:p.height,poster:m,"aria-label":`${u(ke.Z.annotation)}: ${u(ke.Z.mediaAnnotation)} ${t.fileName}`},u(ke.Z.mediaFormatNotSupported)))):null})),Mr=Fr;var _r=n(58479);const Nr=c.forwardRef((function(e,t){let{annotation:n,globalAnnotation:o,attachments:r,backend:i,dispatch:s,isAnnotationReadOnly:l,isDisabled:u,isHover:d,isFocused:p,onBlur:f,onFocus:h,pageSize:m,zoomLevel:g,rotation:v,pageRotation:y,isSelected:b,showAnnotationNotes:w,activeAnnotationNote:S,onClick:P,isResizing:E=!1,isModifying:x=!1,isDragging:D=!1,isRotating:C=!1,cursor:k,shouldRenderAPStream:O,isMultiAnnotationsSelected:A=!1,isComboBoxOpen:T,handleComboBoxRect:I}=e;const[F,M]=c.useState(!1),N=c.useCallback((()=>M(!0)),[]),R=(0,a.v9)((e=>"formFieldName"in n?e.formFields.get(n.formFieldName):void 0)),L=(0,a.v9)((e=>(0,er.Zt)(e,n))),B=(0,_r.jC)({annotation:n,formField:R,zoomLevel:g,isDigitallySignedWidget:L});c.useEffect((()=>{B&&Ye({annotation:n,formField:R,zoomLevel:g,isDigitallySigned:L},B)&&M(!1)}),[n,R,g,L]);const j=l(n),z={backend:i,dispatch:s,isDisabled:u,isSelectable:!j,onBlur:f,onFocus:h,ref:t,zoomLevel:g,rotation:v,isDragging:D,shouldKeepRenderingAPStream:O&&!E&&!x&&!C&&!F,isFocused:p,isMultiAnnotationsSelected:A,cursor:k,isComboBoxOpen:T,handleComboBoxRect:I,onError:N},K=(0,a.v9)((e=>e.secondaryMeasurementUnit));let Z=null;return n instanceof de.Hu&&(Z=c.createElement(Mr,(0,ue.Z)({},z,{annotation:n}))),n instanceof de.sK?Z=c.createElement(nt,(0,ue.Z)({},z,{attachment:n.imageAttachmentId?r.get(n.imageAttachmentId):null,annotation:n})):n instanceof de.Zc?Z=c.createElement(ut,(0,ue.Z)({},z,{annotation:n})):n instanceof de.R1?Z=c.createElement(yt,(0,ue.Z)({},z,{isHover:d,annotation:n})):n instanceof de.Qi?Z=c.createElement(Ct,(0,ue.Z)({},z,{isReadOnly:j,annotation:n})):n instanceof de.UX?Z=c.createElement(on,(0,ue.Z)({},z,{annotation:n,secondaryMeasurementUnit:K})):n instanceof de.GI?Z=c.createElement(sn,(0,ue.Z)({},z,{annotation:n,globalAnnotation:o})):n instanceof de.gd?Z=c.createElement(Sn,(0,ue.Z)({},z,{pageSize:m,onClick:P,annotation:n,globalAnnotation:o})):n instanceof de.Wk?Z=c.createElement(An,(0,ue.Z)({},z,{active:b,annotation:n})):n instanceof de.On?Z=c.createElement(Ln,(0,ue.Z)({},z,{active:b,pageRotation:y,annotation:n})):n instanceof de.Ih?Z=c.createElement(zn,(0,ue.Z)({},z,{annotation:n})):n instanceof de.x_?Z=c.createElement(Cr,(0,ue.Z)({},z,{annotation:n})):n instanceof de.Jn&&(Z=c.createElement(Fe,(0,ue.Z)({},z,{isReadOnly:j,active:b,annotation:n}))),c.createElement(ve,{key:n.id,zoomLevel:g,renderer:"Annotation",notCSSScaled:n instanceof de.x_},c.createElement(Lr,{annotation:n},Z,w&&(0,_.YV)(n)&&c.createElement(Ir,{dispatch:s,annotation:n,zoomLevel:g,isAnnotationSelected:b,activeAnnotationNote:S,visible:!0})))})),Rr=Nr;function Lr(e){let{children:t}=e;return c.createElement("div",null,t)}const Br=(0,a.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,transformClientToPage:function(t){return e.transformClientToPage(t,n)}}})),jr=(0,a.$j)((e=>({transformClientToPage:e.transformClientToPage})));var zr=n(51333),Kr=n(2019),Zr=n.n(Kr);class Ur extends c.PureComponent{constructor(e){let t,n,r;if(super(e),(0,o.Z)(this,"layerRef",c.createRef()),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const n=this._fitRectInPage(new w.UL({left:t.x-this.sizes.width/2,top:t.y-this.sizes.height/2,width:this.sizes.width,height:this.sizes.height}),this.props.pageSize),o=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",n);e.stopPropagation(),o instanceof w.Qi?this.props.dispatch((0,bt.FG)(o)):o instanceof w.Jn&&(this.props.dispatch((0,bt.Zr)((0,i.aV)([o]))),this.props.dispatch((0,zr.mh)(o.id)))})),e.annotation instanceof w.Qi)t=n=r=Be.SP,this.cursor="context-menu";else{if(!(e.annotation instanceof w.Jn))throw Error("Annotation type not supported.");t=n=r=Be.zk,this.cursor="context-menu"}this.sizes={width:t,height:n,minWidth:r}}_getNormalizedMousePosition(e){const{target:t}=e;if(this.layerRef.current){const{defaultView:n}=this.layerRef.current.ownerDocument;if(t instanceof n.HTMLDivElement)return this.props.transformClientToPage(new w.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}}_fitRectInPage(e,t){const{width:n,height:o}=t,r=this.sizes.minWidth||this.sizes.width;return e.top+e.height>o&&(e=e.set("top",o-e.height)),e.left+r>n&&(e=e.set("left",n-r)),e}render(){return c.createElement(Je.Z,{onPointerUp:this._handlePointerUp},c.createElement("div",{"data-testid":"create-annotation-layer"},c.createElement("div",{className:Zr().layer,style:{cursor:this.cursor||"auto"},ref:this.layerRef})))}}const Vr=jr(Ur);var Gr=n(921),Wr=n.n(Gr);class qr extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{currentSelectableAnnotation:null}),(0,o.Z)(this,"_handlePointerDownCapture",(e=>{this._pointerDownTime=Date.now();const t=this._transformToPagePoint(e);this._selectableAnnotation=this.findSelectableAnnotation(t);const n=this._selectableAnnotation instanceof w.R1;var o,r,i,a;(n&&(this._selectedAnnotationOnDown=this.findSelectedAnnotationAtPoint(t)),this._isInterestedInUpCapture=n&&!this._selectedAnnotationOnDown,e.metaKey||e.ctrlKey&&this.props.isMultiSelectionEnabled)?(null===(o=(r=this.props).setMultiAnnsInitialEvent)||void 0===o||o.call(r,e.nativeEvent),this.props.dispatch((0,Kt.YF)(!0))):null===(i=(a=this.props).setMultiAnnsInitialEvent)||void 0===i||i.call(a,void 0)})),(0,o.Z)(this,"_handlePointerUpCapture",(e=>{if(!this._selectableAnnotation||!this._isInterestedInUpCapture||!this.getSelection().isCollapsed)return;const t=Date.now()-this._pointerDownTime>300,n=this._selectableAnnotation,o=n instanceof w.R1;if(t&&!o)return void(this._selectableAnnotation=null);const r=n instanceof w.On||o,i=!this._selectedAnnotationOnDown&&Boolean(this.findSelectedAnnotationAtPoint(this._transformToPagePoint(e)));this.props.dispatch((0,De.mg)(n,e,{preventDefault:r,stopPropagation:r,clearSelection:i,longPress:t&&o}))})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.getSelection().isCollapsed||!this._selectableAnnotation||this._selectedAnnotationOnDown)return;const t=this._selectableAnnotation,n=t instanceof w.On;this.props.dispatch((0,De.mg)(t,e,{preventDefault:n,stopPropagation:n}))})),(0,o.Z)(this,"_handlePointerMove",(e=>{if("mouse"!==e.pointerType)return;const{currentSelectableAnnotation:t}=this.state,n=this._transformToPagePoint(e),o=this.findSelectableAnnotation(n);!(0,i.is)(o,t)&&(t&&this.props.hoverAnnotationIds.has(t.id)&&this.props.dispatch((0,De.IP)(t.id)),!o||this.props.hoverAnnotationIds.has(o.id)||this.checkifHoverPointIsDefferedRegion(new w.E9({x:e.clientX,y:e.clientY}))||this.props.dispatch((0,De.oX)(o.id)),this.setState({currentSelectableAnnotation:o}))}))}checkifHoverPointIsDefferedRegion(e){if(this.props.hitCaptureDeferredRect&&this.props.hitCaptureDeferredRect.length>0)for(const t of this.props.hitCaptureDeferredRect){if(e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom)return!0}return!1}_transformToPagePoint(e){return this.props.transformClientToPage(new w.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}_boundingBoxHitTest(e){const t=Ke.Ni?Be.wK:Be.XZ;return n=>n instanceof w.R1?n.boundingBox.isPointInside(e):n.boundingBox.grow(t).isPointInside(e)}_findSelectableLinkAnnotation(e){return this.props.selectableLinkAnnotations.filter(_.Fp).findLast(this._boundingBoxHitTest(e))}_findSelectableTextMarkupAnnotation(e){return this.props.selectableTextMarkupAnnotations.filter(_.Fp).findLast((t=>t.rects.find((t=>t.grow(Ke.Ni?Be.wK:Be.XZ).isPointInside(e)))))}findSelectableAnnotation(e){const t=this._findSelectableLinkAnnotation(e),n=this._findSelectableTextMarkupAnnotation(e);return t||n}findSelectedAnnotationAtPoint(e){return this.props.selectedAnnotations.findLast(this._boundingBoxHitTest(e))}getSelection(){return this.props.window.getSelection()}render(){const e=!!this.state.currentSelectableAnnotation,t=d()({[Wr().layer]:!0,[Wr().cursorText]:this.props.keepSelectedTool&&"TEXT"===this.props.interactionMode,[Wr().cursorPointer]:e,"PSPDFKit-CursorPointer":e});return c.createElement(Je.Z,{onPointerMove:this._handlePointerMove,onPointerUp:this._handlePointerUp,onPointerDownCapture:this.props.isHitCaptureDeferred?void 0:this._handlePointerDownCapture,onPointerDown:this.props.isHitCaptureDeferred?this._handlePointerDownCapture:void 0,onPointerUpCapture:this._handlePointerUpCapture},c.createElement("div",{className:t},this.props.children))}}const Hr=jr(qr);var $r=n(73815);class Xr extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"precision",(0,ot.HB)(this.props.zoomLevel)),(0,o.Z)(this,"pointsToPathArray",rt.Options.ENABLE_INK_SMOOTH_LINES?e=>(0,ot.vR)(e,this.precision):ot.$U),(0,o.Z)(this,"_pathDataFromFragments",((e,t,n)=>{if(!n||n.length<3)return null;const o=this.props.annotation.lines.get(t);return!o||o.size{let{annotation:t,onDrawStart:n}=this.props;this.precision=(0,ot.HB)(this.props.zoomLevel),t=t.update("lines",(t=>t.push((0,i.aV)([e,new w.Wm({x:e.x,y:e.y,intensity:e.intensity})])))),t=t.set("boundingBox",(0,ot.gz)(t)),n(t)})),(0,o.Z)(this,"_onDraw",(e=>{let{annotation:t,onDraw:n}=this.props,o=t.lines.last();(0,s.kG)(o),o=e.reduce(((e,t)=>(0,ot.H9)(e,t,this.props.distanceBetweenPoints)?e.push(t):e),o.pop()).push(e[e.length-1]),t=t.setIn(["lines",this.props.annotation.lines.size-1],o),t=t.set("boundingBox",function(e,t){const{boundingBox:n,lineWidth:o}=e;let{left:r,top:i,width:a,height:s}=n,l=Math.floor(r),c=Math.floor(i),u=Math.ceil(r+a),d=Math.ceil(i+s);return t.forEach((e=>{l=Math.floor(Math.min(r,e.x-o/2)),c=Math.floor(Math.min(i,e.y-o/2)),u=Math.ceil(Math.max(r+a,e.x+o/2)),d=Math.ceil(Math.max(i+s,e.y+o/2)),r=l,i=c,a=u-l,s=d-c})),new w.UL({left:r,top:i,width:a,height:s})}(t,o)),n(t)})),(0,o.Z)(this,"_onDrawEnd",(()=>{let{annotation:e,onDrawEnd:t}=this.props;const n=e.lines.last();if((0,s.kG)(n),n.size>1){const t=n.get(n.size-2);t&&0===n.last().distance(t)&&(e=e.updateIn(["lines",e.lines.size-1],(e=>e.pop())))}t(e)}))}render(){const{annotation:e,canvasSize:t,zoomLevel:n}=this.props,{boundingBox:o}=e;return c.createElement("div",{className:at().canvas,style:{cursor:this.props.cursor,mixBlendMode:(0,_.vk)(e.blendMode)},"data-testid":"ink-canvas-outer-div"},c.createElement(xe,{zoomLevel:n,applyZoom:!0},c.createElement("div",{style:{position:"absolute",top:o.top,left:o.left,width:o.width,height:o.height}},c.createElement(dt,{isSelectable:!1,annotation:e,viewBox:o,pathDataFromFragments:this._pathDataFromFragments,precision:this.precision}))),c.createElement(zt.Z,{scrollElement:this.props.scrollElement,size:t,onDrawStart:this._onDrawStart,onDrawCoalesced:this._onDraw,onDrawEnd:this._onDrawEnd,transformPoint:this.props.transformPoint,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing}))}}(0,o.Z)(Xr,"defaultProps",{canvasSize:new w.$u({width:300,height:200}),distanceBetweenPoints:0,cursor:"default",zoomLevel:1});const Yr=(0,io.Z)(ot.Vv);function Jr(e){const t=e.inkAnnotation.lineWidth/2*e.viewportState.zoomLevel;return{currentInkAnnotation:e.inkAnnotation,cursor:Yr(t),zoomLevel:e.viewportState.zoomLevel,inkAnnotationFromCurrentProps:e.inkAnnotation}}class Qr extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",Jr(this.props)),(0,o.Z)(this,"lastEndDrawingTime",Date.now()),(0,o.Z)(this,"_transformClientToPage",(e=>e.apply(this.props.clientToPageTransformation))),(0,o.Z)(this,"_onDrawStart",(e=>{const t=e.pageIndex,n={annotations:(0,i.aV)([e]),reason:Q.f.DRAW_START};this.props.eventEmitter.emit("annotations.willChange",n),null===t?e=e.set("pageIndex",this.props.pageIndex):t!==this.props.pageIndex?(e=e.set("pageIndex",this.props.pageIndex),this.props.dispatch((0,bt.vc)(e,this.props.pageIndex))):(0,ot.Ip)(e,this.props.pageSize,this.lastEndDrawingTime)||(e=(e=e.update("lines",(e=>(0,i.aV)([e.last()])))).set("boundingBox",(0,ot.gz)(e)),this.props.dispatch((0,bt.vc)(e,this.props.pageIndex))),this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDraw",(e=>{this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDrawEnd",(e=>{const t={annotations:(0,i.aV)([e]),reason:Q.f.DRAW_END};this.props.eventEmitter.emit("annotations.willChange",t),this.lastEndDrawingTime=Date.now(),this.setState({currentInkAnnotation:e},(()=>{this.state.currentInkAnnotation.lines.size&&this.props.dispatch((0,bt.FG)(this.state.currentInkAnnotation))}))}))}static getDerivedStateFromProps(e,t){return(0,i.is)(t.inkAnnotationFromCurrentProps,e.inkAnnotation)||(0,i.is)(t.currentInkAnnotation,e.inkAnnotation)&&e.viewportState.zoomLevel===t.zoomLevel?null:Jr(e)}componentDidMount(){this.props.dispatch((0,Kt.X2)())}componentWillUnmount(){this.props.dispatch((0,Kt.Zg)())}render(){const e=this.state.currentInkAnnotation,{pageSize:t}=this.props,{INK_EPSILON_RANGE_OPTIMIZATION:n}=rt.Options;return c.createElement(Xr,{scrollElement:this.props.scrollElement,annotation:e,canvasSize:t,onDrawStart:this._onDrawStart,onDrawEnd:this._onDrawEnd,onDraw:this._onDraw,transformPoint:this._transformClientToPage,distanceBetweenPoints:n/(this.props.viewportState.zoomLevel*(0,$r.L)()),cursor:this.state.cursor,zoomLevel:this.props.viewportState.zoomLevel,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing})}}const ei=(0,a.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,H.zi)(e,n),eventEmitter:e.eventEmitter,interactionMode:e.interactionMode,canScrollWhileDrawing:e.canScrollWhileDrawing}}))(Qr);var ti=n(52871);const ni=100;function oi(e,t){const n=Math.floor(e.x/ni);return Math.floor(e.y/ni)*t+n}function ri(e,t,n,o){const{lineWidth:r,id:i}=e,a=Math.ceil(o.width/ni),s=t/2;return e.lines.forEach(((e,t)=>{e.forEach(((e,o)=>{if(null==e)return;const l=Math.floor(e.x/ni),c=Math.floor(e.y/ni),u={point:e,annotationId:i,lineIndex:t,pointIndex:o,strokeRadius:r/2},d=Math.ceil((s+u.strokeRadius)/ni);for(let t=c-d;t<=c+d;t++)for(let o=l-d;o<=l+d;o++)if(o>-1&&t>-1){if(new ti.Z({x:ot.x+n||e.y+ot.y+n)&&e.distance(t){let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,H.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new w.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:o,dispatch:r,inkAnnotations:a,clientToPageTransformation:s}=e,l=c.useMemo((function(){return(0,ot.Vv)(n/2*o)}),[n,o]),[u,d]=c.useState({localAnnotations:a,lastErasedPointsPaths:[]}),p=c.useRef(null),f=c.useCallback((e=>e.apply(s)),[s]);c.useEffect((()=>{p.current=a.reduce(((e,o)=>ri(o,n,e,t)),[]),d({localAnnotations:a,lastErasedPointsPaths:[]})}),[a,n,t]);const h=c.useCallback((e=>{d(function(e,t,n,o,r,i){const a=Math.ceil(i.width/ni),s={};return t.forEach((e=>{const t=oi(e,a);o[t]&&o[t].forEach((t=>{t&&t.point&&ii(t.point,e,n/2,t.strokeRadius)&&(t.point=null,r.push([t.annotationId,t.lineIndex,t.pointIndex]),s[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>s[e.id]?e.withMutations((t=>{r.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1],e[2]],null)}))})):e)),lastErasedPointsPaths:r}}(u.localAnnotations,Array.isArray(e)?e:[e],n,p.current,[],t))}),[u.localAnnotations,n,t]),m=c.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.withMutations((e=>{e.update("lines",(e=>e.reduce(((e,t)=>e.concat(t.reduce(((e,t)=>null==t?e.push((0,i.aV)()):e.update(-1,(e=>e.push(t)))),(0,i.aV)([(0,i.aV)()])).filter((e=>e.size>0)))),(0,i.aV)()).filter((e=>e.size>0))))}))).set("boundingBox",(0,ot.gz)(e))))}(u.localAnnotations,a);r((0,bt.GZ)(e.filter((e=>e.lines&&e.lines.size>0)),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[u.localAnnotations,r,a]);c.useEffect((()=>(r((0,Kt.X2)()),()=>{r((0,Kt.Zg)())})),[r]);const g=c.useCallback(((e,t,n)=>{var o;if(!n)return null;const{lastErasedPointsPaths:r,localAnnotations:i}=u;if(0===r.length)return n;const a=null==i||null===(o=i.find((t=>t.id===e)))||void 0===o?void 0:o.lines.get(t);return a&&a.size===n.length?r.reduce(((n,o)=>{if(function(e,t,n,o){return e[0]===n&&e[1]===o&&"M 0,0"!==t[e[2]]}(o,n,e,t)){n[o[2]]="M 0,0";const e=n[o[2]+1],t=a.get(o[2]+1);if(t&&si(e)){const e=n[o[2]+2];n[o[2]+1]=`${si(e)?"M":"L"} ${t.x},${t.y}`}const r=n[o[2]-1],i=a.get(o[2]-1),s=i?`L ${i.x},${i.y}`:"";if(si(r)){const e=n[o[2]-2];i&&li(e)&&(n[o[2]-1]=s)}else i&&li(r)&&(n[o[2]-1]=s);return n}return n}),n):null}),[u]);return c.createElement("div",{className:at().canvas,style:{cursor:l}},u.localAnnotations.map((e=>c.createElement(ut,{dispatch:r,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:o,key:e.id,pathDataFromFragments:g}))),c.createElement(zt.Z,{size:t,onDrawStart:h,onDrawCoalesced:h,onDrawEnd:m,transformPoint:f,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));function si(e){return"string"==typeof e&&e.startsWith("C")}function li(e){return"string"==typeof e&&e.startsWith("M")}const ci=(0,a.$j)(((e,t)=>{let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,H.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new w.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:o,dispatch:r,inkAnnotations:a,clientToPageTransformation:s}=e,l=c.useMemo((function(){return(0,ot.Vv)(n/2*o)}),[n,o]),[u,d]=c.useState({localAnnotations:a,lastErasedLinesPaths:[]}),p=c.useRef(null),f=c.useCallback((e=>e.apply(s)),[s]);c.useEffect((()=>{p.current=a.reduce(((e,o)=>ri(o,n,e,t)),[]),d({localAnnotations:a,lastErasedLinesPaths:[]})}),[a,n,t]);const h=c.useCallback((e=>{d(function(e,t,n,o,r,a){const s=Math.ceil(a.width/ni),l={};return t.forEach((e=>{const t=oi(e,s);o[t]&&o[t].forEach((t=>{t&&t.point&&ii(t.point,e,n/2,t.strokeRadius)&&(t.point=null,r.push([t.annotationId,t.lineIndex]),l[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>l[e.id]?e.withMutations((t=>{r.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1]],(0,i.aV)([]))}))})):e)),lastErasedLinesPaths:r}}(u.localAnnotations,Array.isArray(e)?e:[e],n,p.current,[],t))}),[u.localAnnotations,n,t]),m=c.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.update("lines",(e=>e.filter(Boolean).filter((e=>e.size>0))))).set("boundingBox",(0,ot.gz)(e))))}(u.localAnnotations,a);r((0,bt.GZ)(e.filter((e=>{var t;return(null===(t=e.lines)||void 0===t?void 0:t.size)>0})),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[u.localAnnotations,r,a]);return c.useEffect((()=>(r((0,Kt.X2)()),()=>{r((0,Kt.Zg)())})),[r]),c.createElement("div",{className:at().canvas,style:{cursor:l}},u.localAnnotations.map((e=>c.createElement(ut,{dispatch:r,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:o,key:e.id}))),c.createElement(zt.Z,{size:t,onDrawStart:h,onDrawCoalesced:h,onDrawEnd:m,transformPoint:f,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));class ui extends c.Component{constructor(e){super(e),(0,o.Z)(this,"_handledBlur",!1),(0,o.Z)(this,"editor",c.createRef()),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"clearText",(()=>{const{current:e}=this.editor;if(!e)return"";e.innerText="",setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0),this.focus()})),(0,o.Z)(this,"focus",(()=>{const{current:e}=this.editor;e&&(e.focus(),setTimeout((()=>{const{current:e}=this.editor;e&&("webkit"!==Ke.SR&&(this._handledBlur=!0,e.blur()),e.focus())}),0),this.setInitialSelection())})),(0,o.Z)(this,"_createRangeAndSelect",(e=>{const{current:t}=this.editor;if(!t)return;const{ownerDocument:n,childNodes:o}=t,r=o[o.length-1];if(!r)return;if(void 0===n.createRange)return;const i=n.createRange();let a;a="gecko"===Ke.SR?r.length-1:r.length,i.setStart(r,e?0:a),i.setEnd(r,a),this.setSelection(i)})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_handleKeyDown",(e=>{if(e.keyCode!==Zo.zz){if(e.keyCode===Zo.E$&&e.shiftKey)return this.props.onStopEditing(),void e.preventDefault();if(this.getPlainText().length>=this.props.maxLength)e.preventDefault();else if("blink"===Ke.SR&&e.keyCode===Zo.E$){const{current:n}=this.editor;if(!n)return;const{defaultView:o}=n.ownerDocument;(0,s.kG)(o,"defaultView is null");const r=o.getSelection();if(null!=r&&r.anchorNode&&"#text"===(null==r?void 0:r.anchorNode.nodeName)){var t;const n=di(r);if(null===(t=r.anchorNode.parentNode)||void 0===t||t.normalize(),r.anchorNode&&"#text"===r.anchorNode.nodeName){const t=r.anchorOffset;"Range"===r.type&&r.deleteFromDocument();const o=r.anchorNode.nodeValue;(0,s.kG)(o,"currentText is null");const i=n&&o.replace(/\n/,"").length>0;r.anchorNode.nodeValue=o.substr(0,r.anchorOffset)+"\n"+(i?"\n":"")+o.substr(r.anchorOffset),r.collapse(r.anchorNode,t+1),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}else if("gecko"===Ke.SR&&e.keyCode===Zo.E$){const{current:t}=this.editor;if(!t)return;const{defaultView:o}=t.ownerDocument;(0,s.kG)(o,"defaultView is null");const r=o.getSelection();if(null!=r&&r.anchorNode&&"#text"===(null==r?void 0:r.anchorNode.nodeName)&&(function(e){let{anchorNode:t,anchorOffset:n}=e;return null!=t&&("#text"===t.nodeName&&(0===n||t.nodeValue.length>n&&"\n"===t.nodeValue.charAt(n-1))||"DIV"===t.nodeName&&t.hasChildNodes()&&t.childNodes.length>0&&"BR"===t.childNodes[0].nodeName)}(r)||di(r))){var n;const t=di(r);if(null===(n=r.anchorNode.parentNode)||void 0===n||n.normalize(),r.anchorNode&&"#text"===r.anchorNode.nodeName){const n=r.anchorOffset;"Range"===r.type&&r.deleteFromDocument();const o=r.anchorNode.nodeValue;(0,s.kG)(o,"currentText is null");const i=t&&o.replace(/\n/,"").length>0;r.anchorNode.nodeValue=o.substr(0,r.anchorOffset)+"\n"+(i?"\n":"")+o.substr(r.anchorOffset),r.collapse(r.anchorNode,n+1+(i?1:0)),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}}else this.props.onEscape(e)})),(0,o.Z)(this,"_handleInput",(()=>{const{current:e}=this.editor;if(e){if("gecko"===Ke.SR){const{innerText:t}=e,n=t.charAt(t.length-1);if(" "===n){const t=e.childNodes[e.childNodes.length-1];t.nodeValue===n&&(t.nodeValue="\n")}}this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handlePaste",(e=>{var t,n;if(!this.editor.current)return;const o=this.editor.current.ownerDocument;e.preventDefault();const r=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text/plain");this.getPlainText().length+r.length>=this.props.maxLength||o.execCommand("insertText",!1,cn().sanitize(null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain")))})),(0,o.Z)(this,"_handleDrop",(e=>{if(!this.editor.current)return;const t=this.editor.current.ownerDocument;if(e.preventDefault(),e.dataTransfer){const n=e.dataTransfer.getData("text/plain");if(this.getPlainText.length+n.length>=this.props.maxLength)return;t.execCommand("insertText",!1,n),this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handleScroll",(e=>{const{current:t}=this.editor;t&&(t.scrollTop=0,t.scrollLeft=0,e.stopPropagation(),e.preventDefault())})),(0,o.Z)(this,"_handlePointerDown",(e=>{this.editor.current&&(this.editor.current.contains(e.target)||this._handleBlur())})),(0,o.Z)(this,"_handleBlur",(()=>{this._handledBlur||(this._handledBlur=!0,this.props.onBlur())})),(0,o.Z)(this,"_handleFocus",(()=>{this._handledBlur=!1,this.props.onFocus&&this.props.onFocus()})),this.innerText=this.props.defaultValue+"\n"}componentDidMount(){this.editor.current&&(this.props.autoFocus||this.props.autoSelect)&&this.focus()}getElement(){return this.editor.current}getEditorBoundingClientRect(){const{current:e}=this.editor;return(0,s.kG)(e),w.UL.fromClientRect(e.getBoundingClientRect())}getPlainText(){const{current:e}=this.editor;return e?void 0===e.innerText?"":e.innerText.replace(/\n$/,""):""}setSelection(e){const{current:t}=this.editor;if(!t)return;const n=t.ownerDocument.getSelection();null==n||n.removeAllRanges(),null==n||n.addRange(e)}blur(){this.editor.current&&this.editor.current.blur()}setInitialSelection(){if(this.props.autoSelect)return void this.autoSelectText();const{lastMousePoint:e}=this.props;let t,n=!1;if(e){if(!this.editor.current)return;const{ownerDocument:o}=this.editor.current;t=(0,s.Qo)(e,o),n=!!t&&(t.commonAncestorContainer===this.editor.current||t.commonAncestorContainer.parentElement===this.editor.current)}t&&n?this.setSelection(t):this.moveFocusToEnd()}moveFocusToEnd(){this._createRangeAndSelect(!1)}autoSelectText(){this._createRangeAndSelect(!0)}render(){return c.createElement(c.Fragment,null,c.createElement("div",{style:this.props.style,className:pn().editor,onInput:this._handleInput,onBlur:this._handleBlur,onFocus:this._handleFocus,onMouseUp:this._preventDeselect,onPointerUp:this._preventDeselect,onKeyDown:this._handleKeyDown,onKeyUp:this._preventDeselect,onTouchStart:this._preventDeselect,onTouchEnd:this._preventDeselect,onPaste:this._handlePaste,onDrop:this._handleDrop,onScroll:this._handleScroll,ref:this.editor,contentEditable:!0,suppressContentEditableWarning:!0,spellCheck:"false","data-testid":"content-editable-component"},cn().sanitize(this.innerText)),c.createElement(Je.Z,{onRootPointerDownCapture:this._handlePointerDown}))}}function di(e){return null!=e.anchorNode&&null==e.anchorNode.nextSibling&&("#text"===e.anchorNode.nodeName&&e.anchorOffset===e.anchorNode.nodeValue.length||"DIV"===e.anchorNode.nodeName&&e.anchorNode.hasChildNodes()&&e.anchorNode.childNodes.length>0&&"BR"===e.anchorNode.childNodes[0].nodeName)}(0,o.Z)(ui,"defaultProps",{autoFocus:!0,autoSelect:!1});var pi=n(51731),fi=n(32360),hi=n.n(fi),mi=n(13816);function gi(e){let{x:t,y:n,direction:o,startResizing:r,endResizing:i,onFitToSide:a,viewportSize:s,title:l,cursor:u}=e;const p=(0,mi.cL)(pi.V[o]),f=d()({[hi().resizeAnchor]:!0,[hi().nwseCursor]:o===pi.V.TOP_LEFT||o===pi.V.BOTTOM_RIGHT,[hi().neswCursor]:o===pi.V.TOP_RIGHT||o===pi.V.BOTTOM_LEFT,[hi().ewCursor]:o===pi.V.LEFT||o===pi.V.RIGHT,[hi().nsCursor]:o===pi.V.TOP||o===pi.V.BOTTOM,"PSPDFKit-Resize-Anchor":!0,[`PSPDFKit-Resize-Anchor-${p}`]:!0}),{RESIZE_ANCHOR_RADIUS:h}=rt.Options,m=h(s),g=u?{cursor:u}:void 0;return c.createElement(Je.Z,{onPointerDown:r,onPointerUp:i},c.createElement("circle",{cx:t,cy:n,r:m-Be.Hr/2,strokeWidth:Be.Hr,className:f,onDoubleClick:a,style:g},l?c.createElement("title",null,l):null))}function vi(e){let{x:t,y:n,startModifying:o,endModifying:r,pointIndex:i,viewportSize:a,title:s,cursor:l}=e;const u=d()({[hi().resizeAnchor]:!0}),{RESIZE_ANCHOR_RADIUS:p}=rt.Options,f=p(a),h=l?{cursor:l}:void 0;return c.createElement(Je.Z,{onPointerDown:o,onPointerUp:r},c.createElement("circle",(0,ue.Z)({cx:t,cy:n,r:f-Be.Hr/2,strokeWidth:Be.Hr,className:u,id:`pointIndex${i}`,style:h},{title:s})))}function yi(e){let{width:t,startRotating:n,endRotating:o,viewportSize:r,rotationHandleLength:i,rotation:a=0,title:s}=e;const{RESIZE_ANCHOR_RADIUS:l,SELECTION_STROKE_WIDTH:u}=rt.Options,p=d()({"PSPDFKit-Annotations-Rotation-Anchor":!0,[hi().rotateAnchor]:!0}),f=l(r);return c.createElement("svg",{"data-testid":"rotation-handle-ui",className:d()(hi().rotationHandleSvg,"PSPDFKit-Annotations-Rotation-Handle")},c.createElement("line",{className:d()(hi().rotationLine,"PSPDFKit-Annotations-Rotation-Line"),x1:t/2,y1:0,x2:t/2,y2:i,style:{strokeWidth:u}}),c.createElement(Je.Z,{onPointerDown:n,onPointerUp:o},c.createElement("circle",{cx:t/2,cy:i,r:f-Be.Hr/2,strokeWidth:Be.Hr,className:p,style:{cursor:(0,Ue.Mg)(a,"grab")}},s?c.createElement("title",null,s):null)))}var bi=n(41952);function wi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Si(e){for(var t=1;tt(ke.Z[`resizeHandle${e.trim()}`]))).join(", ")}`;return c.createElement(gi,{key:r,x:n,y:o,direction:a,title:s,startResizing:t=>{e.startResizing&&e.startResizing(t,i)},endResizing:Di,onFitToSide:()=>{e.onFitToSide&&e.onFitToSide(a)},viewportSize:e.viewportSize,cursor:e.cursor})}const{zoomLevel:o,annotation:r,annotationBoundingBox:i,viewportSize:a,customZIndex:s,cursor:l}=e,{RESIZE_ANCHOR_RADIUS:u,SELECTION_STROKE_WIDTH:p}=rt.Options,f=(0,bi.q)(i.scale(o),a),{SELECTION_OUTLINE_PADDING:h}=rt.Options,m=h(a),g=u(a),v=r?(0,mi.G8)(r)+2*(0,bi.K)(a):0,y=Math.min(2*g,v),b=Math.max(f.width,y),S=Math.max(f.height,y),P=Math.max(g+p/2,p),E=2*P,x=Math.max(g,p/2),D=(0,_.fk)(r,i,o,a,P),C=d()({[hi().selectionRect]:!0,[hi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Rect":!0}),k=!r||(0,_.vj)(r)?Si({strokeWidth:p},l?{cursor:l}:null):{stroke:"transparent",cursor:(0,_.B7)(r,{cursor:l,isSelected:!0})},O=d()({[hi().draggingRect]:!0,[hi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Border":!0}),A=r?r.rotation:e.annotationRotation,T=35*o,I=c.useRef(f),F=r?(0,_.B7)(r,{cursor:l,isSelected:!0}):void 0,M=Si(Si({left:f.left-P,top:f.top-P,width:b+E,height:S+E,overflow:"visible"},r||"number"!=typeof A||0===A?null:{transformOrigin:`${m+I.current.width/2}px ${m+I.current.height/2}px`}),{},{transform:"number"!=typeof A||0===A||r instanceof w.x_||r instanceof w.sK?void 0:`rotate(${-A}deg)`,zIndex:null!=s?s:0,cursor:F}),N=o*(u(a)-Be.Hr/2),R={left:M.left+M.width/2-N,top:M.top+M.height,width:2*N,height:T+N,overflow:"visible",transformOrigin:`center -${M.height/2}px`,transform:"number"==typeof A&&0!==A?`rotate(${-A}deg)`:void 0};return c.createElement(c.Fragment,null,c.createElement("svg",{style:M,className:hi().svg,focusable:!1},r instanceof w.o9?c.createElement("line",{className:C,x1:D[0].x,y1:D[0].y,x2:D[1].x,y2:D[1].y,style:Si(Si({},k),{},{strokeWidth:Ke.Ni?Math.max(Be.wK,r.strokeWidth)*o:Math.max(Be.XZ,r.strokeWidth)*o,pointerEvents:"all"})}):c.createElement("rect",{className:C,style:k,x:P-p/2,y:P-p/2,width:b+p,height:S+p})),e.children||null,c.createElement("svg",{style:M,className:hi().svg,focusable:!1},c.createElement(Je.Z,{onPointerDown:function(t){e.deselectAnnotation&&t.shiftKey&&e.deselectAnnotation?e.deselectAnnotation(t):e.isEditableCP&&2!==t.buttons&&(t.stopPropagation(),null!=e.startDragging&&e.startDragging(t))}},r instanceof w.o9?c.createElement("line",{className:O,x1:D[0].x,y1:D[0].y,x2:D[1].x,y2:D[1].y,style:Si(Si({},k),{},{strokeWidth:Ke.Ni?Math.max(Be.wK,r.strokeWidth)*o:Math.max(Be.XZ,r.strokeWidth)*o,pointerEvents:"all"})}):c.createElement("rect",{x:P-p/2,y:P-p/2,width:b+p,height:S+p,className:O,style:k})),e.startResizing&&e.isResizable?[n(M.width/2,x,0),n(M.width-x,x,45),n(M.width-x,M.height/2,90),n(M.width-x,M.height-x,135),n(M.width/2,M.height-x,180),n(x,M.height-x,225),n(x,M.height/2,270),n(x,x,315)]:null,e.startModifying&&e.isModifiable?D.map(((t,n)=>function(t,n,o,r){return c.createElement(vi,{key:`modifyAnchor${o}`,x:t,y:n,pointIndex:o,title:r,startModifying:t=>{e.startModifying&&e.startModifying(t,o)},endModifying:Di,viewportSize:e.viewportSize,cursor:e.cursor})}(t.x,t.y,n,"Modify point"))):null),e.startRotating&&e.isRotatable?c.createElement("svg",{style:R,className:hi().svg,focusable:!1},c.createElement(yi,{key:"rotateAnchor",width:R.width,startRotating:t=>{var n;return null===(n=e.startRotating)||void 0===n?void 0:n.call(e,t)},endRotating:Di,viewportSize:e.viewportSize,rotationHandleLength:T,rotation:A,title:t(ke.Z.rotation)})):null)}function Ei(e){switch((0,s.kG)(e%45==0,"Only multiples of 45° allowed."),e%360){case 0:return pi.V.TOP;case 45:return pi.V.TOP_RIGHT;case 90:return pi.V.RIGHT;case 135:return pi.V.BOTTOM_RIGHT;case 180:return pi.V.BOTTOM;case 225:return pi.V.BOTTOM_LEFT;case 270:return pi.V.LEFT;case 315:return pi.V.TOP_LEFT;default:throw new Error("Unsupported resize degrees")}}const xi={[pi.V.TOP]:"Top",[pi.V.TOP_RIGHT]:"Top, Right",[pi.V.RIGHT]:"Right",[pi.V.BOTTOM_RIGHT]:"Bottom, Right",[pi.V.BOTTOM]:"Bottom",[pi.V.BOTTOM_LEFT]:"Bottom, Left",[pi.V.LEFT]:"Left",[pi.V.TOP_LEFT]:"Top, Left"};function Di(e){e.stopPropagation()}function Ci(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ki(e){for(var t=1;t{const e=this._getNormalizedEditorBoundingBox(),t=rt.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?e:this.state.selectionBoundingBox.set("left",e.left).set("top",e.top),n=this.props.annotation.set("boundingBox",t);var o,r;w.UL.areRectsCloserThan((0,Ue.h4)(n).boundingBox,(0,Ue.h4)(n.set("boundingBox",this.state.selectionBoundingBox)).boundingBox,this.props.viewportState.zoomLevel)||(this.setState({selectionBoundingBox:n.boundingBox}),null===(o=(r=this.props).onChange)||void 0===o||o.call(r,n.boundingBox,this.getText()))})),(0,o.Z)(this,"handleEscape",(()=>{this.props.dispatch((0,De.fz)()),this.props.onEditingDone()})),(0,o.Z)(this,"handleBlur",(()=>{this._triggerOnEditingDone()})),(0,o.Z)(this,"onStopEditing",(()=>{this._triggerOnEditingDone(!0)})),(0,o.Z)(this,"onRichEditorInit",(e=>{this.props.dispatch((0,Kt.$Q)(e))}));const{annotation:r}=e;this.lastSavedAnnotation=r,this.initialOutlineBoundingBox=this.getInitialBoundingBox(r);let i=!1,a=(0,un.hr)(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"";var s,l,u;if(e.enableRichText(e.annotation)){if(i=!0,"plain"===(null===(s=e.annotation.text)||void 0===s?void 0:s.format)){var d;const t=(null===(d=e.annotation.fontColor)||void 0===d?void 0:d.toHex())||"",n=q.ri.prepareHTML(e.annotation.text.value);a=q.ri.setStyleOrToggleFormat(q.ri.serialize(q.ri.deserialize(n)),"fontColor",t)}}else"xhtml"===(null===(l=e.annotation.text)||void 0===l?void 0:l.format)&&(a=q.ri.getText((null===(u=e.annotation.text)||void 0===u?void 0:u.value)||""));this.state={selectionBoundingBox:this.initialOutlineBoundingBox,annotation:r,richTextContent:null===(n=e.annotation.text)||void 0===n?void 0:n.value,useRichText:i,text:a}}getInitialBoundingBox(e){let t=e.boundingBox;return(0,_.U7)(t)||(t=t.set("width",rt.Options.MIN_TEXT_ANNOTATION_SIZE).set("height",e.fontSize)),t}componentDidUpdate(e){this.updateSelectionBoundingBox(),e&&!e.annotation.equals(this.props.annotation)&&(this.initialOutlineBoundingBox=this.getInitialBoundingBox(this.props.annotation))}_getNormalizedEditorBoundingBox(){const{current:e}=this.editorRef,{current:t}=this.richTextEditorRef;return t?this.props.transformClientToPage(w.UL.fromClientRect(Ti(t))):e?this.props.transformClientToPage(w.UL.fromClientRect(Ti(e.getElement()))):new w.UL}getText(){const{current:e}=this.editorRef;return e||this.state.useRichText?e?{value:e.getPlainText(),format:"plain"}:{value:this.state.richTextContent,format:"xhtml"}:{value:"",format:"plain"}}_triggerOnEditingDone(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{current:n}=this.editorRef,o=this.getText(),{annotation:r,onChange:i}=this.props;if((0,_.Vc)(r))return void(null==i||i(this.state.selectionBoundingBox,o));if(!n&&!this.state.useRichText)return;let a=(null===(e=this.props.annotation.text)||void 0===e?void 0:e.value)!==o.value?this.props.annotation.set("text",o).set("boundingBox",this.state.selectionBoundingBox):this.props.annotation;if("xhtml"===o.format&&this.props.annotation.fontColor?a=a.set("fontColor",null):"plain"!==o.format||this.props.annotation.fontColor||(a=a.set("fontColor",w.Il.BLACK)),rt.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT){const e=this._getNormalizedEditorBoundingBox(),t=a.boundingBox;!e.getSize().equals(t.getSize())&&(a=a.set("boundingBox",e)),a=(0,un.XA)(a,this.props.viewportState.zoomLevel)}this.lastSavedAnnotation.equals(a)||(this.lastSavedAnnotation=a,this.props.onEditingDone((0,mi.er)(a,this.props.annotation.boundingBox),t))}render(){var e;const t=this.props.annotation,{zoomLevel:n}=this.props.viewportState,o=t.boundingBox,r=this.props.pageSize.width,i=this.props.pageSize.height,a=(0,un.z1)(t.set("rotation",0),n,!1);let s,l;const u=Math.floor(o.left*n),d=Math.floor(o.top*n);switch(t.rotation){case 0:s=r*n-u,l=i*n-d;break;case 90:s=o.bottom*n,l=r*n-u;break;case 180:s=o.right*n,l=o.bottom*n;break;case 270:s=i*n-d,l=o.right*n}const p=(0,_.Vc)(t),f=ki(ki({},!p&&{left:u,top:d}),{},{minWidth:rt.Options.MIN_TEXT_ANNOTATION_SIZE*n,minHeight:t.fontSize*n,maxWidth:s,maxHeight:l}),h=rt.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?f:ki(ki({},a),f);delete a.width,delete a.height,delete a.overflow;const m=Math.ceil(t.boundingBox.width*n),g=Math.ceil(t.boundingBox.height*n);switch(h.transformOrigin="0 0",t.rotation){case 90:h.transform=`translate(0, ${g}px) rotate(${-t.rotation}deg)`;break;case 180:h.transform=`translate(${m}px, ${g}px) rotate(${-t.rotation}deg)`;break;case 270:h.transform=`translate(${m}px, 0) rotate(${-t.rotation}deg)`;break;default:(0,Ue.kv)(t)&&(h.transformOrigin=`${n*this.initialOutlineBoundingBox.width/2}px ${n*this.initialOutlineBoundingBox.height/2}px`,h.transform=`rotate(${String(-t.rotation)}deg)`)}return this.state.useRichText||"xhtml"!==(null===(e=this.props.annotation.text)||void 0===e?void 0:e.format)||(h.color=w.Il.BLACK.toHex()),c.createElement(c.Fragment,null,!p&&c.createElement(Pi,{zoomLevel:n,pagesRotation:this.props.viewportState.pagesRotation,annotationBoundingBox:this.state.selectionBoundingBox,annotationRotation:t.rotation,isResizable:!0,isModifiable:!1,isRotatable:!0,isEditableCP:!0,viewportSize:this.props.viewportState.viewportRect.getSize()}),c.createElement("div",{style:ki(ki({},a),!this.state.useRichText&&{wordBreak:p?void 0:a.wordBreak,overflowWrap:p?"break-word":a.overflowWrap}),className:pn().editorWrapper},this.state.useRichText?c.createElement(q.D,{text:this.state.text,style:ki(ki({},h),{},{color:w.Il.BLACK.toHex()}),updateBoundingBox:this.updateSelectionBoundingBox,ref:this.richTextEditorRef,onValueChange:e=>{this.setState({richTextContent:e})},onBlurSave:this.handleBlur,onStopEditing:this.onStopEditing,onEscape:this.handleEscape,maxLength:Be.RI,lastMousePoint:this.props.lastMousePoint,onEditorInit:this.onRichEditorInit,className:!p&&pn().richEditor,autoFocus:!0}):c.createElement(ui,{style:ki(ki({},h),{position:p?"static":h.position}),valueDidUpdate:this.updateSelectionBoundingBox,onBlur:this.handleBlur,onStopEditing:this.onStopEditing,onEscape:this.handleEscape,ref:this.editorRef,maxLength:Be.RI,defaultValue:this.state.text,lastMousePoint:this.props.lastMousePoint,autoSelect:this.props.autoSelect})))}}(0,o.Z)(Oi,"defaultProps",{autoSelect:!1});const Ai=Br(Oi);function Ti(e){var t;const n=e.cloneNode(!0);n.style.transform="none",n.style.visibility="hidden",n.style.pointerEvents="none",null===(t=e.parentElement)||void 0===t||t.append(n);const o=n.getBoundingClientRect();return n.remove(),o}const Ii=e=>{let{annotation:t,children:n}=e;const[o,r]=(0,c.useState)(t),i=(0,a.v9)((e=>e.viewportState.zoomLevel)),s=(0,c.useRef)(null),l=(0,a.I0)(),u=o.boundingBox.scale(i),d=(0,c.useRef)(o);(0,c.useLayoutEffect)((()=>{d.current=o}),[o]),(0,c.useEffect)((()=>{r((e=>e.set("fontSize",t.fontSize).set("font",t.font).set("horizontalAlign",t.horizontalAlign).set("verticalAlign",t.verticalAlign)))}),[t.font,t.fontSize,t.horizontalAlign,t.verticalAlign]);const p=(0,c.useCallback)(((e,n)=>{var a;const l=null===(a=s.current)||void 0===a?void 0:a.getBoundingClientRect();if(!l)return;const{callout:c}=t,u=(0,hn.Vq)({rect:l,annotation:o,zoomLevel:i,text:n,callout:c});u&&r(u)}),[t,i,o]);return(0,c.useEffect)((()=>()=>{("xhtml"===d.current.text.format?(0,hn.KY)(d.current.text.value):d.current.text.value)||"xhtml"!==o.text.format||l((0,bt.hQ)(d.current))}),[l]),(0,c.useEffect)((()=>{l((0,bt.FG)(o))}),[o,l]),c.createElement("div",{style:{position:"absolute",left:u.left,top:u.top,minHeight:u.height,width:u.width}},c.createElement(gn,{annotation:o,isEditing:!0,ref:s},n(p)))};class Fi extends c.PureComponent{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"_onEditingDone",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=t&&(0,Ue.az)(t),r=o?(0,i.aV)([o]):(0,i.aV)([]),a={annotations:r,reason:Q.f.TEXT_EDIT_END};e.props.eventEmitter.emit("annotations.willChange",a),o&&(e.props.dispatch((0,bt.FG)(o)),n&&e.props.dispatch((0,De.Df)((0,i.l4)([e.props.annotation.id]),null)),e.props.keepSelectedTool&&e.props.dispatch((0,Kt.DU)()))}))}componentDidMount(){const e={annotations:(0,i.aV)([this.props.annotation]),reason:Q.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Kt.X2)())}componentWillUnmount(){this.props.dispatch((0,Kt.Zg)())}render(){const{annotation:e,autoSelect:t,dispatch:n,pageSize:o,lastMousePoint:r,pageIndex:i,enableRichText:a}=this.props,s=s=>c.createElement(Ai,{dispatch:n,annotation:(0,Ue.h4)(e),lastMousePoint:r,pageSize:o,pageIndex:i,onEditingDone:this._onEditingDone,autoSelect:t,enableRichText:a,onChange:s});return(0,_.Vc)(e)?c.createElement(Ii,{annotation:e},(e=>s(e))):s()}}(0,o.Z)(Fi,"defaultProps",{autoSelect:!1});class Mi extends c.Component{constructor(e){super(e),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const{pagesRotation:n}=this.props.viewportState,o=(0,un.gB)(t,n),r=this._fitRectInPage(o,this.props.pageSize);this.setState({bindPointerUpEvent:!1});let a=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",r).set("rotation",n);this.props.interactionMode===N.A.CALLOUT&&(a=function(e,t,n){const o=function(e,t){let n="top-right";const{width:o}=t;e.x+100>o&&(n=n.replace("right","left"));e.y-120<0&&(n=n.replace("top","bottom"));return n}(e,t),r=new w.E9({x:e.x,y:e.y}),i=new w.E9({x:o.includes("right")?e.x+50:e.x-50,y:o.includes("top")?e.y-50:e.y+50}),a=new w.E9({x:o.includes("right")?e.x+50:e.x-50,y:o.includes("top")?e.y-_i:e.y+_i}),s=new w.eB({top:o.includes("top")?0:_i,right:o.includes("right")?0:42,bottom:o.includes("top")?_i:0,left:o.includes("right")?42:0}),l=new w.UW({start:r,knee:i,end:a,innerRectInset:s,cap:"openArrow"}),c=new w.UL({top:o.includes("top")?e.y-100:e.y,left:o.includes("right")?e.x:e.x-85,width:85,height:100});return n.set("callout",l).set("boundingBox",c).set("borderWidth",n.borderWidth||2).set("borderStyle",n.borderStyle||"solid").set("borderColor",n.borderColor||w.Il.BLACK)}(t,this.props.pageSize,a)),this.props.dispatch((0,bt.Zr)((0,i.aV)([a]))),e.stopPropagation()})),this.state={bindPointerUpEvent:!0}}_getNormalizedMousePosition(e){const{target:t}=e;if("DIV"==t.tagName)return this.props.transformClientToPage(new w.E9({x:e.clientX,y:e.clientY}))}_fitRectInPage(e,t){const{width:n,height:o}=t,{MIN_TEXT_ANNOTATION_SIZE:r}=rt.Options;return e.top+e.height>o&&(e=e.set("top",o-e.height)),e.left+r>n&&(e=e.set("left",n-r)),e}render(){const e=d()({[pn().layer]:!0,"PSPDFKit-Text-Canvas":!0});return c.createElement(Je.Z,{onPointerUpCapture:this.state.bindPointerUpEvent?this._handlePointerUp:void 0},c.createElement("div",{className:e,style:{cursor:"text"}}))}}(0,o.Z)(Mi,"defaultProps",{autoSelect:!1});const _i=80;const Ni=Br(Mi);var Ri=n(36658);function Li(e,t,n,o,r,a,s,l,u){const[d,p]=c.useState(!1),f=c.useRef(!1),h=c.useCallback((function(t){if(!(0,ar.eR)(t.target))switch(t.key){case"Enter":case" ":case"Spacebar":if((0,ar.gC)(t.target)||(0,ar.N1)(t.target))return;e(t),t.preventDefault();break;case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":{if((0,ar.N1)(t.target))return;t.preventDefault();const e=t.shiftKey?10:1,r=(0,vr.n5)(Bi[t.key]-s),c=function(e){switch(e){case 0:return new b.E9({x:0,y:-1});case 90:return new b.E9({x:1,y:0});case 180:return new b.E9({x:0,y:1});case 270:return new b.E9({x:-1,y:0});default:throw Error()}}(r),d=0===r||270===r?new b.E9:new b.E9({x:n.boundingBox.width,y:n.boundingBox.height}),h=(0,Ri.c)(n,c.scale(e),a,d,u);if(o(h),!f.current){const e={annotations:(0,i.aV)([n]),reason:Q.f.MOVE_START};l.emit("annotations.willChange",e),f.current=!0}p(!0)}}}),[e,a,s,o,n,l,u]),m=c.useCallback((function(e){if(!(0,ar.eR)(e.target)&&(("Spacebar"!==e.key&&" "!==e.key||!(0,ar.gC)(e.target))&&e.preventDefault(),d&&r(n),f.current)){const e={annotations:(0,i.aV)([n]),reason:Q.f.MOVE_END};l.emit("annotations.willChange",e),f.current=!1}}),[d,n,f,l,r]),g=t.document;c.useLayoutEffect((function(){return g.addEventListener("keydown",h),g.addEventListener("keyup",m),function(){g.removeEventListener("keydown",h),g.removeEventListener("keyup",m)}}),[h,m,g])}const Bi={ArrowUp:0,ArrowRight:90,ArrowDown:180,ArrowLeft:270};var ji=n(18803);function zi(e){var t;null!==(t=e.getSelection())&&void 0!==t&&t.isCollapsed||(0,ji.a7)(e)}function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Zi(e){for(var t=1;t{let e;return(0,k.S6)(t)&&t.measurementBBox?(e=t.set("boundingBox",t.measurementBBox),e):t}),[t]),[z,K]=(0,_r.Ah)(j),[Z,U]=c.useState(null),[V,G]=function(e,t,n){const o=c.useRef(null);return[c.useCallback((function(e){const{current:t}=o;if(!t)return;const r="function"==typeof t.getWrappedInstance?t.getWrappedInstance():t;r&&"function"==typeof r.onClick&&!n&&r.onClick(e)}),[n]),o]}(0,0,L.current);(0,c.useEffect)((()=>{z&&O.emit("annotations.transform",{annotation:z})}),[z,O]);const W=c.useMemo((()=>(0,H.cr)(e.viewportState,t.pageIndex)),[e.viewportState,t.pageIndex]),q=c.useCallback((function(e){return e.scale(1/o).rotate(l)}),[o,l]),$=c.useCallback((e=>{U(e),F(e)}),[F]),X=c.useCallback((function(e){const t=(0,Ue.az)(e);if(D&&A){if(!new w.UL({left:0,top:0,width:D.width,height:D.height}).isRectInside(t.boundingBox))return}E((0,bt.FG)(t))}),[E,D,A]),{isDragging:Y,cancelDrag:J,startDraggingWithEvent:ee,startDraggingAtPoint:te,dragListener:ne}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotation:o,setTransformedAnnotation:r,setGlobalAnnotation:a,annotation:l,interactionsDisabled:u,dispatch:d,frameWindow:p,pageSize:f,onClick:h,transformDeltaFromClientToPage:m,eventEmitter:g,restrictAnnotationToPageBounds:v,isEditableCP:y}=e;const[b,S]=c.useReducer(Vi,Ui),{isListening:P,isDragging:E}=b,x=c.useCallback((function(){return new w.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);c.useEffect((()=>()=>{E&&u&&d((0,Kt.Zg)())}),[d,u,E]);const D=c.useRef(null),C=c.useCallback((function(e){D.current=x();const t=n(e).translate(l.boundingBox.getLocation().scale(-1)),o=m(e);S({type:"start",mousePosition:o,initialClickWithinAnnotation:t})}),[x,n,m,l.boundingBox]),O=c.useCallback((function(e){e.isPrimary&&C(new w.E9({x:e.clientX,y:e.clientY}))}),[C]),A=c.useCallback((function(){S({type:"stop"}),zi(p),d((0,Kt.Zg)())}),[p,d]),T=c.useCallback((function(e){if((E||Gi(e))&&e.stopPropagation(),o.equals(l)?b.initialDragCompleted&&h(e):a(o),S({type:"stop"}),E){const e={annotations:(0,i.aV)([o]),reason:Q.f.MOVE_END};g.emit("annotations.willChange",e)}zi(p),d((0,Kt.Zg)())}),[l,p,d,E,h,b.initialDragCompleted,o,g,a]),I=c.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),E&&0===e.buttons)return void T(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:o}=b;(0,s.kG)(t),(0,s.kG)(n);const a=m(new w.E9({x:e.clientX,y:e.clientY})),c=Zt(n,t);!u&&c&&d((0,Kt.X2)());const h=a.translate(t.scale(-1)),y=o.translate(h),P=(0,Ri.c)(l,y,f,n,v),x=(0,k.S6)(P)?P.set("measurementBBox",P.boundingBox):P;if(r(x),S({type:"drag",mousePosition:a,translation:y}),zi(p),!E){const e={annotations:(0,i.aV)([l]),reason:Q.f.MOVE_START};g.emit("annotations.willChange",e)}}),[l,p,d,u,f,r,b,E,m,g,T,v]),F=c.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=x(),o=D.current;(0,s.kG)(o);const i=m(n.translate(o.scale(-1))),a=b.translation.translate(i);let c=b.initialClickWithinAnnotation;c||(c=new w.E9);const u=(0,Ri.c)(l,a,f,c);r(u),S({type:"scroll",translation:a}),D.current=n,zi(p)}),[l,p,t,x,f,r,b.initialClickWithinAnnotation,b.translation,m]);(0,_r.wA)(P,t,F);const M=P&&c.createElement(Je.Z,{onRootPointerDownCapture:T,onRootPointerMoveCapture:y&&!l.locked?I:void 0,onRootPointerUpCapture:T});return{isDragging:E,cancelDrag:A,startDraggingWithEvent:O,startDraggingAtPoint:C,dragListener:M}}({getScrollElement:v,transformClientToPage:y,transformedAnnotation:z,setTransformedAnnotation:K,setGlobalAnnotation:X,annotation:t,interactionsDisabled:P,dispatch:E,frameWindow:S,pageSize:D,onClick:V,transformDeltaFromClientToPage:q,eventEmitter:O,restrictAnnotationToPageBounds:A,isEditableCP:T}),{startResizing:oe,resizeListener:re,isResizing:ie}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:a,frameWindow:l,transformDeltaFromClientToPage:u,eventEmitter:d,pageSize:p,restrictAnnotationToPageBounds:f,shouldConstrainAspectRatio:h,annotationDimensions:m,clientTransformationMatrix:g,interactionsDisabled:v,backend:y,disablePointSnapping:b}=e;const[S,P]=c.useState($i),[E,x]=c.useState(!1),D=c.useRef(void 0),C=c.useRef(null),O=c.useRef(!1);c.useEffect((()=>()=>{E&&v&&a((0,Kt.Zg)())}),[a,v,E]);const A=c.useCallback((function(e,n){var o;if(!e.isPrimary)return;(0,Vt.mE)(y,r,b)&&y.configureSnapper(r.pageIndex);const l=new w.E9({x:e.clientX,y:e.clientY}),c=u(l);P({startingMousePosition:c,startingResizeAnchor:n,isListening:!0}),x(!0);const p={annotations:(0,i.aV)([r]),reason:Q.f.RESIZE_START};d.emit("annotations.willChange",p),r instanceof w.b3&&![pi.V.TOP,pi.V.RIGHT,pi.V.BOTTOM,pi.V.LEFT].includes(n)&&null!==(o=r.isMeasurement)&&void 0!==o&&o.call(r)&&((0,s.kG)(t instanceof w.b3),a((0,Ut.eO)({magnifierLabel:t.getMeasurementDetails().label,drawnAnnotationID:t.id,drawnAnnotationPageIndex:t.pageIndex,magnifierCursorPosition:Xi(r,g,n)}))),a((0,Kt.X2)())}),[t,a,u,r,d,g]),T=c.useCallback((async function(e){var t;e.preventDefault();const o=new w.E9({x:e.clientX,y:e.clientY});let i=u(o);if((0,Vt.mE)(y,r,b)){const e=await y.getClosestSnapPoint(new w.E9({x:i.x,y:i.y}));i=i.set("x",e.x).set("y",e.y)}const{startingMousePosition:c,startingResizeAnchor:d}=S;(0,s.kG)(c),(0,s.kG)(d);const v={annotation:r,resizeAnchor:d,isShiftPressed:e.shiftKey},P=C.current;null!==P&&P.annotation.id===v.annotation.id&&P.isShiftPressed===v.isShiftPressed&&P.resizeAnchor===v.resizeAnchor||(O.current=h(v),D.current=m(v)),C.current=v;const E=i.translate(c.scale(-1)),x=(0,mi.D7)(r,E,d,O.current,void 0,p,f,D.current),A=(0,k.S6)(x)?x.set("measurementBBox",x.boundingBox):x;n(A),zi(l),r instanceof w.b3&&![pi.V.TOP,pi.V.RIGHT,pi.V.BOTTOM,pi.V.LEFT].includes(d)&&null!==(t=r.isMeasurement)&&void 0!==t&&t.call(r)&&((0,s.kG)(x instanceof w.b3),a((0,Ut.eO)({magnifierLabel:x.getMeasurementDetails().label,magnifierCursorPosition:Xi(x,g,d)})))}),[a,r,l,n,g,h,S,u,p,f]),I=c.useCallback((function(e){var n;e.stopPropagation(),x(!1),P($i),o(t),a((0,Kt.Zg)()),zi(l);const s={annotations:(0,i.aV)([t]),reason:Q.f.RESIZE_END};d.emit("annotations.willChange",s),r instanceof w.b3&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&a((0,Ut.eO)(null))}),[r,l,a,o,t,d]);return{startResizing:A,resizeListener:S.isListening&&c.createElement(Je.Z,{onRootPointerMoveCapture:T,onRootPointerUpCapture:I}),isResizing:E}}({transformedAnnotation:z,setTransformedAnnotation:K,setGlobalAnnotation:X,annotation:t,dispatch:E,frameWindow:S,transformDeltaFromClientToPage:q,eventEmitter:O,pageSize:D,restrictAnnotationToPageBounds:A,shouldConstrainAspectRatio:I,annotationDimensions:M,clientTransformationMatrix:W,interactionsDisabled:P,backend:N,disablePointSnapping:R}),{startRotating:ae,rotateListener:se,isRotating:le}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:a,frameWindow:s,transformClientToPage:l,eventEmitter:u,pageSize:d,restrictAnnotationToPageBounds:p,centerPoint:f,interactionsDisabled:h,setLocalAndGlobalCursor:m}=e;const[g,v]=c.useState(!1),[y,b]=c.useState(!1);c.useEffect((()=>()=>{y&&h&&a((0,Kt.Zg)())}),[a,h,y]);const S=c.useCallback((e=>{const t=new w.E9({x:e.clientX,y:e.clientY}),n=l(t),o=f.x-n.x,r=n.y-f.y,i=-Math.atan2(o,r);return Math.round(i*(180/Math.PI))}),[f,l]),P=c.useCallback((function(e){if(!e.isPrimary)return;v(!0),b(!0);const t={annotations:(0,i.aV)([r]),reason:Q.f.ROTATE_START};u.emit("annotations.willChange",t),a((0,Kt.X2)()),m((0,Ue.Mg)(S(e),"grabbing"))}),[a,r,u,S,m]),E=c.useCallback((function(e){const o=S(e),r=(0,Ue.sw)(t,o,d,p);n(r),zi(s),m((0,Ue.Mg)(o,"grabbing"))}),[t,s,n,S,m,d,p]),x=c.useCallback((function(e){e.stopPropagation(),b(!1),v(!1);const t=S(e),n=(0,Ue.sw)(r,t,d,p);o(n),a((0,Kt.Zg)()),zi(s),m("");const l={annotations:(0,i.aV)([n]),reason:Q.f.ROTATE_END};u.emit("annotations.willChange",l)}),[s,a,o,r,S,u,d,p,m]);return{startRotating:P,rotateListener:g&&c.createElement(Je.Z,{onRootPointerMoveCapture:E,onRootPointerUpCapture:x}),isRotating:y}}({transformedAnnotation:z,setTransformedAnnotation:K,setGlobalAnnotation:X,annotation:t,dispatch:E,frameWindow:S,transformClientToPage:y,eventEmitter:O,pageSize:D,restrictAnnotationToPageBounds:A,centerPoint:t.boundingBox.getCenter(),interactionsDisabled:P,setLocalAndGlobalCursor:$}),ce=(0,_r.lB)(t,D,o,E),{startModifying:ue,modifyListener:de,isModifying:pe}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:l,frameWindow:u,transformDeltaFromClientToPage:d,eventEmitter:p,clientTransformationMatrix:f,pageSize:h,restrictAnnotationToPageBounds:m,backend:g,disablePointSnapping:v}=e;const[y,S]=c.useState(qi),[P,E]=c.useState(!1),x=(0,a.v9)((e=>e.defaultAutoCloseThreshold)),D=c.useCallback((async function(e,t){var n;if(!e.isPrimary)return;const o=new w.E9({x:e.clientX,y:e.clientY}),a=d(o);(0,Vt.mE)(g,r,v)&&await g.configureSnapper(r.pageIndex),S({pointIndex:t,startingMousePosition:a,isListening:!0}),E(!0);const s={annotations:(0,i.aV)([r]),reason:Q.f.RESIZE_START};p.emit("annotations.willChange",s),r instanceof w.UX&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&l((0,Ut.eO)({magnifierLabel:r.getMeasurementDetails().label,drawnAnnotationID:r.id,drawnAnnotationPageIndex:r.pageIndex,magnifierCursorPosition:Hi(r,t,f)})),l((0,Kt.X2)())}),[l,d,r,p,f]),C=c.useCallback((async function(e){var t,o;e.preventDefault();const i=new w.E9({x:e.clientX,y:e.clientY}),a=d(i),{startingMousePosition:c,pointIndex:p}=y;(0,s.kG)(c),(0,s.kG)(null!==p);const h=a.translate(c.scale(-1));let m=(0,Wi.Sy)(r,h,p);if((0,s.kG)(m),(0,Vt.mE)(g,r,v)){let e=new w.E9({x:0,y:0});m instanceof w.o9?e=m.get(["startPoint","endPoint"][p]):(m instanceof w.om||m instanceof w.Hi)&&(e=m.points.get(p));const t=await g.getClosestSnapPoint(new w.E9({x:e.x,y:e.y}));e=e.set("x",t.x).set("y",t.y),m instanceof w.o9?m=m.set(["startPoint","endPoint"][p],e):(m instanceof w.om||m instanceof w.Hi)&&(m=m.set("points",m.points.set(p,e)))}if(m instanceof w.om||m instanceof w.Hi){const e=(0,Vt.KM)(m,p,x);-1!==e&&(m=(0,Vt.dg)(m,p,e))}n(m),zi(u),"isMeasurement"in m&&null!==(t=(o=m).isMeasurement)&&void 0!==t&&t.call(o)&&l((0,Ut.eO)({magnifierLabel:m.getMeasurementDetails().label,magnifierCursorPosition:Hi(m,p,f)}))}),[l,r,u,n,y,d,f]),k=c.useCallback((function(e){var n;if(e.stopPropagation(),E(!1),S(qi),h&&m&&!new b.UL({left:0,top:0,width:h.width,height:h.height}).isRectInside(t.boundingBox))return;o(t),l((0,Kt.Zg)()),zi(u);const a={annotations:(0,i.aV)([t]),reason:Q.f.RESIZE_END};p.emit("annotations.willChange",a),"isMeasurement"in r&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&l((0,Ut.eO)(null))}),[r,u,l,t,p,o,h,m]);return{startModifying:D,modifyListener:y.isListening&&c.createElement(Je.Z,{onRootPointerMoveCapture:C,onRootPointerUpCapture:k}),isModifying:P}}({transformedAnnotation:z,setTransformedAnnotation:K,setGlobalAnnotation:X,annotation:t,dispatch:E,frameWindow:S,transformDeltaFromClientToPage:q,eventEmitter:O,clientTransformationMatrix:W,pageSize:D,restrictAnnotationToPageBounds:A,backend:N,disablePointSnapping:R});(0,_r.Sv)(x,E,te);const fe=function(e,t){return c.Children.map(e,(e=>c.cloneElement(e,Ji(Ji({},t),{},{isDisabled:!0}))))}(u,Ji({annotation:z,globalAnnotation:n,ref:G,isResizing:ie,isModifying:pe,isDragging:Y,isRotating:le},Z?{cursor:Z}:null)),he=c.useRef(null);he.current=function(e){g&&g(t,e)};const me=(0,_r.wL)(v);c.useEffect((function(){const{current:e}=me;return function(){if(e&&e===(null==e?void 0:e.ownerDocument.activeElement)){const e=he.current;e&&e((0,En.M)("blur"))}}}),[]),c.useLayoutEffect((function(){Y&&J()}),[o,J]),Li(V,S,z,K,X,D,l,O,A);const ge=(0,_._k)(z,B);return c.createElement(Je.Z,{onPointerDownCapture:function(e){e.isPrimary&&(L.current=C({annotation:t,nativeEvent:e.nativeEvent,selected:!0},O),L.current||E((0,De.mg)(z,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new w.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!1,isAnnotationPressPrevented:!1})))},onPointerUp:ea},c.createElement("div",{style:{touchAction:"none"},role:"application"},c.createElement(Pi,{zoomLevel:o,viewportSize:r.getSize(),startModifying:ue,startResizing:oe,startDragging:ee,startRotating:ae,onFitToSide:ce,isDragging:Y,pagesRotation:l,annotation:z,isResizable:p&&T,isModifiable:f&&T,isRotatable:h&&T,isEditableCP:T,annotationBoundingBox:(0,_.SY)(z,l),window:S,cursor:Z},c.createElement("div",{tabIndex:0,ref:me,role:"button","aria-label":z instanceof w.x_?B(ke.Z.selectedAnnotation,{arg0:ge}):z instanceof w.gd||z instanceof w.Qi?B(ke.Z.selectedAnnotationWithText,{arg0:ge,arg1:z.text.value}):B(ke.Z.selectedAnnotation,{arg0:ge}),"data-testid":"selected annotation",onFocus:function(e){m&&m(t,e)},onBlur:he.current,className:d()("PSPDFKit-Annotation-Selected",z.constructor.readableName&&`PSPDFKit-${z.constructor.readableName}-Annotation-Selected`)},fe)),ne,re,de,se))}));function ea(e){e.stopPropagation()}const ta=(0,a.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,isAnnotationPressPrevented:t=>(0,_.TW)(t,e.eventEmitter),eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,xr.CM)(n,e),shouldConstrainAspectRatio:t=>(0,_.xU)(t,e),annotationDimensions:t=>(0,_.aI)(t,e)}}))(Qi),na={isListening:!1,isDragging:!1,previousMousePosition:null,initialClickWithinAnnotation:null,translation:new w.E9,initialDragCompleted:!1};function oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ra(e){for(var t=1;t{const t=(0,Ue.az)(e);if(v&&b){if(!new w.UL({left:0,top:0,width:v.width,height:v.height}).isRectInside(t.boundingBox))return null}return t})).filter(Boolean);r((0,bt.GZ)(t,(0,i.aV)()))}),[r,v,b]),{isDragging:I,cancelDrag:F,startDraggingWithEvent:M,startDraggingAtPoint:N,dragListener:R}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotations:o,setTransformedAnnotations:r,setGlobalAnnotations:i,interactionsDisabled:a,dispatch:l,frameWindow:u,pageSize:d,transformDeltaFromClientToPage:p,eventEmitter:f,restrictAnnotationToPageBounds:h,isEditableCP:m,selectedAnnotationsBoundingBox:g,selectedAnnotations:v}=e;const[y,b]=c.useReducer(Vi,na),{isListening:S,isDragging:P}=y,E=c.useCallback((function(){return new w.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);c.useEffect((()=>()=>{P&&a&&l((0,Kt.Zg)())}),[l,a,P]);const x=c.useRef(null),D=c.useCallback((function(e){x.current=E();const t=n(e).translate(g.getLocation().scale(-1)),o=p(e);b({type:"start",mousePosition:o,initialClickWithinAnnotation:t})}),[E,n,p,g]),C=c.useCallback((function(e){e.isPrimary&&D(new w.E9({x:e.clientX,y:e.clientY}))}),[D]),k=c.useCallback((function(){b({type:"stop"}),zi(u),l((0,Kt.Zg)())}),[u,l]),O=c.useCallback((function(e){if((P||Gi(e))&&e.stopPropagation(),o&&i(o),b({type:"stop"}),P){const e={annotations:o,reason:Q.f.MOVE_END};f.emit("annotations.willChange",e)}zi(u),l((0,Kt.Zg)())}),[u,l,P,o,f,i]),A=c.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),P&&0===e.buttons)return void O(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:o}=y;(0,s.kG)(t),(0,s.kG)(n);const i=p(new w.E9({x:e.clientX,y:e.clientY})),c=Zt(n,t);!a&&c&&l((0,Kt.X2)());const m=i.translate(t.scale(-1)),g=o.translate(m),S=v.map((e=>(0,Ri.c)(e,g,d,n,h)));if(function(e,t){return e.left<=0||e.top<=0||e.left+e.width>=t.width||e.top+e.height>=t.height}((0,_.Jy)(S),d)||(r(S),b({type:"drag",mousePosition:i,translation:g})),zi(u),!P){const e={annotations:S,reason:Q.f.MOVE_START};f.emit("annotations.willChange",e)}}),[u,l,a,d,r,y,P,p,f,O,h,v]),T=c.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=E(),o=x.current;(0,s.kG)(o);const i=p(n.translate(o.scale(-1))),a=y.translation.translate(i),l=y.initialClickWithinAnnotation||new w.E9,c=v.map((e=>(0,Ri.c)(e,a,d,l)));r(c),b({type:"scroll",translation:a}),x.current=n,zi(u)}),[u,t,E,d,r,y.initialClickWithinAnnotation,y.translation,p,v]);(0,_r.wA)(S,t,T);const I=S&&c.createElement(Je.Z,{onRootPointerDownCapture:O,onRootPointerMoveCapture:m?A:void 0,onRootPointerUpCapture:O});return{isDragging:P,cancelDrag:k,startDraggingWithEvent:C,startDraggingAtPoint:D,dragListener:I}}({getScrollElement:f,transformClientToPage:h,transformedAnnotations:D,setTransformedAnnotations:C,setGlobalAnnotations:T,interactionsDisabled:g,dispatch:r,frameWindow:m,pageSize:v,transformDeltaFromClientToPage:A,eventEmitter:y,restrictAnnotationToPageBounds:b,isEditableCP:p,selectedAnnotationsBoundingBox:O,selectedAnnotations:n}),L=c.Children.toArray(t).map((e=>c.isValidElement(e)?function(e,t){return c.cloneElement(e,ra(ra({},t),{},{isDisabled:!0}))}(e,{annotation:D.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),globalAnnotation:o.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),isDragging:I}):e));(0,_r.Sv)(S,r,N),c.useLayoutEffect((function(){I&&F()}),[a,F]);const B=c.useRef(null);B.current=function(e,t){E&&E(e,t)};const j=L.filter((e=>Boolean(e.props.annotation))).length>1;return c.createElement(Je.Z,{onPointerDownCapture:function(e){e.isPrimary},onPointerUp:aa},c.createElement("div",{style:{touchAction:"none",zIndex:1}},c.createElement(Pi,{zoomLevel:a,viewportSize:l.getSize(),startDragging:M,isDragging:I,pagesRotation:u,isResizable:!1,isModifiable:!1,isEditableCP:p,annotationBoundingBox:O,isRotatable:!1},L.filter((e=>Boolean(e.props.annotation))).map(((e,t)=>{const n=e.props.annotation,o=(0,_._k)(n,x);return c.createElement(Pi,{key:n.id,zoomLevel:a,viewportSize:l.getSize(),startDragging:M,isDragging:I,pagesRotation:u,isResizable:!1,isModifiable:!1,isRotatable:!1,isEditableCP:p,annotationBoundingBox:(0,_.SY)(n,u),deselectAnnotation:e=>{r((0,De.mg)(n,e))},annotationRotation:n.rotation,customZIndex:2},c.createElement("div",{tabIndex:t,"aria-label":n instanceof de.x_?x(ke.Z.selectedAnnotation,{arg0:o}):n instanceof de.gd||n instanceof de.Qi?x(ke.Z.selectedAnnotationWithText,{arg0:o,arg1:n.text.value}):x(ke.Z.selectedAnnotation,{arg0:o}),ref:j?void 0:k,role:"button","data-testid":`selected annotation ${t}`,onFocus:e=>{return t=n,o=e,void(P&&P(t,o));var t,o},onBlur:e=>{var t;return null===(t=B.current)||void 0===t?void 0:t.call(B,n,e)},className:d()(`PSPDFKit-Annotation-Selected-${t}`,"PSPDFKit-Annotation-Selected",n.constructor.readableName&&`PSPDFKit-${n.constructor.readableName}-Annotation-Selected`)},e))}))),R))}));function aa(e){e.stopPropagation()}const sa=(0,a.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,xr.CM)(n,e),shouldConstrainAspectRatio:t=>(0,_.xU)(t,e)}}))(ia);function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ca(e){for(var t=1;t(s((0,Kt.X2)()),()=>{s((0,Kt.Zg)())})),[s]);const{pageIndex:p}=e,f=(0,a.v9)((e=>e.viewportState.zoomLevel)),h=d()([Dn().canvas],"PSPDFKit-Redaction-Canvas"),{boundingBox:m}=o,g=(0,a.v9)((e=>e.scrollElement));return c.createElement("div",{className:h},c.createElement(xe,{zoomLevel:f,applyZoom:!0},c.createElement("div",{style:ca(ca({},m.toJS()),{},{position:"absolute"})},c.createElement(On,{annotation:o,zoomLevel:1,previewRedactionMode:!1,isSelectable:!1}))),c.createElement(Gt,{pageSize:l,pageIndex:p,currentAnnotation:o,onAnnotationUpdate:r,keepSelectedTool:u,scrollElement:g}))}var da=n(52842),pa=n(61193),fa=n.n(pa),ha=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ma=function(){return ma=Object.assign||function(e){for(var t,n=1,o=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:1;return e.scale(1/t)}function Ka(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}let Za=function(e){return e[e.NOT_CREATED=0]="NOT_CREATED",e[e.CREATING=1]="CREATING",e[e.CREATED=2]="CREATED",e}({});const Ua=e=>{let{page:t,viewportState:n,onAreaChangeComplete:o,frameWindow:r,onAreaChangeStart:i,initialDraggingEvent:a}=e;const{zoomLevel:l}=n,[u,p]=(0,c.useState)(l),f=(0,c.useRef)(null),[h,m]=(0,c.useState)({left:0,top:0,height:0,width:0}),[g,v]=(0,c.useState)(!1),[y,b]=(0,c.useState)(null),[S,P]=(0,c.useState)(Za.NOT_CREATED),[E,x]=(0,c.useState)(!1),[D,C]=(0,c.useState)(void 0),[k,O]=(0,c.useState)(!1),A=(0,c.useRef)(null);(0,c.useEffect)((()=>{const e=r.document.querySelector(".PSPDFKit-Scroll");(0,s.kG)(e),e.style.overflow=E?"hidden":"auto",r.document.body.style.overscrollBehavior=E?"contain":"auto"}),[E]),(0,c.useEffect)((()=>{function e(e){"Shift"===e.key&&O(!0)}function t(e){"Shift"===e.key&&O(!1)}return r.document.addEventListener("keydown",e),r.document.addEventListener("keyup",t),()=>{r.document.removeEventListener("keydown",e),r.document.removeEventListener("keyup",t)}}),[]),(0,c.useEffect)((()=>{if(D&&l!==u){const e=D.scale(l/u);C(e),p(l),S===Za.CREATING&&(P(Za.CREATED),null==o||o(za(e,l)))}}),[u,l,D]);const T=(0,c.useCallback)(((e,t,n,o)=>{C((e=>{var n,r;(0,s.kG)(e);let i=new w.UL({left:e.left,top:e.top,width:(null===(n=A.current)||void 0===n?void 0:n.width)+o.width,height:(null===(r=A.current)||void 0===r?void 0:r.height)+o.height});return e&&t.toLowerCase().includes("top")&&(i=i.set("top",e.top-(i.height-e.height))),e&&t.toLowerCase().includes("left")&&(i=i.set("left",e.left-(i.width-e.width))),i}))}),[C,t.pageSize,l,h]);function I(e){var t;return parseInt(null===(t=e.target.closest(".PSPDFKit-Page"))||void 0===t?void 0:t.getAttribute("data-page-index"),10)}const F=(0,_r.R9)((e=>{"touches"in e&&2===e.touches.length&&v(!0);const n=I(e);if(t.pageIndex!==n)return;e.stopImmediatePropagation(),(0,s.kG)(f.current);const o=f.current.getBoundingClientRect(),{clientY:r,clientX:i}=Ka(e);m(o),b(new w.E9({x:i-o.left,y:r-o.top}))}));(0,c.useEffect)((()=>{a&&F(a)}),[a,F]);const M=(0,_r.R9)((e=>{if(!y||S===Za.CREATED)return;const{clientX:t,clientY:n}=Ka(e);if(y.x!==t||y.y!==t){e.stopImmediatePropagation(),x(!0);const o=t-h.left,r=n-h.top,a=new w.UL({left:Math.max(0,Math.min(o,y.x)),top:Math.max(0,Math.min(r,y.y)),width:o{if(S===Za.CREATED)return;v(!1);const n=I(e);t.pageIndex===n&&e.stopImmediatePropagation(),x(!1),b(null),D?(null==o||o(za(D,l)),P(Za.CREATED)):P(Za.NOT_CREATED)}));(0,c.useEffect)((()=>(r.document.addEventListener("pointerdown",F),r.document.addEventListener("pointermove",M),r.document.addEventListener("pointerup",_),r.document.addEventListener("touchstart",F),r.document.addEventListener("touchmove",M),r.document.addEventListener("touchend",_),()=>{r.document.removeEventListener("pointerdown",F),r.document.removeEventListener("pointermove",M),r.document.removeEventListener("pointerup",_),r.document.removeEventListener("touchstart",F),r.document.removeEventListener("touchmove",M),r.document.removeEventListener("touchend",_)})),[F,M,_]);const N=D&&{x:D.left,y:D.top,width:D.width,height:D.height};return c.createElement("div",{ref:f,className:Ra().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},S!==Za.NOT_CREATED&&c.createElement(c.Fragment,null,S===Za.CREATED&&function(e){const t={position:"absolute",backgroundColor:"rgba(0,0,0,0.2)"};return e?c.createElement(c.Fragment,null,c.createElement("div",{style:Ba(Ba({},t),{},{left:0,top:0,bottom:0,width:e.left})}),c.createElement("div",{style:Ba(Ba({},t),{},{left:e.left,top:0,right:0,height:e.top})}),c.createElement("div",{style:Ba(Ba({},t),{},{left:e.left+e.width,top:e.top,right:0,bottom:0})}),c.createElement("div",{style:Ba(Ba({},t),{},{left:e.left,top:e.top+e.height,bottom:0,width:e.width})})):null}(D),c.createElement(fa(),{position:N,onStart:()=>{(0,s.kG)(D),null==i||i(za(D,l))},onDrag:(e,t)=>{if(g)return!1;C((e=>((0,s.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,s.kG)(D),null==o||o(za(D,l))},defaultPosition:N,cancel:`.${Ra().handles}`,bounds:"parent"},c.createElement(_a,{size:D?{width:D.width,height:D.height}:void 0,onResizeStart:()=>{x(!0),(0,s.kG)(f.current&&D),null==i||i(za(D,l)),m(f.current.getBoundingClientRect()),A.current=D},onResize:T,onResizeStop:()=>{x(!1),(0,s.kG)(D),null==o||o(za(D,l)),A.current=null},handleClasses:ja,bounds:"parent",boundsByDirection:!0,lockAspectRatio:k},c.createElement("div",{style:D?{width:D.width,height:D.height}:void 0,className:d()(Ra().cropBox,"PSPDFKit-Document-Crop-Box")})))))};function Va(e){const{dispatch:t,linkAnnotation:n,pageIndex:o}=e;c.useEffect((()=>()=>{t((0,Kt.lL)())}),[]);const r=d()({[Dn().canvas]:!0});return c.createElement("div",{className:r},c.createElement(Ua,{viewportState:e.viewportState,page:e.page,onAreaChangeComplete:function(e){const r=n.set("pageIndex",o).set("boundingBox",e);window.setTimeout((()=>{(0,a.dC)((()=>{t((0,bt.FG)(r)),t((0,Kt.UU)()),t((0,De.Df)((0,i.l4)([r.id]),null)),t((0,bt.ZE)(r.id)),t((0,Kt.lL)())}))}),10)},frameWindow:e.window}))}var Ga=n(76374),Wa=n.n(Ga);const qa=e=>{let{viewportState:t,onAreaChangeComplete:n,frameWindow:o,onAreaChangeStart:r,initialDraggingEvent:i}=e;const l=(0,a.I0)(),{zoomLevel:u}=t,p=(0,c.useRef)(null),[f,h]=(0,c.useState)({left:0,top:0,height:0,width:0}),[m,g]=(0,c.useState)(!1),[v,y]=(0,c.useState)(null),[b,S]=(0,c.useState)(Za.NOT_CREATED),[P,E]=(0,c.useState)(void 0),x=(0,_r.R9)((e=>{"touches"in e&&2===e.touches.length&&g(!0),l((0,De._)(!0)),e.stopImmediatePropagation(),(0,s.kG)(p.current);const t=p.current.getBoundingClientRect(),{clientY:n,clientX:o}=Ka(e);h(t),y(new w.E9({x:o-t.left,y:n-t.top}))}));(0,c.useEffect)((()=>{i&&x(i)}),[i,x]);const D=(0,_r.R9)((e=>{if(!v||b===Za.CREATED)return;const{clientX:t,clientY:n}=Ka(e);if(v.x!==t||v.y!==t){e.stopImmediatePropagation();const o=t-f.left,i=n-f.top,a=new w.UL({left:Math.max(0,Math.min(o,v.x)),top:Math.max(0,Math.min(i,v.y)),width:o{b!==Za.CREATED&&(g(!1),l((0,De._)(!1)),e.stopImmediatePropagation(),y(null),P?(null==n||n(za(P,u)),S(Za.CREATED)):S(Za.NOT_CREATED))}));(0,c.useEffect)((()=>(o.document.addEventListener("pointerdown",x),o.document.addEventListener("pointermove",D),o.document.addEventListener("pointerup",C),o.document.addEventListener("touchstart",x),o.document.addEventListener("touchmove",D),o.document.addEventListener("touchend",C),()=>{o.document.removeEventListener("pointerdown",x),o.document.removeEventListener("pointermove",D),o.document.removeEventListener("pointerup",C),o.document.removeEventListener("touchstart",x),o.document.removeEventListener("touchmove",D),o.document.removeEventListener("touchend",C)})),[x,D,C]);const k=P&&{x:P.left,y:P.top,width:P.width,height:P.height};return c.createElement("div",{ref:p,className:Wa().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},b!==Za.NOT_CREATED&&c.createElement(c.Fragment,null,c.createElement(fa(),{position:k,onStart:()=>{(0,s.kG)(P),null==r||r(za(P,u))},onDrag:(e,t)=>{if(m)return!1;E((e=>((0,s.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,s.kG)(P),null==n||n(za(P,u))},defaultPosition:k,bounds:"parent"},c.createElement("div",{style:P?{width:P.width,height:P.height}:void 0,className:d()(Wa().selectionBox,"PSPDFKit-Multiple-Selection-Box")}))))};function Ha(e){const t=(0,a.I0)(),n=(0,a.v9)((e=>e.annotations)),{pageIndex:o,viewportState:r,window:s,initialDraggingEvent:l,multiAnnotationsUsingShortcut:u}=e;return c.createElement("div",{className:Dn().canvas},c.createElement(qa,{viewportState:r,onAreaChangeComplete:function(e){const r=n.filter((e=>e.pageIndex===o)).toArray(),l=[];r.forEach((t=>{let[n,o]=t;const r=o.boundingBox;e.isRectOverlapping(r)&&l.push(n)})),l.length?s.setTimeout((()=>{(0,a.dC)((()=>{t((0,De.fz)()),t((0,De.Df)((0,i.l4)(l),null))}))}),5):t((0,Kt.FA)())},frameWindow:s,initialDraggingEvent:u?l:void 0}))}const $a=[N.A.SHAPE_LINE,N.A.SHAPE_RECTANGLE,N.A.SHAPE_ELLIPSE,N.A.SHAPE_POLYLINE,N.A.SHAPE_POLYGON],Xa=[N.A.DISTANCE,N.A.PERIMETER,N.A.RECTANGLE_AREA,N.A.ELLIPSE_AREA,N.A.POLYGON_AREA];var Ya=n(33320),Ja=n(71603);function Qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function es(e){for(var t=1;te.set("debugMode",!0),[B.RTr]:e=>e.set("hasFetchedInitialRecordsFromInstant",!0),[B.kt4]:(e,t)=>{let{enabled:n}=t;return e.set("areClipboardActionsEnabled",n)},[B.heZ]:(e,t)=>{let{group:n}=t;return e.set("group",n)},[B.G5w]:e=>e.set("isDebugConsoleVisible",!0),[B.GW4]:e=>e.set("isDebugConsoleVisible",!1),[B.mqf]:(e,t)=>{let{preset:n="text-highlighter"}=t;const o=new w.FV((0,_.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",N.A.TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",R.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[B.tLW]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===N.A.TEXT_HIGHLIGHTER&&(0,_.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[B.tS$]:(e,t)=>{let{preset:n="redaction"}=t;const o=new $.Z((0,_.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",N.A.REDACT_TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",R.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[B.g30]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===N.A.REDACT_TEXT_HIGHLIGHTER&&(0,_.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[B.VNM]:(e,t)=>{let{editor:n}=t;return e.set("richTextEditorRef",n)},[B.yPS]:(e,t)=>{let{preset:n}=t;return e.withMutations((e=>{e.set("interactionMode",N.A.MEASUREMENT),void 0!==n&&e.set("currentItemPreset",n)}))},[B.m_C]:e=>e.set("interactionMode",null),[B.GXR]:(e,t)=>{let{preset:n}=t;const o=new w.Zc((0,_.lx)(e));return e.withMutations((t=>{t.set("interactionMode",N.A.INK),t.set("interactionsDisabled",!0),t.set("selectedAnnotationIds",(0,i.l4)([o.id])),t.set("selectedAnnotationMode",R.o.EDITING),void 0!==n&&t.set("currentItemPreset",n);const r=void 0!==n?n:e.currentItemPreset;r&&!X.AQ[r]&&t.setIn(["annotationPresetIds",o.id],r),t.setIn(["annotations",o.id],o)}))},[B.J7J]:e=>e.set("interactionMode",null),[B.JyO]:e=>e.withMutations((e=>{e.set("interactionMode",N.A.INK_ERASER),e.set("selectedAnnotationIds",(0,i.l4)()),e.set("interactionsDisabled",!0)})),[B.NDs]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("interactionsDisabled",!1)})),[B.Vu4]:(e,t)=>{let{signatureRect:n,signaturePageIndex:o,formFieldName:r}=t;null!==o&&(0,s.kG)("number"==typeof o&&o>=0&&o{e.set("interactionMode",N.A.SIGNATURE),e.setIn(["signatureState","signatureRect"],n),e.setIn(["signatureState","signaturePageIndex"],o),e.setIn(["signatureState","formFieldName"],r)}))},[B.S$y]:e=>e.withMutations((e=>{e.set("widgetAnnotationToFocus",null),e.set("interactionMode",null),e.set("currentItemPreset",null),e.setIn(["signatureState","formFieldName"],null),e.setIn(["signatureState","signatureRect"],null),e.setIn(["signatureState","signaturePageIndex"],null)})),[B.Dzg]:e=>{const t={annotations:(0,i.aV)([new w.GI({pageIndex:e.viewportState.currentPageIndex})]),reason:Q.f.SELECT_START};return e.eventEmitter.emit("annotations.willChange",t),e.withMutations((e=>{e.set("interactionMode",N.A.STAMP_PICKER),e.set("currentItemPreset",null)}))},[B.M3C]:e=>e.withMutations((e=>{e.set("interactionMode",N.A.STAMP_CUSTOM),e.set("currentItemPreset",null)})),[B.tie]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[B.JS9]:(e,t)=>{const n=Xa.includes(t.shapeInteractionMode),o=(0,_.lx)(e),{activeMeasurementScale:r,isCalibratingScale:a}=e;n&&(o.measurementScale=null!=r&&r.scale?new Ja.Z({fromValue:Number(r.scale.fromValue),toValue:Number(r.scale.toValue),unitFrom:r.scale.unitFrom,unitTo:r.scale.unitTo}):e.measurementScale,o.measurementPrecision=null!=r&&r.precision?r.precision:e.measurementPrecision,a&&(o.strokeColor=w.Il.BLUE));const s=new t.shapeClass(o);return e.withMutations((n=>{n.set("interactionMode",t.shapeInteractionMode),n.set("interactionsDisabled",!0),n.set("selectedAnnotationIds",(0,i.l4)([s.id])),n.set("selectedAnnotationMode",R.o.EDITING),void 0!==t.preset&&n.set("currentItemPreset",t.preset);const o=void 0!==t.preset?t.preset:e.currentItemPreset;o&&!X.AQ[o]&&n.setIn(["annotationPresetIds",s.id],o),n.setIn(["annotations",s.id],s)}))},[B.AIf]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[B.cbv]:(e,t)=>{let{preset:n="redaction"}=t;const o=new $.Z((0,_.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",N.A.REDACT_SHAPE_RECTANGLE),e.set("interactionsDisabled",!0),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",R.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[B.TUA]:e=>e.withMutations((t=>{t.set("interactionMode",null),t.set("currentItemPreset",null),e.interactionMode===N.A.REDACT_SHAPE_RECTANGLE&&(0,_.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[B.ZDQ]:(e,t)=>{const{annotation:n,preset:o}=t,r=n||new w.Qi((0,_.lx)(e));return e.withMutations((t=>{t.set("interactionMode",N.A.NOTE),t.set("selectedAnnotationIds",(0,i.l4)([r.id])),t.set("selectedAnnotationMode",R.o.EDITING),void 0!==o&&t.set("currentItemPreset",o);const n=void 0!==o?o:e.currentItemPreset;n&&!X.AQ[n]&&t.setIn(["annotationPresetIds",r.id],n),t.setIn(["annotations",r.id],r)}))},[B.B1n]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[B.dEe]:(e,t)=>{const n=t.annotation?t.annotation:new w.Jn((0,_.lx)(e));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("selectedAnnotationMode",R.o.EDITING),e.setIn(["annotations",n.id],n),e.set("interactionMode",N.A.COMMENT_MARKER),e.set("currentItemPreset",null)}))},[B.iMs]:e=>e.set("interactionMode",null),[B.pnu]:(e,t)=>{const{annotation:n,preset:o}=t;let r=n;if(!r&&(r=new w.gd((0,_.lx)(e)),e.enableRichText(r))){var a;const e=q.ri.setStyleOrToggleFormat(r.text.value||"","fontColor",(null===(a=r.fontColor)||void 0===a?void 0:a.toHex())||"");r=r.set("fontColor",null).set("text",{format:"xhtml",value:e})}const s=r.id;return e.withMutations((n=>{n.set("interactionMode",t.isCallout?N.A.CALLOUT:N.A.TEXT),void 0!==o&&n.set("currentItemPreset",o);const a=void 0!==o?o:e.currentItemPreset;a&&!X.AQ[a]&&n.setIn(["annotationPresetIds",s],a),n.setIn(["annotations",s],r),n.set("selectedAnnotationIds",(0,i.l4)([s])),n.set("selectedAnnotationMode",R.o.EDITING)}))},[B.KqR]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[B.JRS]:e=>e.withMutations((e=>{e.set("interactionMode",N.A.DOCUMENT_CROP),e.set("interactionsDisabled",!0),e.set("currentItemPreset",null)})),[B.Gox]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("interactionsDisabled",!1)})),[B.eFQ]:e=>e.set("interactionsDisabled",!1),[B.L8n]:e=>e.set("interactionsDisabled",!0),[B.MuN]:e=>e.set("showToolbar",!0),[B.xk1]:e=>e.set("showToolbar",!1),[B.tYC]:e=>e.set("enableAnnotationToolbar",!0),[B.NAH]:e=>e.set("enableAnnotationToolbar",!1),[B.Ce5]:(e,t)=>e.set("clientsChangeCallback",t.callback),[B.WtY]:(e,t)=>e.set("transformClientToPage",t.transformClientToPage),[B.tPZ]:(e,t)=>{const n=t.width>0?Math.abs(t.width-e.scrollbarOffset):-1*e.scrollbarOffset,o=(0,H.a$)(e.viewportState,e.viewportState.viewportRect,!1,n);return e.merge({viewportState:o,scrollbarOffset:t.width})},[B.rWQ]:(e,t)=>{let{layoutMode:n}=t;return e.update("viewportState",(e=>(0,H.YA)(e,n)))},[B.b0l]:(e,t)=>{let{scrollMode:n}=t;return e.update("viewportState",(e=>(0,H._U)(e,n)))},[B._n_]:(e,t)=>{let{scrollElement:n}=t;return e.set("scrollElement",n)},[B.bxr]:(e,t)=>{let{spreadSpacing:n}=t;return e.set("viewportState",(0,H.JN)(e.viewportState,n))},[B._ko]:(e,t)=>{let{pageSpacing:n}=t;return e.set("viewportState",(0,H.vY)(e.viewportState,n))},[B.FHt]:(e,t)=>{let{keepFirstSpreadAsSinglePage:n}=t;return e.set("viewportState",(0,H.EY)(e.viewportState,n))},[B.ht3]:(e,t)=>{let{viewportPadding:n}=t;return e.set("viewportState",(0,H._P)(e.viewportState,n))},[B.aYj]:e=>e.set("printingEnabled",!0),[B.hpj]:e=>e.set("printingEnabled",!1),[B.QYP]:e=>e.set("exportEnabled",!0),[B.zKF]:e=>e.set("exportEnabled",!1),[B.NfO]:(e,t)=>{let{readOnlyEnabled:n}=t;return e.set("readOnlyEnabled",n)},[B.cyk]:e=>e.set("showAnnotations",!0),[B.KYU]:e=>e.set("showAnnotations",!1),[B.Nl1]:e=>e.set("showComments",!0),[B.L9g]:e=>e.set("showComments",!1),[B.Dl4]:e=>e.set("showAnnotationNotes",!0),[B.GfR]:e=>e.set("showAnnotationNotes",!1),[B.Xlm]:e=>((0,s.kG)(!e.backendPermissions.readOnly,"Can not disable read only mode."),e.set("readOnlyEnabled",te.J.NO)),[B.iQZ]:(e,t)=>{let{features:n}=t;return(0,s.kG)(0===e.features.size,"Cannot alterate the supported features list after initialization."),n.includes(ee.q.FORMS)||(e=e.set("formsEnabled",!1)),(0,Kn.Vz)(n)||n.includes(ee.q.ELECTRONIC_SIGNATURES)||(e=(e=e.set("readOnlyEnabled",te.J.LICENSE_RESTRICTED)).setIn(["backendPermissions","readOnly"],!0)),e.set("features",n)},[B.JQC]:(e,t)=>{let{signatureFeatureAvailability:n}=t;return(0,s.kG)(!e.signatureFeatureAvailability,"Cannot alterate the signature feature availability after initialization."),e.set("signatureFeatureAvailability",n)},[B.hv0]:(e,t)=>{let{mode:n}=t;return e.set("sidebarMode",n)},[B.eI4]:(e,t)=>{let{placement:n}=t;return e.set("sidebarPlacement",n)},[B.bP3]:(e,t)=>{let{sidebarOptions:n}=t;return e.set("sidebarOptions",n)},[B._TO]:(e,t)=>{let{showSignatureValidationStatus:n}=t;return e.set("showSignatureValidationStatus",n)},[B.dVW]:(e,t)=>{let{locale:n}=t;return e.set("locale",n)},[B.hlI]:(e,t)=>{let{annotationCreatorName:n,immutable:o}=t;return e.set("annotationCreatorName",n).set("annotationCreatorNameReadOnly",o)},[B.ZbY]:(e,t)=>{let{editableAnnotationTypes:n}=t;return e.set("editableAnnotationTypes",n).set("isEditableAnnotation",null)},[B.uFU]:(e,t)=>{let{isEditableAnnotation:n}=t;return e.set("isEditableAnnotation",n).set("editableAnnotationTypes",(0,i.l4)(Y.Z))},[B.ArU]:(e,t)=>{let{editableAnnotationTypes:n,isEditableAnnotation:o}=t;return e.set("isEditableAnnotation",o).set("editableAnnotationTypes",n)},[B.Q2U]:(e,t)=>{let{isEditableComment:n}=t;return e.set("isEditableComment",n)},[B.IFt]:(e,t)=>{let{formDesignMode:n}=t;return e.withMutations((t=>{t.set("formDesignMode",n),!1===n&&t.set("selectedAnnotationIds",e.selectedAnnotationIds.filter((t=>e.annotations.get(t)&&!(e.annotations.get(t)instanceof w.x_))))}))},[B.YIz]:e=>e.set("interactionMode",N.A.DOCUMENT_EDITOR),[B.Gkm]:(e,t)=>{let{measurementSnapping:n}=t;return e.set("measurementSnapping",n)},[B.fwq]:(e,t)=>{let{measurementPrecision:n}=t;return e.set("measurementPrecision",n)},[B.G6t]:(e,t)=>{let{scale:n}=t;return e.set("measurementScale",n)},[B.K26]:e=>e.set("interactionMode",null),[B.Hbz]:e=>e.set("interactionMode",N.A.MARQUEE_ZOOM),[B.$VE]:(e,t)=>{let{interactionMode:n}=t;return e.set("interactionMode",n)},[B.yrz]:e=>e.set("interactionMode",null),[B.sYK]:e=>e.set("interactionMode",null),[B.fAF]:(e,t)=>e.set("customRenderers",t.customRenderers),[B.pNz]:e=>e.withMutations((e=>{e.set("isSigning",!0),e.set("interactionsDisabled",!0)})),[B.bV3]:e=>e.withMutations((e=>{e.set("isSigning",!1),e.set("interactionsDisabled",!1)})),[B.EpY]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!0),e.set("interactionsDisabled",!0)})),[B.bui]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!1),e.set("interactionsDisabled",!1)})),[B.vVk]:(e,t)=>{let{previewRedactionMode:n}=t;return e.set("previewRedactionMode",n)},[B.D5x]:(e,t)=>e.set("a11yStatusMessage",t.a11yStatusMessage),[B.rpU]:(e,t)=>{let{lastToolbarActionUsedKeyboard:n}=t;return e.set("lastToolbarActionUsedKeyboard",n)},[B.KA1]:(e,t)=>{let{documentComparisonState:n}=t;return e.set("documentComparisonState",n?es(es({},e.documentComparisonState),n):null)},[B.MYU]:e=>e.set("canScrollWhileDrawing",!0),[B.mbD]:e=>e.set("canScrollWhileDrawing",!1),[B.wog]:e=>e.set("keepSelectedTool",!0),[B.UL9]:e=>e.set("keepSelectedTool",!1),[B.tIQ]:(e,t)=>{const n=e.viewportState.set("disablePointSnapping",t.disablePointSnapping);return e.set("viewportState",n)},[B.IyB]:(e,t)=>{let{instance:n}=t;return e.set("instance",n)},[B.eJ4]:(e,t)=>{let{customUIStore:n}=t;return e.set("customUIStore",n)},[B.R7l]:e=>{const t=new w.R1((0,_.lx)(e)),n="link";return e.withMutations((e=>{e.set("linkAnnotationMode",!0),e.set("interactionMode",N.A.LINK),e.set("selectedAnnotationIds",(0,i.l4)([t.id])),e.set("selectedAnnotationMode",R.o.EDITING),e.setIn(["annotations",t.id],t),e.set("currentItemPreset",n);const o=n;!X.AQ.link&&e.setIn(["annotationPresetIds",t.id],o)}))},[B.qKG]:e=>e.withMutations((e=>{e.set("linkAnnotationMode",!1)})),[B.oZW]:(e,t)=>{let{multiAnnotationsUsingShortcut:n}=t;return e.withMutations((t=>{e.isMultiSelectionEnabled&&(t.set("interactionMode",N.A.MULTI_ANNOTATIONS_SELECTION),t.set("selectedAnnotationIds",(0,i.l4)()),t.set("selectedAnnotationMode",R.o.SELECTED),t.set("multiAnnotationsUsingShortcut",n))}))},[B.odo]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("multiAnnotationsUsingShortcut",null)})),[B.Vje]:e=>e.set("interactionMode",N.A.MEASUREMENT_SETTINGS),[B.XTO]:e=>e.set("interactionMode",null),[B.FQb]:(e,t)=>{let{annotationsIds:n}=t;return e.withMutations((e=>{var t;const{annotationsGroups:o,annotations:r}=e,a=null===(t=r.find((e=>e.get("id")===n.first())))||void 0===t?void 0:t.get("pageIndex");n.forEach((e=>{const t=r.find((t=>t.id===e));(0,s.kG)(t,`Annotation with id ${e} couldn't be found.`),(0,s.kG)(a===t.get("pageIndex"),"Annotations can't be grouped if they are not on the same page")}));const l=o.map((e=>{const t=e.annotationsIds;return e.annotationsIds=t.filter((e=>!n.includes(e))),e})).filter((e=>e.annotationsIds.size>0)),c=(0,Ya.C)();e.set("annotationsGroups",l.set(c,{groupKey:c,annotationsIds:(0,i.l4)(n)})),e.set("selectedGroupId",c)}))},[B.t$K]:(e,t)=>{let{groupId:n}=t;return e.set("selectedGroupId",n)},[B.vBn]:(e,t)=>{let{pullToRefreshNewState:n}=t;return e.set("disablePullToRefresh",n)},[B.bzW]:(e,t)=>{let{groupId:n}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e;e.set("annotationsGroups",t.delete(n)),e.set("selectedGroupId",null)}))},[B.b4I]:(e,t)=>{let{annotationId:n,groupId:o}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e,r=t.get(o);r&&(e.set("annotationsGroups",t.set(o,{groupKey:o,annotationsIds:r.annotationsIds.delete(n)})),e.set("selectedGroupId",null))}))},[B.tzG]:(e,t)=>{let{customFontsReadableNames:n}=t;return e.set("customFontsReadableNames",n)}};function os(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ts,t=arguments.length>1?arguments[1]:void 0;const n=ns[t.type];return n?n(e,t):e}var rs=n(89849);const is=new w.ZM,as={[B.BS3]:(e,t)=>e.set("connectionState",new w.em({name:rs.F.CONNECTING,reason:t.reason,progress:t.progress})),[B.nmm]:e=>e.set("connectionState",new w.em({name:rs.F.CONNECTED})),[B.zZV]:(e,t)=>e.set("connectionState",new w.em({name:rs.F.CONNECTION_FAILED,reason:t.reason})),[B.rxv]:(e,t)=>e.set("annotationManager",t.annotationManager),[B.Hrp]:(e,t)=>e.set("bookmarkManager",t.bookmarkManager),[B.GHc]:(e,t)=>e.set("formFieldValueManager",t.formFieldValueManager),[B.oj5]:(e,t)=>e.set("formFieldManager",t.formFieldManager),[B.UII]:(e,t)=>e.set("commentManager",t.commentManager),[B.gbd]:(e,t)=>e.set("changeManager",t.changeManager),[B.Ty$]:(e,t)=>e.set("connectionState",new w.em({name:rs.F.PASSWORD_REQUIRED})).set("resolvePassword",t.resolvePassword),[B.hC8]:e=>e.set("isUnlockedViaModal",!0).set("resolvePassword",null),[B.poO]:(e,t)=>e.set("hasPassword",t.hasPassword),[B.iZ1]:(e,t)=>e.set("allowedTileScales",t.allowedTileScales)};function ss(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:is,t=arguments.length>1?arguments[1]:void 0;const n=as[t.type];return n?n(e,t):e}const ls=new w.ZM,cs={[B.jJ7]:(e,t)=>{const{item:n}=t;return(0,Pe.k)(e.pages.get(n.pageIndex),`Trying to insert a CustomOverlayItem at pageIndex ${n.pageIndex}. But such a page does not exist.`),e.withMutations((e=>{e.updateIn(["pages",n.pageIndex,"customOverlayItemIds"],(e=>e.add(n.id))).setIn(["customOverlayItems",n.id],n)}))},[B.G8_]:(e,t)=>{const n=e.customOverlayItems.get(t.id);return(0,Pe.k)(n,"CustomOverlayItem not found"),e.withMutations((e=>{e.deleteIn(["pages",n.pageIndex,"customOverlayItemIds",n.id]).deleteIn(["customOverlayItems",n.id])}))}};function us(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ls,t=arguments.length>1?arguments[1]:void 0;const n=cs[t.type];return n?n(e,t):e}const ds=new w.ZM,ps={[B.lRe]:(e,t)=>e.set("digitalSignatures",t.digitalSignatures)};function fs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds,t=arguments.length>1?arguments[1]:void 0;const n=ps[t.type];return n?n(e,t):e}const hs=new J.Z,ms={[B.Oh4]:(e,t)=>{let{outline:n}=t;return e.withMutations((e=>{e.setIn(["documentOutlineState","elements"],n),e.setIn(["documentOutlineState","expanded"],vs((0,i.D5)(),n,"0"))}))},[B.Whn]:(e,t)=>{let{level:n}=t;return e.updateIn(["documentOutlineState","expanded",n],(e=>!e))}};function gs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hs,t=arguments.length>1?arguments[1]:void 0;const n=ms[t.type];return n?n(e,t):e}function vs(e,t,n){return t.reduce(((e,t,o)=>{if(0===t.size)return e;const r=`${n}-${o}`;return vs(e.set(r,t.isExpanded),t.children,r)}),e)}var ys=n(71693),bs=n(56956),ws=n(52560),Ss=n(28098);const Ps=new w.ZM,Es={[B.wtk]:e=>{const{viewportState:t}=e,n=(0,ys.dF)(t,t.currentPageIndex),o=(0,ys.kd)(t),r=n>=o-1?o-1:n+1,a=(0,ys.P1)(t,r)[0];return(0,s.kG)("number"==typeof a,"Can not find the next pageIndex."),e.withMutations((t=>{t.set("viewportState",(0,bs.eb)(e.viewportState,a)),t.set("hoverAnnotationIds",(0,i.l4)())}))},[B.mE7]:e=>{const{viewportState:t}=e,n=(0,ys.dF)(t,t.currentPageIndex),o=n<=0?0:n-1,r=(0,ys.P1)(t,o)[0];return(0,s.kG)("number"==typeof r,"Can not find the next pageIndex."),e.withMutations((n=>{n.set("viewportState",(0,bs.eb)(e.viewportState,r)),r!==t.currentPageIndex&&n.set("hoverAnnotationIds",(0,i.l4)())}))},[B.RxB]:(e,t)=>{const{pageIndex:n}=t;return(0,s.kG)(n>=0&&n{t.set("viewportState",(0,bs.eb)(e.viewportState,n)),n!==e.viewportState.currentPageIndex&&t.set("hoverAnnotationIds",(0,i.l4)())}))},[B.mLh]:(e,t)=>{const{scrollPosition:n,lastScrollUsingKeyboard:o=!1}=t;return e.set("viewportState",(0,bs.hu)(e.viewportState,n).set("lastScrollUsingKeyboard",o))},[B.g4f]:(e,t)=>{let{pageIndex:n,rect:o}=t;return e.set("viewportState",(0,bs.kN)(e.viewportState,n,o))},[B.Lyo]:(e,t)=>{let{pageIndex:n,rect:o}=t;return e.set("viewportState",(0,bs.vP)(e.viewportState,n,o))},[B.xYE]:(e,t)=>{var n;let{viewportRect:o,isTriggeredByOrientationChange:r}=t;const i=w.UL.fromClientRect(null===(n=e.rootElement)||void 0===n?void 0:n.getBoundingClientRect()),a=(0,H.a$)(e.viewportState,o,r,e.scrollbarOffset);return e.withMutations((e=>{e.set("containerRect",i),e.set("viewportState",a)}))},[B.syg]:(e,t)=>{let n=(0,ws.cq)(e.viewportState,t.zoomLevel);return t.scrollPosition&&(n=n.set("scrollPosition",t.scrollPosition)),e.set("viewportState",n)},[B.u9b]:(e,t)=>{const n=e.viewportState.set("zoomStep",t.zoomStep);return e.set("viewportState",n)},[B.ZGb]:(e,t)=>e.set("viewportState",t.viewportState),[B.UFs]:e=>e.set("viewportState",(0,ws.cq)(e.viewportState,e.viewportState.zoomLevel*e.viewportState.zoomStep)),[B.RCc]:e=>e.set("viewportState",(0,ws.cq)(e.viewportState,e.viewportState.zoomLevel/e.viewportState.zoomStep)),[B.MfE]:e=>e.set("viewportState",(0,ws.cq)(e.viewportState,Ss.c.AUTO)),[B.BWS]:e=>e.set("viewportState",(0,ws.cq)(e.viewportState,Ss.c.FIT_TO_VIEWPORT)),[B.QU3]:e=>e.set("viewportState",(0,ws.cq)(e.viewportState,Ss.c.FIT_TO_WIDTH)),[B.lD1]:(e,t)=>{let{degCW:n}=t;return e.update("viewportState",(e=>(0,vr.U1)(e,n)))},[B.kRo]:e=>e.set("interactionMode",N.A.PAN),[B.UFK]:e=>e.set("interactionMode",null),[B.D1d]:(e,t)=>{let{width:n}=t;return e.set("sidebarWidth",n)},[B.WsN]:(e,t)=>{let{shouldDisable:n}=t;return e.set("scrollDisabled",n)}};function xs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ps,t=arguments.length>1?arguments[1]:void 0;const n=Es[t.type];return n?n(e,t):e}var Ds=n(19568),Cs=n(47710),ks=n(4757),Os=n(56169),As=n(98013);function Ts(e){return(0,s.kG)(6===e.length,"Tried to deserialize matrix that does not have 6 entries"),new b.sl({a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]})}var Is=n(93572),Fs=n(76413),Ms=n.n(Fs);function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ns(e){for(var t=1;t{const n=e.pages.map((e=>e.pageKey)),o=(0,i.aV)(t.payload).map((t=>{var o;const r=new w.$u({width:t.width,height:t.height}),a=n.get(t.pageIndex)||(0,Ya.C)(),s=(null===(o=e.pages.get(t.pageIndex))||void 0===o?void 0:o.annotationIds)||(0,i.hU)();return new w.T3(Ns(Ns({},t),{},{matrix:Ts(t.matrix),reverseMatrix:Ts(t.reverseMatrix),untransformedRect:(0,Is.k)(t.untransformedBBox),transformedRect:(0,Is.k)(t.transformedBBox),rawPdfBoxes:t.rawPdfBoxes,pageKey:a,pageSize:r,annotationIds:s}))})),r=o.map((e=>e.pageSize));return e.withMutations((e=>{const t=e.viewportState.set("pageSizes",r);e.set("pages",o),e.set("viewportState",t),e.set("arePageSizesLoaded",!0)}))},[B.ME7]:(e,t)=>{const n=(0,i.aV)(t.payload.pages).map((e=>{var n;const o=new w.$u({width:e.width,height:e.height}),r=(null===(n=t.pageKeys)||void 0===n?void 0:n.get(e.pageIndex))||(0,Ya.C)();return new w.T3(Ns(Ns({},e),{},{matrix:Ts(e.matrix),reverseMatrix:Ts(e.reverseMatrix),untransformedRect:(0,Is.k)(e.untransformedBBox),transformedRect:(0,Is.k)(e.transformedBBox),rawPdfBoxes:e.rawPdfBoxes,pageKey:r,pageSize:o}))})),o=n.map((e=>e.pageSize));return e.withMutations((r=>{let i=r.viewportState.set("pageSizes",o);if(r.set("pages",n),r.set("totalPages",n.size),r.set("documentPermissions",new Ds.Z(rt.Options.IGNORE_DOCUMENT_PERMISSIONS?void 0:t.payload.permissions)),i.currentPageIndex>=n.size&&(i=i.set("currentPageIndex",0)),i.zoomMode===Ss.c.CUSTOM){const e=(0,ws.Yo)(i),t=(0,ws.Sm)(i);(i.zoomLevelt)&&(i=i.set("zoomMode",Ss.c.AUTO))}if(i=i.zoomMode===Ss.c.CUSTOM?i.merge({zoomLevel:(0,ws.X9)(i,i.zoomLevel)}):i.merge({zoomLevel:(0,ws.X9)(i,i.zoomMode)}),i.scrollMode===Cs.G.PER_SPREAD&&(i=(0,H._U)(i.set("scrollMode",Cs.G.CONTINUOUS),Cs.G.PER_SPREAD)),i.scrollMode===Cs.G.DISABLED&&(i=(0,H._U)(i.set("scrollMode",Cs.G.CONTINUOUS),Cs.G.DISABLED)),i.currentPageIndex>0){if(0===i.viewportRect.width||0===i.viewportRect.height){let t=e.containerRect;e.showToolbar&&(t=t.set("top",As.k3).set("height",t.height-As.k3)),i=i.set("viewportRect",t)}i=(0,bs.eb)(i.set("currentPageIndex",0),i.currentPageIndex)}r.set("viewportState",i)}))},[B.GZZ]:(e,t)=>{const n=(0,i.D5)().withMutations((n=>{const o=[];t.textLines.forEach((t=>{var n;o.push(new ir.f(null===(n=e.frameWindow)||void 0===n?void 0:n.document,(0,i.aV)([(0,ks.LD)((0,Kn.HI)(e),t)]),{},Ms().line))})),t.textLines.forEach(((e,t)=>{const r=o[t].measure().get(0);(0,Pe.k)(r);const{id:i}=e;n.set(i,{scaleX:e.boundingBox.width/r.width,scaleY:e.boundingBox.height/r.height})})),t.textLines.forEach(((e,t)=>{o[t].remove()}))}));return e.setIn(["pages",t.pageIndex,"textLines"],t.textLines).setIn(["pages",t.pageIndex,"textLineScales"],n)},[B.fnw]:(e,t)=>{let{backendPermissions:n}=t;return e.withMutations((e=>{n.readOnly&&e.set("readOnlyEnabled",te.J.VIA_BACKEND_PERMISSIONS),n.downloadingAllowed||(e.set("exportEnabled",!1),e.set("printingEnabled",!1)),e.set("backendPermissions",n)}))},[B.obk]:e=>e.withMutations((e=>{e.set("annotations",(0,i.D5)()),e.set("attachments",(0,i.D5)()),e.set("formFields",(0,i.D5)()),e.set("currentTextSelection",null),e.set("interactionMode",null),e.set("selectedAnnotationIds",(0,i.l4)()),e.set("selectedAnnotationShouldDrag",null),e.set("selectedAnnotationMode",null),e.set("activeAnnotationNote",null),e.set("interactionsDisabled",!1),e.set("annotationPresetIds",(0,i.D5)()),e.set("documentOutlineState",new w.S),e.set("comments",(0,i.D5)()),e.set("commentThreads",(0,i.D5)()),e.set("invalidAPStreams",(0,i.D5)()),e.set("searchState",new Os.Z)})),[B.S0t]:(e,t)=>e.set("documentHandle",t.documentHandle).set("isDocumentHandleOutdated",!1),[B.YS$]:(e,t)=>e.set("isDocumentHandleOutdated",t.isDocumentHandleOutdated),[B.UX$]:(e,t)=>e.set("reuseState",t.state?new J.w(t.state):null),[B.TG1]:(e,t)=>e.withMutations((e=>{t.pageIndexes.forEach((t=>{e.setIn(["pages",t,"pageKey"],(0,Ya.C)())}))})),[B.bM3]:(e,t)=>e.withMutations((e=>{t.pageKeysForPages.forEach((t=>{e.setIn(["pages",t.pageIndex,"pageKey"],t.pageKey)}))}))};function Bs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rs,t=arguments.length>1?arguments[1]:void 0;const n=Ls[t.type];return n?n(e,t):e}const js=new J.Z,zs={[B.skc]:e=>e.set("isPrinting",!0),[B.snh]:e=>e.set("isPrinting",!1),[B._uU]:e=>e.set("isPrinting",!1),[B.qV6]:(e,t)=>{let{currentPage:n}=t;return e.set("printLoadingIndicatorProgress",n)}};function Ks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:js,t=arguments.length>1?arguments[1]:void 0;const n=zs[t.type];return n?n(e,t):e}function Zs(e,t){const{focusedResultIndex:n}=e.searchState,o=e.searchState.results.size;if(o<=0)return e;let r=n+t;r<0&&(r+=o);const i=Math.abs(r%o),a=e.searchState.results.get(i);(0,Pe.k)(a);const s=(0,bs.kN)(e.viewportState,a.pageIndex,w.UL.union(null==a?void 0:a.rectsOnPage));return e.setIn(["searchState","focusedResultIndex"],i).set("viewportState",s)}const Us={[B.FH6]:(e,t)=>t.term.length>=e.searchState.minSearchQueryLength?e.setIn(["searchState","term"],t.term):e.setIn(["searchState","term"],t.term).setIn(["searchState","focusedResultIndex"],-1).setIn(["searchState","results"],(0,i.aV)()).setIn(["searchState","isLoading"],!1),[B.$Jy]:e=>Zs(e,1),[B.gIV]:e=>Zs(e,-1),[B.$hO]:e=>e.set("interactionMode",N.A.SEARCH).setIn(["searchState","isFocused"],!0),[B._AY]:e=>e.set("interactionMode",null).mergeIn(["searchState"],{isFocused:!1,term:"",results:(0,i.aV)(),focusedResultIndex:-1}),[B.Ifu]:e=>e.setIn(["searchState","isFocused"],!0),[B.nFn]:e=>e.setIn(["searchState","isFocused"],!1),[B.F6q]:(e,t)=>{let{isLoading:n}=t;return e.setIn(["searchState","isLoading"],n)},[B.qZT]:(e,t)=>{let{results:n}=t,o=e.viewportState,r=-1;if(-1!==e.searchState.focusedResultIndex){const t=e.searchState.results.get(e.searchState.focusedResultIndex);(0,Pe.k)(t);const{pageIndex:o}=t,i=t.rectsOnPage.first();(0,Pe.k)(i);const{top:a,left:s}=i;r=n.findIndex((e=>{const t=e.rectsOnPage.first();return(0,Pe.k)(t),e.pageIndex===o&&t.top===a&&t.left===s}))}if(-1===r&&n.size>0){r=n.findIndex((t=>t.pageIndex>=e.viewportState.currentPageIndex)),-1===r&&(r=0);const t=n.get(r);(0,Pe.k)(t),o=(0,bs.kN)(e.viewportState,t.pageIndex,w.UL.union(t.rectsOnPage))}return e.setIn(["searchState","results"],n).setIn(["searchState","focusedResultIndex"],r).set("viewportState",o)},[B.p1u]:(e,t)=>{let{state:n}=t;return e.set("searchState",n)},[B.esN]:(e,t)=>{let{provider:n}=t;return e.set("searchProvider",n)}};function Vs(e,t){const n=Us[t.type];return n?n(e,t):e}const Gs=new w.ZM,Ws={[B.f3N]:(e,t)=>{const n=t.textRange,{startTextLineId:o,endTextLineId:r,startPageIndex:a,endPageIndex:s}=n.startAndEndIds(),l=new w.Bs({textRange:t.textRange,startTextLineId:o,endTextLineId:r,startPageIndex:a,endPageIndex:s}),c=e.withMutations((t=>{t.set("currentTextSelection",l),e.interactionMode!==N.A.TEXT_HIGHLIGHTER&&e.interactionMode!==N.A.REDACT_TEXT_HIGHLIGHTER&&t.set("selectedAnnotationIds",(0,i.l4)())}));return(0,Kn.j$)(w.On,e)?c:c.withMutations((e=>{e.set("inlineTextMarkupToolbar",t.inlineTextMarkupToolbar)}))},[B.MOe]:e=>e.delete("currentTextSelection"),[B.a33]:e=>e.withMutations((t=>{t.delete("selectedAnnotationMode"),t.set("currentItemPreset",null),e.interactionMode===N.A.TEXT_HIGHLIGHTER&&(0,_.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)()),t.set("widgetAnnotationToFocus",null),t.set("interactionMode",e.interactionMode===N.A.PAN||e.interactionMode===N.A.FORM_CREATOR?e.interactionMode:null),t.set("selectedTextOnEdit",!1),t.set("activeAnnotationNote",null),e.interactionMode===N.A.DISTANCE&&e.isCalibratingScale&&t.set("isCalibratingScale",!1)})),[B._Yi]:(e,t)=>{let n=null;const o=t.annotations.filter((t=>{const o=e.annotations.get(t);return n=e.annotationPresetIds.get(t)||null,o&&(o instanceof w.Qi||o.isCommentThreadRoot||!(0,Kn.lV)(o,e))}));return 0===o.size?e:e.withMutations((e=>{e.set("selectedAnnotationIds",o),e.set("currentItemPreset",n),e.set("selectedAnnotationMode",t.mode),e.set("selectedAnnotationShouldDrag",t.selectedAnnotationShouldDrag),e.delete("currentTextSelection")}))},[B.c3G]:e=>e.set("selectedAnnotationShouldDrag",null),[B.RvB]:e=>e.set("selectedTextOnEdit",!0),[B.qh0]:(e,t)=>((0,s.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.add(t.id))):e),[B.rm]:(e,t)=>((0,s.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.delete(t.id))):e),[B.TPT]:(e,t)=>{(0,s.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===te.J.NO||n instanceof w.Qi?e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e:e.add(t.id))):e},[B.iyZ]:(e,t)=>{(0,s.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===te.J.NO||n instanceof w.Qi?e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e.delete(t.id):e)):e},[B.yyM]:(e,t)=>{const n=t.annotationNote;return e.set("hoverAnnotationNote",n)},[B.vSH]:(e,t)=>e.set("activeAnnotationNote",t.annotationNote),[B._fK]:(e,t)=>e.withMutations((n=>{if(t.newSelectedAnnotationsIds.size>0)n.set("selectedAnnotationIds",t.newSelectedAnnotationsIds);else{const o=1===e.selectedAnnotationIds.size&&e.annotations.get(e.selectedAnnotationIds.first());if(!o||null!=o.pageIndex){const o=new t.annotationClass((0,_.lx)(e));n.setIn(["annotations",o.id],o),n.set("selectedAnnotationIds",(0,i.l4)([o.id])),null!=e.currentItemPreset&&n.setIn(["annotationPresetIds",o.id],e.currentItemPreset)}}})),[B.L2A]:(e,t)=>e.set("inlineTextSelectionToolbarItems",t.inlineTextSelectionToolbarItemsCallback)};function qs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gs,t=arguments.length>1?arguments[1]:void 0;const n=Ws[t.type];return n?n(e,t):e}const Hs=new w.ZM,$s={[B.mGH]:(e,t)=>{let{signature:n}=t;return e.withMutations((e=>{(0,_.ud)(e,n)}))},[B.W0l]:(e,t)=>{let{annotation:n}=t;return e.signatureState.formFieldName&&(0,s.kG)(!e.signatureState.formFieldsNotSavingSignatures.includes(e.signatureState.formFieldName),`Cannot save signature for the form field \`${e.signatureState.formFieldName}\` because this field is in formFieldsNotSavingSignatures`),e.updateIn(["signatureState","storedSignatures"],(e=>e.push(n)))},[B.Kw7]:(e,t)=>{let{annotations:n}=t;return e.setIn(["signatureState","storedSignatures"],n)},[B.Kc8]:(e,t)=>{let{annotation:n}=t;return e.updateIn(["signatureState","storedSignatures"],(e=>e.filter((e=>!e.equals(n)))))}};function Xs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hs,t=arguments.length>1?arguments[1]:void 0;const n=$s[t.type];return n?n(e,t):e}const Ys=new w.ZM,Js={[B.aWu]:(e,t)=>e.set("toolbarItems",t.toolbarItems),[B.T3g]:(e,t)=>e.set("annotationToolbarItems",t.annotationToolbarItemsCallback),[B.A8G]:(e,t)=>e.set("annotationToolbarHeight",t.height)};function Qs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ys,t=arguments.length>1?arguments[1]:void 0;const n=Js[t.type];return n?n(e,t):e}const el=new w.ZM,tl={[B.iJ2]:(e,t)=>{let{formJSON:n}=t;(0,s.kG)("pspdfkit/form"==n.type,"Invalid type for form JSON."),(0,s.kG)(1==n.v,"Invalid version for form JSON."),(0,s.kG)(n.fields instanceof Array,"Invalid type for `fields` in form JSON.");const o=(0,Ze.U_)(n.fields),r=(0,Ze.hT)(n.annotations);return e.withMutations((e=>{e.set("formFields",o),r.forEach((t=>{const{id:n}=t;e.setIn(["annotations",n],t),(0,s.kG)(e.pages.has(t.pageIndex),"Invalid `pageIndex` of widget annotation: "+t.pageIndex),e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(n)))}))}))},[B.zGM]:(e,t)=>e.withMutations((e=>{t.formFields.forEach((t=>{e.setIn(["formFields",t.name],t)}))})),[B.Wyx]:(e,t)=>e.withMutations((n=>{t.formFields.forEach((t=>{const o=e.formFields.valueSeq().find((e=>e.id===t.id));(0,s.kG)(o,"Invalid form field ID: "+t.id);const r=o.name!==t.name;if(t instanceof w.XQ){const n=e.formFields.find((e=>e.name===t.name)),o=null==n?void 0:n.annotationIds;if(o&&n.id!==t.id){let e=o,r=n.options;[...t.annotationIds].forEach(((n,o)=>{e.includes(n)||(e=e.push(n),r=r.push(t.options.get(o)))})),t=t.set("annotationIds",e).set("options",r)}}if(r){t.annotationIds.forEach((e=>{n.annotations.get(e)&&n.setIn(["annotations",e,"formFieldName"],t.name)})),n.deleteIn(["formFields",o.name])}n.setIn(["formFields",t.name],t),(0,Ze.r_)(o,e,n)}))})),[B.fDl]:(e,t)=>{const n=e.formFields.find((e=>e.id===t.formField.id));return e.withMutations((o=>{o.deleteIn(["formFields",null==n?void 0:n.name]),o.setIn(["formFields",t.formField.name],t.formField),(0,Ze.r_)(e.formFields.get(t.formField.name),e,o)}))},[B.D_w]:(e,t)=>e.withMutations((n=>{t.formFieldsIds.forEach((t=>{const o=(0,Ze.CL)(e,t);o&&n.deleteIn(["formFields",o.name])}))})),[B.Ui_]:(e,t)=>e.withMutations((n=>{(0,Ze.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!0})})),[B.m3$]:(e,t)=>e.withMutations((n=>{(0,Ze.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!1})})),[B.VK7]:(e,t)=>{let{formattedFormFieldValues:n}=t;return e.set("formattedFormFieldValues",e.formattedFormFieldValues.merge(n))},[B.yET]:(e,t)=>{let{editingFormFieldValues:n}=t;return e.set("editingFormFieldValues",e.editingFormFieldValues.merge(n))},[B.u7V]:(e,t)=>e.withMutations((n=>{t.formFieldValuesIds.forEach((t=>{const o=t.split("/")[1],r=e.formFields.get(o);r&&(r instanceof w.$o?n.setIn(["formFields",o,"value"],""):r instanceof w.XQ?n.setIn(["formFields",o,"value"],null):r instanceof w.Dz||r instanceof w.rF?n.setIn(["formFields",o,"values"],(0,i.aV)()):r instanceof w.R0||r instanceof w.Yo||(0,s.kG)(!1,`DELETE_FORM_FIELD_VALUE not implemented for ${o}`))}))})),[B.TYu]:(e,t)=>{let{onWidgetCreationStartCallback:n}=t;return e.set("onWidgetAnnotationCreationStart",n)},[B.vgx]:(e,t)=>{let{annotationId:n}=t;return e.set("formDesignerUnsavedWidgetAnnotation",n)}};function nl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:el,t=arguments.length>1?arguments[1]:void 0;const n=tl[t.type];return n?n(e,t):e}var ol=n(62164);const rl=new w.ZM,il={[B.ckI]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{if((0,Pe.k)(t.id&&!e.comments.has(t.id),`Comment with ID ${t.id} already exists.`),t.pageIndex<0||t.pageIndex>=e.pages.size)(0,s.ZK)(`Tried to add a comment with ID ${t.id} with an out of bounds page index (${t.pageIndex}). This comment was skipped.`);else if(e.setIn(["comments",t.id],t),(0,Pe.k)(t.rootId&&t.id),e.commentThreads.has(t.rootId)){const n=e.commentThreads.get(t.rootId);(0,Pe.k)(n),e.setIn(["commentThreads",t.rootId],n.add(t.id).sortBy((t=>{const n=e.comments.get(t);(0,Pe.k)(n);const o=n.createdAt.getTime();return[(0,ol.kT)(n)?1:0,o]}),Ce.b))}else e.setIn(["commentThreads",t.rootId],(0,i.hU)([t.id]))}))})),[B.hxO]:(e,t)=>{const n=t.rootId,o=e.annotations.get(n),r=new Date;let a=new w.sv({id:(0,Ya.C)(),rootId:n,creatorName:e.annotationCreatorName||null,createdAt:r,updatedAt:r,text:{format:"plain",value:""}});if(e.onCommentCreationStart){const t=e.onCommentCreationStart(a);(0,Pe.k)(t instanceof w.sv,"`onCommentCreationStart` should return an instance of `Comment`"),a=t}(0,Pe.k)(e.backend),e.backend.isCollaborationPermissionsEnabled()&&e.group!==e.backend.getDefaultGroup()&&(a=a.set("group",e.group));return!(0,Kn.Ez)(a,e)&&o&&(0,xr.mi)(o,e)?e.withMutations((e=>{e.setIn(["comments",a.id],a),e.commentThreads.has(n)?e.updateIn(["commentThreads",n],(e=>e.add(a.id))):e.setIn(["commentThreads",n],(0,i.hU)([a.id]))})):e.set("interactionMode",null)},[B.FdD]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{(0,Pe.k)(t.id&&e.comments.has(t.id),`Comment with missing ID ${t.id} not found and thus cannot be updated.`),e.setIn(["comments",t.id],t)}))})),[B.kg]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,Pe.k)(e.comments.has(t),`Comment with ID ${t} not found, so it cannot be deleted.`);const n=e.comments.get(t);(0,Pe.k)(null!=n,`Attempted to delete non-existent comment with ID ${t}`),(0,Pe.k)(n.rootId);const o=e.commentThreads.get(n.rootId);if((0,Pe.k)(null!=o,`Comment with ID ${t} has no corresponding thread with matching root ID ${n.rootId}`),(0,Pe.k)(n.id&&o.has(n.id),`Comment with ID ${n.id} is missing from its thread.`),1===o.size)e.removeIn(["commentThreads",n.rootId]);else{const t=o.remove(n.id);if(e.setIn(["commentThreads",n.rootId],t),1===t.size){const o=e.comments.get(t.first());(0,Pe.k)(null!=o),(0,ol.kT)(o)&&(e.removeIn(["commentThreads",n.rootId]),e.removeIn(["comments",o.id]))}}e.removeIn(["comments",t])}))})),[B.NB4]:e=>e.setIn(["viewportState","commentMode"],(0,ol.dq)(e)),[B.YHT]:(e,t)=>e.set("mentionableUsers",t.users),[B.ZLr]:(e,t)=>e.set("maxMentionSuggestions",t.maxSuggestions),[B.mfU]:(e,t)=>{let{onCommentCreationStartCallback:n}=t;return e.set("onCommentCreationStart",n)}};function al(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rl,t=arguments.length>1?arguments[1]:void 0;const n=il[t.type];return n?n(e,t):e}const sl=new w.ZM,ll={[B.Kpf]:(e,t)=>e.set("documentEditorFooterItems",t.documentEditorFooterItems),[B.wPI]:(e,t)=>e.set("documentEditorToolbarItems",t.documentEditorToolbarItems)};function cl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sl,t=arguments.length>1?arguments[1]:void 0;const n=ll[t.type];return n?n(e,t):e}function ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function dl(e){for(var t=1;te.withMutations((n=>{n.set("redoActions",e.redoActions.push(t.nextRedoAction));const o=t.oldId;if(o){n.update("redoActions",(e=>e.map((e=>e.payload.id===t.oldId?dl(dl({},e),{},{payload:dl(dl({},e.payload),{},{id:t.nextRedoAction.payload.id})}):e))));const r=t.nextRedoAction.payload.pageIndex,i="number"==typeof r&&e.invalidAPStreams.has(r)?e.invalidAPStreams.get(r):null;i&&i.has(o)&&n.setIn(["invalidAPStreams",r],i.add(t.nextRedoAction.payload.id).delete(o))}n.set("undoActions",e.undoActions.pop())})),[B.iwn]:(e,t)=>e.withMutations((n=>{n.set("undoActions",e.undoActions.push(t.nextUndoAction));const o=t.oldId;if(o){n.update("undoActions",(e=>e.map((e=>e.payload.id===t.oldId?dl(dl({},e),{},{payload:dl(dl({},e.payload),{},{id:t.nextUndoAction.payload.id})}):e))));const r=t.nextUndoAction.payload.pageIndex,i="number"==typeof r&&e.invalidAPStreams.has(r)?e.invalidAPStreams.get(r):null;i&&i.has(o)&&n.setIn(["invalidAPStreams",r],i.add(t.nextUndoAction.payload.id).delete(o))}n.set("redoActions",e.redoActions.pop())})),[B.faS]:(e,t)=>e.set("historyChangeContext",t.historyChangeContext),[B.tC1]:(e,t)=>e.set("historyIdsMap",e.historyIdsMap.set(t.newId,t.oldId)),[B._Qf]:e=>e.withMutations((t=>{t.set("undoActions",e.undoActions.clear()),t.set("redoActions",e.redoActions.clear()),t.set("historyIdsMap",e.historyIdsMap.clear())})),[B._33]:e=>e.set("isHistoryEnabled",!0),[B.wG7]:e=>e.set("isHistoryEnabled",!1)};function hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pl,t=arguments.length>1?arguments[1]:void 0;const n=fl[t.type];return n?n(e,t):e}var ml=n(68218);const gl=e=>new ml.Sg(e),vl=e=>new ml.UL({offset:gl(e.offset),size:gl(e.size)}),yl=e=>new ml.W4(e),bl=e=>{let t=i.l4.of();for(const n of e)t=t.add(yl(n));return t},wl=e=>new ml.I5({family:e.family,variants:bl(e.variants)}),Sl=e=>new ml.yO({family:e.family,variant:yl(e.variant)}),Pl=e=>new ml.IA({faceRef:Sl(e.faceRef),size:e.size}),El=e=>new ml.mZ(e),xl=e=>new ml.vz({fontRef:Pl(e.fontRef),color:e.color,effects:El(e.effects)}),Dl=e=>new ml.JR(e),Cl=e=>new ml.yJ({family:e.family,faceMismatch:e.faceMismatch?Dl(e.faceMismatch):null,bold:e.bold,italic:e.italic,xScale:e.xScale,skew:e.skew,color:e.color,size:e.size}),kl=e=>new ml.a2(e),Ol=e=>new ml.DN(e),Al=e=>new ml.FQ({cluster:e.cluster,offset:gl(e.offset),advance:gl(e.advance),text:e.text,control:e.control,lastOfSegment:e.lastOfSegment,beginOfWord:e.beginOfWord,endOfWord:e.endOfWord}),Tl=e=>new ml.tW({offset:gl(e.offset),lineSpacing:kl(e.lineSpacing),elements:i.aV.of(...e.elements.map(Al))});var Il=n(72643);const Fl=new J.Z,Ml=(e,t)=>{let n=!1;const o=vl(t.contentRect);(0,i.is)(o,e.contentRect)||(e=e.set("contentRect",o)),(0,i.is)(t.version,e.version)||(e=e.set("version",t.version),n=!0);const r=(a=t.cursor,new ml.CF({offset:gl(a.offset),lineSpacing:kl(a.lineSpacing)}));var a;(0,i.is)(r,e.cursor)||(e=e.set("cursor",r),n=!0);const s=t.selection?(e=>new ml.Y1(e))(t.selection):null;(0,i.is)(s,e.selection)||(e=e.set("selection",s),n=!0);const l=(e=>new ml.Ts({lines:i.aV.of(...e.lines.map(Tl))}))(t.layoutView);(0,i.is)(l,e.layoutView)||(e=e.set("layoutView",l));const c=(e=>new ml.tk({selectionStyleInfo:e.selectionStyleInfo?Cl(e.selectionStyleInfo):null,modificationsCharacterStyle:e.modificationsCharacterStyle?xl(e.modificationsCharacterStyle):null,modificationsCharacterStyleFaceMismatch:e.modificationsCharacterStyleFaceMismatch?Dl(e.modificationsCharacterStyleFaceMismatch):null}))(t.detectedStyle);if((0,i.is)(c,e.detectedStyle)||(e=e.set("detectedStyle",c)),c.modificationsCharacterStyle){let t=c.modificationsCharacterStyle;t=t.setIn(["effects"],new ml.mZ({})),n&&!(0,i.is)(t,e.modificationsCharacterStyle)&&(e=e.set("modificationsCharacterStyle",t))}return e},_l={[B.MGL]:e=>e.withMutations((e=>{const t=e.contentEditorSession.sessionId+1;e.set("contentEditorSession",new ml.aN({sessionId:t,active:!0})).set("interactionMode",N.A.CONTENT_EDITOR)})),[B.Qm9]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","active"],!1).set("interactionMode",null)})),[B.l$y]:(e,t)=>e.withMutations((e=>{(0,Pe.k)(!e.contentEditorSession.pageStates.has(t.pageIndex)),e.setIn(["contentEditorSession","pageStates",t.pageIndex],new ml.nv({loading:!0}))})),[B.kD6]:(e,t)=>e.withMutations((e=>{var n;(0,Pe.k)(null===(n=e.contentEditorSession.pageStates.get(t.pageIndex))||void 0===n?void 0:n.loading);let o=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(o);const r=t.initialTextBlocks.map((e=>{const t=e.textBlock,n=gl(t.anchor),o=Ol(t.globalEffects),r=new ml.Ar({maxWidth:t.maxWidth,alignment:t.alignment,lineSpacingFactor:t.lineSpacingFactor}),i=new ml.Q7({id:e.id,initialAnchor:n,initialGlobalEffects:o,initialLayout:r,anchor:n,globalEffects:o,layout:r,modificationsCharacterStyle:xl(t.modificationsCharacterStyle)});return Ml(i,e.updateInfo)})),a=i.aV.of(...r);o=o.set("textBlocks",a),o=o.set("initialTextBlocks",a),o=o.set("loading",!1),e.setIn(["contentEditorSession","pageStates",t.pageIndex],o)})),[B.joZ]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new ml._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:ml.FP.Active}))})),[B.fQw]:e=>e.withMutations((e=>{const t=e.contentEditorSession.textBlockInteractionState;if(t.state===ml.FP.Active){let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>!(e.justCreated&&0===e.contentRect.size.x))).map((e=>e.id===t.textBlockId&&e.justCreated?e=e.set("justCreated",!1).set("layout",e.layout.set("maxWidth",Math.max(e.contentRect.size.x,10))):e))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)}e.setIn(["contentEditorSession","textBlockInteractionState"],e.contentEditorSession.textBlockInteractionState.state===ml.FP.Active?e.contentEditorSession.textBlockInteractionState.set("state",ml.FP.Selected):new ml._h)})),[B.VOt]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),n=((e,t,n)=>{const o=e.textBlocks.map((e=>e.id!=t?e:Ml(e,n)));return e.set("textBlocks",o)})(n,t.textBlockId,t.updateInfo),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[B.U7k]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","availableFaces","loading"],!0)})),[B.ZgW]:(e,t)=>e.withMutations((e=>{const n=(o=t.faceList,i.aV.of(...o.map(wl)));var o;e.setIn(["contentEditorSession","availableFaces"],new ml.t9({faceList:n,loading:!1}))})),[B.Y4]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","saving"],!0)})),[B.HYy]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","dirty"],!0)})),[B.bOH]:(e,t)=>e.set("showExitContentEditorDialog",t.isVisible),[B.Han]:(e,t)=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",new ml.xb({fontFace:t.fontFace,rect:t.tooltipRect}))),[B.WmI]:e=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",null)),[B.nI6]:(e,t)=>e.contentEditorSession.fontMismatchTooltip?e.setIn(["contentEditorSession","fontMismatchTooltip","dismissAbortController"],t.abortController):e,[B.Ebp]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;let n=e.modificationsCharacterStyle;return t.faceRef&&!(0,i.is)(t.faceRef,n.fontRef.faceRef)&&(n=n.setIn(["fontRef","faceRef"],t.faceRef)),t.size&&!(0,i.is)(t.size,n.fontRef.size)&&(n=n.setIn(["fontRef","size"],t.size)),t.color&&!(0,i.is)(t.color,n.color)&&(n=n.set("color",t.color)),e=e.set("modificationsCharacterStyle",n)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[B.ciU]:(e,t)=>e.withMutations((e=>{e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;const{fixpointValue:n,newWidth:o}=t,{layout:r,globalEffects:i,anchor:a}=e;(0,Pe.k)(r.maxWidth);const s=(0,Il.uB)(r.alignment,i,n,o-r.maxWidth);return e=(e=e.set("anchor",new ml.Sg({x:a.x+s.x,y:a.y+s.y}))).setIn(["layout","maxWidth"],o)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[B.fLm]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0),t.isKeyboardMove||e.contentEditorSession.textBlockInteractionState.state===ml.FP.Moving||e.setIn(["contentEditorSession","textBlockInteractionState"],new ml._h({state:ml.FP.Moving,pageIndex:t.pageIndex,textBlockId:t.textBlockId})),n=n.set("textBlocks",n.textBlocks.map((e=>e.id!=t.textBlockId?e:e=e.set("anchor",new ml.Sg({x:t.anchor.x,y:t.anchor.y}))))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[B.xhM]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new ml._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:ml.FP.Selected}))})),[B.snK]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new ml._h);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Pe.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>e.id!==t.textBlockId))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n),e.setIn(["contentEditorSession","mode"],ml.wR.Edit)})),[B.teI]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","mode"],t.mode)})),[B.uo5]:(e,t)=>e.withMutations((e=>{var n;let o=e.contentEditorSession.pageStates.get(t.pageIndex);const r=null===(n=e.pages.get(t.pageIndex))||void 0===n||null===(n=n.pageSize)||void 0===n?void 0:n.width;(0,Pe.k)(o),(0,Pe.k)(r);const{pageIndex:i,initialTextBlock:a}=t,s=a.textBlock,l=Ol(s.globalEffects),c=new ml.Ar({maxWidth:r-t.anchor.x,alignment:s.alignment,lineSpacingFactor:s.lineSpacingFactor});let u=new ml.Q7({id:a.id,initialAnchor:t.anchor,initialGlobalEffects:l,initialLayout:c,anchor:t.anchor,globalEffects:l,layout:c,justCreated:!0,modificationsCharacterStyle:xl(s.modificationsCharacterStyle)});return u=Ml(u,a.updateInfo),o=o.set("textBlocks",o.textBlocks.push(u)),e.setIn(["contentEditorSession","pageStates",i],o).setIn(["contentEditorSession","mode"],ml.wR.Edit).setIn(["contentEditorSession","textBlockInteractionState"],new ml._h({pageIndex:i,textBlockId:a.id,state:ml.FP.Active}))}))};function Nl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fl,t=arguments.length>1?arguments[1]:void 0;const n=_l[t.type];return n?n(e,t):e}function Rl(e,t){return[U,W,os,ss,us,fs,gs,xs,Bs,Ks,Vs,qs,Xs,Qs,nl,al,cl,hl,Nl].reduce(((e,n)=>n(e,t)),e)}const Ll=[C];const Bl=(0,E.md)(...Ll)(E.MT);function jl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Bl(Rl,new J.Z(e))}var zl=n(14012),Kl=n(2810),Zl=n(30761);async function Ul(e){let t,{backend:n,dispatch:o,getState:r,maxPasswordRetries:a,password:l,stylesheetPromise:c,formFieldValuesJSON:u,customFonts:d}=e;try{await c;let e=!1;const{features:p,signatureFeatureAvailability:f,hasPassword:h,minSearchQueryLength:m,allowedTileScales:g,creatorName:v,defaultGroup:y}=await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=null,i=0;for(;!r;){try{r=await n(e)}catch(n){const r=in.load({password:t,progressCallback:(t,n)=>{e||o((0,zl.qZ)(t,n))},isPDFJavaScriptEnabled:rt.Options.PDF_JAVASCRIPT})),(()=>(e=!0,new Promise((e=>o((0,zl.uT)(e))))))),{frameWindow:b}=r();let w=(0,i.l4)();if(d&&b){const e=await n.getAvailableFontFaces(d);for(const t of d){const n=e.find((e=>e.name===t.name)),o=(null==n?void 0:n.readableName)||t.name;b.document.fonts.add(new FontFace((0,un.hm)(o),await t.data.arrayBuffer())),w=w.add(o)}w.size>0&&o((0,Kt.p2)(w))}await(0,Zl.jX)(o,r,{attemptedUnlockViaModal:e,features:p,signatureFeatureAvailability:f,hasPassword:h,minSearchQueryLength:m,allowedTileScales:g});const{annotations:S,isAPStreamRendered:P,formFields:E}=r();n.isUsingInstantProvider()&&o((0,Kt.Ie)()),n.isCollaborationPermissionsEnabled()&&o((0,Kt.YK)(y));const x=await n.runPDFFormattingScriptsFromWidgets(S,E,P);if(x.length){const{formFieldManager:e}=r();let n,i;null!==e&&await e.loadFormFields(),t=new Promise(((e,t)=>{n=e,i=t})),o((0,Qn.bt)({changes:x,resolve:n,reject:i}))}"STANDALONE"===n.type&&rt.Options.PDF_JAVASCRIPT&&u&&o((0,Qn.ul)((0,i.aV)(u.map(Kl.u9)))),o((0,zl.Bm)()),v&&o((0,Kt.X8)(v,!0))}catch(e){(0,s.vU)("An error occurred while initializing PSPDFKit for Web.\n\n Please contact our customer support, if you're having troubles setting up PSPDFKit for Web or the PSPDFKit Server: https://pspdfkit.com/guides/web/current/pspdfkit-for-web/troubleshooting/");const t=e instanceof s.p2?e:new s.p2(e);throw-1!==t.message.indexOf("File not in PDF format or corrupted")?o((0,zl.sr)(t.message)):o((0,zl.sr)()),t}return t}var Vl=n(13997),Gl=n(68258);function Wl(e){try{return e.querySelector(":focus-visible"),void(e.documentElement&&e.documentElement.setAttribute("data-focusvisible-supported","true"))}catch(e){}const t="data-focusvisible-polyfill";let n=!0,o=!1,r=null;const i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(t){return!!(t&&t!==e&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function s(e){e.hasAttribute(t)||e.setAttribute(t,!0)}function l(e){e.removeAttribute(t)}function c(){!0===n&&function(){const t=e.querySelectorAll("[data-focusvisible-polyfill]");for(let e=0;e0;){"SERVER"===e.backend.type&&(t=Ql[n],n+=n>=Ql.length-1?0:1);let o=t;l<1.5*t&&(o=l);const i=await e.backend.search(this.term,s,o,!1);if(a=a.concat(i),!this._activeSearches[r])return;this.dispatch((0,Yl.Sc)(a)),l-=o,s+=o}}this.dispatch((0,Yl.M0)(!1))}_cancelSearchRequests(e){for(const t of this._activeSearches.keys())null!=e&&t===e||(this._activeSearches[t]=!1)}}var tc=n(13393),nc=n(17500),oc=n(30679),rc=n(62e3),ic=n(97358),ac=n(94734),sc=n(59739),lc=n(99745),cc=n(32125),uc=n(39745),dc=n(26353),pc=n(84013),fc=n(27001);const hc=(0,c.createContext)((()=>{throw new Error}));var mc=n(3219),gc=n(19702),vc=n(65872),yc=n(59386),bc=n(89e3),wc=n(78399),Sc=n(80303),Pc=n.n(Sc);const Ec=function(e){var t,o;const{formatMessage:r}=(0,Se.YB)(),i=c.useCallback((e=>e.stopPropagation()),[]),a=d()("PSPDFKit-Sidebar-Annotations-Item",e.layoutClassName,Pc().layout,{[Pc().selected]:e.isSelectedItem,[Pc().layoutNavigationDisabled]:e.navigationDisabled,"PSPDFKit-Sidebar-Annotations-Item-Selected":e.isSelectedItem});return c.createElement("div",{ref:e.itemRef},c.createElement(Je.Z,{onPointerUpCapture:i},c.createElement(c.Fragment,null,c.createElement("div",(0,ue.Z)({className:a,onClick:e.onPress},e.itemWrapperProps),e.icon,c.createElement("div",{className:Pc().layoutContent},e.children,(null===(t=e.showFooter)||void 0===t||t)&&(e.author||e.formattedDate)&&c.createElement("footer",{className:d()(Pc().footer,"PSPDFKit-Sidebar-Annotations-Footer")},c.createElement("p",null,e.author&&c.createElement("span",null,e.author,e.formattedDate?", ":""),e.formattedDate&&c.createElement("time",{dateTime:null===(o=e.date)||void 0===o?void 0:o.toISOString()},e.formattedDate)),e.additionalFooter)),e.isDeletable&&c.createElement("button",{className:d()(Pc().delete,"PSPDFKit-Sidebar-Annotations-Delete"),onClick:e.onDelete,"aria-label":r(ke.Z.delete)},c.createElement(Re.Z,{src:n(61019),role:"presentation"}))),c.createElement("div",{className:Pc().flagsContainer},e.isReadOnly&&c.createElement("div",{className:Pc().flagWrapper},c.createElement("div",{className:d()(Pc().lock,"PSPDFKit-Sidebar-Annotations-ReadOnly")},c.createElement(Re.Z,{src:n(65883),role:"presentation"})),c.createElement("div",{className:Pc().label,"aria-label":r(ke.Z.readOnlyAnnotationFlag)},r(ke.Z.readOnlyAnnotationFlag))),e.isLocked&&c.createElement("div",{className:Pc().flagWrapper},c.createElement("span",{className:d()(Pc().lock,"PSPDFKit-Sidebar-Annotations-Locked")},c.createElement(Re.Z,{src:n(65883),role:"presentation"})),c.createElement("span",{className:Pc().label,"aria-label":r(ke.Z.locked)},r(ke.Z.locked))),e.hasLockedContents&&c.createElement("div",{className:Pc().flagWrapper},c.createElement("span",{className:d()(Pc().lock,"PSPDFKit-Sidebar-Annotations-LockedContents")},c.createElement(Re.Z,{src:n(65883),role:"presentation"})),c.createElement("span",{className:Pc().label,"aria-label":r(ke.Z.lockedContents)},r(ke.Z.lockedContents)))))))},xc={highlighter:"highlighter",arrow:"arrow",callout:"textAnnotation","cloudy-rectangle":"cloudyRectangleAnnotation","dashed-rectangle":"dashedRectangleAnnotation","cloudy-ellipse":"cloudyEllipseAnnotation","dashed-ellipse":"dashedEllipseAnnotation","cloudy-polygon":"cloudyPolygonAnnotation","dashed-polygon":"dashedPolygonAnnotation","ellipse-area":"ellipseAreaMeasurement","rectangle-area":"rectangularAreaMeasurement","polygon-area":"polygonAreaMeasurement",distance:"distanceMeasurement",perimeter:"perimeterMeasurement"},Dc=e=>{const{formatMessage:t}=e.intl,n=xc[e.type]||`${e.type}Annotation`;return c.createElement(c.Fragment,null,c.createElement("button",{autoFocus:e.autoFocus},t(ke.Z[n])),","," ",t(ke.Z.linesCount,{arg0:e.annotation.lines.size}))},Cc=e=>{const t=e.annotation.text.value||"";let n=(0,I.aF)("xhtml"===e.annotation.text.format?(0,hn.KY)(t):t);const o=xc[e.type]||"textAnnotation";return 0===n.length&&(n=e.intl.formatMessage(ke.Z[o])),c.createElement("button",{autoFocus:e.autoFocus},n)},kc=e=>c.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(ke.Z[`${e.type}Annotation`])),Oc=e=>{const t=xc[e.type]||`${e.type}Annotation`;return c.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(ke.Z[t]))},Ac=e=>c.createElement("button",{autoFocus:e.autoFocus},e.annotation.formFieldName),Tc={text:Cc,callout:Cc,ink:Dc,highlighter:Dc,note:e=>{let t=(0,I.aF)(e.annotation.text.value||"");return 0===t.length&&(t=e.intl.formatMessage(ke.Z.noteAnnotation)),c.createElement("button",{autoFocus:e.autoFocus},t)},highlight:kc,underline:kc,strikeOut:kc,squiggle:kc,link:e=>{var t;return c.createElement("button",{autoFocus:e.autoFocus},(null===(t=e.annotation.action)||void 0===t?void 0:t.uri)||e.intl.formatMessage(ke.Z.linkAnnotation))},rectangle:Oc,"cloudy-rectangle":Oc,"dashed-rectangle":Oc,ellipse:Oc,"cloudy-ellipse":Oc,"dashed-ellipse":Oc,polygon:Oc,"cloudy-polygon":Oc,"dashed-polygon":Oc,polyline:Oc,line:Oc,arrow:Oc,image:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,I.aF)(e.annotation.description||"");return c.createElement(c.Fragment,null,c.createElement("button",{autoFocus:e.autoFocus},t(ke.Z[`${e.type}Annotation`])),n&&!o&&c.createElement("div",{title:t(ke.Z.filePath)+`: ${n}`},n),o&&c.createElement("div",null,o))},stamp:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,I.aF)((0,ac.vW)({annotation:e.annotation,intl:e.intl})||"");return c.createElement(c.Fragment,null,c.createElement("button",{autoFocus:e.autoFocus},t(ke.Z[`${e.type}Annotation`])),n&&!o&&c.createElement("div",{title:`${t(ke.Z.stampText)}: ${t(ke.Z[e.annotation.stampType])}`},`${t(ke.Z.stampText)}: ${t(ke.Z[e.annotation.stampType])}`),o&&c.createElement("div",null,o))},"form-text":Ac,"form-checkbox":Ac,"form-button":Ac,"form-signature":Ac,redaction:e=>c.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(ke.Z[`${e.type}Annotation`])),media:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,I.aF)(e.annotation.description||"");return c.createElement(c.Fragment,null,c.createElement("button",{autoFocus:e.autoFocus},t(ke.Z[`${e.type}Annotation`])),n&&!o&&c.createElement("div",{title:t(ke.Z.filePath)+`: ${n}`},n),o&&c.createElement("div",null,o))},perimeter:Oc,distance:Oc,"ellipse-area":Oc,"rectangle-area":Oc,"polygon-area":Oc};class Ic extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_itemRef",(e=>{var t,n;e&&(this._el=e,null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,e,this.props.annotation))})),(0,o.Z)(this,"onPress",(()=>{const{annotation:e,dispatch:t,onPress:n}=this.props;if(!this.props.navigationDisabled){if(t((0,mc.kN)(e.pageIndex,e.boundingBox)),this.props.isAnnotationReadOnly(e)||!(this.props.annotation instanceof de.x_)&&(this.props.annotation.readOnly||this.props.annotation.lockedContents||this.props.annotation.locked)){var o;if(this.props.focusedAnnotationIds&&this.props.focusedAnnotationIds.size>0)t((0,De.Oc)(null===(o=this.props.focusedAnnotationIds)||void 0===o?void 0:o.first()));return setTimeout((()=>{t((0,De.Q2)(e.id))}),100)}e instanceof de.x_?t((0,De.fz)()):Ke.Ni&&e instanceof de.Qi?t((0,De.VR)(e.id)):t((0,De.Df)((0,i.l4)([e.id]),null)),n&&n()}})),(0,o.Z)(this,"onDelete",(()=>{const{annotation:e,dispatch:t,navigationDisabled:n}=this.props;n||t((0,mc.kN)(e.pageIndex,e.boundingBox)),t((0,bt.d8)((0,i.l4)([e.id])))})),(0,o.Z)(this,"preventDeselect",(e=>e.stopPropagation()))}componentDidUpdate(e){var t,n;this._el&&e.onRenderItemCallback!==this.props.onRenderItemCallback&&(null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,this._el,this.props.annotation))}render(){const{annotation:e,intl:t,isSelectedAnnotation:n,annotationType:o,isAnnotationReadOnly:r,autoFocus:i,canDeleteAnnotationCP:a,dateTimeStringCallback:s}=this.props,{formatDate:l}=t,u=e.creatorName;let p=null;e.updatedAt.getTime()&&(s&&(p=s({dateTime:e.updatedAt,element:wc.Y.ANNOTATIONS_SIDEBAR,object:e})),null==p&&(p=l(e.updatedAt)));const f=Tc[o],h=d()("PSPDFKit-Sidebar-Annotations-Annotation",`PSPDFKit-Sidebar-Annotations-Annotation-${(0,hn.in)(o)}`,{"PSPDFKit-Sidebar-Annotations-Annotation-Selected":n}),m=!(e instanceof de.x_)&&!(e instanceof de.Hu)&&!e.locked&&!r(e)&&!Ke.Ni&&a(e),g=(0,Oe.Z)({type:o.toLowerCase(),className:d()(Pc().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return c.createElement(Ec,{itemRef:this._itemRef,layoutClassName:h,isSelectedItem:n,navigationDisabled:this.props.navigationDisabled,onPress:this.onPress,onDelete:this.onDelete,isDeletable:m,itemWrapperProps:{"data-annotation-id":e.id},icon:g,showFooter:!(e instanceof de.x_),author:u,formattedDate:p,date:e.updatedAt,isReadOnly:e.readOnly,isLocked:e.locked,hasLockedContents:e.lockedContents},c.createElement(f,{intl:t,annotation:e,type:o,autoFocus:i}))}}const Fc=(0,Se.XN)(Ic);var Mc=n(59780),_c=n(35860);const Nc=(0,Se.vU)({commentOptions:{id:"commentOptions",defaultMessage:"Comment Options",description:"Comment Options"},editContent:{id:"editContent",defaultMessage:"Edit Content",description:"Edit Content"},deleteCommentConfirmMessage:{id:"deleteCommentConfirmMessage",defaultMessage:"Are you sure you want to delete this comment?",description:'Message displayed in the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityLabel:{id:"deleteCommentConfirmAccessibilityLabel",defaultMessage:"Confirm comment deletion",description:'Accessibility label (title) for the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityDescription:{id:"deleteCommentConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the comment",description:'Accessibility description for the "Delete Comment" confirm dialog'},moreComments:{id:"moreComments",defaultMessage:"More comments",description:"More comments indicator in comments popover"}});const Rc=function(e){var t;const n=c.useRef(),{rootComment:o,commentsCount:r,onRenderItemCallback:s,annotation:l,onPress:u,navigationDisabled:p,isCommentReadOnly:f,dateTimeStringCallback:h,isSelectedAnnotation:m,canDeleteCommentCP:g}=e,v=(0,a.I0)(),{formatMessage:y,formatDate:b}=(0,Se.YB)(),[w,S]=c.useState(!1),P=c.useCallback((e=>{e&&(n.current=e,null==s||s(e,l))}),[l,s]),E=(0,_r.R9)((()=>{if(!p){if(v((0,mc.kN)(l.pageIndex,l.boundingBox)),f(o))return setTimeout((()=>{v((0,De.Q2)(l.id))}),100);v((0,De.Df)((0,i.l4)([l.id]),null)),u&&u()}})),x=(0,_r.R9)((()=>{p||v((0,mc.kN)(l.pageIndex,l.boundingBox)),S(!0)})),D=c.useCallback((()=>{v((0,zr.UM)(o)),S(!1)}),[o,v]),C=o.isAnonymous?y(ke.Z.anonymous):null!==(t=o.creatorName)&&void 0!==t?t:y(ke.Z.anonymous);let k=null;o.createdAt.getTime()&&(h&&(k=h({dateTime:o.createdAt,element:wc.Y.ANNOTATIONS_SIDEBAR,object:o})),null==k&&(k=b(o.createdAt,l.isCommentThreadRoot&&o?{hour12:!0,hour:"numeric",minute:"numeric",month:"numeric",day:"numeric",year:"numeric"}:void 0)));let O=null;r&&r>1&&(O=y(ke.Z.nMoreComments,{arg0:r-1}));const A=d()("PSPDFKit-Sidebar-Annotations-Comment",{"PSPDFKit-Sidebar-Annotations-Comment-Selected":m}),T=!f(o)&&!Ke.Ni&&g(o),F=(0,Oe.Z)({type:"comment",className:d()(Pc().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return c.createElement(c.Fragment,null,c.createElement(Ec,{itemRef:P,layoutClassName:A,isSelectedItem:m,navigationDisabled:p,onPress:E,onDelete:x,isDeletable:T,itemWrapperProps:{"data-annotation-id":l.id},icon:F,showFooter:!0,author:C,formattedDate:k,date:l.updatedAt,additionalFooter:l.isCommentThreadRoot&&O?c.createElement("span",null,O):null,isReadOnly:l.readOnly,isLocked:l.locked,hasLockedContents:l.lockedContents},c.createElement("button",{autoFocus:e.autoFocus},(0,I.aF)((0,hn.KY)((null==o?void 0:o.text.value)||"")))),w&&c.createElement(_c.Z,{onConfirm:D,onCancel:()=>{S(!1)},accessibilityLabel:y(Nc.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:y(Nc.deleteCommentConfirmAccessibilityDescription)},c.createElement("p",null,y(Nc.deleteCommentConfirmMessage))))},Lc=c.memo((function(e){let{closeOnPress:t=!1,navigationDisabled:n,annotations:o,comments:r,commentThreads:s,formFields:l,pages:u,isAnnotationReadOnly:p,isCommentReadOnly:f,selectedAnnotationIds:h,canDeleteAnnotationCP:m,canDeleteCommentCP:g,sidebarOptions:v,focusedAnnotationIds:y}=e;const[b,S]=c.useState(null),{includeContent:P}=v;c.useEffect((()=>{null==b||b.focus()}),[b]);const{formatMessage:E}=(0,Se.YB)(),x=(0,a.I0)(),D=(0,a.v9)((e=>e.dateTimeString)),C=(0,_r.R9)((()=>{n||t&&x((0,Kt.mu)())})),k=P.some((e=>e===w.sv)),O=d()(Pc().container,"PSPDFKit-Sidebar-Annotations"),A=c.useMemo((()=>o.filter((e=>null!==e.pageIndex&&(k&&e.isCommentThreadRoot||!e.isCommentThreadRoot&&null!==Bc(e,l)&&P.some((t=>e instanceof t)))))),[o,l,P,k]),T=c.useMemo((()=>u.reduce(((e,t)=>{const n=function(e){let t=e.filter((e=>e.isCommentThreadRoot)).sortBy((e=>e.boundingBox.top));return e.map((e=>{if(!e.isCommentThreadRoot)return e;const n=t.first();return t=t.shift(),n}))}((0,_.xp)(A,t));return 0===n.size?e:e.push(n)}),(0,i.aV)())),[u,A]),I=(0,_r.Bo)(b,T),F=(null==T?void 0:T.reduce(((e,t)=>e+t.size),0))||0,M=(0,_r.mP)(I,(e=>e.id),(e=>A.get(e)));return c.createElement("div",{className:O,role:"region","aria-label":E(ke.Z.annotations),ref:S},c.createElement("div",{className:"PSPDFKit-Sidebar-Header"},F>0?c.createElement("div",{className:d()(Pc().annotationCounter,"PSPDFKit-Sidebar-Annotations-Annotation-Counter")},E(ke.Z.annotationsCount,{arg0:F})):null),F>0&&T?c.createElement(c.Fragment,null,T.map(((e,t)=>{const o=e.first().pageIndex,i=u.get(o);(0,Pe.k)(i);const a=i.get("pageLabel");return c.createElement("section",{key:`Annotations-Sidebar-Page-${o}`},c.createElement("h1",{className:d()(Pc().pageNumber,"PSPDFKit-Sidebar-Annotations-Page-Number")},E(ke.Z.pageX,{arg0:a||o+1})),c.createElement("div",{className:d()(Pc().content,Pc().annotations,"PSPDFKit-Sidebar-Annotations-Container")},e.map(((e,o)=>{if(e.isCommentThreadRoot&&k){const i=s.get(e.id),a=null==i?void 0:i.first(),l=null==i?void 0:i.last();if(i&&l&&a){const s=r.get(l);if(s){const l=!(0,ol.kT)(s)&&(null==s?void 0:s.text.value).length>0?null==i?void 0:i.size:(null==i?void 0:i.size)-1,u=r.get(a);return c.createElement(Rc,{annotation:e,rootComment:u,commentsCount:l,onPress:C,isCommentReadOnly:f,isSelectedAnnotation:h.has(e.id),navigationDisabled:n,autoFocus:0===o&&0===t,canDeleteCommentCP:g,key:`Annotation-Info-${e.id}`,onRenderItemCallback:M,dateTimeStringCallback:D})}}}const i=Bc(e,l);return null!=i?c.createElement(Fc,{dispatch:x,annotation:e,annotationType:i,onPress:C,isAnnotationReadOnly:p,isSelectedAnnotation:h.has(e.id),navigationDisabled:n,autoFocus:0===o&&0===t,canDeleteAnnotationCP:m,key:`Annotation-Info-${e.id}`,onRenderItemCallback:M,dateTimeStringCallback:D,focusedAnnotationIds:y}):null}))))}))):c.createElement("div",{className:d()(Pc().container,Pc().empty,"PSPDFKit-Sidebar-Empty"),role:"region","aria-label":E(ke.Z.annotations)},E(jc.noAnnotations)))}));function Bc(e,t){var n;let o;const r=Number(e.cloudyBorderIntensity)>0,i=null===(n=e.strokeDashArray)||void 0===n?void 0:n.length;return e instanceof de.Zc?function(e){return"normal"===e.blendMode?0===e.opacity||e.lineWidth/e.opacity>40?"highlighter":"ink":e.lineWidth>15?"highlighter":"ink"}(e):e instanceof de.gd?e.callout?"callout":"text":e instanceof de.Qi?"note":e instanceof de.sK?"image":e instanceof de.GI?"stamp":e instanceof de.FV?"highlight":e instanceof de.xu?"underline":e instanceof de.R9?"strikeOut":e instanceof de.hL?"squiggle":e instanceof de.R1?"link":e instanceof de.b3?e.isMeasurement()?"rectangle-area":r?"cloudy-rectangle":i?"dashed-rectangle":"rectangle":e instanceof de.Xs?e.isMeasurement()?"ellipse-area":r?"cloudy-ellipse":i?"dashed-ellipse":"ellipse":e instanceof de.Hi?e.isMeasurement()?"polygon-area":r?"cloudy-polygon":i?"dashed-polygon":"polygon":e instanceof de.om?e.isMeasurement()?"perimeter":"polyline":e instanceof de.o9?function(e){if(e.isMeasurement())return"distance";if(!e.lineCaps)return"line";const t="openArrow"===e.lineCaps.start||"closedArrow"===e.lineCaps.start||"reverseOpenArrow"===e.lineCaps.start||"reverseClosedArrow"===e.lineCaps.start,n="openArrow"===e.lineCaps.end||"closedArrow"===e.lineCaps.end||"reverseOpenArrow"===e.lineCaps.end||"reverseClosedArrow"===e.lineCaps.end;return t||n?"arrow":"line"}(e):e instanceof de.x_?((0,Pe.k)(t),o=t.get(e.formFieldName),o instanceof Mc.$o||o instanceof Mc.Vi||o instanceof Mc.fB?"form-text":o instanceof Mc.rF?"form-checkbox":o instanceof Mc.XQ||o instanceof Mc.R0?"form-button":o instanceof Mc.Yo?"form-signature":null):e instanceof $.Z?"redaction":e instanceof de.Hu?"media":null}const jc=(0,Se.vU)({noAnnotations:{id:"noAnnotations",defaultMessage:"No Annotations",description:"Message shown when there is no annotations"}});var zc,Kc=n(24871),Zc=n(81619),Uc=n(5462),Vc=n(27435),Gc=n.n(Vc),Wc=n(44364),qc=n.n(Wc),Hc=n(93628),$c=n.n(Hc);function Xc(e){return tu[e]||ke.Z[e]}function Yc(e){let{item:t,isEnd:n,formatMessage:o}=e;return c.createElement(c.Fragment,null,c.createElement(q.TX,{tag:"div"},o(Xc(t))),c.createElement("svg",{viewBox:"0 0 8 4",style:{height:16,width:32}},c.createElement("g",{transform:n?"rotate(180 4,2)":void 0},Ot.O[t].startElement({fill:"transparent"}),zc||(zc=c.createElement("line",{x1:"3.5",y1:"2",x2:"8",y2:"2"})))))}function Jc(e){let{item:t,formatMessage:n}=e;const o=Zc.x.find((e=>e.id===t));return c.createElement(c.Fragment,null,c.createElement(q.TX,{tag:"div"},n(Xc(t))),c.createElement("svg",{viewBox:"0 0 16 4",style:{width:54,height:16}},c.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:o?o.dashArray:void 0,fill:"transparent"})))}class Qc extends c.PureComponent{constructor(){for(var e,t=arguments.length,n=new Array(t),r=0;r{const{annotation:t}=this.props,n={};return"none"!==e&&(n.start=e),"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.end&&(n.end=t.lineCaps.end),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"_onChangeDashArray",(e=>{const t=Zc.x.find((t=>t.id===e));return this.props.updateAnnotation({strokeDashArray:void 0!==t?t.dashArray:null})})),(0,o.Z)(this,"_onChangeEndLineCap",(e=>{const{annotation:t}=this.props,n={};return"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.start&&(n.start=t.lineCaps.start),"none"!==e&&(n.end=e),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"LineCapSelectButton",(function(t,n){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;return c.createElement(we.Z,(0,ue.Z)({is:"div"},s,{className:d()("PSPDFKit-Input-Dropdown-Button",$c().selectBox,e.props.styles.startLineCapSelect),name:"clickableBox",ref:e=>{s.ref(e),"function"==typeof r?r(e):r&&(r.current=e)}}),c.createElement(Yc,{item:null!==(a=null==l?void 0:l.label)&&void 0!==a?a:"",isEnd:o,formatMessage:t}),c.createElement("div",null,(0,Oe.Z)({type:"caret-"+n,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:d()($c().dropdownIcon)})))}})),(0,o.Z)(this,"LineCapItem",(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{var o;let{item:r,state:i,itemComponentProps:a,ref:s}=n;return c.createElement(we.Z,(0,ue.Z)({is:"div",className:d()(qc().root,Gc().root,(null==i?void 0:i.includes("selected"))&&$c().isSelected,(null==i?void 0:i.includes("focused"))&&$c().isSelected)},a,{ref:s}),c.createElement(Yc,{item:null!==(o=null==r?void 0:r.label)&&void 0!==o?o:"",isEnd:t,formatMessage:e}))}})),(0,o.Z)(this,"DashArrayButton",((e,t)=>n=>{var o;let{btnComponentProps:r,selectedItem:i}=n;return c.createElement(we.Z,(0,ue.Z)({is:"div"},r,{ref:r.ref,className:d()("PSPDFKit-Input-Dropdown-Button",$c().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox"}),c.createElement(Jc,{item:null!==(o=null==i?void 0:i.label)&&void 0!==o?o:"",formatMessage:e}),c.createElement("div",null,(0,Oe.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:d()($c().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>t=>{var n;let{item:o,state:r,itemComponentProps:i,ref:a}=t;return c.createElement(we.Z,(0,ue.Z)({is:"div",className:d()(qc().root,Gc().root,(null==r?void 0:r.includes("selected"))&&$c().isSelected,(null==r?void 0:r.includes("focused"))&&$c().isSelected),ref:a},i),c.createElement(Jc,{item:null!==(n=null==o?void 0:o.label)&&void 0!==n?n:"",formatMessage:e}))})),(0,o.Z)(this,"_startButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!1,this.props.innerRef)),(0,o.Z)(this,"_endButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!0)),(0,o.Z)(this,"_startItem",this.LineCapItem(this.props.intl.formatMessage)),(0,o.Z)(this,"_endItem",this.LineCapItem(this.props.intl.formatMessage,!0)),(0,o.Z)(this,"_dashArrayButton",this.DashArrayButton(this.props.intl.formatMessage,this.props.caretDirection)),(0,o.Z)(this,"_dashArrayItem",this.DashArrayItem(this.props.intl.formatMessage))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,caretDirection:o}=this.props,{strokeDashArray:r}=n,i=rt.Options.LINE_CAP_PRESETS,a={start:"none",end:"none"};"lineCaps"in n&&n.lineCaps&&(Kc.a.includes(n.lineCaps.start)&&(a.start=n.lineCaps.start),Kc.a.includes(n.lineCaps.end)&&(a.end=n.lineCaps.end)),i.includes(a.start)||(a.start="N/A"),i.includes(a.end)||(a.end="N/A");const s=i.map((e=>({value:e,label:e}))),l=r instanceof Array&&2===r.length?Zc.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===r[0]&&e.dashArray[1]===r[1])):Zc.x[0],u=Zc.x.map((e=>({value:e.id,label:e.id})));return c.createElement("div",{className:t.controlWrapper},c.createElement("div",{className:t.control},c.createElement(Uc.Z,{items:s,value:{value:a.start,label:a.start},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(ke.Z.startLineCap),className:d()("PSPDFKit-Annotation-Toolbar-StartLineCap",t.startLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:d()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._startButton,ItemComponent:this._startItem,onSelect:(e,t)=>{t.value&&this._onChangeStartLineCap(t.value)},frameWindow:this.props.frameWindow}),c.createElement(Uc.Z,{items:u,value:l?{label:l.id,value:l.id}:{label:"solid",value:"solid"},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(ke.Z.strokeDashArray),className:d()("PSPDFKit-Annotation-Toolbar-DashArray",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:d()(t.dropdownMenu,t.lineCapsDashArrayMenu),itemWidth:76,ButtonComponent:this._dashArrayButton,ItemComponent:this._dashArrayItem,onSelect:(e,t)=>{t.value&&this._onChangeDashArray(t.value)},frameWindow:this.props.frameWindow}),c.createElement(Uc.Z,{items:s,value:{label:a.end,value:a.end},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(ke.Z.endLineCap),className:d()("PSPDFKit-Annotation-Toolbar-EndLineCap",t.endLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:d()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._endButton,ItemComponent:this._endItem,onSelect:(e,t)=>{t.value&&this._onChangeEndLineCap(t.value)},frameWindow:this.props.frameWindow})))}}const eu=Qc,tu=(0,Se.vU)({square:{id:"square",defaultMessage:"Square",description:"Square line cap"},circle:{id:"circle",defaultMessage:"Circle",description:"Circle line cap"},diamond:{id:"diamond",defaultMessage:"Diamond",description:"Diamond line cap"},openArrow:{id:"openArrow",defaultMessage:"Open Arrow",description:"Open arrow line cap"},closedArrow:{id:"closedArrow",defaultMessage:"Closed Arrow",description:"Closed arrow line cap"},butt:{id:"butt",defaultMessage:"Butt",description:"Butt line cap"},reverseOpenArrow:{id:"reverseOpenArrow",defaultMessage:"Reverse Open Arrow",description:"Reverse open arrow line cap"},reverseClosedArrow:{id:"reverseClosedArrow",defaultMessage:"Reverse Closed Arrow",description:"Reverse closed arrow line cap"},slash:{id:"slash",defaultMessage:"Slash",description:"Slash line cap"},solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"}});var nu;const ou=74,ru={width:54,height:13.5,fill:"transparent"};const iu=Be.i1*Be.St;function au(e){let{item:t,lineStyleOptions:n,formatMessage:o}=e;const r=n.get(t);return c.createElement(c.Fragment,null,c.createElement(q.TX,{tag:"div"},o(cu[t])),r)}class su extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{calculateShapeBoundingBox:(0,L.sS)(this.props.annotation.constructor)}),(0,o.Z)(this,"DashArrayButton",(e=>{var t;let{btnComponentProps:n,selectedItem:o}=e;return c.createElement(we.Z,(0,ue.Z)({is:"div"},n,{className:d()("PSPDFKit-Input-Dropdown-Button",$c().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox",ref:e=>{n.ref(e),"function"==typeof this.props.innerRef?this.props.innerRef(e):this.props.innerRef&&(this.props.innerRef.current=e)}}),c.createElement(au,{item:null!==(t=null==o?void 0:o.label)&&void 0!==t?t:"solid",lineStyleOptions:this._lineStyleOptions,formatMessage:this.props.intl.formatMessage}),c.createElement("div",null,(0,Oe.Z)({type:"caret-"+this.props.caretDirection,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:d()($c().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>{var t;let{item:n,state:o,itemComponentProps:r,ref:i}=e;return c.createElement(we.Z,(0,ue.Z)({is:"div",className:d()(qc().root,Gc().root,(null==o?void 0:o.includes("selected"))&&$c().isSelected,(null==o?void 0:o.includes("focused"))&&$c().isSelected)},r,{ref:i}),c.createElement(au,{item:null!==(t=null==n?void 0:n.label)&&void 0!==t?t:"solid",lineStyleOptions:this._lineStyleOptions,formatMessage:this.props.intl.formatMessage}))})),(0,o.Z)(this,"_onChange",((e,t)=>{const{value:n}=t,{annotation:o}=this.props,r="cloudy"===n?Be.i1:0,i=Zc.x.find((e=>e.id===n)),a=((e,t,n)=>{if(e.constructor===de.Xs||e.constructor===de.b3){if(t>0&&!e.cloudyBorderIntensity)return e.boundingBox.grow(iu+e.strokeWidth/2);if(!t&&e.cloudyBorderIntensity>0)return e.boundingBox.grow(-(iu+e.strokeWidth/2))}return e.constructor===de.Hi?n(e.set("cloudyBorderIntensity",t)):n(e)})(o,r,this.state.calculateShapeBoundingBox);return this.props.updateAnnotation({strokeDashArray:void 0!==i&&Array.isArray(i.dashArray)&&2===i.dashArray.length?i.dashArray:null,cloudyBorderIntensity:r,cloudyBorderInset:r?w.eB.fromValue(iu+o.strokeWidth/2):o.cloudyBorderInset,boundingBox:a})})),(0,o.Z)(this,"_lineStyleOptions",function(){const e=new Map;return Zc.x.forEach((t=>{e.set(t.id,c.createElement("svg",{viewBox:"0 0 16 4",style:ru,key:t.id},c.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:t.dashArray})))})),e.set("cloudy",nu||(nu=c.createElement("svg",{viewBox:"0 0 16 4",style:ru,key:"cloudy"},c.createElement("path",{d:"M 1 2.23 A 2.125 2.125 0 0 1 4.67 1.68 A 2.125 2.125 0 0 0 4.35 2.23 A 2.125 2.125 0 0 1 8 1.68 A 2.125 2.125 0 0 0 7.68 2.23 A 2.125 2.125 0 0 1 11.33 1.68 A 2.125 2.125 0 0 0 11.02 2.23 A 2.125 2.125 0 1 1 14.14 4.80 A 2.125 2.125 0 0 0 13.55 4.54"})))),e}(this.props.intl.formatMessage))}static getDerivedStateFromProps(e){return{calculateShapeBoundingBox:(0,L.sS)(e.annotation.constructor)}}render(){const{intl:{formatMessage:e},styles:t,annotation:n,frameWindow:o}=this.props,{strokeDashArray:r,cloudyBorderIntensity:i}=n,a=Array.isArray(r)&&2===r.length&&Zc.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===r[0]&&e.dashArray[1]===r[1])),s=i>0?a||i!==Be.i1?"":"cloudy":a?a.id:r?"":"solid",l=Array.from(this._lineStyleOptions.keys()).map((e=>({label:e,value:e})));return c.createElement("div",{className:t.controlWrapper},c.createElement("div",{className:t.control},c.createElement(Uc.Z,{items:l,value:{label:s||"solid",value:s||"solid"},discreteDropdown:!1,isActive:!1,caretDirection:this.props.caretDirection,accessibilityLabel:e(ke.Z.strokeDashArray),className:d()("PSPDFKit-Annotation-Toolbar-LineStyle",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:d()(t.dropdownMenu,t.strokeDashArrayMenu),maxCols:1,itemWidth:ou,ButtonComponent:this.DashArrayButton,ItemComponent:this.DashArrayItem,onSelect:this._onChange,frameWindow:o})))}}const lu=su,cu=(0,Se.vU)({solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"},cloudy:{id:"cloudy",defaultMessage:"Cloudy border",description:"Cloudy border effect"}});var uu=n(2726);function du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const pu=c.forwardRef(((e,t)=>{let n=[],r=!1;Array.isArray(rt.Options.LINE_WIDTH_PRESETS)&&(n=rt.Options.LINE_WIDTH_PRESETS,r=!0);let i=!1,a=!1;e.annotation instanceof w.Zc&&(i=!0),e.annotation instanceof w.R1&&(a=!0);const{intl:{formatMessage:s},styles:l,annotation:u,type:p,caretDirection:f}=e,h=p?`PSPDFKit-${p}-Annotation-Toolbar-StrokeWidth`:"",m=d()("PSPDFKit-Annotation-Toolbar-StrokeWidth",p&&h);let g=1,v=40,y=i?u.lineWidth:a?u.borderWidth:u.strokeWidth;return r&&(g=0,v=n.length-1,y=n.indexOf(y)),c.createElement("div",{className:l.controlWrapper},c.createElement("div",{className:l.control},c.createElement(uu.Z,{name:"lineWidth",accessibilityLabel:e.accessibilityLabel||s(ke.Z.size),className:m,value:y,valueLabel:t=>{let o=t;if(r){if(-1===t)return"N/A";o=n[t]}return e.intl.formatMessage(ke.Z.numberInPt,{arg0:o.toFixed(0)})},min:g,max:v,step:1,onChange:t=>{let s=t;if(r&&(s=n[t]),i)return e.updateAnnotation({lineWidth:s});if(a)return e.updateAnnotation({borderWidth:s});if(e.annotation instanceof w.b3||e.annotation instanceof w.Xs){const t=s/2-e.annotation.strokeWidth/2,n=e.annotation.cloudyBorderInset?new w.eB({left:e.annotation.cloudyBorderInset.left+t,top:e.annotation.cloudyBorderInset.top+t,right:e.annotation.cloudyBorderInset.right+t,bottom:e.annotation.cloudyBorderInset.bottom+t}):null;return e.updateAnnotation(function(e){for(var t=1;tthis.props.updateAnnotation({opacity:e/100}))),(0,o.Z)(this,"valueLabel",(e=>`${Math.round(e)}%`))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,type:o,caretDirection:r}=this.props,i=o?`PSPDFKit-${o}-Annotation-Toolbar-Opacity`:"",a=d()("PSPDFKit-Annotation-Toolbar-Opacity",o&&i);return c.createElement("div",{className:t.controlWrapper},c.createElement("div",{className:t.control},c.createElement(uu.Z,{name:"opacity",accessibilityLabel:e(ke.Z.opacity),className:a,value:100*n.opacity,valueLabel:this.valueLabel,min:10,max:100,step:1,onChange:this.updateAnnotation,caretDirection:r,innerRef:this.props.innerRef})))}}const mu={LineCapsDashArrayComponent:eu,LineStyleComponent:lu,StrokeWidthComponent:fu,OpacityComponent:hu};var gu=n(11010),vu=n(66003),yu=n(16593),bu=n.n(yu);let wu=0;const Su=c.forwardRef((function(e,t){const n=c.useRef(wu++),{label:o,accessibilityLabel:r,onUpdate:i,onBlur:a,onFocus:s,onKeyDown:l,textStyles:u,disabled:p=!1,autoFocus:f=!0,name:h="name"}=e,m=c.useCallback((e=>{i&&i(e.target.value)}),[i]);return c.createElement("div",{className:e.styles.controlWrapper},c.createElement("div",{className:e.styles.control},c.createElement("div",{className:`PSPDFKit-Text-Input ${e.className||""} ${bu().root}`},e.label?c.createElement("label",{htmlFor:`${bu().root}-${n.current}`,className:bu().label},o):r?c.createElement(q.TX,{tag:"label",htmlFor:`${bu().root}-${n.current}`},r):null,c.createElement(q.oi,{className:d()(bu().input,e.styles.input),value:e.value,onChange:m,onBlur:a,onFocus:s,onKeyDown:l,autoFocus:f,selectTextOnFocus:!0,name:h,placeholder:e.placeholder,autoComplete:"off",id:`${bu().root}-${n.current}`,ref:t,style:u,disabled:p}))))}));var Pu=n(9437),Eu=n.n(Pu);const xu=c.forwardRef((function(e,t){const{intl:n,isEditing:o,showAnnotationNotes:r,isAnnotationNoteActive:i,hasAnnotationNote:a,onAnnotationNotePress:s,disabled:l}=e,{formatMessage:u}=n;return c.createElement(c.Fragment,null,r&&!o?c.createElement(gu.Z,{type:a||i?"note":"note-add",title:u(ke.Z.noteAnnotation),className:d()(Eu().button,Eu().annotationNoteButton,{[Eu().disableEditing]:l}),onPress:l?void 0:s,selected:i,ref:t}):null)}));var Du=n(24852),Cu=n(11378),ku=n(44706);function Ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Au(e){for(var t=1;t{let{annotationToolbarItems:t,builtInItems:n,btnFocusRefIfFocusedItem:o,onGroupExpansion:r,builtInToolbarProps:i={},expandedGroup:a,hasDesktopLayout:s,onGroupTransitionEnded:l,position:u,typeMap:p}=e;const f=(0,c.useMemo)((()=>t.every((e=>{if(Tu(e))return!1;if("spacer"===e.type)return!0;{const t=n.find((t=>t.type===e.type));return!(null==t||!t.hidden)}}))),[n,t]),h=a?n.find((e=>Iu(e)===a))||t.filter(Tu).find((e=>Iu(e)===a)):void 0,m=(0,c.useMemo)((()=>((e,t,n)=>{if(n)return e.map((e=>{const n=!Tu(e)&&t.find((t=>t.type===e.type));return Au(Au({},e),n&&{group:n.group,node:n.node,title:e.title||n.title,onPress:(t,o)=>{var r,i;null===(r=n.onPress)||void 0===r||r.call(n,t.nativeEvent,e.id),null===(i=e.onPress)||void 0===i||i.call(e,t.nativeEvent,o)},disabled:n.disabled&&e.disabled,className:d()(n.className,e.className)})})).find((e=>n===Iu(e)))})(t,n,a)),[t,a,n]);if(m)return c.createElement("div",{className:Eu().right},c.createElement(ku.Z,{onClose:()=>r(null),isPrimary:!1,position:u,onEntered:l,accessibilityLabel:m?m.title:void 0,className:Eu().expanded},m.node instanceof HTMLElement?c.createElement(Cu.Z,{node:m.node,className:m.className,onPress:m.onPress,title:m.title,disabled:m.disabled}):c.createElement("div",{className:m.className,onClick:e=>{var t;return null===(t=m.onPress)||void 0===t?void 0:t.call(m,e.nativeEvent,m.id)},title:m.title},m.node)));if(f)return null;const g=t.find((e=>{var t;return"spacer"!==e.type&&!(null!==(t=n.find((t=>t.type===e.type)))&&void 0!==t&&t.hidden)}));return c.createElement("form",{className:Eu().form,onSubmit:ar.PF},t.map(((e,t)=>{if("spacer"===e.type)return c.createElement("div",{key:e.type,className:d()("PSPDFKit-Annotation-Toolbar-Spacer",e.className),style:{display:"flex",flex:1},onClick:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t.nativeEvent,e.id)}});const l=n.find((t=>t.type===e.type)),u=(null==g?void 0:g.id)===e.id&&(null==g?void 0:g.type)===e.type;if(Tu(e)){const n="node"in e&&!!e.node&&c.createElement("div",{role:"button",ref:o(Iu(e),h,0===t&&!a),key:e.id},c.createElement(Cu.Z,{node:e.node,className:e.className,onPress:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled,variant:"annotationToolbar"})),i="icon"in e&&!!e.icon&&c.createElement("div",{role:"button",key:e.id,className:d()(Eu().button,Gc().root,qc().root,`${e.className}-Icon`),onClick:t=>{var n;"custom"===e.type&&e.node&&r(`custom-${e.id}`),null===(n=e.onPress)||void 0===n||n.call(e,t,e.id)},ref:o(Iu(e),h,u&&!a),title:e.title},(e=>"icon"in e?"string"==typeof e.icon?/{var n;return null===(n=e.onIconPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled}):void 0:null)(e));return s?n||i:i||n}if(!l||l.hidden)return null;const f=(null==p?void 0:p[e.type])||e.type,m="function"==typeof i?i(l):i;return l.group?c.createElement(c.Fragment,{key:l.type},c.createElement("div",{className:d()(l.className,{[Eu().disableEditing]:l.disabled})},c.createElement(gu.Z,(0,ue.Z)({type:f,icon:e.icon,title:e.title||l.title,onPress:t=>{var n,o;(r(l.group||null),s)?null===(n=e.onPress)||void 0===n||n.call(e,t,e.id):null===(o=e.onIconPress)||void 0===o||o.call(e,t,e.id)}},m,{className:d()(m.className,e.className),ref:o(Iu(l),h,u&&!a)})),l.node),!l.hideSeparator&&c.createElement("div",{className:Eu().separator})):c.createElement("div",{className:d()(l.className,{[Eu().disableEditing]:l.disabled},e.className),key:l.type,onClick:t=>{var n;null===(n=e.onPress)||void 0===n||n.call(e,t.nativeEvent,e.id)},title:e.title||l.title},l.node)})))};var Mu=n(77528);function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nu(e){for(var t=1;t{r&&(t.rects.size>0&&n?(o((0,bt.gX)(i)),o((0,Kt.aw)()),o((0,De.vR)())):e.updateAnnotation(i,"redaction"))})),m=(0,_r.R9)((()=>(o((0,Kt.fq)()),new Promise(((e,t)=>(o((0,Du.g)((()=>{o((0,Kt.Di)()),e()}),(e=>{o((0,Kt.Di)()),t(e)}))),e)))))),{position:g,intl:v}=e,{formatMessage:y}=v,b={updateAnnotation:h,annotation:t,styles:Eu(),intl:v,caretDirection:"bottom"===g?"up":"down"},w=[{node:c.createElement(vu.Z,(0,ue.Z)({},b,{record:t,colorProperty:"fillColor",onChange:h,className:"PSPDFKit-Redaction-Annotation-Toolbar-Fill-Color",accessibilityLabel:y(ke.Z.fillColor),removeTransparent:!0,keepOpacity:!0,frameWindow:e.frameWindow,innerRef:s("fillColor",!a),lastToolbarActionUsedKeyboard:u,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:y(ke.Z.fillColor),type:"fill-color",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Fill-Color"),group:"fillColor",disabled:!r,hideSeparator:!0},{node:c.createElement("div",{style:{display:"flex"}},c.createElement(Su,{accessibilityLabel:y(ke.Z.overlayText),placeholder:y(ke.Z.insertOverlayText),className:Eu().overlayTextInput,value:t.overlayText||"",onUpdate:e=>{h({overlayText:e})},styles:Nu(Nu({},Eu()),{},{controlWrapper:Eu().controlWrapperAutoWidth,input:Eu().overlayInput}),ref:s("overlayText")}),c.createElement(vu.Z,(0,ue.Z)({},b,{record:t,colorProperty:"color",onChange:h,className:"PSPDFKit-Redaction-Annotation-Toolbar-Color",removeTransparent:!0,accessibilityLabel:y(ke.Z.color),keepOpacity:!0,styles:Nu(Nu({},Eu()),{},{controlWrapper:Eu().controlWrapperAutoWidth}),frameWindow:e.frameWindow,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),c.createElement(q.bK,{label:y(ke.Z.repeatText),value:Boolean(t.repeatOverlayText),onUpdate:e=>{h({repeatOverlayText:e})},styles:Nu(Nu({},Eu()),{},{controlWrapper:Eu().controlWrapperAutoWidth})})),title:y(ke.Z.overlayText),group:"overlayText",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Overlay-Text",Eu().overlayTextMargin),disabled:!e.canEditAnnotationCP,type:"overlay-text"},{node:c.createElement(vu.Z,(0,ue.Z)({},b,{record:t,colorProperty:"outlineColor",onChange:h,className:"PSPDFKit-Redaction-Annotation-Toolbar-Outline-Color",accessibilityLabel:y(ke.Z.outlineColor),frameWindow:e.frameWindow,innerRef:s("outlineColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:y(ke.Z.outlineColor),group:"outlineColor",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Outline-Color"),disabled:!e.canEditAnnotationCP,type:"outline-color"},{node:c.createElement(mu.OpacityComponent,(0,ue.Z)({},b,{innerRef:s("opacity")})),title:y(ke.Z.opacity),group:"opacity",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),disabled:!e.canEditAnnotationCP,type:"opacity"},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(p),title:y(ke.Z.delete),className:d()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!i}),onPress:i?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===t.pageIndex||!!a||f},{node:c.createElement("div",{className:d()(Eu().applyRedactionsWrapper)},c.createElement(gu.Z,{type:"applyRedaction",title:y(ke.Z.applyRedactions),className:d()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Apply-Redactions",Eu().button,Eu().buttonNoBorder,Eu().applyRedactionsButton),onPress:m})),type:"apply-redactions",hidden:null===t.pageIndex||!!a||f},{node:c.createElement(xu,{intl:v,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),disabled:!e.canEditAnnotationCP,hidden:!e.showAnnotationNotes||n,type:"annotation-note"}],S={"overlay-text":t.repeatOverlayText?"redaction-text-repeating":"redaction-text-single","outline-color":"border-color"},P={presentational:e.viewportWidth>Be.GI,disabled:Boolean(a),className:d()(Eu().button,Eu().buttonNoBorder)};return c.createElement("div",{className:d()("PSPDFKit-Redaction-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:p,builtInItems:w,btnFocusRefIfFocusedItem:l,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:P,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:a,onGroupTransitionEnded:e.onGroupTransitionEnded,position:g,typeMap:S}))}));const Lu=Ru,Bu=c.memo((function(e){const{annotation:t,intl:n,position:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:l}=e,u=(0,_r.R9)((t=>e.updateAnnotation(t,"stamp"))),{formatMessage:p}=n,f=[{node:c.createElement(mu.OpacityComponent,{intl:n,type:"Image",styles:Eu(),annotation:t,updateAnnotation:u,caretDirection:"bottom"===o?"up":"down",innerRef:i("opacity",!r)}),title:p(ke.Z.opacity),type:"opacity",disabled:!e.canEditAnnotationCP,group:"opacity",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(l),title:p(ke.Z.delete),className:d()("PSPDFKit-Stamp-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",disabled:null===e.annotation.pageIndex},{node:c.createElement(xu,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",disabled:!e.showAnnotationNotes}];return c.createElement("div",{className:d()("PSPDFKit-Stamp-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:l,builtInItems:f,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:Eu().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:o}))}));const ju=Bu,zu=c.memo((function(e){const{annotation:t,intl:n,position:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:l}=e,u=(0,_r.R9)((t=>e.updateAnnotation(t,"image"))),{formatMessage:p}=n,f=[{node:c.createElement(mu.OpacityComponent,{intl:n,type:"Image",styles:Eu(),annotation:t,updateAnnotation:u,caretDirection:"bottom"===o?"up":"down",innerRef:i("opacity",!r)}),title:p(ke.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement(gu.Z,{type:"counterclockwise",title:p(ke.Z.rotateCounterclockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Counterclockwise ${Eu().button} ${Eu().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,_.eJ)(e.annotation,e.selectedAnnotationPageSize,_.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:c.createElement(gu.Z,{type:"clockwise",title:p(ke.Z.rotateClockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Clockwise ${Eu().button} ${Eu().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,_.eJ)(e.annotation,e.selectedAnnotationPageSize,_.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(l),title:p(ke.Z.delete),className:d()("PSPDFKit-Image-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:c.createElement(xu,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.areOnlyElectronicSignaturesEnabled}];return c.createElement("div",{className:d()("PSPDFKit-Image-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:l,builtInItems:f,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:Eu().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:o}))}));const Ku=zu;var Zu=n(927),Uu=n.n(Zu);const Vu=["Tab","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"];class Gu extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{keyboardFocus:!!this.props.lastToolbarActionUsedKeyboard}),(0,o.Z)(this,"_handleKeyUp",(e=>{Vu.includes(e.key)&&this.setState({keyboardFocus:!0})})),(0,o.Z)(this,"_handlePointerUp",(()=>{this.setState({keyboardFocus:!1})})),(0,o.Z)(this,"shouldComponentUpdate",Ce.O)}componentDidMount(){var e;const t=null===(e=this.props.innerRef)||void 0===e||null===(e=e.current)||void 0===e?void 0:e.parentNode;t&&t.focus()}render(){const{colorPresets:e,activeColor:t,innerRef:n}=this.props,{formatMessage:o}=this.props.intl;return this.props.colorPresets.length<2?null:c.createElement("div",{className:d()("PSPDFKit-Input-ColorPicker",this.props.className,Uu().root),role:"radiogroup","aria-label":this.props.accessibilityLabel,onKeyUp:this._handleKeyUp,onPointerUp:this._handlePointerUp,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||this.setState({keyboardFocus:!1})}},e.map(((e,r)=>{const i=e.color===t||e.color&&t&&e.color.equals(t),a=d()({[Uu().input]:!0,[Uu().inputIsActive]:i,"PSPDFKit-Input-ColorPicker-Label":!0,"PSPDFKit-Input-ColorPicker-Label-active":i,[Uu().focusRing]:this.state.keyboardFocus&&i}),s=d()({[Uu().swatch]:!0,[Uu().swatchIsTransparent]:!e.color,[Uu().swatchIsWhite]:!e.color||e.color.equals(w.Il.WHITE),"PSPDFKit-Input-ColorPicker-Swatch":!0}),l=e.color?e.color.toCSSValue():null;let u=e.localization.defaultMessage;null!=l&&(e.localization.id?u=o(e.localization):null!=ke.Z[l]&&(u=o(ke.Z[l])));const p=e.color&&e.color.toCSSValue();return c.createElement("label",{className:a,key:r,title:u,"aria-label":u},c.createElement("span",{className:s,style:{backgroundColor:p||"transparent"}}),c.createElement(q.TX,null," ",u," "),c.createElement(q.TX,{tag:"input",type:"radio",name:Uu().root,value:r,checked:!!i,onChange:t=>{t.target.checked&&this.props.onClick(e.color)},ref:i&&n?n:void 0}))})))}}(0,o.Z)(Gu,"defaultProps",{className:""});const Wu=(0,Se.XN)(Gu);var qu=n(86617);const Hu=c.forwardRef((function(e,t){let{value:n="normal",onChange:o,className:r,caretDirection:i,frameWindow:a}=e;const{formatMessage:s}=(0,Se.YB)(),l=Object.keys(qu.b).map((e=>({value:e,label:e}))),u=c.useCallback($u(s,i),[s,i]),p=c.useCallback(Xu(s),[s]);return c.createElement(c.Fragment,null,c.createElement(Uc.Z,{items:l,value:{label:n,value:n},discreteDropdown:!1,isActive:!1,caretDirection:i,accessibilityLabel:s(ke.Z.blendMode),className:d()(Eu().blendModeSelect,r,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:Eu().dropdownMenu,ButtonComponent:u,ItemComponent:p,onSelect:(e,t)=>{if(t.value){const e=qu.b[t.value];o(e)}},frameWindow:a,ref:t}),c.createElement("div",{className:d()(Eu().fontSizeNativeFlexbox)},c.createElement("div",{className:Eu().nativeDropdown},c.createElement("select",{"aria-label":s(ke.Z.blendMode),className:"PSPDFKit-Input-Dropdown-Select",value:n,onChange:e=>{if(void 0!==e.target.value){const t=qu.b[e.target.value];o(t)}},ref:t},l.map((e=>c.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},s(Yu[e.label]))))))))})),$u=(e,t)=>n=>{let{btnComponentProps:o,selectedItem:r}=n;return c.createElement(we.Z,(0,ue.Z)({is:"div"},o,{ref:o.ref,className:d()("PSPDFKit-Input-Dropdown-Button ",$c().selectBox,Eu().selectBox),style:{minWidth:"100px"}}),c.createElement("span",null,null!=r&&r.label?e(Yu[r.label]):null),c.createElement("div",null,(0,Oe.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12},className:d()($c().dropdownIcon)})))},Xu=e=>t=>{let{item:n,state:o,itemComponentProps:r,ref:i}=t;return c.createElement(we.Z,(0,ue.Z)({is:"div",ref:i,className:d()($c().item,{[$c().isSelected]:(null==o?void 0:o.includes("selected"))||(null==o?void 0:o.includes("focused"))}),name:null==n?void 0:n.label},r),null!=n&&n.label?e(Yu[n.label]):null)},Yu=(0,Se.vU)({normal:{id:"normal",defaultMessage:"Normal",description:"Blend Mode Normal"},multiply:{id:"multiply",defaultMessage:"Multiply",description:"Blend Mode Multiply"},screen:{id:"screenBlend",defaultMessage:"Screen",description:"Blend Mode Screen"},overlay:{id:"overlay",defaultMessage:"Overlay",description:"Blend Mode Overlay"},darken:{id:"darken",defaultMessage:"Darken",description:"Blend Mode Darken"},lighten:{id:"lighten",defaultMessage:"Lighten",description:"Blend Mode Lighten"},colorDodge:{id:"colorDodge",defaultMessage:"Color Dodge",description:"Blend Mode Color Dodge"},colorBurn:{id:"colorBurn",defaultMessage:"Color Burn",description:"Blend Mode Color Burn"},hardLight:{id:"hardLight",defaultMessage:"Hard Light",description:"Blend Mode Hard Light"},softLight:{id:"softLight",defaultMessage:"Soft Light",description:"Blend Mode Soft Light"},difference:{id:"difference",defaultMessage:"Difference",description:"Blend Mode Difference"},exclusion:{id:"exclusion",defaultMessage:"Exclusion",description:"Blend Mode Exclusion"},hue:{id:"hue",defaultMessage:"Hue",description:"Blend Mode Hue"},saturation:{id:"saturation",defaultMessage:"Saturation",description:"Blend Mode Saturation"},color:{id:"color",defaultMessage:"Color",description:"Blend Mode Color"},luminosity:{id:"luminosity",defaultMessage:"Luminosity",description:"Blend Mode Luminosity"}}),Ju=c.memo((function(e){const t=(0,_r.R9)((t=>{const{annotation:n,isEditing:o,dispatch:r,variantAnnotationPresetID:i,canEditAnnotationCP:a}=e;if(a)if(n.rects.size>0&&o)r((0,bt.gX)(t)),r((0,Kt.d5)()),r((0,De.vR)());else{const o=i||X.hD.get(n.constructor);e.updateAnnotation(t,o)}})),{position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,lastToolbarActionUsedKeyboard:l,annotationToolbarItems:u}=e,{formatMessage:p}=e.intl,f=rt.Options.TEXT_MARKUP_COLOR_PRESETS,h=rt.Options.HIGHLIGHT_COLOR_PRESETS,m=o instanceof w.FV?h:f,g=[{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(Wu,{className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Color",accessibilityLabel:p(ke.Z.color),colorPresets:m,activeColor:o.color,onClick:e=>t({color:e}),innerRef:i("color",!r),lastToolbarActionUsedKeyboard:l}))),title:p(ke.Z.color),group:"color",type:"color",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Color")},{node:c.createElement(mu.OpacityComponent,{intl:e.intl,type:"Text-Markup",styles:Eu(),annotation:o,updateAnnotation:e=>t(e),caretDirection:"bottom"===n?"up":"down",innerRef:i("opacity")}),title:p(ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(Hu,{value:o.blendMode,className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===n?"up":"down",frameWindow:e.frameWindow,ref:i("blendMode")}))),title:p(ke.Z.blendMode),group:"blendMode",type:"blend-mode",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode")},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(u),title:p(ke.Z.delete),className:d()("PSPDFKit-Text-Markup-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r||e.isEditing},{node:c.createElement(xu,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],v={className:Eu().button,presentational:e.viewportWidth>=Be.GI,disabled:!!r};return c.createElement("div",{className:d()("PSPDFKit-Text-Markup-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:u,builtInItems:g,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:v,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:{color:"border-color"}}))}));const Qu=Ju;var ed=n(38623),td=n(47751),nd=n(61252),od=n.n(nd),rd=n(70190),id=n.n(rd);const ad=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return c.createElement(sd,{item:t,state:n,fontFamily:void 0,itemComponentProps:o,ref:r})},sd=c.forwardRef(((e,t)=>{var n;let{item:o,state:r,fontFamily:i,itemComponentProps:a,width:s}=e;return c.createElement(we.Z,(0,ue.Z)({is:"div",className:d()($c().item,od().item,{[$c().isSelected]:(null==r?void 0:r.includes("selected"))||(null==r?void 0:r.includes("focused"))}),name:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,style:{fontFamily:i,width:s},ref:t},a),null!=r&&r.includes("selected")?c.createElement(Re.Z,{src:id(),className:od().icon}):c.createElement("span",{className:od().icon}),null==o?void 0:o.label)})),ld=e=>function(t){var n;let{btnComponentProps:o,selectedItem:r,caretDirection:i,disabled:a,isOpen:s}=t;const l=c.useRef(),{formatMessage:u}=(0,Se.YB)();c.useLayoutEffect((()=>{l.current&&(l.current.value=(null==r?void 0:r.label)||"")}),[r]);const p=c.useCallback((()=>{var t;const n=null===(t=l.current)||void 0===t?void 0:t.value;if(n&&l.current&&n!==(null==r?void 0:r.label)){const t=parseFloat(n);var o,i,a;if(Number.isNaN(t))l.current.value=null!==(o=null==r?void 0:r.label)&&void 0!==o?o:"";else e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!1})}}),[null==r?void 0:r.label]);return c.createElement("div",{className:d()(od().wrapper)},c.createElement(Su,{accessibilityLabel:u(ke.Z.fontSize),className:od().textInput,onBlur:p,onKeyDown:t=>{var n,o;const r=null!==(n=null===(o=l.current)||void 0===o?void 0:o.value)&&void 0!==n?n:"0";if("ArrowUp"===t.key){var i,a;const t=parseFloat(r)+1;e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!0})}else if("ArrowDown"===t.key){var s,c;const t=Math.max(0,parseFloat(r)-1);e({selectedItem:{label:null!==(s=t.toString())&&void 0!==s?s:"",value:null!==(c=t.toString())&&void 0!==c?c:""},preventFocusShift:!0})}else"Enter"===t.key&&(t.preventDefault(),p())},onFocus:()=>{Ke.G6&&setTimeout((()=>{l.current&&l.current.setSelectionRange(0,l.current.value.length)}),100)},name:"fontSize",styles:{input:d()({[od().inputDisabled]:a},od().textInputField)},disabled:a,ref:l,autoFocus:!1}),c.createElement("button",(0,ue.Z)({},o,{ref:o.ref,key:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,className:d()("PSPDFKit-Input-Dropdown-Button",$c().selectBox,od().arrowDropdownBtn,od().fontSizeDropdownBtn,{[od().inputDisabled]:a,[$c().disabled]:a}),disabled:a}),c.createElement(q.TX,null,u(ke.Z.fontSize)),c.createElement("div",null,(0,Oe.Z)({type:`caret-${i}`,style:{width:12,height:12,flexBasis:12},className:d()($c().dropdownIcon,{[$c().isOpen]:s})}))))},cd=function(e){const{disabled:t=!1}=e;return c.createElement(Uc.Z,{frameWindow:e.frameWindow,items:e.items,value:e.value,className:e.className,maxCols:1,isActive:!1,caretDirection:e.caretDirection,disabled:t,menuClassName:d()(e.menuClass,od().dropdownMenu),ButtonComponent:ld(e.onSelect),ItemComponent:ad,onSelect:(t,n)=>{e.onSelect({selectedItem:n,preventFocusShift:!1})},menuPositionOffsets:{top:-1}})},ud=c.forwardRef((function(e,t){var o,r;const{caretDirection:i,onChange:a,frameWindow:s,intl:l,styles:u,fontSizes:p,fontFamilyItems:f,isBold:h=!1,isItalic:m=!1,isUnderline:g=!1,currentFontFamily:v,currentFontSize:y,currentHorizontalAlign:b,currentVerticalAlign:w,showAlignmentOptions:S,showFontStyleOptions:P,disabled:E=!1,showUnderline:x=!1}=e,{formatMessage:D}=l,C=c.useCallback(fd(150,i,u,E,u.fontFamily),[i,u,E]),k=p.map((e=>({label:e.toString(),value:e.toString(),disabled:!1}))),O=f.map((e=>{var t,n;return c.createElement("option",{key:null!==(t=e.value)&&void 0!==t?t:e.label,value:null!==(n=e.value)&&void 0!==n?n:e.label,disabled:e.disabled},e.label)}));return c.createElement("div",{className:u.controlWrapper},c.createElement("div",{className:d()(u.control,u.textFormatControls)},c.createElement("div",{className:d()(u.fontFamilyNativeFlexbox)},c.createElement("div",{className:u.nativeDropdown},c.createElement("select",{"aria-label":D(ke.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:null!=v?v:"",onChange:e=>{void 0!==e.target.value&&a({modification:{font:e.target.value}})},ref:t,disabled:E},O,f.some((e=>e.value===v))?null:c.createElement("option",{style:{display:"none"}},v)))),c.createElement(Uc.Z,{items:f,value:v?{label:v,value:v}:null,accessibilityLabel:D(ke.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:i,className:d()(e.fontFamilyClasses,u.fontFamilySelect),menuClassName:d()(u.dropdownMenu,e.fontFamilyMenuClasses),ButtonComponent:C,ItemComponent:pd,onSelect:(e,t)=>{null!=t.value&&a({modification:{font:t.value}})},frameWindow:s,disabled:E}),c.createElement(cd,{items:k,value:{label:y?y.toString():"",value:(null!=y?y:"").toString()||""},frameWindow:s,className:d()(u.fontSizeSelect,e.fontSizeClasses),menuClass:d()(e.fontSizeMenuClasses),caretDirection:i,disabled:E,onSelect:e=>{let{selectedItem:t,preventFocusShift:n}=e;null!=t.value&&a({modification:{fontSize:Number(t.value)},preventFocusShift:n})}}),P?c.createElement(c.Fragment,null,c.createElement(q.zx,{className:d()(u.fontStyleBtn,u.fontStyleBtnBorderless,{[u.activeFontStyleBtn]:h}),style:{marginRight:8},title:D(ke.Z.bold),onClick:()=>{a({modification:{bold:!h}})},disabled:E,"aria-pressed":h},c.createElement(Re.Z,{src:n(99604)}),c.createElement(q.TX,null,D(ke.Z.bold))),c.createElement(q.zx,{className:d()(u.fontStyleBtn,u.fontStyleBtnBorderless,{[u.activeFontStyleBtn]:m}),onClick:()=>{a({modification:{italic:!m}})},disabled:E,title:D(ke.Z.italic),"aria-pressed":m},c.createElement(Re.Z,{src:n(99082)}),c.createElement(q.TX,null,D(ke.Z.italic))),x&&c.createElement(q.zx,{className:d()(u.fontStyleBtn,u.fontStyleBtnBorderless,{[u.activeFontStyleBtn]:g}),style:{marginLeft:8},onClick:()=>{a({modification:{underline:!g}})},disabled:E,title:D(ke.Z.underline),"aria-pressed":g},c.createElement(Re.Z,{src:n(80394)}),c.createElement(q.TX,null,D(ke.Z.underline)))):null,S?c.createElement(c.Fragment,null,c.createElement("span",{className:u.radioGroupWrapper},c.createElement(q.Ee,{inputName:"horizontalAlign",label:D(ke.Z.horizontalAlignment),selectedOption:null!=b?b:"",labelClassNamePrefix:null!==(o=e.horizontalAlignClasses)&&void 0!==o?o:"",options:["left","center","right"].map((e=>({value:e,label:D(ke.Z[`alignment${(0,hn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:e=>a({modification:{horizontalAlign:e}}),disabled:E})),c.createElement(q.Ee,{inputName:"verticalAlign",label:D(ke.Z.verticalAlignment),selectedOption:null!=w?w:"",labelClassNamePrefix:null!==(r=e.verticalAlignClasses)&&void 0!==r?r:"",options:["top","center","bottom"].map((e=>({value:e,label:D(ke.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:e=>a({modification:{verticalAlign:e}}),disabled:E})):null))})),dd=c.forwardRef(((e,t)=>{var n;let{item:o,state:r,fontFamily:i,itemComponentProps:a,width:s}=e;return c.createElement(we.Z,(0,ue.Z)({is:"div",className:d()($c().item,{[$c().isSelected]:(null==r?void 0:r.includes("selected"))||(null==r?void 0:r.includes("focused"))}),name:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,style:{fontFamily:i,width:s},ref:t},a),null==o?void 0:o.label)})),pd=e=>{let{item:t,state:n,itemComponentProps:o}=e;return c.createElement(dd,{item:t,state:n,fontFamily:null==t?void 0:t.label,itemComponentProps:o})},fd=(e,t,n,o,r)=>i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;return c.createElement("button",(0,ue.Z)({},s,{ref:s.ref,key:null!==(a=null==l?void 0:l.value)&&void 0!==a?a:null==l?void 0:l.label,className:d()("PSPDFKit-Input-Dropdown-Button",$c().selectBox,n.selectBox,{[Gc().isDisabled]:o,[n.controlIsDisabled]:o,[$c().disabled]:o}),style:{width:e},disabled:o}),c.createElement("span",{className:r},null==l?void 0:l.label),c.createElement("div",null,(0,Oe.Z)({type:`caret-${t}`,style:{width:12,height:12,flexBasis:12},className:d()($c().dropdownIcon)})))};var hd=n(56939),md=n.n(hd);function gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vd(e){for(var t=1;te-t)):p,m=ed.vt.toArray().map((e=>({label:e,value:e}))),g=m.concat(u.toArray().map((e=>({label:e,value:e}))).filter((e=>!m.some((t=>t.value===e.value)))));if(!ed.vt.has(n.font)&&!u.has(n.font)&&""!==n.font.trim()){const e=d(ke.Z.fontFamilyUnsupported,{arg0:n.font});g.push({label:e,value:e,disabled:!0})}return c.createElement(ud,{onChange:e=>{let{modification:t}=e;return r(t)},caretDirection:o,frameWindow:i,ref:t,intl:a,styles:vd(vd({},s),{},{fontStyleBtn:md().fontStyleBtn,fontStyleBtnBorderless:md().fontStyleBtnBorderless,activeFontStyleBtn:md().activeFontStyleBtn}),fontSizes:h,fontFamilyItems:g,showAlignmentOptions:!0,showFontStyleOptions:l,showUnderline:l,isBold:e.selectedIsBold,isItalic:e.selectedIsItalic,isUnderline:e.selectedIsUnderline,currentFontFamily:n.font,currentFontSize:f,currentHorizontalAlign:n.horizontalAlign,currentVerticalAlign:n.verticalAlign,fontFamilyClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Family",fontSizeClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Size",horizontalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Vertical-Alignment",inlineStyleClasses:"PSPDFKit-Text-Annotation-Toolbar-Inline-Style"})}));function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function wd(e){for(var t=1;t{if(!e.canEditAnnotationCP)return;let n=e.annotation.merge(t);if((0,_.Vc)(n))e.updateAnnotation(t);else if(e.selectedAnnotationPageSize&&(t.fontSize||t.font||t.text&&"xhtml"===t.text.format)){const{rotation:o}=n;let r=(0,Ue.h4)(n);const i=r.boundingBox.getCenter();r=(0,un.Zv)(r.set("rotation",0),e.selectedAnnotationPageSize,e.zoomLevel),r=(0,un.XA)(r,e.zoomLevel);const a=new w.E9({x:r.boundingBox.getCenter().x-i.x,y:r.boundingBox.getCenter().y-i.y}),s=a.rotate(o),l=new w.E9({x:s.x-a.x,y:s.y-a.y});r=r.update("boundingBox",(e=>null==e?void 0:e.translate(l))),n=(0,Ue.az)(r.set("rotation",o)),e.updateAnnotation(Ed(Ed({},t),{},{isFitting:n.isFitting,boundingBox:n.boundingBox}))}else{const{isFitting:o}=(0,un.XA)((0,Ue.h4)(n).set("rotation",0),e.zoomLevel);e.updateAnnotation(Ed(Ed({},t),{},{isFitting:o}))}})),{activeTextStyle:i,updateAnnotationOrEditorText:a,selectedIsUnderline:s,selectedIsBold:l,selectedIsItalic:u}=function(e){let{editor:t,frameWindow:n,updateAnnotation:o,text:r,isRichText:i}=e;const[a,s]=(0,c.useState)(null),[l,u]=(0,c.useState)(!1),[d,p]=(0,c.useState)(!1),[f,h]=(0,c.useState)(!1),m=(0,c.useCallback)((()=>{t&&(u(q.ri.isMarkActive(t,"bold")),p(q.ri.isMarkActive(t,"italic")),h(q.ri.isMarkActive(t,"underline")))}),[t]),g=(0,c.useCallback)((()=>{if(!t||!i)return;const e=(0,hn.BK)(q.ri.getSelectedNodesColor(t,"fontColor")),n=(0,hn.BK)(q.ri.getSelectedNodesColor(t,"backgroundColor"));s({fontColor:e?w.Il.fromHex(e):Sd,backgroundColor:n?w.Il.fromHex(n):null}),m()}),[t,m,i]);t&&(t.onSelectionChange=g,t.onValueChange=()=>{m(),g()}),(0,c.useEffect)((()=>{var e;if(i&&t)return null===(e=n.document)||void 0===e||e.addEventListener("keydown",o),()=>{var e;null===(e=n.document)||void 0===e||e.removeEventListener("keydown",o)};function o(e){t&&(!e.ctrlKey&&!e.metaKey||"u"!==e.key&&"i"!==e.key&&"b"!==e.key||m())}}),[t,n,i,m]);const v=(0,c.useCallback)((e=>{const i=new Map(Object.entries(e)),a=i.has("fontColor")||i.has("backgroundColor"),l=i.has("bold")||i.has("italic")||i.has("underline");if(a){const i=e.fontColor?"fontColor":"backgroundColor";var c,d;if(q.ri.isRangeSelected(t))q.ri.applyStyle(t,i,!e[i]||null!==(c=e[i])&&void 0!==c&&c.equals(w.Il.TRANSPARENT)?null:e[i].toHex()),o({text:{format:"xhtml",value:q.ri.serialize(null==t?void 0:t.children[0])}}),s((t=>wd(wd({},t),{},{[i]:e[i]}))),null===(d=n.getSelection())||void 0===d||d.removeAllRanges();else if("fontColor"===i){const t=q.ri.setStyleOrToggleFormat(r,i,e[i].toHex());o({text:{format:"xhtml",value:t},fontColor:e.fontColor,borderColor:e.fontColor})}else s({backgroundColor:e.backgroundColor}),o(e)}else if(l){const n=Object.keys(e)[0];if(t&&q.ri.isRangeSelected(t)){switch(q.ri.toggleMark(t,n),n){case"bold":u(e.bold);break;case"italic":p(e.italic);break;case"underline":h(e.underline)}o({text:{format:"xhtml",value:q.ri.serialize(null==t?void 0:t.children[0])}})}else{const e=q.ri.setStyleOrToggleFormat(r,n);o({text:{format:"xhtml",value:e}})}}else o(e)}),[o,r,t,n]);if(i){if(t)return{activeTextStyle:a,updateAnnotationOrEditorText:v,selectedIsBold:l,selectedIsItalic:d,selectedIsUnderline:f};{const{fontColor:e,isUnderlined:t,isItalic:n,isBold:o}=q.ri.getComputedStyleAll(r);return{activeTextStyle:{fontColor:e?w.Il.fromHex(e):void 0,backgroundColor:null==a?void 0:a.backgroundColor},updateAnnotationOrEditorText:v,selectedIsBold:o,selectedIsItalic:n,selectedIsUnderline:t}}}return{updateAnnotationOrEditorText:o}}({editor:e.richTextEditorRef,frameWindow:e.frameWindow,updateAnnotation:r,text:(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"",isRichText:o}),{annotation:p,position:f,intl:h,expandedGroup:m,btnFocusRefIfFocusedGroup:g,canDeleteSelectedAnnotationCP:v,keepSelectedTool:y,interactionMode:b,annotationToolbarColorPresets:S}=e,{formatMessage:P}=h,E="bottom"===f?"up":"down",x={onChange:a,annotation:p,styles:Eu(),intl:h,caretDirection:E},D=y&&b===N.A.TEXT,C=[{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(vu.Z,(0,ue.Z)({},x,{record:o?Ed(Ed({},i),{},{opacity:p.opacity}):p,colorProperty:"fontColor",className:"PSPDFKit-Text-Annotation-Toolbar-Font-Color",removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:P(ke.Z.color),innerRef:g("color"),annotationToolbarColorPresets:S})))),title:P(ke.Z.color),type:"color",group:"color",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(vu.Z,(0,ue.Z)({},x,{record:o?Ed(Ed({},i),{},{opacity:p.opacity},!e.richTextEditorRef&&{backgroundColor:p.backgroundColor}):p,colorProperty:"backgroundColor",className:"PSPDFKit-Text-Annotation-Toolbar-Background-Color",frameWindow:e.frameWindow,accessibilityLabel:P(ke.Z.fillColor),innerRef:g("backgroundColor"),annotationToolbarColorPresets:S})))),title:P(ke.Z.fillColor),type:"background-color",group:"backgroundColor",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},{node:c.createElement(mu.OpacityComponent,{intl:e.intl,type:"Text",styles:Eu(),annotation:p,updateAnnotation:r,caretDirection:E,innerRef:g("opacity")}),title:P(ke.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement(yd,(0,ue.Z)({},x,{frameWindow:e.frameWindow,ref:g("font"),selectedIsBold:l,selectedIsItalic:u,selectedIsUnderline:s,showInlineFontStyles:o,customFontsReadableNames:e.customFontsReadableNames})),title:P(ke.Z.font),type:"font",group:"font",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(e.annotationToolbarItems),title:P(ke.Z.delete),className:d()("PSPDFKit-Text-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!v}),onPress:v?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:D||null===e.annotation.pageIndex||!!m,disabled:!e.canDeleteSelectedAnnotationCP}],k={className:Eu().button,presentational:e.viewportWidth>Be.GI,disabled:!!m};return c.createElement("div",{ref:n,className:d()("PSPDFKit-Text-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:C,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,builtInToolbarProps:k,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position,typeMap:{color:"text-color","background-color":"fill-color"}}))}));const Dd=xd,Cd=c.forwardRef((function(e,t){const{annotation:n,updateAnnotation:o,intl:r}=e,{formatMessage:i}=r,[a,s]=c.useState(!1),l=c.useCallback((e=>{"Tab"===e.key&&s(!0)}),[s]),u=c.useCallback((()=>{s(!1)}),[s]);return c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:`${Eu().control} PSPDFKit-Note-Annotation-Toolbar-Icons`,role:"radiogroup","aria-label":i(ke.Z.icon),onKeyUp:l,onPointerUp:u,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||s(!1)}},Object.keys(wt.Zi).map(((e,r)=>{const s=wt.Y4[e],l=(0,I.Oe)(s),u=n.icon===e,p=d()(qc().root,Eu().noteIconLabel,Eu().button,Eu().icon,"PSPDFKit-Tool-Button",u&&"PSPDFKit-Tool-Button-active",`PSPDFKit-Note-Annotation-Icon-${l}`,{[Eu().isActive]:u,[Eu().focusRing]:u&&a});return c.createElement("label",{"aria-label":i(kd[`icon${(0,hn.kC)(s)}`]),className:p,key:`NoteAnnotationToolbarIcon-${e}`},c.createElement(Oe.Z,{type:`note/toolbar/${s}`}),c.createElement(q.TX,{tag:"input",type:"radio",name:Eu().radioInput,value:r,checked:u,onChange:t=>{t.target.checked&&o({icon:e})},ref:u&&t?t:void 0}))}))))})),kd=(0,Se.vU)({iconRightPointer:{id:"iconRightPointer",defaultMessage:"Right Pointer",description:"Icon Right Pointer"},iconRightArrow:{id:"iconRightArrow",defaultMessage:"Right Arrow",description:"Icon Right Arrow"},iconCheck:{id:"iconCheck",defaultMessage:"Checkmark",description:"Icon Checkmark"},iconCircle:{id:"iconCircle",defaultMessage:"Circle",description:"Icon Circle"},iconCross:{id:"iconCross",defaultMessage:"Cross",description:"Icon Cross"},iconInsert:{id:"iconInsert",defaultMessage:"Insert Text",description:"Icon Insert Text"},iconNewParagraph:{id:"iconNewParagraph",defaultMessage:"New Paragraph",description:"Icon New Paragraph"},iconNote:{id:"iconNote",defaultMessage:"Text Note",description:"Icon Text Note"},iconComment:{id:"iconComment",defaultMessage:"Comment",description:"Icon Comment"},iconParagraph:{id:"iconParagraph",defaultMessage:"Paragraph",description:"Icon Paragraph"},iconHelp:{id:"iconHelp",defaultMessage:"Help",description:"Icon Help"},iconStar:{id:"iconStar",defaultMessage:"Star",description:"Icon Star"},iconKey:{id:"iconKey",defaultMessage:"Key",description:"Icon Key"}}),Od=c.memo((function(e){let{annotation:t,intl:n,updateAnnotation:o,isAnnotationReadOnly:r,deleteAnnotation:i,position:a,viewportWidth:s,expandedGroup:l,btnFocusRefIfFocusedGroup:u,btnFocusRefIfFocusedItem:p,canEditAnnotationCP:f,canDeleteSelectedAnnotationCP:h,keepSelectedTool:m,interactionMode:g,annotationToolbarItems:v,onGroupExpansion:y,hasDesktopLayout:b,onGroupTransitionEnded:w}=e;const{formatMessage:S}=n,P=rt.Options.NOTE_COLOR_PRESETS,E=r(t)||t.locked,x=E||t instanceof Ar.FN,D=null!==t.pageIndex&&!E,C=m&&g===N.A.NOTE,k=[{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(Wu,{className:"PSPDFKit-Note-Annotation-Toolbar-Color",accessibilityLabel:S(ke.Z.color),colorPresets:P,activeColor:t.color,onClick:e=>o({color:e}),innerRef:u("color")}))),title:S(ke.Z.color),className:`${Eu().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor`,hidden:x,disabled:!f,onPress:()=>{},type:"color",group:"color",hideSeparator:!0},{node:c.createElement(Cd,{annotation:t,updateAnnotation:o,intl:n,ref:u("note")}),title:S(ke.Z.icon),hidden:x,onPress:()=>{},disabled:!f,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-NoteIcon"),type:"note-icon",group:"note"},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(v),title:S(ke.Z.delete),className:d()("PSPDFKit-Note-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!h}),onPress:h?()=>i():()=>{}}),disabled:!h,hidden:C||!(D&&"note"!==l&&"color"!==l),type:"delete",onPress:()=>{},className:""}];return c.createElement("div",{className:d()("PSPDFKit-Note-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:v,builtInItems:k,btnFocusRefIfFocusedItem:p,onGroupExpansion:y,builtInToolbarProps:e=>({className:d()(Eu().button,{[Eu().iconOnlyMobile]:"note-icon"===e.type}),presentational:s>Be.GI,disabled:!!l}),hasDesktopLayout:b,expandedGroup:l,onGroupTransitionEnded:w,position:a,typeMap:{"note-icon":"note",color:"fill-color"}}))}));const Ad=Od,Td=["boundingBox"],Id=c.memo((function(e){const t=(0,_r.R9)((t=>{const{annotation:n,isEditing:o,dispatch:r,canEditAnnotationCP:i}=e;if(i)if(n.lines.size>0&&o){const{boundingBox:e}=t,n=(0,ne.Z)(t,Td);r((0,bt.gX)(n)),r((0,Kt.P4)())}else t.lineWidth&&n.lines.size>0&&(t.boundingBox=n.boundingBox.grow((t.lineWidth-n.lineWidth)/2)),e.updateAnnotation(t)})),{annotation:n,intl:o,position:r,isEditing:i,expandedGroup:a,canDeleteSelectedAnnotationCP:s,btnFocusRefIfFocusedGroup:l,lastToolbarActionUsedKeyboard:u,annotationToolbarItems:p,btnFocusRefIfFocusedItem:f}=e,{formatMessage:h}=o,m={onChange:t,record:n,styles:Eu(),intl:o,caretDirection:"bottom"===r?"up":"down",frameWindow:e.frameWindow},g=e.areOnlyElectronicSignaturesEnabled&&e.annotation.isSignature,v=[{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(vu.Z,(0,ue.Z)({},m,{className:"PSPDFKit-Ink-Annotation-Toolbar-Stroke-Color",colorProperty:"strokeColor",removeTransparent:!0,accessibilityLabel:h(ke.Z.color),innerRef:l("color",!a),lastToolbarActionUsedKeyboard:u,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:h(ke.Z.color),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-StrokeColor"),hidden:g,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(vu.Z,(0,ue.Z)({},m,{accessibilityLabel:h(ke.Z.fillColor),className:"PSPDFKit-Ink-Annotation-Toolbar-Background-Color",colorProperty:"backgroundColor",innerRef:l("backgroundColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:h(ke.Z.fillColor),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor"),hidden:g,disabled:!e.canEditAnnotationCP,type:"fill-color",group:"backgroundColor"},{node:c.createElement(mu.OpacityComponent,{intl:e.intl,type:"Ink",styles:Eu(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===r?"up":"down",innerRef:l("opacity")}),title:h(ke.Z.opacity),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:g,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:c.createElement(mu.StrokeWidthComponent,{intl:e.intl,type:"Ink",styles:Eu(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===r?"up":"down",accessibilityLabel:h(ke.Z.thickness),ref:l("lineWidth")}),title:h(ke.Z.thickness),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:g,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(Hu,{value:n.blendMode,className:"PSPDFKit-Ink-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===r?"up":"down",frameWindow:e.frameWindow,ref:l("blendMode")}))),title:h(ke.Z.blendMode),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode"),hidden:g,disabled:!e.canEditAnnotationCP,type:"blend-mode",group:"blendMode"},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(p),title:h(ke.Z.delete),className:d()("PSPDFKit-Ink-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),disabled:!s,hidden:!(null!=e.annotation.pageIndex&&!i),type:"delete"},{node:c.createElement(xu,{intl:o,isEditing:i,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),hidden:e.areOnlyElectronicSignaturesEnabled||!e.showAnnotationNotes||i,disabled:!e.canEditAnnotationCP,type:"annotation-note"}],y={className:Eu().button,presentational:e.viewportWidth>Be.GI,disabled:!!a};return c.createElement("div",{className:d()("PSPDFKit-Ink-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:p,builtInItems:v,btnFocusRefIfFocusedItem:f,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:y,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:a,onGroupTransitionEnded:e.onGroupTransitionEnded,position:r}))}));const Fd=Id;var Md=n(93092),_d=n(34855),Nd=n(63564);const Rd=function(e){const{intl:t,position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedItem:i,annotationToolbarItems:a,hasDesktopLayout:s,btnFocusRefIfFocusedGroup:l,lastToolbarActionUsedKeyboard:u,name:p,canDeleteSelectedAnnotationCP:f}=e,h=(0,_r.R9)((t=>{const{annotation:n,canEditAnnotationCP:o}=e;o&&(t.strokeWidth&&(t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)),e.updateAnnotation(t))})),m=o instanceof w.b3||o instanceof w.Xs?e.updateAnnotation:h,g=o instanceof w.o9||o instanceof w.om,{formatMessage:v}=t,y={updateAnnotation:m,annotation:o,styles:Eu(),intl:t,caretDirection:"bottom"===n?"up":"down"},b=[{node:c.createElement(vu.Z,(0,ue.Z)({},y,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${p}-Annotation-Toolbar-Stroke-Color`,removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:v(ke.Z.color),innerRef:l("color",!r),lastToolbarActionUsedKeyboard:u,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:v(ke.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!g,"PSPDFKit-Toolbox-StrokeColor":g})},{node:c.createElement(vu.Z,(0,ue.Z)({},y,{record:o,colorProperty:"fillColor",onChange:e.updateAnnotation,className:`PSPDFKit-${p}-Annotation-Toolbar-Fill-Color`,frameWindow:e.frameWindow,accessibilityLabel:v(ke.Z.fillColor),innerRef:l("fillColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:v(ke.Z.fillColor),group:"fillColor",type:"fill-color",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},{node:c.createElement(mu.OpacityComponent,(0,ue.Z)({},y,{type:p,innerRef:l("opacity")})),title:v(ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement(mu.StrokeWidthComponent,(0,ue.Z)({},y,{type:p,accessibilityLabel:v(ke.Z.thickness),ref:l("line-width")})),title:v(ke.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},...o instanceof w.o9||o instanceof w.om?[{node:c.createElement(mu.LineCapsDashArrayComponent,(0,ue.Z)({},y,{frameWindow:e.frameWindow,innerRef:l("linecaps-dasharray")})),title:v(ke.Z["linecaps-dasharray"]),group:"linecaps-dasharray",type:"linecaps-dasharray",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineCaps-DashArray")}]:[{node:c.createElement(mu.LineStyleComponent,(0,ue.Z)({},y,{frameWindow:e.frameWindow,innerRef:l("linestyle")})),title:v(ke.Z.linestyle),group:"linestyle",type:"line-style",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineStyle")}],{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(a),title:v(ke.Z.delete),className:d()(`PSPDFKit-${p}-Annotation-Toolbar-Button-Delete`,Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!f}),onPress:f?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:c.createElement(xu,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],S={className:Eu().button,presentational:e.viewportWidth>Be.GI,disabled:!!r},P={"line-style":"linestyle"};return o instanceof w.o9||o instanceof w.om||(P["stroke-color"]="border-color"),c.createElement("div",{className:d()(`PSPDFKit-${p}-Annotation-Toolbar`,Eu().content)},c.createElement(Fu,{annotationToolbarItems:a,builtInItems:b,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:S,hasDesktopLayout:s,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:P}))},Ld=c.memo((function(e){const{formatMessage:t}=e.intl,n=[{node:c.createElement(gu.Z,{type:"widget_ccw",title:t(ke.Z.rotateCounterclockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate-Counterclockwise ${Eu().button} ${Eu().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,_.eJ)(e.annotation,e.selectedAnnotationPageSize,_.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP},{node:c.createElement(gu.Z,{type:"widget_cw",title:t(ke.Z.rotateClockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Toolbar-Button-Rotate-Clockwise ${Eu().button} ${Eu().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,_.eJ)(e.annotation,e.selectedAnnotationPageSize,_.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(e.annotationToolbarItems),title:t(ke.Z.delete),className:d()("PSPDFKit-Widget-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!e.canDeleteSelectedAnnotationCP}),onPress:e.canDeleteSelectedAnnotationCP?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex}];return c.createElement("div",{className:`PSPDFKit-Widget-Annotation-Toolbar ${Eu().content}`},c.createElement(Fu,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:n,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position}))}));const Bd=c.memo((function(e){const t=(0,Se.YB)(),n=(0,_r.R9)((t=>{const{canEditAnnotationCP:n}=e;n&&e.updateAnnotation(t)})),{annotation:o,position:r,expandedGroup:i,canDeleteSelectedAnnotationCP:a,btnFocusRefIfFocusedGroup:s,annotationToolbarItems:l,btnFocusRefIfFocusedItem:u,lastToolbarActionUsedKeyboard:p}=e,f={onChange:n,record:o,styles:Eu(),intl:t,caretDirection:"bottom"===r?"up":"down",frameWindow:e.frameWindow},h=e.annotation.isSignature,m=[{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(vu.Z,(0,ue.Z)({},f,{className:"PSPDFKit-Link-Annotation-Toolbar-Border-Color",colorProperty:"borderColor",accessibilityLabel:t.formatMessage(ke.Z.color),innerRef:s("color",!i),lastToolbarActionUsedKeyboard:p,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:t.formatMessage(ke.Z.borderColor),className:d()(Eu().formGroup,"PSPDFKit-Toolbox","PSPDFKit-Toolbox-BorderColor"),hidden:h,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:c.createElement(mu.OpacityComponent,{intl:e.intl,type:"Link",styles:Eu(),annotation:o,updateAnnotation:n,caretDirection:"bottom"===r?"up":"down",innerRef:s("opacity")}),title:t.formatMessage(ke.Z.opacity),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:h,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:c.createElement(mu.StrokeWidthComponent,{intl:e.intl,type:"Link",styles:Eu(),annotation:o,updateAnnotation:n,caretDirection:"bottom"===r?"up":"down",accessibilityLabel:t.formatMessage(ke.Z.thickness),ref:s("lineWidth")}),title:t.formatMessage(ke.Z.thickness),className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:h,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(l),title:t.formatMessage(ke.Z.delete),className:d()("PSPDFKit-Link-Annotation-Toolbar-Button-Delete",Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!a}),onPress:a?()=>e.deleteAnnotation():()=>{}}),disabled:!a,hidden:null===e.annotation.pageIndex||!!i,type:"delete"}],g={className:Eu().button,presentational:e.viewportWidth>Be.GI,disabled:!!i};return c.createElement("div",{className:d()("PSPDFKit-Link-Annotation-Toolbar",Eu().content)},c.createElement(Fu,{annotationToolbarItems:l,builtInItems:m,btnFocusRefIfFocusedItem:u,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:g,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:i,onGroupTransitionEnded:e.onGroupTransitionEnded,position:r}))}));const jd=Bd;var zd=n(82405),Kd=n(9599),Zd=n(68073),Ud=n.n(Zd),Vd=n(94505);const Gd=function(e){const{intl:t,position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedItem:i,annotationToolbarItems:s,hasDesktopLayout:l,btnFocusRefIfFocusedGroup:u,lastToolbarActionUsedKeyboard:p,canDeleteSelectedAnnotationCP:f,selectedAnnotations:h}=e,m=(0,a.I0)(),g=(0,a.v9)((e=>e.secondaryMeasurementUnit)),v=c.useMemo((()=>e.selectedAnnotations&&e.selectedAnnotations.size>1),[e.selectedAnnotations]),y=c.useMemo((()=>!!h&&(0,k.xA)(h)),[h]),b=c.useMemo((()=>(0,k.bs)(o)),[o]),S=(0,_r.R9)((t=>{const{annotation:n,canEditAnnotationCP:o}=e;if(o){if(t.strokeWidth){if(v&&h){const o=[];return h.forEach((e=>{o.push({boundingBox:e.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2),strokeWidth:t.strokeWidth})})),void e.updateAnnotation(o)}t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)}e.updateAnnotation(t)}})),P=o instanceof w.b3||o instanceof w.Xs?e.updateAnnotation:S,E=o instanceof w.o9||o instanceof w.om,{formatMessage:x}=t,D={updateAnnotation:P,annotation:o,styles:Eu(),intl:t,caretDirection:"bottom"===n?"up":"down"},C=k.Di.find((e=>e.title===b)),O=c.useMemo((()=>(0,k.Rw)(o,g)),[o,g]),A=[{node:c.createElement(gu.Z,{type:"back",title:x(ke.Z.back),className:d()(`PSPDFKit-${b}-Annotation-Toolbar-Button-Back`,Eu().button,Eu().measurementBackButton),onPress:()=>{(0,a.dC)((()=>{m((0,De.fz)()),m((0,bt.Ds)("measurement")),m((0,Kt.BR)())}))}}),type:"back"},{node:y?c.createElement(Vd.Z,{key:x(ke.Z.mixedMeasurements),type:"measure",title:x(ke.Z.mixedMeasurements),className:d()(C.className,Ud().measurementValue,Eu().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},o&&null!=o&&o.note?c.createElement(c.Fragment,null,x(ke.Z.mixedMeasurements)):null):c.createElement(Vd.Z,{key:C.interactionMode,type:C.icon,title:x(ke.Z[C.localeKey]),className:d()(C.className,Ud().measurementValue,Eu().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},o&&null!=o&&o.note?v?c.createElement(c.Fragment,null,C.title):c.createElement(c.Fragment,null,C.title,":"," ",c.createElement("b",null,o.note,O?` (${O.label})`:"")):null),title:x(ke.Z[C.localeKey]),type:"measurementType",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementType")},{node:c.createElement(c.Fragment,null,c.createElement(Vd.Z,{key:"scale",type:"scale",title:x(fc.sY.measurementScale),className:d()(Eu().measurementToolbarButton)}),c.createElement(Kd.ZP,{frameWindow:e.frameWindow,selectedAnnotation:o,onAnnotationScaleUpdate:e.updateAnnotation,selectedAnnotations:e.selectedAnnotations})),title:x(fc.sY.measurementScale),type:"measurementScale",className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementScale")},{node:c.createElement(vu.Z,(0,ue.Z)({},D,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${b}-Annotation-Toolbar-Stroke-Color`,frameWindow:e.frameWindow,accessibilityLabel:x(ke.Z.color),innerRef:u("color",!r),lastToolbarActionUsedKeyboard:p,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:x(ke.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!E,"PSPDFKit-Toolbox-StrokeColor":E})},{node:c.createElement(mu.OpacityComponent,(0,ue.Z)({},D,{type:b,innerRef:u("opacity")})),title:x(ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:c.createElement(mu.StrokeWidthComponent,(0,ue.Z)({},D,{type:b,accessibilityLabel:x(ke.Z.thickness),ref:u("line-width")})),title:x(ke.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:d()(Eu().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},{node:c.createElement(gu.Z,{type:"delete",icon:(0,Mu.KT)(s),title:x(ke.Z.delete),className:d()(`PSPDFKit-${b}-Annotation-Toolbar-Button-Delete`,Eu().button,Eu().deleteButton,{[Eu().disabledButton]:!f}),onPress:f?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:c.createElement(xu,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP||v}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],T={className:Eu().button,presentational:e.viewportWidth>Be.GI,disabled:!!r},I={"line-style":"linestyle"};return o instanceof w.o9||o instanceof w.om||(I["stroke-color"]="border-color"),c.createElement("div",{className:d()(`PSPDFKit-${b}-Annotation-Toolbar`,Eu().content,Eu().measurementToolbar)},c.createElement(Fu,{annotationToolbarItems:s,builtInItems:A,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:T,hasDesktopLayout:l,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:I}))},Wd=["text"];class qd extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{showConfirmDelete:!1,expandedGroup:null,transitionFinished:!1,prevActiveGroup:null}),(0,o.Z)(this,"focusRef",c.createRef()),(0,o.Z)(this,"deleteAnnotation",(()=>{var e;const t=this.props.annotation,n=this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1;t&&!n?this.props.dispatch((0,bt.d8)((0,i.l4)([t.id]))):n&&this.props.selectedAnnotations&&this.props.dispatch((0,bt.d8)(this.props.selectedAnnotations.map((e=>e.id))))})),(0,o.Z)(this,"handleEntered",(()=>{this.setState({transitionFinished:!0})})),(0,o.Z)(this,"handleGroupExpansion",(e=>{e?this.setState({prevActiveGroup:e,expandedGroup:e}):this.setState({expandedGroup:e,transitionFinished:!1})})),(0,o.Z)(this,"_handleKeyPress",(e=>{e.keyCode===Zo.zz&&this.state.expandedGroup&&this.handleGroupExpansion()})),(0,o.Z)(this,"updateAnnotation",((e,t,n)=>{if(!e||!this.props.canEditAnnotationCP)return;e=e.merge(t);const o={annotations:(0,i.aV)([e]),reason:Q.f.PROPERTY_CHANGE};this.props.eventEmitter.emit("annotations.willChange",o),n&&this.props.dispatch((0,bt.Ds)(n));const{text:r}=t,a=(0,ne.Z)(t,Wd);this.props.dispatch((0,bt.gX)(a)),this.props.dispatch((0,bt.FG)(e))})),(0,o.Z)(this,"updateSingleAnnotation",((e,t)=>{const n=this.props.annotation;this.updateAnnotation(n,e,t)})),(0,o.Z)(this,"updateAnnotations",((e,t)=>{const{selectedAnnotations:n}=this.props;n&&(null==n?void 0:n.size)>1&&(0,a.dC)((()=>{var n;null===(n=this.props.selectedAnnotations)||void 0===n||n.toList().forEach(((n,o)=>{Array.isArray(e)?this.updateAnnotation(n,e[o],t):this.updateAnnotation(n,e,t)}))}))})),(0,o.Z)(this,"onAnnotationNotePress",(()=>{const e=this.props.annotation;if(this.isActiveAnnotationNote())this.closeAnnotationNote();else if(e){const t=(0,Ar.Yu)(e);this.props.dispatch((0,De.mv)(t))}})),(0,o.Z)(this,"deleteAnnotationNote",(()=>{const e=this.props.annotation;e&&(this.props.dispatch((0,bt.FG)(e.delete("note"))),this.closeAnnotationNote())})),(0,o.Z)(this,"closeAnnotationNote",(()=>{this.props.dispatch((0,De.mv)(null))})),(0,o.Z)(this,"_handleResize",(e=>{this.props.dispatch((0,Md.LT)(e.height))}))}isActiveAnnotationNote(){var e;const{activeAnnotationNote:t,annotation:n}=this.props;return Boolean(t&&n&&(null===(e=t.parentAnnotation)||void 0===e?void 0:e.id)===n.id)}defaultToolbarItems(){var e;const{annotation:t,annotationToolbarItems:n,viewportWidth:o}=this.props;if((0,s.kG)(t),!Nd.qH.get($d(t)))return(0,i.aV)();const r=o>Be.GI,a=null===(e=Nd.qH.get($d(t)))||void 0===e||null===(e=e.get(r?"desktop":"mobile"))||void 0===e?void 0:e.map((e=>({type:e})));if((0,s.kG)(a,`No default toolbar items found for annotation type: ${$d(t)}`),n){const e=n(t,{hasDesktopLayout:r,defaultAnnotationToolbarItems:a.toJS()});if(e)return e.forEach((e=>{(0,Nd.gb)(e,$d(t))})),(0,i.aV)(e)}return a}renderContent(){var e,t=this;const{annotation:n,variantAnnotationPresetID:o,position:r,viewportWidth:i,frameWindow:a,intl:l,showAnnotationNotes:u,canEditAnnotationCP:d,canDeleteSelectedAnnotationCP:p,lastToolbarActionUsedKeyboard:f,interactionMode:h,keepSelectedTool:m,annotationToolbarColorPresets:g,richTextEditorRef:v,customFontsReadableNames:y,isCalibratingScale:b}=this.props;if(!n)return null;const S={deleteAnnotation:this.deleteAnnotation,updateAnnotation:this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1?this.updateAnnotations:this.updateSingleAnnotation,intl:l,position:r,viewportWidth:i,onGroupTransitionEnded:this.handleEntered,onGroupExpansion:this.handleGroupExpansion,expandedGroup:this.state.expandedGroup,btnFocusRefIfFocusedGroup:function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Mu.CN)(e,t.state.expandedGroup)||n&&null!==h&&i>Be.GI?t.focusRef:void 0},btnFocusRefIfFocusedItem:function(e,n){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,Mu.Kt)(e,n,t.state.prevActiveGroup)||o&&null!==h&&iBe.GI,customFontsReadableNames:this.props.customFontsReadableNames},P={onAnnotationNotePress:this.onAnnotationNotePress,showAnnotationNotes:u&&!n.isCommentThreadRoot,hasAnnotationNote:Boolean(n.note),isAnnotationNoteActive:this.isActiveAnnotationNote()};return n instanceof $.Z?c.createElement(Lu,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,dispatch:this.props.dispatch,keepSelectedTool:m})):n instanceof w.R1?c.createElement(jd,(0,ue.Z)({},S,P,{annotation:n})):n instanceof w.On?c.createElement(Qu,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,dispatch:this.props.dispatch,variantAnnotationPresetID:o})):n instanceof w.Zc?c.createElement(Fd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,dispatch:this.props.dispatch,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled})):n instanceof zd.Z&&n.isMeasurement()?b?null:c.createElement(Gd,(0,ue.Z)({},S,P,{annotation:n,dispatch:this.props.dispatch,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,selectedAnnotations:this.props.selectedAnnotations})):n instanceof w.o9?c.createElement(Rd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,name:"Line"})):n instanceof w.b3?c.createElement(Rd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,name:"Rectangle"})):n instanceof w.Xs?c.createElement(Rd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,name:"Ellipse"})):n instanceof w.Hi?c.createElement(Rd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,name:"Polygon"})):n instanceof w.om?c.createElement(Rd,(0,ue.Z)({},S,P,{annotation:n,isEditing:this.props.selectedAnnotationMode===R.o.EDITING,name:"Polyline"})):n instanceof w.gd?c.createElement(Dd,(0,ue.Z)({},S,{annotation:n,richTextEditorRef:v,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize,zoomLevel:this.props.zoomLevel||1,keepSelectedTool:m,interactionMode:h,customFontsReadableNames:y})):n instanceof w.Qi?c.createElement(Ad,(0,ue.Z)({},S,{annotation:n,dispatch:this.props.dispatch,isAnnotationReadOnly:this.props.isAnnotationReadOnly,keepSelectedTool:m,interactionMode:h})):n instanceof w.sK?c.createElement(Ku,(0,ue.Z)({},S,P,{annotation:n,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof w.GI?c.createElement(ju,(0,ue.Z)({},S,P,{annotation:n})):n instanceof w.x_?c.createElement(Ld,(0,ue.Z)({},S,{annotation:n,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof w.Jn?null:void(0,s.kG)(!1,"Annotation type not handled")}componentDidUpdate(e,t){const n=this.state.expandedGroup&&this.state.transitionFinished&&!t.transitionFinished,o=!this.state.expandedGroup&&t.expandedGroup&&this.state.prevActiveGroup;(n||o)&&this.focusRef.current&&this.focusRef.current.focus()}render(){return c.createElement("div",{className:d()("PSPDFKit-Annotation-Toolbar",Eu().root,{[Eu().stickToBottom]:"bottom"===this.props.position}),onKeyDown:this._handleKeyPress},c.createElement(_d.Z,{onResize:this._handleResize}),this.renderContent())}}const Hd=(0,Se.XN)(qd);function $d(e){var t;return"isMeasurement"in e&&null!==(t=e.isMeasurement)&&void 0!==t&&t.call(e)?"Measurement":Nd.qH.get(e.constructor.readableName)?e.constructor.readableName:e instanceof w.On?w.On.readableName:e instanceof w.x_?w.x_.readableName:void new s.p2("AnnotationToolbarComponent: getReadableName: Annotation type not handled")}function Xd(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const Yd=c.memo((function(e){let{intl:t,dispatch:n,inkEraserCursorWidth:o,position:r,viewportWidth:i}=e;const{handleGroupExpansion:a,handleEntered:s,expandedGroup:l,prevActiveGroup:u,btnFocusRef:p}=(0,_r.Tp)(),[f,h]=c.useState(o);c.useEffect((()=>{n((0,bt.GT)(f))}),[f,n]),c.useEffect((()=>{h(o)}),[o]);const m=c.useCallback((e=>{n((0,bt.gX)({inkEraserWidth:e})),h(e)}),[n]),g=c.useCallback((e=>{e.keyCode===Zo.zz&&l&&a()}),[l,a]),{formatMessage:v}=t,y={lineWidth:{node:c.createElement("div",{className:Eu().controlWrapper},c.createElement("div",{className:Eu().control},c.createElement(uu.Z,{name:"lineWidth",accessibilityLabel:v(ke.Z.size),className:"PSPDFKit-Ink-Eraser-Toolbar-Line-Width",value:f,valueLabel:e=>v(ke.Z.numberInPt,{arg0:e.toFixed(0)}),min:1,max:40,step:1,onChange:m,caretDirection:"bottom"===r?"up":"down",innerRef:(0,Mu.CN)("lineWidth",l)?p:void 0}))),title:v(ke.Z.thickness)}};return c.createElement("div",{className:d()("PSPDFKit-Annotation-Toolbar",Eu().root,{[Eu().stickToBottom]:"bottom"===r}),onMouseUp:Xd,onTouchEnd:Xd,onPointerUp:Xd,onKeyDown:g},c.createElement("div",{className:`\n PSPDFKit-Ink-Eraser-Toolbar\n ${Eu().content}\n\n `},c.createElement("div",{className:Eu().left},c.createElement("form",{className:Eu().form,onSubmit:ar.PF},c.createElement("div",{className:`${Eu().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth`},c.createElement(gu.Z,{type:"line-width",title:y.lineWidth.title,className:Eu().button,onPress:()=>a("lineWidth"),disabled:Boolean(l),presentational:i>Be.GI,ref:(0,Mu.Kt)("lineWidth",l,u)?p:void 0}),y.lineWidth.node))),c.createElement("div",{className:Eu().right},c.createElement(ku.Z,{position:r,onClose:()=>a(null),isPrimary:!1,onEntered:s,accessibilityLabel:l?y[l].title:void 0},l?y[l].node:void 0))))})),Jd=(0,Se.XN)(Yd);var Qd=n(50653),ep=n.n(Qd);const tp=(0,a.$j)((e=>({connectionFailureReason:e.connectionFailureReason})),(()=>({})))((e=>c.createElement("div",{className:`PSPDFKit-Error ${ep().root}`},c.createElement("div",{className:`PSPDFKit-Error-Box ${ep().box}`},c.createElement("div",{className:ep().error},c.createElement(Re.Z,{src:n(58054),className:ep().icon})),c.createElement("div",{className:`PSPDFKit-Error-Message ${ep().errorMessage}`},c.createElement("p",null,null!=e.connectionFailureReason?e.connectionFailureReason:c.createElement(c.Fragment,null,"An error occurred while loading the document. Try"," ",c.createElement("a",{href:"#",onClick:()=>window.location.reload()},"reloading the page"),".")))))));var np,op=n(28890),rp=n(55733),ip=n.n(rp);const ap={timeout:300,classNames:{enter:ip().unlockEnter,enterActive:ip().unlockEnterActive,exit:ip().unlockExit,exitActive:ip().unlockExitActive}};class sp extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"_modalRef",c.createRef()),(0,o.Z)(this,"_inputRef",c.createRef()),(0,o.Z)(this,"state",{value:"",isIncorrectPassword:!1,inputShowError:!1}),(0,o.Z)(this,"_onConfirm",(()=>{this.props.resolvePassword&&this.props.resolvePassword(this.state.value)})),(0,o.Z)(this,"_onChange",(e=>{const{value:t}=e.currentTarget;this.setState({value:t,inputShowError:!1})}))}componentDidUpdate(e){e.resolvePassword===this.props.resolvePassword||this.props.unlocked||(this._modalRef.current&&this._modalRef.current.shake(),this._inputRef.current&&this._inputRef.current.focus(),this.setState({isIncorrectPassword:!0,inputShowError:!0}))}render(){const{unlocked:e}=this.props,{isIncorrectPassword:t,inputShowError:o}=this.state,{formatMessage:r}=this.props.intl;return c.createElement(op.Z,{role:"dialog",onEnter:this._onConfirm,background:"rgba(0,0,0,.1)",className:d()("PSPDFKit-Password-Dialog",ip().container),accessibilityLabel:r(lp.password),accessibilityDescription:r(lp.passwordAccessibilityDescription),innerRef:this._modalRef},c.createElement("div",{className:"PSPDFKit-Password-Dialog-Content"},c.createElement(op.Z.Section,null,c.createElement(q.M5,null,c.createElement("div",{className:ip().iconBox},c.createElement(pc.Z,null,e?c.createElement(dc.Z,(0,ue.Z)({},ap,{key:"unlock"}),c.createElement(Re.Z,{src:n(96242),className:d()(ip().icon,ip()["icon-success"])})):c.createElement(dc.Z,(0,ue.Z)({},ap,{key:"lock"}),c.createElement(Re.Z,{src:n(65883),className:d()({[ip().icon]:!0,[ip()["icon-regular"]]:!t,[ip()["icon-error"]]:t})})))))),c.createElement(q.z,null,r(lp.passwordRequired)),c.createElement(op.Z.Section,null,c.createElement(q.xv,null,r(lp.unlockDocumentDescription))),c.createElement(q.oi,{name:"password",value:this.state.value,onChange:this._onChange,"aria-label":r(lp.password),autoFocus:!0,selectTextOnFocus:!0,disabled:e,secureTextEntry:!0,error:o,success:e,ref:this._inputRef})),t&&!e?c.createElement(op.Z.Section,{className:ip().alert,spaced:!0},r(lp.incorrectPassword)):np||(np=c.createElement(op.Z.Divider,null)),c.createElement("div",{className:d()("PSPDFKit-Password-Dialog-Buttons",ip().dialogButtons)},c.createElement(q.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons"},c.createElement(q.zx,{onClick:this._onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},r(lp.unlock)))))}}const lp=(0,Se.vU)({password:{id:"password",defaultMessage:"Password",description:"Text on a label"},passwordAccessibilityDescription:{id:"passwordAccessibilityDescription",defaultMessage:"Dialog prompting for a password to unlock the document",description:"Accessibility description for password modal"},passwordRequired:{id:"passwordRequired",defaultMessage:"Password Required",description:"Title of the modal to indicate a password is required"},unlockDocumentDescription:{id:"unlockDocumentDescription",defaultMessage:"You have to unlock this document to view it. Please enter the password in the field below.",description:"Label of the password prompt"},incorrectPassword:{id:"incorrectPassword",defaultMessage:"The password you entered isn't correct. Please try again.",description:"Error message when an incorrect password was entered"},unlock:{id:"unlock",defaultMessage:"Unlock",description:"Button to unlock a password protected PDF"}}),cp=(0,Se.XN)(sp);var up,dp=n(61470),pp=n.n(dp);class fp extends c.Component{render(){const{resolvePassword:e,children:t,intl:n}=this.props,{formatMessage:o}=n,{name:r,progress:i,reason:a}=this.props.connectionState;switch(r){case rs.F.CONNECTING:{var s;const e=a?null!==(s=hp[a])&&void 0!==s?s:a:null,t=e?o(e):"";return c.createElement("div",{className:pp().loader},c.createElement(q.Ex,{message:t,progress:null!=i?i:0}))}case rs.F.CONNECTION_FAILED:return up||(up=c.createElement(tp,null));case rs.F.PASSWORD_REQUIRED:return c.createElement(cp,{resolvePassword:e,unlocked:this.props.isUnlockedViaModal});default:return void 0===t?null:t}}}const hp=(0,Se.vU)({loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"}}),mp=(0,Se.XN)(fp);var gp=n(38858);const vp=(0,io.Z)(((e,t)=>(0,_.xp)(e,t).sort(Pp)));const yp=(0,Zn.x)((function(e,t){let{page:n}=t;const o=!!e.reuseState,r=vp(e.annotations,n);let a=(0,i.aV)(),l=null;switch(e.selectedAnnotationMode){case R.o.SELECTED:a=r.filter((t=>e.selectedAnnotationIds.has(t.id)));break;case R.o.EDITING:l=e.selectedAnnotationIds.map((t=>{const n=e.annotations.get(t);return(0,s.kG)(n),n})).first(),(l instanceof w.Qi||l instanceof w.Jn)&&l.pageIndex===n.pageIndex&&(a=(0,i.aV)([l]))}return{backend:e.backend,hoverAnnotationIds:e.hoverAnnotationIds,interactionMode:e.interactionMode,isAnnotationReadOnly:t=>(0,Kn.lV)(t,e),selectedAnnotationIds:e.selectedAnnotationIds,activeAnnotationNote:e.activeAnnotationNote,selectedTextOnEdit:e.selectedTextOnEdit,showAnnotations:e.showAnnotations,window:e.frameWindow,zoomLevel:e.viewportState.zoomLevel,rotation:e.viewportState.pagesRotation,onFocusAnnotation:wp(e.eventEmitter),onBlurAnnotation:Sp(e.eventEmitter),formDesignMode:e.formDesignMode,annotations:r,isReloadingDocument:o,attachments:e.attachments,selectedAnnotations:a,editingAnnotation:l,showComments:(0,ol.Y7)(e),showAnnotationNotes:e.showAnnotationNotes,eventEmitter:e.eventEmitter,isAPStreamRendered:e.isAPStreamRendered,pageInvalidAPStreams:e.invalidAPStreams.get(n.pageIndex),canEditAnnotationCP:t=>(0,xr.CM)(t,e),canDeleteAnnotationCP:t=>(0,xr.Kd)(t,e),keepSelectedTool:e.keepSelectedTool,scrollElement:e.scrollElement,focusedAnnotationIds:e.focusedAnnotationIds,inkEraserMode:e.inkEraserMode,viewportState:e.viewportState,page:n,enableRichText:e.enableRichText,multiAnnotationsUsingShortcut:e.multiAnnotationsUsingShortcut,isMultiSelectionEnabled:e.isMultiSelectionEnabled}}))((function(e){const{annotations:t,isReloadingDocument:n,showAnnotations:o,zoomLevel:r,rotation:a,attachments:l,backend:u,dispatch:d,hoverAnnotationIds:p,page:f,isAnnotationReadOnly:h,canEditAnnotationCP:m,canDeleteAnnotationCP:g,getScrollElement:v,onFocusAnnotation:y,onBlurAnnotation:b,formDesignMode:S,selectedTextOnEdit:P,selectedAnnotationIds:E,selectedAnnotations:x,activeAnnotationNote:D,interactionMode:C,editingAnnotation:k,window:O,children:A,showComments:T,showAnnotationNotes:I,eventEmitter:F,isAPStreamRendered:M,pageInvalidAPStreams:R=(0,i.l4)(),keepSelectedTool:B,focusedAnnotationIds:j,inkEraserMode:z,enableRichText:K,multiAnnotationsUsingShortcut:Z,setGlobalCursor:U,isMultiSelectionEnabled:V}=e;(0,s.kG)(R);const{pageSize:G,pageIndex:W}=f,q=c.useCallback((e=>!(e instanceof w.Jn||e instanceof w.On&&e.isCommentThreadRoot)||T),[T]),[H,X]=c.useState(null),[Y,J]=c.useState(void 0),[Q,ee]=c.useState(!1),[te,ne]=c.useState(Array()),oe=c.useCallback((function(e){"number"==typeof e.clientX&&"number"==typeof e.clientY&&X(new w.E9({x:e.clientX,y:e.clientY}))}),[]),re=E.size>0,ie=t.filter((e=>e instanceof w.On&&(e.isCommentThreadRoot||!h(e)))),ae=c.useMemo((()=>t.filter((e=>e instanceof w.R1))),[t]),se=c.useMemo((()=>t.filter((e=>e instanceof w.Zc))),[t]),ce=(0,_r.R9)((e=>e instanceof w.Zc&&(0,_.Fp)(e)&&!h(e)&&m(e)&&g(e))),ue=c.useMemo((()=>se.filter(ce)),[se,ce]);function de(e){const t=E.has(e.id);return e instanceof $.Z?t&&C!==N.A.REDACT_TEXT_HIGHLIGHTER:t}function pe(e){ne(e?[...te,e]:[])}const fe=k instanceof w.Zc?k:null,he=k instanceof w.UX?k:null,me=k instanceof w.gd&&null===k.pageIndex?k:null,ge=k instanceof w.gd&&k.pageIndex===W?k:null,ve=k instanceof w.Qi&&null===k.pageIndex?k:null,ye=k instanceof w.Jn&&null===k.pageIndex?k:null,be=k instanceof $.Z&&null===k.pageIndex?k:null,we=k instanceof w.R1&&null===k.pageIndex?k:null,[Se,Pe]=c.useState(!1),Ee=c.useRef(!1),xe=e=>Se&&(0,_.eD)(e)&&!(null!=R&&R.has(e.id))&&(0,_.U7)(e.boundingBox)&&M(e),De=c.useRef(r),Ce=c.useRef(W),ke=(0,_r.tm)();c.useEffect((()=>{if(n)return void(Ee.current=!1);(r>De.current||Ce.current!==W)&&(Ee.current=!1,Ce.current=W),De.current=r;const e=t.filter((e=>!(null!=R&&R.has(e.id))&&(0,_.eD)(e)&&(0,_.U7)(e.boundingBox)&&M(e)));e.size>0&&!Ee.current&&(Ee.current=!0,u.renderPageAnnotations(W,e,r*(0,$r.L)()).then((()=>{ke()&&Pe(!0)})))}),[W,r,M,u,R,t,Pe,Se,n,ke]),c.useEffect((()=>{Se&&u.clearPageAPStreams(W,R)}),[Se,u,W,R]),c.useEffect((()=>{if(Se)return()=>{u.clearAllPageAPStreams(W)}}),[u,W,Se]);const Oe=(0,_r.jC)({zoomLevel:r}),Ae=!(null==Oe||!Oe.zoomLevel)&&Oe.zoomLevel{Ae&&u.clearAllPageAPStreams(W)}));const Te=z===da.b.POINT?ai:ci,Ie=x.filter((e=>q(e)&&(0,_.Fp)(e)&&(0,_.yU)(e)&&(!h(e)||e instanceof w.Qi)&&(!(e instanceof w.Jn)||null==k))),Fe=Ie.size>1;return c.createElement(le.Provider,null,c.createElement(Hr,{dispatch:d,selectableTextMarkupAnnotations:ie,selectableLinkAnnotations:ae,hoverAnnotationIds:p,zoomLevel:r,window:O,pageIndex:W,selectedAnnotations:x,keepSelectedTool:B,interactionMode:C,setMultiAnnsInitialEvent:J,isMultiSelectionEnabled:V,isHitCaptureDeferred:Q,hitCaptureDeferredRect:te},A,o?c.createElement("div",null,t.filter((e=>q(e)&&(0,_.Fp)(e)&&function(e){return!(C===N.A.INK_ERASER&&ce(e))}(e)&&(!de(e)||!(0,_.yU)(e)||h(e)||e instanceof w.Jn&&k&&k.equals(e))&&!function(e){return e instanceof w.x_&&de(e)&&S}(e))).map((e=>c.createElement(Rr,{key:e.id,annotation:(0,Ue.h4)(e),globalAnnotation:e,attachments:l,backend:u,dispatch:d,isAnnotationReadOnly:h,isDisabled:re&&!de(e),isHover:p.has(e.id),isSelected:de(e),activeAnnotationNote:D,showAnnotationNotes:I,onBlur:b,onFocus:y,pageSize:G,zoomLevel:r,rotation:a,pageRotation:f.rotation,shouldRenderAPStream:xe(e),isFocused:j.has(e.id),isMultiAnnotationsSelected:Fe,isComboBoxOpen:ee,handleComboBoxRect:pe}))),Fe&&c.createElement(c.Fragment,{key:"multi-annotations-selection"},c.createElement(sa,{dispatch:d,pageIndex:W,pageSize:G,window:O,getScrollElement:v,selectedAnnotations:Ie.map((e=>(0,Ue.h4)(e))),selectedGlobalAnnotations:Ie},Ie.map((e=>c.createElement(Rr,{key:e.id,annotation:(0,Ue.h4)(e),globalAnnotation:e,attachments:l,backend:u,dispatch:d,isAnnotationReadOnly:h,isDisabled:!1,isHover:p.has(e.id),isSelected:!0,activeAnnotationNote:D,showAnnotationNotes:I,onBlur:b,onFocus:y,pageSize:G,zoomLevel:r,rotation:a,pageRotation:f.rotation,onClick:e instanceof w.gd?oe:void 0,shouldRenderAPStream:xe(e),isFocused:!1,isComboBoxOpen:ee,handleComboBoxRect:pe}))))),!Fe&&Ie.map((t=>c.createElement(c.Fragment,{key:t.id},c.createElement(ta,{pageIndex:W,pageSize:G,annotation:(0,Ue.h4)(t),globalAnnotation:t,window:O,getScrollElement:v,onFocus:y,onBlur:b,isResizable:(0,_.IO)(t),isModifiable:(0,_.Km)(t),isRotatable:(0,_.a$)(t),setGlobalCursor:U,backend:u,disablePointSnapping:e.viewportState.disablePointSnapping,isAnnotationLocked:t.locked},c.createElement(Rr,{annotation:(0,Ue.h4)(t),globalAnnotation:t,attachments:l,backend:u,dispatch:d,isAnnotationReadOnly:h,isDisabled:!1,isHover:p.has(t.id),isSelected:!0,isFocused:!1,activeAnnotationNote:D,showAnnotationNotes:I,onBlur:b,onFocus:y,pageSize:G,zoomLevel:r,rotation:a,pageRotation:f.rotation,onClick:t instanceof w.gd?oe:void 0,shouldRenderAPStream:xe(t),isComboBoxOpen:ee,handleComboBoxRect:pe})),I&&(0,_.YV)(t)&&c.createElement(Ir,{dispatch:d,annotation:t,zoomLevel:r,isAnnotationSelected:!0,activeAnnotationNote:D,visible:!1}))))):null),C===N.A.INK&&null!==fe&&(0,_.Fp)(fe)?c.createElement(ei,{dispatch:d,pageSize:G,pageIndex:W,inkAnnotation:fe.pageIndex===W?fe:fe.delete("lines").delete("boundingBox"),scrollElement:e.scrollElement}):null,C===N.A.INK_ERASER&&se.size>0?c.createElement(Te,{inkAnnotations:ue,canvasSize:G,pageIndex:W}):null,he&&[...$a,...Xa].includes(C)&&(0,_.Fp)(he)?c.createElement(Yt,{dispatch:d,pageSize:G,pageIndex:W,shapeAnnotation:he.pageIndex===W?he:(0,L.Hx)(he),isAnnotationMeasurement:[...Xa].includes(C),backend:u,disablePointSnapping:e.viewportState.disablePointSnapping}):null,C!==N.A.TEXT&&C!==N.A.CALLOUT||!me?null:c.createElement(Ni,{annotation:me,interactionMode:C,dispatch:d,pageSize:G,pageIndex:W,autoSelect:P,eventEmitter:F}),ge&&(0,_.Fp)(ge)?c.createElement(Fi,{dispatch:d,annotation:ge,pageIndex:W,pageSize:G,autoSelect:P,lastMousePoint:null===H?void 0:H,eventEmitter:F,keepSelectedTool:B,enableRichText:K}):null,(ve||ye)&&c.createElement(Vr,{dispatch:d,annotation:ve||ye,pageSize:G,pageIndex:W,zoomLevel:r}),be&&C===N.A.REDACT_SHAPE_RECTANGLE&&(0,_.Fp)(be)?c.createElement(ua,{dispatch:d,pageSize:G,pageIndex:W,redactionAnnotation:be.pageIndex===W?be:be.delete("boundingBox"),keepSelectedTool:B}):null,C===N.A.LINK&&we?c.createElement(Va,{dispatch:d,linkAnnotation:we,viewportState:e.viewportState,page:e.page,window:e.window,pageIndex:W,keepSelectedTool:B}):null,C===N.A.MULTI_ANNOTATIONS_SELECTION?c.createElement(Ha,{viewportState:e.viewportState,window:e.window,pageIndex:W,initialDraggingEvent:Y,multiAnnotationsUsingShortcut:Z}):null)})),bp=yp,wp=(0,io.Z)((e=>(t,n)=>{e.emit("annotations.focus",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})})),Sp=(0,io.Z)((e=>(t,n)=>{e.emit("annotations.blur",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})}));function Pp(e,t){const n=Ep(e),o=Ep(t);return n>o?1:n{const t=this._hostElement.current;if(!t)return;const n=t.ownerDocument.defaultView.getSelection()||{},{anchorNode:o,extentNode:r,focusNode:i,isCollapsed:a}=n;if(o&&t.contains(o)||r&&t.contains(r)||i&&t.contains(i)){if(a)return;e.stopPropagation(),e.stopImmediatePropagation()}}))}_appendNode(){const e=this._hostElement.current;if(!e)return;const{node:t,onAppear:n}=this.props.item;e.innerHTML="",e.appendChild(t),"function"!=typeof n||this._onAppearInvoked||(this._onAppearInvoked=!0,n())}componentDidMount(){const e=this._hostElement.current;if(e){const t=e.ownerDocument;Cp.forEach((e=>{t.addEventListener(e,this._preventTextSelection,!0)}))}this._appendNode()}componentDidUpdate(e){this.props.item.node!==e.item.node&&this._appendNode()}componentWillUnmount(){const e=this._hostElement.current;if(!e)return;const t=e.ownerDocument;Cp.forEach((e=>{t.removeEventListener(e,this._preventTextSelection,!0)})),this._onAppearInvoked=!1;const{onDisappear:n}=this.props.item;"function"==typeof n&&n()}render(){return c.createElement(xe,{applyZoom:!this.props.item.disableAutoZoom,position:this.props.item.position,noRotate:this.props.item.noRotate,currentPagesRotation:this.props.rotation,zoomLevel:this.props.zoomLevel},c.createElement("div",{className:Dp().selectable,ref:this._hostElement}))}}var Op=n(72800);class Ap extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerUp",(e=>{const{transformClientToPage:t,onEmit:n,pageIndex:o}=this.props;n(e,t(new b.E9({x:e.clientX,y:e.clientY}),o))}))}render(){return c.createElement(Je.Z,{onPointerUp:this._handlePointerUp},c.createElement(this.props.element,{},this.props.children))}}const Tp=jr(Ap);var Ip=n(99398),Fp=n.n(Ip);function Mp(e){let{focused:t,searchResult:n,zoomLevel:o}=e;const r=d()({[Fp().highlight]:!0,[Fp().focused]:t,"PSPDFKit-Search-Highlight":!0,"PSPDFKit-Search-Highlight-focused":t});return c.createElement("div",{"data-testid":"SearchHighlight","aria-live":"polite"},t?c.createElement(q.TX,{announce:"polite"},"Search Result: ",n.previewText):null,n.rectsOnPage.map(((e,t)=>c.createElement("div",{key:t,style:{top:Math.floor(e.top*o),left:Math.floor(e.left*o),width:Math.ceil(e.width*o),height:Math.ceil(e.height*o)},className:r}))).toArray())}const _p=(0,a.$j)((function(e,t){const{searchState:n}=e;return{searchResults:n.results.filter((e=>e.pageIndex===t.pageIndex)),focusedResult:n.results.get(n.focusedResultIndex)}}))((function(e){let{searchResults:t,focusedResult:n,zoomLevel:o}=e;return c.createElement("div",{className:Fp().layer,"data-testid":"SearchHighlightLayer"},t.map(((e,t)=>c.createElement(Mp,{focused:e===n,key:t,searchResult:e,zoomLevel:o}))))})),Np={P:"p",TH:"th",TD:"td",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",Figure:"figure",Link:"a"};function Rp(e){var t,n;const{textLine:o,content:r,isPanModeEnabled:i,enableTextSelection:a,vertical:s,scaling:l,pageIndex:u}=e,p=null===(t=o.contentTreeElementMetadata)||void 0===t?void 0:t.pdfua_type;let f="span";p&&p in Np&&(f=Np[p]);const h=d()({[Ms().line]:!0,[Ms().lineTextCursor]:!i,[Ms().debug]:!1,[Ms().enableTextSelection]:a,"PSPDFKit-Text":!0,[Ms().vertical]:!!s}),m={top:o.boundingBox.top,left:o.boundingBox.left,transform:l&&l.scaleX>0&&l.scaleY>0?`scale(${l.scaleX}, ${l.scaleY})`:""};return c.createElement(f,{className:h,style:m,key:o.id||void 0,alt:(null===(n=o.contentTreeElementMetadata)||void 0===n?void 0:n.alt)||void 0},c.createElement("span",{"data-textline-id":o.id,"data-page-index":u,className:Ms().selectableText},r))}class Lp extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handleOnPressEmit",((e,t)=>{const{textLine:n,eventEmitter:o}=this.props,r={textLine:n,point:t,nativeEvent:e.nativeEvent};o.emit("textLine.press",r)})),(0,o.Z)(this,"_handleDeselectText",(()=>{this.props.dispatch((0,De.vR)())}))}render(){const{textLine:e,isTextCopyingAllowed:t}=this.props,n={top:e.boundingBox.top,left:e.boundingBox.left-20,transform:"none"},o=(0,ks.LD)(t,e);return c.createElement(Tp,{pageIndex:this.props.pageIndex,onEmit:this._handleOnPressEmit,element:"div"},!Ke.vU&&c.createElement("span",{className:d()({[Ms().linePadding]:!0,[Ms().preventUserSelect]:Ke.G6||Ke.b5}),style:n,onClick:Ke.G6||Ke.b5?this._handleDeselectText:void 0}),c.createElement(Rp,(0,ue.Z)({content:o},this.props)))}}var Bp;class jp extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"layerRef",c.createRef()),(0,o.Z)(this,"state",{needsTextSelectionOverlay:"gecko"===Ke.SR,overlayHeight:0}),(0,o.Z)(this,"handleMouseDown",(e=>{if(this.state.needsTextSelectionOverlay&&this.layerRef.current){const t=this.layerRef.current.getBoundingClientRect();if(e.clientY){const n=Math.max(0,e.clientY-t.top);this.setState({overlayHeight:n/this.props.zoomLevel})}}})),(0,o.Z)(this,"handleMouseUp",(()=>{this.state.needsTextSelectionOverlay&&this.setState({overlayHeight:0})}))}getChildren(){return this.layerRef.current&&(0,i.aV)(this.layerRef.current.getElementsByClassName(Ms().line))}getLayer(){return this.layerRef.current}render(){const{enableTextSelection:e,zoomLevel:t,rotation:n,eventEmitter:o,textLines:r,pageIndex:i,textLineScales:a}=this.props;return c.createElement("div",{className:Ms().layer,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,style:{transform:`scale(${t})`,transformOrigin:"0 0"},ref:this.layerRef,role:"webkit"===Ke.SR?"text":void 0},Bp||(Bp=c.createElement("div",null)),null==r?void 0:r.map((t=>c.createElement(Lp,{dispatch:this.props.dispatch,enableTextSelection:e,key:t.id,pageIndex:i,scaling:a&&a.get(t.id),textLine:t,vertical:90===n||270===n,eventEmitter:o,isTextCopyingAllowed:this.props.isTextCopyingAllowed,isPanModeEnabled:this.props.isPanModeEnabled}))),this.state.needsTextSelectionOverlay&&this.state.overlayHeight>0?c.createElement("div",{className:Ms().overlay,style:{top:this.state.overlayHeight}}):null)}}var zp=n(51869),Kp=n.n(zp);function Zp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Up(e){for(var t=1;te.apply(o)),[o]);c.useEffect((function(){return t((0,Kt.X2)()),function(){t((0,Kt.Zg)())}}),[t]);const{rect:u}=a;return c.createElement("div",{className:Kp().canvas},null!==u?c.createElement("svg",{className:Kp().svg,style:{left:u.left*i,top:u.top*i,width:u.width*i,height:u.height*i},focusable:!1},c.createElement("rect",{className:Kp().rect,height:u.height*i,width:u.width*i,x:0,y:0}),c.createElement("rect",{className:Kp().rectStrokeBetween,height:u.height*i,width:u.width*i,x:0,y:0})):null,c.createElement(zt.Z,{size:n,onDrawStart:function(e){s((t=>Up(Up({},t),{},{startingPoint:e})))},onDrawCoalesced:function(e){const{startingPoint:t}=a;(0,Pe.k)(t);const n=e[e.length-1];s((e=>Up(Up({},e),{},{rect:Wp(t,n)})))},onDrawEnd:function(){const{rect:e}=a,n=5/i;null===e||e.width{if(!(0,Ke.b1)())return t.addEventListener("mousemove",e),()=>{(0,Ke.b1)()||t.removeEventListener("mousemove",e)};function e(e){const{pageX:t,pageY:n}=e,r=e.target.closest(".PSPDFKit-Page");if(!r)return void h(!1);const i=r.getAttribute("data-page-index");if((0,s.kG)("string"==typeof i,"Page number is not a string"),+i===a){h(!0),(0,s.kG)(o.current);const{left:e,top:r}=o.current.getBoundingClientRect();p([t-e,n-r])}else h(!1)}}),[o,t,a]),f?c.createElement("div",{className:d()({[Hp().wrapper]:(0,Ke.b1)()},"PSPDFKit-Form-Creator-Guides"),onPointerUp:i,role:"application"},!(0,Ke.b1)()&&c.createElement(c.Fragment,null,c.createElement("div",{className:Hp().hGuide,style:{transform:`translate(0, ${u[1]}px)`}}),c.createElement("div",{className:Hp().vGuide,style:{transform:`translate(${u[0]}px,0)`}}),c.createElement("div",{className:d()({[Hp().buttonWidget]:r===N.A.BUTTON_WIDGET,[Hp().textWidget]:r===N.A.TEXT_WIDGET,[Hp().radioWidget]:r===N.A.RADIO_BUTTON_WIDGET,[Hp().checkboxWidget]:r===N.A.CHECKBOX_WIDGET,[Hp().signWidget]:r===N.A.SIGNATURE_WIDGET,[Hp().listBoxWidget]:r===N.A.LIST_BOX_WIDGET,[Hp().comboBoxWidget]:r===N.A.COMBO_BOX_WIDGET,[Hp().dateWidget]:r===N.A.DATE_WIDGET}),style:{transform:`translate(${u[0]}px,${u[1]}px)`}},c.createElement("div",null,l.formatMessage(ke.Z.sign)),c.createElement(Re.Z,{src:n(58021)})))):null}var Xp=n(12671);function Yp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jp(e){for(var t=1;t{const{page:t,textBlockId:n,anchor:o,zoomLevel:r,textBlockState:i,backend:a,isActive:s}=e,l=c.useRef(null),u=c.useRef({offset:{x:0,y:0},size:{x:-1,y:-1}}),d=c.useCallback((0,Jl.k)(((e,t)=>a.contentEditorRenderTextBlock(n,e,t)),20),[]),p=i.layout,f=i.globalEffects,h=i.modificationsCharacterStyle;c.useEffect((()=>{!async function(){const e=(0,Xp.T8)(p,h),n=(0,$r.L)(),i=await d({pixelAnchor:{x:o.x*r*n,y:o.y*r*n},globalEffects:(0,Xp.uE)(f),pixelPageSize:{x:t.pageSize.width*r*n,y:t.pageSize.height*r*n},pixelViewport:{offset:{x:0,y:0},size:{x:t.pageSize.width*r*n,y:t.pageSize.height*r*n}},cursor:null,selection:s?{color:"#b5d7ff"}:null},e),a=i.displayRect,c=l.current;if(!c)return;const m=u.current;m.offset.x!=a.offset.x&&(c.style.left=a.offset.x/n+"px"),m.offset.y!=a.offset.y&&(c.style.top=a.offset.y/n+"px"),m.size.x!=a.size.x&&(c.style.width=a.size.x/(Ke.G6?1:n)+"px",c.width=a.size.x),m.size.y!=a.size.y&&(c.style.height=a.size.y/(Ke.G6?1:n)+"px",c.height=a.size.y);const g=c.getContext("2d");if(g){if(g.clearRect(0,0,a.size.x,a.size.y),a.size.x&&a.size.y){const e=new ImageData(new Uint8ClampedArray(i.imageBuffer),a.size.x,a.size.y);g.putImageData(e,0,0)}u.current=a}}()}));const m=Ke.G6?{transformOrigin:"top left",transform:`scale(${1/devicePixelRatio})`}:{};return c.createElement("canvas",{ref:l,style:Jp({position:"absolute",left:0,top:0},m)})},ef=c.memo(Qp);var tf=n(38151);const nf={on(e,t){document.addEventListener(e,(e=>t(e.detail)))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};var of=n(20423),rf=n.n(of),af=n(94385);const sf=(0,Se.vU)({fontMismatch:{id:"ceFontMismatch",defaultMessage:"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.",description:"Message to show when there is a mismatch"},toggleFontMismatchTooltip:{id:"ceToggleFontMismatchTooltip",defaultMessage:"Toggle font mismatch tooltip",description:"Message to show for the button that displays the font mismatch tooltip"},deleteTextBlockConfirmMessage:{id:"deleteTextBlockConfirmMessage",defaultMessage:"Are you sure you want to delete this text box?",description:"Message for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityLabel:{id:"deleteTextBlockConfirmAccessibilityLabel",defaultMessage:"Confirm text box deletion",description:"Accessibility label for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityDescription:{id:"deleteTextBlockConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the text box",description:"Accessibility description for the delete annotation confirm dialog"}});function lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cf(e){for(var t=1;t{const e=b.sl.IDENTITY.rotateRad(h.rotation).scale(1,h.flipY?-1:1),t=o.offset.x+l.width,n=new w.E9({x:t+5*i,y:o.offset.y}).apply(e),r=n.x+s.x*i+(h.rotation<0?o.offset.x:0),a=n.y+s.y*i+(h.rotation<0?o.offset.y:0);return new w.E9({x:r,y:a})}),[l.width,i,h.flipY,h.rotation,s.x,s.y,o.offset.x,o.offset.y]),v=cf(cf({},u),{},{position:"fixed",left:g.x,top:g.y,width:Math.max(12,Math.round(16*i)),height:Math.max(12,Math.round(16*i)),zIndex:3});return c.createElement("button",{style:v,className:rf().tooltipButton,onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerDown:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerOver:()=>{var e;const n=o.offset.x+f.size.x,r=o.offset.y,a=new w.E9({x:n,y:r}),l=b.sl.IDENTITY.rotateRad(h.rotation).scale(1,h.flipY?-1:1),c=a.apply(l);p((0,tf.lx)(new w.UL({left:s.x+(null!==(e=m.maxWidth)&&void 0!==e?e:c.x),top:g.y/i,width:16,height:16}),t))},onPointerLeave:()=>{if(!Ke.Ni){const e=new AbortController;p((0,tf.Hv)(e)),p((0,tf.uy)(e.signal))}}},c.createElement(Re.Z,{src:n(46113),className:rf().tooltipSVG}),c.createElement(q.TX,null,d(sf.toggleFontMismatchTooltip)))}function df(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function pf(e){for(var t=1;t{var t,n;const{page:{pageSize:o,pageIndex:r},textBlockId:i,anchor:s,zoomLevel:l,textBlockState:u,isActive:p,frameWindow:f}=e,h=(0,a.I0)(),m=u.contentRect,g=u.globalEffects,v=u.detectedStyle,y=u.cursor,b=c.useRef(!1),[S,P]=c.useState(!1),E=c.useRef(!1),x=(0,a.v9)((e=>(0,ml.G_)(r,i)(e))),D=(0,a.v9)((e=>(0,ml.QC)(r,i)(e)));c.useEffect((()=>{if(!p){const e=new AbortController;h((0,tf.Hv)(e)),h((0,tf.uy)(e.signal))}}),[p,h]);const C=c.useRef(null),k=c.useMemo((()=>{var e,t,n;return p?null!=(null===(e=v.selectionStyleInfo)||void 0===e?void 0:e.faceMismatch)?v.selectionStyleInfo.faceMismatch.unavailableFaceName:null!==(t=null===(n=v.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName)&&void 0!==t?t:null:null}),[null===(t=v.selectionStyleInfo)||void 0===t?void 0:t.faceMismatch,null===(n=v.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName,p]),O=c.useRef(null),A=c.useRef(null),T=e=>{var t,n;(0,Pe.k)(e.currentTarget);return new w.E9({x:(null!==(t=e.nativeEvent.offsetX)&&void 0!==t?t:0)/l+m.offset.x,y:(null!==(n=e.nativeEvent.offsetY)&&void 0!==n?n:0)/l+m.offset.y})},I=()=>(0,Xp.T8)(u.layout,u.modificationsCharacterStyle),F=function(e){let{textAreaRef:t,textBlockId:n,pageIndex:o,makeExternalState:r}=e;const i=c.useRef(!1),s=(0,a.I0)(),l=e=>{t.current&&null!=e&&e.length&&s((0,tf.qt)(o,n,null,e,r()))},u=Ke.Dt||Ke.TL;return{onChange:e=>{i.current||l("insertLineBreak"===e.nativeEvent.inputType?"\n":e.nativeEvent.data)},onCompositionStart:()=>{u||(i.current=!0)},onCompositionEnd:e=>{u||(i.current=!1,l(e.data))}}}({textAreaRef:C,textBlockId:i,pageIndex:r,makeExternalState:I}),M=function(e){let{textBlockState:t,textBlockId:n,pageIndex:o,makeExternalState:r}=e;const i=(0,a.I0)();return{onCopy:e=>{e.preventDefault(),t.selection&&e.clipboardData.setData("text/plain",t.selection.text)},onCut:e=>{e.preventDefault(),t.selection&&(e.clipboardData.setData("text/plain",t.selection.text),i((0,tf.qt)(o,n,null,"",r())))},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");i((0,tf.qt)(o,n,null,t,r()))}}}({textBlockId:i,pageIndex:r,textBlockState:u,makeExternalState:I}),_=function(e){let{textBlockId:t,makeExternalState:n,textBlockState:o,pageSize:r,pageIndex:i,isSelected:s,isActive:l}=e;const c=(0,a.I0)();return e=>{const a=Ke.V5&&e.altKey||!Ke.V5&&e.ctrlKey;if(l)switch(e.key){case"ArrowRight":c((0,tf.FD)(i,t,a?"forwardWord":"forward",e.shiftKey,n()));break;case"ArrowLeft":c((0,tf.FD)(i,t,a?"backwardWord":"backward",e.shiftKey,n()));break;case"ArrowDown":c((0,tf.FD)(i,t,"nextLine",e.shiftKey,n()));break;case"ArrowUp":c((0,tf.FD)(i,t,"previousLine",e.shiftKey,n()));break;case"Home":c((0,tf.FD)(i,t,"first",e.shiftKey,n()));break;case"End":c((0,tf.FD)(i,t,"last",e.shiftKey,n()));break;case"Backspace":c((0,tf.RL)(i,t,"backward",n()));break;case"Delete":c((0,tf.RL)(i,t,"forward",n()));break;case"a":case"A":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;c((0,tf.Ow)(i,t,"everything",n()));break;case"z":case"Z":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;e.shiftKey?c((0,tf.yy)(i,t,n())):c((0,tf.Zv)(i,t,n()));break;case"y":case"Y":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;c((0,tf.yy)(i,t,n()));break;case"Escape":c(tf.Pq),e.preventDefault()}else if(s){let n=1;switch(e.shiftKey&&(n=10),e.key){case"ArrowRight":{e.preventDefault();const t=new w.E9({x:o.anchor.x+n,y:o.anchor.y});if(t.x+o.contentRect.offset.x+o.contentRect.size.x>=r.width)break;c((0,tf.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowLeft":{e.preventDefault();const t=new w.E9({x:o.anchor.x-n,y:o.anchor.y});if(t.x+o.contentRect.offset.x<=0)break;c((0,tf.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowDown":{e.preventDefault();const t=new w.E9({x:o.anchor.x,y:o.anchor.y+n});if(t.y+o.contentRect.offset.y+o.contentRect.size.y>=r.height)break;c((0,tf.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowUp":{e.preventDefault();const t=new w.E9({x:o.anchor.x,y:o.anchor.y-n});if(t.y+o.contentRect.offset.y<=0)break;c((0,tf.$t)({anchor:t,isKeyboardMove:!0}));break}case"Enter":c((0,tf.SF)(i,t)),e.preventDefault();break;case"Escape":c(tf.Pq),e.preventDefault();break;case"Backspace":case"Delete":case"Del":c((0,tf.u)(ml.wR.Delete)),e.preventDefault(),e.stopPropagation();break;default:e.preventDefault()}}else switch(e.key){case"Enter":c((0,tf.C0)(i,t)),e.preventDefault();break;case"Escape":c(tf.Pq),e.preventDefault()}}}({textBlockId:i,textBlockState:u,makeExternalState:I,pageSize:o,pageIndex:r,isActive:p,isSelected:x});function N(e){var t;const n=T(e),o={x:n.x,y:n.y};null===(t=C.current)||void 0===t||t.focus(),h((0,tf.v2)(r,i,o,e.shiftKey,I())),O.current={mode:"characters",begin:o}}function R(e){e.stopPropagation(),e.stopImmediatePropagation();const t={x:e.clientX,y:e.clientY};if(!A.current)return[null,null];const n=new w.UL({width:o.width,height:o.height});let r=new w.E9(t);const i=A.current;if(r=r.apply(i.transformation),!n.isPointInside(r))return[null,null];return[(t.x-i.start.x)*i.scale/i.zoomLevel,(t.y-i.start.y)*i.scale/i.zoomLevel]}c.useEffect((()=>{E.current&&x&&(E.current=!1)}),[x]);const L=c.useCallback((0,af.Z)((e=>{const[t,n]=R(e);if(null===t||null===n||!A.current)return;const o=new w.E9({x:A.current.anchor.x+t,y:A.current.anchor.y+n});A.current.changed=!0,h((0,tf.$t)({anchor:o,pageIndex:r,textBlockId:i}))}),20),[]),B=c.useCallback((()=>{var e;f.document.removeEventListener("pointermove",L),f.document.removeEventListener("pointerup",B),h((0,mc.ac)(!1)),null!==(e=A.current)&&void 0!==e&&e.changed&&(A.current.previousInteractionState===ml.FP.Selected?h((0,tf.C0)(r,i)):h(tf.Pq)),A.current=null}),[]);c.useEffect((()=>{var e;p&&u.justCreated&&(null===(e=C.current)||void 0===e||e.focus())}),[p,u.justCreated]);const j=()=>{var e;return p&&(null===(e=C.current)||void 0===e?void 0:e.focus())};c.useEffect((()=>(nf.on("content-editing:re-focus",j),()=>nf.remove("content-editing:re-focus",j))));const z=u.layout;(0,Pe.k)(null!==z.maxWidth);const K={offset:{x:(0,Il._v)(z.alignment,Il.Im,z.maxWidth),y:m.offset.y},size:{x:z.maxWidth,y:m.size.y}},Z=(0,Il.sz)(vl(K),l),U=(0,Il.yK)(Z,s,l),V={position:"absolute",left:U.offset.x,top:U.offset.y},G=pf(pf({},V),{},{width:U.size.x,height:U.size.y,transformOrigin:`${-Z.offset.x}px ${-Z.offset.y}px`,transform:`rotate(${g.rotation}rad) scaleY(${g.flipY?-1:1})`});u.justCreated&&(G.width=Math.max(m.size.x,10)*l);const W=(0,a.v9)((e=>(0,H.zi)(e,r))),q=(e,t)=>n=>{n.stopPropagation(),n.isPrimary&&0===n.button&&(n.nativeEvent.stopImmediatePropagation(),n.preventDefault(),f.document.addEventListener("pointermove",$,{passive:!0}),f.document.addEventListener("pointerup",X,{passive:!0}),h((0,mc.ac)(!0)),x||p||h((0,tf.SF)(r,i)),(0,Pe.k)(null!==z.maxWidth),A.current={fixpoint:e,scale:t,zoomLevel:l,start:{x:n.clientX,y:n.clientY},anchor:u.anchor,maxWidth:z.maxWidth,transformation:W,previousInteractionState:x?ml.FP.Selected:ml.FP.None})},$=c.useCallback((0,af.Z)((e=>{const[t]=R(e);null!==t&&A.current&&h((0,tf.PZ)({fixpointValue:A.current.fixpoint,newWidth:A.current.maxWidth+t}))}),20),[]),X=c.useCallback((()=>{A.current=null,f.document.removeEventListener("pointermove",$),f.document.removeEventListener("pointerup",X),h((0,mc.ac)(!1))}),[]);return c.createElement(c.Fragment,null,k?c.createElement(uf,{faceMismatch:k,relativePixelContentRect:Z,textBlockState:u,zoomLevel:l,anchor:s,geometricStyleAttributes:G,positionAttributes:V}):null,c.createElement("div",{style:pf(pf({},G),{},{position:"fixed",zIndex:2}),className:d()(rf().textBlock,{[rf().selectedTextBlock]:x,[rf().movingTextBlock]:D,[rf().activeTextBlock]:p,[rf().focusIn]:S}),onFocus:()=>{b.current=!0},onBlur:()=>{b.current=!1,P(!1)},onKeyUp:e=>{const t=e.target.ownerDocument.defaultView&&e.target instanceof e.target.ownerDocument.defaultView.HTMLTextAreaElement;b.current&&"Tab"===e.key&&t&&(P(!0),h((0,tf.FD)(r,i,"first",!1,I())))}},c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`${m.offset.x*l} ${Z.offset.y} ${Z.size.x} ${Z.size.y}`,style:pf(pf({},G),{},{width:U.size.x,position:"absolute",left:0,top:0,transform:void 0,transformOrigin:void 0,display:p?"block":"none"}),className:rf().blinkingCaret},c.createElement("line",{stroke:"currentColor",x1:y.offset.x*l,y1:(y.offset.y+y.lineSpacing.bottom)*l,x2:y.offset.x*l,y2:(y.offset.y-y.lineSpacing.top)*l})),c.createElement("textarea",(0,ue.Z)({ref:C,onPointerDown:e=>{e.stopPropagation(),p?N(e):(e.preventDefault(),e.isPrimary&&(f.document.addEventListener("pointermove",L,{passive:!0}),f.document.addEventListener("pointerup",B,{passive:!0}),h((0,mc.ac)(!0)),(0,Pe.k)(null!==z.maxWidth),A.current={fixpoint:0,scale:1,zoomLevel:l,start:{x:e.clientX,y:e.clientY},anchor:u.anchor,maxWidth:z.maxWidth,transformation:W,previousInteractionState:x?ml.FP.Selected:ml.FP.None}))},onPointerMove:e=>{if(A.current)return;if(e.preventDefault(),!(p&&1&e.buttons))return;e.stopPropagation();const t=T(e),n={x:t.x,y:t.y},o=O.current;(0,Pe.k)(o),h((0,tf.sC)(r,i,o.begin,n,o.mode,I()))},onPointerUp:e=>{var t;null!==(t=A.current)&&void 0!==t&&t.changed||(e.preventDefault(),e.stopPropagation(),x||p?p||(h((0,tf.SF)(r,i)),N(e)):(h((0,tf.C0)(r,i)),E.current=!0))},onMouseUp:e=>{if(e.detail>=2){e.preventDefault(),e.stopPropagation();const t=T(e),n={x:t.x,y:t.y};O.current={mode:"words",begin:n},h((0,tf.sC)(r,i,n,n,"words",I())),e.detail>=3&&h((0,tf.Ow)(r,i,"everything",I()))}},onClick:e=>{e.preventDefault(),e.stopPropagation()},onKeyDown:_},F,M,{onContextMenu:ar.PF,style:pf(pf({},G),{},{resize:"none",opacity:0,touchAction:"none",left:0,top:0,transform:void 0,transformOrigin:void 0}),defaultValue:u.layoutView.lines.map((e=>(0,Il.z8)(e.elements))).join(" ")})),x?c.createElement(c.Fragment,null,c.createElement("div",{draggable:!0,onPointerDown:q(Il.Tl,-1),className:d()(rf().resizeHandle,rf().resizeHandleLeft)},c.createElement("div",{className:rf().resizeHandleCircle})),c.createElement("div",{draggable:!0,onPointerDown:q(Il.Im,1),className:d()(rf().resizeHandle,rf().resizeHandleRight)},c.createElement("div",{className:rf().resizeHandleCircle}))):null))},hf=c.memo(ff),mf=e=>{const{page:t,textBlockId:n,zoomLevel:o,backend:r,frameWindow:i}=e,s=(0,a.v9)((e=>{const o=(0,ml.aT)(t.pageIndex,n)(e);return(0,Pe.k)(o),o.anchor})),l=(0,a.v9)((e=>(0,ml.aT)(t.pageIndex,n)(e)));(0,Pe.k)(l);const u=(0,a.v9)((e=>(0,ml.Dn)(t.pageIndex,n)(e)));return c.createElement("div",{className:"PSPDFKit-Content-Editing-Text-Block"},c.createElement(ef,{page:t,textBlockId:n,anchor:s,zoomLevel:o,textBlockState:l,isActive:u,backend:r}),c.createElement(hf,{page:t,textBlockId:n,anchor:s,zoomLevel:o,isActive:u,textBlockState:l,frameWindow:i}))},gf=c.memo(mf);function vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function yf(e){for(var t=1;t{const t=(0,a.I0)(),{formatMessage:n}=(0,Se.YB)(),{page:o,zoomLevel:r,backend:i,frameWindow:s}=e;c.useEffect((()=>{var e;t((e=o.pageIndex,async(t,n)=>{if((0,ml.Cd)(e)(n())!=ml.R1.Uninitialized)return;t({type:B.l$y,pageIndex:e});const o=await n().backend.contentEditorDetectParagraphs(e);t({type:B.kD6,pageIndex:e,initialTextBlocks:o})}))}),[t,o.pageIndex]);const l=o.pageSize.height*r,u=o.pageSize.width*r,d=(0,a.v9)((0,ml.jI)(o.pageIndex),a.wU),p=(0,a.v9)((e=>e.contentEditorSession.mode)),f=p===ml.wR.Create,h=p===ml.wR.Delete,m=(0,a.v9)((e=>(0,H.zi)(e,o.pageIndex))),g=(0,a.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),v=g===ml.FP.Active,y=g===ml.FP.Moving;return c.createElement("div",{tabIndex:0,onPointerDown:e=>{if(f){const n=new w.E9({x:e.clientX,y:e.clientY}).apply(m),r=new ml.Sg({x:n.x,y:n.y});t((0,tf.rO)(o.pageIndex,r))}else h||(v&&(e.preventDefault(),e.stopPropagation()),t(tf.Pq))},className:"content-editing-overlay",style:yf({position:"absolute",top:0,left:0,touchAction:y?"none":"auto",height:l,width:u,zIndex:1},f?{cursor:"text"}:{})},h&&c.createElement(_c.Z,{onConfirm:()=>t(tf.um),onCancel:()=>t((0,tf.u)(ml.wR.Edit)),accessibilityLabel:n(sf.deleteTextBlockConfirmAccessibilityLabel),accessibilityDescription:n(sf.deleteTextBlockConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},c.createElement("p",null,n(sf.deleteTextBlockConfirmMessage))),d.map((e=>c.createElement(gf,{key:e,backend:i,textBlockId:e,page:o,zoomLevel:r,frameWindow:s}))))},wf=c.memo(bf);function Sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pf(e){for(var t=1;t{let{pageSize:t}=e;const n=(0,a.v9)((e=>e.hintLines));return n?c.createElement("svg",{id:"hint-lines",viewBox:`0 0 ${t.width} ${t.height}`,className:Of().hintLineSvg},n.lines.map(((e,t)=>c.createElement("line",{key:t,x1:e.start.x,y1:e.start.y,x2:e.end.x,y2:e.end.y,className:Of().line})))):null};class Tf extends c.Component{constructor(e){super(e),(0,o.Z)(this,"pageRef",c.createRef()),(0,o.Z)(this,"_handleOverviewRenderFinished",(()=>{this.setState({isOverviewRendered:!0}),this.props.onInitialOverviewRenderFinished&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex)})),(0,o.Z)(this,"_handleScroll",(e=>{this.pageRef.current&&(this.pageRef.current.scrollTop=0,this.pageRef.current.scrollLeft=0),e.stopPropagation(),e.preventDefault()})),(0,o.Z)(this,"_handleOnPressEmit",((e,t)=>{const n={pageIndex:this.props.page.pageIndex,point:t,nativeEvent:e.nativeEvent};this.props.eventEmitter.emit("page.press",n)})),(0,o.Z)(this,"onCropAreaChangeComplete",(e=>{const t=(0,vr.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStop",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"onCropAreaChangeStart",(e=>{const t=(0,vr.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStart",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"createWidgetAnnotation",(e=>{var t,n,o;e.stopPropagation(),this.props.dispatch((t=this.props.page.pageIndex,n=[e.pageX,e.pageY],o=this.props.intl,async(e,r)=>{const{interactionMode:a,viewportState:l,onWidgetAnnotationCreationStart:c,changeManager:u}=r();xf++;const d=(0,H.Ek)(l,t),p=(0,_.xc)();(0,s.kG)(a,"interactionMode is not defined");const f=Ef[a],h=new Date;let m,g=new w.x_(Pf(Pf({id:p,formFieldName:`${a}_${(0,Ya.C)()}`,boundingBox:new w.UL({left:n[0],top:n[1],width:f[0],height:f[1]}).apply(d),pageIndex:t,createdAt:h,updatedAt:h,fontSize:12},a===N.A.BUTTON_WIDGET?{backgroundColor:w.Il.BLUE,fontColor:w.Il.WHITE}:{}),a===N.A.DATE_WIDGET?{additionalActions:{onFormat:new w.bp({script:'AFDate_FormatEx("yyyy-mm-dd")'})}}:{}));switch(a){case N.A.BUTTON_WIDGET:m=new w.R0({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,buttonLabel:"Button"});break;case N.A.TEXT_WIDGET:case N.A.DATE_WIDGET:m=new w.$o({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName});break;case N.A.RADIO_BUTTON_WIDGET:m=new w.XQ({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new w.mv({label:o.formatMessage(Ff.labelX,{arg0:1}),value:`Value ${xf}`})])});break;case N.A.CHECKBOX_WIDGET:m=new w.rF({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new w.mv({label:o.formatMessage(Ff.labelX,{arg0:1}),value:`Value ${xf}`})])});break;case N.A.SIGNATURE_WIDGET:m=new w.Yo({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName});break;case N.A.LIST_BOX_WIDGET:m=new w.Vi({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new w.mv({label:"Option 1",value:`Value ${xf}`})])});break;case N.A.COMBO_BOX_WIDGET:m=new w.fB({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new w.mv({label:"Option 1",value:"Option 1"}),new w.mv({label:"Option 2",value:"Option 2"})])});break;default:throw new Error(`Unknown interaction mode: ${a}`)}if(m=m.set("id",(0,Ya.C)()),c){const e=c(g,m);g=e.annotation||g,m=e.formField||m,(0,s.kG)(g instanceof w.x_,"widgetAnnotation must be an instance of WidgetAnnotation"),(0,s.kG)(m instanceof w.Wi,"formField must be an instance of FormField"),(0,s.kG)(g.formFieldName===m.name,"widgetAnnotation.formFieldName must be equal to formField.name"),(0,s.kG)(t===g.pageIndex,"You are not allowed to change the pageIndex")}e({type:B.vgx,annotationId:g.id}),null==u||u.create([g,m]),e((0,Qn.el)()),e((0,De.J4)((0,i.l4)([g.id]),R.o.SELECTED))}))})),this._textLinesPromise=null,this._cancelTextPromise=null,this.state={hasBeenInViewport:e.inViewport,isOverviewRendered:!e.renderPagePreview}}shouldComponentUpdate(e,t){return!!e.page&&(this.props.isReused!==e.isReused||(this.props.page.pageIndex!==e.page.pageIndex||(!(!e.inViewport||this.props.inViewport)||(!(e.inViewport||!this.props.inViewport)||(e.shouldPrerender!==this.props.shouldPrerender||(e.inViewport?Ce.O.call(this,e,t):this.props.interactionMode===N.A.CONTENT_EDITOR&&e.interactionMode!==N.A.CONTENT_EDITOR||this.props.viewportState.zoomLevel!==e.viewportState.zoomLevel))))))}UNSAFE_componentWillReceiveProps(e){e.inViewport&&!this.state.hasBeenInViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillMount(){(this.props.inViewport||this.props.shouldPrerender)&&this.componentWillEnterViewport(this.props),this.props.inViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillUpdate(e){this.props.isReused?(this._resetTextLines(),this._fetchPageContent(e)):!this.props.inViewport&&e.inViewport||e.shouldPrerender?this.componentWillEnterViewport(e):this.props.inViewport&&!e.inViewport&&this.componentWillExitViewport()}componentDidUpdate(e){this.state.isOverviewRendered&&this.props.onInitialOverviewRenderFinished&&this.props.parent!==e.parent&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex)}componentWillEnterViewport(e){this._fetchPageContent(e)}_fetchPageContent(e){e.annotationManager.loadAnnotationsForPageIndex(e.page.pageIndex),null==e.page.textLines&&null==this._textLinesPromise&&this.fetchTextLinesForProps(e)}componentWillExitViewport(){this._resetTextLines()}_resetTextLines(){this._textLinesPromise&&this._cancelTextPromise&&(this._cancelTextPromise(),this._textLinesPromise=null)}async fetchTextLinesForProps(e){if(!this.props.enableTextLoading||this.props.interactionMode===N.A.CONTENT_EDITOR)return void e.dispatch((0,gp.Lv)(e.page.pageIndex,(0,i.aV)()));const{promise:t,cancel:n}=e.backend.getTextContentTreeForPageIndex(e.page.pageIndex);this._textLinesPromise=t,this._cancelTextPromise=n;try{const t=await this._textLinesPromise;e.dispatch((0,gp.Lv)(e.page.pageIndex,t))}catch(e){if(e&&!e.aborted)throw e}}isWithinRange(){const{page:{pageIndex:e},viewportState:{currentPageIndex:t}}=this.props;return e>=Math.min(0,t-2)&&e<=t+2}render(){const{props:e}=this,{page:t,intl:n,innerRef:o,viewportState:r,frameWindow:i,cropInfo:a}=e,{formatMessage:s}=n,l={width:t.pageSize.width*r.zoomLevel,height:t.pageSize.height*r.zoomLevel};let u={height:l.height,width:l.width,transform:b.sl.IDENTITY.rotate(-r.pagesRotation).toCssValue()};if(90===r.pagesRotation||270===r.pagesRotation){const e=(l.height-l.width)/2;u={height:l.width,width:l.height,transform:b.sl.IDENTITY.rotate(r.pagesRotation).translate({x:-e,y:e}).toCssValue()}}const p=d()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${r.pagesRotation}-degree`]:!0,[Cf().root]:!0,[Cf()["deg-"+r.pagesRotation]]:!0,[Cf().textHighlighterMode]:e.interactionMode===N.A.TEXT_HIGHLIGHTER||e.interactionMode===N.A.REDACT_TEXT_HIGHLIGHTER,[Cf().hideCursor]:(0,Ze.o6)(e.interactionMode)});return t?c.createElement("section",{className:p,style:l,ref:this.pageRef,"data-page-index":t.pageIndex,"data-page-is-loaded":null!==t.textLines,onScroll:this._handleScroll,key:t.pageKey,"aria-label":s(Ff.pageX,{arg0:t.pageLabel||t.pageIndex+1})},c.createElement("div",{tabIndex:e.documentHasActiveAnnotation?-1:0,className:Cf().focusPage,ref:o}),this.state.hasBeenInViewport&&this.state.isOverviewRendered&&t.textLines?null:c.createElement(q.TX,null,s(ke.Z.loading)),c.createElement(Tp,{pageIndex:t.pageIndex,onEmit:this._handleOnPressEmit,element:"div"},(this.state.hasBeenInViewport||this.state.isOverviewRendered||e.shouldPrerender)&&c.createElement(Op.Z,{inViewport:e.inViewport,shouldPrerender:!e.inViewport&&e.shouldPrerender,page:t,backend:e.backend,zoomLevel:r.zoomLevel,rotation:r.pagesRotation,renderPageCallback:e.renderPageCallback,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,allowedTileScales:e.allowedTileScales,viewportRect:r.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.isPageSizeReal,inContentEditorMode:e.interactionMode===N.A.CONTENT_EDITOR}),e.interactionMode===N.A.CONTENT_EDITOR&&e.inViewport&&c.createElement(wf,{backend:e.backend,zoomLevel:r.zoomLevel,page:t,frameWindow:i}),this.props.hintLinesPageIndex===t.pageIndex?c.createElement(Af,{pageSize:t.pageSize}):null,this.state.hasBeenInViewport&&this.state.isOverviewRendered&&c.createElement(c.Fragment,null,c.createElement(_p,{pageIndex:t.pageIndex,zoomLevel:r.zoomLevel}),c.createElement(hc.Consumer,null,(n=>c.createElement(bp,{page:t,getScrollElement:n,setGlobalCursor:this.props.setGlobalCursor},t.textLines?c.createElement(jp,{dispatch:e.dispatch,enableTextSelection:e.enableTextSelection,zoomLevel:r.zoomLevel,rotation:r.pagesRotation,eventEmitter:e.eventEmitter,isTextCopyingAllowed:e.isTextCopyingAllowed,isPanModeEnabled:e.isPanModeEnabled,pageIndex:t.pageIndex,textLines:t.textLines,textLineScales:t.textLineScales}):null))),e.interactionMode===N.A.MARQUEE_ZOOM?c.createElement(Gp,{pageIndex:t.pageIndex,pageSize:t.pageSize,scrollElement:e.scrollElement}):null,e.customOverlayItems.size>0&&c.createElement("div",null,e.customOverlayItems.map((e=>c.createElement(kp,{key:e.id,item:e,rotation:r.pagesRotation,zoomLevel:r.zoomLevel})))))),e.interactionMode===N.A.DOCUMENT_CROP&&(null===a&&this.isWithinRange()||(null==a?void 0:a.pageIndex)===t.pageIndex)&&c.createElement("div",{style:u},c.createElement(Ua,{viewportState:r,page:this.props.page,onAreaChangeComplete:this.onCropAreaChangeComplete,frameWindow:i,onAreaChangeStart:this.onCropAreaChangeStart})),(0,Ze.o6)(e.interactionMode)&&c.createElement("div",{style:u},c.createElement($p,{frameWindow:i,pageRef:this.pageRef,interactionMode:e.interactionMode,pageIndex:t.pageIndex,onCreate:this.createWidgetAnnotation,intl:e.intl}))):null}}const If=(0,Se.XN)(Tf),Ff=(0,Se.vU)({pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Current page"},labelX:{id:"labelX",defaultMessage:"Label {arg0}",description:"Label"}});const Mf=(0,Zn.x)((function(e,t){var n;const o=e.pages.get(t.pageIndex),r=(null==o?void 0:o.customOverlayItemIds.map((t=>e.customOverlayItems.get(t))).toList())||null;return{frameWindow:e.frameWindow,enableTextLoading:(0,Kn.$Q)(e),enableTextSelection:e.interactionMode!==N.A.PAN,annotationManager:e.annotationManager,backend:e.backend,customOverlayItems:r,eventEmitter:e.eventEmitter,page:o,isTextCopyingAllowed:(0,Kn.HI)(e),renderPageCallback:e.renderPageCallback,interactionMode:e.interactionMode,documentHasActiveAnnotation:e.selectedAnnotationIds.size>0,allowedTileScales:e.allowedTileScales,isPanModeEnabled:e.interactionMode===N.A.PAN&&!Ke.Ni,viewportState:e.viewportState,scrollElement:e.scrollElement,isReused:!!e.reuseState,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.firstCurrentPageIndex===t.pageIndex||e.arePageSizesLoaded,hintLinesPageIndex:null===(n=e.hintLines)||void 0===n?void 0:n.pageIndex}}))(If);class _f extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"spreadRef",c.createRef()),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"pageIndexesWaitingForRender",(0,ys.P1)(this.props.viewportState,this.props.spreadIndex)),(0,o.Z)(this,"_handleOverviewRenderFinished",(e=>{if(this.props.onOverviewRenderFinished){const t=this.pageIndexesWaitingForRender.indexOf(e);t>-1&&this.pageIndexesWaitingForRender.splice(t,1),0===this.pageIndexesWaitingForRender.length&&this.props.onOverviewRenderFinished&&this.props.onOverviewRenderFinished(this.props.spreadIndex)}}))}render(){const{spreadIndex:e,viewportState:t,inViewport:n,shouldPrerender:o,onCropChange:r,cropInfo:i}=this.props,a=(0,ys.Xk)(t,e);return c.createElement("div",{style:{width:a.width*t.zoomLevel,height:a.height*t.zoomLevel},hidden:this.props.hidden},(0,ys.P1)(t,e).map((a=>{const s=(0,H.DB)(b.sl.IDENTITY,t,a,e,t.zoomLevel),l=this.props.pageKeys.get(a);return c.createElement("div",{key:l,style:{transform:s.toCssValue(!0),transformOrigin:"0 0",position:"absolute"}},c.createElement(ce.Reparent,{id:`page-${l}`},c.createElement(Mf,{pageIndex:a,inViewport:n,shouldPrerender:o,viewportRect:t.viewportRect,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,innerRef:this.props.innerRef,parent:this.spreadRef,onCropChange:r,cropInfo:i,setGlobalCursor:this.props.setGlobalCursor})))})))}}var Nf=n(40045),Rf=n(77973);const Lf=c.memo((function(e){const{viewportState:t}=e,{lastScrollUsingKeyboard:n}=t,o=c.useRef(null),r=(0,ys.dF)(t,t.currentPageIndex),[i,a]=(0,ys.wU)(t,r);return c.useEffect((()=>{r-Be.J8>0&&o.current&&n&&o.current.focus({preventScroll:!0})}),[r,n]),0===t.viewportRect.width||0===t.viewportRect.height?null:c.createElement(Nf.Z,{dispatch:e.dispatch,viewportState:t},c.createElement("div",null,function(){const{viewportState:t,viewportState:{viewportRect:n,scrollPosition:s,zoomLevel:l},onCropChange:u,cropInfo:d}=e,p=(0,ys.kd)(t),f=s.y,h=s.y+n.height/l,m=(0,ys.Ad)(t);let g=0,v=0;const y=[];for(let n=0;nf,w=(m-s.width)/2,S=new b.UL({left:w,top:g,width:s.width,height:s.height}).scale(l),P={left:S.left,top:S.top,width:S.width,height:S.height,position:"absolute"};if(v+=t.spreadSpacing,g=v,(0,ys.wX)(n,r)){const s=n===r,l=(0,ys.nw)(t)===Rf.X.DOUBLE?n.toString():e.pageKeys.get(n);y.push(c.createElement("div",{key:l,className:"PSPDFKit-Spread",style:P,"data-spread-index":n},c.createElement(_f,{spreadIndex:n,viewportState:t,inViewport:p,shouldPrerender:!s&&"number"==typeof i&&r===i,onOverviewRenderFinished:a,innerRef:s?o:void 0,onCropChange:u,cropInfo:d,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor})))}}return y}()))}));var Bf=n(87222),jf=n(74305);function zf(){return zf=Object.assign||function(e){for(var t=1;t{const{decorative:n,orientation:o=Wf,...r}=e,i=$f(o)?o:Wf,a=n?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"};return(0,c.createElement)(Vf.WV.div,Gf({"data-orientation":i},a,r,{ref:t}))}));function $f(e){return qf.includes(e)}Hf.propTypes={orientation(e,t,n){const o=e[t],r=String(o);return o&&!$f(o)?new Error(function(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \`${Wf}\`.`}(r,n)):null}};const Xf=Hf;function Yf(){return Yf=Object.assign||function(e){for(var t=1;t{const{pressed:n,defaultPressed:o=!1,onPressedChange:r,...i}=e,[a=!1,s]=(0,Qf.T)({prop:n,onChange:r,defaultProp:o});return(0,c.createElement)(Vf.WV.button,Jf({type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0},i,{ref:t,onClick:(0,Kf.M)(e.onClick,(()=>{e.disabled||s(!a)}))}))}));var th=n(69409);const nh="ToggleGroup",[oh,rh]=(0,Zf.b)(nh,[Uf.Pc]),ih=(0,Uf.Pc)(),ah=c.forwardRef(((e,t)=>{const{type:n,...o}=e;if("single"===n){const e=o;return c.createElement(ch,Yf({},e,{ref:t}))}if("multiple"===n){const e=o;return c.createElement(uh,Yf({},e,{ref:t}))}throw new Error("Missing prop `type` expected on `ToggleGroup`")})),[sh,lh]=oh(nh),ch=c.forwardRef(((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=(()=>{}),...i}=e,[a,s]=(0,Qf.T)({prop:n,defaultProp:o,onChange:r});return c.createElement(sh,{scope:e.__scopeToggleGroup,type:"single",value:a?[a]:[],onItemActivate:s,onItemDeactivate:c.useCallback((()=>s("")),[s])},c.createElement(fh,Yf({},i,{ref:t})))})),uh=c.forwardRef(((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=(()=>{}),...i}=e,[a=[],s]=(0,Qf.T)({prop:n,defaultProp:o,onChange:r}),l=c.useCallback((e=>s(((t=[])=>[...t,e]))),[s]),u=c.useCallback((e=>s(((t=[])=>t.filter((t=>t!==e))))),[s]);return c.createElement(sh,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:l,onItemDeactivate:u},c.createElement(fh,Yf({},i,{ref:t})))})),[dh,ph]=oh(nh),fh=c.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,disabled:o=!1,rovingFocus:r=!0,orientation:i,dir:a,loop:s=!0,...l}=e,u=ih(n),d=(0,th.gm)(a),p={role:"group",dir:d,...l};return c.createElement(dh,{scope:n,rovingFocus:r,disabled:o},r?c.createElement(Uf.fC,Yf({asChild:!0},u,{orientation:i,dir:d,loop:s}),c.createElement(Vf.WV.div,Yf({},p,{ref:t}))):c.createElement(Vf.WV.div,Yf({},p,{ref:t})))})),hh="ToggleGroupItem",mh=c.forwardRef(((e,t)=>{const n=lh(hh,e.__scopeToggleGroup),o=ph(hh,e.__scopeToggleGroup),r=ih(e.__scopeToggleGroup),i=n.value.includes(e.value),a=o.disabled||e.disabled,s={...e,pressed:i,disabled:a},l=c.useRef(null);return o.rovingFocus?c.createElement(Uf.ck,Yf({asChild:!0},r,{focusable:!a,active:i,ref:l}),c.createElement(gh,Yf({},s,{ref:t}))):c.createElement(gh,Yf({},s,{ref:t}))})),gh=c.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,value:o,...r}=e,i=lh(hh,n),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===i.type?a:void 0;return c.createElement(eh,Yf({},s,r,{ref:t,onPressedChange:e=>{e?i.onItemActivate(o):i.onItemDeactivate(o)}}))})),vh=ah,yh=mh,bh="Toolbar",[wh,Sh]=(0,Zf.b)(bh,[Uf.Pc,rh]),Ph=(0,Uf.Pc)(),Eh=rh(),[xh,Dh]=wh(bh),Ch=(0,c.forwardRef)(((e,t)=>{const{__scopeToolbar:n,orientation:o="horizontal",dir:r,loop:i=!0,...a}=e,s=Ph(n),l=(0,th.gm)(r);return(0,c.createElement)(xh,{scope:n,orientation:o,dir:l},(0,c.createElement)(Uf.fC,zf({asChild:!0},s,{orientation:o,dir:l,loop:i}),(0,c.createElement)(Vf.WV.div,zf({role:"toolbar","aria-orientation":o,dir:l},a,{ref:t}))))})),kh="ToolbarSeparator",Oh=(0,c.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Dh(kh,n);return(0,c.createElement)(Xf,zf({orientation:"horizontal"===r.orientation?"vertical":"horizontal"},o,{ref:t}))})),Ah=(0,c.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Ph(n);return(0,c.createElement)(Uf.ck,zf({asChild:!0},r,{focusable:!e.disabled}),(0,c.createElement)(Vf.WV.button,zf({type:"button"},o,{ref:t})))})),Th="ToolbarToggleGroup",Ih=(0,c.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Dh(Th,n),i=Eh(n);return(0,c.createElement)(vh,zf({"data-orientation":r.orientation,dir:r.dir},i,o,{ref:t,rovingFocus:!1}))})),Fh=(0,c.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Eh(n),i={__scopeToolbar:e.__scopeToolbar};return(0,c.createElement)(Ah,zf({asChild:!0},i),(0,c.createElement)(yh,zf({},r,o,{ref:t})))})),Mh=Ch,_h=Oh,Nh=Ah,Rh=Ih,Lh=Fh;var Bh,jh=n(12921),zh=n(54941);const Kh=e=>{let{rect:t,onInteractOutside:n,onEscapeKeyDown:o,children:r,onOpenAutoFocus:i,contentClassName:a}=e;return c.createElement(zh.fC,{open:!!t},c.createElement(zh.ee,{style:{position:"absolute",left:null==t?void 0:t.left,top:null==t?void 0:t.top,width:null==t?void 0:t.width,height:null==t?void 0:t.height,visibility:"hidden"}},Bh||(Bh=c.createElement("div",null,"Demo"))),c.createElement(zh.VY,{sideOffset:10,onInteractOutside:n,onOpenAutoFocus:i,onEscapeKeyDown:o,className:a},r))};var Zh=n(14526),Uh=n.n(Zh),Vh=n(42308),Gh=n(66489),Wh=n.n(Gh),qh=n(23756),Hh=n.n(qh);const $h=["label","errorMessage","inputClassName","className","disablePadding"];function Xh(e){let{label:t,errorMessage:n,inputClassName:o,className:r,disablePadding:i}=e,a=(0,ne.Z)(e,$h);return c.createElement("div",{className:d()(!i&&Hh().wrapper,r)},c.createElement("label",{className:Hh().label},t,a.required&&"*",c.createElement(q.oi,(0,ue.Z)({},a,{className:d()(Hh().input,{[Hh().inputError]:!!n},o)}))),n&&c.createElement("span",{className:Hh().errorLabel},n))}var Yh=n(51205);const Jh={uri:"uri",page:"page"},Qh="edit",em="hover",tm="open";function nm(e){if(!e.action)return null;const t=e.action;return t instanceof w.lm?t.uri:t.pageIndex+1}function om(e){return c.createElement("div",{className:d()(Wh().container)},c.createElement("div",{className:Wh().innerContainer},c.createElement("div",{className:Wh().content},c.createElement(rm,e))))}function rm(e){var t,o;let{pages:r,dispatch:i,annotation:a}=e;const s=(0,Se.YB)(),l=a.action instanceof w.Di,u=a.action instanceof w.lm;let d;l&&(d=a.action),u&&(d=a.action);const p=(0,c.useMemo)((()=>!u&&!l||u?Jh.uri:Jh.page),[l,u]),[f,h]=(0,c.useState)(p),[m,g]=(0,c.useState)((null===(t=d)||void 0===t?void 0:t.uri)||""),[v,y]=(0,c.useState)((null===(o=d)||void 0===o?void 0:o.pageIndex)+1||""),[b,S]=(0,c.useState)(""),P=f===Jh.uri,E=(0,c.useCallback)((e=>r.get(e-1)),[r]),x=(0,c.useCallback)((()=>{const e=Number(v);if(e)if(E(e)){const t=new w.Di({pageIndex:e-1}),n=a.set("action",t);i((0,bt.FG)(n))}else S(s.formatMessage(am.invalidPageNumber));else S(s.formatMessage(am.invalidPageNumber))}),[a,i,v,E]),D=(0,c.useCallback)((()=>{if(!m)return void S(s.formatMessage(am.invalidPageLink));const e=new w.lm({uri:m}),t=a.set("action",e);i((0,bt.FG)(t))}),[a,i,m]),C=(0,c.useCallback)((()=>{if(P)return c.createElement(Xh,{label:s.formatMessage(ke.Z.linkAnnotation),value:m,onChange:e=>{g(e.target.value),S("")},onBlur:D,errorMessage:b,placeholder:"www.example.com",disablePadding:!0})}),[b,s,P,m,D]),k=(0,c.useCallback)((()=>{if(!P)return c.createElement(Xh,{disablePadding:!0,label:s.formatMessage(am.targetPageLink),value:v,onChange:e=>{y(e.target.value),b&&S("")},onBlur:x,placeholder:"1",errorMessage:b})}),[b,s,P,v,x]);return c.createElement(c.Fragment,null,c.createElement("label",{className:Wh().label},s.formatMessage(am.linkTo),c.createElement(q.Ee,{inputName:"LinkTo",label:s.formatMessage(ke.Z.horizontalAlignment),selectedOption:f,labelClassNamePrefix:"PSPDFKit-Link-Popover-Editor-LinkTo",wrapperClasses:Wh().radioGroupWrapper,options:Object.keys(Jh).map((e=>({value:e,label:s.formatMessage(am[`${e}Link`]),iconPath:n(11379)}))),onChange:e=>{h(Jh[e]),b&&S("")},isButton:!0,showLabel:!0})),C(),k())}function im(e){const{viewportState:t,isHidden:n,annotation:o,isHover:r,dispatch:i}=e,a=(0,Se.YB)(),[s,l]=(0,c.useState)(!1),u=(0,c.useMemo)((()=>(0,bi.q)((0,_.Wj)(o,t.pagesRotation,t.viewportRect.getSize()).apply((0,H.cr)(t,t.currentPageIndex).translate(t.scrollPosition.scale(t.zoomLevel))),t.viewportRect.getSize())),[o,t]),p=(0,c.useMemo)((()=>o&&r?em:o&&!o.action||s?Qh:tm),[o,r,s]),f=(null==o?void 0:o.action)instanceof w.lm,h=(0,c.useMemo)((()=>p===Qh?a.formatMessage(am.linkSettingsPopoverTitle):f?nm(o):`${a.formatMessage(am.linkToPage,{arg0:nm(o)})}: ${nm(o)}`),[o,p,a]),m=(0,c.useCallback)((t=>{if(t){const e=o.action instanceof w.lm;return c.createElement("div",{className:d()(Wh().container)},c.createElement("div",{className:Wh().contentRow},c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Edit-Button"),onClick:()=>l(!0)},a.formatMessage(ke.Z.edit)),c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Open-Button"),onClick:()=>{i((0,De.fz)()),i((0,gr.oo)(o))},primary:!0},a.formatMessage(e?am.openLink:am.goToPageLink))))}return c.createElement(om,e)}),[o,i,a,e]),g=(0,c.useCallback)((()=>{switch(p){case Qh:return m();case tm:return m(!0);default:return null}}),[p,m]);return c.createElement(Yh.Z,{referenceRect:u,viewportState:t,isHidden:n,className:"PSPDFKit-Link-Editor-Popover",wrapperClassName:"PSPDFKit-Link-Editor",title:h,centeredTitle:p!==Qh},g())}const am=(0,Se.vU)({linkSettingsPopoverTitle:{id:"linkSettingsPopoverTitle",defaultMessage:"Link Settings",description:"Link settings popover title"},linkTo:{id:"linkTo",defaultMessage:"Link To",description:"Link to popover option"},linkToPage:{id:"linkToPage",defaultMessage:"Link to Page",description:"Link to page action"},targetPageLink:{id:"targetPageLink",defaultMessage:"Page Number",description:"Link settings popover target link"},linkSettings:{id:"linkSettings",defaultMessage:"Link Settings",description:"Link Settings"},uriLink:{id:"uriLink",defaultMessage:"Website",description:"Link to uri"},pageLink:{id:"pageLink",defaultMessage:"Page",description:"Link to a page"},openLink:{id:"openLink",defaultMessage:"Open Link",description:"Open link to a page"},goToPageLink:{id:"goToPageLink",defaultMessage:"Go to Page",description:"Go to a page link"},invalidPageNumber:{id:"invalidPageNumber",defaultMessage:"Enter a valid page number.",description:"Invalid page number"},invalidPageLink:{id:"invalidPageLink",defaultMessage:"Enter a valid page link.",description:"Invalid page link"}}),sm=e=>{var t,o;let{editor:r,closeInlineToolbar:i,container:a}=e;const l=(0,c.useCallback)((e=>{const[t]=Vh.ML.nodes(e,{match:e=>!Vh.ML.isEditor(e)&&Vh.W_.isElement(e)&&"link"===e.type});return t}),[]),u=(0,c.useRef)(r&&(null===(t=l(r))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.url)),[p,f]=c.useState(r?null===(o=l(r))||void 0===o||null===(o=o[0])||void 0===o?void 0:o.url:""),[h,m]=c.useState(!1),[g,v]=c.useState(!1),{formatMessage:y}=(0,Se.YB)(),b=c.useCallback((e=>{f(e.target.value)}),[f]),w=(0,c.useCallback)((e=>{Vh.YR.unwrapNodes(e,{match:e=>!Vh.ML.isEditor(e)&&Vh.W_.isElement(e)&&"link"===e.type})}),[]),S=(0,c.useCallback)((e=>{if(!r)return;l(r)&&q.ri.unwrapNode(r,"link");const{selection:t}=r,n=t&&Vh.e6.isCollapsed(t);q.ri.wrapNode(r,{type:"link",url:e,children:n?[{text:e,type:"text"}]:[]})}),[r,l]),P=c.useCallback((()=>{(0,s.kG)(r),p?S(p):w(r),i()}),[r,p,i,w,S]),E=c.useCallback((()=>{(0,s.kG)(r),w(r),i()}),[r,w,i]),x=c.useCallback((()=>!u.current||g?c.createElement("div",null,c.createElement("label",{htmlFor:"linkUrl"},y(ke.Z.linkAnnotation)),c.createElement("input",{id:"linkUrl",placeholder:"https://yourdomain.com",value:p,type:"url",onChange:b,onKeyPress:e=>{"Enter"===e.key&&P()}})):c.createElement("div",{className:d()(Uh().linkEditorMenu)},c.createElement("div",{className:d()(Uh().linkEditorRow,Uh().linkEditorCenteredRow)},c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Edit-Button",Uh().linkEditorFullWidthButton),onClick:()=>v(!0)},y(ke.Z.edit)),c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Open-Button",Uh().linkEditorFullWidthButton),onClick:E,primary:!0},y(lm.removeLink))))),[y,b,g,p,E]),D=c.useCallback((()=>u.current&&!g?null:g?c.createElement("div",{className:d()(Uh().linkSaveContainer,Uh().linkEditorMenu)},c.createElement("div",{className:d()(Uh().linkEditorRow,Uh().linkEditorEndAlignedRow)},c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Edit-Button",Uh().linkEditorFooterButton),onClick:()=>v(!1)},y(ke.Z.cancel)),c.createElement(q.zx,{className:d()("PSPDFKit-Link-Popover-Editor-Open-Button",Uh().linkEditorFooterButton),onClick:P,primary:!0},y(ke.Z.save)))):c.createElement("button",{className:Uh().removeLink,disabled:!p&&!u.current||u.current&&u.current===p&&!p,onClick:P},u.current?p&&u.current!==p?y(lm.editLink):y(lm.removeLink):y(lm.addLink))),[y,P,g,p]);return r?c.createElement(jh.fC,{open:h,modal:!1},c.createElement(jh.xz,{asChild:!0},c.createElement(Nh,{onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),m(!h))},onClick:()=>m(!h),className:d()(Uh().inlineToolbarButton,{[Uh().linkActive]:!!l(r)}),title:y(lm.addLink),"aria-label":y(lm.addLink)},c.createElement(Re.Z,{src:n(55676)}))),c.createElement(jh.Uv,{container:a},c.createElement(jh.VY,{onPointerDownOutside:()=>m(!1),className:d()(Uh().linkEditor,"PSPDFKit-Rich-Link-Editor-Dropdown")},c.createElement("h4",{className:d()(Uh().linkEditorHeader,{[Uh().centeredLinkEditorHeader]:!(g||!u.current)})},g||!u.current?y(am.linkSettings):u.current),x(),D(),c.createElement(jh.Eh,{className:Uh().linkEditorArrow})))):null},lm=(0,Se.vU)({addLink:{id:"addLink",defaultMessage:"Add Link",description:"Add Link"},removeLink:{id:"removeLink",defaultMessage:"Remove Link",description:"Remove Link"},editLink:{id:"editLink",defaultMessage:"Edit Link",description:"Edit Link"}});var cm;function um(e){"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||e.nativeEvent.stopImmediatePropagation()}const dm=(0,Se.vU)({commentEditorLabel:{id:"commentEditorLabel",defaultMessage:"Add your comment…",description:"Label for comment area textarea"},reply:{id:"reply",defaultMessage:"Reply",description:"Button text for adding a comment reply"}}),pm=e=>{let{name:t,avatarUrl:o,description:r}=e;return c.createElement("div",{className:d()(Uh().mentionDropdownList,{[Uh().mentionDropdownListWithoutDescription]:!r})},o?c.createElement("img",{className:Uh().mentionImg,src:o,alt:t}):c.createElement(Re.Z,{className:Uh().mentionImg,src:n(32443)}),c.createElement("span",{className:Uh().mentionName},t),!!r&&c.createElement("span",{className:Uh().mentionDescription},r))},fm=e=>{let{color:t,onValueChange:n,children:o,includeTransparent:r,label:i,frameWindow:a}=e;const l=rt.Options.COLOR_PRESETS,{formatMessage:u}=(0,Se.YB)(),[p,f]=c.useState(!1);return c.createElement(jh.fC,{open:p,modal:!1},c.createElement(jh.xz,{asChild:!0},c.createElement(Nh,{"aria-label":i,title:i,onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),f(!p))},onClick:()=>f(!p),className:Uh().inlineToolbarButton},o)),c.createElement(jh.Uv,{container:a.document.body},c.createElement(jh.VY,{align:"start",className:d()(Uh().colorPickerContent,"PSPDFKit-Color-Picker-Dropdown"),asChild:!0,onPointerDownOutside:()=>f(!1),defaultValue:null!=t?t:"transparent"},c.createElement(jh.Ee,{value:null!=t?t:"transparent",onValueChange:n},l.filter((e=>!!e.color&&!e.color.equals(w.Il.TRANSPARENT))).map((e=>{(0,s.kG)(e.color);const t=e.color.toHex();return c.createElement(jh.Rk,{className:Uh().colorPickerItem,value:t,key:t,"aria-label":u(e.localization),title:u(e.localization),asChild:!0},c.createElement("div",{style:{backgroundColor:t}}))})),r&&c.createElement(jh.Rk,{className:Uh().colorPickerItem,value:"transparent",asChild:!0},c.createElement("div",{className:Uh().colorPickerCheckered},cm||(cm=c.createElement("div",null))))))))},hm=e=>{let{comment:t,dispatch:o,isFirstComment:r,keepSelectedTool:a,onEditorInit:l,frameWindow:u,anonymousComments:p,isEditing:f,onChangeDone:h,className:m,mentionableUsers:g,maxMentionSuggestions:v}=e;const y=(0,c.useRef)(t),{formatMessage:b}=(0,Se.YB)(),[w,S]=c.useState(t.text.value&&q.ri.getText(t.text.value).length>0),[P,E]=c.useState(t.text.value||""),x=c.useRef(null),[D,C]=c.useState(null),k=c.useRef(null),[O,A]=c.useState(!1),[T,I]=(0,c.useState)(null),F=(0,c.useRef)(null),M=c.useCallback((()=>{if(f)return;if(P===t.text.value)return;const e=t.set("text",{format:"xhtml",value:P.trim()});o((0,zr.gk)((0,i.aV)([e])))}),[o,t,P,f]),_=c.useCallback((()=>{if(!w)return;let e=t;f&&(e=e.set("text",{format:"xhtml",value:P.trim()})),o((0,zr.BY)(e,y.current));const n=e.rootId;(0,s.kG)(n),f||o((0,zr.mh)(n)),r&&o((0,De.Df)((0,i.l4)([n]),null)),a&&o((0,Kt.k6)()),null==h||h()}),[o,t,r,w,f,P,a,h]),N=c.useCallback((()=>{const e=t.set("isAnonymous",!t.isAnonymous);o((0,zr.gk)((0,i.aV)([e])))}),[t,o]),R=c.useCallback((e=>{O&&!e||((0,s.kG)(x.current),C(null),I(null),x.current.selection=null,jf.F3.focus(x.current))}),[x.current,O]),L=(0,c.useCallback)((()=>{const e=x.current,t=u.getSelection();if(null==e||!e.selection||!k.current||!k.current.contains(null==t?void 0:t.anchorNode))return;if(!q.ri.isRangeSelected(e))return C(null),void I(null);const n=jf.F3.toDOMRange(e,e.selection).getBoundingClientRect(),o=k.current.getBoundingClientRect();I({fontColor:(0,hn.BK)(q.ri.getSelectedNodesColor(e,"fontColor")),backgroundColor:(0,hn.BK)(q.ri.getSelectedNodesColor(e,"backgroundColor")),inlineFormat:["bold","italic","underline"].map((t=>"underline"===t?q.ri.isSelectionUnderlined(e):q.ri.isMarkActive(e,t)?t:null)).filter(Boolean)}),C({height:n.height,width:n.width,top:n.top-o.top,left:n.left-o.left})}),[u]);(0,c.useEffect)((()=>{var e,t,n;const o=x.current;if(!o)return;function r(e){"Escape"===e.key?(R(!0),q.ri.isRangeSelected(o)&&(e.preventDefault(),e.stopPropagation())):"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())}function i(e){"keyup"===e.type&&A(!0)}const a=(0,Jl.Z)(L,50);return u.document.addEventListener("selectionchange",i),u.document.addEventListener("keyup",r,{capture:!0}),null===(e=k.current)||void 0===e||e.addEventListener("pointerup",L),null===(t=k.current)||void 0===t||t.addEventListener("keyup",a),null===(n=k.current)||void 0===n||n.addEventListener("dblclick",a),()=>{var e,t,n;u.document.removeEventListener("selectionchange",i),u.document.removeEventListener("keyup",r,{capture:!0}),null===(e=k.current)||void 0===e||e.removeEventListener("pointerup",L),null===(t=k.current)||void 0===t||t.removeEventListener("keyup",a),null===(n=k.current)||void 0===n||n.removeEventListener("dblclick",a)}}),[R,u.document,L]);const B=c.useCallback((e=>{null==l||l(e),x.current=e}),[l]),j=e=>{const t=x.current;(0,s.kG)(t),q.ri.toggleMark(t,e),R()},z=c.useCallback((e=>{E(e),S(q.ri.getText(e).length>0)}),[E,S]);return c.createElement("div",{className:d()(Uh().commentWrapper,m,"PSPDFKit-Comment-Editor")},c.createElement("div",{ref:k,style:{position:"relative"},onBlur:M},c.createElement(q.Hp,{title:b(dm.commentEditorLabel),users:g,autoFocus:!!r,text:t.text.value||"",onMentionSuggestionsOpenChange:M,onEditorInit:B,onValueChange:z,placeholder:b(dm.commentEditorLabel),className:d()(Uh().commentEditorInput,"PSPDFKit-Comment-Editor-Input"),autoOpenKeyboard:!Ke.TL&&!Ke.Dt,mentionListRenderer:pm,mentionDropdownClassName:Uh().mentionDropdown,mentionListClassName:Uh().mentionDropdownListWrapper,ref:F,maxMentionSuggestions:v}),c.createElement(Kh,{rect:D,onInteractOutside:R,container:u.document.body,onOpenAutoFocus:e=>e.preventDefault(),contentClassName:"PSPDFKit-Comment-Editor-Inline-Toolbar"},c.createElement(Mh,{className:Uh().inlineToolbar},c.createElement(fm,{color:null==T?void 0:T.fontColor,onValueChange:e=>{q.ri.applyStyle(x.current,"fontColor",e),R()},frameWindow:u,label:b(ke.Z.color)},c.createElement("div",{role:"button",className:Uh().inlineToolbarButton},c.createElement(Re.Z,{src:n(19587)}),c.createElement(Re.Z,{className:Uh().caret,src:n(64762)}))),c.createElement(_h,{className:Uh().inlineToolbarSeparator}),c.createElement(fm,{color:null==T?void 0:T.backgroundColor,onValueChange:e=>{q.ri.applyStyle(x.current,"backgroundColor",e),R()},includeTransparent:!0,label:b(ke.Z.fillColor),frameWindow:u},c.createElement("div",{role:"button",className:Uh().inlineToolbarButton},c.createElement(Re.Z,{src:n(59601)}),c.createElement(Re.Z,{className:Uh().caret,src:n(64762)}))),c.createElement(_h,{className:Uh().inlineToolbarSeparator}),c.createElement(Rh,{type:"multiple",value:null==T?void 0:T.inlineFormat,className:Uh().inlineToolbarGroup},c.createElement(Lh,{onClick:()=>{j("bold")},value:"bold",className:Uh().inlineToolbarButton,"aria-label":b(ke.Z.bold),title:b(ke.Z.bold)},c.createElement(Re.Z,{role:"presentation",src:n(99604)})),c.createElement(Lh,{onClick:()=>j("italic"),value:"italic",className:Uh().inlineToolbarButton,"aria-label":b(ke.Z.italic),title:b(ke.Z.italic)},c.createElement(Re.Z,{role:"presentation",src:n(99082)})),c.createElement(Lh,{onClick:()=>j("underline"),value:"underline",className:Uh().inlineToolbarButton,"aria-label":b(ke.Z.underline),title:b(ke.Z.underline)},c.createElement(Re.Z,{role:"presentation",src:n(80394)}))),c.createElement(_h,{className:Uh().inlineToolbarSeparator}),c.createElement(sm,{container:u.document.body,editor:x.current,closeInlineToolbar:R})))),c.createElement("div",{className:Uh().commentEditorActions},c.createElement("div",{className:Uh().commentActionsFooter},!!g.length&&c.createElement("button",{className:Uh().commentEditorAction,onClick:()=>{var e;null===(e=F.current)||void 0===e||e.startMention()},title:b(ke.Z.anonymous),"aria-label":b(ke.Z.anonymous)},c.createElement(Re.Z,{role:"presentation",src:n(35122)})),!!p&&c.createElement("button",{className:d()(Uh().commentEditorAction,{[Uh().commentEditorAnonymityActive]:t.isAnonymous}),onClick:N,"aria-checked":!!t.isAnonymous,role:"checkbox",title:b(ke.Z.anonymous),"aria-label":b(ke.Z.anonymous)},c.createElement(Re.Z,{role:"presentation",src:n(15445)}))),c.createElement("div",{className:Uh().editingCommentText},f?c.createElement(c.Fragment,null,c.createElement("button",{type:"button",title:b(ke.Z.discard),"aria-label":b(ke.Z.discard),onClick:h,className:d()(Uh().editingCommentActionButton,Uh().editingCommentActionCancel)},c.createElement(Re.Z,{src:n(4587)})),c.createElement("button",{title:b(ke.Z.edit),"aria-label":b(ke.Z.edit),type:"submit",className:d()(Uh().editingCommentActionButton,Uh().editingCommentActionSave),onClick:_},c.createElement(Re.Z,{src:n(33862)}))):c.createElement("button",{title:b(r?ke.Z.commentAction:dm.reply),"aria-label":b(r?ke.Z.commentAction:dm.reply),className:d()(Uh().editingCommentActionButton,Uh().editingCommentActionSaveNew,"PSPDFKit-Comment-Editor-Save-Button"),disabled:!w,"aria-disabled":!w,onKeyDown:um,onClick:_},c.createElement(Re.Z,{src:n(96447)})))))};var mm,gm,vm=n(37676);const ym=e=>e.children;const bm=(0,a.$j)((function(e,t){return{isReadOnly:(0,Kn.Ez)(t.comment,e),canDeleteCommentCP:!!(0,xr.Ss)(t.comment,e),canEditCommentCP:!!(0,xr.kR)(t.comment,e),dateTimeStringCallback:e.dateTimeString,frameWindow:e.frameWindow,anonymousComments:e.anonymousComments,mentionableUsers:e.mentionableUsers}}))((function(e){const{comment:t,onToggleContent:n,dispatch:o,isGrouped:r,isExpanded:i,isReadOnly:a,canDeleteCommentCP:s,canEditCommentCP:l,dateTimeStringCallback:u,frameWindow:p,anonymousComments:f,mentionableUsers:h,maxMentionSuggestions:m,rootAnnotationIsReadOnly:g,rootAnnotationHasLockedContents:v,rootAnnotationIsLocked:y}=e,{text:b,isAnonymous:w}=t,S=i&&!a&&s,P=i&&!a&&l,[E,x]=c.useState(!1),[D,C]=c.useState(!1);c.useEffect((()=>{!i&&D&&C(!1)}),[i,D]);const k=(0,hn.KY)(b.value||"").length>120,[O,A]=c.useState(!k),T=`Comment-${t.id}`,I=c.useCallback((e=>{k&&(e.stopPropagation(),A(!O),n&&n(!O))}),[O,k,A,n]),F=c.useCallback((()=>{o((0,zr.UM)(t))}),[t,o]),{formatDate:M,formatMessage:_}=(0,Se.YB)();let N="?";null==t.creatorName||t.isAnonymous||(N=t.creatorName.split(" ").map((e=>e[0])).join(" "));const R=_(O?ke.Z.showLess:ke.Z.showMore);let L=null;u&&(L=u({dateTime:t.createdAt,element:wc.Y.COMMENT_THREAD,object:t})),null==L&&(L=M(t.createdAt,{hour12:!0,hour:"numeric",minute:"numeric",month:"short",day:"numeric"}));const B=c.useCallback((e=>{const n=t.set("isAnonymous",!!e);o((0,zr.DO)(n)),C(!1)}),[t,o]),j=c.useMemo((()=>{const e=[];return P&&e.push({content:_(Nc.editContent),onClick:()=>{C(!0)}}),S&&e.push({content:_(ke.Z.delete),onClick:()=>{x(!0)}}),P&&f&&e.push(mm||(mm=c.createElement(q.nB,null)),c.createElement(q.ub,{checked:!!w,onCheckedChange:B},_(ke.Z.anonymous))),e}),[w,S,_,P,B]),z=(0,Oe.Z)({type:"lock",style:{width:12,height:12,flexBasis:12,marginRight:5},className:Uh().icon});return c.createElement("div",{className:d()(Uh().comment,"PSPDFKit-Comment")},c.createElement("div",{className:d()(Uh().header,"PSPDFKit-Comment-Header")},c.createElement("div",{className:Uh().wrapper},!r&&c.createElement("div",{className:d()(Uh().avatar,"PSPDFKit-Comment-Avatar")},c.createElement(ve,{key:t.creatorName,renderer:"CommentAvatar"},c.createElement(ym,{comment:t},c.createElement("span",{title:t.isAnonymous?_(ke.Z.anonymous):t.creatorName||void 0},N)))),c.createElement("div",{className:Uh().nameAndDate},!r&&c.createElement("div",{className:d()(Uh().creatorName,"PSPDFKit-Comment-CreatorName")},w?_(ke.Z.anonymous):t.creatorName||_(ke.Z.anonymous)),c.createElement("time",{dateTime:t.createdAt.toISOString(),className:d()(Uh().commentDate,"PSPDFKit-Comment-CommentDate")},L)),(g||y||v)&&c.createElement("div",{className:Uh().flagWrapper},z,c.createElement("div",{className:Uh().label,"aria-label":_(ke.Z.locked)},_(ke.Z.locked))),!!j.length&&c.createElement(q.N9,{container:null==p?void 0:p.document.body,label:_(Nc.commentOptions),items:j,alignContent:"end",className:Uh().dropdownWrapper}))),D?c.createElement(hm,{maxMentionSuggestions:m,mentionableUsers:h,className:Uh().editingCommentWrapper,comment:t,isEditing:!0,frameWindow:p,anonymousComments:f,dispatch:o,keepSelectedTool:!1,onChangeDone:()=>C(!1)}):c.createElement("div",{className:d()(Uh().commentText,"PSPDFKit-Comment-Text")},c.createElement("div",{onClick:e=>{"A"===e.target.nodeName&&((0,vm.l)(e.target.href,!0),e.stopPropagation(),e.preventDefault())},className:O?void 0:Uh().notExpanded,id:T,dangerouslySetInnerHTML:{__html:b.value||""}})),(S||k)&&c.createElement("div",{className:d()(Uh().commentActions,"PSPDFKit-Comment-Actions")},k?c.createElement(q.w6,{ariaControls:T,onPress:k?I:void 0,expanded:O,className:d()(Uh().commentToggle,"PSPDFKit-Comment-Toggle")},c.createElement("span",{className:Uh().showMore,title:R},R)):gm||(gm=c.createElement("div",null)),S&&E&&c.createElement(_c.Z,{onConfirm:F,onCancel:()=>{x(!1)},accessibilityLabel:_(Nc.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:_(Nc.deleteCommentConfirmAccessibilityDescription)},c.createElement("p",null,_(Nc.deleteCommentConfirmMessage)))))})),wm=bm,Sm=c.forwardRef((function(e,t){const{comments:n,rootId:o,isExpanded:r,dispatch:i,commentThread:a,onUpdate:l,isSelected:u,keepSelectedTool:p,frameWindow:f,anonymousComments:h,mentionableUsers:m,maxMentionSuggestions:g,annotations:v}=e,{formatMessage:y}=(0,Se.YB)(),b=c.useRef(null),w=null==v?void 0:v.get(o),S=c.useRef(u);c.useEffect((()=>{const e=S.current,t=setTimeout((()=>{e&&u&&b.current&&jf.F3.focus(b.current)}),150);return S.current=!1,()=>{t&&clearTimeout(t)}}),[u]);const P=c.useCallback((e=>{null!=l&&l(o,r,e)}),[r,l,o]);return c.createElement("div",{className:d()("PSPDFKit-Comment-Thread",Uh().commentThread,{"PSPDFKit-Comment-Thread-Selected":u,"PSPDFKit-Comment-Thread-Expanded":r}),ref:t},n.map(((t,o)=>{(0,s.kG)(null!==t,"Comment must not be null");const l=0===o;if((0,ol.kT)(t))return c.createElement("div",{className:d()(Uh().commentFooter,Uh().commentFooterEditor),key:`draft-${t.id}`,onFocus:()=>{S.current=!0}},c.createElement(hm,{maxMentionSuggestions:g,mentionableUsers:m,isFirstComment:l,comment:t,dispatch:e.dispatch,onEditorInit:e=>b.current=e,keepSelectedTool:p,frameWindow:f,anonymousComments:h}));const u=o>0&&n.get(o-1),v=!!u&&(u.creatorName!==t.creatorName||t.isAnonymous||u.isAnonymous);return c.createElement(c.Fragment,{key:t.id||void 0},r&&a.size>1&&o>0?c.createElement("div",{className:v?Uh().separatorDifferentAuthor:Uh().separatorSameAuthor}):null,c.createElement(wm,{maxMentionSuggestions:g,isExpanded:r,comment:t,onToggleContent:()=>P(l),isGrouped:0!==o&&!v,dispatch:i,rootAnnotationIsReadOnly:null==w?void 0:w.readOnly,rootAnnotationIsLocked:null==w?void 0:w.locked,rootAnnotationHasLockedContents:null==w?void 0:w.lockedContents}))})),a.size>1&&!r&&c.createElement("div",{className:d()(Uh().commentFooter,Uh().moreComments)},c.createElement("div",null,y(ke.Z.nMoreComments,{arg0:a.size-1})),c.createElement(we.Z,{className:Uh().showMore},y(ke.Z.showMore))))}));var Pm=n(49200);function Em(e){let{selectedAnnotation:t,viewportState:o,keepSelectedTool:r,anonymousComments:l,frameWindow:u,commentThread:p,comments:f,maxMentionSuggestions:h,mentionableUsers:m}=e;const{formatMessage:g}=(0,Se.YB)(),v=(0,a.I0)(),[y,b]=(0,_r.U5)({threshold:.2}),w=c.useRef(null);let S,P;S=t instanceof Pm.Z?(0,bi.q)((0,_.Wj)(t,o.pagesRotation,o.viewportRect.getSize()).apply((0,H.cr)(o,t.pageIndex).translate(o.scrollPosition.scale(o.zoomLevel))),o.viewportRect.getSize()):t.boundingBox.apply((0,H.cr)(o,t.pageIndex).translate(o.scrollPosition.scale(o.zoomLevel)));const E=p.reduce(((e,t)=>{const n=f.get(t);return(0,s.kG)(n),(0,ol.kT)(n)?P=n:e=e.push(n),e}),(0,i.aV)());return c.createElement(Yh.Z,{referenceRect:S,viewportState:o,className:"PSPDFKit-Comment-Thread-Popover",wrapperClassName:d()(Uh().commentThreadPopover,"PSPDFKit-Comment-Thread"),footerClassName:d()(Uh().commentThreadPopoverFooter,{[Uh().commentThreadPopoverFooterEmpty]:0===E.size}),innerWrapperClassName:Uh().innerWrapper,title:g(ke.Z.comment),footer:c.createElement("div",{className:d()(Uh().commentFooter,Uh().commentFooterEditor),key:P.id},c.createElement(hm,{isFirstComment:0===E.size,comment:P,dispatch:v,keepSelectedTool:r,frameWindow:u,anonymousComments:l,maxMentionSuggestions:h,mentionableUsers:m}))},c.createElement("div",{className:Uh().commentThread},E.map(((e,t)=>{const n=t>0&&E.get(t-1),o=!!n&&(n.creatorName!==e.creatorName||e.isAnonymous||n.isAnonymous);return c.createElement(c.Fragment,{key:e.id||void 0},p.size>1&&t>0?c.createElement("div",{ref:t===E.size-1?y:null,className:o?Uh().separatorDifferentAuthor:Uh().separatorSameAuthor}):null,c.createElement("div",{ref:E.size-1===t?e=>{w.current=e,y(e)}:null},c.createElement(wm,{isExpanded:!0,comment:e,isGrouped:0!==t&&!o,dispatch:v,maxMentionSuggestions:h})))})),!1===b.isIntersecting&&c.createElement("div",{className:Uh().moreCommentsContainer},c.createElement("div",{className:Uh().moreCommentsContent,role:"button",onClick:()=>{w.current&&w.current.scrollIntoView({block:"nearest",inline:"nearest"})}},c.createElement(Re.Z,{className:Uh().moreCommentsIcon,src:n(96447)}),g(Nc.moreComments)))))}const xm=c.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:a,dispatch:l,keepSelectedTool:u,frameWindow:d,anonymousComments:p,mentionableUsers:f,maxMentionSuggestions:h}=e;const m=c.useCallback(((e,t)=>{Am(e),n&&n.id===t.id||(l((0,zr.Dm)()),l((0,De.Df)((0,i.l4)([t.id]),null)))}),[l,n]);if(a.commentMode===Bf._.PANE){(0,s.kG)(n);const e=r.get(n.id);return e?c.createElement(Cm,{maxMentionSuggestions:h,mentionableUsers:f,comments:o,commentThread:e,id:n.id,viewportState:a,onThreadClick:Am,dispatch:l,keepSelectedTool:u,frameWindow:d,anonymousComments:p}):null}if(a.zoomMode===Ss.c.FIT_TO_WIDTH){if(!n)return null;const e=r.get(n.id);return e?c.createElement(Em,{selectedAnnotation:n,comments:o,commentThread:e,anonymousComments:p,viewportState:a,keepSelectedTool:u,frameWindow:d,mentionableUsers:f,maxMentionSuggestions:h}):null}return c.createElement(Dm,{maxMentionSuggestions:h,mentionableUsers:f,annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:a,onThreadClick:m,dispatch:l,keepSelectedTool:u,frameWindow:d,anonymousComments:p})})),Dm=c.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:i,onThreadClick:a,dispatch:l,keepSelectedTool:u,frameWindow:p,anonymousComments:f,mentionableUsers:h,maxMentionSuggestions:m}=e;const g=function(e,t,n){const{scrollMode:o,layoutMode:r,currentPageIndex:i}=n,a=o===Cs.G.PER_SPREAD||o===Cs.G.DISABLED?i:null,s=c.useMemo((()=>n),[r,o,a]),l=c.useMemo((()=>{if(s.scrollMode===Cs.G.PER_SPREAD||s.scrollMode===Cs.G.DISABLED){const n=(0,ys.P1)(s,(0,ys.dF)(s,s.currentPageIndex));return t.filter(((t,o)=>{const r=e.get(o);return r&&n.includes(r.pageIndex)}))}return t}),[s,e,t]);return c.useMemo((()=>l.sortBy(((t,n)=>{const o=e.get(n);if(!o)return[0,0];return[(0,ys.dF)(s,o.pageIndex),o.boundingBox.top]}),Ce.b)),[s,l,e])}(t,r,i),{selectedOffset:v,threadElements:y,totalHeight:b}=function(e,t,n,o,r,i,a,l,u,p,f,h){const{currentPageIndex:m,viewportRect:g,layoutMode:v}=r,y=g.height,b=v===Rf.X.SINGLE?4:8,w=c.useCallback(((e,t,n)=>{n&&delete km[Om(e,!1)],delete km[Om(e,t)],E({})}),[]),S=c.useMemo((()=>o.map(((t,n)=>{const o=e.get(n);return o&&"number"==typeof o.pageIndex?(0,ol.nN)(o,r):-1}))),[e,o,r]),[P,E]=c.useState({}),{formatMessage:x}=(0,Se.YB)();return c.useMemo((()=>{let r=0,g=0,v=null,P=null,D=0;const C=o.map(((o,C,k)=>{var O,A;const T=e.get(C);if(!T||"number"!=typeof T.pageIndex)return null;let I=!1;if((0,ol._P)(o,n)){const e=o.last();(0,s.kG)(null!=e);const t=n.get(e);(0,s.kG)(null!=t),I=t.text.value.length>0}const F=Boolean(t&&t.id===T.id),M=Boolean(F||I);let _=km[Om(C,M)];if(null!=_){const e=!M&&_.threadCommentIds.first()!==o.first(),t=!M&&(o.size>=2&&_.threadCommentIds.size<=1||o.size<=1&&_.threadCommentIds.size>=2),n=M&&!o.equals(_.threadCommentIds);(e||t||n)&&(delete km[Om(C,M)],_=null)}const N=_&&_.height||(M?.4*y:80);let R=S.get(C),L="number"==typeof R&&-1!==R?R:N;R=L,Lm+b))return null;const j=!_;let z;j&&(D++,z=function(e){e&&(km[Om(C,M)]={height:e.offsetHeight,threadCommentIds:o},D--,0===D&&E({}))}),F&&(g=L-R,v=L,P=k);const K=(M?o:o.take(1)).map((e=>{const t=n.get(e);return(0,s.kG)(null!=t),t})).toList(),Z=M?x(Tm.commentThread):x(Tm.commentDialogClosed,{arg0:null===(O=K.first())||void 0===O?void 0:O.creatorName,arg1:null===(A=K.first())||void 0===A?void 0:A.text.value});return c.createElement(Je.Z,{key:C,onPointerUp:Am},c.createElement("div",{onClick:Am,style:{transform:`translate(${F&&!j?-40:0}px, ${L}px)`,visibility:j?"hidden":void 0,width:Be.h8,height:j?"auto":N},className:d()(Uh().commentThreadWrapper,"PSPDFKit-Comment-Thread-Wrapper",{"PSPDFKit-Comment-Thread-Wrapper-Expanded":M,"PSPDFKit-Comment-Thread-Wrapper-Selected":F,[Uh().commentThreadWrapperExpanded]:M})},c.createElement(we.Z,{is:"div",disabled:F,onClick:e=>i(e.nativeEvent,T),role:F?"dialog":"button","aria-label":Z,"aria-disabled":void 0},c.createElement(Sm,{maxMentionSuggestions:f,mentionableUsers:p,comments:K,commentThread:o,rootId:T.id,dispatch:a,onUpdate:w,ref:z,isExpanded:M,isSelected:F,keepSelectedTool:l,frameWindow:u,anonymousComments:h,annotations:e}))))})).valueSeq();return{selectedIndex:P,selectedOffset:g,selectedTop:v,threadElements:C,totalHeight:r}}),[n,o,e,S,t,m,y,b,i,a,P])}(t,n,o,g,i,a,l,u,p,h,m,f),{formatMessage:w}=(0,Se.YB)(),S=c.useMemo((()=>{const e=(0,H.G4)(i);return Math.ceil(e.left)+e.width+i.viewportPadding.x}),[i]);return c.createElement("aside",{style:{height:b+2*i.viewportPadding.y,flex:`0 0 ${Be.h8}px`,transform:`translate(${S}px, -${v}px)`,width:Be.h8},className:d()(Uh().commentThreads,"PSPDFKit-Comment-Threads"),"aria-label":w(ke.Z.comments)},y)})),Cm=c.memo((function(e){let{id:t,comments:n,commentThread:o,dispatch:i,viewportState:a,onThreadClick:l,keepSelectedTool:u,frameWindow:p,anonymousComments:f,mentionableUsers:h,maxMentionSuggestions:m}=e;const{formatMessage:g}=(0,Se.YB)(),v=c.useMemo((()=>o.map((e=>{const t=n.get(e);return(0,s.kG)(t),t})).toList()),[o,n]);return c.createElement(r.m,null,c.createElement(Je.Z,{onPointerUp:l},c.createElement("aside",{style:{height:a.viewportRect.height/2},className:d()(Uh().commentThreads,Uh().commentThreadsSmall,"PSPDFKit-Comment-Threads"),"aria-label":g(ke.Z.comments)},c.createElement("div",{className:"PSPDFKit-Comment-Thread PSPDFKit-Comment-Thread-Expanded"},c.createElement(Sm,{maxMentionSuggestions:m,mentionableUsers:h,comments:v,commentThread:o,rootId:t,dispatch:i,isExpanded:!0,isSelected:!0,keepSelectedTool:u,frameWindow:p,anonymousComments:f})))))}));const km={};function Om(e,t){return`${e}-${t?"expanded":"collapsed"}`}function Am(e){e.stopPropagation()}const Tm=(0,Se.vU)({commentDialogClosed:{id:"commentDialogClosed",defaultMessage:"Open comment thread started by {arg0}: “{arg1}”",description:"With the dialog closed, show the author of the comment and the number of replies."},commentThread:{id:"commentThread",defaultMessage:"Comment Thread",description:"Comment thread."}});var Im,Fm,Mm=n(93162),_m=n.n(Mm),Nm=n(6969),Rm=n.n(Nm);class Lm extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"rootRef",c.createRef()),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"_handleOnClose",(()=>{this.props.dispatch((0,Kt.Sn)())})),(0,o.Z)(this,"_download",(()=>{_m().saveAs(this._getBlob(),`PSPDFKit-for-Web-Debug-Output-${Date.now()}.txt`)}))}_getDebugOutput(){const e=document.documentElement;if((0,s.kG)(e,"externalDocumentElement must not be null"),this.rootRef.current){const t=this.rootRef.current.ownerDocument.documentElement;return(0,s.kG)(t,"internalDocumentElement must not be null"),`-----BEGIN VERSION-----\n PSPDFKit for Web Version: 2023.5.2 (79422c91d1)\n PSPDFKit Server Version: 2023.5.2\n -----END VERSION-----\n\n -----BEGIN CLIENT INFO-----\n User Agent: ${navigator.userAgent}\n Language: ${navigator.language}\n Engine: ${Ke.SR}\n System: ${Ke.By}\n Pixel ratio: ${(0,$r.L)()}\n -----END CLIENT INFO-----\n\n -----BEGIN EXTERNAL HTML-----\n ${e.innerHTML}\n -----END EXTERNAL HTML-----\n\n -----BEGIN INTERNAL HTML-----\n ${t.innerHTML}\n -----END INTERNAL HTML-----\n `}}_getBlob(){return new Blob([this._getDebugOutput()],{type:"text/plain;charset=utf-8"})}render(){return c.createElement(op.Z,{onDismiss:this._handleOnClose},c.createElement("div",{className:Rm().root,ref:this.rootRef},c.createElement("div",{className:Rm().header},Im||(Im=c.createElement("h2",null,"Debug Output")),Fm||(Fm=c.createElement("p",null,"When reporting an issue to support, please provide the debug output. The output contains the PSPDFKit for Web version, information about your device, a snapshot of the current DOM. Please submit new support requests via our"," ",c.createElement("a",{target:"_blank",href:"https://pspdfkit.com/support/request"},"support form"),".")),c.createElement(q.zx,{onClick:this._download},"Download Debug Output"))))}}class Bm extends c.Component{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"onConfirm",(()=>{if(this.props.setA11yStatusMessage){const{formatMessage:e}=this.props.intl;this.props.setA11yStatusMessage(e(zm.annotationDeleted))}const e={annotations:(0,i.aV)(this.props.annotations),reason:Q.f.DELETE_END};this.props.eventEmitter.emit("annotations.willChange",e),this.props.annotations.forEach((e=>{this.props.dispatch((0,bt.hQ)(e))})),this.onCancel(!1),this.props.dispatch((0,De.fz)())})),(0,o.Z)(this,"onCancel",(function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e.props.dispatch((0,bt.d8)(null)),t){const t={annotations:(0,i.aV)(),reason:Q.f.DELETE_END};e.props.eventEmitter.emit("annotations.willChange",t)}}))}render(){const{formatMessage:e}=this.props.intl;return c.createElement(_c.Z,{onConfirm:this.onConfirm,onCancel:this.onCancel,accessibilityLabel:e(zm.deleteAnnotationConfirmAccessibilityLabel),accessibilityDescription:e(zm.deleteAnnotationConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},c.createElement("p",null,e(zm.deleteAnnotationConfirmMessage)))}}const jm=(0,Se.XN)(Bm),zm=(0,Se.vU)({deleteAnnotationConfirmMessage:{id:"deleteAnnotationConfirmMessage",defaultMessage:"Are you sure you want to delete this annotation?",description:'Message displayed in the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityLabel:{id:"deleteAnnotationConfirmAccessibilityLabel",defaultMessage:"Confirm annotation deletion",description:'Accessibility label (title) for the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityDescription:{id:"deleteAnnotationConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the annotation",description:'Accessibility description for the "Delete Annotation" confirm dialog'},annotationDeleted:{id:"annotationDeleted",defaultMessage:"Annotation deleted.",description:"An annotation has been deleted."}});function Km(e){let{locale:t}=e;const n=(0,c.useRef)(null);return(0,c.useEffect)((function(){const e=n.current;if(!e)return;const o=e.ownerDocument.documentElement;o&&(o.lang=t)}),[t]),c.createElement("div",{ref:n})}var Zm=n(32170),Um=n(94358),Vm=n.n(Um);function Gm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Wm(e){for(var t=1;t{const{isBold:i,isItalic:a,children:s,action:l,color:u}=e,p=`${this.props.parentLevel}-${r}`;let f=t.get(p);"boolean"!=typeof f&&(f=e.isExpanded);const h=s.size>0,m=c.createElement("span",{className:d()(Vm().controlContainer,{[Vm().controlContainerNoIcon]:!h,[Vm().controlContainerNavigationDisabled]:!h&&n})},h&&c.createElement("span",{onClick:e=>{e.stopPropagation(),this.props.onPress(p,null,h)}},c.createElement(Oe.Z,{type:"caret",className:d()(Vm().icon,f&&Vm().iconExpanded),style:{width:24,height:24}})),c.createElement("span",{className:Vm().control,style:Wm({fontWeight:i?"bold":void 0,fontStyle:a?"italic":void 0},u?{color:u.toCSSValue()}:null)},e.title)),g=()=>{this.props.onPress(p,l,h)},v=o?t=>o(t,e):void 0;if(!h||!f)return c.createElement(q.w6,{key:p,onPress:g,expanded:!1,autoFocus:0===r&&"0"===this.props.parentLevel,headingRef:v},m);const y=`outline-control-${p}`;return c.createElement("div",{key:p,ref:v},c.createElement(q.w6,{onPress:g,expanded:f,ariaControls:y,autoFocus:0===r&&"0"===this.props.parentLevel},m),c.createElement(q.F0,{expanded:f,id:y},c.createElement("div",{className:Vm().content},c.createElement(qm,{parentLevel:p,onPress:this.props.onPress,outlineElements:s,expanded:t,navigationDisabled:n,onRenderItemCallback:o}))))}))}}(0,o.Z)(qm,"defaultProps",{parentLevel:"0"});var Hm,$m=n(42952),Xm=n.n($m),Ym=n(60493),Jm=n.n(Ym);const Qm=c.memo((function(e){const{outlineElements:t,expanded:n,backend:o,documentHandle:r,navigationDisabled:i,closeOnPress:l=!1}=e,[u,p]=c.useState(null);c.useEffect((()=>{null==u||u.focus()}),[u]);const f=(0,a.I0)();c.useEffect((()=>{t||((0,s.kG)(o),o.getDocumentOutline().then((e=>{f((0,Zm.o)(e))})))}),[]);const h=(0,_r.jC)(e);c.useEffect((()=>{r===(null==h?void 0:h.documentHandle)||t||((0,s.kG)(o),o.getDocumentOutline().then((e=>{f((0,Zm.o)(e))})))}));const m=(0,_r.R9)(((e,t,n)=>{n&&f((0,Zm.Q)(e)),i||(setTimeout((()=>{t&&f((0,gr.aG)(t))})),l&&!n&&f((0,Kt.mu)()))})),g=t||null,v=(0,_r.Bo)(u,g),y=(0,_r.mP)(v,(e=>e.title),(e=>null==g?void 0:g.find((t=>t.title===e)))),b=d()(Vm().container,!t&&Vm().empty+" PSPDFKit-Sidebar-Loading",t&&0===t.size&&Vm().empty+" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Document-Outline"),{formatMessage:w}=(0,Se.YB)();return g?0===g.size?c.createElement("div",{className:b,ref:p},w(eg.noOutline)):c.createElement("div",{className:b,role:"region","aria-label":w(eg.outline),ref:p},c.createElement("div",{className:Jm().sidebarHeader},c.createElement("h2",{"aria-hidden":"true",className:d()(Xm().heading,"PSPDFKit-Sidebar-Document-Outline-Heading")},c.createElement("span",null,w(eg.outline)))),c.createElement(qm,{outlineElements:g,expanded:n,onPress:m,navigationDisabled:i,onRenderItemCallback:y})):c.createElement("div",{className:b,ref:p},Hm||(Hm=c.createElement(Le.Z,null)))})),eg=(0,Se.vU)({noOutline:{id:"noOutline",defaultMessage:"No Outline",description:"Message shown when there is no document outline / table of contents"},outline:{id:"outline",defaultMessage:"Outline",description:"Outline"}});class tg extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"_handleKeydown",(e=>{const t=this.props.document.activeElement;this.props.hasSelectedAnnotations||t&&"BODY"!==t.tagName&&(0,ar.Qu)(t)||e.shiftKey||e.metaKey||e.ctrlKey||e.alt||(e.keyCode===Zo.P9&&this._handleKeyLeft(),e.keyCode===Zo.gs&&this._handleKeyRight())})),(0,o.Z)(this,"_handleKeyRight",(()=>{const e=(0,bs.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,mc.fz)())})),(0,o.Z)(this,"_handleKeyLeft",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,mc.IT)())}))}componentDidMount(){this.props.document.addEventListener("keydown",this._handleKeydown)}componentWillUnmount(){this.props.document.removeEventListener("keydown",this._handleKeydown)}render(){const{children:e}=this.props;return void 0===e?null:e}}var ng=n(59271),og=n(25644),rg=n(92234),ig=n(29165);function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function sg(e){for(var t=1;t{const{viewportState:{currentPageIndex:u},formFields:d}=c();if(n instanceof w.x_){const r=d.get(n.formFieldName)||l;(0,s.kG)(r,`Form field with name "${n.formFieldName}" not found`);const c=(0,_.xc)(),p="cut"===o?n.formFieldName:`${null==r?void 0:r.name} copy`;let f=n.set("id",c).set("formFieldName",p).set("boundingBox",a?n.boundingBox.translate(a):n.boundingBox).delete("group").delete("pdfObjectId");o&&(f=f.set("pageIndex",u));let h=r.set("name",p).set("annotationIds",r.annotationIds.map((e=>e===n.id?c:e))).set("id",(0,Ya.C)()).delete("group").delete("pdfObjectId");r.options&&"cut"!==o&&(h=h.set("options",(0,i.aV)([r.options.get(0).set("value",`${r.options.get(0).value}_1`)])).set("annotationIds",(0,i.aV)([c]))),e((0,bt.$d)(f)),e((0,Qn.kW)(h)),t(sg({annotation:f,formField:h,originalAnnotation:n,originalFormField:r},o&&{previousAction:o.toUpperCase()}))}else{let i=n.set("id",(0,_.xc)()).delete("pdfObjectId");if(a&&(i=(0,Ri.n)(i,a)),o&&(i=i.set("pageIndex",u)),"imageAttachmentId"in n&&n.imageAttachmentId&&r){let t;try{t=await r}catch(e){throw new s.p2(`Could not retrieve attachment data: ${e.message}`)}(0,s.kG)(t,"Attachment not found");const{hash:n}=await(0,_e.uq)(t),o=new w.Pg({data:t});e((0,ig.O)(n,o)),i=i.set("imageAttachmentId",n)}e((0,bt.$d)(i)),t(sg({annotation:i,originalAnnotation:n},o&&{previousAction:o.toUpperCase()}))}}}function cg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ug(e){for(var t=1;t{const{annotations:e,selectedAnnotationsIds:t,backend:n}=this.props,o=null==e?void 0:e.filter((e=>null==t?void 0:t.has(e.id))).valueSeq().toArray();return null==o?void 0:o.map((e=>{let t;return e instanceof w.sK&&e.imageAttachmentId&&(t=null==n?void 0:n.getAttachment(e.imageAttachmentId)),{annotation:e,attachmentBlobPromise:t}}))})),(0,o.Z)(this,"handleKeyDown",(async e=>{const{dispatch:t,selectedAnnotationsIds:n,commentThreads:o,isPrinting:r,printingEnabled:l,canDeleteSelectedAnnotationCP:c,selectedAnnotation:u,eventEmitter:d,backend:p,formFields:f,areClipboardActionsEnabled:h,modalClosurePreventionError:m,setModalClosurePreventionError:g,annotations:v,frameWindow:y,isMultiSelectionEnabled:b,contentEditorSession:S,interactionMode:P}=this.props;if((0,s.kG)(p,"backend is required"),e.metaKey&&e.ctrlKey)return;if(this.props.canUndo&&(e.metaKey||e.ctrlKey)&&!e.shiftKey&&e.keyCode===Zo.gx&&!(0,ar.eR)(e.target))return t((0,rg.Yw)()),void e.preventDefault();if(this.props.canRedo&&!(0,ar.eR)(e.target)&&(e.metaKey||e.ctrlKey)&&e.shiftKey&&e.keyCode===Zo.gx)return t((0,rg.KX)()),void e.preventDefault();if(h&&(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.b8&&e.shiftKey&&n&&n.size>0&&(e.preventDefault(),this.props.selectedGroupId?t((0,Kt.UZ)(this.props.selectedGroupId)):(0,a.dC)((()=>{n.forEach((e=>{var n;const o=null===(n=this.props.annotationsGroups)||void 0===n?void 0:n.find((t=>{let{annotationsIds:n}=t;return n.has(e)}));o&&t((0,Kt.of)(e,o.groupKey))}))}))),e.shiftKey)return;h&&(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.b8&&n&&n.size>0&&(e.preventDefault(),t((0,Kt._R)(n))),(e.ctrlKey&&e.keyCode===Zo.j4||e.metaKey&&e.keyCode===Zo.j4)&&(t((0,De.fz)()),t((0,Yl.Xe)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.iT&&(!r&&l&&t((0,og.S0)()),e.preventDefault(),e.stopImmediatePropagation()),(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.AV&&(t((0,mc.kr)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.d2&&(t((0,mc.vG)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Zo.Cp&&(t((0,mc._R)()),e.preventDefault());const{copiedOrCutAnnotations:E}=this.state;var x,D,C;if(h&&(e.ctrlKey||e.metaKey)&&E&&"v"===e.key&&(e.preventDefault(),e.stopPropagation(),t((x=E,(e,t)=>{const{eventEmitter:n,viewportState:{currentPageIndex:o}}=t();x.forEach((t=>{const r="copy"===t.previousAction&&t.annotation.pageIndex===o;e(lg(sg(sg({},t),r&&{offset:new w.E9({x:20,y:20})}),(e=>{n.emit("annotations.paste",e)})))}))})),this.setState({copiedOrCutAnnotations:null})),h&&b&&(e.ctrlKey||e.metaKey)&&"a"===e.key){var k;const n=null==y?void 0:y.document.activeElement,o=n&&(0,ar.eR)(n),r=null===(k=window.top)||void 0===k?void 0:k.document.activeElement,i=r&&(0,ar.eR)(r);if(o||i)return;e.preventDefault(),e.stopPropagation();const s=null==v?void 0:v.filter((e=>e.pageIndex===this.props.currentPageIndex)).map((e=>e.id));s&&(0,a.dC)((()=>{t((0,De.fz)()),t((0,De.Df)(s.toSet(),null))}))}if(S.active&&S.textBlockInteractionState.state===ml.FP.Selected&&["Del","Delete","Backspace"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),t((0,tf.u)(ml.wR.Delete))),n&&n.size>0&&!(0,ar.eR)(e.target))if(!["Del","Delete","Backspace"].includes(e.key)||o&&n.some((e=>o.has(e)))||!c){if(h&&(e.ctrlKey||e.metaKey)&&u&&"c"===e.key){var O;e.preventDefault(),e.stopPropagation();const t=null===(O=this.getSelectedAnnotations())||void 0===O?void 0:O.map((e=>ug(ug({},e),{},{previousAction:"copy"})));this.setState({copiedOrCutAnnotations:t}),d.emit("annotations.copy",{annotation:u})}else if(h&&(e.ctrlKey||e.metaKey)&&u&&"x"===e.key){var A;if(!t((C=u,(e,t)=>(0,xr.Kd)(C,t()))))return;e.preventDefault(),e.stopPropagation();const n=null===(A=this.getSelectedAnnotations())||void 0===A?void 0:A.map((e=>{const t=e.annotation;return ug(ug({},e),{},{formField:t instanceof w.x_?null==f?void 0:f.get(t.formFieldName):void 0,previousAction:"cut"})}));this.setState({copiedOrCutAnnotations:n}),d.emit("annotations.cut",{annotation:u}),(0,a.dC)((()=>{n.forEach((e=>{t((0,bt.hQ)(e.annotation))}))}))}else if(h&&(e.ctrlKey||e.metaKey)&&u&&"d"===e.key){e.preventDefault(),e.stopPropagation();const n=this.getSelectedAnnotations();t((D=n,(e,t)=>{const{eventEmitter:n}=t();D.map((e=>lg({annotation:e.annotation,offset:new w.E9({x:20,y:20}),attachmentBlobPromise:e.attachmentBlobPromise},(e=>{n.emit("annotations.duplicate",e)})))).forEach((t=>{e(t)})),e((0,De.J4)((0,i.l4)(D.map((e=>e.annotation.id))),R.o.SELECTED))})),this.setState({copiedOrCutAnnotations:null})}else if(!("Esc"!==e.key&&"Escape"!==e.key||(0,ar.N1)(e.target)||(0,ar.fp)(e.target)||m&&m.annotationId===(null==u?void 0:u.id))){e.preventDefault(),e.stopPropagation(),t((0,De.fz)());const o=n.first(),r=this.props.getScrollElement();if(r&&o){const e=r.querySelector(`[data-annotation-id="${o}"]`);e&&(0,ar._s)(r,e)}}}else(null==m?void 0:m.annotationId)===(null==u?void 0:u.id)&&g(null),e.preventDefault(),e.stopPropagation(),t((0,bt.d8)(n));"Esc"!==e.key&&"Escape"!==e.key||P!==N.A.MEASUREMENT||(0,a.dC)((()=>{t((0,bt.Ds)(null)),t((0,Kt.hS)())})),e.keyCode!==Zo.bs||(0,ar.eR)(e.target)||(e.preventDefault(),e.stopPropagation())})),(0,o.Z)(this,"_handleRef",(e=>{e&&(this._document=e.ownerDocument)}))}componentDidMount(){this._document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.addEventListener("copy",pg)}componentWillUnmount(){this._document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.removeEventListener("copy",pg)}render(){return c.createElement("div",{ref:this._handleRef})}}function pg(e){const{target:t}=e;(0,ng.c)(t)||e.preventDefault()}const fg=["highlight","strikeout","underline","squiggle","redact-text-highlighter","comment"],hg=(0,T.Z)("InlineTextSelectionToolbarItem ");var mg=n(51025),gg=n.n(mg);function vg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function yg(e){for(var t=1;t{n((0,bt.VX)(e,t)),n((0,De.fz)())}),[n]),h=c.useCallback((()=>{n((0,zr.cQ)())}),[n]),m=d()({[gg().button]:!a},{[Eu().button]:a}),g=c.useMemo((()=>{const e=[{type:"highlight",title:p(ke.Z.highlightAnnotation),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Highlight",m),onPress:()=>{f(w.FV,"highlight")}},{type:"strikeout",title:p(ke.Z.strikeOutAnnotation),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Strike-Out",m),onPress:()=>{f(w.R9,"strikeout")}},{type:"underline",title:p(ke.Z.underlineAnnotation),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Underline",m),onPress:()=>{f(w.xu,"underline")}},{type:"squiggle",title:p(ke.Z.squiggleAnnotation),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Squiggle",m),onPress:()=>{f(w.hL,"squiggle")}}];return r&&e.push({type:"comment",title:p(ke.Z.comment),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Comment",m),onPress:()=>{h()}}),i&&e.push({type:"redact-text-highlighter",title:p(ke.Z.redactionAnnotation),className:d()("PSPDFKit-Text-Markup-Inline-Toolbar-Redaction",m),onPress:()=>{f($.Z,"redaction")}}),e}),[f,m,p,h,r,i]),v=c.useMemo((()=>{if(l){if(!u)return[];const e=l({defaultItems:g,hasDesktopLayout:!a},u);e.forEach((e=>{!function(e){hg((0,s.PO)(e)&&!!e,"Expected item to be an object");const{type:t,id:n,title:o,icon:r,className:i,onPress:a,disabled:l}=e;hg("type"in e&&(0,I.HD)(t)&&[...fg,"custom"].includes(t),`Expected item.type to be one of ${[...fg,"custom"].join(", ")}`),o&&hg((0,I.HD)(o),"Expected `title` to be a string"),r&&hg((0,I.HD)(r),"Expected `icon` to be a string"),n&&hg((0,I.HD)(n),"Expected `id` to be a string"),i&&hg((0,I.HD)(i),"Expected `className` to be a string"),a&&hg("function"==typeof a,"`onPress` must be a `function`"),"disabled"in e&&hg("boolean"==typeof l,"`disabled` must be a `boolean`"),e.node&&hg(oc.a.includes(e.node.nodeType),"`node.nodeType` is invalid. Expected one of "+oc.a.join(", "))}(e)}));return e.map((e=>"custom"===e.type&&null!==e.onPress?yg(yg({},e),{},{onPress:()=>{e.onPress(),n((0,De.fz)())}}):e)).map((e=>({node:wg(e),type:e.type})))}return g.map((e=>({node:wg(e),type:e.type})))}),[g,u,a,l,wg,n]),y=d()({[Eu().content]:a,[Eu().mobileTextMarkup]:a,[gg().inner]:!a});return c.createElement("div",{className:d()("PSPDFKit-Text-Markup-Inline-Toolbar",{[gg().root]:!a}),role:"dialog","aria-label":p(ke.Z.markupToolbar)},c.createElement("div",{className:y},v.map(((e,t)=>"custom"!==e.type&&o(bg.get(e.type))?null:"custom"===e.type?c.createElement("div",{key:`custom-${t}`},e.node):c.createElement("div",{key:e.type},e.node)))))}class Pg extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O)}render(){const{position:e,dispatch:t,showComments:n,showRedactions:o,currentTextSelection:r,isAnnotationTypeReadOnly:i,inlineTextSelectionToolbarItems:a}=this.props;return c.createElement("div",{className:d()("PSPDFKit-Annotation-Toolbar",Eu().root,{[Eu().stickToBottom]:"bottom"===e})},c.createElement(Sg,{dispatch:t,isAnnotationTypeReadOnly:i,showComments:n,showRedactions:o,hasMobileLayout:!0,inlineTextSelectionToolbarItems:a,currentTextSelection:r}))}}var Eg=n(54543),xg=n(65627),Dg=n(3999),Cg=n(97066),kg=n.n(Cg);const Og=c.memo((function(e){const t=e.items.map(((t,n)=>{const{className:o,disabled:r,selected:i,icon:a,title:s,onPress:l}=t;return t.node?c.createElement(Dg.Z,{node:t.node,className:d()("PSPDFKit-Annotation-Tool-Node",e.itemClassName,o,kg().node),onPress:l,title:s,disabled:r,selected:i,key:`AnnotationTools-tool-${n}`}):c.createElement(Vd.Z,{type:"custom",className:d()("PSPDFKit-Annotation-Tool-Button",e.itemClassName,o,kg().button),disabled:r,selected:i,icon:a,title:s,onPress:l,key:`AnnotationTools-tool-${n}`})}));return c.createElement("div",{role:"toolbar",className:d()(kg().root,e.rootClassName)},t)})),Ag=["children","fullScreen","hover","tools","intl","closeNote","clearNote","isLocked","isReadOnly","hasLockedContents"];function Tg(e){e.stopPropagation()}const Ig=(0,Se.XN)((e=>{const{children:t,fullScreen:n,hover:o,tools:r,intl:i,closeNote:a,clearNote:s,isLocked:l,isReadOnly:u,hasLockedContents:p}=e,f=(0,ne.Z)(e,Ag),{formatMessage:h}=i,m=c.useRef(null);c.useEffect((function(){const e=m.current;if(e)return e.addEventListener("wheel",Tg,!0),()=>e.removeEventListener("wheel",Tg,!0)}),[]);const g=(0,Oe.Z)({type:"close"}),v=(0,Oe.Z)({type:"delete"}),y=(0,Oe.Z)({type:"lock",style:{width:12,height:12,flexBasis:12},className:Pt().icon}),b=[u?h(ke.Z.readOnlyAnnotationFlag):"",l?h(ke.Z.locked):"",p?h(ke.Z.lockedContents):""].filter((e=>""!==e)).join(", ");return c.createElement("div",(0,ue.Z)({className:`PSPDFKit-Note-Annotation-Content ${Pt().wrapper}${n?" "+Pt().fullScreen:""}`},f,{ref:m}),c.createElement("div",{className:Pt().header},c.createElement("h3",{className:Pt().title},h(ke.Z.noteAnnotation)),c.createElement("button",{className:d()(Pt().button,o?Pt().hidden:null),title:h(ke.Z.close),"aria-label":h(ke.Z.close),onClick:a||void 0,role:"button",type:"button"},g)),c.createElement("div",{className:Pt().content},t),s&&c.createElement("button",{className:d()(Pt().button,o?Pt().hidden:null),title:h(ke.Z.clear),"aria-label":h(ke.Z.clear),onClick:s,role:"button",type:"button"},v),r&&!n&&c.createElement("div",{className:Pt().tools},c.createElement(Og,{items:r,rootClassName:Pt().tools,itemClassName:Pt().tool})),c.createElement("div",{className:Pt().footer},(l||u||p)&&c.createElement(c.Fragment,null,y,c.createElement("div",{className:Pt().label,"aria-label":b},b))))}));function Fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Mg(e){for(var t=1;t{this._isFocused||(this._isFocused=!0,this._editor&&this._editor.focus())})),(0,o.Z)(this,"clearText",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_isFocused",!1),(0,o.Z)(this,"_lastSavedAnnotation",this.props.annotation),(0,o.Z)(this,"_onRef",(e=>{this._editor=e})),(0,o.Z)(this,"_valueDidUpdate",(()=>{this._didUpdate=!0})),(0,o.Z)(this,"_updateAnnotation",(()=>{if(this._didUpdate){var e;const n=this.props.annotation.set("text",{format:"plain",value:null===(e=this._editor)||void 0===e?void 0:e.getPlainText()});if(this._lastSavedAnnotation.text.value!==n.text.value||this._lastSavedAnnotation.text.format!==n.text.format)if(this._lastSavedAnnotation=n,n instanceof Ar.FN){var t;const e=null===(t=n.parentAnnotation)||void 0===t?void 0:t.set("note",n.text.value);(0,s.kG)(e),this.props.dispatch((0,bt.FG)(e))}else this.props.dispatch((0,bt.FG)(n)),this.props.keepSelectedTool&&this.props.dispatch((0,Kt.i9)())}else this.props.keepSelectedTool&&this.props.dispatch((0,Kt.i9)())})),(0,o.Z)(this,"_onBlur",(()=>{this._updateAnnotation()})),(0,o.Z)(this,"_onStopEditing",(()=>{this._updateAnnotation(),this.props.dispatch((0,bt.i0)(!0))})),(0,o.Z)(this,"_onEscape",(()=>{this.props.dispatch((0,De.fz)()),this._updateAnnotation()})),(0,o.Z)(this,"_handleEditorFocus",(()=>{if(!this._didEditorFocus){const e={annotations:(0,i.aV)([this.props.annotation]),reason:Q.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e)}this._didEditorFocus=!0}))}UNSAFE_componentWillReceiveProps(e){e.annotation.equals(this.props.annotation)||this.setState({value:e.annotation.text.value})}componentWillUnmount(){if(this._didEditorFocus){const e={annotations:(0,i.aV)([this.props.annotation]),reason:Q.f.TEXT_EDIT_END};this.props.eventEmitter.emit("annotations.willChange",e)}this._updateAnnotation()}render(){return c.createElement(ui,{autoFocus:!1,autoSelect:this.props.autoSelect,onBlur:this._onBlur,onStopEditing:this._onStopEditing,onEscape:this._onEscape,ref:this._onRef,maxLength:Be.RI,defaultValue:this.state.value,lastMousePoint:this.props.lastMousePoint,style:Mg(Mg({},_g),{},{cursor:this.props.uneditableContentCursor||"inherit"}),valueDidUpdate:this._valueDidUpdate,onFocus:this._handleEditorFocus,key:this.state.value})}}(0,o.Z)(Ng,"defaultProps",{autoSelect:!1});var Rg=n(48311);class Lg extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{}),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"_closeNote",(()=>{this.props.noteAnnotation instanceof Ar.FN?this.props.dispatch((0,De.mv)(null)):this.props.dispatch((0,De.fz)())})),(0,o.Z)(this,"_clearNote",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_makeHandleMouseUpAndTouchEnd",(e=>(0,Eg.S)((t=>{this.setState({lastMousePoint:new w.E9({x:t.clientX,y:t.clientY})},(()=>{this.props.dispatch((0,De.VR)(e))}))})))),(0,o.Z)(this,"_onRef",(e=>{this._editor=e,this.props.isFullscreen&&this._editor&&this._editor.focus()})),(0,o.Z)(this,"_getGradient",(0,io.Z)((e=>{let t=e.lighter(30);const n=Math.min(t.r,t.g,t.b);for(let e=0;e<10&&t.contrastRatio(w.Il.BLACK)<4.5;e++)t=t.lighter((255-n)/25.5);return{top:t.lighter(30),bottom:t}}))),(0,o.Z)(this,"isPopoverPositioned",!1),(0,o.Z)(this,"onPopoverPositioned",(()=>{!this.isPopoverPositioned&&this._editor&&(this.isPopoverPositioned=!0,this._editor.focus())}))}render(){const{dispatch:e,noteAnnotation:t,noteAnnotationToModify:n,viewportState:o,isFullscreen:r,collapseSelectedNoteContent:i}=this.props;if(null==t.pageIndex||i)return null;const a=n&&t.id===n.id,l=t instanceof Ar.FN,{color:u}=t,d=jg[u.toCSSValue()]||this._getGradient(u.saturate(60)),p=this.props.isAnnotationReadOnly(t),f=p||t.lockedContents;if(r){if(!a&&!p)return null;const n=u.toCSSValue(),r=`linear-gradient(to bottom, ${d.top.toCSSValue()} 0%, ${d.bottom.toCSSValue()} 100%)`,i=o.viewportRect.height-(this.props.annotationToolbarHeight((0,s.kG)(e),e.merge({left:e.left+(e.width-e.width/o.zoomLevel)/2,top:e.top+(e.height-e.height/o.zoomLevel)/2,width:e.width/o.zoomLevel,height:e.height/o.zoomLevel})))),y=(0,_.B7)(t,{isExpandedNote:!0});return c.createElement(Rg.Z,{referenceRect:(0,_.SY)(v,o.pagesRotation).apply(g),viewportState:o,onPositionInfoChange:this.onPopoverPositioned,baseColor:u,color:[d.top,d.bottom],className:"PSPDFKit-Popover-Note-Annotation",customZIndex:1001},c.createElement(Ig,{onMouseUp:h,onTouchEnd:m,tools:this.props.tools,closeNote:this._closeNote,clearNote:a&&!f&&l?this._clearNote:void 0,hover:this.props.isHover,id:`NoteAnnotationContent-${t.id}`,style:{cursor:y},isLocked:t.locked,isReadOnly:t.readOnly,hasLockedContents:t.lockedContents},f?t.text.value:c.createElement(Ng,{annotation:t,dispatch:e,ref:a?this._onRef:void 0,lastMousePoint:this.state.lastMousePoint,autoSelect:this.props.autoSelect,eventEmitter:this.props.eventEmitter,keepSelectedTool:this.props.keepSelectedTool,uneditableContentCursor:y})))}}(0,o.Z)(Lg,"defaultProps",{autoSelect:!1});const Bg={yellow:{top:new w.Il({r:245,g:240,b:158}),bottom:new w.Il({r:250,g:247,b:106})},orange:{top:new w.Il({r:250,g:213,b:161}),bottom:new w.Il({r:255,g:184,b:112})},red:{top:new w.Il({r:255,g:181,b:178}),bottom:new w.Il({r:255,g:134,b:126})},fuchsia:{top:new w.Il({r:255,g:186,b:255}),bottom:new w.Il({r:240,g:139,b:233})},blue:{top:new w.Il({r:164,g:211,b:255}),bottom:new w.Il({r:113,g:166,b:244})},green:{top:new w.Il({r:190,g:255,b:161}),bottom:new w.Il({r:130,g:227,b:111})}},jg={};for(const e of xg.W)null!=e.color&&null!=e.localization.id&&(jg[e.color.toCSSValue()]=Bg[e.localization.id]);var zg=n(49242),Kg=n(5912),Zg=n.n(Kg);class Ug extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"elementRef",c.createRef()),(0,o.Z)(this,"state",{isPanning:!1}),(0,o.Z)(this,"initialPosition",null),(0,o.Z)(this,"previousPosition",null),(0,o.Z)(this,"_handleDragStart",(e=>{this.props.enabled&&(0,zg.I)(e)&&(this.initialPosition=this.previousPosition=new b.E9({x:e.clientX,y:e.clientY}),this.setState({isPanning:!0}),this._addEventListeners())})),(0,o.Z)(this,"_handleDragMove",(e=>{if(!(0,zg.W)(e))return void this._handleDragEnd(e);if(!this.props.enabled||!this.previousPosition)return;const t=new b.E9({x:e.clientX,y:e.clientY}),n=this.previousPosition.translate(t.scale(-1)),o=this._getScrollElement(),{scrollLeft:r,scrollTop:i}=o;o.scrollLeft=r+n.x,o.scrollTop=i+n.y,this.previousPosition=t,e.stopPropagation()})),(0,o.Z)(this,"_handleDragEnd",(e=>{this.initialPosition&&this.previousPosition&&(Zt(this.initialPosition,this.previousPosition)&&(e.stopPropagation(),e.stopImmediatePropagation()),this.previousPosition=null,this.setState({isPanning:!1}),this._removeEventListeners())}))}componentDidMount(){this.elementRef.current&&this.elementRef.current.addEventListener("mousedown",this._handleDragStart)}componentWillUnmount(){this.elementRef.current&&this.elementRef.current.removeEventListener("mousedown",this._handleDragStart),this._removeEventListeners()}render(){const{enabled:e}=this.props,{isPanning:t}=this.state,n=d()({[Zg().layer]:e,[Zg().isPanning]:t});return c.createElement("div",{className:n,ref:this.elementRef},this.props.children)}_addEventListeners(){const{defaultView:e}=this._getScrollElement().ownerDocument;null==e||e.addEventListener("mouseup",this._handleDragEnd,!0),null==e||e.addEventListener("mousemove",this._handleDragMove)}_removeEventListeners(){const e=this._getScrollElement();if(!e)return;const{defaultView:t}=e.ownerDocument;t&&(t.removeEventListener("mouseup",this._handleDragEnd,!0),t.removeEventListener("mousemove",this._handleDragMove))}_getScrollElement(){return this.context()}}(0,o.Z)(Ug,"contextType",hc);const Vg=c.memo((function(e){const{dispatch:t,viewportState:n,interactionMode:o,spreadIndex:r,onCropChange:i,cropInfo:a}=e,s=c.useRef(null);c.useEffect((()=>{null!==s.current&&s.current!==r&&(o===N.A.SEARCH?t((0,De.vR)()):t((0,De.fz)())),s.current=r}),[t,r,o]);const[l,u]=(0,ys.wU)(n,r);if(0===n.viewportRect.width||0===n.viewportRect.height)return null;function d(t,o,r){const s={transform:(0,H.vs)(b.sl.IDENTITY,n,t).toCssValue(),transformOrigin:"0 0"},l=(0,ys.nw)(n)===Rf.X.DOUBLE?t.toString():e.pageKeys.get(t);return c.createElement("div",{key:l,className:"PSPDFKit-Spread",style:s,"data-spread-index":t},c.createElement(_f,{key:l,spreadIndex:t,viewportState:n,inViewport:o,shouldPrerender:r,hidden:!o,onOverviewRenderFinished:u,onCropChange:i,cropInfo:a,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor}))}return c.createElement(Nf.Z,{dispatch:e.dispatch,viewportState:n},c.createElement("div",null,function(e){const t=[];if(t.push(d(e,!0,!1)),n.scrollMode===Cs.G.DISABLED)return t;const o=(0,ys.kd)(n),r=Math.max(e-Be.J8,0),i=Math.min(e+Be.J8,o-1);for(let n=r;n<=i;n++)n!==e&&t.push(d(n,!1,"number"==typeof l&&e===l));return t}(r)))}));var Gg=n(71231),Wg=n(45590),qg=n.n(Wg);const Hg=!(!Gg.Gn||"edge"==Ke.SR)&&{passive:!0};class $g extends c.Component{constructor(){super(),(0,o.Z)(this,"_elementRef",c.createRef()),(0,o.Z)(this,"_handleWheel",(e=>{const{viewportState:t,scrollElement:n}=this.props,o=t.zoomLevel<=(0,ws.Mq)(t);let r=!0;if(n){const{clientHeight:e,scrollHeight:o}=n;r=t.commentMode!==Bf._.SIDEBAR||t.scrollMode!==Cs.G.PER_SPREAD||t.scrollPosition.y+e>=o}if(!(o&&r))return;const i=(0,H.G4)(t);e.clientX>Math.ceil(i.left)+i.width+t.viewportPadding.x||(e.deltaY<0?this.props.dispatch((0,mc.IT)()):e.deltaY>0&&this.props.dispatch((0,mc.fz)()))})),(0,o.Z)(this,"_handleSwipeLeft",(()=>{const e=(0,bs.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,mc.fz)())})),(0,o.Z)(this,"_handleSwipeRight",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,mc.IT)())})),(0,o.Z)(this,"_handleTouchStart",(e=>{const t=this._elementRef.current;t&&null===this._touchStart&&(0,ql.sX)(e)&&(this._touchStart=Jg(e),t.ownerDocument.addEventListener("touchend",this._handleTouchEnd,!0))})),(0,o.Z)(this,"_handleTouchEnd",(e=>{const t=this._elementRef.current;if(!t)return;const n=this._touchStart;if(!n)return;const o=Jg(e),r=o.x-n.x,i=o.y-n.y,a=function(e,t,n){const o=t/e||0,r=n/e||0;return Math.abs(o)>Math.abs(r)?o:r}(o.timestamp-n.timestamp,r,i),s=function(e,t){const n=t.x-e.x,o=t.y-e.y;return Math.sqrt(n*n+o*o)}(n,o),l=function(e,t){if(e===t)return 0;if(Math.abs(e)>=Math.abs(t))return e<0?Xg:Yg;return t<0?3:4}(r,i);if(s>10&&Math.abs(a)>.3&&!this.props.interactionsDisabled)switch(l){case Xg:this._handleSwipeLeft();break;case Yg:this._handleSwipeRight()}t.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0),this._touchStart=null})),(0,o.Z)(this,"_handleClick",(e=>{const t=this._elementRef.current;if(!t||this.props.hasSelection||t.ownerDocument.defaultView&&e.target instanceof t.ownerDocument.defaultView.HTMLElement&&(0,ng.c)(e.target))return;const n=t.getBoundingClientRect(),o=(e.clientX-n.left)/n.width;o<.3?this._handleSwipeRight():o>.7&&this._handleSwipeLeft()})),this._handleWheel=(0,af.Z)(this._handleWheel,250),this._touchStart=null}componentDidMount(){const e=this._elementRef.current;e&&(e.addEventListener("touchstart",this._handleTouchStart),e.addEventListener("wheel",this._handleWheel,Hg))}componentWillUnmount(){const e=this._elementRef.current;e&&(e.removeEventListener("touchstart",this._handleTouchStart),e.removeEventListener("wheel",this._handleWheel,Hg),e.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0))}render(){return c.createElement("div",{className:qg().root,onClick:this._handleClick,ref:this._elementRef},this.props.children)}}const Xg=1,Yg=2;function Jg(e){const t=e.touches[0]||e.changedTouches[0];return{x:t.clientX,y:t.clientY,timestamp:Date.now()}}var Qg=n(58005),ev=n.n(Qg);const tv=function(e){let{progress:t,totalPages:n}=e;const{formatMessage:o}=(0,Se.YB)(),r=(0,a.I0)(),i=c.useCallback((()=>{(0,a.dC)((()=>{r((0,Kt.Zg)()),r((0,og.WQ)())}))}),[r]);return c.createElement(op.Z,{onEscape:i,accessibilityLabel:o(nv.printProgressModal),accessibilityDescription:o(nv.printProgressModalDesc)},c.createElement("div",{className:ev().root},c.createElement("div",null,o(nv.printPrepare)),"number"==typeof t&&c.createElement(c.Fragment,null,c.createElement("div",{className:ev().progressWrapper},c.createElement("div",{className:ev().progress,"aria-label":`${t}% complete`,role:"progressbar","aria-valuenow":t},c.createElement("div",{className:ev().progressBar,style:{width:`${Math.floor(100*t/n)}%`}})),c.createElement("div",{className:ev().progressText},o(nv.pageXofY,{arg0:t,arg1:n}))),c.createElement(q.zx,{title:o(ke.Z.cancel),onClick:i},o(ke.Z.cancel)))))},nv=(0,Se.vU)({pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Printing processing progress"},printPrepare:{id:"printPrepare",defaultMessage:"Preparing document for printing…",description:"Shown while the printing process is preparing the pages for printing"},printProgressModal:{id:"printProgressModal",defaultMessage:"Printing in progress",description:"Printing in progress modal"},printProgressModalDesc:{id:"printProgressModalDesc",defaultMessage:"Indicates that a document is being prepared for printing",description:"Description for the Printing in progress modal"}});var ov,rv=n(93621),iv=n.n(rv);const av=function(){const{formatMessage:e}=(0,Se.YB)();return c.createElement(op.Z,{accessibilityLabel:e(sv.signingModal),accessibilityDescription:e(sv.signingModalDescription)},c.createElement("div",{className:iv().root},c.createElement(Re.Z,{src:n(17285),className:iv().icon,role:"presentation"}),c.createElement("div",{className:iv().message},e(sv.signing),ov||(ov=c.createElement(Le.Z,null)))))},sv=(0,Se.vU)({signing:{id:"signing",defaultMessage:"Signing...",description:"Shown while the digital signature flow is in progress"},signingModal:{id:"signingInProgress",defaultMessage:"Signing in progress",description:"Signing in progress modal"},signingModalDescription:{id:"signingModalDesc",defaultMessage:"Indicates that the current document is being signed",description:"Description of the Signing in progress modal"}});var lv,cv=n(76134),uv=n.n(cv);function dv(){const{formatMessage:e}=(0,Se.YB)();return c.createElement(op.Z,{accessibilityLabel:e(pv.redactionsModal),accessibilityDescription:e(pv.redactionModalDescription)},c.createElement("div",{className:uv().root},c.createElement(Re.Z,{src:n(1088),className:uv().icon,role:"presentation"}),c.createElement("div",{className:uv().message},e(pv.applyingRedactions),lv||(lv=c.createElement(Le.Z,null)))))}const pv=(0,Se.vU)({applyingRedactions:{id:"applyingRedactions",defaultMessage:"Applying redactions...",description:"Shown while the redactions flow is in progress"},redactionsModal:{id:"redactionInProgress",defaultMessage:"Redaction in progress",description:"Redaction in progress modal"},redactionModalDescription:{id:"redactionModalDesc",defaultMessage:"Indicates that the current document is being redacted",description:"Description of the Redacted in progress modal"}});var fv=n(93242),hv=n.n(fv);function mv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function gv(e){for(var t=1;t{yv.indexOf(e.keyCode)>=0&&!this.usingNavigationKeys&&(this.usingNavigationKeys=!0)})),(0,o.Z)(this,"handleKeyUp",(e=>{yv.indexOf(e.keyCode)>=0&&this.usingNavigationKeys&&(this.usingNavigationKeys=!1)})),(0,o.Z)(this,"_handleRef",(e=>{e&&(this.element=e,this.props.onScrollElementChange(e))})),this.previousKnownScrollPosition=new w.E9,this.previousKnownZoomLevel=1}updateScrollbarOffset(e){const t=this.element.offsetWidth-this.element.clientWidth,n="hidden"!==this.element.style.overflow;"number"==typeof t&&e!=t&&n&&this.props.dispatch((0,Kt.IU)(t))}componentDidUpdate(e){requestAnimationFrame((()=>this.updateScrollbarOffset(e.scrollbarOffset))),this.updateScrollPosition()}componentDidMount(){this.updateScrollbarOffset(),this.updateScrollPosition(),this.props.dispatch((0,Kt.K_)(this.element)),this.element.ownerDocument.addEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.addEventListener("keyup",this.handleKeyUp)}componentWillUnmount(){this.props.dispatch((0,Kt.K_)(null)),this.element.ownerDocument.removeEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.removeEventListener("keyup",this.handleKeyUp)}updateScrollPosition(){const{viewportState:e}=this.props;if(0===e.viewportRect.width)return;if(this.previousKnownScrollPosition.equals(e.scrollPosition)&&this.previousKnownZoomLevel===e.zoomLevel)return;const t=this.element,n=Math.round(e.scrollPosition.x*e.zoomLevel),o=Math.round(e.scrollPosition.y*e.zoomLevel);t.scrollTop!==o&&(t.scrollTop=o),t.scrollLeft!==n&&(t.scrollLeft=n),this.previousKnownScrollPosition=e.scrollPosition,this.previousKnownZoomLevel=e.zoomLevel}handleScroll(){const{dispatch:e,viewportState:t}=this.props,{scrollPosition:n,zoomLevel:o}=t;if(0===t.viewportRect.width)return;const r=this.element;if(void 0===r.scrollTop||void 0===r.scrollLeft)return;const i=new w.E9({x:r.scrollLeft/o,y:r.scrollTop/o}),a=function(e,t,n){const o=1/n;return Math.abs(e.x-t.x)>o||Math.abs(e.y-t.y)>o}(n,i,o);a&&(this.previousKnownScrollPosition=i,this.previousKnownZoomLevel=o,e((0,mc.lt)(i,this.usingNavigationKeys)))}render(){const{children:e,scrollDisabled:t}=this.props;return c.createElement("div",{ref:this._handleRef,className:`PSPDFKit-Scroll ${hv().root}`,style:gv(gv({},vv),{},{overflow:t?"hidden":"auto"}),onScroll:this.handleScroll},e)}}var wv,Sv=n(98973),Pv=n.n(Sv);const Ev=(0,Se.XN)((function(e){const{formatMessage:t}=e.intl,n=t(xv.searchResultOf,{arg0:e.searchResultsSize>0?e.focusedResultIndex+1:0,arg1:e.searchResultsSize}),o=c.createElement("div",{role:"status",className:Pv().searchPosition,"aria-live":"polite","aria-label":Ke.vU?n:void 0},n);return c.createElement(c.Fragment,null,e.isLoading&&c.createElement("div",{className:Pv().loader},wv||(wv=c.createElement(Le.Z,null))),o)})),xv=(0,Se.vU)({searchResultOf:{id:"searchResultOf",defaultMessage:"{arg0} of {arg1}",description:"Shows the current search result number. E.g. 1 of 10"}});var Dv=n(50397),Cv=n.n(Dv);const kv=(0,Se.vU)({searchPreviousMatch:{id:"searchPreviousMatch",defaultMessage:"Previous",description:"Go to the previous search result"},searchNextMatch:{id:"searchNextMatch",defaultMessage:"Next",description:"Go to the next search result"}}),Ov=(0,Se.XN)((e=>{const t=c.useRef(null);c.useEffect((()=>{(()=>{const n=t.current;(0,Pe.k)(null!=n),n.ownerDocument.activeElement!==n&&e.isFocused?n.focus():n.ownerDocument.activeElement!==n||e.isFocused||n.blur()})()}));const{formatMessage:o}=e.intl,r=d()({[Cv().previous]:!0,"PSPDFKit-Search-Control-Prev":!0,"PSPDFKit-Search-Control-Prev-disabled":e.searchResultsSize<=0}),i=d()({[Cv().next]:!0,"PSPDFKit-Search-Control-Next":!0,"PSPDFKit-Search-Control-Next-disabled":e.searchResultsSize<=0}),a=0===e.term.length,s=d()({[Cv().results]:!0,[Cv().resultsDisabled]:a,"PSPDFKit-Search-Form-Result":!0}),l=o(ke.Z.searchDocument);return c.createElement("div",{className:d()("PSPDFKit-Search",Cv().root,{[Cv().noToolbar]:!e.showToolbar||e.toolbarPlacement!==bc.p.TOP}),"data-testid":"pspdfkit-search-form-component-root"},c.createElement("div",{className:`PSPDFKit-Search-Form ${Cv().searchBox}`},c.createElement("input",{type:"text",name:"search",ref:t,autoComplete:"off",placeholder:l,"aria-label":l,value:e.term,onChange:()=>{const n=t.current;(0,Pe.k)(null!=n);const o=n.value;let r=!1;e.eventEmitter.emit("search.termChange",{term:o,preventDefault:()=>{r=!0}}),r||(e.searchForTerm(n.value),e.searchProvider.searchTerm(n.value))},onKeyDown:t=>{t.shiftKey&&(t.keyCode===Zo.E$||t.metaKey&&t.keyCode===Zo.b8)?(t.preventDefault(),e.focusPreviousSearchHighlight()):t.keyCode===Zo.E$||t.metaKey&&t.keyCode===Zo.b8?(t.preventDefault(),e.focusNextSearchHighlight()):t.keyCode===Zo.zz&&(t.preventDefault(),e.hideSearch())},onFocus:()=>{e.focusSearch()},onBlur:()=>{e.blurSearch()},className:`PSPDFKit-Search-Form-Input ${Cv().input}`}),c.createElement("div",{className:s},!a&&c.createElement(Ev,{isLoading:e.isLoading,searchResultsSize:e.searchResultsSize,focusedResultIndex:e.focusedResultIndex})),c.createElement("div",{className:`PSPDFKit-Search-Control ${Cv().control}`},c.createElement("button",{className:r,title:o(kv.searchPreviousMatch),disabled:e.searchResultsSize<=1,onClick:e.focusPreviousSearchHighlight},c.createElement(Re.Z,{src:n(28069),className:`${Cv().icon} ${Cv().iconLeft}`})),c.createElement("button",{className:i,title:o(kv.searchNextMatch),disabled:e.searchResultsSize<=1,onClick:e.focusNextSearchHighlight},c.createElement(Re.Z,{src:n(14341),className:`${Cv().icon} ${Cv().iconRight}`})))),c.createElement("button",{className:`PSPDFKit-Search-Button-Close ${Cv().button}`,onClick:e.hideSearch},o(ke.Z.close)))}));const Av=(0,a.$j)((function(e){return{isFocused:e.searchState.isFocused,isLoading:e.searchState.isLoading,term:e.searchState.term,searchResultsSize:e.searchState.results.size,focusedResultIndex:e.searchState.focusedResultIndex,searchProvider:e.searchProvider,eventEmitter:e.eventEmitter,locale:e.locale,showToolbar:e.showToolbar,toolbarPlacement:e.toolbarPlacement}}),(function(e){return(0,E.DE)({searchForTerm:Yl._8,focusNextSearchHighlight:Yl.jL,focusPreviousSearchHighlight:Yl.dZ,hideSearch:Yl.ct,focusSearch:Yl.tB,blurSearch:Yl.nJ},e)}))(Ov);class Tv{constructor(e,t,n){var o;const r=e.getRangeAt(0);let i=new w.SV;if(this.selection=e,this.className=n,this.rootElement=t,this.window=t.ownerDocument.defaultView,this.commonAncestorContainer=r.commonAncestorContainer,e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);r.setEnd(t.endContainer,t.endOffset)}const a=!(null!=t&&t.contains(r.startContainer)),l=!(null!=t&&t.contains(r.endContainer)),c=!(null!==(o=this.commonAncestorContainer)&&void 0!==o&&o.contains(t));if(a&&l&&c)this.textRange=null;else{if(r.startContainer instanceof this.window.Text&&null!=t&&t.contains(r.startContainer)&&this._parentsMatchClass(r.startContainer))i=i.set("startNode",r.startContainer).set("startOffset",r.startOffset);else if(r.startContainer instanceof this.window.Element||r.startContainer instanceof this.window.Text){let e;if(e=r.startContainer.hasChildNodes()?this._nextTextNode(r.startContainer.childNodes[r.startOffset]):this._nextTextNode(r.startContainer),null==e)return void(this.textRange=null);i=i.set("startNode",e).set("startOffset",0)}else(0,s.kG)(!1,"Selected start container is neither DOM Element nor Text");if(r.endContainer instanceof this.window.Text&&null!=t&&t.contains(r.endContainer)&&this._parentsMatchClass(r.endContainer))i=i.set("endNode",r.endContainer).set("endOffset",r.endOffset);else if(r.endContainer instanceof this.window.Element||r.endContainer instanceof this.window.Text){let e;if(r.endContainer.hasChildNodes())if(r.endOffset>=r.endContainer.childNodes.length){let t=this._nextCrossSibling(r.endContainer);t||(t=r.endContainer.childNodes[r.endContainer.childNodes.length-1]),e=this._previousTextNode(t)}else e=this._previousTextNode(r.endContainer.childNodes[r.endOffset]);else e=this._previousTextNode(r.endContainer);if(null==e)return void(this.textRange=null);i=i.set("endNode",e).set("endOffset",e.length)}else(0,s.kG)(!1,"Selected start container is neither DOM Element nor Text");if(i.startNode==i.endNode&&i.startOffset>=i.endOffset)return void(this.textRange=null);if(!this._isBeforeOrSame(i.startNode,i.endNode))return void(this.textRange=null);this.textRange=i}}getTextRange(){return this.textRange}_nextTextNode(e){let t=this._findNextSpanNodeInTree(e);if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._nextCrossSibling(n),null==n)return null;t=this._findNextSpanNodeInTree(n)}return t.firstChild}_previousTextNode(e){let t=null;if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._previousCrossSibling(n),null==n)return null;t=this._findLastSpanNodeInTree(n)}return t.firstChild}_nextCrossSibling(e){if(!e)return null;if(null!=e.nextSibling)return e.nextSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!=t.nextSibling?t.nextSibling:this._nextCrossSibling(t)}_previousCrossSibling(e){if(null!==e.previousSibling)return e.previousSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!==t.previousSibling?t.previousSibling:this._previousCrossSibling(t)}_findNextSpanNodeInTree(e){if(e instanceof this.window.HTMLElement&&e.classList.contains(this.className))return e;if(e instanceof this.window.HTMLElement)for(let t=0;t=0;t--){const n=e.childNodes[t],o=this._findLastSpanNodeInTree(n);if(null!==o)return o}return null}_parentsMatchClass(e){let t=e.parentNode;for(;t&&t instanceof this.window.HTMLElement&&t!==this.rootElement;){if(t.classList.contains(this.className))return!0;t=t.parentNode}return!1}_isBeforeOrSame(e,t){const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=0==e.compareDocumentPosition(t);return n||o}_getSelectedTextWithNL(){if(!this.textRange)return this.selection.toString();const{startNode:e,endNode:t,startOffset:n,endOffset:o}=this.textRange;if(!e||!t)return this.selection.toString();if(e===t)return e.textContent?e.textContent.substring(n,o):"";let r=e,i=r.textContent?r.textContent.substring(n)+"\n":"";for(;r&&r!==t;)r=this._nextTextNode(r),r&&r.textContent&&(i+=r!==t?r.textContent+"\n":r.textContent.substring(0,o));return i}}var Iv=n(22181),Fv=n.n(Iv);let Mv=null,_v=null;const Nv=(e,t)=>e.container===t.container&&e.offset===t.offset,Rv={Left:!0,ArrowLeft:!0,Top:!0,ArrowTop:!0,Right:!0,ArrowRight:!0,Bottom:!0,ArrowBottom:!0,Home:!0,End:!0,PageDown:!0,PageUp:!0,Esc:!0,Escape:!0};class Lv extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"isMouseSelection",!1),(0,o.Z)(this,"pointerMadeSelection",!1),(0,o.Z)(this,"isShiftPressed",!1),(0,o.Z)(this,"isPrimaryPointerGesture",!1),(0,o.Z)(this,"_handleSelectStart",(()=>{this.props.interactionMode!==N.A.TEXT_HIGHLIGHTER&&this.props.interactionMode!==N.A.REDACT_TEXT_HIGHLIGHTER||(this.isShiftPressed?this._processTextSelection(Ke.Ni?"touch":"mouse"):this.props.dispatch((0,De.d5)((0,i.l4)(),this.props.interactionMode===N.A.TEXT_HIGHLIGHTER?w.FV:$.Z)))})),(0,o.Z)(this,"_handleSelectionChange",(()=>{const{rootElement:e,interactionMode:t}=this.props,{defaultView:n}=e.ownerDocument,o=null==n?void 0:n.getSelection();!this.pointerMadeSelection&&(e=>{if(e.rangeCount<=0)return!1;if(e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);t.setEnd(t.endContainer,t.endOffset)}const t=e.getRangeAt(0),{startContainer:n,endContainer:o,startOffset:r,endOffset:i}=t,a={container:n,offset:r},s={container:o,offset:i};let l;return l=null===Mv||null===_v||!(Nv(Mv,a)||Nv(_v,s)||Nv(Mv,s)||Nv(_v,a)),Mv=a,_v=s,l})(o)&&(this._handleSelectStart(),this.pointerMadeSelection=!0),this.isMouseSelection&&t!==N.A.TEXT_HIGHLIGHTER&&t!==N.A.REDACT_TEXT_HIGHLIGHTER||o&&!o.isCollapsed&&this._processTextSelection(Ke.Ni?"touch":"mouse")})),(0,o.Z)(this,"_handlePointerUp",(e=>{let{pointerType:t,shiftKey:n}=e;this.isPrimaryPointerGesture&&("mouse"===t&&(this.isMouseSelection=!1),this.pointerMadeSelection=!1,this.isShiftPressed=n,n||window.setTimeout((()=>{this._checkForTextSelection(t)}),0))})),(0,o.Z)(this,"_handlePointerDown",(e=>{let{pointerType:t,shiftKey:n,isPrimary:o}=e;this.isPrimaryPointerGesture=o,"mouse"===t&&(this.isMouseSelection=!0,this.isShiftPressed=n)})),(0,o.Z)(this,"_handleKeyUp",(e=>{const{rootElement:t}=this.props;if(t){const n=t.ownerDocument.defaultView;this.isShiftPressed=e.shiftKey;const o=e.target;if(!Rv.hasOwnProperty(e.key)||n&&o instanceof n.HTMLElement&&((0,ar.eR)(o,n)||(0,ar.N1)(o)||(0,ar.gC)(o)))return;window.setTimeout((()=>{e.defaultPrevented||this._checkForTextSelection("mouse")}),0)}}))}componentDidMount(){const{rootElement:e}=this.props;e&&(e.ownerDocument.addEventListener("keyup",this._handleKeyUp),e.ownerDocument.addEventListener("selectionchange",this._handleSelectionChange))}componentWillUnmount(){const{rootElement:e}=this.props;e&&(e.ownerDocument.removeEventListener("keyup",this._handleKeyUp),e.ownerDocument.removeEventListener("selectionchange",this._handleSelectionChange)),Mv=null,_v=null}_checkForTextSelection(e){const{dispatch:t,currentTextSelection:n,selectedAnnotationIds:o,activeAnnotationNote:r,rootElement:i,interactionMode:a}=this.props,{defaultView:s}=i.ownerDocument;if(this.props.modalClosurePreventionError&&o.includes(this.props.modalClosurePreventionError.annotationId)){const e=i.ownerDocument.querySelector(".PSPDFKit-Form-Creator-Popover > .PSPDFKit-Popover");return null==e||e.classList.add(Fv().shakeEffect),void setTimeout((()=>{null==e||e.classList.remove(Fv().shakeEffect)}),200)}if(!s)return;const l=s.getSelection();l&&(l.isCollapsed?(n||o.size>0||r)&&(a===N.A.TEXT_HIGHLIGHTER||a===N.A.REDACT_TEXT_HIGHLIGHTER||a===N.A.CONTENT_EDITOR?(this.isShiftPressed&&t((0,De.td)(a===N.A.TEXT_HIGHLIGHTER?w.FV:$.Z)),t((0,De.vR)())):t((0,De.fz)())):this._processTextSelection(e))}_processTextSelection(e){const{dispatch:t,rootElement:n,interactionMode:o}=this.props,{defaultView:r}=n.ownerDocument;if(!r)return;const i=r.getSelection();if(!i)return;const s=i.rangeCount>0?((e,t,n)=>new Tv(e,t,n).getTextRange())(i,n,Ms().selectableText):null;null!=s&&(0,a.dC)((()=>{t((0,De.FP)(s,"mouse"===e&&o!==N.A.TEXT_HIGHLIGHTER&&o!==N.A.REDACT_TEXT_HIGHLIGHTER)),o===N.A.TEXT_HIGHLIGHTER?t((0,De.BO)(w.FV)):o===N.A.REDACT_TEXT_HIGHLIGHTER&&t((0,De.BO)($.Z))}))}render(){return c.createElement(Je.Z,{onPointerUp:this._handlePointerUp,onPointerDown:this._handlePointerDown},c.createElement("div",null,this.props.children))}}var Bv=n(47859);function jv(e,t){return e>t?t/1.5:e}class zv extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"sidebarRef",c.createRef()),(0,o.Z)(this,"state",{size:Math.min(this.props.initialSize,this.props.maxWidth),prevSize:Math.min(this.props.initialSize,this.props.maxWidth)}),(0,o.Z)(this,"onResize",(e=>{const{size:t}=this.state,{onResize:n}=this.props,o=this.sidebarRef.current&&this.sidebarRef.current.getBoundingClientRect();o&&(null==n||n({sidebarRect:o,isDragging:e,size:t}))})),(0,o.Z)(this,"onResizeFinish",(e=>{e!==this.props.initialSize&&this.props.dispatch((0,mc.Pt)(e))})),(0,o.Z)(this,"onDrag",((e,t)=>{const{minWidth:n,maxWidth:o}=this.props;this.setState((t=>{let{size:r}=t;return eo||o-e<10?{size:o,prevSize:r}:{size:e,prevSize:r}}),(()=>{this.onResize(t)}))})),(0,o.Z)(this,"onDoubleClick",(()=>{const{maxWidth:e}=this.props;this.setState((t=>{let{size:n,prevSize:o}=t;return n===e?{size:jv(o,e)}:{size:e,prevSize:n}}),(()=>this.onResize(!1)))}))}componentDidMount(){this.onResize(!1)}componentDidUpdate(e){const{size:t,prevSize:n}=this.state,{maxWidth:o}=this.props;o!==e.maxWidth&&(t===e.maxWidth||t>o)?this.setState({size:o,prevSize:jv(n,o)}):this.props.initialSize!==e.initialSize&&this.setState({size:this.props.initialSize})}componentWillUnmount(){this.onResize(!1)}render(){const{size:e}=this.state,{draggerSize:t,isRTL:n,maxWidth:o,minWidth:r}=this.props;return c.createElement("div",{ref:this.sidebarRef},c.createElement(Kv,{size:e,onDrag:this.onDrag,onDoubleClick:this.onDoubleClick,onResizeFinish:this.onResizeFinish,draggerSize:t,isRTL:n,currentValue:Math.round((e-r)/(o-r)*100)},c.createElement(Bv.ZP,null,this.props.children(e-t,t))))}}class Kv extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{isDragging:!1,previousPosition:null}),(0,o.Z)(this,"_handlePointerDown",(e=>{const{isPrimary:t}=e;if(!t)return;const n=new b.E9({x:e.clientX,y:e.clientY});this.setState({isDragging:!0,previousPosition:n})})),(0,o.Z)(this,"_handlePointerMove",(e=>{if(!this.state.isDragging)return;const t=new b.E9({x:e.clientX,y:e.clientY});this._handleDrag(t)})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.state.isDragging)return;this.setState({isDragging:!1});const{previousPosition:t}=this.state;if(!t)return;const n=new b.E9({x:e.clientX,y:e.clientY}),o=this.props.size+(this.props.isRTL?t.x-n.x:n.x-t.x);this.props.onResizeFinish(o)})),(0,o.Z)(this,"_handleDoubleClick",(()=>{this.props.onDoubleClick()})),(0,o.Z)(this,"_handleKeyDown",(e=>{const{size:t,isRTL:n,onDrag:o,onDoubleClick:r}=this.props;"ArrowRight"===e.key?o(n?t-2:t+2,!1):"ArrowLeft"===e.key?o(n?t+2:t-2,!1):"Enter"===e.key&&r()})),(0,o.Z)(this,"_handleDrag",(e=>{const{previousPosition:t}=this.state;if(!t)return;const n=this.props.size+(this.props.isRTL?t.x-e.x:e.x-t.x);this.props.onDrag(n,!1),this.setState({previousPosition:e})}))}render(){const{isRTL:e,draggerSize:t,currentValue:n}=this.props;return c.createElement("div",{className:`${Jm().sidebar} PSPDFKit-Sidebar`,style:{width:this.props.size,position:"relative",overflow:"hidden",[e?"paddingLeft":"paddingRight"]:t}},this.props.children,c.createElement("div",{onDoubleClick:this._handleDoubleClick},c.createElement(Je.Z,{onPointerDown:this._handlePointerDown,onRootPointerMoveCapture:this._handlePointerMove,onRootPointerUpCapture:this._handlePointerUp},c.createElement("div",{style:{[e?"left":"right"]:0,width:t},className:`${Jm().dragger} PSPDFKit-Sidebar-Dragger`},c.createElement("div",{tabIndex:0,role:"separator","aria-label":"Resizer handle","aria-orientation":"vertical","aria-valuenow":n,onKeyDown:this._handleKeyDown,style:{[e?"right":"left"]:this.props.size-t},className:`${Jm().draggerHandle} PSPDFKit-Sidebar-DraggerHandle`})))))}}class Zv extends c.PureComponent{render(){const{formatMessage:e}=this.props.intl;return c.createElement(op.Z,{role:"dialog",onEscape:this.props.onEscape,background:"rgba(0,0,0,.1)",className:Ho().modal,accessibilityLabel:e(Uv.signatureDialog),accessibilityDescription:e(Uv.signatureDialogDescription)},this.props.children)}}const Uv={signatureDialog:{id:"signatureDialog",defaultMessage:"Signature",description:"Signature Dialog"},signatureDialogDescription:{id:"signatureDialogDesc",defaultMessage:"This dialog lets you select an ink signature to insert into the document. If you do not have stored signatures, you can create one using the canvas view.",description:"Signature Dialog description"}},Vv=(0,Se.XN)(Zv);var Gv=n(83634),Wv=n(86071),qv=n(73039);function Hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $v(e){for(var t=1;t[Gv.Z.BLACK,Gv.Z.BLUE,Gv.Z.RED].includes(e.color)));class Yv extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O),(0,o.Z)(this,"state",{annotation:new qv.Z($v($v({},this.props.preset),{},{isSignature:!0})),zoomLevel:1}),(0,o.Z)(this,"_onAnnotationColorChange",(e=>{const t=this.state.annotation.withMutations((t=>{t.set("strokeColor",e)}));this._onChange(t)})),(0,o.Z)(this,"_clear",(()=>{this.setState({annotation:new qv.Z($v($v({},this.props.preset),{},{isSignature:!0}))},this._callOnChange)})),(0,o.Z)(this,"_onChange",(e=>{this.setState({annotation:e},this._callOnChange)})),(0,o.Z)(this,"_callOnChange",(()=>{const{onChange:e}=this.props;if(!e)return;e((0,Ri.c)(this.state.annotation,this.state.annotation.boundingBox.getLocation().scale(-1),this.props.canvasSize,new b.E9))})),(0,o.Z)(this,"_onResize",(e=>{this.setState({zoomLevel:e.width/this.props.canvasSize.width})}))}render(){const{annotation:e}=this.state,{canvasSize:t}=this.props,{formatMessage:n}=this.props.intl,o=e.lines.isEmpty();return c.createElement(c.Fragment,null,c.createElement("div",{className:Ho().header},c.createElement(Wu,{colorPresets:Xv,activeColor:e.strokeColor,onClick:this._onAnnotationColorChange,className:d()(Ho().colorPicker,"PSPDFKit-Signature-Dialog-Color-Picker")}),c.createElement(q.zx,{onClick:this._clear,inverted:!0,disabled:o,className:d()(Ho().button,"PSPDFKit-Signature-Dialog-Clear-Signature-Button")},n(ke.Z.clearSignature))),c.createElement("div",{className:Ho().editorCanvasContainer},c.createElement("div",{className:d()(Ho().editorCanvas,"PSPDFKit-Signature-Dialog-Canvas","PSPDFKit-Signature-Canvas","interactions-disabled")},c.createElement(_d.Z,{onResize:this._onResize}),c.createElement("div",{className:d()(Ho().signHere,"PSPDFKit-Signature-Dialog-Sign-Here-Label",{[Ho().signHereHidden]:!e.lines.isEmpty()})},n(Jv.pleaseSignHere)),c.createElement(Xr,{annotation:e,canvasSize:t,onDrawStart:this._onChange,onDraw:this._onChange,onDrawEnd:this._onChange,zoomLevel:this.state.zoomLevel,cursor:"crosshair"}))))}}(0,o.Z)(Yv,"defaultProps",{canvasSize:new b.$u({width:600,height:260}),preset:{}});const Jv=(0,Se.vU)({pleaseSignHere:{id:"pleaseSignHere",defaultMessage:"Please sign here",description:"Message on the signature canvas"}}),Qv=(0,Se.XN)(Yv);var ey,ty=n(41067),ny=n.n(ty);function oy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ry(e){for(var t=1;t{const{backend:e,attachment:t,templateWidth:n}=this.props;let o=this.props.annotation.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0))),{boundingBox:r}=o;const i=Math.max(r.width,r.height);return i{this.unmounted||(this.setState({loadingState:"LOADED"}),this.props.onRenderFinished&&this.props.onRenderFinished(e))})),(0,o.Z)(this,"_showError",(()=>{this.setState({loadingState:"ERROR"})})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){if(!(0,i.is)((0,_.ip)(this.props.annotation),(0,_.ip)(e.annotation))||e.annotation.imageAttachmentId!==this.props.annotation.imageAttachmentId||e.templateWidth0&&a>0?i/a:1,l=s>1?ny().wideImg:ny().highImg,u=d()(e instanceof w.sK?ny().imageAnnotation:ny().stampAnnotation,o?ny().containedImg:ny().notContainedImg,l),p=d()(ny().wrapper,{[ny()["imageAnnotation-loading"]]:"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[ny()["imageAnnotation-error"]]:"ERROR"===this.state.loadingState}),f={opacity:r,position:"relative",width:o?0===t||s>=1?"100%":t:"auto"},h=ry(ry({},f),{},{height:0===t?"100%":s>1?t:t*s});return c.createElement("div",{style:f,className:p},c.createElement(Ne.Z,{className:u,fetchImage:this._fetchImage,label:n,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,rectStyle:h,ref:this.imageFetcherRef}),"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?c.createElement("div",{className:ny().placeHolder},ey||(ey=c.createElement(Le.Z,null))):"ERROR"===this.state.loadingState?c.createElement("div",{className:ny().placeHolder},c.createElement(Re.Z,{src:ze(),className:ny().errorIcon})):null)}}class ay extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",Ce.O)}render(){const{formatMessage:e}=this.props.intl,t=null==this.props.showDeleteBtn||this.props.showDeleteBtn;return c.createElement("ul",{className:d()(Ho().signaturePickerList,"PSPDFKit-Signature-Dialog-Picker","PSPDFKit-Signature-Picker")},this.props.signatures.map(((o,r)=>c.createElement("li",{key:r,className:d()(Ho().signaturePickerListItem,"PSPDFKit-Signature-Dialog-Picker-Item"),"data-signature":r},c.createElement(q.zx,{className:d()(Ho().selectSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Button",{[Ho().imageAnnotation]:o instanceof w.sK}),onClick:()=>{this.props.onSelect(o)},autoFocus:0===r},o instanceof w.Zc?c.createElement(dt,{isSelectable:!1,annotation:o,viewBox:o.boundingBox}):c.createElement(iy,{annotation:o,backend:this.props.backend,label:o.description||e(ke.Z.imageAnnotation),attachment:o.imageAttachmentId?this.props.attachments.get(o.imageAttachmentId):null,templateWidth:153.5})),t?c.createElement("button",{className:d()(Ho().deleteSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Delete-Button"),onClick:()=>{this.props.onDelete(o)},"aria-label":e(ke.Z.delete)},c.createElement(Re.Z,{src:n(61019)})):null))))}}const sy=(0,Se.XN)(ay);var ly;function cy(e){let{children:t,hasDivider:n}=e;return n?c.createElement(c.Fragment,null,ly||(ly=c.createElement(q.u_.Divider,{spaced:!1})),c.createElement(q.u_.Section,null,t)):c.createElement("div",{className:Ho().footer},t)}class uy extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{annotation:null,hideSignaturePicker:!1,storeSignature:!!this.props.canStoreSignature}),(0,o.Z)(this,"_hideSignaturePicker",(()=>{this.setState({hideSignaturePicker:!0,annotation:null})})),(0,o.Z)(this,"_onSignatureChange",(e=>{this.setState({annotation:e})})),(0,o.Z)(this,"_onDone",(()=>{const{onCreate:e,onCancel:t}=this.props,{annotation:n,storeSignature:o}=this.state;n?null==e||e(n,o,!0):null==t||t()})),(0,o.Z)(this,"_toggleStoreSignature",(()=>{this.setState((e=>({storeSignature:!e.storeSignature})))}))}render(){const{onCreate:e,onDelete:t,storedSignatures:n,preset:o}=this.props,r=!!this.props.canStoreSignature,a=!this.state.hideSignaturePicker&&r&&Boolean(n&&n.size>0),{formatMessage:s}=this.props.intl,{annotation:l,storeSignature:u}=this.state,p=null!==l&&l.lines instanceof i.aV&&!l.lines.isEmpty(),{SIGNATURE_SAVE_MODE:f}=rt.Options,h=f===yc.f.USING_UI;return c.createElement("div",{className:d()(Ho().viewRoot,"PSPDFKit-Signature-Dialog",{[Ho().viewSignaturePicker]:a})},a&&n?c.createElement(c.Fragment,null,c.createElement("div",{className:Ho().header},c.createElement("div",{className:d()(Ho().title,"PSPDFKit-Signature-Dialog-Signature-Heading"),role:"heading","aria-level":"1"},s(ke.Z.signatures)),c.createElement(q.zx,{className:"PSPDFKit-Signature-Dialog-Add-Signature-Button",onClick:this._hideSignaturePicker,inverted:!0},s(ke.Z.addSignature))),c.createElement("div",{className:Ho().signaturePickerContainer},c.createElement(sy,{signatures:n,onSelect:t=>{e(t,!1,!0)},onDelete:e=>{t(e,!0)},backend:this.props.backend,attachments:this.props.attachments,viewportWidth:this.props.viewportWidth}))):c.createElement(Qv,{onChange:this._onSignatureChange,preset:o}),c.createElement(cy,{hasDivider:a&&r},!a&&r&&h&&c.createElement("label",{className:d()(Ho().checkbox,"PSPDFKit-Signature-Dialog-Store-Signature-Checkbox")},c.createElement("input",{type:"checkbox",name:"store",checked:u,onChange:this._toggleStoreSignature}),c.createElement("span",{className:Ho().checkboxLabel},s(ke.Z.storeSignature))),c.createElement(q.hE,{className:Ho().group,align:"end"},c.createElement(q.zx,{onClick:this.props.onCancel,className:d()(Ho().button,"PSPDFKit-Signature-Dialog-Cancel-Button"),autoFocus:!a},s(ke.Z.cancel)),!a&&c.createElement(q.zx,{primary:!0,disabled:!p,onClick:p?this._onDone:null,className:d()(Ho().button,"PSPDFKit-Signature-Dialog-Done-Button")},s(ke.Z.done)))))}}(0,o.Z)(uy,"defaultProps",{canStoreSignature:!0});const dy=(0,Se.XN)(uy);var py=n(44182),fy=n.n(py),hy=n(41775);const my=e=>{const{formatMessage:t}=(0,Se.YB)();return c.createElement(op.Z,{backdropFixed:!0,role:"dialog",onEscape:e.onEscape,background:"rgba(0, 0, 0, 0.1)",className:e.showPicker?fy().modal:fy().editorModal,accessibilityLabel:t(hy.Z.stampAnnotationTemplatesDialog),accessibilityDescription:t(hy.Z.stampAnnotationTemplatesDialogDescription)},e.children)};var gy=n(33754);class vy extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_onSelect",(e=>{this.props.onSelect(e)})),(0,o.Z)(this,"_initializeTemplateValues",(e=>(e instanceof de.GI&&(null==e.title&&(e=e.set("title",(0,ac.vW)({annotation:e,intl:this.props.intl}))),e.subtitle&&"Custom"===e.stampType||(e=e.set("subtitle",(0,ac.Cq)(gy.pY[e.stampType],new Date,this.props.intl))),void 0!==gy.a$[e.stampType]&&(e=e.set("stampType",gy.a$[e.stampType]))),e)))}componentDidMount(){const{stampAnnotationTemplates:e,attachments:t}=this.props;let n=!1;e.forEach((e=>{e.imageAttachmentId&&!t.has(e.imageAttachmentId)&&(n=!0,(0,s.ZK)("No attachment found for stamp template with imageAttachmentId set: "+e.toJS()))})),n&&(0,s.ZK)("When the document is reloaded due to having performed operations on the document you need to regenerate any attachments that are not present in the document. Check the corresponding KB article: https://pspdfkit.com/guides/web/current/knowledge-base/image-attachments-lost-stamp-annotation-templates/")}render(){const{intl:{formatMessage:e},viewportWidth:t}=this.props,n=t{const o=(0,ac.vW)({annotation:t,intl:this.props.intl});return c.createElement("li",{key:n,className:fy().stampPickerListItem},c.createElement(q.zx,{className:fy().selectStampButton,onClick:()=>{this._onSelect(t)},autoFocus:0===n,"aria-label":o,title:o},c.createElement("div",{className:fy().templateImageContainer},c.createElement(iy,{annotation:t,backend:this.props.backend,label:t instanceof de.sK?e(ke.Z.imageAnnotation):t.title||e(hy.Z[(0,I.LE)((0,gy.k1)(t.stampType))]),attachment:t.imageAttachmentId?this.props.attachments.get(t.imageAttachmentId):null,templateWidth:r,contain:!0}))))})))),c.createElement(Oy,{raised:"top"},c.createElement(q.hE,{className:fy().group,align:"start"},c.createElement(q.zx,{onClick:this.props.onCancel,className:fy().button},e(ke.Z.cancel)))))}}const yy=(0,Se.XN)(vy),by={textTransform:"uppercase"},wy=ac.s3.find((e=>"blue"===e.localization.id));(0,Pe.k)(null!=wy),(0,Pe.k)(wy.color instanceof Gv.Z);const Sy=wy.color;class Py extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_stampWidth",Be.$P),(0,o.Z)(this,"currentDate",new Date),(0,o.Z)(this,"state",{includeDate:!0,includeTime:!0,title:"",color:Sy}),(0,o.Z)(this,"_setWidth",(e=>{this._stampWidth=e})),(0,o.Z)(this,"_onAnnotationColorChange",(e=>{this.setState({color:e})})),(0,o.Z)(this,"_toggleIncludeDate",(()=>{this.setState({includeDate:!this.state.includeDate})})),(0,o.Z)(this,"_toggleIncludeTime",(()=>{this.setState({includeTime:!this.state.includeTime})})),(0,o.Z)(this,"_updateText",(e=>{this.setState({title:e.currentTarget.value.toUpperCase()})})),(0,o.Z)(this,"_onCreate",(()=>{const{includeDate:e,includeTime:t}=this.state;this.props.onCreate(new w.GI({stampType:"Custom",title:this.state.title,subtitle:(0,ac.Cq)({includeDate:e,includeTime:t},this.currentDate,this.props.intl),color:this.state.color,boundingBox:new w.UL({left:0,top:0,width:this._stampWidth,height:Be.mM})}))}))}render(){const{formatMessage:e}=this.props.intl,{includeDate:t,includeTime:n,title:o,color:r}=this.state,i=(0,ac.Cq)({includeDate:t,includeTime:n},this.currentDate,this.props.intl);return c.createElement(c.Fragment,null,c.createElement("div",{className:fy().previewContainerBlock},c.createElement("div",{className:d()(fy().previewContainer,"PSPDFKit-Stamp-Editor")},c.createElement(Ey,{title:o,subtitle:i,color:r,setWidth:this._setWidth})),c.createElement("div",{className:fy().modalSubHeader},e(ke.Z.stampText)),c.createElement(q.oi,{"aria-label":e(ke.Z.stampText),autoFocus:!0,onChange:this._updateText,value:o,style:by}),c.createElement("div",{className:fy().dateTimeLabels},c.createElement("label",{className:fy().checkbox},c.createElement("input",{type:"checkbox",name:"store",checked:t,onChange:this._toggleIncludeDate}),c.createElement("span",{style:{width:"0.5em"}}),c.createElement("span",null,e(ke.Z.date))),c.createElement("label",{className:fy().checkbox},c.createElement("input",{type:"checkbox",name:"store",checked:n,onChange:this._toggleIncludeTime}),c.createElement("span",{style:{width:"0.5em"}}),c.createElement("span",null,e(ke.Z.time)))),c.createElement("div",{className:fy().modalSubHeader},e(ke.Z.chooseColor)),c.createElement(Wu,{colorPresets:ac.s3,activeColor:r||Sy,onClick:this._onAnnotationColorChange,className:fy().colorPicker,accessibilityLabel:e(ke.Z.color)})),c.createElement(Oy,null,c.createElement(q.hE,{className:d()(fy().group,fy().spaceBetween)},c.createElement(q.zx,{onClick:this.props.onCancel,className:fy().button},e(ke.Z.cancel)),c.createElement(q.zx,{className:fy().button,primary:!0,onClick:this._onCreate},e(xy.createStamp)))))}}class Ey extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_canvasEl",null),(0,o.Z)(this,"_canvasRef",(e=>{this._canvasEl=e,this.props.setWidth(this._drawCustomStamp())})),(0,o.Z)(this,"_drawCustomStamp",(()=>(0,ac.HL)({canvas:this._canvasEl,title:this.props.title,subtitle:this.props.subtitle,color:this.props.color,defaultStampWidth:Be.$P,stampHeight:Be.mM,container:this._canvasEl&&this._canvasEl.parentElement&&this._canvasEl.parentElement.parentElement})))}render(){const e=this._drawCustomStamp();return this.props.setWidth(e),c.createElement("div",{className:fy().customStampPreviewContainer,style:{width:e,height:Be.mM}},c.createElement("canvas",{ref:this._canvasRef,style:{width:e,height:Be.mM}}))}}const xy=(0,Se.vU)({createStamp:{id:"createStamp",defaultMessage:"Create Stamp",description:"Create Stamp from edited template."}}),Dy=(0,Se.XN)(Py);class Cy extends c.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_toggleStampsPicker",(()=>{this.props.dispatch(this.props.showPicker?(0,Kt._z)():(0,Kt.C4)())}))}render(){const{onCreate:e,onCancel:t,stampAnnotationTemplates:n,backend:o,dispatch:r,attachments:i,viewportWidth:a,intl:{formatMessage:s}}=this.props;return c.createElement("div",{className:d()(fy().viewRoot,this.props.showPicker&&fy().viewStampsPicker)},this.props.showPicker?c.createElement(c.Fragment,null,c.createElement(Oy,{raised:"bottom",className:fy().header,useDivider:!1},c.createElement(c.Fragment,null,c.createElement("div",{className:fy().title,role:"heading","aria-level":"1"},s(ke.Z.useAnExistingStampDesign)),c.createElement(q.zx,{onClick:this._toggleStampsPicker,inverted:!0,className:`PSPDFKit-Stamp-Dialog-Custom-Stamp-Button ${fy().group}`},s(ke.Z.customStamp)))),c.createElement(yy,{stampAnnotationTemplates:n,onSelect:e,onCancel:t,backend:o,dispatch:r,attachments:i,viewportWidth:a})):c.createElement(c.Fragment,null,c.createElement(Oy,{className:fy().header},c.createElement(c.Fragment,null,c.createElement("div",{className:fy().title,role:"heading","aria-level":"1"},s(ke.Z.customStamp)),c.createElement(q.zx,{onClick:this._toggleStampsPicker,inverted:!0,className:`.PSPDFKit-Stamp-Dialog-Existing-Stamp-Button ${fy().group}`},s(ke.Z.useAnExistingStampDesign)))),c.createElement(Dy,{onCreate:e,onCancel:t,dispatch:r})))}}const ky={top:"0 -2px",left:"-2px 0",right:"2px 0",bottom:"0 2px"},Oy=e=>{let{children:t,raised:n,className:o,useDivider:r=!0}=e;const i=n?{boxShadow:`${ky[n]} 5px rgba(0,0,0, 0.1)`,position:"relative",[`border${n.charAt(0).toUpperCase()}${n.substr(1)}Width`]:1}:{};return c.createElement(c.Fragment,null,r&&c.createElement(op.Z.Divider,{spaced:!1,className:fy().modalDivider}),c.createElement(op.Z.Section,{className:d()(fy().stampModalSection,o),style:i},t))},Ay=((0,Se.vU)({customStamp:{id:"customStamp",defaultMessage:"Custom Stamp",description:"Edit custom stamp template."}}),(0,Se.XN)(Cy));var Ty=n(6437),Iy=n(98785),Fy=n(19419);const My=(0,Se.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Thumbnails"}});const _y=(0,Zn.x)((function(e){const{pages:t,backend:n,viewportState:{viewportRect:o},annotations:r,attachments:a,showAnnotations:s,formFields:l,renderPageCallback:c}=e,u=(0,Ze.Qg)(l);return{annotations:s?r:(0,i.D5)(),attachments:a,backend:n,formFields:l,formFieldValues:u,height:o.height,pages:t,renderPageCallback:c}}))((function(e){const{pages:t,closeOnPress:n,selectedPageIndex:o,navigationDisabled:r}=e,[s,l]=c.useState(null);c.useEffect((()=>{null==s||s.focus()}),[s]);const u=c.useMemo((()=>t.map(Fy.J)),[t]),{formatMessage:d}=(0,Se.YB)(),p=(0,_r.Bo)(s,u),f=(0,_r.mP)(p,(e=>String(e.index)),(e=>null==u?void 0:u.find((t=>String(t.index)===String(e))))),h=(0,a.I0)(),m=c.useCallback((function(e){r||(n?(h((0,mc.YA)(e)),h((0,Kt.mu)())):e!==o&&h((0,mc.YA)(e)))}),[n,h,o,r]),g=c.useCallback((function(e,n,o){const r=t.find((t=>t.pageIndex===e));if(!r)return{item:null,label:e+1+""};const i=f?e=>{f(e,(0,Fy.J)(r))}:void 0;return{item:c.createElement(Iy.Z,{key:r.pageKey,page:r,size:n,maxSize:o,pageRef:i}),label:r.pageLabel||e+1+""}}),[t,f]),v=c.useCallback((function(e){const n=t.find((t=>t.pageIndex===e));return(null==n?void 0:n.pageKey)||`${e}`}),[t]);return c.createElement("div",{role:"region","aria-label":d(My.thumbnails),tabIndex:-1,ref:l,className:"PSPDFKit-Sidebar-Thumbnails"},u?c.createElement(Ty.Z,{width:e.width,height:e.height,totalItems:u.size,renderItemCallback:g,itemKeyCallback:v,itemScale:e.scale,onItemPress:m,selectedItemIndexes:(0,i.l4)([o]),cssPrefix:"PSPDFKit-Sidebar",clickDisabled:r}):null)}));var Ny=n(46983),Ry=n.n(Ny);function Ly(e){let{position:t,children:n}=e;return c.createElement("div",null,c.createElement("div",{className:d()("PSPDFKit-Toolbars",Ry().root,{[Ry().stickToBottom]:"bottom"===t})},n))}var By=n(76367),jy=n(70742),zy=n.n(jy);function Ky(e){const[t,o]=c.useState(!1),[r,i]=c.useState(!1),a=c.useRef(e.digitalSignatures);c.useEffect((()=>{e.digitalSignatures!==a.current&&o(!1),a.current=e.digitalSignatures}),[e.digitalSignatures]),c.useEffect((()=>{!async function(){const t=(0,er.jI)(e.digitalSignatures,e.showSignatureValidationStatus);i(t)}()}),[e.showSignatureValidationStatus,e.digitalSignatures]);const{formatMessage:s}=(0,Se.YB)(),{status:l,messageId:u,iconPath:p}=e.digitalSignatures?function(e){let{documentModifiedSinceSignature:t,status:n}=e;if(n===By._.valid)return t?{status:"warning",messageId:"digitalSignaturesDocModified",iconPath:"warning-2.svg"}:{status:"valid",messageId:"digitalSignaturesAllValid",iconPath:"digital-signatures/signature-valid.svg"};if(n===By._.warning)return{status:"warning",messageId:t?"digitalSignaturesSignatureWarningDocModified":"digitalSignaturesSignatureWarning",iconPath:"warning-2.svg"};if(n===By._.error)return{status:"error",messageId:t?"digitalSignaturesSignatureErrorDocModified":"digitalSignaturesSignatureError",iconPath:"digital-signatures/signature-error.svg"};return{status:null,messageId:null,iconPath:null}}(e.digitalSignatures):{status:null,messageId:null,iconPath:null};if(null==l||null==u||t)return null;const f=d()(zy().root,zy()[`status-${l}`],"PSPDFKit-Digital-Signatures-Status",`PSPDFKit-Digital-Signatures-Status-${(0,hn.kC)(l)}`),h=d()(zy().signatureValidationStatusIcon,zy()[`status-${l}-icon`],"PSPDFKit-Digital-Signatures-Status-Icon");return r?c.createElement("div",{className:f},c.createElement("div",{className:zy().signatureInfoContainer},c.createElement("div",{className:zy().signatureValidationStatusIconContainer},c.createElement(Re.Z,{className:h,src:n(79230)(`./${p}`)})),c.createElement("span",{className:d()(zy().signatureValidationStatusText,"PSPDFKit-Digital-Signatures-Status-Text")},s(Zy[u]))),c.createElement(q.zx,{className:d()(zy().signatureValidationCloseButton,"PSPDFKit-Digital-Signatures-Status-Close-Button"),onClick:()=>{o(!0)},"aria-label":"Close digital signatures status bar"},c.createElement(Re.Z,{className:zy().signatureValidationCloseIcon,src:n(15708)}))):null}const Zy=(0,Se.vU)({digitalSignaturesDocModified:{id:"digitalSignaturesDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed.",description:"Message when document is valid but has been modified since it was signed."},digitalSignaturesAllValid:{id:"digitalSignaturesAllValid",defaultMessage:"The document has been digitally signed and all signatures are valid.",description:"Message when document is valid."},digitalSignaturesSignatureWarningDocModified:{id:"digitalSignaturesSignatureWarningDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.",description:'Message when the document is in a "warning" status and the document has been modified since signing.'},digitalSignaturesSignatureWarning:{id:"digitalSignaturesSignatureWarning",defaultMessage:"The document has been digitally signed, but at least one signature has problems.",description:'Message when the document is in a "warning" status.'},digitalSignaturesSignatureErrorDocModified:{id:"digitalSignaturesSignatureErrorDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.",description:'Message when the document is in a "error" status and the document has been modified since signing.'},digitalSignaturesSignatureError:{id:"digitalSignaturesSignatureError",defaultMessage:"The document has been digitally signed, but at least one signature is invalid.",description:'Message when the document is in a "error" status.'}});var Uy=n(90133),Vy=n.n(Uy);const Gy=c.memo((function(e){return c.createElement(Og,{itemClassName:Vy().item,rootClassName:d()("PSPDFKit-Annotation-Tooltip",Vy().root),items:e.items})}));var Wy=n(73396),qy=n.n(Wy);function Hy(e){let{viewportState:{viewportRect:t,commentMode:n},children:o,scrollbarOffset:r}=e;const i={width:t.width+r,height:n===Bf._.PANE?t.height/2:t.height};return c.createElement("div",{className:`PSPDFKit-Viewport ${qy().root}`,style:i},o)}var $y=n(73535),Xy=n.n($y);const Yy=(0,Se.XN)((function(e){const{formatMessage:t}=e.intl;return c.createElement(op.Z,{role:"alertdialog",onEscape:e.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog PSPDFKit-Reload-Document-Confirm-Dialog",accessibilityLabel:t(Jy.reloadDocumentDialog),accessibilityDescription:t(Jy.reloadDocumentDialogDesc)},c.createElement(op.Z.Section,{style:{paddingBottom:0}},c.createElement("div",{className:`${Xy().content} PSPDFKit-Confirm-Dialog-Content`},c.createElement("div",null,t(Jy.instantModifiedWarning)))),c.createElement(op.Z.Section,null,c.createElement(q.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},c.createElement(q.zx,{autoFocus:!0,onClick:e.onCancel,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Cancel"},t(ke.Z.cancel)),c.createElement(q.zx,{onClick:e.onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},t(Jy.reloadDocument)))))})),Jy=(0,Se.vU)({instantModifiedWarning:{id:"instantModifiedWarning",defaultMessage:"Reload document confirm dialog message",description:"The document was modified and is now in read-only mode. Reload the page to fix this."},reloadDocument:{id:"reloadDocument",defaultMessage:"Reload document",description:"Reload"},reloadDocumentDialog:{id:"reloadDocumentDialog",defaultMessage:"Confirm document reload",description:"Reload Document Confirm Dialog"},reloadDocumentDialogDesc:{id:"reloadDocumentDialogDesc",defaultMessage:"Dialog prompting the user to confirm reloading the document.",description:"Description for the Reload Document Dialog"}});var Qy=n(41194),eb=n(64494),tb=n(83251),nb=n.n(tb);function ob(e){const{formatMessage:t}=(0,Se.YB)();return c.createElement(op.Z,{role:"dialog",onEscape:e.onEscape,className:nb().modal,accessibilityLabel:t(rb.signatureDialog),accessibilityDescription:t(rb.signatureDialogDescription)},e.children)}const rb={signatureDialog:{id:"signatureDialog",defaultMessage:"Signature",description:"Signature Dialog"},signatureDialogDescription:{id:"signatureDialogDesc",defaultMessage:"This dialog lets you select a signature to insert into the document. If you do not have stored signatures, you can create one by drawing, typing or selecting an existing image.",description:"Signature Dialog description"}};function ib(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var ab=ib("Tab"),sb=ib("TabList"),lb=ib("TabPanel");function cb(){return cb=Object.assign||function(e){for(var t=1;t=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},r.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;ne;)if(!Pb(this.getTab(t)))return t;return e},r.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t=0||(r[n]=e[n]);return r}(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]));return c.createElement("div",yb({},r,{className:fb(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,o&&o(t)},"data-tabs":!0}),this.getChildren())},o}(c.Component);function xb(e,t){return xb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xb(e,t)}Eb.defaultProps={className:"react-tabs",focus:!1},Eb.propTypes={};var Db=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this).handleSelected=function(e,t,o){var r=n.props.onSelect,i=n.state.mode;if("function"!=typeof r||!1!==r(e,t,o)){var a={focus:"keydown"===o.type};1===i&&(a.selectedIndex=e),n.setState(a)}},n.state=o.copyPropsToState(n.props,{},t.defaultFocus),n}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,xb(t,n),o.getDerivedStateFromProps=function(e,t){return o.copyPropsToState(e,t)},o.getModeFromProps=function(e){return null===e.selectedIndex?1:0},o.copyPropsToState=function(e,t,n){void 0===n&&(n=!1);var r={focus:n,mode:o.getModeFromProps(e)};if(1===r.mode){var i=Math.max(0,vb(e.children)-1),a=null;a=null!=t.selectedIndex?Math.min(t.selectedIndex,i):e.defaultIndex||0,r.selectedIndex=a}return r},o.prototype.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["children","defaultIndex","defaultFocus"])),o=this.state,r=o.focus,i=o.selectedIndex;return n.focus=r,n.onSelect=this.handleSelected,null!=i&&(n.selectedIndex=i),c.createElement(Eb,n,t)},o}(c.Component);function Cb(){return Cb=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,["children","className"]);return c.createElement("ul",Cb({},o,{className:fb(n),role:"tablist"}),t)},o}(c.Component);function Ab(){return Ab=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(n,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return c.createElement("li",Ab({},h,{className:fb(r,(e={},e[d]=u,e[a]=i,e)),ref:function(e){t.node=e,f&&f(e)},role:"tab",id:s,"aria-selected":u?"true":"false","aria-disabled":i?"true":"false","aria-controls":l,tabIndex:p||(u?"0":null)}),o)},o}(c.Component);function Mb(){return Mb=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return c.createElement("div",Mb({},u,{className:fb(o,(e={},e[s]=a,e)),role:"tabpanel",id:i,"aria-labelledby":l}),r||a?n:null)},o}(c.Component);Rb.defaultProps={className:Nb,forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},Rb.propTypes={},Rb.tabsRole="TabPanel";var Lb=n(52940),Bb=n.n(Lb),jb=n(70768),zb=n.n(jb);function Kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Zb(e){for(var t=1;t{const e=new qv.Z(Zb(Zb({},o),{},{isSignature:!0,strokeColor:a.strokeColor}));n(e)}),[o,n,a]),f=c.useCallback((e=>{const t=a.set("strokeColor",e);n(t)}),[n,a]),h=c.useCallback((e=>{l(e.width/r.width)}),[r.width]),m=c.useCallback((e=>{n(e)}),[n]);return c.createElement("div",{className:zb().wrapper},c.createElement("div",{className:zb().colorPickerContainer},c.createElement(Wu,{colorPresets:i,activeColor:a.strokeColor,accessibilityLabel:t(ke.Z.color),onClick:f,className:d()(Ho().colorPicker,"PSPDFKit-Electronic-Signatures-Color-Picker")})),c.createElement("div",{className:d()(Ho().editorCanvasContainer,zb().editorCanvasContainer)},c.createElement("div",{className:d()(Ho().editorCanvas,zb().canvas,"PSPDFKit-Electronic-Signatures-Canvas","interactions-disabled"),tabIndex:0},c.createElement(_d.Z,{onResize:h}),c.createElement(Xr,{annotation:a,canvasSize:r,onDrawStart:m,onDraw:m,onDrawEnd:m,zoomLevel:s,cursor:"crosshair"}))),c.createElement("div",{className:zb().actionContainer},a.lines.isEmpty()?c.createElement("div",{className:d()(Ho().signHere,zb().signHere,"PSPDFKit-Electronic-Signatures-Sign-Here-Label",{[Ho().signHereHidden]:!a.lines.isEmpty()})},t(Vb.signHere)):c.createElement(q.zx,{onClick:p,inverted:!0,disabled:u,className:d()(Ho().button,zb().deleteSignature,"PSPDFKit-Electronic-Signatures-Clear-Signature-Button")},t(ke.Z.clearSignature))))}const Vb=(0,Se.vU)({signHere:{id:"signHere",defaultMessage:"Sign here",description:"Message on the signature canvas"}});var Gb=n(27074),Wb=n.n(Gb),qb=n(10713),Hb=n.n(qb);function $b(e){const{formatMessage:t}=(0,Se.YB)(),{image:n,onImageSelected:o,onRenderFinished:r}=e,[i,a]=c.useState(!1),[s,l]=c.useState(!1),[u,p]=c.useState(null),f=c.useRef(null),h=c.useRef(null),m=c.useCallback((e=>{const t=e.target.files[0];if(!t)return;const n=e.target.files[0].type;"image/jpeg"!==n&&"image/png"!==n||(o(t),e.target.value="")}),[o]),g=c.useCallback((e=>{e.stopPropagation(),f.current&&f.current.click()}),[]);return c.useEffect((function(){n&&n!==h.current&&(u&&URL.revokeObjectURL(u),p(URL.createObjectURL(n)),r(),h.current=n)}),[n,u,p,r]),c.createElement("div",{className:Wb().wrapper},c.createElement("div",{className:d()(Wb().dragZone,{[Wb().draggingOver]:i,[Wb().hoveringOver]:s,[Wb().dragZoneNoSelection]:!n,[Wb().dragZoneNoLegacyEdge]:!0},"PSPDFKit-Electronic-Signatures-Image-Dropzone"),onDrag:e=>{e.preventDefault(),e.stopPropagation()},onDragStart:e=>{e.preventDefault(),e.stopPropagation()},onDragEnd:e=>{e.preventDefault(),e.stopPropagation(),a(!1)},onDragOver:e=>{e.preventDefault(),e.stopPropagation(),a(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),a(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),a(!1)},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),a(!1),e.dataTransfer.files&&e.dataTransfer.files[0]){const t=e.dataTransfer.files[0];if("image/jpeg"!==t.type&&"image/png"!==t.type)return;o(t)}},onClickCapture:g,onPointerOver:()=>{l(!0)},onPointerOut:()=>{l(!1)}},c.createElement("input",{type:"file",id:"image-picker",className:Wb().filePicker,accept:"image/png, image/jpeg",onChange:m,ref:f,tabIndex:-1}),n?c.createElement("img",{src:u||void 0,className:Wb().imagePreview}):c.createElement("div",{className:Wb().dragZoneContent},c.createElement("button",{tabIndex:0,className:d()(Wb().addButton,"PSPDFKit-Electronic-Signatures-Add-Image-Button"),onClick:g},c.createElement(q.TX,null,t(Xb.selectDragImage)),c.createElement(Re.Z,{src:Hb(),className:Wb().addIcon,"aria-hidden":"true"})),c.createElement("p",{className:Wb().legend,"aria-hidden":!0},t(Xb.selectDragImage)))),n&&c.createElement("button",{className:d()(Wb().fileLabel,Wb().buttonLink,"PSPDFKit-Electronic-Signatures-Replace-Image-Button"),onClick:g},t(Xb.replaceImage)))}const Xb=(0,Se.vU)({selectDragImage:{id:"selectDragImage",defaultMessage:"Select or Drag Image",description:"Indicate that the space is reserved to select or drag an image"},replaceImage:{id:"replaceImage",defaultMessage:"Replace Image",description:"Click to replace the image currently visible"}});var Yb=n(52247),Jb=n(49814),Qb=n.n(Jb);function ew(e){var t,n,o;const r=(0,Se.YB)().formatMessage,{signingFonts:i,onChange:a,colors:l,signature:u}=e,p=e.frameWindow.innerWidth,f=i.map((e=>e.name));let h,m;f.size<=1&&(h={paddingTop:"5%",height:"100%"},p>Be.Fg&&(m=48));const g=c.useCallback((e=>{if(!e)return;const t=u.set("fontColor",e);a(t)}),[u,a]),v=c.useCallback((e=>{const t=u.set("font",e);a(t)}),[u,a]),y=c.useCallback((e=>{const t=u.set("text",{format:"plain",value:e});a(t)}),[u,a]),b=c.useCallback((()=>{const e=u.set("text",{format:"plain",value:""});a(e)}),[u,a]),w=d()(Qb().fontFamilyWrapper,"PSPDFKit-Electronic-Signatures-Font-Family-Wrapper"),S=l.find((e=>e.color&&e.color.equals(u.fontColor)));return c.createElement("div",{className:Qb().wrapper},c.createElement("div",{className:Qb().typingUiContainer,style:h},c.createElement("div",{className:Qb().colorPickerContainer},c.createElement(Wu,{colorPresets:l,activeColor:u.fontColor,onClick:g,className:d()(Ho().colorPicker,"PSPDFKit-Electronic-Signatures-Color-Picker")})),c.createElement("style",null,`\n .PSPDFKit-Electronic-Signatures-Text-Input::placeholder {\n color: rgb(${null==S||null===(t=S.color)||void 0===t?void 0:t.r}, ${null==S||null===(n=S.color)||void 0===n?void 0:n.g}, ${null==S||null===(o=S.color)||void 0===o?void 0:o.b});\n }\n `),c.createElement("div",{className:Qb().inputContainer},c.createElement(Su,{accessibilityLabel:r(tw.ElectronicSignatures_SignHereTypeHint),placeholder:r(tw.signature),autoFocus:!0,value:u.text.value,onUpdate:y,styles:{input:d()(Qb().input,"PSPDFKit-Electronic-Signatures-Text-Input",{[Qb().opaque]:!u.text})},textStyles:{color:u.fontColor.toCSSValue(),fontFamily:(0,un.hm)(u.font),fontSize:m}}),c.createElement("div",{className:Qb().actionContainer},u.text?c.createElement(q.zx,{onClick:b,inverted:!0,className:d()(Ho().button,Qb().deleteSignature,"PSPDFKit-Electronic-Signatures-Clear-Signature-Button")},r(ke.Z.clearSignature)):c.createElement("div",{className:d()(Ho().signHere,Qb().signHere,"PSPDFKit-Electronic-Signatures-Sign-Here-Label")},r(tw.ElectronicSignatures_SignHereTypeHint))))),f.size>1?c.createElement("div",{className:d()(Qb().fontFamiliesPickerContainer,"PSPDFKit-Electronic-Signatures-Font-Families-Container")},f.map(((e,t)=>{const n=e===u.font;return(0,s.kG)((0,I.HD)(e)&&(0,I.HD)(t)),c.createElement("div",{onClick:()=>{v(e)},className:w,key:e},c.createElement("input",{type:"radio",checked:n,value:t,id:e,name:e,onChange:t=>{t.target.checked&&v(e)},className:d()(Qb().fontFamilyRadio,"PSPDFKit-Electronic-Signatures-Font-Family-Radio-Input")}),c.createElement("label",{"aria-label":e,htmlFor:e,style:{color:u.fontColor.toCSSValue(),fontFamily:`${(0,un.hm)(e)}, cursive`},className:d()(Qb().fontLabel,"PSPDFKit-Electronic-Signatures-Font-Family-Label")},u.text.value||r(tw.signature)))}))):null)}const tw=(0,Se.vU)({signature:{id:"signature",defaultMessage:"Signature",description:"Placeholder for the signature"},ElectronicSignatures_SignHereTypeHint:{id:"ElectronicSignatures_SignHereTypeHint",defaultMessage:"Type Your Signature Above",description:"Indicates where the signature will be"}});function nw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ow(e){for(var t=1;te.name)),[f,h]=c.useState(0),[m,g]=c.useState(null),[v,y]=c.useState(!0),[w,S]=c.useState(null),[P,E]=c.useState(!1),x=(0,a.v9)((e=>{var t;return(null===(t=e.electronicSignatureDefaultTextCallback)||void 0===t?void 0:t.call(e))||""})),[D,C]=c.useState(new de.gd(ow(ow({},n),{},{font:p.first(),fontSize:16,text:{format:"plain",value:x},fontColor:e.colorPresets[0].color}))),[k,O]=c.useState(new qv.Z(ow(ow({},n),{},{isSignature:!0,strokeColor:e.colorPresets[0].color}))),A=c.useRef(null),T=c.useCallback((e=>{C(e)}),[C]),I=c.useCallback((e=>{O(e)}),[O]),F=c.useCallback((async function(){if(_===Yb.M.DRAW&&k){const e=(0,Ri.c)(k,k.boundingBox.getLocation().scale(-1),u,new b.E9);o(e,v,!1)}else if(_===Yb.M.IMAGE&&w)o(w,v,!1);else if(_===Yb.M.TYPE&&D&&D.fontColor){const e=await(0,_e.Y)(D.text.value,D,s);l((0,bt.gX)({fontColor:D.fontColor,font:D.font})),o(e,v,!1)}}),[f,w,k,D,o,v,s,u,l]);let M=!0;const _=i.toArray()[f];_!==Yb.M.DRAW||k.lines.isEmpty()?(_===Yb.M.IMAGE&&w&&P||_===Yb.M.TYPE&&D.text.value)&&(M=!1):M=!1;const N=i.map((o=>{switch(o){case Yb.M.DRAW:return{tab:c.createElement(Fb,{className:d()(Bb().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Draw"),key:"draw"},t(aw.draw)),tabPanel:c.createElement(Rb,{key:"draw",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Draw"},c.createElement(Ub,{preset:n,colors:e.colorPresets,onChange:I,signature:k,canvasSize:u}))};case Yb.M.IMAGE:return{tab:c.createElement(Fb,{className:d()(Bb().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Image"),key:"image"},t(aw.image)),tabPanel:c.createElement(Rb,{key:"image",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Image"},c.createElement($b,{image:w,onImageSelected:S,onRenderFinished:()=>E(!0)}))};case Yb.M.TYPE:return{tab:c.createElement(Fb,{className:d()(Bb().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Type"),key:"type"},t(aw.type)),tabPanel:c.createElement(Rb,{key:"type",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Type"},c.createElement(ew,{signingFonts:r,onChange:T,frameWindow:e.frameWindow,colors:e.colorPresets,signature:D,preset:n}))};default:return}}));return c.useLayoutEffect((()=>{if(A.current){const e=A.current.querySelectorAll('li[role="tab"]');g(Array.from(e).map((e=>e.getBoundingClientRect().width)))}}),[g]),c.createElement(Db,{onSelect:e=>{h(e)},className:d()(Bb().tabsContainer,"PSPDFKit-Electronic-Signatures-Tabs-Container"),defaultFocus:!0,environment:e.frameWindow,domRef:e=>A.current=e},c.createElement(Ob,{className:d()(Bb().tabsList,{[Bb().singleTab]:1===N.size},"PSPDFKit-Electronic-Signatures-Tabs-List")},c.createElement("div",{className:Bb().activeTabIndicator,style:{left:(m?m.filter(((e,t)=>te+t+13),0):0)+32,width:m?m[f]:0}}),N.map((e=>e&&e.tab))),c.createElement("div",{className:Bb().contentArea},N.map((e=>e&&e.tabPanel))),c.createElement("div",{className:Bb().footer},e.hasSignaturesCreationListener&&c.createElement("label",{className:d()(Bb().checkbox,"PSPDFKit-Electronic-Signatures-Store-Signature-Checkbox")},c.createElement("input",{type:"checkbox",name:"store",checked:v,onChange:e=>{y(e.target.checked)}}),c.createElement("span",{className:Bb().checkboxLabel},t(aw.saveSignature))),c.createElement(q.hE,{className:Bb().group,align:"end",style:e.hasSignaturesCreationListener?void 0:{width:"100%"}},c.createElement(q.zx,{onClick:e.onCancel,className:d()(Bb().button,"PSPDFKit-Electronic-Signatures-Cancel-Button")},t(ke.Z.cancel)),c.createElement(q.zx,{primary:!0,disabled:M,onClick:F,className:d()(Bb().button,"PSPDFKit-Electronic-Signatures-Done-Button")},t(ke.Z.done)))))}const aw=(0,Se.vU)({saveSignature:{id:"saveSignature",defaultMessage:"Save Signature",description:"Save the signature that is in creation"},draw:{id:"draw",defaultMessage:"Draw",description:"Draw tab"},image:{id:"image",defaultMessage:"Image",description:"Image tab"},type:{id:"type",defaultMessage:"Type",description:"Type tab"}});var sw=n(44295),lw=n.n(sw);function cw(e){const{formatMessage:t}=(0,Se.YB)(),{storedSignatures:n,onCreate:o,onDelete:r,dispatch:i}=e,[a,s]=c.useState(!1),l=!a&&Boolean(n&&n.size>0);return c.useEffect((()=>{e.frameWindow.document.fonts&&(0,ed.GE)(e.signingFonts,e.frameWindow.document.fonts)}),[e.signingFonts,e.frameWindow.document.fonts]),l&&n?c.createElement(c.Fragment,null,c.createElement("div",{className:lw().header},c.createElement("div",{className:d()(lw().legend,"PSPDFKit-Electronic-Signatures-Signature-Heading"),role:"heading","aria-level":"1"},t(ke.Z.signatures)),c.createElement(q.zx,{className:d()(lw().addButton,"PSPDFKit-Electronic-Signatures-Add-Signature-Button"),onClick:()=>{s(!0)},inverted:!0},t(ke.Z.addSignature))),c.createElement("div",{className:lw().signaturePickerContainer},c.createElement(sy,{signatures:n,onSelect:e=>{o(e,!1,!1)},onDelete:e=>{r(e,!1)},backend:e.backend,attachments:e.attachments,viewportWidth:e.viewportWidth,showDeleteBtn:e.hasSignaturesDeletionListener})),c.createElement("div",{className:lw().footer},c.createElement(q.hE,{className:lw().group,align:"end"},c.createElement(q.zx,{onClick:e.onCancel,className:d()(lw().button,"PSPDFKit-Signature-Dialog-Cancel-Button")},t(ke.Z.cancel))))):c.createElement(c.Fragment,null,c.createElement("p",{className:lw().legend},t(ke.Z.addSignature)),c.createElement(iw,{preset:e.preset,frameWindow:e.frameWindow,colorPresets:e.colorPresets,onCreate:e.onCreate,onCancel:e.onCancel,hasSignaturesCreationListener:e.hasSignaturesCreationListener,signingFonts:e.signingFonts,creationModes:e.creationModes,dispatch:i}))}var uw=n(72952),dw=n.n(uw),pw=n(84747),fw=n(23477),hw=n(6733),mw=n.n(hw);function gw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vw(e){for(var t=1;tn.e(5747).then(n.bind(n,12711)))),ww=c.createElement("div",{className:mw().fallback,"data-testid":"fallback"},c.createElement("div",{className:mw().fallbackToolbar}),c.createElement("div",{className:mw().fallbackPagesView},c.createElement(Le.Z,{scale:2})),c.createElement("div",{className:mw().fallbackToolbar})),Sw={documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor"},documentEditorDesc:{id:"documentEditorDesc",defaultMessage:"Make changes to the current document",description:"Description of the Document Editor modal"}},Pw=e=>{const{formatMessage:t}=(0,Se.YB)(),[n,o]=c.useState(!0),r=c.useCallback((e=>{o(!e)}),[]),i=c.useCallback((()=>{n&&e.onCancel()}),[n,e]);return c.createElement(op.Z,{onEscape:i,useBorderRadius:!1,className:mw().modal,accessibilityLabel:t(Sw.documentEditor),accessibilityDescription:t(Sw.documentEditorDesc)},c.createElement(c.Suspense,{fallback:ww},c.createElement(bw,{onCancel:e.onCancel,scale:e.scale,CSS_HACK:yw,onDialog:r})))};function Ew(){const[e,t]=c.useState(null);c.useEffect((()=>{null==e||e.focus()}),[e]),(0,_r.Bo)(e,null);const n=d()(Jm().container,"PSPDFKit-Sidebar-Custom");return c.createElement("div",{role:"region",tabIndex:-1,ref:t,className:n})}var xw,Dw=n(74792),Cw=n(47825);function kw(e){const{formatMessage:t}=(0,Se.YB)();return c.createElement("form",{onSubmit:e.onSave,className:d()(Xm().editor,"PSPDFKit-Sidebar-Bookmarks-Editor"),onKeyUp:t=>{t.which===Zo.zz&&e.onCancel()}},e.title&&c.createElement("h2",{className:d()(Xm().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")},e.title),c.createElement("label",null,c.createElement(q.oi,{value:e.value,onChange:e.onChange,autoFocus:!0,selectTextOnFocus:!0,name:"name",placeholder:t(ke.Z.name),autoComplete:"off",style:{fontSize:"inherit",fontWeight:"normal",padding:"calc(0.8125em/ 2) 0.8125em"}})),c.createElement("div",{className:d()(Xm().buttonContainer,"PSPDFKit-Sidebar-Bookmarks-Button-Container")},e.onDelete&&c.createElement(q.zx,{onClick:e.onDelete,inverted:!0,danger:!0,className:d()("PSPDFKit-Sidebar-Bookmarks-Button-Delete",Xm().bookmarkDeleteButton)},t(ke.Z.delete)),c.createElement("div",{className:Xm().bookmarkSaveCancelButtonsContainer},c.createElement(q.zx,{onClick:e.onCancel,className:"PSPDFKit-Sidebar-Bookmarks-Button-Cancel"},t(ke.Z.cancel)),c.createElement(q.zx,{primary:!0,type:"submit",className:"PSPDFKit-Sidebar-Bookmarks-Button-Save"},t(ke.Z.save)))))}function Ow(e){var t;const{bookmarks:o,pages:r,currentPageIndex:s,bookmarkManager:l}=e,[u,p]=c.useState(null);c.useEffect((()=>{null==u||u.focus()}),[u]);const[f,h]=c.useState(null),[m,g]=c.useState(null),[v,y]=c.useState(!1),[b,S]=c.useState(null),P=(0,a.I0)(),E=c.useRef(),x=c.useRef(null),D=c.useRef(!1),[C,k]=c.useState(new Set),{formatMessage:O}=(0,Se.YB)(),A=(0,_r.R9)((()=>{h(null),g(null),y(!1)})),T=(0,_r.R9)((e=>{g(e.currentTarget.value)})),I=(0,_r.R9)((()=>{f&&f.id&&(D.current=!0),A(),S(O(Iw.cancelledEditingBookmark))})),F=(0,_r.R9)((e=>{if(e.persist(),e.preventDefault(),f&&m!==f.name){let e=f.set("name",m).setIn(["action","pageIndex"],s);e.id?l.updateObject(e):(e=e.set("id",(0,Cw.A)()),x.current=e.id,l.createObject(e)),l.autoSave(),S(O(Iw.bookmarkEdited))}else S(O(Iw.bookmarkCreated));A()})),M=(0,_r.R9)((()=>{f&&(l.deleteObject(f),l.autoSave()),A(),S(O(Iw.bookmarkDeleted))})),_=(0,_r.R9)((()=>{y(!1)})),N=(0,_r.R9)((()=>{y(!0)})),R=(0,_r.R9)((e=>{h(e),g(e.name||"")})),L=(0,_r.R9)((()=>{h(new w.rp({action:new w.Di({pageIndex:e.currentPageIndex})})),g("")}));c.useEffect((()=>{null!=u&&u.hasAttribute("aria-label")&&u.focus()}),[u]);const B=(0,_r.jC)(e);c.useEffect((()=>{if(E.current&&null!=B&&B.bookmarks&&o&&(B.bookmarks!==o||D.current)){var e;const t=null!==(e=Tw(o).findIndex((e=>e.id===x.current)))&&void 0!==e?e:-1;t>-1&&E.current.setActiveItem(t),D.current=!1}}));const j=o?(0,i.aV)(Tw(o)):o,z=(0,_r.Bo)(u,j),K={className:d()(Xm().container,!j&&Xm().loading+" PSPDFKit-Sidebar-Loading",j&&0===j.size&&" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Bookmarks"),ref:p,style:{width:e.width},role:"region","aria-label":O(ke.Z.bookmarks)},Z=(0,_r.mP)(z,(e=>e.id),(e=>null==j?void 0:j.find((t=>t.id===e))));if(!j)return c.createElement("div",(0,ue.Z)({},K,{tabIndex:0}),c.createElement(q.TX,{"aria-live":"polite"},O(Iw.loadingBookmarks)),xw||(xw=c.createElement(Le.Z,null)));const U=r.get(s),V=U&&U.get("pageLabel");return c.createElement("div",K,c.createElement(q.TX,{"aria-live":"polite"},O(ke.Z.bookmarks)),f&&!f.id?c.createElement(kw,{onChange:T,onSave:F,onCancel:I,value:m,title:O(ke.Z.pageX,{arg0:V||e.currentPageIndex+1})+": "+O(Iw.newBookmark)}):c.createElement("div",{style:{width:"100%"}},c.createElement("div",{className:Jm().sidebarHeader},c.createElement("h2",{"aria-hidden":"true",className:d()(Xm().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")}," ",c.createElement("span",null,O(ke.Z.bookmarks))),c.createElement(q.zx,{primary:!0,onClick:L,className:d()("PSPDFKit-Sidebar-Bookmarks-Button-Add"),autoFocus:!0},O(Iw.newBookmark)))),j&&j.size>0&&c.createElement(q.HJ,{onActiveItemIndexChange:e=>{const t=j.get(e);t&&t.id&&(x.current=t.id)},ref:E,items:j.toArray().map(((o,i)=>{const a=o.action,l=a.pageIndex===s,u=d()({[Xm().layout]:!0,[Xm().layoutWidth]:!0,[Xm().layoutEditing]:o===f,[Xm().layoutNarrow]:e.closeOnPress,[Xm().selected]:l,"PSPDFKit-Sidebar-Bookmarks-Bookmark":!0,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Selected":l,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Editing":o===f}),p=d()([Xm().name],{[Xm().nameEllipsis]:!C.has(i)},"PSPDFKit-Sidebar-Bookmarks-Name"),h=r.get(a.pageIndex),g=h&&h.pageLabel,v=o.action instanceof w.Di?O(ke.Z.pageX,{arg0:g||a.pageIndex+1}):null,y=o.action instanceof w.Di?g||a.pageIndex+1:null,b=v||O(ke.Z.bookmark),S=c.createElement(c.Fragment,null,c.createElement("div",{onClick:()=>(e=>{k((t=>(t.has(e)?t.delete(e):t.add(e),new Set(t))))})(i),className:p},o.name||O(ke.Z.bookmark)),!!y&&c.createElement("span",{className:d()(Xm().pageNumber)},y));o.name;const E=Z?e=>{Z(e,o)}:void 0;return c.createElement("div",{key:"bookmark-item-"+o.id,ref:E,className:d()(Xm().wrapper,Xm().container)},o===f?t||(t=c.createElement(kw,{onChange:T,onSave:F,onCancel:I,onDelete:N,value:m})):c.createElement("div",{className:d()(Xm().wrapper,Xm().fullWidth)},c.createElement("div",{className:u,"aria-label":b,onClick:t=>{t.preventDefault(),P((0,gr.aG)(o.action)),e.closeOnPress&&P((0,Kt.mu)())}},c.createElement("button",{type:"button",className:Xm().layoutSmallWidth,"aria-label":o.action instanceof w.Di?O(ke.Z.gotoPageX,{arg0:g||o.action.pageIndex+1}):o.name||void 0},c.createElement("span",{className:Xm().wrapper},S)),c.createElement("button",{title:b+": "+O(ke.Z.edit),className:d()(Xm().edit,e.closeOnPress&&Xm().editVisible,"PSPDFKit-Sidebar-Bookmarks-Button-Edit"),onClick:e=>{e.stopPropagation(),R(o)}},c.createElement(Re.Z,{src:n(56735),role:"presentation"})))))}))}),c.createElement(q.TX,{announce:"polite"},b),j&&j.size>0&&v&&c.createElement(_c.Z,{onCancel:_,onConfirm:M,accessibilityLabel:O(Iw.deleteBookmarkConfirmAccessibilityLabel),accessibilityDescription:O(Iw.deleteBookmarkConfirmAccessibilityDescription)},O(Iw.deleteBookmarkConfirmMessage)))}const Aw=(0,Dw.createSubscription)({getCurrentValue:()=>{},subscribe:(e,t)=>{let n=function(){};const o=()=>{const n=e.getBookmarks();return n.then(t),n};return o().then((()=>{e.eventEmitter.on("change",o),n=()=>{e.eventEmitter.off("change",o)}})),()=>n()}}),Tw=(0,io.Z)((e=>e.valueSeq().toArray().sort(((e,t)=>{const n=e.action.pageIndex,o=t.action.pageIndex,r=!isNaN(n),i=!isNaN(o);return r&&i?n===o?0:n{let{position:t,onCropApply:o,onCropCancel:r,isCropAreaSelected:i,frameWindow:a,intl:{formatMessage:s}}=e;return c.useEffect((()=>{function e(e){"Enter"===e.key?i&&o(!1):"Escape"===e.key&&r()}return a.document.addEventListener("keydown",e),()=>{a.document.removeEventListener("keydown",e)}}),[i]),c.createElement("div",{className:d()("PSPDFKit-Annotation-Toolbar","PSPDFKit-Document-Crop-Toolbar",Eu().root,Nw().container,{[Eu().stickToBottom]:"bottom"===t}),onMouseUp:Lw,onTouchEnd:Lw,onPointerUp:Lw},c.createElement("div",{className:Nw().buttonContainer},c.createElement("div",{role:"button",className:d()(Nw().cropButton,{[Nw().cropButtonDisabled]:!i}),onClick:i?()=>o(!1):void 0,title:s(ke.Z.cropCurrentPage),"aria-disabled":!i},c.createElement(Re.Z,{src:n(8571)})," ",c.createElement("span",{className:Nw().desktopButtonText},s(ke.Z.cropCurrentPage)),c.createElement("span",{className:Nw().mobileButtonText},s(ke.Z.cropCurrent))),c.createElement("div",{role:"button",className:d()(Nw().cropButton,{[Nw().cropButtonDisabled]:!i}),onClick:i?()=>o(!0):void 0,title:s(ke.Z.cropAllPages),"aria-disabled":!i},c.createElement(Re.Z,{src:n(80525)}),c.createElement("span",{className:Nw().desktopButtonText},s(ke.Z.cropAllPages)),c.createElement("span",{className:Nw().mobileButtonText},s(ke.Z.cropAll)))),c.createElement("div",{role:"button",className:`${Nw().cancelButton} ${Nw().cancelDesktop}`,onClick:()=>r(),title:s(ke.Z.cancel)},c.createElement("span",null,s(ke.Z.cancel))),c.createElement("div",{role:"button",className:`${Nw().cropButton} ${Nw().cancelMobile}`,onClick:()=>r(),title:s(ke.Z.cancel)},c.createElement(Re.Z,{src:n(58054)})))}));function Lw(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}var Bw=n(32801);const jw=Il.AK,zw=e=>{var t,o,r,i;const s=(0,Se.YB)(),{formatMessage:l}=s,u=(0,a.I0)(),{frameWindow:p,position:f,viewportWidth:h,creationMode:m}=e,g=(0,a.v9)(ml.YG),{handleGroupExpansion:v,handleEntered:y,expandedGroup:b,prevActiveGroup:S,btnFocusRef:P}=(0,_r.Tp)(),E=(0,a.v9)(ml.lK),x=(0,a.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),D=(0,a.v9)((e=>e.contentEditorSession.dirty)),C=null===E||x!==ml.FP.Active;c.useEffect((()=>{g.faceList||g.loading||u(tf.O2)}),[g.faceList,g.loading,u]);const k=[...(g.faceList||[new ml.I5({family:""})]).map((e=>({label:e.family,value:e.family})))],O=c.useCallback((e=>{let{modification:t,preventFocusShift:n=!1}=e;const[[o,r]]=Object.entries(t);switch(o){case"fontSize":u((0,tf.Mq)({size:r})),n||nf.dispatch("content-editing:re-focus",null);break;case"font":u((0,tf.Mq)({family:r})),n||nf.dispatch("content-editing:re-focus",null);break;case"bold":u((0,tf.Mq)({bold:r})),n||nf.dispatch("content-editing:re-focus",null);break;case"italic":u((0,tf.Mq)({italic:r})),n||nf.dispatch("content-editing:re-focus",null)}}),[u]),A=c.useCallback((()=>u((0,tf.u)(m?ml.wR.Edit:ml.wR.Create))),[u,m]),T=c.useCallback((()=>{u((0,tf.u)(ml.wR.Delete))}),[u]),I=E?(e=>{if(e.detectedStyle.selectionStyleInfo){const{family:t,bold:n,italic:o,color:r,size:i}=e.detectedStyle.selectionStyleInfo;return{family:t,bold:n,italic:o,color:r?w.Il.fromHex(r):null,size:i}}const{family:t,variant:{bold:n,italic:o}}=e.modificationsCharacterStyle.fontRef.faceRef,{color:r,fontRef:{size:i}}=e.modificationsCharacterStyle;return{family:t,bold:n,italic:o,color:w.Il.fromHex(r),size:i}})(E):null,F=null!==(t=null==I?void 0:I.family)&&void 0!==t?t:void 0,M=null!==(o=null==I?void 0:I.size)&&void 0!==o?o:void 0,_=null==I?void 0:I.bold,N=null==I?void 0:I.italic;let R=null;if(null!=(null==I?void 0:I.color)){var L;const e=I.color;R=null!==(L=rt.Options.COLOR_PRESETS.find((t=>{var n;return null===(n=t.color)||void 0===n?void 0:n.equals(e)})))&&void 0!==L?L:{color:e,localization:ke.Z.color}}const B=Boolean((null==E?void 0:E.detectedStyle.selectionStyleInfo)&&null==R),j={"text-color":{node:c.createElement(Bw.Z,{onChange:e=>{var t;e&&u((0,tf.Mq)({color:null===(t=e.color)||void 0===t?void 0:t.toHex()}));nf.dispatch("content-editing:re-focus",null)},styles:md(),value:null!==(r=R)&&void 0!==r?r:B?null:null!==(i=rt.Options.COLOR_PRESETS.find((e=>e.color===w.Il.BLACK)))&&void 0!==i?i:null,caretDirection:"down",className:"PSPDFKit-Content-Editing-Toolbar-Font-Color",menuClassName:"PSPDFKit-Content-Editing-Toolbar-Font-Color-Menu",removeTransparent:!0,frameWindow:p,colors:rt.Options.COLOR_PRESETS,innerRef:(0,Mu.CN)("text-color",b)?P:void 0,unavailableItemFallback:B?{type:"label",label:""}:{type:"swatch"},disabled:C,accessibilityLabel:l(ke.Z.color)}),title:l(ke.Z.color)},font:{node:c.createElement(ud,{onChange:O,caretDirection:"down",frameWindow:p,intl:s,styles:md(),fontSizes:jw,fontFamilyItems:k,showAlignmentOptions:!1,showFontStyleOptions:!0,currentFontFamily:F,currentFontSize:M,isBold:_,isItalic:N,fontFamilyClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family",fontFamilyMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family-Menu",fontSizeClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size",fontSizeMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size-Menu",horizontalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Vertical-Alignment",disabled:C,ref:(0,Mu.CN)("font",b)?P:void 0}),title:l(ke.Z.font)}};return c.createElement("div",{className:d()("PSPDFKit-Content-Editing-Toolbar",md().root,{[md().stickToBottom]:"bottom"===f})},c.createElement("div",{className:md().content},b?c.createElement("div",{className:md().right},c.createElement(ku.B,{position:f,onClose:()=>v(null),isPrimary:!1,onEntered:y,intl:s,className:md().expanded},b?j[b].node:void 0)):c.createElement("form",{className:md().form,onSubmit:ar.PF},c.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},c.createElement("div",{className:d()(md().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Add-Text")},c.createElement(gu.Z,{type:"add-text-box",icon:n(92982),title:l(Kw.addTextBox),className:d()("PSPDFKit-Content-Editing-Toolbar-Add-Text-Box",md().iconButton,{[md().iconButtonActive]:m}),onPress:A,selected:m})),c.createElement("div",{className:d()(md().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},c.createElement(gu.Z,{type:"text-color",title:j["text-color"].title,className:md().button,onPress:()=>v("text-color"),disabled:Boolean(b)||C,presentational:h>Be.GI,ref:(0,Mu.Kt)("text-color",b,S)?P:void 0}),j["text-color"].node),c.createElement("div",{className:d()(md().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},c.createElement(gu.Z,{type:"font",title:j.font.title,className:md().button,onPress:()=>v("font"),disabled:C,presentational:h>Be.GI,ref:(0,Mu.Kt)("font",b,S)?P:void 0}),j.font.node)),c.createElement("div",{className:"PSPDFKit-Toolbar-Spacer",style:{display:"flex",flex:1}}),h>=Be.GI?c.createElement("div",{className:md().buttonContainer},c.createElement(gu.Z,{type:"delete",title:s.formatMessage(ke.Z.delete),className:d()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",md().iconButton),onPress:T,disabled:!E}),c.createElement("button",{className:md().contentEditorButton,type:"button",onClick:()=>u(tf.u8),title:s.formatMessage(ke.Z.cancel)},c.createElement("span",null,s.formatMessage(ke.Z.cancel))),c.createElement("button",{className:d()(md().contentEditorButton,md().saveButton,{[md().disabledButton]:!D}),type:"button",onClick:()=>u(tf.Ij),title:s.formatMessage(ke.Z.saveAndClose),disabled:!D},c.createElement("span",null,s.formatMessage(ke.Z.saveAndClose)))):c.createElement(c.Fragment,null,c.createElement(gu.Z,{type:"delete",title:s.formatMessage(ke.Z.delete),className:d()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",md().iconButton),onPress:T,disabled:!E}),c.createElement(gu.Z,{type:"close",title:s.formatMessage(ke.Z.close),className:md().button,onPress:()=>{u(D?(0,tf.Yg)(!0):tf.u8)}})))))},Kw=(0,Se.vU)({addTextBox:{id:"addTextBox",defaultMessage:"Add Text Box",description:"Label for the add text box button"}});var Zw,Uw,Vw,Gw=n(51559),Ww=n(2270),qw=n(99728),Hw=n(55024),$w=n(4888),Xw=n.n($w);function Yw(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const Jw={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qw=(0,Ke.b1)(),eS=c.memo((function(e){let{position:t}=e;const{formatMessage:n}=(0,Se.YB)(),[o,r]=(0,_r.$)(),[i,a]=(0,_r.nG)(),s=(0,_r.R9)((()=>{(0,l.unstable_batchedUpdates)((()=>{a([]),f===Hw.Q.result&&h(Hw.Q.documentA)}))})),[u,p]=(0,_r.jw)(),f=(0,Gw.SH)(u),h=(0,_r.R9)((e=>{e!==f&&p(e||Hw.Q.result)})),m=()=>{(0,l.unstable_batchedUpdates)((()=>{a([]),r(!1),h(Hw.Q.documentA)}))},[,g]=(0,_r.dX)(),v=(0,_r.R9)((()=>{s(),h(Hw.Q.documentA),g(!1)}));return c.createElement("div",{className:d()(Xw().root,{"PSPDFKit-DocumentComparison-Toolbar":!0,[Xw().stickToBottom]:"bottom"===t}),onMouseUp:Yw,onTouchEnd:Yw,onPointerUp:Yw},c.createElement("div",{className:Xw().content},c.createElement("div",{className:Xw().left},c.createElement("form",{className:Xw().form,onSubmit:ar.PF},c.createElement("div",{className:Xw().tabsContainer},c.createElement("div",{className:d()(Xw().documentTab,{[Xw().documentTabActive]:f===Hw.Q.documentA,[Xw().autoCompareTab]:o,[Xw().mobileTab]:Qw}),onPointerUp:()=>h(Hw.Q.documentA),onTouchEnd:()=>h(Hw.Q.documentA)},c.createElement("span",{className:d()(Xw().documentText,{[Xw().mobileText]:!!Qw,[Xw().documentTabActiveText]:f===Hw.Q.documentA})},n(Qw?qw.messages.Comparison_documentOldTouch:qw.messages.Comparison_documentOld)),!o&&i.length<3&&c.createElement(tS,{referencePoints:i,startIndex:0,styles:Xw(),touchDevice:Qw}),!o&&i.length>=3&&c.createElement("span",{className:d()([Xw().toolbarReferencePoints,Xw().toolbarReferencePointsSet])},c.createElement("div",{className:Xw().toolbarReferencePoint},c.createElement("svg",(0,ue.Z)({},Jw,{className:Xw().documentCheckMark}),Zw||(Zw=c.createElement("circle",{cx:"10",cy:"10",r:"10"})),oS)))),c.createElement("div",{className:d()(Xw().documentTab,{[Xw().documentTabActive]:f===Hw.Q.documentB,[Xw().autoCompareTab]:o,[Xw().mobileTab]:Qw}),onPointerUp:()=>h(Hw.Q.documentB),onTouchEnd:()=>h(Hw.Q.documentB)},c.createElement("span",{className:d()(Xw().documentText,{[Xw().mobileText]:!!Qw,[Xw().documentTabActiveText]:f===Hw.Q.documentB})},n(Qw?qw.messages.Comparison_documentNewTouch:qw.messages.Comparison_documentNew)),!o&&i.length<6&&c.createElement(tS,{referencePoints:i,startIndex:3,styles:Xw(),touchDevice:Qw}),!o&&6===i.length&&c.createElement("span",{className:d()([Xw().toolbarReferencePoints,Xw().toolbarReferencePointsSet])},c.createElement("div",{className:Xw().toolbarReferencePoint},c.createElement("svg",(0,ue.Z)({},Jw,{className:Xw().documentCheckMark}),Uw||(Uw=c.createElement("circle",{cx:"10",cy:"10",r:"10"})),oS)))),(o||6===i.length)&&c.createElement("div",{className:d()(Xw().documentTab,Xw().resultTab,{[Xw().documentTabActive]:f===Hw.Q.result,[Xw().autoCompareTab]:o}),onPointerUp:()=>h(null),onTouchEnd:()=>h(null)},c.createElement("span",{className:d()(Xw().documentText,{[Xw().mobileText]:!!Qw,[Xw().documentTabActiveText]:f===Hw.Q.result})},n(qw.messages.Comparison_result)))),c.createElement("div",{className:Xw().controlButtonContainer},!o&&i.length>0&&c.createElement("div",{className:d()(Xw().buttonReset,Xw().buttonResetActive,{[Xw().mobileButton]:Qw}),onPointerUp:v,onTouchEnd:v},n(qw.messages.Comparison_resetButton)),o&&c.createElement("div",{className:d()({[Xw().buttonAlignDocuments]:!0,[Xw().mobileButton]:Qw}),onPointerUp:m,onTouchEnd:m},n(Qw?qw.messages.Comparison_alignButtonTouch:qw.messages.Comparison_alignButton)))))))}));const tS=e=>{const{styles:t,referencePoints:n,startIndex:o,touchDevice:r}=e,i=n.slice(o,o+3),a=Array.from({length:3-i.length});return c.createElement("span",{className:d()(t.toolbarReferencePoints,{[t.toolbarReferencePointMobile]:!!r,[t.second]:3===o})},i.concat(a).map(((e,r,i)=>{const a=e?"set":0===r&&n.length===o||i[r-1]?"current":"empty";return c.createElement("div",{className:d()(t.referencePointParent,"PSPDFKit-DocumentComparison-ReferencePoint-State",`PSPDFKit-DocumentComparison-ReferencePoint-State-${(0,hn.kC)(a)}`),key:`point_${r+o}`},r>0?c.createElement("div",{className:t.separator}):null,c.createElement("div",{className:t.toolbarReferencePoint},c.createElement("svg",(0,ue.Z)({},Jw,{className:t[nS[a]]}),Vw||(Vw=c.createElement("circle",{cx:"10",cy:"10",r:"10"})),e?oS:c.createElement(rS,null,r+1))))})))},nS={set:"checkMark",current:"referencePointSet",empty:"referencePoint"},oS=c.createElement("path",{d:"M5.45508 10.1125L8.53758 12.94L14.5451 6.25",strokeWidth:"1.875",strokeMiterlimit:"10",strokeLinecap:"round"}),rS=e=>{let{children:t}=e;return c.createElement("text",{x:"10",y:"11",textAnchor:"middle",dominantBaseline:"middle",dy:""},t)};var iS=n(36401),aS=n.n(iS),sS=n(11521),lS=n.n(sS),cS=n(58568);const uS=[{interactionMode:N.A.BUTTON_WIDGET,icon:"fd-button",title:"Create Button Widget",className:"PSPDFKit-Form-Creator-Toolbar-ButtonWidget"},{interactionMode:N.A.TEXT_WIDGET,icon:"fd-text",title:"Create Text Widget",className:"PSPDFKit-Form-Creator-Toolbar-TextWidget"},{interactionMode:N.A.RADIO_BUTTON_WIDGET,icon:"fd-radio",title:"Create Radio Widget",className:"PSPDFKit-Form-Creator-Toolbar-RadioWidget"},{interactionMode:N.A.CHECKBOX_WIDGET,icon:"fd-checkbox",title:"Create Checkbox Widget",className:"PSPDFKit-Form-Creator-Toolbar-CheckboxWidget"},{interactionMode:N.A.COMBO_BOX_WIDGET,icon:"fd-combobox",title:"Create Combobox widget",className:"PSPDFKit-Form-Creator-Toolbar-ComboboxWidget"},{interactionMode:N.A.LIST_BOX_WIDGET,icon:"fd-listbox",title:"Create List Box Widget",className:"PSPDFKit-Form-Creator-Toolbar-ListBoxWidget"},{interactionMode:N.A.SIGNATURE_WIDGET,icon:"fd-signature",title:"Create Signature Widget",className:"PSPDFKit-Form-Creator-Toolbar-SignatureWidget"},{interactionMode:N.A.DATE_WIDGET,icon:"fd-date",title:"Create Date Widget",className:"PSPDFKit-Form-Creator-Toolbar-DateWidget"}];var dS=n(56966);const pS=e=>{let{position:t,dispatch:n,interactionMode:o,frameWindow:r,modalClosurePreventionError:i,selectedAnnotation:a}=e;return c.useEffect((()=>{function e(e){"Escape"!==e.key||i&&(null==i?void 0:i.error)===dS.x.FORM_DESIGNER_ERROR||a||n((0,Kt.XX)())}return r.document.addEventListener("keydown",e),()=>{r.document.removeEventListener("keydown",e)}}),[n,i,a]),c.createElement("div",{className:d()("PSPDFKit-Form-Creator-Toolbar",Eu().root,Ud().formDesignerContainer,{[Eu().stickToBottom]:"bottom"===t}),onMouseUp:Lw,onTouchEnd:Lw,onPointerUp:Lw},c.createElement("div",null,uS.map((e=>c.createElement(Vd.Z,{key:e.interactionMode,type:e.icon,title:e.title,className:d()(Ud().formDesignerButton,{[Ud().formDesignerButtonActive]:o===e.interactionMode},e.className),onPress:()=>{o===e.interactionMode?n((0,Qn.el)()):(n((0,Qn.h4)()),n((0,Kt.UF)(e.interactionMode)))},selected:o===e.interactionMode})))),c.createElement("div",{className:Ud().spacer}))};var fS=n(40853),hS=n(28910),mS=n(22458),gS=n.n(mS);function vS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function yS(e){for(var t=1;t({label:e,value:e}))),m=h.concat(f.toArray().map((e=>({label:e,value:e}))).filter((e=>!h.some((t=>t.value===e.value)))));if(s.font&&!ed.vt.has(s.font||"")&&!f.some((e=>e===s.font))&&""!==s.font.trim()){const e=u.formatMessage(ke.Z.fontFamilyUnsupported,{arg0:s.font});m.push({label:e,value:e,disabled:!0})}const g=["auto",4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200].map((e=>({value:e,label:e.toString()}))),v=c.useCallback((e=>l({horizontalAlign:e})),[l]),y=c.useCallback((e=>l({verticalAlign:e})),[l]);return c.createElement(hS.U,{title:u.formatMessage(ES.textStyle)},c.createElement("div",{className:gS().item},c.createElement(Re.Z,{src:n(20626),className:gS().itemIcon,role:"presentation"}),c.createElement("div",{className:gS().itemLabel},u.formatMessage(ke.Z.font)),c.createElement("div",{className:gS().nativeDropdown},c.createElement("select",{"aria-label":u.formatMessage(ke.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:s.font||"",onChange:e=>{void 0!==e.target.value&&l({font:e.target.value})}},m.map((e=>c.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),c.createElement(Uc.Z,{items:m,value:{label:null!==(t=s.font)&&void 0!==t?t:m[0].label,value:null!==(o=s.font)&&void 0!==o?o:m[0].value},accessibilityLabel:u.formatMessage(ke.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:gS().dropdownGroupComponent,menuClassName:gS().dropdownGroupMenu,ButtonComponent:bS,ItemComponent:wS,onSelect:(e,t)=>{void 0!==t.value&&l({font:t.value})},frameWindow:d})),c.createElement("div",{className:gS().item},c.createElement(Re.Z,{src:n(89882),className:gS().itemIcon,role:"presentation"}),c.createElement("div",{className:gS().itemLabel},u.formatMessage(ES.fontSize)),c.createElement("div",{className:gS().nativeDropdown},c.createElement("select",{"aria-label":u.formatMessage(ES.fontSize),className:"PSPDFKit-Input-Dropdown-Select",value:s.fontSize||"",onChange:e=>{l({fontSize:"auto"===e.target.value?"auto":parseFloat(e.target.value)})}},g.map((e=>c.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),c.createElement(Uc.Z,{items:g,value:(null!==(r=g.find((e=>e.value===Math.round(s.fontSize||0))))&&void 0!==r?r:null!=s.fontSize)?{value:s.fontSize,label:null!==(i=null===(a=s.fontSize)||void 0===a?void 0:a.toString())&&void 0!==i?i:""}:null,accessibilityLabel:u.formatMessage(ES.fontSize),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:gS().dropdownGroupComponent,menuClassName:gS().dropdownGroupMenu,ButtonComponent:bS,ItemComponent:wS,onSelect:(e,t)=>{null==t.value||"auto"!==t.value&&isNaN(t.value)||l({fontSize:t.value})},frameWindow:d})),c.createElement("div",{className:gS().item},c.createElement(Re.Z,{src:n(59601),className:gS().itemIcon,role:"presentation"}),c.createElement("div",{className:gS().itemLabel},u.formatMessage(ke.Z.color)),c.createElement(vu.Z,{record:s,onChange:l,styles:yS(yS({},Eu()),{},{colorSvg:gS().colorSvg,colorItem:gS().colorItem,dropdownMenu:gS().colorDropdownMenu,controlWrapper:yS(yS({},Eu().controlWrapper),{},{width:"auto"})}),accessibilityLabel:u.formatMessage(ke.Z.fillColor),caretDirection:"down",colorProperty:"fontColor",frameWindow:d,className:gS().colorDropdown})),c.createElement("div",{className:gS().item},c.createElement(Re.Z,{src:n(65908),className:gS().itemIcon,role:"presentation"}),c.createElement("div",{className:gS().itemLabel},u.formatMessage(ke.Z.horizontalAlignment)),c.createElement(q.Ee,{inputName:"horizontalAlign",label:u.formatMessage(ke.Z.horizontalAlignment),selectedOption:SS(s,p),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Horizontal-Alignment",options:["left","center","right"].map((e=>({value:e,label:u.formatMessage(ke.Z[`alignment${(0,hn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:v})),!(p instanceof w.Vi)&&c.createElement("div",{className:gS().item},c.createElement(Re.Z,{src:n(1792),className:gS().itemIcon,role:"presentation"}),c.createElement("div",{className:gS().itemLabel},u.formatMessage(ke.Z.verticalAlignment)),c.createElement(q.Ee,{inputName:"verticalAlign",label:u.formatMessage(ke.Z.verticalAlignment),selectedOption:PS(s,p),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Vertical-Alignment",options:["top","center","bottom"].map((e=>({value:e,label:u.formatMessage(ke.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:y})))};var DS=n(84537);const CS=(0,Se.vU)({advanced:{id:"advanced",defaultMessage:"Advanced",description:"Form designer popover advanced section title"},creatorName:{id:"creatorName",defaultMessage:"Creator Name",description:"Form designer popover advanced section creator name label"},note:{id:"note",defaultMessage:"Note",description:"Form designer popover advanced section note label"},customData:{id:"customData",defaultMessage:"Custom data",description:"Form designer popover advanced section custom data label"},required:{id:"required",defaultMessage:"Required",description:"Form designer popover advanced section required label"},readOnly:{id:"readOnly",defaultMessage:"Read Only",description:"Form designer popover advanced section read only label"},multiSelect:{id:"multiSelect",defaultMessage:"Multi Select",description:"Form designer popover advanced section multi select label"},createdAt:{id:"createdAt",defaultMessage:"Created at",description:"Form designer popover advanced section created at label"},updatedAt:{id:"updatedAt",defaultMessage:"Updated at",description:"Form designer popover advanced section updated at label"},customDataErrorMessage:{id:"customDataErrorMessage",defaultMessage:"Must be a plain JSON-serializable object",description:"Form designer popover advanced section custom data error"},multiLine:{id:"multiLine",defaultMessage:"Multi Line",description:"Form designer popover multiline input label"}}),kS=function(e){let{intl:t,annotation:n,updateAnnotation:o,formField:r,updateFormField:i,locale:a,onCustomDataError:s}=e;const[l,u]=c.useState({value:JSON.stringify(n.customData),error:""}),d=c.useCallback((e=>o({creatorName:e.target.value})),[o]),p=c.useCallback((e=>o({note:e.target.value})),[o]),f=c.useCallback((e=>{let n="";try{JSON.parse(e.target.value),s(!1)}catch(e){n=t.formatMessage(CS.customDataErrorMessage),s(!0)}u({value:e.target.value,error:n})}),[t,s]),h=c.useCallback((()=>{if(!l.error)try{const e=JSON.parse(l.value);o({customData:e})}catch(e){}}),[o,l]),m=c.useCallback((e=>i({required:e})),[i]),g=c.useCallback((e=>i({readOnly:e})),[i]),v=c.useCallback((e=>i({multiSelect:e})),[i]),y=c.useCallback((e=>i({multiLine:e})),[i]);return c.createElement(hS.U,{title:t.formatMessage(CS.advanced)},c.createElement(Xh,{label:t.formatMessage(CS.creatorName),value:n.creatorName||"",onChange:d}),c.createElement(Xh,{label:t.formatMessage(CS.note),value:n.note||"",onChange:p}),c.createElement(Xh,{label:t.formatMessage(CS.customData),value:l.value,onChange:f,onBlur:h,errorMessage:l.error,className:gS().lastInputField}),c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.required)),c.createElement(DS.n,{value:!(null==r||!r.required),onUpdate:m,accessibilityLabel:t.formatMessage(CS.required)})),c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.readOnly)),c.createElement(DS.n,{value:!(null==r||!r.readOnly),onUpdate:g,accessibilityLabel:t.formatMessage(CS.readOnly)})),r instanceof w.Dz&&c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.multiSelect)),c.createElement(DS.n,{value:!(null==r||!r.multiSelect),onUpdate:v,accessibilityLabel:t.formatMessage(CS.multiSelect)})),r instanceof w.$o&&c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.multiLine)),c.createElement(DS.n,{value:!(null==r||!r.multiLine),onUpdate:y,accessibilityLabel:t.formatMessage(CS.multiLine)})),c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},"ID"),c.createElement("div",{className:gS().advancedItemValue},n.id)),c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.createdAt)),c.createElement("div",{className:gS().advancedItemValue},n.createdAt.toLocaleDateString(a))),c.createElement("div",{className:gS().advancedItem},c.createElement("div",{className:gS().advancedItemLabel},t.formatMessage(CS.updatedAt)),c.createElement("div",{className:gS().advancedItemValue},n.updatedAt.toLocaleDateString(a))))};var OS=n(79153),AS=n(71634),TS=n(47860),IS=n.n(TS),FS=function(){var e,t,n=(0,OS.f$)((function(e){return{currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem()}}));return n.isDragging&&null!==n.currentOffset?{display:!0,itemType:n.itemType,item:n.item,style:(e=n.currentOffset,t="translate(".concat(e.x,"px, ").concat(e.y,"px)"),{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t})}:{display:!1}};so().func,so().oneOfType([so().node,so().func]);function MS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _S(e){for(var t=1;t{let{id:t,index:o,moveCard:r,option:i,onDelete:a}=e;const s=(0,c.useRef)(null),l=(0,c.useRef)(null),[{handlerId:u},p]=(0,OS.LW)({accept:"CARD",collect:e=>({handlerId:e.getHandlerId()}),hover(e,t){var n;if(!l.current)return;const i=e.index,a=o;if(i===a)return;const s=null===(n=l.current)||void 0===n?void 0:n.getBoundingClientRect(),c=(s.bottom-s.top)/2,u=t.getClientOffset().y-s.top;ia&&u>c||(r(i,a),e.index=a)}}),{display:f,style:h}=FS(),[{isDragging:m,id:g},v]=(0,OS.c0)({type:"CARD",item:()=>({id:t,index:o}),collect:e=>{var t;return{isDragging:e.isDragging(),id:null===(t=e.getItem())||void 0===t?void 0:t.id}}}),y=m?.5:1;v(p(s));const b=e=>c.createElement("div",{style:e?_S(_S({},h),{width:332}):{opacity:y},className:d()(IS().option,{[IS().preview]:e}),ref:e?void 0:l},c.createElement("button",(0,ue.Z)({type:"button",className:IS().hamburger},e?void 0:{ref:s,"data-handler-id":u}),c.createElement(Re.Z,{src:n(50618),role:"presentation"})),c.createElement("div",{className:IS().optionContent},i.label),c.createElement("button",{className:d()(IS().button,IS().deleteButton),type:"button",onClick:()=>a(o)},c.createElement(Re.Z,{src:n(33374),className:d()(IS().icon,IS().deleteIcon),role:"presentation"})));return c.createElement(c.Fragment,null,b(!1),f&&g===t&&b(!0))};const RS=(0,Se.vU)({options:{id:"options",defaultMessage:"Options",description:"Options control label"},enterDescriptionHere:{id:"enterDescriptionHere",defaultMessage:"Enter description here",description:"New option input placeholder"},addOption:{id:"addOption",defaultMessage:"Add option",description:"New option button text"},emptyInput:{id:"emptyInput",defaultMessage:"Please fill in this field",description:"New option empty input label"}}),LS=(0,Se.XN)((function(e){let{intl:t,options:n,onChange:o,ownerDocument:r}=e;const{formatMessage:i}=t,[a,l]=c.useState(!0);return c.createElement(OS.WG,{backend:AS.TouchBackend,options:{enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:r}},c.createElement("form",{className:IS().wrapper,onSubmit:e=>{e.preventDefault();const t=e.target,{value:r}=t.newOption;r?(t.reset(),o(n.push(new w.mv({value:r,label:r})))):l(!1)}},c.createElement("div",{className:IS().title},i(RS.options)),c.createElement("div",null,n.map(((e,t)=>c.createElement(NS,{key:e.value,index:t,moveCard:(e,t)=>{const r=n.get(t);(0,s.kG)(r,"Item not found"),o(n.delete(t).insert(e,r))},option:e,id:e.value,onDelete:e=>o(n.delete(e))}))),c.createElement("div",{className:d()(IS().option,IS().addOptionInputWrapper,{[IS().addOptionInputWrapperInvalid]:!a})},c.createElement("input",{autoFocus:!0,className:d()(IS().optionContent,IS().addOptionInput),name:"newOption",type:"text",placeholder:i(RS.enterDescriptionHere),onBlur:()=>l(!0),onChange:e=>{!a&&e.target.value.trim()&&l(!0)}}))),!a&&c.createElement("div",{className:IS().invalidOptionInput},t.formatMessage(RS.emptyInput)),c.createElement("button",{className:d()(IS().button,IS().addOptionButton),type:"submit"},i(RS.addOption))))}));var BS,jS,zS,KS,ZS;function US(e,t){return t?ke.Z.dateField:e instanceof w.R0?ke.Z.button:e instanceof w.$o?ke.Z.textField:e instanceof w.XQ?ke.Z.radioField:e instanceof w.rF?ke.Z.checkboxField:e instanceof w.fB?ke.Z.comboBoxField:e instanceof w.Vi?ke.Z.listBoxField:ke.Z.signatureField}const VS=(0,Se.vU)({formDesignerPopoverTitle:{id:"formDesignerPopoverTitle",defaultMessage:"{formFieldType} properties",description:"Form designer popover title"},styleSectionLabel:{id:"styleSectionLabel",defaultMessage:"{formFieldType} style",description:"Form designer style section"},formFieldName:{id:"formFieldName",defaultMessage:"Form field name",description:"Form designer popover form field name input label"},format:{id:"format",defaultMessage:"Format",description:"Format"},buttonText:{id:"buttonText",defaultMessage:"Button Text",description:"Form designer popover button text input label"},defaultValue:{id:"defaultValue",defaultMessage:"Default Value",description:"Form designer popover default value input label"},multiline:{id:"multiline",defaultMessage:"Multiline",description:"Form designer popover multiline input label"},radioButtonFormFieldNameWarning:{id:"radioButtonFormFieldNameWarning",defaultMessage:"To group the radio buttons, make sure they have the same form field names.",description:"Form designer popover radio button form field name warning message"},formFieldNameExists:{id:"formFieldNameExists",defaultMessage:"A form field named {formFieldName} already exists. Please choose a different name.",description:"Change form field name if it already exists."},formFieldNameNotEmpty:{id:"formFieldNameNotEmpty",defaultMessage:"Form Field Name cannot be left empty.",description:"Form Field Name cannot be left empty."},label:{id:"label",defaultMessage:"Label",description:"Label"},value:{id:"value",defaultMessage:"Value",description:"Value"}}),GS=(0,Se.XN)((function(e){var t;let{referenceRect:o,viewportState:r,isHidden:a,intl:l,formFields:u,dispatch:p,annotation:f,frameWindow:h,eventEmitter:m,locale:g,isUnsavedAnnotation:v,setModalClosurePreventionError:y,modalClosurePreventionError:b,pageSize:S,customFontsReadableNames:P}=e;const E=(0,c.useMemo)((()=>{const e=u.get(f.formFieldName);return(0,s.kG)(e,"Form field not found"),e}),[f,u]),x=(0,c.useMemo)((()=>{if(E instanceof w.XQ||E instanceof w.rF)return E.annotationIds.findIndex((0,_.oF)(f))}),[E,f]),[D,C]=(0,c.useState)(E.name),[k,O]=(0,c.useState)(),[A,T]=c.useState(!1),I=c.useCallback((e=>{let t=f;if(!t)return;t=t.merge(e);const n={annotations:(0,i.aV)([t]),reason:Q.f.PROPERTY_CHANGE};m.emit("annotations.willChange",n),p((0,bt.FG)(t))}),[m,p,f]),F=c.useCallback((e=>{let t=E;t&&(t=t.merge(e),p((0,Qn.vK)(t)))}),[E,p]);(0,fn.useGranularEffect)((()=>{C(E.name),O(void 0)}),[f.id],[E.name]);const M=c.useCallback((e=>{const t=e.target.value;C(t),null!=t&&t.trim()?!u.has(t)||f.formFieldName===t||E instanceof w.XQ?(O(void 0),A||y(null)):(O(l.formatMessage(VS.formFieldNameExists,{formFieldName:t})),y({annotationId:f.id,error:dS.x.FORM_DESIGNER_ERROR})):(O(l.formatMessage(VS.formFieldNameNotEmpty)),y({annotationId:f.id,error:dS.x.FORM_DESIGNER_ERROR}))}),[l,f,E,u,y,A]),N=c.useCallback((e=>F({buttonLabel:e.target.value})),[F]),R=c.useCallback((e=>F({options:e})),[F]),L=(0,c.useCallback)((e=>{const t=e.target.value;(0,s.kG)(void 0!==x);const n=E.options.get(x),o=E.options.set(x,n.set("label",t));F({options:o})}),[F,E,x]),B=c.useCallback((e=>{T(e),e?y({annotationId:f.id,error:dS.x.FORM_DESIGNER_ERROR}):b&&!k&&y(null)}),[y,b,k,f]),j=(0,c.useCallback)((e=>{const t=e.target.value;(0,s.kG)(void 0!==x);const n=E.options.get(x),o=E.options.set(x,n.set("value",t));F({options:o})}),[F,E,x]),z=c.useMemo((()=>{return E instanceof w.R0?c.createElement(Xh,{label:l.formatMessage(VS.buttonText),value:(null==E?void 0:E.buttonLabel)||"",onChange:N,className:gS().lastInputField}):E instanceof w.XQ?((0,s.kG)(void 0!==x),c.createElement(c.Fragment,null,c.createElement("div",{className:gS().radioButtonWarning},c.createElement(Re.Z,{src:n(14896),role:"presentation",className:gS().radioButtonWarningIcon}),c.createElement("span",{className:gS().radioButtonWarningLabel},l.formatMessage(VS.radioButtonFormFieldNameWarning))),c.createElement(Xh,{label:l.formatMessage(VS.label),value:(null==E||null===(e=E.options.get(x))||void 0===e?void 0:e.label)||"",onChange:L,required:!0}),c.createElement(Xh,{label:l.formatMessage(VS.value),value:(null==E||null===(t=E.options.get(x))||void 0===t?void 0:t.value)||"",onChange:j,required:!0,className:gS().lastInputField}))):E instanceof w.rF?((0,s.kG)(void 0!==x),c.createElement(c.Fragment,null,c.createElement(Xh,{label:l.formatMessage(VS.label),value:(null==E||null===(o=E.options.get(x))||void 0===o?void 0:o.label)||"",onChange:L,required:!0}),c.createElement(Xh,{label:l.formatMessage(VS.value),value:(null==E||null===(r=E.options.get(x))||void 0===r?void 0:r.value)||"",onChange:j,required:!0,className:gS().lastInputField}))):E instanceof w.Vi||E instanceof w.fB?c.createElement(LS,{options:E.options,onChange:R,ownerDocument:h.document}):null;var e,t,o,r}),[h.document,E,l,N,R,L,j,x]),K=E instanceof w.$o&&!(null===(t=f.additionalActions)||void 0===t||!t.onFormat);return c.createElement(Yh.Z,{referenceRect:o,viewportState:r,isHidden:a||!E,className:"PSPDFKit-Form-Creator-Popover",wrapperClassName:"PSPDFKit-Form-Creator-Editor",title:l.formatMessage(VS.formDesignerPopoverTitle,{formFieldType:E?l.formatMessage(US(E,K)):""}),footer:c.createElement(c.Fragment,null,c.createElement(Yh.j,{className:d()(gS().footerButton,gS().deleteButton,"PSPDFKit-Form-Creator-Editor-Delete"),onClick:()=>{y(null),p((0,bt.d8)((0,i.l4)([f.id])))}},l.formatMessage(ke.Z.delete)),c.createElement(Yh.j,{className:d()(gS().footerButton,gS().doneButton,"PSPDFKit-Form-Creator-Editor-Done"),onClick:()=>{b||p((0,De.fz)())}},l.formatMessage(ke.Z.done)))},c.createElement(c.Fragment,null,c.createElement("div",{className:v?void 0:gS().formFieldNameReadOnly},c.createElement("div",null,c.createElement(Xh,{label:l.formatMessage(VS.formFieldName),value:D,onChange:M,onKeyDown:e=>e.stopPropagation(),required:!0,errorMessage:k,className:d()({[gS().lastInputField]:!z&&!K}),inputClassName:"PSPDFKit-Form-Creator-Editor-Form-Field-Name",onBlur:()=>{k||F({name:D})}})),z),K&&c.createElement("div",{className:d()(Hh().wrapper,gS().lastInputField)},c.createElement("label",{className:Hh().label,htmlFor:"dateTimeFormat"},"Format",c.createElement("div",{className:Hh().formatSelectWrapper,role:"button"},c.createElement("select",{className:Hh().dateSelect,name:"dateTimeFormat",id:"dateTimeFormat",onChange:e=>{const t=e.target.value;I({additionalActions:{onFormat:new w.bp({script:`AFDate_FormatEx("${t}")`})}})}},BS||(BS=c.createElement("option",{value:"yyyy-mm-dd"},"yyyy-mm-dd")),jS||(jS=c.createElement("option",{value:"mm/dd/yyyy"},"mm/dd/yyyy")),zS||(zS=c.createElement("option",{value:"dd/mm/yyyy"},"dd/mm/yyyy")),KS||(KS=c.createElement("option",{value:"m/d/yyyy HH:MM"},"m/d/yyyy HH:MM")),ZS||(ZS=c.createElement("option",{value:"d/m/yyyy HH:MM"},"d/m/yyyy HH:MM")))))),c.createElement(fS.ZP,{intl:l,annotation:f,label:l.formatMessage(VS.styleSectionLabel,{formFieldType:E?l.formatMessage(US(E,K)):""}),updateAnnotation:I,frameWindow:h,pageSize:S}),!(E instanceof w.Yo)&&!(E instanceof w.XQ)&&!(E instanceof w.rF)&&c.createElement(xS,{intl:l,annotation:f,updateAnnotation:I,frameWindow:h,formField:E,customFontsReadableNames:P}),c.createElement(kS,{intl:l,annotation:f,updateAnnotation:I,formField:E,updateFormField:F,locale:g,onCustomDataError:B})))}));var WS,qS,HS=n(31060),$S=n.n(HS);const XS=Ke.Ni?()=>{const e=(0,a.I0)();return c.createElement(q.QO,{wrapperClass:d()($S().mobileWrapper,"PSPDFKit-ContentEditor-Exit-Dialog"),formClass:$S().formWrapper,onDismiss:()=>{e((0,tf.Yg)(!1))}},qS||(qS=c.createElement(YS,null)))}:()=>{const{formatMessage:e}=(0,Se.YB)(),t=(0,a.I0)();return c.createElement(op.Z,{role:"alertdialog",background:"rgba(0,0,0,.1)",className:d()($S().modalRoot,"PSPDFKit-ContentEditor-Exit-Dialog"),accessibilityLabel:e(JS.contentEditorSavePromptAccessibilityLabel),accessibilityDescription:e(JS.contentEditorSavePromptAccessibilityDescription),restoreOnClose:!0,onEscape:()=>{t((0,tf.Yg)(!1))}},WS||(WS=c.createElement(YS,null)))},YS=()=>{const{formatMessage:e}=(0,Se.YB)(),t=(0,a.I0)();return c.createElement(c.Fragment,null,c.createElement(op.Z.Section,{className:d()($S().dropdownSection,$S().mainSection)},c.createElement(q.zx,{className:d()($S().closeButton,"PSPDFKit-ContentEditor-Exit-Dialog-Close-Button"),onClick:()=>{t((0,tf.Yg)(!1))},"aria-label":e(ke.Z.close)},c.createElement(Re.Z,{className:$S().closeIcon,src:n(15708)})),c.createElement("div",{className:d()($S().container,"PSPDFKit-ContentEditor-Exit-Dialog-Content")},c.createElement(Re.Z,{className:$S().warningIcon,src:n(73986)}),c.createElement("h2",{className:$S().heading},e(JS.contentEditorSavePromptHeading)),c.createElement("p",{className:$S().description},e(JS.contentEditorSavePromptMessage)))),c.createElement(op.Z.Section,{className:d()($S().buttonsGroupSection,$S().dropdownSection)},c.createElement(q.hE,{className:d()($S().buttonsGroup,"PSPDFKit-ContentEditor-Exit-Dialog-Buttons"),align:"end"},c.createElement(q.zx,{autoFocus:!0,onClick:()=>{t(tf.u8)},className:d()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Discard-Changes",$S().button)},"Don't Save"),c.createElement(q.zx,{onClick:()=>{t(tf.Ij)},primary:!0,className:d()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Save-Changes",$S().button)},"Save"))))},JS=(0,Se.vU)({contentEditorSavePromptHeading:{id:"contentEditorSavePromptHeading",defaultMessage:"Save changes before exiting?",description:'Heading displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptMessage:{id:"contentEditorSavePromptMessage",defaultMessage:"If you don’t save your changes to the document, your changes will be lost.",description:'Message displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptAccessibilityLabel:{id:"contentEditorSavePromptAccessibilityLabel",defaultMessage:"Confirm content editing exit dialog",description:'Accessibility description for the "Delete Annotation" confirm dialog'},contentEditorSavePromptAccessibilityDescription:{id:"contentEditorSavePromptAccessibilityDescription",defaultMessage:"A content editing session is about to be dismissed and data could be loss. This dialog serves as a confirmation to whether continue with this action or not.",description:'Accessibility description for the "Exit Content Editing Mode" confirm dialog'}});var QS=n(20500),eP=n(14149),tP=n.n(eP);const nP=function(e){const{referenceRect:t,viewportState:n,activeTextBlock:o,fontFace:r}=e,i=(0,a.I0)(),{formatMessage:s}=(0,Se.YB)(),l=(0,a.v9)((e=>{var t,n;return null!==(t=null===(n=e.contentEditorSession.fontMismatchTooltip)||void 0===n?void 0:n.dismissAbortController)&&void 0!==t?t:null}));return c.createElement(Rg.Z,{referenceRect:t.apply((0,H.cr)(n,o.pageIndex)).translate(n.scrollPosition.scale(n.zoomLevel)),viewportState:n,className:d()(tP().container,"PSPDFKit-Font-Mismatch-Notification-Container"),color:[new w.Il({r:255,g:199,b:143})],arrowSize:0,arrowClassName:tP().arrow},c.createElement("div",{className:d()(tP().wrapper,"PSPDFKit-Font-Mismatch-Notification"),onPointerOver:()=>{l&&l.abort()},onPointerLeave:()=>{const e=new AbortController;i((0,tf.Hv)(e)),i((0,tf.uy)(e.signal))}},c.createElement("span",{className:tP().tooltipFont},s(sf.fontMismatch,{arg0:r}))))},oP=c.memo((function(e){const t=(0,Se.YB)(),n=(0,a.I0)(),o=(0,a.v9)((e=>e.selectedGroupId)),{selectedAnnotationIds:r}=e;return c.createElement("div",{className:d()("PSPDFKit-Multi-Annotations-Selection-Toolbar",Eu().root,Eu().content,Eu().reverseRow)},c.createElement(gu.Z,{type:"delete",title:t.formatMessage(ke.Z.delete),className:Eu().button,onPress:()=>{n((0,bt.d8)(r))}}),o?null:c.createElement(gu.Z,{type:"group",title:t.formatMessage(ke.Z.group),className:Eu().button,onPress:()=>{n((0,Kt._R)(r))}}),o?c.createElement(gu.Z,{type:"ungroup",title:t.formatMessage(ke.Z.ungroup),className:Eu().button,onPress:()=>{n((0,Kt.UZ)(o))}}):null)}));const rP=oP,iP=e=>{const t=(0,a.I0)(),{formatMessage:n}=(0,Se.YB)(),{interactionMode:o,currentItemPreset:r,frameWindow:i,backend:s}=e;function l(e,n,i){t((0,De.fz)()),o===n&&i===r?(0,a.dC)((()=>{t((0,bt.Ds)(null)),t((0,Kt.Ce)())})):(0,a.dC)((()=>{t((0,bt.Ds)(i)),t((0,Kt.yg)(e,n))}))}return c.createElement("div",{className:d()("PSPDFKit-Measurement-Toolbar",Eu().root,Eu().content,Eu().measurementToolbar),onMouseUp:Lw,onTouchEnd:Lw,onPointerUp:Lw},k.Di.map((e=>c.createElement(Vd.Z,{key:e.interactionMode,type:e.icon,title:n(ke.Z[e.localeKey]),className:d()(Ud().formDesignerButton,{[Ud().formDesignerButtonActive]:o===e.interactionMode},e.className),onPress:()=>{l(e.class,e.interactionMode,e.preset)},selected:o===e.interactionMode}))),c.createElement("div",{className:Ud().spacer}),c.createElement("div",{className:Eu().right},c.createElement(Kd.ZP,{frameWindow:i}),c.createElement(Vd.Z,{key:"scale",type:"scale",title:n(fc.sY.measurementScale),className:d()(Eu().measurementToolbarButton)}),c.createElement(Vd.Z,{key:"calibrate",type:"calibrate",title:n(fc.sY.calibrate),className:d()(Ud().formDesignerButton,"PSPDFKit-Scale-Calibration"),onPress:()=>{const e=k.Di.find((e=>e.interactionMode===N.A.DISTANCE));e&&(t((0,Ut.Xh)(!0)),l(e.class,e.interactionMode,e.preset))}}),"STANDALONE"===(null==s?void 0:s.type)&&c.createElement("button",{className:d()(Eu().pointSnappingToggleButtonWrapper,"PSPDFKit-Measurement-Snapping-Toggle")},c.createElement("div",{className:d()(Eu().pointSnappingToggleButton)},c.createElement("label",{className:d()(Eu().checkbox)},c.createElement("input",{type:"checkbox",name:"toggle-point-snapping",checked:!e.disablePointSnapping,onChange:()=>{t((0,Kt.VF)(!e.disablePointSnapping))}}),c.createElement("span",{className:Eu().checkboxLabel},n(ke.Z.Snapping)))))))};var aP=n(90012),sP=n(80649),lP=n.n(sP);const cP=function(e){const{referenceRect:t,viewportState:n,isReadOnly:o,isLocked:r,hasLockedContents:i}=e,{formatMessage:a}=(0,Se.YB)(),s=[o?a(ke.Z.readOnlyAnnotationFlag):"",r?a(ke.Z.locked):"",i?a(ke.Z.lockedContents):""].filter((e=>""!==e)).join(", "),l=t.grow(10);return c.createElement(Rg.Z,{referenceRect:l,viewportState:n,className:"PSPDFKit-Annotation-Flags-Popover",arrowClassName:lP().arrow},c.createElement("span",{className:lP().tooltip,"aria-label":s},s))},uP=(e,t)=>{const n=[{type:"highlight"},{type:"strikeout"},{type:"underline"},{type:"squiggle"}];return e&&n.push({type:"comment"}),t&&n.push({type:"redact-text-highlighter"}),n};var dP,pP,fP,hP,mP;function gP(e){return rt.Options.DISABLE_KEYBOARD_SHORTCUTS||e.viewportState.scrollMode===Cs.G.DISABLED?e.children:c.createElement(tg,e)}class vP extends c.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{isResizingSidebar:!1,scrollElement:null,silenceOutdatedDocumentPromptForHandle:null,filteredItems:(0,Mu.I4)(this.props.state),isAnnotationTypeReadOnlyMemoized:(0,io.Z)(((e,t)=>(0,Kn.j$)(e,this.props.state,t))),crop:null,modalClosurePreventionError:null}),(0,o.Z)(this,"_memoizedMapPagesToPageKeys",(0,io.Z)((e=>e.map((e=>e.pageKey))))),(0,o.Z)(this,"handleScrollElementChange",(e=>{this.setState({scrollElement:e})})),(0,o.Z)(this,"getScrollElement",(()=>{const{scrollElement:e}=this.state;return(0,s.kG)(e),e})),(0,o.Z)(this,"setGlobalCursor",(e=>{this.getScrollElement().style.cursor=e})),(0,o.Z)(this,"getThumbnailScale",(()=>this.props.state.containerRect.width<=Be.Fg?.55:1)),(0,o.Z)(this,"isAnnotationReadOnly",(e=>(0,Kn.lV)(e,this.props.state)||!(0,xr.CM)(e,this.props.state))),(0,o.Z)(this,"isCommentReadOnly",(e=>(0,Kn.Ez)(e,this.props.state)||!(0,xr.kR)(e,this.props.state))),(0,o.Z)(this,"reloadDocument",(()=>{const e=this.props.state.documentHandle;this.props.dispatch((0,Fw.NV)((()=>this.closeReloadDocumentModal(e)),(e=>{throw e})))})),(0,o.Z)(this,"closeReloadDocumentModal",(e=>{this.setState({silenceOutdatedDocumentPromptForHandle:e})})),(0,o.Z)(this,"_canDeleteAnnotationCP",(e=>(0,xr.Kd)(e,this.props.state))),(0,o.Z)(this,"_canDeleteCommentCP",(e=>(0,xr.Ss)(e,this.props.state))),(0,o.Z)(this,"renderSidebar",((e,t)=>{const n=this.props.state,o=this.props.state.containerRect.width-e<=t,r=n.viewportState.scrollMode===Cs.G.DISABLED;if(e<=0)return null;switch(n.sidebarMode){case gc.f.THUMBNAILS:return c.createElement(_y,{scale:this.getThumbnailScale(),width:e,selectedPageIndex:n.viewportState.currentPageIndex,closeOnPress:o,navigationDisabled:r});case gc.f.DOCUMENT_OUTLINE:return c.createElement(Qm,{outlineElements:n.documentOutlineState.elements,expanded:n.documentOutlineState.expanded,closeOnPress:o,backend:n.backend,documentHandle:n.documentHandle,navigationDisabled:r});case gc.f.ANNOTATIONS:return c.createElement(Lc,{pages:n.pages,annotations:n.annotations,comments:n.comments,commentThreads:n.commentThreads,formFields:n.formFields,isAnnotationReadOnly:this.isAnnotationReadOnly,isCommentReadOnly:this.isCommentReadOnly,selectedAnnotationIds:n.selectedAnnotationIds,sidebarOptions:n.sidebarOptions.ANNOTATIONS,closeOnPress:o,navigationDisabled:r,canDeleteAnnotationCP:this._canDeleteAnnotationCP,canDeleteCommentCP:this._canDeleteCommentCP,focusedAnnotationIds:n.focusedAnnotationIds});case gc.f.BOOKMARKS:return c.createElement(Aw,{source:n.bookmarkManager},(t=>c.createElement(Ow,{bookmarks:t,bookmarkManager:n.bookmarkManager,currentPageIndex:n.viewportState.currentPageIndex,pages:n.pages,width:e,closeOnPress:o})));case gc.f.CUSTOM:return dP||(dP=c.createElement(Ew,null));default:return null}})),(0,o.Z)(this,"_viewportEl",null),(0,o.Z)(this,"_viewportRef",(e=>{"gecko"===Ke.SR&&(e?(this._viewportEl=e,this._viewportEl.addEventListener("copy",this._copyEventHandler)):this._viewportEl&&(this._viewportEl.removeEventListener("copy",this._copyEventHandler),this._viewportEl=null))})),(0,o.Z)(this,"_copyEventHandler",(e=>{var t;if(!this._viewportEl)return;if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;const n=(o=this._viewportEl,new Tv(null===(r=o.ownerDocument.defaultView)||void 0===r?void 0:r.getSelection(),o,Ms().selectableText)._getSelectedTextWithNL());var o,r;null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",n),e.preventDefault()})),(0,o.Z)(this,"renderViewport",(e=>{var t,n;const{selectedAnnotation:o,state:r,dispatch:i}=this.props,{viewportState:a}=r,s=o&&null!==o.pageIndex&&"function"==typeof r.annotationTooltipCallback&&!r.interactionsDisabled?r.annotationTooltipCallback(o):[];return c.createElement(Lv,{dispatch:this.props.dispatch,currentTextSelection:this.props.state.currentTextSelection,selectedAnnotationIds:this.props.state.selectedAnnotationIds,activeAnnotationNote:this.props.state.activeAnnotationNote,rootElement:null===(t=this.props.state.frameWindow)||void 0===t?void 0:t.document.documentElement,interactionMode:this.props.state.interactionMode,modalClosurePreventionError:this.state.modalClosurePreventionError},c.createElement("div",{style:{position:"relative",height:"100%"}},c.createElement(Hy,{viewportState:a,scrollbarOffset:r.scrollbarOffset},c.createElement(gP,{dispatch:i,viewportState:a,hasSelectedAnnotations:this.props.state.selectedAnnotationIds.size>0,document:null===(n=r.frameWindow)||void 0===n?void 0:n.document},c.createElement(ce.Provider,null,a.scrollMode===Cs.G.PER_SPREAD?c.createElement($g,{dispatch:i,viewportState:a,hasSelection:this.props.state.selectedAnnotationIds.size>0||null!==this.props.state.currentTextSelection,scrollElement:this.state.scrollElement,interactionsDisabled:r.interactionsDisabled},this.renderViewportContent(s,e)):this.renderViewportContent(s,e))),this._isFullscreen&&this.renderExpandendNoteAnnotations(s))))})),(0,o.Z)(this,"_handleDocumentEditorCancel",(()=>{this.props.dispatch((0,Kt.sJ)())})),(0,o.Z)(this,"_closeSignatureModal",(()=>{const e={annotations:(0,i.aV)(),reason:Q.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Kt.MV)())})),(0,o.Z)(this,"_createSignatureFromAnnotation",((e,t,n)=>{e instanceof de.Zc&&this.props.dispatch((0,bt.gX)({strokeColor:e.strokeColor}));const{signatureRect:o,signaturePageIndex:r}=this.props.state.signatureState,{attachments:i}=this.props.state;let a;if("imageAttachmentId"in e&&e.imageAttachmentId&&i.has(e.imageAttachmentId)){const t=i.get(e.imageAttachmentId);(0,s.kG)(t),a={hash:e.imageAttachmentId,attachment:t}}this.props.dispatch((0,Mw.Th)(e,{signatureRect:o,signaturePageIndex:r},a)),t&&this.props.dispatch((0,Mw.T6)(e,n)),this.props.dispatch((0,Kt.MV)())})),(0,o.Z)(this,"_createSignatureFromFile",(async(e,t,n)=>{const{signatureRect:o,signaturePageIndex:r}=this.props.state.signatureState;this.props.dispatch((0,Kt.MV)());const{hash:i,dimensions:a,attachment:s}=await(0,bt.Iv)(e);this.props.dispatch((0,Mw.l5)({hash:i,dimensions:a,attachment:s,file:e},t,n,{signatureRect:o,signaturePageIndex:r}))})),(0,o.Z)(this,"_createSignature",((e,t,n)=>{e instanceof de.q6?this._createSignatureFromAnnotation(e,t,n):this._createSignatureFromFile(e,t,n)})),(0,o.Z)(this,"_deleteStoredSignature",((e,t)=>{this.props.dispatch((0,Mw.Bm)(e,t))})),(0,o.Z)(this,"_closeStampModal",(()=>{const e={annotations:(0,i.aV)(),reason:Q.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Kt.pM)())})),(0,o.Z)(this,"_createAnnotationFromTemplate",(e=>{this.props.dispatch((0,Kt.pM)()),this.props.dispatch((0,bt.ip)(e))})),(0,o.Z)(this,"_getAttachments",(()=>this.props.state.attachments)),(0,o.Z)(this,"_fetchDigitalSignaturesInfo",(()=>{var e;null===(e=this.props.state.backend)||void 0===e||e.getSignaturesInfo().then((e=>{this.props.dispatch((0,Qy.Y)(e))})).catch(s.vU)})),(0,o.Z)(this,"_setA11yStatusMessage",(e=>{this.props.dispatch((0,Kt.iJ)("")),window.setTimeout((()=>{this.props.dispatch((0,Kt.iJ)(e))}),200)})),(0,o.Z)(this,"isDocumentComparisonAvailable",(()=>(0,Gw.RG)(this.props.state))),(0,o.Z)(this,"handleCrop",(e=>{(0,s.kG)(this.state.crop),this.props.dispatch((0,Fw.b_)([{type:"cropPages",cropBox:this.state.crop.area,pageIndexes:e?void 0:[this.state.crop.pageIndex]}],(()=>{}),(()=>{}))),this.props.dispatch((0,Kt.Cn)())})),(0,o.Z)(this,"setCropDetails",((e,t)=>{this.setState({crop:{area:e,pageIndex:t}})})),(0,o.Z)(this,"onCropCancel",(()=>{const{dispatch:e}=this.props;e((0,Kt.Cn)())})),(0,o.Z)(this,"getToolbarComponent",(()=>{const{selectedAnnotation:e,activeAnnotationNote:t,state:n,currentTextSelection:o}=this.props,{viewportState:r,selectedAnnotationIds:i}=n,a=n.toolbarPlacement===bc.p.TOP?"top":"bottom",s=n.selectedAnnotationIds.every((e=>{const t=n.annotations.get(e);return!!t&&("isMeasurement"in t&&t.isMeasurement())}));if(n.selectedAnnotationIds.size>1&&!s)return c.createElement(rP,{selectedAnnotationIds:i});if(e&&!(0,Ze.fF)(n.interactionMode)||t){const o=e?n.pages.get(e.pageIndex):null,a=o&&o.pageSize,s=e&&n.annotationPresetIds.get(e.id),l=!(!e||!(0,xr.CM)(e,n)),u=(0,Kn.aE)(this.props.state),d=!(!e||!(0,xr.Kd)(e,n)),p=i.map((e=>n.annotations.get(e)));return c.createElement(Hd,{dispatch:this.props.dispatch,annotation:e,selectedAnnotationPageSize:a,isAnnotationReadOnly:this.isAnnotationReadOnly,variantAnnotationPresetID:s,selectedAnnotationMode:this.props.state.selectedAnnotationMode,zoomLevel:r.zoomLevel,position:n.toolbarPlacement===bc.p.TOP?"top":"bottom",eventEmitter:n.eventEmitter,frameWindow:n.frameWindow,viewportWidth:n.containerRect.width,activeAnnotationNote:t,showAnnotationNotes:this.props.state.showAnnotationNotes,canEditAnnotationCP:l,canDeleteSelectedAnnotationCP:d,areOnlyElectronicSignaturesEnabled:u,lastToolbarActionUsedKeyboard:n.lastToolbarActionUsedKeyboard,interactionMode:n.interactionMode,keepSelectedTool:this.props.state.keepSelectedTool,annotationToolbarColorPresets:n.annotationToolbarColorPresets,annotationToolbarItems:n.annotationToolbarItems,richTextEditorRef:n.richTextEditorRef,customFontsReadableNames:n.customFontsReadableNames,isCalibratingScale:n.isCalibratingScale,selectedAnnotations:p})}var l,u;return n.interactionMode===N.A.INK_ERASER?c.createElement(Jd,{dispatch:this.props.dispatch,inkEraserCursorWidth:null!==(l=null===(u=n.annotationPresets.get("ink"))||void 0===u?void 0:u.inkEraserWidth)&&void 0!==l?l:rt.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH,position:a,viewportWidth:n.containerRect.width}):n.interactionMode===N.A.DOCUMENT_CROP?c.createElement(Rw,{onCropApply:this.handleCrop,onCropCancel:this.onCropCancel,position:a,isCropAreaSelected:!!this.state.crop,frameWindow:n.frameWindow}):(0,Ze.fF)(n.interactionMode)?c.createElement(pS,{position:a,interactionMode:n.interactionMode,dispatch:this.props.dispatch,frameWindow:n.frameWindow,modalClosurePreventionError:this.state.modalClosurePreventionError,selectedAnnotation:!!n.selectedAnnotationIds.size}):n.interactionMode===N.A.CONTENT_EDITOR?c.createElement(zw,{position:a,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow,creationMode:n.contentEditorSession.mode===ml.wR.Create}):n.interactionMode===N.A.MEASUREMENT?c.createElement(iP,{position:a,interactionMode:n.interactionMode,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow,disablePointSnapping:n.viewportState.disablePointSnapping,backend:n.backend}):c.createElement(Pg,{dispatch:this.props.dispatch,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,position:n.toolbarPlacement===bc.p.TOP?"top":"bottom",showComments:(0,ol.oK)(n),showRedactions:this.props.state.features.includes(ee.q.REDACTIONS),inlineTextSelectionToolbarItems:n.inlineTextSelectionToolbarItems,currentTextSelection:o})})),(0,o.Z)(this,"handleSidebarResize",(e=>{let{sidebarRect:t,isDragging:n,size:o}=e;const r=(0,cS.p)(this.props.state,t,o);this.props.dispatch((0,mc.dx)(r,!1)),this.setState({isResizingSidebar:n})})),(0,o.Z)(this,"handleResizeHelperResize",((e,t)=>{const n=this.props.state,o=e.width,r=n.containerRect.width===n.sidebarWidth,i=!r&&o-n.sidebarWidth<200;let a;n.sidebarMode&&!i?r?(a=e.set("width",o).set("left",0),this.props.dispatch((0,mc.Pt)(o))):a=e.set("width",o-n.sidebarWidth).set("left",n.sidebarPlacement===vc.d.START?n.sidebarWidth:0):(a=e,n.sidebarMode&&i&&this.props.dispatch((0,Kt.mu)())),this.props.dispatch((0,mc.dx)(a,t))}))}renderViewportContent(e,t){const{selectedAnnotation:n,state:o,dispatch:r,currentTextSelection:a}=this.props,{viewportState:s,interactionsDisabled:l,interactionMode:u,formFields:d,frameWindow:p,eventEmitter:f,locale:h,scrollElement:m,measurementToolState:g,contentEditorSession:{fontMismatchTooltip:v,textBlockInteractionState:y},selectedAnnotationIds:b}=o;let S=null;if(o.interactionMode!==N.A.TEXT_HIGHLIGHTER&&!o.interactionsDisabled&&a&&!t(de.On)&&o.inlineTextMarkupToolbar){const e=(0,ol.oK)(this.props.state),n=this.props.state.features.includes(ee.q.REDACTIONS);S=(this.props.state.inlineTextSelectionToolbarItems?this.props.state.inlineTextSelectionToolbarItems({defaultItems:uP(e,n),hasDesktopLayout:!1},a):uP(e,n)).length>0?c.createElement(Rg.Z,{referenceRect:(0,ji.U2)(o,a.textRange),viewportState:s,className:"PSPDFKit-Popover-Text-Markup-Toolbar"},c.createElement(Sg,{dispatch:r,isAnnotationTypeReadOnly:t,showComments:e,showRedactions:n,inlineTextSelectionToolbarItems:this.props.state.inlineTextSelectionToolbarItems,currentTextSelection:a})):null}let P=null;const E=o.annotations.filter((e=>e.readOnly||e.locked||e.lockedContents)),x=o.hoverAnnotationIds.find((e=>E.has(e))),D=o.focusedAnnotationIds.find((e=>E.has(e))),C=x?E.get(x):void 0,k=D?E.get(D):void 0;let O=(0,i.aV)();const A=!!C&&(C instanceof w.Qi||(C instanceof de.Jn||C instanceof de.FV)&&C.isCommentThreadRoot);let T,F;if(C&&!A&&(O=O.push(C)),k&&(O=O.push(k)),O.size>0&&O.map((e=>{const t=(0,_.SY)(e,s.pagesRotation).apply((0,H.cr)(s,e.pageIndex).translate(s.scrollPosition.scale(s.zoomLevel)));return P=c.createElement(cP,{referenceRect:t,viewportState:s,isReadOnly:e.readOnly,isLocked:e.locked,hasLockedContents:e.lockedContents})})),T=o.viewportState.documentComparisonMode&&o.backend?c.createElement(Ww.ZP,{renderPageCallback:o.renderPageCallback,backend:o.backend,allowedTileScales:o.allowedTileScales,viewportState:o.viewportState,interactionMode:o.interactionMode,scrollElement:o.scrollElement,dispatch:r,configuration:o.viewportState.documentComparisonMode,viewportWidth:o.containerRect.width,renderPagePreview:o.renderPagePreview}):s.scrollMode===Cs.G.PER_SPREAD||s.scrollMode===Cs.G.DISABLED?c.createElement(Vg,{onCropChange:this.setCropDetails,dispatch:r,spreadIndex:(0,ys.dF)(s,s.currentPageIndex),viewportState:s,interactionMode:o.interactionMode,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(o.pages),setGlobalCursor:this.setGlobalCursor}):c.createElement(Lf,{onCropChange:this.setCropDetails,dispatch:r,viewportState:s,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(o.pages),setGlobalCursor:this.setGlobalCursor}),g&&o.backend&&(0,I.hj)(g.drawnAnnotationPageIndex)){var M;const e={inViewport:!0,page:o.pages.get(g.drawnAnnotationPageIndex),backend:o.backend,shouldPrerender:!0,zoomLevel:s.zoomLevel,rotation:s.pagesRotation,renderPageCallback:o.renderPageCallback,allowedTileScales:"all",documentHandle:o.documentHandle,viewportRect:s.viewportRect,forceDetailView:!1,renderPagePreview:o.renderPagePreview,isPageSizeReal:!!o.arePageSizesLoaded,inContentEditorMode:!1};let t=g.magnifierCursorPosition;const n=(0,ys.Ad)(s),r=(0,ys.dF)(s,g.drawnAnnotationPageIndex),i=(0,ys.Xk)(s,r);let a=(n-i.width)/2*s.zoomLevel;o.sidebarMode&&(a+=o.sidebarWidth);let l=0;if((0,ys.nw)(s)===Rf.X.DOUBLE){const e=(0,ys.hK)(s,g.drawnAnnotationPageIndex);if(i.height!==e.height&&(l=(i.height-e.height)/2*s.zoomLevel),g.drawnAnnotationPageIndex%2!=0){a+=(0,ys.hK)(s,g.drawnAnnotationPageIndex-1).width*s.zoomLevel}}t=null===(M=g.magnifierCursorPosition)||void 0===M?void 0:M.merge({x:g.magnifierCursorPosition.x-a,y:g.magnifierCursorPosition.y-l}),F=c.createElement(QS.B,{pageRendererComponentProps:e,viewportState:s,scrollElement:m,currentMainToolbarHeight:As.k3,className:"PSPDFKit-Measurement-Magnifier",label:g.magnifierLabel,pageIndex:g.drawnAnnotationPageIndex,cursorPosition:t,isMobile:o.containerRect.width<=Be.Fg})}const R=n?o.pages.get(n.pageIndex):null,L=R&&R.pageSize;return c.createElement(bv,{dispatch:r,viewportState:s,scrollbarOffset:o.scrollbarOffset,onScrollElementChange:this.handleScrollElementChange,scrollDisabled:o.scrollDisabled},c.createElement(Ug,{enabled:o.interactionMode===N.A.PAN&&!Ke.Ni&&!o.interactionsDisabled&&!!o.scrollElement},c.createElement("div",{className:aS().viewportContent,ref:this._viewportRef,"data-testid":"viewport"},T,(0,ol.Y7)(o)&&s.commentMode&&c.createElement(xm,{maxMentionSuggestions:o.maxMentionSuggestions,mentionableUsers:o.mentionableUsers,annotations:this.props.state.annotations,viewportState:s,selectedAnnotation:this.props.selectedAnnotation,comments:this.props.state.comments,commentThreads:this.props.state.commentThreads,dispatch:r,keepSelectedTool:this.props.state.keepSelectedTool,frameWindow:this.props.state.frameWindow,anonymousComments:this.props.state.anonymousComments})),S,P,n&&!(n instanceof w.Qi)&&e.length>0&&!this.props.noteAnnotationToModify&&c.createElement(Rg.Z,{referenceRect:(0,bi.q)((0,_.Wj)(n,s.pagesRotation,s.viewportRect.getSize()).apply((0,H.cr)(s,n.pageIndex).translate(s.scrollPosition.scale(s.zoomLevel))),s.viewportRect.getSize()),viewportState:s,className:"PSPDFKit-Popover-Annotation-Tooltip"},c.createElement(Gy,{items:e})),n&&null!==n.pageIndex&&n instanceof w.UX&&n.isMeasurement()&&o.isCalibratingScale&&c.createElement(fc.ZP,{annotation:n,isHidden:l,referenceRect:(0,bi.q)((0,_.Wj)(n,s.pagesRotation,s.viewportRect.getSize()).apply((0,H.cr)(s,n.pageIndex).translate(s.scrollPosition.scale(s.zoomLevel))),s.viewportRect.getSize()),viewportState:s,eventEmitter:f,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),frameWindow:p,locale:h}),n&&1===b.size&&(0,Ze.fF)(u)&&n instanceof w.x_&&c.createElement(GS,{modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),annotation:n,isHidden:l,referenceRect:(0,bi.q)((0,_.Wj)(n,s.pagesRotation,s.viewportRect.getSize()).apply((0,H.cr)(s,n.pageIndex).translate(s.scrollPosition.scale(s.zoomLevel))),s.viewportRect.getSize()),viewportState:s,formFields:d,dispatch:r,frameWindow:p,eventEmitter:f,locale:h,isUnsavedAnnotation:n.id===this.props.state.formDesignerUnsavedWidgetAnnotation,pageSize:L,customFontsReadableNames:this.props.state.customFontsReadableNames||(0,i.l4)()}),this.renderLinkAnnotationPopover(),F,this.renderAnimatedExpandendNoteAnnotations(e),null!=v&&v.fontFace&&(null==y?void 0:y.state)===ml.FP.Active&&null!=v&&v.rect?c.createElement(nP,{referenceRect:v.rect,fontFace:v.fontFace,viewportState:s,activeTextBlock:y}):null))}getSnapshotBeforeUpdate(e){const t=e.selectedNoteAnnotations&&this.props.selectedNoteAnnotations&&0!==e.selectedNoteAnnotations.size&&e.selectedNoteAnnotations.size===this.props.selectedNoteAnnotations.size;return this._animateNoteAnnotation=!window["PSPDFKit-disable-animations"]&&!t,null}renderAnimatedExpandendNoteAnnotations(e){const t=this._isFullscreen?null:this.renderExpandendNoteAnnotations(e);return this._animateNoteAnnotation&&null!==t?c.createElement(pc.Z,null,t.map((e=>c.createElement(dc.Z,{key:`NoteAnnotationPopopver-${e.props.noteAnnotation.id}`,timeout:{enter:window["PSPDFKit-disable-animations"]?0:100,exit:window["PSPDFKit-disable-animations"]?0:150},classNames:{enter:lS().fadeEnter,enterActive:lS().fadeEnterActive,exit:lS().fadeExit,exitActive:lS().fadeExitActive}},e)))):c.createElement("div",null,t)}renderExpandendNoteAnnotations(e){var t,n,o,r;if(!this.props.state.showAnnotations||this.props.state.interactionsDisabled&&!this._isFullscreen||this.props.state.selectedAnnotationIds.size>1)return(0,i.l4)();const a=[];if(this.props.activeAnnotationNote&&(0,_.YV)(null===(t=this.props.activeAnnotationNote)||void 0===t?void 0:t.parentAnnotation)){const e=this.props.activeAnnotationNote;a.push(c.createElement(Lg,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:e,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}if(this.props.hoverAnnotationNote&&(0,_.YV)(null===(n=this.props.hoverAnnotationNote)||void 0===n?void 0:n.parentAnnotation)&&(!this.props.activeAnnotationNote||(null===(o=this.props.hoverAnnotationNote)||void 0===o||null===(o=o.parentAnnotation)||void 0===o?void 0:o.id)!==(null===(r=this.props.activeAnnotationNote)||void 0===r||null===(r=r.parentAnnotation)||void 0===r?void 0:r.id))){const e=this.props.hoverAnnotationNote;a.push(c.createElement(Lg,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:null,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!0,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}return this.props.selectedNoteAnnotations&&0!==this.props.selectedNoteAnnotations.size?this.props.selectedNoteAnnotations.filter((e=>null!==e.pageIndex)).map((t=>{const n=!!this.props.selectedAnnotation&&t.id===this.props.selectedAnnotation.id;return c.createElement(Lg,{key:`NoteAnnotationPopopver-${t.id}`,noteAnnotation:t,noteAnnotationToModify:this.props.noteAnnotationToModify,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!n,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,tools:n?e:[],collapseSelectedNoteContent:this.props.state.collapseSelectedNoteContent,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool})})).concat(a):(0,i.l4)(a)}renderLinkAnnotationPopover(){const{selectedAnnotation:e,state:t,dispatch:n,hoveredLinkAnnotation:o}=this.props,{viewportState:r,frameWindow:i,locale:a,pages:s,linkAnnotationMode:l,viewportState:{currentPageIndex:u}}=t,d=e&&e instanceof de.R1&&!l,p=!(null==o||!o.action||d),f=e?(null==e?void 0:e.pageIndex)===u:(null==o?void 0:o.pageIndex)===u;if(!p&&!d)return null;if(!f)return o&&this.props.dispatch((0,De.IP)(o.id)),null;const h=p?o:e;return c.createElement(im,{annotation:h,viewportState:r,dispatch:n,frameWindow:i,locale:a,pages:s,isHover:p})}componentDidUpdate(e){this.props.state.interactionMode!==N.A.DOCUMENT_CROP&&e.state.interactionMode===N.A.DOCUMENT_CROP&&this.setState({crop:null}),(0,Ze.fF)(e.state.interactionMode)&&!(0,Ze.fF)(this.props.state.interactionMode)&&this.props.dispatch((0,Kt.LE)(!1)),this.props.state.interactionMode!==N.A.INK_SIGNATURE&&this.props.state.interactionMode!==N.A.SIGNATURE||this.props.state.signatureState.storedSignatures||this.props.dispatch((0,Mw.de)());!(this.props.state.features.includes(ee.q.DIGITAL_SIGNATURES)&&!this.props.state.digitalSignatures&&this.props.state.connectionState.name===rs.F.CONNECTED)&&(e.state.documentHandle===this.props.state.documentHandle&&this.props.state.digitalSignatures||this.props.state.connectionState.name!==rs.F.CONNECTED)||this._fetchDigitalSignaturesInfo(),e.state.features.equals(this.props.state.features)&&e.state.backend===this.props.state.backend&&e.state.backendPermissions.equals(this.props.state.backendPermissions)&&e.state.documentPermissions.equals(this.props.state.documentPermissions)&&e.state.readOnlyEnabled===this.props.state.readOnlyEnabled&&e.state.editableAnnotationTypes.equals(this.props.state.editableAnnotationTypes)&&e.state.toolbarItems.equals(this.props.state.toolbarItems)&&e.state.showComments===this.props.state.showComments||this.setState({isAnnotationTypeReadOnlyMemoized:(0,io.Z)((e=>(0,Kn.j$)(e,this.props.state))),filteredItems:(0,Mu.I4)(this.props.state)}),this.props.selectedAnnotation&&this.props.dispatch((0,De.IP)(this.props.selectedAnnotation.id))}render(){const{selectedAnnotation:e,activeAnnotationNote:t,state:n}=this.props,{viewportState:o,isDocumentHandleOutdated:r}=n;this._isFullscreen=o.viewportRect.width<=Be.j1;const i=n.containerRect.width<=Be.Fg?n.containerRect.width:200,a=e instanceof w.Qi&&this.isAnnotationReadOnly(e)&&!this._isFullscreen,s=n.currentItemPreset&&n.annotationPresets.get(n.currentItemPreset)||{},{SIGNATURE_SAVE_MODE:l,DISABLE_KEYBOARD_SHORTCUTS:u}=rt.Options,p=n.sidebarMode&&c.createElement(zv,{initialSize:n.sidebarWidth,minWidth:i,maxWidth:n.containerRect.width,draggerSize:n.containerRect.width<=Be.Fg?0:6,onResize:this.handleSidebarResize,isRTL:n.sidebarPlacement===vc.d.END,dispatch:this.props.dispatch},this.renderSidebar),f=(e||t)&&!a||!n.interactionsDisabled&&(n.currentTextSelection||n.interactionMode===N.A.TEXT_HIGHLIGHTER)&&!n.inlineTextMarkupToolbar||n.interactionMode===N.A.INK_ERASER||n.interactionMode===N.A.DOCUMENT_CROP||n.interactionMode===N.A.CONTENT_EDITOR||n.interactionMode===N.A.MEASUREMENT||(0,Ze.fF)(n.interactionMode),h=!(!e||!(0,xr.Kd)(e,n)),m=o.documentComparisonMode&&c.createElement(eS,{position:n.toolbarPlacement===bc.p.TOP?"top":"bottom"}),g=!m&&n.enableAnnotationToolbar&&!(e&&this.props.state.commentThreads.has(e.id))&&c.createElement(pc.Z,null,f?c.createElement(dc.Z,{timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:n.toolbarPlacement===bc.p.TOP?{enter:lS().slideDownEnter,enterActive:lS().slideDownEnterActive,exit:lS().slideDownExit,exitActive:lS().slideDownExitActive}:{enter:lS().slideUpEnter,enterActive:lS().slideUpEnterActive,exit:lS().slideUpExit,exitActive:lS().slideUpExitActive}},this.getToolbarComponent()):null),v=n.digitalSignatures&&n.showSignatureValidationStatus!==eb.W.NEVER?c.createElement(dc.Z,{in:!!f,timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:n.toolbarPlacement===bc.p.TOP?{enter:lS().moveDownSignatureBarEnter,enterActive:lS().moveDownSignatureBarEnterActive,exit:lS().moveDownExit,exitActive:lS().moveDownSignatureBarExitActive}:{enter:lS().moveUpSignatureBarEnter,enterActive:lS().moveUpSignatureBarEnterActive,exit:lS().moveUpSignatureBarExit,exitActive:lS().moveUpSignatureBarExitActive}},c.createElement(Ky,{digitalSignatures:n.digitalSignatures,showSignatureValidationStatus:n.showSignatureValidationStatus})):null,y=n.signatureFeatureAvailability,b=(0,Kn.bp)(n),S=c.createElement(c.Fragment,null,n.showToolbar&&c.createElement(As.ZP,{sidebarMode:n.sidebarMode,currentPageIndex:o.currentPageIndex,debugMode:n.debugMode,dispatch:this.props.dispatch,eventEmitter:this.props.state.eventEmitter,frameWindow:n.frameWindow,interactionMode:n.interactionMode,items:this.state.filteredItems,layoutMode:o.layoutMode,maxZoomReached:o.zoomLevel>=(0,ws.Sm)(o),minZoomReached:o.zoomLevel<=(0,ws.Yo)(o),printingEnabled:(0,Kn.VT)(n),exportEnabled:(0,Kn.RZ)(n),isDocumentReadOnly:b,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,isDocumentComparisonAvailable:this.isDocumentComparisonAvailable(),signatureFeatureAvailability:y,scrollMode:o.scrollMode,pages:n.pages,totalPages:n.totalPages,zoomMode:o.zoomMode,currentItemPreset:n.currentItemPreset,toolbarPlacement:n.toolbarPlacement,documentEditorEnabled:(0,Kn.Xr)(n),canUndo:n.isHistoryEnabled&&n.undoActions.size>0,canRedo:n.isHistoryEnabled&&n.redoActions.size>0,currentDocumentComparisonMode:o.documentComparisonMode,isContentEditorSessionDirty:n.contentEditorSession.dirty,isMultiSelectionEnabled:n.isMultiSelectionEnabled}),c.createElement(Ly,{position:n.toolbarPlacement===bc.p.TOP?"top":"bottom"},n.toolbarPlacement===bc.p.TOP?c.createElement(c.Fragment,null,m||g,v):c.createElement(c.Fragment,null,v,m||g)));return c.createElement(hc.Provider,{value:this.getScrollElement},c.createElement("div",{className:`PSPDFKit-Container PSPDFKit-browser-engine-${Ke.SR} PSPDFKit-browser-system-${Ke.By} ${Ke.Ni?"PSPDFKit-mobile-os":""} PSPDFKit-${(0,ys.s)(n.containerRect)} ${aS().root} ${n.interactionsDisabled?"interactions-disabled":""} ${null!=n.backend?"PSPDFKit-backend-"+("STANDALONE"===n.backend.type?"standalone":"server"):""} ${n.disablePullToRefresh?"overscrollDisabled":""}`},n.isDebugConsoleVisible&&c.createElement(Lm,{dispatch:this.props.dispatch}),(n.interactionMode===N.A.STAMP_PICKER||n.interactionMode===N.A.STAMP_CUSTOM)&&c.createElement(my,{onEscape:this._closeStampModal,showPicker:n.interactionMode===N.A.STAMP_PICKER},c.createElement(Ay,{onCreate:this._createAnnotationFromTemplate,backend:n.backend,onCancel:this._closeStampModal,stampAnnotationTemplates:n.stampAnnotationTemplates,dispatch:this.props.dispatch,showPicker:n.interactionMode===N.A.STAMP_PICKER,attachments:n.attachments,viewportWidth:n.containerRect.width})),(n.interactionMode===N.A.INK_SIGNATURE||n.interactionMode===N.A.SIGNATURE)&&n.signatureState.storedSignatures&&y===$o.H.LEGACY_SIGNATURES&&c.createElement(Vv,{onEscape:this._closeSignatureModal},c.createElement(dy,{onCancel:this._closeSignatureModal,onCreate:this._createSignatureFromAnnotation,onDelete:this._deleteStoredSignature,storedSignatures:n.signatureState.storedSignatures,preset:s,canStoreSignature:(null==n.signatureState.formFieldName||!n.signatureState.formFieldsNotSavingSignatures.includes(n.signatureState.formFieldName))&&l!==yc.f.NEVER,backend:n.backend,attachments:n.attachments,viewportWidth:n.containerRect.width})),(n.interactionMode===N.A.INK_SIGNATURE||n.interactionMode===N.A.SIGNATURE)&&n.signatureState.storedSignatures&&y===$o.H.ELECTRONIC_SIGNATURES&&c.createElement(ob,{onEscape:this._closeSignatureModal},c.createElement(cw,{preset:s,colorPresets:this.props.state.electronicSignatureColorPresets,frameWindow:n.frameWindow,onCreate:this._createSignature,onDelete:this._deleteStoredSignature,onCancel:this._closeSignatureModal,storedSignatures:n.signatureState.storedSignatures,hasSignaturesCreationListener:Object.keys(n.eventEmitter.listeners).includes("storedSignatures.create")||Object.keys(n.eventEmitter.listeners).includes("inkSignatures.create"),hasSignaturesDeletionListener:Object.keys(n.eventEmitter.listeners).includes("storedSignatures.delete")||Object.keys(n.eventEmitter.listeners).includes("inkSignatures.delete"),backend:n.backend,attachments:n.attachments,viewportWidth:n.containerRect.width,creationModes:n.electronicSignatureCreationModes,signingFonts:n.signingFonts,dispatch:this.props.dispatch})),n.interactionMode===N.A.MEASUREMENT_SETTINGS&&c.createElement(aP.Z,{frameWindow:n.frameWindow}),n.interactionMode===N.A.DOCUMENT_EDITOR&&c.createElement(Pw,{onCancel:this._handleDocumentEditorCancel,scale:this.getThumbnailScale()}),n.isPrinting&&c.createElement(tv,{progress:n.printLoadingIndicatorProgress,totalPages:n.totalPages}),n.isSigning&&(pP||(pP=c.createElement(av,null))),n.isApplyingRedactions&&(fP||(fP=c.createElement(dv,null))),c.createElement(mp,{connectionState:n.connectionState,resolvePassword:n.resolvePassword,isUnlockedViaModal:n.isUnlockedViaModal},n.toolbarPlacement===bc.p.TOP&&S,n.interactionMode===N.A.SEARCH&&(hP||(hP=c.createElement(Av,null))),c.createElement("div",{className:aS().main},!p&&c.createElement(_d.Z,{onResize:this.handleResizeHelperResize}),n.sidebarPlacement===vc.d.START&&p,c.createElement("div",{className:d()(aS().mainContent,this.state.isResizingSidebar&&aS().mainContentResizing)},this.renderViewport(this.state.isAnnotationTypeReadOnlyMemoized)),n.sidebarPlacement===vc.d.END&&p,p&&c.createElement(_d.Z,{onResize:this.handleResizeHelperResize})),n.toolbarPlacement===bc.p.BOTTOM&&S,n.annotationsIdsToDelete&&c.createElement(jm,{dispatch:this.props.dispatch,annotations:n.annotationsIdsToDelete.map((e=>n.annotations.get(e))).filter(Boolean),eventEmitter:n.eventEmitter,setA11yStatusMessage:this._setA11yStatusMessage}),n.showExitContentEditorDialog&&(mP||(mP=c.createElement(XS,null))),!u&&c.createElement(dg,{dispatch:this.props.dispatch,printingEnabled:(0,Kn.VT)(n),isPrinting:n.isPrinting,isTextCopyingAllowed:(0,Kn.HI)(n),selectedAnnotationsIds:this.props.editableSelectedAnnotationIds,commentThreads:this.props.state.commentThreads,getScrollElement:this.getScrollElement,canDeleteSelectedAnnotationCP:h,canUndo:n.isHistoryEnabled&&n.undoActions.size>0,canRedo:n.isHistoryEnabled&&n.redoActions.size>0,selectedAnnotation:this.props.selectedAnnotation,currentPageIndex:o.currentPageIndex,eventEmitter:n.eventEmitter,backend:n.backend,formFields:n.formFields,areClipboardActionsEnabled:n.areClipboardActionsEnabled,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>{this.setState({modalClosurePreventionError:e})},annotations:n.annotations,selectedGroupId:n.selectedGroupId,annotationsGroups:n.annotationsGroups,frameWindow:n.frameWindow,isMultiSelectionEnabled:n.isMultiSelectionEnabled,contentEditorSession:n.contentEditorSession,interactionMode:n.interactionMode}),r&&this.state.silenceOutdatedDocumentPromptForHandle!==n.documentHandle&&c.createElement(Yy,{onConfirm:this.reloadDocument,onCancel:()=>this.closeReloadDocumentModal(n.documentHandle)})),c.createElement(Km,{locale:n.locale}),c.createElement(yP,{message:n.a11yStatusMessage})))}}const yP=c.memo((e=>c.createElement(q.TX,{announce:"polite",role:"status",tag:"div"},c.createElement("div",null,e.message)))),bP=(0,a.$j)((e=>{const{annotations:t,hoverAnnotationIds:n,hoverAnnotationNote:o,activeAnnotationNote:r,selectedAnnotationIds:i}=e,a=i.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof w.Qi)),s=n.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof w.R1)).first(),l=a.first(),c=l&&e.selectedAnnotationMode===R.o.EDITING?l:null,u=e.selectedAnnotationIds.size>0?e.annotations.get(e.selectedAnnotationIds.first()):null;return{state:e,selectedNoteAnnotations:a,noteAnnotationToModify:c,selectedAnnotation:u,activeAnnotationNote:r,hoverAnnotationNote:o,editableSelectedAnnotationIds:i.filter((t=>{const n=e.annotations.get(t);return n&&!(0,Kn.lV)(n,e)})),currentTextSelection:e.currentTextSelection,hoveredLinkAnnotation:s}}))(vP);var wP=n(64125),SP=n(84760),PP=n(92457),EP=n(84674),xP=n(31835),DP=n(75189),CP=n(57742);const kP=(0,a.$j)((function(e){return{locale:e.locale,messages:CP.ZP[e.locale]}}))(Se.Pj),OP=["Annotation","CommentAvatar"];var AP,TP=n(79329),IP=n(68138),FP=n(13394),MP=n(24382),_P=n(53678),NP=n(151),RP=n(98158),LP=n(64845),BP=n(55909),jP=n(60619),zP=(n(37940),n(37024),n(11863)),KP=n(5038),ZP=n(63632),UP=n(28028);function VP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function GP(e){for(var t=1;t\nbody, html, .${Be.re} {\n margin: 0;\n padding: 0;\n overflow: hidden;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n}\n`,YP=["baseUrl","baseCoreUrl","licenseKey","disableWebAssemblyStreaming","enableAutomaticLinkExtraction","overrideMemoryLimit","customFonts","isSharePoint","isSalesforce","productId","processorEngine"];let JP,QP=null,eE=null,tE=null;function nE(){return JP}function oE(e){JP=e}function rE(e){n.p=e}function iE(e){var t;return e.baseUrl?e.baseUrl:"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(t=e.authPayload)||void 0===t?void 0:t.accessToken)?"https://cdn.cloud.pspdfkit.com/pspdfkit-web@2023.5.2/":(0,Vl.SV)(window.document)}function aE(e){return e.baseCoreUrl?e.baseCoreUrl:iE(e)}async function sE(e){if((0,s.kG)((null==e.document||"string"==typeof e.document||e.document instanceof ArrayBuffer)&&null==e.documentId,"Preloading is only supported for Standalone mode using WASM"),QP instanceof Promise)try{return void await QP}catch(t){if(eE&&0===(0,s.$O)(e,eE).length)throw t;eE=null}eE=e,"string"==typeof e.baseUrl&&(0,_P.Pn)(e.baseUrl);rE(iE(e));const t=e.appName||e.electronAppName||(0,g.UK)()||window.location.origin,o=aE(e);e.processorEngine&&(JP=mE({baseUrl:o,mainThreadOrigin:t,licenseKey:e.licenseKey,processorEngine:e.processorEngine,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions})),QP=async function(e){const t=iE(e),o=aE(e),r=GP(GP({},e),{},{baseUrl:t,baseCoreUrl:o});rE(t),tE||(tE=await Promise.all([n.e(1620),n.e(3610)]).then(n.bind(n,49136)));const{corePool:i,validateStandaloneConfiguration:a,normalizeCoreOptions:s,loadModule:l}=tE;a(r);const c=s(r),{object:u,checkIn:d}=i.checkOut();await l(u,c),d()}(e),await Promise.all([QP,JP])}async function lE(e){Ke.fq&&new s.p2("Starting 2022.5.0, we no longer support Internet Explorer 11."),Ke.rO&&new s.p2("Starting 2023.2.0, we no longer support Microsoft Edge 18."),"disableWebAssembly"in e&&e.disableWebAssembly&&(0,s.a1)("The 'disableWebAssembly' option is deprecated. It will be removed in a future release as we are removing support for ASM.js.");const t={current:!0};let o=null;if(!0!==e.headless){o=dE(e),(0,s.kG)(!WP.current.has(o),"Configuration#container is already used to mount a PSPDFKit for Web instance. \n\nEither use PSPDFKit.unload(container) before loading again or use a different container.");const n=o;WP.current=WP.current.set(o,(function(){t.current=!1,WP.current=WP.current.delete(n)}))}try{var u,h,E,x,D;if(QP instanceof Promise)try{await QP}catch(t){if(eE&&0===(0,s.$O)(e,eE).length)throw t;eE=null}else QP=Promise.resolve();let o;const A=iE(e);if(rE(A),!t.current)return HP;if("document"in e&&e.document){var C;if(!e.processorEngine&&null!==(C=eE)&&void 0!==C&&C.processorEngine&&(e.processorEngine=Hl.l.fasterProcessing),null!=eE){const t=(0,s.$O)(eE,e,{keys:YP});(0,s.kG)(0===t.length,"The configuration object passed to PSPDFKit is different from the one given previously\n"+(0,s.GB)(t))}eE=e;{var O;tE||(tE=await Promise.all([n.e(1620),n.e(3610)]).then(n.bind(n,49136)));const t=null===(O=tE)||void 0===O?void 0:O.default;o=new t(GP(GP({},e),{},{baseCoreUrl:aE(e)}))}e.autoSaveMode||(e.autoSaveMode=S.u.IMMEDIATE),(e.appName&&(0,g.d)()||e.electronAppName)&&(e.electronAppName&&((0,s.ZK)("The `Configuration.electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,s.kG)((0,g.d)(),"`electronAppName` should only be set when using Electron.")),(0,UP.t0)(e.appName||e.electronAppName,e.productId))}if("documentId"in e&&e.documentId||"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(u=e.authPayload)||void 0===u?void 0:u.accessToken)){const t=(await Promise.all([n.e(1620),n.e(6377)]).then(n.bind(n,16288))).default;o=new t(e),e.autoSaveMode||(e.autoSaveMode=e.instant?S.u.IMMEDIATE:S.u.INTELLIGENT)}if(!t.current)return o&&o.destroy(),HP;if(!o)throw new s.p2("Backend could not be inferred. Please add one of the following properties to the configuration:\n - `document` to load document and render the document client-side.\n - `documentId` to connect to PSPDFKit Server and render the document server-side.\n");if(e.autoSaveMode&&e.autoSaveMode!==S.u.INTELLIGENT&&e.autoSaveMode!==S.u.IMMEDIATE&&e.autoSaveMode!==S.u.DISABLED)throw new s.p2("The supplied autoSaveMode is not valid.\nValid `autoSaveMode`s are: PSPDFKit.AutoSaveMode.INTELLIGENT, PSPDFKit.AutoSaveMode.IMMEDIATE or PSPDFKit.AutoSaveMode.DISABLED");if(e.printOptions||(e.printOptions={}),e.printOptions&&e.printOptions.mode&&!Object.prototype.hasOwnProperty.call($l.X,e.printOptions.mode))throw new s.p2("The supplied mode in printOptions is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");if(e.printOptions&&e.printOptions.quality&&!Object.prototype.hasOwnProperty.call(Xl.g,e.printOptions.quality))throw new s.p2("The supplied quality in printOptions is not valid.\nValid `printOptions.quality`s are: PSPDFKit.PrintQuality.LOW, PSPDFKit.PrintQuality.MEDIUM, PSPDFKit.PrintQuality.HIGH");if(e.printMode&&(0,s.ZK)("Configuration.printMode has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),e.printMode&&!e.printOptions.mode){if(!Object.prototype.hasOwnProperty.call($l.X,e.printMode))throw new s.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");e.printOptions.mode=e.printMode}"disableHighQualityPrinting"in e&&((0,s.ZK)("Configuration.disableHighQualityPrinting has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),cE(e,"disableHighQualityPrinting"),e.disableHighQualityPrinting&&"boolean"==typeof e.disableHighQualityPrinting&&!e.printOptions.quality&&("STANDALONE"!==o.type||"ios"!==Ke.By&&"android"!==Ke.By?e.printOptions.quality=e.disableHighQualityPrinting?Xl.g.MEDIUM:Xl.g.HIGH:e.printOptions.quality=Xl.g.MEDIUM));let T,I=null;if(e.electronicSignatures){if(e.electronicSignatures.creationModes){if(!Array.isArray(e.electronicSignatures.creationModes)||!e.electronicSignatures.creationModes.length)throw new s.p2("PSPDFKit.Configuration.electronicSignatures#creationModes must be a non-empty array if specified.");if(e.electronicSignatures.creationModes.some((e=>!Object.keys(Yb.M).includes(e))))throw new s.p2("PSPDFKit.Configuration.electronicSignatures#creationModes only accepts PSPDFKit.ElectronicSignatureCreationMode values.")}if(e.electronicSignatures.fonts){if(!Array.isArray(e.electronicSignatures.fonts)||!e.electronicSignatures.fonts.length)throw new s.p2("PSPDFKit.Configuration.electronicSignatures#fonts must be a non-empty array if specified.");if(e.electronicSignatures.fonts.some((e=>!(e instanceof uc.Z))))throw new s.p2("PSPDFKit.Configuration.electronicSignatures#fonts only accepts PSPDFKit.Font values.")}if(e.electronicSignatures.forceLegacySignaturesFeature&&"boolean"!=typeof e.electronicSignatures.forceLegacySignaturesFeature)throw new s.p2("PSPDFKit.Configuration.electronicSignatures#forceLegacySignaturesFeature only accepts boolean values.");if(void 0!==e.electronicSignatures.setDefaultTypeText)if("function"==typeof e.electronicSignatures.setDefaultTypeText)I=e.electronicSignatures.setDefaultTypeText;else{if("string"!=typeof e.electronicSignatures.setDefaultTypeText)throw new s.p2("PSPDFKit.Configuration.electronicSignatures#setDefaultTypeText must be a function or a string if provided.");{const t=e.electronicSignatures.setDefaultTypeText;I=()=>t}}}cE(e,"disableForms"),uE(e,"annotationTooltipCallback"),cE(e,"disableTextSelection"),cE(e,"preventTextCopy"),uE(e,"renderPageCallback"),function(e,t){if(e[t]){if(!Array.isArray(e[t]))throw new s.p2(`${t} must be an array of annotation types.`);if(!e[t].every((e=>e&&e.prototype&&(e.prototype instanceof cc.Z||e==cc.Z))))throw new s.p2(`${t} must be an array of annotation types.`)}}(e,"editableAnnotationTypes"),uE(e,"isEditableAnnotation"),uE(e,"isEditableComment"),uE(e,"dateTimeString"),uE(e,"annotationToolbarColorPresets"),uE(e,"annotationToolbarItems"),uE(e,"onWidgetAnnotationCreationStart"),uE(e,"inlineTextSelectionToolbarItems"),uE(e,"onCommentCreationStart"),uE(e,"measurementValueConfiguration"),"mentionableUsers"in e&&((0,s.kG)(Array.isArray(e.mentionableUsers),"mentionableUsers must be an array"),e.mentionableUsers.forEach(zP.vQ)),(0,s.um)(`PSPDFKit for ${(0,g.d)()?"Electron":"Web"} 2023.5.2 (https://pspdfkit.com/web)`);try{T=(0,Gl.z5)(e.locale||navigator.language)}catch(e){T="en"}if(e.populateInkSignatures&&"function"!=typeof e.populateInkSignatures)throw new s.p2("populateInkSignatures must be a function.");if(e.populateStoredSignatures&&"function"!=typeof e.populateStoredSignatures)throw new s.p2("populateStoredSignatures must be a function.");if(null!=e.maxPasswordRetries&&"number"!=typeof e.maxPasswordRetries)throw new s.p2("maxPasswordRetries must be a number.");if(e.formFieldsNotSavingSignatures&&(!Array.isArray(e.formFieldsNotSavingSignatures)||e.formFieldsNotSavingSignatures.some((e=>"string"!=typeof e))))throw new s.p2("formFieldsNotSavingSignatures must be an array of strings.");let F,M,_,R=new y.Z;e.disableOpenParameters||(R=(0,lc.s)(R)),e.initialViewState&&(R=e.initialViewState,R=(0,sc.F3)(R,null)),e.customRenderers&&(F=function(e){for(const t in e)e.hasOwnProperty(t)&&((0,s.kG)(OP.includes(t),`'${t}' is not a custom renderable entity. Custom renderable entities are: ${OP.join(", ")}`),(0,s.kG)("function"==typeof e[t],`'${t}' custom renderer must be a function.`));return e}(e.customRenderers)),e.customUI&&(M=(0,TP.a)(e.customUI)),(0,s.kG)("number"==typeof rt.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH&&rt.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH>=0,"PSPDFKit.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH must be set to a positive number."),(0,s.kG)(!e.isAPStreamRendered||"function"==typeof e.isAPStreamRendered,"When provided, `configuration.isAPStreamRendered` must be a function."),(0,s.kG)(!e.enableRichText||"function"==typeof e.enableRichText,"When provided, `configuration.enableRichText` must be a function."),(0,s.kG)("boolean"==typeof e.enableHistory||void 0===e.enableHistory,"When provided, `configuration.enableHistory` must be a boolean value."),(0,s.kG)("boolean"==typeof e.enableClipboardActions||void 0===e.enableClipboardActions,"When provided, `configuration.enableClipboardOperations` must be a boolean value."),e.unstable_inkEraserMode&&((0,s.kG)(Object.keys(da.b).includes(e.unstable_inkEraserMode),"`unstable_inkEraserMode` must be one of: `PSPDFKit.unstable_InkEraserMode.POINT` or `PSPDFKit.unstable_InkEraserMode.STROKE`"),_=e.unstable_inkEraserMode),(0,s.kG)("boolean"==typeof e.measurementSnapping||void 0===e.measurementSnapping,"When provided, `configuration.measurementSnapping` must be a boolean value."),(0,s.kG)("string"==typeof e.measurementPrecision||void 0===e.measurementPrecision,"When provided, `configuration.measurementPrecision` must be a string."),(0,s.kG)(e.measurementScale instanceof Ja.Z||void 0===e.measurementScale,"When provided, `configuration.measurementScale` must be an instance of `MeasurementScale`."),(0,s.kG)("boolean"==typeof e.anonymousComments||void 0===e.anonymousComments||!0===e.anonymousComments&&"STANDALONE"!==o.type,"When provided, `configuration.anonymousComments` must be used only with PSPDFKit Server and be a boolean value."),(0,s.kG)("boolean"==typeof e.disableMultiSelection||void 0===e.disableMultiSelection,"When provided, `configuration.disableMultiSelection` must be a boolean value."),(0,s.kG)("number"==typeof e.autoCloseThreshold||void 0===e.autoCloseThreshold,"When provided, `configuration.autoCloseThreshold` must be a number.");const L=GP(GP({backend:o,autoSaveMode:e.autoSaveMode,printMode:null===(h=e.printOptions)||void 0===h?void 0:h.mode,printQuality:null===(E=e.printOptions)||void 0===E?void 0:E.quality,showComments:!!R.showComments,showAnnotationNotes:!!R.showAnnotationNotes,printingEnabled:R.allowPrinting,exportEnabled:R.allowExport,readOnlyEnabled:R.readOnly?te.J.VIA_VIEW_STATE:te.J.NO,formsEnabled:!e.disableForms,formDesignMode:!e.disableForms&&R.formDesignMode,showAnnotations:R.showAnnotations,eventEmitter:new xP.Z,locale:T,clientPermissions:new w.uh({extract:!e.disableTextSelection,preventTextCopy:!!e.preventTextCopy,printHighQuality:(null===(x=e.printOptions)||void 0===x?void 0:x.quality)===Xl.g.HIGH}),signatureState:new w.dp({populateStoredSignatures:e.populateStoredSignatures||e.populateInkSignatures,formFieldsNotSavingSignatures:(0,i.l4)(e.formFieldsNotSavingSignatures||[])}),renderPageCallback:e.renderPageCallback,annotationTooltipCallback:e.annotationTooltipCallback?t=>{var n;const o=null===(n=e.annotationTooltipCallback)||void 0===n?void 0:n.call(e,t);return null==o||o.forEach((e=>{(0,oc.G)(e)})),o}:null,sidebarMode:R.sidebarMode,sidebarOptions:R.sidebarOptions,sidebarPlacement:R.sidebarPlacement,isEditableAnnotation:e.isEditableAnnotation,isEditableComment:e.isEditableComment,customRenderers:F},M?{customUIStore:new p.Z(M)}:null),{},{toolbarPlacement:e.toolbarPlacement,showSignatureValidationStatus:R.showSignatureValidationStatus||eb.W.NEVER,previewRedactionMode:R.previewRedactionMode,keepSelectedTool:R.keepSelectedTool,isAPStreamRendered:e.isAPStreamRendered,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,electronicSignatureCreationModes:(0,i.hU)(e.electronicSignatures&&e.electronicSignatures.creationModes||NP.Z),signingFonts:(0,i.hU)(e.electronicSignatures&&e.electronicSignatures.fonts||SP.Z),isHistoryEnabled:!!e.enableHistory,areClipboardActionsEnabled:!!e.enableClipboardActions,onOpenURI:e.onOpenURI,onAnnotationResizeStart:e.onAnnotationResizeStart,canScrollWhileDrawing:R.canScrollWhileDrawing,dateTimeString:e.dateTimeString,annotationToolbarColorPresets:e.annotationToolbarColorPresets,annotationToolbarItems:e.annotationToolbarItems,onWidgetAnnotationCreationStart:e.onWidgetAnnotationCreationStart,inkEraserMode:_,firstCurrentPageIndex:R.currentPageIndex,arePageSizesLoaded:"STANDALONE"!==o.type||!1,inlineTextSelectionToolbarItems:e.inlineTextSelectionToolbarItems,measurementSnapping:e.measurementSnapping,measurementPrecision:e.measurementPrecision,measurementScale:e.measurementScale,measurementValueConfiguration:e.measurementValueConfiguration,anonymousComments:e.anonymousComments,enableRichText:e.enableRichText,maxMentionSuggestions:"maxMentionSuggestions"in e&&e.maxMentionSuggestions||void 0,mentionableUsers:"mentionableUsers"in e&&e.mentionableUsers||[],isMultiSelectionEnabled:!e.disableMultiSelection,defaultAutoCloseThreshold:e.autoCloseThreshold,onCommentCreationStart:e.onCommentCreationStart,electronicSignatureDefaultTextCallback:I});let j,z,K=Promise.resolve();if(!0===e.headless)j=jl(GP(GP({},L),{},{frameWindow:window}));else if([j,K,z]=await async function(e,t,n,o,u){var p;const h=dE(o);if(h.childNodes.length>0)throw new s.p2('`Configuration#container` is expected to be an empty element but instead it contains child nodes.\nTo fix this, please make sure that the container is empty (e.g. by using an empty div `
`');if(o.styleSheets&&!(o.styleSheets instanceof Array))throw new s.p2("styleSheets must either be an Array of strings");let g=[];const v=window.getComputedStyle(h).getPropertyValue("width"),y=window.getComputedStyle(h).getPropertyValue("height");if(!v||v&&"0px"===v)throw new s.p2("The mounting container has no width.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(!y||y&&"0px"===y)throw new s.p2("The mounting container has no height.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(o.theme){if("string"!=typeof o.theme||!IP.Q[o.theme])throw new s.p2("Invalid theme. Configuration#theme must be a valid PSPDFKit.Theme");(o.theme===IP.Q.DARK||o.theme===IP.Q.AUTO&&window.matchMedia("(prefers-color-scheme: dark)").matches)&&g.push(`${t}pspdfkit-lib/dark-${m()}.css`)}o.styleSheets&&(g=g.concat(o.styleSheets));let S=Be.cY;null!=o.minDefaultZoomLevel&&((0,s.kG)("number"==typeof o.minDefaultZoomLevel&&o.minDefaultZoomLevel>0,"minDefaultZoomLevel must be a number greater than 0"),S=o.minDefaultZoomLevel);let E=Be.QS;null!=o.maxDefaultZoomLevel&&((0,s.kG)("number"==typeof o.maxDefaultZoomLevel&&o.maxDefaultZoomLevel>0,"maxDefaultZoomLevel must be a number greater than 0"),E=o.maxDefaultZoomLevel);(0,s.kG)(E>=S,`maxDefaultZoomLevel (${E}) must be greater than or equal to minDefaultZoomLevel (${S}). If you didn't set one of those values, then the default value was used.`);const x=b.UL.fromClientRect(h.getBoundingClientRect()).setLocation(new b.E9),D=new w.Vk({currentPageIndex:u.currentPageIndex,disablePointSnapping:u.disablePointSnapping,zoomLevel:"number"==typeof u.zoom?u.zoom:1,zoomMode:"number"==typeof u.zoom?Ss.c.CUSTOM:u.zoom,pagesRotation:(0,vr.n5)(u.pagesRotation),layoutMode:u.layoutMode,scrollMode:u.scrollMode,pageSpacing:u.pageSpacing,spreadSpacing:u.spreadSpacing,keepFirstSpreadAsSinglePage:u.keepFirstSpreadAsSinglePage,viewportPadding:new b.E9({x:u.viewportPadding.horizontal,y:u.viewportPadding.vertical}),minDefaultZoomLevel:S,maxDefaultZoomLevel:E});let C=PP.ZP.toJS();o.toolbarItems&&(C=o.toolbarItems,C=C.map((e=>"ink-signature"===e.type?((0,s.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),GP(GP({},e),{},{type:"signature"})):e)).filter((e=>{var t;return"content-editor"!==e.type||"SERVER"!==(null===(t=n.backend)||void 0===t?void 0:t.type)||((0,s.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1)})),C.forEach(nc.G));let k=EP.Z.toJS();o.documentEditorFooterItems&&(k=o.documentEditorFooterItems,k.forEach(rc.G));let O=RP.Z.toJS();o.documentEditorToolbarItems&&(O=o.documentEditorToolbarItems,O.forEach(ic.G));let A=X.ZP.toObject();A.ink.inkEraserWidth=rt.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH,o.annotationPresets&&(A=o.annotationPresets,Object.values(A).forEach(tc.G));let T=wP.ZP;o.stampAnnotationTemplates&&Array.isArray(o.stampAnnotationTemplates)&&(T=o.stampAnnotationTemplates,T.forEach(ac.wB));"mentionableUsers"in o&&((0,s.kG)(Array.isArray(o.mentionableUsers),"mentionableUsers must be an array"),o.mentionableUsers.forEach(zP.vQ));"maxMentionSuggestions"in o&&(0,s.kG)("number"==typeof o.maxMentionSuggestions&&o.maxMentionSuggestions>0,"maxMentionSuggestions must be a number greater than 0");Object.isFrozen(rt.Options)||(rt.W!==rt.Options.COLOR_PRESETS&&(0,f.XV)("Options.COLOR_PRESETS","PSPDFKit#Customisation.AnnotationToolbarColorPresets",!0),(0,rt.n)(rt.Options),Object.freeze(rt.Options));const I=function(){const e=document.createElement("div");return e.className="PSPDFKit-Container",e.style.width="100%",e.style.height="100%",e}();let F,M;if(h.appendChild(I),pE(h,(function(){const{parentNode:e}=I;e&&e.removeChild(I)})),[F,M]=await async function(e,t,n,o){let r,i;const a=new Promise((function(e,t){r=e,i=t}));let s;if(o){let e;try{e=await(0,P.jK)([t+$P].concat(n).map((e=>{const n=n=>{const o=n instanceof Error;return{filename:e,css:o?null:n,isCustom:e!==t+$P}};return fetch(e,{credentials:"same-origin"}).then((e=>{if(200!==e.status)throw Error(`${e.status} ${e.statusText}`);return e.text()})).then(n).catch(n)})))}catch(t){e=t}e=e.filter((e=>null!==e.css)),s=XP+e.map((e=>{let{css:t,isCustom:n,filename:o}=e;return`${t}`})).join("")}else s=`\n${n.map((e=>``)).join("\n")}\n${XP}\n`;return new Promise((t=>{const n=document.createElement("iframe");n.setAttribute("allowfullscreen","true"),n.setAttribute("title","PSPDFKit"),n.style.width="100%",n.style.height="100%",n.style.border="0",n.style.display="block",e.appendChild(n);const o=n.contentDocument;if(o){o.open(),o.write(`PSPDFKit
`),o.close(),o.addEventListener("touchstart",(()=>{document.body&&(document.body.style.overscrollBehavior="none")})),o.addEventListener("touchcancel",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")})),o.addEventListener("touchend",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")}));const e=o.createRange().createContextualFragment(s);o.head.appendChild(e),fE(r,i,o),t([o,a])}}))}(I,t,g,o.enableServiceWorkerSupport||!1),!e.current)return HP;Wl(F);const _=(0,ql.bl)(F);"function"==typeof _&&pE(h,(function(){_()}));const N=(null===(p=o.electronicSignatures)||void 0===p?void 0:p.unstable_colorPresets)||LP.Z;if(0===N.length)throw new s.p2("PSPDFKit.Configuration.electronicSignatures#unstable_colorPresets should have at least one preset.");let R=null;if("customFonts"in o&&o.customFonts){const e=n.backend.getCustomFontsPromise();e.current||(e.current=(0,ed.x6)(o.customFonts)),R=await e.current}const L=jl(GP(GP({},n),{},{rootElement:h,containerRect:x,showToolbar:u.showToolbar,disablePointSnapping:u.disablePointSnapping,enableAnnotationToolbar:u.enableAnnotationToolbar,toolbarItems:(0,i.d0)(C),electronicSignatureColorPresets:N,annotationPresets:(0,i.D5)(A),stampAnnotationTemplates:Object.freeze(T),currentItemPreset:null,viewportState:D,interactionMode:null,documentEditorFooterItems:(0,i.d0)(k),documentEditorToolbarItems:(0,i.d0)(O),frameWindow:F.defaultView,sidebarWidth:x.width<=Be.Fg?x.width:rt.Options.INITIAL_DESKTOP_SIDEBAR_WIDTH,renderPagePreview:"boolean"!=typeof o.renderPagePreview||o.renderPagePreview}));if(await(0,Gl.sS)(L.getState().locale),!e.current)return HP;L.dispatch((0,Yl.t2)(new ec(L.getState,L.dispatch))),L.dispatch((0,Kt.z5)((0,H.YV)(L.getState)));const B=F.querySelector(`.${Be.re}`);return(0,s.kG)(B,"Internal PSPDFKit Error: Mount Target could not be found in contentDocument. Please contact support@pspdfkit.com"),(0,l.render)(c.createElement(a.zt,{store:L},c.createElement(kP,{onError:e=>(e.code,e)},c.createElement("div",{className:d()(Dp().withLayers,(!("CSS"in window)||!window.CSS.supports("isolation: isolate"))&&Dp().withLayersFallback)},c.createElement(r.P,null,AP||(AP=c.createElement(bP,null)))))),B),pE(h,(function(){(0,l.unmountComponentAtNode)(B)})),[L,M,R]}(t,A,L,e,R),!t.current)return HP;const Z=j.getState(),{eventEmitter:U,rootElement:V}=Z;V&&pE(V,(function(){o&&o.destroy()})),w.UX.prototype.getMeasurementDetails=function(){return Z.features.includes(ee.q.MEASUREMENT_TOOLS)||new s.p2(jP.oD),(0,k.t9)(this)};const G=new DP.Z({store:j,backend:o,eventEmitter:U});if(await Ul({dispatch:j.dispatch,backend:o,getState:j.getState,password:e.password,maxPasswordRetries:!0===e.headless?0:"number"==typeof e.maxPasswordRetries?e.maxPasswordRetries:Number.POSITIVE_INFINITY,stylesheetPromise:K,formFieldValuesJSON:"STANDALONE"===o.type?"instantJSON"in e&&e.instantJSON&&e.instantJSON.formFieldValues:null,customFonts:z}),!t.current)return o&&o.destroy(),HP;let W=function(){G._destroy(),!0===e.headless&&o&&o.destroy(),qP.current=qP.current.delete(G)};V&&(W=pE(V,W)),qP.current=qP.current.set(G,W);const{features:q,formDesignMode:$,previewRedactionMode:J,documentPermissions:Q,frameWindow:ne}=j.getState();if(e.fontSubstitutions&&((0,s.kG)(v(e.fontSubstitutions),"Invalid fontSubstitutions"),o.setFontSubstitutions(e.fontSubstitutions)),Q.fillForms||Q.annotationsAndForms||rt.Options.IGNORE_DOCUMENT_PERMISSIONS?j.dispatch((0,Kt.we)(e.editableAnnotationTypes?(0,i.l4)(e.editableAnnotationTypes):(0,i.l4)(Y.Z),e.isEditableAnnotation)):j.dispatch((0,Kt.ZV)((0,i.l4)([]))),q.includes(ee.q.ELECTRONIC_SIGNATURES)&&function(e,t){const n=e.document.createRange(),o=ed.eE.map((e=>`@font-face {\n font-family: '${e.name}';\n font-style: normal;\n font-weight: ${e.weight};\n font-display: swap;\n src: url(${t}pspdfkit-lib/${e.file}.woff2) format('woff2'),\n url(${t}pspdfkit-lib/${e.file}.woff) format('woff');\n }`)).join("\n"),r=n.createContextualFragment(``);e.document.head.appendChild(r)}(ne,A),$&&!(0,Kn.ix)(j.getState()))throw j.dispatch((0,Kt.LE)(!1)),Q.annotationsAndForms||Q.fillForms?new s.p2("Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the license includes the Form Designer component and on standalone mode or with PSPDFKit Instant."):new s.p2('Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the current document has either the "Editing Annotations and Forms" or the "Filling Forms" permissions granted. you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit. Please make also sure the license includes the Form Designer component and a backend that supports it.');if(J&&!q.includes(ee.q.REDACTIONS))throw j.dispatch((0,Kt.P_)(!1)),new s.p2("`configuration.viewState.previewRedactionMode = true` can only be enabled if the license includes the Redactions component.");if(e.initialViewState&&e.initialViewState.interactionMode===N.A.DOCUMENT_EDITOR&&!q.includes(ee.q.DOCUMENT_EDITING))throw j.dispatch((0,Kt.sJ)()),new s.p2(FP.I);if(e.initialViewState&&e.initialViewState.interactionMode===N.A.CONTENT_EDITOR&&!q.includes(ee.q.CONTENT_EDITING))throw j.dispatch({type:B.Qm9}),new s.p2(Il.Aq);if((0,Ze.fF)(null===(D=e.initialViewState)||void 0===D?void 0:D.interactionMode)&&!q.includes(ee.q.FORM_DESIGNER))throw j.dispatch((0,Kt.XX)()),new s.p2(BP.RB);if(e.initialViewState&&e.initialViewState.showSignatureValidationStatus!==eb.W.NEVER&&!q.includes(ee.q.DIGITAL_SIGNATURES))throw new s.p2(MP.C);if((e.documentEditorFooterItems||e.documentEditorToolbarItems)&&!q.includes(ee.q.DOCUMENT_EDITING))throw new s.p2(FP.I);if(!0!==e.headless&&!q.includes(ee.q.UI))throw j.dispatch((0,zl.sr)("Your license does not cover the configured functionality.")),new s.p2("The web UI feature is not enabled for your license key. Please contact support or sales to purchase the UI module for PSPDFKit for Web.");if(!0!==e.headless&&R.interactionMode){const e=(0,sc.eV)(R.interactionMode,Z);j.dispatch(e.onEnterAction())}return j.dispatch((0,Kt._$)(G)),G}catch(e){const{type:t,request:n}=e;throw"error"===t&&n&&/\/pspdfkit-lib\//.test(n)&&e("Failed to load pspdfkit-lib.\nMake sure you are serving all PSPDFKit library files as described in https://pspdfkit.com/guides/web/current/standalone/adding-to-your-project/#copy-the-pspdfkit-for-web-assets."),e}}function cE(e,t){if(e[t]&&"boolean"!=typeof e[t])throw new s.p2(`The type for ${t} is not valid. Must be \`true\` or \`false\`.`)}function uE(e,t){if(e[t]&&"function"!=typeof e[t])throw new s.p2(`The type for ${t} is not valid. Must be \`function\`.`)}function dE(e){const t="string"==typeof e.container?document.querySelector(e.container):e.container;if(!(t instanceof HTMLElement))throw new s.p2("`Configuration#container` must either be a valid element or a CSS selector");return t}function pE(e,t){const n=WP.current.get(e);function o(){t(),null==n||n()}return(0,s.kG)(n),WP.current=WP.current.set(e,o),o}function fE(e,t,n){const o=Array.prototype.slice.call(n.querySelectorAll('link[rel="stylesheet"]')).filter((e=>!e.dataset.loaded)).map((function(e){let t,n;e.dataset.loaded="true";const o=new Promise((function(e,o){t=e,n=o}));return e.onload=function(){t()},e.onerror=function(){const o=e.href+" could not be loaded. Make sure that the file is accessible from your webserver.";e.dataset.pspdfkit?n(new s.p2(o)):((0,s.vU)(o),t())},o}));Promise.all(o).then(e,t)}async function hE(e,t){const{licenseKey:n,electronAppName:o,productId:r,appName:i}=e;vE(e);const a=iE(e);(0,s.kG)(r!==KP.x.Salesforce,"Document conversion is not currently supported in Salesforce."),t&&(0,s.kG)(t&&Object.values(ZP.w).includes(t),"The supplied PDF/A Conformance type is not valid. Valid Conformance should be one of the following options PSPDFKit.Conformance."+Object.keys(ZP.w).join(", PSPDFKit.Conformance."));const l=await(0,Zl.D4)(a,e.document,r),c=i||o||(0,g.UK)()||window.location.origin,u=aE(e);JP||(JP=mE({baseUrl:u,mainThreadOrigin:c,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,licenseKey:n,processorEngine:e.processorEngine}));const d=await JP;return(0,s.kG)(d),await d.toPdf(l,t)}async function mE(e){let{baseUrl:t,mainThreadOrigin:o,customFonts:r,dynamicFonts:i,fontSubstitutions:a,licenseKey:s,processorEngine:l}=e;const c=await n.e(9859).then(n.bind(n,49859));try{const e=Ke.vU?c.GdPictureClientNative:c.GdPictureWorker,n=!l||l===Hl.l.fasterProcessing;return new e(GP(GP(GP({baseUrl:t,aot:n,mainThreadOrigin:o,licenseKey:s,workerSpawner:await c.getBrowserSpawner()},r?{customFonts:await(0,ed.x6)(r)}:null),i?{dynamicFonts:i}:null),a?{fontSubstitutions:v(a)?a:null}:null))}catch(e){throw e}}async function gE(e,t){const{licenseKey:n,electronAppName:o,productId:r,appName:i}=e;vE(e),(0,s.kG)(r!==KP.x.Salesforce,"Document template populate is not currently supported in Salesforce.");const a=iE(e),l=await(0,Zl.D4)(a,e.document,r),c=i||o||(0,g.UK)()||window.location.origin,u=aE(e);let d;try{return JP||(JP=mE({baseUrl:u,mainThreadOrigin:c,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,licenseKey:n,processorEngine:e.processorEngine})),d=await JP,(0,s.kG)(d),await d.populateDocumentTemplate(l,t,e.licenseKey)}catch(e){throw e}finally{var p;null===(p=d)||void 0===p||p.destroy(),oE(null)}}function vE(e){const{licenseKey:t,electronAppName:n,productId:o,appName:r}=e;"string"==typeof e.baseUrl&&(0,_P.Pn)(e.baseUrl);rE(iE(e)),(0,s.kG)(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,s.kG)(!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."),(r&&(0,g.d)()||n)&&((0,s.kG)(n,"The `electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,UP.t0)(r||n,o))}},13393:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const o=(0,n(80857).Z)("AnnotationPreset"),r=e=>{o("object"==typeof e,"`annotationPreset` is not an `object`")}},63564:(e,t,n)=>{"use strict";n.d(t,{gb:()=>y,qH:()=>g});var o=n(84121),r=n(17375),i=n(47347),a=n(35369),s=n(15973),l=n(72584),c=n(30679),u=n(80857),d=n(18146);const p=["icon"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({readOnly:!1,downloadingAllowed:!0})){}},1053:(e,t,n)=>{"use strict";n.d(t,{G:()=>d,Z:()=>u});var o=n(84121),r=n(35369),i=n(80857),a=n(86920),s=n(44048);const l=(0,i.Z)("Bookmark"),c={id:null,pdfBookmarkId:null,name:null,sortKey:null,action:null};class u extends(r.WV(c)){}(0,o.Z)(u,"toSerializableObject",s.a),(0,o.Z)(u,"fromSerializableObject",(e=>(0,s.i)(null,e)));const d=e=>{const{name:t,sortKey:n,action:o}=e;null!=t&&l("string"==typeof t,"`name` must be a string"),null!=n&&l("number"==typeof n,"`sortKey` must be a number"),l(o instanceof a.aU,"`action` must be an instance of PSPDFKit.Actions.Action")}},98663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({printHighQuality:!0,extract:!0,preventTextCopy:!1})){}},83634:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o,r=n(84121),i=n(35369),a=n(47347);class s extends((0,i.WV)({r:0,g:0,b:0,transparent:!1})){constructor(e){!0!==e.transparent?super(e):super({transparent:!0})}lighter(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r+t),o=parseInt(this.g+t),r=parseInt(this.b+t);return n=n<255?n:255,o=o<255?o:255,r=r<255?r:255,new s({r:n,g:o,b:r})}darker(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r-t),o=parseInt(this.g-t),r=parseInt(this.b-t);return n=n>0?n:0,o=o>0?o:0,r=r>0?r:0,new s({r:n,g:o,b:r})}equals(e){return(0,a.kG)(e instanceof s||"object"==typeof e,"Invalid `color` provided. It must be an instance of Color or an RGB object."),(0,a.kG)("number"==typeof e.r&&e.r>=0&&e.r<=255,"Invalid `r` value provided. It must be an integer between 0 and 255."),(0,a.kG)("number"==typeof e.g&&e.g>=0&&e.g<=255,"Invalid `g` value provided. It must be an integer between 0 and 255."),(0,a.kG)("number"==typeof e.b&&e.b>=0&&e.b<=255,"Invalid `b` value provided. It must be an integer between 0 and 255."),!this.transparent&&!e.transparent&&this.r===e.r&&this.g===e.g&&this.b===e.b||this.transparent&&e.transparent}saturate(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=e/100,n=.3086*this.r+.6094*this.g+.082*this.b;return new s({r:Math.round(this.r*t+n*(1-t)),g:Math.round(this.g*t+n*(1-t)),b:Math.round(this.b*t+n*(1-t))})}sRGBToRGBComponent(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}relativeLuminance(){const{r:e,g:t,b:n}={r:this.r/255,g:this.g/255,b:this.b/255},{R:o,G:r,B:i}={R:this.sRGBToRGBComponent(e),G:this.sRGBToRGBComponent(t),B:this.sRGBToRGBComponent(n)};return.2126*o+.7152*r+.0722*i}contrastRatio(e){return(this.relativeLuminance()+.05)/(e.relativeLuminance()+.05)}toCSSValue(){return this.transparent?"transparent":`rgb(${this.r}, ${this.g}, ${this.b})`}toHex(){if(this.transparent)return"#00000000";let e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}o=s,(0,r.Z)(s,"BLACK",new o({r:0,g:0,b:0})),(0,r.Z)(s,"GREY",new o({r:128,g:128,b:128})),(0,r.Z)(s,"WHITE",new o({r:255,g:255,b:255})),(0,r.Z)(s,"DARK_BLUE",new o({r:36,g:131,b:199})),(0,r.Z)(s,"RED",new o({r:248,g:36,b:0})),(0,r.Z)(s,"PURPLE",new o({r:255,g:0,b:255})),(0,r.Z)(s,"PINK",new o({r:255,g:114,b:147})),(0,r.Z)(s,"GREEN",new o({r:110,g:176,b:0})),(0,r.Z)(s,"ORANGE",new o({r:243,g:149,b:0})),(0,r.Z)(s,"YELLOW",new o({r:255,g:255,b:0})),(0,r.Z)(s,"LIGHT_BLUE",new o({r:141,g:184,b:255})),(0,r.Z)(s,"LIGHT_RED",new o({r:247,g:141,b:138})),(0,r.Z)(s,"LIGHT_GREEN",new o({r:162,g:250,b:123})),(0,r.Z)(s,"LIGHT_YELLOW",new o({r:252,g:238,b:124})),(0,r.Z)(s,"BLUE",new o({r:34,g:147,b:251})),(0,r.Z)(s,"LIGHT_ORANGE",new o({r:255,g:139,b:94})),(0,r.Z)(s,"LIGHT_GREY",new o({r:192,g:192,b:192})),(0,r.Z)(s,"DARK_GREY",new o({r:64,g:64,b:64})),(0,r.Z)(s,"MAUVE",new o({r:245,g:135,b:255})),(0,r.Z)(s,"TRANSPARENT",new o({transparent:!0})),(0,r.Z)(s,"fromHex",(e=>e.length>=8&&(e.endsWith("00")||e.endsWith("00"))?o.TRANSPARENT:new o({r:parseInt(e.substr(1,2),16),g:parseInt(e.substr(3,2),16),b:parseInt(e.substr(5,2),16)})))},86071:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(83634);const r=[{color:o.Z.RED,localization:{id:"red",defaultMessage:"Red",description:"Red color"}},{color:o.Z.ORANGE,localization:{id:"orange",defaultMessage:"Orange",description:"Orange color"}},{color:o.Z.YELLOW,localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:o.Z.GREEN,localization:{id:"green",defaultMessage:"Green",description:"Green color"}},{color:o.Z.DARK_BLUE,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}},{color:o.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},{color:o.Z.PURPLE,localization:{id:"purple",defaultMessage:"Purple",description:"Purple color"}},{color:o.Z.PINK,localization:{id:"pink",defaultMessage:"Pink",description:"Pink color"}},{color:o.Z.LIGHT_ORANGE,localization:{id:"lightOrange",defaultMessage:"Light Orange",description:"Light Orange color"}},{color:o.Z.LIGHT_YELLOW,localization:{id:"lightYellow",defaultMessage:"Light Yellow",description:"Light Yellow color"}},{color:o.Z.LIGHT_GREEN,localization:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"}},{color:o.Z.LIGHT_BLUE,localization:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"}},{color:o.Z.MAUVE,localization:{id:"mauve",defaultMessage:"Mauve",description:"Mauve color"}},{color:o.Z.TRANSPARENT,localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}},{color:o.Z.WHITE,localization:{id:"white",defaultMessage:"White",description:"White color"}},{color:o.Z.LIGHT_GREY,localization:{id:"lightGrey",defaultMessage:"Light Grey",description:"Light Grey color"}},{color:o.Z.GREY,localization:{id:"grey",defaultMessage:"Grey",description:"Grey color"}},{color:o.Z.DARK_GREY,localization:{id:"darkGrey",defaultMessage:"Dark Grey",description:"Dark Grey color"}},{color:o.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}}]},11721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(e){this.name=e.name,this.reason=e.reason,this.progress=e.progress}}},68218:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>v,CF:()=>b,Cd:()=>_,DN:()=>u,Dn:()=>B,FP:()=>a,FQ:()=>P,G_:()=>z,I5:()=>T,IA:()=>m,JR:()=>S,Q7:()=>k,QC:()=>K,R1:()=>i,Sg:()=>l,Ts:()=>x,UL:()=>c,W4:()=>p,Y1:()=>w,YG:()=>j,_h:()=>A,a2:()=>y,aN:()=>M,aT:()=>R,jI:()=>N,lK:()=>L,mZ:()=>d,nv:()=>O,t9:()=>I,tW:()=>E,tk:()=>C,vz:()=>g,wR:()=>s,xb:()=>F,yJ:()=>D,yO:()=>h});var o=n(47347),r=n(35369);let i=function(e){return e[e.Uninitialized=0]="Uninitialized",e[e.Loading=1]="Loading",e[e.Loaded=2]="Loaded",e}({}),a=function(e){return e[e.None=0]="None",e[e.Selected=1]="Selected",e[e.Active=2]="Active",e[e.Moving=3]="Moving",e}({}),s=function(e){return e[e.Edit=0]="Edit",e[e.Create=1]="Create",e[e.Delete=2]="Delete",e}({});class l extends((0,r.WV)({x:0,y:0})){}class c extends((0,r.WV)({offset:new l,size:new l})){}class u extends((0,r.WV)({rotation:0,flipY:!1})){}class d extends((0,r.WV)({xScale:1,skew:0})){}class p extends((0,r.WV)({bold:!1,italic:!1})){}const f={regular:new p,bold:new p({bold:!0}),italic:new p({italic:!0}),boldItalic:new p({bold:!0,italic:!0})};class h extends((0,r.WV)({family:"",variant:f.regular})){}class m extends((0,r.WV)({faceRef:new h,size:0})){}class g extends((0,r.WV)({fontRef:new m,color:"#000000",effects:new d})){}class v extends((0,r.WV)({maxWidth:null,alignment:"begin",lineSpacingFactor:1})){}class y extends((0,r.WV)({top:0,bottom:0})){}class b extends((0,r.WV)({offset:new l,lineSpacing:new y})){}class w extends((0,r.WV)({begin:0,end:0,text:""})){}class S extends((0,r.WV)({unavailableFaceName:null})){}class P extends((0,r.WV)({cluster:0,offset:new l,advance:new l,text:"",control:null,lastOfSegment:!1,beginOfWord:!1,endOfWord:!1})){}class E extends((0,r.WV)({offset:new l,lineSpacing:new y,elements:(0,r.aV)()})){}class x extends((0,r.WV)({lines:(0,r.aV)()})){}class D extends((0,r.WV)({family:null,faceMismatch:null,bold:null,italic:null,size:null,xScale:null,skew:null,color:null})){}class C extends((0,r.WV)({selectionStyleInfo:null,modificationsCharacterStyle:null,modificationsCharacterStyleFaceMismatch:null})){}class k extends((0,r.WV)({id:"",initialAnchor:new l,initialGlobalEffects:new u,initialLayout:new v,anchor:new l,globalEffects:new u,layout:new v,justCreated:!1,modificationsCharacterStyle:new g,version:0,contentRect:new c,cursor:new b,selection:null,detectedStyle:new C,layoutView:new x})){}class O extends((0,r.WV)({initialTextBlocks:(0,r.aV)(),textBlocks:(0,r.aV)(),loading:!0})){}class A extends((0,r.WV)({pageIndex:0,textBlockId:"",state:a.None})){}class T extends((0,r.WV)({family:"",variants:(0,r.l4)()})){}class I extends((0,r.WV)({faceList:null,loading:!1})){}class F extends((0,r.WV)({fontFace:null,rect:null,dismissAbortController:null})){}class M extends((0,r.WV)({pageStates:(0,r.D5)(),availableFaces:new I,textBlockInteractionState:new A,sessionId:0,active:!1,dirty:!1,saving:!1,mode:s.Edit,fontMismatchTooltip:null})){}const _=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?n.loading?i.Loading:i.Loaded:i.Uninitialized},N=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?[...n.textBlocks.map((e=>e.id))]:[]},R=(e,t)=>n=>{const r=n.contentEditorSession.pageStates.get(e);(0,o.kG)(r);for(const e of r.textBlocks)if(e.id==t)return e;return null},L=e=>{const{textBlockInteractionState:t}=e.contentEditorSession;return!t||t.state!==a.Active&&t.state!==a.Selected?null:R(t.pageIndex,t.textBlockId)(e)},B=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Active&&o.pageIndex===e&&o.textBlockId===t},j=e=>e.contentEditorSession.availableFaces,z=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Selected&&o.pageIndex===e&&o.textBlockId===t},K=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Moving&&o.pageIndex===e&&o.textBlockId===t}},74985:(e,t,n)=>{"use strict";n.d(t,{G:()=>l,Z:()=>a});var o=n(35369),r=n(88804);const i=(0,n(80857).Z)("CustomOverlayItem");class a extends((0,o.WV)({disableAutoZoom:!1,id:null,node:null,noRotate:!1,pageIndex:0,position:new r.E9,onAppear:null,onDisappear:null})){constructor(e){super(e)}}const s=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.COMMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE],l=e=>{const{disableAutoZoom:t,id:n,node:o,noRotate:a,pageIndex:l,position:c,onAppear:u,onDisappear:d}=e;i("boolean"==typeof t,"`disableAutoZoom` must be a `boolean`"),i("string"==typeof n,"`id` must be a `string`"),i(o instanceof Node,"`node` must be an instance of `Node`"),i(s.includes(o.nodeType),"`node.nodeType` is invalid. Expected one of "+s.join(", ")),i("boolean"==typeof a,"`noRotate` must be a `boolean`"),i("number"==typeof l,"`pageIndex` must be a `number`"),i(c instanceof r.E9,"`position` must be an instance of `PSPDFKit.Geometry.Point`"),u&&i("function"==typeof u,"`onAppear` must be a `function`"),d&&i("function"==typeof d,"`onDisappear` must be a `function`")}},81619:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o=Object.freeze([{id:"solid",dashArray:[]},{id:"narrowDots",dashArray:[1,1]},{id:"wideDots",dashArray:[1,3]},{id:"narrowDashes",dashArray:[3,3]},{id:"wideDashes",dashArray:[6,6]}])},62e3:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var o=n(30679),r=n(80857),i=n(84674);const a=(0,r.Z)("DocumentEditorFooterItem"),s=[...i.l.map((e=>e.type)),"custom"],l=e=>{const{type:t,id:n,className:r,onPress:i,node:l}=e;a("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),a(s.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${s.join(", ")}`),"custom"===t&&(a(l,"`node` is mandatory for `custom` footer items."),a(l&&o.a.includes(l.nodeType),"`node.nodeType` is invalid. Expected one of "+o.a.join(", ")),n&&a("string"==typeof n,"`id` must be a `string`"),r&&a("string"==typeof r,"`className` must be a `string`"),i&&a("function"==typeof i,"`onPress` must be a `function`")),n&&a("string"==typeof n,"`id` must be a `string`")}},97358:(e,t,n)=>{"use strict";n.d(t,{G:()=>d});var o=n(84121),r=n(80857),i=n(98158),a=n(30679);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;te.type)),"custom"],d=e=>{const{type:t}=e;c("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,a.G)(l(l({},e),{},{type:"custom"}),c),c(u.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${u.join(", ")}`)}},92947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369);const r={elements:null,expanded:(0,o.D5)()};class i extends((0,o.WV)(r)){}},19568:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,Z:()=>l});var o=n(84121),r=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;ta(a({},e),{},{[t]:t})),{})},39745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);(0,n(80857).Z)("Font");class r extends((0,o.WV)({name:null,callback:null})){constructor(e){super(e)}}},19209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({label:"",value:""})){}},18509:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,Z:()=>s});var o=n(84121);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{C:()=>r});var o=n(34997);function r(){return(0,o.SK)()}},27646:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({children:(0,o.aV)(),title:"",color:null,isBold:!1,isItalic:!1,isExpanded:!1,action:null})){}},80399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(35369),r=n(88804);const i={pageSize:new r.$u,pageIndex:0,pageLabel:"",rotation:0,inViewport:!1,textLines:null,textLineScales:null,annotationIds:(0,o.hU)(),customOverlayItemIds:(0,o.l4)(),pageKey:"",untransformedRect:new r.UL,transformedRect:new r.UL,matrix:r.sl.IDENTITY,reverseMatrix:r.sl.IDENTITY,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}};class a extends((0,o.WV)(i)){}},19419:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,Z:()=>s});var o=n(84121);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{T:()=>r});var o=n(54097);const r={[n(19702).f.ANNOTATIONS]:{includeContent:[...o.J]}}},57960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({storedSignatures:null,signatureRect:null,signaturePageIndex:null,populateStoredSignatures:()=>Promise.resolve((0,o.aV)()),formFieldsNotSavingSignatures:(0,o.l4)(),formFieldName:null})){}},49027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L,w:()=>R});var o=n(35369),r=n(88804),i=n(11721),a=n(89849),s=n(57960),l=n(56169),c=n(47852),u=n(89835),d=n(98663),p=n(19568),f=n(65872),h=n(89e3),m=n(64494),g=n(79941),v=n(151),y=n(92947),b=n(76192),w=n(39511),S=n(80440),P=n(31835),E=n(84760),x=n(67699),D=n(52842),C=n(72131),k=n(73324),O=n(68218),A=n(4132),T=n(71603),I=n(36489),F=n(79827),M=n(91859);const _={reuseState:null,backend:null,pages:(0,o.aV)(),totalPages:0,debugMode:!1,isDebugConsoleVisible:!1,rootElement:null,scrollElement:null,frameWindow:null,containerRect:new r.UL,connectionFailureReason:null,connectionState:new i.Z({name:a.F.CONNECTING}),scrollbarOffset:0,currentTextSelection:null,inlineTextMarkupToolbar:!0,annotations:(0,o.D5)(),attachments:(0,o.D5)(),formFields:(0,o.D5)(),formattedFormFieldValues:(0,o.D5)(),editingFormFieldValues:(0,o.D5)(),readOnlyEnabled:C.J.NO,formsEnabled:!0,formDesignMode:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,printingEnabled:!0,exportEnabled:!0,selectedAnnotationIds:(0,o.l4)(),selectedAnnotationShouldDrag:null,selectedAnnotationMode:null,selectedTextOnEdit:!1,interactionMode:null,interactionsDisabled:!1,showToolbar:!0,enableAnnotationToolbar:!0,disablePointSnapping:!1,sidebarMode:null,sidebarOptions:k.T,sidebarPlacement:f.d.START,showSignatureValidationStatus:m.W.NEVER,hoverAnnotationIds:(0,o.l4)(),hoverAnnotationNote:null,activeAnnotationNote:null,clientsChangeCallback:()=>{},searchState:new l.Z,clientPermissions:new d.Z,backendPermissions:new u.Z,documentPermissions:new p.Z,inkEraserCursorWidth:0,isPrinting:!1,printLoadingIndicatorProgress:null,toolbarItems:(0,o.aV)(),electronicSignatureColorPresets:[],electronicSignatureDefaultTextCallback:null,annotationToolbarHeight:0,annotationPresets:(0,o.D5)(),annotationPresetIds:(0,o.D5)(),currentItemPreset:null,stampAnnotationTemplates:[],viewportState:new c.Z,annotationManager:null,bookmarkManager:null,formFieldManager:null,formFieldValueManager:null,commentManager:null,changeManager:null,searchProvider:null,autoSaveMode:b.u.IMMEDIATE,eventEmitter:new P.Z,printMode:w.X.DOM,printQuality:S.g.LOW,features:(0,o.aV)(),signatureFeatureAvailability:null,customOverlayItems:(0,o.D5)(),locale:"en",annotationCreatorName:null,signatureState:new s.Z,annotationCreatorNameReadOnly:!1,hasPassword:!1,resolvePassword:null,isUnlockedViaModal:!1,transformClientToPage:e=>e,documentOutlineState:new y.Z,annotationsIdsToDelete:null,renderPageCallback:null,annotationTooltipCallback:null,isEditableAnnotation:null,isEditableComment:null,editableAnnotationTypes:(0,o.l4)(g.Z),customRenderers:null,customUIStore:null,documentHandle:null,allowedTileScales:"all",isDocumentHandleOutdated:!1,toolbarPlacement:h.p.TOP,comments:(0,o.D5)(),commentThreads:(0,o.D5)(),isSigning:!1,isApplyingRedactions:!1,digitalSignatures:null,previewRedactionMode:!1,canScrollWhileDrawing:!1,isAPStreamRendered:()=>!0,invalidAPStreams:(0,o.D5)(),collapseSelectedNoteContent:!1,restrictAnnotationToPageBounds:!0,hasFetchedInitialRecordsFromInstant:!1,group:void 0,documentEditorFooterItems:(0,o.aV)(),electronicSignatureCreationModes:(0,o.hU)(v.Z),signingFonts:(0,o.hU)(E.Z),documentEditorToolbarItems:(0,o.aV)(),isHistoryEnabled:!1,areClipboardActionsEnabled:!1,historyChangeContext:x.j.DEFAULT,undoActions:(0,o.aV)(),redoActions:(0,o.aV)(),historyIdsMap:(0,o.D5)(),a11yStatusMessage:"",lastToolbarActionUsedKeyboard:!1,onOpenURI:null,onAnnotationResizeStart:void 0,documentComparisonState:null,keepSelectedTool:!1,instance:null,dateTimeString:null,sidebarWidth:0,annotationToolbarItems:null,focusedAnnotationIds:(0,o.l4)(),annotationToolbarColorPresets:null,renderPagePreview:!0,onWidgetAnnotationCreationStart:null,formDesignerUnsavedWidgetAnnotation:null,inkEraserMode:D.b.POINT,firstCurrentPageIndex:0,arePageSizesLoaded:null,inlineTextSelectionToolbarItems:null,measurementSnapping:!0,measurementPrecision:A.L.TWO,measurementScale:new T.Z({unitFrom:I.s.INCHES,unitTo:F.K.INCHES,fromValue:1,toValue:1}),measurementToolState:null,measurementValueConfiguration:null,measurementScales:null,APStreamVariantsRollover:(0,o.l4)(),APStreamVariantsDown:(0,o.l4)(),contentEditorSession:new O.aN,showExitContentEditorDialog:!1,linkAnnotationMode:!1,anonymousComments:!1,annotationsGroups:(0,o.D5)(),selectedGroupId:null,enableRichText:()=>!1,richTextEditorRef:null,multiAnnotationsUsingShortcut:null,disablePullToRefresh:!1,mentionableUsers:[],maxMentionSuggestions:5,isMultiSelectionEnabled:!0,widgetAnnotationToFocus:null,onCommentCreationStart:null,defaultAutoCloseThreshold:M.W3,hintLines:null,scrollDisabled:!1,customFontsReadableNames:(0,o.l4)(),secondaryMeasurementUnit:null,activeMeasurementScale:null,isCalibratingScale:!1,dynamicFonts:null},N={pages:(0,o.aV)(),annotations:(0,o.D5)(),attachments:(0,o.D5)(),formFields:(0,o.D5)(),comments:(0,o.D5)(),commentThreads:(0,o.D5)()};class R extends((0,o.WV)(N)){}class L extends((0,o.WV)(_)){}},65338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369),r=n(88804);class i extends((0,o.WV)({id:null,pageIndex:null,boundingBox:new r.UL,contents:"",contentTreeElementMetadata:null})){}},30679:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,a:()=>r});const o=(0,n(80857).Z)("ToolItem"),r=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.DOCUMENT_FRAGMENT_NODE],i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const{type:n,id:i,title:a,className:s,icon:l,onPress:c,disabled:u,selected:d,node:p}=e;t("custom"===n,"Mandatory `type` is either missing or not `custom`"),p&&(t("custom"===n,"`node` is only supported for `custom` tool items."),t(r.includes(p.nodeType),"`node.nodeType` is invalid. Expected one of "+r.join(", "))),i&&t("string"==typeof i,"`id` must be a `string`"),a&&t("string"==typeof a,"`title` must be a `string`"),s&&t("string"==typeof s,"`className` must be a `string`"),l&&t("string"==typeof l,"`icon` must be a `string`"),c&&t("function"==typeof c,"`onPress` must be a `function`"),"disabled"in e&&t("boolean"==typeof u,"`disabled` must be a `boolean`"),"selected"in e&&t("boolean"==typeof d,"`selected` must be a `boolean`")}},17500:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});var o=n(84121),r=n(92457),i=n(80857),a=n(30679);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t{const{type:t,mediaQueries:n,preset:o}=e;c("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,a.G)(l(l({},e),{},{type:"custom"}),c),c(r._o.includes(t),`Invalid built-in type \`${t}\`. Choose one from ${r._o.join(", ")}`),n&&(c(Array.isArray(n),"`mediaQueries` must be an `array`"),c(n.length>0,"`mediaQueries` must not be an empty `array`"),n.forEach((e=>{c("string"==typeof e,`Invalid media query: \`${e}\``);const t=e.split("(").length,n=e.split(")").length;0===t&&0===n||c(t===n,`Detected unbalanced parenthesis in the media query: ${e}`)}))),"preset"in e&&c("string"==typeof o,"`preset` must be a `string`")}},34426:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(47347),r=n(35369),i=n(91859),a=n(40725),s=n(77973),l=n(47710),c=n(65872),u=n(28098),d=n(64494),p=n(73324);const f="You tried to call a function on ViewState that requires a PSPDFKit.Instance.\nThis is possible, when you use a ViewState that is obtained via Instance#viewState, Instance.setViewState or by setting the instance value of a ViewState explicitly.";class h extends((0,r.WV)({currentPageIndex:0,zoom:u.c.AUTO,zoomStep:i.V4,pagesRotation:0,layoutMode:s.X.SINGLE,scrollMode:l.G.CONTINUOUS,showToolbar:!0,enableAnnotationToolbar:!0,allowPrinting:!0,allowExport:!0,interactionMode:null,readOnly:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,sidebarMode:null,sidebarOptions:p.T,sidebarPlacement:c.d.START,spreadSpacing:i.YJ,pageSpacing:i.Sk,keepFirstSpreadAsSinglePage:!1,viewportPadding:new a.Z,instance:null,formDesignMode:!1,showSignatureValidationStatus:d.W.NEVER,previewRedactionMode:!1,canScrollWhileDrawing:!1,keepSelectedTool:!1,resolvedLayoutMode:s.X.SINGLE,sidebarWidth:0,disablePointSnapping:!1})){zoomIn(){if(!this.instance)throw new o.p2(f);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{maximumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel*this.instance.zoomStep;return t>e&&(t=e),this.set("zoom",t)}zoomOut(){if(!this.instance)throw new o.p2(f);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{minimumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel/this.instance.zoomStep;return t(e+270)%360))}rotateRight(){return this.update("pagesRotation",(e=>(e+90)%360))}goToNextPage(){if(!this.instance)throw new o.p2(f);let e=this.currentPageIndex+1;return e>this.instance.totalPageCount-1&&(e=this.instance.totalPageCount-1),this.set("currentPageIndex",e)}goToPreviousPage(){let e=this.currentPageIndex-1;return e<0&&(e=0),this.set("currentPageIndex",e)}}},40725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369),r=n(91859);class i extends((0,o.WV)({horizontal:r.Kk,vertical:r.Kk})){}},47852:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(35369),r=n(91859),i=n(77973),a=n(47710),s=n(28098),l=n(88804);const c={zoomLevel:1,zoomMode:s.c.AUTO,layoutMode:i.X.SINGLE,scrollMode:a.G.CONTINUOUS,scrollPosition:new l.E9,currentPageIndex:0,viewportRect:new l.UL,pageSizes:(0,o.aV)(),commentMode:null,pagesRotation:0,viewportPadding:new l.E9({x:r.Kk,y:r.Kk}),spreadSpacing:r.YJ,pageSpacing:r.Sk,keepFirstSpreadAsSinglePage:!1,minDefaultZoomLevel:r.cY,maxDefaultZoomLevel:r.QS,zoomStep:r.V4,lastScrollUsingKeyboard:!1,documentComparisonMode:null,disablePointSnapping:!1};class u extends(o.WV(c)){}},86920:(e,t,n)=>{"use strict";n.d(t,{D2:()=>u,Q:()=>d,aU:()=>a,co:()=>c,uV:()=>s,zR:()=>l});var o=n(84121),r=n(47347),i=n(60797);class a extends i.D{constructor(e){if(super(e),(0,o.Z)(this,"subActions",null),this.subActions=null==e?void 0:e.subActions,this.constructor===a)throw new r.p2("PSPDFKit.Actions.Action is an abstract base class and can not be instantiated")}}(0,i.V)(a);const s=1,l=1,c=2,u=3,d=4},22571:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var o=n(84121),r=n(60797),i=n(86920);class a extends i.aU{constructor(e){super(e)}}(0,o.Z)(a,"defaultValues",{script:""}),(0,r.V)(a)},89335:(e,t,n)=>{"use strict";n.d(t,{aU:()=>o.aU,Di:()=>a,Qr:()=>s,_6:()=>l,ZD:()=>u,bp:()=>d.b,b:()=>p,oH:()=>f,BO:()=>h,pl:()=>m,lm:()=>g});var o=n(86920),r=n(84121),i=n(60797);class a extends o.aU{constructor(e){super(e)}}(0,r.Z)(a,"defaultValues",{pageIndex:null}),(0,i.V)(a);class s extends o.aU{constructor(e){super(e)}}(0,r.Z)(s,"defaultValues",{newWindow:!1,relativePath:"",targetType:"parent"}),(0,i.V)(s);class l extends o.aU{constructor(e){super(e)}}(0,r.Z)(l,"defaultValues",{relativePath:"",namedDestination:""}),(0,i.V)(l);var c=n(35369);class u extends o.aU{constructor(e){super(e)}}(0,r.Z)(u,"defaultValues",{hide:!0,annotationReferences:(0,c.aV)()}),(0,i.V)(u);var d=n(22571);class p extends o.aU{constructor(e){super(e)}}(0,r.Z)(p,"defaultValues",{filePath:null}),(0,i.V)(p);class f extends o.aU{constructor(e){super(e)}}(0,r.Z)(f,"defaultValues",{action:null}),(0,i.V)(f);class h extends o.aU{constructor(e){super(e)}}(0,r.Z)(h,"defaultValues",{fields:null,includeExclude:!1}),(0,i.V)(h);class m extends o.aU{constructor(e){super(e)}}(0,r.Z)(m,"defaultValues",{uri:null,fields:null,includeExclude:!1,includeNoValueFields:!0,exportFormat:!0,getMethod:!1,submitCoordinated:!1,xfdf:!1,includeAppendSaves:!1,includeAnnotations:!1,submitPDF:!1,canonicalFormat:!1,excludeNonUserAnnotations:!1,excludeFKey:!1,embedForm:!1}),(0,i.V)(m);class g extends o.aU{constructor(e){super(e)}}(0,r.Z)(g,"defaultValues",{uri:null}),(0,i.V)(g)},32125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(47347),i=n(88804),a=n(60797);class s extends a.D{constructor(e){if(super(e),this.constructor===s)throw new r.p2("PSPDFKit.Annotations.Annotation is an abstract base class and can not be instantiated")}}(0,o.Z)(s,"defaultValues",{id:null,name:null,subject:null,pdfObjectId:null,pageIndex:null,boundingBox:new i.UL,opacity:1,action:null,note:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),customData:null,noPrint:!1,noZoom:!1,noRotate:!1,noView:!1,locked:!1,lockedContents:!1,readOnly:!1,hidden:!1,blendMode:"normal",additionalActions:null,isCommentThreadRoot:!1,isAnonymous:!1,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,canReply:void 0,APStreamCache:void 0,rotation:0}),(0,a.V)(s);const l=s},70094:(e,t,n)=>{"use strict";n.d(t,{FN:()=>u,Yu:()=>d,p1:()=>c});var o=n(84121),r=n(34997),i=n(15973),a=n(88804),s=n(88713),l=n(60797);const c=32;class u extends i.Qi{}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(e){var o;const i=p(e,t,n);return new u({id:(0,r.SK)(),pageIndex:e.pageIndex,boundingBox:new a.UL({left:i.x,top:i.y,width:t,height:n}),text:{format:"plain",value:null!==(o=e.note)&&void 0!==o?o:""},parentAnnotation:e,position:i})}return new u({id:(0,r.SK)(),notePosition:new a.E9})}function p(e,t,n){let o=null;var r,l;if(e instanceof i.Zc)e.lines.isEmpty()||null!==(r=e.lines.get(0))&&void 0!==r&&r.isEmpty()||(o=null===(l=e.lines.get(0))||void 0===l?void 0:l.get(0));else if(e instanceof s.Z||e instanceof i.om){if(e.points&&e.points.size>=2){const t=e.points.get(0),n=e.points.get(1);o=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}}else if(e instanceof i.o9){const t=e.startPoint,n=e.endPoint;o=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}else if(e instanceof i.On)return new a.E9({x:e.boundingBox.right+4,y:e.boundingBox.getCenter().y-n/2});return o||(o=new a.E9({x:e.boundingBox.getCenter().x,y:e.boundingBox.top})),o.set("x",o.x-t/2).set("y",o.y-n/2)}(0,o.Z)(u,"defaultValues",{parentAnnotation:null,position:new a.E9,notePosition:new a.E9}),(0,l.V)(u)},73039:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(35369),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{lines:(0,r.aV)(),lineWidth:5,strokeColor:a.Z.BLUE,backgroundColor:null,isDrawnNaturally:!1,isSignature:!1}),(0,o.Z)(l,"readableName","Ink"),(0,s.V)(l);const c=l},74973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(84121),r=n(32125),i=n(60797);class a extends r.Z{}(0,o.Z)(a,"defaultValues",{description:null,fileName:null,contentType:null,mediaAttachmentId:null}),(0,o.Z)(a,"readableName","Media"),(0,i.V)(a)},65627:(e,t,n)=>{"use strict";n.d(t,{W:()=>c,Z:()=>d});var o,r=n(84121),i=n(32125),a=n(83634),s=n(18025),l=n(60797);const c=[{color:new a.Z({r:255,g:216,b:63}),localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:new a.Z({r:255,g:127,b:0}),localization:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"}},{color:new a.Z({r:255,g:51,b:0}),localization:{id:"red",defaultMessage:"Red",description:"Red, the color"}},{color:new a.Z({r:229,g:51,b:255}),localization:{id:"fuchsia",defaultMessage:"Fuchsia",description:"Fuchsia, the color"}},{color:new a.Z({r:0,g:153,b:255}),localization:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"}},{color:new a.Z({r:114,g:255,b:0}),localization:{id:"green",defaultMessage:"Green",description:"Green, the color"}}];class u extends i.Z{}(0,r.Z)(u,"isEditable",!0),(0,r.Z)(u,"readableName","Note"),(0,r.Z)(u,"defaultValues",{text:{format:"plain",value:""},icon:s.Zi.COMMENT,color:null===(o=c.find((e=>"yellow"===e.localization.id)))||void 0===o?void 0:o.color}),(0,l.V)(u);const d=u},18146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(84121),r=n(49200),i=n(83634),a=n(60797);class s extends r.Z{}(0,o.Z)(s,"readableName","Redaction"),(0,o.Z)(s,"defaultValues",{color:i.Z.RED,fillColor:i.Z.BLACK,outlineColor:i.Z.RED,overlayText:null,repeatOverlayText:null,rotation:0}),(0,a.V)(s)},82405:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(32125),i=n(83634),a=n(60797);class s extends r.Z{isMeasurement(){return null!==this.measurementScale}}(0,o.Z)(s,"readableName","Shape"),(0,o.Z)(s,"defaultValues",{strokeWidth:5,strokeColor:i.Z.BLUE,fillColor:null,strokeDashArray:null,measurementPrecision:null,measurementScale:null}),(0,a.V)(s);const l=s},33754:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u,a$:()=>s,k1:()=>l,pY:()=>a});var o=n(84121),r=n(32125),i=n(60797);const a={Approved:{},NotApproved:{},Draft:{},Final:{},Completed:{},Confidential:{},ForPublicRelease:{},NotForPublicRelease:{},ForComment:{},Void:{},PreliminaryResults:{},InformationOnly:{},Rejected:{},Accepted:{},InitialHere:{},SignHere:{},Witness:{},AsIs:{},Departmental:{},Experimental:{},Expired:{},Sold:{},TopSecret:{},Revised:{includeDate:!0,includeTime:!0},RejectedWithText:{includeDate:!0,includeTime:!0},Custom:{}},s={RejectedWithText:"Rejected"},l=e=>s[e]||e;class c extends r.Z{}(0,o.Z)(c,"defaultValues",{stampType:"Custom",title:null,subtitle:null,color:null,xfdfAppearanceStream:null,xfdfAppearanceStreamOriginalPageRotation:null}),(0,o.Z)(c,"readableName","Stamp"),(0,i.V)(c);const u=c},47751:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var o=n(84121),r=n(38623),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{text:{format:"plain",value:""},fontColor:a.Z.BLACK,backgroundColor:null,font:r.vt.first()||"sans-serif",fontSize:18,isBold:!1,isItalic:!1,horizontalAlign:"left",verticalAlign:"top",callout:null,borderStyle:null,borderWidth:null,borderColor:null,isFitting:!1,lineHeightFactor:null}),(0,o.Z)(l,"isEditable",!0),(0,o.Z)(l,"readableName","Text"),(0,o.Z)(l,"fontSizePresets",Object.freeze([4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200])),(0,s.V)(l);const c=l},49200:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(35369),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{rects:(0,r.aV)(),color:a.Z.BLACK,blendMode:"normal"}),(0,o.Z)(l,"readableName","Text-Markup"),(0,s.V)(l);const c=l},29346:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(84121),r=n(32125),i=n(60797);class a extends r.Z{}(0,o.Z)(a,"defaultValues",{formFieldName:null,borderColor:null,borderStyle:null,borderDashArray:null,borderWidth:null,backgroundColor:null,fontSize:null,font:null,isBold:!1,isItalic:!1,fontColor:null,horizontalAlign:null,verticalAlign:null,additionalActions:null,lineHeightFactor:null}),(0,o.Z)(a,"readableName","Widget"),(0,i.V)(a);const s=a},15973:(e,t,n)=>{"use strict";n.d(t,{q6:()=>o.Z,Jn:()=>A,Xs:()=>m.Z,FV:()=>l,sK:()=>u,Zc:()=>d.Z,o9:()=>f.Z,R1:()=>b,Hu:()=>I.Z,Qi:()=>w.Z,Hi:()=>g.Z,om:()=>v.Z,b3:()=>h.Z,Wk:()=>T.Z,UX:()=>p.Z,hL:()=>S,GI:()=>P.ZP,R9:()=>E,gd:()=>x.default,On:()=>i.Z,xu:()=>D,Ih:()=>k,x_:()=>O.Z});var o=n(32125),r=n(84121),i=n(49200),a=n(83634),s=n(60797);class l extends i.Z{}(0,r.Z)(l,"className","highlight"),(0,r.Z)(l,"readableName","Highlight"),(0,r.Z)(l,"defaultValues",{blendMode:"multiply",color:a.Z.LIGHT_YELLOW}),(0,s.V)(l);class c extends o.Z{}(0,r.Z)(c,"defaultValues",{description:null,fileName:null,contentType:null,imageAttachmentId:null,isSignature:!1,xfdfAppearanceStream:null,xfdfAppearanceStreamOriginalPageRotation:null}),(0,r.Z)(c,"readableName","Image"),(0,s.V)(c);const u=c;var d=n(73039),p=n(82405),f=n(20683),h=n(87043),m=n(70076),g=n(88713),v=n(50690);class y extends o.Z{}(0,r.Z)(y,"readableName","Link"),(0,r.Z)(y,"defaultValues",{borderWidth:0,borderColor:null,opacity:1}),(0,s.V)(y);const b=y;var w=n(65627);class S extends i.Z{}(0,r.Z)(S,"className","squiggle"),(0,r.Z)(S,"readableName","Squiggle"),(0,r.Z)(S,"defaultValues",{color:a.Z.RED}),(0,s.V)(S);var P=n(33754);class E extends i.Z{}(0,r.Z)(E,"className","strikeout"),(0,r.Z)(E,"readableName","Strike Out"),(0,r.Z)(E,"defaultValues",{color:a.Z.RED}),(0,s.V)(E);var x=n(47751);class D extends i.Z{}(0,r.Z)(D,"className","underline"),(0,r.Z)(D,"readableName","Underline"),(0,r.Z)(D,"defaultValues",{color:a.Z.BLACK}),(0,s.V)(D);class C extends o.Z{}(0,s.V)(C);const k=C;var O=n(29346);class A extends o.Z{}(0,r.Z)(A,"readableName","Comment-Marker"),(0,s.V)(A);var T=n(18146),I=n(74973)},70076:(e,t,n)=>{"use strict";n.d(t,{F:()=>u,Z:()=>d});var o=n(84121),r=n(82405),i=n(88804),a=n(91859),s=n(60797);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class c extends r.Z{constructor(e){super(u(e))}}function u(e){if(!e)return;const t=function(e){for(var t=1;t0&&!e.cloudyBorderInset){const n=Number(e.cloudyBorderIntensity)*a.St+(e.strokeWidth||r.Z.defaultValues.strokeWidth)/2;return t.cloudyBorderInset=i.eB.fromValue(n),t}return t}(0,o.Z)(c,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,o.Z)(c,"readableName","Ellipse"),(0,s.V)(c);const d=c},20683:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(82405),i=n(88804),a=n(60797);class s extends r.Z{}(0,o.Z)(s,"defaultValues",{startPoint:new i.E9,endPoint:new i.E9,lineCaps:null}),(0,o.Z)(s,"readableName","Line"),(0,a.V)(s);const l=s},88713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(35369),i=n(82405),a=n(60797);class s extends i.Z{}(0,o.Z)(s,"defaultValues",{points:(0,r.aV)(),cloudyBorderIntensity:null}),(0,o.Z)(s,"readableName","Polygon"),(0,a.V)(s);const l=s},50690:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(35369),i=n(82405),a=n(60797);class s extends i.Z{}(0,o.Z)(s,"defaultValues",{points:(0,r.aV)(),lineCaps:null}),(0,o.Z)(s,"readableName","Polyline"),(0,a.V)(s);const l=s},87043:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(82405),i=n(70076),a=n(60797);class s extends r.Z{constructor(e){super((0,i.F)(e))}}(0,o.Z)(s,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,o.Z)(s,"readableName","Rectangle"),(0,a.V)(s);const l=s},11863:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>c,ZP:()=>l,vQ:()=>u});var o=n(84121),r=n(47347),i=n(35369),a=n(56460);const s={id:null,rootId:null,pageIndex:null,pdfObjectId:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),text:{format:"xhtml",value:null},customData:null,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,isAnonymous:void 0};class l extends(i.WV(s)){getMentionedUserIds(){const e=this.text.value;(0,r.kG)("string"==typeof e,"`text.value` must be of type `string`");const t=(new DOMParser).parseFromString(e,"text/html").body.querySelectorAll("span[data-user-id]"),n=Array.from(t).map((e=>e.getAttribute("data-user-id"))).filter(r.lH);return i.l4(n)}}(0,o.Z)(l,"toSerializableObject",(e=>(0,a.o)(e,e.rootId))),(0,o.Z)(l,"fromSerializableObject",(e=>(0,a.z)(e.id||null,e)));const c=e=>{(0,r.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,r.kG)("string"==typeof e.rootId,"`rootId` must be of type `string`"),(0,r.kG)("number"==typeof e.pageIndex,"`pageIndex` must be of type `number`"),(0,r.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"`pdfObjectId` must be of type `number`"),(0,r.kG)(null==e.creatorName||"string"==typeof e.creatorName,"`creatorName` must be of type `string`"),(0,r.kG)(e.createdAt instanceof Date,"`createdAt` must be a Date"),(0,r.kG)(e.updatedAt instanceof Date,"`updatedAt` must be a Date"),(0,r.kG)("object"==typeof e.text,"`text` must be of type `object`"),(0,r.kG)("string"==typeof e.text.value,"`text` must be of type `string`"),(0,r.kG)("xhtml"===e.text.format||"plain"===e.text.format,"`text.format` must be either `xhtml` or `plain`"),(0,r.kG)(null==e.customData||(0,r.PO)(e.customData),"`customData` must be a JSON-serializable object"),(0,r.kG)(void 0===e.isAnonymous||"boolean"==typeof e.isAnonymous||null==e.isAnonymous,"`isAnonymous` must be of type `boolean`")};function u(e){return(0,r.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,r.kG)("string"==typeof e.name,"`name` must be of type `string`"),e.avatarUrl&&(0,r.kG)("string"==typeof e.avatarUrl,"`avatarUrl` must be of type `string`"),e.description&&(0,r.kG)("string"==typeof e.description,"`description` must be of type `string`"),(0,r.kG)("string"==typeof e.displayName,"`displayName` must be of type `string`"),e}},26248:(e,t,n)=>{"use strict";n.d(t,{BG:()=>a,FR:()=>c,QA:()=>o,Xl:()=>l,hz:()=>s,qA:()=>i,wk:()=>r});const o={ok:"ok",tampered_document:"tampered_document",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",failed_to_retrieve_byterange:"failed_to_retrieve_byterange",failed_to_compute_digest:"failed_to_compute_digest",failed_retrieve_signing_certificate:"failed_retrieve_signing_certificate",failed_retrieve_public_key:"failed_retrieve_public_key",failed_encryption_padding:"failed_encryption_padding",tampered_or_invalid_timestamp:"tampered_or_invalid_timestamp",general_failure:"general_failure"},r={ok:"ok",ok_but_self_signed:"ok_but_self_signed",untrusted:"untrusted",expired:"expired",not_yet_valid:"not_yet_valid",invalid:"invalid",revoked:"revoked",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",general_validation_problem:"general_validation_problem"},i={valid:"valid",warning:"warning",error:"error"},a={CMS:"CMS",CAdES:"CAdES"},s={b_b:"b-b",b_t:"b-t",b_lt:"b-lt"},l={cms:"cms",cades:"cades",documentTimestamp:"documentTimestamp"},c={raw:"raw",pkcs7:"pkcs7"}},76367:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});const o={valid:"valid",warning:"warning",error:"error",not_signed:"not_signed"}},3845:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});let o=function(e){return e.DRAW_START="DRAW_START",e.DRAW_END="DRAW_END",e.TEXT_EDIT_START="TEXT_EDIT_START",e.TEXT_EDIT_END="TEXT_EDIT_END",e.SELECT_START="SELECT_START",e.SELECT_END="SELECT_END",e.MOVE_START="MOVE_START",e.MOVE_END="MOVE_END",e.RESIZE_START="RESIZE_START",e.RESIZE_END="RESIZE_END",e.ROTATE_START="ROTATE_START",e.ROTATE_END="ROTATE_END",e.DELETE_START="DELETE_START",e.DELETE_END="DELETE_END",e.PROPERTY_CHANGE="PROPERTY_CHANGE",e}({})},3534:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>u,Mr:()=>s,ZP:()=>c});var o=n(84121),r=n(35369),i=n(47347),a=n(60797);const s=["readOnly","required","noExport"];class l extends a.D{constructor(e){if(super(e),this.constructor===l)throw new i.p2("PSPDFKit.FormFields.FormField is an abstract base class and can not be instantiated")}}(0,o.Z)(l,"defaultValues",{id:null,pdfObjectId:null,annotationIds:(0,r.aV)(),name:null,label:"",readOnly:!1,required:!1,noExport:!1,additionalActions:null,group:void 0,isEditable:void 0,isFillable:void 0,isDeletable:void 0,canSetGroup:void 0}),(0,a.V)(l);const c=l;function u(e){return e.has("name")}},11032:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,Z:()=>a});var o=n(84121),r=n(60797);class i extends r.D{constructor(e){super(e),void 0!==(null==e?void 0:e.optionIndexes)&&(this.optionIndexes=e.optionIndexes),void 0!==(null==e?void 0:e.isFitting)&&(this.isFitting=e.isFitting)}}(0,o.Z)(i,"defaultValues",{name:null,value:null}),(0,r.V)(i);const a=i;function s(e){return`form-field-value/${e.name}`}},59780:(e,t,n)=>{"use strict";n.d(t,{R0:()=>s,rF:()=>u,Dz:()=>p,fB:()=>h,Wi:()=>r.ZP,KD:()=>m.Z,Vi:()=>v,XQ:()=>b,Yo:()=>E,$o:()=>S});var o=n(84121),r=n(3534),i=n(60797);class a extends r.ZP{}(0,o.Z)(a,"defaultValues",{buttonLabel:null}),(0,i.V)(a);const s=a;var l=n(35369);class c extends r.ZP{}(0,o.Z)(c,"defaultValues",{values:(0,l.aV)(),defaultValues:(0,l.aV)(),options:(0,l.aV)(),optionIndexes:void 0}),(0,i.V)(c);const u=c;class d extends r.ZP{}(0,o.Z)(d,"defaultValues",{options:(0,l.aV)(),values:(0,l.aV)(),defaultValues:(0,l.aV)(),multiSelect:!1,commitOnChange:!1,additionalActions:null}),(0,i.V)(d);const p=d;class f extends p{}(0,o.Z)(f,"defaultValues",{edit:!1,doNotSpellCheck:!1}),(0,i.V)(f);const h=f;var m=n(11032);class g extends p{}(0,i.V)(g);const v=g;class y extends r.ZP{}(0,o.Z)(y,"defaultValues",{options:(0,l.aV)(),noToggleToOff:!1,radiosInUnison:!0,value:"",defaultValue:"",optionIndexes:void 0}),(0,i.V)(y);const b=y;class w extends r.ZP{}(0,o.Z)(w,"defaultValues",{password:!1,maxLength:null,doNotSpellCheck:!1,doNotScroll:!1,multiLine:!1,comb:!1,value:"",defaultValue:"",additionalActions:null}),(0,i.V)(w);const S=w;class P extends r.ZP{}const E=P},17746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(52871),i=n(60797);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>a});var o=n(84121),r=n(60797);class i extends r.D{constructor(e){super(e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("x",this.x*e).set("y",this.y*t)}))}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("x",this.x+t).set("y",this.y+n)}))}translateX(e){return this.translate(new i({x:e,y:0}))}translateY(e){return this.translate(new i({x:0,y:e}))}distance(e){return Math.sqrt((e.x-this.x)**2+(e.y-this.y)**2)}rotate(e){e%=360;const{x:t,y:n}=this;switch(e){case 0:return this;case 90:return this.set("x",n).set("y",-t);case 180:return this.set("x",-t).set("y",-n);case 270:return this.set("x",-n).set("y",t);default:{const o=e*Math.PI/180;return this.set("x",Math.cos(o)*t+Math.sin(o)*n).set("y",Math.cos(o)*n-Math.sin(o)*t)}}}apply(e){const[t,n]=e.applyToPoint([this.x,this.y]);return this.withMutations((e=>{e.set("x",t).set("y",n)}))}}(0,o.Z)(i,"defaultValues",{x:0,y:0}),(0,r.V)(i);const a=i},55237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(47347),i=n(60797),a=n(52871),s=n(20449);class l extends i.D{constructor(e){super(e)}get right(){return this.left+this.width}get bottom(){return this.top+this.height}static fromClientRect(e){let{top:t,left:n,width:o,height:r}=e;return new l({top:t,left:n,width:o,height:r})}static union(e){const t=e.map((e=>e.top)).min(),n=e.map((e=>e.bottom)).max()-t,o=e.map((e=>e.left)).min(),r=e.map((e=>e.right)).max()-o;return new l({left:o,top:t,width:r,height:n})}static getCenteredRect(e,t){return new l({left:(t.width-e.width)/2,top:(t.height-e.height)/2,width:e.width,height:e.height})}static fromInset(e){return new l({left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top})}static fromPoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),i=Math.min(...t.map((e=>e.y))),a=Math.max(...t.map((e=>e.x))),s=Math.max(...t.map((e=>e.y)));return new l({left:o,top:i,width:a-o,height:s-i})}expandToIncludePoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),r=Math.min(this.top,...t.map((e=>e.y))),i=Math.max(this.left+this.width,...t.map((e=>e.x))),a=Math.max(this.top+this.height,...t.map((e=>e.y)));return new l({left:o,top:r,width:i-o,height:a-r})}static areRectsCloserThan(e,t,n){return Math.abs(e.left-t.left)<=n&&Math.abs(e.top-t.top)<=n&&Math.abs(e.left+e.width-(t.left+t.width))<=n&&Math.abs(e.top+e.height-(t.top+t.height))<=n}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("left",this.left+t).set("top",this.top+n)}))}translateX(e){return this.set("left",this.left+e)}translateY(e){return this.set("top",this.top+e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("left",this.left*e).set("top",this.top*t).set("width",this.width*e).set("height",this.height*t)}))}grow(e){return this.withMutations((t=>{t.set("left",this.left-e).set("top",this.top-e).set("width",this.width+2*e).set("height",this.height+2*e)}))}getLocation(){return new a.Z({x:this.left,y:this.top})}getSize(){return new s.Z({width:this.width,height:this.height})}getCenter(){return new a.Z({x:this.left+this.width/2,y:this.top+this.height/2})}setLocation(e){return this.withMutations((t=>{t.set("left",e.x).set("top",e.y)}))}roundOverlap(){return this.withMutations((e=>{e.set("left",Math.floor(this.left)).set("top",Math.floor(this.top)).set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}round(){return this.withMutations((e=>{e.set("left",Math.round(this.left)).set("top",Math.round(this.top)).set("width",Math.round(this.width)).set("height",Math.round(this.height))}))}isPointInside(e){return e.x>=this.left&&e.x<=this.right&&e.y>=this.top&&e.y<=this.bottom}isRectInside(e){return this.isPointInside(e.getLocation())&&this.isPointInside(e.getLocation().translate(new a.Z({x:e.width,y:e.height})))}isRectOverlapping(e){return e.leftthis.left&&e.topthis.top}normalize(){return this.withMutations((e=>e.set("left",this.width<0?this.left+this.width:this.left).set("top",this.height<0?this.top+this.height:this.top).set("width",Math.abs(this.width)).set("height",Math.abs(this.height))))}apply(e){const[t,n]=e.applyToPoint([this.left,this.top]),[o,r]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>e.set("left",t).set("top",n).set("width",o).set("height",r))).normalize()}}(0,o.Z)(l,"defaultValues",{left:0,top:0,width:0,height:0}),(0,i.V)(l);const c=l},20449:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({width:0,height:0})){scale(e){return this.withMutations((t=>{t.set("width",this.width*e).set("height",this.height*e)}))}ceil(){return this.withMutations((e=>{e.set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}floor(){return this.withMutations((e=>{e.set("width",Math.floor(this.width)).set("height",Math.floor(this.height))}))}swapDimensions(){return this.withMutations((e=>{e.set("width",this.height).set("height",this.width)}))}apply(e){const[t,n]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>{e.set("width",Math.abs(t)).set("height",Math.abs(n))}))}}},88804:(e,t,n)=>{"use strict";n.d(t,{Wm:()=>i.Z,eB:()=>h,E9:()=>r.Z,UL:()=>a.Z,$u:()=>s.Z,sl:()=>p});var o,r=n(52871),i=n(17746),a=n(55237),s=n(20449),l=n(84121),c=n(47347),u=n(60797);class d extends u.D{translate(e){let{x:t,y:n}=e;return this.transform(1,0,0,1,t,n)}translateX(e){return this.translate({x:e,y:0})}translateY(e){return this.translate({x:0,y:e})}scale(e,t){return t||(t=e),this.transform(e,0,0,t,0,0)}transform(e,t,n,o,r,i){const{a,b:s,c:l,d:c,e:u,f:d}=this;return this.withMutations((p=>p.set("a",e*a+n*s).set("b",t*a+o*s).set("c",e*l+n*c).set("d",t*l+o*c).set("e",e*u+n*d+r).set("f",t*u+o*d+i)))}rotate(e){(0,c.kG)(e%90==0,"Only multiples of 90° allowed.");const t=(360-e)*Math.PI/180,n=Math.cos(t),o=Math.sin(t);return this.transform(n,o,-o,n,0,0)}rotateRad(e){const t=Math.cos(e),n=Math.sin(e);return this.transform(t,n,-n,t,0,0)}inverse(){const{a:e,b:t,c:n,d:o,e:r,f:i}=this,a=e*o-t*n;return this.withMutations((s=>s.set("a",o/a).set("b",t/-a).set("c",n/-a).set("d",e/a).set("e",(n*i-o*r)/a).set("f",(e*i-t*r)/-a)))}toCssValue(){const{a:e,b:t,c:n,d:o,e:r,f:i}=this;return`matrix(${e.toFixed(2)}, ${t.toFixed(2)}, ${n.toFixed(2)}, ${o.toFixed(2)}, ${r.toFixed(2)}, ${i.toFixed(2)})`}applyToPoint(e){let[t,n]=e;const{a:o,b:r,c:i,d:a,e:s,f:l}=this;return[o*t+i*n+s,r*t+a*n+l]}applyToVector(e){let[t,n]=e;const{a:o,b:r,c:i,d:a}=this;return[o*t+i*n,r*t+a*n]}}o=d,(0,l.Z)(d,"defaultValues",{a:1,b:0,c:0,d:1,e:0,f:0}),(0,l.Z)(d,"IDENTITY",new o),(0,u.V)(d);const p=d;var f=n(35369);class h extends((0,f.WV)({left:0,top:0,right:0,bottom:0})){static applyToRect(e,t){if(!(e instanceof h))throw new c.p2("`inset` must be an instance of `PSPDFKit.Geometry.Inset`");if(!(t instanceof a.Z))throw new c.p2("`rect` must be an instance of `PSPDFKit.Geometry.Rect`");return new a.Z({top:t.top+e.top,left:t.left+e.left,width:t.width-(e.left+e.right),height:t.height-(e.top+e.bottom)})}static fromRect(e){return new h({left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height})}static fromValue(e){if("number"!=typeof e)throw new c.p2("The provided value must be a number");return new h({top:e,left:e,right:e,bottom:e})}apply(e){const t=e.applyToPoint([this.left,this.top]),n=e.applyToPoint([this.left,this.bottom]),o=e.applyToPoint([this.right,this.top]),r=e.applyToPoint([this.right,this.bottom]),i=Math.min(t[0],n[0],o[0],r[0]),a=Math.max(t[0],n[0],o[0],r[0]),s=Math.min(t[1],n[1],o[1],r[1]),l=Math.max(t[1],n[1],o[1],r[1]);return new h({left:i,right:a,top:s,bottom:l})}setScale(e){return new h({left:this.left*e,right:this.right*e,top:this.top*e,bottom:this.bottom*e})}}},66687:(e,t,n)=>{"use strict";n.d(t,{q6:()=>i.q6,Pg:()=>l,rp:()=>c.Z,R0:()=>a.R0,UW:()=>f,rF:()=>a.rF,Dz:()=>a.Dz,uh:()=>y.Z,Il:()=>h.Z,fB:()=>a.fB,sv:()=>T.ZP,Jn:()=>i.Jn,Bd:()=>L,em:()=>m.Z,ZS:()=>K,S:()=>x.Z,Wm:()=>r.Wm,Xs:()=>i.Xs,Wi:()=>a.Wi,KD:()=>a.KD,mv:()=>g.Z,Di:()=>o.Di,FV:()=>i.FV,sK:()=>i.sK,Zc:()=>i.Zc,eB:()=>r.eB,bp:()=>o.bp,o9:()=>i.o9,R1:()=>i.R1,Vi:()=>a.Vi,Qi:()=>i.Qi,sT:()=>C.Z,T3:()=>v.Z,E9:()=>r.E9,Hi:()=>i.Hi,om:()=>i.om,XQ:()=>a.XQ,UL:()=>r.UL,b3:()=>i.b3,UX:()=>i.UX,Yo:()=>a.Yo,dp:()=>D.Z,$u:()=>r.$u,hL:()=>i.hL,GI:()=>i.GI,ZM:()=>b.Z,R9:()=>i.R9,gd:()=>i.gd,$o:()=>a.$o,bi:()=>w.Z,On:()=>i.On,SV:()=>P,Bs:()=>E,lm:()=>o.lm,xu:()=>i.xu,Ih:()=>i.Ih,f7:()=>A.Z,gx:()=>O.Z,Vk:()=>k.Z,x_:()=>i.x_});var o=n(89335),r=n(88804),i=n(15973),a=n(59780),s=n(35369);class l extends((0,s.WV)({data:null})){}var c=n(1053),u=n(84121),d=n(60797);class p extends d.D{}(0,u.Z)(p,"defaultValues",{start:null,knee:null,end:null,cap:null,innerRectInset:null}),(0,d.V)(p);const f=p;var h=n(83634),m=(n(86071),n(11721)),g=(n(74985),n(81619),n(19209)),v=(n(18509),n(80399)),y=(n(19419),n(98663)),b=(n(89835),n(19568),n(49027)),w=n(65338),S=n(47347);class P extends((0,s.WV)({startNode:null,startOffset:null,endNode:null,endOffset:null})){startAndEndIds(){const e=this.startNode.parentNode,t=this.endNode.parentNode,n=parseInt(e.dataset.textlineId),o=parseInt(t.dataset.textlineId),r=parseInt(e.dataset.pageIndex),i=parseInt(t.dataset.pageIndex);return(0,S.kG)("number"==typeof n,"selection startId is not a number"),(0,S.kG)("number"==typeof o,"selection endId is not a number"),(0,S.kG)("number"==typeof r,"selection start pageIndex is not a number"),(0,S.kG)("number"==typeof i,"selection end pageIndex is not a number"),{startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:i}}}class E extends((0,s.WV)({textRange:null,startTextLineId:null,endTextLineId:null,startPageIndex:null,endPageIndex:null})){}var x=n(92947),D=n(57960),C=n(27646),k=n(47852),O=n(40725),A=n(34426),T=n(11863),I=n(80857),F=n(94905);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};N(void 0===t.numberOfContextWords||"number"==typeof t.numberOfContextWords,"numberOfContextWords must be a number."),super({type:e,options:_(_({},R.options),t)})}}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const j=(0,I.Z)("DocumentDescriptor"),z={filePath:void 0,password:void 0,pageIndexes:[],jwt:void 0};class K extends((0,s.WV)(z)){constructor(e){!function(e){let{filePath:t,pageIndexes:n,password:o,jwt:r}=e;t&&j("string"==typeof t||t instanceof ArrayBuffer,"filePath must be a string or ArrayBuffer.");null!=r&&j("string"==typeof r&&r.length>0,"jwt must be a non-empty string.");null!=o&&j("string"==typeof o&&o.length>0,"password must be a non-empty string.");j(n.length>0,"pageIndexes must be a non-empty array."),j(n.every((e=>"number"==typeof e||Array.isArray(e)&&2===e.length&&e.every((e=>"number"==typeof e)))),"pageIndexes must be an array of numbers or arrays of two numbers.")}(e),super(function(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>a});var o=n(35369),r=n(36489),i=n(79827);class a extends((0,o.WV)({unitFrom:r.s.INCHES,unitTo:i.K.INCHES,fromValue:1,toValue:1})){}},46791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({pageIndex:null,previewText:"",locationInPreview:null,lengthInPreview:null,rectsOnPage:(0,o.aV)(),isAnnotation:null,annotationRect:null})){}},56169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({isFocused:!1,isLoading:!1,term:"",focusedResultIndex:-1,results:(0,o.aV)(),minSearchQueryLength:1})){}},79329:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var o=n(97413),r=n(19702);const i={Sidebar:Object.values(r.f)};function a(e){for(const t in e)if(e.hasOwnProperty(t)){(0,o.k)(void 0!==typeof i[t],`'${t}' is not a customizable UI element. Customizable UI elements are: ${Object.keys(i).join(", ")}`);const n=i[t];(0,o.k)(Object.keys(e[t]).every((e=>n.includes(e))),`The provided custom UI configuration contains one or more invalid keys for "${t}". Valid "${t}" keys are: ${n.join(",")}`),(0,o.k)(Object.values(e[t]).every((e=>"function"==typeof e)),"The custom UI values provided must be callback functions.")}return e}},24382:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,Z:()=>c});var o=n(47347),r=n(63738),i=n(41194),a=n(60132),s=n(91039);const l="The API you're trying to use requires a digital signatures license. Digital Signatures is a component of PSPDFKit for Web and sold separately.";function c(e,t){t.getSignaturesInfo=function(){const{features:t,backend:n}=e.getState();return(0,o.kG)(t.includes(a.q.DIGITAL_SIGNATURES),l),(0,o.kG)(n),n.getSignaturesInfo().then((t=>(e.dispatch((0,i.Y)(t)),t)))},t.signDocument=function(t,n){const{features:c,backend:u}=e.getState();var d;((0,o.kG)(c.includes(a.q.DIGITAL_SIGNATURES),l),t&&(0,s.w2)(t,u),"STANDALONE"===(null==u?void 0:u.type))?null!=t&&t.signingData?(0,o.kG)(void 0===n||void 0===(null==t||null===(d=t.signingData)||void 0===d?void 0:d.privateKey),"On a Standalone deployment, when `signaturePreparationData.signingData.privateKey` is set, `twoStepSignatureCallbackOrSigningServiceData` should not be provided."):(0,o.kG)("function"==typeof n,"On a Standalone deployment, when `signaturePreparationData.signingData` is not provided or does not include a `privateKey`, `twoStepSignatureCallbackOrSigningServiceData` must be a function."):"SERVER"===(null==u?void 0:u.type)&&(0,o.kG)(!n||"object"==typeof n,"On a Server deployment, `twoStepSignatureCallbackOrSigningServiceData` must be a `PSPDFKit.SigningServiceData` object if specified.");return e.dispatch((0,r.d9)()),new Promise(((o,a)=>{e.dispatch((0,i.e)(t,n,(()=>{e.dispatch((0,r.t6)()),o()}),(t=>{e.dispatch((0,r.t6)()),a(t)})))}))}}},13394:(e,t,n)=>{"use strict";n.d(t,{I:()=>l,Z:()=>u});var o=n(47347);function r(e){return(0,o.kG)(Array.isArray(e)&&e.length>0,"Operations must be a non-empty array of operations."),e.forEach((e=>{(0,o.kG)(e.hasOwnProperty("type"),"Invalid operation: no `type` field")})),e}var i=n(20234),a=n(2810),s=n(60132);const l="The API you're trying to use requires a document editing license. Document editing is a component of PSPDFKit for Web and sold separately.",c=["document.change"];function u(e,t){e.getState().eventEmitter.events.push(...c),t.applyOperations=function(t){const{features:n}=e.getState();return(0,o.kG)(n.includes(s.q.DOCUMENT_EDITING),l),r(t),new Promise(((n,o)=>{e.dispatch((0,i.b_)(t,n,o))}))},t.exportPDFWithOperations=async function(t){const{features:n,backend:i}=e.getState();return(0,o.kG)(n.includes(s.q.DOCUMENT_EDITING),l),r(t),(0,o.kG)(i),i.exportPDFWithOperations(t.map(a.kg))}}},25797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m,q:()=>h});var o=n(84121),r=n(47347),i=n(67366),a=n(24852),s=n(63738),l=n(69939),c=n(96617),u=n(60132),d=n(83253);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t{y.forEach((t=>{e.dispatch((0,l.$d)(t))}))}));else if("SERVER"===s.type&&!s.isUsingInstantProvider()){var b;const{alreadyLoadedPages:e}=s.provider.state,t=y.filter((t=>e.has(t.pageIndex)));null===(b=o.annotationManager)||void 0===b||b.backendObjectsCreated(y,d.z),m.emit("annotations.create",t)}return y.map((e=>e.id))},t.applyRedactions=function(){const{features:t}=e.getState();if(!t.includes(u.q.REDACTIONS))throw new r.p2(h);return e.dispatch((0,s.fq)()),new Promise(((t,n)=>(e.dispatch((0,a.g)((()=>{e.dispatch((0,s.Di)()),t()}),(t=>{e.dispatch((0,s.Di)()),n(t)}))),t)))}}},66209:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,Z:()=>c});var o=n(35369),r=n(47347),i=n(18803),a=n(49177);class s extends((0,o.WV)({startTextLineId:null,endTextLineId:null,startPageIndex:null,endPageIndex:null,startNode:null,startOffset:null,endNode:null,endOffset:null,getText:null,getSelectedTextLines:null,getBoundingClientRect:null,getSelectedRectsPerPage:null})){}const l=["textSelection.change"];function c(e,t){t.getTextSelection=function(){var t,n,o,l;const c=e.getState(),u=c.currentTextSelection;return u?new s({startTextLineId:u.startTextLineId,endTextLineId:u.endTextLineId,startPageIndex:u.startPageIndex,endPageIndex:u.endPageIndex,startNode:null===(t=u.textRange)||void 0===t?void 0:t.startNode,startOffset:null===(n=u.textRange)||void 0===n?void 0:n.startOffset,endNode:null===(o=u.textRange)||void 0===o?void 0:o.endNode,endOffset:null===(l=u.textRange)||void 0===l?void 0:l.endOffset,getText:async()=>(0,i.Q)(c,u),getSelectedTextLines:async()=>((0,r.kG)(u.textRange),(0,i.ZJ)(c,u.textRange).valueSeq().toList().flatten(!0)),getBoundingClientRect:async()=>((0,r.kG)(u.textRange),(0,i.U2)(c,u.textRange)),getSelectedRectsPerPage:async()=>(0,a.rf)(c)}):null};let n=e.getState();const{eventEmitter:o}=n;return o.events.push(...l),e.subscribe((()=>{const r=e.getState();n.currentTextSelection!==r.currentTextSelection&&o.emit("textSelection.change",t.getTextSelection()),n=r}))}},59739:(e,t,n)=>{"use strict";n.d(t,{F3:()=>j,ZP:()=>L,eV:()=>B});var o=n(67366),r=n(47347),i=n(75920),a=n(91859),s=n(19702),l=n(65872),c=n(64494),u=n(28098),d=n(13394),p=n(62164),f=n(24382),h=n(19815),m=n(55909),g=n(70006),v=n(47710),y=n(5020),b=n(77973),w=n(20792),S=n(34573),P=n(52560),E=n(66687),x=n(38151),D=n(63738),C=n(3219),k=n(99745),O=n(58568),A=n(16126),T=n(96114),I=n(72131),F=n(60132),M=n(97528),_=n(72643);const N=["viewState.change","viewState.currentPageIndex.change","viewState.zoom.change"],R=["cropArea.changeStart","cropArea.changeStop"];function L(e,t){const{eventEmitter:n}=e.getState();let l=!0,c=b();function g(){if(!l)return;const e=b(),t=c;c=e;const o=t.delete("instance"),r=e.delete("instance");o.equals(r)||(t.currentPageIndex!==e.currentPageIndex&&n.emit("viewState.currentPageIndex.change",e.currentPageIndex),t.zoom!==e.zoom&&n.emit("viewState.zoom.change",e.zoom),n.emit("viewState.change",e,t))}n.events.push(...N),n.events.push(...R);const v=e.subscribe(g);function b(){const n=e.getState();return(0,k.w)(n,t)}return Object.defineProperty(t,"viewState",{enumerable:!0,configurable:!1,get:b}),t.setViewState=function(t){let n=t;if("function"==typeof n&&(n=n.call(null,b())),!(n instanceof E.f7)){const e="function"==typeof n?"return value of your update function":"supplied argument";throw new r.p2(`The ${e} is not an instance of PSPDFKit.ViewState.`)}l=!1,n=j(n,e),function(e,t,n){t.zoom!==n.zoom&&(n.zoom===u.c.AUTO?e.dispatch((0,C._R)()):n.zoom===u.c.FIT_TO_VIEWPORT?e.dispatch((0,C.lO)()):n.zoom===u.c.FIT_TO_WIDTH?e.dispatch((0,C.du)()):"number"==typeof n.zoom&&e.dispatch((0,C.Ic)(n.zoom)));if(t.pagesRotation!==n.pagesRotation){const o=(0,y.n5)(n.pagesRotation-t.pagesRotation);e.dispatch((0,C.U1)(o))}t.layoutMode!==n.layoutMode&&e.dispatch((0,D.YA)(n.layoutMode));t.scrollMode!==n.scrollMode&&e.dispatch((0,D._U)(n.scrollMode));t.showToolbar!==n.showToolbar&&(t.showToolbar?e.dispatch((0,D.iu)()):e.dispatch((0,D.bv)()));t.enableAnnotationToolbar!==n.enableAnnotationToolbar&&(t.enableAnnotationToolbar?e.dispatch((0,D.Wv)()):e.dispatch((0,D.m$)()));t.allowPrinting!==n.allowPrinting&&(n.allowPrinting?e.dispatch((0,D.Ol)()):e.dispatch((0,D.m0)()));t.allowExport!==n.allowExport&&(n.allowExport?e.dispatch((0,D.Rx)()):e.dispatch((0,D.YI)()));t.zoomStep!==n.zoomStep&&(!n.zoomStep||n.zoomStep<1?((0,r.ZK)(`The zoomStep value must be greater than 1. The value you provided was ${n.zoomStep}.The zoomStep value will be set to default ${a.V4}`),e.dispatch((0,D.Ql)(a.V4))):e.dispatch((0,D.Ql)(n.zoomStep)));t.disablePointSnapping!==n.disablePointSnapping&&"boolean"==typeof n.disablePointSnapping&&e.dispatch((0,D.VF)(n.disablePointSnapping));const l=e.getState();t.showSignatureValidationStatus!==n.showSignatureValidationStatus&&((0,r.kG)(l.features.includes(F.q.DIGITAL_SIGNATURES),f.C),e.dispatch((0,D.A7)(n.showSignatureValidationStatus)));(!0===n.formDesignMode||(0,A.fF)(n.interactionMode))&&((0,r.kG)(l.features.includes(F.q.FORM_DESIGNER),m.RB),(0,r.kG)(l.backend&&(0,h.k_)(l.backend),m.Bl));!0===n.previewRedactionMode&&(0,r.kG)(l.features.includes(F.q.REDACTIONS),"The API you're trying to use requires a redactions license. Redactions is a component of PSPDFKit for Web and sold separately.");n.interactionMode===w.A.DOCUMENT_EDITOR&&(0,r.kG)(l.features.includes(F.q.DOCUMENT_EDITING),d.I);n.interactionMode===w.A.CONTENT_EDITOR&&(0,r.kG)(l.features.includes(F.q.CONTENT_EDITING),_.Aq);t.formDesignMode!==n.formDesignMode&&e.dispatch((0,D.LE)(n.formDesignMode));if(t.interactionMode!==n.interactionMode){if(null!=n.interactionMode){const r=B(n.interactionMode,l),i=t.interactionMode?B(t.interactionMode,l):null;(n.interactionMode===w.A.DOCUMENT_EDITOR&&(0,h.Xr)({features:l.features,backendPermissions:l.backendPermissions,documentPermissions:l.documentPermissions,readOnlyEnabled:l.readOnlyEnabled})||n.interactionMode===w.A.CONTENT_EDITOR&&(0,h.qs)({features:l.features,backendPermissions:l.backendPermissions,documentPermissions:l.documentPermissions,readOnlyEnabled:l.readOnlyEnabled})||!n.readOnly||r.allowWhenInReadOnlyMode)&&(0,o.dC)((()=>{i&&e.dispatch(i.onLeaveAction()),e.dispatch(r.onEnterAction())}))}else if(null!=t.interactionMode){const n=B(t.interactionMode,l);e.dispatch((0,S.fz)()),e.dispatch(n.onLeaveAction())}n.interactionMode===w.A.INK_SIGNATURE&&(0,i.a1)("PSPDFKit.InteractionMode.INK_SIGNATURE was deprecated and will be removed in future version. Please use PSPDFKit.InteractionMode.SIGNATURE instead.")}t.readOnly!==n.readOnly&&(n.readOnly?e.dispatch((0,D.oX)(I.J.VIA_VIEW_STATE)):e.dispatch((0,D.ek)()));t.showAnnotations!==n.showAnnotations&&(n.showAnnotations?e.dispatch((0,D.cI)()):e.dispatch((0,D.Tu)()));t.showComments!==n.showComments&&((0,r.kG)(l.features.includes(F.q.COMMENTS),p.kx),n.showComments?e.dispatch((0,D.Q8)()):e.dispatch((0,D.u0)()));t.showAnnotationNotes!==n.showAnnotationNotes&&(n.showAnnotationNotes?e.dispatch((0,D.T)()):e.dispatch((0,D.SE)()));const c={[s.f.ANNOTATIONS]:D.ze,[s.f.BOOKMARKS]:D.Hf,[s.f.DOCUMENT_OUTLINE]:D.EJ,[s.f.THUMBNAILS]:D.el,[s.f.CUSTOM]:D.rd};t.sidebarMode!==n.sidebarMode&&(null===n.sidebarMode?e.dispatch((0,D.mu)()):e.dispatch(c[n.sidebarMode]()));t.sidebarPlacement!==n.sidebarPlacement&&e.dispatch((0,D.Ox)(n.sidebarPlacement));t.sidebarOptions!==n.sidebarOptions&&e.dispatch((0,D.vI)(n.sidebarOptions));t.spreadSpacing!==n.spreadSpacing&&e.dispatch((0,D.JN)(n.spreadSpacing));t.pageSpacing!==n.pageSpacing&&e.dispatch((0,D.vY)(n.pageSpacing));t.keepFirstSpreadAsSinglePage!==n.keepFirstSpreadAsSinglePage&&e.dispatch((0,D.EY)(n.keepFirstSpreadAsSinglePage));if(t.viewportPadding.horizontal!==n.viewportPadding.horizontal||t.viewportPadding.vertical!==n.viewportPadding.vertical){const t=new E.E9({x:n.viewportPadding.horizontal,y:n.viewportPadding.vertical});e.dispatch((0,D._P)(t))}t.currentPageIndex!==n.currentPageIndex&&e.dispatch((0,C.YA)(n.currentPageIndex));t.previewRedactionMode!==n.previewRedactionMode&&e.dispatch((0,D.P_)(n.previewRedactionMode));n.canScrollWhileDrawing&&!t.canScrollWhileDrawing&&e.dispatch((0,D.xW)());!n.canScrollWhileDrawing&&t.canScrollWhileDrawing&&e.dispatch((0,D.Ft)());n.keepSelectedTool&&e.dispatch((0,D.HT)());!n.keepSelectedTool&&t.keepSelectedTool&&e.dispatch((0,D.Xv)());if(t.sidebarWidth!==n.sidebarWidth){const t=e.getState(),{containerRect:r}=t,i={width:n.sidebarWidth,height:r.height};(0,o.dC)((()=>{e.dispatch((0,C.Pt)(n.sidebarWidth)),e.dispatch((0,C.dx)((0,O.p)(t,i,n.sidebarWidth),!1))})),t.viewportState.viewportRect.set("height",i.height)}}(e,b(),n),l=!0,g()},v}function B(e,t){return{[w.A.TEXT_HIGHLIGHTER]:{onEnterAction:D.d5,onLeaveAction:D.lC,allowWhenInReadOnlyMode:!1},[w.A.INK]:{onEnterAction:D.P4,onLeaveAction:D.s3,allowWhenInReadOnlyMode:!1},[w.A.INK_ERASER]:{onEnterAction:D.Ug,onLeaveAction:D.VU,allowWhenInReadOnlyMode:!1},[w.A.STAMP_PICKER]:{onEnterAction:D.C4,onLeaveAction:D.pM,allowWhenInReadOnlyMode:!1},[w.A.STAMP_CUSTOM]:{onEnterAction:D._z,onLeaveAction:D.pM,allowWhenInReadOnlyMode:!1},[w.A.INK_SIGNATURE]:{onEnterAction:D.Cc,onLeaveAction:D.MV,allowWhenInReadOnlyMode:!1},[w.A.SIGNATURE]:{onEnterAction:D.Cc,onLeaveAction:D.MV,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_LINE]:{onEnterAction:(0,D.p9)(E.o9,w.A.SHAPE_LINE),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_RECTANGLE]:{onEnterAction:(0,D.p9)(E.b3,w.A.SHAPE_RECTANGLE),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_ELLIPSE]:{onEnterAction:(0,D.p9)(E.Xs,w.A.SHAPE_ELLIPSE),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_POLYGON]:{onEnterAction:(0,D.p9)(E.Hi,w.A.SHAPE_POLYGON),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_POLYLINE]:{onEnterAction:(0,D.p9)(E.om,w.A.SHAPE_POLYLINE),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.NOTE]:{onEnterAction:D.i9,onLeaveAction:D.dp,allowWhenInReadOnlyMode:!1},[w.A.COMMENT_MARKER]:{onEnterAction:()=>((0,r.kG)(t&&t.features.includes(F.q.COMMENTS),p.kx),(0,D.k6)()),onLeaveAction:()=>((0,r.kG)(t&&t.features.includes(F.q.COMMENTS),p.kx),(0,D.tr)()),allowWhenInReadOnlyMode:!1},[w.A.TEXT]:{onEnterAction:D.DU,onLeaveAction:D.k4,allowWhenInReadOnlyMode:!1},[w.A.CALLOUT]:{onEnterAction:D.Lt,onLeaveAction:D.k4,allowWhenInReadOnlyMode:!1},[w.A.PAN]:{onEnterAction:C.vc,onLeaveAction:C.Yr,allowWhenInReadOnlyMode:!0},[w.A.SEARCH]:{onEnterAction:g.Xe,onLeaveAction:g.ct,allowWhenInReadOnlyMode:!0},[w.A.DOCUMENT_EDITOR]:{onEnterAction:D.lV,onLeaveAction:D.sJ,allowWhenInReadOnlyMode:!1},[w.A.MARQUEE_ZOOM]:{onEnterAction:D.xF,onLeaveAction:D.si,allowWhenInReadOnlyMode:!0},[w.A.REDACT_TEXT_HIGHLIGHTER]:{onEnterAction:D.aw,onLeaveAction:D.TR,allowWhenInReadOnlyMode:!1},[w.A.REDACT_SHAPE_RECTANGLE]:{onEnterAction:D.t,onLeaveAction:D.jP,allowWhenInReadOnlyMode:!1},[w.A.DOCUMENT_CROP]:{onEnterAction:D.rL,onLeaveAction:D.Cn,allowWhenInReadOnlyMode:!1},[w.A.CONTENT_EDITOR]:{onEnterAction:()=>x.gY,onLeaveAction:()=>x.u8,allowWhenInReadOnlyMode:!1},[w.A.FORM_CREATOR]:{onEnterAction:T.el,onLeaveAction:T.h4,allowWhenInReadOnlyMode:!1},[w.A.SIGNATURE_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.SIGNATURE_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.LIST_BOX_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.LIST_BOX_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.COMBO_BOX_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.COMBO_BOX_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.CHECKBOX_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.CHECKBOX_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.RADIO_BUTTON_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.RADIO_BUTTON_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.TEXT_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.TEXT_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.BUTTON_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.BUTTON_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.DATE_WIDGET]:{onEnterAction:()=>(0,D.UF)(w.A.DATE_WIDGET),onLeaveAction:D.XX,allowWhenInReadOnlyMode:!1},[w.A.LINK]:{onEnterAction:D.Jn,onLeaveAction:D.UU,allowWhenInReadOnlyMode:!1},[w.A.DISTANCE]:{onEnterAction:(0,D.p9)(E.o9,w.A.DISTANCE),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.PERIMETER]:{onEnterAction:(0,D.p9)(E.om,w.A.PERIMETER),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.RECTANGLE_AREA]:{onEnterAction:(0,D.p9)(E.b3,w.A.RECTANGLE_AREA),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.ELLIPSE_AREA]:{onEnterAction:(0,D.p9)(E.Xs,w.A.ELLIPSE_AREA),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.POLYGON_AREA]:{onEnterAction:(0,D.p9)(E.Hi,w.A.POLYGON_AREA),onLeaveAction:D.Ce,allowWhenInReadOnlyMode:!1},[w.A.MULTI_ANNOTATIONS_SELECTION]:{onEnterAction:D.YF,onLeaveAction:D.FA,allowWhenInReadOnlyMode:!1},[w.A.MEASUREMENT_SETTINGS]:{onEnterAction:(0,D.PR)(),onLeaveAction:(0,D.jJ)(),allowWhenInReadOnlyMode:!1}}[e]}function j(e,t){var n,o;const i=t?t.getState():null;if("number"!=typeof e.currentPageIndex)throw new r.p2("The currentPageIndex set on the new ViewState is not of type `number`.");if(e.disablePointSnapping&&"boolean"!=typeof e.disablePointSnapping)throw new r.p2("The disablePointSnapping set on the new ViewState is not of type `boolean`.");if(i&&(e.currentPageIndex<0||e.currentPageIndex>=i.totalPages))throw new r.p2(`The currentPageIndex set on the new ViewState is out of bounds.\nThe index is expected to be in the range from 0 to ${i.totalPages-1} (inclusive).`);if("number"==typeof e.zoom){if(i){const{viewportState:t}=i,n=(0,P.Yo)(t),o=(0,P.Sm)(t);if(e.zoomo)throw new r.p2(`The supplied zoom level is larger than the maximum zoom level for this document (${o})`)}}else if(e.zoom!==u.c.AUTO&&e.zoom!==u.c.FIT_TO_WIDTH&&e.zoom!==u.c.FIT_TO_VIEWPORT)throw new r.p2("The supplied zoom mode is not valid.\nValid zoom modes are: PSPDFKit.ZoomMode.AUTO, PSPDFKit.ZoomMode.FIT_TO_VIEWPORT, or PSPDFKit.ZoomMode.FIT_TO_WIDTH");if(e.pagesRotation%90!=0)throw new r.p2("The supplied pagesRotation must be a multiple of 90°.");if(e.layoutMode!==b.X.SINGLE&&e.layoutMode!==b.X.DOUBLE&&e.layoutMode!==b.X.AUTO)throw new r.p2("The supplied layout mode is not valid.\nValid layout modes are: PSPDFKit.LayoutMode.SINGLE, PSPDFKit.LayoutMode.DOUBLE, or PSPDFKit.LayoutMode.AUTO");if(e.scrollMode!==v.G.CONTINUOUS&&e.scrollMode!==v.G.PER_SPREAD&&e.scrollMode!==v.G.DISABLED)throw new r.p2("The supplied scroll mode is not valid.\nValid scroll modes are: PSPDFKit.ScrollMode.CONTINUOUS, PSPDFKit.ScrollMode.PER_SPREAD, or PSPDFKit.ScrollMode.DISABLED");if(e.showSignatureValidationStatus!==c.W.IF_SIGNED&&e.showSignatureValidationStatus!==c.W.HAS_ERRORS&&e.showSignatureValidationStatus!==c.W.HAS_WARNINGS&&e.showSignatureValidationStatus!==c.W.NEVER)throw new r.p2("The supplied mode for showing the digital signature validation UI is not valid.");if("number"!=typeof e.spreadSpacing||e.spreadSpacing<0)throw new r.p2(`Expected \`spreadSpacing\` to be a positive number but instead got: ${e.spreadSpacing}.`);if("number"!=typeof e.pageSpacing||e.pageSpacing<0)throw new r.p2(`Expected \`pageSpacing\` to be a positive number but instead got: ${e.pageSpacing}.`);if("boolean"!=typeof e.keepFirstSpreadAsSinglePage)throw new r.p2(`Expected \`keepFirstSpreadAsSinglePage\` to be a boolean but instead got: ${e.keepFirstSpreadAsSinglePage}.`);if("number"!=typeof e.viewportPadding.vertical)throw new r.p2("The supplied viewportPadding has a missing property: vertical not found");if("number"!=typeof e.viewportPadding.horizontal)throw new r.p2("The supplied viewportPadding has a missing property: horizontal not found");if(e.viewportPadding.vertical<0||e.viewportPadding.horizontal<0)throw new r.p2("The supplied viewportPadding horizontal or vertical value is not a positive number");if("boolean"!=typeof e.allowPrinting)throw new r.p2("`allowPrinting` must be of type boolean.");if(i&&!0===e.allowPrinting&&!i.backendPermissions.downloadingAllowed)throw new r.p2("To enable printing, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.allowExport)throw new r.p2("`allowExport` must be of type boolean.");if(i&&!0===e.allowExport&&!i.backendPermissions.downloadingAllowed)throw new r.p2("To enable PDF export, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.previewRedactionMode)throw new r.p2("`previewRedactionMode` must be of type boolean.");if("boolean"!=typeof e.readOnly)throw new r.p2("`readOnly` must be of type boolean.");if(!i||!1!==e.readOnly||M.Options.IGNORE_DOCUMENT_PERMISSIONS||!i.backendPermissions.readOnly&&(i.documentPermissions.annotationsAndForms||i.documentPermissions.fillForms)||(e=e.set("readOnly",!0),(0,r.ZK)("It’s not possible to change PSPDFKit.ViewState#readOnly to false if the current backend or document permissions do not allow it. For document permissions, you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit.")),e.interactionMode&&Object.values(w.A).indexOf(e.interactionMode)<0)throw new r.p2(`The supplied interaction mode is not valid.\nValid view modes are: ${Object.keys(w.A).map((e=>`PSPDFKit.InteractionMode.${e}`)).join(", ")}`);if(null!=e.interactionMode){const t=B(e.interactionMode,i);null!=i&&(e.interactionMode===w.A.DOCUMENT_EDITOR&&(0,h.Xr)({features:i.features,backendPermissions:i.backendPermissions,documentPermissions:i.documentPermissions,readOnlyEnabled:i.readOnlyEnabled})||e.interactionMode===w.A.CONTENT_EDITOR&&(0,h.qs)({features:i.features,backendPermissions:i.backendPermissions,documentPermissions:i.documentPermissions,readOnlyEnabled:i.readOnlyEnabled}))||!e.readOnly||t.allowWhenInReadOnlyMode||((0,r.ZK)(`Can’t set PSPDFKit.ViewState#interactionMode to ${e.interactionMode} when PSPDFKit.ViewState#readOnly is true.`),e=e.set("interactionMode",null))}if("boolean"!=typeof e.showAnnotations)throw new r.p2("`showAnnotations` must be of type boolean.");if(!1===e.showAnnotations&&!1===e.readOnly)throw new r.p2("In order to hide annotations, you must also enable read only mode.");if("boolean"!=typeof e.showComments)throw new r.p2("`showComments` must be of type boolean.");if("boolean"!=typeof e.showAnnotationNotes)throw new r.p2("`showAnnotationNotes` must be of type boolean.");if(e.sidebarMode&&Object.values(s.f).indexOf(e.sidebarMode)<0)throw new r.p2(`The supplied sidebar mode is not valid.\nValid view modes are: ${Object.keys(s.f).map((e=>`PSPDFKit.SidebarMode.${e}`)).join(", ")} or \`null\`.`);if(Object.values(l.d).indexOf(e.sidebarPlacement)<0)throw new r.p2(`The supplied sidebar placement is not valid.\nValid placements are: ${Object.keys(l.d).map((e=>`PSPDFKit.SidebarPlacement.${e}`)).join(" or ")}.`);if(null===(n=e.sidebarOptions)||void 0===n||!n[s.f.ANNOTATIONS])throw new r.p2("The supplied sidebar options configuration is missing the required `PSPDFKit.SidebarMode.ANNOTATIONS` property.");if(!Array.isArray(null===(o=e.sidebarOptions[s.f.ANNOTATIONS])||void 0===o?void 0:o.includeContent))throw new r.p2("The `includeContent` property is mandatory for the `PSPDFKit.SidebarMode.ANNOTATIONS` sidebar options and it must be an array");if(e.sidebarOptions[s.f.ANNOTATIONS].includeContent.length&&e.sidebarOptions[s.f.ANNOTATIONS].includeContent.some((e=>!(e.prototype instanceof E.q6)&&e!==E.sv)))throw new r.p2("The `includeContent` array can only contain annotations classes or `PSPDFKit.Comment` as possible values");if("boolean"!=typeof e.canScrollWhileDrawing)throw new r.p2("`canScrollWhileDrawing` must be of type boolean.");if("boolean"!=typeof e.keepSelectedTool)throw new r.p2("`keepSelectedTool` must be of type boolean.");if("number"!=typeof e.sidebarWidth)throw new r.p2("`sidebarWidth` must be of type number.");return e}},95651:(e,t,n)=>{"use strict";n.d(t,{A8:()=>ue,AC:()=>oe,B7:()=>be,CU:()=>fe,Dc:()=>U,Dl:()=>D,F3:()=>Z,Fp:()=>T,IO:()=>q,Jy:()=>ge,Km:()=>V,SY:()=>C,TL:()=>re,TW:()=>J,U7:()=>te,Vc:()=>W,Wj:()=>k,X5:()=>j,Xu:()=>Q,YV:()=>ye,_E:()=>E,_R:()=>ne,_k:()=>ve,a$:()=>G,aI:()=>$,bz:()=>A,d:()=>F,dk:()=>ce,eD:()=>ee,eJ:()=>me,fc:()=>L,fk:()=>O,hG:()=>K,ip:()=>R,lx:()=>B,oF:()=>de,om:()=>z,pe:()=>se,sH:()=>S,tM:()=>le,tl:()=>pe,ud:()=>P,vj:()=>Y,vk:()=>M,x2:()=>I,xU:()=>H,xc:()=>_,xp:()=>N,yU:()=>X,z1:()=>he});var o=n(84121),r=n(35369),i=n(47347),a=n(34997),s=n(66687),l=n(18146),c=n(41952),u=n(91859),d=n(97528),p=n(88804),f=n(35129),h=n(83634),m=n(39728),g=n(51731),v=n(20792),y=n(75669);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function w(e){for(var t=1;t({color:new h.Z({r:e.color.r,g:e.color.g,b:e.color.b}),localization:e.localization})))}catch(e){return(0,i.ZK)(`Wrong color data stored in localStorage: ${e.message}`),[]}return[]}catch(e){return[]}}function P(e,t){return(0,i.kG)("number"==typeof t.pageIndex,"Annotation has no valid pageIndex"),(0,i.kG)(!e.annotations.has(t.id),`Annotation ID (${t.id}) is already known`),t.pageIndex<0||t.pageIndex>=e.pages.size?((0,i.ZK)(`Tried to add an annotation (ID: ${t.id}) with an out of bounds page index. This annotation was skipped.`),e):(t instanceof s.sK&&(0,i.kG)(Z(t.imageAttachmentId),"imageAttachmentId is not a valid hash or pdfObjectId"),e.withMutations((e=>{var n;t.id||(t=t.set("id",_())),e.setIn(["annotations",t.id],t),null!==(n=e.isAPStreamRendered)&&void 0!==n&&n.call(e,t)&&!ee(t)&&e.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)();return e.add(t.id)})),x(e,t),(0,m._d)(e,t)})))}function E(e,t){(0,i.kG)("string"==typeof t.id,"Annotation has no valid id");const n=e.annotations.get(t.id);return(0,i.kG)(n instanceof s.q6,`Annotation with id ${t.id} not found and thus the update was ignored.`),e.withMutations((o=>{var i,a;null!=t.pageIndex&&x(o,t),!0!==t.noView&&!0!==t.hidden||!o.selectedAnnotationIds.has(t.id)||(o.delete("selectedAnnotationMode"),o.set("interactionMode",null),o.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t.id)))),o.update("hoverAnnotationIds",(e=>e.delete(t.id)))),o.setIn(["annotations",t.id],t);const s=e.activeAnnotationNote;s&&(null===(i=s.parentAnnotation)||void 0===i?void 0:i.id)===t.id&&(t.note?t.note!==s.text.value&&o.set("activeAnnotationNote",s.set("text",{format:"plain",value:t.note})):o.set("activeAnnotationNote",null));const l=e.hoverAnnotationNote;l&&(null===(a=l.parentAnnotation)||void 0===a?void 0:a.id)===t.id&&(t.note?t.note!==l.text.value&&o.set("hoverAnnotationNote",l.set("text",{format:"plain",value:t.note})):o.set("hoverAnnotationNote",null));const c=se((()=>o),t,(()=>{var e;null!==(e=o.isAPStreamRendered)&&void 0!==e&&e.call(o,t)&&oe(n,t)&&T(n)===T(t)&&o.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)();return e.add(t.id)}))}));(0,m.GW)(o,n,t,c)}))}function x(e,t){return e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(t.id)))}function D(e,t){const n=e.annotations.get(t);return(0,i.kG)(n instanceof s.q6,"Annotation is unknown"),e.withMutations((o=>{var r,i,a;o.selectedAnnotationIds.has(t)&&(o.delete("selectedAnnotationMode"),o.interactionMode!==v.A.FORM_CREATOR&&o.set("interactionMode",null)),o.update("annotations",(e=>e.delete(t))),o.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t)))),o.update("annotationPresetIds",(e=>e.filterNot((e=>e===t)))),o.update("hoverAnnotationIds",(e=>e.delete(t))),null!==o.annotationsIdsToDelete&&o.update("annotationsIdsToDelete",(e=>null==e?void 0:e.filterNot((e=>e===t))));const s=e.activeAnnotationNote;s&&(null===(r=s.parentAnnotation)||void 0===r?void 0:r.id)===t&&o.set("activeAnnotationNote",null);const l=e.hoverAnnotationNote;if(l&&(null===(i=l.parentAnnotation)||void 0===i?void 0:i.id)===t&&o.set("hoverAnnotationNote",null),null==(null==n?void 0:n.pageIndex))return;o.deleteIn(["pages",n.pageIndex,"annotationIds",t]);const c=e.invalidAPStreams.get(n.pageIndex),u=(!c||!c.has(t))&&(null===(a=e.isAPStreamRendered)||void 0===a?void 0:a.call(e,n));(0,m.WF)(o,n,u),"number"==typeof n.pdfObjectId&&(o.deleteIn(["APStreamVariantsRollover",n.pdfObjectId]),o.deleteIn(["APStreamVariantsDown",n.pdfObjectId]))}))}function C(e,t){const{boundingBox:n}=e;if(e instanceof s.Qi){const e=n.getLocation(),o=(new p.sl).translate(e.scale(-1)).rotate(t).translate(e);return n.apply(o)}return n}function k(e,t,n){return(0,c.q)(C(e,t),n)}function O(e,t,n,o,r){var a;let l=e instanceof s.q6&&("points"in e&&(null===(a=e.points)||void 0===a?void 0:a.toJS())||"startPoint"in e&&e.startPoint&&e.endPoint&&[e.startPoint.toJS(),e.endPoint.toJS()]);if(W(e)){(0,i.kG)(e instanceof s.gd,"Callout annotation is not a TextAnnotation");const{callout:t}=e;(0,i.kG)(t,"Callout annotation has no callout");const{knee:n,start:o}=t;l=[o,n].map((e=>null==e?void 0:e.toJS()))}const u=(0,c.K)(o);return Array.isArray(l)?l.map((e=>({x:r+u+(e.x-t.left)*n,y:r+u+(e.y-t.top)*n}))):[]}function A(e){const t=null!=e.pageIndex;return e instanceof s.gd?t&&null!=e.text.value&&""!==e.text.value:e instanceof s.Hi||e instanceof s.om?t&&null!=e.points&&e.points.size>1:t}function T(e){return!1===e.noView&&!0!==e.hidden}function I(e){return!1===e.noPrint&&!0!==e.hidden}function F(e){return!(e instanceof s.Ih)}function M(e){return e?e.replace(/[A-Z]/g,"-$&").toLowerCase():null}const _=a.SK;function N(e,t){return function(e,t){return t.map((function(t){return e.get(t)})).filter(Boolean).toList()}(e,t.annotationIds)}function R(e){return e.boundingBox.setLocation(new s.E9)}const L=(0,r.D5)([["stroke-color","strokeColor"],["background-color","backgroundColor"],["color","color"],["fill-color","fillColor"],["font-color","fontColor"],["outline-color","outlineColor"]]);function B(e){var t;const n=_(),o=function(e){const t=e.currentItemPreset;return t&&e.annotationPresets.get(t)||{}}(e),r=w(w({},o),{},{id:n,name:n,creatorName:e.annotationCreatorName,createdAt:new Date,updatedAt:new Date});return e.group!==(null===(t=e.backend)||void 0===t?void 0:t.getDefaultGroup())&&(r.group=e.group),o.group&&o.group!==e.group&&(r.group=o.group),e.annotationToolbarColorPresets?L.reduce(((t,n,o)=>{const r=e.annotationToolbarColorPresets({propertyName:o,defaultAnnotationToolbarColorPresets:d.Options.COLOR_PRESETS});if(void 0===r)return t;const i=r.presets,a=S(L.get(o,o));return function(e,t){return e.some((e=>!t&&null===e.color||t&&e.color&&e.color.equals(t)))}([...i,...a],t[n])?t:w(w({},t),{},{[n]:i[0].color})}),r):r}function j(e,t){const n=e.annotations.get(t);return n?n instanceof s.o9?"line":n instanceof s.Xs?"ellipse":n instanceof s.b3?"rectangle":n instanceof s.om?"polyline":n instanceof s.Hi?"polygon":n instanceof s.Zc?"ink":n instanceof s.Qi?"note":n instanceof s.gd?"text":n instanceof s.sK?"image":n instanceof s.GI?"stamp":n instanceof s.x_?"widget":n instanceof s.FV?"highlight":n instanceof s.xu?"underline":n instanceof s.R9?"strikeout":n instanceof s.hL?"squiggle":n instanceof l.Z?"redaction":null:null}function z(e,t,n,o,r){const{width:a,height:l}=t,{currentPageIndex:c,pagesRotation:d}=e.viewportState,p=e.pages.get(c);(0,i.kG)(p,`Cannot find page at index ${c}`);const f=p.pageSize,h=Math.min(f.width*u.Bs/a,f.height*u.Bs/l,1);let m=a*h,g=l*h;return 90!==d&&270!==d||([m,g]=[g,m]),new s.sK(w(w({},B(e)),{},{pageIndex:c,imageAttachmentId:n,contentType:o,rotation:d,fileName:r,boundingBox:new s.UL({left:f.width/2-m/2,top:f.height/2-g/2,width:m,height:g})}))}function K(e,t,n){const{width:o,height:r}=t,{currentPageIndex:a,pagesRotation:l}=e.viewportState,c=e.pages.get(a);(0,i.kG)(c,`Cannot find page at index ${a}`);const d=c.pageSize,p=Math.min(d.width*u.Bs/o,d.height*u.Bs/r,1);let f=o*p,h=r*p;return 90!==l&&270!==l||([f,h]=[h,f]),new s.GI(w(w({},B(e)),{},{pageIndex:a,stampType:n.stampType,title:n.title,subtitle:n.subtitle,color:n.color,opacity:n.opacity,rotation:l,boundingBox:new s.UL({left:d.width/2-f/2,top:d.height/2-h/2,width:f,height:h})}))}function Z(e){return RegExp("^([A-Fa-f0-9]{64}|[0-9]+)$").test(e)}function U(e,t){let n=(0,r.D5)();return(Array.isArray(t)?t:[t]).forEach((t=>{if(t instanceof s.sK&&t.imageAttachmentId){const o=e.attachments.get(t.imageAttachmentId);o&&(n=n.set(t.imageAttachmentId,o))}})),n}function V(e){return e.locked?!e.locked:e instanceof s.om||e instanceof s.Hi||e instanceof s.o9||W(e)}function G(e){if(e.locked)return!e.locked;switch(e.constructor){case s.gd:return!W(e);case s.GI:return!0;default:return!1}}function W(e){var t;return e instanceof s.gd&&!(null===(t=e.callout)||void 0===t||!t.innerRectInset)}function q(e){return e.locked?!e.locked:e instanceof s.om||e instanceof s.Hi||e instanceof s.b3||e instanceof s.sK||e instanceof s.Zc||e instanceof s.Xs||e instanceof s.GI||e instanceof s.gd&&!W(e)||e instanceof s.x_||e instanceof s.R1}function H(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;if(void 0!==n)return(0,i.kG)(!0===n.maintainAspectRatio||!1===n.maintainAspectRatio||null===n.maintainAspectRatio||void 0===n.maintainAspectRatio,"onAnnotationResizeStart should return a valid configuration or undefined"),!!n.maintainAspectRatio&&n.maintainAspectRatio;if(e.isShiftPressed)return!0;const o=e.annotation instanceof s.sK||e.annotation instanceof s.GI,r=[g.V.TOP_LEFT,g.V.TOP_RIGHT,g.V.BOTTOM_LEFT,g.V.BOTTOM_RIGHT];return!!(o&&r.includes(e.resizeAnchor)||"isSignature"in e.annotation&&e.annotation.isSignature)}function $(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;return n&&(n.minHeight&&n.minHeight<0&&((0,i.ZK)("minimum height in the onAnnotationResizeStart API should be greater than 0"),n.minHeight=void 0),n.maxHeight&&n.maxHeight<0&&((0,i.ZK)("maximum height in the onAnnotationResizeStart API should be greater than 0"),n.maxHeight=void 0),n.maxWidth&&n.maxWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.maxWidth=void 0),n.minWidth&&n.minWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.minWidth=void 0),n.maxHeight&&n.minHeight&&n.maxHeight{e.nativeEvent.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),n=!0}})),n}function Q(e){e.selectedAnnotationIds.forEach((t=>{e.deleteIn(["annotationPresetIds"],t)}))}function ee(e){return"number"==typeof e.pdfObjectId}function te(e){return e.width>0&&e.height>0}function ne(e,t){return!(e instanceof s.GI||e instanceof s.Ih||e instanceof s.sK||e instanceof s.x_&&t instanceof s.Yo)}function oe(e,t){return!(0,r.is)(R(e),R(t))||e.opacity!==t.opacity||e.rotation!==t.rotation||T(e)!==T(t)||(t instanceof s.sK&&e instanceof s.sK&&e.imageAttachmentId!==t.imageAttachmentId||(!(!(t instanceof s.UX&&e instanceof s.UX)||e.strokeWidth===t.strokeWidth&&ie(e.strokeColor,t.strokeColor)&&ie(e.fillColor,t.fillColor)&&(!t.strokeDashArray||e.strokeDashArray&&!t.strokeDashArray.some(((t,n)=>void 0===e.strokeDashArray[n]||t!==e.strokeDashArray[n]))))||(!(!(t instanceof s.UX&&e instanceof s.UX&&t.isMeasurement())||e.measurementScale===t.measurementScale&&e.measurementPrecision===t.measurementPrecision)||((t instanceof s.b3||t instanceof s.Xs)&&(e instanceof s.b3||e instanceof s.Xs)&&(t.cloudyBorderInset!==e.cloudyBorderInset||t.cloudyBorderIntensity!==e.cloudyBorderIntensity)||(!!((t instanceof s.o9||t instanceof s.om)&&(e instanceof s.o9||e instanceof s.om)&&t.lineCaps&&(!e.lineCaps||t.lineCaps.start!==e.lineCaps.start||t.lineCaps.end!==e.lineCaps.end)||!t.lineCaps&&e.lineCaps)||(!!(t instanceof s.o9&&ae(e,t))||(!!((t instanceof s.om||t instanceof s.Hi)&&(e instanceof s.om||e instanceof s.Hi)&&ae(e,t))||(t instanceof s.Zc&&e instanceof s.Zc&&(e.lineWidth!==t.lineWidth||!ie(e.strokeColor,t.strokeColor)||!ie(e.backgroundColor,t.backgroundColor)||e.blendMode!==t.blendMode)||(t instanceof s.gd&&e instanceof s.gd&&(e.text.value!==t.text.value||e.fontSize!==t.fontSize||e.font!==t.font||!ie(e.fontColor,t.fontColor)||!ie(e.backgroundColor,t.backgroundColor)||e.isBold!==t.isBold||e.isItalic!==t.isItalic||e.horizontalAlign!==t.horizontalAlign||e.verticalAlign!==t.verticalAlign||e.borderWidth!==t.borderWidth||e.borderStyle!==t.borderStyle)||(t instanceof s.Qi&&e instanceof s.Qi&&(!ie(t.color,e.color)||e.icon!==t.icon)||t instanceof s.On&&e instanceof s.On&&(e.blendMode!==t.blendMode||!ie(e.color,t.color)||e.rects!==t.rects)))))))))))}function re(e,t){return(null==e?void 0:e.readOnly)!==(null==t?void 0:t.readOnly)}function ie(e,t){return e instanceof h.Z&&t instanceof h.Z?e.equals(t):!(e instanceof h.Z||t instanceof h.Z)}function ae(e,t){if(e instanceof s.o9&&t instanceof s.o9){if(t.startPoint!==e.startPoint||t.endPoint!==e.endPoint)return!(t.startPoint.x-e.startPoint.x==t.boundingBox.left-e.boundingBox.left&&t.startPoint.y-e.startPoint.y==t.boundingBox.top-e.boundingBox.top)}else if((e instanceof s.om||e instanceof s.Hi)&&(t instanceof s.om||t instanceof s.Hi))return!(e.points.size===t.points.size&&e.points.every(((n,o)=>{const r=t.points.get(o);return(0,i.kG)(r&&n),r.x-n.x==t.boundingBox.left-e.boundingBox.left&&r.y-n.y==t.boundingBox.top-e.boundingBox.top})));return!1}function se(e,t,n){const{invalidAPStreams:o}=e();let r=!1,i=o.get(t.pageIndex);i&&(r=!!i.get(t.id)),n();const{invalidAPStreams:a,annotations:s}=e(),l=s.get(t.id);if(!l)return!r;let c=!1;return i=a.get(l.pageIndex),i&&(c=!!i.get(l.id)),!r&&c}function le(e,t,n){(0,i.kG)(e.backend);const{invalidAPStreams:o,historyIdsMap:r,isHistoryEnabled:a,backend:s}=e,l=t.get(n.pageIndex),c=o.get(n.pageIndex);return!a||"STANDALONE"!==(null==s?void 0:s.type)||l&&l.has(n.id)||!c||!c.has(n.id)?n:n.set("APStreamCache",{cache:r.get(n.id)||n.id})}function ce(e,t){(0,i.kG)(e.backend);const{historyIdsMap:n,isHistoryEnabled:o,backend:r}=e;return o&&"STANDALONE"===(null==r?void 0:r.type)?t.set("APStreamCache",{cache:n.get(t.id)||t.id}):t}const ue="rgba(70, 54, 227, 0.5) solid 2px";function de(e){const{id:t,pdfObjectId:n}=e;return e=>e===(null==n?void 0:n.toString())||e===t}function pe(e,t){let{backend:n,annotations:o}=e;t.forEach((e=>{const t=o.get(e.id);t&&oe(t,e)&&(null==n||n.clearPageAPStreams(t.pageIndex,(0,r.l4)([t.id])))}))}function fe(e,t,n){let{backend:o,formFields:i}=e;t.forEach((e=>{const t=i.get(e.formFieldName);t&&re(t,n)&&(null==o||o.clearPageAPStreams(e.pageIndex,(0,r.l4)([e.id])))}))}const he=Object.freeze({CLOCKWISE:"CLOCKWISE",COUNTERCLOCKWISE:"COUNTERCLOCKWISE"});function me(e,t,n){const{rotation:o,boundingBox:r}=e,i=r.getCenter();let a=new s.E9({x:Math.max(0,i.x-r.height/2),y:Math.max(0,i.y-r.width/2)});a.x+r.height>t.width&&(a=a.set("x",t.width-r.height)),a.y+r.width>t.height&&(a=a.set("y",t.height-r.width));const l=e.set("boundingBox",r.withMutations((e=>{e.height=r.width,e.width=r.height,e.left=a.x,e.top=a.y})));if(n){const e=n===he.CLOCKWISE;switch(o){case 0:return l.set("rotation",e?270:90);case 90:return l.set("rotation",e?0:180);case 180:return l.set("rotation",e?90:270);case 270:return l.set("rotation",e?180:0)}}return l}function ge(e){return s.UL.union(e.map((e=>(0,y.o0)(e)?(0,y.az)(e).boundingBox:e.boundingBox)))}function ve(e,t){if(e instanceof s.x_)return"widget";if(Object.keys(f.Z).includes(e.constructor.readableName.toLowerCase()+"Annotation")){const n=function(e){if(e instanceof s.Jn)return f.Z.comment.id;const t=e.constructor.readableName.toLowerCase()+"Annotation";return f.Z[t].id}(e);return t(f.Z[n])}return e.constructor.readableName.toLowerCase()}function ye(e){return!(e instanceof s.UX&&e.isMeasurement())}function be(e,t){return null!=t&&t.isAnnotationNote?e.readOnly?"not-allowed":"inherit":e instanceof s.gd?e.readOnly?"not-allowed":e.locked?"text":e.lockedContents?"pointer":(null==t?void 0:t.cursor)||(null!=t&&t.isSelectable?"pointer":"auto"):e instanceof s.GI?e.readOnly||e.locked?"not-allowed":(null==t?void 0:t.cursor)||(null!=t&&t.isSelectable?"pointer":"auto"):e instanceof s.Zc?e.readOnly||e.locked?"not-allowed":e.lockedContents?"pointer":"inherit":e instanceof s.R1?e.locked?"pointer":"inherit":e instanceof s.Qi&&null!=t&&t.isExpandedNote?e.readOnly||e.locked&&e.lockedContents?"not-allowed":e.locked?"text":e.lockedContents?"not-allowed":t.isSelectable?"pointer":"auto":e.readOnly||e.locked&&e.lockedContents||e.locked?"not-allowed":e.lockedContents||null!=t&&t.isSelectable||null!=t&&t.isSelected?"pointer":"auto"}},37015:(e,t,n)=>{"use strict";function o(e){const t=new FileReader;return new Promise(((n,o)=>{t.onerror=e=>{o(new Error(e))},t.onload=e=>{var t;n(new Uint8Array(null===(t=e.target)||void 0===t?void 0:t.result))},t.readAsArrayBuffer(e)}))}n.d(t,{V:()=>o})},47825:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o=n(34997).SK},36095:(e,t,n)=>{"use strict";function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;return e.indexOf("Trident/")>-1?"trident":e.indexOf("Edge/")>-1?"edge":e.indexOf("Chrome/")>-1?"blink":e.indexOf("AppleWebKit/")>-1?"webkit":e.indexOf("Gecko/")>-1?"gecko":"unknown"}function r(e,t){const n=new RegExp(` ${t}/(\\d+)\\.*`);let o;return(o=e.match(n))?Number(o[1]):0}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.platform,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:navigator.maxTouchPoints;return t.indexOf("MacIntel")>-1&&n>1?"ios":e.indexOf("Win")>-1?"windows":e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1?"ios":e.indexOf("Mac")>-1?"macos":e.indexOf("Android")>-1?"android":e.indexOf("Linux")>-1?"linux":"unknown"}n.d(t,{By:()=>s,Dt:()=>m,G6:()=>c,Mn:()=>w,Ni:()=>l,SR:()=>a,TL:()=>h,V5:()=>S,b1:()=>b,b5:()=>g,fq:()=>p,i7:()=>d,rO:()=>f,vU:()=>u,yx:()=>v});const a=o(),s=i(),l=(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;switch(o(e)){case"trident":return r(e,"Trident");case"edge":return r(e,"Edge");case"blink":return r(e,"Chrome");case"webkit":return r(e,"Version");case"gecko":return r(e,"Firefox");default:;}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return"ios"===e||"android"===e||v(t)}()),c="webkit"===a,u="gecko"===a,d="blink"===a,p="trident"===a,f="edge"===a,h="ios"===s||v(),m="android"===s,g=d&&m;function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return("undefined"==typeof window||!window.PSPDFKIT_PLAYWRIGHT_TEST)&&("webkit"===e&&"undefined"!=typeof TouchEvent)}let y;function b(){return void 0===y&&(y="ontouchstart"in window||navigator.maxTouchPoints>0),y}"undefined"!=typeof window&&(window.addEventListener("mousemove",(function e(){y=!1,window.removeEventListener("mousemove",e)})),window.addEventListener("pointermove",(function e(t){"mouse"!==t.pointerType&&"pen"!==t.pointerType||(y=!1),window.removeEventListener("pointermove",e)})));const w=!1,S=/Mac/i.test(navigator.platform)},10284:(e,t,n)=>{"use strict";n.d(t,{CM:()=>i,Kd:()=>a,Ss:()=>l,ev:()=>u,iR:()=>c,kR:()=>s,mi:()=>r,os:()=>d,uW:()=>p});var o=n(47347);function r(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.canReply||e.isCommentThreadRoot&&e.canReply}function i(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function a(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function s(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function l(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function c(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isEditable||e.isEditable}function u(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isDeletable||e.isDeletable}function d(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isFillable||e.isFillable}function p(e,t){return(0,o.kG)(t.backend),!(!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.canSetGroup)&&e.canSetGroup}},62164:(e,t,n)=>{"use strict";n.d(t,{Y7:()=>p,_P:()=>v,dq:()=>h,kT:()=>m,kx:()=>d,nN:()=>g,oK:()=>f});var o=n(27515),r=n(71693),i=n(88804),a=n(91859),s=n(47710),l=n(87222),c=n(19815),u=n(97413);const d="The feature you're trying to use requires a comments license. Comments is a component of PSPDFKit for Web and sold separately.";function p(e){let{showComments:t,commentThreads:n,features:o,backend:r}=e;return t&&n.size>0&&(0,c.LC)({features:o,backend:r})}function f(e){let{showComments:t,features:n,backend:o}=e;return t&&(0,c.LC)({features:n,backend:o})}function h(e){if(!p(e))return null;const{viewportState:t}=e;return e.containerRect.width>a.xD?t.scrollMode!==s.G.PER_SPREAD&&t.scrollMode!==s.G.DISABLED||function(e,t){let{viewportState:n,pages:o,commentThreads:i}=e;return(0,r.P1)(n,(0,r.dF)(n,t)).some((e=>{const t=o.get(e);return!!t&&t.annotationIds.some((e=>i.has(e)))}))}(e,e.viewportState.currentPageIndex)?l._.SIDEBAR:null:e.selectedAnnotationIds.size>0&&e.selectedAnnotationIds.some((t=>!!e.commentThreads.get(t)))?l._.PANE:null}const m=e=>null==e.pageIndex;function g(e,t){const n=(0,r.dF)(t,e.pageIndex);let a=i.sl.IDENTITY;if(t.scrollMode===s.G.CONTINUOUS){const e=(0,r.e8)(t,n);a=a.translateY(e)}return a=(0,o._4)(a,t),e.boundingBox.apply(a).top}const v=(e,t)=>{let n=!1;const o=e.last();if(null!=o){const e=t.get(o);(0,u.k)(null!=e),n=m(e)}return n}},72643:(e,t,n)=>{"use strict";n.d(t,{AK:()=>u,Aq:()=>c,Gp:()=>l,Im:()=>h,Tl:()=>m,_v:()=>y,sz:()=>d,uB:()=>b,yK:()=>p,z8:()=>f});var o=n(35369),r=n(68218),i=n(88804),a=n(12671);n(60132);function s(e){return{textBlockId:e.id,anchor:(0,a.X$)(e.anchor),globalEffects:(0,a.uE)(e.globalEffects),externalControlState:(0,a.hH)(e)}}function l(e){const t=[];for(const n of e.pageStates.toList()){const e=new Map(n.textBlocks.map((e=>[e.id,e])));for(const o of n.initialTextBlocks)e.has(o.id)||t.push(s(o));for(const e of n.textBlocks){(!(0,o.is)(e.anchor,e.initialAnchor)||!(0,o.is)(e.globalEffects,e.initialGlobalEffects)||!(0,o.is)(e.layout,e.initialLayout)||e.version)&&t.push(s(e))}}return t}const c="The API you're trying to use requires a content editor license. Content editor is a component of PSPDFKit for Web and sold separately.";const u=[4,6,8,10,12,14,16,18,20,24,32,36,48,64,72,96,144,192,200];function d(e,t){return new r.UL({offset:new r.Sg({x:e.offset.x*t,y:e.offset.y*t}),size:new r.Sg({x:e.size.x*t,y:e.size.y*t})})}function p(e,t,n){return new r.UL({offset:new r.Sg({x:e.offset.x+t.x*n,y:e.offset.y+t.y*n}),size:e.size})}function f(e){let t="";for(const n of e)t+=n.text;return t}const h=0,m=1,g=e=>{switch(e){case"begin":case"justified":return h;case"end":return m;case"center":return.5}},v=(e,t,n)=>{const o=(e=>(new i.sl).rotateRad(e.rotation).scale(1,e.flipY?-1:1))(e),a=o.applyToVector([n*t,0]);return new r.Sg({x:a[0],y:a[1]})},y=(e,t,n)=>(t-g(e))*n,b=(e,t,n,o)=>{const r=g(e)-n;return v(t,r,o)}},80857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(47347);const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,n){if(!t)throw new o.p2(""===e?n:`${e}: ${n}`)}}},7921:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r,k:()=>i});var o=n(35369);function r(e,t){let n;return function(){for(var o=arguments.length,r=new Array(o),i=0;i{n=null,e.apply(a,r)}),t)}}function i(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,o.aV)();function i(e){const t=r;r=r.clear(),e.then((e=>{t.forEach((t=>{t.resolve(e)}))})).catch((e=>{t.forEach((t=>{t.reject(e)}))}))}return function(){for(var o=arguments.length,a=new Array(o),s=0;s{t=null,i(e.apply(l,a))}),n),new Promise(((e,t)=>{r=r.push({resolve:e,reject:t})}))}}},91039:(e,t,n)=>{"use strict";n.d(t,{sM:()=>h,uF:()=>f,Zt:()=>m,jI:()=>p,tK:()=>w,w2:()=>g});var o=n(47347),r=n(19575),i=n(76367),a=n(64494),s=n(66687),l=n(60132),c=n(26248),u=n(37231);const d=["application/pdf","image/png","image/jpeg"];function p(e,t){if(t===a.W.IF_SIGNED&&e.status!==i._.not_signed)return!0;if(t===a.W.HAS_ERRORS&&e.status===i._.error)return!0;const n=e.status===i._.valid&&e.documentModifiedSinceSignature;return!(t!==a.W.HAS_WARNINGS||e.status!==i._.warning&&e.status!==i._.error&&!n)}function f(e){if("string"==typeof e)return r.Base64.encode(e);if(e instanceof ArrayBuffer)return h(e);throw(0,o.Rz)(e)}function h(e){let t="";const n=new Uint8Array(e),o=n.byteLength;for(let e=0;e{let{signatureFormFQN:n}=e;return n===t.formFieldName}))&&e.formFields.has(t.formFieldName))}function g(e,t){e&&t&&"STANDALONE"===t.type&&((0,o.kG)(void 0===e.placeholderSize||"number"==typeof e.placeholderSize,"`placeholderSize` must be a number."),(0,o.kG)(void 0===e.flatten||"boolean"==typeof e.flatten,"`flatten` must be a boolean."),(0,o.kG)(void 0===e.formFieldName||"string"==typeof e.formFieldName,"`formFieldName` must be a string."),(0,o.kG)(void 0===e.formFieldName||void 0===e.position,"`formFieldName` and `position` cannot be used together."),v(e.position),y(e.appearance),b(e.signatureMetadata),function(e){if(!e)return;(0,o.kG)(!e.signatureType||e.signatureType===c.BG.CMS||Array.isArray(e.certificates)&&e.certificates.length>0&&e.certificates.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`."),(0,o.kG)(void 0===e.privateKey||"string"==typeof e.privateKey&&e.privateKey.length>0,"`signingData.privateKey` must be a non-empty string if provided."),(0,o.kG)(Object.values(c.BG).includes(e.signatureType),`\`signingData.signatureType\` must be a valid \`PSPDFKit.SignatureType\` value. \`${e.signatureType}\` was provided instead.`)}(e.signingData))}function v(e){e&&((0,o.kG)("number"==typeof e.pageIndex,"`pageIndex` must be a number."),(0,o.kG)(e.boundingBox instanceof s.UL,"`boundingBox` must be a PSPDFKit.Geometry.Rect instance."))}function y(e){var t;e&&((0,o.kG)(void 0===e.mode||e.mode in u.H,"`mode` must be a valid PSPDFKit.SignatureAppearanceMode value."),(0,o.kG)(void 0===e.showSigner||"boolean"==typeof e.showSigner,"`showSigner` must be a boolean."),(0,o.kG)(void 0===e.showSignDate||"boolean"==typeof e.showSignDate,"`showSignDate` must be a boolean."),(0,o.kG)(void 0===e.showReason||"boolean"==typeof e.showReason,"`showReason` must be a boolean."),(0,o.kG)(void 0===e.showLocation||"boolean"==typeof e.showLocation,"`showLocation` must be a boolean."),(0,o.kG)(void 0===e.showWatermark||"boolean"==typeof e.showWatermark,"`showWatermark` must be a boolean."),(0,o.kG)(void 0===e.watermarkImage||"Blob"===e.watermarkImage.constructor.name||"File"===e.watermarkImage.constructor.name,"`image` must be a Blob or File."),(0,o.kG)(void 0===e.watermarkImage||d.includes(e.watermarkImage.type),`The image type must be one of the supported formats: ${d.join(", ")}, provided: ${null===(t=e.watermarkImage)||void 0===t?void 0:t.type}.`))}function b(e){e&&((0,o.kG)(void 0===e.signerName||"string"==typeof e.signerName,"`signerName` must be a string."),(0,o.kG)(void 0===e.signatureReason||"string"==typeof e.signatureReason,"`signatureReason` must be a string."),(0,o.kG)(void 0===e.signatureLocation||"string"==typeof e.signatureLocation,"`signatureLocation` must be a string."))}function w(e){var t,n,r,i;e&&((0,o.kG)(!("placeholderSize"in e)||"number"==typeof e.placeholderSize&&e.placeholderSize>0,`Invalid \`placeholderSize\` for signature preparation data. Must be of type \`number\` and greater than \`0\` if present. Provided: ${e.placeholderSize}.`),(0,o.kG)(!("flatten"in e)||"boolean"==typeof e.flatten,`Invalid \`flatten\` for signature preparation data. Must be of type \`boolean\` if present. Provided: ${e.flatten}.`),(0,o.kG)(!("signatureMetadata"in e)||"object"==typeof e.signatureMetadata,`Invalid \`signatureMetadata\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.signatureMetadata}.`),"signatureMetadata"in e&&b(e.signatureMetadata),(0,o.kG)(!("position"in e)||"object"==typeof e.position,`Invalid \`position\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.position}.`),"position"in e&&v(e.position),(0,o.kG)(!("appearance"in e)||"object"==typeof e.appearance,`Invalid \`appearance\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.appearance}.`),"appearance"in e&&y(e.appearance),(0,o.kG)(!("formFieldName"in e)||"string"==typeof e.formFieldName&&e.formFieldName.trim().length>0,`Invalid \`formFieldName\` for signature preparation data. Must be a non-empty \`string\` if present. Provided: ${e.formFieldName}.`),(0,o.kG)(!e.signingData||!("signatureContainer"in e.signingData)||(null===(t=e.signingData)||void 0===t?void 0:t.signatureContainer)&&Object.values(c.FR).includes(e.signingData.signatureContainer),`Invalid \`signingData.signatureContainer\`. Must be either \`raw\` or \`pkcs7\` if present. Provided: ${null===(n=e.signingData)||void 0===n?void 0:n.signatureContainer}.`),(0,o.kG)(!e.signingData||!("signatureType"in e.signingData)||(null===(r=e.signingData)||void 0===r?void 0:r.signatureType)&&Object.values(c.BG).includes(e.signingData.signatureType),`Invalid \`signingData.signatureType\`. Must be either \`CMS\` or \`CAdES\` if present. Provided: ${null===(i=e.signingData)||void 0===i?void 0:i.signatureType}.`))}},30761:(e,t,n)=>{"use strict";n.d(t,{D4:()=>xe,jX:()=>Se});var o=n(84121),r=n(30845),i=n(67366),a=n(35369),s=n(47347),l=n(30570),c=n(14012),u=n(96114),d=n(66687),p=n(83253),f=n(29165),h=n(20234),m=n(76192),g=n(95651),v=n(96846),y=n(15973);class b{constructor(e,t){this.annotationProvider=e,this.localAnnotationCallbacks=t}createBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),!this.annotationProvider.canCreateBackendOrphanWidgets&&e instanceof d.x_?Promise.resolve():this.annotationProvider.createAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),this.annotationProvider.updateAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}deleteBackendObject(e){return this.annotationProvider.deleteAnnotation(e)}createStoreObjects(e,t){this.localAnnotationCallbacks.createAnnotations(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateStoreObjects(e){this.localAnnotationCallbacks.updateAnnotations(e)}deleteStoreObjects(e){this.localAnnotationCallbacks.deleteAnnotations(e)}validateObject(e){return(0,g.bz)(e)}getObjectById(e){return this.localAnnotationCallbacks.getAnnotationById(e)}getObjectId(e){return e.id}refresh(){this.localAnnotationCallbacks.refreshSignaturesInfo()}syncChanges(){return this.annotationProvider.syncChanges()}}class w extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new b(e,t),n,o),this.annotationProvider=e}loadAnnotationsForPageIndex(e){return this.annotationProvider.loadAnnotationsForPageIndex(e)}}var S=n(1053);class P{constructor(e,t){(0,o.Z)(this,"localBookmarks",(0,a.D5)()),(0,o.Z)(this,"onCreate",(e=>{this.localBookmarks=this.localBookmarks.set(e.id,e)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{this.localBookmarks=this.localBookmarks.delete(e.id)})),this.bookmarkProvider=e,this.localBookmarkCallbacks=t}createBackendObject(e){return this.bookmarkProvider.createBookmark(e)}updateBackendObject(e){return this.bookmarkProvider.updateBookmark(e)}deleteBackendObject(e){return this.bookmarkProvider.deleteBookmark(e.id)}createStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.set(e.id,e)}))}))}updateStoreObjects(e){this.createStoreObjects(e)}deleteStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.delete(e)}))}))}validateObject(e){if(!e.id||"string"!=typeof e.id)return!1;try{return(0,S.G)(e),!0}catch(e){return!1}}getObjectById(e){return this.localBookmarks.get(e)}getObjectId(e){return e.id}refresh(){this.localBookmarkCallbacks.refreshSignaturesInfo()}syncChanges(){return this.bookmarkProvider.syncChanges()}}class E extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new P(e,t),n,r),(0,o.Z)(this,"getBookmarks",function(){let e=null;return async function(){return e||(e=this.bookmarkProvider.loadBookmarks()),await e,this.getLocalBookmarks()}}()),this.bookmarkProvider=e}getLocalBookmarks(){return this._callbacks.localBookmarks}}var x=n(8503),D=n(11863);class C{constructor(e,t){(0,o.Z)(this,"localComments",(0,a.D5)()),(0,o.Z)(this,"onCreate",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.set(e.id,e)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.delete(e.id)})),this.commentProvider=e,this.localCommentCallbacks=t}createBackendObject(e,t){return this.commentProvider.createComment(e,t.comments,t.annotations)}updateBackendObject(e,t){return this.commentProvider.updateComment(e,t.comments,t.annotations)}deleteBackendObject(e,t){return(0,s.kG)(e.id),this.commentProvider.deleteComment(e.id,t.comments,t.annotations)}createStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.createComments(e)}updateStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.updateComments(e)}deleteStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localCommentCallbacks.deleteComments(e)}validateObject(e){try{return(0,D.Gu)(e),!0}catch(e){return!1}}getObjectById(e){return this.localComments.get(e)}getObjectId(e){return(0,s.kG)(e.id),e.id}refresh(){this.localCommentCallbacks.refreshSignaturesInfo()}syncChanges(){return this.commentProvider.syncChanges()}}class k extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new C(e,t),n,o),this.commentProvider=e}async loadComments(){let e=null;e||(e=this.commentProvider.loadComments?this.commentProvider.loadComments():Promise.resolve()),await e}}var O=n(11032);class A{constructor(e,t){this.formFieldValueProvider=e,this.localFormFieldValueCallbacks=t}createBackendObject(e){return this.formFieldValueProvider.createFormFieldValue(e)}updateBackendObject(e){return this.formFieldValueProvider.setFormFieldValue(e)}deleteBackendObject(e){return this.formFieldValueProvider.deleteFormFieldValue((0,O.X)(e))}createStoreObjects(e){this.localFormFieldValueCallbacks.createFormFieldValues(e)}updateStoreObjects(e){this.localFormFieldValueCallbacks.setFormFieldValues(e)}deleteStoreObjects(e){this.localFormFieldValueCallbacks.deleteFormFieldValues(e)}getObjectById(){return null}getObjectId(e){return e.name}validateObject(){return!0}refresh(){this.localFormFieldValueCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldValueProvider.syncChanges()}}class T extends v.a{_getSupportedEvents(){return[...super._getSupportedEvents(),"willSubmit","didSubmit"]}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new A(e,t),n===m.u.INTELLIGENT?m.u.IMMEDIATE:n,o)}createObject(e){const t=this.lockSave();try{this._saveModeQueue.createObject(this._createSaveQueueObject(e.name,e)),this._createdObjects=this._createdObjects.set(e.name,e)}finally{t()}}updateObject(e){const t=this.lockSave();try{this._saveModeQueue.updateObject(this._createSaveQueueObject(e.name,e)),this._updatedObjects=this._updatedObjects.set(e.name,e)}finally{t()}}deleteObject(e){const t=this.lockSave();try{this._saveModeQueue.deleteObject(this._createSaveQueueObject(e.name,e)),this._deletedObjects=this._deletedObjects.set(e.name,(0,O.X)(e))}finally{t()}}}var I=n(69939),F=n(41194),M=n(19815),_=n(97528),N=n(51333),R=n(92234),L=n(31835),B=n(97333),j=n(60619),z=n(55909),K=n(80857),Z=n(68250),U=n(10284),V=n(60132);const G=(0,K.Z)("Forms"),W=(0,s.Tr)("Forms");class q extends Z.I{constructor(e,t){super(t().formFieldValueManager),this.dispatch=e,this.getState=t}async create(e){throw W(`Can't create ${e.toString()}. Form field values creation is not supported.`)}async update(e){const{formFields:t,features:n,formsEnabled:o}=this.getState(),r=this.getState();return G(n.includes(V.q.FORMS),z.DR),G(o,z.BZ),G(r.backend),e.map((e=>{const n=t.get(e.name);if(G(n,`Tried to set the form field value for form field \`${e.name}\` which does not exist.`),!(0,U.os)(n,r))throw new s.p2("You don't have permission to update this form field value.");return this.dispatch((0,u.xh)([{name:e.name,value:e.value,optionIndexes:e.optionIndexes}])),e}))}async delete(e){return e.map((e=>{throw W(`Can't delete ${e.toString()}. Form field values deletion is not supported.`)}))}async ensureChangesSaved(e){G("string"==typeof e.name,"The form field value you passed to Instance.ensureChangesSaved() has no name.");const{formFieldValueManager:t}=this.getState();return G(t),await t.ensureObjectSaved(e)}}var H=n(47825),$=n(51269);const X=(0,K.Z)("Bookmarks");class Y extends Z.I{constructor(e,t){super(t().bookmarkManager),this.dispatch=e,this.getState=t}async create(e){const t=this.getState(),{bookmarkManager:n}=t,o=e.map((e=>{const t=e.id;X(n),"string"==typeof t&&n.getLocalBookmarks()&&X(!n.getLocalBookmarks().has(t),`Bookmark with id (${t}) is already used.`);const o="string"==typeof e.id&&e.id.length>0?e:e.set("id",(0,H.A)());return(0,S.G)(o),n.createObject(o),n.autoSave(),o}));return(0,$.s)(o)}async update(e){const{bookmarkManager:t}=this.getState();X(t);const n=e.map((e=>(X("string"==typeof e.id,"The bookmark you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id."),(0,S.G)(e),t.updateObject(e),t.autoSave(),e)));return(0,$.s)(n)}async delete(e){const t=this.getState(),{bookmarkManager:n}=t,o=await(null==n?void 0:n.getBookmarks());X(n);const r=e.map((e=>{X("string"==typeof e.id,"The supplied bookmark id is not a valid id.");const t=null==o?void 0:o.get(e.id);return X(t,`No bookmark with id ${e.id} found.`),n.deleteObject(e),n.autoSave(),t}));return(0,$.s)(r)}async getObjectById(e){const{bookmarkManager:t}=this.getState();if(!t)return null;return(await t.getBookmarks()).get(e)}async ensureChangesSaved(e){X("string"==typeof e.id,"The bookmark you passed to Instance.ensureChangesSaved() has no valid id.\nPlease use Instance.create() first to assign an id.");const{bookmarkManager:t}=this.getState();return X(t),await t.ensureObjectSaved(e)}}var J=n(34997),Q=n(62164);const ee=(0,K.Z)("Comments"),te=J.SK;class ne extends Z.I{constructor(e,t){super(t().commentManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),o=e.map((e=>{oe(n);const o=e.id;"string"==typeof o&&ee(!n.comments.has(o),`Comment id (${o}) is already used.`),ee(e.rootId,"Comment does not have `rootId`");const r=n.annotations.get(e.rootId)||(t?function(e,t){return e.find((e=>e instanceof y.q6&&e.id===t))}(t,e.rootId):null);if(ee(r,`Comment orphan: The comment can't be created because no comment thread root was found with the id '${e.rootId}'. Please ensure that you create the corresponding annotation together with the comment via instance.create([comment, commentThreadRootAnnotation]).`),ee(r instanceof y.Jn||r instanceof y.On,`The comment can't be created because its root has wrong type. Was '${r.constructor.name}', only 'CommentMarkerAnnotation' and 'TextMarkupAnnotation' are supported as comment thread roots.`),ee(!e.pageIndex||e.pageIndex===r.pageIndex,`The comment can't be created on different page (${e.pageIndex}) than the comment root (${r.pageIndex}).`),!(0,U.mi)(r,n))throw new s.p2("You are not allowed to reply to this thread.");const{annotationCreatorName:i,annotationCreatorNameReadOnly:a}=n;if(e.creatorName&&e.creatorName!==i&&a)throw new s.p2("The comment creator name is different from the one set on the JWT.");const l=e.withMutations((t=>{const o=new Date;t.set("id",te()).set("creatorName",n.annotationCreatorName).set("createdAt",o).set("updatedAt",o).set("pageIndex",r.pageIndex),ee(n.backend),n.backend.isCollaborationPermissionsEnabled()&&!t.group&&n.group!==n.backend.getDefaultGroup()&&t.merge({group:n.group}),["id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));return(0,D.Gu)(l),l}));return(0,i.dC)((()=>{o.forEach((e=>{e instanceof Error||(this.dispatch((0,N.Jr)(e)),this.autoSave())}))})),(0,$.s)(o)}async update(e){const t=this.getState(),n=e.map((e=>{var n;oe(t),ee("string"==typeof e.id,"The comment you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const o=t.comments.get(e.id);ee(o,"An comment that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\n The update of this comment was skipped."),null!==(n=t.backend)&&void 0!==n&&n.isCollaborationPermissionsEnabled()||o.group===e.group&&e.isEditable===o.isEditable&&e.isDeletable===o.isDeletable&&e.canSetGroup===o.canSetGroup||(e=e.set("group",o.group).set("isEditable",o.isEditable).set("isDeletable",o.isDeletable).set("canSetGroup",o.canSetGroup),(0,s.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(o.delete("group"))&&!(0,U.kR)(o,t))throw new s.p2("You don't have permission to update this comment.");if(e.group!==o.group&&!(0,U.uW)(e,t))throw new s.p2("You don't have permission to update the `group` of this comment.");if(e.isEditable!==o.isEditable||e.isDeletable!==o.isDeletable||e.canSetGroup!==o.canSetGroup)throw new s.p2("You can't update `isEditable` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==o.creatorName&&t.annotationCreatorNameReadOnly)throw new s.p2("You can't change the creatorName of a comment if it was already set on the JWT.");if(e.rootId!==o.rootId)throw new s.p2("You can't change the root id of a comment once it has been created.");const r=e.set("updatedAt",new Date);return(0,D.Gu)(r),r}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,N.V4)(e)),this.autoSave())}))})),(0,$.s)(n)}async delete(e){const t=this.getState();oe(t);const n=e.map((e=>{ee(e.id);const n=t.comments.get(e.id);if(ee(n,`No comment with id ${e.id} found.`),!(0,U.Ss)(n,t))throw new s.p2("You don't have permission to delete this comment.");return n}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,N.UM)(e)),this.autoSave())}))})),(0,$.s)(n)}async ensureChangesSaved(e){oe(this.getState()),ee("string"==typeof e.id,"The comment you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{commentManager:t}=this.getState();return ee(t),await t.ensureObjectSaved(e)}async getObjectById(e){ee("string"==typeof e,"The supplied id is not a valid id.");const{comments:t,features:n}=this.getState();return n.includes(V.q.COMMENTS)?t.get(e):null}}function oe(e){const{features:t,backend:n}=e;ee(t.includes(V.q.COMMENTS),Q.kx),ee((0,M.xr)(n),"The API you're trying to use is only available when using the PSPDFKit Instant or PSPDFKit for Web Standalone.")}var re=n(71652);const ie=(0,s.Tr)("Changes");class ae{constructor(e){this.annotation=e.annotation,this.bookmark=e.bookmark,this.comment=e.comment,this.formField=e.formField,this.formFieldValue=e.formFieldValue}toArray(){return[this.annotation,this.bookmark,this.comment,this.formField,this.formFieldValue].filter(Boolean)}forEach(e){this.toArray().forEach(e)}map(e){return this.toArray().map(e)}}class se{constructor(e,t,n,r){(0,o.Z)(this,"_prevHasUnsavedChanges",!1),(0,o.Z)(this,"eventEmitter",new L.Z(["saveStateChange"])),this._dispatch=e,this._getState=t,n&&(this.handlers=new ae(n)),r&&(this.eventEmitter=r)}connect(){const e=this._getState();if(this._backend=e.backend,!this.handlers){const e={};e.annotation=new j.Nk(this._dispatch,this._getState),e.bookmark=new Y(this._dispatch,this._getState),e.formField=new z.fu(this._dispatch,this._getState),e.formFieldValue=new q(this._dispatch,this._getState),e.comment=new ne(this._dispatch,this._getState),this.handlers=new ae(e)}this.handlers.forEach((e=>{const t=e.getEventEmitter();t&&t.supportsEvent("saveStateChange")&&t.on("saveStateChange",(()=>this._onSaveStateChanged()))}))}save(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.hasUnsavedChanges())return Promise.resolve();const t=this.handlers.map((e=>e.manualSave(!1)));return e&&t.push(this._backend.syncChanges().catch(le)),(0,B.jK)(t).then((()=>{})).catch((t=>{const n=e?t.pop():null,o=t.filter(Boolean).map((e=>{if(e instanceof re.V)return e.reason})).filter(Boolean),r=(0,a.aV)(o).flatMap((e=>e)).toArray();throw(0,re.h)(r,Boolean(n),n?n.message:null)}))}hasUnsavedChanges(){return this.handlers.map((e=>e.hasUnsavedChanges())).some(Boolean)}_onSaveStateChanged(){const e=this.hasUnsavedChanges();this._prevHasUnsavedChanges!==e&&(this._prevHasUnsavedChanges=e,this.eventEmitter.emit("saveStateChange",{hasUnsavedChanges:e}))}async create(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._performChanges(e,((n,o)=>n.create(o,t?e:null)))}async update(e){return this._performChanges(e,((t,n)=>t.update(n,e)))}_changesForHandler(e,t){return t.filter((t=>this._handlerForChange(t)===e))}async delete(e){const t=e.map((()=>ie("Unsupported change type"))),n=await(0,B.jK)(e.map((async(e,n)=>{if(e){if("string"==typeof e){for(const t of this.handlers.toArray()){const n=await t.getObjectById(e);if(n)return n}t[n]=ie(`No object with id '${e}' found.`)}}else t[n]=ie("The supplied id is not a valid id");return e})));return this._performChanges(n,((e,t)=>e.delete(t)),t)}ensureChangesSaved(e){const t=e.map((e=>{const t=this._handlerForChange(e);return t?t.ensureChangesSaved(e):Promise.reject(ie("Unsupported change type"))}));return(0,B.jK)(t)}async _performChanges(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.map((()=>ie("Unsupported change type")));const o=[],r=this.handlers.map((e=>e.lockSave()));try{let n=null;(0,i.dC)((()=>{n=this.handlers.map((async(n,r)=>{const i=this._changesForHandler(n,e);if(i.length)try{o[r]=await t(n,i)}catch(e){o[r]=e}}))})),n&&await(0,B.jK)(n)}finally{r.forEach((e=>{e()}))}const a=await this._mapResultsToChanges(e,o,n);return a.some((e=>e instanceof Error))?Promise.reject(a):Promise.resolve(a)}async _mapResultsToChanges(e,t,n){const o=n;for(const[n,r]of this.handlers.map((e=>e)).entries()){const i=await this._changesForHandler(r,e),a=t[n];i.length&&i.forEach(((t,n)=>{const r=e.findIndex((e=>e===t));var i;a instanceof Error?o[r]=a:o[r]=null!==(i=a[n])&&void 0!==i?i:a}))}return o}_handlerForChange(e){switch(!0){case e instanceof y.q6:return this.handlers.annotation;case e instanceof S.Z:return this.handlers.bookmark;case e instanceof d.sv:return this.handlers.comment;case e instanceof d.Wi:return this.handlers.formField;case e instanceof d.KD:return this.handlers.formFieldValue;default:return null}}}function le(e){throw ie(e),e}var ce=n(16126),ue=n(76367),de=n(67699),pe=n(25387),fe=n(38858);const he="rollover",me="down";var ge=n(5038),ve=n(63738),ye=n(44763);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function we(e){for(var t=1;t{O.call(null,e)})),n.setDocumentHandleOutdated((t=>{e((0,h.KY)(t))})),n.setFormsEnabledInConfig(A),n.setStateGetter(t)}else if("SERVER"===D.type&&U&&m&&v){if(!(0,M.xW)(m,v)){const e=U.fields.filter((e=>"pspdfkit/form-field/signature"===e.type)).map((e=>e.name));U.annotations=U.annotations.filter((t=>!e.includes(t.formFieldName))),U.fields=U.fields.filter((t=>!e.includes(t.name))),L.setIgnoredFormFieldNames((0,a.aV)(e))}}const G={refreshSignaturesInfo:async()=>{const{digitalSignatures:n}=t();m&&m.includes("digital_signatures")&&n&&n&&n.status!==ue._.not_signed&&!1===n.documentModifiedSinceSignature&&(await D.refreshSignaturesInfo(),e((0,F.Y)(await D.getSignaturesInfo())))}},W=we(we({},G),{},{createAnnotations:(t,n)=>{n&&n.forEach(((t,n)=>{e((0,f.O)(n,t))})),e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,I.lA)(t))})))},updateAnnotations:t=>{e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,I.Zr)(t))})))},deleteAnnotations:t=>{e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,I.aF)(t))})))},getAnnotationById:e=>t().annotations.get(e)}),q=z&&(0,M.k_)(D)?we(we({},G),{},{createFormFields:t=>{e((0,u.TD)(t))},updateFormFields:t=>{e((0,u.C2)(t)),e((0,u.xW)(t.map((e=>new d.KD({name:e.name,value:e.value})))))},deleteFormFields:t=>{e((0,u.M$)(t))},getFormFieldByName:e=>t().formFields.get(e)}):null,H=we(we({},G),{},{createFormFieldValues:t=>e((0,u.zq)(t)),setFormFieldValues:t=>e((0,u.xW)(t)),deleteFormFieldValues:t=>e((0,u.HE)(t))}),$=(0,M.xr)(D),X=$?we(we({},G),{},{createComments:t=>{e((0,N.fg)(t))},updateComments:t=>{e((0,N.gk)(t))},deleteComments:t=>{e((0,N.Vn)(t))}}):null,Y=we({},G),J=t(),Q=new w(L,W,C,J.annotationManager&&J.annotationManager.eventEmitter),ee=new E(L,Y,C,J.bookmarkManager&&J.bookmarkManager.eventEmitter),te=z&&q&&(0,M.k_)(D)?new x.c(L,q,C,J.formFieldManager&&J.formFieldManager.eventEmitter):null,ne=new T(L,H,C,J.formFieldValueManager&&J.formFieldValueManager.eventEmitter);let oe;$&&((0,s.kG)(null!=X),oe=new k(L,X,C,J.commentManager&&J.commentManager.eventEmitter));const re=(0,r.Z)(g.xp),ie=(0,r.Z)(ce.ET),ae={getPageContentState:e=>{const{pages:n,annotations:o,formFields:r}=t(),i=n.get(e);return(0,s.kG)(i),{pageSize:i.pageSize,annotations:re(o,i),formFields:ie(r,i)}},getZoomState:()=>t().viewportState.zoomLevel,getAnnotationWithFormField:e=>{const{annotations:n,formFields:o}=t(),r=n.get(e);return{annotation:r,formField:r instanceof d.x_&&r.formFieldName?o.get(r.formFieldName):null}},getFormFieldWidgets:e=>{const{annotations:n}=t(),{annotationIds:o}=e;return n.filter(((t,n)=>e.annotationIds.includes(n)||e.annotationIds.includes(String(t.pdfObjectId)))).toList().sort(((e,t)=>o.indexOf(e.id)t().formFields.get(e),isFormDesignerEnabled:()=>(0,M.ix)(t()),isAnnotationInState:e=>t().annotations.has(e),isFormFieldInState:e=>t().formFields.has(e),getAvailableVariants:e=>{const{APStreamVariantsRollover:n,APStreamVariantsDown:o}=t();if(null==e.pdfObjectId)return[];const r=[];return n.has(e.pdfObjectId)&&r.push(he),o.has(e.pdfObjectId)&&r.push(me),r}},le={createAnnotations:(e,t,n)=>{Q.backendObjectsCreated(e,n,{attachments:t})},updateAnnotations:Q.backendObjectsUpdated.bind(Q),deleteAnnotations:Q.backendObjectsDeleted.bind(Q),invalidateAPStreams:t=>e((0,I.GI)(t)),createAttachment:(t,n)=>{e((0,f.O)(t,new d.Pg({data:n})))},addAnnotationVariants:(t,n)=>{e((0,I.mw)(t,n))},applyJavaScriptActionChanges:t=>{e((0,u.bt)(t))}},pe={createBookmarks:ee.backendObjectsCreated.bind(ee),updateBookmarks:ee.backendObjectsUpdated.bind(ee),deleteBookmarks:ee.backendObjectsDeleted.bind(ee)},ge=z&&te instanceof x.c&&(0,M.k_)(D)?{createFormFields:te.backendObjectsCreated.bind(te),updateFormFields:te.backendObjectsUpdated.bind(te),deleteFormFields:te.backendObjectsDeleted.bind(te)}:null,be={createFormFieldValues:(e,t)=>{t===p.y?z&&ne.backendObjectsCreated(e,t):t===p.z&&Z&&ne.backendObjectsCreated(e,t)},setFormFieldValues:e=>{K&&ne.backendObjectsUpdated(e)},deleteFormFieldValues:e=>{Z&&ne.backendObjectsDeleted(e)}};let Se;$&&((0,s.kG)(null!=oe),Se={createComments:oe.backendObjectsCreated.bind(oe),updateComments:oe.backendObjectsUpdated.bind(oe),deleteComments:oe.backendObjectsDeleted.bind(oe)});const Pe=new se(e,t,null,J.changeManager&&J.changeManager.eventEmitter),Ee={attemptedUnlockViaModal:o,hasPassword:y,features:m,signatureFeatureAvailability:v,permissions:B,documentInfo:j,formJSON:U,annotationManager:Q,bookmarkManager:ee,formFieldManager:te,formFieldValueManager:ne,commentManager:oe,changeManager:Pe,minSearchQueryLength:b,documentHandle:D.getDocumentHandle(),allowedTileScales:S,pageKeys:P};let xe=null;(0,i.dC)((function(){e((0,c.rJ)(Ee)),L.setReadStateCallbacks(ae),L.setAnnotationCallbacks(le),L.setBookmarkCallbacks(pe),L.setFormFieldValueCallbacks(be),$&&((0,s.kG)(null!=Se),L.setCommentCallbacks(Se)),z&&(0,M.k_)(D)&&((0,s.kG)(ge),L.setFormFieldCallbacks(ge)),Pe.connect(),xe=L.load()}));try{await xe,await new Promise(((t,n)=>{("visible"===document.visibilityState?requestAnimationFrame:setTimeout)((()=>{D.lazyLoadPages().then((o=>{const r=[];o&&e((0,fe.uM)(o)),z&&(0,M.k_)(D)&&te&&r.push(te.loadFormFields()),(0,s.kG)(m,"Features should be defined at this point"),(0,M.xr)(D)&&(0,M.LC)({features:m,backend:D})&&oe&&r.push(oe.loadComments()),(0,M.YN)({features:m,backend:D})&&r.push(async function(e){var t;let{backend:n,dispatch:o}=e;const r=await(null===(t=n.getSecondaryMeasurementUnit)||void 0===t?void 0:t.call(n));r&&o((0,ye.VO)(r));const i=await n.getMeasurementScales();i&&o((0,ve.RN)(i?(0,l.Ex)(i):null))}({backend:D,dispatch:e})),r.length>0?Promise.all(r).then((()=>t())).catch(n):t()})).catch((e=>{n(e)}))}))}))}catch(e){throw e}}function Ee(e){return{type:pe.UX$,state:e}}function xe(e,t,n,o){let r;if("string"==typeof t){if(n===ge.x.SharePoint){const n=new URL(t,e),[o,r]=n.hostname.split(".").reverse();if("sharepoint"!==r||"com"!==o)throw new s.p2(`When using SharePoint, the document URL must be a sharepoint.com URL: it's ${r}.${o} instead.`)}if(n===ge.x.Salesforce){const t=new URL(e),[n,o]=t.hostname.split(".").reverse();if("salesforce"!==o&&"force"!==o&&"visualforce"!==o||"com"!==n)throw new s.p2(`When using Salesforce, the SDK must be loaded from a Salesforce URL: it's ${o}.${n} instead.`)}r=fetch(t,{credentials:"same-origin"}).then((e=>e.arrayBuffer())).finally((()=>{null==o||o()}))}else r=t;return r}},51559:(e,t,n)=>{"use strict";n.d(t,{RG:()=>c,SH:()=>h,bZ:()=>d,h6:()=>m,mr:()=>p,nN:()=>u,rh:()=>f});var o=n(35369),r=n(47347),i=n(60132),a=n(52560),s=n(28098),l=n(55024);function c(e){var t;return"STANDALONE"===(null===(t=e.backend)||void 0===t?void 0:t.type)&&e.features.includes(i.q.DOCUMENT_COMPARISON)}const u="You need the document comparison license component to use this feature.",d="The document comparison feature is only available in Standalone mode.",p=(e,t)=>(0,a.cq)(e.set("currentPageIndex",0).set("pageSizes",(0,o.aV)([t.pageSize])),s.c.FIT_TO_WIDTH);async function f(e){const t=await e;if("string"==typeof t){let e;try{e=fetch(t).then((e=>e.arrayBuffer()))}catch(e){(0,r.vU)(e)}return e}if(t instanceof ArrayBuffer)return t;throw new r.p2("Comparison document source is not a URL nor an ArrayBuffer")}const h=e=>e===l.Q.documentA?l.Q.documentA:e===l.Q.documentB?l.Q.documentB:l.Q.result,m=[[[0,0],[0,0]],[[0,0],[0,0]],[[0,0],[0,0]]]},4054:(e,t,n)=>{"use strict";n.d(t,{Aw:()=>d,Cz:()=>k,N1:()=>v,PF:()=>D,Qu:()=>p,R4:()=>h,R9:()=>f,_c:()=>x,_s:()=>S,ar:()=>m,cR:()=>P,eR:()=>g,f:()=>c,fp:()=>b,gC:()=>y,o5:()=>u,sR:()=>C});var o=n(47347),r=n(92466),i=n(36095),a=n(71231),s=n(38006),l=n.n(s);function c(e){return function(e){e&&i.vU&&e.scrollHeight}(e),function(e){return e.scrollHeight>e.clientHeight}(e)||u(e)}function u(e){return e.scrollWidth>e.clientWidth}function d(e){const t=e?e.document:document,n=t.createElement("iframe"),{documentElement:r}=t;return(0,o.kG)(r),n.title="script",n.dataset.testid="realm",n.style.position="absolute",n.style.top="-10000px",n.style.left="-10000px",n.style.width="10000px",n.style.height="10000px",n.setAttribute("aria-hidden","true"),r.appendChild(n),{window:n.contentWindow,remove(){r.removeChild(n)}}}function p(e){let t;if(!e.nodeName)return!1;const n=e.nodeName,o=e.hasAttribute("tabindex")&&parseInt(e.getAttribute("tabindex")),r=!isNaN(o)&&isFinite(o)&&"boolean"!=typeof o;if(/^(IFRAME|LABEL|DATALIST|INPUT|SELECT|TEXTAREA|BUTTON|OBJECT)$/.test(n)){if(t=!e.disabled,t){const n=e.closest("fieldset");n&&(t=!n.disabled)}}else t="A"===n?e.href||r:e.hasAttribute("contenteditable")&&"true"===e.getAttribute("contenteditable")||r;return!!t}const f=async e=>{let{buffer:t,width:n,height:o,format:r=(0,a.zP)()}=e;if("bitmap"===r)return(async e=>{let{buffer:t,width:n,height:o}=e;const r=document.createElement("canvas");r.width=n,r.height=o;const i=new Uint8ClampedArray(t),a=r.getContext("2d"),s=null==a?void 0:a.createImageData(n,o);return null==s||s.data.set(i),null==a||a.putImageData(s,0,0),h(await x(r))})({buffer:t,width:n,height:o});return h(new Blob([t],{type:`image/${r}`}))};function h(e){try{return m(URL.createObjectURL(e))}catch(e){return null}}async function m(e){const t=new Image;return t.onerror=e=>{throw new o.p2(`There was an error loading the image: ${e.message}`)},t.src=e,await C(t),new r.Z(t,(()=>URL.revokeObjectURL(e)))}function g(e){return!(!e||1!==e.nodeType)&&("true"===e.contentEditable||"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)}function v(e){return!(!e||1!==e.nodeType)&&Boolean(e.attributes.role&&"listbox"===e.attributes.role.value||e.attributes.role&&"menu"===e.attributes.role.value)}function y(e){if(!e||1!==e.nodeType)return!1;const t=e.ownerDocument.querySelector(".PSPDFKit-Toolbar"),n=e.ownerDocument.querySelector(".PSPDFKit-Annotation-Toolbar");return Boolean(t&&t.contains(e)||n&&n.contains(e))}function b(e){return!(!e||1!==e.nodeType)&&Boolean(e.closest(".PSPDFKit-Toolbar-Responsive-Group"))}let w=!1;{let e=document.createElement("div");const t=()=>{};try{e.addEventListener("focus",t,!0),e.focus(Object.defineProperty({},"preventScroll",{get:()=>{w=!0}}))}catch(e){w=!1}finally{e.removeEventListener("focus",t),e=null}}function S(e,t){w&&t.focus({preventScroll:!0})}function P(e,t){const n=t.HTMLAnchorElement.prototype.hasOwnProperty("download"),o=new Blob([e],{type:"application/pdf"});if("function"==typeof navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(o,"download.pdf");else if(n){const e=window.URL.createObjectURL(o);E(e),t.URL.revokeObjectURL(e)}else{const e=new FileReader;e.onloadend=function(){const t=e.result;"string"==typeof t&&E(t)},e.readAsDataURL(o)}}function E(e){(0,o.kG)(null!=document.body);const t=document.createElement("a");t.href=e,t.style.display="none",t.download="download.pdf",t.setAttribute("download","download.pdf"),document.body&&document.body.appendChild(t),t.click(),document.body&&document.body.removeChild(t)}function x(e){return new Promise(((t,n)=>{"toBlob"in e?e.toBlob((e=>{t(e)}),"image/png"):"msToBlob"in e?t(null==e?void 0:e.msToBlob()):n(new Error("Exporting HTMLCanvasElement to Blob is not supported in this browser."))}))}function D(e){e.preventDefault()}async function C(e){if(!(e instanceof HTMLImageElement)||"IMG"!==e.nodeName)return;try{await new Promise(((t,n)=>{e.complete?t():(e.onerror=n,e.onload=()=>t())}))}catch(e){throw new o.p2(`The image could not be loaded: ${e.message}`)}const t=e.decode();try{await t}catch(e){if(!i.i7)throw new o.p2(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}}function k(e){var t,n;null===(t=e.target)||void 0===t||t.classList.remove(l().focusedFocusVisible),null===(n=e.target)||void 0===n||n.removeEventListener("blur",k)}},13997:(e,t,n)=>{"use strict";n.d(t,{SV:()=>l,oM:()=>i,zj:()=>a});var o=n(47347),r=n(21076);function i(){return"protocol=5, client=2023.5.2, client-git=79422c91d1"}function a(){return"production"}const s=new Map;function l(e){const t=(0,r.Qk)();if(t)return t;const n=document.createElement("a");n.href=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;const n=s.get(e);if("string"==typeof n)return n;if(e.currentScript){const t=e.currentScript.src;return s.set(e,t),t}{let n;try{throw new t("PSPDFKit document.currentScript.src detection")}catch(e){e.stack&&(n=e.stack.match(/(?:file|https?):[^)]+/i))}(0,o.kG)(n,"Failed to automatically determine baseUrl. Please specify the base url as an option.");const r=n[0].split(":").slice(0,-2).join(":");return s.set(e,r),r}}(e);const i=n.pathname.split("/").filter(Boolean).slice(0,-1);return[`${n.protocol}/`,n.host,...i].join("/")+"/"}},20276:(e,t,n)=>{"use strict";function o(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1};return"function"==typeof Event?t=new Event(e,n):(t=document.createEvent("Event"),t.initEvent(e,Boolean(n.bubbles),Boolean(n.cancelable))),t}function r(e){const t=document.createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}n.d(t,{M:()=>o,_:()=>r})},71231:(e,t,n)=>{"use strict";n.d(t,{Gn:()=>r,Rh:()=>s,Zy:()=>i,zP:()=>a});var o=n(36095);const r=(()=>{if("object"!=typeof window)return!1;let e=!1;const t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});try{window.addEventListener("test",null,t)}catch(e){}return e})();let i=!o.G6;if(!o.G6){const e=new Image;e.onload=()=>i=e.width>0&&e.height>0,e.onerror=()=>i=!1,e.src="data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="}const a=()=>"bitmap";let s=!1;try{const e=new FormData;e.append("key","value");const t=new Response(e);"formData"in t&&!fetch.polyfill&&t.formData().then((()=>{s=!0})).catch((()=>{s=!1}))}catch(e){s=!1}},38623:(e,t,n)=>{"use strict";n.d(t,{GE:()=>p,eE:()=>d,vt:()=>u,x6:()=>f});var o=n(35369),r=n(47347),i=n(34710);const a=(0,o.hU)(["Helvetica","Arial","Calibri","Century Gothic","Consolas","Courier","Dejavu Sans","Dejavu Serif","Georgia","Gill Sans","Impact","Lucida Sans","Myriad Pro","Open Sans","Palatino","Tahoma","Times New Roman","Trebuchet","Verdana","Zapfino","Comic Sans"]),s=(0,o.hU)(["sans-serif","serif","monospace"]);let l=new Set;const c=(0,o.aV)(["mmmBESbswy"]);s.forEach((e=>{const t=a.filterNot((e=>l.has(e))),n=new i.f(document,c,{fontFamily:e}),o=t.map((t=>[t,new i.f(document,c,{fontFamily:`${t},${e}`})])),s=n.measure().first();(0,r.kG)(s),o.forEach((e=>{let[t,n]=e;const o=n.measure().first();s.equals(o)||(l=l.add(t))})),n.remove(),o.forEach((e=>{let[,t]=e;t.remove()}))}));const u=a.filter((e=>l.has(e))),d=[{name:"Caveat",file:"Caveat-Bold",weight:700},{name:"Marck Script",file:"MarckScript-Regular",weight:400},{name:"Meddon",file:"Meddon-Regular",weight:400},{name:"Pacifico",file:"Pacifico-Regular",weight:400}];function p(e,t){e.forEach((e=>{t.load(`16px ${e.name}`)}))}function f(e){return Promise.allSettled(e.map((e=>new Promise(((t,n)=>{var o,i;if((0,r.kG)(e.name),i=e.name,!/\.[^.]*$/.test(i))return(0,r.vU)(`The font name for font "${e.name}" must have a file extension.`),void n();null==e||null===(o=e.callback)||void 0===o||o.call(e,e.name).then((o=>{(0,r.kG)(e.name),o instanceof Blob?t({name:e.name,data:o}):((0,r.vU)(`Callback for retrieving font ${e.name} didn't returned a Blob. It returned ${typeof o}`),n())})).catch((t=>{(0,r.vU)(`Error returned by callback for retrieving font ${e.name}. ${t}`),n()}))}))))).then((e=>e.filter((e=>"fulfilled"===e.status)).map((e=>e.value))))}},16126:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>z,AM:()=>_,Ay:()=>N,BT:()=>y,CH:()=>R,CK:()=>j,CL:()=>k,ET:()=>O,G8:()=>E,Qg:()=>v,U_:()=>b,VY:()=>P,as:()=>Z,fF:()=>L,g6:()=>F,gE:()=>T,hT:()=>w,i2:()=>x,l_:()=>S,o6:()=>B,r_:()=>I,sC:()=>A,sh:()=>K});var o=n(84121),r=n(35369),i=n(47347),a=n(59780),s=n(66687),l=n(86920),c=n(78162),u=n(97528),d=n(95651),p=n(20792),f=n(5020),h=n(78233);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;tnew s.KD({name:e.name,value:"string"==typeof e.value?e.value:e.values,optionIndexes:e.optionIndexes}))).toList()}function y(e,t){var n;return e&&t?e instanceof a.Dz||e instanceof a.rF?e.values.size>0?e.values.equals(t.values):0===t.values.size:(e.value===t.value||"function"==typeof(null===(n=e.value)||void 0===n?void 0:n.equals)&&e.value.equals(t.value))&&(!e.optionIndexes||!t.optionIndexes||e.optionIndexes.every(((e,n)=>t.optionIndexes[n]===e))):!e&&!t}function b(e){return(0,r.D5)(e.map((e=>{(0,i.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"Invalid type for `pdfObjectId`.");try{(0,i.kG)(Array.isArray(e.annotationIds),"Invalid type for `annotationIds`."),(0,i.kG)("string"==typeof e.name,"Invalid type for `name`."),(0,i.kG)("string"==typeof e.label,"Invalid type for `label`.");const t=Array.isArray(e.flags)?e.flags:[],n={pdfObjectId:e.pdfObjectId,annotationIds:(0,r.aV)(e.annotationIds),name:e.name,label:e.label,readOnly:t.includes("readOnly"),required:t.includes("required"),noExport:t.includes("noExport")};switch(e.type){case"pspdfkit/form-field/button":return function(e){return new a.R0(g({},e))}(n);case"pspdfkit/form-field/radio":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("string"==typeof t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)("boolean"==typeof t.noToggleToOff,"Invalid type for `noToggleToOff`."),(0,i.kG)("boolean"==typeof t.radiosInUnison,"Invalid type for `radiosInUnison`."),new a.XQ(g(g({},e),{},{options:C(t.options),defaultValue:t.defaultValue,noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison}))}(n,e);case"pspdfkit/form-field/checkbox":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)(t.defaultValues instanceof Array,"Invalid type for `defaultValue`."),new a.rF(g(g({},e),{},{options:C(t.options),defaultValues:(0,r.aV)(t.defaultValues)}))}(n,e);case"pspdfkit/form-field/combobox":case"pspdfkit/form-field/listbox":return function(e,t){(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("boolean"==typeof t.multiSelect,"Invalid type for `multiSelect`."),(0,i.kG)("boolean"==typeof t.commitOnChange,"Invalid type for `commitOnChange`."),(0,i.kG)(!t.defaultValues||Array.isArray(t.defaultValues),"Invalid type for `defaultValue`.");const n=g(g({},e),{},{options:C(t.options),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:t.defaultValues?(0,r.aV)(t.defaultValues):(0,r.aV)()});switch(t.type){case"pspdfkit/form-field/combobox":{const e=t;return(0,i.kG)("boolean"==typeof e.edit,"Invalid type for `edit`."),(0,i.kG)("boolean"==typeof e.doNotSpellcheck||"boolean"==typeof e.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),new a.fB(g(g({},n),{},{edit:e.edit,doNotSpellCheck:e.doNotSpellCheck||e.doNotSpellcheck}))}case"pspdfkit/form-field/listbox":return new a.Vi(n);default:throw new Error("Unknown choice field type")}}(n,e);case"pspdfkit/form-field/text":return function(e,t){return(0,i.kG)("boolean"==typeof t.doNotSpellcheck||"boolean"==typeof t.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),(0,i.kG)("boolean"==typeof t.doNotScroll,"Invalid type for `doNotScroll`."),(0,i.kG)("boolean"==typeof t.password,"Invalid type for `password`."),(0,i.kG)("boolean"==typeof t.multiLine,"Invalid type for `multiLine`."),(0,i.kG)("string"==typeof t.defaultValue||!t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)(!0!==t.comb||"number"==typeof t.maxLength,"Invalid type for `comb`. When `comb` is set, the text field must have a `maxLength`."),new a.$o(g(g({},e),{},{defaultValue:t.defaultValue,doNotSpellCheck:t.doNotSpellCheck||t.doNotSpellcheck,doNotScroll:t.doNotScroll,password:t.password,maxLength:"number"==typeof t.maxLength?t.maxLength:null,multiLine:t.multiLine,comb:t.comb}))}(n,e);case"pspdfkit/form-field/signature":return function(e){return new a.Yo(g({},e))}(n);default:throw new Error(`Unsupported form field type: ${e.type}`)}}catch(t){return(0,i.um)(`Skipped parsing form field #${e.name} from payload because an error occurred while deserializing.`),void(0,i.um)(t)}})).filter(Boolean).map((e=>[null==e?void 0:e.name,e])))}function w(e){return e.map((e=>c.Z.fromJSON(e.pdfObjectId?e.pdfObjectId.toString():e.id,e)))}function S(e,t){const n=e.annotationIds.findIndex((0,d.oF)(t)),o=e.options.get(n);return(0,i.kG)(o,`There is no FormOption defined for annotationId '${t.id}' in formField '${e.name}'.`),o.value}function P(e,t){let{rotation:n,boundingBox:o}=e;if(!n)return{};const r=90===(0,f.Lv)(n)||270===(0,f.Lv)(n),i={},a=Math.ceil(o.height*t),s=Math.ceil(o.width*t);return r&&(i.width=a,i.height=s),n&&(i.transformOrigin="50% 50%",i.transform=E({width:s,height:a,rotation:n})),i}function E(e){let{width:t,height:n,rotation:o,reverse:r=!1}=e;const i=90===(0,f.Lv)(o)||270===(0,f.Lv)(o);return r?`rotate(${o}deg)`+(i&&t&&n?`translate(${-Math.round(t/2-n/2)}px, ${Math.round(t/2-n/2)}px)`:""):(i&&t&&n?`translate(${Math.round(t/2-n/2)}px, ${-Math.round(t/2-n/2)}px) `:"")+`rotate(${-o}deg)`}function x(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{fontColor:o,font:r,backgroundColor:i,borderColor:a,horizontalAlign:s,borderWidth:l,borderStyle:c,isBold:u,isItalic:d,boundingBox:{width:p,height:f},opacity:m}=e,v=Math.ceil(p*t),y=Math.ceil(f*t);return g(g({color:null==o?void 0:o.toCSSValue(),backgroundColor:null==i?void 0:i.toCSSValue(),borderColor:(null==a?void 0:a.toCSSValue())||"transparent",opacity:m,textAlign:s||void 0,fontWeight:u?"bold":void 0,fontStyle:d?"italic":void 0},"string"==typeof r?{fontFamily:(0,h.hm)(r)}:null),{},{borderWidth:l||0,borderStyle:null!=c?D[c]:"none",width:v,height:y},n?P(e,t):{})}const D={solid:"solid",dashed:"dashed",beveled:"groove",inset:"inset",underline:"none none solid"};function C(e){return(0,r.aV)(e.map((e=>new s.mv(e))))}function k(e,t){return e.formFields.find((e=>e.id===t))}function O(e,t){return e.filter((e=>e.annotationIds.some((e=>t.annotationIds.has(e))))).toList()}function A(e,t,n){var o,r,i,a;return"STANDALONE"===e.type&&u.Options.PDF_JAVASCRIPT&&"function"==typeof e.onKeystrokeEvent&&(Boolean(null===(o=t.additionalActions)||void 0===o?void 0:o.onInput)||Boolean(null===(r=n.additionalActions)||void 0===r?void 0:r.onInput)||Boolean(null===(i=t.additionalActions)||void 0===i?void 0:i.onChange)||Boolean(null===(a=n.additionalActions)||void 0===a?void 0:a.onChange))}function T(e,t){if(0===e.length)return t;if(0===t.length)return e;const n=[],o=t.slice(0);return e.forEach((e=>{if((e.change_type===l.uV||e.change_type===l.zR)&&"pspdfkit/form-field-value"===e.object.type){const t=o.findIndex((t=>"pspdfkit/form-field-value"===t.object.type&&t.object.type===e.object.type&&t.object.name===e.object.name));if(t>-1){const n=o[t];e.object.formattedValue=n.object.formattedValue,e.object.editingValue=n.object.editingValue,o.splice(t,1)}}n.push(e)})),n.concat(o)}function I(e,t,n){const o=e&&n.formFields.get(e.name);if(e&&o&&!y(e,o)){e.annotationIds.reduce(((e,n)=>{var o;const i=t.annotations.get(n)||t.annotations.find((e=>e.pdfObjectId===parseInt(n)));if(i&&null!==(o=t.isAPStreamRendered)&&void 0!==o&&o.call(t,i)){return e.get(i.pageIndex)?e.updateIn([i.pageIndex],(e=>e.add(i.id))):e.set(i.pageIndex,(0,r.l4)([i.id]))}return e}),(0,r.D5)()).forEach(((e,n)=>{var o;null===(o=t.backend)||void 0===o||o.clearPageAPStreams(n,e)}))}}function F(e,t,n){const o=e.annotationIds.findIndex((0,d.oF)(t)),i=S(e,t),a=e.options.filter((e=>e.value===i)).size;let s;if(n){if(a<2)return;s=(e.optionIndexes||(0,r.aV)()).push(o)}else{if(!e.optionIndexes)return;s=e.optionIndexes.filter((e=>e!==o))}return s.size>0?s:void 0}function M(e,t,n){const o=t.filter((t=>{const o=e.annotationIds.get(t);if(!o)return!1;const r=n.get(o);if(!r)return!1;const i=S(e,r);return e.options.filter((e=>e.value===i)).size>1}));return o.size>0?o:void 0}function _(e){let{state:t,mutableState:n,formFieldValues:o,areFormFieldValuesNew:s}=e;o.forEach((e=>{let{name:o,value:l,optionIndexes:c}=e;const u=t.formFields.get(o);if(u){if((0,i.kG)(!c||u instanceof a.XQ||u instanceof a.rF,"`optionIndexes` property is only supported in radio and checkbox form field values."),u instanceof a.$o)l=l||"",(0,i.kG)("string"==typeof l,`The type of action value for a TextFormField is ${typeof l}, but has to be a string`),n.setIn(["formFields",o,"value"],l);else if(u instanceof a.XQ){if((0,i.kG)("string"==typeof l||null===l,`The type of action value for a RadioButtonFormField is ${typeof l}, but has to either be a string or null`),n.setIn(["formFields",o,"value"],l),c){const e=M(u,c,t.annotations);e&&n.setIn(["formFields",o,"optionIndexes"],e)}}else if(u instanceof a.Dz||u instanceof a.rF){if(l=l||(0,r.aV)(),(0,i.kG)(l instanceof r.aV,`The type of action value for the ${u instanceof a.Dz?"ChoiceFormField":"CheckBoxFormField"} is ${typeof l}, but has to be a List of strings`),n.setIn(["formFields",o,"values"],l),u instanceof a.rF&&c){const e=M(u,c,t.annotations);e&&n.setIn(["formFields",o,"optionIndexes"],e)}}else u instanceof a.R0||u instanceof a.Yo||(0,i.kG)(!1,`Cannot set form field value for ${u.name}: unknown form field type`);s||I(u,t,n)}else(0,i.ZK)(`No form field found with name ${o}`)}))}function N(e){let{getState:t,originalFormFields:n,formFieldValues:o,callback:a,resolve:s}=e;const{formFields:l,annotations:c,backend:u}=t(),d=[],p=[];n.forEach(((e,t)=>{if(!e)return;(0,i.kG)(u);let n=l.get(t);if((0,i.kG)(n),o.some((e=>e.name===t&&(n=r.aV.isList(e.value)?n.set("values",e.value):n.set("value",e.value),!0))),y(e,n))p.push(t);else{c.filter((e=>e.points===t)).reduce(((e,t)=>{const n=e.get(t.pageIndex);return n?e.set(t.pageIndex,n.add(t.id)):e.set(t.pageIndex,(0,r.l4)([t.id]))}),(0,r.D5)()).forEach(((e,t)=>{d.push({pageIndex:t,pageWidgetIds:e})}))}})),a(p),d.forEach((e=>{let{pageIndex:t,pageWidgetIds:n}=e;null==u||u.clearPageAPStreams(t,n)})),null==s||s()}function R(e){return new s.KD(g({name:e.name,value:e.values||e.value},e.optionIndexes?{optionIndexes:e.optionIndexes}:null))}function L(e){return e===p.A.CHECKBOX_WIDGET||e===p.A.RADIO_BUTTON_WIDGET||e===p.A.SIGNATURE_WIDGET||e===p.A.TEXT_WIDGET||e===p.A.BUTTON_WIDGET||e===p.A.COMBO_BOX_WIDGET||e===p.A.LIST_BOX_WIDGET||e===p.A.FORM_CREATOR||e===p.A.DATE_WIDGET}function B(e){return L(e)&&e!==p.A.FORM_CREATOR}function j(e,t){const n=S(e,t),o=!e.optionIndexes||e.optionIndexes.includes(e.annotationIds.findIndex((0,d.oF)(t)));return e instanceof a.XQ?e.value===n&&o:e instanceof a.rF?e.values.includes(n)&&o:(0,i.Rz)(e)}const z="Invalid date/time: please ensure that the date/time exists. Field [",K="The value entered does not match the format of the field [",Z="format "},51269:(e,t,n)=>{"use strict";function o(e){return e.some((e=>e instanceof Error))?Promise.reject(e):Promise.resolve(e)}n.d(t,{s:()=>o})},39728:(e,t,n)=>{"use strict";n.d(t,{FA:()=>g,GW:()=>y,WF:()=>b,Yr:()=>w,_d:()=>v,ax:()=>S,kM:()=>m,mZ:()=>P});var o=n(84121),r=n(47347),i=n(35369),a=n(32125),s=n(66687),l=n(67699),c=n(95651),u=n(62164),d=n(15973),p=n(60619);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;te.push({type:"delete",payload:{id:t.id}}))),e.update("redoActions",(e=>e.clear())))}function y(e,t,n,o){if(e.isHistoryEnabled){let t=!0;if(e.eventEmitter.emit("history.willChange",{annotation:n,type:"update",preventDefault(){t=!1}}),!t)return}if(!t.set("updatedAt",null).equals(n.set("updatedAt",null)))if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled&&function(e,t){if(e instanceof s.gd&&!e.text)return!(!t||!("text"in t))&&!!t.text.value;if(e instanceof s.Jn&&!e.isCommentThreadRoot)return!!t&&t.isCommentThreadRoot;if("number"!=typeof e.pageIndex&&"number"!=typeof t.pageIndex)return!1;return!0}(n,t)){const r="number"!=typeof t.pageIndex&&"number"==typeof n.pageIndex||t instanceof s.gd&&null==t.text||t instanceof s.Jn&&!t.isCommentThreadRoot&&n.isCommentThreadRoot?{type:"delete",payload:{id:t.id}}:{type:"update",payload:P(n,t),restoreAPStream:o,deletedAnnotation:null};e.update("undoActions",(e=>e.push(r))),e.update("redoActions",(e=>e.clear()))}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const o=e.undoActions.findLastIndex((e=>("update"===e.type||"delete"===e.type)&&e.payload.id===n.id));-1!==o&&e.updateIn(["undoActions",o],(e=>"update"===e.type?h(h({},e),{},{payload:P(n,t.merge(e.payload)),restoreAPStream:e.restoreAPStream}):"delete"===e.type?h(h({},e),{},{payload:h(h({},P(n,t)),e.payload)}):e))}}function b(e,t,n){if(t instanceof d.Hu)return;if(e.isHistoryEnabled){let n=!0;if(e.eventEmitter.emit("history.willChange",{annotation:t,type:"delete",preventDefault(){n=!1}}),!n)return}const o=(0,c.xc)();if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled){const r=w(t,o,e.commentThreads,e.comments),i=S(t,o,e);e.update("undoActions",(e=>e.map((e=>e.payload.id===t.id?h(h({},e),{},{payload:h(h({},e.payload),{},{id:o})}):e)).push({type:"create",payload:t.set("id",o),formField:i,restoreAPStream:n,comments:r}))),e.update("redoActions",(e=>e.clear()));const a=e.historyIdsMap.get(t.id);a&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",o],a||t.id)}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const r=e.undoActions.findLastIndex((e=>"update"===e.type&&e.payload.id===t.id));if(-1!==r){e.updateIn(["undoActions",r],(e=>({type:"update",deletedAnnotation:t,payload:e.payload,restoreAPStream:n})));const i=e.historyIdsMap.get(t.id);i&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",o],i||t.id)}}}function w(e,t,n,o){let r=null;if(e.isCommentThreadRoot){const i=n.get(e.id);r=i?i.map((e=>{const n=o.get(e);return n&&n.set("rootId",t)})).filter((e=>e&&!(0,u.kT)(e))).toList():null}return r}function S(e,t,n){let o=null;return e instanceof s.x_&&(o=(0,p.GA)(n,e)),o&&o.set("annotationIds",(0,i.aV)([t]))}function P(e,t){return t.toSeq().reduce(((t,n,o)=>(e.has(o)&&e.get(o)===n||(t[o]=n),t)),{id:e.id})}},58479:(e,t,n)=>{"use strict";n.d(t,{$:()=>v,Ah:()=>O,Bo:()=>P,R9:()=>f,Sv:()=>D,Tp:()=>x,U5:()=>T,_x:()=>b,dX:()=>y,jC:()=>S,jw:()=>g,lB:()=>C,mP:()=>E,nG:()=>m,tm:()=>w,wA:()=>A,wL:()=>k});var o=n(67294),r=n(67366),i=n(63738),a=n(27515),s=n(34573),l=n(66687),c=n(51731),u=n(78233),d=n(69939),p=n(4054);function f(e){const t=o.useRef(e),n=o.useCallback((function(){for(var e,n=arguments.length,o=new Array(n),r=0;r(t.current=e,()=>t.current=void 0))),n}function h(e){const t=(0,r.I0)();return[(0,r.v9)((t=>{if(t.documentComparisonState&&void 0!==t.documentComparisonState[e])return t.documentComparisonState[e];throw new Error("Document comparison state not properly initialized.")})),f((n=>t((0,i.M5)({[e]:n}))))]}function m(){return h("referencePoints")}function g(){return h("currentTab")}function v(){return h("autoCompare")}function y(){return h("isResultFetched")}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=o.useRef(),n=o.useRef();return(0,r.v9)((o=>(o.viewportState===t.current&&n.current||(n.current=t=>t.apply((0,a.zi)(o,e))),t.current=o.viewportState,n.current)))}function w(){const e=o.useRef(!0),t=o.useCallback((()=>e.current),[]);return o.useEffect((()=>()=>{e.current=!1}),[]),t}function S(e){const t=o.useRef();return o.useEffect((()=>{t.current=e})),t.current}function P(e,t){const{customUIStore:n,sidebarMode:i}=(0,r.v9)((e=>({customUIStore:e.customUIStore,sidebarMode:e.sidebarMode}))),[a,s]=o.useState((()=>{var e;return i?null==n||null===(e=n.getState().Sidebar)||void 0===e?void 0:e[i]:void 0}));o.useEffect((()=>null==n?void 0:n.subscribe((e=>{var t;if(!i)return;const n=null==e||null===(t=e.Sidebar)||void 0===t?void 0:t[i];s((()=>n))}))),[n,i]);const l=e&&(null==a?void 0:a({containerNode:e,items:t})),c=null==l?void 0:l.node;return o.useEffect((()=>{c&&e&&c!==e&&e.lastChild!==c&&e.append(c)}),[e,c]),null==l?void 0:l.onRenderItem}function E(e,t,n){const r=o.useRef({}),i=f(t),a=f(n),s=o.useMemo((()=>(t,n)=>{e&&t&&n&&(e({itemContainerNode:t,item:n}),r.current[i(n)]=t)}),[e,i]);return o.useEffect((()=>{Object.entries(r.current).forEach((t=>{let[n,o]=t;if(o&&n){const t=a(n),o=r.current[n];e&&o&&t&&e({itemContainerNode:o,item:t})}}))}),[e,a]),e?s:null}function x(){const[e,t]=o.useState(null),[n,r]=o.useState(null),[i,a]=o.useState(null),s=o.useRef(),l=o.useRef(),c=o.useRef(null);o.useEffect((()=>{l.current=n,s.current=i})),o.useEffect((()=>{const t=e&&n&&!l.current,o=!e&&s.current&&i;(t||o)&&c.current&&c.current.focus()}),[n,i,e]);const u=o.useCallback((()=>{r(!0)}),[r]);return{handleGroupExpansion:o.useCallback((e=>{t(e),e?a(e):r(!1)}),[a,t,r]),handleEntered:u,expandedGroup:e,prevActiveGroup:i,btnFocusRef:c}}function D(e,t,n){o.useLayoutEffect((function(){null!==e&&(t((0,s.Sb)()),n(e))}),[n,e,t])}function C(e,t,n,r){return o.useCallback((function(o){if(!(e instanceof l.gd))return;const i=(0,u.Zv)(e,t,n).boundingBox;let a=null;switch(o){case c.V.RIGHT:a=e.setIn(["boundingBox","width"],i.width);break;case c.V.BOTTOM:a=e.setIn(["boundingBox","height"],i.height);break;case c.V.BOTTOM_RIGHT:a=e.set("boundingBox",i)}null!==a&&r((0,d.FG)((0,u.XA)(a,n)))}),[e,r,t,n])}function k(e){const t=o.useRef(null);return o.useEffect((function(){const{current:n}=t;n&&(0,p._s)(e(),n)}),[e]),t}function O(e){const[t,n]=o.useState(e),[r,i]=o.useState(e);return t!==e&&(i(e),n(e)),[r,i]}function A(e,t,n){o.useEffect((function(){if(!e)return;const o=t();return o.addEventListener("scroll",n),function(){o.removeEventListener("scroll",n)}}),[t,e,n])}function T(e){let{threshold:t=0}=e;const[n,r]=o.useState(null),[i,a]=o.useState(null),s=o.useRef(null);return o.useEffect((()=>{s.current&&s.current.disconnect(),s.current=new window.IntersectionObserver((e=>{let[t]=e;return r(t)}),{threshold:t});const{current:e}=s;return i&&e.observe(i),()=>e.disconnect()}),[i]),[a,n||{}]}},53678:(e,t,n)=>{"use strict";n.d(t,{Pn:()=>i,rH:()=>a,sf:()=>s,vu:()=>r});var o=n(97413);function r(e){return 200<=e&&e<300}function i(e){const t=e.indexOf("://")>0;(0,o.k)(t,`The baseUrl must be an absolute URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.\nProtocol relative URLs (e.g. //example.com/pspdfkit-lib/) are not supported.`);const n="/"===e.substr(-1);(0,o.k)(n,`The baseUrl must have a trailing slash in the URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.`)}function a(e){return i(e)}function s(e){const t=e.indexOf("://")>0;(0,o.k)(t,`The hostedBaseUrl must be an absolute URL (e.g. https://api.pspdfkit.com/, but it is set to ${e}.`);const n="/"===e.substr(-1);(0,o.k)(n,`The hostedBaseUrl must have a trailing slash in the URL (e.g. https://api.pspdfkit.com/), but it is set to ${e}.`)}},45588:(e,t,n)=>{"use strict";n.d(t,{Jc:()=>b,UW:()=>v,Y:()=>w,an:()=>y,uq:()=>g});var o=n(84121),r=n(30845),i=n(47347),a=n(91859),s=n(97333),l=n(37015),c=n(88804),u=n(92466),d=n(73815),p=n(66687);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t{t.onerror=e=>o(new Error(e)),t.onload=e=>{var t;const o=new Image;o.onload=()=>{n(new c.$u({width:o.width,height:o.height}))},o.onerror=()=>n(new c.$u({width:a.zA,height:a._2})),o.src=null===(t=e.target)||void 0===t?void 0:t.result},t.readAsDataURL(e)}))}));const g=async e=>{const{Sha256:t,bytes_to_hex:o}=await n.e(4536).then(n.bind(n,61529)),r=new t,i=await(0,l.V)(e);return{hash:o(r.process(i).finish().result),dimensions:await m(e)}};function v(e){return`${e.imageAttachmentId}_${e.id}`}function y(e){var t;let{backend:n,blob:o,annotation:r,isDetachedAnnotation:a=!1,zoomLevel:l,variant:u}=e,f=null,m=!1;const y=null!==(t=null==r?void 0:r.rotation)&&void 0!==t?t:0;(0,i.kG)(n);const b=r?v(r):void 0;if(r&&"imageAttachmentId"in r&&r.imageAttachmentId&&b&&n.attachmentsCache.has(b)){const{dimensions:e,img:t,provisional:i,prevRotation:a}=n.attachmentsCache.get(b);if(n&&i&&o&&a===y)return w();o&&"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type&&(m=!0),f=S(n,e,y,r,o,t).then((r=>(o&&"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type&&r&&(n.attachmentsCache=n.attachmentsCache.set(b,{dimensions:e,img:t,provisional:!0,prevRotation:y})),r)))}else{if(!o||"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type)return w();f=g(o).then((e=>{let{dimensions:t}=e;return S(n,t,y,r,o)})).catch((()=>{throw new i.p2("Couldn't read data from the provided image.")}))}return h(h({},(0,s.uZ)(f)),{},{isProvisional:m});function w(){(0,i.kG)(n,"Backend is required to render the image"),(0,i.kG)(r,"Annotation is required to render the image");const{boundingBox:e}=r,t=(0,d.L)()*(null!=l?l:1);let s=Math.round(e.width*t),f=Math.round(e.height*t);if(!(r instanceof p.GI||r instanceof p.sK)){const e=Math.sqrt(s*f/1e7);e>1&&(s=Math.round(s*(1/e)),f=Math.round(f*(1/e)))}const h=new c.$u({width:s,height:f}),m=a?n.renderDetachedAnnotation(r,o,s,f):n.cachedRenderAnnotation(r,o,s,f,u);return m.promise=m.promise.then((async e=>"imageAttachmentId"in r&&r.imageAttachmentId&&b&&null!=e&&e.element?0!==y?S(n,h,360-y,r,o,e.element).then((t=>(null!=t&&t.element&&(n.attachmentsCache=n.attachmentsCache.set(b,{dimensions:90===y||270===y?h.swapDimensions():h,img:t.element,prevRotation:y})),e))):(n.attachmentsCache=n.attachmentsCache.set(b,{dimensions:h,img:e.element,prevRotation:y}),e):e)),m}}function b(e,t){const n=new Uint8Array(e.length);for(let t=0;tnew Promise((e=>{o.toBlob(e)})));const s=o.getContext("2d");s.textBaseline="hanging";s.font=`100px "${i}"`;const{actualBoundingBoxLeft:l,actualBoundingBoxRight:c,width:u}=s.measureText(e);o.height=500;const d=2*(l||c?l+c:u);return o.width=d,s.textBaseline="hanging",s.font=`100px "${i}"`,s.fillStyle=a.toCSSValue(),s.fillText(e,d/4,125),function(e){const t=e.getContext("2d"),n=t.getImageData(0,0,e.width,e.height),o=n.data.length;let r=null,i=null,a=null,s=null,l=0,c=0;for(let t=0;tP(i,t,n).then(e,o)));if(r){const i=URL.createObjectURL(r),a=document.createElement("img");return new Promise(((s,l)=>{a.onload=()=>{r&&o&&(e.attachmentsCache=e.attachmentsCache.set(v(o),{dimensions:t,img:a,prevRotation:n})),P(a,t,n).then(s,l)},a.onerror=()=>{l(new Error("The attachment provided could not be rendered as image/jpeg, image/png or image/webp although the mime type suggests so."))},a.src=i}))}return new Promise((e=>e))}async function P(e,t,n){if(0===n)return e.onload=null,e.onerror=null,new u.Z(e,(()=>{}));{const o=document.createElement("canvas"),{width:r,height:a}=t;90===n||270===n?(o.width=a,o.height=r):(o.width=r,o.height=a);const s=o.getContext("2d");return(0,i.kG)(s,"Could not get canvas context"),90===n||270===n?s.translate(a/2,r/2):s.translate(r/2,a/2),s.rotate(n*-Math.PI/180),s.drawImage(e,-r/2,-a/2),new u.Z(o,(()=>{}))}}},7844:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,b:()=>a});var o=n(35369);function r(e,t){if(e===t||(0,o.is)(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=Object.prototype.hasOwnProperty.bind(t);for(let r=0;r{"use strict";n.d(t,{$U:()=>g,H9:()=>u,HB:()=>h,IQ:()=>f,Ip:()=>y,Vv:()=>w,gz:()=>d,o:()=>p,u8:()=>v,vR:()=>m});var o=n(35369),r=n(66687),i=n(13816),a=n(51731),s=n(36095),l=n(73815),c=n(97413);function u(e,t,n){return 0===n||0===e.size||e.last().distance(t)>n}function d(e){var t,n,o,i;if(0===e.lines.size)return new r.UL;const a=e.lines.flatMap((e=>e)),s=Math.ceil((null===(t=a.maxBy((e=>e.x)))||void 0===t?void 0:t.x)+e.lineWidth/2),l=Math.ceil((null===(n=a.maxBy((e=>e.y)))||void 0===n?void 0:n.y)+e.lineWidth/2),c=Math.floor((null===(o=a.minBy((e=>e.x)))||void 0===o?void 0:o.x)-e.lineWidth/2),u=Math.floor((null===(i=a.minBy((e=>e.y)))||void 0===i?void 0:i.y)-e.lineWidth/2);return new r.UL({width:s-c,height:l-u,top:u,left:c})}function p(e,t,n){const{width:o,height:s}=e.boundingBox,l=(0,i.BP)(new r.$u({width:o,height:s}),t);return(0,i.D7)(e,new r.E9({x:l.width-o,y:l.height-s}),a.V.BOTTOM_RIGHT,n,!1)}const f=e=>e.reduce(((e,t)=>(null==t?e.push((0,o.aV)()):e[e.length-1]=e[e.length-1].push(t),e)),[(0,o.aV)()]).filter((e=>e.size>0)),h=e=>{const t=Math.abs(Math.ceil(Math.log10((0,l.L)()*e)));let n;return n=t>100?100:t,n},m=(e,t)=>{const n=e.first();if(1===e.size&&n)return[`L ${n.x},${n.y}`];const o=[`M ${n.x},${n.y}`],r=e.get(1);if(2===e.size&&r)return o.push(`L ${r.x},${r.y}`),o;for(let n=2,r=e.size;n{const t=e.first();return 1===e.size&&t?[`L ${t.x},${t.y}`]:e.reduce(((e,t,n)=>(n>0&&e.push(`L ${t.x},${t.y}`),e)),[`M ${t.x},${t.y}`])},v=e=>e.reduce(((t,n,o)=>(e[o-1]&&"M 0,0"!==e[o-1]||!n.startsWith("L")||t.push(n.replace("L","M")),t.push(n),t)),[]).join(" ");function y(e,t,n){if(e.lines.size<2)return!0;const o=e.lines.last();if(null==e.lines.get(e.lines.size-2)||null==o||0===o.size||o.size>2)return!0;const r=.5*(t.width+t.height),i=e.lines.size<50?.15:.03,a=(Date.now()-n)/1e3;if(ae.some((e=>e.distance(s){"use strict";n.d(t,{k:()=>r});var o=n(47347);function r(e,t){if(!e)throw new o.p2(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}},28028:(e,t,n)=>{"use strict";n.d(t,{eU:()=>s,t0:()=>l,yK:()=>a});var o=n(19575),r=n(47347),i=n(21076);function a(e){const t="The supplied JWT is invalid. Please refer to our guides on how to set up authentication:\n https://pspdfkit.com/guides/web/current/server-backed/client-authentication/";if(-1!==e.indexOf('{"internal":'))return;let n;(0,r.kG)("string"==typeof e&&3===e.split(".").length,t);try{const t=o.Base64.decode(e.split(".")[1]);n=JSON.parse(t)}catch(e){throw new r.p2(t)}(0,r.kG)("string"==typeof n.document_id,"The supplied JWT is invalid. The field 'document_id' has to be a string value.\n Please refer to our guides for further information: https://pspdfkit.com/guides/web/current/server-backed/client-authentication/")}function s(e){if("string"!=typeof e)throw new r.p2("`accessToken` must be of type string.")}function l(e,t){(0,r.kG)("string"==typeof e,"`appName` must be a string."),(0,r.kG)((0,i.d)()||(0,i.AL)(e,t),"`appName` should only be set when using Electron or Maui."),(0,r.kG)(!(0,i.Sk)()||(0,i.AL)(e,t),"`appName` should only be set when using Electron without node integration or Maui.")}},77552:(e,t,n)=>{"use strict";function o(e){return{name:e.name,scale:{unitFrom:e.scale.unitFrom,unitTo:e.scale.unitTo,from:Number(e.scale.fromValue),to:Number(e.scale.toValue)},precision:e.precision}}n.d(t,{f:()=>o})},30570:(e,t,n)=>{"use strict";n.d(t,{B0:()=>Q,Di:()=>x,Ex:()=>G,Hg:()=>q,KI:()=>D,P_:()=>N,Qc:()=>Z,Rc:()=>V,Rw:()=>L,S6:()=>R,W9:()=>z,_P:()=>A,b5:()=>U,bs:()=>Y,cd:()=>B,fH:()=>H,m_:()=>j,mq:()=>$,nK:()=>K,t9:()=>_,xA:()=>X,zl:()=>J});var o=n(84121),r=n(47347),i=n(85628),a=n.n(i),s=n(35369),l=n(71603),c=n(9599),u=n(69939),d=n(74115),p=n(20792),f=n(4132),h=n(36489),m=n(79827),g=n(70076),v=n(20683),y=n(88713),b=n(50690),w=n(87043),S=n(36095);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function E(e){for(var t=1;te.y-t.y)).first();return{coordinate:[o.x,o.y-t]}}{const{boundingBox:t}=e;return{coordinate:[t.left+t.width/2,t.top+t.height/2]}}}(e,o);if(!r)return{display:"none"};const a={position:"absolute",transform:"translate(-50%, -50%) "+(e instanceof b.Z||e instanceof w.Z||e instanceof g.Z?"":e instanceof v.Z&&i?`rotate(${i}deg) translate(0, -${e.strokeWidth/2+10}px)`:i?`rotate(${i}deg) translate(0px, -${e.strokeWidth/2+10}px)`:`translate(0px, -${e.strokeWidth/2+10}px)`),transformOrigin:"center",fontSize:12,color:null===(n=e.strokeColor)||void 0===n?void 0:n.toCSSValue(),width:"max-content",left:r[0],top:e instanceof v.Z&&S.G6&&!i?r[1]-20:r[1]},{boundingBox:s}=e;return(e instanceof w.Z||e instanceof g.Z)&&(t&&s.width<200||s.width<80)?E(E({},a),{},{top:s.top-30}):a}function C(e,t){let n=e,o=t;t.x({label:h.s[e],value:h.s[e],disabled:!1}))),z=function(){const e=[];for(const t in f.L){const n=Object.keys(f.L).find((e=>e===t));if(n&&k.hasOwnProperty(f.L[t]))e.push((1/Math.pow(10,A[f.L[n]])).toString());else if(n&&O.hasOwnProperty(f.L[t])){const t=new(a())(A[f.L[n]]);e.push(t.toFraction(!0).toString())}}return e}(),K=Object.keys(f.L).map(((e,t)=>({label:z[t],value:f.L[e]}))),Z=Object.keys(f.L).filter((e=>!J(f.L[e]))).map(((e,t)=>({label:z[t],value:f.L[e]}))),U=Object.keys(m.K).map((e=>({value:m.K[e],label:m.K[e]}))),V=(e,t)=>({added:t.filter((t=>!e.find((e=>JSON.stringify(e)===JSON.stringify(t))))),deleted:e.filter((e=>!t.find((t=>JSON.stringify(e)===JSON.stringify(t)))))});function G(e){return e.map(((e,t)=>{const n=E(E({},e),{},{scale:E(E({},e.scale),{},{fromValue:e.scale.from,toValue:e.scale.to})});var o;(delete n.scale.from,delete n.scale.to,n.name&&""!==n.name.trim())||(n.name=(null===(o=(0,c.sJ)(n))||void 0===o?void 0:o.label)||`Scale ${t}`);return d.q[n.precision]&&(n.precision=d.q[n.precision]),n}))}async function W(e){let{operation:t,scale:n,getState:o,measurementUpdate:r,dispatch:i}=e;const a=o(),{backend:c,annotations:d,annotationManager:p}=a;const f=async(e,r)=>{const a=await(async e=>(await(null==p?void 0:p.loadAnnotationsForPageIndex(e)),o().annotations))(r);!function(e,t,o){e.forEach((e=>{const r=t.find((t=>t.pdfObjectId===e.pdfObjectId));if(r)switch(o){case"edit":{const e=r.set("measurementScale",new l.Z({fromValue:Number(n.scale.fromValue),toValue:Number(n.scale.toValue),unitFrom:n.scale.unitFrom,unitTo:n.scale.unitTo})).set("measurementPrecision",n.precision);i((0,u.FG)(e));break}case"delete":i((0,u.hQ)(r))}}))}(e,a,t)},h="STANDALONE"===c.type?await c.getAnnotationsByScale(n):function(e,t){return t.filter((t=>{const n=t.measurementScale,o=t.measurementPrecision;return!!n&&n.unitFrom===e.scale.unitFrom&&n.unitTo===e.scale.unitTo&&n.fromValue===e.scale.fromValue&&n.toValue===e.scale.toValue&&o===e.precision}))}(n,d),m=[];if(h.forEach((e=>{const n=d.find((t=>t.pdfObjectId?t.pdfObjectId===e.pdfObjectId:t.id===e.id));if(n&&"edit"===t&&r){const e=n.set("measurementScale",r.scale).set("measurementPrecision",r.precision);i((0,u.FG)(e))}else n&&"delete"===t?i((0,u.hQ)(n)):m.push(e)})),m.length>0){const e=(0,s.l4)(m.map((e=>e.pageIndex)));await Promise.all(e.map((async e=>{await f(m,e)})))}}async function q(e){let{scale:t,oldScale:n,getState:o,dispatch:r}=e;const i={scale:new l.Z({fromValue:Number(t.scale.fromValue),toValue:Number(t.scale.toValue),unitFrom:t.scale.unitFrom,unitTo:t.scale.unitTo}),precision:t.precision};await W({operation:"edit",scale:n,getState:o,measurementUpdate:i,dispatch:r})}async function H(e){let{deletedScale:t,getState:n,dispatch:o}=e;await W({operation:"delete",scale:t,getState:n,dispatch:o})}function $(e){if(e.size<2)return!1;const t=e.toList(),n=t.first(),o={scale:n.measurementScale,precision:n.measurementPrecision};for(let e=1;e{"use strict";n.d(t,{Sy:()=>s,Zt:()=>u,dY:()=>l});var o=n(47347),r=n(66687),i=n(3026),a=n(95651);function s(e,t,n){let s;if(e instanceof r.o9)return s=e.set(["startPoint","endPoint"][n],e[["startPoint","endPoint"][n]].translate(t)),s.set("boundingBox",(0,i.sS)(r.o9)(s));var c;if(e instanceof r.om||e instanceof r.Hi)return s=e.setIn(["points",n],null===(c=e.points.get(n))||void 0===c?void 0:c.translate(t)),s.set("boundingBox",(0,i.sS)(r.om)(s));if((0,a.Vc)(e)){var d,p;(0,o.kG)(e instanceof r.gd,"Callout annotation must have a callout");const a=null!==(d=e.callout)&&void 0!==d&&d.knee?["start","knee","end"]:["start","end"];if("end"===a[n])return e;s=e.setIn(["callout",a[n]],null===(p=e.callout)||void 0===p||null===(p=p[a[n]])||void 0===p?void 0:p.translate(t));const{callout:c}=s;(0,o.kG)(c,"Callout annotation must have a callout");const f=c.innerRectInset;(0,o.kG)(f,"Callout annotation must have an innerRectInset"),(0,o.kG)(c.start,"Callout annotation must have a start point");const h={left:e.boundingBox.left+f.left,top:e.boundingBox.top+f.top,right:e.boundingBox.left+e.boundingBox.width-f.right,bottom:e.boundingBox.top+e.boundingBox.height-f.bottom},m=l([[h.left,h.top],[h.right,h.top],[h.right,h.bottom],[h.left,h.bottom]]),g=(0,i.sS)(r.gd)(s),v=new r.eB({left:h.left-g.left,top:h.top-g.top,right:g.left+g.width-h.right,bottom:g.top+g.height-h.bottom});return s.set("boundingBox",g).setIn(["callout","innerRectInset"],v).setIn(["callout","end"],u(c.knee||c.start,m))}return e}function l(e){const t=[];for(let n=0;n{"use strict";n.d(t,{I:()=>r,W:()=>i});var o=n(91859);function r(e){return e.button===o.oW}function i(e){return e.buttons===o.M5}},37676:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>a});var o=n(21076);const r=["http","https","mailto"];function i(e){const t=e.split(":")[0];if(t===e)e=/^[./#]/.test(e)?e:"http://"+e;else if(r.indexOf(t)<=-1)return;a(e,!0)}function a(e,t){if((0,o.Sk)()){(0,o.oH)("electron").shell.openExternal(e)}else if(t){window.open(e,"_blank").opener=null}else window.opener=null,window.location.href=e}},19815:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>g,Ez:()=>S,HI:()=>v,LC:()=>I,Pt:()=>y,RZ:()=>m,VT:()=>h,VY:()=>N,Vz:()=>R,Xr:()=>A,YN:()=>F,aE:()=>M,bp:()=>x,ix:()=>C,j$:()=>P,jb:()=>f,k_:()=>k,lV:()=>w,qs:()=>T,xW:()=>_,xr:()=>O});var o=n(47347),r=n(66687),i=n(18146),a=n(70094),s=n(10284),l=n(67628),c=n(60619),u=n(97528),d=n(60132),p=n(72131);function f(e){return e.documentPermissions.printHighQuality}function h(e){return e.documentPermissions.printing&&e.printingEnabled&&e.backendPermissions.downloadingAllowed}function m(e){return e.exportEnabled&&e.backendPermissions.downloadingAllowed}function g(e){return e.documentPermissions.extract&&e.clientPermissions.extract}function v(e){return g(e)&&!e.clientPermissions.preventTextCopy}function y(e){return e.documentPermissions.toJS()}function b(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:o}=e;return!(!n.modification&&n.annotationsAndForms&&!t.readOnly&&o===p.J.NO)}function w(e,t){let n=!1;if((0,o.kG)(t.backend),t.backend.isCollaborationPermissionsEnabled()&&e instanceof r.x_){const o=(0,c.GA)(t,e);n=!!o&&(0,s.os)(o,t)}const i=!n&&!(0,s.CM)(e,t)&&!(0,s.Kd)(e,t);if(M(t)&&(!("isSignature"in e)||!e.isSignature))return!0;if(E(t)||i)return!0;if(e instanceof a.FN&&(e=e.parentAnnotation),!(e instanceof r.gd||e instanceof r.Qi)&&!e.note&&e.locked)return e.locked;if(e.locked&&e.lockedContents)return!0;if(e.readOnly&&(!(e instanceof r.x_)||!(e instanceof r.R1)))return e.readOnly;if(t.isEditableAnnotation)return!t.isEditableAnnotation(e);if(!x(t)||!b(t)){if(0===t.editableAnnotationTypes.size)return!0;if(t.editableAnnotationTypes.find((t=>e instanceof t)))return!1}return!0}function S(e,t){const n=!(0,s.kR)(e,t)&&!(0,s.Ss)(e,t);return!(I(t)&&!E(t)&&!n)||(t.isEditableComment?!t.isEditableComment(e):!!x(t)&&b(t))}function P(e,t,n){let{features:o,backend:a,backendPermissions:s,documentPermissions:l,readOnlyEnabled:c,editableAnnotationTypes:u}=t;if(e===r.Jn&&!I({features:o,backend:a}))return!0;if(e===i.Z&&!o.includes(d.q.REDACTIONS))return!0;if(e===r.UX&&n&&!o.includes(d.q.MEASUREMENT_TOOLS))return!0;return!!M({features:o})||(!(!x({backendPermissions:s,documentPermissions:l,readOnlyEnabled:c})||!b({backendPermissions:s,documentPermissions:l,readOnlyEnabled:c}))||!u.find((t=>e===t||e.prototype instanceof t||t.prototype instanceof e)))}function E(e){return e.backendPermissions.readOnly}function x(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:o}=e;return t.readOnly||!n.modification||o!==p.J.NO}function D(e){return(e.documentPermissions.annotationsAndForms||e.documentPermissions.fillForms)&&e.formsEnabled}function C(e){return D(e)&&k(e.backend)&&e.features.includes(d.q.FORM_DESIGNER)}function k(e){return(0,o.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function O(e){return(0,o.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function A(e){let{features:t,backendPermissions:n,documentPermissions:o,readOnlyEnabled:r}=e;return t.includes(d.q.DOCUMENT_EDITING)&&!(n.readOnly||!o.modification||r===p.J.VIA_VIEW_STATE||r===p.J.VIA_BACKEND_PERMISSIONS)}function T(e){let{features:t,backendPermissions:n,documentPermissions:o,readOnlyEnabled:r}=e;return t.includes(d.q.CONTENT_EDITING)&&!(n.readOnly||!o.modification||r===p.J.VIA_VIEW_STATE||r===p.J.VIA_BACKEND_PERMISSIONS)}function I(e){let{features:t,backend:n}=e;return(0,o.kG)(n),t.includes(d.q.COMMENTS)&&("STANDALONE"===n.type||"SERVER"===n.type&&n.isUsingInstantProvider())}function F(e){let{features:t,backend:n}=e;return(0,o.kG)(n),t.includes(d.q.MEASUREMENT_TOOLS)&&("STANDALONE"===n.type||"SERVER"===n.type)}function M(e){let{features:t}=e;return!R(t)&&t.includes(d.q.ELECTRONIC_SIGNATURES)}function _(e,t){return!!(t===l.H.LEGACY_SIGNATURES||e.includes(d.q.FORMS)&&(e.includes(d.q.ELECTRONIC_SIGNATURES)||e.includes(d.q.DIGITAL_SIGNATURES)))}function N(e,t,n){let{backendPermissions:o,documentPermissions:i,isEditableAnnotation:a,editableAnnotationTypes:s,readOnlyEnabled:l}=n;return e.readOnly||a&&!a(t)||!s.has(r.x_)||!u.Options.IGNORE_DOCUMENT_PERMISSIONS&&!i.fillForms&&!i.annotationsAndForms||o.readOnly||l!==p.J.NO}function R(e){return e.includes(d.q.WEB_ANNOTATION_EDITING)||e.includes(d.q.ANNOTATION_EDITING)}},97333:(e,t,n)=>{"use strict";function o(e){return new Promise(((t,n)=>{let o=0;const r=[];let i=!1;const a=()=>{o>=e.length&&(i?n(r):t(r))};a(),e.forEach(((e,t)=>{e.then((e=>{o+=1,r[t]=e,a()})).catch((e=>{o+=1,r[t]=e,i=!0,a()}))}))}))}function r(e,t){let n=!1;return{promise:new Promise(((t,o)=>{e.then((e=>!n&&t(e)),(e=>!n&&o(e)))})),cancel(){n=!0,t&&t()}}}function i(e,t){return new Promise((function(n,o){e.then(n,o),setTimeout((function(){o(Error("promise:timeout"))}),t)}))}n.d(t,{Vs:()=>i,jK:()=>o,uZ:()=>r})},73815:(e,t,n)=>{"use strict";function o(){let e=1;return void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e}n.d(t,{L:()=>o})},13816:(e,t,n)=>{"use strict";n.d(t,{BP:()=>E,D7:()=>S,G8:()=>v,cL:()=>x,er:()=>P});var o=n(35369),r=n(47347),i=n(97528),a=n(51731),s=n(66687),l=n(75669);function c(e){switch(e){case a.V.TOP:return{mx:0,my:-1};case a.V.BOTTOM:return{mx:0,my:1};case a.V.LEFT:return{mx:-1,my:0};case a.V.RIGHT:return{mx:1,my:0};case a.V.TOP_LEFT:return{mx:-1,my:-1};case a.V.TOP_RIGHT:return{mx:1,my:-1};case a.V.BOTTOM_RIGHT:return{mx:1,my:1};case a.V.BOTTOM_LEFT:return{mx:-1,my:1}}throw new r.p2("Expected `getMultipliersFromResizeStartingAnchor` to be called with a valid `ResizeStartingAnchor` value.")}function u(e,t,n,o,r){const i=c(t);let a,s=e.width+i.mx*n.x,l=e.height+i.my*n.y;return r&&o&&(i.mx>0&&e.left+s>o.width?(s=o.width-e.left,a="width"):i.mx<0&&s-e.width>e.left&&(s=e.left+e.width,a="width"),i.my>0&&e.top+l>o.height?(l=o.height-e.top,a="height"):i.my<0&&l-e.height>e.top&&(l=e.top+e.height,a="height")),{rect:e.set("width",s).set("height",l),keepToSide:a}}function d(e,t,n,o,r){const i=c(t),a=-1*i.mx*(e.width-e.width*n),l=-1*i.my*(e.height-e.height*o),u=r?new s.E9({x:i.mx>=0?0:Math.max(-e.left,a),y:i.my>=0?0:Math.max(-e.top,l)}):new s.E9({x:i.mx>=0?0:a,y:i.my>=0?0:l});return{translation:u,dragDifference:r?new s.E9({x:i.mx>=0?0:a-u.x,y:i.my>=0?0:l-u.y}):new s.E9({x:0,y:0})}}function p(e,t){const n=c(t);return new s.E9({x:e.boundingBox.left+e.boundingBox.width/2+-1*n.mx*e.boundingBox.width/2,y:e.boundingBox.top+e.boundingBox.height/2+-1*n.my*e.boundingBox.height/2})}function f(e,t,n,o){let r=e.lines;const i=p(e,o);return r=r.map((e=>e.map((e=>e.translate(i.scale(-1)).scale(t,n).translate(i))))),r}function h(e,t,n,r){let i;if(e instanceof s.o9)i=(0,o.aV)([e.startPoint,e.endPoint]);else{if(!(e instanceof s.Hi||e instanceof s.om))return(0,o.aV)();i=e.points}const a=p(e,r);return i=i.map((e=>e.translate(a.scale(-1)).scale(t,n).translate(a))),i}function m(e,t,n){const o=v(e);if(o>0){const r=e.boundingBox,i=r.widtho.maxWidth&&(i=o.maxWidth),o.minWidth&&io.maxHeight&&(s=o.maxHeight),o.minHeight&&t.height4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5?arguments[5]:void 0,p=arguments.length>6?arguments[6]:void 0,S=arguments.length>7?arguments[7]:void 0;const E=e.boundingBox;let x;if((0,l.o0)(e)&&!(0,l.Ag)(e)){const o=c(n),r=new s.E9({x:E.width/2*o.mx,y:E.height/2*o.my}),i=r.rotate(e.rotation),a=new s.E9({x:i.x+t.x,y:i.y+t.y}).rotate(-e.rotation);x=new s.E9({x:a.x-r.x,y:a.y-r.y})}else x=t;const D=u(E,n,x,i,p);let C=D.rect;if(o&&(C=y(D.keepToSide,E,C)),r&&S&&(null!=S&&S.maxHeight||null!=S&&S.maxWidth||null!=S&&S.minHeight||null!=S&&S.minWidth)){const t=v(e);S.minHeight=S.minHeight?S.minHeight:t,S.minWidth=S.minWidth?S.minWidth:t}else r&&(C=m(e,C,o));const k=0!==E.width?C.width/E.width:0,O=0!==E.height?C.height/E.height:0,{translation:A,dragDifference:T}=d(E,n,k,O,p);C=C.set("width",C.width+T.x).set("height",C.height+T.y),C=C.translate(A),(null!=S&&S.maxHeight||null!=S&&S.maxWidth||null!=S&&S.minHeight||null!=S&&S.minWidth)&&(C=g(e,C,o,S));const I=function(){const t=e.set("boundingBox",C),r=Math.sqrt(k*O);let i;return t instanceof s.gd?(0,l.Ag)(e)&&n===b[e.rotation]||!(0,l.Ag)(e)&&n===a.V.BOTTOM_RIGHT?t.set("fontSize",t.fontSize*r).set("isFitting",!0):t.set("isFitting",!0):t instanceof s.Zc?t.withMutations((e=>{e.set("lines",f(t,k,O,o?w[n]:n)),e.set("lineWidth",t.lineWidth*r)})):t instanceof s.o9?(i=h(t,k,O,n),t.withMutations((e=>{e.set("startPoint",i.get(0)),e.set("endPoint",i.get(1))}))):t instanceof s.Hi||t instanceof s.om?(i=h(t,k,O,n),t.withMutations((e=>{e.set("boundingBox",C),e.set("points",i)}))):t}();return P(I,E)}function P(e,t){if((0,l.o0)(e)&&!(0,l.Ag)(e)){const n=new s.E9({x:e.boundingBox.getCenter().x-t.getCenter().x,y:e.boundingBox.getCenter().y-t.getCenter().y}).rotate(e.rotation);return e.update("boundingBox",(e=>e.set("left",t.left+n.x-(e.width-t.width)/2).set("top",t.top+n.y-(e.height-t.height)/2)))}return e}function E(e,t){const{width:n,height:o}=e,r=t.width/n,i=t.height/o,a=Math.min(r,i);return new s.$u({width:n*a,height:o*a})}function x(e){switch(e){case a.V.TOP_LEFT:return"Top-Left";case a.V.TOP:return"Top";case a.V.TOP_RIGHT:return"Top-Right";case a.V.LEFT:return"Left";case a.V.RIGHT:return"Right";case a.V.BOTTOM_LEFT:return"Bottom-Left";case a.V.BOTTOM:return"Bottom";case a.V.BOTTOM_RIGHT:return"Bottom-Right";default:(0,r.Rz)(e)}}},75669:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>d,Mg:()=>v,az:()=>l,h4:()=>c,kv:()=>u,o0:()=>p,sw:()=>s});var o=n(66687),r=n(95651),i=n(64377),a=n.n(i);function s(e,t,n,r){const i=e.set("rotation",t);if(n&&r){const t=l(i).boundingBox;if(!new o.UL({left:0,top:0,width:n.width,height:n.height}).isRectInside(t))return e}return i}function l(e){const{boundingBox:t,rotation:n}=e,{width:r,height:i}=t;if(!p(e))return e;const a=new o.E9({x:-r/2,y:-i/2}),s=new o.E9({x:r/2,y:-i/2}),l=new o.E9({x:r/2,y:i/2}),c=new o.E9({x:-r/2,y:i/2}),u=a.rotate(n),d=s.rotate(n),f=l.rotate(n),h=c.rotate(n),m=Math.min(u.x,d.x,f.x,h.x),g=Math.min(u.y,d.y,f.y,h.y),v=Math.max(u.x,d.x,f.x,h.x),y=Math.max(u.y,d.y,f.y,h.y),b=t.getCenter();return e.set("boundingBox",new o.UL({left:b.x+m,top:b.y+g,width:v-m,height:y-g}))}function c(e,t){if(p(e)){const n=t||function(e,t){if(void 0===t||0===t)return e.getSize();const n=Math.floor(t/360);-1===Math.sign(t)&&(t+=360+360*n);let r=(t-=360*n)%180;const i=r>=90,a=i?e.height:e.width,s=i?e.width:e.height;if(r%=90,45===r){if(a!==s){const e=Math.min(a,s);return new o.$u({width:Math.sqrt(2)*e,height:Math.sqrt(2)*e})}return new o.$u({width:Math.sqrt(2)*a,height:Math.sqrt(2)*s})}const l=r*(Math.PI/180);return new o.$u({width:(a*Math.cos(l)-s*Math.sin(l))/Math.cos(2*l),height:(s*Math.cos(l)-a*Math.sin(l))/Math.cos(2*l)})}(e.boundingBox,e.rotation);return e.set("boundingBox",new o.UL({left:e.boundingBox.left+(e.boundingBox.width-n.width)/2,top:e.boundingBox.top+(e.boundingBox.height-n.height)/2,width:n.width,height:n.height}))}return e}function u(e){return"number"==typeof e.rotation&&e.rotation%360!=0}function d(e){return"number"==typeof e.rotation&&Math.abs(e.rotation)%90==0&&Math.abs(e.rotation)%360!=0}function p(e){return(0,r.a$)(e)&&u(e)}let f,h,m,g;function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"grab";if(f||(f=new DOMParser,h=f.parseFromString(a(),"image/svg+xml"),m=h.querySelector("svg"),g=new XMLSerializer),m&&(m.style.transform=`rotate(${-e}deg)`),g){return`url("${`data:image/svg+xml;utf8,${encodeURIComponent(g.serializeToString(h))}`}") 15 15, ${t}`}return t}},18803:(e,t,n)=>{"use strict";n.d(t,{Q:()=>b,U2:()=>w,ZJ:()=>m,a7:()=>h,mB:()=>y});var o=n(35369),r=n(47347),i=n(27515),a=n(4757),s=n(19815),l=n(66687),c=n(36095),u=n(34710),d=n(72584),p=n(76413),f=n.n(p);function h(e){var t,n;const{document:o}=e;if(c.TL){var i;const{activeElement:t,body:n}=o,a=t&&1===t.nodeType&&t!==n;if(null!==(i=e.getSelection())&&void 0!==i&&i.isCollapsed&&!a)return;const s=o.createElement("input");return s.style.position="fixed",s.style.left="50vw",s.style.top="50vh",s.readOnly=!0,(0,r.kG)(o.documentElement,"no document object found"),o.documentElement.appendChild(s),s.focus(),s.blur(),void s.remove()}var a;if(null!==(t=e.getSelection())&&void 0!==t&&t.empty)null===(a=e.getSelection())||void 0===a||a.empty();else if(null!==(n=e.getSelection())&&void 0!==n&&n.removeAllRanges){var s;null===(s=e.getSelection())||void 0===s||s.removeAllRanges()}}function m(e,t){const{startTextLineId:n,endTextLineId:i,startPageIndex:a,endPageIndex:s}=t.startAndEndIds();return(0,o.D5)(e.pages.filter((e=>e.textLines&&e.pageIndex>=a&&e.pageIndex<=s)).map((e=>{const t=e.textLines;let o;return e.pageIndex===a&&e.pageIndex===s?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id>=n&&e.id<=i))):e.pageIndex===a?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id>=n))):e.pageIndex===s?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id<=i))):((0,r.kG)(e.textLines),o=e.textLines),[e.pageIndex,o]})))}const g=(e,t,n,o)=>{var i;(0,r.kG)((0,d.hj)(t.pageIndex));const a={transform:n&&n.scaleX>0&&n.scaleY>0?`scale(${n.scaleX*e.viewportState.zoomLevel}, ${n.scaleY*e.viewportState.zoomLevel})`:""};return new u.f(null===(i=e.frameWindow)||void 0===i?void 0:i.document,o,a,f().line)},v=(e,t,n)=>{const o=e.pages.get(t);(0,r.kG)(o&&o.textLines,"Page not found or page has no text lines");const i=o.textLines.find((e=>e.id===n));return(0,r.kG)(i,"TextLine not found"),i};function y(e,t){const{startTextLineId:n,endTextLineId:i,startPageIndex:l,endPageIndex:c}=t.startAndEndIds(),u=e.pages.get(l);(0,r.kG)(u,"Index of start page is out of bounds");const p=e.pages.get(c);if((0,r.kG)(p,"Index of end page is out of bounds"),n===i&&l===c){const i=v(e,l,n);(0,r.kG)((0,d.hj)(i.id));const c=u.textLineScales&&u.textLineScales.get(i.id),p=(0,a.LD)((0,s.HI)(e),i),f=p.substring(0,t.startOffset),h=p.substring(t.startOffset,t.endOffset),m=p.substring(t.endOffset),y=g(e,i,c,(0,o.aV)([f,h,m])),b=y.measure().get(1);(0,r.kG)(b);const w=b.scale(1/e.viewportState.zoomLevel).translate(i.boundingBox.getLocation());return y.remove(),{startRect:w,endRect:w}}{const f=v(e,l,n),h=v(e,c,i);(0,r.kG)((0,d.hj)(f.id)),(0,r.kG)((0,d.hj)(h.id));const m=u.textLineScales&&u.textLineScales.get(f.id),y=p.textLineScales&&p.textLineScales.get(h.id),b=(0,a.LD)((0,s.HI)(e),f),w=b.substring(0,t.startOffset),S=b.substring(t.startOffset),P=(0,a.LD)((0,s.HI)(e),h),E=P.substring(0,t.endOffset),x=P.substring(t.endOffset),D=g(e,f,m,(0,o.aV)([w,S])),C=g(e,h,y,(0,o.aV)([E,x])),k=D.measure().last();(0,r.kG)(k);const O=k.scale(1/e.viewportState.zoomLevel).translate(f.boundingBox.getLocation()),A=C.measure().first();(0,r.kG)(A);const T=A.scale(1/e.viewportState.zoomLevel).translate(h.boundingBox.getLocation());return D.remove(),C.remove(),{startRect:O,endRect:T}}}function b(e,t){const{startTextLineId:n,endTextLineId:o,startPageIndex:i,endPageIndex:a,textRange:s}=t;(0,r.kG)((0,d.hj)(i));const l=e.pages.get(i);(0,r.kG)((0,d.hj)(a)),(0,r.kG)(l,"Index of start page is out of bounds");const c=e.pages.get(a);if((0,r.kG)(c,"Index of end page is out of bounds"),(0,r.kG)(s&&(0,d.hj)(n)&&(0,d.hj)(o)),n===o&&i===a){return v(e,i,n).contents.substring(s.startOffset,s.endOffset)}{const t=v(e,i,n),r=v(e,a,o),l=t.contents.substring(s.startOffset),c=r.contents.substring(0,s.endOffset);return m(e,s).map(((e,t)=>e.map((e=>e.id==n&&t==i?l:e.id==o&&t==a?c:e.contents)))).valueSeq().flatten(!0).join("\n")}}function w(e,t){const{startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:a}=t.startAndEndIds(),{startRect:s,endRect:c}=y(e,t),u=m(e,t).map(((t,l)=>t.map((t=>{let u;u=t.id==n&&l==r?s:t.id==o&&l==a?c:t.boundingBox;const d=(0,i.cr)(e.viewportState,l).translate(e.viewportState.scrollPosition.scale(e.viewportState.zoomLevel));return u.apply(d)})))).valueSeq().flatten(!0).toList();return l.UL.union(u)}},41952:(e,t,n)=>{"use strict";n.d(t,{K:()=>r,q:()=>i});var o=n(97528);const r=e=>{const{SELECTION_OUTLINE_PADDING:t}=o.Options;return t(e)},i=(e,t)=>e.grow(r(t))},3026:(e,t,n)=>{"use strict";n.d(t,{CW:()=>v,Hx:()=>y,Hz:()=>E,Pr:()=>h,R4:()=>b,rr:()=>w,sS:()=>f});var o=n(35369),r=n(47347),i=n(66687),a=n(18146),s=n(26467),l=n(20792),c=n(91859),u=n(95651);const d=(e,t)=>e-t,p=(e,t)=>{const n=t.reduce(((t,n,o,r)=>{var i,a;const s={x:t.x.concat([n.x]),y:t.y.concat([n.y])},l=r.get(o+1)||r.get(o-1)||n,c=l.x-n.x,u=l.y-n.y;if(0===c&&0===u)return s;const d=Math.sqrt(c**2+u**2),p=(0===o?"lineCaps"in e&&null!==(i=e.lineCaps)&&void 0!==i&&i.start?2.5*e.strokeWidth:e.strokeWidth/2:o===r.size-1&&"lineCaps"in e&&null!==(a=e.lineCaps)&&void 0!==a&&a.end?2.5*e.strokeWidth:e.strokeWidth/2)/d;return{x:s.x.concat([n.x-p*u,n.x+p*u]),y:s.y.concat([n.y-p*c,n.y+p*c])}}),{x:[],y:[]}),[o,...r]=n.x.sort(d),i=r.slice(-1)[0]||o,[a,...s]=n.y.sort(d);return{minX:o,maxX:i,minY:a,maxY:s.slice(-1)[0]||a}};function f(e){switch(e){case i.o9:return e=>{(0,r.kG)(e instanceof i.o9,"Expected `lineAnnotation` to be an instance of `LineAnnotation`");const{minX:t,maxX:n,minY:a,maxY:s}=p(e,(0,o.aV)([e.startPoint,e.endPoint]));return new i.UL({width:n-t+2*e.strokeWidth,height:s-a+2*e.strokeWidth,top:a-e.strokeWidth,left:t-e.strokeWidth})};case i.b3:case i.Xs:case a.Z:return e=>e.boundingBox;case i.Hi:case i.om:return e=>{if((0,r.kG)(e instanceof i.om||e instanceof i.Hi,"Expected `polyshapeAnnotation` to be an instance of `PolylineAnnotation` or `PolygonAnnotation`"),0===e.points.size)return e.boundingBox;const{minX:t,maxX:n,minY:o,maxY:a}=p(e,e.points),s="cloudyBorderIntensity"in e&&e.cloudyBorderIntensity?e.cloudyBorderIntensity*c.St:0;return new i.UL({width:n-t+2*e.strokeWidth+2*s,height:a-o+2*e.strokeWidth+2*s,top:o-e.strokeWidth-s,left:t-e.strokeWidth-s})};case i.gd:return e=>{if((0,u.Vc)(e)){(0,r.kG)(e instanceof i.gd,"Expected `annotation` to be a `TextAnnotation`");const{callout:t}=e;(0,r.kG)(t,"Expected `callout` to be defined");const{innerRectInset:n,knee:o,start:a,end:s}=t;(0,r.kG)(n&&a&&s,"Expected `innerRectInset`, `start` and `end` to be defined");const l=Math.min(e.boundingBox.left+n.left,a.x,s.x,o?o.x:1/0),c=Math.min(e.boundingBox.top+n.top,a.y,s.y,o?o.y:1/0),u=Math.max(e.boundingBox.left+e.boundingBox.width-n.right,a.x,s.x,o?o.x:-1/0),d=Math.max(e.boundingBox.top+e.boundingBox.height-n.bottom,a.y,s.y,o?o.y:-1/0),p=4*(e.borderWidth||2);let f=h(a,new i.UL({left:l,top:c,width:u-l,height:d-c}),p);return o&&(f=h(o,f,p)),f}return e.boundingBox}}throw new r.p2("Expected `getBoundingBoxCalculator` to be called with a valid shape annotation type class value.")}function h(e,t,n){const o=t.left===e.x,r=t.left+t.width===e.x,a=t.top===e.y,s=t.top+t.height===e.y;return new i.UL({left:o?t.left-n:t.left,top:a?t.top-n:t.top,width:o||r?t.width+n:t.width,height:a||s?t.height+n:t.height})}const m=(e,t)=>new i.E9({x:e.x+t.weightedStrokeWidthLineRatio*t.xOffset,y:e.y+t.weightedStrokeWidthLineRatio*t.yOffset}),g={xOffset:0,yOffset:0,weightedStrokeWidthLineRatio:0};function v(e,t,n){if(null===n)return e;const r=n.start,a=n.end,l=r?s.O[r].width:0,c=a?s.O[a].width:0;if(e.size<2||!l&&!c)return e;const u=e.get(0),d=e.get(e.size-1);if(!(u instanceof i.E9&&d instanceof i.E9))return e;const p=r?(()=>{const n=u,o=e.get(1)||n;if(!(o instanceof i.E9))return g;const r=o.x-n.x,a=o.y-n.y;return{xOffset:r,yOffset:a,weightedStrokeWidthLineRatio:0!==r||0!==a?l*t/Math.sqrt(r**2+a**2):0}})():g,f=a&&e.get(e.size-2)instanceof i.E9?(()=>{const n=d,o=e.get(e.size-2)||n,r=-(n.x-o.x),i=-(n.y-o.y);return{xOffset:r,yOffset:i,weightedStrokeWidthLineRatio:0!==r||0!==i?c*t/Math.sqrt(r**2+i**2):0}})():g;return e.size>2||!r||!a?e.map(((t,n)=>0===n?p.weightedStrokeWidthLineRatio<=1?m(t,p):t:n===e.size-1&&f.weightedStrokeWidthLineRatio<=1?m(t,f):t)):p.weightedStrokeWidthLineRatio+f.weightedStrokeWidthLineRatio<=1?(0,o.aV)([m(u,p),m(d,f)]):e}function y(e){return e instanceof i.b3||e instanceof i.Xs?e.delete("boundingBox"):e instanceof i.Hi||e instanceof i.om?e.delete("boundingBox").delete("points"):e instanceof i.o9?e.delete("boundingBox").delete("startPoint").delete("endPoint"):e}function b(e){switch(e){case i.o9:return l.A.SHAPE_LINE;case i.b3:return l.A.SHAPE_RECTANGLE;case i.Xs:return l.A.SHAPE_ELLIPSE;case i.om:return l.A.SHAPE_POLYLINE;case i.Hi:return l.A.SHAPE_POLYGON;default:return null}}function w(e){let{points:t,intensity:n,arcRadius:o=c.St*n}=e;const r=t.reduce(((e,n,r)=>{const i=r===t.length-1?t[0]:t[r+1];if(C(n,i,.01))return e;const a=D(n,i),s=Math.floor(a/(1.75*o));if(a>=a/(s+1)){const t=s+1,o=(i[0]-n[0])/t,r=(i[1]-n[1])/t;e.push(...Array.from({length:t},((e,t)=>[n[0]+o*t,n[1]+r*t])))}return e}),[]),i=x(t),a=i?"1":"0",s="1"===a?"0":"1",l=i?-.3:.3;return r.reduce(((e,t,n)=>{const c=r[n>0?n-1:r.length-1];if(C(t,c))return e;let u=r[(n+1)%r.length],d=n+1;for(;C(t,u);){if(d%r.length===n)return[];u=r[(1+ ++d)%r.length]}let p=k(t,c,o,i),f=k(t,u,o,!i);if(isNaN(p)&&isNaN(f))return e.push(`${u[0]} ${u[1]}`),e;isNaN(p)&&(p=f+Math.PI),isNaN(f)&&(f=p+Math.PI),f+=l;const h=i?f>p?p+(S-f)>Math.PI?"1":"0":p-f>Math.PI?"1":"0":f>p?p+(S-f)>Math.PI?"0":"1":p-f>Math.PI?"0":"1",m=[t[0]+Math.cos(p)*o,t[1]-Math.sin(p)*o],g=[t[0]+Math.cos(f)*o,t[1]-Math.sin(f)*o];return e.push(0===e.length?`M ${m[0]} ${m[1]} A ${o} ${o} 0 ${h} ${a} ${g[0]} ${g[1]}`:` A ${o} ${o} 0 0 ${s} ${m[0]} ${m[1]} A ${o} ${o} 0 ${h} ${a} ${g[0]} ${g[1]}`),e}),[]).join(" ")}const S=2*Math.PI,P=S/360;function E(e){let{boundingBox:t,cloudyBorderIntensity:n,cloudyBorderInset:o}=e;const r=o instanceof i.eB?i.eB.applyToRect(o,t):t,a=t.width/2,s=t.height/2;if(0===a||0===s)return"";const l=Math.min(a,s,c.St*n),u=r.width/2,d=r.height/2,p=r.left+u,f=r.top+d,h=Array.from({length:360},((e,t)=>{const n=P*t;return[p+u*Math.cos(n),f+d*Math.sin(n)]})),m=h.length;let g=1.75*l;const v=O(h),y=v/g;g+=y>0?v%g/y:0;let b=0;const w=h.reduce(((e,t,n)=>{const o=h[(n+1)%m],r=D(t,o)/g,i=(o[0]-t[0])/r,a=(o[1]-t[1])/r,s=i/g*b,l=a/g*b;let c=t[0]+s,u=t[1]+l;for(;(i<=0&&c>=o[0]||i>=0&&c<=o[0])&&(a<=0&&u>=o[1]||a>=0&&u<=o[1]);)e.push([c,u]),c+=i,u+=a;return b=Math.abs(o[0]-c)*(g/Math.abs(i)),e}),[]),E=w.length;return 0===E?"":w.reduce(((e,t,n)=>{const o=w[n>0?n-1:E-1],r=w[(n+1)%E];let i=k(t,o,l,!0),a=k(t,r,l,!1);if(isNaN(i)&&isNaN(a))return e.push(`${r[0]} ${r[1]}`),e;isNaN(i)&&(i=a+Math.PI),isNaN(a)&&(a=i+Math.PI),a-=.3;const s=a>i?i+(S-a)>Math.PI?"1":"0":i-a>Math.PI?"1":"0",c=[t[0]+Math.cos(i)*l,t[1]-Math.sin(i)*l],u=[t[0]+Math.cos(a)*l,t[1]-Math.sin(a)*l];return e.push(0===e.length?`M ${c[0]} ${c[1]} A ${l} ${l} 0 ${s} 1 ${u[0]} ${u[1]}`:`A ${l} ${l} 0 0 0 ${c[0]} ${c[1]} A ${l} ${l} 0 ${s} 1 ${u[0]} ${u[1]}`),e}),[]).join(" ")}const x=e=>e.reduce(((t,n,o)=>o0,D=(e,t)=>{const n=t[0]-e[0],o=t[1]-e[1];return e[0]===t[0]?Math.abs(o):e[1]===t[1]?Math.abs(n):Math.sqrt(n**2+o**2)},C=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.001;return Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n},k=(e,t,n,o)=>{const r=.5*Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2),i=Math.acos(r/n),a=[t[0]-e[0],t[1]-e[1]];let s=Math.atan2(-a[1],a[0]);return s<0&&(s+=S),o?s-i:s+i},O=e=>e.reduce(((t,n,o)=>t+D(n,o{"use strict";function o(e,t,n,o){var r;if((null===(r=e.points)||void 0===r?void 0:r.size)<3)return-1;const i=e.get("points"),a=o||(null==i?void 0:i.get(t));return i.findIndex((e=>{if(e.get("x")===a.get("x")&&e.get("y")===a.get("y"))return!1;return e.distance(a)<=n}))}function r(e,t,n){var o;const r=null===(o=e.get("points"))||void 0===o?void 0:o.get(n);return e.update("points",(e=>e.set(t,r)))}function i(e,t,n){return"STANDALONE"===(null==e?void 0:e.type)&&"function"==typeof t.isMeasurement&&t.isMeasurement()&&!n}n.d(t,{KM:()=>o,dg:()=>r,mE:()=>i})},94734:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>b,HL:()=>D,s3:()=>C,vW:()=>w,wB:()=>y});var o=n(84121),r=n(47347),i=n(80857),a=n(15973),s=n(33754),l=n(83634),c=n(86071),u=n(73815),d=n(91859),p=n(41775),f=n(72584),h=n(36095);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t{v(e instanceof a.GI||e instanceof a.sK,"`annotationTemplate` is not an instance of `PSPDFKit.Annotations.StampAnnotation` or ``PSPDFKit.Annotations.ImageAnnotation`")},b=function(e){var t;let{includeDate:n,includeTime:o}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,i=arguments.length>2?arguments[2]:void 0;const a={};n&&(a.day="2-digit",a.month="2-digit",a.year="numeric"),o&&(a.hour="2-digit",a.minute="2-digit");let s=n||o?i.formatDate(r,a):null;return s&&h.rO&&(s=s.replace(/[^A-Za-z 0-9 .,?""!@#$%^&*()-_=+;:<>/\\|}{[\]`~]*/g,"")),null!==(t=s)&&void 0!==t?t:null},w=e=>{let{annotation:t,intl:n}=e;const{formatMessage:o}=n,{stampType:r,title:i,description:l,fileName:c}=t;return t instanceof a.GI?"Custom"===r&&i?p.Z[(0,f.LE)(i)]?o(p.Z[(0,f.LE)(i)]):i:p.Z[(0,f.LE)((0,s.k1)(r))]?o(p.Z[(0,f.LE)((0,s.k1)(r))]):r:l||c||" "},S=(0,u.L)(),P=2*S,E=8*S,x=P/2,D=e=>{let{canvas:t,title:n,subtitle:o,color:r,defaultStampWidth:i,stampHeight:a,container:s}=e,l=i*S;if(t&&s&&s.offsetWidth){const e=t.getContext("2d"),c="string"==typeof o&&o.length>0,u=(e=>{let{ctx:t,title:n,fontSize:o,containerWidth:r}=e;t.font=`bold ${o}px Arial`;const i=t.measureText(n);let a=r*S;const s=o;return i.width+s>a?o=a/((i.width+s)/o):a=i.width+s,{fontSize:o,stampWidth:a}})({ctx:e,title:n,fontSize:(c?.6:.7)*S*a,containerWidth:s.offsetWidth});l=Math.max(u.stampWidth,i*S),t.width=l,t.height=a*S,null==e||e.clearRect(0,0,t.width,t.height),(e=>{let{ctx:t,stampWidth:n,stampHeight:o,color:r}=e;t.lineWidth=P;const i=n-x,a=S*o-x;t.strokeStyle=r.toCSSValue(),t.fillStyle=r.lighter(d.zT).toCSSValue(),t.beginPath(),t.moveTo(E+x,x),t.lineTo(i-E,x),t.quadraticCurveTo(i-1,x,i-1,E+x),t.lineTo(i-1,a-E),t.quadraticCurveTo(i-1,a,i-E,a),t.lineTo(E+x,a),t.quadraticCurveTo(x,a,x,a-E),t.lineTo(x,E+x),t.quadraticCurveTo(x,x,E+x,x),t.closePath(),t.stroke(),t.fill()})({ctx:e,stampWidth:l,color:r,stampHeight:a}),(e=>{let{ctx:t,fontSize:n,color:o,stampWidth:r,stampHeight:i,title:a,hasSubTitle:s}=e;t.font=`bold ${n}px Arial`,t.fillStyle=o.toCSSValue(),t.textBaseline="middle",t.textAlign="center",t.fillText(a,r/2,(s?.4*i:.5*i)*S)})({ctx:e,fontSize:u.fontSize,color:r,stampWidth:l,stampHeight:a,title:n,hasSubTitle:c}),c&&(e.font=S*a*.175+"px Arial",null==e||e.fillText(o,l/2,.85*a*S))}return l/S},C=c.Z.filter((e=>[l.Z.BLUE,l.Z.RED,l.Z.ORANGE,l.Z.LIGHT_YELLOW,l.Z.GREEN].includes(e.color)||"mauve"===e.localization.id)).map((e=>function(e){return(0,r.kG)(null!=e.color),g(g({},e),{},{color:Object.values(k(e.color))[0].color})}(e)));function k(e){const t=e.lighter(d.zT);let n=e;const o=Math.max(n.r,n.g,n.b);for(let e=0;e<10&&t.contrastRatio(n)<4.5;e++)n=n.darker((255-o)/25.5);return{[`${n.toCSSValue()}`]:{color:n,backgroundColor:t}}}},55961:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var o=n(67366);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.$j)(((t,n)=>null==e?void 0:e(t.reuseState?i(t,t.reuseState):t,n)),null,null,t)}const i=(0,n(30845).Z)(((e,t)=>e.withMutations((n=>{n.merge(t),n.set("pages",e.pages.map((e=>{const n=e.pageKey,o=t.pages.find((e=>e.pageKey===n));return o&&o?e.set("annotationIds",o.annotationIds):e})))}))))},72584:(e,t,n)=>{"use strict";n.d(t,{F6:()=>c,HD:()=>d,LE:()=>a,Oe:()=>i,QE:()=>l,aF:()=>f,hj:()=>p,zW:()=>u});var o=n(37529),r=n.n(o);function i(e){return e.charAt(0)&&e.charAt(0).toUpperCase()+e.slice(1)}function a(e){return e.charAt(0).toLowerCase()+e.substr(1)}const s=e=>e[0]===r().INSERT;function l(e,t,n){var o;const i=r()(e,t,n);let a="";const l=i.filter(s);return l.length>0&&(a=l[0][1]),{prev:e,next:t,change:a,diff:i,endCursorPosition:n+((null===(o=i[1])||void 0===o||null===(o=o[1])||void 0===o?void 0:o.length)||0)}}function c(e,t){if(t===e.change)return e.next;const{diff:n}=e,o=n.findIndex(s);return o>=0?n[o][1]=t:n.push([r().INSERT,t]),function(e){let t="";for(let n=0;nt?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase())).join("")}function d(e){return"string"==typeof e}function p(e){return"number"==typeof e}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;const n=e.trim();return n.length{"use strict";n.d(t,{BK:()=>u,KY:()=>c,Vq:()=>d,in:()=>l,kC:()=>s});var o=n(47347),r=n(25256),i=n(66687),a=n(3026);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e){return e.split(/[^a-zA-Z0-9]/g).reduce(((e,t)=>e+s(t)),"")}function c(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function u(e){return"#00000000"===e?void 0:e}function d(e){let{rect:t,callout:n,zoomLevel:s,annotation:l,text:c=l.text}=e;const{height:u,width:d}=t,p=l.boundingBox.scale(s);if(null==n||!n.innerRectInset||!d||!u)return;const f=n.innerRectInset.setScale(s),h=p.left+f.left,m=p.left+f.left+d,g=p.top+f.top,v=p.top+f.top+u,y=(l.borderWidth||2)/2,b=(0,r.dY)([[h+y,g+y],[m-y,g+y],[m-y,v-y],[h+y,v-y]]),w=n.knee||n.start;(0,o.kG)(w,"CalloutEditComponent: point is undefined");const S=(0,r.Zt)(w.scale(s),b);(0,o.kG)(n.start);let P=i.UL.fromPoints(...[[h,g],[m,g],[m,v],[h,v]].map((e=>new i.E9({x:e[0],y:e[1]})))).expandToIncludePoints(...[n.start,n.knee].filter(Boolean).map((e=>null==e?void 0:e.scale(s))));P=(0,a.Pr)(n.start.scale(s),P,4*(l.borderWidth||2)),n.knee&&(P=(0,a.Pr)(n.knee.scale(s),P,l.borderWidth||2));const E=S.scale(1/s);return l.setIn(["callout","end"],E).setIn(["callout","innerRectInset"],new i.eB({bottom:(P.top+P.height-v)/s,left:(h-P.left)/s,right:(P.left+P.width-m)/s,top:(g-P.top)/s})).set("text",c).set("boundingBox",P.scale(1/s))}},78233:(e,t,n)=>{"use strict";n.d(t,{MF:()=>h,XA:()=>f,Zv:()=>m,gB:()=>b,hm:()=>w,hr:()=>y,z1:()=>g});var o=n(84121),r=n(47347),i=n(4054),a=n(66687),s=n(34710),l=n(91859),c=n(97528),u=n(75669);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;if(!1===c.Options.TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT)return e.set("isFitting",!1);try{if(t=(0,i.Aw)(),!t.window||!t.window.document)return e;t.window.document.head.appendChild(t.window.document.createElement("style")).textContent="p { margin: 0; }",n=new s.f(t.window.document,e.text.value,g(e.set("rotation",0),o,!1));const r=!(0,i.f)(n.wrapper);return e.set("isFitting",r)}finally{n&&n.remove(),t&&t.remove()}}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=(0,i.Aw)();if(!n.window||!n.window.document)return null==n||n.remove(),e;n.window.document.head.appendChild(n.window.document.createElement("style")).textContent="p { margin: 0; }";const o=new s.f(n.window.document,e.text.value,g(e.set("rotation",0),t,!1)),r=!(0,i.f)(o.wrapper);for(e=e.set("isFitting",r);!e.isFitting&&e.fontSize>=2;){e=e.set("fontSize",e.fontSize-1),o._setStyles(o.wrapper,p(p({},s.f.defaultWrapperStyles),g(e.set("rotation",0),t,!1)));const n=!(0,i.f)(o.wrapper);e=e.set("isFitting",n)}return null==n||n.remove(),e}function m(e,t){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{const r=t.width-e.boundingBox.left,i=t.height-e.boundingBox.top;n=new s.f(document,e.text.value,p(p({},g(e,o,!1)),{},{width:"auto",height:"auto",maxWidth:`${Math.ceil(r*o)}px`,maxHeight:`${Math.ceil(i*o)}px`,padding:"0px",margin:"0px",overflow:"visible"}));const{width:a,height:l}=n.wrapper.getBoundingClientRect(),c=Math.max(a,n.wrapper.clientWidth,n.wrapper.scrollWidth),u=Math.max(l,n.wrapper.clientHeight,n.wrapper.scrollHeight);return e.set("boundingBox",e.boundingBox.set("width",Math.ceil(c/o)).set("height",Math.ceil(u/o)))}finally{n&&n.remove()}}function g(e,t,n){const o=p(p({width:Math.ceil(e.boundingBox.width*t),height:Math.ceil(e.boundingBox.height*t),color:e.fontColor?e.fontColor.toCSSValue():"transparent",backgroundColor:e.backgroundColor&&!n?e.backgroundColor.toCSSValue():"transparent",fontSize:e.fontSize*t+"px",fontFamily:`${w(e.font)}, sans-serif`,textAlign:e.horizontalAlign},n?null:{opacity:e.opacity}),{},{fontWeight:e.isBold?"bold":"normal",fontStyle:e.isItalic?"italic":"normal",whiteSpace:"pre-wrap",wordBreak:"break-word",overflow:"hidden",lineHeight:"number"==typeof e.lineHeightFactor?e.lineHeightFactor*t*e.fontSize+"px":"normal",flexDirection:"column",justifyContent:v(e.verticalAlign),display:"flex"});return(0,u.kv)(e)&&!n&&(o.transformOrigin="50% 50%",o.transform=`rotate(${String(-e.rotation)}deg)`),o}function v(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end";default:return(0,r.Rz)(e)}}function y(e){return"string"==typeof e?e.split("\r\n").join("\n").split("\r").join("\n"):e}function b(e,t){let n;switch(t){case 0:n=new a.UL({left:e.x,top:e.y,width:l.g3,height:l.rm});break;case 90:n=new a.UL({left:e.x,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 180:n=new a.UL({left:e.x-l.g3,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 270:n=new a.UL({left:e.x-l.g3,top:e.y,width:l.g3,height:l.rm});break;default:throw(0,r.Rz)(t)}return n}function w(e){return/^[-_a-zA-Z0-9\\xA0-\\u{10FFFF}]*$/.test(e)?e:`"${e}"`}},4757:(e,t,n)=>{"use strict";n.d(t,{LD:()=>u,TH:()=>l,uv:()=>c});var o=n(35369),r=n(66687),i=n(33320),a=n(36095),s=n(93572);function l(e,t){return(0,o.aV)(e.textLines.map(((e,n)=>new r.bi({id:n+1,contents:e.contents,pageIndex:t,boundingBox:new r.UL({top:e.top,left:e.left,height:e.height,width:e.width})}))))}function c(e,t,n){let a=n;const l=[],c=[],u={};let d="",p=(0,i.C)();return function e(n,o){n&&n.forEach((n=>{if(n.bbox){a+=1;const e=new r.bi({id:a,contents:n.element.text,pageIndex:t,contentTreeElementMetadata:o,boundingBox:(0,s.k)(n.bbox)});(null==o?void 0:o.pdfua_type)===d&&r.UL.areRectsCloserThan(e.boundingBox,u[p][u[p].length-1].boundingBox,.6*e.boundingBox.height)?u[p]&&u[p].length>0?u[p].push(e):u[p]=[e]:(d=(null==o?void 0:o.pdfua_type)||"",p=(0,i.C)(),u[p]=[e]),l.push(e)}if(n.children){const t={pdfua_type:n.pdfua_type,type:n.type,alt:n.alt};e(n.children,t)}}))}(e,null),a=n,Object.keys(u).forEach((e=>{let n="";const i=[];let s={pdfua_type:"",type:"",alt:""};for(let t=0;t{"use strict";n.d(t,{Bx:()=>d,PK:()=>u,rf:()=>p});var o=n(84121),r=n(66687),i=n(18803),a=n(95651),s=n(97413);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];return p(e).map((o=>{let{pageIndex:i,rects:s}=o;return new t(c(c({},(0,a.lx)(e)),{},{pageIndex:i,boundingBox:r.UL.union(s),rects:s,isCommentThreadRoot:n}))}))}function d(e,t,n){return p(e).map((o=>{let{pageIndex:i,rects:s}=o;const l=t.get(i);return null==l?new n(c(c({},(0,a.lx)(e)),{},{pageIndex:i,boundingBox:r.UL.union(s),rects:s})):l.withMutations((e=>e.set("boundingBox",r.UL.union(s)).set("rects",s)))}))}function p(e){(0,s.k)(e.currentTextSelection,"Cannot create markup annotation without text selection.");const{textRange:t,startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:a}=e.currentTextSelection;(0,s.k)(t);const{startRect:l,endRect:c}=(0,i.mB)(e,t);return(0,i.ZJ)(e,t).map(((t,i)=>{const u=e.pages.get(i);(0,s.k)(u);const d=t.map((e=>e.id==n&&i==r?l:e.id==o&&i==a?c:e.boundingBox));return{pageIndex:u.pageIndex,rects:d}})).valueSeq().toList()}},94385:(e,t,n)=>{"use strict";function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null,r=null;return function(){const i=this;for(var a=arguments.length,s=new Array(a),l=0;l{o=null,r&&n&&(e.apply(i,r),r=null,o=setTimeout(a,t))};o=setTimeout(a,t)}}}n.d(t,{Z:()=>o})},77528:(e,t,n)=>{"use strict";n.d(t,{CN:()=>h,DQ:()=>c,FO:()=>v,I4:()=>g,KT:()=>b,Kt:()=>m,Li:()=>y,Ut:()=>u,hJ:()=>d,q1:()=>s,se:()=>l});var o=n(35369),r=n(19815),i=n(62164),a=n(20792);function s(e,t,n){return e.filter((e=>{const o=e.get("type");if(t[o]&&t[o].forceHide)return!1;let r=e.get("mediaQueries");if(!r){if(f(e))return!0;const n=t[o].mediaQueries;if(!n)return!0;r=n}const i=null==n?void 0:n.matchMedia(r.join(", "));return null==i?void 0:i.matches}))}function l(e,t){return e.map((e=>{const n=e.get("mediaQueries");if(!n){if(f(e))return;const n=(t[e.get("type")]||{}).mediaQueries;return n?(0,o.aV)(n):void 0}return n})).filter(Boolean).flatten().filter((e=>"all"!==e)).toSet().toArray()}function c(e,t){return e=e.map((e=>{const n=e.get("type"),r=t[n]||{},{id:i,className:a,icon:s,title:l,selected:c,disabled:u,responsiveGroup:d,onPress:p,dropdownGroup:f,preset:h,node:m}=e.toJS(),g="custom"===n,v={id:i||n,type:r.type||n,title:l||r.title,icon:s||r.icon,className:[r.className,a].filter(Boolean).join(" "),selected:g?c:r.selected,disabled:!0===u?u:r.disabled,onPress:g?p:r.onPress,onKeyPress:g?void 0:r.onKeyPress,responsiveGroup:d||r.responsiveGroup,dropdownGroup:void 0!==f?f:r.dropdownGroup,preset:h||r.preset};return m&&(v.node=m),(0,o.D5)(v)}))}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;return e.filter((o=>{const r=o.get("responsiveGroup");return r&&void 0!==p(e,r)?!!t&&r===n:!t}))}function d(e){return e.map((t=>{const n=t.get("type"),o=t.get("id");if("responsive-group"==n||"annotate"==n){const n=t.get("selected"),r=!!e.find((e=>e.get("responsiveGroup")==o&&1==e.get("selected")));return t.set("selected",n||r)}return t}))}function p(e,t){return e.find((e=>e.get("id")&&e.get("id")===t))}function f(e){const t=e.get("type");return"custom"===t||"responsive-group"===t}function h(e,t){return t===e}function m(e,t,n){return n===e&&!t}function g(e){let{toolbarItems:t,features:n,backend:o,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l,showComments:c}=e;return t.filter((e=>"document-editor"===e.get("type")||"document-crop"===e.get("type")?(0,r.Xr)({features:n,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l}):"content-editor"===e.get("type")?(0,r.qs)({features:n,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l}):"comment"!==e.get("type")||(0,r.LC)({features:n,backend:o})&&(0,i.oK)({showComments:c,features:n,backend:o})))}const v={[a.A.INK]:["ink","highlighter"],[a.A.SHAPE_LINE]:["line","arrow"],[a.A.INK_ERASER]:"ink-eraser",[a.A.TEXT_HIGHLIGHTER]:"text-highlighter",[a.A.SHAPE_RECTANGLE]:["rectangle","cloudy-rectangle","dashed-rectangle"],[a.A.SHAPE_ELLIPSE]:["ellipse","cloudy-ellipse","dashed-ellipse"],[a.A.SHAPE_POLYGON]:["polygon","cloudy-polygon","dashed-polygon"],[a.A.SHAPE_POLYLINE]:"polyline",[a.A.NOTE]:"note",[a.A.TEXT]:"text",[a.A.CALLOUT]:"callout",[a.A.LINK]:"link",[a.A.MEASUREMENT]:"measurement"};function y(e){const t=Object.entries(v).find((t=>{let[,n]=t;return Array.isArray(n)?n.includes(e):n===e}));return t&&t[0]||null}function b(e){var t;return null===(t=e.find((e=>"delete"===e.type)))||void 0===t?void 0:t.icon}},42911:(e,t,n)=>{"use strict";n.d(t,{Yw:()=>i,bl:()=>l,sX:()=>a});var o=n(36095),r=n(71231);function i(){const e="webkit"===o.SR;let t;e&&(t=window.PointerEvent);const r=window.Hammer;e&&delete window.PointerEvent;const i=n(34988);return e&&(window.PointerEvent=t),window.Hammer=r,i}function a(e){let t;if(e.touches)t=e.touches;else{if(!e.changedTouches)return!1;t=e.changedTouches}return t.length<=1}const s="webkit"===o.SR||"blink"===o.SR;function l(e){if(!s)return()=>{};const t=e=>{a(e)||e.preventDefault()},n=["touchstart","touchmove"],o=r.Gn?{passive:!1}:void 0;return n.forEach((n=>{e.addEventListener(n,t,o),document.addEventListener(n,t,o)})),()=>{n.forEach((n=>{e.removeEventListener(n,t,o),document.removeEventListener(n,t,o)}))}}},36658:(e,t,n)=>{"use strict";n.d(t,{c:()=>l,n:()=>s});var o=n(15973),r=n(88804),i=n(75669),a=n(95651);function s(e,t){const n=e.set("boundingBox",e.boundingBox.translate(t));return n instanceof o.Zc?n.update("lines",(e=>e.map((e=>e.map((e=>e.translate(t))))))):n instanceof o.o9?n.update("startPoint",(e=>e.translate(t))).update("endPoint",(e=>e.translate(t))):n instanceof o.Hi||n instanceof o.om?n.update("points",(e=>e.map((e=>e.translate(t))))):(0,a.Vc)(e)?n.update("callout",(e=>(e.knee&&(e=e.update("knee",(e=>e.translate(t)))),e.update("start",(e=>e.translate(t))).update("end",(e=>e.translate(t)))))):n}function l(e,t,n,o,a){const l=function(e,t,n,o,a){const{boundingBox:s}=(0,i.az)(e),l=new r.UL({x:0,y:0,width:n.width,height:n.height}).isRectInside(s);a&&l?(s.left+t.x<0&&(t=t.set("x",-s.left)),s.left+s.width+t.x>n.width&&(t=t.set("x",n.width-s.width-s.left)),s.top+t.y<0&&(t=t.set("y",-s.top)),s.top+s.height+t.y>n.height&&(t=t.set("y",n.height-s.height-s.top))):(o.x+s.left+t.x<0&&(t=t.set("x",-o.x-s.left)),o.x+s.left+t.x>n.width&&(t=t.set("x",n.width-(o.x+s.left))),o.y+s.top+t.y<0&&(t=t.set("y",-o.y-s.top)),o.y+s.top+t.y>n.height&&(t=t.set("y",n.height-(o.y+s.top))));return t}(e,t,n,o,a);return s(e,l)}},99745:(e,t,n)=>{"use strict";n.d(t,{s:()=>l,w:()=>c});var o=n(66687),r=n(28098),i=n(34426),a=n(71693),s=n(72131);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof location?location.hash:null;if(!t)return e;const n=t.replace("#","").split("&").map((e=>{const t=e.split("=");if(2===t.length)return[t[0],t[1]]})).filter(Boolean);return n.forEach((t=>{let[n,o]=t;switch(n){case"page":{const t=parseInt(o,10);if("number"!=typeof t||Number.isNaN(t)||t<=0)break;e=e.set("currentPageIndex",t-1);break}}})),e}function c(e,t){return new i.Z({currentPageIndex:e.viewportState.currentPageIndex,zoom:e.viewportState.zoomMode===r.c.CUSTOM?e.viewportState.zoomLevel:e.viewportState.zoomMode,pagesRotation:e.viewportState.pagesRotation,layoutMode:e.viewportState.layoutMode,scrollMode:e.viewportState.scrollMode,showToolbar:e.showToolbar,enableAnnotationToolbar:e.enableAnnotationToolbar,disablePointSnapping:e.viewportState.disablePointSnapping,allowPrinting:e.printingEnabled,allowExport:e.exportEnabled,interactionMode:e.interactionMode,readOnly:e.readOnlyEnabled!==s.J.NO,showAnnotations:e.showAnnotations,showComments:e.showComments,showAnnotationNotes:e.showAnnotationNotes,sidebarMode:e.sidebarMode,sidebarOptions:e.sidebarOptions,sidebarPlacement:e.sidebarPlacement,spreadSpacing:e.viewportState.spreadSpacing,pageSpacing:e.viewportState.pageSpacing,keepFirstSpreadAsSinglePage:e.viewportState.keepFirstSpreadAsSinglePage,viewportPadding:new o.gx({horizontal:e.viewportState.viewportPadding.x,vertical:e.viewportState.viewportPadding.y}),instance:t||e.instance,formDesignMode:e.formDesignMode,showSignatureValidationStatus:e.showSignatureValidationStatus,previewRedactionMode:e.previewRedactionMode,keepSelectedTool:e.keepSelectedTool,resolvedLayoutMode:(0,a.nw)(e.viewportState),sidebarWidth:e.sidebarWidth})}},27515:(e,t,n)=>{"use strict";n.d(t,{DB:()=>g,EY:()=>x,Ek:()=>m,G4:()=>C,JN:()=>P,YA:()=>w,YS:()=>f,YV:()=>I,_4:()=>y,_P:()=>D,_U:()=>S,a$:()=>b,cr:()=>h,fI:()=>k,oI:()=>A,pA:()=>O,vY:()=>E,vs:()=>v,zi:()=>F,zo:()=>T});var o=n(71693),r=n(52560),i=n(56956),a=n(77973),s=n(88804),l=n(47710),c=n(28098),u=n(91859),d=n(87222),p=n(97413);function f(e,t,n){if((e.scrollMode===l.G.PER_SPREAD||e.scrollMode===l.G.DISABLED)&&t!==e.currentPageIndex)return!1;const o=h(e,t),r=n.apply(o);return e.viewportRect.isRectOverlapping(r)}function h(e,t){var n;if(null!==(n=e._pageToClientTransformation)&&void 0!==n&&n[t])return e._pageToClientTransformation[t];const r=(0,o.dF)(e,t),i=function(e,t){return e.translate(t.viewportRect.getLocation()).translate(t.scrollPosition.scale(-t.zoomLevel))}(y(v(g(s.sl.IDENTITY,e,t,r),e,r),e),e);return e._pageToClientTransformation||(e._pageToClientTransformation={}),e._pageToClientTransformation[t]=i,i}function m(e,t){return h(e,t).inverse()}function g(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const s=t.pageSizes.get(n);switch((0,p.k)(s),0!==t.pagesRotation&&(e=e.rotate(-t.pagesRotation)),t.pagesRotation){case 0:break;case 90:e=e.translateX(s.height*i);break;case 180:e=e.translateX(s.width*i).translateY(s.height*i);break;case 270:e=e.translateY(s.width*i);break;default:throw new Error(`Unsupported pagesRotation: ${t.pagesRotation}. Only supporting: 0, 90, 180, 270.`)}switch((0,o.nw)(t)){case a.X.SINGLE:return(0,p.k)(n===r,"In LayoutMode.SINGLE, pageIndex must equal spreadIndex."),e;case a.X.DOUBLE:{if(t.keepFirstSpreadAsSinglePage&&0==n&&0==r)return e;const a=t.keepFirstSpreadAsSinglePage?1:0,s=(0,o.hK)(t,n),l=(0,o.Xk)(t,r);return e.translateX((n+a)%2?parseInt((l.width-s.width)*i,10):0).translateY(parseInt((l.height-s.height)*i/2,10))}default:throw new Error("Unsupported layoutMode")}}function v(e,t,n){if(t.scrollMode===l.G.CONTINUOUS){const r=(0,o.Xk)(t,n).width,i=(0,o.e8)(t,n);return e.translateX(((0,o.Ad)(t)-r)/2).translateY(i)}return e}function y(e,t){return e.scale(t.zoomLevel).translate(C(t).getLocation())}function b(e,t,n,o){const r=e.set("viewportRect",new s.UL({width:t.width-o,height:t.height,top:t.top,left:t.left}));return T(k(e,r,n))}function w(e,t){const n=e.set("layoutMode",t);return T(k(e,n))}function S(e,t){const n=e.set("scrollMode",t);return T(k(e,n))}function P(e,t){return T(e.set("spreadSpacing",t))}function E(e,t){return T(e.set("pageSpacing",t))}function x(e,t){return T(e.set("keepFirstSpreadAsSinglePage",t))}function D(e,t){return T(e.set("viewportPadding",t))}function C(e){let t;if(e.scrollMode===l.G.CONTINUOUS)t=new s.$u({width:(0,o.Ad)(e),height:(0,o.Of)(e)});else{const n=(0,o.dF)(e,e.currentPageIndex);t=(0,o.Xk)(e,n)}let n=new s.UL({width:t.width,height:t.height}).scale(e.zoomLevel).translate(e.viewportPadding);const r=e.commentMode===d._.SIDEBAR?u.h8:0;e.viewportRect.width-r-2*e.viewportPadding.x>n.width&&(n=n.translateX((e.viewportRect.width-r-2*e.viewportPadding.x-n.width)/2));return e.viewportRect.height-2*e.viewportPadding.y>n.height&&(n=n.translateY((e.viewportRect.height-2*e.viewportPadding.y-n.height)/2)),n}function k(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=(0,o.nw)(e)!==(0,o.nw)(t),a=e.scrollMode!==t.scrollMode;if(!(n||r||a))return t;switch(t.scrollMode){case l.G.PER_SPREAD:case l.G.DISABLED:return t.set("zoomMode",c.c.FIT_TO_VIEWPORT);case l.G.CONTINUOUS:return t=T(t),(0,i.eb)(t,t.currentPageIndex,!0);default:throw new Error("Unsupported scrollMode")}}function O(e,t){return e.zoomLevel!==t.zoomLevel||e.zoomMode!==t.zoomMode||e.layoutMode!==t.layoutMode||e.scrollMode!==t.scrollMode||e.scrollPosition!==t.scrollPosition||e.currentPageIndex!==t.currentPageIndex||e.viewportRect!==t.viewportRect||e.pageSizes!==t.pageSizes||e.pagesRotation!==t.pagesRotation||e.viewportPadding!==t.viewportPadding||e.spreadSpacing!==t.spreadSpacing||e.pageSpacing!==t.pageSpacing||e.keepFirstSpreadAsSinglePage!==t.keepFirstSpreadAsSinglePage}function A(e){return[e.zoomLevel,e.zoomMode,e.layoutMode,e.scrollMode,e.scrollPosition,e.currentPageIndex,e.viewportRect,e.pageSizes,e.pagesRotation,e.viewportPadding,e.spreadSpacing,e.pageSpacing,e.keepFirstSpreadAsSinglePage]}function T(e){return e.zoomMode!==c.c.CUSTOM?e.set("zoomLevel",(0,r.X9)(e,e.zoomMode)):e}function I(e){return function(t,n){return t.apply(F(e(),n))}}function F(e,t){let{viewportState:n,scrollElement:o}=e;if(o){const e=new s.E9({x:o.scrollLeft/n.zoomLevel,y:o.scrollTop/n.zoomLevel});n=n.set("scrollPosition",e)}return m(n,t)}},5020:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>l,U1:()=>a,kI:()=>c,n5:()=>s});var o=n(47347),r=n(27515),i=n(66687);function a(e,t){(0,o.kG)(t%90==0,"Only multiples of 90° allowed for rotation."),t=s(t);const n=e.update("pagesRotation",(e=>(e+t)%360));return(0,r.zo)((0,r.fI)(e,n,!0))}function s(e){return(0,o.kG)(e%90==0,"Only multiples of 90° allowed for rotation."),(360+e%360)%360}function l(e){return(360+Math.round(e)%360)%360}function c(e,t,n){switch(n){case 90:return new i.UL({left:e.top,top:Math.max(0,Math.round(t.height-e.right)),height:e.width,width:e.height});case 180:return e.merge({left:Math.max(0,Math.round(t.width-e.right)),top:Math.max(0,Math.round(t.height-e.bottom))});case 270:return new i.UL({left:Math.max(0,Math.round(t.width-e.bottom)),top:e.left,height:e.width,width:e.height});default:return e}}},56956:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>u,TW:()=>h,eb:()=>d,hu:()=>m,k3:()=>c,kN:()=>p,vP:()=>f});var o=n(71693),r=n(27515),i=n(52560),a=n(88804),s=n(47710),l=n(28098);function c(e,t,n){n||(n=new a.E9({x:.5*e.viewportRect.width,y:.1*e.viewportRect.height})),n=n.translate(e.viewportPadding.scale(-1));const o=t/e.zoomLevel-1;let r=0;const s=(0,i.kh)(e),l=t>s;if(l){r=t/Math.max(e.zoomLevel,s)-1}return new a.E9({x:l?e.scrollPosition.x+n.x*r/t:0,y:e.scrollPosition.y+n.y*o/t})}function u(e,t){const n=h(e);return new a.E9({x:Math.max(0,Math.min(t.x,n.x)),y:Math.max(0,Math.min(t.y,n.y))})}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&e.currentPageIndex==t)return e;if(e.scrollMode==s.G.PER_SPREAD||e.scrollMode===s.G.DISABLED)return(0,i.cq)(e.set("currentPageIndex",t),l.c.FIT_TO_VIEWPORT).set("scrollPosition",new a.E9).set("currentPageIndex",t);{const n=(0,o.dF)(e,t),r=(0,o.e8)(e,n),i=h(e).y,a=Math.min(i,r);return e.set("currentPageIndex",t).setIn(["scrollPosition","y"],a)}}function p(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!o&&(0,r.YS)(e,t,n))return e;const i=(0,r.cr)(e,t),a=n.apply(i),s=e.viewportRect.getCenter(),l=a.getCenter().translate(s.scale(-1)),c=e.scrollPosition.translate(l.scale(1/e.zoomLevel));return e.merge({scrollPosition:u(e,c),currentPageIndex:t})}function f(e,t,n){const{viewportRect:o,viewportPadding:r}=e,a=(o.width-2*r.x)/n.width,s=(o.height-2*r.y)/n.height,l=Math.min(a,s);return p((0,i.cq)(e,l),t,n,!0)}function h(e){const t=(0,r.G4)(e),n=t.left/e.zoomLevel+t.width/e.zoomLevel+e.viewportPadding.x/e.zoomLevel-e.viewportRect.width/e.zoomLevel,o=t.top/e.zoomLevel+t.height/e.zoomLevel+e.viewportPadding.y/e.zoomLevel-e.viewportRect.height/e.zoomLevel;return new a.E9({x:Math.max(0,n),y:Math.max(0,o)})}function m(e,t){return(0,o.Y2)(e.set("scrollPosition",t))}},71693:(e,t,n)=>{"use strict";n.d(t,{Ad:()=>h,Of:()=>m,P1:()=>g,Xk:()=>w,Y2:()=>P,dF:()=>v,e8:()=>f,hK:()=>b,kd:()=>y,nw:()=>d,s:()=>S,wU:()=>x,wX:()=>D});var o=n(35369),r=n(67294),i=n(47347),a=n(77973),s=n(27515),l=n(88804),c=n(47710),u=n(91859);function d(e){if(e.layoutMode===a.X.AUTO){return e.viewportRect.width>e.viewportRect.height&&e.viewportRect.width>u.GI?a.X.DOUBLE:a.X.SINGLE}return e.layoutMode}function p(e){const t=y(e);let n=(0,o.aV)();for(let e=0;ew(e,t))).takeUntil(((e,n)=>n>=t)).reduce(((t,n)=>t+n.height+e.spreadSpacing),0)}function h(e){const t=p(e).map((t=>w(e,t))).maxBy((e=>e.width));return t?t.width:0}function m(e){const t=p(e).map((t=>w(e,t))),n=(t.size-1)*e.spreadSpacing;return t.map((e=>e.height)).reduce(((e,t)=>e+t),0)+n}function g(e,t){switch(d(e)){case a.X.SINGLE:return(0,i.kG)(t=e.pageSizes.size)return 0;switch(d(e)){case a.X.SINGLE:return t;case a.X.DOUBLE:{const n=e.keepFirstSpreadAsSinglePage?1:0;return Math.floor((t+n)/2)}default:throw new Error("Unsupported layoutMode")}}function y(e){switch(d(e)){case a.X.SINGLE:return e.pageSizes.size;case a.X.DOUBLE:{if(e.pageSizes.size<=0)return 0;const t=e.keepFirstSpreadAsSinglePage?1:0;return Math.ceil((e.pageSizes.size+t)/2)}default:throw new Error("Unsupported layoutMode")}}function b(e,t){const n=e.pageSizes.get(t);return(0,i.kG)(n,"No such page size"),90===e.pagesRotation||270===e.pagesRotation?new l.$u({width:n.height,height:n.width}):n}function w(e,t){const n=g(e,t);if(1===n.length)return b(e,n[0]);{let t=0,o=0;for(const r of n){const{width:n,height:i}=b(e,r);t+=n+(0!==r?e.pageSpacing:0),i>o&&(o=i)}return new l.$u({width:t,height:o})}}function S(e){let{width:t}=e;return t<=u.y$?"width-xs":t<=u.Fg?"width-sm":t<=u.GI?"width-md":t<=u.Qq?"width-lg":"width-xl"}function P(e){let t=e.currentPageIndex,n=v(e,e.currentPageIndex);if(e.scrollMode===c.G.CONTINUOUS){const t=[0];let o=0;for(let n=0;nt1){const r=e.scrollPosition.x*e.zoomLevel-e.viewportPadding.x+e.viewportRect.width/2,i=o[1],a=(0,s._4)((0,s.vs)((0,s.DB)(l.sl.IDENTITY,e,i,n),e,n),e);t=(new l.E9).apply(a).x{const t=e.current;return()=>t.clear()})),e.current}(),c=r.useCallback((e=>{a.current.contains(t)&&(e?(l.clear(),l.set((()=>{i(t)}),E)):i(t))}),[t,l,i]);r.useEffect((()=>{l.clear(),a.current=a.current.filter((e=>D(e,t))),c(!1)}),[...(0,s.oI)(e),t,l,c]);return[n,r.useCallback((e=>{a.current=a.current.add(e),c(!0)}),[c])]}function D(e,t){return e>=t-u.J8&&e<=t+u.J8}},58568:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var o=n(65872);function r(e,t,n){const r=e.viewportState.viewportRect.set("height",t.height);return e.sidebarMode?r.set("width",e.containerRect.width-n).set("left",e.sidebarPlacement===o.d.START?n:0):r.set("width",e.containerRect.width).set("left",0)}},52560:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>h,Sm:()=>p,X9:()=>g,Yo:()=>d,cq:()=>v,hT:()=>y,kh:()=>f,vw:()=>m});var o=n(71693),r=n(91859),i=n(56956),a=n(47710),s=n(28098),l=n(97413);let c=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;function d(e){const t=Math.min(f(e),h(e),e.minDefaultZoomLevel,c);return c>t&&(c=t),t}function p(e){const t=Math.max(f(e),h(e),e.maxDefaultZoomLevel,u);return ui.height?Math.min(t,n):n;return Math.min(a,r.zh)}(e);case s.c.FIT_TO_VIEWPORT:return m(e);case s.c.FIT_TO_WIDTH:return f(e);default:return(0,l.k)("number"==typeof t,"Unknown zoom mode"),t}}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=g(e,t);const a="number"==typeof t?s.c.CUSTOM:t,l=d(e),c=p(e);if(r>=c)if(n.unbounded){const e=b((r-c)/25);r=c*(1+.5*e)}else r=c;else if(r<=l)if(n.unbounded){const e=b(4*(r-l));r=l*(1+.25*e)}else r=l;let u=(0,i.k3)(e,r,n.zoomCenter);return u=(0,i.DJ)(e.set("zoomLevel",r),u),(0,o.Y2)(e.withMutations((e=>e.set("zoomLevel",r).set("scrollPosition",u).set("zoomMode",a))))}function y(e){const{zoomLevel:t}=e,n=d(e);return t>p(e)||t{"use strict";n.d(t,{$Z:()=>g,DI:()=>d,MX:()=>h,n:()=>u,w5:()=>p});var o=n(35369),r=n(47347),i=n(34710),a=n(4054),s=n(23661),l=n.n(s),c=n(16126);const u=2,d=2,p=[1,2,3,4,6,8,9,10,12,14,16,18,20,25,30,35,40,45,50,55,60,70,80,90,100,110,120,130,144],f=p.slice(0,Math.floor(p.length/4));function h(e,t,n,a,s,c,h){if(s&&e&&10===e.charCodeAt(e.length-1)&&(e+="\n"),"auto"!==a)return a||Math.max(4,Math.min(.7*n,12));let g,v;if(h){const e=window.getComputedStyle(h);g=e.getPropertyValue("font-family"),s||(v=e.getPropertyValue("line-height"))}if(s){const a=n-2*u,s=(0,o.aV)([e]),p=m(f,(e=>{const n=function(e){let{valueString:t,fontSize:n,fontFamily:o="inherit",availableWidth:a,element:s}=e;const c=new i.f(document,t,{fontSize:`${n}px`,width:`${a}px`,wordBreak:"break-word",whiteSpace:"pre-wrap",fontFamily:o,lineHeight:`${n}px`,margin:"0",padding:"0",border:"none",textAlign:(null==s?void 0:s.style.textAlign)||"initial"},l().widget,s&&s.parentNode),u=c.measure().first();(0,r.kG)(u);const d=u.height;return c.remove(),d}({valueString:s,fontSize:e,fontFamily:g,availableWidth:t-2*d,element:h});let o=u;const p=a-e;return p-2*u<0&&(o=p>0?p/2:0),n+2*o+2*c>a?0:1}));return p}{const a=(0,o.aV)([e]),s=m(p,(e=>{const o=function(e){let{valueString:t,fontSize:n,fontFamily:o="inherit",lineHeight:a="inherit",element:s}=e;const c=new i.f(document,t,{fontSize:`${n}px`,fontFamily:o,lineHeight:a},l().widget,s&&s.parentNode),u=c.measure().first();(0,r.kG)(u);const d=u.width;return c.remove(),d}({valueString:a,fontSize:e,fontFamily:g,lineHeight:v,element:h});return o>t||e>n?0:1}));return s}}function m(e,t){let n=0,o=e.length-1,r=0,i=e[0];for(;n<=o;)r=Math.floor((n+o)/2),i=e[r],t(i)?n=r+1:o=r-1;return t(i)||(i=e[Math.max(0,r-1)]),i}function g(e,t){let n,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{return n=(0,a.Aw)(),o=new i.f(document,t,(0,c.i2)(e,r,!1)),!(0,a.f)(o.wrapper)}finally{o&&o.remove(),n&&n.remove()}}},94184:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>c});var o=n(67294);function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e){function t(e){var n,o;return function(e,n){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),(n=!(o=r(t).call(this,e))||"object"!=typeof o&&"function"!=typeof o?a(this):o).onKeyPress=n.onKeyPress.bind(a(n)),n}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(t,o.Component),(n=[{key:"onKeyPress",value:function(e){var t=this.props,n=t.onClick,o=t.onKeyPress;switch(e.key){case" ":case"Spacebar":e.preventDefault(),n&&o||o?o(e):n&&n(e);break;case"Enter":if(o&&(o(e),e.isDefaultPrevented()))return;n&&n(e)}}},{key:"render",value:function(){var e=this.props,t=e.is,n=void 0===t?"span":t,r=e.innerRef,i=e.onClick,a=e.disabled,s=e.tabIndex,l=void 0===s?0:s,c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["is","innerRef","onClick","disabled","tabIndex","onKeyPress"]);return o.createElement(n,Object.assign({tabIndex:a?void 0:l,role:"button",onKeyPress:a?void 0:this.onKeyPress,onClick:a?void 0:i,"aria-disabled":a?"true":void 0,ref:r},c))}}])&&function(e,t){for(var n=0;n{var o=n(60614),r=n(66330),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a function")}},39483:(e,t,n)=>{var o=n(4411),r=n(66330),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a constructor")}},96077:(e,t,n)=>{var o=n(60614),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},51223:(e,t,n)=>{var o=n(5112),r=n(70030),i=n(3070).f,a=o("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var o=n(28710).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},25787:(e,t,n)=>{var o=n(47976),r=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw r("Incorrect invocation")}},19670:(e,t,n)=>{var o=n(70111),r=String,i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not an object")}},23013:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:(e,t,n)=>{var o=n(47293);e.exports=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},90260:(e,t,n)=>{"use strict";var o,r,i,a=n(23013),s=n(19781),l=n(17854),c=n(60614),u=n(70111),d=n(92597),p=n(70648),f=n(66330),h=n(68880),m=n(98052),g=n(3070).f,v=n(47976),y=n(79518),b=n(27674),w=n(5112),S=n(69711),P=n(29909),E=P.enforce,x=P.get,D=l.Int8Array,C=D&&D.prototype,k=l.Uint8ClampedArray,O=k&&k.prototype,A=D&&y(D),T=C&&y(C),I=Object.prototype,F=l.TypeError,M=w("toStringTag"),_=S("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",R=a&&!!b&&"Opera"!==p(l.opera),L=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},z=function(e){var t=y(e);if(u(t)){var n=x(t);return n&&d(n,N)?n.TypedArrayConstructor:z(t)}},K=function(e){if(!u(e))return!1;var t=p(e);return d(B,t)||d(j,t)};for(o in B)(i=(r=l[o])&&r.prototype)?E(i).TypedArrayConstructor=r:R=!1;for(o in j)(i=(r=l[o])&&r.prototype)&&(E(i).TypedArrayConstructor=r);if((!R||!c(A)||A===Function.prototype)&&(A=function(){throw F("Incorrect invocation")},R))for(o in B)l[o]&&b(l[o],A);if((!R||!T||T===I)&&(T=A.prototype,R))for(o in B)l[o]&&b(l[o].prototype,T);if(R&&y(O)!==T&&b(O,T),s&&!d(T,M))for(o in L=!0,g(T,M,{get:function(){return u(this)?this[_]:void 0}}),B)l[o]&&h(l[o],_,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:L&&_,aTypedArray:function(e){if(K(e))return e;throw F("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(A,e)))return e;throw F(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,o){if(s){if(n)for(var r in B){var i=l[r];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}T[e]&&!n||m(T,e,n?t:R&&C[e]||t,o)}},exportTypedArrayStaticMethod:function(e,t,n){var o,r;if(s){if(b){if(n)for(o in B)if((r=l[o])&&d(r,e))try{delete r[e]}catch(e){}if(A[e]&&!n)return;try{return m(A,e,n?t:R&&A[e]||t)}catch(e){}}for(o in B)!(r=l[o])||r[e]&&!n||m(r,e,t)}},getTypedArrayConstructor:z,isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(B,t)||d(j,t)},isTypedArray:K,TypedArray:A,TypedArrayPrototype:T}},21285:(e,t,n)=>{"use strict";var o=n(47908),r=n(51400),i=n(26244);e.exports=function(e){for(var t=o(this),n=i(t),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);c>s;)t[s++]=e;return t}},48457:(e,t,n)=>{"use strict";var o=n(49974),r=n(46916),i=n(47908),a=n(53411),s=n(97659),l=n(4411),c=n(26244),u=n(86135),d=n(18554),p=n(71246),f=Array;e.exports=function(e){var t=i(e),n=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m;g&&(m=o(m,h>2?arguments[2]:void 0));var v,y,b,w,S,P,E=p(t),x=0;if(!E||this===f&&s(E))for(v=c(t),y=n?new this(v):f(v);v>x;x++)P=g?m(t[x],x):t[x],u(y,x,P);else for(S=(w=d(t,E)).next,y=n?new this:[];!(b=r(S,w)).done;x++)P=g?a(w,m,[b.value,x],!0):b.value,u(y,x,P);return y.length=x,y}},41318:(e,t,n)=>{var o=n(45656),r=n(51400),i=n(26244),a=function(e){return function(t,n,a){var s,l=o(t),c=i(l),u=r(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var o=n(49974),r=n(1702),i=n(68361),a=n(47908),s=n(26244),l=n(65417),c=r([].push),u=function(e){var t=1==e,n=2==e,r=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,g,v){for(var y,b,w=a(h),S=i(w),P=o(m,g),E=s(S),x=0,D=v||l,C=t?D(h,E):n||p?D(h,0):void 0;E>x;x++)if((f||x in S)&&(b=P(y=S[x],x,w),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c(C,y)}else switch(e){case 4:return!1;case 7:c(C,y)}return d?-1:r||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9341:(e,t,n)=>{"use strict";var o=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){return 1},1)}))}},41589:(e,t,n)=>{var o=n(51400),r=n(26244),i=n(86135),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=r(e),c=o(t,l),u=o(void 0===n?l:n,l),d=a(s(u-c,0)),p=0;c{var o=n(1702);e.exports=o([].slice)},94362:(e,t,n)=>{var o=n(41589),r=Math.floor,i=function(e,t){var n=e.length,l=r(n/2);return n<8?a(e,t):s(e,i(o(e,0,l),t),i(o(e,l),t),t)},a=function(e,t){for(var n,o,r=e.length,i=1;i0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},s=function(e,t,n,o){for(var r=t.length,i=n.length,a=0,s=0;a{var o=n(43157),r=n(4411),i=n(70111),a=n(5112)("species"),s=Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(r(t)&&(t===s||o(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},65417:(e,t,n)=>{var o=n(77475);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},53411:(e,t,n)=>{var o=n(19670),r=n(99212);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(t){r(e,"throw",t)}}},17072:(e,t,n)=>{var o=n(5112)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:(e,t,n)=>{var o=n(1702),r=o({}.toString),i=o("".slice);e.exports=function(e){return i(r(e),8,-1)}},70648:(e,t,n)=>{var o=n(51694),r=n(60614),i=n(84326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(o=i(t))&&r(t.callee)?"Arguments":o}},29320:(e,t,n)=>{"use strict";var o=n(1702),r=n(89190),i=n(62423).getWeakData,a=n(25787),s=n(19670),l=n(68554),c=n(70111),u=n(20408),d=n(42092),p=n(92597),f=n(29909),h=f.set,m=f.getterFor,g=d.find,v=d.findIndex,y=o([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new S)},S=function(){this.entries=[]},P=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};S.prototype={get:function(e){var t=P(this,e);if(t)return t[1]},has:function(e){return!!P(this,e)},set:function(e,t){var n=P(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var d=e((function(e,r){a(e,f),h(e,{type:t,id:b++,frozen:void 0}),l(r)||u(r,e[o],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var o=g(e),r=i(s(t),!0);return!0===r?w(o).set(t,n):r[o.id]=n,e};return r(f,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&p(n,t.id)}}),r(f,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},77710:(e,t,n)=>{"use strict";var o=n(82109),r=n(17854),i=n(1702),a=n(54705),s=n(98052),l=n(62423),c=n(20408),u=n(25787),d=n(60614),p=n(68554),f=n(70111),h=n(47293),m=n(17072),g=n(58003),v=n(79587);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",S=r[e],P=S&&S.prototype,E=S,x={},D=function(e){var t=i(P[e]);s(P,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!f(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(S)||!(b||P.forEach&&!h((function(){(new S).entries().next()})))))E=n.getConstructor(t,e,y,w),l.enable();else if(a(e,!0)){var C=new E,k=C[w](b?{}:-0,1)!=C,O=h((function(){C.has(1)})),A=m((function(e){new S(e)})),T=!b&&h((function(){for(var e=new S,t=5;t--;)e[w](t,t);return!e.has(-0)}));A||((E=t((function(e,t){u(e,P);var n=v(new S,e,E);return p(t)||c(t,n[w],{that:n,AS_ENTRIES:y}),n}))).prototype=P,P.constructor=E),(O||T)&&(D("delete"),D("has"),y&&D("get")),(T||k)&&D(w),b&&P.clear&&delete P.clear}return x[e]=E,o({global:!0,constructor:!0,forced:E!=S},x),g(E,e),b||n.setStrong(E,e,y),E}},99920:(e,t,n)=>{var o=n(92597),r=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t,n){for(var s=r(t),l=a.f,c=i.f,u=0;u{var o=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},76178:e=>{e.exports=function(e,t){return{value:e,done:t}}},68880:(e,t,n)=>{var o=n(19781),r=n(3070),i=n(79114);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var o=n(34948),r=n(3070),i=n(79114);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},47045:(e,t,n)=>{var o=n(56339),r=n(3070);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),r.f(e,t,n)}},98052:(e,t,n)=>{var o=n(60614),r=n(3070),i=n(56339),a=n(13072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(o(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},89190:(e,t,n)=>{var o=n(98052);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},13072:(e,t,n)=>{var o=n(17854),r=Object.defineProperty;e.exports=function(e,t){try{r(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},85117:(e,t,n)=>{"use strict";var o=n(66330),r=TypeError;e.exports=function(e,t){if(!delete e[t])throw r("Cannot delete property "+o(t)+" of "+o(e))}},19781:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},80317:(e,t,n)=>{var o=n(17854),r=n(70111),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var o=n(80317)("span").classList,r=o&&o.constructor&&o.constructor.prototype;e.exports=r===Object.prototype?void 0:r},68886:(e,t,n)=>{var o=n(88113).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},7871:(e,t,n)=>{var o=n(83823),r=n(35268);e.exports=!o&&!r&&"object"==typeof window&&"object"==typeof document},89363:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:(e,t,n)=>{var o=n(88113);e.exports=/MSIE|Trident/.test(o)},71528:(e,t,n)=>{var o=n(88113),r=n(17854);e.exports=/ipad|iphone|ipod/i.test(o)&&void 0!==r.Pebble},6833:(e,t,n)=>{var o=n(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},35268:(e,t,n)=>{var o=n(84326),r=n(17854);e.exports="process"==o(r.process)},71036:(e,t,n)=>{var o=n(88113);e.exports=/web0s(?!.*chrome)/i.test(o)},88113:(e,t,n)=>{var o=n(35005);e.exports=o("navigator","userAgent")||""},7392:(e,t,n)=>{var o,r,i=n(17854),a=n(88113),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=(o=u.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},98008:(e,t,n)=>{var o=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var o=n(17854),r=n(31236).f,i=n(68880),a=n(98052),s=n(13072),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?o:g?o[h]||s(h,{}):(o[h]||{}).prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=r(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var o=n(21470),r=n(98052),i=n(22261),a=n(47293),s=n(5112),l=n(68880),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var p=s(e),f=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!f||!h||n){var m=o(/./[p]),g=t(p,""[e],(function(e,t,n,r,a){var s=o(e),l=t.exec;return l===i||l===u.exec?f&&!a?{done:!0,value:m(t,n,r)}:{done:!0,value:s(n,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(u,p,g[1])}d&&l(u[p],"sham",!0)}},6790:(e,t,n)=>{"use strict";var o=n(43157),r=n(26244),i=n(7207),a=n(49974),s=function(e,t,n,l,c,u,d,p){for(var f,h,m=c,g=0,v=!!d&&a(d,p);g0&&o(f)?(h=r(f),m=s(e,t,f,h,m,u-1)-1):(i(m+1),e[m]=f),m++),g++;return m};e.exports=s},76677:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:(e,t,n)=>{var o=n(34374),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},49974:(e,t,n)=>{var o=n(21470),r=n(19662),i=n(34374),a=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:(e,t,n)=>{var o=n(34374),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}},76530:(e,t,n)=>{var o=n(19781),r=n(92597),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},21470:(e,t,n)=>{var o=n(84326),r=n(1702);e.exports=function(e){if("Function"===o(e))return r(e)}},1702:(e,t,n)=>{var o=n(34374),r=Function.prototype,i=r.call,a=o&&r.bind.bind(i,i);e.exports=o?a:function(e){return function(){return i.apply(e,arguments)}}},35005:(e,t,n)=>{var o=n(17854),r=n(60614),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(o[e]):o[e]&&o[e][t]}},71246:(e,t,n)=>{var o=n(70648),r=n(58173),i=n(68554),a=n(97497),s=n(5112)("iterator");e.exports=function(e){if(!i(e))return r(e,s)||r(e,"@@iterator")||a[o(e)]}},18554:(e,t,n)=>{var o=n(46916),r=n(19662),i=n(19670),a=n(66330),s=n(71246),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(r(n))return i(o(n,e));throw l(a(e)+" is not iterable")}},58173:(e,t,n)=>{var o=n(19662),r=n(68554);e.exports=function(e,t){var n=e[t];return r(n)?void 0:o(n)}},10647:(e,t,n)=>{var o=n(1702),r=n(47908),i=Math.floor,a=o("".charAt),s=o("".replace),l=o("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,o,d,p){var f=n+e.length,h=o.length,m=u;return void 0!==d&&(d=r(d),m=c),s(p,m,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return r;if(u>h){var p=i(u/10);return 0===p?r:p<=h?void 0===o[p-1]?a(s,1):o[p-1]+a(s,1):r}c=o[u-1]}return void 0===c?"":c}))}},17854:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:(e,t,n)=>{var o=n(1702),r=n(47908),i=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var o=n(17854);e.exports=function(e,t){var n=o.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},60490:(e,t,n)=>{var o=n(35005);e.exports=o("document","documentElement")},64664:(e,t,n)=>{var o=n(19781),r=n(47293),i=n(80317);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:(e,t,n)=>{var o=n(1702),r=n(47293),i=n(84326),a=Object,s=o("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},79587:(e,t,n)=>{var o=n(60614),r=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&o(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var o=n(1702),r=n(60614),i=n(5465),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},62423:(e,t,n)=>{var o=n(82109),r=n(1702),i=n(3501),a=n(70111),s=n(92597),l=n(3070).f,c=n(8006),u=n(1156),d=n(52050),p=n(69711),f=n(76677),h=!1,m=p("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=r([].splice),n={};n[m]=1,e(n).length&&(c.f=function(n){for(var o=e(n),r=0,i=o.length;r{var o,r,i,a=n(94811),s=n(17854),l=n(70111),c=n(68880),u=n(92597),d=n(5465),p=n(6200),f=n(3501),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,o=function(e,t){if(v.has(e))throw m(h);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=p("state");f[y]=!0,o=function(e,t){if(u(e,y))throw m(h);return t.facade=e,c(e,y,t),t},r=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var o=n(5112),r=n(97497),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},43157:(e,t,n)=>{var o=n(84326);e.exports=Array.isArray||function(e){return"Array"==o(e)}},60614:(e,t,n)=>{var o=n(4154),r=o.all;e.exports=o.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{var o=n(1702),r=n(47293),i=n(60614),a=n(70648),s=n(35005),l=n(42788),c=function(){},u=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=o(p.exec),h=!p.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(p,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},45032:(e,t,n)=>{var o=n(92597);e.exports=function(e){return void 0!==e&&(o(e,"value")||o(e,"writable"))}},54705:(e,t,n)=>{var o=n(47293),r=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(r(t)?o(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},68554:e=>{e.exports=function(e){return null==e}},70111:(e,t,n)=>{var o=n(60614),r=n(4154),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:o(e)||e===i}:function(e){return"object"==typeof e?null!==e:o(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var o=n(70111),r=n(84326),i=n(5112)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},52190:(e,t,n)=>{var o=n(35005),r=n(60614),i=n(47976),a=n(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&i(t.prototype,s(e))}},20408:(e,t,n)=>{var o=n(49974),r=n(46916),i=n(19670),a=n(66330),s=n(97659),l=n(26244),c=n(47976),u=n(18554),d=n(71246),p=n(99212),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var g,v,y,b,w,S,P,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),D=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),O=o(t,E),A=function(e){return g&&p(g,"normal",e),new h(!0,e)},T=function(e){return x?(i(e),k?O(e[0],e[1],A):O(e[0],e[1])):k?O(e,A):O(e)};if(D)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((w=T(e[y]))&&c(m,w))return w;return new h(!1)}g=u(e,v)}for(S=D?e.next:g.next;!(P=r(S,g)).done;){try{w=T(P.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new h(!1)}},99212:(e,t,n)=>{var o=n(46916),r=n(19670),i=n(58173);e.exports=function(e,t,n){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return r(a),n}},63061:(e,t,n)=>{"use strict";var o=n(13383).IteratorPrototype,r=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=r(o,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},51656:(e,t,n)=>{"use strict";var o=n(82109),r=n(46916),i=n(31913),a=n(76530),s=n(60614),l=n(63061),c=n(79518),u=n(27674),d=n(58003),p=n(68880),f=n(98052),h=n(5112),m=n(97497),g=n(13383),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=h("iterator"),P="keys",E="values",x="entries",D=function(){return this};e.exports=function(e,t,n,a,h,g,C){l(n,t,a);var k,O,A,T=function(e){if(e===h&&N)return N;if(!w&&e in M)return M[e];switch(e){case P:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",F=!1,M=e.prototype,_=M[S]||M["@@iterator"]||h&&M[h],N=!w&&_||T(h),R="Array"==t&&M.entries||_;if(R&&(k=c(R.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===b||(u?u(k,b):s(k[S])||f(k,S,D)),d(k,I,!0,!0),i&&(m[I]=D)),v&&h==E&&_&&_.name!==E&&(!i&&y?p(M,"name",E):(F=!0,N=function(){return r(_,this)})),h)if(O={values:T(E),keys:g?N:T(P),entries:T(x)},C)for(A in O)(w||F||!(A in M))&&f(M,A,O[A]);else o({target:t,proto:!0,forced:w||F},O);return i&&!C||M[S]===N||f(M,S,N,{name:h}),m[t]=N,O}},13383:(e,t,n)=>{"use strict";var o,r,i,a=n(47293),s=n(60614),l=n(70111),c=n(70030),u=n(79518),d=n(98052),p=n(5112),f=n(31913),h=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(o=r):m=!0),!l(o)||a((function(){var e={};return o[h].call(e)!==e}))?o={}:f&&(o=c(o)),s(o[h])||d(o,h,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},97497:e=>{e.exports={}},26244:(e,t,n)=>{var o=n(17466);e.exports=function(e){return o(e.length)}},56339:(e,t,n)=>{var o=n(47293),r=n(60614),i=n(92597),a=n(19781),s=n(76530).CONFIGURABLE,l=n(42788),c=n(29909),u=c.enforce,d=c.get,p=Object.defineProperty,f=a&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=u(e);return i(o,"source")||(o.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return r(this)&&d(this).source||l(this)}),"toString")},74758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var o=+e;return(o>0?n:t)(o)}},95948:(e,t,n)=>{var o,r,i,a,s,l,c,u,d=n(17854),p=n(49974),f=n(31236).f,h=n(20261).set,m=n(6833),g=n(71528),v=n(71036),y=n(35268),b=d.MutationObserver||d.WebKitMutationObserver,w=d.document,S=d.process,P=d.Promise,E=f(d,"queueMicrotask"),x=E&&E.value;x||(o=function(){var e,t;for(y&&(e=S.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?a():i=void 0,e}}i=void 0,e&&e.enter()},m||y||v||!b||!w?!g&&P&&P.resolve?((c=P.resolve(void 0)).constructor=P,u=p(c.then,c),a=function(){u(o)}):y?a=function(){S.nextTick(o)}:(h=p(h,d),a=function(){h(o)}):(s=!0,l=w.createTextNode(""),new b(o).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),r||(r=t,a()),i=t}},78523:(e,t,n)=>{"use strict";var o=n(19662),r=TypeError,i=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw r("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new i(e)}},3929:(e,t,n)=>{var o=n(47850),r=TypeError;e.exports=function(e){if(o(e))throw r("The method doesn't accept regular expressions");return e}},2814:(e,t,n)=>{var o=n(17854),r=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),c=i("".charAt),u=o.parseFloat,d=o.Symbol,p=d&&d.iterator,f=1/u(l+"-0")!=-1/0||p&&!r((function(){u(Object(p))}));e.exports=f?function(e){var t=s(a(e)),n=u(t);return 0===n&&"-"==c(t,0)?-0:n}:u},83009:(e,t,n)=>{var o=n(17854),r=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),c=o.parseInt,u=o.Symbol,d=u&&u.iterator,p=/^[+-]?0x/i,f=i(p.exec),h=8!==c(l+"08")||22!==c(l+"0x16")||d&&!r((function(){c(Object(d))}));e.exports=h?function(e,t){var n=s(a(e));return c(n,t>>>0||(f(p,n)?16:10))}:c},21574:(e,t,n)=>{"use strict";var o=n(19781),r=n(1702),i=n(46916),a=n(47293),s=n(81956),l=n(25181),c=n(55296),u=n(47908),d=n(68361),p=Object.assign,f=Object.defineProperty,h=r([].concat);e.exports=!p||a((function(){if(o&&1!==p({b:1},p(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=p({},e)[n]||s(p({},t)).join("")!=r}))?function(e,t){for(var n=u(e),r=arguments.length,a=1,p=l.f,f=c.f;r>a;)for(var m,g=d(arguments[a++]),v=p?h(s(g),p(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],o&&!i(f,g,m)||(n[m]=g[m]);return n}:p},70030:(e,t,n)=>{var o,r=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),c=n(80317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(e){return" \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/initDotnet.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/initDotnet.js new file mode 100644 index 00000000..60efc974 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/initDotnet.js @@ -0,0 +1 @@ +import{dotnet}from"./dotnet.js";export async function initDotnet(t){if(null===t||"string"!=typeof t||0===t.trim().length)throw Error("`baseUrl` must be a string passed to `initDotnet` and be non-empty.");const{getAssemblyExports:e,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:e=>`${t}/${e}`}).create();globalThis.gdPicture={module:o,baseUrl:t};const n=await e(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,BaseUrl:t}} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ACadSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ACadSharp.dll new file mode 100644 index 00000000..5d2cc935 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ACadSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/BouncyCastle.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/BouncyCastle.Cryptography.dll new file mode 100644 index 00000000..baf513b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/BouncyCastle.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ChromeHtmlToPdfLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ChromeHtmlToPdfLib.dll new file mode 100644 index 00000000..e08a9809 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/ChromeHtmlToPdfLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.Framework.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.Framework.dll new file mode 100644 index 00000000..a147954f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.Framework.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.dll new file mode 100644 index 00000000..cdec9c75 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/DocumentFormat.OpenXml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.API.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.API.dll new file mode 100644 index 00000000..6aaace2f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.API.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.CAD.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.CAD.dll new file mode 100644 index 00000000..356c4f48 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.CAD.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Common.dll new file mode 100644 index 00000000..5d1262cc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Document.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Document.dll new file mode 100644 index 00000000..c4f5ccca Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Document.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll new file mode 100644 index 00000000..b13db9fc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.dll new file mode 100644 index 00000000..a9b87b7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Formats.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll new file mode 100644 index 00000000..dabc8cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.Rendering.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.dll new file mode 100644 index 00000000..74d66fdd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.Imaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll new file mode 100644 index 00000000..f5d63ee0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.MSOfficeBinary.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenDocument.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenDocument.dll new file mode 100644 index 00000000..eac03760 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenDocument.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenXML.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenXML.dll new file mode 100644 index 00000000..1d4be190 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.OpenXML.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.PDF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.PDF.dll new file mode 100644 index 00000000..df0c94bc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.PDF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.RTF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.RTF.dll new file mode 100644 index 00000000..2ccf24e5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.RTF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.SVG.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.SVG.dll new file mode 100644 index 00000000..ff212ce0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.SVG.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll new file mode 100644 index 00000000..d9628d7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.1d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll new file mode 100644 index 00000000..6b1bc948 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.14.barcode.2d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll new file mode 100644 index 00000000..3b17f7da Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll new file mode 100644 index 00000000..b74c6239 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.Wasm.NET7.dll new file mode 100644 index 00000000..0520424b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/GdPicture.NET.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.CSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.CSharp.dll new file mode 100644 index 00000000..f426c300 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.CSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.Win32.Registry.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.Win32.Registry.dll new file mode 100644 index 00000000..03f1dfd4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Microsoft.Win32.Registry.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/MsgReader.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/MsgReader.dll new file mode 100644 index 00000000..07ed4d37 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/MsgReader.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Newtonsoft.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Newtonsoft.Json.dll new file mode 100644 index 00000000..76c6d1af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/Newtonsoft.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/OpenMcdf.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/OpenMcdf.dll new file mode 100644 index 00000000..c52d61c6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/OpenMcdf.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/RtfPipe.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/RtfPipe.dll new file mode 100644 index 00000000..411819a6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/RtfPipe.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Concurrent.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Concurrent.dll new file mode 100644 index 00000000..c4d27372 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Concurrent.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Immutable.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Immutable.dll new file mode 100644 index 00000000..094d785d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Immutable.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.NonGeneric.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.NonGeneric.dll new file mode 100644 index 00000000..32f3dd08 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.NonGeneric.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Specialized.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Specialized.dll new file mode 100644 index 00000000..f445069d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.Specialized.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.dll new file mode 100644 index 00000000..f6faf3ef Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Collections.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.EventBasedAsync.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 00000000..32f0d388 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.EventBasedAsync.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.Primitives.dll new file mode 100644 index 00000000..3aa01c08 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.TypeConverter.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.TypeConverter.dll new file mode 100644 index 00000000..a43bc948 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.TypeConverter.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.dll new file mode 100644 index 00000000..f1635b83 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ComponentModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Console.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Console.dll new file mode 100644 index 00000000..42d43de1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Console.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Data.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Data.Common.dll new file mode 100644 index 00000000..f8154511 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Data.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.DiagnosticSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 00000000..c15654b7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.DiagnosticSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.Process.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.Process.dll new file mode 100644 index 00000000..4376dbe1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.Process.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.TraceSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.TraceSource.dll new file mode 100644 index 00000000..c15772e9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Diagnostics.TraceSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.Primitives.dll new file mode 100644 index 00000000..31cc7bb5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.dll new file mode 100644 index 00000000..f3456b73 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Drawing.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Formats.Asn1.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Formats.Asn1.dll new file mode 100644 index 00000000..1cb4e026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Formats.Asn1.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Compression.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Compression.dll new file mode 100644 index 00000000..e4d119af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Compression.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Packaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Packaging.dll new file mode 100644 index 00000000..5a00a0f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.IO.Packaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.Expressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.Expressions.dll new file mode 100644 index 00000000..57b387d8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.Expressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.dll new file mode 100644 index 00000000..dbdf3b6b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Memory.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Memory.dll new file mode 100644 index 00000000..386c9e37 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Memory.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.Formatting.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.Formatting.dll new file mode 100644 index 00000000..efaa5cf7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.Formatting.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.dll new file mode 100644 index 00000000..2c9d376e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Http.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Mail.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Mail.dll new file mode 100644 index 00000000..b92414f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Mail.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.NetworkInformation.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.NetworkInformation.dll new file mode 100644 index 00000000..ac32e743 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.NetworkInformation.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Primitives.dll new file mode 100644 index 00000000..80b7bb09 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Requests.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Requests.dll new file mode 100644 index 00000000..f6d60d77 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Requests.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Security.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Security.dll new file mode 100644 index 00000000..2973418a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Security.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.ServicePoint.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.ServicePoint.dll new file mode 100644 index 00000000..e4f9b45c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.ServicePoint.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Sockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Sockets.dll new file mode 100644 index 00000000..2e8a2516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.Sockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebHeaderCollection.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebHeaderCollection.dll new file mode 100644 index 00000000..56efff2a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebHeaderCollection.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.Client.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.Client.dll new file mode 100644 index 00000000..f3dfbd34 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.Client.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.dll new file mode 100644 index 00000000..8b48994f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Net.WebSockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ObjectModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ObjectModel.dll new file mode 100644 index 00000000..33cbcbdd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.ObjectModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.CoreLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.CoreLib.dll new file mode 100644 index 00000000..a442840d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.CoreLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Uri.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Uri.dll new file mode 100644 index 00000000..9ee6d56c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Uri.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.Linq.dll new file mode 100644 index 00000000..2332c366 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.dll new file mode 100644 index 00000000..874382b7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Private.Xml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.InteropServices.JavaScript.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 00000000..9517f6f6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Numerics.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Numerics.dll new file mode 100644 index 00000000..93618156 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Numerics.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Formatters.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 00000000..2df793f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Formatters.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 00000000..636166ea Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.Serialization.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.dll new file mode 100644 index 00000000..b1d5b3c7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Runtime.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.Pkcs.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 00000000..c8596ab6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.Pkcs.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.dll new file mode 100644 index 00000000..5a5586d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Security.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encoding.CodePages.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encoding.CodePages.dll new file mode 100644 index 00000000..9376b60f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encoding.CodePages.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encodings.Web.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encodings.Web.dll new file mode 100644 index 00000000..9faaaa55 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Encodings.Web.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Json.dll new file mode 100644 index 00000000..92dd7af9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.RegularExpressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.RegularExpressions.dll new file mode 100644 index 00000000..c5d13824 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Text.RegularExpressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Threading.Tasks.Parallel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Threading.Tasks.Parallel.dll new file mode 100644 index 00000000..1799bbe6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Threading.Tasks.Parallel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Windows.Extensions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Windows.Extensions.dll new file mode 100644 index 00000000..0d60996c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Windows.Extensions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Xml.Linq.dll new file mode 100644 index 00000000..1c7a61c4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.dll new file mode 100644 index 00000000..53c3a5a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/System.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.Core.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.Core.dll new file mode 100644 index 00000000..c10c6f24 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.Core.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.dll new file mode 100644 index 00000000..2faf78d5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/managed/protobuf-net.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/mono-config.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/mono-config.json new file mode 100644 index 00000000..0a54843d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/mono-config.json @@ -0,0 +1,372 @@ +{ + "mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll", + "assemblyRootFolder": "managed", + "debugLevel": 0, + "assets": [ + { + "behavior": "assembly", + "name": "ACadSharp.dll" + }, + { + "behavior": "assembly", + "name": "BouncyCastle.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "ChromeHtmlToPdfLib.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.Framework.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.API.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.1d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.2d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.CAD.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Common.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Document.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Rendering.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.MSOfficeBinary.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenDocument.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenXML.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.PDF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.RTF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.SVG.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.CSharp.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.Win32.Registry.dll" + }, + { + "behavior": "assembly", + "name": "MsgReader.dll" + }, + { + "behavior": "assembly", + "name": "Newtonsoft.Json.dll" + }, + { + "behavior": "assembly", + "name": "OpenMcdf.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.Core.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.dll" + }, + { + "behavior": "assembly", + "name": "RtfPipe.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Concurrent.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Immutable.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.NonGeneric.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Specialized.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.EventBasedAsync.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.TypeConverter.dll" + }, + { + "behavior": "assembly", + "name": "System.Console.dll" + }, + { + "behavior": "assembly", + "name": "System.Data.Common.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.DiagnosticSource.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.Process.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.TraceSource.dll" + }, + { + "behavior": "assembly", + "name": "System.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Formats.Asn1.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Compression.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Packaging.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.Expressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Memory.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.Formatting.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Mail.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.NetworkInformation.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Requests.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Security.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.ServicePoint.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Sockets.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebHeaderCollection.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.Client.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.dll" + }, + { + "behavior": "assembly", + "name": "System.ObjectModel.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.CoreLib.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Uri.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.InteropServices.JavaScript.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Numerics.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Formatters.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.Pkcs.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encoding.CodePages.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encodings.Web.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Json.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.RegularExpressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Threading.Tasks.Parallel.dll" + }, + { + "behavior": "assembly", + "name": "System.Windows.Extensions.dll" + }, + { + "behavior": "assembly", + "name": "System.Xml.Linq.dll" + }, + { + "virtualPath": "runtimeconfig.bin", + "behavior": "vfs", + "name": "supportFiles/0_runtimeconfig.bin" + }, + { + "loadRemote": false, + "behavior": "icu", + "name": "icudt.dat" + }, + { + "virtualPath": "/usr/share/zoneinfo/", + "behavior": "vfs", + "name": "dotnet.timezones.blat" + }, + { + "behavior": "dotnetwasm", + "name": "dotnet.wasm" + } + ], + "remoteSources": [], + "pthreadPoolSize": 0 +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/package.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/package.json new file mode 100644 index 00000000..3e0a2a7f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/package.json @@ -0,0 +1 @@ +{ "type":"module" } \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resourceLoader.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resourceLoader.js new file mode 100644 index 00000000..65a50937 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resourceLoader.js @@ -0,0 +1 @@ +let require,resources;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(ENVIRONMENT_IS_NODE){const{createRequire:e}=await import("module");require=e(import.meta.url)}else if(ENVIRONMENT_IS_DENO){const e=new URL("./resources/list.json",import.meta.url),r=await globalThis.fetch(e).then((e=>e.json())),t=await Promise.all(r.map((e=>{const r=new URL(`./resources/${e}`,import.meta.url);return globalThis.fetch(r).then((async e=>{if(e.ok)return e.arrayBuffer()})).then((r=>({buffer:r,filename:e}))).catch((()=>({buffer:void 0,filename:e})))})));resources=t.reduce(((e,{filename:r,buffer:t})=>(e[`${globalThis.gdPicture.baseUrl}/resources/${decodeURI(r)}`]=t,e)),{})}}export function fetchResource(e,r){fetch(`${globalThis.gdPicture.baseUrl}/resources/${e}`,r)}export function fetch(e,r){try{if(ENVIRONMENT_IS_NODE){const t=require("node:fs"),o=require("node:path"),i=t.readFileSync(o.normalize(e));globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(i))}else if(ENVIRONMENT_IS_DENO)globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(resources[e]));else{const t=new XMLHttpRequest;t.open("GET",e,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(r,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(let r=0,o=e.length;r驮v6w7j{ GgL[LqLqL8+(]}uC 4-1PwH#c$&聘jGbz&Z腨W"w7߉ +$Znp뮑S_ VG \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78-V.dat new file mode 100644 index 00000000..a516681c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78-V.dat @@ -0,0 +1 @@ +x%̽j`Jp}B]t(\:ekoSDpwzpԛ%IAumo[hx'[jx4LJ+mb0DD|ħJ _*9r|(R¯J* lUZعBF\0<‚WXּ†J˖!WT1 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-H.dat new file mode 100644 index 00000000..8571d516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-V.dat new file mode 100644 index 00000000..fa7c606c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_78ms-RKSJ-V.dat @@ -0,0 +1,3 @@ +xEKKa!>Z+DJ u_i;; -VWQIioq]M}u +Nržq[=k^OMd[3tٛ W9;1m޾a̎` 6B%kK7ivo 2.d]ֽ7r[v v܎dvg=2ՠܗoq *}aPOO_~o?W~!>I&yL0!RL`<-H3GX!0(G 2A9 ̳_01s LpuINV0)V +9n grsE< \``l,q}e.`+!X*;k\%:yU lrڤ Yv&`mѻZUh6];( :SDn==ڣ#\^=}ڧ"RG/R; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_83pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_83pv-RKSJ-H.dat new file mode 100644 index 00000000..ab4e2e4b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_83pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-H.dat new file mode 100644 index 00000000..a8f8ba36 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-UCS2.dat new file mode 100644 index 00000000..b5d22be8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-V.dat new file mode 100644 index 00000000..a47109f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90ms-RKSJ-V.dat @@ -0,0 +1,2 @@ +xEKKa!>]t0Ѱ(BϚ Az6.E183:GDmdsBUTr|WSb'l}lr[nOE۸pƞOLPo/ۧ&h- :Mv+6o_0jXP[!AʥKq .lM`mn}2q;u_ J}jP70A'/A ԫG?} $, rG)xR0!f`,da`#de y'( 8c s NF0IV8.4pEg` l,r%.`˼!X +\%xUulp ڨ Iv&tfmֻZEhVM۵( :CD.=ڭ#\=ګ"R/7? \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-H.dat new file mode 100644 index 00000000..d60b4783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-V.dat new file mode 100644 index 00000000..cfe70499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90msp-RKSJ-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-H.dat new file mode 100644 index 00000000..265cf14d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2.dat new file mode 100644 index 00000000..264f511c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2C.dat new file mode 100644 index 00000000..2f5def6c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-V.dat new file mode 100644 index 00000000..c85cc6aa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_90pv-RKSJ-V.dat @@ -0,0 +1 @@ +xEMKQ2xʝ "Cn6!iת<7 Br|̏: D6ZZj-VWޮ-/S8<uc:=qOܫŽ7q(5ǂDh?yOAA z*(jQe-/AE+[Pժ P/Gzvk?Jav-N+Xn6`Vs+Z4дe0ۊ#dTXSEUX +OgXc*WDQg2lbLSMPbOuvsEV~TҞk \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Add-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Add-V.dat new file mode 100644 index 00000000..b723ddd7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Add-V.dat @@ -0,0 +1 @@ +x%MKasKCDPja-jD C:F-G-Eʝ6Hu"6}81:݀%o6Y 7>^1U}ØiO0:)jW:7״bȈhZDhYEm#:ֱ1>ETVj1MJWkƼ21oyf;+c^y2#C7}$iNxB=K gH, nIO$s \ɄO' 8ྠd3 \䩄wK\`<>=>U j<qO\`![[ho \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-0.dat new file mode 100644 index 00000000..46a900d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-1.dat new file mode 100644 index 00000000..cc0448e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-2.dat new file mode 100644 index 00000000..9c02a633 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-3.dat new file mode 100644 index 00000000..c2ea5f03 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-4.dat new file mode 100644 index 00000000..8df3a15e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-5.dat new file mode 100644 index 00000000..42421863 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-6.dat new file mode 100644 index 00000000..56e68c7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-7.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-7.dat new file mode 100644 index 00000000..33db65eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-7.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-B5pc.dat new file mode 100644 index 00000000..d65b9bf0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-ETenms-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-ETenms-B5.dat new file mode 100644 index 00000000..8165b275 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-ETenms-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-CID.dat new file mode 100644 index 00000000..ac2e376d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Host.dat new file mode 100644 index 00000000..fb2e9201 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Mac.dat new file mode 100644 index 00000000..302bdfb0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-UCS2.dat new file mode 100644 index 00000000..d1e3b07c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-CNS1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-0.dat new file mode 100644 index 00000000..b6d05924 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-1.dat new file mode 100644 index 00000000..ee304d0e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-2.dat new file mode 100644 index 00000000..a4f0bd70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-3.dat new file mode 100644 index 00000000..f250662e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-4.dat new file mode 100644 index 00000000..acc71545 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-5.dat new file mode 100644 index 00000000..9b78c40e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-UCS2.dat new file mode 100644 index 00000000..725a844b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-GB1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-0.dat new file mode 100644 index 00000000..04bb9ac4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-1.dat new file mode 100644 index 00000000..addb6246 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-2.dat new file mode 100644 index 00000000..4cc5ec8e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-3.dat new file mode 100644 index 00000000..bdb56a82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-4.dat new file mode 100644 index 00000000..a43767cd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-5.dat new file mode 100644 index 00000000..71400f97 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-6.dat new file mode 100644 index 00000000..8f3c5a4d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat new file mode 100644 index 00000000..e049e02b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat new file mode 100644 index 00000000..4e632385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-CID.dat new file mode 100644 index 00000000..ac40ffe5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Host.dat new file mode 100644 index 00000000..fcb56d54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Mac.dat new file mode 100644 index 00000000..dfba535c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-UCS2.dat new file mode 100644 index 00000000..9e40df62 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan2-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan2-0.dat new file mode 100644 index 00000000..aa5004ff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Japan2-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-0.dat new file mode 100644 index 00000000..32240d5e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-1.dat new file mode 100644 index 00000000..c0545801 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-2.dat new file mode 100644 index 00000000..33f7cf3f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-CID.dat new file mode 100644 index 00000000..18faba63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Host.dat new file mode 100644 index 00000000..93e1ff92 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Mac.dat new file mode 100644 index 00000000..6a47ad70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCms-UHC.dat new file mode 100644 index 00000000..3fba1e58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat new file mode 100644 index 00000000..30597cd3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-UCS2.dat new file mode 100644 index 00000000..ada286a1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Adobe-Korea1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_B5-H.dat new file mode 100644 index 00000000..1890fd27 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_B5-H.dat @@ -0,0 +1,9 @@ +x%[PG j"5h8Awm&S/2Q{Jlb&hzdE;t2$39L aq(*,*˲, o޼k|E!DDߟ c6AU: VQfVR*_ jY%_!+C@擞9%@PZM@sAK|B* jra#ET#PE\*P\|j%ԩu/|JN< +U%ZTP\*WBQOZe\**X~1p9_*:Vp!+P\Ye&X(sXy,dUu⪀eUPVA^+3ZWՐTjjЪ5P5\sl d-նjr'' k]?}]Z ԰g-T7a-d#5k5rc\d5."7iHktm:k|:fj.ji-ku`8h!x( [B-Z-ܲ)VjT+ZڨmsT[i[ (k ۩QvG wy8j%o`mEZ(lҗCH"lyO6Zec[zVwj]I}3Ioo?#O%ጝ%AٛeI-oDo9;ۗrnrDlcMv +]SZNrd!۫[6APgzIz7> ˽죾:>[͐4dțtd|ө5Hi[y!⡕[!]:* +MvWoO؆'7_fK oѭnQtۡnOCӰ[kxlx} +ឭb|@H4 +5ʣBzcH⡇=@_wdz4gyܦu<u}r&Z&x&iI~MZSqYRUy?Sǔ9*RzLE/QTz Xz tDoLlZZLWPWZT*TJB.tjQQ*".: +*]кW,SOAsIJU%2 +J*RV4TٓO˸RTa9ox*?UUZf22^3/GCVRY\׺F~_jt}F:_ߵ>[UUZTONj}k, o|AQWAqK߭l>nl_@5v4v#7&\&<iZXey2#[r4–?B6SV37xZ.=-VjZNJ[86jka͈Cg[g8lxHqknCG i|ppUyA#4 5#o&CzcOccϧ≇=^C/B蟵hlZkv9Nz jmZ~P!'hYk'Xk&턚서)Ck =r~0y!?+Q#~.r5?]4Ou8̚T\P3/)QߏRŘ}HKPsstmɟ??^)|~zVH 7@Gx;@sPG tN g `0y_3q6x6x^wKxJ1x,:I ccM"yFHg#y@2ȘDG1Z#Yd_1uDs]!H&0Nb6#La-LcSkRB5RF \-:{d HGtHS^%,]"X~OVPIVa-]CRG- :ilb3(-ml";؉Dw{4EW +c 9h }r÷(}?d \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CNS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CNS2-V.dat new file mode 100644 index 00000000..c32d92fa Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CNS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CourierStdToNew.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CourierStdToNew.dat new file mode 100644 index 00000000..bf30555e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_CourierStdToNew.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DefaultCMYK.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DefaultCMYK.icc new file mode 100644 index 00000000..881cfb41 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DefaultCMYK.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansFallbackFull.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansFallbackFull.ttf new file mode 100644 index 00000000..db37353c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansFallbackFull.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansMono.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansMono.ttf new file mode 100644 index 00000000..98e21409 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_DroidSansMono.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-H.dat new file mode 100644 index 00000000..a19245c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-V.dat new file mode 100644 index 00000000..7023d86e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETHK-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETen-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETen-B5-H.dat new file mode 100644 index 00000000..772fe376 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ETen-B5-H.dat @@ -0,0 +1,4 @@ +x%kpDD(!&pIT0re:SfAE"VMP?:/:;δ:= 亁\ȅl.d%Hvsߐdf۞_y}WBTQb RQ'VGلw)=ԢZbI-IJbe\T.<^+>ohk[%t( +_: +2Zd|T8.PWJQB*<(T!iQVBq\ YL?hsV TÒ KbTa)=UeZf22w_F͟GCSY\׺JW_]uu56u\ YA_VJL^Uɕ@VQUVWW}uu'!k'jƥUK{BrBQ]V@SG1Pm1h~ޠkAA6PCV7x,[^7,}1␅,Gb,lS,d#5Nh5r SPMdjqPEġߏl:tqll9'-ܒi}ϚcV!Zc6Z9^Yer=i;l #ǖc$^e#۪P6elֿkrk PvGo€}^a loMPmܶa/d; ~J˱q6AujG8]ht:0`RduDotKK?l|ur甖6B9FțtӣuonE]mzn4T7wyzzgQzmޯ7Cޢ[[|+#6*6vjQ_>;۴VHNnrurL7]֝S76IMA6^kFigۡyC4ZϐgkI4|. j`" yN#4 5#'CҨYk?d<}0Ex8ʣ@_ZѷԾ5 lh3 #\ĦаT "Z 6*2lUrة(W)QRQFJD/0 +3]a·+,t%_+)DFD"+F4E6N~T3EZВpLoII;oFv+D.BntE+҇vҏ'D0 bp a(0_# }xJt ced㱱xM&1C0':d3dE0K|SKX X#+XqNt_ YڽXI6}At/6] `g}ItH?d{E_/`R \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-EUC-V.dat new file mode 100644 index 00000000..fcc9b6fd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-EUC-V.dat @@ -0,0 +1,3 @@ +x- `E0 +(!T=FX +!BDVgqSЏFHbm4FZjiMUʎlG;܋˘q-(XpxÝ%CA͚KEÆh&"3 R|VA \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-H.dat new file mode 100644 index 00000000..695fe1c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-V.dat new file mode 100644 index 00000000..af567748 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GB-V.dat @@ -0,0 +1,4 @@ +x%= +@E;,ByrI +Ke.@B2kw8Mf)Od?- ΂ +k{+m>mH#;ĕ,5k.GxR^;={b`ȗ`ķ 2r \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-H.dat new file mode 100644 index 00000000..531672ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-UCS2.dat new file mode 100644 index 00000000..5b5f8002 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-V.dat new file mode 100644 index 00000000..a67b0113 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_GBK-EUC-V.dat @@ -0,0 +1,2 @@ +x59`E8p)74BR' \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-H.dat new file mode 100644 index 00000000..3753d7dc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-V.dat new file mode 100644 index 00000000..e76f5d71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm314-B5-V.dat @@ -0,0 +1,2 @@ +xEƱ +Aqr݀Կ CQuE1 `P+k:7B<ӓvzy?Qa}J$W3$Oq,KV\57yÖcC>p)74 C˿& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-H.dat new file mode 100644 index 00000000..23ead8d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-V.dat new file mode 100644 index 00000000..2a44d619 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKm471-B5-V.dat @@ -0,0 +1,3 @@ +xEƱ +Aqrn:/6PEEQ`0 +΍PdENޏ|_X_mAxL8Sf9 .WfMް.y ?& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-H.dat new file mode 100644 index 00000000..56a2d1fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-V.dat new file mode 100644 index 00000000..2ec41783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_HKscs-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hankaku.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hankaku.dat new file mode 100644 index 00000000..ec002fc3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hankaku.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hiragana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hiragana.dat new file mode 100644 index 00000000..ce2a4471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hiragana.dat @@ -0,0 +1,2 @@ +x%-@PF~@ue3*+\Q 3ӎ3l g|#DFFN+&idfjEczǸ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-H.dat new file mode 100644 index 00000000..d50e5a0d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-V.dat new file mode 100644 index 00000000..b71442c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-EUC-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-H.dat new file mode 100644 index 00000000..34ecce80 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Hojo-H.dat @@ -0,0 +1 @@ +x%=LSq{@Fr/|JRR(|C) A:IqprprP&`b`ĻrNrrkckىzfBWQF=7\,}ҏ  \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-UCS2.dat new file mode 100644 index 00000000..4b8634b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-V.dat new file mode 100644 index 00000000..6f156c2d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCms-UHC-V.dat @@ -0,0 +1,3 @@ +xE1 +p .)\ƨ[4DAWTS$CcDx MxA00G޿Cgt.p1c` z9\Μ ؝O.6\_Up2` +at+UTU { y=N \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-H.dat new file mode 100644 index 00000000..acf61b84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-UCS2C.dat new file mode 100644 index 00000000..b10e553e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-V.dat new file mode 100644 index 00000000..e4722c74 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_KSCpc-EUC-V.dat @@ -0,0 +1,2 @@ +xEʱ `Eۦq".`) +jV%`R !dA XU8^L~w#=g.p#`1c:9\ƌ ؝O.j\Ú_UpR`rat+T+UT) h_=. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Katakana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Katakana.dat new file mode 100644 index 00000000..fd967d4f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Katakana.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-H.dat new file mode 100644 index 00000000..7e60acdf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-V.dat new file mode 100644 index 00000000..dc461eb9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_NWP-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_OutputIntent.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_OutputIntent.icc new file mode 100644 index 00000000..1b072d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_OutputIntent.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_PDFA-XMP.4.2.3 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_PDFA-XMP.4.2.3 new file mode 100644 index 00000000..4139edab Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_PDFA-XMP.4.2.3 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-H.dat new file mode 100644 index 00000000..45d15da6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-V.dat new file mode 100644 index 00000000..21772182 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_RKSJ-V.dat @@ -0,0 +1,2 @@ +x%KJBqw&sW"rIhAHw̙NED\+4qf﷕uoUw7 U" ؋K8+8k8(}uG 4=1PH#=cDL431T/L3sF,;QsDܟDu/" +&npiE/vq)C=WU \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Roman.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Roman.dat new file mode 100644 index 00000000..dfee909d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Roman.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Symbol.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Symbol.ttf new file mode 100644 index 00000000..a961602c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Symbol.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90ms-RKSJ.dat new file mode 100644 index 00000000..73c911b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90pv-RKSJ.dat new file mode 100644 index 00000000..d677b3fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-B5pc.dat new file mode 100644 index 00000000..583a9959 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-ETen-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-ETen-B5.dat new file mode 100644 index 00000000..84dc29b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-ETen-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBK-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBK-EUC.dat new file mode 100644 index 00000000..9086b27e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBK-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBpc-EUC.dat new file mode 100644 index 00000000..4147ed82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-GBpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCms-UHC.dat new file mode 100644 index 00000000..b75d746a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCpc-EUC.dat new file mode 100644 index 00000000..f9fbe4c3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UCS2-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-H.dat new file mode 100644 index 00000000..828f6a5b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-V.dat new file mode 100644 index 00000000..0a6a270b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-H.dat new file mode 100644 index 00000000..488bc329 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-V.dat new file mode 100644 index 00000000..6d7d156e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-H.dat new file mode 100644 index 00000000..7cbbe581 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-V.dat new file mode 100644 index 00000000..a5d16ba9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-H.dat new file mode 100644 index 00000000..a49aea21 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-V.dat new file mode 100644 index 00000000..ee565245 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniCNS-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-H.dat new file mode 100644 index 00000000..c56a1528 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-V.dat new file mode 100644 index 00000000..bc1f554a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UCS2-V.dat @@ -0,0 +1 @@ +xM1k`Eﻓ`+h%t <\%Fbь[w tl'ju?%00?8l}|W%F 'A?~LPAHJbs-%J4Sm**U&Lt74 + aZ4 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-H.dat new file mode 100644 index 00000000..2ad4fa7f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-V.dat new file mode 100644 index 00000000..7ff0ba73 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF16-V.dat @@ -0,0 +1 @@ +xM`E;PDMY,R"=l'9W_ݢZ AOnDɝrFmۉ.F:6X`fkJut *#M"  \yv@A%P L@H|(14 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-H.dat new file mode 100644 index 00000000..cdf16983 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-V.dat new file mode 100644 index 00000000..ce4830a2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniGB-UTF8-V.dat @@ -0,0 +1 @@ +xMKPFovN,(t &-g\ 3qI$cfФj'd1 +~2(Qih"7v{9u;onp`dm7h~y?%^F171c7`sJ +愷<BC8)( >q4QGGFLLOp(=~p:ÑHIOq<=p"=RRzwl9T:'8K7%44Jy͗X_BBtNӕ 7S˴S\VhYZkUi Z5Z:[stnjnչUPu]P#h4jnyQФMIЬ:$h,uXЪG *z? MjAsA^'(k t^/NK,(hAoi X&b] +ETmeLGZLM˕zBGJ)nکWҵzuNtk.XNA^ݠګlԍOЧ}wA:ĵZ  )BRh ȵ16V,gzWn6]p@5؇޵ZOXb {X]^£K<^׾o=;vо8jGmk1;f[m~x=&l~xž='Nj1i;cǔM|kY.qY"GJM4|&bgEF`Y|.|!U<Qj$aODWzH;W<Ml⑀f6 +_sS.< x,`!TD'|7g'hc+,b~.cK Ώ""[|<<VR^+#VqXOe_Ft~.~'7u_Gz F~]8~1NO0AMy1!,0y(` qlvg;8eE߀˪"q+U`E#<*6d5%-B2>:Mf{X \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UCS2-V.dat new file mode 100644 index 00000000..a657c0b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UTF8-V.dat new file mode 100644 index 00000000..cf4182d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISPro-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-H.dat new file mode 100644 index 00000000..a3b5ef63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-V.dat new file mode 100644 index 00000000..365fbf28 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX0213-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-H.dat new file mode 100644 index 00000000..538a3f54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-V.dat new file mode 100644 index 00000000..de0455de Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniJISX02132004-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-H.dat new file mode 100644 index 00000000..ed856026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-V.dat new file mode 100644 index 00000000..f1c50727 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-H.dat new file mode 100644 index 00000000..b66337f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-V.dat new file mode 100644 index 00000000..fecb38f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-H.dat new file mode 100644 index 00000000..d6a7dc7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-V.dat new file mode 100644 index 00000000..7aec18e0 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF32-V.dat @@ -0,0 +1,2 @@ +xM? AqFߟ r-[blRFE&ʧA8ϵܧ9p~Mt flB3WEV@ZfX)rH  +GET`|9pJ~<D\ED\5$bक़#b 2 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-H.dat new file mode 100644 index 00000000..afc93e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-V.dat new file mode 100644 index 00000000..d0110aa4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_UniKS-UTF8-V.dat @@ -0,0 +1 @@ +xMMPӘvdV`n"1`b,QQ2^X@{k$O76[U]U;_4ӕwH3码MO4; ,Hc/+7,WY+ lX&[⩁#jDd84Db⪁1qrCB|a. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_V.dat new file mode 100644 index 00000000..f7b2445d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_WP-Symbol.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_WP-Symbol.dat new file mode 100644 index 00000000..aa6295e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_WP-Symbol.dat @@ -0,0 +1,3 @@ +x%Ja?6 7G1MZ +⮈ENНt^.,WDKɁ#OY"_%~DsF +JY:[K"&+ɮin.Xm/ptc*'0b#gFlΜx䕜DH \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Wingding.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Wingding.ttf new file mode 100644 index 00000000..a50b2cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_Wingding.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ZapfDingbats.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ZapfDingbats.ttf new file mode 100644 index 00000000..649ccd58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_ZapfDingbats.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_fontsubst.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_fontsubst.dat new file mode 100644 index 00000000..1465f170 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_fontsubst.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_times.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_times.ttf new file mode 100644 index 00000000..2e69c6a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/_times.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/list.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/list.json new file mode 100644 index 00000000..c60e0b53 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/resources/list.json @@ -0,0 +1,231 @@ +[ +"_Adobe-GB1-0.dat", +"_Symbol.ttf", +"_CNS1-H.dat", +"_78ms-RKSJ-H.dat", +"_Hojo-H.dat", +"_UniHojo-UTF16-H.dat", +"_Ext-V.dat", +"_NWP-H.dat", +"_Adobe-Japan1-H-CID.dat", +"_Katakana.dat", +"_UniHojo-UTF16-V.dat", +"_Hojo-V.dat", +"_Adobe-Korea1-0.dat", +"_90ms-RKSJ-V.dat", +"_Adobe-CNS1-3.dat", +"_V.dat", +"_HKgccs-B5-H.dat", +"_Adobe-GB1-UCS2.dat", +"_GBT-H.dat", +"_B5-H.dat", +"_UniKS-UTF16-H.dat", +"_UniJIS2004-UTF32-H.dat", +"_ETen-B5-UCS2.dat", +"_HKdlb-B5-H.dat", +"_UniKS-UTF32-H.dat", +"_90pv-RKSJ-UCS2.dat", +"_RKSJ-V.dat", +"_EUC-V.dat", +"_UniJIS-UCS2-HW-V.dat", +"_UCS2-90pv-RKSJ.dat", +"_Adobe-Japan1-90ms-RKSJ.dat", +"_ETen-B5-H.dat", +"_HKdla-B5-H.dat", +"_HKm471-B5-V.dat", +"_ETenms-B5-H.dat", +"_UCS2-ETen-B5.dat", +"_DroidSansFallbackFull.ttf", +"_Hiragana.dat", +"_CNS1-V.dat", +"_GBTpc-EUC-V.dat", +"_UniGB-UCS2-H.dat", +"_B5pc-UCS2.dat", +"_78-RKSJ-H.dat", +"_HKm314-B5-V.dat", +"_CourierStdToNew.dat", +"_Adobe-CNS1-1.dat", +"_UniGB-UTF16-H.dat", +"_78-EUC-V.dat", +"_ETHK-B5-V.dat", +"_CNS-EUC-H.dat", +"_UniCNS-UCS2-V.dat", +"_UniHojo-UCS2-V.dat", +"_UniKS-UTF8-H.dat", +"_Adobe-Japan1-5.dat", +"_Adobe-CNS1-H-CID.dat", +"_UniHojo-UTF32-V.dat", +"_KSC-V.dat", +"_UniKS-UTF16-V.dat", +"_Adobe-GB1-2.dat", +"_UniGB-UTF8-H.dat", +"_GBKp-EUC-V.dat", +"_B5pc-H.dat", +"_KSCms-UHC-HW-V.dat", +"_Hojo-EUC-H.dat", +"_UniJISPro-UCS2-V.dat", +"_HKdlb-B5-V.dat", +"_HKscs-B5-H.dat", +"_CNS2-H.dat", +"_GB-EUC-V.dat", +"_Adobe-GB1-5.dat", +"_HKscs-B5-V.dat", +"_Adobe-Japan1-H-Host.dat", +"_Adobe-GB1-1.dat", +"_Adobe-CNS1-2.dat", +"_78-EUC-H.dat", +"_KSCms-UHC-H.dat", +"_KSCpc-EUC-UCS2C.dat", +"_Adobe-CNS1-ETenms-B5.dat", +"_UniJIS-UCS2-H.dat", +"_90msp-RKSJ-V.dat", +"_Adobe-Japan1-1.dat", +"_Adobe-Korea1-H-Mac.dat", +"_GBKp-EUC-H.dat", +"_UniHojo-UTF8-V.dat", +"_UniJIS-UTF16-H.dat", +"_RKSJ-H.dat", +"_Adobe-CNS1-4.dat", +"_UCS2-GBK-EUC.dat", +"_UniGB-UCS2-V.dat", +"_HKgccs-B5-V.dat", +"_GBpc-EUC-V.dat", +"_Add-H.dat", +"_UniGB-UTF32-H.dat", +"_78ms-RKSJ-V.dat", +"_UniCNS-UTF32-V.dat", +"_Adobe-Japan1-3.dat", +"_UniJISPro-UCS2-HW-V.dat", +"_Adobe-Japan1-6.dat", +"list.json", +"_UniHojo-UCS2-H.dat", +"_78-V.dat", +"_UCS2-GBpc-EUC.dat", +"_UniJISX02132004-UTF32-H.dat", +"_UniKS-UTF8-V.dat", +"_UniCNS-UTF16-V.dat", +"_GB-EUC-H.dat", +"_UniKS-UTF32-V.dat", +"_PDFA-XMP.4.2.3", +"_UniJIS2004-UTF32-V.dat", +"_GBK2K-V.dat", +"_UCS2-KSCms-UHC.dat", +"_UniKS-UCS2-V.dat", +"_78-RKSJ-V.dat", +"_Adobe-Korea1-KSCms-UHC.dat", +"_Adobe-Japan1-2.dat", +"_UniJIS-UTF8-V.dat", +"_DefaultCMYK.icc", +"_Hojo-EUC-V.dat", +"_ZapfDingbats.ttf", +"_Adobe-CNS1-B5pc.dat", +"_UniHojo-UTF8-H.dat", +"_Adobe-Japan2-0.dat", +"_90ms-RKSJ-H.dat", +"_Adobe-CNS1-H-Mac.dat", +"_UniJIS-UTF16-V.dat", +"_83pv-RKSJ-H.dat", +"_Add-V.dat", +"_90msp-RKSJ-H.dat", +"_KSCms-UHC-HW-H.dat", +"_UniHojo-UTF32-H.dat", +"_Adobe-GB1-3.dat", +"_UniJIS-UTF32-H.dat", +"_Identity-H.dat", +"_90pv-RKSJ-H.dat", +"_UniKS-UCS2-H.dat", +"_UniJIS2004-UTF16-V.dat", +"_Adobe-Korea1-1.dat", +"_Adobe-CNS1-0.dat", +"_Adobe-Korea1-H-Host.dat", +"_HKm471-B5-H.dat", +"_GB-V.dat", +"_KSCpc-EUC-V.dat", +"_DroidSansMono.ttf", +"_GBK-EUC-UCS2.dat", +"_UniJISPro-UTF8-V.dat", +"_KSC-EUC-H.dat", +"_UniJIS2004-UTF8-H.dat", +"_UniJIS2004-UTF8-V.dat", +"_UniJISX0213-UTF32-H.dat", +"_UniGB-UTF16-V.dat", +"_UniJISX0213-UTF32-V.dat", +"_Adobe-Korea1-UCS2.dat", +"_Adobe-Japan1-4.dat", +"_Wingding.ttf", +"_Adobe-CNS1-5.dat", +"_UniJIS-UTF8-H.dat", +"_Adobe-Japan1-0.dat", +"_GBK-EUC-V.dat", +"_Adobe-Japan1-H-Mac.dat", +"_H.dat", +"_GBT-EUC-V.dat", +"_KSCpc-EUC-H.dat", +"_ETenms-B5-V.dat", +"_CNS2-V.dat", +"_GBT-EUC-H.dat", +"_Adobe-CNS1-6.dat", +"_KSCms-UHC-UCS2.dat", +"_HKm314-B5-H.dat", +"_UCS2-90ms-RKSJ.dat", +"_GBK2K-H.dat", +"_Adobe-Korea1-H-CID.dat", +"_Identity-V.dat", +"_Adobe-GB1-4.dat", +"_OutputIntent.icc", +"_Adobe-Japan1-UCS2.dat", +"_Ext-H.dat", +"_Hankaku.dat", +"_Adobe-Korea1-KSCpc-EUC.dat", +"_UCS2-KSCpc-EUC.dat", +"_UniCNS-UTF32-H.dat", +"_Adobe-Japan1-90pv-RKSJ.dat", +"_ETHK-B5-H.dat", +"_GBK-EUC-H.dat", +"_UniCNS-UCS2-H.dat", +"_Adobe-CNS1-7.dat", +"_KSC-H.dat", +"_Adobe-CNS1-UCS2.dat", +"_KSC-Johab-V.dat", +"_EUC-H.dat", +"_UniCNS-UTF8-H.dat", +"_fontsubst.dat", +"_times.ttf", +"_Ext-RKSJ-H.dat", +"_B5pc-V.dat", +"_GB-H.dat", +"_Add-RKSJ-H.dat", +"_Roman.dat", +"_Add-RKSJ-V.dat", +"_NWP-V.dat", +"_CNS-EUC-V.dat", +"_Ext-RKSJ-V.dat", +"_UCS2-B5pc.dat", +"_UniJIS-UCS2-V.dat", +"_B5pc-UCS2C.dat", +"_90ms-RKSJ-UCS2.dat", +"_UniJIS2004-UTF16-H.dat", +"_GBpc-EUC-H.dat", +"_UniGB-UTF8-V.dat", +"_B5-V.dat", +"_Adobe-Korea1-2.dat", +"_UniCNS-UTF16-H.dat", +"_GBpc-EUC-UCS2C.dat", +"_Adobe-CNS1-H-Host.dat", +"_90pv-RKSJ-V.dat", +"_WP-Symbol.dat", +"_UniGB-UTF32-V.dat", +"_UniJISX02132004-UTF32-V.dat", +"_UniJIS-UCS2-HW-H.dat", +"_KSCms-UHC-V.dat", +"_90pv-RKSJ-UCS2C.dat", +"_GBT-V.dat", +"_UniJIS-UTF32-V.dat", +"_GBTpc-EUC-H.dat", +"_78-H.dat", +"_KSC-Johab-H.dat", +"_HKdla-B5-V.dat", +"_UniCNS-UTF8-V.dat", +"_KSC-EUC-V.dat", +"_ETen-B5-V.dat" +] diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/supportFiles/0_runtimeconfig.bin b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/supportFiles/0_runtimeconfig.bin new file mode 100644 index 00000000..c33b89a9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/aot/supportFiles/0_runtimeconfig.bin @@ -0,0 +1 @@ + MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse6System.Reflection.Metadata.MetadataUpdater.IsSupportedfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalse=n)return null;const t=e[o];return o+=1,t}};return Object.defineProperty(s,"eof",{get:function(){return o>=n},configurable:!0,enumerable:!0}),s}(e,t,r);let o="",s=0,i=0,a=0,c=0,u=0,l=0;for(;s=n.read(),i=n.read(),a=n.read(),null!==s;)null===i&&(i=0,u+=1),null===a&&(a=0,u+=1),l=s<<16|i<<8|a<<0,c=(16777215&l)>>18,o+=b[c],c=(262143&l)>>12,o+=b[c],u<2&&(c=(4095&l)>>6,o+=b[c]),2===u?o+="==":1===u?o+="=":(c=(63&l)>>0,o+=b[c]);return o}const b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"];const v=new Map;v.remove=function(e){const t=this.get(e);return this.delete(e),t};let E,A,k,S={},O=0,N=-1;function x(){r.mono_wasm_runtime_is_ready=m.mono_wasm_runtime_is_ready=!0,O=0,S={},N=-1,globalThis.dotnetDebugger||console.debug("mono_wasm_runtime_ready","fe00e07a-5519-4dfe-b35a-f867dbaf2e28")}function j(){}function D(e,r,n,o){const s={res_ok:e,res:{id:r,value:y(new Uint8Array(t.HEAPU8.buffer,n,o))}};v.has(r)&&console.warn(`MONO_WASM: Adding an id (${r}) that already exists in commands_received`),v.set(r,s)}function T(e){e.length>N&&(E&&t._free(E),N=Math.max(e.length,N,256),E=t._malloc(N));const r=atob(e);for(let e=0;ee.value)),e;if(void 0===t.dimensionsDetails||1===t.dimensionsDetails.length)return e=t.items.map((e=>e.value)),e}const r={};return Object.keys(t).forEach((e=>{const n=t[e];void 0!==n.get?Object.defineProperty(r,n.name,{get:()=>R(n.get.id,n.get.commandSet,n.get.command,n.get.buffer),set:function(e){return M(n.set.id,n.set.commandSet,n.set.command,n.set.buffer,n.set.length,n.set.valtype,e),!0}}):void 0!==n.set?Object.defineProperty(r,n.name,{get:()=>n.value,set:function(e){return M(n.set.id,n.set.commandSet,n.set.command,n.set.buffer,n.set.length,n.set.valtype,e),!0}}):r[n.name]=n.value})),r}(t,r);const o=null!=e.arguments?e.arguments.map((e=>JSON.stringify(e.value))):[],s=`const fn = ${e.functionDeclaration}; return fn.apply(proxy, [${o}]);`,i=new Function("proxy",s)(n);if(void 0===i)return{type:"undefined"};if(Object(i)!==i)return"object"==typeof i&&null==i?{type:typeof i,subtype:`${i}`,value:null}:{type:typeof i,description:`${i}`,value:`${i}`};if(e.returnByValue&&null==i.subtype)return{type:"object",value:i};if(Object.getPrototypeOf(i)==Array.prototype){const e=L(i);return{type:"object",subtype:"array",className:"Array",description:`Array(${i.length})`,objectId:e}}if(void 0!==i.value||void 0!==i.subtype)return i;if(i==n)return{type:"object",className:"Object",description:"Object",objectId:t};return{type:"object",className:"Object",description:"Object",objectId:L(i)}}function z(e,t={}){return function(e,t){if(!(e in S))throw new Error(`Could not find any object with id ${e}`);const r=S[e],n=Object.getOwnPropertyDescriptors(r);t.accessorPropertiesOnly&&Object.keys(n).forEach((e=>{void 0===n[e].get&&Reflect.deleteProperty(n,e)}));const o=[];return Object.keys(n).forEach((e=>{let t;const r=n[e];t="object"==typeof r.value?Object.assign({name:e},r):void 0!==r.value?{name:e,value:Object.assign({type:typeof r.value,description:""+r.value},r)}:void 0!==r.get?{name:e,get:{className:"Function",description:`get ${e} () {}`,type:"function"}}:{name:e,value:{type:"symbol",value:"",description:""}},o.push(t)})),{__value_as_json_string__:JSON.stringify(o)}}(`dotnet:cfo_res:${e}`,t)}function L(e){const t="dotnet:cfo_res:"+O++;return S[t]=e,t}function H(e){e in S&&delete S[e]}function V(e,n){const o=t.UTF8ToString(n);r.logging&&"function"==typeof r.logging.debugger&&r.logging.debugger(e,o)}let q=0;function J(e){const t=1===g.mono_wasm_load_icu_data(e);return t&&q++,t}function G(e){return g.mono_wasm_get_icudt_name(e)}function Y(){const e=m.config;let r=!1;if(e.globalizationMode||(e.globalizationMode="auto"),"invariant"===e.globalizationMode&&(r=!0),!r)if(q>0)m.diagnosticTracing&&console.debug("MONO_WASM: ICU data archive(s) loaded, disabling invariant mode");else{if("icu"===e.globalizationMode){const e="invariant globalization mode is inactive and no ICU data archives were loaded";throw t.printErr(`MONO_WASM: ERROR: ${e}`),new Error(e)}m.diagnosticTracing&&console.debug("MONO_WASM: ICU data archive(s) not loaded, using invariant globalization mode"),r=!0}r&&g.mono_wasm_setenv("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT","1"),g.mono_wasm_setenv("DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY","1")}function X(e){null==e&&(e={}),"writeAt"in e||(e.writeAt="System.Runtime.InteropServices.JavaScript.JavaScriptExports::StopProfile"),"sendTo"in e||(e.sendTo="Interop/Runtime::DumpAotProfileData");const r="aot:write-at-method="+e.writeAt+",send-to-method="+e.sendTo;t.ccall("mono_wasm_load_profiler_aot",null,["string"],[r])}function Z(e){null==e&&(e={}),"writeAt"in e||(e.writeAt="WebAssembly.Runtime::StopProfile"),"sendTo"in e||(e.sendTo="WebAssembly.Runtime::DumpCoverageProfileData");const r="coverage:write-at-method="+e.writeAt+",send-to-method="+e.sendTo;t.ccall("mono_wasm_load_profiler_coverage",null,["string"],[r])}const K=new Map,Q=new Map;let ee=0;function te(e){if(K.has(e))return K.get(e);const t=g.mono_wasm_assembly_load(e);return K.set(e,t),t}function re(e,t,r){ee||(ee=g.mono_wasm_get_corlib());let n=function(e,t,r){let n=Q.get(e);n||Q.set(e,n=new Map);let o=n.get(t);return o||(o=new Map,n.set(t,o)),o.get(r)}(ee,e,t);if(void 0!==n)return n;if(n=g.mono_wasm_assembly_find_class(ee,e,t),r&&!n)throw new Error(`Failed to find corlib class ${e}.${t}`);return function(e,t,r,n){const o=Q.get(e);if(!o)throw new Error("internal error");const s=o.get(t);if(!s)throw new Error("internal error");s.set(r,n)}(ee,e,t,n),n}const ne=new Map,oe=[];function se(e){try{if(0==ne.size)return e;const t=e;for(let r=0;r{const r=t.find((e=>"object"==typeof e&&void 0!==e.replaceSection));if(void 0===r)return e;const n=r.funcNum,o=r.replaceSection,s=ne.get(Number(n));return void 0===s?e:e.replace(o,`${s} (${o})`)}));if(n!==t)return n}return t}catch(t){return console.debug(`MONO_WASM: failed to symbolicate: ${t}`),e}}function ie(e){let t=e;return t instanceof Error||(t=new Error(t)),se(t.stack)}function ae(e,n,o,s,i){const a=t.UTF8ToString(o),c=!!s,u=t.UTF8ToString(e),l=i,f=t.UTF8ToString(n),_=`[MONO] ${a}`;if(r.logging&&"function"==typeof r.logging.trace)r.logging.trace(u,f,_,c,l);else switch(f){case"critical":case"error":console.error(ie(_));break;case"warning":console.warn(_);break;case"message":default:console.log(_);break;case"info":console.info(_);break;case"debug":console.debug(_)}}let ce;function ue(e){if(!m.mono_wasm_symbols_are_ready){m.mono_wasm_symbols_are_ready=!0;try{t.FS_readFile(e,{flags:"r",encoding:"utf8"}).split(/[\r\n]/).forEach((e=>{const t=e.split(/:/);t.length<2||(t[1]=t.splice(1).join(":"),ne.set(Number(t[0]),t[1]))}))}catch(t){return void(44==t.errno||console.log(`MONO_WASM: Error loading symbol file ${e}: ${JSON.stringify(t)}`))}}}async function le(e,t){try{const r=await fe(e,t);return me(r),r}catch(e){return e instanceof m.ExitStatus?e.status:(me(1,e),1)}}async function fe(e,r){(function(e,r){const n=r.length+1,o=t._malloc(4*n);let s=0;t.setValue(o+4*s,g.mono_wasm_strdup(e),"i32"),s+=1;for(let e=0;e{const t=setInterval((()=>{1==m.waitForDebugger&&(clearInterval(t),e())}),100)})));const n=_e(e);return m.javaScriptExports.call_entry_point(n,r)}function _e(e){if(!m.mono_wasm_bindings_is_ready)throw new Error("Assert failed: The runtime must be initialized.");const t=te(e);if(!t)throw new Error("Could not find assembly: "+e);let r=0;1==m.waitForDebugger&&(r=1);const n=g.mono_wasm_assembly_get_entry_point(t,r);if(!n)throw new Error("Could not find entry point for assembly: "+e);return n}function de(e){Ti(e,!1),me(1,e)}function me(e,t){if(m.config.asyncFlushOnExit&&0===e)throw(async()=>{try{await async function(){try{const e=await import("process"),t=e=>new Promise(((t,r)=>{e.on("error",(e=>r(e))),e.write("",(function(){t()}))})),r=t(e.stderr),n=t(e.stdout);await Promise.all([n,r])}catch(e){console.error(`flushing std* streams failed: ${e}`)}}()}finally{pe(e,t)}})(),m.ExitStatus?new m.ExitStatus(e):t||new Error("Stop with exit code "+e);pe(e,t)}function pe(e,n){if(m.ExitStatus&&(!n||n instanceof m.ExitStatus?n=new m.ExitStatus(e):n instanceof Error?t.printErr(r.mono_wasm_stringify_as_error_with_stack(n)):"string"==typeof n?t.printErr(n):t.printErr(JSON.stringify(n))),function(e,t){if(m.config.logExitCode)if(0!=e&&t&&(t instanceof Error?console.error(ie(t)):"string"==typeof t?console.error(t):console.error(JSON.stringify(t))),ce){const t=()=>{0==ce.bufferedAmount?console.log("WASM EXIT "+e):setTimeout(t,100)};t()}else console.log("WASM EXIT "+e)}(e,n),function(e){if(i&&m.config.appendElementOnExit){const t=document.createElement("label");t.id="tests_done",e&&(t.style.background="red"),t.innerHTML=e.toString(),document.body.appendChild(t)}}(e),0!==e||!i){if(!m.quit)throw n;m.quit(e,n)}}oe.push(/at (?[^:()]+:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)((?![^)a-fA-F\d])|$)/),oe.push(/(?:WASM \[[\da-zA-Z]+\], (?function #(?[\d]+) \(''\)))/),oe.push(/(?[a-z]+:\/\/[^ )]*:wasm-function\[(?\d+)\]:0x[a-fA-F\d]+)/),oe.push(/(?<[^ >]+>[.:]wasm-function\[(?[0-9]+)\])/);const he="function"==typeof globalThis.WeakRef;function we(e){return he?new WeakRef(e):{deref:()=>e}}const ge="function"==typeof globalThis.FinalizationRegistry;let ye;const be=[],ve=[];let Ee=1;const Ae=new Map;ge&&(ye=new globalThis.FinalizationRegistry((function(e){De(null,e)})));const ke=Symbol.for("wasm js_owned_gc_handle"),Se=Symbol.for("wasm cs_owned_js_handle");function Oe(e){return 0!==e&&-1!==e?be[e]:null}function Ne(e){if(e[Se])return e[Se];const t=ve.length?ve.pop():Ee++;return be[t]=e,Object.isExtensible(e)&&(e[Se]=t),t}function xe(e){const t=be[e];if(null!=t){if(globalThis===t)return;void 0!==t[Se]&&(t[Se]=void 0),be[e]=void 0,ve.push(e)}}function je(e,t){e[ke]=t,ge&&ye.register(e,t,e);const r=we(e);Ae.set(t,r)}function De(e,t){e&&(t=e[ke],e[ke]=0,ge&&ye.unregister(e)),0!==t&&Ae.delete(t)&&m.javaScriptExports.release_js_owned_object_by_gc_handle(t)}function Te(e){const t=e[ke];if(0==t)throw new Error("Assert failed: ObjectDisposedException");return t}function Me(e){if(!e)return null;const t=Ae.get(e);return t?t.deref():null}const Re=Symbol.for("wasm promise_control");function Ie(e,t){let r=null;const n=new Promise((function(n,o){r={isDone:!1,promise:null,resolve:t=>{r.isDone||(r.isDone=!0,n(t),e&&e())},reject:e=>{r.isDone||(r.isDone=!0,o(e),t&&t())}}}));r.promise=n;const o=n;return o[Re]=r,{promise:o,promise_control:r}}function Fe(e){return e[Re]}function Pe(e){if(!function(e){return void 0!==e[Re]}(e))throw new Error("Assert failed: Promise is not controllable")}const $e=("object"==typeof Promise||"function"==typeof Promise)&&"function"==typeof Promise.resolve;function Ce(e){return Promise.resolve(e)===e||("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function Ue(e){const{promise:t,promise_control:r}=Ie();return e().then((e=>r.resolve(e))).catch((e=>r.reject(e))),t}function Be(e){const t=Me(e);if(!t)return;const r=t.promise;if(!r)throw new Error(`Assert failed: Expected Promise for GCHandle ${e}`);Pe(r);Fe(r).reject("OperationCanceledException")}const We=[];let ze,Le,He=null;const Ve="undefined"!=typeof BigInt&&"undefined"!=typeof BigInt64Array;function qe(){ze||(ze=t._malloc(32768),Le=ze),We.push(Le)}function Je(e,t,r){if(!Number.isSafeInteger(e))throw new Error(`Assert failed: Value is not an integer: ${e} (${typeof e})`);if(!(e>=t&&e<=r))throw new Error(`Assert failed: Overflow: value ${e} is out of ${t} ${r} range`)}function Ge(e,r){t.HEAP8.fill(0,e,r+e)}function Ye(e,r){const n=!!r;"number"==typeof r&&Je(r,0,1),t.HEAP32[e>>>2]=n?1:0}function Xe(e,r){Je(r,0,255),t.HEAPU8[e]=r}function Ze(e,r){Je(r,0,65535),t.HEAPU16[e>>>1]=r}function Ke(e,r){t.HEAPU32[e>>>2]=r}function Qe(e,r){Je(r,0,4294967295),t.HEAPU32[e>>>2]=r}function et(e,r){Je(r,-128,127),t.HEAP8[e]=r}function tt(e,r){Je(r,-32768,32767),t.HEAP16[e>>>1]=r}function rt(e,r){t.HEAP32[e>>>2]=r}function nt(e,r){Je(r,-2147483648,2147483647),t.HEAP32[e>>>2]=r}function ot(e){if(0!==e)switch(e){case 1:throw new Error("value was not an integer");case 2:throw new Error("value out of range");default:throw new Error("unknown internal error")}}function st(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);ot(g.mono_wasm_f64_to_i52(e,t))}function it(e,t){if(!Number.isSafeInteger(t))throw new Error(`Assert failed: Value is not a safe integer: ${t} (${typeof t})`);if(!(t>=0))throw new Error("Assert failed: Can't convert negative Number into UInt64");ot(g.mono_wasm_f64_to_u52(e,t))}function at(e,t){if(!Ve)throw new Error("Assert failed: BigInt is not supported.");if("bigint"!=typeof t)throw new Error(`Assert failed: Value is not an bigint: ${t} (${typeof t})`);if(!(t>=At&&t<=Et))throw new Error(`Assert failed: Overflow: value ${t} is out of ${At} ${Et} range`);He[e>>>3]=t}function ct(e,r){if("number"!=typeof r)throw new Error(`Assert failed: Value is not a Number: ${r} (${typeof r})`);t.HEAPF32[e>>>2]=r}function ut(e,r){if("number"!=typeof r)throw new Error(`Assert failed: Value is not a Number: ${r} (${typeof r})`);t.HEAPF64[e>>>3]=r}function lt(e){return!!t.HEAP32[e>>>2]}function ft(e){return t.HEAPU8[e]}function _t(e){return t.HEAPU16[e>>>1]}function dt(e){return t.HEAPU32[e>>>2]}function mt(e){return t.HEAP8[e]}function pt(e){return t.HEAP16[e>>>1]}function ht(e){return t.HEAP32[e>>>2]}function wt(e){const t=g.mono_wasm_i52_to_f64(e,m._i52_error_scratch_buffer);return ot(ht(m._i52_error_scratch_buffer)),t}function gt(e){const t=g.mono_wasm_u52_to_f64(e,m._i52_error_scratch_buffer);return ot(ht(m._i52_error_scratch_buffer)),t}function yt(e){if(!Ve)throw new Error("Assert failed: BigInt is not supported.");return He[e>>>3]}function bt(e){return t.HEAPF32[e>>>2]}function vt(e){return t.HEAPF64[e>>>3]}let Et,At;function kt(e){const r=t._malloc(e.length);return new Uint8Array(t.HEAPU8.buffer,r,e.length).set(e),r}const St=8192;let Ot=null,Nt=null,xt=0;const jt=[],Dt=[];function Tt(e,r){if(e<=0)throw new Error("capacity >= 1");const n=4*(e|=0),o=t._malloc(n);if(o%4!=0)throw new Error("Malloc returned an unaligned offset");return Ge(o,n),new Ft(o,e,!0,r)}function Mt(e){let t;if(!e)throw new Error("address must be a location in the native heap");return Dt.length>0?(t=Dt.pop(),t._set_address(e)):t=new $t(e),t}function Rt(e){let t;if(jt.length>0)t=jt.pop();else{const e=function(){if(h(Ot)||!Nt){Ot=Tt(St,"js roots"),Nt=new Int32Array(St),xt=St;for(let e=0;e>>2,this.__count=t,this.length=t,this.__handle=g.mono_wasm_register_root(e,o,n||"noname"),this.__ownsAllocation=r}_throw_index_out_of_range(){throw new Error("index out of range")}_check_in_range(e){(e>=this.__count||e<0)&&this._throw_index_out_of_range()}get_address(e){return this._check_in_range(e),this.__offset+4*e}get_address_32(e){return this._check_in_range(e),this.__offset32+e}get(e){this._check_in_range(e);const r=this.get_address_32(e);return t.HEAPU32[r]}set(e,t){const r=this.get_address(e);return g.mono_wasm_write_managed_pointer_unsafe(r,t),t}copy_value_from_address(e,t){const r=this.get_address(e);g.mono_wasm_copy_managed_pointer(r,t)}_unsafe_get(e){return t.HEAPU32[this.__offset32+e]}_unsafe_set(e,t){const r=this.__offset+e;g.mono_wasm_write_managed_pointer_unsafe(r,t)}clear(){this.__offset&&Ge(this.__offset,4*this.__count)}release(){this.__offset&&this.__ownsAllocation&&(g.mono_wasm_deregister_root(this.__offset),Ge(this.__offset,4*this.__count),t._free(this.__offset)),this.__handle=this.__offset=this.__count=this.__offset32=0}toString(){return`[root buffer @${this.get_address(0)}, size ${this.__count} ]`}}class Pt{constructor(e,t){this.__buffer=e,this.__index=t}get_address(){return this.__buffer.get_address(this.__index)}get_address_32(){return this.__buffer.get_address_32(this.__index)}get address(){return this.__buffer.get_address(this.__index)}get(){return this.__buffer._unsafe_get(this.__index)}set(e){const t=this.__buffer.get_address(this.__index);return g.mono_wasm_write_managed_pointer_unsafe(t,e),e}copy_from(e){const t=e.address,r=this.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_to(e){const t=this.address,r=e.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_from_address(e){const t=this.address;g.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.address;g.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){this.set(0)}release(){if(!this.__buffer)throw new Error("No buffer");jt.length>128?(function(e){void 0!==e&&(Ot.set(e,0),Nt[xt]=e,xt++)}(this.__index),this.__buffer=null,this.__index=0):(this.set(0),jt.push(this))}toString(){return`[root @${this.address}]`}}class $t{constructor(e){this.__external_address=0,this.__external_address_32=0,this._set_address(e)}_set_address(e){this.__external_address=e,this.__external_address_32=e>>>2}get address(){return this.__external_address}get_address(){return this.__external_address}get_address_32(){return this.__external_address_32}get(){return t.HEAPU32[this.__external_address_32]}set(e){return g.mono_wasm_write_managed_pointer_unsafe(this.__external_address,e),e}copy_from(e){const t=e.address,r=this.__external_address;g.mono_wasm_copy_managed_pointer(r,t)}copy_to(e){const t=this.__external_address,r=e.address;g.mono_wasm_copy_managed_pointer(r,t)}copy_from_address(e){const t=this.__external_address;g.mono_wasm_copy_managed_pointer(t,e)}copy_to_address(e){const t=this.__external_address;g.mono_wasm_copy_managed_pointer(e,t)}get value(){return this.get()}set value(e){this.set(e)}valueOf(){throw new Error("Implicit conversion of roots to pointers is no longer supported. Use .value or .address as appropriate")}clear(){this.set(0)}release(){Dt.length<128&&Dt.push(this)}toString(){return`[external root @${this.address}]`}}const Ct=new Map,Ut=new Map,Bt=Symbol.for("wasm bound_cs_function"),Wt=Symbol.for("wasm bound_js_function"),zt=16;function Lt(e){const r=t.stackAlloc(zt*e);if(!r||r%8!=0)throw new Error("Assert failed: Arg alignment");er(Ht(r,0),yr.None);return er(Ht(r,1),yr.None),r}function Ht(e,t){if(!e)throw new Error("Assert failed: Null args");return e+t*zt}function Vt(e,t){if(!e)throw new Error("Assert failed: Null signatures");return e+32*t+8}function qt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e)}function Jt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+16)}function Gt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+20)}function Yt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+24)}function Xt(e){if(!e)throw new Error("Assert failed: Null sig");return dt(e+28)}function Zt(e){if(!e)throw new Error("Assert failed: Null signatures");return ht(e+4)}function Kt(e){if(!e)throw new Error("Assert failed: Null signatures");return ht(e)}function Qt(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+12)}function er(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+12,t)}function tr(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e)}function rr(e,t){if(!e)throw new Error("Assert failed: Null arg");if("boolean"!=typeof t)throw new Error(`Assert failed: Value is not a Boolean: ${t} (${typeof t})`);Xe(e,t?1:0)}function nr(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e,t)}function or(e,t){if(!e)throw new Error("Assert failed: Null arg");ut(e,t.getTime())}function sr(e,t){if(!e)throw new Error("Assert failed: Null arg");ut(e,t)}function ir(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}function ar(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}function cr(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}function ur(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}function lr(e){if(!e)throw new Error("Assert failed: Null arg");return Mt(e)}function fr(e){if(!e)throw new Error("Assert failed: Null arg");return ht(e+8)}function _r(e,t){if(!e)throw new Error("Assert failed: Null arg");nt(e+8,t)}class dr{dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}toString(){return`CsObject(gc_handle: ${this[ke]})`}}class mr extends Error{constructor(e){super(e),this.superStack=Object.getOwnPropertyDescriptor(this,"stack"),Object.defineProperty(this,"stack",{get:this.getManageStack})}getSuperStack(){return this.superStack?this.superStack.value:super.stack}getManageStack(){const e=this[ke];if(e){const t=m.javaScriptExports.get_managed_stack_trace(e);if(t)return t+"\n"+this.getSuperStack()}return this.getSuperStack()}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}function pr(e){return e==yr.Byte?1:e==yr.Int32?4:e==yr.Int52||e==yr.Double?8:e==yr.String||e==yr.Object||e==yr.JSObject?zt:-1}class hr{constructor(e,t,r){this._pointer=e,this._length=t,this._viewType=r}_unsafe_create_view(){const e=0==this._viewType?new Uint8Array(t.HEAPU8.buffer,this._pointer,this._length):1==this._viewType?new Int32Array(t.HEAP32.buffer,this._pointer,this._length):2==this._viewType?new Float64Array(t.HEAPF64.buffer,this._pointer,this._length):null;if(!e)throw new Error("NotImplementedException");return e}set(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const r=this._unsafe_create_view();if(!e||!r||e.constructor!==r.constructor)throw new Error(`Assert failed: Expected ${r.constructor}`);r.set(e,t)}copyTo(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");const r=this._unsafe_create_view();if(!e||!r||e.constructor!==r.constructor)throw new Error(`Assert failed: Expected ${r.constructor}`);const n=r.subarray(t);e.set(n)}slice(e,t){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._unsafe_create_view().slice(e,t)}get length(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return this._length}get byteLength(){if(this.isDisposed)throw new Error("Assert failed: ObjectDisposedException");return 0==this._viewType?this._length:1==this._viewType?this._length<<2:2==this._viewType?this._length<<3:0}}class wr extends hr{constructor(e,t,r){super(e,t,r),this.is_disposed=!1}dispose(){this.is_disposed=!0}get isDisposed(){return this.is_disposed}}class gr extends hr{constructor(e,t,r){super(e,t,r)}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}var yr;!function(e){e[e.None=0]="None",e[e.Void=1]="Void",e[e.Discard=2]="Discard",e[e.Boolean=3]="Boolean",e[e.Byte=4]="Byte",e[e.Char=5]="Char",e[e.Int16=6]="Int16",e[e.Int32=7]="Int32",e[e.Int52=8]="Int52",e[e.BigInt64=9]="BigInt64",e[e.Double=10]="Double",e[e.Single=11]="Single",e[e.IntPtr=12]="IntPtr",e[e.JSObject=13]="JSObject",e[e.Object=14]="Object",e[e.String=15]="String",e[e.Exception=16]="Exception",e[e.DateTime=17]="DateTime",e[e.DateTimeOffset=18]="DateTimeOffset",e[e.Nullable=19]="Nullable",e[e.Task=20]="Task",e[e.Array=21]="Array",e[e.ArraySegment=22]="ArraySegment",e[e.Span=23]="Span",e[e.Action=24]="Action",e[e.Function=25]="Function",e[e.JSException=26]="JSException"}(yr||(yr={}));const br=new Map,vr=new Map;let Er=0,Ar=null,kr=0;const Sr=new class{init_fields(){this.mono_wasm_string_decoder_buffer||(this.mono_text_decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):null,this.mono_wasm_string_root=Rt(),this.mono_wasm_string_decoder_buffer=t._malloc(12))}copy(e){if(this.init_fields(),0===e)return null;this.mono_wasm_string_root.value=e;const t=this.copy_root(this.mono_wasm_string_root);return this.mono_wasm_string_root.value=0,t}copy_root(e){if(this.init_fields(),0===e.value)return null;const t=this.mono_wasm_string_decoder_buffer+0,r=this.mono_wasm_string_decoder_buffer+4,n=this.mono_wasm_string_decoder_buffer+8;let o;g.mono_wasm_string_get_data_ref(e.address,t,r,n);const s=ht(r),i=dt(t),a=ht(n);if(a&&(o=br.get(e.value)),void 0===o&&(s&&i?(o=this.decode(i,i+s),a&&br.set(e.value,o)):o=Or),void 0===o)throw new Error(`internal error when decoding string at location ${e.value}`);return o}decode(e,r){let n="";if(this.mono_text_decoder){const o="undefined"!=typeof SharedArrayBuffer&&t.HEAPU8.buffer instanceof SharedArrayBuffer?t.HEAPU8.slice(e,r):t.HEAPU8.subarray(e,r);n=this.mono_text_decoder.decode(o)}else for(let o=0;o=8192&&(Ar=null),Ar||(Ar=Tt(8192,"interned strings"),kr=0);const n=Ar,o=kr++;if(r&&(g.mono_wasm_intern_string_ref(t.address),!t.value))throw new Error("mono_wasm_intern_string_ref produced a null pointer");vr.set(e,t.value),br.set(t.value,e),0!==e.length||Er||(Er=t.value),n.copy_value_from_address(o,t.address)}(r,t,!0))}function Tr(e,t){if(t.clear(),null!==e)if("symbol"==typeof e)Dr(e,t);else{if("string"!=typeof e)throw new Error("Expected string argument, got "+typeof e);if(0===e.length)Dr(e,t);else{if(e.length<=256){const r=vr.get(e);if(r)return void t.set(r)}Mr(e,t)}}}function Mr(e,r){const n=t._malloc(2*(e.length+1)),o=n>>>1|0;for(let r=0;r{const r=Ht(e,0),a=Ht(e,1),c=Ht(e,2),u=Ht(e,3),l=Ht(e,4);try{let e,r,f;o&&(e=o(c)),s&&(r=s(u)),i&&(f=i(l));const _=t(e,r,f);n&&n(a,_)}catch(e){Qr(r,e)}};a[Wt]=!0;ar(e,Ne(a)),er(e,yr.Function)}class Zr{constructor(e){this.promise=e}dispose(){De(this,0)}get isDisposed(){return 0===this[ke]}}function Kr(e,t,r,n){if(null==t)return void er(e,yr.None);if(!Ce(t))throw new Error("Assert failed: Value is not a Promise");const o=m.javaScriptExports.create_task_callback();ur(e,o),er(e,yr.Task);const s=new Zr(t);je(s,o),t.then((e=>{m.javaScriptExports.complete_task(o,null,e,n||tn),De(s,o)})).catch((e=>{m.javaScriptExports.complete_task(o,e,null,void 0),De(s,o)}))}function Qr(e,t){if(null==t)er(e,yr.None);else if(t instanceof mr){er(e,yr.Exception);ur(e,Te(t))}else{if("object"!=typeof t&&"string"!=typeof t)throw new Error("Assert failed: Value is not an Error "+typeof t);er(e,yr.JSException);Gr(e,t.toString());const r=t[Se];if(r)ar(e,r);else{ar(e,Ne(t))}}}function en(e,t){if(null==t)er(e,yr.None);else{if(void 0!==t[ke])throw new Error("Assert failed: JSObject proxy of ManagedObject proxy is not supported");if("function"!=typeof t&&"object"!=typeof t)throw new Error(`Assert failed: JSObject proxy of ${typeof t} is not supported`);er(e,yr.JSObject);ar(e,Ne(t))}}function tn(e,t){if(null==t)er(e,yr.None);else{const r=t[ke],n=typeof t;if(void 0===r)if("string"===n||"symbol"===n)er(e,yr.String),Gr(e,t);else if("number"===n)er(e,yr.Double),sr(e,t);else{if("bigint"===n)throw new Error("NotImplementedException: bigint");if("boolean"===n)er(e,yr.Boolean),rr(e,t);else if(t instanceof Date)er(e,yr.DateTime),or(e,t);else if(t instanceof Error)Qr(e,t);else if(t instanceof Uint8Array)nn(e,t,yr.Byte);else if(t instanceof Float64Array)nn(e,t,yr.Double);else if(t instanceof Int32Array)nn(e,t,yr.Int32);else if(Array.isArray(t))nn(e,t,yr.Object);else{if(t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Float32Array)throw new Error("NotImplementedException: TypedArray");if(Ce(t))Kr(e,t);else{if(t instanceof wr)throw new Error("NotImplementedException: Span");if("object"!=n)throw new Error(`JSObject proxy is not supported for ${n} ${t}`);{const r=Ne(t);er(e,yr.JSObject),ar(e,r)}}}}else{if(Te(t),t instanceof gr)throw new Error("NotImplementedException: ArraySegment");if(t instanceof mr)er(e,yr.Exception),ur(e,r);else{if(!(t instanceof dr))throw new Error("NotImplementedException "+n);er(e,yr.Object),ur(e,r)}}}}function rn(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");nn(e,t,Gt(r))}function nn(e,r,n){if(null==r)er(e,yr.None);else{const o=pr(n);if(-1==o)throw new Error(`Assert failed: Element type ${yr[n]} not supported`);const s=r.length,i=o*s,a=t._malloc(i);if(n==yr.String){if(!Array.isArray(r))throw new Error("Assert failed: Value is not an Array");Ge(a,i),g.mono_wasm_register_root(a,i,"marshal_array_to_cs");for(let e=0;e>2,(a>>2)+s).set(r)}else{if(n!=yr.Double)throw new Error("not implemented");if(!(Array.isArray(r)||r instanceof Float64Array))throw new Error("Assert failed: Value is not an Array or Float64Array");t.HEAPF64.subarray(a>>3,(a>>3)+s).set(r)}nr(e,a),er(e,yr.Array),function(e,t){if(!e)throw new Error("Assert failed: Null arg");Qe(e+4,t)}(e,n),_r(e,r.length)}}function on(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");if(t.isDisposed)throw new Error("Assert failed: ObjectDisposedException");an(r,t._viewType),er(e,yr.Span),nr(e,t._pointer),_r(e,t.length)}function sn(e,t,r){if(!r)throw new Error("Assert failed: Expected valid sig parameter");const n=Te(t);if(!n)throw new Error("Assert failed: Only roundtrip of ArraySegment instance created by C#");an(r,t._viewType),er(e,yr.ArraySegment),nr(e,t._pointer),_r(e,t.length),ur(e,n)}function an(e,t){const r=Gt(e);if(r==yr.Byte){if(0!=t)throw new Error("Assert failed: Expected MemoryViewType.Byte")}else if(r==yr.Int32){if(1!=t)throw new Error("Assert failed: Expected MemoryViewType.Int32")}else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);if(2!=t)throw new Error("Assert failed: Expected MemoryViewType.Double")}}function cn(e,t,r,n,o,s){let i="",a="",c="";const u="converter"+t;let l="null",f="null",_="null",d="null",m=qt(e);if(m===yr.None||m===yr.Void)return{converters:i,call_body:c,marshaler_type:m};const p=Jt(e);if(p!==yr.None){const e=Ct.get(p);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${p} at ${t}`);m!=yr.Nullable?(d="converter"+t+"_res",i+=", "+d,a+=" "+yr[p],s[d]=e):m=p}const h=Gt(e);if(h!==yr.None){const e=Ut.get(h);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${h} at ${t}`);l="converter"+t+"_arg1",i+=", "+l,a+=" "+yr[h],s[l]=e}const w=Yt(e);if(w!==yr.None){const e=Ut.get(w);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${w} at ${t}`);f="converter"+t+"_arg2",i+=", "+f,a+=" "+yr[w],s[f]=e}const g=Xt(e);if(g!==yr.None){const e=Ut.get(g);if(!e||"function"!=typeof e)throw new Error(`Assert failed: Unknow converter for type ${g} at ${t}`);_="converter"+t+"_arg3",i+=", "+_,a+=" "+yr[g],s[_]=e}const y=Ct.get(m);if(!y||"function"!=typeof y)throw new Error(`Assert failed: Unknow converter for type ${m} at ${t} `);return i+=", "+u,a+=" "+yr[m],s[u]=y,c=m==yr.Task?` const ${o} = ${u}(args + ${r}, signature + ${n}, ${d}); // ${a} \n`:m==yr.Action||m==yr.Function?` const ${o} = ${u}(args + ${r}, signature + ${n}, ${d}, ${l}, ${f}, ${_}); // ${a} \n`:` const ${o} = ${u}(args + ${r}, signature + ${n}); // ${a} \n`,{converters:i,call_body:c,marshaler_type:m}}function un(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return!!ft(e)}(e)}function ln(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return ft(e)}(e)}function fn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return _t(e)}(e)}function _n(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return pt(e)}(e)}function dn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return ht(e)}(e)}function mn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return vt(e)}(e)}function pn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return yt(e)}(e)}function hn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return bt(e)}(e)}function wn(e){return Qt(e)==yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");return vt(e)}(e)}function gn(e){return Qt(e)==yr.None?null:tr(e)}function yn(){return null}function bn(e){return Qt(e)===yr.None?null:function(e){if(!e)throw new Error("Assert failed: Null arg");const t=vt(e);return new Date(t)}(e)}function vn(e,t,r,n,o,s){if(Qt(e)===yr.None)return null;const i=cr(e);let a=Me(i);return null!=a||(a=(e,t,a)=>m.javaScriptExports.call_delegate(i,e,t,a,r,n,o,s),je(a,i)),a}function En(e,t,r){const n=Qt(e);if(n===yr.None)return null;if(n!==yr.Task){if(r||(r=Ct.get(n)),!r)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[n]} `);const t=r(e);return new Promise((e=>e(t)))}const o=ir(e);if(0==o)return new Promise((e=>e(void 0)));const s=Oe(o);if(!s)throw new Error(`Assert failed: ERR28: promise not found for js_handle: ${o} `);Pe(s);const i=Fe(s),a=i.resolve;return i.resolve=e=>{const t=Qt(e);if(t===yr.None)return void a(null);if(r||(r=Ct.get(t)),!r)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[t]}`);const n=r(e);a(n)},s}function An(e){const t=Ht(e,0),r=Ht(e,1),n=Ht(e,2),o=Ht(e,3),s=Qt(t),i=Qt(o),a=ir(n);if(0===a){const{promise:e,promise_control:n}=Ie();if(ar(r,Ne(e)),s!==yr.None){const e=Sn(t);n.reject(e)}else if(i!==yr.Task){const e=Ct.get(i);if(!e)throw new Error(`Assert failed: Unknow sub_converter for type ${yr[i]} `);const t=e(o);n.resolve(t)}}else{const e=Oe(a);if(!e)throw new Error(`Assert failed: ERR25: promise not found for js_handle: ${a} `);Pe(e);const r=Fe(e);if(s!==yr.None){const e=Sn(t);r.reject(e)}else i!==yr.Task&&r.resolve(o)}er(r,yr.Task),er(t,yr.None)}function kn(e){if(Qt(e)==yr.None)return null;const t=lr(e);try{return xr(t)}finally{t.release()}}function Sn(e){const t=Qt(e);if(t==yr.None)return null;if(t==yr.JSException){return Oe(ir(e))}const r=cr(e);let n=Me(r);if(null==n){const t=kn(e);n=new mr(t),je(n,r)}return n}function On(e){if(Qt(e)==yr.None)return null;return Oe(ir(e))}function Nn(e){const t=Qt(e);if(t==yr.None)return null;if(t==yr.JSObject){return Oe(ir(e))}if(t==yr.Array){return jn(e,function(e){if(!e)throw new Error("Assert failed: Null arg");return dt(e+4)}(e))}if(t==yr.Object){const t=cr(e);if(0===t)return null;let r=Me(t);return r||(r=new dr,je(r,t)),r}const r=Ct.get(t);if(!r)throw new Error(`Assert failed: Unknow converter for type ${yr[t]}`);return r(e)}function xn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");return jn(e,Gt(t))}function jn(e,r){if(Qt(e)==yr.None)return null;if(-1==pr(r))throw new Error(`Assert failed: Element type ${yr[r]} not supported`);const n=tr(e),o=fr(e);let s=null;if(r==yr.String){s=new Array(o);for(let e=0;e>2,(n>>2)+o).slice()}else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=t.HEAPF64.subarray(n>>3,(n>>3)+o).slice()}return t._free(n),s}function Dn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");const r=Gt(t),n=tr(e),o=fr(e);let s=null;if(r==yr.Byte)s=new wr(n,o,0);else if(r==yr.Int32)s=new wr(n,o,1);else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=new wr(n,o,2)}return s}function Tn(e,t){if(!t)throw new Error("Assert failed: Expected valid sig parameter");const r=Gt(t),n=tr(e),o=fr(e);let s=null;if(r==yr.Byte)s=new gr(n,o,0);else if(r==yr.Int32)s=new gr(n,o,1);else{if(r!=yr.Double)throw new Error(`NotImplementedException ${yr[r]} `);s=new gr(n,o,2)}return je(s,cr(e)),s}let Mn,Rn;const In={};const Fn=Symbol.for("wasm type");const Pn=Ie(),$n=Ie();let Cn=0,Un=0,Bn=0,Wn=0;const zn=[],Ln=Object.create(null);let Hn,Vn=0;const qn={"js-module-threads":!0},Jn={dotnetwasm:!0},Gn={"js-module-threads":!0,dotnetwasm:!0};async function Yn(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_download_assets"),m.maxParallelDownloads=m.config.maxParallelDownloads||m.maxParallelDownloads;try{const e=[];for(const t of m.config.assets){const r=t;if(Gn[r.behavior]||Wn++,!qn[r.behavior]){const t=Jn[r.behavior];if(Bn++,r.pendingDownload){r.pendingDownloadInternal=r.pendingDownload;const n=async()=>{const e=await r.pendingDownloadInternal.response;return t||(r.buffer=await e.arrayBuffer()),++Cn,{asset:r,buffer:r.buffer}};e.push(n())}else{const n=async()=>(r.buffer=await Xn(r,!t),{asset:r,buffer:r.buffer});e.push(n())}}}$n.promise_control.resolve();const r=[];for(const t of e)r.push((async()=>{const e=await t,r=e.asset;if(e.buffer){if(!Gn[r.behavior]){const t=r.pendingDownloadInternal.url,n=new Uint8Array(r.buffer);r.pendingDownloadInternal=null,r.pendingDownload=null,r.buffer=null,e.buffer=null,await ki.promise,eo(r,t,n)}}else{if(Jn[r.behavior])Jn[r.behavior]&&++Cn;else{if(!r.isOptional)throw new Error("Assert failed: Expected asset to have the downloaded buffer");qn[r.behavior]||Bn--,Gn[r.behavior]||Wn--}}})());Promise.all(r).then((()=>{Pn.promise_control.resolve()})).catch((e=>{t.printErr("MONO_WASM: Error in mono_download_assets: "+e),Ti(e,!0)}))}catch(e){throw t.printErr("MONO_WASM: Error in mono_download_assets: "+e),e}}async function Xn(e,t){try{return await Zn(e,t)}catch(r){if(s||o)throw r;if(e.pendingDownload&&e.pendingDownloadInternal==e.pendingDownload)throw r;if(e.resolvedUrl&&-1!=e.resolvedUrl.indexOf("file://"))throw r;if(r&&404==r.status)throw r;e.pendingDownloadInternal=void 0,await $n.promise;try{return await Zn(e,t)}catch(r){return e.pendingDownloadInternal=void 0,await function(e){return new Promise((t=>setTimeout(t,e)))}(100),await Zn(e,t)}}}async function Zn(e,r){for(;Hn;)await Hn.promise;try{++Vn,Vn==m.maxParallelDownloads&&(m.diagnosticTracing&&console.debug("MONO_WASM: Throttling further parallel downloads"),Hn=Ie());const n=await async function(e){if(e.buffer){const t=e.buffer;return e.buffer=null,e.pendingDownloadInternal={url:"undefined://"+e.name,name:e.name,response:Promise.resolve({arrayBuffer:()=>t,headers:{get:()=>{}}})},e.pendingDownloadInternal.response}if(e.pendingDownloadInternal&&e.pendingDownloadInternal.response){return await e.pendingDownloadInternal.response}const r=e.loadRemote&&m.config.remoteSources?m.config.remoteSources:[""];let n;for(let t of r){t=t.trim(),"./"===t&&(t="");const r=Kn(e,t);e.name===r?m.diagnosticTracing&&console.debug(`MONO_WASM: Attempting to download '${r}'`):m.diagnosticTracing&&console.debug(`MONO_WASM: Attempting to download '${r}' for ${e.name}`);try{const t=Qn({name:e.name,resolvedUrl:r,hash:e.hash,behavior:e.behavior});if(e.pendingDownloadInternal=t,n=await t.response,!n.ok)continue;return n}catch(e){continue}}const o=e.isOptional||e.name.match(/\.pdb$/)&&m.config.ignorePdbLoadErrors;if(!n)throw new Error(`Assert failed: Response undefined ${e.name}`);if(o)return void t.print(`MONO_WASM: optional download '${n.url}' for ${e.name} failed ${n.status} ${n.statusText}`);{const t=new Error(`MONO_WASM: download '${n.url}' for ${e.name} failed ${n.status} ${n.statusText}`);throw t.status=n.status,t}}(e);if(!r||!n)return;const o=await n.arrayBuffer();return++Cn,o}finally{if(--Vn,Hn&&Vn==m.maxParallelDownloads-1){m.diagnosticTracing&&console.debug("MONO_WASM: Resuming more parallel downloads");const e=Hn;Hn=void 0,e.promise_control.resolve()}}}function Kn(e,t){if(null==t)throw new Error(`Assert failed: sourcePrefix must be provided for ${e.name}`);let r;const n=m.config.assemblyRootFolder;if(e.resolvedUrl)r=e.resolvedUrl;else{if(""===t)if("assembly"===e.behavior||"pdb"===e.behavior)r=n?n+"/"+e.name:e.name;else if("resource"===e.behavior){const t=e.culture&&""!==e.culture?`${e.culture}/${e.name}`:e.name;r=n?n+"/"+t:t}else r=e.name;else r=t+e.name;r=m.locateFile(r)}if(!r||"string"!=typeof r)throw new Error("Assert failed: attemptUrl need to be path or url string");return r}function Qn(e){try{if("function"==typeof t.downloadResource){const r=t.downloadResource(e);if(r)return r}const r={};e.hash&&(r.integrity=e.hash);const n=m.fetch_like(e.resolvedUrl,r);return{name:e.name,url:e.resolvedUrl,response:n}}catch(t){const r={ok:!1,url:e.resolvedUrl,status:500,statusText:"ERR29: "+t,arrayBuffer:()=>{throw t},json:()=>{throw t}};return{name:e.name,url:e.resolvedUrl,response:Promise.resolve(r)}}}function eo(e,r,n){m.diagnosticTracing&&console.debug(`MONO_WASM: Loaded:${e.name} as ${e.behavior} size ${n.length} from ${r}`);const o="string"==typeof e.virtualPath?e.virtualPath:e.name;let s=null;switch(e.behavior){case"dotnetwasm":case"js-module-threads":break;case"resource":case"assembly":case"pdb":zn.push({url:r,file:o});case"heap":case"icu":s=kt(n),Ln[o]=[s,n.length];break;case"vfs":{const e=o.lastIndexOf("/");let r=e>0?o.substr(0,e):null,s=e>0?o.substr(e+1):o;s.startsWith("/")&&(s=s.substr(1)),r?(m.diagnosticTracing&&console.debug(`MONO_WASM: Creating directory '${r}'`),t.FS_createPath("/",r,!0,!0)):r="/",m.diagnosticTracing&&console.debug(`MONO_WASM: Creating file '${s}' in directory '${r}'`),to(n,r)||t.FS_createDataFile(r,s,n,!0,!0,!0);break}default:throw new Error(`Unrecognized asset behavior:${e.behavior}, for asset ${e.name}`)}if("assembly"===e.behavior){if(!g.mono_wasm_add_assembly(o,s,n.length)){const e=zn.findIndex((e=>e.file==o));zn.splice(e,1)}}else"icu"===e.behavior?J(s)||t.printErr(`MONO_WASM: Error loading ICU asset ${e.name}`):"resource"===e.behavior&&g.mono_wasm_add_satellite_assembly(o,e.culture||"",s,n.length);++Un}function to(e,r){if(e.length<8)return!1;const n=new DataView(e.buffer);if(1651270004!=n.getUint32(0,!0))return!1;const o=n.getUint32(4,!0);if(0==o||e.length{const t=e[0],r=t.lastIndexOf("/"),n=t.slice(0,r+1);i.add(n)})),i.forEach((e=>{t.FS_createPath(r,e,!0,!0)}));for(const n of s){const o=n[0],s=n[1],i=e.slice(0,s);t.FS_createDataFile(r,o,i,!0,!0),e=e.slice(s)}return!0}async function ro(){if(await Pn.promise,m.config.assets){if(Cn!=Bn)throw new Error(`Assert failed: Expected ${Bn} assets to be downloaded, but only finished ${Cn}`);if(Un!=Wn)throw new Error(`Assert failed: Expected ${Wn} assets to be in memory, but only instantiated ${Un}`);zn.forEach((e=>Mn.loaded_files.push(e.url))),m.diagnosticTracing&&console.debug("MONO_WASM: all assets are loaded in wasm memory")}}function no(){return Mn.loaded_files}let oo,so;function io(e){const r=t;void 0===globalThis.performance&&(globalThis.performance=ao),void 0===globalThis.URL&&(globalThis.URL=class{constructor(e){this.url=e}toString(){return this.url}});const n=r.imports=t.imports||{},c=e=>r=>t.imports[r]||e(r);n.require?m.requirePromise=e.requirePromise=Promise.resolve(c(n.require)):e.require?m.requirePromise=e.requirePromise=Promise.resolve(c(e.require)):e.requirePromise?m.requirePromise=e.requirePromise.then((e=>c(e))):m.requirePromise=e.requirePromise=Promise.resolve(c((e=>{throw new Error(`Please provide Module.imports.${e} or Module.imports.require`)}))),m.scriptDirectory=e.scriptDirectory=function(e){return a&&(e.scriptUrl=self.location.href),e.scriptUrl||(e.scriptUrl="./dotnet.js"),e.scriptUrl=function(e){return e.replace(/\\/g,"/").replace(/[?#].*/,"")}(e.scriptUrl),function(e){return e.slice(0,e.lastIndexOf("/"))+"/"}(e.scriptUrl)}(e),r.mainScriptUrlOrBlob=e.scriptUrl,r.__locateFile===r.locateFile?r.locateFile=m.locateFile=e=>function(e){return o||s?e.startsWith("/")||e.startsWith("\\")||-1!==e.indexOf("///")||lo.test(e):uo.test(e)}(e)?e:m.scriptDirectory+e:m.locateFile=r.locateFile,n.fetch?e.fetch=m.fetch_like=n.fetch:e.fetch=m.fetch_like=co,e.noExitRuntime=i;const u=e.updateGlobalBufferAndViews;e.updateGlobalBufferAndViews=e=>{u(e),function(e){Ve&&(Et=BigInt("9223372036854775807"),At=BigInt("-9223372036854775808"),He=new BigInt64Array(e))}(e)}}const ao={now:function(){return Date.now()}};async function co(e,r){try{if(o){if(!oo){const e=await m.requirePromise;so=e("url"),oo=e("fs")}e.startsWith("file://")&&(e=so.fileURLToPath(e));const t=await oo.promises.readFile(e);return{ok:!0,url:e,arrayBuffer:()=>t,json:()=>JSON.parse(t)}}if("function"==typeof globalThis.fetch)return globalThis.fetch(e,r||{credentials:"same-origin"});if("function"==typeof read){const r=new Uint8Array(read(e,"binary"));return{ok:!0,url:e,arrayBuffer:()=>r,json:()=>JSON.parse(t.UTF8ArrayToString(r,0,r.length))}}}catch(r){return{ok:!1,url:e,status:500,statusText:"ERR28: "+r,arrayBuffer:()=>{throw r},json:()=>{throw r}}}throw new Error("No fetch implementation available")}const uo=/^[a-zA-Z][a-zA-Z\d+\-.]*?:\/\//,lo=/[a-zA-Z]:[\\/]/;function fo(e,t,r,n,o,s){const i=Mt(e),a=Mt(t),c=Mt(s);try{const e=Kt(r);if(1!==e)throw new Error(`Assert failed: Signature version ${e} mismatch.`);const t=xr(i),o=xr(a);m.diagnosticTracing&&console.debug(`MONO_WASM: Binding [JSImport] ${t} from ${o}`);const s=po(t,o),u=Zt(r),l={fn:s,marshal_exception_to_cs:Qr,signature:r},f="_bound_js_"+t.replace(/\./g,"_");let _=`//# sourceURL=https://dotnet.generated.invalid/${f} \n`,d="",p="",h="";for(let e=0;e{const o=await r;return n&&(Eo.set(e,o),m.diagnosticTracing&&console.debug(`MONO_WASM: imported ES6 module '${e}' from '${t}'`)),o}))}function ko(e,r,n){Tr(function(e,r){let n="unknown exception";if(r){n=r.toString();const e=r.stack;e&&(e.startsWith(n)?n=e:n+="\n"+e),n=se(n)}return e&&t.setValue(e,1,"i32"),n}(e,r),n)}const So=new Map;function Oo(e,r,n,o,s){const i=Mt(e),a=Mt(s),c=t;try{const e=Kt(n);if(1!==e)throw new Error(`Assert failed: Signature version ${e} mismatch.`);const t=Zt(n),o=xr(i);if(!o)throw new Error("Assert failed: fully_qualified_name must be string");m.diagnosticTracing&&console.debug(`MONO_WASM: Binding [JSExport] ${o}`);const{assembly:s,namespace:u,classname:l,methodname:f}=Do(o),_=te(s);if(!_)throw new Error("Could not find assembly: "+s);const d=g.mono_wasm_assembly_find_class(_,u,l);if(!d)throw new Error("Could not find class: "+u+":"+l+" in assembly "+s);const p=`__Wrapper_${f}_${r}`,h=g.mono_wasm_assembly_find_method(d,p,-1);if(!h)throw new Error(`Could not find method: ${p} in ${d} [${s}]`);const w={method:h,signature:n,stackSave:c.stackSave,stackRestore:c.stackRestore,alloc_stack_frame:Lt,invoke_method_and_handle_exception:No},y="_bound_cs_"+`${u}_${l}_${f}`.replace(/\./g,"_").replace(/\//g,"_");let b=`//# sourceURL=https://dotnet.generated.invalid/${y} \n`,v="",E="";for(let e=0;ea&&(i=a);const c=n*s;return new Uint8Array(e.buffer,0,i).set(t.HEAPU8.subarray(r+c,r+c+i)),i}throw new Error("Object '"+e+"' is not a typed array")}function Io(e){return"undefined"!=typeof SharedArrayBuffer?e.buffer instanceof ArrayBuffer||e.buffer instanceof SharedArrayBuffer:e.buffer instanceof ArrayBuffer}function Fo(e,t,r){switch(!0){case null===t:case void 0===t:return void r.clear();case"symbol"==typeof t:case"string"==typeof t:return void Es._create_uri_ref(t,r.address);default:return void Co(e,t,r)}}function Po(e){const t=Rt();try{return $o(e,t,!1),t.value}finally{t.release()}}function $o(e,t,r){if(h(t))throw new Error("Expected (value, WasmRoot, boolean)");switch(!0){case null===e:case void 0===e:return void t.clear();case"number"==typeof e:{let r;return(0|e)===e?(rt(In._box_buffer,e),r=In._class_int32):e>>>0===e?(Ke(In._box_buffer,e),r=In._class_uint32):(ut(In._box_buffer,e),r=In._class_double),void g.mono_wasm_box_primitive_ref(r,In._box_buffer,8,t.address)}case"string"==typeof e:return void Tr(e,t);case"symbol"==typeof e:return void Dr(e,t);case"boolean"==typeof e:return Ye(In._box_buffer,e),void g.mono_wasm_box_primitive_ref(In._class_boolean,In._box_buffer,4,t.address);case!0===Ce(e):return void function(e,t){if(!e)return t.clear(),null;const r=Ne(e),n=Es._create_tcs(),o={tcs_gc_handle:n};je(o,n),e.then((e=>{Es._set_tcs_result_ref(n,e)}),(e=>{Es._set_tcs_failure(n,e?e.toString():"")})).finally((()=>{xe(r),De(o,n)})),Es._get_tcs_task_ref(n,t.address)}(e,t);case"Date"===e.constructor.name:return void Es._create_date_time_ref(e.getTime(),t.address);default:return void Co(r,e,t)}}function Co(e,t,r){if(r.clear(),null!=t){if(void 0!==t[ke]){return void Ko(Te(t),r.address)}if(t[Se]&&(function(e,t,r){if(0===e||-1===e)return void rt(r,0);Es._get_cs_owned_object_by_js_handle_ref(e,t?1:0,r)}(t[Se],e,r.address),r.value||delete t[Se]),!r.value){const n=t[Fn],o=void 0===n?0:n,s=Ne(t);Es._create_cs_owned_proxy_ref(s,o,e?1:0,r.address)}}}function Uo(e,r){if(!Io(e)||!e.BYTES_PER_ELEMENT)throw new Error("Object '"+e+"' is not a typed array");{const n=e[Fn],o=function(e){const r=e.length*e.BYTES_PER_ELEMENT,n=t._malloc(r),o=new Uint8Array(t.HEAPU8.buffer,n,r);return o.set(new Uint8Array(e.buffer,e.byteOffset,r)),o}(e);g.mono_wasm_typed_array_new_ref(o.byteOffset,e.length,e.BYTES_PER_ELEMENT,n,r.address),t._free(o.byteOffset)}}function Bo(e){const t=Rt();try{return Uo(e,t),t.value}finally{t.release()}}function Wo(e,t,r){if("number"!=typeof e)throw new Error(`Expected numeric value for enum argument, got '${e}'`);return 0|e}function zo(e,t,r){const n=Mt(r);try{const r=Oe(e);if(h(r))return void ko(t,"ERR06: Invalid JS object handle '"+e+"'",n);Uo(r,n)}catch(e){ko(t,String(e),n)}finally{n.release()}}const Lo=Symbol.for("wasm delegate_invoke");function Ho(e){if(0===e)return;const t=Rt(e);try{return Jo(t)}finally{t.release()}}function Vo(e,t,r,n){switch(t){case 0:return null;case 26:case 27:throw new Error("int64 not available");case 3:case 29:return xr(e);case 4:throw new Error("no idea on how to unbox value types");case 5:return function(e){if(0===e.value)return null;return function(e){let t=Me(e);if(t)Te(t);else{t=function(...e){Te(t);return(0,t[Lo])(...e)};const r=Rt();Ko(e,r.address);try{if(void 0===t[Lo]){const n=g.mono_wasm_get_delegate_invoke_ref(r.address),o=ws(n,bs(n,r),!0);if(t[Lo]=o.bind({this_arg_gc_handle:e}),!t[Lo])throw new Error("System.Delegate Invoke method can not be resolved.")}}finally{r.release()}je(t,e)}return t}(Es._get_js_owned_object_gc_handle_ref(e.address))}(e);case 6:return function(e){if(0===e.value)return null;if(!$e)throw new Error("Promises are not supported thus 'System.Threading.Tasks.Task' can not work in this context.");const t=Es._get_js_owned_object_gc_handle_ref(e.address);let r=Me(t);if(!r){const n=()=>De(r,t),{promise:o,promise_control:s}=Ie(n,n);r=o,Es._setup_js_cont_ref(e.address,s),je(r,t)}return r}(e);case 7:return function(e){if(0===e.value)return null;const t=Es._try_get_cs_owned_object_js_handle_ref(e.address,0);if(t){if(t===p)throw new Error("Cannot access a disposed JSObject at "+e.value);return Oe(t)}const r=Es._get_js_owned_object_gc_handle_ref(e.address);let n=Me(r);return h(n)&&(n=new dr,je(n,r)),n}(e);case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:throw new Error("Marshaling of primitive arrays are not supported.");case 20:return new Date(Es._get_date_value_ref(e.address));case 21:case 22:return Es._object_to_string_ref(e.address);case 23:return function(e){return Oe(Es._get_cs_owned_object_js_handle_ref(e.address,0))}(e);case 30:return;default:throw new Error(`no idea on how to unbox object of MarshalType ${t} at offset ${e.value} (root address is ${e.address})`)}}function qo(e,t,r){if(t>=512)throw new Error(`Got marshaling error ${t} when attempting to unbox object at address ${e.value} (root located at ${e.address})`);let n=0;if((4===t||7==t)&&(n=dt(r),n<1024))throw new Error(`Got invalid MonoType ${n} for object at address ${e.value} (root located at ${e.address})`);return Vo(e,t)}function Jo(e){if(0===e.value)return;const t=In._unbox_buffer,r=g.mono_wasm_try_unbox_primitive_and_get_type_ref(e.address,t,In._unbox_buffer_size);switch(r){case 1:return ht(t);case 25:case 32:return dt(t);case 24:return bt(t);case 2:return vt(t);case 8:return 0!==ht(t);case 28:return String.fromCharCode(ht(t));case 0:return null;default:return qo(e,r,t)}}function Go(e){if(0===e)return null;const t=Rt(e);try{return Xo(t)}finally{t.release()}}function Yo(e){return Es._is_simple_array_ref(e.address)}function Xo(e){if(0===e.value)return null;const t=e.address,r=Rt(),n=r.address;try{const o=g.mono_wasm_array_length(e.value),s=new Array(o);for(let e=0;e0&&Array.isArray(e[0])&&(e[0]=function(e,t,r){const n=Rt();t?g.mono_wasm_string_array_new_ref(e.length,n.address):g.mono_wasm_obj_array_new_ref(e.length,n.address);const o=Rt(0),s=n.address,i=o.address;try{for(let n=0;n{e&&"AbortError"!==e.name&&t.printErr("MONO_WASM: Error in http_wasm_abort_response: "+e)}))}function js(e,t,r,n,o,s,i,a){return Ds(e,t,r,n,o,s,new wr(i,a,0).slice())}function Ds(e,t,r,n,o,s,i){if(!e||"string"!=typeof e)throw new Error("Assert failed: expected url string");if(!(t&&r&&Array.isArray(t)&&Array.isArray(r)&&t.length===r.length))throw new Error("Assert failed: expected headerNames and headerValues arrays");if(!(n&&o&&Array.isArray(n)&&Array.isArray(o)&&n.length===o.length))throw new Error("Assert failed: expected headerNames and headerValues arrays");const a=new Headers;for(let e=0;e{const t=await fetch(e,c);return t.__abort_controller=s,t}))}function Ts(e){if(!e.__headerNames){e.__headerNames=[],e.__headerValues=[];const t=e.headers.entries();for(const r of t)e.__headerNames.push(r[0]),e.__headerValues.push(r[1])}}function Ms(e){return Ts(e),e.__headerNames}function Rs(e){return Ts(e),e.__headerValues}function Is(e){return Ue((async()=>{const t=await e.arrayBuffer();return e.__buffer=t,e.__source_offset=0,t.byteLength}))}function Fs(e,t){if(!e.__buffer)throw new Error("Assert failed: expected resoved arrayBuffer");if(e.__source_offset==e.__buffer.byteLength)return 0;const r=new Uint8Array(e.__buffer,e.__source_offset);t.set(r,0);const n=Math.min(t.byteLength,r.byteLength);return e.__source_offset+=n,n}function Ps(e,t,r){const n=new wr(t,r,0);return Ue((async()=>{if(e.__reader||(e.__reader=e.body.getReader()),e.__chunk||(e.__chunk=await e.__reader.read(),e.__source_offset=0),e.__chunk.done)return 0;const t=e.__chunk.value.byteLength-e.__source_offset;if(!(t>0))throw new Error("Assert failed: expected remaining_source to be greater than 0");const r=Math.min(t,n.byteLength),o=e.__chunk.value.subarray(e.__source_offset,e.__source_offset+r);return n.set(o,0),e.__source_offset+=r,t==r&&(e.__chunk=void 0),r}))}let $s,Cs=0,Us=!1,Bs=0;if(globalThis.navigator){const e=globalThis.navigator;e.userAgentData&&e.userAgentData.brands?Us=e.userAgentData.brands.some((e=>"Chromium"==e.brand)):e.userAgent&&(Us=e.userAgent.includes("Chrome"))}function Ws(){for(;Bs>0;)--Bs,g.mono_background_exec()}function zs(){if(!Us)return;const e=(new Date).valueOf(),t=e+36e4;for(let r=Math.max(e+1e3,Cs);r{g.mono_set_timeout_exec(),Bs++,Ws()}),r-e)}Cs=t}function Ls(){++Bs,setTimeout(Ws,0)}function Hs(e){$s&&(clearTimeout($s),$s=void 0),$s=setTimeout((function(){g.mono_set_timeout_exec()}),e)}class Vs{constructor(){this.queue=[],this.offset=0}getLength(){return this.queue.length-this.offset}isEmpty(){return 0==this.queue.length}enqueue(e){this.queue.push(e)}dequeue(){if(0===this.queue.length)return;const e=this.queue[this.offset];return this.queue[this.offset]=null,2*++this.offset>=this.queue.length&&(this.queue=this.queue.slice(this.offset),this.offset=0),e}peek(){return this.queue.length>0?this.queue[this.offset]:void 0}drain(e){for(;this.getLength();){e(this.dequeue())}}}const qs=Symbol.for("wasm ws_pending_send_buffer"),Js=Symbol.for("wasm ws_pending_send_buffer_offset"),Gs=Symbol.for("wasm ws_pending_send_buffer_type"),Ys=Symbol.for("wasm ws_pending_receive_event_queue"),Xs=Symbol.for("wasm ws_pending_receive_promise_queue"),Zs=Symbol.for("wasm ws_pending_open_promise"),Ks=Symbol.for("wasm ws_pending_close_promises"),Qs=Symbol.for("wasm ws_pending_send_promises"),ei=Symbol.for("wasm ws_is_aborted"),ti=Symbol.for("wasm ws_receive_status_ptr");let ri,ni,oi=!1;const si=new Uint8Array;function ii(e,t,r,n){if(!e||"string"!=typeof e)throw new Error("Assert failed: ERR12: Invalid uri "+typeof e);const o=new globalThis.WebSocket(e,t||void 0),{promise_control:s}=Ie();o[Ys]=new Vs,o[Xs]=new Vs,o[Zs]=s,o[Qs]=[],o[Ks]=[],o[ti]=r,o.binaryType="arraybuffer";const i=e=>{o[ei]||(function(e,t){const r=e[Ys],n=e[Xs];if("string"==typeof t.data)void 0===ni&&(ni=new TextEncoder),r.enqueue({type:0,data:ni.encode(t.data),offset:0});else{if("ArrayBuffer"!==t.data.constructor.name)throw new Error("ERR19: WebSocket receive expected ArrayBuffer");r.enqueue({type:1,data:new Uint8Array(t.data),offset:0})}if(n.getLength()&&r.getLength()>1)throw new Error("ERR21: Invalid WS state");for(;n.getLength()&&r.getLength();){const t=n.dequeue();_i(e,r,t.buffer_ptr,t.buffer_length),t.resolve()}zs()}(o,e),zs())};return o.addEventListener("message",i),o.addEventListener("open",(()=>{o[ei]||(s.resolve(o),zs())}),{once:!0}),o.addEventListener("close",(e=>{if(o.removeEventListener("message",i),o[ei])return;n&&n(e.code,e.reason),s.reject(e.reason);for(const e of o[Ks])e.resolve();o[Xs].drain((e=>{nt(r,0),nt(r+4,2),nt(r+8,1),e.resolve()}))}),{once:!0}),o.addEventListener("error",(e=>{s.reject(e.message||"WebSocket error")}),{once:!0}),o}function ai(e){if(!e)throw new Error("Assert failed: ERR17: expected ws instance");return e[Zs].promise}function ci(e,r,n,o,s){if(!e)throw new Error("Assert failed: ERR17: expected ws instance");const i=function(e,t,r,n){let o=e[qs],s=0;const i=t.byteLength;if(o){if(s=e[Js],r=e[Gs],0!==i){if(s+i>o.length){const r=new Uint8Array(1.5*(s+i+50));r.set(o,0),r.subarray(s).set(t),e[qs]=o=r}else o.subarray(s).set(t);s+=i,e[Js]=s}}else n?0!==i&&(o=t,s=i):(0!==i&&(o=t.slice(),s=i,e[Js]=s,e[qs]=o),e[Gs]=r);if(n){if(0==s||null==o)return si;if(0===r){void 0===ri&&(ri=new TextDecoder("utf-8",{fatal:!1}));const e="undefined"!=typeof SharedArrayBuffer&&o instanceof SharedArrayBuffer?o.slice(0,s):o.subarray(0,s);return ri.decode(e)}return o.subarray(0,s)}return null}(e,new Uint8Array(t.HEAPU8.buffer,r,n),o,s);return s&&i?function(e,t){if(e.send(t),e[qs]=null,e.bufferedAmount<65536)return null;const{promise:r,promise_control:n}=Ie(),o=e[Qs];o.push(n);let s=1;const i=()=>{if(0===e.bufferedAmount)n.resolve();else if(e.readyState!=WebSocket.OPEN)n.reject("InvalidState: The WebSocket is not connected.");else if(!n.isDone)return globalThis.setTimeout(i,s),void(s=Math.min(1.5*s,1e3));const t=o.indexOf(n);t>-1&&o.splice(t,1)};return globalThis.setTimeout(i,0),r}(e,i):null}function ui(e,t,r){if(!e)throw new Error("Assert failed: ERR18: expected ws instance");const n=e[Ys],o=e[Xs],s=e.readyState;if(s!=WebSocket.OPEN&&s!=WebSocket.CLOSING)throw new Error("InvalidState: The WebSocket is not connected.");if(n.getLength()){if(0!=o.getLength())throw new Error("Assert failed: ERR20: Invalid WS state");return _i(e,n,t,r),null}const{promise:i,promise_control:a}=Ie(),c=a;return c.buffer_ptr=t,c.buffer_length=r,o.enqueue(c),i}function li(e,t,r,n){if(!e)throw new Error("Assert failed: ERR19: expected ws instance");if(e.readyState==WebSocket.CLOSED)return null;if(n){const{promise:n,promise_control:o}=Ie();return e[Ks].push(o),"string"==typeof r?e.close(t,r):e.close(t),n}return oi||(oi=!0,console.warn("WARNING: Web browsers do not support closing the output side of a WebSocket. CloseOutputAsync has closed the socket and discarded any incoming messages.")),"string"==typeof r?e.close(t,r):e.close(t),null}function fi(e){if(!e)throw new Error("Assert failed: ERR18: expected ws instance");e[ei]=!0;const t=e[Zs];t&&t.reject("OperationCanceledException");for(const t of e[Ks])t.reject("OperationCanceledException");for(const t of e[Qs])t.reject("OperationCanceledException");e[Xs].drain((e=>{e.reject("OperationCanceledException")})),e.close(1e3,"Connection was aborted.")}function _i(e,r,n,o){const s=r.peek(),i=Math.min(o,s.data.length-s.offset);if(i>0){const e=s.data.subarray(s.offset,s.offset+i);new Uint8Array(t.HEAPU8.buffer,n,o).set(e,0),s.offset+=i}const a=s.data.length===s.offset?1:0;a&&r.dequeue();const c=e[ti];nt(c,i),nt(c+4,s.type),nt(c+8,a)}function di(){return{mono_wasm_exit:e=>{t.printErr("MONO_WASM: early exit "+e)},mono_wasm_enable_on_demand_gc:g.mono_wasm_enable_on_demand_gc,mono_profiler_init_aot:g.mono_profiler_init_aot,mono_wasm_exec_regression:g.mono_wasm_exec_regression,mono_method_resolve:ys,mono_intern_string:jr,logging:void 0,mono_wasm_stringify_as_error_with_stack:ie,mono_wasm_get_loaded_files:no,mono_wasm_send_dbg_command_with_parms:M,mono_wasm_send_dbg_command:R,mono_wasm_get_dbg_command_info:I,mono_wasm_get_details:z,mono_wasm_release_object:H,mono_wasm_call_function_on:W,mono_wasm_debugger_resume:F,mono_wasm_detach_debugger:P,mono_wasm_raise_debug_event:C,mono_wasm_change_debugger_log_level:$,mono_wasm_debugger_attached:U,mono_wasm_runtime_is_ready:m.mono_wasm_runtime_is_ready,get_property:wo,set_property:ho,has_property:go,get_typeof_property:yo,get_global_this:bo,get_dotnet_instance:()=>u,dynamic_import:Ao,mono_wasm_cancel_promise:Be,ws_wasm_create:ii,ws_wasm_open:ai,ws_wasm_send:ci,ws_wasm_receive:ui,ws_wasm_close:li,ws_wasm_abort:fi,http_wasm_supports_streaming_response:Ss,http_wasm_create_abort_controler:Os,http_wasm_abort_request:Ns,http_wasm_abort_response:xs,http_wasm_fetch:Ds,http_wasm_fetch_bytes:js,http_wasm_get_response_header_names:Ms,http_wasm_get_response_header_values:Rs,http_wasm_get_response_bytes:Fs,http_wasm_get_response_length:Is,http_wasm_get_streamed_response_bytes:Ps}}function mi(){}let pi,hi=!1,wi=!1;const gi=Ie(),yi=Ie(),bi=Ie(),vi=Ie(),Ei=Ie(),Ai=Ie(),ki=Ie(),Si=Ie(),Oi=Ie();function Ni(e,t){const r=e.instantiateWasm,n=e.preInit?"function"==typeof e.preInit?[e.preInit]:e.preInit:[],o=e.preRun?"function"==typeof e.preRun?[e.preRun]:e.preRun:[],s=e.postRun?"function"==typeof e.postRun?[e.postRun]:e.postRun:[],i=e.onRuntimeInitialized?e.onRuntimeInitialized:()=>{};wi=!(e.configSrc||e.config&&e.config.assets&&-1!=e.config.assets.findIndex((e=>"assembly"===e.behavior))),e.instantiateWasm=(e,t)=>xi(e,t,r),e.preInit=[()=>ji(n)],e.preRun=[()=>Di(o)],e.onRuntimeInitialized=()=>async function(e){await Ai.promise,m.diagnosticTracing&&console.debug("MONO_WASM: onRuntimeInitialized"),ki.promise_control.resolve();try{wi||(await ro(),await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_before_user_runtime_initialized");try{await async function(){try{Ii("TZ",Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC")}catch(e){Ii("TZ","UTC")}for(const e in pi.environmentVariables){const t=pi.environmentVariables[e];if("string"!=typeof t)throw new Error(`Expected environment variable '${e}' to be a string but it was ${typeof t}: '${t}'`);Ii(e,t)}pi.runtimeOptions&&Fi(pi.runtimeOptions),pi.aotProfilerOptions&&X(pi.aotProfilerOptions),pi.coverageProfilerOptions&&Z(pi.coverageProfilerOptions)}(),Y(),m.mono_wasm_load_runtime_done||Pi("unused",pi.debugLevel),m.mono_wasm_runtime_is_ready||x(),m.mono_wasm_symbols_are_ready||ue("dotnet.js.symbols"),setTimeout((()=>{Sr.init_fields()}))}catch(e){throw Ri("MONO_WASM: Error in mono_wasm_before_user_runtime_initialized",e),e}}()),pi.runtimeOptions&&Fi(pi.runtimeOptions);try{e()}catch(e){throw Ri("MONO_WASM: user callback onRuntimeInitialized() failed",e),e}await Mi()}catch(e){throw Ri("MONO_WASM: onRuntimeInitializedAsync() failed",e),Ti(e,!0),e}Si.promise_control.resolve()}(i),e.postRun=[()=>async function(e){await Si.promise,m.diagnosticTracing&&console.debug("MONO_WASM: postRunAsync");try{e.map((e=>e()))}catch(e){throw Ri("MONO_WASM: user callback posRun() failed",e),Ti(e,!0),e}Oi.promise_control.resolve()}(s)],e.ready.then((async()=>{await Oi.promise,gi.promise_control.resolve(t)})).catch((e=>{gi.promise_control.reject(e)})),e.ready=gi.promise,e.onAbort||(e.onAbort=()=>de)}function xi(e,r,n){if(t.configSrc||t.config||n||t.print("MONO_WASM: configSrc nor config was specified"),pi=t.config?m.config=t.config:m.config=t.config={},m.diagnosticTracing=!!pi.diagnosticTracing,n){return n(e,((e,t)=>{bi.promise_control.resolve(),r(e,t)}))}return async function(e,r){try{await $i(t.configSrc),m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module");const n=function(e){var t;const r=null===(t=m.config.assets)||void 0===t?void 0:t.find((t=>t.behavior==e));if(!r)throw new Error(`Assert failed: Can't find asset for ${e}`);return r.resolvedUrl||(r.resolvedUrl=Kn(r,"")),r}("dotnetwasm");await Xn(n,!1),await vi.promise,t.addRunDependency("instantiate_wasm_module"),async function(e,t,r){if(!(e&&e.pendingDownloadInternal&&e.pendingDownloadInternal.response))throw new Error("Assert failed: Can't load dotnet.wasm");const n=await e.pendingDownloadInternal.response,o=n.headers&&n.headers.get?n.headers.get("Content-Type"):void 0;let s,a;if("function"==typeof WebAssembly.instantiateStreaming&&"application/wasm"===o){m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module streaming");const e=await WebAssembly.instantiateStreaming(n,t);s=e.instance,a=e.module}else{i&&"application/wasm"!==o&&console.warn('MONO_WASM: WebAssembly resource does not have the expected content type "application/wasm", so falling back to slower ArrayBuffer instantiation.');const e=await n.arrayBuffer();m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module buffered");const r=await WebAssembly.instantiate(e,t);s=r.instance,a=r.module}r(s,a)}(n,e,r),m.diagnosticTracing&&console.debug("MONO_WASM: instantiate_wasm_module done"),bi.promise_control.resolve()}catch(e){throw Ri("MONO_WASM: instantiate_wasm_module() failed",e),Ti(e,!0),e}t.removeRunDependency("instantiate_wasm_module")}(e,r),[]}function ji(e){t.addRunDependency("mono_pre_init");try{t.addRunDependency("mono_wasm_pre_init_essential"),m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_essential"),function(){const e=!!c;for(const r of w){const n=g,[o,s,i,a,c]=r;if(o||e)n[s]=function(...e){const r=t.cwrap(s,i,a,c);return n[s]=r,r(...e)};else{const e=t.cwrap(s,i,a,c);n[s]=e}}}(),function(e){Object.assign(e,{mono_wasm_exit:g.mono_wasm_exit,mono_wasm_enable_on_demand_gc:g.mono_wasm_enable_on_demand_gc,mono_profiler_init_aot:g.mono_profiler_init_aot,mono_wasm_exec_regression:g.mono_wasm_exec_regression})}(r),function(e){Object.assign(e,{mono_wasm_add_assembly:g.mono_wasm_add_assembly})}(Mn),function(e){Object.assign(e,{mono_obj_array_new:g.mono_wasm_obj_array_new,mono_obj_array_set:g.mono_wasm_obj_array_set,mono_obj_array_new_ref:g.mono_wasm_obj_array_new_ref,mono_obj_array_set_ref:g.mono_wasm_obj_array_set_ref})}(Rn),t.removeRunDependency("mono_wasm_pre_init_essential"),m.diagnosticTracing&&console.debug("MONO_WASM: preInit"),vi.promise_control.resolve(),e.forEach((e=>e()))}catch(e){throw Ri("MONO_WASM: user preInint() failed",e),Ti(e,!0),e}(async()=>{try{await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_essential_async"),t.addRunDependency("mono_wasm_pre_init_essential_async"),await async function(){if(o){if(r.require=await m.requirePromise,globalThis.performance===ao){const{performance:e}=r.require("perf_hooks");globalThis.performance=e}if(globalThis.crypto||(globalThis.crypto={}),!globalThis.crypto.getRandomValues){let e;try{e=r.require("node:crypto")}catch(e){}e?e.webcrypto?globalThis.crypto=e.webcrypto:e.randomBytes&&(globalThis.crypto.getRandomValues=t=>{t&&t.set(e.randomBytes(t.length))}):globalThis.crypto.getRandomValues=()=>{throw new Error("Using node without crypto support. To enable current operation, either provide polyfill for 'globalThis.crypto.getRandomValues' or enable 'node:crypto' module.")}}}}(),await $i(t.configSrc),t.removeRunDependency("mono_wasm_pre_init_essential_async")}(),wi||await async function(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_pre_init_full"),t.addRunDependency("mono_wasm_pre_init_full"),await Yn(),t.removeRunDependency("mono_wasm_pre_init_full")}()}catch(e){throw Ti(e,!0),e}Ei.promise_control.resolve(),t.removeRunDependency("mono_pre_init")})()}async function Di(e){t.addRunDependency("mono_pre_run_async"),await bi.promise,await Ei.promise,m.diagnosticTracing&&console.debug("MONO_WASM: preRunAsync");try{e.map((e=>e()))}catch(e){throw Ri("MONO_WASM: user callback preRun() failed",e),Ti(e,!0),e}Ai.promise_control.resolve(),t.removeRunDependency("mono_pre_run_async")}function Ti(e,t){m.diagnosticTracing&&console.trace("MONO_WASM: abort_startup"),gi.promise_control.reject(e),bi.promise_control.reject(e),vi.promise_control.reject(e),Ei.promise_control.reject(e),Ai.promise_control.reject(e),ki.promise_control.reject(e),Si.promise_control.reject(e),Oi.promise_control.reject(e),t&&me(1,e)}async function Mi(){m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_after_user_runtime_initialized");try{if(!t.disableDotnet6Compatibility&&t.exports){const e=globalThis;for(let r=0;r{const n=e.stackSave();try{const s=Lt(4),i=Ht(s,1),a=Ht(s,2),c=Ht(s,3);return Hr(a,t),r&&0==r.length&&(r=void 0),nn(c,r,yr.String),No(o,s),En(i,0,dn)||Promise.resolve(0)}finally{e.stackRestore(n)}},m.javaScriptExports.release_js_owned_object_by_gc_handle=t=>{if(!t)throw new Error("Assert failed: Must be valid gc_handle");const r=e.stackSave();try{const n=Lt(3),o=Ht(n,2);er(o,yr.Object),ur(o,t),No(s,n)}finally{e.stackRestore(r)}},m.javaScriptExports.create_task_callback=()=>{const t=e.stackSave();try{const r=Lt(2);return No(i,r),cr(Ht(r,1))}finally{e.stackRestore(t)}},m.javaScriptExports.complete_task=(t,r,n,o)=>{const s=e.stackSave();try{const i=Lt(5),c=Ht(i,2);er(c,yr.Object),ur(c,t);const u=Ht(i,3);if(r)Qr(u,r);else{er(u,yr.None);const e=Ht(i,4);if(!o)throw new Error("Assert failed: res_converter missing");o(e,n)}No(a,i)}finally{e.stackRestore(s)}},m.javaScriptExports.call_delegate=(t,r,n,o,s,i,a,c)=>{const l=e.stackSave();try{const f=Lt(6),_=Ht(f,2);if(er(_,yr.Object),ur(_,t),i&&i(Ht(f,3),r),a&&a(Ht(f,4),n),c&&c(Ht(f,5),o),No(u,f),s)return s(Ht(f,1))}finally{e.stackRestore(l)}},m.javaScriptExports.get_managed_stack_trace=t=>{const r=e.stackSave();try{const n=Lt(3),o=Ht(n,2);return er(o,yr.Exception),ur(o,t),No(l,n),kn(Ht(n,1))}finally{e.stackRestore(r)}},n&&(m.javaScriptExports.install_synchronization_context=()=>{const t=e.stackSave();try{const r=Lt(2);No(n,r)}finally{e.stackRestore(t)}},c||m.javaScriptExports.install_synchronization_context())})(),ks(),0==Ct.size&&(Ct.set(yr.Array,xn),Ct.set(yr.Span,Dn),Ct.set(yr.ArraySegment,Tn),Ct.set(yr.Boolean,un),Ct.set(yr.Byte,ln),Ct.set(yr.Char,fn),Ct.set(yr.Int16,_n),Ct.set(yr.Int32,dn),Ct.set(yr.Int52,mn),Ct.set(yr.BigInt64,pn),Ct.set(yr.Single,hn),Ct.set(yr.IntPtr,gn),Ct.set(yr.Double,wn),Ct.set(yr.String,kn),Ct.set(yr.Exception,Sn),Ct.set(yr.JSException,Sn),Ct.set(yr.JSObject,On),Ct.set(yr.Object,Nn),Ct.set(yr.DateTime,bn),Ct.set(yr.DateTimeOffset,bn),Ct.set(yr.Task,En),Ct.set(yr.Action,vn),Ct.set(yr.Function,vn),Ct.set(yr.None,yn),Ct.set(yr.Void,yn),Ct.set(yr.Discard,yn)),0==Ut.size&&(Ut.set(yr.Array,rn),Ut.set(yr.Span,on),Ut.set(yr.ArraySegment,sn),Ut.set(yr.Boolean,Fr),Ut.set(yr.Byte,Pr),Ut.set(yr.Char,$r),Ut.set(yr.Int16,Cr),Ut.set(yr.Int32,Ur),Ut.set(yr.Int52,Br),Ut.set(yr.BigInt64,Wr),Ut.set(yr.Double,zr),Ut.set(yr.Single,Lr),Ut.set(yr.IntPtr,Hr),Ut.set(yr.DateTime,Vr),Ut.set(yr.DateTimeOffset,qr),Ut.set(yr.String,Jr),Ut.set(yr.Exception,Qr),Ut.set(yr.JSException,Qr),Ut.set(yr.JSObject,en),Ut.set(yr.Object,tn),Ut.set(yr.Task,Kr),Ut.set(yr.Action,Xr),Ut.set(yr.Function,Xr),Ut.set(yr.None,Yr),Ut.set(yr.Discard,Yr),Ut.set(yr.Void,Yr)),m._i52_error_scratch_buffer=t._malloc(4)}catch(e){throw Ri("MONO_WASM: Error in bindings_init",e),e}}}()}catch(e){if(Ri("MONO_WASM: mono_wasm_load_runtime () failed",e),Ti(e,!1),s||o){(0,g.mono_wasm_exit)(1)}throw e}}}async function $i(e){if(hi)await yi.promise;else{if(hi=!0,!e)return r(),void yi.promise_control.resolve();m.diagnosticTracing&&console.debug("MONO_WASM: mono_wasm_load_config");try{const n=m.locateFile(e),o=await m.fetch_like(n),s=await o.json()||{};if(s.environmentVariables&&"object"!=typeof s.environmentVariables)throw new Error("Expected config.environmentVariables to be unset or a dictionary-style object");if(s.assets=[...s.assets||[],...pi.assets||[]],s.environmentVariables={...s.environmentVariables||{},...pi.environmentVariables||{}},pi=m.config=t.config=Object.assign(t.config,s),r(),t.onConfigLoaded)try{await t.onConfigLoaded(m.config),r()}catch(e){throw Ri("MONO_WASM: onConfigLoaded() failed",e),e}yi.promise_control.resolve()}catch(r){const n=`Failed to load config file ${e} ${r}`;throw Ti(n,!0),pi=m.config=t.config={message:n,error:r,isError:!0},r}}function r(){pi.environmentVariables=pi.environmentVariables||{},pi.assets=pi.assets||[],pi.runtimeOptions=pi.runtimeOptions||[],pi.globalizationMode=pi.globalizationMode||"auto",pi.debugLevel,pi.diagnosticTracing,m.diagnosticTracing=!!m.config.diagnosticTracing}}function Ci(e,r,n,o,s){if(!0!==m.mono_wasm_runtime_is_ready)return;const i=0!==e?t.UTF8ToString(e).concat(".dll"):"",a=y(new Uint8Array(t.HEAPU8.buffer,r,n));let c;if(o){c=y(new Uint8Array(t.HEAPU8.buffer,o,s))}C({eventName:"AssemblyLoaded",assembly_name:i,assembly_b64:a,pdb_b64:c})}async function Ui(e){pi=t.config=m.config=Object.assign(m.config||{},e||{}),await Yn(),wi||await ro()}var Bi,Wi;(function(e){e[e.Sending=0]="Sending",e[e.Closed=1]="Closed",e[e.Error=2]="Error"})(Bi||(Bi={})),function(e){e[e.Idle=0]="Idle",e[e.PartialCommand=1]="PartialCommand",e[e.Error=2]="Error"}(Wi||(Wi={}));const zi=new class{constructor(){this.moduleConfig={disableDotnet6Compatibility:!0,configSrc:"./mono-config.json",config:m.config}}withModuleConfig(e){try{return Object.assign(this.moduleConfig,e),this}catch(e){throw me(1,e),e}}withConsoleForwarding(){try{const e={forwardConsoleLogsToWS:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withAsyncFlushOnExit(){try{const e={asyncFlushOnExit:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withExitCodeLogging(){try{const e={logExitCode:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withElementOnExit(){try{const e={appendElementOnExit:!0};return Object.assign(this.moduleConfig.config,e),this}catch(e){throw me(1,e),e}}withWaitingForDebugger(e){try{const t={waitForDebugger:e};return Object.assign(this.moduleConfig.config,t),this}catch(e){throw me(1,e),e}}withConfig(e){try{const t={...e};return t.assets=[...this.moduleConfig.config.assets||[],...t.assets||[]],t.environmentVariables={...this.moduleConfig.config.environmentVariables||{},...t.environmentVariables||{}},Object.assign(this.moduleConfig.config,t),this}catch(e){throw me(1,e),e}}withConfigSrc(e){try{if(!e||"string"!=typeof e)throw new Error("Assert failed: must be file path or URL");return Object.assign(this.moduleConfig,{configSrc:e}),this}catch(e){throw me(1,e),e}}withVirtualWorkingDirectory(e){try{if(!e||"string"!=typeof e)throw new Error("Assert failed: must be directory path");return this.virtualWorkingDirectory=e,this}catch(e){throw me(1,e),e}}withEnvironmentVariable(e,t){try{return this.moduleConfig.config.environmentVariables[e]=t,this}catch(e){throw me(1,e),e}}withEnvironmentVariables(e){try{if(!e||"object"!=typeof e)throw new Error("Assert failed: must be dictionary object");return Object.assign(this.moduleConfig.config.environmentVariables,e),this}catch(e){throw me(1,e),e}}withDiagnosticTracing(e){try{if("boolean"!=typeof e)throw new Error("Assert failed: must be boolean");return this.moduleConfig.config.diagnosticTracing=e,this}catch(e){throw me(1,e),e}}withDebugging(e){try{if(!e||"number"!=typeof e)throw new Error("Assert failed: must be number");return this.moduleConfig.config.debugLevel=e,this}catch(e){throw me(1,e),e}}withApplicationArguments(...e){try{if(!e||!Array.isArray(e))throw new Error("Assert failed: must be array of strings");return this.applicationArguments=e,this}catch(e){throw me(1,e),e}}withRuntimeOptions(e){try{if(!e||!Array.isArray(e))throw new Error("Assert failed: must be array of strings");return Object.assign(this.moduleConfig,{runtimeOptions:e}),this}catch(e){throw me(1,e),e}}withMainAssembly(e){try{return this.moduleConfig.config.mainAssemblyName=e,this}catch(e){throw me(1,e),e}}withApplicationArgumentsFromQuery(){try{if(void 0!==globalThis.URLSearchParams){const e=new URLSearchParams(window.location.search).getAll("arg");return this.withApplicationArguments(...e)}throw new Error("URLSearchParams is supported")}catch(e){throw me(1,e),e}}async create(){try{if(!this.instance){if(i&&!c&&this.moduleConfig.config.forwardConsoleLogsToWS&&void 0!==globalThis.WebSocket&&function(e,t,r){const n={log:t.log,error:t.error},o=t;function s(t,r,o){return function(...s){try{let n=s[0];if(void 0===n)n="undefined";else if(null===n)n="null";else if("function"==typeof n)n=n.toString();else if("string"!=typeof n)try{n=JSON.stringify(n)}catch(e){n=n.toString()}"string"==typeof n&&"main"!==e&&(n=`[${e}] ${n}`),r(o?JSON.stringify({method:t,payload:n,arguments:s}):[t+n,...s.slice(1)])}catch(e){n.error(`proxyConsole failed: ${e}`)}}}const i=["debug","trace","warn","info","error"];for(const e of i)"function"!=typeof o[e]&&(o[e]=s(`console.${e}: `,t.log,!1));const a=`${r}/console`.replace("https://","wss://").replace("http://","ws://");ce=new WebSocket(a),ce.addEventListener("open",(()=>{n.log(`browser: [${e}] Console websocket connected.`)})),ce.addEventListener("error",(t=>{n.error(`[${e}] websocket error: ${t}`,t)})),ce.addEventListener("close",(t=>{n.error(`[${e}] websocket closed: ${t}`,t)}));const c=e=>{ce.readyState===WebSocket.OPEN?ce.send(e):n.log(e)};for(const e of["log",...i])o[e]=s(`console.${e}`,c,!0)}("main",globalThis.console,globalThis.location.origin),o){const e=await import("process");if(e.versions.node.split(".")[0]<14)throw new Error(`NodeJS at '${e.execPath}' has too low version '${e.versions.node}'`)}if(!this.moduleConfig)throw new Error("Assert failed: Null moduleConfig");if(!this.moduleConfig.config)throw new Error("Assert failed: Null moduleConfig.config");this.instance=await f(this.moduleConfig)}if(this.virtualWorkingDirectory){const e=this.instance.Module.FS,t=e.stat(this.virtualWorkingDirectory);if(!t||!e.isDir(t.mode))throw new Error(`Assert failed: Could not find working directory ${this.virtualWorkingDirectory}`);e.chdir(this.virtualWorkingDirectory)}return this.instance}catch(e){throw me(1,e),e}}async run(){try{if(!this.moduleConfig.config)throw new Error("Assert failed: Null moduleConfig.config");if(this.instance||await this.create(),!this.moduleConfig.config.mainAssemblyName)throw new Error("Assert failed: Null moduleConfig.config.mainAssemblyName");if(!this.applicationArguments)if(o){const e=await import("process");this.applicationArguments=e.argv.slice(2)}else this.applicationArguments=[];return this.instance.runMainAndExit(this.moduleConfig.config.mainAssemblyName,this.applicationArguments)}catch(e){throw me(1,e),e}}};const Li=function(t,r,n,o){const s=r.module,i=globalThis;_(t,r),function(e){Mn=e.mono,Rn=e.binding}(r),io(n),Object.assign(r.mono,{mono_wasm_setenv:Ii,mono_wasm_load_bytes_into_heap:kt,mono_wasm_load_icu_data:J,mono_wasm_runtime_ready:x,mono_wasm_load_data_archive:to,mono_wasm_load_config:$i,mono_load_runtime_and_bcl_args:Ui,mono_wasm_new_root_buffer:Tt,mono_wasm_new_root:Rt,mono_wasm_new_external_root:Mt,mono_wasm_release_roots:It,mono_run_main:fe,mono_run_main_and_exit:le,mono_wasm_add_assembly:null,mono_wasm_load_runtime:Pi,config:m.config,loaded_files:[],setB32:Ye,setI8:et,setI16:tt,setI32:nt,setI52:st,setU52:it,setI64Big:at,setU8:Xe,setU16:Ze,setU32:Qe,setF32:ct,setF64:ut,getB32:lt,getI8:mt,getI16:pt,getI32:ht,getI52:wt,getU52:gt,getI64Big:yt,getU8:ft,getU16:_t,getU32:dt,getF32:bt,getF64:vt}),Object.assign(r.binding,{bind_static_method:ts,call_assembly_entry_point:ns,mono_obj_array_new:null,mono_obj_array_set:null,js_string_to_mono_string:Rr,js_typed_array_to_array:Bo,mono_array_to_js_array:Go,js_to_mono_obj:Po,conv_string:Nr,unbox_mono_obj:Ho,mono_obj_array_new_ref:null,mono_obj_array_set_ref:null,js_string_to_mono_string_root:Tr,js_typed_array_to_array_root:Uo,js_to_mono_obj_root:$o,conv_string_root:xr,unbox_mono_obj_root:Jo,mono_array_root_to_js_array:Xo}),Object.assign(r.internal,di()),Object.assign(r.internal,di());const a={runMain:fe,runMainAndExit:le,setEnvironmentVariable:Ii,getAssemblyExports:jo,setModuleImports:mo,getConfig:()=>m.config,setHeapB32:Ye,setHeapU8:Xe,setHeapU16:Ze,setHeapU32:Qe,setHeapI8:et,setHeapI16:tt,setHeapI32:nt,setHeapI52:st,setHeapU52:it,setHeapI64Big:at,setHeapF32:ct,setHeapF64:ut,getHeapB32:lt,getHeapU8:ft,getHeapU16:_t,getHeapU32:dt,getHeapI8:mt,getHeapI16:pt,getHeapI32:ht,getHeapI52:wt,getHeapU52:gt,getHeapI64Big:yt,getHeapF32:bt,getHeapF64:vt};if(e.__linker_exports={mono_set_timeout:Hs,mono_wasm_asm_loaded:Ci,mono_wasm_fire_debugger_agent_message:j,mono_wasm_debugger_log:V,mono_wasm_add_dbg_command_received:D,schedule_background_exec:Ls,mono_wasm_invoke_js_blazor:ls,mono_wasm_trace_logger:ae,mono_wasm_set_entrypoint_breakpoint:B,mono_wasm_event_pipe_early_startup_callback:mi,mono_wasm_invoke_js_with_args_ref:os,mono_wasm_get_object_property_ref:ss,mono_wasm_set_object_property_ref:is,mono_wasm_get_by_index_ref:as,mono_wasm_set_by_index_ref:cs,mono_wasm_get_global_object_ref:us,mono_wasm_create_cs_owned_object_ref:Zo,mono_wasm_release_cs_owned_object:xe,mono_wasm_typed_array_to_array_ref:zo,mono_wasm_typed_array_from_ref:Mo,mono_wasm_bind_js_function:fo,mono_wasm_invoke_bound_function:_o,mono_wasm_bind_cs_function:Oo,mono_wasm_marshal_promise:An,mono_wasm_load_icu_data:J,mono_wasm_get_icudt_name:G},Object.assign(u,{MONO:r.mono,BINDING:r.binding,INTERNAL:r.internal,IMPORTS:r.marshaled_imports,Module:s,runtimeBuildInfo:{productVersion:"7.0.18",buildConfiguration:"Release"},...a}),Object.assign(o,a),r.module.__undefinedConfig&&(s.disableDotnet6Compatibility=!0,s.configSrc="./mono-config.json"),s.print||(s.print=console.log.bind(console)),s.printErr||(s.printErr=console.error.bind(console)),void 0===s.disableDotnet6Compatibility&&(s.disableDotnet6Compatibility=!0),t.isGlobal||!s.disableDotnet6Compatibility){Object.assign(s,u),s.mono_bind_static_method=(e,t)=>(console.warn("MONO_WASM: Module.mono_bind_static_method is obsolete, please use [JSExportAttribute] interop instead"),ts(e,t));const e=(e,t)=>{if(void 0!==i[e])return;let r;Object.defineProperty(globalThis,e,{get:()=>{if(h(r)){const n=(new Error).stack,o=n?n.substr(n.indexOf("\n",8)+1):"";console.warn(`MONO_WASM: global ${e} is obsolete, please use Module.${e} instead ${o}`),r=t()}return r}})};i.MONO=r.mono,i.BINDING=r.binding,i.INTERNAL=r.internal,t.isGlobal||(i.Module=s),e("cwrap",(()=>s.cwrap)),e("addRunDependency",(()=>s.addRunDependency)),e("removeRunDependency",(()=>s.removeRunDependency))}let c;return i.getDotnetRuntime?c=i.getDotnetRuntime.__list:(i.getDotnetRuntime=e=>i.getDotnetRuntime.__list.getRuntime(e),i.getDotnetRuntime.__list=c=new Vi),c.registerRuntime(u),Ni(s,u),u},Hi=function(e,t){d(t),Object.assign(l,{dotnet:zi,exit:me}),function(e){f=e}(e)};e.__linker_exports=null;class Vi{constructor(){this.list={}}registerRuntime(e){return e.runtimeId=Object.keys(this.list).length,this.list[e.runtimeId]=we(e),e.runtimeId}getRuntime(e){const t=this.list[e];return t?t.deref():void 0}}return e.__initializeImportsAndExports=Li,e.__setEmscriptenEntrypoint=Hi,e.moduleExports=l,Object.defineProperty(e,"__esModule",{value:!0}),e}({}),createDotnetRuntime=(()=>{var e=import.meta.url;return function(t){var r,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise((function(e,t){r=e,n=t}));var s=s||void 0,i=i||"",a={MONO,BINDING,INTERNAL,IMPORTS};if("function"==typeof t){a.Module=o={ready:o.ready};const e=t(a);if(e.ready)throw new Error("MONO_WASM: Module.ready couldn't be redefined.");Object.assign(o,e),(t=o).locateFile||(t.locateFile=t.__locateFile=e=>E+e)}else{if("object"!=typeof t)throw new Error("MONO_WASM: Can't use moduleFactory callback of createDotnetRuntime function.");a.Module=o={ready:o.ready,__undefinedConfig:1===Object.keys(t).length},Object.assign(o,t),(t=o).locateFile||(t.locateFile=t.__locateFile=e=>E+e)}var c,u,l,f,_,d,m=Object.assign({},o),p=[],h="./this.program",w=(e,t)=>{throw t},g="object"==typeof window,y="function"==typeof importScripts,b="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,v=!g&&!b&&!y,E="";function A(e){return o.locateFile?o.locateFile(e,E):E+e}function k(e){if(e instanceof ss)return;O("exiting due to exception: "+e)}b?(E=y?s("path").dirname(E)+"/":i+"/",d=()=>{_||(f=s("fs"),_=s("path"))},c=function(e,t){return d(),e=_.normalize(e),f.readFileSync(e,t?void 0:"utf8")},l=e=>{var t=c(e,!0);return t.buffer||(t=new Uint8Array(t)),t},u=(e,t,r)=>{d(),e=_.normalize(e),f.readFile(e,(function(e,n){e?r(e):t(n.buffer)}))},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),p=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof ss))throw e})),process.on("unhandledRejection",(function(e){throw e})),w=(e,t)=>{if(me())throw process.exitCode=e,t;k(t),process.exit(e)},o.inspect=function(){return"[Emscripten Module object]"}):v?("undefined"!=typeof read&&(c=function(e){return read(e)}),l=function(e){let t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(t=read(e,"binary"),I("object"==typeof t),t)},u=function(e,t,r){setTimeout((()=>t(l(e))),0)},"undefined"!=typeof scriptArgs?p=scriptArgs:void 0!==arguments&&(p=arguments),"function"==typeof quit&&(w=(e,t)=>{k(t),quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(g||y)&&(y?E=self.location.href:"undefined"!=typeof document&&document.currentScript&&(E=document.currentScript.src),e&&(E=e),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"",c=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},y&&(l=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),u=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var S=o.print||console.log.bind(console),O=o.printErr||console.warn.bind(console);Object.assign(o,m),m=null,o.arguments&&(p=o.arguments),o.thisProgram&&(h=o.thisProgram),o.quit&&(w=o.quit);var N,x=0,j=e=>{x=e},D=()=>x;o.wasmBinary&&(N=o.wasmBinary);var T,M=o.noExitRuntime||!0;"object"!=typeof WebAssembly&&Oe("no native wasm support detected");var R=!1;function I(e,t){e||Oe(t)}function F(e){return o["_"+e]}function P(e,t,r,n,o){var s={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);z(e,t=fo(r),r)}return t},array:function(e){var t=fo(e.length);return ae(e,t),t}};var i=F(e),a=[],c=0;if(n)for(var u=0;u=n);)++o;if(o-t>16&&e.buffer&&C)return C.decode(e.subarray(t,o));for(var s="";t>10,56320|1023&u)}}else s+=String.fromCharCode((31&i)<<6|a)}else s+=String.fromCharCode(i)}return s}function B(e,t){return e?U(q,e,t):""}function W(e,t,r,n){if(!(n>0))return 0;for(var o=r,s=r+n-1,i=0;i=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(a<=127){if(r>=s)break;t[r++]=a}else if(a<=2047){if(r+1>=s)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=s)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=s)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-o}function z(e,t,r){return W(e,q,t,r)}function L(e){for(var t=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}var H,V,q,J,G,Y,X,Z,K,Q="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function ee(e,t){for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&G[n];)++n;if((r=n<<1)-e>32&&Q)return Q.decode(q.subarray(e,r));for(var s="",i=0;!(i>=t/2);++i){var a=J[e+2*i>>1];if(0==a)break;s+=String.fromCharCode(a)}return s}function te(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,s=0;s>1]=i,t+=2}return J[t>>1]=0,t-n}function re(e){return 2*e.length}function ne(e,t){for(var r=0,n="";!(r>=t/4);){var o=Y[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var s=o-65536;n+=String.fromCharCode(55296|s>>10,56320|1023&s)}else n+=String.fromCharCode(o)}return n}function oe(e,t,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,s=0;s=55296&&i<=57343)i=65536+((1023&i)<<10)|1023&e.charCodeAt(++s);if(Y[t>>2]=i,(t+=4)+4>o)break}return Y[t>>2]=0,t-n}function se(e){for(var t=0,r=0;r=55296&&n<=57343&&++r,t+=4}return t}function ie(e){var t=L(e)+1,r=ro(t);return r&&W(e,V,r,t),r}function ae(e,t){V.set(e,t)}function ce(e,t,r){for(var n=0;n>0]=e.charCodeAt(n);r||(V[t>>0]=0)}function ue(e){H=e,o.HEAP8=V=new Int8Array(e),o.HEAP16=J=new Int16Array(e),o.HEAP32=Y=new Int32Array(e),o.HEAPU8=q=new Uint8Array(e),o.HEAPU16=G=new Uint16Array(e),o.HEAPU32=X=new Uint32Array(e),o.HEAPF32=Z=new Float32Array(e),o.HEAPF64=K=new Float64Array(e)}o.INITIAL_MEMORY;var le,fe=[],_e=[],de=[];function me(){return M}function pe(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)ge(o.preRun.shift());Pe(fe)}function he(){!0,o.noFSInit||mt.init.initialized||mt.init(),mt.ignorePermissions=!1,at.init(),gt.root=mt.mount(gt,{},null),Pe(_e)}function we(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)be(o.postRun.shift());Pe(de)}function ge(e){fe.unshift(e)}function ye(e){_e.unshift(e)}function be(e){de.unshift(e)}var ve=0,Ee=null,Ae=null;function ke(e){ve++,o.monitorRunDependencies&&o.monitorRunDependencies(ve)}function Se(e){if(ve--,o.monitorRunDependencies&&o.monitorRunDependencies(ve),0==ve&&(null!==Ee&&(clearInterval(Ee),Ee=null),Ae)){var t=Ae;Ae=null,t()}}function Oe(e){o.onAbort&&o.onAbort(e),O(e="Aborted("+e+")"),R=!0,1,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}var Ne,xe,je,De="data:application/octet-stream;base64,";function Te(e){return e.startsWith(De)}function Me(e){return e.startsWith("file://")}function Re(e){try{if(e==Ne&&N)return new Uint8Array(N);if(l)return l(e);throw"both async and sync fetching of the wasm failed"}catch(e){Oe(e)}}function Ie(){if(!N&&(g||y)){if("function"==typeof Kn&&!Me(Ne))return Kn(Ne,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Ne+"'";return e.arrayBuffer()})).catch((function(){return Re(Ne)}));if(u)return new Promise((function(e,t){u(Ne,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return Re(Ne)}))}function Fe(){var e={a:to};function t(e,t){var r=e.exports;o.asm=r,ue((T=o.asm.Ab).buffer),le=o.asm.Fb,ye(o.asm.Bb),Se()}function r(e){t(e.instance)}function s(t){return Ie().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){O("failed to asynchronously prepare wasm: "+e),Oe(e)}))}if(ke(),o.instantiateWasm)try{return o.instantiateWasm(e,t)}catch(e){return O("Module.instantiateWasm callback failed with error: "+e),!1}return(N||"function"!=typeof WebAssembly.instantiateStreaming||Te(Ne)||Me(Ne)||"function"!=typeof Kn?s(r):Kn(Ne,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return O("wasm streaming compile failed: "+e),O("falling back to ArrayBuffer instantiation"),s(r)}))}))).catch(n),{}}function Pe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?Ue(r)():Ue(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(o)}}function $e(e,t="i8"){switch(t.endsWith("*")&&(t="i32"),t){case"i1":case"i8":return V[e>>0];case"i16":return J[e>>1];case"i32":case"i64":return Y[e>>2];case"float":return Z[e>>2];case"double":return Number(K[e>>3]);default:Oe("invalid type for getValue: "+t)}return null}o.locateFile?Te(Ne="dotnet.wasm")||(Ne=A(Ne)):Ne=new URL("dotnet.wasm",import.meta.url).toString();var Ce=[];function Ue(e){var t=Ce[e];return t||(e>=Ce.length&&(Ce.length=e+1),Ce[e]=t=le.get(e)),t}function Be(e,t,r="i8"){switch(r.endsWith("*")&&(r="i32"),r){case"i1":case"i8":V[e>>0]=t;break;case"i16":J[e>>1]=t;break;case"i32":Y[e>>2]=t;break;case"i64":je=[t>>>0,(xe=t,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[e>>2]=je[0],Y[e+4>>2]=je[1];break;case"float":Z[e>>2]=t;break;case"double":K[e>>3]=t;break;default:Oe("invalid type for setValue: "+r)}}function We(e,t,r,n){Oe("Assertion failed: "+B(e)+", at: "+[t?B(t):"unknown filename",r,n?B(n):"unknown function"])}function ze(e){return ro(e+24)+24}var Le=[];function He(e){e.add_ref()}var Ve=0;function qe(e){var t=new Ge(e);return t.get_caught()||(t.set_caught(!0),Ve--),t.set_rethrown(!1),Le.push(t),He(t),t.get_exception_ptr()}var Je=0;function Ge(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){X[this.ptr+4>>2]=e},this.get_type=function(){return X[this.ptr+4>>2]},this.set_destructor=function(e){X[this.ptr+8>>2]=e},this.get_destructor=function(){return X[this.ptr+8>>2]},this.set_refcount=function(e){Y[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,V[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=V[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,V[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=V[this.ptr+13>>0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=Y[this.ptr>>2];Y[this.ptr>>2]=e+1},this.release_ref=function(){var e=Y[this.ptr>>2];return Y[this.ptr>>2]=e-1,1===e},this.set_adjusted_ptr=function(e){X[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return X[this.ptr+16>>2]},this.get_exception_ptr=function(){if(mo(this.get_type()))return X[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}function Ye(e){return no(new Ge(e).ptr)}function Xe(e){if(e.release_ref()&&!e.get_rethrown()){var t=e.get_destructor();t&&Ue(t)(e.excPtr),Ye(e.excPtr)}}function Ze(){co(0),Xe(Le.pop()),Je=0}function Ke(e){throw Je||(Je=e),e}function Qe(){var e=Je;if(!e)return j(0),0;var t=new Ge(e);t.set_adjusted_ptr(e);var r=t.get_type();if(!r)return j(0),e;for(var n=Array.prototype.slice.call(arguments),o=0;o"/"===e.charAt(0),splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray:(e,t)=>{for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:e=>{var t=ot.isAbs(e),r="/"===e.substr(-1);return(e=ot.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:e=>{var t=ot.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:e=>{if("/"===e)return"/";var t=(e=(e=ot.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},join:function(){var e=Array.prototype.slice.call(arguments,0);return ot.normalize(e.join("/"))},join2:(e,t)=>ot.normalize(e+"/"+t)};function st(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}if(b)try{var t=s("crypto");return function(){return t.randomBytes(1)[0]}}catch(e){}return function(){Oe("randomDevice")}}var it={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:mt.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t=ot.isAbs(n)}return(t?"/":"")+(e=ot.normalizeArray(e.split("/").filter((e=>!!e)),!t).join("/"))||"."},relative:(e,t)=>{function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=it.resolve(e).substr(1),t=it.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),s=Math.min(n.length,o.length),i=s,a=0;a0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;e.input=Qn(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(S(U(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(S(U(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(O(U(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(O(U(e.output,0)),e.output=[])}}};function ct(e,t){q.fill(0,e,e+t)}function ut(e,t){return Math.ceil(e/t)*t}function lt(e){e=ut(e,65536);var t=io(65536,e);return t?(ct(t,e),t):0}var ft={ops_table:null,mount:function(e){return ft.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(mt.isBlkdev(r)||mt.isFIFO(r))throw new mt.ErrnoError(63);ft.ops_table||(ft.ops_table={dir:{node:{getattr:ft.node_ops.getattr,setattr:ft.node_ops.setattr,lookup:ft.node_ops.lookup,mknod:ft.node_ops.mknod,rename:ft.node_ops.rename,unlink:ft.node_ops.unlink,rmdir:ft.node_ops.rmdir,readdir:ft.node_ops.readdir,symlink:ft.node_ops.symlink},stream:{llseek:ft.stream_ops.llseek}},file:{node:{getattr:ft.node_ops.getattr,setattr:ft.node_ops.setattr},stream:{llseek:ft.stream_ops.llseek,read:ft.stream_ops.read,write:ft.stream_ops.write,allocate:ft.stream_ops.allocate,mmap:ft.stream_ops.mmap,msync:ft.stream_ops.msync}},link:{node:{getattr:ft.node_ops.getattr,setattr:ft.node_ops.setattr,readlink:ft.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ft.node_ops.getattr,setattr:ft.node_ops.setattr},stream:mt.chrdev_stream_ops}});var o=mt.createNode(e,t,r,n);return mt.isDir(o.mode)?(o.node_ops=ft.ops_table.dir.node,o.stream_ops=ft.ops_table.dir.stream,o.contents={}):mt.isFile(o.mode)?(o.node_ops=ft.ops_table.file.node,o.stream_ops=ft.ops_table.file.stream,o.usedBytes=0,o.contents=null):mt.isLink(o.mode)?(o.node_ops=ft.ops_table.link.node,o.stream_ops=ft.ops_table.link.stream):mt.isChrdev(o.mode)&&(o.node_ops=ft.ops_table.chrdev.node,o.stream_ops=ft.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;if(!(r>=t)){t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=mt.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,mt.isDir(e.mode)?t.size=4096:mt.isFile(e.mode)?t.size=e.usedBytes:mt.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&ft.resizeFileStorage(e,t.size)},lookup:function(e,t){throw mt.genericErrors[44]},mknod:function(e,t,r,n){return ft.createNode(e,t,r,n)},rename:function(e,t,r){if(mt.isDir(e.mode)){var n;try{n=mt.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new mt.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){var r=mt.lookupNode(e,t);for(var n in r.contents)throw new mt.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=ft.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!mt.isLink(e.mode))throw new mt.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var s=e.node.contents;if(o>=e.node.usedBytes)return 0;var i=Math.min(e.node.usedBytes-o,n);if(i>8&&s.subarray)t.set(s.subarray(o,o+i),r);else for(var a=0;a0||r+t=e.node.size)return 0;var s=e.node.contents.slice(o,o+n),i=dt.reader.readAsArrayBuffer(s);return t.set(new Uint8Array(i),r),s.size},write:function(e,t,r,n,o){throw new mt.ErrnoError(29)},llseek:function(e,t,r){var n=t;if(1===r?n+=e.position:2===r&&mt.isFile(e.node.mode)&&(n+=e.node.size),n<0)throw new mt.ErrnoError(28);return n}}},mt={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(e,t={})=>{if(!(e=it.resolve(mt.cwd(),e)))return{path:"",node:null};if((t=Object.assign({follow_mount:!0,recurse_count:0},t)).recurse_count>8)throw new mt.ErrnoError(32);for(var r=ot.normalizeArray(e.split("/").filter((e=>!!e)),!1),n=mt.root,o="/",s=0;s40)throw new mt.ErrnoError(32)}}return{path:o,node:n}},getPath:e=>{for(var t;;){if(mt.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?r+"/"+t:r+t:r}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:(e,t)=>{for(var r=0,n=0;n>>0)%mt.nameTable.length},hashAddNode:e=>{var t=mt.hashName(e.parent.id,e.name);e.name_next=mt.nameTable[t],mt.nameTable[t]=e},hashRemoveNode:e=>{var t=mt.hashName(e.parent.id,e.name);if(mt.nameTable[t]===e)mt.nameTable[t]=e.name_next;else for(var r=mt.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:(e,t)=>{var r=mt.mayLookup(e);if(r)throw new mt.ErrnoError(r,e);for(var n=mt.hashName(e.id,t),o=mt.nameTable[n];o;o=o.name_next){var s=o.name;if(o.parent.id===e.id&&s===t)return o}return mt.lookup(e,t)},createNode:(e,t,r,n)=>{var o=new mt.FSNode(e,t,r,n);return mt.hashAddNode(o),o},destroyNode:e=>{mt.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>49152==(49152&e),flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:e=>{var t=mt.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:e=>{var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:(e,t)=>mt.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2,mayLookup:e=>{var t=mt.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:(e,t)=>{try{mt.lookupNode(e,t);return 20}catch(e){}return mt.nodePermissions(e,"wx")},mayDelete:(e,t,r)=>{var n;try{n=mt.lookupNode(e,t)}catch(e){return e.errno}var o=mt.nodePermissions(e,"wx");if(o)return o;if(r){if(!mt.isDir(n.mode))return 54;if(mt.isRoot(n)||mt.getPath(n)===mt.cwd())return 10}else if(mt.isDir(n.mode))return 31;return 0},mayOpen:(e,t)=>e?mt.isLink(e.mode)?32:mt.isDir(e.mode)&&("r"!==mt.flagsToPermissionString(t)||512&t)?31:mt.nodePermissions(e,mt.flagsToPermissionString(t)):44,MAX_OPEN_FDS:4096,nextfd:(e=0,t=mt.MAX_OPEN_FDS)=>{for(var r=e;r<=t;r++)if(!mt.streams[r])return r;throw new mt.ErrnoError(33)},getStream:e=>mt.streams[e],createStream:(e,t,r)=>{mt.FSStream||(mt.FSStream=function(){this.shared={}},mt.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(e){this.shared.flags=e}},position:{get function(){return this.shared.position},set:function(e){this.shared.position=e}}}),e=Object.assign(new mt.FSStream,e);var n=mt.nextfd(t,r);return e.fd=n,mt.streams[n]=e,e},closeStream:e=>{mt.streams[e]=null},chrdev_stream_ops:{open:e=>{var t=mt.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:()=>{throw new mt.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,t)=>e<<8|t,registerDevice:(e,t)=>{mt.devices[e]={stream_ops:t}},getDevice:e=>mt.devices[e],getMounts:e=>{for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:(e,t)=>{"function"==typeof e&&(t=e,e=!1),mt.syncFSRequests++,mt.syncFSRequests>1&&O("warning: "+mt.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var r=mt.getMounts(mt.root.mount),n=0;function o(e){return mt.syncFSRequests--,t(e)}function s(e){if(e)return s.errored?void 0:(s.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((t=>{if(!t.type.syncfs)return s(null);t.type.syncfs(t,e,s)}))},mount:(e,t,r)=>{var n,o="/"===r,s=!r;if(o&&mt.root)throw new mt.ErrnoError(10);if(!o&&!s){var i=mt.lookupPath(r,{follow_mount:!1});if(r=i.path,n=i.node,mt.isMountpoint(n))throw new mt.ErrnoError(10);if(!mt.isDir(n.mode))throw new mt.ErrnoError(54)}var a={type:e,opts:t,mountpoint:r,mounts:[]},c=e.mount(a);return c.mount=a,a.root=c,o?mt.root=c:n&&(n.mounted=a,n.mount&&n.mount.mounts.push(a)),c},unmount:e=>{var t=mt.lookupPath(e,{follow_mount:!1});if(!mt.isMountpoint(t.node))throw new mt.ErrnoError(28);var r=t.node,n=r.mounted,o=mt.getMounts(n);Object.keys(mt.nameTable).forEach((e=>{for(var t=mt.nameTable[e];t;){var r=t.name_next;o.includes(t.mount)&&mt.destroyNode(t),t=r}})),r.mounted=null;var s=r.mount.mounts.indexOf(n);r.mount.mounts.splice(s,1)},lookup:(e,t)=>e.node_ops.lookup(e,t),mknod:(e,t,r)=>{var n=mt.lookupPath(e,{parent:!0}).node,o=ot.basename(e);if(!o||"."===o||".."===o)throw new mt.ErrnoError(28);var s=mt.mayCreate(n,o);if(s)throw new mt.ErrnoError(s);if(!n.node_ops.mknod)throw new mt.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:(e,t)=>(t=void 0!==t?t:438,t&=4095,t|=32768,mt.mknod(e,t,0)),mkdir:(e,t)=>(t=void 0!==t?t:511,t&=1023,t|=16384,mt.mknod(e,t,0)),mkdirTree:(e,t)=>{for(var r=e.split("/"),n="",o=0;o(void 0===r&&(r=t,t=438),t|=8192,mt.mknod(e,t,r)),symlink:(e,t)=>{if(!it.resolve(e))throw new mt.ErrnoError(44);var r=mt.lookupPath(t,{parent:!0}).node;if(!r)throw new mt.ErrnoError(44);var n=ot.basename(t),o=mt.mayCreate(r,n);if(o)throw new mt.ErrnoError(o);if(!r.node_ops.symlink)throw new mt.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename:(e,t)=>{var r,n,o=ot.dirname(e),s=ot.dirname(t),i=ot.basename(e),a=ot.basename(t);if(r=mt.lookupPath(e,{parent:!0}).node,n=mt.lookupPath(t,{parent:!0}).node,!r||!n)throw new mt.ErrnoError(44);if(r.mount!==n.mount)throw new mt.ErrnoError(75);var c,u=mt.lookupNode(r,i),l=it.relative(e,s);if("."!==l.charAt(0))throw new mt.ErrnoError(28);if("."!==(l=it.relative(t,o)).charAt(0))throw new mt.ErrnoError(55);try{c=mt.lookupNode(n,a)}catch(e){}if(u!==c){var f=mt.isDir(u.mode),_=mt.mayDelete(r,i,f);if(_)throw new mt.ErrnoError(_);if(_=c?mt.mayDelete(n,a,f):mt.mayCreate(n,a))throw new mt.ErrnoError(_);if(!r.node_ops.rename)throw new mt.ErrnoError(63);if(mt.isMountpoint(u)||c&&mt.isMountpoint(c))throw new mt.ErrnoError(10);if(n!==r&&(_=mt.nodePermissions(r,"w")))throw new mt.ErrnoError(_);mt.hashRemoveNode(u);try{r.node_ops.rename(u,n,a)}catch(e){throw e}finally{mt.hashAddNode(u)}}},rmdir:e=>{var t=mt.lookupPath(e,{parent:!0}).node,r=ot.basename(e),n=mt.lookupNode(t,r),o=mt.mayDelete(t,r,!0);if(o)throw new mt.ErrnoError(o);if(!t.node_ops.rmdir)throw new mt.ErrnoError(63);if(mt.isMountpoint(n))throw new mt.ErrnoError(10);t.node_ops.rmdir(t,r),mt.destroyNode(n)},readdir:e=>{var t=mt.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new mt.ErrnoError(54);return t.node_ops.readdir(t)},unlink:e=>{var t=mt.lookupPath(e,{parent:!0}).node;if(!t)throw new mt.ErrnoError(44);var r=ot.basename(e),n=mt.lookupNode(t,r),o=mt.mayDelete(t,r,!1);if(o)throw new mt.ErrnoError(o);if(!t.node_ops.unlink)throw new mt.ErrnoError(63);if(mt.isMountpoint(n))throw new mt.ErrnoError(10);t.node_ops.unlink(t,r),mt.destroyNode(n)},readlink:e=>{var t=mt.lookupPath(e).node;if(!t)throw new mt.ErrnoError(44);if(!t.node_ops.readlink)throw new mt.ErrnoError(28);return it.resolve(mt.getPath(t.parent),t.node_ops.readlink(t))},stat:(e,t)=>{var r=mt.lookupPath(e,{follow:!t}).node;if(!r)throw new mt.ErrnoError(44);if(!r.node_ops.getattr)throw new mt.ErrnoError(63);return r.node_ops.getattr(r)},lstat:e=>mt.stat(e,!0),chmod:(e,t,r)=>{var n;"string"==typeof e?n=mt.lookupPath(e,{follow:!r}).node:n=e;if(!n.node_ops.setattr)throw new mt.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:(e,t)=>{mt.chmod(e,t,!0)},fchmod:(e,t)=>{var r=mt.getStream(e);if(!r)throw new mt.ErrnoError(8);mt.chmod(r.node,t)},chown:(e,t,r,n)=>{var o;"string"==typeof e?o=mt.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new mt.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:(e,t,r)=>{mt.chown(e,t,r,!0)},fchown:(e,t,r)=>{var n=mt.getStream(e);if(!n)throw new mt.ErrnoError(8);mt.chown(n.node,t,r)},truncate:(e,t)=>{if(t<0)throw new mt.ErrnoError(28);var r;"string"==typeof e?r=mt.lookupPath(e,{follow:!0}).node:r=e;if(!r.node_ops.setattr)throw new mt.ErrnoError(63);if(mt.isDir(r.mode))throw new mt.ErrnoError(31);if(!mt.isFile(r.mode))throw new mt.ErrnoError(28);var n=mt.nodePermissions(r,"w");if(n)throw new mt.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:(e,t)=>{var r=mt.getStream(e);if(!r)throw new mt.ErrnoError(8);if(0==(2097155&r.flags))throw new mt.ErrnoError(28);mt.truncate(r.node,t)},utime:(e,t,r)=>{var n=mt.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(t,r)})},open:(e,t,r)=>{if(""===e)throw new mt.ErrnoError(44);var n;if(r=void 0===r?438:r,r=64&(t="string"==typeof t?mt.modeStringToFlags(t):t)?4095&r|32768:0,"object"==typeof e)n=e;else{e=ot.normalize(e);try{n=mt.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}var s=!1;if(64&t)if(n){if(128&t)throw new mt.ErrnoError(20)}else n=mt.mknod(e,r,0),s=!0;if(!n)throw new mt.ErrnoError(44);if(mt.isChrdev(n.mode)&&(t&=-513),65536&t&&!mt.isDir(n.mode))throw new mt.ErrnoError(54);if(!s){var i=mt.mayOpen(n,t);if(i)throw new mt.ErrnoError(i)}512&t&&!s&&mt.truncate(n,0),t&=-131713;var a=mt.createStream({node:n,path:mt.getPath(n),flags:t,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return a.stream_ops.open&&a.stream_ops.open(a),!o.logReadFiles||1&t||(mt.readFiles||(mt.readFiles={}),e in mt.readFiles||(mt.readFiles[e]=1)),a},close:e=>{if(mt.isClosed(e))throw new mt.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{mt.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek:(e,t,r)=>{if(mt.isClosed(e))throw new mt.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new mt.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new mt.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:(e,t,r,n,o)=>{if(n<0||o<0)throw new mt.ErrnoError(28);if(mt.isClosed(e))throw new mt.ErrnoError(8);if(1==(2097155&e.flags))throw new mt.ErrnoError(8);if(mt.isDir(e.node.mode))throw new mt.ErrnoError(31);if(!e.stream_ops.read)throw new mt.ErrnoError(28);var s=void 0!==o;if(s){if(!e.seekable)throw new mt.ErrnoError(70)}else o=e.position;var i=e.stream_ops.read(e,t,r,n,o);return s||(e.position+=i),i},write:(e,t,r,n,o,s)=>{if(n<0||o<0)throw new mt.ErrnoError(28);if(mt.isClosed(e))throw new mt.ErrnoError(8);if(0==(2097155&e.flags))throw new mt.ErrnoError(8);if(mt.isDir(e.node.mode))throw new mt.ErrnoError(31);if(!e.stream_ops.write)throw new mt.ErrnoError(28);e.seekable&&1024&e.flags&&mt.llseek(e,0,2);var i=void 0!==o;if(i){if(!e.seekable)throw new mt.ErrnoError(70)}else o=e.position;var a=e.stream_ops.write(e,t,r,n,o,s);return i||(e.position+=a),a},allocate:(e,t,r)=>{if(mt.isClosed(e))throw new mt.ErrnoError(8);if(t<0||r<=0)throw new mt.ErrnoError(28);if(0==(2097155&e.flags))throw new mt.ErrnoError(8);if(!mt.isFile(e.node.mode)&&!mt.isDir(e.node.mode))throw new mt.ErrnoError(43);if(!e.stream_ops.allocate)throw new mt.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:(e,t,r,n,o)=>{if(0!=(2&n)&&0==(2&o)&&2!=(2097155&e.flags))throw new mt.ErrnoError(2);if(1==(2097155&e.flags))throw new mt.ErrnoError(2);if(!e.stream_ops.mmap)throw new mt.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o)},msync:(e,t,r,n,o)=>e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0,munmap:e=>0,ioctl:(e,t,r)=>{if(!e.stream_ops.ioctl)throw new mt.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:(e,t={})=>{if(t.flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var r,n=mt.open(e,t.flags),o=mt.stat(e).size,s=new Uint8Array(o);return mt.read(n,s,0,o,0),"utf8"===t.encoding?r=U(s,0):"binary"===t.encoding&&(r=s),mt.close(n),r},writeFile:(e,t,r={})=>{r.flags=r.flags||577;var n=mt.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(L(t)+1),s=W(t,o,0,o.length);mt.write(n,o,0,s,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");mt.write(n,t,0,t.byteLength,void 0,r.canOwn)}mt.close(n)},cwd:()=>mt.currentPath,chdir:e=>{var t=mt.lookupPath(e,{follow:!0});if(null===t.node)throw new mt.ErrnoError(44);if(!mt.isDir(t.node.mode))throw new mt.ErrnoError(54);var r=mt.nodePermissions(t.node,"x");if(r)throw new mt.ErrnoError(r);mt.currentPath=t.path},createDefaultDirectories:()=>{mt.mkdir("/tmp"),mt.mkdir("/home"),mt.mkdir("/home/web_user")},createDefaultDevices:()=>{mt.mkdir("/dev"),mt.registerDevice(mt.makedev(1,3),{read:()=>0,write:(e,t,r,n,o)=>n}),mt.mkdev("/dev/null",mt.makedev(1,3)),at.register(mt.makedev(5,0),at.default_tty_ops),at.register(mt.makedev(6,0),at.default_tty1_ops),mt.mkdev("/dev/tty",mt.makedev(5,0)),mt.mkdev("/dev/tty1",mt.makedev(6,0));var e=st();mt.createDevice("/dev","random",e),mt.createDevice("/dev","urandom",e),mt.mkdir("/dev/shm"),mt.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{mt.mkdir("/proc");var e=mt.mkdir("/proc/self");mt.mkdir("/proc/self/fd"),mt.mount({mount:()=>{var t=mt.createNode(e,"fd",16895,73);return t.node_ops={lookup:(e,t)=>{var r=+t,n=mt.getStream(r);if(!n)throw new mt.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:()=>{o.stdin?mt.createDevice("/dev","stdin",o.stdin):mt.symlink("/dev/tty","/dev/stdin"),o.stdout?mt.createDevice("/dev","stdout",null,o.stdout):mt.symlink("/dev/tty","/dev/stdout"),o.stderr?mt.createDevice("/dev","stderr",null,o.stderr):mt.symlink("/dev/tty1","/dev/stderr");mt.open("/dev/stdin",0),mt.open("/dev/stdout",1),mt.open("/dev/stderr",1)},ensureErrnoError:()=>{mt.ErrnoError||(mt.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},mt.ErrnoError.prototype=new Error,mt.ErrnoError.prototype.constructor=mt.ErrnoError,[44].forEach((e=>{mt.genericErrors[e]=new mt.ErrnoError(e),mt.genericErrors[e].stack=""})))},staticInit:()=>{mt.ensureErrnoError(),mt.nameTable=new Array(4096),mt.mount(ft,{},"/"),mt.createDefaultDirectories(),mt.createDefaultDevices(),mt.createSpecialDirectories(),mt.filesystems={MEMFS:ft,WORKERFS:dt}},init:(e,t,r)=>{mt.init.initialized=!0,mt.ensureErrnoError(),o.stdin=e||o.stdin,o.stdout=t||o.stdout,o.stderr=r||o.stderr,mt.createStandardStreams()},quit:()=>{mt.init.initialized=!1;for(var e=0;e{var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:(e,t)=>{var r=mt.analyzePath(e,t);return r.exists?r.object:null},analyzePath:(e,t)=>{try{e=(n=mt.lookupPath(e,{follow:!t})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=mt.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=ot.basename(e),n=mt.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath:(e,t,r,n)=>{e="string"==typeof e?e:mt.getPath(e);for(var o=t.split("/").reverse();o.length;){var s=o.pop();if(s){var i=ot.join2(e,s);try{mt.mkdir(i)}catch(e){}e=i}}return i},createFile:(e,t,r,n,o)=>{var s=ot.join2("string"==typeof e?e:mt.getPath(e),t),i=mt.getMode(n,o);return mt.create(s,i)},createDataFile:(e,t,r,n,o,s)=>{var i=t;e&&(e="string"==typeof e?e:mt.getPath(e),i=t?ot.join2(e,t):e);var a=mt.getMode(n,o),c=mt.create(i,a);if(r){if("string"==typeof r){for(var u=new Array(r.length),l=0,f=r.length;l{var o=ot.join2("string"==typeof e?e:mt.getPath(e),t),s=mt.getMode(!!r,!!n);mt.createDevice.major||(mt.createDevice.major=64);var i=mt.makedev(mt.createDevice.major++,0);return mt.registerDevice(i,{open:e=>{e.seekable=!1},close:e=>{n&&n.buffer&&n.buffer.length&&n(10)},read:(e,t,n,o,s)=>{for(var i=0,a=0;a{for(var i=0;i{if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!c)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Qn(c(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new mt.ErrnoError(29)}},createLazyFile:(e,t,r,n,o)=>{function s(){this.lengthKnown=!1,this.chunks=[]}if(s.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},s.prototype.setDataGetter=function(e){this.getter=e},s.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,s=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,i=1048576;o||(i=n);var a=this;a.setDataGetter((e=>{var t=e*i,o=(e+1)*i-1;if(o=Math.min(o,n-1),void 0===a.chunks[e]&&(a.chunks[e]=((e,t)=>{if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==i&&o.setRequestHeader("Range","bytes="+e+"-"+t),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):Qn(o.responseText||"",!0)})(t,o)),void 0===a.chunks[e])throw new Error("doXHR failed!");return a.chunks[e]})),!s&&n||(i=n=1,n=this.getter(0).length,i=n,S("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!y)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new s;Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var a={isDevice:!1,contents:i}}else a={isDevice:!1,url:r};var c=mt.createFile(e,t,a,n,o);a.contents?c.contents=a.contents:a.url&&(c.contents=null,c.url=a.url),Object.defineProperties(c,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(c.stream_ops).forEach((e=>{var t=c.stream_ops[e];u[e]=function(){return mt.forceLoadFile(c),t.apply(null,arguments)}})),u.read=(e,t,r,n,o)=>{mt.forceLoadFile(c);var s=e.node.contents;if(o>=s.length)return 0;var i=Math.min(s.length-o,n);if(s.slice)for(var a=0;a{var l=t?it.resolve(ot.join2(e,t)):e;function f(r){function f(r){u&&u(),a||mt.createDataFile(e,t,r,n,o,c),s&&s(),Se()}Browser.handledByPreloadPlugin(r,l,f,(()=>{i&&i(),Se()}))||f(r)}ke(),"string"==typeof r?_t(r,(e=>f(e)),i):f(r)},indexedDB:()=>window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,DB_NAME:()=>"EM_FS_"+window.location.pathname,DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(e,t,r)=>{t=t||(()=>{}),r=r||(()=>{});var n=mt.indexedDB();try{var o=n.open(mt.DB_NAME(),mt.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=()=>{S("creating db"),o.result.createObjectStore(mt.DB_STORE_NAME)},o.onsuccess=()=>{var n=o.result.transaction([mt.DB_STORE_NAME],"readwrite"),s=n.objectStore(mt.DB_STORE_NAME),i=0,a=0,c=e.length;function u(){0==a?t():r()}e.forEach((e=>{var t=s.put(mt.analyzePath(e).object.contents,e);t.onsuccess=()=>{++i+a==c&&u()},t.onerror=()=>{a++,i+a==c&&u()}})),n.onerror=r},o.onerror=r},loadFilesFromDB:(e,t,r)=>{t=t||(()=>{}),r=r||(()=>{});var n=mt.indexedDB();try{var o=n.open(mt.DB_NAME(),mt.DB_VERSION)}catch(e){return r(e)}o.onupgradeneeded=r,o.onsuccess=()=>{var n=o.result;try{var s=n.transaction([mt.DB_STORE_NAME],"readonly")}catch(e){return void r(e)}var i=s.objectStore(mt.DB_STORE_NAME),a=0,c=0,u=e.length;function l(){0==c?t():r()}e.forEach((e=>{var t=i.get(e);t.onsuccess=()=>{mt.analyzePath(e).exists&&mt.unlink(e),mt.createDataFile(ot.dirname(e),ot.basename(e),t.result,!0,!0,!0),++a+c==u&&l()},t.onerror=()=>{c++,a+c==u&&l()}})),s.onerror=r},o.onerror=r}},pt={DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if(ot.isAbs(t))return t;var n;if(-100===e)n=mt.cwd();else{var o=mt.getStream(e);if(!o)throw new mt.ErrnoError(8);n=o.path}if(0==t.length){if(!r)throw new mt.ErrnoError(44);return n}return ot.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&ot.normalize(t)!==ot.normalize(mt.getPath(e.node)))return-54;throw e}return Y[r>>2]=n.dev,Y[r+4>>2]=0,Y[r+8>>2]=n.ino,Y[r+12>>2]=n.mode,Y[r+16>>2]=n.nlink,Y[r+20>>2]=n.uid,Y[r+24>>2]=n.gid,Y[r+28>>2]=n.rdev,Y[r+32>>2]=0,je=[n.size>>>0,(xe=n.size,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[r+40>>2]=je[0],Y[r+44>>2]=je[1],Y[r+48>>2]=4096,Y[r+52>>2]=n.blocks,Y[r+56>>2]=n.atime.getTime()/1e3|0,Y[r+60>>2]=0,Y[r+64>>2]=n.mtime.getTime()/1e3|0,Y[r+68>>2]=0,Y[r+72>>2]=n.ctime.getTime()/1e3|0,Y[r+76>>2]=0,je=[n.ino>>>0,(xe=n.ino,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[r+80>>2]=je[0],Y[r+84>>2]=je[1],0},doMsync:function(e,t,r,n,o){var s=q.slice(e,e+r);mt.msync(t,s,o,r,n)},varargs:void 0,get:function(){return pt.varargs+=4,Y[pt.varargs-4>>2]},getStr:function(e){return B(e)},getStreamFromFD:function(e){var t=mt.getStream(e);if(!t)throw new mt.ErrnoError(8);return t}};function ht(e){try{return e=pt.getStr(e),mt.chdir(e),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function wt(e,t){try{return e=pt.getStr(e),mt.chmod(e,t),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}var gt={mount:function(e){return o.websocket=o.websocket&&"object"==typeof o.websocket?o.websocket:{},o.websocket._callbacks={},o.websocket.on=function(e,t){return"function"==typeof t&&(this._callbacks[e]=t),this},o.websocket.emit=function(e,t){"function"==typeof this._callbacks[e]&&this._callbacks[e].call(this,t)},mt.createNode(null,"/",16895,0)},createSocket:function(e,t,r){if(1==(t&=-526337)&&r&&6!=r)throw new mt.ErrnoError(66);var n={family:e,type:t,protocol:r,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:gt.websocket_sock_ops},o=gt.nextname(),s=mt.createNode(gt.root,o,49152,0);s.sock=n;var i=mt.createStream({path:o,node:s,flags:2,seekable:!1,stream_ops:gt.stream_ops});return n.stream=i,n},getSocket:function(e){var t=mt.getStream(e);return t&&mt.isSocket(t.node.mode)?t.node.sock:null},stream_ops:{poll:function(e){var t=e.node.sock;return t.sock_ops.poll(t)},ioctl:function(e,t,r){var n=e.node.sock;return n.sock_ops.ioctl(n,t,r)},read:function(e,t,r,n,o){var s=e.node.sock,i=s.sock_ops.recvmsg(s,n);return i?(t.set(i.buffer,r),i.buffer.length):0},write:function(e,t,r,n,o){var s=e.node.sock;return s.sock_ops.sendmsg(s,t,r,n)},close:function(e){var t=e.node.sock;t.sock_ops.close(t)}},nextname:function(){return gt.nextname.current||(gt.nextname.current=0),"socket["+gt.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(e,t,r){var n;if("object"==typeof t&&(n=t,t=null,r=null),n)if(n._socket)t=n._socket.remoteAddress,r=n._socket.remotePort;else{var i=/ws[s]?:\/\/([^:]+):(\d+)/.exec(n.url);if(!i)throw new Error("WebSocket URL must be in the format ws(s)://address:port");t=i[1],r=parseInt(i[2],10)}else try{var a=o.websocket&&"object"==typeof o.websocket,c="ws:#".replace("#","//");if(a&&"string"==typeof o.websocket.url&&(c=o.websocket.url),"ws://"===c||"wss://"===c){var u=t.split("/");c=c+u[0]+":"+r+"/"+u.slice(1).join("/")}var l="binary";a&&"string"==typeof o.websocket.subprotocol&&(l=o.websocket.subprotocol);var f=void 0;"null"!==l&&(f=l=l.replace(/^ +| +$/g,"").split(/ *, */)),a&&null===o.websocket.subprotocol&&(l="null",f=void 0),(n=new(b?s("ws"):WebSocket)(c,f)).binaryType="arraybuffer"}catch(e){throw new mt.ErrnoError(23)}var _={addr:t,port:r,socket:n,dgram_send_queue:[]};return gt.websocket_sock_ops.addPeer(e,_),gt.websocket_sock_ops.handlePeerEvents(e,_),2===e.type&&void 0!==e.sport&&_.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(65280&e.sport)>>8,255&e.sport])),_},getPeer:function(e,t,r){return e.peers[t+":"+r]},addPeer:function(e,t){e.peers[t.addr+":"+t.port]=t},removePeer:function(e,t){delete e.peers[t.addr+":"+t.port]},handlePeerEvents:function(e,t){var r=!0,n=function(){o.websocket.emit("open",e.stream.fd);try{for(var r=t.dgram_send_queue.shift();r;)t.socket.send(r),r=t.dgram_send_queue.shift()}catch(e){t.socket.close()}};function s(n){if("string"==typeof n){n=(new TextEncoder).encode(n)}else{if(I(void 0!==n.byteLength),0==n.byteLength)return;n=new Uint8Array(n)}var s=r;if(r=!1,s&&10===n.length&&255===n[0]&&255===n[1]&&255===n[2]&&255===n[3]&&n[4]==="p".charCodeAt(0)&&n[5]==="o".charCodeAt(0)&&n[6]==="r".charCodeAt(0)&&n[7]==="t".charCodeAt(0)){var i=n[8]<<8|n[9];return gt.websocket_sock_ops.removePeer(e,t),t.port=i,void gt.websocket_sock_ops.addPeer(e,t)}e.recv_queue.push({addr:t.addr,port:t.port,data:n}),o.websocket.emit("message",e.stream.fd)}b?(t.socket.on("open",n),t.socket.on("message",(function(e,t){t&&s(new Uint8Array(e).buffer)})),t.socket.on("close",(function(){o.websocket.emit("close",e.stream.fd)})),t.socket.on("error",(function(t){e.error=14,o.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])}))):(t.socket.onopen=n,t.socket.onclose=function(){o.websocket.emit("close",e.stream.fd)},t.socket.onmessage=function(e){s(e.data)},t.socket.onerror=function(t){e.error=14,o.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])})},poll:function(e){if(1===e.type&&e.server)return e.pending.length?65:0;var t=0,r=1===e.type?gt.websocket_sock_ops.getPeer(e,e.daddr,e.dport):null;return(e.recv_queue.length||!r||r&&r.socket.readyState===r.socket.CLOSING||r&&r.socket.readyState===r.socket.CLOSED)&&(t|=65),(!r||r&&r.socket.readyState===r.socket.OPEN)&&(t|=4),(r&&r.socket.readyState===r.socket.CLOSING||r&&r.socket.readyState===r.socket.CLOSED)&&(t|=16),t},ioctl:function(e,t,r){if(21531===t){var n=0;return e.recv_queue.length&&(n=e.recv_queue[0].data.length),Y[r>>2]=n,0}return 28},close:function(e){if(e.server){try{e.server.close()}catch(e){}e.server=null}for(var t=Object.keys(e.peers),r=0;r>2]=e,e}function vt(e){return(255&e)+"."+(e>>8&255)+"."+(e>>16&255)+"."+(e>>24&255)}function Et(e){var t="",r=0,n=0,o=0,s=0,i=0,a=0,c=[65535&e[0],e[0]>>16,65535&e[1],e[1]>>16,65535&e[2],e[2]>>16,65535&e[3],e[3]>>16],u=!0,l="";for(a=0;a<5;a++)if(0!==c[a]){u=!1;break}if(u){if(l=vt(c[6]|c[7]<<16),-1===c[5])return t="::ffff:",t+=l;if(0===c[5])return t="::","0.0.0.0"===l&&(l=""),"0.0.0.1"===l&&(l="1"),t+=l}for(r=0;r<8;r++)0===c[r]&&(r-o>1&&(i=0),o=r,i++),i>n&&(s=r-(n=i)+1);for(r=0;r<8;r++)n>1&&0===c[r]&&r>=s&&r>1],o=ao(G[e+2>>1]);switch(n){case 2:if(16!==t)return{errno:28};r=vt(r=Y[e+4>>2]);break;case 10:if(28!==t)return{errno:28};r=Et(r=[Y[e+8>>2],Y[e+12>>2],Y[e+16>>2],Y[e+20>>2]]);break;default:return{errno:5}}return{family:n,addr:r,port:o}}function kt(e){for(var t=e.split("."),r=0;r<4;r++){var n=Number(t[r]);if(isNaN(n))return null;t[r]=n}return(t[0]|t[1]<<8|t[2]<<16|t[3]<<24)>>>0}function St(e){return parseInt(e)}function Ot(e){var t,r,n,o,s=[];if(!/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i.test(e))return null;if("::"===e)return[0,0,0,0,0,0,0,0];for((e=e.startsWith("::")?e.replace("::","Z:"):e.replace("::",":Z:")).indexOf(".")>0?((t=(e=e.replace(new RegExp("[.]","g"),":")).split(":"))[t.length-4]=St(t[t.length-4])+256*St(t[t.length-3]),t[t.length-3]=St(t[t.length-2])+256*St(t[t.length-1]),t=t.slice(0,t.length-2)):t=e.split(":"),n=0,o=0,r=0;r>1]=2,0;case 16:case 8:default:return-28;case 9:return bt(28),-1}}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function It(e,t){try{var r=pt.getStreamFromFD(e);return pt.doStat(mt.stat,r.path,t)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Ft(e,t,r){try{return e=pt.getStr(e),Y[r+4>>2]=4096,Y[r+40>>2]=4096,Y[r+8>>2]=1e6,Y[r+12>>2]=5e5,Y[r+16>>2]=5e5,Y[r+20>>2]=mt.nextInode,Y[r+24>>2]=1e6,Y[r+28>>2]=42,Y[r+44>>2]=2,Y[r+36>>2]=255,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Pt(e,t,r){try{pt.getStreamFromFD(e);return Ft(0,0,r)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function $t(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function Ct(e,t,r){try{var n=$t(t,r);return isNaN(n)?-61:(mt.ftruncate(e,n),0)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Ut(e,t){try{if(0===t)return-28;var r=mt.cwd(),n=L(r)+1;return t>>0,(xe=c,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[t+s>>2]=je[0],Y[t+s+4>>2]=je[1],je=[(a+1)*o>>>0,(xe=(a+1)*o,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[t+s+8>>2]=je[0],Y[t+s+12>>2]=je[1],J[t+s+16>>1]=280,V[t+s+18>>0]=u,z(l,t+s+19,256),s+=o,a+=1}return mt.llseek(n,a*o,0),s}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Wt(e,t,r){pt.varargs=r;try{var n=pt.getStreamFromFD(e);switch(t){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var o=pt.get();return Y[o>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:o=pt.get();return mt.ioctl(n,t,o);default:Oe("bad ioctl syscall "+t)}}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function zt(e,t){try{return e=pt.getStr(e),pt.doStat(mt.lstat,e,t)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Lt(e,t,r){try{return t=pt.getStr(t),t=pt.calculateAt(e,t),"/"===(t=ot.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),mt.mkdir(t,r,0),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Ht(e,t,r,n){try{t=pt.getStr(t);var o=256&n,s=4096&n;return n&=-4353,t=pt.calculateAt(e,t,s),pt.doStat(o?mt.lstat:mt.stat,t,r)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Vt(e,t,r,n){pt.varargs=n;try{t=pt.getStr(t),t=pt.calculateAt(e,t);var o=n?pt.get():0;return mt.open(t,r,o).fd}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function qt(e,t,r,n){try{if(t=pt.getStr(t),t=pt.calculateAt(e,t),n<=0)return-28;var o=mt.readlink(t),s=Math.min(n,L(o)),i=V[r+s];return z(o,r,n+1),V[r+s]=i,s}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Jt(e,t,r,n){try{return t=pt.getStr(t),n=pt.getStr(n),t=pt.calculateAt(e,t),n=pt.calculateAt(r,n),mt.rename(t,n),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Gt(e){try{return e=pt.getStr(e),mt.rmdir(e),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Yt(e,t,r,n,o,s){try{var i=yt(e),a=xt(o,s,!0);return a?i.sock_ops.sendmsg(i,V,t,r,a.addr,a.port):mt.write(i.stream,V,t,r)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Xt(e,t,r){try{return gt.createSocket(e,t,r).stream.fd}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Zt(e,t){try{return e=pt.getStr(e),pt.doStat(mt.stat,e,t)}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Kt(e,t,r){try{return t=pt.getStr(t),t=pt.calculateAt(e,t),0===r?mt.unlink(t):512===r?mt.rmdir(t):Oe("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Qt(e,t,r,n){try{if(t=pt.getStr(t),t=pt.calculateAt(e,t,!0),r){var o=Y[r>>2],s=Y[r+4>>2];i=1e3*o+s/1e6,a=1e3*(o=Y[(r+=8)>>2])+(s=Y[r+4>>2])/1e6}else var i=Date.now(),a=i;return mt.utime(t,i,a),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function er(e,t,r,n,o){}function tr(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function rr(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);nr=e}var nr=void 0;function or(e){for(var t="",r=e;q[r];)t+=nr[q[r++]];return t}var sr={},ir={},ar={},cr=48,ur=57;function lr(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=cr&&t<=ur?"_"+e:e}function fr(e,t){return e=lr(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function _r(e,t){var r=fr(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var dr=void 0;function mr(e){throw new dr(e)}function pr(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||mr('type "'+n+'" must have a positive integer typeid pointer'),ir.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;mr("Cannot register type '"+n+"' twice")}if(ir[e]=t,delete ar[e],sr.hasOwnProperty(e)){var o=sr[e];delete sr[e],o.forEach((e=>e()))}}function hr(e,t,r,n,o){var s=tr(r);pr(e,{name:t=or(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=V;else if(2===r)n=J;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=Y}return this.fromWireType(n[e>>s])},destructorFunction:null})}var wr=[],gr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function yr(e){e>4&&0==--gr[e].refcount&&(gr[e]=void 0,wr.push(e))}function br(){for(var e=0,t=5;t(e||mr("Cannot use deleted val. handle = "+e),gr[e].value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=wr.length?wr.pop():gr.length;return gr[t]={refcount:1,value:e},t}}};function kr(e){return this.fromWireType(X[e>>2])}function Sr(e,t){pr(e,{name:t=or(t),fromWireType:function(e){var t=Ar.toValue(e);return yr(e),t},toWireType:function(e,t){return Ar.toHandle(t)},argPackAdvance:8,readValueFromPointer:kr,destructorFunction:null})}function Or(e,t){switch(t){case 2:return function(e){return this.fromWireType(Z[e>>2])};case 3:return function(e){return this.fromWireType(K[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Nr(e,t,r){var n=tr(r);pr(e,{name:t=or(t),fromWireType:function(e){return e},toWireType:function(e,t){return t},argPackAdvance:8,readValueFromPointer:Or(t,n),destructorFunction:null})}function xr(e,t,r){switch(t){case 0:return r?function(e){return V[e]}:function(e){return q[e]};case 1:return r?function(e){return J[e>>1]}:function(e){return G[e>>1]};case 2:return r?function(e){return Y[e>>2]}:function(e){return X[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function jr(e,t,r,n,o){t=or(t),-1===o&&(o=4294967295);var s=tr(r),i=e=>e;if(0===n){var a=32-8*r;i=e=>e<>>a}var c=t.includes("unsigned");pr(e,{name:t,fromWireType:i,toWireType:c?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:xr(t,s,0!==n),destructorFunction:null})}function Dr(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=X,r=t[e>>=2],o=t[e+1];return new n(H,o,r)}pr(e,{name:r=or(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})}function Tr(e,t){var r="std::string"===(t=or(t));pr(e,{name:t,fromWireType:function(e){var t,n=X[e>>2];if(r)for(var o=e+4,s=0;s<=n;++s){var i=e+4+s;if(s==n||0==q[i]){var a=B(o,i-o);void 0===t?t=a:(t+=String.fromCharCode(0),t+=a),o=i+1}}else{var c=new Array(n);for(s=0;sL(t):()=>t.length)(),s=ro(4+o+1);if(X[s>>2]=o,r&&n)z(t,s+4,o+1);else if(n)for(var i=0;i255&&(no(s),mr("String has UTF-16 code units that do not fit in 8 bits")),q[s+4+i]=a}else for(i=0;iG,a=1):4===t&&(n=ne,o=oe,i=se,s=()=>X,a=2),pr(e,{name:r,fromWireType:function(e){for(var r,o=X[e>>2],i=s(),c=e+4,u=0;u<=o;++u){var l=e+4+u*t;if(u==o||0==i[l>>a]){var f=n(c,l-c);void 0===r?r=f:(r+=String.fromCharCode(0),r+=f),c=l+t}}return no(e),r},toWireType:function(e,n){"string"!=typeof n&&mr("Cannot pass non-string to C++ string type "+r);var s=i(n),c=ro(4+s+t);return X[c>>2]=s>>a,o(n,c+4,s+t),null!==e&&e.push(no,c),c},argPackAdvance:8,readValueFromPointer:kr,destructorFunction:function(e){no(e)}})}function Rr(e,t){pr(e,{isVoid:!0,name:t=or(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,t){}})}function Ir(){return Date.now()}var Fr=!0;function Pr(){return Fr}function $r(){throw 1/0}function Cr(e,t){var r=new Date(1e3*Y[e>>2]);Y[t>>2]=r.getUTCSeconds(),Y[t+4>>2]=r.getUTCMinutes(),Y[t+8>>2]=r.getUTCHours(),Y[t+12>>2]=r.getUTCDate(),Y[t+16>>2]=r.getUTCMonth(),Y[t+20>>2]=r.getUTCFullYear()-1900,Y[t+24>>2]=r.getUTCDay();var n=Date.UTC(r.getUTCFullYear(),0,1,0,0,0,0),o=(r.getTime()-n)/864e5|0;Y[t+28>>2]=o}function Ur(e,t){var r=new Date(1e3*Y[e>>2]);Y[t>>2]=r.getSeconds(),Y[t+4>>2]=r.getMinutes(),Y[t+8>>2]=r.getHours(),Y[t+12>>2]=r.getDate(),Y[t+16>>2]=r.getMonth(),Y[t+20>>2]=r.getFullYear()-1900,Y[t+24>>2]=r.getDay();var n=new Date(r.getFullYear(),0,1),o=(r.getTime()-n.getTime())/864e5|0;Y[t+28>>2]=o,Y[t+36>>2]=-60*r.getTimezoneOffset();var s=new Date(r.getFullYear(),6,1).getTimezoneOffset(),i=n.getTimezoneOffset(),a=0|(s!=i&&r.getTimezoneOffset()==Math.min(i,s));Y[t+32>>2]=a}function Br(e){var t=new Date(Y[e+20>>2]+1900,Y[e+16>>2],Y[e+12>>2],Y[e+8>>2],Y[e+4>>2],Y[e>>2],0),r=Y[e+32>>2],n=t.getTimezoneOffset(),o=new Date(t.getFullYear(),0,1),s=new Date(t.getFullYear(),6,1).getTimezoneOffset(),i=o.getTimezoneOffset(),a=Math.min(i,s);if(r<0)Y[e+32>>2]=Number(s!=i&&a==n);else if(r>0!=(a==n)){var c=Math.max(i,s),u=r>0?a:c;t.setTime(t.getTime()+6e4*(u-n))}Y[e+24>>2]=t.getDay();var l=(t.getTime()-o.getTime())/864e5|0;return Y[e+28>>2]=l,Y[e>>2]=t.getSeconds(),Y[e+4>>2]=t.getMinutes(),Y[e+8>>2]=t.getHours(),Y[e+12>>2]=t.getDate(),Y[e+16>>2]=t.getMonth(),t.getTime()/1e3|0}function Wr(e,t,r,n,o,s){try{var i=mt.getStream(n);if(!i)return-8;var a=mt.mmap(i,e,o,t,r),c=a.ptr;return Y[s>>2]=a.allocated,c}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function zr(e,t,r,n,o,s){try{var i=mt.getStream(o);i&&(2&r&&pt.doMsync(e,i,t,n,s),mt.munmap(i))}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return-e.errno}}function Lr(e,t,r){var n=(new Date).getFullYear(),o=new Date(n,0,1),s=new Date(n,6,1),i=o.getTimezoneOffset(),a=s.getTimezoneOffset(),c=Math.max(i,a);function u(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}Y[e>>2]=60*c,Y[t>>2]=Number(i!=a);var l=u(o),f=u(s),_=ie(l),d=ie(f);a>2]=_,X[r+4>>2]=d):(X[r>>2]=d,X[r+4>>2]=_)}function Hr(e,t,r){Hr.called||(Hr.called=!0,Lr(e,t,r))}function Vr(){Oe("")}var qr,Jr={batchedQuotaMax:65536,getBatchedRandomValues:function(e,t){const r="undefined"!=typeof SharedArrayBuffer&&o.HEAPU8.buffer instanceof SharedArrayBuffer,n=r?new ArrayBuffer(t):o.HEAPU8.buffer,s=r?0:e;for(let e=0;e>>16),ue(T.buffer),1}catch(e){}}function Qr(e){var t=q.length,r=2147483648;if((e>>>=0)>r)return!1;for(var n=1;n<=4;n*=2){var o=t*(1+.2/n);if(o=Math.min(o,e+100663296),Kr(Math.min(r,(s=Math.max(e,o))+((i=65536)-s%i)%i)))return!0}var s,i;return!1}qr=b?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:()=>performance.now();var en={};function tn(){return h||"./this.program"}function rn(){if(!rn.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:tn()};for(var t in en)void 0===en[t]?delete e[t]:e[t]=en[t];var r=[];for(var t in e)r.push(t+"="+e[t]);rn.strings=r}return rn.strings}function nn(e,t){var r=0;return rn().forEach((function(n,o){var s=t+r;X[e+4*o>>2]=s,ce(n,s),r+=n.length+1})),0}function on(e,t){var r=rn();X[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),X[t>>2]=n,0}function sn(e){as(e)}function an(e){try{var t=pt.getStreamFromFD(e);return mt.close(t),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function cn(e,t){try{var r=pt.getStreamFromFD(e),n=r.tty?2:mt.isDir(r.mode)?3:mt.isLink(r.mode)?7:4;return V[t>>0]=n,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function un(e,t,r,n){for(var o=0,s=0;s>2],a=X[t+4>>2];t+=8;var c=mt.read(e,V,i,a,n);if(c<0)return-1;if(o+=c,c>2]=a,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function fn(e,t,r,n){for(var o=0,s=0;s>2],a=X[t+4>>2];t+=8;var c=mt.write(e,V,i,a,n);if(c<0)return-1;o+=c}return o}function _n(e,t,r,n,o,s){try{var i=$t(n,o);if(isNaN(i))return 61;var a=fn(pt.getStreamFromFD(e),t,r,i);return Y[s>>2]=a,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function dn(e,t,r,n){try{var o=un(pt.getStreamFromFD(e),t,r);return Y[n>>2]=o,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function mn(e,t,r,n,o){try{var s=$t(t,r);if(isNaN(s))return 61;var i=pt.getStreamFromFD(e);return mt.llseek(i,s,n),je=[i.position>>>0,(xe=i.position,+Math.abs(xe)>=1?xe>0?(0|Math.min(+Math.floor(xe/4294967296),4294967295))>>>0:~~+Math.ceil((xe-+(~~xe>>>0))/4294967296)>>>0:0)],Y[o>>2]=je[0],Y[o+4>>2]=je[1],i.getdents&&0===s&&0===n&&(i.getdents=null),0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function pn(e){try{var t=pt.getStreamFromFD(e);return t.stream_ops&&t.stream_ops.fsync?-t.stream_ops.fsync(t):0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function hn(e,t,r,n){try{var o=fn(pt.getStreamFromFD(e),t,r);return X[n>>2]=o,0}catch(e){if(void 0===mt||!(e instanceof mt.ErrnoError))throw e;return e.errno}}function wn(){return D()}function gn(e){return e}function yn(){return __dotnet_runtime.__linker_exports.mono_set_timeout.apply(__dotnet_runtime,arguments)}function bn(){return __dotnet_runtime.__linker_exports.mono_wasm_bind_cs_function.apply(__dotnet_runtime,arguments)}function vn(){return __dotnet_runtime.__linker_exports.mono_wasm_bind_js_function.apply(__dotnet_runtime,arguments)}function En(){return __dotnet_runtime.__linker_exports.mono_wasm_create_cs_owned_object_ref.apply(__dotnet_runtime,arguments)}function An(){return __dotnet_runtime.__linker_exports.mono_wasm_get_by_index_ref.apply(__dotnet_runtime,arguments)}function kn(){return __dotnet_runtime.__linker_exports.mono_wasm_get_global_object_ref.apply(__dotnet_runtime,arguments)}function Sn(){return __dotnet_runtime.__linker_exports.mono_wasm_get_object_property_ref.apply(__dotnet_runtime,arguments)}function On(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_bound_function.apply(__dotnet_runtime,arguments)}function Nn(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_js_blazor.apply(__dotnet_runtime,arguments)}function xn(){return __dotnet_runtime.__linker_exports.mono_wasm_invoke_js_with_args_ref.apply(__dotnet_runtime,arguments)}function jn(){return __dotnet_runtime.__linker_exports.mono_wasm_marshal_promise.apply(__dotnet_runtime,arguments)}function Dn(){return __dotnet_runtime.__linker_exports.mono_wasm_release_cs_owned_object.apply(__dotnet_runtime,arguments)}function Tn(){return __dotnet_runtime.__linker_exports.mono_wasm_set_by_index_ref.apply(__dotnet_runtime,arguments)}function Mn(){return __dotnet_runtime.__linker_exports.mono_wasm_set_entrypoint_breakpoint.apply(__dotnet_runtime,arguments)}function Rn(){return __dotnet_runtime.__linker_exports.mono_wasm_set_object_property_ref.apply(__dotnet_runtime,arguments)}function In(){return __dotnet_runtime.__linker_exports.mono_wasm_trace_logger.apply(__dotnet_runtime,arguments)}function Fn(){return __dotnet_runtime.__linker_exports.mono_wasm_typed_array_from_ref.apply(__dotnet_runtime,arguments)}function Pn(){return __dotnet_runtime.__linker_exports.mono_wasm_typed_array_to_array_ref.apply(__dotnet_runtime,arguments)}function $n(){return __dotnet_runtime.__linker_exports.schedule_background_exec.apply(__dotnet_runtime,arguments)}function Cn(e){j(e)}function Un(e){return e%4==0&&(e%100!=0||e%400==0)}function Bn(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Wn=[31,29,31,30,31,30,31,31,30,31,30,31],zn=[31,28,31,30,31,30,31,31,30,31,30,31];function Ln(e,t){for(var r=new Date(e.getTime());t>0;){var n=Un(r.getFullYear()),o=r.getMonth(),s=(n?Wn:zn)[o];if(!(t>s-r.getDate()))return r.setDate(r.getDate()+t),r;t-=s-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function Hn(e,t,r,n){var o=Y[n+40>>2],s={tm_sec:Y[n>>2],tm_min:Y[n+4>>2],tm_hour:Y[n+8>>2],tm_mday:Y[n+12>>2],tm_mon:Y[n+16>>2],tm_year:Y[n+20>>2],tm_wday:Y[n+24>>2],tm_yday:Y[n+28>>2],tm_isdst:Y[n+32>>2],tm_gmtoff:Y[n+36>>2],tm_zone:o?B(o):""},i=B(r),a={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var c in a)i=i.replace(new RegExp(c,"g"),a[c]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function f(e,t,r){for(var n="number"==typeof e?e.toString():e||"";n.length0?1:0}var n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function m(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function p(e){var t=Ln(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(t.getFullYear(),0,4),n=new Date(t.getFullYear()+1,0,4),o=m(r),s=m(n);return d(o,t)<=0?d(s,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var h={"%a":function(e){return u[e.tm_wday].substring(0,3)},"%A":function(e){return u[e.tm_wday]},"%b":function(e){return l[e.tm_mon].substring(0,3)},"%B":function(e){return l[e.tm_mon]},"%C":function(e){return _((e.tm_year+1900)/100|0,2)},"%d":function(e){return _(e.tm_mday,2)},"%e":function(e){return f(e.tm_mday,2," ")},"%g":function(e){return p(e).toString().substring(2)},"%G":function(e){return p(e)},"%H":function(e){return _(e.tm_hour,2)},"%I":function(e){var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),_(t,2)},"%j":function(e){return _(e.tm_mday+Bn(Un(e.tm_year+1900)?Wn:zn,e.tm_mon-1),3)},"%m":function(e){return _(e.tm_mon+1,2)},"%M":function(e){return _(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return _(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var t=e.tm_yday+7-e.tm_wday;return _(Math.floor(t/7),2)},"%V":function(e){var t=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&t++,t){if(53==t){var r=(e.tm_wday+371-e.tm_yday)%7;4==r||3==r&&Un(e.tm_year)||(t=1)}}else{t=52;var n=(e.tm_wday+7-e.tm_yday-1)%7;(4==n||5==n&&Un(e.tm_year%400-1))&&t++}return _(t,2)},"%w":function(e){return e.tm_wday},"%W":function(e){var t=e.tm_yday+7-(e.tm_wday+6)%7;return _(Math.floor(t/7),2)},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var t=e.tm_gmtoff,r=t>=0;return t=(t=Math.abs(t)/60)/60*100+t%60,(r?"+":"-")+String("0000"+t).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var c in i=i.replace(/%%/g,"\0\0"),h)i.includes(c)&&(i=i.replace(new RegExp(c,"g"),h[c](s)));var w=Qn(i=i.replace(/\0\0/g,"%"),!1);return w.length>t?0:(ae(w,e),w.length-1)}function Vn(e,t,r,n){return Hn(e,t,r,n)}var qn=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=mt.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},Jn=365,Gn=146;let Yn;Object.defineProperties(qn.prototype,{read:{get:function(){return(this.mode&Jn)===Jn},set:function(e){e?this.mode|=Jn:this.mode&=~Jn}},write:{get:function(){return(this.mode&Gn)===Gn},set:function(e){e?this.mode|=Gn:this.mode&=~Gn}},isFolder:{get:function(){return mt.isDir(this.mode)}},isDevice:{get:function(){return mt.isChrdev(this.mode)}}}),mt.FSNode=qn,mt.staticInit(),o.FS_createPath=mt.createPath,o.FS_createDataFile=mt.createDataFile,o.FS_readFile=mt.readFile,o.FS_createPath=mt.createPath,o.FS_createDataFile=mt.createDataFile,o.FS_createPreloadedFile=mt.createPreloadedFile,o.FS_unlink=mt.unlink,o.FS_createLazyFile=mt.createLazyFile,o.FS_createDevice=mt.createDevice,rr(),dr=o.BindingError=_r(Error,"BindingError"),o.InternalError=_r(Error,"InternalError"),Er();let Xn={scriptUrl:import.meta.url,fetch:globalThis.fetch,require:s,updateGlobalBufferAndViews:ue,pthreadReplacements:Yn};b&&(Xn.requirePromise=import("module").then((e=>e.createRequire(import.meta.url))));let Zn=__dotnet_runtime.__initializeImportsAndExports({isGlobal:!1,isNode:b,isWorker:y,isShell:v,isWeb:g,isPThread:!1,quit_:w,ExitStatus:ss,requirePromise:Xn.requirePromise},{mono:MONO,binding:BINDING,internal:INTERNAL,module:o,marshaled_imports:IMPORTS},Xn,a);ue=Xn.updateGlobalBufferAndViews;var Kn=Xn.fetch;e=i=E=Xn.scriptDirectory,b&&Xn.requirePromise.then((e=>{s=e}));M=Xn.noExitRuntime;function Qn(e,t,r){var n=r>0?r:L(e)+1,o=new Array(n),s=W(e,o,0,o.length);return t&&(o.length=s),o}var eo,to={C:We,i:ze,v:qe,w:Ze,b:Qe,j:et,l:Ye,fa:tt,m:rt,zb:nt,f:Ke,yb:ht,ea:wt,xb:jt,wb:Dt,La:Tt,vb:Mt,E:Rt,ub:It,tb:Pt,Ka:Ct,sb:Ut,rb:Bt,qb:Wt,pb:zt,ob:Lt,nb:Ht,da:Vt,mb:qt,lb:Jt,ca:Gt,kb:Yt,ba:Xt,jb:Zt,aa:Kt,ib:Qt,Ga:er,db:hr,cb:Sr,_:Nr,G:jr,B:Dr,Z:Tr,O:Mr,bb:Rr,K:Ir,Y:Pr,ab:$r,$a:Cr,_a:Ur,Za:Br,Ya:Wr,Xa:zr,Wa:Hr,n:Vr,X:Gr,Va:Yr,N:qr,Ua:Xr,Ta:Zr,Sa:Qr,hb:nn,gb:on,A:sn,L:an,fb:cn,Ja:ln,Ia:_n,$:dn,Ha:mn,eb:pn,P:hn,a:wn,W:Xo,V:Yo,y:Wo,e:vo,d:Ao,c:So,q:Oo,U:Go,s:Mo,Ra:Co,x:Ro,Qa:Io,T:Lo,S:qo,R:jo,Q:Ho,D:To,Fa:ns,Ea:es,Da:rs,Ca:Qo,Ba:os,t:Bo,o:ko,Pa:Do,h:No,Oa:Ko,g:Eo,p:xo,r:Fo,u:$o,z:Uo,Na:Jo,J:Po,F:zo,Ma:Vo,M:Zo,Aa:ts,H:gn,za:yn,ya:bn,xa:vn,wa:En,va:An,ua:kn,ta:Sn,sa:On,ra:Nn,qa:xn,pa:jn,oa:Dn,na:Tn,ma:Mn,la:Rn,ka:In,ja:Fn,ia:Pn,ha:$n,k:Cn,I:Hn,ga:Vn},ro=(Fe(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.Bb).apply(null,arguments)},o._malloc=function(){return(ro=o._malloc=o.asm.Cb).apply(null,arguments)}),no=o._free=function(){return(no=o._free=o.asm.Db).apply(null,arguments)},oo=(o._memset=function(){return(o._memset=o.asm.Eb).apply(null,arguments)},o.___errno_location=function(){return(oo=o.___errno_location=o.asm.Gb).apply(null,arguments)}),so=(o._memalign=function(){return(o._memalign=o.asm.Hb).apply(null,arguments)},o._htons=function(){return(so=o._htons=o.asm.Ib).apply(null,arguments)}),io=(o._mono_wasm_register_root=function(){return(o._mono_wasm_register_root=o.asm.Jb).apply(null,arguments)},o._mono_wasm_deregister_root=function(){return(o._mono_wasm_deregister_root=o.asm.Kb).apply(null,arguments)},o._mono_wasm_add_assembly=function(){return(o._mono_wasm_add_assembly=o.asm.Lb).apply(null,arguments)},o._mono_wasm_add_satellite_assembly=function(){return(o._mono_wasm_add_satellite_assembly=o.asm.Mb).apply(null,arguments)},o._mono_wasm_setenv=function(){return(o._mono_wasm_setenv=o.asm.Nb).apply(null,arguments)},o._mono_wasm_getenv=function(){return(o._mono_wasm_getenv=o.asm.Ob).apply(null,arguments)},o._mono_wasm_register_bundled_satellite_assemblies=function(){return(o._mono_wasm_register_bundled_satellite_assemblies=o.asm.Pb).apply(null,arguments)},o._mono_wasm_load_runtime=function(){return(o._mono_wasm_load_runtime=o.asm.Qb).apply(null,arguments)},o._mono_wasm_assembly_load=function(){return(o._mono_wasm_assembly_load=o.asm.Rb).apply(null,arguments)},o._mono_wasm_get_corlib=function(){return(o._mono_wasm_get_corlib=o.asm.Sb).apply(null,arguments)},o._mono_wasm_assembly_find_class=function(){return(o._mono_wasm_assembly_find_class=o.asm.Tb).apply(null,arguments)},o._mono_wasm_runtime_run_module_cctor=function(){return(o._mono_wasm_runtime_run_module_cctor=o.asm.Ub).apply(null,arguments)},o._mono_wasm_assembly_find_method=function(){return(o._mono_wasm_assembly_find_method=o.asm.Vb).apply(null,arguments)},o._mono_wasm_get_delegate_invoke_ref=function(){return(o._mono_wasm_get_delegate_invoke_ref=o.asm.Wb).apply(null,arguments)},o._mono_wasm_box_primitive_ref=function(){return(o._mono_wasm_box_primitive_ref=o.asm.Xb).apply(null,arguments)},o._mono_wasm_invoke_method_ref=function(){return(o._mono_wasm_invoke_method_ref=o.asm.Yb).apply(null,arguments)},o._mono_wasm_invoke_method_bound=function(){return(o._mono_wasm_invoke_method_bound=o.asm.Zb).apply(null,arguments)},o._mono_wasm_assembly_get_entry_point=function(){return(o._mono_wasm_assembly_get_entry_point=o.asm._b).apply(null,arguments)},o._mono_wasm_string_get_utf8=function(){return(o._mono_wasm_string_get_utf8=o.asm.$b).apply(null,arguments)},o._mono_wasm_string_from_js=function(){return(o._mono_wasm_string_from_js=o.asm.ac).apply(null,arguments)},o._mono_wasm_string_from_utf16_ref=function(){return(o._mono_wasm_string_from_utf16_ref=o.asm.bc).apply(null,arguments)},o._mono_wasm_get_obj_class=function(){return(o._mono_wasm_get_obj_class=o.asm.cc).apply(null,arguments)},o._mono_wasm_get_obj_type=function(){return(o._mono_wasm_get_obj_type=o.asm.dc).apply(null,arguments)},o._mono_wasm_try_unbox_primitive_and_get_type_ref=function(){return(o._mono_wasm_try_unbox_primitive_and_get_type_ref=o.asm.ec).apply(null,arguments)},o._mono_wasm_array_length=function(){return(o._mono_wasm_array_length=o.asm.fc).apply(null,arguments)},o._mono_wasm_array_get=function(){return(o._mono_wasm_array_get=o.asm.gc).apply(null,arguments)},o._mono_wasm_array_get_ref=function(){return(o._mono_wasm_array_get_ref=o.asm.hc).apply(null,arguments)},o._mono_wasm_obj_array_new_ref=function(){return(o._mono_wasm_obj_array_new_ref=o.asm.ic).apply(null,arguments)},o._mono_wasm_obj_array_new=function(){return(o._mono_wasm_obj_array_new=o.asm.jc).apply(null,arguments)},o._mono_wasm_obj_array_set=function(){return(o._mono_wasm_obj_array_set=o.asm.kc).apply(null,arguments)},o._mono_wasm_obj_array_set_ref=function(){return(o._mono_wasm_obj_array_set_ref=o.asm.lc).apply(null,arguments)},o._mono_wasm_string_array_new_ref=function(){return(o._mono_wasm_string_array_new_ref=o.asm.mc).apply(null,arguments)},o._mono_wasm_exec_regression=function(){return(o._mono_wasm_exec_regression=o.asm.nc).apply(null,arguments)},o._mono_wasm_exit=function(){return(o._mono_wasm_exit=o.asm.oc).apply(null,arguments)},o._mono_wasm_set_main_args=function(){return(o._mono_wasm_set_main_args=o.asm.pc).apply(null,arguments)},o._mono_wasm_strdup=function(){return(o._mono_wasm_strdup=o.asm.qc).apply(null,arguments)},o._mono_wasm_parse_runtime_options=function(){return(o._mono_wasm_parse_runtime_options=o.asm.rc).apply(null,arguments)},o._mono_wasm_enable_on_demand_gc=function(){return(o._mono_wasm_enable_on_demand_gc=o.asm.sc).apply(null,arguments)},o._mono_wasm_intern_string_ref=function(){return(o._mono_wasm_intern_string_ref=o.asm.tc).apply(null,arguments)},o._mono_wasm_string_get_data_ref=function(){return(o._mono_wasm_string_get_data_ref=o.asm.uc).apply(null,arguments)},o._mono_wasm_string_get_data=function(){return(o._mono_wasm_string_get_data=o.asm.vc).apply(null,arguments)},o._mono_wasm_class_get_type=function(){return(o._mono_wasm_class_get_type=o.asm.wc).apply(null,arguments)},o._mono_wasm_type_get_class=function(){return(o._mono_wasm_type_get_class=o.asm.xc).apply(null,arguments)},o._mono_wasm_get_type_name=function(){return(o._mono_wasm_get_type_name=o.asm.yc).apply(null,arguments)},o._mono_wasm_get_type_aqn=function(){return(o._mono_wasm_get_type_aqn=o.asm.zc).apply(null,arguments)},o._mono_wasm_write_managed_pointer_unsafe=function(){return(o._mono_wasm_write_managed_pointer_unsafe=o.asm.Ac).apply(null,arguments)},o._mono_wasm_copy_managed_pointer=function(){return(o._mono_wasm_copy_managed_pointer=o.asm.Bc).apply(null,arguments)},o._mono_wasm_i52_to_f64=function(){return(o._mono_wasm_i52_to_f64=o.asm.Cc).apply(null,arguments)},o._mono_wasm_u52_to_f64=function(){return(o._mono_wasm_u52_to_f64=o.asm.Dc).apply(null,arguments)},o._mono_wasm_f64_to_u52=function(){return(o._mono_wasm_f64_to_u52=o.asm.Ec).apply(null,arguments)},o._mono_wasm_f64_to_i52=function(){return(o._mono_wasm_f64_to_i52=o.asm.Fc).apply(null,arguments)},o._mono_wasm_typed_array_new_ref=function(){return(o._mono_wasm_typed_array_new_ref=o.asm.Gc).apply(null,arguments)},o._mono_wasm_unbox_enum=function(){return(o._mono_wasm_unbox_enum=o.asm.Hc).apply(null,arguments)},o._mono_wasm_send_dbg_command_with_parms=function(){return(o._mono_wasm_send_dbg_command_with_parms=o.asm.Ic).apply(null,arguments)},o._mono_wasm_send_dbg_command=function(){return(o._mono_wasm_send_dbg_command=o.asm.Jc).apply(null,arguments)},o._mono_wasm_event_pipe_enable=function(){return(o._mono_wasm_event_pipe_enable=o.asm.Kc).apply(null,arguments)},o._mono_wasm_event_pipe_session_start_streaming=function(){return(o._mono_wasm_event_pipe_session_start_streaming=o.asm.Lc).apply(null,arguments)},o._mono_wasm_event_pipe_session_disable=function(){return(o._mono_wasm_event_pipe_session_disable=o.asm.Mc).apply(null,arguments)},o._mono_background_exec=function(){return(o._mono_background_exec=o.asm.Nc).apply(null,arguments)},o._mono_wasm_get_icudt_name=function(){return(o._mono_wasm_get_icudt_name=o.asm.Oc).apply(null,arguments)},o._mono_wasm_load_icu_data=function(){return(o._mono_wasm_load_icu_data=o.asm.Pc).apply(null,arguments)},o._mono_print_method_from_ip=function(){return(o._mono_print_method_from_ip=o.asm.Qc).apply(null,arguments)},o._mono_set_timeout_exec=function(){return(o._mono_set_timeout_exec=o.asm.Rc).apply(null,arguments)},o.___getTypeName=function(){return(o.___getTypeName=o.asm.Sc).apply(null,arguments)},o.___embind_register_native_and_builtin_types=function(){return(o.___embind_register_native_and_builtin_types=o.asm.Tc).apply(null,arguments)},o._emscripten_builtin_memalign=function(){return(io=o._emscripten_builtin_memalign=o.asm.Uc).apply(null,arguments)}),ao=o._ntohs=function(){return(ao=o._ntohs=o.asm.Vc).apply(null,arguments)},co=o._setThrew=function(){return(co=o._setThrew=o.asm.Wc).apply(null,arguments)},uo=o.stackSave=function(){return(uo=o.stackSave=o.asm.Xc).apply(null,arguments)},lo=o.stackRestore=function(){return(lo=o.stackRestore=o.asm.Yc).apply(null,arguments)},fo=o.stackAlloc=function(){return(fo=o.stackAlloc=o.asm.Zc).apply(null,arguments)},_o=o.___cxa_can_catch=function(){return(_o=o.___cxa_can_catch=o.asm._c).apply(null,arguments)},mo=o.___cxa_is_pointer_type=function(){return(mo=o.___cxa_is_pointer_type=o.asm.$c).apply(null,arguments)},po=o.dynCall_ji=function(){return(po=o.dynCall_ji=o.asm.ad).apply(null,arguments)},ho=o.dynCall_iij=function(){return(ho=o.dynCall_iij=o.asm.bd).apply(null,arguments)},wo=o.dynCall_j=function(){return(wo=o.dynCall_j=o.asm.cd).apply(null,arguments)},go=o.dynCall_viijii=function(){return(go=o.dynCall_viijii=o.asm.dd).apply(null,arguments)},yo=o.dynCall_iiiiij=function(){return(yo=o.dynCall_iiiiij=o.asm.ed).apply(null,arguments)},bo=o.dynCall_jiiii=function(){return(bo=o.dynCall_jiiii=o.asm.fd).apply(null,arguments)};function vo(e,t){var r=uo();try{return Ue(e)(t)}catch(e){if(lo(r),e!==e+0)throw e;co(1,0)}}function Eo(e,t,r,n){var o=uo();try{Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function Ao(e,t,r){var n=uo();try{return Ue(e)(t,r)}catch(e){if(lo(n),e!==e+0)throw e;co(1,0)}}function ko(e,t){var r=uo();try{Ue(e)(t)}catch(e){if(lo(r),e!==e+0)throw e;co(1,0)}}function So(e,t,r,n){var o=uo();try{return Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function Oo(e,t,r,n,o){var s=uo();try{return Ue(e)(t,r,n,o)}catch(e){if(lo(s),e!==e+0)throw e;co(1,0)}}function No(e,t,r){var n=uo();try{Ue(e)(t,r)}catch(e){if(lo(n),e!==e+0)throw e;co(1,0)}}function xo(e,t,r,n,o){var s=uo();try{Ue(e)(t,r,n,o)}catch(e){if(lo(s),e!==e+0)throw e;co(1,0)}}function jo(e,t,r,n,o,s,i,a,c,u){var l=uo();try{return Ue(e)(t,r,n,o,s,i,a,c,u)}catch(e){if(lo(l),e!==e+0)throw e;co(1,0)}}function Do(e,t,r,n){var o=uo();try{Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function To(e,t,r,n,o,s,i,a,c,u,l,f){var _=uo();try{return Ue(e)(t,r,n,o,s,i,a,c,u,l,f)}catch(e){if(lo(_),e!==e+0)throw e;co(1,0)}}function Mo(e,t,r,n,o,s){var i=uo();try{return Ue(e)(t,r,n,o,s)}catch(e){if(lo(i),e!==e+0)throw e;co(1,0)}}function Ro(e,t,r,n,o,s,i){var a=uo();try{return Ue(e)(t,r,n,o,s,i)}catch(e){if(lo(a),e!==e+0)throw e;co(1,0)}}function Io(e,t,r,n,o,s,i,a){var c=uo();try{return Ue(e)(t,r,n,o,s,i,a)}catch(e){if(lo(c),e!==e+0)throw e;co(1,0)}}function Fo(e,t,r,n,o,s){var i=uo();try{Ue(e)(t,r,n,o,s)}catch(e){if(lo(i),e!==e+0)throw e;co(1,0)}}function Po(e,t,r,n,o,s,i,a,c,u){var l=uo();try{Ue(e)(t,r,n,o,s,i,a,c,u)}catch(e){if(lo(l),e!==e+0)throw e;co(1,0)}}function $o(e,t,r,n,o,s,i){var a=uo();try{Ue(e)(t,r,n,o,s,i)}catch(e){if(lo(a),e!==e+0)throw e;co(1,0)}}function Co(e,t,r,n,o,s,i){var a=uo();try{return Ue(e)(t,r,n,o,s,i)}catch(e){if(lo(a),e!==e+0)throw e;co(1,0)}}function Uo(e,t,r,n,o,s,i,a){var c=uo();try{Ue(e)(t,r,n,o,s,i,a)}catch(e){if(lo(c),e!==e+0)throw e;co(1,0)}}function Bo(e){var t=uo();try{Ue(e)()}catch(e){if(lo(t),e!==e+0)throw e;co(1,0)}}function Wo(e){var t=uo();try{return Ue(e)()}catch(e){if(lo(t),e!==e+0)throw e;co(1,0)}}function zo(e,t,r,n,o,s,i,a,c,u,l){var f=uo();try{Ue(e)(t,r,n,o,s,i,a,c,u,l)}catch(e){if(lo(f),e!==e+0)throw e;co(1,0)}}function Lo(e,t,r,n,o,s,i,a){var c=uo();try{return Ue(e)(t,r,n,o,s,i,a)}catch(e){if(lo(c),e!==e+0)throw e;co(1,0)}}function Ho(e,t,r,n,o,s,i,a,c,u,l){var f=uo();try{return Ue(e)(t,r,n,o,s,i,a,c,u,l)}catch(e){if(lo(f),e!==e+0)throw e;co(1,0)}}function Vo(e,t,r,n,o,s,i,a,c,u,l,f){var _=uo();try{Ue(e)(t,r,n,o,s,i,a,c,u,l,f)}catch(e){if(lo(_),e!==e+0)throw e;co(1,0)}}function qo(e,t,r,n,o,s,i,a,c){var u=uo();try{return Ue(e)(t,r,n,o,s,i,a,c)}catch(e){if(lo(u),e!==e+0)throw e;co(1,0)}}function Jo(e,t,r,n,o,s,i,a,c){var u=uo();try{Ue(e)(t,r,n,o,s,i,a,c)}catch(e){if(lo(u),e!==e+0)throw e;co(1,0)}}function Go(e,t,r,n,o,s){var i=uo();try{return Ue(e)(t,r,n,o,s)}catch(e){if(lo(i),e!==e+0)throw e;co(1,0)}}function Yo(e,t,r,n){var o=uo();try{return Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function Xo(e,t,r,n){var o=uo();try{return Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function Zo(e,t,r,n,o,s,i,a,c,u,l,f,_,d,m,p){var h=uo();try{Ue(e)(t,r,n,o,s,i,a,c,u,l,f,_,d,m,p)}catch(e){if(lo(h),e!==e+0)throw e;co(1,0)}}function Ko(e,t,r,n){var o=uo();try{Ue(e)(t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function Qo(e,t){var r=uo();try{return po(e,t)}catch(e){if(lo(r),e!==e+0)throw e;co(1,0)}}function es(e,t,r,n){var o=uo();try{return ho(e,t,r,n)}catch(e){if(lo(o),e!==e+0)throw e;co(1,0)}}function ts(e,t,r,n,o,s,i){var a=uo();try{go(e,t,r,n,o,s,i)}catch(e){if(lo(a),e!==e+0)throw e;co(1,0)}}function rs(e){var t=uo();try{return wo(e)}catch(e){if(lo(t),e!==e+0)throw e;co(1,0)}}function ns(e,t,r,n,o,s,i){var a=uo();try{return yo(e,t,r,n,o,s,i)}catch(e){if(lo(a),e!==e+0)throw e;co(1,0)}}function os(e,t,r,n,o){var s=uo();try{return bo(e,t,r,n,o)}catch(e){if(lo(s),e!==e+0)throw e;co(1,0)}}function ss(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function is(e){function t(){eo||(eo=!0,o.calledRun=!0,R||(he(),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),we()))}e=e||p,ve>0||(pe(),ve>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),t()}),1)):t()))}function as(e,t){e,cs(e)}function cs(e){e,me()||(o.onExit&&o.onExit(e),R=!0),w(e,new ss(e))}if(o.ccall=P,o.cwrap=$,o.UTF8ArrayToString=U,o.UTF8ToString=B,o.addRunDependency=ke,o.removeRunDependency=Se,o.FS_createPath=mt.createPath,o.FS_createDataFile=mt.createDataFile,o.FS_createPreloadedFile=mt.createPreloadedFile,o.FS_createLazyFile=mt.createLazyFile,o.FS_createDevice=mt.createDevice,o.FS_unlink=mt.unlink,o.print=S,o.setValue=Be,o.getValue=$e,o.FS=mt,Ae=function e(){eo||is(),eo||(Ae=e)},o.run=is,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return is(),t.ready=t.ready.then((()=>Zn)),t.ready}})();export default createDotnetRuntime;const MONO={},BINDING={},INTERNAL={},IMPORTS={};var ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;__dotnet_runtime.__setEmscriptenEntrypoint(createDotnetRuntime,{isNode:ENVIRONMENT_IS_NODE,isShell:ENVIRONMENT_IS_SHELL,isWeb:ENVIRONMENT_IS_WEB,isWorker:ENVIRONMENT_IS_WORKER});const dotnet=__dotnet_runtime.moduleExports.dotnet,exit=__dotnet_runtime.moduleExports.exit;export{dotnet,exit,INTERNAL}; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.timezones.blat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.timezones.blat new file mode 100644 index 00000000..c548f5c1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.timezones.blat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.wasm b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.wasm new file mode 100644 index 00000000..bdd6f8d8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/dotnet.wasm differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/icudt.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/icudt.dat new file mode 100644 index 00000000..54093bdd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/icudt.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/index.html b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/index.html new file mode 100644 index 00000000..38c28922 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/initDotnet.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/initDotnet.js new file mode 100644 index 00000000..60efc974 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/initDotnet.js @@ -0,0 +1 @@ +import{dotnet}from"./dotnet.js";export async function initDotnet(t){if(null===t||"string"!=typeof t||0===t.trim().length)throw Error("`baseUrl` must be a string passed to `initDotnet` and be non-empty.");const{getAssemblyExports:e,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:e=>`${t}/${e}`}).create();globalThis.gdPicture={module:o,baseUrl:t};const n=await e(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,BaseUrl:t}} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ACadSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ACadSharp.dll new file mode 100644 index 00000000..8a2c86fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ACadSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/BouncyCastle.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/BouncyCastle.Cryptography.dll new file mode 100644 index 00000000..baf513b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/BouncyCastle.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ChromeHtmlToPdfLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ChromeHtmlToPdfLib.dll new file mode 100644 index 00000000..211f88ef Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/ChromeHtmlToPdfLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.Framework.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.Framework.dll new file mode 100644 index 00000000..a147954f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.Framework.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.dll new file mode 100644 index 00000000..cdec9c75 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/DocumentFormat.OpenXml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.API.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.API.dll new file mode 100644 index 00000000..54797af6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.API.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.CAD.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.CAD.dll new file mode 100644 index 00000000..d1c4b46c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.CAD.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Common.dll new file mode 100644 index 00000000..a0e6f385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Document.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Document.dll new file mode 100644 index 00000000..b0964f2e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Document.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll new file mode 100644 index 00000000..b8b75989 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.dll new file mode 100644 index 00000000..d8958dff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Formats.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll new file mode 100644 index 00000000..8ca0989e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.Rendering.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.dll new file mode 100644 index 00000000..c31eb532 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.Imaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll new file mode 100644 index 00000000..b458d7f7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.MSOfficeBinary.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenDocument.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenDocument.dll new file mode 100644 index 00000000..cd171a86 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenDocument.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenXML.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenXML.dll new file mode 100644 index 00000000..f9facc42 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.OpenXML.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.PDF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.PDF.dll new file mode 100644 index 00000000..cf3f7957 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.PDF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.RTF.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.RTF.dll new file mode 100644 index 00000000..7d552047 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.RTF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.SVG.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.SVG.dll new file mode 100644 index 00000000..98295ff1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.SVG.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll new file mode 100644 index 00000000..f583daa6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.1d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll new file mode 100644 index 00000000..268c988d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.14.barcode.2d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll new file mode 100644 index 00000000..eaadb91a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll new file mode 100644 index 00000000..6546733f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.Wasm.NET7.dll new file mode 100644 index 00000000..6dc05f1e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/GdPicture.NET.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.CSharp.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.CSharp.dll new file mode 100644 index 00000000..f426c300 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.CSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.Win32.Registry.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.Win32.Registry.dll new file mode 100644 index 00000000..03f1dfd4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Microsoft.Win32.Registry.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/MsgReader.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/MsgReader.dll new file mode 100644 index 00000000..8291a73a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/MsgReader.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Newtonsoft.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Newtonsoft.Json.dll new file mode 100644 index 00000000..76c6d1af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/Newtonsoft.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/OpenMcdf.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/OpenMcdf.dll new file mode 100644 index 00000000..c52d61c6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/OpenMcdf.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/RtfPipe.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/RtfPipe.dll new file mode 100644 index 00000000..411819a6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/RtfPipe.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Concurrent.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Concurrent.dll new file mode 100644 index 00000000..c4d27372 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Concurrent.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Immutable.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Immutable.dll new file mode 100644 index 00000000..094d785d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Immutable.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.NonGeneric.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.NonGeneric.dll new file mode 100644 index 00000000..32f3dd08 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.NonGeneric.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Specialized.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Specialized.dll new file mode 100644 index 00000000..f445069d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.Specialized.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.dll new file mode 100644 index 00000000..f6faf3ef Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Collections.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.EventBasedAsync.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 00000000..32f0d388 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.EventBasedAsync.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.Primitives.dll new file mode 100644 index 00000000..3aa01c08 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.TypeConverter.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.TypeConverter.dll new file mode 100644 index 00000000..a43bc948 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.TypeConverter.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.dll new file mode 100644 index 00000000..f1635b83 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ComponentModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Console.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Console.dll new file mode 100644 index 00000000..42d43de1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Console.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Data.Common.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Data.Common.dll new file mode 100644 index 00000000..f8154511 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Data.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.DiagnosticSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 00000000..c15654b7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.DiagnosticSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.Process.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.Process.dll new file mode 100644 index 00000000..4376dbe1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.Process.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.TraceSource.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.TraceSource.dll new file mode 100644 index 00000000..c15772e9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Diagnostics.TraceSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.Primitives.dll new file mode 100644 index 00000000..31cc7bb5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.dll new file mode 100644 index 00000000..f3456b73 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Drawing.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Formats.Asn1.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Formats.Asn1.dll new file mode 100644 index 00000000..1cb4e026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Formats.Asn1.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Compression.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Compression.dll new file mode 100644 index 00000000..e4d119af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Compression.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Packaging.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Packaging.dll new file mode 100644 index 00000000..5a00a0f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.IO.Packaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.Expressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.Expressions.dll new file mode 100644 index 00000000..57b387d8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.Expressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.dll new file mode 100644 index 00000000..dbdf3b6b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Memory.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Memory.dll new file mode 100644 index 00000000..386c9e37 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Memory.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.Formatting.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.Formatting.dll new file mode 100644 index 00000000..efaa5cf7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.Formatting.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.dll new file mode 100644 index 00000000..2c9d376e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Http.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Mail.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Mail.dll new file mode 100644 index 00000000..b92414f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Mail.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.NetworkInformation.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.NetworkInformation.dll new file mode 100644 index 00000000..ac32e743 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.NetworkInformation.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Primitives.dll new file mode 100644 index 00000000..80b7bb09 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Requests.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Requests.dll new file mode 100644 index 00000000..f6d60d77 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Requests.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Security.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Security.dll new file mode 100644 index 00000000..2973418a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Security.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.ServicePoint.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.ServicePoint.dll new file mode 100644 index 00000000..e4f9b45c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.ServicePoint.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Sockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Sockets.dll new file mode 100644 index 00000000..2e8a2516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.Sockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebHeaderCollection.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebHeaderCollection.dll new file mode 100644 index 00000000..56efff2a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebHeaderCollection.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.Client.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.Client.dll new file mode 100644 index 00000000..f3dfbd34 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.Client.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.dll new file mode 100644 index 00000000..8b48994f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Net.WebSockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ObjectModel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ObjectModel.dll new file mode 100644 index 00000000..33cbcbdd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.ObjectModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.CoreLib.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.CoreLib.dll new file mode 100644 index 00000000..a442840d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.CoreLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Uri.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Uri.dll new file mode 100644 index 00000000..9ee6d56c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Uri.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.Linq.dll new file mode 100644 index 00000000..2332c366 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.dll new file mode 100644 index 00000000..874382b7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Private.Xml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.InteropServices.JavaScript.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 00000000..9517f6f6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Numerics.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Numerics.dll new file mode 100644 index 00000000..93618156 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Numerics.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Formatters.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 00000000..2df793f2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Formatters.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 00000000..636166ea Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.Serialization.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.dll new file mode 100644 index 00000000..b1d5b3c7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Runtime.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.Pkcs.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 00000000..c8596ab6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.Pkcs.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.dll new file mode 100644 index 00000000..5a5586d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Security.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encoding.CodePages.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encoding.CodePages.dll new file mode 100644 index 00000000..9376b60f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encoding.CodePages.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encodings.Web.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encodings.Web.dll new file mode 100644 index 00000000..9faaaa55 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Encodings.Web.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Json.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Json.dll new file mode 100644 index 00000000..92dd7af9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.RegularExpressions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.RegularExpressions.dll new file mode 100644 index 00000000..c5d13824 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Text.RegularExpressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Threading.Tasks.Parallel.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Threading.Tasks.Parallel.dll new file mode 100644 index 00000000..1799bbe6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Threading.Tasks.Parallel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Windows.Extensions.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Windows.Extensions.dll new file mode 100644 index 00000000..0d60996c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Windows.Extensions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Xml.Linq.dll new file mode 100644 index 00000000..1c7a61c4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.dll new file mode 100644 index 00000000..53c3a5a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/System.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.Core.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.Core.dll new file mode 100644 index 00000000..c10c6f24 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.Core.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.dll b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.dll new file mode 100644 index 00000000..2faf78d5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/managed/protobuf-net.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/mono-config.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/mono-config.json new file mode 100644 index 00000000..0a54843d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/mono-config.json @@ -0,0 +1,372 @@ +{ + "mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll", + "assemblyRootFolder": "managed", + "debugLevel": 0, + "assets": [ + { + "behavior": "assembly", + "name": "ACadSharp.dll" + }, + { + "behavior": "assembly", + "name": "BouncyCastle.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "ChromeHtmlToPdfLib.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.Framework.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.API.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.1d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.2d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.CAD.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Common.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Document.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Rendering.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.MSOfficeBinary.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenDocument.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenXML.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.PDF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.RTF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.SVG.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.CSharp.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.Win32.Registry.dll" + }, + { + "behavior": "assembly", + "name": "MsgReader.dll" + }, + { + "behavior": "assembly", + "name": "Newtonsoft.Json.dll" + }, + { + "behavior": "assembly", + "name": "OpenMcdf.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.Core.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.dll" + }, + { + "behavior": "assembly", + "name": "RtfPipe.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Concurrent.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Immutable.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.NonGeneric.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Specialized.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.EventBasedAsync.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.TypeConverter.dll" + }, + { + "behavior": "assembly", + "name": "System.Console.dll" + }, + { + "behavior": "assembly", + "name": "System.Data.Common.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.DiagnosticSource.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.Process.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.TraceSource.dll" + }, + { + "behavior": "assembly", + "name": "System.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Formats.Asn1.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Compression.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Packaging.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.Expressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Memory.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.Formatting.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Mail.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.NetworkInformation.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Requests.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Security.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.ServicePoint.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Sockets.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebHeaderCollection.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.Client.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.dll" + }, + { + "behavior": "assembly", + "name": "System.ObjectModel.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.CoreLib.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Uri.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.InteropServices.JavaScript.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Numerics.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Formatters.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.Pkcs.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encoding.CodePages.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encodings.Web.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Json.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.RegularExpressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Threading.Tasks.Parallel.dll" + }, + { + "behavior": "assembly", + "name": "System.Windows.Extensions.dll" + }, + { + "behavior": "assembly", + "name": "System.Xml.Linq.dll" + }, + { + "virtualPath": "runtimeconfig.bin", + "behavior": "vfs", + "name": "supportFiles/0_runtimeconfig.bin" + }, + { + "loadRemote": false, + "behavior": "icu", + "name": "icudt.dat" + }, + { + "virtualPath": "/usr/share/zoneinfo/", + "behavior": "vfs", + "name": "dotnet.timezones.blat" + }, + { + "behavior": "dotnetwasm", + "name": "dotnet.wasm" + } + ], + "remoteSources": [], + "pthreadPoolSize": 0 +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/package.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/package.json new file mode 100644 index 00000000..3e0a2a7f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/package.json @@ -0,0 +1 @@ +{ "type":"module" } \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resourceLoader.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resourceLoader.js new file mode 100644 index 00000000..65a50937 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resourceLoader.js @@ -0,0 +1 @@ +let require,resources;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(ENVIRONMENT_IS_NODE){const{createRequire:e}=await import("module");require=e(import.meta.url)}else if(ENVIRONMENT_IS_DENO){const e=new URL("./resources/list.json",import.meta.url),r=await globalThis.fetch(e).then((e=>e.json())),t=await Promise.all(r.map((e=>{const r=new URL(`./resources/${e}`,import.meta.url);return globalThis.fetch(r).then((async e=>{if(e.ok)return e.arrayBuffer()})).then((r=>({buffer:r,filename:e}))).catch((()=>({buffer:void 0,filename:e})))})));resources=t.reduce(((e,{filename:r,buffer:t})=>(e[`${globalThis.gdPicture.baseUrl}/resources/${decodeURI(r)}`]=t,e)),{})}}export function fetchResource(e,r){fetch(`${globalThis.gdPicture.baseUrl}/resources/${e}`,r)}export function fetch(e,r){try{if(ENVIRONMENT_IS_NODE){const t=require("node:fs"),o=require("node:path"),i=t.readFileSync(o.normalize(e));globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(i))}else if(ENVIRONMENT_IS_DENO)globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(resources[e]));else{const t=new XMLHttpRequest;t.open("GET",e,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(r,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(let r=0,o=e.length;r驮v6w7j{ GgL[LqLqL8+(]}uC 4-1PwH#c$&聘jGbz&Z腨W"w7߉ +$Znp뮑S_ VG \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78-V.dat new file mode 100644 index 00000000..a516681c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78-V.dat @@ -0,0 +1 @@ +x%̽j`Jp}B]t(\:ekoSDpwzpԛ%IAumo[hx'[jx4LJ+mb0DD|ħJ _*9r|(R¯J* lUZعBF\0<‚WXּ†J˖!WT1 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-H.dat new file mode 100644 index 00000000..8571d516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-V.dat new file mode 100644 index 00000000..fa7c606c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_78ms-RKSJ-V.dat @@ -0,0 +1,3 @@ +xEKKa!>Z+DJ u_i;; -VWQIioq]M}u +Nržq[=k^OMd[3tٛ W9;1m޾a̎` 6B%kK7ivo 2.d]ֽ7r[v v܎dvg=2ՠܗoq *}aPOO_~o?W~!>I&yL0!RL`<-H3GX!0(G 2A9 ̳_01s LpuINV0)V +9n grsE< \``l,q}e.`+!X*;k\%:yU lrڤ Yv&`mѻZUh6];( :SDn==ڣ#\^=}ڧ"RG/R; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_83pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_83pv-RKSJ-H.dat new file mode 100644 index 00000000..ab4e2e4b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_83pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-H.dat new file mode 100644 index 00000000..a8f8ba36 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-UCS2.dat new file mode 100644 index 00000000..b5d22be8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-V.dat new file mode 100644 index 00000000..a47109f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90ms-RKSJ-V.dat @@ -0,0 +1,2 @@ +xEKKa!>]t0Ѱ(BϚ Az6.E183:GDmdsBUTr|WSb'l}lr[nOE۸pƞOLPo/ۧ&h- :Mv+6o_0jXP[!AʥKq .lM`mn}2q;u_ J}jP70A'/A ԫG?} $, rG)xR0!f`,da`#de y'( 8c s NF0IV8.4pEg` l,r%.`˼!X +\%xUulp ڨ Iv&tfmֻZEhVM۵( :CD.=ڭ#\=ګ"R/7? \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-H.dat new file mode 100644 index 00000000..d60b4783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-V.dat new file mode 100644 index 00000000..cfe70499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90msp-RKSJ-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-H.dat new file mode 100644 index 00000000..265cf14d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2.dat new file mode 100644 index 00000000..264f511c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2C.dat new file mode 100644 index 00000000..2f5def6c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-V.dat new file mode 100644 index 00000000..c85cc6aa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_90pv-RKSJ-V.dat @@ -0,0 +1 @@ +xEMKQ2xʝ "Cn6!iת<7 Br|̏: D6ZZj-VWޮ-/S8<uc:=qOܫŽ7q(5ǂDh?yOAA z*(jQe-/AE+[Pժ P/Gzvk?Jav-N+Xn6`Vs+Z4дe0ۊ#dTXSEUX +OgXc*WDQg2lbLSMPbOuvsEV~TҞk \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Add-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Add-V.dat new file mode 100644 index 00000000..b723ddd7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Add-V.dat @@ -0,0 +1 @@ +x%MKasKCDPja-jD C:F-G-Eʝ6Hu"6}81:݀%o6Y 7>^1U}ØiO0:)jW:7״bȈhZDhYEm#:ֱ1>ETVj1MJWkƼ21oyf;+c^y2#C7}$iNxB=K gH, nIO$s \ɄO' 8ྠd3 \䩄wK\`<>=>U j<qO\`![[ho \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-0.dat new file mode 100644 index 00000000..46a900d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-1.dat new file mode 100644 index 00000000..cc0448e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-2.dat new file mode 100644 index 00000000..9c02a633 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-3.dat new file mode 100644 index 00000000..c2ea5f03 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-4.dat new file mode 100644 index 00000000..8df3a15e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-5.dat new file mode 100644 index 00000000..42421863 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-6.dat new file mode 100644 index 00000000..56e68c7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-7.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-7.dat new file mode 100644 index 00000000..33db65eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-7.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-B5pc.dat new file mode 100644 index 00000000..d65b9bf0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-ETenms-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-ETenms-B5.dat new file mode 100644 index 00000000..8165b275 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-ETenms-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-CID.dat new file mode 100644 index 00000000..ac2e376d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Host.dat new file mode 100644 index 00000000..fb2e9201 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Mac.dat new file mode 100644 index 00000000..302bdfb0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-UCS2.dat new file mode 100644 index 00000000..d1e3b07c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-CNS1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-0.dat new file mode 100644 index 00000000..b6d05924 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-1.dat new file mode 100644 index 00000000..ee304d0e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-2.dat new file mode 100644 index 00000000..a4f0bd70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-3.dat new file mode 100644 index 00000000..f250662e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-4.dat new file mode 100644 index 00000000..acc71545 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-5.dat new file mode 100644 index 00000000..9b78c40e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-UCS2.dat new file mode 100644 index 00000000..725a844b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-GB1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-0.dat new file mode 100644 index 00000000..04bb9ac4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-1.dat new file mode 100644 index 00000000..addb6246 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-2.dat new file mode 100644 index 00000000..4cc5ec8e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-3.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-3.dat new file mode 100644 index 00000000..bdb56a82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-4.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-4.dat new file mode 100644 index 00000000..a43767cd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-5.dat new file mode 100644 index 00000000..71400f97 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-6.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-6.dat new file mode 100644 index 00000000..8f3c5a4d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat new file mode 100644 index 00000000..e049e02b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat new file mode 100644 index 00000000..4e632385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-CID.dat new file mode 100644 index 00000000..ac40ffe5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Host.dat new file mode 100644 index 00000000..fcb56d54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Mac.dat new file mode 100644 index 00000000..dfba535c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-UCS2.dat new file mode 100644 index 00000000..9e40df62 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan2-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan2-0.dat new file mode 100644 index 00000000..aa5004ff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Japan2-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-0.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-0.dat new file mode 100644 index 00000000..32240d5e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-1.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-1.dat new file mode 100644 index 00000000..c0545801 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-2.dat new file mode 100644 index 00000000..33f7cf3f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-CID.dat new file mode 100644 index 00000000..18faba63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Host.dat new file mode 100644 index 00000000..93e1ff92 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Mac.dat new file mode 100644 index 00000000..6a47ad70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCms-UHC.dat new file mode 100644 index 00000000..3fba1e58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat new file mode 100644 index 00000000..30597cd3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-UCS2.dat new file mode 100644 index 00000000..ada286a1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Adobe-Korea1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_B5-H.dat new file mode 100644 index 00000000..1890fd27 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_B5-H.dat @@ -0,0 +1,9 @@ +x%[PG j"5h8Awm&S/2Q{Jlb&hzdE;t2$39L aq(*,*˲, o޼k|E!DDߟ c6AU: VQfVR*_ jY%_!+C@擞9%@PZM@sAK|B* jra#ET#PE\*P\|j%ԩu/|JN< +U%ZTP\*WBQOZe\**X~1p9_*:Vp!+P\Ye&X(sXy,dUu⪀eUPVA^+3ZWՐTjjЪ5P5\sl d-նjr'' k]?}]Z ԰g-T7a-d#5k5rc\d5."7iHktm:k|:fj.ji-ku`8h!x( [B-Z-ܲ)VjT+ZڨmsT[i[ (k ۩QvG wy8j%o`mEZ(lҗCH"lyO6Zec[zVwj]I}3Ioo?#O%ጝ%AٛeI-oDo9;ۗrnrDlcMv +]SZNrd!۫[6APgzIz7> ˽죾:>[͐4dțtd|ө5Hi[y!⡕[!]:* +MvWoO؆'7_fK oѭnQtۡnOCӰ[kxlx} +ឭb|@H4 +5ʣBzcH⡇=@_wdz4gyܦu<u}r&Z&x&iI~MZSqYRUy?Sǔ9*RzLE/QTz Xz tDoLlZZLWPWZT*TJB.tjQQ*".: +*]кW,SOAsIJU%2 +J*RV4TٓO˸RTa9ox*?UUZf22^3/GCVRY\׺F~_jt}F:_ߵ>[UUZTONj}k, o|AQWAqK߭l>nl_@5v4v#7&\&<iZXey2#[r4–?B6SV37xZ.=-VjZNJ[86jka͈Cg[g8lxHqknCG i|ppUyA#4 5#o&CzcOccϧ≇=^C/B蟵hlZkv9Nz jmZ~P!'hYk'Xk&턚서)Ck =r~0y!?+Q#~.r5?]4Ou8̚T\P3/)QߏRŘ}HKPsstmɟ??^)|~zVH 7@Gx;@sPG tN g `0y_3q6x6x^wKxJ1x,:I ccM"yFHg#y@2ȘDG1Z#Yd_1uDs]!H&0Nb6#La-LcSkRB5RF \-:{d HGtHS^%,]"X~OVPIVa-]CRG- :ilb3(-ml";؉Dw{4EW +c 9h }r÷(}?d \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CNS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CNS2-V.dat new file mode 100644 index 00000000..c32d92fa Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CNS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CourierStdToNew.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CourierStdToNew.dat new file mode 100644 index 00000000..bf30555e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_CourierStdToNew.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DefaultCMYK.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DefaultCMYK.icc new file mode 100644 index 00000000..881cfb41 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DefaultCMYK.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansFallbackFull.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansFallbackFull.ttf new file mode 100644 index 00000000..db37353c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansFallbackFull.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansMono.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansMono.ttf new file mode 100644 index 00000000..98e21409 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_DroidSansMono.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-H.dat new file mode 100644 index 00000000..a19245c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-V.dat new file mode 100644 index 00000000..7023d86e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETHK-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETen-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETen-B5-H.dat new file mode 100644 index 00000000..772fe376 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ETen-B5-H.dat @@ -0,0 +1,4 @@ +x%kpDD(!&pIT0re:SfAE"VMP?:/:;δ:= 亁\ȅl.d%Hvsߐdf۞_y}WBTQb RQ'VGلw)=ԢZbI-IJbe\T.<^+>ohk[%t( +_: +2Zd|T8.PWJQB*<(T!iQVBq\ YL?hsV TÒ KbTa)=UeZf22w_F͟GCSY\׺JW_]uu56u\ YA_VJL^Uɕ@VQUVWW}uu'!k'jƥUK{BrBQ]V@SG1Pm1h~ޠkAA6PCV7x,[^7,}1␅,Gb,lS,d#5Nh5r SPMdjqPEġߏl:tqll9'-ܒi}ϚcV!Zc6Z9^Yer=i;l #ǖc$^e#۪P6elֿkrk PvGo€}^a loMPmܶa/d; ~J˱q6AujG8]ht:0`RduDotKK?l|ur甖6B9FțtӣuonE]mzn4T7wyzzgQzmޯ7Cޢ[[|+#6*6vjQ_>;۴VHNnrurL7]֝S76IMA6^kFigۡyC4ZϐgkI4|. j`" yN#4 5#'CҨYk?d<}0Ex8ʣ@_ZѷԾ5 lh3 #\ĦаT "Z 6*2lUrة(W)QRQFJD/0 +3]a·+,t%_+)DFD"+F4E6N~T3EZВpLoII;oFv+D.BntE+҇vҏ'D0 bp a(0_# }xJt ced㱱xM&1C0':d3dE0K|SKX X#+XqNt_ YڽXI6}At/6] `g}ItH?d{E_/`R \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-EUC-V.dat new file mode 100644 index 00000000..fcc9b6fd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-EUC-V.dat @@ -0,0 +1,3 @@ +x- `E0 +(!T=FX +!BDVgqSЏFHbm4FZjiMUʎlG;܋˘q-(XpxÝ%CA͚KEÆh&"3 R|VA \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-H.dat new file mode 100644 index 00000000..695fe1c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-V.dat new file mode 100644 index 00000000..af567748 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GB-V.dat @@ -0,0 +1,4 @@ +x%= +@E;,ByrI +Ke.@B2kw8Mf)Od?- ΂ +k{+m>mH#;ĕ,5k.GxR^;={b`ȗ`ķ 2r \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-H.dat new file mode 100644 index 00000000..531672ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-UCS2.dat new file mode 100644 index 00000000..5b5f8002 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-V.dat new file mode 100644 index 00000000..a67b0113 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_GBK-EUC-V.dat @@ -0,0 +1,2 @@ +x59`E8p)74BR' \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-H.dat new file mode 100644 index 00000000..3753d7dc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-V.dat new file mode 100644 index 00000000..e76f5d71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm314-B5-V.dat @@ -0,0 +1,2 @@ +xEƱ +Aqr݀Կ CQuE1 `P+k:7B<ӓvzy?Qa}J$W3$Oq,KV\57yÖcC>p)74 C˿& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-H.dat new file mode 100644 index 00000000..23ead8d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-V.dat new file mode 100644 index 00000000..2a44d619 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKm471-B5-V.dat @@ -0,0 +1,3 @@ +xEƱ +Aqrn:/6PEEQ`0 +΍PdENޏ|_X_mAxL8Sf9 .WfMް.y ?& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-H.dat new file mode 100644 index 00000000..56a2d1fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-V.dat new file mode 100644 index 00000000..2ec41783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_HKscs-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hankaku.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hankaku.dat new file mode 100644 index 00000000..ec002fc3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hankaku.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hiragana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hiragana.dat new file mode 100644 index 00000000..ce2a4471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hiragana.dat @@ -0,0 +1,2 @@ +x%-@PF~@ue3*+\Q 3ӎ3l g|#DFFN+&idfjEczǸ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-H.dat new file mode 100644 index 00000000..d50e5a0d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-V.dat new file mode 100644 index 00000000..b71442c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-EUC-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-H.dat new file mode 100644 index 00000000..34ecce80 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Hojo-H.dat @@ -0,0 +1 @@ +x%=LSq{@Fr/|JRR(|C) A:IqprprP&`b`ĻrNrrkckىzfBWQF=7\,}ҏ  \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-UCS2.dat new file mode 100644 index 00000000..4b8634b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-V.dat new file mode 100644 index 00000000..6f156c2d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCms-UHC-V.dat @@ -0,0 +1,3 @@ +xE1 +p .)\ƨ[4DAWTS$CcDx MxA00G޿Cgt.p1c` z9\Μ ؝O.6\_Up2` +at+UTU { y=N \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-H.dat new file mode 100644 index 00000000..acf61b84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-UCS2C.dat new file mode 100644 index 00000000..b10e553e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-V.dat new file mode 100644 index 00000000..e4722c74 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_KSCpc-EUC-V.dat @@ -0,0 +1,2 @@ +xEʱ `Eۦq".`) +jV%`R !dA XU8^L~w#=g.p#`1c:9\ƌ ؝O.j\Ú_UpR`rat+T+UT) h_=. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Katakana.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Katakana.dat new file mode 100644 index 00000000..fd967d4f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Katakana.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-H.dat new file mode 100644 index 00000000..7e60acdf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-V.dat new file mode 100644 index 00000000..dc461eb9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_NWP-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_OutputIntent.icc b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_OutputIntent.icc new file mode 100644 index 00000000..1b072d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_OutputIntent.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_PDFA-XMP.4.2.3 b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_PDFA-XMP.4.2.3 new file mode 100644 index 00000000..4139edab Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_PDFA-XMP.4.2.3 differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-H.dat new file mode 100644 index 00000000..45d15da6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-V.dat new file mode 100644 index 00000000..21772182 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_RKSJ-V.dat @@ -0,0 +1,2 @@ +x%KJBqw&sW"rIhAHw̙NED\+4qf﷕uoUw7 U" ؋K8+8k8(}uG 4=1PH#=cDL431T/L3sF,;QsDܟDu/" +&npiE/vq)C=WU \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Roman.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Roman.dat new file mode 100644 index 00000000..dfee909d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Roman.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Symbol.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Symbol.ttf new file mode 100644 index 00000000..a961602c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Symbol.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90ms-RKSJ.dat new file mode 100644 index 00000000..73c911b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90pv-RKSJ.dat new file mode 100644 index 00000000..d677b3fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-B5pc.dat new file mode 100644 index 00000000..583a9959 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-ETen-B5.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-ETen-B5.dat new file mode 100644 index 00000000..84dc29b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-ETen-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBK-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBK-EUC.dat new file mode 100644 index 00000000..9086b27e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBK-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBpc-EUC.dat new file mode 100644 index 00000000..4147ed82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-GBpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCms-UHC.dat new file mode 100644 index 00000000..b75d746a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCpc-EUC.dat new file mode 100644 index 00000000..f9fbe4c3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UCS2-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-H.dat new file mode 100644 index 00000000..828f6a5b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-V.dat new file mode 100644 index 00000000..0a6a270b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-H.dat new file mode 100644 index 00000000..488bc329 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-V.dat new file mode 100644 index 00000000..6d7d156e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-H.dat new file mode 100644 index 00000000..7cbbe581 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-V.dat new file mode 100644 index 00000000..a5d16ba9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-H.dat new file mode 100644 index 00000000..a49aea21 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-V.dat new file mode 100644 index 00000000..ee565245 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniCNS-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-H.dat new file mode 100644 index 00000000..c56a1528 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-V.dat new file mode 100644 index 00000000..bc1f554a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UCS2-V.dat @@ -0,0 +1 @@ +xM1k`Eﻓ`+h%t <\%Fbь[w tl'ju?%00?8l}|W%F 'A?~LPAHJbs-%J4Sm**U&Lt74 + aZ4 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-H.dat new file mode 100644 index 00000000..2ad4fa7f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-V.dat new file mode 100644 index 00000000..7ff0ba73 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF16-V.dat @@ -0,0 +1 @@ +xM`E;PDMY,R"=l'9W_ݢZ AOnDɝrFmۉ.F:6X`fkJut *#M"  \yv@A%P L@H|(14 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-H.dat new file mode 100644 index 00000000..cdf16983 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-V.dat new file mode 100644 index 00000000..ce4830a2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniGB-UTF8-V.dat @@ -0,0 +1 @@ +xMKPFovN,(t &-g\ 3qI$cfФj'd1 +~2(Qih"7v{9u;onp`dm7h~y?%^F171c7`sJ +愷<BC8)( >q4QGGFLLOp(=~p:ÑHIOq<=p"=RRzwl9T:'8K7%44Jy͗X_BBtNӕ 7S˴S\VhYZkUi Z5Z:[stnjnչUPu]P#h4jnyQФMIЬ:$h,uXЪG *z? MjAsA^'(k t^/NK,(hAoi X&b] +ETmeLGZLM˕zBGJ)nکWҵzuNtk.XNA^ݠګlԍOЧ}wA:ĵZ  )BRh ȵ16V,gzWn6]p@5؇޵ZOXb {X]^£K<^׾o=;vо8jGmk1;f[m~x=&l~xž='Nj1i;cǔM|kY.qY"GJM4|&bgEF`Y|.|!U<Qj$aODWzH;W<Ml⑀f6 +_sS.< x,`!TD'|7g'hc+,b~.cK Ώ""[|<<VR^+#VqXOe_Ft~.~'7u_Gz F~]8~1NO0AMy1!,0y(` qlvg;8eE߀˪"q+U`E#<*6d5%-B2>:Mf{X \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UCS2-V.dat new file mode 100644 index 00000000..a657c0b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UTF8-V.dat new file mode 100644 index 00000000..cf4182d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISPro-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-H.dat new file mode 100644 index 00000000..a3b5ef63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-V.dat new file mode 100644 index 00000000..365fbf28 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX0213-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-H.dat new file mode 100644 index 00000000..538a3f54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-V.dat new file mode 100644 index 00000000..de0455de Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniJISX02132004-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-H.dat new file mode 100644 index 00000000..ed856026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-V.dat new file mode 100644 index 00000000..f1c50727 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-H.dat new file mode 100644 index 00000000..b66337f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-V.dat new file mode 100644 index 00000000..fecb38f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-H.dat new file mode 100644 index 00000000..d6a7dc7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-V.dat new file mode 100644 index 00000000..7aec18e0 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF32-V.dat @@ -0,0 +1,2 @@ +xM? AqFߟ r-[blRFE&ʧA8ϵܧ9p~Mt flB3WEV@ZfX)rH  +GET`|9pJ~<D\ED\5$bक़#b 2 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-H.dat new file mode 100644 index 00000000..afc93e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-V.dat new file mode 100644 index 00000000..d0110aa4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_UniKS-UTF8-V.dat @@ -0,0 +1 @@ +xMMPӘvdV`n"1`b,QQ2^X@{k$O76[U]U;_4ӕwH3码MO4; ,Hc/+7,WY+ lX&[⩁#jDd84Db⪁1qrCB|a. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_V.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_V.dat new file mode 100644 index 00000000..f7b2445d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_WP-Symbol.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_WP-Symbol.dat new file mode 100644 index 00000000..aa6295e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_WP-Symbol.dat @@ -0,0 +1,3 @@ +x%Ja?6 7G1MZ +⮈ENНt^.,WDKɁ#OY"_%~DsF +JY:[K"&+ɮin.Xm/ptc*'0b#gFlΜx䕜DH \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Wingding.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Wingding.ttf new file mode 100644 index 00000000..a50b2cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_Wingding.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ZapfDingbats.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ZapfDingbats.ttf new file mode 100644 index 00000000..649ccd58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_ZapfDingbats.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_fontsubst.dat b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_fontsubst.dat new file mode 100644 index 00000000..1465f170 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_fontsubst.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_times.ttf b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_times.ttf new file mode 100644 index 00000000..2e69c6a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/_times.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/list.json b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/list.json new file mode 100644 index 00000000..98894471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/resources/list.json @@ -0,0 +1,231 @@ +[ +"_UniJISPro-UCS2-HW-V.dat", +"_KSCpc-EUC-H.dat", +"_Identity-H.dat", +"_CNS-EUC-H.dat", +"_Adobe-CNS1-H-Mac.dat", +"_Adobe-GB1-0.dat", +"_90pv-RKSJ-UCS2C.dat", +"_Adobe-GB1-1.dat", +"_Adobe-CNS1-0.dat", +"_EUC-H.dat", +"_GBT-EUC-V.dat", +"_DroidSansMono.ttf", +"_KSC-EUC-V.dat", +"_UniCNS-UTF16-H.dat", +"_times.ttf", +"_Adobe-Japan1-5.dat", +"_Adobe-CNS1-7.dat", +"_HKm471-B5-H.dat", +"_90pv-RKSJ-V.dat", +"_KSCpc-EUC-V.dat", +"_GBpc-EUC-H.dat", +"_Adobe-Japan1-H-Mac.dat", +"_Adobe-Japan1-H-Host.dat", +"_GBT-H.dat", +"_GBK-EUC-V.dat", +"_OutputIntent.icc", +"_CNS1-H.dat", +"_ETen-B5-H.dat", +"_UniHojo-UTF8-H.dat", +"_UniCNS-UCS2-V.dat", +"_UniKS-UCS2-H.dat", +"_Adobe-CNS1-H-CID.dat", +"_CNS1-V.dat", +"_CourierStdToNew.dat", +"_UniGB-UTF32-V.dat", +"_UCS2-90ms-RKSJ.dat", +"_78ms-RKSJ-H.dat", +"_Adobe-Korea1-1.dat", +"_UniJISX0213-UTF32-H.dat", +"_GBpc-EUC-V.dat", +"_Adobe-GB1-2.dat", +"_HKm314-B5-H.dat", +"_Adobe-Korea1-H-Host.dat", +"_78-EUC-V.dat", +"_HKgccs-B5-V.dat", +"_DroidSansFallbackFull.ttf", +"_Ext-RKSJ-V.dat", +"_GB-EUC-H.dat", +"_UniJIS-UCS2-H.dat", +"_UniKS-UTF8-V.dat", +"_Symbol.ttf", +"_KSC-EUC-H.dat", +"_UniJIS-UTF16-V.dat", +"_RKSJ-V.dat", +"_Adobe-CNS1-6.dat", +"_UniGB-UTF16-H.dat", +"_fontsubst.dat", +"_Adobe-CNS1-H-Host.dat", +"_GBpc-EUC-UCS2C.dat", +"_ETHK-B5-V.dat", +"_ETen-B5-V.dat", +"_Adobe-CNS1-1.dat", +"_GBT-V.dat", +"_GB-H.dat", +"_UCS2-KSCms-UHC.dat", +"_UniJISX02132004-UTF32-V.dat", +"_H.dat", +"_UniJIS2004-UTF16-H.dat", +"_Adobe-Korea1-KSCpc-EUC.dat", +"_UniCNS-UCS2-H.dat", +"_UniHojo-UCS2-V.dat", +"_UniJISPro-UTF8-V.dat", +"_Adobe-CNS1-5.dat", +"_DefaultCMYK.icc", +"_PDFA-XMP.4.2.3", +"_NWP-H.dat", +"_GB-V.dat", +"_CNS-EUC-V.dat", +"_Adobe-CNS1-2.dat", +"_Adobe-Japan2-0.dat", +"_UniGB-UCS2-V.dat", +"_UCS2-KSCpc-EUC.dat", +"_Adobe-Korea1-H-CID.dat", +"_90msp-RKSJ-V.dat", +"_90ms-RKSJ-UCS2.dat", +"_UniGB-UTF16-V.dat", +"_UCS2-B5pc.dat", +"_GBKp-EUC-H.dat", +"_Adobe-GB1-3.dat", +"_Adobe-Japan1-H-CID.dat", +"_UniCNS-UTF16-V.dat", +"_HKgccs-B5-H.dat", +"_UniJIS-UTF8-V.dat", +"_UniJIS2004-UTF32-H.dat", +"_Hojo-EUC-H.dat", +"_Adobe-GB1-4.dat", +"_UniJIS-UTF32-V.dat", +"_UniJIS-UCS2-HW-H.dat", +"_UCS2-ETen-B5.dat", +"_KSCms-UHC-HW-V.dat", +"_UniHojo-UTF16-H.dat", +"_UniKS-UTF16-H.dat", +"_78-RKSJ-H.dat", +"_UniKS-UCS2-V.dat", +"_KSC-V.dat", +"_UniGB-UCS2-H.dat", +"_Ext-H.dat", +"_78-RKSJ-V.dat", +"_UniHojo-UCS2-H.dat", +"_KSCms-UHC-H.dat", +"_GB-EUC-V.dat", +"_UniHojo-UTF16-V.dat", +"_Roman.dat", +"_ZapfDingbats.ttf", +"_HKm314-B5-V.dat", +"_Adobe-CNS1-UCS2.dat", +"_HKm471-B5-V.dat", +"_B5pc-UCS2C.dat", +"_GBK2K-H.dat", +"_HKdla-B5-H.dat", +"_UCS2-90pv-RKSJ.dat", +"_Adobe-Korea1-0.dat", +"_90pv-RKSJ-UCS2.dat", +"_KSC-Johab-V.dat", +"_ETenms-B5-H.dat", +"_UniCNS-UTF32-V.dat", +"_KSC-Johab-H.dat", +"_UniJIS2004-UTF16-V.dat", +"_V.dat", +"_78-H.dat", +"_Add-RKSJ-V.dat", +"_GBT-EUC-H.dat", +"_Adobe-Korea1-2.dat", +"_UCS2-GBpc-EUC.dat", +"_UniJIS-UCS2-HW-V.dat", +"_HKscs-B5-V.dat", +"_UniKS-UTF16-V.dat", +"_83pv-RKSJ-H.dat", +"_KSCpc-EUC-UCS2C.dat", +"_KSCms-UHC-UCS2.dat", +"_B5pc-V.dat", +"_UniCNS-UTF32-H.dat", +"_UniHojo-UTF32-H.dat", +"_Ext-RKSJ-H.dat", +"_Identity-V.dat", +"_Adobe-CNS1-3.dat", +"_Add-RKSJ-H.dat", +"_Wingding.ttf", +"_Adobe-Japan1-UCS2.dat", +"_78-V.dat", +"_UniKS-UTF8-H.dat", +"_Adobe-CNS1-B5pc.dat", +"_KSC-H.dat", +"_GBKp-EUC-V.dat", +"_Adobe-CNS1-4.dat", +"_UniGB-UTF8-H.dat", +"_Hojo-V.dat", +"_GBTpc-EUC-H.dat", +"_ETHK-B5-H.dat", +"_GBK2K-V.dat", +"_KSCms-UHC-HW-H.dat", +"_ETenms-B5-V.dat", +"_CNS2-V.dat", +"_UniJIS-UTF16-H.dat", +"_HKscs-B5-H.dat", +"_B5-V.dat", +"_78-EUC-H.dat", +"_UniJIS-UTF32-H.dat", +"_B5pc-UCS2.dat", +"_90ms-RKSJ-V.dat", +"_UniGB-UTF8-V.dat", +"_Hankaku.dat", +"_RKSJ-H.dat", +"_Adobe-Japan1-90ms-RKSJ.dat", +"_UniJISPro-UCS2-V.dat", +"_CNS2-H.dat", +"_KSCms-UHC-V.dat", +"_UniCNS-UTF8-H.dat", +"_Hojo-EUC-V.dat", +"_GBK-EUC-UCS2.dat", +"_B5pc-H.dat", +"_Adobe-Japan1-4.dat", +"_Hiragana.dat", +"_UniKS-UTF32-V.dat", +"_UniHojo-UTF8-V.dat", +"_Adobe-Korea1-KSCms-UHC.dat", +"_GBK-EUC-H.dat", +"_UniJIS2004-UTF32-V.dat", +"_UniKS-UTF32-H.dat", +"_Adobe-Japan1-90pv-RKSJ.dat", +"_Hojo-H.dat", +"_HKdlb-B5-V.dat", +"_78ms-RKSJ-V.dat", +"_90pv-RKSJ-H.dat", +"_GBTpc-EUC-V.dat", +"_UniJISX02132004-UTF32-H.dat", +"_UniJIS2004-UTF8-H.dat", +"_UniJIS2004-UTF8-V.dat", +"_Adobe-Japan1-3.dat", +"list.json", +"_Ext-V.dat", +"_Adobe-GB1-5.dat", +"_Adobe-Japan1-6.dat", +"_EUC-V.dat", +"_Adobe-Japan1-1.dat", +"_HKdla-B5-V.dat", +"_Add-V.dat", +"_UCS2-GBK-EUC.dat", +"_Adobe-Korea1-H-Mac.dat", +"_NWP-V.dat", +"_B5-H.dat", +"_Adobe-CNS1-ETenms-B5.dat", +"_UniJISX0213-UTF32-V.dat", +"_Add-H.dat", +"_UniHojo-UTF32-V.dat", +"_WP-Symbol.dat", +"_Adobe-Korea1-UCS2.dat", +"_Katakana.dat", +"_Adobe-GB1-UCS2.dat", +"_ETen-B5-UCS2.dat", +"_90msp-RKSJ-H.dat", +"_90ms-RKSJ-H.dat", +"_UniJIS-UCS2-V.dat", +"_HKdlb-B5-H.dat", +"_UniGB-UTF32-H.dat", +"_Adobe-Japan1-0.dat", +"_UniCNS-UTF8-V.dat", +"_Adobe-Japan1-2.dat", +"_UniJIS-UTF8-H.dat" +] diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/supportFiles/0_runtimeconfig.bin b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/supportFiles/0_runtimeconfig.bin new file mode 100644 index 00000000..c33b89a9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/gdpicture-2b3a76ab/jit/supportFiles/0_runtimeconfig.bin @@ -0,0 +1 @@ + MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse6System.Reflection.Metadata.MetadataUpdater.IsSupportedfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalse(()=>{"use strict";var t={r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e);const r=function t(e){let r;return r=e instanceof Error?e:new Error(e),Object.setPrototypeOf(r,t.prototype),r};r.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const n=r;function o(t,e){if(!t)throw new n(`Assertion failed: ${e||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}function s(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}new WeakMap;let f=function(t){return t[t.pdf_a_1a=0]="pdf_a_1a",t[t.pdf_a_1b=1]="pdf_a_1b",t[t.pdf_a_2a=2]="pdf_a_2a",t[t.pdf_a_2u=3]="pdf_a_2u",t[t.pdf_a_2b=4]="pdf_a_2b",t[t.pdf_a_3a=5]="pdf_a_3a",t[t.pdf_a_3u=6]="pdf_a_3u",t[t.pdf_a_3b=7]="pdf_a_3b",t[t.pdf_a_4=8]="pdf_a_4",t[t.pdf_a_4e=9]="pdf_a_4e",t[t.pdf_a_4f=10]="pdf_a_4f",t}({});function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e1?r-1:0),i=1;i{throw new n(`Error fetching dynamic fonts file ${t}. ${e}`)}));if(200!==e.status)throw new n(`Error fetching dynamic fonts file ${t}. Status code: ${e.status}`);const r=await e.json().catch((e=>{throw new n(`Error parsing dynamic fonts file ${t}. ${e}`)}));return r}catch(t){throw t}}(a);S("gdpicture/setDynamicFontLoading",{baseUrl:a.split("/").slice(0,-1).join("/"),allowedFonts:t.availableFonts,v:1})}s&&S("gdpicture/setFontSubstitutions",{fontSubstitutions:s})}toPdf(t,e){g.FS.writeFile(u,new Uint8Array(t));const r={file:p,format:"pdf"};e&&e in f&&(r.conformance=e);try{return S("gdpicture/process",{input:{file:u},output:r}),g.FS.readFile(p).buffer}finally{try{g.FS.unlink(p)}catch(t){}}}toOffice(t,e){g.FS.writeFile(u,new Uint8Array(t));const r=`/save.${e}`;try{return S("gdpicture/process",{input:{file:u},output:{file:r,format:e}}),g.FS.readFile(r).buffer}finally{try{g.FS.unlink(r)}catch(t){console.log(t.message)}}}async populateDocumentTemplate(t,e){let r;g.FS.writeFile(d,new Uint8Array(t));try{r=JSON.stringify(e,null,2)}catch(t){throw new Error("Invalid config data")}g.FS.writeFile(b,r);try{return S("gdpicture/process-office-template",{inputFile:d,modelAndConfigFile:b,outputFile:y}),g.FS.readFile(y).buffer}finally{try{g.FS.unlink(y),g.FS.unlink(b)}catch(t){console.log(t.message)}}}},F=self;return F.global=F,F.module={},F.onmessage=async t=>{let e,r,{data:n}=t;try{const t=await w[n.action](...n.args);if(e={id:n.id,result:t},Array.isArray(t)){const e=t.filter((t=>t instanceof ArrayBuffer));e.length>0&&(r=e)}t instanceof ArrayBuffer&&(r=[t])}catch(t){const o=[...n.args].filter((t=>t instanceof ArrayBuffer));o.length>0&&(r=o),e={id:n.id,error:t.message||t.toString(),callArgs:n.args}}F.postMessage(e,r)},e})())); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-2024.3.2.css b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-2024.3.2.css new file mode 100644 index 00000000..a072e691 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-2024.3.2.css @@ -0,0 +1,139 @@ +/*! + * PSPDFKit for Web 2024.3.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2024 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +.PSPDFKit-au2y6ump4kfh59dxhzebebxuk{cursor:pointer;font:inherit;font-weight:400}.PSPDFKit-rnby3kbjng3wxrprufma34mec,.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h{border:1px solid;border-radius:3px;padding:calc(var(--PSPDFKit-spacing-5)/2) var(--PSPDFKit-spacing-5);touch-action:none;transition:all .1s;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.PSPDFKit-rnby3kbjng3wxrprufma34mec{background-color:var(--PSPDFKit-Button--default-backgroundColor);border-color:var(--PSPDFKit-Button--default-borderColor);color:var(--PSPDFKit-Button--default-color)}.PSPDFKit-rnby3kbjng3wxrprufma34mec:hover{background:var(--PSPDFKit-Button--default-isHovered-backgroundColor);border-color:var(--PSPDFKit-Button--default-isHovered-borderColor);color:var(--PSPDFKit-Button--default-isHovered-color)}.PSPDFKit-rnby3kbjng3wxrprufma34mec:active,.PSPDFKit-rnby3kbjng3wxrprufma34mec:focus{background-color:var(--PSPDFKit-Button--default-isActive-backgroundColor);border-color:var(--PSPDFKit-Button--default-isActive-borderColor);color:var(--PSPDFKit-Button--default-isActive-color)}.PSPDFKit-rnby3kbjng3wxrprufma34mec.PSPDFKit-8gpjtx5az7b1eem7nk5gvydakg{background-color:var(--PSPDFKit-Button--default-isDisabled-backgroundColor);border-color:var(--PSPDFKit-Button--default-isDisabled-borderColor);color:var(--PSPDFKit-Button--default-isDisabled-color);cursor:default;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-rnby3kbjng3wxrprufma34mec.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw{color:var(--PSPDFKit-Button--default-color)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h{background-color:var(--PSPDFKit-Button--primary-backgroundColor);border-color:var(--PSPDFKit-Button--primary-border)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h,.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h:hover{color:var(--PSPDFKit-Button--primary-color)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h:hover{background-color:var(--PSPDFKit-Button--primary-isHovered-backgroundColor);border-color:var(--PSPDFKit-Button--primary-isHovered-borderColor)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h:active,.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h:focus{background:var(--PSPDFKit-Button--primary-isActive-backgroundColor);border-color:var(--PSPDFKit-Button--primary-isActive-borderColor);color:var(--PSPDFKit-Button--primary-isActive-color)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h.PSPDFKit-8gpjtx5az7b1eem7nk5gvydakg{background-color:var(--PSPDFKit-Button--primary-isDisabled-backgroundColor);border-color:var(--PSPDFKit-Button--primary-isDisabled-borderColor);color:var(--PSPDFKit-Button--primary-isDisabled-color);cursor:default;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-2pntgtgpg8fsv3qg8w5fqacy4h.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw{color:var(--PSPDFKit-Button--primary-inverted-color)}.PSPDFKit-948yzas5m1v89qgwznr168uzt{background-color:var(--PSPDFKit-Button--danger-backgroundColor);border-color:var(--PSPDFKit-Button--danger-borderColor);color:var(--PSPDFKit-Button--danger-color)}.PSPDFKit-948yzas5m1v89qgwznr168uzt:active,.PSPDFKit-948yzas5m1v89qgwznr168uzt:focus,.PSPDFKit-948yzas5m1v89qgwznr168uzt:hover{background:var(--PSPDFKit-Button--danger-isHovered-backgroundColor);border-color:var(--PSPDFKit-Button--danger-isHovered-borderColor);color:var(--PSPDFKit-Button--danger-isHovered-color)}.PSPDFKit-948yzas5m1v89qgwznr168uzt.PSPDFKit-8gpjtx5az7b1eem7nk5gvydakg{background-color:var(--PSPDFKit-Button--danger-isDisabled-backgroundColor);border-color:var(--PSPDFKit-Button--danger-isDisabled-borderColor);color:var(--PSPDFKit-Button--danger-isDisabled-color);cursor:default;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-948yzas5m1v89qgwznr168uzt.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw{background:var(--PSPDFKit-Button--danger-backgroundColor);border-color:var(--PSPDFKit-Button--danger-borderColor);color:var(--PSPDFKit-Button--danger-color)}.PSPDFKit-948yzas5m1v89qgwznr168uzt.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:active,.PSPDFKit-948yzas5m1v89qgwznr168uzt.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:focus,.PSPDFKit-948yzas5m1v89qgwznr168uzt.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:hover{background-color:var(--PSPDFKit-Button--danger-isHovered-backgroundColor);border-color:var(--PSPDFKit-Button--danger-isHovered-borderColor);color:var(--PSPDFKit-Button--danger-isHovered-color)}.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw,.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:active,.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:focus,.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:hover{background-color:transparent}.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:active,.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:focus,.PSPDFKit-268tqp6xe3scp42vzy5s2eg3gw:hover{border-color:currentColor}.PSPDFKit-3k3q1afeauc3dkyydsfhd7rcnf{display:flex;flex-wrap:wrap;justify-content:space-between}.PSPDFKit-5rgcz4b9h8c8cna578xznnvwj9{justify-content:flex-start}.PSPDFKit-7hx4xwaavengsmnusu1bgqjqxm{justify-content:flex-end}.PSPDFKit-5s4by7ab9qyy27f25vvhggw9a1{min-width:.25em;width:1em} +.PSPDFKit-2vhjpczqartzetc7h7a1xe2swv{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;font:inherit;line-height:inherit;padding:0;text-align:inherit;width:100%}.PSPDFKit-2nr4hbrfacpy6asgcy579kavvy{display:none}.PSPDFKit-54fzg7z8tvnck7852u5y8tje7y{display:flex;flex-direction:row;position:relative}.PSPDFKit-6e5m92eu677mvmp8771tt8vjp4{align-items:center;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuNTg0IDExLjI3N2EuNS41IDAgMCAwIC44MzIgMGw0LTZBLjUuNSAwIDAgMCAxMiA0LjVINGEuNS41IDAgMCAwLS40MTYuNzc3bDQgNloiIGZpbGw9IiMyQjJFMzYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==");background-position:50%;background-repeat:no-repeat;color:#fff;cursor:pointer;display:flex;height:100%;justify-content:center;overflow:hidden;position:absolute;right:0;top:0;width:16px;z-index:9999}.PSPDFKit-6e5m92eu677mvmp8771tt8vjp4:focus-within{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuNTg0IDExLjI3N2EuNS41IDAgMCAwIC44MzIgMGw0LTZBLjUuNSAwIDAgMCAxMiA0LjVINGEuNS41IDAgMCAwLS40MTYuNzc3bDQgNloiIGZpbGw9IiM0NjM2RTMiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==")}.PSPDFKit-4z6z5fvcvgzmwxqzw9312q7pbd{-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%;left:-40px;opacity:0;position:absolute;top:0;width:80px}.PSPDFKit-4z6z5fvcvgzmwxqzw9312q7pbd::-webkit-calendar-picker-indicator{background:transparent;bottom:0;color:transparent;height:auto;left:0;position:absolute;right:0;top:0;width:auto}.PSPDFKit-ggstmpcjv8fc924cxp4hqu6cx{background-color:transparent;border:none;color:transparent;left:auto;opacity:1;right:0} +.PSPDFKit-38tjaczw7mwm22y3raq5wmyy1j{align-items:center;display:flex;flex-direction:column;justify-content:center} +.PSPDFKit-8gjpn8p7xvprbe81bs4qegz9b5{height:100%;isolation:isolate;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-8gjpn8p7xvprbe81bs4qegz9b5 .PSPDFKit-49jnx4hscrumgdkjrg64zuk14q{bottom:0;display:flex;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;z-index:100}.PSPDFKit-8gjpn8p7xvprbe81bs4qegz9b5 .PSPDFKit-7ax9upudu4ydm6jd89kdj7c6yp{-webkit-touch-callout:none;overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8gjpn8p7xvprbe81bs4qegz9b5 .PSPDFKit-7ax9upudu4ydm6jd89kdj7c6yp .PSPDFKit-2x9bkxefr59ns3waswhn3y72cg canvas,.PSPDFKit-8gjpn8p7xvprbe81bs4qegz9b5 .PSPDFKit-7ax9upudu4ydm6jd89kdj7c6yp .PSPDFKit-2x9bkxefr59ns3waswhn3y72cg img{pointer-events:none} +.PSPDFKit-er87znp11z8wa56gmt1nr1adc{border:0;display:block;height:100%;pointer-events:none;position:absolute;width:100%;z-index:-1}.PSPDFKit-browser-engine-blink .PSPDFKit-er87znp11z8wa56gmt1nr1adc::selection,.PSPDFKit-browser-engine-webkit .PSPDFKit-er87znp11z8wa56gmt1nr1adc::selection{background:transparent} +.PSPDFKit-4nwgurkrevp1yuf43kw3pw6n4x{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;font:inherit;line-height:inherit;padding:0;text-align:inherit;width:100%}.PSPDFKit-617nrrn3mfmnddnq1twgtfg8r6{display:none} +.PSPDFKit-8aptmp24g12z3cd4gbhkz59kk{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px} +.PSPDFKit-72w9tuwnjsamr2knxvc63vmsar{background:var(--PSPDFKit-Modal-dialog-backgroundColor);border-radius:6px;box-shadow:0 12px 32px 0 var(--PSPDFKit-Modal-dialog-boxShadowColor);color:var(--PSPDFKit-Modal-dialog-color);isolation:isolate;max-height:100vh;overflow-y:auto;padding:var(--PSPDFKit-spacing-3)}.PSPDFKit-4xwm59bykq6v7gwcyxwek1ydrn{border-radius:0}.PSPDFKit-3284fys8g583pzu3bk5ga8zefu{align-items:center;background-color:var(--PSPDFKit-Modal-backdrop-backgroundColor);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;touch-action:none}.PSPDFKit-7765ngjsv6cemmhcayzhemjc2z{margin-left:calc(var(--PSPDFKit-spacing-3)*-1);margin-right:calc(var(--PSPDFKit-spacing-3)*-1);padding:var(--PSPDFKit-spacing-3)}.PSPDFKit-7765ngjsv6cemmhcayzhemjc2z:first-child{border-radius:6px 6px 0 0;margin-top:calc(var(--PSPDFKit-spacing-3)*-1)}.PSPDFKit-7765ngjsv6cemmhcayzhemjc2z:last-child{border-radius:0 0 6px 6px;margin-bottom:calc(var(--PSPDFKit-spacing-3)*-1)}.PSPDFKit-3mw4zj9p2e4tyy78h5yqq4qax7{border-top:1px solid var(--PSPDFKit-Modal-divider-border);margin-left:calc(var(--PSPDFKit-spacing-3)*-1);margin-right:calc(var(--PSPDFKit-spacing-3)*-1)}.PSPDFKit-47ev9d7dyk4ccum2tcjz3a3r35,.PSPDFKit-z6uw3esrcxb9v43jgpz5fvnmt{margin-bottom:var(--PSPDFKit-spacing-3);margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-38d49zqp894x7hvhpr4zu4cbhn{animation:PSPDFKit-73sp85tuvq7xtryqz19u273z9z .82s cubic-bezier(.36,.07,.19,.97) both;transform:translateZ(0)}@keyframes PSPDFKit-73sp85tuvq7xtryqz19u273z9z{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}} +.PSPDFKit-2sdtmn12dteusjwrjqrdg811d9{background:var(--PSPDFKit-Mobile-popover-backgroundColor)} +.PSPDFKit-7ed17gy5t5hdnc4rekhbhwue9z{animation:PSPDFKit-28ac9mfnscmu7fw7gy316sv7bn .1s;display:flex;flex-direction:column;margin:0 25px;max-width:330px;width:100%}.PSPDFKit-35yq8vgyqdkq1cwb6v94z64det{background-color:var(--PSPDFKit-Progress-progress-background);border-radius:var(--PSPDFKit-Progress-borderRadius);color:var(--PSPDFKit-Progress-progress-color);display:block;margin:.5em 0;overflow:hidden;padding:.25em .5em;position:relative;width:100%;z-index:1}.PSPDFKit-4dwvz8ana6tddzhfs85f6mnnp8{background-color:var(--PSPDFKit-Progress-progressBar-background);bottom:0;left:0;position:absolute;top:0;transition:width .5s;z-index:-1}.PSPDFKit-c8eg9u7nftba2p6d1jj8d8kzb{color:var(--PSPDFKit-Progress-progressText-color)}.PSPDFKit-7ndmeze8gd8de3z4btdkfg1dtd{animation:PSPDFKit-28ac9mfnscmu7fw7gy316sv7bn .1s;display:flex;flex-direction:row;justify-content:center;margin:0 25px;max-width:330px;transform:scale(2);width:100%}.PSPDFKit-7ndmeze8gd8de3z4btdkfg1dtd .PSPDFKit-3kawgqfqrbzkay9qu26fpcdsef{animation:PSPDFKit-58k69thdd3ken25z2cjaqd7zx3 1.5s ease-in-out infinite;background-color:#a6adad;border-radius:50%;height:var(--PSPDFKit-Progress-dot-height);transform:scale(0);width:var(--PSPDFKit-Progress-dot-width)}.PSPDFKit-3kawgqfqrbzkay9qu26fpcdsef:not(:last-child){margin-right:4px}.PSPDFKit-3kawgqfqrbzkay9qu26fpcdsef:nth-child(2){animation-delay:.16s}.PSPDFKit-3kawgqfqrbzkay9qu26fpcdsef:nth-child(3){animation-delay:.32s}@keyframes PSPDFKit-58k69thdd3ken25z2cjaqd7zx3{20%{transform:scale(0)}50%{transform:scale(1)}80%{transform:scale(0)}}@keyframes PSPDFKit-28ac9mfnscmu7fw7gy316sv7bn{0%{opacity:0}99%{opacity:0}to{opacity:1}} +.PSPDFKit-8t7e487v5yhvt5nw4msux95yx4,.PSPDFKit-4u8kmkyf5hdjhe4qvnt5a975a7{color:var(--PSPDFKit-Text-color);margin:0}.PSPDFKit-8t7e487v5yhvt5nw4msux95yx4{font-size:var(--PSPDFKit-fontSize-4);font-weight:700} +.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd,.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6,.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm{border:1px solid;border-radius:2px;display:block;font-weight:700;padding:calc(var(--PSPDFKit-spacing-3)/2) var(--PSPDFKit-spacing-3);touch-action:none;transition:all .1s;width:100%}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd:active:not(:disabled),.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd:focus,.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6:active:not(:disabled),.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6:focus,.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm:active:not(:disabled),.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm:focus{outline:none}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd:disabled,.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6:active:not(:disabled),.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm:disabled{opacity:.8}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd{background-color:var(--PSPDFKit-TextInput--default-backgroundColor);border-color:var(--PSPDFKit-TextInput--default-borderColor);color:var(--PSPDFKit-TextInput--default-color)}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd::-ms-input-placeholder{color:var(--PSPDFKit-TextInput--default-placeholder-color)}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd::placeholder{color:var(--PSPDFKit-TextInput--default-placeholder-color)}.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd:active:not(:disabled),.PSPDFKit-38cjpvxsadupm25h2qyxa7n5gd:focus{background:var(--PSPDFKit-TextInput--default-isFocused-backgroundColor);border-color:var(--PSPDFKit-TextInput--default-isFocused-borderColor);color:var(--PSPDFKit-TextInput--default-isFocused-color)}.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6{background-color:var(--PSPDFKit-TextInput--error-backgroundColor);border-color:var(--PSPDFKit-TextInput--error-borderColor);color:var(--PSPDFKit-TextInput--error-color)}.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6::-ms-input-placeholder{color:var(--PSPDFKit-TextInput--error-placeholder-color)}.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6::placeholder{color:var(--PSPDFKit-TextInput--error-placeholder-color)}.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6:active:not(:disabled),.PSPDFKit-6x4yhy9ph7pfrk6h8kw9utwu6:focus{background:var(--PSPDFKit-TextInput--error-isFocused-backgroundColor);border-color:var(--PSPDFKit-TextInput--error-isFocused-borderColor);color:var(--PSPDFKit-TextInput--error-isFocused-color)}.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm{background-color:var(--PSPDFKit-TextInput--success-backgroundColor);border-color:var(--PSPDFKit-TextInput--success-borderColor);color:var(--PSPDFKit-TextInput--success-color)}.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm::-ms-input-placeholder{color:var(--PSPDFKit-TextInput--success-placeholder-color)}.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm::placeholder{color:var(--PSPDFKit-TextInput--success-placeholder-color)}.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm:active:not(:disabled),.PSPDFKit-2ymexjhtn4dy2ktzjafxvn4mcm:focus{background:var(--PSPDFKit-TextInput--success-isFocused-backgroundColor);border-color:var(--PSPDFKit-TextInput--success-isFocused-borderColor);color:var(--PSPDFKit-TextInput--success-isFocused-color)} +.PSPDFKit-f9rncje5vypsb5267rnrdcs85{margin:0 4px}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a,.PSPDFKit-f9rncje5vypsb5267rnrdcs85{align-items:center;display:flex}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a{background:var(--PSPDFKit-RadioGroup-icon-label-background);cursor:pointer;height:32px;justify-content:center;margin:8px 1px;width:32px}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a svg{fill:var(--PSPDFKit-RadioGroup-icon-color);height:24px;width:24px}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a input{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;visibility:hidden;width:1px}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a:first-of-type{border-radius:3px 0 0 3px;margin-right:0}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a:last-of-type{border-radius:0 3px 3px 0;margin-left:0}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a[data-focus-within]{outline:1px solid #dadee2}.PSPDFKit-3uur2bmk3hqenhtsm6vtpkds4a:focus-within{outline:1px solid #dadee2}.PSPDFKit-6xcnmm7jxc3re1cmuv5z4j6sk7{background:var(--PSPDFKit-RadioGroup-iconLabel-isActive-background);border-color:var(--PSPDFKit-RadioGroup-iconLabel-isActive-border)}.PSPDFKit-6xcnmm7jxc3re1cmuv5z4j6sk7 svg{fill:var(--PSPDFKit-RadioGroup-iconLabel-isActive-svg-fill);color:var(--PSPDFKit-RadioGroup-iconLabel-isActive-svg-color)}.PSPDFKit-8c6mhtrbbsa2js16uaq25bwfa1{border:0!important;color:var(--PSPDFKit-RadioGroup-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-7xbq3geyeftt96vccbps1yn6n7 span{color:var(--PSPDFKit-RadioGroup-selectedLabel-color)!important}.PSPDFKit-6d1dypxk3mwh24wj647gqjdppa{background-color:var(--PSPDFKit-RadioGroup-label-background)}.PSPDFKit-4psvp5qh3p6sm4qkr5q2ax9kw5{column-gap:9px;flex:1;margin:0}.PSPDFKit-57yjxnefe1fy6tdx3g76jf6qzv{height:11px;width:12px} +.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj,.PSPDFKit-79691ssynn76fuqcjks69dk3ms{align-items:center;display:flex}.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj{color:var(--PSPDFKit-CheckboxComponent-label-color);flex-wrap:nowrap;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj:before{border:1px solid var(--PSPDFKit-CheckboxComponent-unchecked-border);border-radius:3px;content:"";display:inline-block;height:1rem;margin-right:.5rem;width:1rem}.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj:after{box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#fff;display:inline-block;left:.1875rem;position:absolute}.PSPDFKit-7sgqtcguswky89v7b7fn8q2nc4+.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj:after{content:none}.PSPDFKit-7sgqtcguswky89v7b7fn8q2nc4:checked+.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj:after{content:"✓"}.PSPDFKit-7sgqtcguswky89v7b7fn8q2nc4:checked+.PSPDFKit-4x5dznaux2fnhttuhjv8qpnrxj:before{background-color:var(--PSPDFKit-CheckboxComponent-checked-background);border:1px solid var(--PSPDFKit-CheckboxComponent-checked-border);box-shadow:inset 0 0 2px var(--PSPDFKit-shadow-color),inset 0 .75px 1.5px var(--PSPDFKit-shadow-color)}.PSPDFKit-7sgqtcguswky89v7b7fn8q2nc4:focus+label:before{outline:3px auto #3b99fc}.PSPDFKit-7sgqtcguswky89v7b7fn8q2nc4{height:1px;opacity:0;position:absolute;visibility:hidden;width:1px} +.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k{-webkit-touch-callout:none;background:inherit;cursor:text;height:auto;overflow:auto;width:auto}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k div,.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k span{cursor:text}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k p{margin:0}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k a{color:#777cf0;cursor:pointer;text-decoration:underline}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k:focus{outline:none}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k [contenteditable]{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-5dmn7sg6ek1rhdxkvkqcbqh9k [data-user-id]{background-color:#d9ddfa;border-radius:3px;vertical-align:initial}.PSPDFKit-5uzk3qfr7fcvb4g9gra8chacg8{height:100%;min-height:inherit!important;outline:none;width:100%} +:host,:root{--PSPDFKit-DropdownMenuComponent-borderRadius:3px;--PSPDFKit-DropdownMenuComponent-size:24px}.PSPDFKit-65g4dzzwf1baxctk21rdyms5mr{display:flex;justify-content:flex-end;width:100%}.PSPDFKit-8argm94ptuprgj7y3vhw6dr8au{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;border-radius:var(--PSPDFKit-DropdownMenuComponent-borderRadius);min-height:24px;min-width:24px;padding:1px}.PSPDFKit-8argm94ptuprgj7y3vhw6dr8au[data-state=open]{background-color:var(--PSPDFKit-DropdownMenuComponent-trigger-backgroundColor)}.PSPDFKit-8bsn2442emy52wh8sckmyyq3b6{position:absolute}.PSPDFKit-4e1fn8va5ecagrevznyumqpt8k{align-items:center;border-radius:4px;display:flex;justify-content:center}.PSPDFKit-4e1fn8va5ecagrevznyumqpt8k svg{fill:var(--PSPDFKit-DropdownMenuComponent-trigger-icon-fill);width:16px}.PSPDFKit-8argm94ptuprgj7y3vhw6dr8au:hover{background-color:var(--PSPDFKit-DropdownMenuComponent-trigger-backgroundColor);cursor:pointer}.PSPDFKit-5mvfn68qgpc7atqubnfuc3f4b4{background-color:var(--PSPDFKit-DropdownMenuComponent-content-backgroundColor);border:var(--PSPDFKit-DropdownMenuComponent-border);border-radius:var(--PSPDFKit-DropdownMenuComponent-borderRadius);min-width:220px}.PSPDFKit-8bk7wp33b8n1aehgs8mmv32j4t{margin-top:24px}.PSPDFKit-399auf99f4y73aujcw9743yw3g{align-items:center;color:var(--PSPDFKit-DropdownMenuComponent-item-color);display:flex;font-size:13px;outline:none;padding:12px 0 12px 48px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-59ey17e4mhkgymzb2eu552tv9e{padding-left:17px}.PSPDFKit-59ey17e4mhkgymzb2eu552tv9e span:only-child{padding-left:31px}.PSPDFKit-6pvqs8xmu549e8xwas52rsdn3a{fill:var(--PSPDFKit-DropdownMenuComponent-trigger-icon-fill);height:20px;margin-right:14px;width:16px}.PSPDFKit-23nsg5e8wvhgwkuwtf7s7yajjk{background-color:var(--PSPDFKit-DropdownMenuComponent-separator-backgroundColor);height:1px}.PSPDFKit-7hgwsfrfptbsjff1w8wp3vs3fh:hover,.PSPDFKit-399auf99f4y73aujcw9743yw3g[data-highlighted]{background-color:var(--PSPDFKit-DropdownMenuComponent-item-highlighted-backgroundColor);color:#fff;cursor:pointer}.PSPDFKit-7hgwsfrfptbsjff1w8wp3vs3fh:hover .PSPDFKit-8319n6q61cgvbywqraddyzzq4g,.PSPDFKit-399auf99f4y73aujcw9743yw3g[data-highlighted] .PSPDFKit-8319n6q61cgvbywqraddyzzq4g{visibility:visible}.PSPDFKit-8319n6q61cgvbywqraddyzzq4g{margin-left:auto;opacity:.5;padding-right:8px;visibility:hidden} +:host,:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey980:#0e1218;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey40:#f6f9fd;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-9kt28ket9qkhevfbz7cbbw1hb{border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);width:100%}.PSPDFKit-9kt28ket9qkhevfbz7cbbw1hb>button{fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);background-color:var(--PSPDFKit-FormDesignerExpandoComponent-button-color);color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);font-size:var(--PSPDFKit-fontSize-2);letter-spacing:.03rem;margin:0;padding-left:6px;text-transform:uppercase}.PSPDFKit-9kt28ket9qkhevfbz7cbbw1hb>button:hover{fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);cursor:pointer}.PSPDFKit-4qbtrs7uku7m1vc5hra33bpuyg{display:flex;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wag8ffkyv8h2tybvhe7amk9nm{height:22px;margin-right:var(--PSPDFKit-spacing-7);width:12px}.PSPDFKit-5sx5qx4udha76yjmqjkh932ffg{fill:var(--PSPDFKit-FormDesignerExpandoComponent-content-color);color:var(--PSPDFKit-FormDesignerExpandoComponent-content-color)} +.PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{bottom:0;cursor:inherit;left:0;mix-blend-mode:multiply;position:absolute;right:0;top:0;-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-browser-engine-webkit .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66::selection{background:transparent}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-android .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-windows .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{opacity:.2}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66 .PSPDFKit-3p1jq2xuq7kt61btvzbmcvfsdg{bottom:0;cursor:default;left:0;position:absolute;right:0;top:100%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t{cursor:inherit;display:block;height:100vh;position:absolute;width:100vw;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t ::selection{background-color:transparent!important}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw,.PSPDFKit-7mqrwx6ruetyxx1crt7g8tj53b{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{color:transparent;display:block;font-family:Arial,sans-serif;font-size:16px!important;font-weight:400;line-height:1;margin:0;position:absolute;text-align:left;transform-origin:0 0 0;white-space:pre}.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw ::selection{background-color:#2378ff}.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:highlight;color:transparent}.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff;color:#2378ff}.PSPDFKit-browser-system-linux .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff}.interactions-disabled .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{content:"";height:150%;position:absolute;top:-10%;width:100%;z-index:-1}.PSPDFKit-browser-engine-blink .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before,.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{display:none}.PSPDFKit-55tte6u6fczpks4kxqrywvkhcv{height:50%;position:absolute;width:100%}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:text}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x.PSPDFKit-68wd7m2jrz9c462vgy6yvba62f{cursor:vertical-text}.PSPDFKit-CursorPointer .PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:inherit!important}.PSPDFKit-2tg9p1utsyyke5vpebq5gc3413{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-3a9hp6ezp9vyzwpeksepg43552{color:red;outline:1px solid red}.PSPDFKit-6fq5ysqkmc2gc1fek9b659qfh8{display:block} +.PSPDFKit-224gyk59mnmuy1j6u58s8bcf2p [tabindex]:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.PSPDFKit-3mxmx3p3whct5a2qk5bsb3v7rg[tabindex]:focus:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color} +.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h{background-color:rgba(236,240,255,.9);border:1px solid #7f96ed;box-sizing:border-box;display:block;font-family:Helvetica,sans-serif;margin:0}.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h:hover{outline:1px solid #7f96ed}.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19,.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19:hover{background-color:hsla(0,0%,94%,.9);border-color:#cacaca;color:gray;cursor:default}.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:focus-visible,.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus-visible:focus{outline:5px auto Highlight}.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4,.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:hover,.PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus{background-color:#fffb8b;border-color:#beb700;color:#333}.PSPDFKit-x9z86ubc4peun53ye7m7udhyp:focus{padding-left:0!important}.PSPDFKit-cr6q4n8xfg6vtzd5q658psukz{display:flex;flex-direction:column} +.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube{align-items:center;background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:flex;font:inherit;justify-content:center;line-height:normal;padding:0;touch-action:pan-x;width:auto}.PSPDFKit-86bf3wbtmfc5xa3yfd4fazea9y,.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube:disabled{cursor:default;pointer-events:none}.PSPDFKit-5734rhbbfgd613g81qs13md49y{margin-right:11px}.PSPDFKit-2n6h3jcy1kke81pjgewmpnqa34{cursor:not-allowed} +.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{background:transparent;border:none;color:var(--PSPDFKit-ColorDropdown-customColor-deleteButton-color);display:none;height:16px;padding:0;position:absolute;right:-6px;top:-7px;width:16px}@media(max-width:992px)and (hover:none){.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{align-items:center;border-radius:5px;display:flex;height:34px;justify-content:center;right:-30px;top:-1px;width:30px;z-index:1}.PSPDFKit-996xvngvf7q6px5aesbyjcvt5 svg{height:24px;width:24px}}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover .PSPDFKit-996xvngvf7q6px5aesbyjcvt5{display:block}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc{position:relative}@media(max-width:992px){.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover{background-color:var(--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background)}} +.PSPDFKit-61pwj551swb751vsvtncfs97hr{background:var(--PSPDFKit-DropdownMenu-background);border:1px solid var(--PSPDFKit-DropdownMenu-border);border-radius:4px;box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:var(--PSPDFKit-DropdownMenu-color);list-style:none;margin:0;padding:var(--PSPDFKit-spacing-6);-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-3txgs1brv6djswfx9c7deps2u2{border:0;height:0;padding:0}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-8f8f78v7f3wp5n55qwjfz6qd98{visibility:hidden}.PSPDFKit-33kurg23vuastg415g558n9d74{align-items:center;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:inherit;cursor:pointer;display:flex;font:inherit;height:34px;justify-content:flex-start;line-height:normal;padding:0 11px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-width-md .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-sm .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-xs .PSPDFKit-33kurg23vuastg415g558n9d74{display:none}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r{align-items:center;background:var(--PSPDFKit-DropdownMenu-button-background);border:1px solid var(--PSPDFKit-DropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-DropdownMenu-button-color);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:space-between;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:var(--PSPDFKit-DropdownMenu-button-fill)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq),.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within]{background:var(--PSPDFKit-DropdownMenu-button-background);color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq) .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd,.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within] .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within{background:var(--PSPDFKit-DropdownMenu-button-background);color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-5nr9hus8pqrwezzkgpd829srq5{background:var(--PSPDFKit-DropdownMenu-isSelected-background);color:var(--PSPDFKit-DropdownMenu-isSelected-color)}.PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd.PSPDFKit-5qky4ks8vy64a1wucbs25k86sv{fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d{max-width:200px}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{background-color:transparent;border:0;height:44px;margin:0;transition:background-color .15s,color .15s}.PSPDFKit-2h6u1uvepb29aceyswrhabn442 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5{fill:currentColor;display:flex;flex-direction:column;height:24px;justify-content:center;width:24px}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442[data-focus-within],.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:active,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:hover,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5[data-focus-within]{background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus-within,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus-within{background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8[data-focus-within],.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:active,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:hover,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k[data-focus-within]{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus-within,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus-within{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{min-width:44px;padding:0 11px}.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh{display:flex}.PSPDFKit-2h6u1uvepb29aceyswrhabn442{color:inherit;padding:0 5px}.PSPDFKit-32j2tkxs7yf83d9vrqs2np1xja{align-items:center;cursor:pointer;display:flex;justify-content:center;padding:0;width:44px}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:.8}:active>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:focus>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:hover>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:1}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{border:0;padding:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-right:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{transition:none}.PSPDFKit-7t6uf3numwbvg2qg3x9sx7rkjx .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-left:0}.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{background:transparent}.PSPDFKit-67e5xx7a8j97ze41fv1th56sbu{margin-right:11px}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled{cursor:not-allowed;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity);pointer-events:none}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4 i,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled i{fill:var(--PSPDFKit-ToolbarButton-isDisabled-child-fill)}.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:active,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:focus,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:hover{background:var(--PSPDFKit-ToolbarButton-isActive-background)!important;color:var(--PSPDFKit-ToolbarButton-isActive-color)!important}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe.PSPDFKit-7mpjdpbxyc5gttymwetaz47j3q{cursor:not-allowed;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity)} +.PSPDFKit-6eekmx2r3rzpn49557vdt2e5tj{fill:currentColor;display:flex;flex:24px 0 0;flex-direction:column;height:24px;justify-content:center;width:24px} +.PSPDFKit-3rtr4tx6y919hj63k8j6veyfvu{align-items:center;display:flex;flex-direction:row;height:30px;justify-content:center;min-width:30px}.PSPDFKit-2f2ahvz6xw42cz6ppqg7qrnv5w{background-color:transparent;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjQ5NyAxMkg3LjUwM00xMiA3LjUwM3Y4Ljk5NC04Ljk5NFoiIHN0cm9rZT0iIzg0OEM5QSIgc3Ryb2tlLXdpZHRoPSIxLjI1IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xMiAyMS41YTkuNSA5LjUgMCAxIDAgMC0xOSA5LjUgOS41IDAgMCAwIDAgMTlaIiBzdHJva2U9IiM4NDhDOUEiLz48L3N2Zz4=");background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:50%;cursor:pointer}input[type=color]::-webkit-color-swatch{visibility:hidden}input[type=color]::-moz-color-swatch{visibility:hidden} +.PSPDFKit-4knn6qcs6mfzubc11j3jn3kdh9{align-items:center;color:inherit;display:flex;font-size:inherit;line-height:32px;margin:5px}.PSPDFKit-5sa85wwcx2g58bvnwu3e9vxux8{padding-right:6px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa{align-items:center;display:flex;position:relative;width:140px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;min-width:70px;padding:0;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-runnable-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;margin-top:-4px;-webkit-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:hover{background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]:focus::-webkit-slider-runnable-track{background:#4636e3}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-progress{background:#4636e3;border:0 solid var(--PSPDFKit-SliderComponent-track-progress-color);border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb{background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;-moz-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:hover{background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-focus-outer{border:0}.PSPDFKit-6b7xgm3nqzh79vcp4knygzskc2{margin-left:8px;text-align:right;white-space:nowrap} +.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1{align-items:center;color:inherit;cursor:pointer;display:flex;font-size:inherit;line-height:32px;margin:5px;position:relative}.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1:focus{outline:none}.PSPDFKit-8mewb5unfae7pfb8a3vhx2pfe4{cursor:pointer;margin-right:10px;position:relative}.PSPDFKit-7s1evqenghjbnmpkjx46g7aj7a{padding-right:6px}.PSPDFKit-4tsachwba3d2gug8ut8n2k7kw2{cursor:pointer;line-height:1;text-align:right;white-space:nowrap}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{background:var(--PSPDFKit-SliderDropdownComponent-items-background);border:1px solid var(--PSPDFKit-SliderDropdownComponent-items-border);display:none;list-style:none;margin:0;min-width:100%;overflow:visible;position:absolute;text-align:left;top:100%;z-index:100}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm:focus{outline:none}.PSPDFKit-width-md .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-sm .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xs .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{left:auto!important;right:0}.PSPDFKit-86g1a3rfhteap5bxhyrt2js27u{bottom:100%;top:auto}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn{background:var(--PSPDFKit-SliderDropdownComponent-button-background);border:1px solid var(--PSPDFKit-SliderDropdownComponent-button-border);border-radius:3px;color:var(--PSPDFKit-SliderDropdownComponent-button-color);cursor:pointer;font:inherit;line-height:1;min-width:5em;padding-left:6px;padding-right:20px;text-align:center;width:100%}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn:hover .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:var(--PSPDFKit-SliderDropdownComponent-button-isHovered-color)}.PSPDFKit-7bepqp75z28r5jat89hqdhcjva{display:flex}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:var(--PSPDFKit-SliderDropdownComponent-button-toggle-color);line-height:1;position:absolute;right:5px;top:50%;transform:translateY(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:var(--PSPDFKit-SliderDropdownComponent-button-show-color)}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1 svg{height:12px;width:12px}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu{border-bottom:1px solid var(--PSPDFKit-SliderDropdownComponent-item-border);clear:both;color:var(--PSPDFKit-SliderDropdownComponent-item-color);display:block;overflow:hidden;padding:10px;text-decoration:none;white-space:nowrap}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu:last-child{border-bottom:0}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8{background:--PSPDFKit-SliderDropdownComponent-item-isFocused-background;color:var(--PSPDFKit-SliderDropdownComponent--item-isFocused-color)}.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:--PSPDFKit-SliderDropdownComponent-item-isSelected-background}.PSPDFKit-6baefa9vw8uyyrsvfez7h3ewrq{color:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-color);opacity:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity)}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:var(--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background);font-weight:700}.PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{display:block;left:50%}.PSPDFKit-width-lg .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xl .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{transform:translateX(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm>a{outline:0}.PSPDFKit-4xjmg49gjvk5zp5p42ms81uw4h{background:var(--PSPDFKit-SliderDropdownComponent-dropdown-background);border:1px solid var(--PSPDFKit-SliderDropdownComponent-dropdown-border);border-radius:3px;box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:var(--PSPDFKit-SliderDropdownComponent-dropdown-color);height:auto;margin-top:5px;opacity:1;position:absolute;width:auto;z-index:2}.PSPDFKit-2cuzr66tz354vn9dgkzb1pwq4b{position:static} +.PSPDFKit-5w3r6933jce2abq346fpwgue51{flex-direction:row-reverse;justify-content:space-between;padding:2px;width:100%}.PSPDFKit-5w3r6933jce2abq346fpwgue51:after{box-shadow:none;color:var(--color-coolGrey1000);font-size:var(--PSPDFKit-fontSize-2);font-weight:800;left:13px;right:.3125rem;top:0}.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{border-radius:50%;margin-left:.5rem;margin-right:0}.PSPDFKit-45ug7rn2wuu9n7de4t3y1vuqwa:checked+.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{background-color:var(--color-coolGrey200);border-color:var(--color-coolGrey200);box-shadow:none} +.PSPDFKit-6zammky19ps21racepzhy8rr4j{align-items:center;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-6zammky19ps21racepzhy8rr4j:last-child{border-bottom:none}.PSPDFKit-2973scygnut2d1y23dq3gdzwkg{display:flex;height:24px;width:24px}.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{flex:1 0;margin:0 1rem}.PSPDFKit-4jkuv1k2kb5b4d6b929psybced,.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c{height:30px}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-78jtbtb2j2q11tpjx4jn1wvwvk{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv{height:30px;margin:0}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-6gk4p1adjfr1kg7hjpk3dgvtwc{height:20px;width:20px}.PSPDFKit-4eqdajsqgt941vw7crd9u82kmt{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{display:none}.PSPDFKit-width-md .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-sm .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-xs .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{align-items:center;display:block}.PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-sm .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-xs .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{display:none}.PSPDFKit-5rw15mhzf9ycre4r1g7q2ptv9h{padding:0}.PSPDFKit-3691qqtsdq1317y5z7k3ak5jgk{height:32px}.PSPDFKit-68nrp97epj74ah3dwvjg79nfmr{align-items:center;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-5fqyghhu3ajdj6t464j4ufdk6q{color:var(--color-coolGrey400);flex:1 0;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-7qt3uxz4r5wpssw2bbe778ga4g{align-items:center;display:flex;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-edsr1ac3tdhjwcufzhwq9jz98{height:16px;margin-right:8px;width:16px}.PSPDFKit-8fdb8fsm3rux9gpz8ggdyhhsyb{color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:var(--PSPDFKit-fontSize-2);line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag{position:relative}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag>div:first-child{cursor:not-allowed}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3{pointer-events:none}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3 input{background-color:transparent!important}.PSPDFKit-6eg6h7jnq9b1wjwv6kf3eqsd7b{padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-sm .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-xs .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e{border-radius:3px;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1{border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover{background-color:initial}.PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)} +.PSPDFKit-6r17fy6uh5kqy3cfjb73vq9v1v{background:var(--PSPDFKit-AnnotationToolbar-background);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-2uhz161knhrkpzrb5mn5na3aqr{width:100%}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{align-items:center;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{align-items:center;display:flex;flex-grow:1}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row;justify-content:flex-start}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3.PSPDFKit-2qbav5sard6dxefsy6p5gufajq{flex-direction:row}.PSPDFKit-318vz1kpftbtjp8eccy824g4m6 .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{border-bottom:none;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-78mpt2swt4apfep3ag7quqq6me{align-items:center;height:44px}.PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{margin-right:6px}.PSPDFKit-532n3mbvmujvwmv3zweh7u59u7{height:32px}.PSPDFKit-8b7caq86m7x4bkzf3ecjwqesrz button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1{align-items:center;width:100%}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1,.PSPDFKit-559g7qqwsyx86ydrj6d8x6kwqz{display:flex;flex-direction:column}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{margin:0 8px}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-sm .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-xs .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{display:none}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s{display:flex;flex:1}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j),.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j){cursor:default}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:block}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-sm .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-xs .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{display:none}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2 button{height:32px}.PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-4aap34xg2exyha2wvgep2kbrsr{align-items:center;display:flex;height:32px;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-sm .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-xs .PSPDFKit-6panjxae2rqax33e2x13v8zhd7{display:none}.PSPDFKit-63mkqz864gr762bjh37u3z33ks,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{align-items:center;display:flex}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z circle,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z line,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z path,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polygon,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polyline,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z rect,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 circle,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 line,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 path,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polygon,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polyline,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 rect,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w circle,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w line,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w path,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polygon,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polyline,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w rect{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z button,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 button,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w button{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{width:64px}.PSPDFKit-width-md .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-sm .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-xs .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{left:0;right:auto!important}.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{width:96px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks{height:32px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:hover,.PSPDFKit-63mkqz864gr762bjh37u3z33ks[data-focus-within]{background:transparent}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:focus-within{background:transparent}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:var(--PSPDFKit-spacing-6);padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3),.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within]{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3) span,.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within] span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-xjmpbe2ndu31ngzn7k6thcce2{width:100px}}.PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-md .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-sm .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-xs .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-md .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-sm .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-xs .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover{background:transparent!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:active,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:focus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:hover,.PSPDFKit-7hajh57r86sbfab9agdabjpdus.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-qq4v7j3ztmbsu7sszn7n6eedz,.PSPDFKit-53qj5y7xwpxf385e5qupnueez4{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-67g1s4jvmu1dwuq693983pavtq{border:0!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-6kwwztxzkww77985knzv4yj25t{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-6kwwztxzkww77985knzv4yj25t.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:active,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p3fhayknwfc2wy838mm6uf6ts{outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5qha63wcjhyk977pmb11w183gf:first-child,.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:first-child{border-left:none!important}.PSPDFKit-7pxe4xgby27sg3gch3hgymc65k{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3fr3j3qzhb8zms4ha22gf8ap4w{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-7vux3363c2h5bhhue8x2tgc2d8{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 var(--PSPDFKit-spacing-7);padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-55tsnvt1cbusd6n1b314embzfj{height:16px;width:16px}.PSPDFKit-ve8hjm9h24pnag6snsj5hqyba{width:max-content}.PSPDFKit-364rxkqcrexqk43jvg479qt5us{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm,.PSPDFKit-5rx1gxu9ku1pmjedwxt4bb8tcs{display:flex}.PSPDFKit-2v57cb7nenh6qvs2r55dm7ftbf{height:20px;width:20px}.PSPDFKit-42uwtdws1bb24aernmbsz8ndnc,.PSPDFKit-8497hrdu98kjamf5s4gjf2bqmd{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{display:none}.PSPDFKit-width-md .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-sm .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-xs .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{align-items:center;display:block;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-3smmwjpf56cyb4zkshtg21jz2s,.PSPDFKit-7bwhutmv5jg6hggz6hp8kfcaxy{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-sm .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-xs .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694{align-items:center}.PSPDFKit-823r5gtrunhm37br45pwje8e5c,.PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-sm .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-xs .PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:0}.PSPDFKit-j3u5td7da5d2g12j3qb8kpqeq{align-items:center;display:inline-flex}.PSPDFKit-74acavk6n23dwq957gtnmbyyrf{align-self:center;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-6dqybwsyjvqprdkfh1d5t3w2yj{max-width:110px}.PSPDFKit-87t3tq755fdm56p5111u2h5a4g{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{align-items:center;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:active,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:focus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:hover{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s span{max-width:60px;overflow-x:hidden}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:none!important}}.PSPDFKit-p9ftrww9ym9pd2eqpps4xf6fp{display:inline-flex}.PSPDFKit-68jg3chhe27v2qnds97q2btw4c{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-3hf9zjqgg3t2aehba45fzmw9nc{margin-left:4px}.PSPDFKit-4g9caken58dfxv7snyka36rppq{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5mpcapg77fbdwa2sj3mz1x79hy span{align-items:center;display:flex;justify-content:center}.PSPDFKit-8bdhrea5ynkgph4wjuf7eenccs{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn label{align-items:center;display:flex;justify-content:center}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-3jwjxf3q3tc2mjebw5qwnndfvn span{color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-8bdhrea5ynkgph4wjuf7eenccs{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}} +.PSPDFKit-8djq2v9hms33ptxdax4spyth66{background-clip:padding-box;background-color:#3d464d;border:0 solid transparent;border-radius:6px;font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:1000}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm,.PSPDFKit-8djq2v9hms33ptxdax4spyth66{display:block;position:absolute}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm{border:5px solid transparent;color:#3d464d;height:0;width:0}.PSPDFKit-6b9stttuxax9qewr2yxczpv3yz{border-bottom-width:0;border-top-color:initial}.PSPDFKit-6zjksunaugtab91x5bucrc5pa6{border-bottom-color:initial;border-top-width:0}.PSPDFKit-6bfp163dnjfdkd9f9m84znw1uj{border-left-color:initial;border-right-width:0}.PSPDFKit-7es6pryn4pwz64rxf4payggfh1{border-left-width:0;border-right-color:initial} +.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow{color:var(--PSPDFKit-ExpandingPopoverComponent-background-color);z-index:1001}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Right{filter:drop-shadow(-1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Left{filter:drop-shadow(1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Top{filter:drop-shadow(0 3px 2px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Bottom{filter:drop-shadow(0 -1px 2px rgba(43,50,59,.1))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover{background-color:var(--PSPDFKit-ExpandingPopoverComponent-background);box-shadow:0 1px 2px rgba(43,50,59,.4),0 3px 4px rgba(43,50,59,.1);z-index:1000}.PSPDFKit-8ahxg2rbtxn2ubnutukzs28dqn{display:none}.PSPDFKit-4jrgdk842q6nrzgfag4cvz7hsa{border-radius:6px;overflow:hidden;text-align:left;width:360px}.PSPDFKit-7bx43nrztecej9c1j8qw9tshdy{display:flex;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7w1dhbtytq2jfdb48gs1ywe8jm{border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);color:var(--PSPDFKit-ExpandingPopoverComponent-title-color);font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4);word-break:break-all}.PSPDFKit-7dajp2vmg4zxw9ambet64n9umu{background-color:var(--PSPDFKit-ExpandingPopoverComponent-content-background);color:var(--PSPDFKit-ExpandingPopoverComponent-content-color);display:flex;flex:1 1 auto;flex-direction:column;overflow:auto}.PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border)}.PSPDFKit-width-md .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-sm .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-xs .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{align-items:center;display:flex;justify-content:flex-end;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4)}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-color);font-size:var(--PSPDFKit-fontSize-3);margin:0;padding:1.125rem var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77:hover{background-color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background);cursor:pointer}.PSPDFKit-41mt66hwvjgy4qa89c1mtspd1a{animation:PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6 .2s;animation-iteration-count:1}@keyframes PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6{0%{transform:translate(2px)}25%{transform:translate(0)}50%{transform:translate(-2px)}75%{transform:translate(0)}80%{transform:translate(2px)}to{transform:translate(1px)}}.PSPDFKit-79jfh5ner7hhtyf4y5s4u8az38{text-align:center} +.PSPDFKit-4q6rf47rhqhrpm9gdfefxt7qxa{padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4)}.PSPDFKit-nt12adttbyb52awsgj2pvucxy{color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa{border-color:var(--PSPDFKit-FormDesignerTextInputComponent-border-color);color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus{background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:active,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:hover{border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-42bq6cs954sqg5h9qybewg7j71,.PSPDFKit-42bq6cs954sqg5h9qybewg7j71:focus{border-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)}.PSPDFKit-m39r8ehbhmf2d2t2fhn5emy6h{color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd{border:1px solid var(--PSPDFKit-FormDesignerTextInputComponent-border-color);border-radius:2px;color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);cursor:pointer;font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:0}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus{background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:active,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:hover{border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub{border:1px solid transparent;border-right-width:10px;height:40px;width:100%}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover{border-color:transparent}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt{-webkit-appearance:none;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==) no-repeat 100% 50%;padding-bottom:8px;padding-top:8px}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn{cursor:not-allowed;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:active,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:focus,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:hover{border-color:var(--PSPDFKit-Button--default-isDisabled-borderColor)} +.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:center;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq:last-child,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau:last-child,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258:last-child{border-bottom:none}.PSPDFKit-nmsane1s7x9rp49pa42tzpgya{display:flex;height:24px;width:24px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{flex:1 0;margin:0 1rem}.PSPDFKit-24yucwgnrz6dxz6nmkt9jremkb,.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc,.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf{height:30px}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-6e6bk97ea2ucn9vbtxktfajm2p{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-82a458mhumnurhq39us7zu6hyz{height:30px;margin:0}.PSPDFKit-82a458mhumnurhq39us7zu6hyz .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-5nmcjw7r4p1h2nd2mexfegg2rt{height:20px;width:20px}.PSPDFKit-3cbxsq6nmh9r4f5756r6c95c7m{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{display:none}.PSPDFKit-width-md .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-sm .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-xs .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{align-items:center;display:block}.PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-sm .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-xs .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{display:none}.PSPDFKit-u1vpgqn2y5rje53z63f7mq5er{padding:0}.PSPDFKit-51c4fjecxrh9h4tcuygx1te5q8{height:32px}.PSPDFKit-ncuqwmdusv2msxq73z6fzb24z{align-items:center;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-4ua7xnacac2pm8hhds1kq2me5u{color:var(--color-coolGrey400);flex:1 0;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-2abxjf7c5m54s1fbpjybj51p2m{align-items:center;display:flex;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-4enmf2wc85hnr4743bkg1tyeer{height:16px;margin-right:8px;width:16px}.PSPDFKit-6z22nmct2crec69qf41ena61ub{color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:var(--PSPDFKit-fontSize-2);line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-4nrcak3ru32krpendekckcwwv8{position:relative}.PSPDFKit-4nrcak3ru32krpendekckcwwv8>div:first-child{cursor:not-allowed}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49{pointer-events:none}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49 input{background-color:transparent!important}.PSPDFKit-8zzdqsxn1q94q3wn44vjes6g2r{padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-sm .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-xs .PSPDFKit-71vy88q3wndydgre2e58gj53rd{border-radius:3px;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d{border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover{background-color:initial}.PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:flex-start;border-bottom:none;flex-direction:column;height:auto;justify-content:center;width:100%}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq{height:50px}.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc{color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc{align-items:center;padding-bottom:0!important;width:100%}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc,.PSPDFKit-4fbe83fym7dgut61w2nf74r473{display:flex;flex-direction:row;padding-bottom:.5rem}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g{align-items:center;border-top:1px solid var(--PSPDFKit-MeasurementPopoverComponent-separator-color);display:flex;flex-direction:row;justify-content:space-between;padding-top:.5rem;width:100%}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg>div,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g>div{display:flex;flex-direction:row;gap:6px}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg{align-items:flex-start;color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg svg{padding-top:4px}.PSPDFKit-83b7zxjm332wqcc4s5gvrxfucj{display:flex;flex-direction:row;gap:6px}.PSPDFKit-5xp4qfj9u68z92e75mcf5nqkcg select{height:100%}.PSPDFKit-3bdhuh7gr82rtyrxt33vmpj2hk{margin:0 8px 0 0}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy{padding-top:10px}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy,.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color)}.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{margin-left:14px;margin-right:14px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{margin:0}.PSPDFKit-29u9ktdbpp3nysqgxn6naha4m8{display:flex;flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem} +.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98{max-height:660px;min-width:360px;padding:0;width:auto}.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98 p{margin:0}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9{border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:16px;display:flex;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:var(--PSPDFKit-lineHeight-1);min-height:46px;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9:last-child{border:none}.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{align-items:center}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd,.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{justify-content:space-between}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd{align-items:baseline;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:10px;display:flex;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:var(--PSPDFKit-lineHeight-1);padding:var(--PSPDFKit-spacing-6) 0}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd:first-child{padding-top:0}.PSPDFKit-6xaquyhkgnnz83eh3tcntmwpqp{column-gap:8px;display:flex;flex-direction:row}.PSPDFKit-7zz1pa7xv6wgt2y9szvhke9935{align-items:center;column-gap:8px;cursor:pointer;display:flex;font-size:14px;padding-top:8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4{border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);padding:8px 0}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:first-child{padding:0 0 8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:last-child{border:none;padding:8px 0 0}.PSPDFKit-37dv4qsruvxu93evjeh9gtqdna{width:80%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt{color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);display:flex;flex-direction:column;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:var(--PSPDFKit-lineHeight-1);width:85%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt:last-child{border:none}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m,.PSPDFKit-32yn21p1rhkx6139tfee43rskf{background-color:var(--PSPDFKit-MeasurementSettingsModal-background-color);border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);min-height:46px;overflow:hidden;text-align:left;width:100%}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m button,.PSPDFKit-32yn21p1rhkx6139tfee43rskf button{align-items:center;display:flex;height:32px;justify-content:center;width:103px}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m{border:none;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);column-gap:8px;justify-content:flex-end}.PSPDFKit-88em62dff33bjz4dpcz217kgw1{background-color:var(--PSPDFKit-MeasurementSettingsModal-section-background-color);color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:var(--PSPDFKit-lineHeight-1);margin:0;min-height:35px;text-transform:uppercase}.PSPDFKit-5dpchy3cupj5bxucqn5nt8anr5{align-items:center;color:var(--PSPDFKit-Text-color);display:flex;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0}.PSPDFKit-8cfu1mwm1ccfxda8tyh14s93v5{height:auto;max-height:90%;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-7ypv327ggsprw7wtqh3ggzwtt5{flex-basis:22px;height:22px;width:22px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6{background-color:transparent;border:none;display:flex;justify-content:center;padding:0;position:relative;top:1px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6.PSPDFKit-7u52vd8vcqhwm46mqm3f6x3u4n,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:active,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:disabled,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:focus,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:hover{background-color:unset}.PSPDFKit-4mb9ffzr14xj4f7cmnqkgcrcmq :before{border-color:var(--color-red400)!important}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm{align-items:center;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:var(--PSPDFKit-MeasurementSettingsModal-highlight-color);cursor:pointer;display:flex;font:inherit;font-size:14px;font-style:normal;font-weight:500;height:34px;justify-content:flex-start;line-height:140%;padding:4px 8px 4px 28px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:focus-within,.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:last-child{border-bottom:none}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up{align-items:flex-start;display:flex;flex-direction:column;padding:24px;width:390px}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up p{margin:0}.PSPDFKit-6g6xvejv8dd1pf35kx6ba8gp5e{align-items:center;display:flex;flex-direction:column;gap:24px;width:100%}.PSPDFKit-41haxjcx7ed6crwc23x62ewb7t{display:flex;justify-content:space-between;width:100%}.PSPDFKit-68duutqz7ut9qftzm7ns95kbsg{color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:var(--PSPDFKit-fontSize-5);font-style:normal;font-weight:600;line-height:var(--PSPDFKit-lineHeight-1)}.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{display:none}@media(max-width:1070px){.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{align-items:center;display:block}}.PSPDFKit-49whdesn68fq294wzdzda443yx{align-items:center;display:flex;height:30px}@media(max-width:1070px){.PSPDFKit-49whdesn68fq294wzdzda443yx{display:none}}.PSPDFKit-3xxzytnemnzg22awfk9rymr2m7{padding:0}.PSPDFKit-75ga4kp46pkcv4peqbsu45nk79{border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:var(--PSPDFKit-MeasurementSettingsModal-error-text-color);font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:var(--PSPDFKit-fontSize-1);margin-bottom:var(--PSPDFKit-spacing-6);max-width:340px;padding:var(--PSPDFKit-spacing-6)}.PSPDFKit-5d5cb99rrfftnfraj6ve1wxtcw{margin-right:.5rem;width:.625rem}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{align-items:center;-webkit-appearance:none;-moz-appearance:none;border:1px solid var(--PSPDFKit-MeasurementSettingsModal-highlight-color);border-radius:50%;display:flex;flex-direction:row;flex-shrink:0;height:18px;justify-content:space-evenly;margin:0 5px;width:18px}@media(max-width:660px){.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{margin-right:3%}}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:before{background:unset;border-radius:50%;content:"";display:block;height:10px;width:10px}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:checked:before{background:var(--PSPDFKit-MeasurementSettingsModal-highlight-color)} +.PSPDFKit-6sv7sqb53n124u6fj1tms89hna{display:flex;justify-content:flex-end;margin-top:1em}.PSPDFKit-654mqarkz9bpasgehzef4652nz p{margin:0}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{outline:none}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus-within{border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important;outline:none} +.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:focus,.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:hover{cursor:pointer}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp[disabled]{cursor:auto}.PSPDFKit-5cbbkpsrtp7h1aheyyz5jh553f svg{height:100%;overflow:visible;width:100%}.PSPDFKit-gfh2n7ye6agxztvft95yj26j6 .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px} +.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d canvas,.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d img{display:block;height:100%;width:100%} +.PSPDFKit-xe2ftya3wdjvwwhx6d5stmz59{display:flex}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{background-color:#a6adad;border-radius:50%;height:6px;transform:scale(0);width:6px}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:not(:last-child){margin-right:4px}.PSPDFKit-64xwysuhvuuphryhjd9kj5nvy3 .PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{animation:PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n 1.5s ease-in-out infinite}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(2){animation-delay:.16s}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(3){animation-delay:.32s}@keyframes PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n{20%{transform:scale(0)}50%{transform:scale(1)}80%{transform:scale(0)}} +.PSPDFKit-611629rcz14kzt4fxq9cun8r55{left:50%;position:absolute;transform:translateX(-50%)}.PSPDFKit-291h7cpg24qsc3uyjkzbr88w1y,.PSPDFKit-3k8pvf98ypg7cfxdw2h4s9hks8{position:relative}.PSPDFKit-6kn9fwrhmcn5ws8thfmrbawkps,.PSPDFKit-4668kvbgmy9yr757xzersy788h{background-color:#eee}.PSPDFKit-3gs4z9rtc1a83dstvmn7mamwfd{align-items:center;display:flex;justify-content:center}.PSPDFKit-4vsf7ppa6vgpu72s69w4p6cheb svg{background-color:#fff;border-radius:12px;color:#db2a37;height:24px;width:24px}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:first-child{opacity:.0001!important}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:last-child{opacity:1!important} +.PSPDFKit-4rfp7ee9191kd8ynnn3bq8u33p:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px} +.PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf,.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{pointer-events:none}.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px}.interactions-disabled .PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf{touch-action:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33{fill:none;stroke-linejoin:round;stroke-linecap:round;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:stroke}.PSPDFKit-supportsTouch.PSPDFKit-width-sm .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3,.PSPDFKit-supportsTouch.PSPDFKit-width-xs .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{pointer-events:none}.PSPDFKit-57qn9qb3ug1rpk9v33hd5cxd1d.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:fill}.PSPDFKit-5q9h4djx3kcxba1qj815pdz3fs{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-252bad36x484xaffc25n3h9thg{pointer-events:painted} +.PSPDFKit-3ncb69xb2ve1sqjjdtyc6cd8g4{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-5mur5qgg6vwc2wpggzustr83j9{border:0;line-height:0;font:inherit;padding:0;position:absolute} +.PSPDFKit-2wu94uj3duvdnqa6qcf42ezs6d{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:focus,.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:hover{cursor:pointer}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14[disabled]{cursor:auto}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h{word-wrap:break-word;cursor:text;display:flex;flex-direction:column;font-family:sans-serif;height:200px;line-height:1.2em;overflow-y:auto;padding:10px;position:relative;white-space:pre-wrap;width:300px;word-break:break-word}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:10px}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg{background:#fff;bottom:0;left:0;margin:0;padding:15px 7px 15px 15px;position:absolute;right:0;text-align:initial}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:15px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat{align-items:center;align-self:flex-end;background:transparent;border:transparent;cursor:pointer;display:flex;height:24px;justify-content:center;margin:0;opacity:.7;padding:0;width:24px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:active,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:focus,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:hover{opacity:1}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat span{height:20px;width:20px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat.PSPDFKit-3zbd56btxsp72du8mq44gc68pf{pointer-events:none;visibility:hidden}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4 .PSPDFKit-8jdq4qfwqhh5yzunhf1nvu3sxs{font-size:var(--PSPDFKit-fontSize-3);margin:0;opacity:.8;text-shadow:0 1px 1px #fff}.PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{background:transparent;flex:1;overflow-y:auto;position:relative;text-align:left}.PSPDFKit-5ns5z6cwaq7uvb37ejfqcck6cj{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;justify-content:center;max-width:100%;overflow-y:auto}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78{opacity:.7}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:active,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:hover,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78[data-focus-within]{opacity:1}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus-within{opacity:1}.PSPDFKit-53wjfdyupu3zpctpt74eumsq2b{align-items:center;color:#2b2e36;display:flex;flex-direction:row;justify-content:flex-start}.PSPDFKit-39sru8fstgk9ukw59vdxw6fxkm{font-size:var(--PSPDFKit-fontSize-2);padding-top:2px}.PSPDFKit-2rbb4rpjnbmgu1bj6enchp1549{fill:currentColor;margin-right:var(--PSPDFKit-spacing-7)}.PSPDFKit-6zth72zst4nvzumuemnjxzum5p svg{filter:drop-shadow(0 1px .72px rgba(0,0,0,.5))} +.PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4,.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{pointer-events:none}.interactions-disabled .PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4{touch-action:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn{shape-rendering:geometricPrecision;stroke-linecap:butt;stroke-linejoin:miter;pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-xydzth3k7ns3nahap4gpxayej,.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9.PSPDFKit-3zmy52u71trzxmdvbycck28tg7{stroke-linecap:butt;stroke-linejoin:miter}.PSPDFKit-xydzth3k7ns3nahap4gpxayej{cursor:pointer;pointer-events:painted}.PSPDFKit-xydzth3k7ns3nahap4gpxayej.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-68femat6jd47qrav117uen51r{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-btun3r6cqwxytpv1u8kdyngqc{pointer-events:painted}.PSPDFKit-btun3r6cqwxytpv1u8kdyngqc:focus-visible{outline:2px solid rgba(70,54,227,.5)} +.PSPDFKit-26jegsvp6ufypbu8pxdv7fr1zz{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2wjxpeaermrgg7maxgnqmz9nc3{align-items:center;display:flex;justify-content:center}.PSPDFKit-3g43gj4at3dwbty7y7kctavd8b{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-85dfpszurcp74kqrua8y455s3x,.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:first-child{height:100%}.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:last-child *{box-sizing:border-box}.PSPDFKit-247rksk7kd3gvyvzwg1npvhbdy{position:relative} +.PSPDFKit-4dwy35ce5zzs8fcuzm4z5qyj9j{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4{overflow:hidden;position:absolute}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p{margin:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p:empty:after,.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p>span:empty:after{content:" "}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh{margin:0;padding:0}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh:focus{outline:none}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t{background:inherit;cursor:text;height:auto;overflow:hidden;position:absolute;-webkit-user-select:text!important;-ms-user-select:text!important;user-select:text!important;width:auto}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t *{margin:0;padding:0}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t:focus{outline:none}.PSPDFKit-3g965ce6b38z92kn57ymc33d93{position:absolute!important}.PSPDFKit-4f28b7qs5h6nk9v4ngh8xr9zsb:focus-visible{outline:2px solid rgba(70,54,227,.5);outline-offset:10px} +.PSPDFKit-87g1wera6smataxregkeucdz7u{pointer-events:none}.PSPDFKit-7nzf5ygyxf3ft1vwqded1vys1c{z-index:1}.PSPDFKit-7ckwm8p8x63jumkemns7vefj6u{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8629afaazd1efzub8c3z1qfnae{position:absolute;text-align:left}.PSPDFKit-4vzt6kbkqqcu93437rphdgn7xj{border:2px solid rgba(60,151,254,.5);bottom:-6px;left:-6px;position:absolute;right:-6px;top:-6px}.PSPDFKit-8qst6ht79xb7qug95szm7j35vv{cursor:pointer}.PSPDFKit-86f9zgw71s8n95n7rxd3uqn3c{word-wrap:break-word;font-family:Helvetica,sans-serif;line-height:0;overflow:hidden;overflow-wrap:break-word}.PSPDFKit-82f4yxbm2u7ssyqxr8sztm7qzb{display:inline-block;overflow:hidden;width:100%}.PSPDFKit-7vkn9dyk6rhen2hjabdgskypgp{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-8py43zrk8tdwczbp1rgu5zkpcc{position:absolute}.PSPDFKit-4111jnwhknt7c61pjq82hshdjm,.PSPDFKit-68rke3v2mwfersk9s87pby4xqz:focus{outline:2px solid #2378ff!important;outline-offset:2px}.PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{background:hsla(0,0%,100%,.5);border-radius:3px;bottom:3px;left:3px;position:absolute;right:3px;top:3px}.PSPDFKit-68rke3v2mwfersk9s87pby4xqz .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{cursor:pointer}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0;top:50%}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background:none!important;bottom:0;cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1} +.PSPDFKit-73459dse4nv5d9mqecpwp57s3d{height:100%;width:100%}.PSPDFKit-8wsgnacdwb75d488xzar24jqkq{position:absolute} +.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69{border-radius:3px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;touch-action:none;white-space:nowrap}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]){background-color:#7792f4;border-color:#1946ec;color:#fff}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):hover{background-color:#8fa5f6;color:#fff;outline:0}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):active{background-color:#607ff2}.PSPDFKit-4cfxcba5wt87u69f2dw7v6xter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1{display:block;position:relative}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox],.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]{bottom:0;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fffb8b;border-color:#beb700;box-shadow:none!important}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fff;box-shadow:inset 0 0 0 1px #b9c8ff}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:#1332a7}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:rgba(87,87,87,.7)}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#666}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{bottom:0;left:0;line-height:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{border-radius:.1em}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj,.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{border-radius:100%;pointer-events:none}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:transparent;content:"";height:50%;left:25%;position:absolute;top:25%;width:50%}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#1332a7}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq svg{height:100%;width:100%} +.PSPDFKit-5pebxrpmqgkrf7vcxe4371geyh{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm{align-items:flex-start;display:flex;flex:0 1 auto;flex-direction:column;margin:0;padding:0;position:relative}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm.PSPDFKit-2a2g4zggqmewex1vm5v4zpgb56{z-index:100}.PSPDFKit-6s31a1f931synspdjrnvzxnfgc{display:block;position:relative;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us{background-color:transparent;border:0;box-sizing:border-box;font:inherit;height:100%;margin-right:0;overflow:hidden;padding:0 .3em;text-align:left;white-space:nowrap;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled],.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled]+.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{color:#666}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{border:none;color:#5f5f5f;margin-top:-.35em;position:absolute;right:.25em;top:50%;width:.7em}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn svg{fill:currentColor;border:0!important;display:block;height:.7em}.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{align-items:stretch;background-color:#fff;display:flex;flex-direction:column;min-width:3em;outline:2px solid #000;width:100%}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6,.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{box-sizing:border-box}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6{flex:0 1 auto;margin:.2em;min-height:0;min-width:0;padding:.2em}.PSPDFKit-88t5fcsjadwffxkef3gfkzaksk{align-items:stretch;border-style:none;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;margin-top:.1em;overflow:none}.PSPDFKit-844vbxfxwv5rq9arab8e8gd5de{color:#3d464d;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au{background-color:#ecf0ff}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu{background-color:#b9c8ff;color:#fff}.PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#aeaeae}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#3d464d}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#fff} +.PSPDFKit-4epuuwuap9pk3ntjcv5zf9djsb{outline:1px solid transparent}.PSPDFKit-7xq92qy48k696v9kfs77d7f216:not([disabled]) option:checked{background:#b9c8ff linear-gradient(0deg,#b9c8ff,#b9c8ff);color:#fff} +.PSPDFKit-6b7je6w7pq8q3htgsu22kkv6jy{align-items:center;background-color:var(--PSPDFKit-Signatures-background);border:1px solid var(--PSPDFKit-Signatures-border);border-radius:0 0 .2em;color:var(--PSPDFKit-Signatures-color);display:inline-flex;font-size:var(--PSPDFKit-fontSize-2);left:0;line-height:1;padding:.2em .4em;position:absolute;text-transform:lowercase;top:0}.PSPDFKit-7181s3qkmmn7fdexydqff3quq3{background-color:inherit;border-color:inherit;color:inherit}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{max-height:100vh;max-width:640px;width:100%}@media(max-height:455px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:90%}}@media(max-height:300px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:100%}}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{border-radius:0;height:100%;max-width:100%}}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3nvj481sp2nd9z1gjhvh4xnak2,.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{margin-left:calc(var(--PSPDFKit-spacing-5)*-1);margin-right:calc(var(--PSPDFKit-spacing-5)*-1)}.PSPDFKit-2g5n99kjfbnxh1che778jg7tjb{color:var(--PSPDFKit-Signatures-container-color);display:flex;flex-direction:column;height:100%;justify-content:space-between}.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:auto;max-height:60vh}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:100%;max-height:100%}}.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks,.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks{margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:var(--PSPDFKit-spacing-6)}@media(min-width:350px){.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:0}}@media(max-width:350px){.PSPDFKit-8c4vuvw13bebs9s1s79remb5de{width:100%}.PSPDFKit-8c4vuvw13bebs9s1s79remb5de~.PSPDFKit-8c4vuvw13bebs9s1s79remb5de,.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{margin-top:var(--PSPDFKit-spacing-5)}.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{width:100%}}.PSPDFKit-5ngq82qgx5cxz4uz5mzjkchjr4{background-color:var(--PSPDFKit-Signatures-editorCanvas-background);border:1px solid var(--PSPDFKit-Signatures-editorCanvas-border);border-radius:3px;overflow:hidden;padding-bottom:43.3333%;position:relative;width:100%}.PSPDFKit-2ju133936zwp42hg96a2f41uec{color:var(--PSPDFKit-Signatures-signHere-color);margin-top:-.5em;position:absolute;text-align:center;top:50%;transition:opacity .2s linear,visibility .2s;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-2ttca3yjnqndu3nqu48x21jqwz{opacity:0;visibility:hidden}.PSPDFKit-6uvk92p73etnn6mk5qcbqwj9yx{align-items:center;display:flex}.PSPDFKit-642395esq5512gt252k1kx6gg2{margin-left:.5em}.PSPDFKit-3bexu72w84xp6s2e361sj7711b{font-size:var(--PSPDFKit-fontSize-6)!important}.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{flex:1 1 auto;max-height:50vh;overflow:auto}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{max-height:100%}}.PSPDFKit-6p71pj5wv5hqqjxncy9s2zhp6z{display:block;margin:0;padding:0 0 1rem;width:100%}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g{list-style:none;margin-top:var(--PSPDFKit-spacing-7);position:relative}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g:first-child{margin-top:0}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3{display:block;opacity:.75;padding-bottom:20%;touch-action:auto;width:100%}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:active,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:focus,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:hover{opacity:1}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3.PSPDFKit-353zxjn4cwq7f5trcamndrkw3j{padding:calc(var(--PSPDFKit-spacing-5)/2) var(--PSPDFKit-spacing-5)}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x{background:transparent;border:0;color:var(--PSPDFKit-Signatures-DeleteSignatureButton-color);cursor:pointer;height:24px;opacity:.3;padding:0;position:absolute;right:var(--PSPDFKit-spacing-6);top:var(--PSPDFKit-spacing-6);width:24px}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:active,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:focus,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:hover{opacity:1}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x svg{height:100%;width:100%}.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{color:var(--PSPDFKit-Signatures-Title-color);font-size:var(--PSPDFKit-fontSize-5)} +.PSPDFKit-6nx1rtuadk913zxen95pax5hz5{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:focus,.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:hover{cursor:pointer}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5[disabled]{cursor:auto}.PSPDFKit-8qpben4cgdt355xztxuqcrcxvg svg{height:100%;overflow:visible;width:100%}.PSPDFKit-5ty8mmke3as9vprwxv67knqxcc .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px}.PSPDFKit-4cgbq7rdg2pm33fadjsppnpuux{cursor:pointer;opacity:1;pointer-events:all;position:absolute}.PSPDFKit-2aywxsct3x3wxc4d46re3nssxu{opacity:1} +.PSPDFKit-334y8gbu8r2jjjn87nzvuevc59{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3hfxfy9zqj8jprbtu9vf3epp17{cursor:pointer}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3p9u592y96exhe2r2ntk5vbyxu{cursor:text} +.PSPDFKit-41x845wgwdrzef1yhewvdke7jq{fill:transparent;shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-41x845wgwdrzef1yhewvdke7jq.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3{fill:transparent;stroke:rgba(60,151,254,.5);shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g,.PSPDFKit-m9u6yjwr7kv5hrxj2edskfkgq{fill:#3c97fe;stroke:#fff;pointer-events:fill}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g{cursor:move}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-39325679hnnu7x4wvxu6tbzens{cursor:nwse-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-4d596dtje8pvaa57j35a6jumtj{cursor:nesw-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-24ebukh9y4t3vv23sz65xrazp3{cursor:ew-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-3vgs6mrf1dabs2kb4pj7s49g45{cursor:ns-resize}.PSPDFKit-h4n5vrr4a9j6mcbt75ygqk7hf{stroke:#3c97fe}.PSPDFKit-8edbp12fj3btvvzys6786f1fgj{pointer-events:none;position:absolute;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-cb345hgmyvpuvgnewsbd7dmq6{overflow:visible} +.PSPDFKit-3g9zhcucr422ntc7f1j5r7d642{cursor:crosshair;height:100%;position:relative;width:100%}.PSPDFKit-5jju3cq115q7jyhsr5tbbc9k5v{background-color:#4636e3;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 1px rgba(0,0,0,.15);height:12px!important;width:12px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d,.PSPDFKit-6jhwapspg9juffwvb74ngnheyk,.PSPDFKit-72wh5syb1qx2wkvnqjh2ts7ghz{left:50%!important;margin-left:-6px}.PSPDFKit-6jhwapspg9juffwvb74ngnheyk{top:-6px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d{bottom:-6px!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9,.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe,.PSPDFKit-4xstjgjt6yzwy52577u1uxmq58{margin-top:-6px;top:50%!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9{left:-6px!important}.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe{right:-6px!important}.PSPDFKit-75mze7fkqv4saep8aun4y1qf7n{left:-6px!important;top:-6px!important}.PSPDFKit-q2hk1mcaqqvf11djfan91yrhz{right:-6px!important;top:-6px!important}.PSPDFKit-7w3jyr3yvfr7hpbmmha8uc2wr7{bottom:-6px!important;left:-6px!important}.PSPDFKit-3n3x1jyrwpd789w22qhc6nrscf{bottom:-6px!important;right:-6px!important}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4{border:1px solid #fff;cursor:grab;outline:1px solid #717885;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4:active{cursor:grabbing;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-6zm9nnbwvmtst5hnt9v1yhtmta{cursor:auto;height:100%;position:relative;width:100%;z-index:3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd{background-color:rgba(68,132,227,.2);border:1px solid #4484e3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd,.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd:active{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-2nvh838hnrmj6tjpctafyh5x7m{margin-bottom:0;margin-top:0;max-width:100vw;position:relative;top:5px}.PSPDFKit-5xzg6bg1qbsb5nyd5qtnxyygh4{bottom:5px;top:auto}.PSPDFKit-7m14b5a6nxx7rywstpkcac66jh,.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-bottom:5px solid transparent;border-bottom-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-left:5px solid transparent;border-right:5px solid transparent;border-top:0 solid transparent;display:block;height:0;margin-top:1px;position:relative;width:0}.PSPDFKit-8eerxut5n95np3tqrj71w5e222,.PSPDFKit-5b9jgmbtab9q2nsf1et2wzayps{border-bottom-width:0;border-top-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-top-width:5px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-width:0 4px 4px;border-bottom:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);top:1px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph,.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-style:solid;left:-4px;position:absolute}.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-width:4px 0;border-top:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);bottom:2px;color:transparent}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf{border-collapse:collapse;margin:0 10px}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf tr+tr td{border-top:1px solid var(--PSPDFKit-LayoutConfig-table-border)}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2{cursor:pointer;touch-action:none}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2,.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{display:inline-block}.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{border-radius:3px;margin:5px 0;padding:6px 3px 3px;text-align:center}.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp{background-color:var(--PSPDFKit-LayoutConfig-icon-isActive-background);color:var(--PSPDFKit-LayoutConfig-icon-isActive-color)}.PSPDFKit-h975nt1b2sjwtx24fkebaskvu:not(.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp){background-color:var(--PSPDFKit-LayoutConfig-icon-isHighlighted-background)} +.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj{-ms-overflow-style:none;background-color:var(--PSPDFKit-Toolbar-background);box-shadow:0 1px 2px var(--PSPDFKit-Toolbar-boxShadow);color:var(--PSPDFKit-Toolbar-color);flex:2;flex-direction:row;font-weight:400;height:44px;min-height:44px;opacity:1;overflow-x:auto;overflow-y:hidden;position:relative;transition:opacity .4s ease 0s;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;z-index:3}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{align-items:center;display:flex}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{flex-grow:1}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{justify-content:flex-end}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child .PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border:0}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{margin:0 12px}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-sm .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-xs .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{display:none}.PSPDFKit-2znbjv3uzcg3sd8kby58ara78y{align-items:center;display:flex;justify-content:center}.PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border-left:1px solid var(--PSPDFKit-Toolbar-button-border);flex-shrink:0}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{align-items:center;border:0;border-radius:4px;display:flex;flex-shrink:0;font:inherit;justify-content:flex-start;padding-right:24px;white-space:nowrap;width:100%}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:inherit}.PSPDFKit-4w5v8zc35y6mjqvgzm7h29yxjz{background-color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-background);color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-color)!important}.PSPDFKit-3esgz77hvs295449651j22wfqe{background-color:var(--PSPDFKit-Toolbar-dropdownButton-isDisabled-background)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87{background-color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-background);color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)} +.PSPDFKit-7q656qfg6merpmvr8kzt9szzpm{opacity:0;transform:translate3d(0,-50%,0)}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm{transition:all .1s ease-out}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm,.PSPDFKit-5v5jfhfemf1mxc5ret8j9wh9sh{opacity:1;transform:translateZ(0)}.PSPDFKit-3a46uu7aytzncpnz4ppsu1ucnd{opacity:0;transform:translate3d(0,-50%,0);transition:all .12s ease-in}.PSPDFKit-7yg9b82v4xahqj93wys6tpbu1f{opacity:0;transform:translate3d(0,50%,0)}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392{transition:all .1s ease-out}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392,.PSPDFKit-4pjqt364whvu7b81yv22fwa1ve{opacity:1;transform:translateZ(0)}.PSPDFKit-4sea6h8efz1kfffbq87vcmq3qu{opacity:0;transform:translate3d(0,50%,0);transition:all .12s ease-in}.PSPDFKit-6hdgn11y1ecgvxga69t6p78b9a{transform:translate3d(0,-44px,0)}.PSPDFKit-2b6tmwyq1x3rcswb7k71f8vurh{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-7hwkgbqv2uvce8qyhqnq7n9vdp{transform:translateZ(0)}.PSPDFKit-4b3k2aksgt8h7qfz8vz5nbnvfz{transform:translate3d(0,-44px,0);transition:all .12s ease-in}.PSPDFKit-6rtd66rsbcpdy21mbkethcajk1{transform:translate3d(0,44px,0)}.PSPDFKit-6jy41y1rpnd5deemk7hqpbq4m1{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-21nc3yzh856bkm3mw7smrrzb5w{transform:translateZ(0)}.PSPDFKit-4zmvpm3c2adfnu8qnuw79cjh3s{transform:translate3d(0,44px,0);transition:all .12s ease-in}.PSPDFKit-79rm2zddjaxgzdkx4w8mqnqa8c{opacity:0}.PSPDFKit-7trwsc5j1bg69wa1vf9qt5e2ve{opacity:1;transition:opacity .1s ease-in}.PSPDFKit-8t2qrt9phw91wb7a8wwmgdce7p{opacity:1}.PSPDFKit-7e9n9mfhw378wrt55c2j4gpdxm{opacity:0;transition:opacity .15s ease-out}.PSPDFKit-67d6x1qnthds5d58mamrx9qpu3{opacity:0}.PSPDFKit-3dfszxf6jpx5tm2y1gn1ehxgtw{transform:scale(.7) translateY(-12px);transform-origin:top center}.PSPDFKit-8kb8kruw3xcx17v1486van1ttq{transform:scale(.7) translateY(12px);transform-origin:bottom center}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we{transition-duration:.24s;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.165,.84,.44,1)}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we,.PSPDFKit-3uce8apgqwt65tqd63cq5zuvpm{opacity:1;transform:none}.PSPDFKit-3hsvwu5hjq1a44vcrtkv5fhpnr{transform-origin:top center}.PSPDFKit-5r2r1t3f6q5zqjq84zbr69ejuk{transform-origin:bottom center}.PSPDFKit-35xj9c4azp7m511gxuzzvr1k5d{opacity:0;transition-duration:80ms;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.PSPDFKit-t8mvndx8cr8ydw9bm2vyh2wgw{transform:scale(.7) translateY(-12px)}.PSPDFKit-378kvahbp4zr42u1gb4cqyxsad{transform:scale(.7) translateY(12px)} +.PSPDFKit-ueuej8dv753zvbk6mp828mzsr{color:var(--PSPDFKit-Pager-color);cursor:default;display:flex;font-size:var(--PSPDFKit-fontSize-3);font-variant-numeric:tabular-nums;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:-moz-fit-content;width:fit-content}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{align-items:center;display:flex}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{min-width:0}.PSPDFKit-width-sm .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-width-xs .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{display:none}.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:none}.PSPDFKit-width-sm .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a,.PSPDFKit-width-xs .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:flex}.PSPDFKit-bc9txuev7gse3pp84ajq62vmt strong{color:var(--PSPDFKit-Pager-color);font-weight:400}.PSPDFKit-7tngmuaurbw9evq3vhsmqhb79y{display:flex;height:26px;margin:0 var(--PSPDFKit-spacing-6)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w{-moz-appearance:textfield;background:var(--PSPDFKit-Pager-input-background);border:none;color:var(--PSPDFKit-Pager-input-color);font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:0 1px;padding:4px;text-align:center;transition:all .15s;width:48px}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:active,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:focus{color:var(--PSPDFKit-Pager-input-isActive-color)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-inner-spin-button,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-outer-spin-button{-webkit-appearance:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw,.PSPDFKit-218fbh46vhgjukxda9q16dva61{align-items:center;background:var(--PSPDFKit-Pager-input-background);border:0;color:var(--PSPDFKit-Pager-input-isActive-color);cursor:pointer;display:flex;height:100%;justify-content:center;padding:5px 3px;touch-action:none;transition:all .15s;width:26px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61 .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:var(--PSPDFKit-Pager-input-isActive-color);align-items:center;display:flex;height:14px;width:14px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover{background:var(--PSPDFKit-Pager-input-isHovered-background)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:var(--PSPDFKit-Pager-input-isHovered-color)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled{pointer-events:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:var(--PSPDFKit-Pager-input-isDisabled-color);opacity:var(--PSPDFKit-Pager-input-isDisabled-opacity)}.PSPDFKit-218fbh46vhgjukxda9q16dva61{border-radius:4px 0 0 4px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw{border-radius:0 4px 4px 0}.PSPDFKit-6fnzgpjer6z7ca9jecfhk8hdsy{left:-1000000px;position:absolute;top:-1000000px} +.PSPDFKit-7kgnbhpp26m2rect3yjw1u1693{background-color:inherit;border:1px solid transparent}.PSPDFKit-314s1es5hfe28mgs9tnhkzb1de{pointer-events:none}.PSPDFKit-812ak3qykd2u5n22qxdy661rhr{border:unset} +.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9{align-items:stretch;display:flex;flex:2;flex-direction:row;left:0;position:absolute;right:0;top:0;z-index:4}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja{-ms-overflow-style:none;background-color:var(--PSPDFKit-ToolbarResponsiveGroup--primary-background);overflow-x:auto;position:fixed}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja.PSPDFKit-2sm51vztwj4mjbhd5pehvnauwk{bottom:0;top:auto}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{background:var(--PSPDFKit-ToolbarResponsiveGroup--secondary-background);border-bottom:1px solid var(--PSPDFKit-ToolbarResponsiveGroup--secondary-border);box-shadow:-1px 2px 5px var(--PSPDFKit-shadow-color)}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{right:unset}.PSPDFKit-8tf4984hks13xr145qxkvqh5x2{height:auto}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-border)}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2.PSPDFKit-3jvcxjeemxp6228839um72qy4t,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:active,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:focus,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:hover{background:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 svg{fill:var(--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill);height:24px;width:24px}.PSPDFKit-2n3akw6g2m6zcpdwrxfqcdm28q{align-items:center;display:flex;flex-direction:row;height:auto;width:auto}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe{background:transparent;border:0;height:20px;left:3px;position:relative;width:24px}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-width:2px;content:"";height:50%;left:0;position:absolute;width:calc(50% - 1px)}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{animation:PSPDFKit-6t665x89dpp83cptuahpm823v9 .25s linear;border-right-style:solid;top:0;transform:rotate(-45deg);transform-origin:100% 100%}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after{animation:PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2 .25s linear;border-right-style:solid;top:50%;transform:rotate(45deg);transform-origin:100% 0}.PSPDFKit-5g7enmsbf45swnff2zwyxdwmd8{opacity:0;transform:translate3d(50%,0,0)}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu{transition:all .15s ease-out}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{opacity:1;transform:translateZ(0)}.PSPDFKit-2f4rg8arx4myttw4gnp6m4cj6f{opacity:0;transform:translate3d(50%,0,0);transition:all .12s ease-in}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{right:0}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz{position:absolute}@keyframes PSPDFKit-6t665x89dpp83cptuahpm823v9{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(-45deg)}}@keyframes PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(45deg)}} +.PSPDFKit-6xbbtf8p2qcsg9fyy1cuyj7gw5{align-items:stretch;display:flex;flex-direction:column;position:relative}.PSPDFKit-5vy62kz7ms89nk2k2k3swztwdt,.PSPDFKit-2bqfqmutsr41ycmfq7rs53uqxa{align-self:stretch;flex-grow:1}.PSPDFKit-3r5sb26jgasuxhwabq3dunx45u{height:55px;position:absolute;transform:translate(-27px,-28.5px);width:52px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s{height:82px;left:50%;position:fixed;top:50%;transform:translate(-41px,-19px);width:82px;z-index:1}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s svg{height:82px;pointer-events:none;width:82px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path:nth-child(2){stroke:var(--PSPDFKit-DocumentComparison-crosshair-stroke)}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7{align-items:center;background-color:#000;border-radius:8px;color:#fff;display:flex;height:45px;justify-content:center;left:50%;opacity:1;pointer-events:all;position:absolute;top:-55px;transform:translateX(-50%);transition:.25s;width:117px}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7.PSPDFKit-3dkk2vqpcthpdtrchghtj4ssn4{opacity:0;pointer-events:none}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7:after{background-color:#000;bottom:-5px;content:"";height:10px;left:50%;position:absolute;transform:translateX(-50%) rotate(45deg);width:10px}.PSPDFKit-7kr3xjykvj7fr643ccby96g62n path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-5pzb826nhfhqp1g5p1ks17fq77{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-427zszzm3g9rt685w6err79657{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-2ymsd6xds9g7m3tn384wexbs7d{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-36rheuktx5sb8ecxck9vutfh9y{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-4y67gffktarr3dzsdm3be4tkxg{background-color:var(--PSPDFKit-DocumentComparison-background);border:1px solid var(--PSPDFKit-DocumentComparison-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px var(--PSPDFKit-DocumentComparison-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:fixed;right:30px;top:118px;width:174px}.PSPDFKit-5dnneume1xfsb52nce5gmkwws3{position:absolute}.PSPDFKit-5vm17u78a9y73z4fns92w8pcmh{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-5r343876m2a2k85cus2jjxh8fw{stroke:var(--PSPDFKit-DocumentComparison-magnifierGrid-stroke);fill:none}.PSPDFKit-54zz8rzg9jq31dvzq91d2qkgg5{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-5ct94rndvza9jt8fdk5kj434wf{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb,.PSPDFKit-41ur68urabv2z38jg19c3pcx39{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb{background-color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-41ur68urabv2z38jg19c3pcx39{color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-color);text-align:center}.PSPDFKit-4kmrm9dhgkuczunfzmxs26b83p{left:50%;position:absolute;top:50%}.PSPDFKit-4t23dm96wzfwsfr5116ky9f96y{bottom:0;left:0;pointer-events:auto;position:absolute;right:0;top:0} +.PSPDFKit-5b8n6ax7uyfq7q2zt9n9en17ab{background:var(--PSPDFKit-UserHintComponent-background);border:1px solid var(--PSPDFKit-UserHintComponent-border);border-radius:4px;bottom:20px;box-sizing:border-box;color:var(--PSPDFKit-UserHintComponent-color);position:fixed;right:40px;width:240px}.PSPDFKit-2jffvae4wwchr5476dpvz5z5ch{align-items:flex-start;display:flex;flex-direction:column;padding:20px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22{align-items:center;font-size:14px;font-weight:700;padding-bottom:5px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-style:normal;max-width:100%}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-size:12px;font-weight:400;line-height:140%;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu{padding-top:5px}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button{border:none;padding:0;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{background-color:var(--PSPDFKit-UserHintComponent-background);color:var(--PSPDFKit-UserHintComponent-color)}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{text-decoration:underline}.PSPDFKit-32x2pcstxyeubux789j773s9rc{padding-bottom:5px} +.PSPDFKit-8cswfxve74abt7a5ua2r512q67{-webkit-overflow-scrolling:touch;background:var(--PSPDFKit-AnnotationsSidebar-container-background);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:var(--PSPDFKit-spacing-6)}.PSPDFKit-7ukwuhzxh3rd8yp7euuxw4jn9b{background-color:var(--PSPDFKit-AnnotationsSidebar--empty-background);color:var(--PSPDFKit-AnnotationsSidebar--empty-color);display:flex;justify-content:center;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-4qgb7hxxn2r4g3fdet5bn1pzv8{background-color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-background);color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-color);display:flex;font-weight:700;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-7pcrw4sjytqdrvwzpes48axkkj{background:var(--PSPDFKit-AnnotationsSidebar-pageNumber-background);color:var(--PSPDFKit-AnnotationsSidebar-pageNumber-color);font-size:var(--PSPDFKit-fontSize-3);font-weight:700;margin:0;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-3);text-align:right}.PSPDFKit-4uh3zdrahzskzstfsa5v48m76w{background-color:var(--PSPDFKit-AnnotationsSidebar-annotations-background);border-bottom:1px solid var(--PSPDFKit-AnnotationsSidebar-annotations-border)}.PSPDFKit-65qjuaube253zzcqdz1q4ku4y9{fill:var(--PSPDFKit-AnnotationsSidebar-icon-color);color:var(--PSPDFKit-AnnotationsSidebar-icon-color);display:block;height:24px;margin-left:var(--PSPDFKit-spacing-5);margin-right:var(--PSPDFKit-spacing-5);width:24px}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3{align-items:center;cursor:pointer;display:flex;margin-right:var(--PSPDFKit-spacing-4);padding-bottom:var(--PSPDFKit-spacing-7);padding-left:0;padding-right:0;padding-top:var(--PSPDFKit-spacing-5);position:relative}.PSPDFKit-6ek4wb89x2x5x1vhr1s1xdux9n{cursor:default}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3+.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3:before{background-color:var(--PSPDFKit-AnnotationsSidebar-layout-background);content:"";height:1px;left:0;position:absolute;right:0;top:0}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8{flex:1;margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8,.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{color:var(--PSPDFKit-AnnotationsSidebar-layoutContent-button-color);cursor:inherit}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{background:transparent;border:0;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn{color:var(--PSPDFKit-AnnotationsSidebar-footer-color);font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn p{margin:0;padding:0}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{background:transparent;border:0;color:var(--PSPDFKit-AnnotationsSidebar-deleteIcon-color);cursor:pointer;height:24px;margin-right:var(--PSPDFKit-spacing-6);opacity:0;padding:0;width:24px}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:active,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:focus,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:hover,:active>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:focus>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:hover>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{opacity:1}.PSPDFKit-52gz8466br5ea9fb7c841e2syj{fill:#848c9a;background:transparent;border:0;color:#848c9a;cursor:default;height:13px;margin-right:var(--PSPDFKit-spacing-7);margin-top:2px;padding:0;width:13px}.PSPDFKit-8wr83uqbdd33rfwu128mj5gnh2{padding-left:44px}.PSPDFKit-8d9gtv8zjahaxqn3hdsa2t7tea,.PSPDFKit-8wr83uqbdd33rfwu128mj5gnh2{display:flex;flex-direction:row;flex-wrap:wrap}.PSPDFKit-8d9gtv8zjahaxqn3hdsa2t7tea{padding-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-6qg835argr8knewku8zy5hfyqv{color:#848c9a;cursor:default;font-size:var(--PSPDFKit-fontSize-2)} +.PSPDFKit-6pk75qzdg2ukj6fscjncywz97r{align-items:center;display:flex}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc{background:var(--PSPDFKit-TextInputComponent-input-background);border:1px solid var(--PSPDFKit-TextInputComponent-input-border);color:var(--PSPDFKit-TextInputComponent-input-color);font-size:var(--PSPDFKit-fontSize-1);font-weight:400;max-height:32px;padding:6px 10px}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc:focus{border:1px solid var(--PSPDFKit-TextInputComponent-input-active-border)} +.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{align-items:center;flex-wrap:wrap;font-size:var(--PSPDFKit-fontSize-4)}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j,.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{display:flex;line-height:0}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j{border-radius:100%;cursor:pointer;margin:4px 3px;padding:4px;touch-action:none;transition:all .15s}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:active,.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:hover{background:var(--PSPDFKit-ColorPicker-isHovered-background)}.PSPDFKit-5z85yf9u7uzqx732cjqehyhd3s{outline:2px solid var(--PSPDFKit-ColorPicker-input-outline)}.PSPDFKit-7899cbm2djcuh9uzvh8y9mhq12{border:2px solid var(--PSPDFKit-ColorPicker-swatch-border);border-radius:100%;display:inline-block;height:1em;position:relative;width:1em;z-index:2}.PSPDFKit-7m6c5mvk9zc3ccp4w9ckt76p5q{background:var(--PSPDFKit-ColorPicker-input-isActive-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6,.PSPDFKit-3eaf5m5zxe8hsj1wptbbs2ru3r{border:2px solid var(--PSPDFKit-ColorPicker-swatch--transparent-border)}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6{background:var(--PSPDFKit-ColorPicker-swatch--transparent-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6:after{border-bottom:1px solid var(--PSPDFKit-ColorPicker-swatch--transparent-after-border);content:"";display:inline-block;transform:rotate(-60deg) translate(-2px,3px);width:12px} +.PSPDFKit-8yyas95udks18p394fepzz4n9c{background:var(--PSPDFKit-AnnotationToolbar-background);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-4a4w8vxdz3qm2pcgsdreydv72t{width:100%}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w{align-items:center;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{align-items:center;display:flex;flex-grow:1}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row;justify-content:flex-start}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w.PSPDFKit-5cjsnmyjcke6b1v12yfgbz41gg{flex-direction:row}.PSPDFKit-6kfdt35ea6cx8yeepx58n36vmj .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{border-bottom:none;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-5f5bztx4e8cyvfqegfp7b8wthw{align-items:center;height:44px}.PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{margin-right:6px}.PSPDFKit-7m8dfjh7avxk6eweakkjyh6xyd{height:32px}.PSPDFKit-713qj5u5gbp169rww4vvs3uac button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f{align-items:center;width:100%}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f,.PSPDFKit-6xaanvujukmusu5r1tv594b12u{display:flex;flex-direction:column}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{margin:0 8px}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-sm .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-xs .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{display:none}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y{display:flex;flex:1}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s),.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s){cursor:default}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:block}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-sm .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-xs .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{display:none}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf button{height:32px}.PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-6wmznmmpnx14v21nf84mdrgcjn{align-items:center;display:flex;height:32px;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-sm .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-xs .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv{display:none}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{align-items:center;display:flex}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv circle,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv line,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv path,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polygon,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polyline,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv rect,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv circle,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv line,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv path,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polygon,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polyline,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv rect,.PSPDFKit-c55swym84na3uj8cbws3nfkvk circle,.PSPDFKit-c55swym84na3uj8cbws3nfkvk line,.PSPDFKit-c55swym84na3uj8cbws3nfkvk path,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polygon,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polyline,.PSPDFKit-c55swym84na3uj8cbws3nfkvk rect{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv button,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv button,.PSPDFKit-c55swym84na3uj8cbws3nfkvk button{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{width:64px}.PSPDFKit-width-md .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-sm .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-xs .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{left:0;right:auto!important}.PSPDFKit-c55swym84na3uj8cbws3nfkvk{width:96px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e{height:32px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:hover,.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e[data-focus-within]{background:transparent}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:focus-within{background:transparent}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:var(--PSPDFKit-spacing-6);padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7 span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51),.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within]{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51) span,.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within] span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-2mcx41qn64buedadzqmun4x439{width:100px}}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-md .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-sm .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-xs .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-md .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-sm .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-xs .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover{background:transparent!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:active,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:focus,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:hover,.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p1au3zb7x12z2rhdhxt23urrf,.PSPDFKit-3jfra6hbvv4uav6ycenbqaya53{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{border:0!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:active,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-21r1nktvgb352rd4c4yy57pz9g{outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:first-child,.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-c3779mg2s6295w7bzec9269ub:first-child{border-left:none!important}.PSPDFKit-7gzw1kmadbfq1tnmw7d1w7zxd1{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3ytv364gpnrm7x19bnbmeyg8f8{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-46sarmfrc8jg6s66bqgfefbjjh{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 var(--PSPDFKit-spacing-7);padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-4zhmsmuwkhtpwtruurtrcn2q8j{height:16px;width:16px}.PSPDFKit-54kg6hjakpubj7vt368nk674tz{width:max-content}.PSPDFKit-2nazf4z9xd7xjtyhnbhe7rqgep{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp,.PSPDFKit-8gqc3tnvh9jka9muq4a9t5ahej{display:flex}.PSPDFKit-5c7qnuw3hacprzg2xwyca31kpu{height:20px;width:20px}.PSPDFKit-46k4525rumt3dyxruh7yn6ftbe,.PSPDFKit-2ujy7afe1awfhuh9ymbm6bme7t{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{display:none}.PSPDFKit-width-md .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-sm .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-xs .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{align-items:center;display:block;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-2kq3mk8tfsg87ukm5zvcxchay3,.PSPDFKit-77brcq5bxx44kv6p84cffgnrfh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-sm .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-xs .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an{align-items:center}.PSPDFKit-2skb7mhe9t63pg2ukxcsw49xsr,.PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-sm .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-xs .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:0}.PSPDFKit-2jq33zcqjvm19mjme567rvfrrm{align-items:center;display:inline-flex}.PSPDFKit-3xk6qkbjafwv7228ck9bx347w6{align-self:center;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-7jwg5rgcerucffvtbsmxvfb7zk{max-width:110px}.PSPDFKit-4e75mg661j3ax96qwbdmpzpsb4{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{align-items:center;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:active,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:focus,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:hover{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty span{max-width:60px;overflow-x:hidden}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:none!important}}.PSPDFKit-6jesjcs8hzf3yy3bqdg9kv3hk7{display:inline-flex}.PSPDFKit-7bm2dwvsr17e373y82u42rsemg{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-2x6urux4z76dkhv9azjrwtw1r6{margin-left:4px}.PSPDFKit-41f3k1r3a4wcjyvwb632qbpsar{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-c3779mg2s6295w7bzec9269ub.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zh4b5sq7ky7hj92aqd24n3cec span{align-items:center;display:flex;justify-content:center}.PSPDFKit-5y5uj8j53b14ftvfmra5n2fyyy{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 label{align-items:center;display:flex;justify-content:center}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-6rhfuqge1pjsww21nyns7uzwz3 span{color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-5y5uj8j53b14ftvfmra5n2fyyy{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-28p9qe5v9wa12h9abqanj7759r{width:3rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0;font-size:var(--PSPDFKit-fontSize-3);height:2rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn:not(.PSPDFKit-37jqdeb6j87paw3ang9yrcet45):focus{background-color:var(--PSPDFKit-TextInputComponent-input-background)}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d{align-items:center;display:flex;flex-direction:row}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:focus-within,.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-pynbrvdg7hats6u5gzc58czkp{border-left:0;margin-left:0;padding-left:2px;padding-right:2px}.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:active,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:hover{cursor:not-allowed;opacity:.3}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem}.PSPDFKit-8uffc57cupxw72ujvccyd5u75q{border-bottom-left-radius:0;border-top-left-radius:0;margin:0}.PSPDFKit-4v7qu3gbmmmxc2v2hdycthse1t{width:4.5rem} +.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-s88hmm2u6mr4p6a34q6p5x97j{width:100%}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj{align-items:center;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row;justify-content:flex-start}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj.PSPDFKit-7p5sgv4my75nm8c7s61pavhw9k{flex-direction:row}.PSPDFKit-4s922kjq16ky2tuz2stu8cmevf .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{border-bottom:none;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-3yctv5gp7m63pzzfqmcn2vwzsu{align-items:center;height:44px}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{margin-right:6px}.PSPDFKit-2td3u6fzb1juvzark5t2sx4q2k{height:32px}.PSPDFKit-5aqdkx2cvj2jkgvavhn63b9ng2 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594{align-items:center;width:100%}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594,.PSPDFKit-7yq1g1auatabjgr9redkv9mw4z{display:flex;flex-direction:column}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{margin:0 8px}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-sm .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-xs .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{display:none}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv{display:flex;flex:1}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd),.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd){cursor:default}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:block}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-8925upm91judwppvv9p55bukww{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-sm .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-xs .PSPDFKit-8925upm91judwppvv9p55bukww{display:none}.PSPDFKit-8925upm91judwppvv9p55bukww button{height:32px}.PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-47dkg274amuhtuvgmphaa3qbp8{align-items:center;display:flex;height:32px;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-sm .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-xs .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr{display:none}.PSPDFKit-6kf14wyby256uusycuansuqden,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{align-items:center;display:flex}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj circle,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj line,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj path,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polygon,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polyline,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj rect,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 circle,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 line,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 path,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polygon,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polyline,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 rect,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 circle,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 line,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 path,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polygon,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polyline,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 rect{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj button,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 button,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 button{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2{width:64px}.PSPDFKit-width-md .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-sm .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-xs .PSPDFKit-628jqdm82emd3wd8ywct68fvp2{left:0;right:auto!important}.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{width:96px}.PSPDFKit-6kf14wyby256uusycuansuqden{height:32px}.PSPDFKit-6kf14wyby256uusycuansuqden:hover,.PSPDFKit-6kf14wyby256uusycuansuqden[data-focus-within]{background:transparent}.PSPDFKit-6kf14wyby256uusycuansuqden:focus-within{background:transparent}.PSPDFKit-58854re4pgbwg56mdaznmjjscz{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:var(--PSPDFKit-spacing-6);padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-58854re4pgbwg56mdaznmjjscz span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81),.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within]{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81) span,.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within] span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8uywmag1h1x3ypdz5b98crr775{width:100px}}.PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-md .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-sm .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-xs .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-md .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-sm .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-xs .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover{background:transparent!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:active,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:focus,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:hover,.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-48d85wg1rgb1utxa2a4fvw2vth,.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-8xb3dqw6xuht2n573uhuknfp2k{border:0!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:active,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-52c5dtm21r4933mu2fkpjpe6uk{outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-fcgb4uy1g1393vcttkd834zya:first-child,.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:first-child{border-left:none!important}.PSPDFKit-5kgz7sh1trs8k2a4xw51qvusej{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-psd9e4tcte8ac4k6jmkt1wfeu{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-8zkbczvhbtdyv5utgdt42896wt{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 var(--PSPDFKit-spacing-7);padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-2bmrfq7hm8z4thd49fdtpzxewe{height:16px;width:16px}.PSPDFKit-6q2rpnx5br9xmymy4hxdvc9atg{width:max-content}.PSPDFKit-mjt1a3qgrvvxan7b2eet56kkt{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-3radjttaddx7fe6dnnreugbam2{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-3radjttaddx7fe6dnnreugbam2,.PSPDFKit-7uud28jq3crfqs4f4edufdekkf{display:flex}.PSPDFKit-5jpt4x4a9kj7rf7d24shsfp48k{height:20px;width:20px}.PSPDFKit-3fweswjpkq7dt55fw6t438rgun,.PSPDFKit-3hmu51e1ur6hrmfyzz2cru1c48{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{display:none}.PSPDFKit-width-md .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-sm .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-xs .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{align-items:center;display:block;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5p5hpd3y1t7kjkjpn6cyqaqptj,.PSPDFKit-3v6m9ae9v1gsx87x46mg6kjmzf{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-sm .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-xs .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a{align-items:center}.PSPDFKit-41gfyk1yj6dkqvg8px6c7j3sec,.PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-sm .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-xs .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:0}.PSPDFKit-77hntfhrv9fmz6c5684u5bkz7s{align-items:center;display:inline-flex}.PSPDFKit-7kmmurpd341ujzyvezu9ecj88h{align-self:center;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3fu4z9m4y47mmezmqbsmsg6u6f{max-width:110px}.PSPDFKit-8pbq1nn2qbdp1czxjuu7bjw2ks{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{align-items:center;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:active,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:focus,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:hover{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9 span{max-width:60px;overflow-x:hidden}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:none!important}}.PSPDFKit-6ep9xddvqffd53nu5e72pbdbgj{display:inline-flex}.PSPDFKit-717y4rg4qa1pc652h8cg793m4d{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-4xdm97phakaezcxf6wpdxn2tjm{margin-left:4px}.PSPDFKit-62hyggwkdx954k8f821btn7zeh{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-6dpm8fme3awumu6c44rktfucs2 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-4y4mzezsayhjmmtm9qqkgywcsh{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-8grpnn6cc1r855m2st438et1tg label{align-items:center;display:flex;justify-content:center}.PSPDFKit-8grpnn6cc1r855m2st438et1tg input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-8grpnn6cc1r855m2st438et1tg span{color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-4y4mzezsayhjmmtm9qqkgywcsh{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:var(--PSPDFKit-ContentEditorToolbar-background);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{border-bottom:1px solid var(--PSPDFKit-ContentEditorToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt,.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{align-items:center;display:flex}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt{padding-right:.75rem}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w{background-color:unset;border:1px solid var(--PSPDFKit-ContentEditorToolbar-button-border);border-radius:3px;color:var(--PSPDFKit-ContentEditorToolbar-button-color);cursor:pointer;font-size:.875rem;margin:0 var(--PSPDFKit-spacing-7);padding:0 20px;transition:border-color .15s}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:hover{border-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-border)}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w span{align-items:center;display:flex;height:32px}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:last-child{margin:0}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7{background-color:var(--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor);border-color:var(--PSPDFKit-ContentEditorToolbar-button-save-border);color:var(--PSPDFKit-ContentEditorToolbar-button-save-color)}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7:hover{background-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor);border-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-border);color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-color)}.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.5}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{flex-wrap:nowrap}.PSPDFKit-5z4at4466ca8t6dkug1bqpq81{cursor:not-allowed}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982{align-items:center;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor);display:flex;height:32px;justify-content:center;padding:0;width:32px}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 span,.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 svg{height:1.5rem;width:1.5rem}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:hover:not(:disabled){background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor)}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:disabled{cursor:not-allowed}.PSPDFKit-5hv5vgzkpzspks749ufhhvfz1k{border:none}.PSPDFKit-3y1g2avp88swge652xu9nj312z{background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z svg{color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z:hover:not(:disabled){background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj{border:none;color:var(--PSPDFKit-ContentEditorToolbar-button-color)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj:hover{background-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor);cursor:pointer} +.PSPDFKit-8mw7cgx9nrd1yg35kkhqyhksqy{background:var(--PSPDFKit-AnnotationToolbar-background);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3e1ymauppttrz41jzw3mzc2t65{width:100%}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{align-items:center;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row;justify-content:flex-start}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2.PSPDFKit-39d47rs5fq7kcjer959hp5rx8d{flex-direction:row}.PSPDFKit-8y6ce6n5884k7zrpr3uqnz7htb .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{border-bottom:none;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-pqz79rmnz1jk37ra4q9jr8t33{align-items:center;height:44px}.PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{margin-right:6px}.PSPDFKit-6nbc7qagvqu9yd6yet13hb6rhj{height:32px}.PSPDFKit-48x8nkebmfpqss6a3u7rs8g9q5 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd{align-items:center;width:100%}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd,.PSPDFKit-7ntyew6gjjyyu8e3azuddfrhnp{display:flex;flex-direction:column}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{margin:0 8px}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-sm .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-xs .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{display:none}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8{display:flex;flex:1}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg){cursor:default}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:block}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-75ttad8xww9mpzzprak2aac974{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-sm .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-xs .PSPDFKit-75ttad8xww9mpzzprak2aac974{display:none}.PSPDFKit-75ttad8xww9mpzzprak2aac974 button{height:32px}.PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-w47nwqgy1154yrmztu2mnwzpm{align-items:center;display:flex;height:32px;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-sm .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-xs .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4{display:none}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{align-items:center;display:flex}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 circle,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 line,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 path,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polygon,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polyline,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 rect,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s circle,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s line,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s path,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polygon,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polyline,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s rect,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 circle,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 line,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 path,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polygon,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polyline,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 rect{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 button,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s button,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 button{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s{width:64px}.PSPDFKit-width-md .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-sm .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-xs .PSPDFKit-275wshr5dpqatccw8ux11qqk9s{left:0;right:auto!important}.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{width:96px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp{height:32px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:hover,.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp[data-focus-within]{background:transparent}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:focus-within{background:transparent}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:var(--PSPDFKit-spacing-6);padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf),.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within]{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf) span,.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within] span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8j3bg3d3dbcpkjba4qpgt6mtwx{width:100px}}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover{background:transparent!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:active,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:focus,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:hover,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:active,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:focus,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:active,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:focus,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:hover,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-fts7hzse3qdkgfmxd89z1sxgg,.PSPDFKit-4q6ah6p4esufmffveqzpjh47b{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-2s797jk128ay8vfscex2bv7kfe{border:0!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-73qv358utjtrzr85ky96uevmtg{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-73qv358utjtrzr85ky96uevmtg.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:active,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-4nuygfwr1ru425pyg3yjydvr61{outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-8tz941rhqxq9a7km8terwandnm:first-child{border-left:none!important}.PSPDFKit-3fzefd39fwgk1qdbxv6jdjs8f7{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5cn9vbp8wrnrmnk914jdmynjve{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-88kdpafyrs8h3rj4zjbrrted2p{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 var(--PSPDFKit-spacing-7);padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6yj82gkzhm3npm9qtbttnwhvqs{height:16px;width:16px}.PSPDFKit-5kx5x5nrf9ffzpw127n7tdvrqw{width:max-content}.PSPDFKit-6m8awubd892h2q7bxq6ucu9yx5{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5z24bvabee7axqkv39se95kj79{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5z24bvabee7axqkv39se95kj79,.PSPDFKit-5uu5r98quqvpyqqvmhf7eqx6n8{display:flex}.PSPDFKit-7sx7anuampjzrt9mnvv7zccdny{height:20px;width:20px}.PSPDFKit-84hychtak5eqe99svt8mp3g7gq,.PSPDFKit-3wpt6233mxj93ajtgz97kkfp95{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{display:none}.PSPDFKit-width-md .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-sm .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-xs .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{align-items:center;display:block;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5wjc8qvxn2shc717ghes4hwe4r,.PSPDFKit-4axb3jsn3p35zcvz2qkf1627s1{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-sm .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-xs .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf{align-items:center}.PSPDFKit-25fpzkeppwbvrayjgduw8retb5,.PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-sm .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-xs .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:0}.PSPDFKit-2syhxbxpfgp19jpz3z5x49q224{align-items:center;display:inline-flex}.PSPDFKit-7eua9n76z6wh9hyqtrgxabwhyp{align-self:center;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-8san6jac5e16c3cmp3udzsyzq9{max-width:110px}.PSPDFKit-2bhr7dx4y8a6z7s598sms29ggb{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{align-items:center;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:active,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:focus,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:hover{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g span{max-width:60px;overflow-x:hidden}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:none!important}}.PSPDFKit-6s24914j26xzdhgmaqjbdae7a8{display:inline-flex}.PSPDFKit-7kdp2eku1rven1vm3eug4x6su9{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-5mud2pd31puwn1df9zjr639yy4{margin-left:4px}.PSPDFKit-84kcnetmpfg2e64pd3wmwkkbud{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-8tz941rhqxq9a7km8terwandnm.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-2q1r39e1v2u5ekry3v7vbc9yr7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-4g2ngud8r3s5zduhf5fa58c69y{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan label{align-items:center;display:flex;justify-content:center}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-7bbcwaht73ggqqhpqdhb435dan span{color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-4g2ngud8r3s5zduhf5fa58c69y{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{align-items:center;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5t9fk8ex9uwch2qhza7wa1pacw,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{display:flex}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{align-items:center;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:not(:last-child){border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:hover:not([aria-disabled=true]){background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue span,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue svg{align-items:center;display:flex;height:32px}.PSPDFKit-6uhymu5y17pjr47gp9zdvgf3bd{cursor:not-allowed;opacity:.5}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3{border:1px solid!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover{border:1px solid!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3 span{align-items:center;display:flex;height:32px}.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:block}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{align-items:center;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:block}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:none!important}@media(max-width:768px){.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:none}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{display:flex;width:47px}.PSPDFKit-7tretxh1ue798paef14ryrb6q6 svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{padding:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:none!important}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:flex!important}}:host,:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey980:#0e1218;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey40:#f6f9fd;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row;padding:0}.PSPDFKit-width-md .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-sm .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-xs .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row-reverse}.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-7dgtuxjugwv9wr6k94pfvchgzt{background:#4636e3!important;color:#fff}.PSPDFKit-3nf3mgqa1mk6xs968ztk8n1ped{display:flex;flex:1}.PSPDFKit-7kz6k3947em3q3sp47s5cd3u3m{flex-shrink:unset;width:max-content} +.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{align-items:center;color:var(--PSPDFKit-Error-color);height:100%;justify-content:center}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j,.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{display:flex}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j{align-items:stretch;background:var(--PSPDFKit-Error-background);border-radius:6px;box-shadow:0 3px 3px var(--PSPDFKit-shadow-color);max-width:670px}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j a{color:var(--PSPDFKit-Error-hyperlink-color);text-decoration:underline}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j span{line-height:30px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649{align-items:center;background-color:var(--PSPDFKit-Error-error-background);border-bottom-left-radius:6px;border-top-left-radius:6px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649,.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{display:flex;padding:15px 20px}.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{flex-direction:column}.PSPDFKit-4wf98g1ha47f4tw6p5xpr51nn7{fill:var(--PSPDFKit-Error-icon-color);background-color:var(--PSPDFKit-Error-icon-background);border-radius:12px;height:24px;width:24px} +.PSPDFKit-87k1yb2m56xugj11pvrn2epwmr{max-width:422px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4{position:absolute}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg{height:48px;width:48px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg g{fill:currentColor;stroke:currentColor}.PSPDFKit-g3g187c7zezz65j88wexd218w{color:var(--PSPDFKit-PasswordModal-icon--regular-color)}.PSPDFKit-568kqv9a573y6cm3j1y6xs5v62{color:var(--PSPDFKit-PasswordModal-icon--error-color)}.PSPDFKit-287v657mcme5ewwt57t23w5qyh{color:var(--PSPDFKit-PasswordModal-icon--success-color)}.PSPDFKit-3m2rqse7rv63dfkwgvcjy19997{height:48px;position:relative;width:48px}.PSPDFKit-3eq8gr4w2wkxz8kcemn3feckgz{background:var(--PSPDFKit-PasswordModal-message--alert-background);border-bottom:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);border-top:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);color:var(--PSPDFKit-PasswordModal-message--alert-color)}.PSPDFKit-7qjt9yezkrce9kdkn11wwk7ntz{display:flex;justify-content:flex-end}.PSPDFKit-5r5qzyzhnat22bqdytrnu5ageu{opacity:0;transform:scale(.5)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c{transition:all .3s cubic-bezier(.895,.03,.685,.22)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c,.PSPDFKit-g25477hjsg4skgtpfrw93sj7u{opacity:1;transform:scale(1)}.PSPDFKit-3vp9fnny3e7hxta8yxd6jaxea4{opacity:0;transform:scale(.5);transition:all .3s cubic-bezier(.165,.84,.44,1)} +.PSPDFKit-7386u3hksvwqrk1txdsf6yjwh7{align-items:center;display:flex;height:100%;justify-content:center;width:100%} +.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd{position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz img{image-rendering:-webkit-optimize-contrast}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:pixelated}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:crisp-edges}.PSPDFKit-4uahg5akq9ua7h3n6r45t9pnv1{background:#fff} +.PSPDFKit-4hndx219v53cj6xkbemwdxxfbp{bottom:0;left:0;position:relative;right:0;top:0}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam{background-color:var(--PSPDFKit-SearchHighlight-background);mix-blend-mode:multiply;position:absolute}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam.PSPDFKit-2m3zj91uw1smew17zjaj1g3xfx{background-color:var(--PSPDFKit-SearchHighlight-isFocused-background)} +.PSPDFKit-5adgrb7yvngqk7tujcpr5rc3aj{display:block;position:absolute} +.PSPDFKit-8am3xt8zzjm64r49rez8ukprpf{display:block;position:absolute} +.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw{bottom:0;cursor:zoom-in;left:0;right:0;top:0;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw,.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{position:absolute}.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{shape-rendering:crispEdges}.PSPDFKit-zxyvguvek2ym1z7dekdnq5v1z{fill:var(--PSPDFKit-MarqueeZoom-rect-fill);stroke-width:1px;stroke-dasharray:5;stroke:#000;opacity:.5}.PSPDFKit-brx4byv7qnas5ky1tfgt6ba6x{fill:transparent;stroke-width:1px;stroke-dasharray:5;stroke-dashoffset:5;stroke:#fff;opacity:.5} +:host,:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey980:#0e1218;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey40:#f6f9fd;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-21tdya9vwjkb9467d89dpj3dz5{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-6hysu1r6uydnrqrhfk1pps1pr8,.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j,.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{border:1px dashed var(--color-blue600);position:absolute}.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j{height:2px;width:100%}.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{height:100%;width:2px}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a{background:rgba(69,55,222,.2);border:2px solid var(--color-blue70);height:40px;position:absolute}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>div,.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>span,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>div,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>span,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>div,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>div,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>div,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>span,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>div,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>span,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>span,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>div,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>span,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>div,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>span{display:none}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve{width:120px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj{width:220px}.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma{height:150px;width:220px}.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{border-radius:50%}.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{height:32px;width:32px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq{display:flex;height:150px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div{align-self:flex-start;background-color:var(--color-blue600);color:var(--color-white);display:inline-block;font-size:14px;padding:2px 8px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span{color:var(--color-blue600);display:inline-flex;height:16px;width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span{color:var(--color-blue600);display:inline-flex;height:16px;transform:translateX(35px);width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span svg{fill:var(--color-blue600)} +.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7qanggak6kh1whzh64vrkx4krz,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:hover{border-color:var(--color-blue600);border-style:solid}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3{background-color:rgba(69,55,222,.1)}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:not(.PSPDFKit-7qanggak6kh1whzh64vrkx4krz) textarea:hover{cursor:pointer}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3 textarea:hover,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj textarea:hover{cursor:move}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7{border:thin dashed var(--color-blue300);box-sizing:initial!important;margin-left:-1px;margin-top:-1px}.PSPDFKit-3mngkstqybyrr7k8f5kgqf5ksn{background:none;border:none;cursor:pointer;margin:0;padding:0}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3{color:var(--color-orange400);display:block}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3,.PSPDFKit-7eywttjpush5dwpejjm2b1edg3>svg{height:100%;width:100%}@keyframes PSPDFKit-7kwgpn262dubfp6s5nxvyrt295{0%{color:#000}to{color:transparent}}.PSPDFKit-4tgb9n39czt6qk8ajacqjv5xdj{animation:PSPDFKit-7kwgpn262dubfp6s5nxvyrt295 1.2s steps(2,jump-none) 0s infinite normal both running}.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt{outline:3px solid var(--color-blue200);outline-offset:1px}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc{padding:.25rem;position:absolute;top:calc(50% - .6875rem)}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc:hover{cursor:ew-resize}.PSPDFKit-3wksyn2d8kqsw1kg6b3vqztpfr{background-color:var(--color-blue600);border:1px solid var(--color-white);border-radius:50%;box-shadow:0 4px 8px rgba(0,0,0,.15),0 1px 3px rgba(0,0,0,.3);height:.875rem;width:.875rem}.PSPDFKit-2dv6u2bf1w5g4e17qeenc78qhu{right:-.6875rem}.PSPDFKit-4fvhxnqd5sg3bad4pr5gsqshv2{left:-.6875rem} +.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-5scxecvmyvz7wahnvpvhqf1u6n{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-4f127napxmw48wj78u1h4t24d5{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-6ncgj8zzkc4v2az5nh5414n95b{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-2a2y9pvb8su899gfj1wsz2ta6n{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-863nmkfmtuh7z8chsq5cfw6y9h{left:0;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:transparent!important;color:transparent!important}.PSPDFKit-browser-system-android .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:rgba(18,61,112,.05)!important}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-8hbgq8hdkhtfm5abztpkrkdp87{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-87pd6mukheqbugejr1g1n3es7w{cursor:none} +.PSPDFKit-34rw6dd52chrrk7xv2jr6zquew{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-3eg3ptc58eu1dbczvddeqqmn75{stroke:var(--color-blue70);stroke-width:1px} +.PSPDFKit-4fy2py5absazy7wc1atsvf39uh{-webkit-overflow-scrolling:touch;font-size:var(--PSPDFKit-fontSize-3);left:0;position:absolute;text-align:left;text-align:initial;top:0;transition:transform .3s cubic-bezier(.215,.61,.355,1)}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx{background-color:var(--PSPDFKit-Viewport-background);bottom:0;left:0;overflow-y:auto;position:fixed;right:0;top:auto}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf{border-radius:6px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);position:absolute;transition:all .3s cubic-bezier(.215,.61,.355,1);transition-property:transform,box-shadow}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:not(.PSPDFKit-57ma556dgg7p25vkpwgypaprqm){cursor:pointer}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:hover{box-shadow:0 4px 6px rgba(43,50,59,.2),0 6px 16px rgba(43,50,59,.1)}.PSPDFKit-57ma556dgg7p25vkpwgypaprqm,.PSPDFKit-57ma556dgg7p25vkpwgypaprqm:hover{box-shadow:0 16px 32px rgba(43,50,59,.25),0 16px 32px rgba(43,50,59,.1);z-index:1}.PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{background-color:var(--PSPDFKit-Comment-thread-backgroundColor);border-radius:6px;color:var(--PSPDFKit-Comment-thread-color);height:100%;width:100%}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-6n4vf5zb3fds69s2uvw3xyfaxk{padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-6abtkbxbe387rzj3weks85eubv{border-top:1px solid var(--PSPDFKit-Comment-separator-color);margin-left:var(--PSPDFKit-spacing-5)}.PSPDFKit-8gpdea9u4mgzacra4wx6vq3mxh{border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-83aay96yymctba7rmvy6wzwfzs{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;line-height:1}.PSPDFKit-th67kk1b8w7umaeh289rjkc6s{font-weight:600;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-6kppppmn52ajrv8ahh7vyaqspg{color:var(--PSPDFKit-Comment-accent-color);display:block;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;margin-top:var(--PSPDFKit-spacing-6)}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca{align-items:center;border:1px solid var(--PSPDFKit-Comment-accent-color);border-radius:100%;display:flex;height:32px;justify-content:center;margin-right:8px;overflow:hidden;width:32px}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca,.PSPDFKit-8xau5mfzb7xbtsd67bf4f7amph{flex-shrink:0}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca img{background-color:var(--PSPDFKit-Comment-footer-color);border-radius:100%;display:block;height:32px;width:32px}.PSPDFKit-2uymwug35415u37jmmjeckcf66{margin-bottom:0;margin-top:var(--PSPDFKit-spacing-6);white-space:pre-wrap;word-break:break-word}.PSPDFKit-2uymwug35415u37jmmjeckcf66 a{color:var(--color-blue300);text-decoration:underline}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p>span:empty:after{content:" "}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]{color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]:before{content:"@"}.PSPDFKit-browser-engine-webkit .PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{max-height:calc(var(--PSPDFKit-lineHeight-1)*3)}.PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p{margin:0}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p>span:empty:after{content:" "}.PSPDFKit-3jv55mynpjvcvxarj2awcxbc4q{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-top:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wf8kzxdewz91bkynxz9nf13vn{display:inline-block}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq{background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-radius:0 0 5px 5px;border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color);display:flex;flex-direction:column;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-5)}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq:first-child{border-radius:6px;border-top:0}.PSPDFKit-37dn8ce9d95692mrtn658uddbn{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-728a47tmgr74fsteq92f378fyg{color:var(--PSPDFKit-Comment-accent-color);cursor:pointer}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4{background-color:var(--PSPDFKit-Comment-editor-backgroundColor);border-bottom:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px 3px 0 0;color:inherit;display:block;font-size:inherit;min-height:115px;outline-color:var(--PSPDFKit-Comment-accent-color);padding:var(--PSPDFKit-spacing-6);resize:none;white-space:pre-wrap;width:100%}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [contenteditable]{min-height:inherit}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [data-user-id]{background-color:transparent;color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{font-size:var(--PSPDFKit-fontSize-3);padding:var(--PSPDFKit-spacing-5);width:100%}.PSPDFKit-3a6az8snvjp28tbbeuzbhb8g3j{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas{align-items:center;background:none;border:none;color:var(--PSPDFKit-Comment-thread-color);display:flex;height:26px;justify-content:center;margin-left:8px;padding:0}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas span{border-radius:3px;height:26px;padding:1px;width:26px}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover{cursor:pointer}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover:not(.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn) span{background-color:var(--PSPDFKit-Comment-icon-backgroundColor-hover)}.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn span{background-color:var(--PSPDFKit-Comment-icon-backgroundColorActive);color:var(--PSPDFKit-Comment-icon-strokeColorActive)}.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:focus,.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:hover{color:var(--PSPDFKit-Comment-deleteIcon-color)}.PSPDFKit-5y5p3r6ykjn2ayvbvjkrfqphey{height:24px}.PSPDFKit-37gwnzwf4ca3vasdqrh9p66p1v{align-items:center;border-radius:3px;display:flex;padding:6px 8px}.PSPDFKit-8nc3tp5w5tk5jedzmbawt81rb3{margin-top:15px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;border-radius:50%;height:24px;margin-left:8px;padding:0;width:24px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z:hover{cursor:pointer}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z[disabled]{background-color:var(--PSPDFKit-Comment-editingTextButtonIconDisabled-background);pointer-events:none}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm svg{color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm:hover svg{color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg{background-color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg svg{color:var(--PSPDFKit-Comment-editingTextButtonIcon-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg:hover{background-color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab{padding-top:1px}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab svg{color:var(--PSPDFKit-Comment-editingTextCancelButton-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab:hover svg{color:var(--PSPDFKit-Comment-editingTextCancelButtonHover-color)}.PSPDFKit-58hy6741cqa5n2g3pqaermn97s{background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;box-shadow:var(--PSPDFKit-Comment-Toolbar-backdrop);display:flex;flex-direction:row}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht{align-items:center;background-color:transparent;border:none;cursor:pointer;display:flex;height:38px;justify-content:center;padding:revert}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht>span{display:flex}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht svg{color:var(--PSPDFKit-Comment-thread-color);height:24px;width:24px}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht.PSPDFKit-5ege4ny766r38mq51n6h553ksm svg,.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=on] svg{color:var(--PSPDFKit-Comment-Toolbar-Selected-Color)}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=open]{opacity:.5}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba{margin-left:8px}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba svg{color:var(--PSPDFKit-Comment-editingTextCancelButton-color);width:10px}.PSPDFKit-89u863ebnbu84fn5v8hhghh83x{align-items:center;display:flex;flex-direction:row}.PSPDFKit-3e81entadshw7dt4gtbeuem2xu{background-color:var(--PSPDFKit-Comment-Toolbar-borderColor);width:1px}.PSPDFKit-2nb7drgzfpu5sppaazuvdaas8q{background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;display:grid;gap:12px;grid-template-columns:repeat(6,1fr);padding:16px;width:200px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf{border:1px solid var(--PSPDFKit-Comment-ColorPicker-borderColor);border-radius:100%;cursor:pointer;height:16px;width:16px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf[data-state=checked]{outline:2px solid var(--PSPDFKit-Comment-linkEditor-buttonText-color)}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8{align-items:center;background-color:var(--color-coolGrey600);background-image:linear-gradient(45deg,var(--color-black) 25%,transparent 25%,transparent 75%,var(--color-black) 75%,var(--color-black)),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-position:0 0,4px 4px;background-size:8px 8px;display:flex;justify-content:center}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8>div{background-color:#ec2d67;border-radius:2px;height:13px;transform:rotate(45deg);width:3px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m{background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor);border-radius:4px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);min-width:360px;overflow:hidden}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m,.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{display:flex;flex-direction:column}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-bottom:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);border-top:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);color:var(--PSPDFKit-Comment-linkEditor-inputLabel-color);padding:8px 16px 24px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m label{font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m input{all:unset;background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor);border:1px solid var(--PSPDFKit-Comment-linkEditor-input-borderColor);font-size:var(--PSPDFKit-fontSize-3);margin-top:4px;padding:8px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::-ms-input-placeholder{color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::placeholder{color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-7kqa88wjcucusw944q4td6njjs{all:unset;color:var(--PSPDFKit-Comment-thread-color);font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px}.PSPDFKit-45m9kechgpmukdwrz93q4qmrh1{display:flex;flex-direction:row;padding:10px 16px!important}.PSPDFKit-78emxwqr69budhctjscsd4btu4{background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor)!important;border-top:unset!important}.PSPDFKit-739qzd1hv6b6qjjx638p4258gh{align-items:center;column-gap:var(--PSPDFKit-spacing-4);display:flex;flex:1;flex-direction:row;overflow:auto}.PSPDFKit-2t2huzxxwcaje7r4h9u6cs8gf8{justify-content:center}.PSPDFKit-4pxvqpszy7wy3zb3hxw4p8qk2r{justify-content:flex-end}.PSPDFKit-3u7etkbahb7gyv7dvxrfvtugfd{text-align:center}.PSPDFKit-23zx2zfm8wum8a6s3vr81nawu9{flex:1}.PSPDFKit-pjs3fa92fehykyz7vs566ebn3{min-width:100px}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n{all:unset;color:var(--PSPDFKit-Comment-linkEditor-buttonText-color);cursor:pointer;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px;text-align:center}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:not(:disabled):hover{background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover)}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:disabled{cursor:not-allowed;opacity:.5}.PSPDFKit-2cz2cdu6k2usyms4krcjqkgzbu{fill:var(--PSPDFKit-Comment-linkEditor-backgroundColor)}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda{border:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda:focus-within{border-color:var(--PSPDFKit-Comment-accent-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border-radius:0}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{border-radius:0;color:var(--PSPDFKit-Comment-popover-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-738g668qas89ty7hkqaw6r3wj8{max-height:calc(100vh - 60px)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx{background-color:var(--PSPDFKit-Comment-footer-backgroundColor);padding:0!important}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx.PSPDFKit-2k9waz28euj6he95bg1pth1q71{border-top:none}.PSPDFKit-fe2j351tsy55sdctatshf3857{background:var(--PSPDFKit-Comment-popover-moreComments-gradient);bottom:0;display:flex;justify-content:center;padding:60px 0 12px;position:sticky}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh{align-items:center;background-color:var(--PSPDFKit-Comment-popover-moreComments-background);border-radius:20px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);color:var(--PSPDFKit-Comment-popover-moreComments-color);display:flex;padding:4px 12px 4px 8px}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh:hover{cursor:pointer}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge{background-color:var(--PSPDFKit-Comment-popover-moreComments-color);border-radius:50%;display:flex;height:16px;margin-right:8px;width:16px}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge>svg{color:var(--PSPDFKit-Comment-popover-moreComments-background);height:16px;rotate:180deg;width:16px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{background-color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);border:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-borderColor);border-radius:3px;max-height:300px;overflow:scroll;width:297px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju[data-side=bottom]{transform:translateY(36px)}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju>div:not(:first-child){border-top:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-separator)}@media(max-width:480px){.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{max-height:200px;width:calc(100vw - 26px)}}.PSPDFKit-29ub44u4t1nq9au4r5r8gq16zz{display:flex;flex-direction:row}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true]{background-color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{background-color:var(--PSPDFKit-Comment-Avatar-Active-backgroundColor);color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color)}.PSPDFKit-283uxv24vcfj241z4bctddtydk{grid-column-gap:12px;grid-row-gap:0;cursor:pointer;display:grid;grid-template-columns:24px 1fr;grid-template-rows:20px 17px;padding:8px 16px}.PSPDFKit-6f9qc1enqd8ejv1rusfkvmsbum{grid-template-rows:1fr}.PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{align-self:center;background-color:var(--PSPDFKit-Comment-Avatar-backgroundColor);border-radius:100%;color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);grid-area:1/1/3/2;height:24px;width:24px}.PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{align-self:center;color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-color);font-size:14px;font-weight:600;grid-area:1/2/2/3}.PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{align-self:center;color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-color);font-size:12px;font-weight:500;grid-area:2/2/3/3}.PSPDFKit-6p3jtubgkq6b3vgyr1n1fm5hh6{display:flex;width:100%}.PSPDFKit-2cdzkdcuqaah7ztnfqfbupn397{align-items:flex-end;color:var(--color-coolGrey200);display:flex;margin-left:var(--PSPDFKit-spacing-5)}.PSPDFKit-4693n37yeyx3742yquf9zbuh9x{font-size:var(--PSPDFKit-fontSize-2)} +.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh{max-width:362px}.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh,.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{border-radius:6px;overflow:hidden}.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{height:46px;text-align:center;width:362px}.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{align-content:center;justify-content:center;text-align:center}.PSPDFKit-6c7xfncwch6xyvu2c9ht4628jr,.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{display:flex;flex:1;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{color:var(--PSPDFKit-FormDesignerPopoverComponent-title-color);margin:0;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg,.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg{color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j{flex:1;flex-direction:column;padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j,.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-content-background-color);color:var(--PSPDFKit-FormDesignerPopoverComponent-content-color);display:flex;overflow:auto}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{align-content:center;column-gap:var(--PSPDFKit-spacing-4);flex:1;flex-direction:row;justify-content:space-around;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e button{width:100%}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr{margin:4px 0 16px!important}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr svg{height:11px!important;width:12px!important} +.PSPDFKit-rmf34nztrfgm2bcf7ccec8zhz{max-width:700px}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6{margin-bottom:20px;text-align:left}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6 a{color:#3c97fe}.PSPDFKit-8m2ghddxnzm27ad3jnnphw522j{background:#000;color:#fff;font-family:monospace;height:100px;margin:auto;resize:none;width:100%} +.PSPDFKit-5wp751jqbxpbbwkus9rbbddxgu{background-color:var(--PSPDFKit-DocumentOutline-background);height:100%;overflow:auto;padding:var(--PSPDFKit-spacing-7) calc(var(--PSPDFKit-spacing-7)/2);padding-right:0}.PSPDFKit-38m3bpj83kumpugydqecgvfb87{display:flex;justify-content:center;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-6thyvskwj8bhtjt43bjv7r2tv3{padding-left:var(--PSPDFKit-spacing-6)}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf{align-items:center;cursor:pointer;display:flex}.PSPDFKit-8q6pak6zvt1x45sh6b8f91pb5g{cursor:default}.PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4{padding-left:24px}.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{border-bottom:1px solid var(--PSPDFKit-DocumentOutline-control-border);color:var(--PSPDFKit-DocumentOutline-control-color);display:block;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-5) 0;width:100%}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc{fill:var(--PSPDFKit-DocumentOutline-icon-color);color:var(--PSPDFKit-DocumentOutline-icon-color);cursor:pointer;display:block;margin-right:calc(var(--PSPDFKit-spacing-7)/2)}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc svg{height:100%;width:100%}.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{transform:rotate(90deg);transition:transform .2s ease}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf:hover .PSPDFKit-8hs25mq46u5e54udrwp52hzqxc,.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{fill:var(--PSPDFKit-DocumentOutline-icon-isHovered-color);color:var(--PSPDFKit-DocumentOutline-icon-isHovered-color)}div[id^=outline-control] .PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4>.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{padding-left:10px} +.PSPDFKit-3794mza67b1yg72kafrt5hb5ne{-webkit-overflow-scrolling:touch;background-color:var(--PSPDFKit-BookmarksSidebar-background);border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-border);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-82vfq7tmnvc7msfc9e69vvteqg{display:flex;width:100%}.PSPDFKit-74mdazdfzvch29s6gw4fvdanw9{min-width:100%}.PSPDFKit-3fv5zkg97n3mu687rszsbq2vap,.PSPDFKit-6n1ufy9m7k6kddjekzx8ra9equ{width:90%}.PSPDFKit-8ar7rzebgg8hmscpa7e7zunr9c{background-color:var(--PSPDFKit-BookmarksSidebar--loading-background);display:flex;justify-content:center;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-5)}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh,.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:var(--PSPDFKit-BookmarksSidebar-heading-color);font-size:inherit;font-weight:400;text-transform:uppercase}.PSPDFKit-25cnnvzt1zat453758mcudxsca{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{align-items:center;display:flex;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:var(--PSPDFKit-spacing-6) 0;text-transform:uppercase}.PSPDFKit-39x22bdb75a1huszgc6wehk4n2{display:flex;justify-content:space-between;margin-top:var(--PSPDFKit-spacing-4)}.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);font-size:var(--PSPDFKit-fontSize-2);max-width:100%;overflow:hidden;padding:.1em 0 0 .7em;position:absolute;right:0;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin:0 var(--PSPDFKit-spacing-4) 0 var(--PSPDFKit-spacing-7);padding:var(--PSPDFKit-spacing-5) 0 var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-5);position:relative}.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="-1"]>div,.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="0"]>div{border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-layout-border)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:hover{color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within]{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 button{background:transparent;border:0;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57 svg{background:var(--PSPDFKit-BookmarksSidebar-edit-background);height:24px;position:relative;width:24px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{color:var(--PSPDFKit-BookmarksSidebar-edit-color);flex:0 0 16px;height:16px;margin-left:var(--PSPDFKit-spacing-5);opacity:0;width:16px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:active,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:focus,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:hover,.PSPDFKit-3gpkhfqvs5pqtr4r9ry6e3jwjq,:active>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:focus>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:hover>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{opacity:1}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x{background-color:var(--PSPDFKit-BookmarksSidebar-editor-background);padding:var(--PSPDFKit-spacing-5);position:relative;width:100%;z-index:2}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x .PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{margin-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-5zwbu9g714rrbrfqc66ep7t3cs{flex-wrap:nowrap;margin-top:var(--PSPDFKit-spacing-5);overflow-y:auto}.PSPDFKit-2b313c5ajnt3v97v7xqyj8k9ag{flex:1}.PSPDFKit-426mdzb7nn1fr9xdajcg4c1cqv{align-self:flex-start;margin-right:.5em}.PSPDFKit-2bfgwcaxtth9w1jg88tzb46hy7{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5em;justify-content:flex-end} +.PSPDFKit-wqnk7x3sp9sp2zkcvbfawsb6r{background-color:var(--PSPDFKit-Sidebar-background);font-size:var(--PSPDFKit-fontSize-3);height:100%;overflow-wrap:break-word;position:relative;word-break:break-word;z-index:1}.PSPDFKit-6zdf5v5224wp5vu92pkacn6sx3{background:var(--PSPDFKit-Sidebar-header-background);display:flex;flex-direction:column;flex-wrap:wrap;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);text-align:right}.PSPDFKit-4bvu69j78qa67c4wqqxaxrqbs5{background-color:var(--PSPDFKit-Sidebar-dragger-background);border-left:1px solid var(--PSPDFKit-Sidebar-dragger-border);bottom:0;cursor:col-resize;overflow:hidden;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{background:var(--PSPDFKit-Sidebar-draggerHandle-background);border:1px solid var(--PSPDFKit-Sidebar-draggerHandle-border);border-left:none;border-radius:3px;display:block;height:32px;position:fixed;top:50%;width:9px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after,.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{background-color:var(--PSPDFKit-Sidebar-dragger-pseudo-background);content:"";height:20px;left:50%;margin-top:-15px;position:absolute;top:64%;width:1px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{margin-left:-2px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after{margin-left:1px}@media(max-width:768px){.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{display:none}}.PSPDFKit-2x4gzue77m9rd4f4ax5y9e5wj1{height:100%;overflow:auto} +.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{color:#fff;display:block;-webkit-user-select:none;-ms-user-select:none;user-select:none}.interactions-disabled .PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{display:none}.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf div{align-items:center;display:flex;flex:1 0 auto;flex-direction:row;flex-wrap:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.PSPDFKit-6stgnz1576bk1x1pc2nvf8mswa{border-radius:6px;display:block;overflow:hidden}.PSPDFKit-47apua2t9uqk8xayrhg2x6bxwp{background:#5e6266;height:20px;margin:0 6px;width:1px}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe{border-right:1px solid #4a4d51;height:34px!important;width:38px!important}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe:last-child{border-right:0}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe i{height:20px!important;width:20px!important} +.PSPDFKit-8ffg9gawq78kbmz1r4tzjvvqc9{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.PSPDFKit-8xy9jsj7mkgjmn242vthsdvebm{min-height:32px;padding:0 10px} +.PSPDFKit-4vgck46zhyuscqkznsp8pabh68{cursor:all-scroll;cursor:grab;height:auto;min-height:100%;min-width:100%;width:auto}.PSPDFKit-4cbfb2m7vt4aq7g21z3gxtzzde{cursor:grabbing} +.PSPDFKit-m8vcznd3skqsshg6rhqg119mc{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:90%}@media(min-width:320px){.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:300px}}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>button,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>div{margin:.5em 0}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n{background-color:var(--PSPDFKit-PrintLoadingIndicator-progress-background);border-radius:3px;color:var(--PSPDFKit-PrintLoadingIndicator-progress-color);display:block;overflow:hidden;padding:.25em .5em;position:relative;width:100%;z-index:1}.PSPDFKit-3mu82vxhmw13y36qrsu6ya81cc{background-color:var(--PSPDFKit-PrintLoadingIndicator-progressBar-background);bottom:0;left:0;position:absolute;top:0;z-index:-1}.PSPDFKit-489xz3n1mhssjcqb9fqcbey276{color:var(--PSPDFKit-PrintLoadingIndicator-progressText-color)} +.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{align-items:center;display:flex;width:90%}@media(min-width:320px){.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{width:300px}}.PSPDFKit-4dct27k6q3q9d4c4atrzr75u79{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-6pphz7vq2cfumupsmn27tmjjzb{display:block;height:48px;width:48px} +.PSPDFKit-5w2de1uyy445puycu46qkgmvar{align-items:center;display:flex;overflow:hidden;width:90%}@media(min-width:320px){.PSPDFKit-5w2de1uyy445puycu46qkgmvar{width:300px}}.PSPDFKit-6w84556468p7ssdr8cqmyn8mjr{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-75vqhz2zk4qrae8pgcsegd1jf9{display:block;height:48px;width:48px} +.PSPDFKit-6mny4jk3t426w24d83deht33rn{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-5e2eu5vu2edrbusdw9chj1k5ya{align-items:center;display:flex;height:100%;justify-content:center;margin-right:16px}.PSPDFKit-qrb6rv4vd7m34wj2w85zjxjfu{font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{align-items:center;background-color:var(--PSPDFKit-SearchForm-background);border-radius:0 0 4px 4px;border-top:1px solid var(--PSPDFKit-SearchForm-border);display:flex;flex-direction:row;height:44px;opacity:1;padding:5px 10px;position:absolute;right:0;top:44px;transition:opacity .4s ease 0s;width:400px;z-index:10}.PSPDFKit-width-xs .PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{border-radius:0;width:100%}.PSPDFKit-kygm1cgnwkp9bv59ggpqfyv9j{top:0}.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{align-items:stretch;display:flex;flex-direction:row;margin-right:10px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk,.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{flex-grow:1;height:30px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk{background:var(--PSPDFKit-SearchForm-input-background);border:none;border-radius:4px 0 0 4px;color:var(--PSPDFKit-SearchForm-input-color);font-size:var(--PSPDFKit-fontSize-3)!important;padding:5px 0 5px 10px;width:0}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-input-placeholder{color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::placeholder{color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk:focus{outline:none}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-clear{height:0;width:0}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct{display:none}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){background:var(--PSPDFKit-SearchForm-results-isDisabled-background);color:var(--PSPDFKit-SearchForm-results-isDisabled-color);display:flex;min-width:40px;text-align:right}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j,.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){height:30px;line-height:20px;padding:5px 10px}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j{background:var(--PSPDFKit-SearchForm-button-background);border:0;border-radius:4px;color:var(--PSPDFKit-SearchForm-button-color);cursor:pointer;font-size:inherit;text-align:center;touch-action:none;transition:all .15s}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j:hover{background:var(--PSPDFKit-SearchForm-button-isHovered-background);border:var(--PSPDFKit-SearchForm-button-isHovered-border);color:var(--PSPDFKit-SearchForm-button-isHovered-color)}.PSPDFKit-6jsphwggasn3qhq6cpukr87kyp{border-radius:0 4px 4px 0;display:flex;flex-direction:row;height:30px;margin-left:1px;overflow:hidden}.PSPDFKit-the91ha3x5196stsyerdyzwb2,.PSPDFKit-8sbnka5652yjkubedgurz66zwq{align-items:center;background:var(--PSPDFKit-SearchForm-button-controls-background);border:1px solid transparent;color:var(--PSPDFKit-SearchForm-button-controls-color);cursor:pointer;display:flex;justify-content:center;padding:0;touch-action:none;transition:all .15s;width:30px}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus-visible{border:2px solid #5e5ceb;border-radius:4px;transition:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:var(--PSPDFKit-SearchForm-button-controls-color);height:12px;width:12px}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg{height:100%;width:100%}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt{display:flex;justify-content:center}.PSPDFKit-the91ha3x5196stsyerdyzwb2:hover,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:hover{background:var(--PSPDFKit-SearchForm-button-controls-isHovered-background)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled{pointer-events:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:var(--PSPDFKit-SearchForm-button-controls-isDisabled-color)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus{outline:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child{border-left:1px solid var(--PSPDFKit-SearchForm-button-lasChild-border)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child:focus-visible{border-left:2px solid #5e5ceb;border-radius:4px} +.PSPDFKit-5jn8feeuubm369vnx3evcba1rp,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.PSPDFKit-5jn8feeuubm369vnx3evcba1rp canvas,.PSPDFKit-5jn8feeuubm369vnx3evcba1rp img,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r canvas,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r img{height:auto;left:0;max-height:100%;max-width:100%;top:0;width:auto}.PSPDFKit-6anvx47kar5w253fz6rqg9hxcr,.PSPDFKit-rfgw2ucjvptvmzh7zu271n4x2{background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-background);position:relative}.PSPDFKit-4jv7s61cvh1pcgqnvbxqubx8xv{align-items:center;display:flex;justify-content:center}.PSPDFKit-3z5svj219typgks4atm97b4y6h svg{background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background);border-radius:12px;color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color);height:24px;width:24px}.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 canvas,.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 img{height:auto;width:auto}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 img{height:auto;width:100%}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t img{height:100%;width:auto}.PSPDFKit-4dw6z4dcs45pn73rp3uakt52q2{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)} +.PSPDFKit-69gywaa9k96ge1hvked74ez5n1{background:var(--PSPDFKit-ThumbnailsSidebar-gridView-row-background);display:flex;justify-content:space-around;justify-content:space-evenly;position:relative}.PSPDFKit-83vux4k1ev4t7s9g2qxwew634a{border-radius:10px;text-align:center}.PSPDFKit-42kn3f7jwfc8upuf4bdwgdyxcg{align-items:center;display:flex;justify-content:center}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub{background:#5e5ceb;height:calc(100% - 8px);left:50%;pointer-events:none;position:relative;width:3px}.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2{background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);opacity:.1}.PSPDFKit-6bd8y61brzkav8gpvce127azsv{left:16px;position:absolute;top:50%;transform:translateY(-50%)}.PSPDFKit-7b8eq949hpzkc8q3qh9tv8nxbp{transform:translateX(calc(-100% - 48px)) translateY(-50%)}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);width:12px}@media(min-width:768px){.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{width:24px}}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):before{background:#5e5ceb}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{top:0}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after{bottom:0}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz{background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background);box-shadow:0 1.5px 2px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow),0 3px 6px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow);overflow:hidden;transition:opacity .16s}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz:not(.PSPDFKit-213q4dhe5s5dzr5zeyuf11xun6){cursor:pointer}.PSPDFKit-4vvz95aegtycng8362mk8x2u2f{border-radius:1px;box-shadow:0 0 0 4px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow)}.PSPDFKit-7w3scq2qsd5h5g3fxuj2wccn4t{opacity:.3}.PSPDFKit-2y5u2mcg8a7zhnfwfbbcfhnxcx{background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-background);border-radius:3px;color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-color);display:inline-block;min-width:48px;overflow:hidden;padding:0 4px;text-align:center;text-overflow:ellipsis;text-shadow:0 1.5px 3px rgba(0,0,0,.3);white-space:nowrap;width:auto}.PSPDFKit-3q3ydy7h9pcgtbpzqngpf8cet1{background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background);color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color)}.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu canvas,.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu img{transform:translateZ(0)} +.PSPDFKit-6rzkyc987bqyetscyfvr4nf3f2{-webkit-backface-visibility:hidden;left:0;position:absolute;right:0;width:100%;z-index:2}.PSPDFKit-2fwepfwm4jpbvv9evy3bh2cmsu{bottom:44px} +.PSPDFKit-7dzbfgjr5hhbb3rc1z1j74nw53{align-items:flex-start;display:flex;flex-direction:row;opacity:.97;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-67qcupwvpz7h59x97s5hu3w8y9{display:flex;margin-left:auto;margin-right:auto}.PSPDFKit-5hnd1py888z6q6dqpr2kp2cq2e{margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-6ee193drjzesd61tu19hcvekb6{display:block;height:24px;width:24px}.PSPDFKit-67meud5692v5j5a61jw2681xzk{background-color:transparent;border:none;display:flex;justify-content:center;padding:0 0 0 var(--PSPDFKit-spacing-5)}.PSPDFKit-67meud5692v5j5a61jw2681xzk:hover{background-color:transparent}.PSPDFKit-6u1j5sk8ayvj3gvkxqkswrcet2{flex-basis:24px;height:24px;width:24px}.PSPDFKit-44csr6tj4teuj9fhfz8ee71tfx{background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor);color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-color)}.PSPDFKit-2e9udw15t4gp8scnfddhxz9hsd{color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color)}.PSPDFKit-4ppb4buhu7rwnjufcn6ajpkskn{background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor);color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-color)}.PSPDFKit-86f3yc46j85tr3gsnftm482dk{color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color)}.PSPDFKit-2c4pxuv49a7x173nj5nzfauxbt{background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor);color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-color)}.PSPDFKit-8zs1teqnye2ksnaxmemgknn6pv{color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color)} +.PSPDFKit-32xak74au7weyz9ycbwytr2c3f{color:#fff;padding:0 6px}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j{border-right:1px solid #4a4d51}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:last-child{border-right:0}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:active,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:hover,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j[data-focus-within]{background-color:#5f6d78}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus-within{background-color:#5f6d78} +.PSPDFKit-8jp8nm1hj7szh4vv5aurdvd5j9{background:var(--PSPDFKit-Viewport-background);overflow:hidden;position:absolute;text-align:center} +.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{display:flex;flex-direction:column;height:100%;position:relative;width:100%}@media(min-width:768px){.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{border-radius:6px;isolation:isolate;overflow:hidden}}.PSPDFKit-4pkhpangb13n8mmvw8ukdfhw4n{position:relative}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65,.PSPDFKit-4m35g8jgpcwck6gzgr9fx9sj37>*{pointer-events:none}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65{background:var(--PSPDFKit-DocumentEditor-moveDialog-background);border-radius:0 0 4px 4px;box-shadow:0 8px 16px rgba(0,0,0,.333);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:absolute;right:0;top:100%;transform:translateY(-8px);transition-duration:.12s;transition-property:opacity,transform;width:375px;z-index:1}.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{border-radius:4px;left:50%;right:auto;top:12px;transform:translateX(-50%) translateY(-8px)}@media(min-width:1200px){.PSPDFKit-8am6zresjtqzubaax3ncbdkk65:not(.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w){left:0;right:auto}}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm{opacity:.98;pointer-events:all;transform:none}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{transform:translateX(-50%)}.PSPDFKit-8h6fy8n1ae1b2jzvx2bx945q5p{align-items:center;display:flex;font-size:15px;height:3.5rem;padding:12px}.PSPDFKit-2q7tsdrjbypfd7mwu6hbfdnmqn{flex:1}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw{-moz-appearance:textfield;background:var(--PSPDFKit-DocumentEditor-moveDialogFormInput-background);border:1px solid var(--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor);border-radius:3px;box-shadow:inset 0 1px 2px rgba(0,0,0,.2);color:inherit;font:inherit;height:100%;padding:0 8px;width:64px}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-inner-spin-button,.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92{font-weight:500;height:100%;margin-left:12px;padding:0 20px}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92:disabled{opacity:.5}.PSPDFKit-7nbf67rhjsg7k4gsdmg33muhjb{background:var(--PSPDFKit-DocumentEditor-moveDialogHint-background);padding:6px 12px;white-space:normal}.PSPDFKit-2mh89kckyg3qpesbhuwrcrw9rd{color:var(--PSPDFKit-DocumentEditor-moveDialogHintText-color);font-size:13px;margin:0}.PSPDFKit-4qc12j3k5rawv8wqf56u3q8k4b{background:var(--PSPDFKit-DocumentEditor-pagesView-background);flex:1;overflow:auto;position:relative}.PSPDFKit-87xjjuqyeg5kxzvrh4nak5jkrs{align-items:center;display:flex;font-size:var(--PSPDFKit-fontSize-4);font-weight:700}.PSPDFKit-832dwy6tmpr3u59345n392d5kp{position:relative}.PSPDFKit-ufnr5vdahbxdpe2583xyak7wk{background:#fff}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t{align-items:center;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:24px;position:relative}.PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{background:#4636e3;border-radius:50%;color:#fff;height:64px;padding:12px;width:64px}.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe .PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{height:32px;padding:6px;width:32px}.PSPDFKit-3hs8zjffpgsz41nr4dp7ybdkt5{color:rgba(0,0,0,.8);display:none;margin-top:24px}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after,.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{background:transparent;box-shadow:0 1px 2px rgba(0,0,0,.25);content:"";left:0;position:absolute;top:0;width:100%}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{height:calc(100% - 6px)}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after{height:calc(100% - 3px)}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-491vbmcbxhae4fwryx7hsht2wh{height:80px;padding:16px;width:80px}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-2q199y39wutn5mwnfxjd4juxqq{display:initial}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-5nnn6safhgnqp45k1gnacbs5b9{box-shadow:0 0 0 4px #5e5ceb}.PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:rgba(0,0,0,.3);border-radius:6px;color:#fff;font-weight:700;margin-top:16px;padding:4px 24px;text-shadow:0 2px 3px rgba(0,0,0,.5);transition:background 40ms linear}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:#5e5ceb}.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{align-items:center;background-color:var(--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background);border-radius:3px;color:#fff;cursor:default;display:none;font-size:var(--PSPDFKit-fontSize-3);height:37px;opacity:0;padding:0 12px 0 8px;text-shadow:0 1.5px 3px rgba(0,0,0,.3);-webkit-user-select:none;-ms-user-select:none;user-select:none}@media(min-width:768px){.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{display:flex}}.PSPDFKit-7dep96m3dt6f6m6ggtsdvejn1b{opacity:1}.PSPDFKit-czbss4f5tejzb3s7rydnxdc6g{height:24px;margin-right:4px;width:24px}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy{align-items:center;background:var(--PSPDFKit-DocumentEditor-bottomBar-background);display:flex;flex-shrink:0;height:66px;padding:0 24px;position:relative}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy>:not(:last-child){margin-right:16px}.PSPDFKit-397h62jvayz1wt2xp2cz2ekmmw{flex:1}.PSPDFKit-7egcdrn8t9zxr4h4f3tqd6a6q9{overflow:visible!important}.PSPDFKit-5mgaebuj6tj1kbvvkf42rphvab{display:flex;justify-content:flex-start;overflow:visible;width:100%}.PSPDFKit-7mbngz46jn2pabmnth6t7hsds1{opacity:.8;position:relative}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj>*{box-shadow:0 2px 4px rgba(0,0,0,.2);position:absolute}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :first-child{position:static}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(2){left:8px;top:8px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(3){left:16px;top:16px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(4){left:24px;top:24px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(5){left:32px;top:32px}.PSPDFKit-339r3xtmjz8gs5vpsy5ncb75nb{background:#5f5af4;border-radius:100px;box-shadow:0 2px 4px rgba(0,0,0,.2);color:#fff;left:4px;padding:.1em 1em;position:absolute;top:4px} +.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a{background:transparent;height:100%;padding:0;width:100%}@media(min-width:768px){.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a{height:calc(100% - 64px);width:calc(100% - 64px)}}.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a.PSPDFKit-5dqa12x5zkbqjvjdekehdmb32n{height:100vh;width:100vw}@media(min-width:768px){.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a.PSPDFKit-5dqa12x5zkbqjvjdekehdmb32n{height:calc(100vh - 64px);width:calc(100vw - 64px)}}.PSPDFKit-68rzfs8a4kxm2sv4wxbhvjjsk4{display:flex;flex-direction:column;height:calc(100vh - 64px);max-height:320px;max-width:640px;width:calc(100vw - 120px)}.PSPDFKit-8a6esc3kchamvphrc23c4bjcxn{align-items:center;background:#f0f3f9;display:flex;flex:1;justify-content:center} +.PSPDFKit-6wj1ne12vnarkud1xme1m8q59e{background:var(--PSPDFKit-AnnotationToolbar-background);font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-8dvj6jpqdurcexw9s38nyrdusm{width:100%}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{align-items:center;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{align-items:center;display:flex;flex-grow:1}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row;justify-content:flex-start}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w.PSPDFKit-5whgpdfnjnj445bw24d7d2eepu{flex-direction:row}.PSPDFKit-qg3hbxzy2wa7d7kn2kyb5hfg6 .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{border-bottom:none;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-fw1d4hymsqsunxnj7htn2vejg{align-items:center;height:44px}.PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{margin-right:6px}.PSPDFKit-8p1jwd1vdxc1uu5kv9x8p6kgp5{height:32px}.PSPDFKit-4tf1hj3ua2348x3vfjq2ckjdzj button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt{align-items:center;width:100%}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt,.PSPDFKit-8rw1bsyhe4kbrshjzkbxn2pxt9{display:flex;flex-direction:column}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{margin:0 8px}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-sm .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-xs .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{display:none}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693{display:flex;flex:1}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh){cursor:default}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:block}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-sm .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-xs .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{display:none}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t button{height:32px}.PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-3spwsrcuq4a58mafezc2hew2hm{align-items:center;display:flex;height:32px;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-sm .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-xs .PSPDFKit-322qz987bpbdyu82atqpttzvvy{display:none}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{align-items:center;display:flex}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 circle,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 line,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 path,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polygon,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polyline,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 rect,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 circle,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 line,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 path,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polygon,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polyline,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 rect,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e circle,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e line,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e path,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polygon,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polyline,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e rect{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 button,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 button,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e button{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{width:64px}.PSPDFKit-width-md .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-sm .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-xs .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{left:0;right:auto!important}.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{width:96px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he{height:32px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:hover,.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he[data-focus-within]{background:transparent}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:focus-within{background:transparent}.PSPDFKit-47tvrbutrws584y86zkht7ugrh{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:var(--PSPDFKit-spacing-6);padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-47tvrbutrws584y86zkht7ugrh span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx),.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within]{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx) span,.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within] span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within span{fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-7dcpygp7ucqsxtt8jqu8wqaek8{width:100px}}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover{background:transparent!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:active,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:focus,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:hover,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:active,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:focus,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-7ksmq2q9vqb2a84h6pknr59vq,.PSPDFKit-4frspfy8ydaf2dspz1w2fe24sm{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-6a17y1zq5nmhnd7rsvvnnp3u82{border:0!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:active,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:hover{background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-2kd6b54vbgtjvjpw1vfjnz3gxa{outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:first-child{border-left:none!important}.PSPDFKit-5ju67k328yc7tj3jx5vxn2tn9q{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4rm6x2vr78j36rwf82x8zcfxaf{background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-2jdyb25hw79fahb16kjd7nuauu{align-items:center;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 var(--PSPDFKit-spacing-7);padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6gnk29arwa3bmx79suwfyneh29{height:16px;width:16px}.PSPDFKit-76w7jmjqqnsz53a6hk7gjuqjfv{width:max-content}.PSPDFKit-7xact8a8nm7egrfqd6jm8dexja{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4,.PSPDFKit-6j136ndjfdbtgth4w1223r3b8v{display:flex}.PSPDFKit-53pmrz6mhqkv25rduwt3r74tdf{height:20px;width:20px}.PSPDFKit-6kht9xjauanscqhyehtvh2m7kf,.PSPDFKit-64qwd21qw14a1hs2qywq9dktfv{stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-51ppvqecyde7wtftnkhpvreywa{display:none}.PSPDFKit-width-md .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-sm .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-xs .PSPDFKit-51ppvqecyde7wtftnkhpvreywa{align-items:center;display:block;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-47ujkffabzpr19w6jed6s7rn8s,.PSPDFKit-79wa34vt8h1dey55mwshznckvh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-sm .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-xs .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv{align-items:center}.PSPDFKit-2bv4uu555xwcfzm4cbz9xw1575,.PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-sm .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-xs .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:0}.PSPDFKit-3n3jywv8np58aypaxcq1dxaka4{align-items:center;display:inline-flex}.PSPDFKit-7h2nqj8dz99huxsdvz85vzqtkv{align-self:center;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3sskmdn9q2pttd7gnbgtfx1svm{max-width:110px}.PSPDFKit-5161whx8v77nvzdxwn92nren7h{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{align-items:center;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:active,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:focus,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:hover{background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b span{max-width:60px;overflow-x:hidden}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:none!important}}.PSPDFKit-6zcvxqm7p1fu6peaqcvy1ggxur{display:inline-flex}.PSPDFKit-87rtaenbkbsa4vh76fdk49yn3{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-7n79z1dfc6drdkd4q859desfw4{margin-left:4px}.PSPDFKit-7h73prxvatb9v6feg135wrgpnu{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zxmaq2rs3z7z1ycb76vnfp8s7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-54tjnzkmwp6xxxj9x2w181zxyx{background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:inline-flex;font:inherit;height:100%;line-height:normal;margin:0;padding:12px;touch-action:pan-x;width:auto}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz label{align-items:center;display:flex;justify-content:center}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz input{background-color:transparent;border:none;margin-right:8px;padding:0;position:relative;top:2px}.PSPDFKit-4jxexvux8xqt39asa2n5j1bhaz span{color:var(--PSPDFKit-AnnotationToolbar-label-color);font-size:14px;line-height:20px;margin-right:5px}@media screen and (max-width:992px){.PSPDFKit-54tjnzkmwp6xxxj9x2w181zxyx{border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{align-items:center;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-4su7z3fj53danm9m8sfmsun6mh,.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{display:flex}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{align-items:center;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:not(:last-child){border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:hover:not([aria-disabled=true]){background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 span,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 svg{align-items:center;display:flex;height:32px}.PSPDFKit-3yfe86869dr14nnq3hdqmpstt3{cursor:not-allowed;opacity:.5}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376{border:1px solid!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover{border:1px solid!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376 span{align-items:center;display:flex;height:32px}.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:block}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{align-items:center;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:block}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:none!important}@media(max-width:768px){.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:none}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{display:flex;width:47px}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{padding:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:none!important}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:flex!important}} +.PSPDFKit-5u5zg1p821mpfkbnn2k5uwyj5f{background-color:var(--PSPDFKit-MagnifierComponent-background);border:1px solid var(--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px var(--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:absolute;right:30px;top:118px;width:174px}.PSPDFKit-8wd7v7mnz2rcxvt87ua26mzc6b{height:136px;right:15px;top:103px;width:136px}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay{position:absolute}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:pixelated}.PSPDFKit-browser-engine-gecko .PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:crisp-edges}.PSPDFKit-4ucp3vtq371cyq6rjfnyr48ke9{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-2mrwgj2fjj6868616ds613yrym{stroke:var(--PSPDFKit-MagnifierComponent-magnifierGrid-stroke);fill:none}.PSPDFKit-7sk5hhk6ycrf96cdxc48xy41us{stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-4cc9nv4wau5sr77yxnn4p9c6vn{stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-61a71yusrshwesstskqk1ts821,.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-61a71yusrshwesstskqk1ts821{background-color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-color);text-align:center} +.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef{display:flex;flex-direction:row;opacity:.5;padding-right:24px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef,.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef.PSPDFKit-8eej8fpcv5wjeexf54uv82ajge{opacity:1}.PSPDFKit-5ryk8gx2yq84us8ukyczpsxy3m{align-items:center;display:flex;flex-wrap:nowrap;justify-content:center}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j{opacity:.5;padding:0 24px}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j.PSPDFKit-2we2fxduv62wzemn8q1msf1mgz{padding:0 8px}.PSPDFKit-4dxpfmdzs1ahjnhcn4j2824q7j{opacity:1}.PSPDFKit-xy1ab3hf7etfk3xyw2jg4queq{background-color:var(--PSPDFKit-DocumentComparisonToolbar-separator-background);height:1px;margin:0 4px;width:24px}.PSPDFKit-3wymx3u415ps1255jfa43bguba{align-items:center;display:flex;height:20px;justify-content:center;width:20px}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf{align-items:center;border-right:1px solid var(--PSPDFKit-DocumentComparisonToolbar-tab-border);color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;display:flex;flex-direction:row;height:100%;justify-content:space-between}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq{max-width:21px;overflow:hidden}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:0}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6{height:15px;width:15px}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6 svg{stroke-width:3px}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m circle{fill:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-fill)}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m path{stroke:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 circle{fill:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 path{stroke:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy circle{fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy text{stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke);fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj circle{fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj text{stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke);fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill)}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn.PSPDFKit-4ws5865r8ddf7waw5w994xbgka{padding-right:2px}.PSPDFKit-63wgvxgkew5y5nngyepzsvu4me{padding-right:3px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt{background-color:var(--PSPDFKit-DocumentComparisonToolbar-tab-active-background)}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq,.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:none}.PSPDFKit-5g2uumfazey6jk28fuu62t1ku1{background:var(--PSPDFKit-DocumentComparisonToolbar-background);font-size:var(--PSPDFKit-fontSize-3);position:absolute;width:100%;z-index:1}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex:2;flex-direction:row;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{align-items:center;display:flex;height:44px;width:100%}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-grow:1;justify-content:space-between}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p{align-items:center;height:44px}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row;justify-content:flex-start}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4.PSPDFKit-54wvq7waj941tcr6uq8dg63zsm{flex-direction:row}.PSPDFKit-84kxsxx785v52177eqww89wnfu{bottom:44px}.PSPDFKit-84kxsxx785v52177eqww89wnfu .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:none;border-top:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph{align-items:center}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph,.PSPDFKit-6q2z53f1kt5u3frhayfupey174{display:flex;justify-content:space-between}.PSPDFKit-6q2z53f1kt5u3frhayfupey174{flex-wrap:nowrap;height:100%}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm,.PSPDFKit-kfexhdzwencygrragmhzwd8v3{border:1px solid var(--PSPDFKit-DocumentComparisonToolbar-button-border);border-radius:3px;color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;margin:0 5px;opacity:.25;padding:5px 16px;pointer-events:none}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-kfexhdzwencygrragmhzwd8v3.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2{padding:6px 10px}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-2wue8e3wfu7w9cxehmz4e88ktt,.PSPDFKit-5p1uejfqckjn5s61nuatmaqbme,.PSPDFKit-5jfgm1cjfd1sp4z1fkd6a1hcc7{opacity:1;pointer-events:all}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y{background-color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-background);color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-color)}.PSPDFKit-6s9dcaafj7ab6mc6ktq5xn5tw6{align-items:center;display:flex;height:100%;justify-content:space-between;width:100%} +._1yep5z60:not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z63:not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z66:not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z69:not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6c:not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6f:not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6i:not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6l:not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6o:not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6r:not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6u:not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6x:not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z610:not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z613:not(#\#){padding-block-start:0}._1yep5z616:not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z619:not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z61c:not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z61f:not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z61i:not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z61l:not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z61o:not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z61r:not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z61u:not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z61x:not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z620:not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z623:not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z626:not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z629:not(#\#){padding-inline-end:0}._1yep5z62c:not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z62f:not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z62i:not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z62l:not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z62o:not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z62r:not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z62u:not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z62x:not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z630:not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z633:not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z636:not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z639:not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z63c:not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z63f:not(#\#){padding-block-end:0}._1yep5z63i:not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z63l:not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z63o:not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z63r:not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z63u:not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z63x:not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z640:not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z643:not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z646:not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z649:not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z64c:not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z64f:not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z64i:not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z64l:not(#\#){padding-inline-start:0}._1yep5z64o:not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z64r:not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z64u:not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z64x:not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z650:not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z653:not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z656:not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z659:not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z65c:not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z65f:not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z65i:not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z65l:not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z65o:not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z65r:not(#\#){margin-block-start:0}._1yep5z65u:not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z65x:not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z660:not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z663:not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z666:not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z669:not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z66c:not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z66f:not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z66i:not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z66l:not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z66o:not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z66r:not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z66u:not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z66x:not(#\#){margin-inline-end:0}._1yep5z670:not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z673:not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z676:not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z679:not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z67c:not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z67f:not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z67i:not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z67l:not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z67o:not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z67r:not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z67u:not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z67x:not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z680:not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z683:not(#\#){margin-block-end:0}._1yep5z686:not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z689:not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z68c:not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z68f:not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z68i:not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z68l:not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z68o:not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z68r:not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z68u:not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z68x:not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z690:not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z693:not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z696:not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z699:not(#\#){margin-inline-start:0}._1yep5z69c:not(#\#){gap:var(--bui-spacing-xs)}._1yep5z69f:not(#\#){gap:var(--bui-spacing-sm)}._1yep5z69i:not(#\#){gap:var(--bui-spacing-md)}._1yep5z69l:not(#\#){gap:var(--bui-spacing-lg)}._1yep5z69o:not(#\#){gap:var(--bui-spacing-xl)}._1yep5z69r:not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z69u:not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z69x:not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6a0:not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6a3:not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6a6:not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6a9:not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6ac:not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6af:not(#\#){gap:0}._1yep5z6ai:not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6al:not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6ao:not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6ar:not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6au:not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6ax:not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6b0:not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6b3:not(#\#){border-start-start-radius:0}._1yep5z6b6:not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6b9:not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6bc:not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6bf:not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6bi:not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6bl:not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6bo:not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6br:not(#\#){border-start-end-radius:0}._1yep5z6bu:not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6bx:not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6c0:not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6c3:not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6c6:not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6c9:not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6cc:not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6cf:not(#\#){border-end-start-radius:0}._1yep5z6ci:not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6cl:not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6co:not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6cr:not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6cu:not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6cx:not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6d0:not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6d3:not(#\#){border-end-end-radius:0}._1yep5z6d6:not(#\#){box-shadow:var(--bui-elevation-low)}._1yep5z6d7:not(#\#){box-shadow:var(--bui-elevation-medium)}._1yep5z6d8:not(#\#){opacity:var(--bui-opacity-none)}._1yep5z6d9:not(#\#){opacity:var(--bui-opacity-low)}._1yep5z6da:not(#\#){opacity:var(--bui-opacity-medium)}._1yep5z6db:not(#\#){opacity:var(--bui-opacity-high)}._1yep5z6dc:not(#\#){font:var(--bui-typography-heading-h-6-regular-font);letter-spacing:var(--bui-typography-heading-h-6-regular-letter-spacing)}._1yep5z6dd:not(#\#){font:var(--bui-typography-heading-h-6-medium-font);letter-spacing:var(--bui-typography-heading-h-6-medium-letter-spacing)}._1yep5z6de:not(#\#){font:var(--bui-typography-heading-h-6-semibold-font);letter-spacing:var(--bui-typography-heading-h-6-semibold-letter-spacing)}._1yep5z6df:not(#\#){font:var(--bui-typography-heading-h-5-regular-font);letter-spacing:var(--bui-typography-heading-h-5-regular-letter-spacing)}._1yep5z6dg:not(#\#){font:var(--bui-typography-heading-h-5-medium-font);letter-spacing:var(--bui-typography-heading-h-5-medium-letter-spacing)}._1yep5z6dh:not(#\#){font:var(--bui-typography-heading-h-5-semibold-font);letter-spacing:var(--bui-typography-heading-h-5-semibold-letter-spacing)}._1yep5z6di:not(#\#){font:var(--bui-typography-heading-h-4-regular-font);letter-spacing:var(--bui-typography-heading-h-4-regular-letter-spacing)}._1yep5z6dj:not(#\#){font:var(--bui-typography-heading-h-4-medium-font);letter-spacing:var(--bui-typography-heading-h-4-medium-letter-spacing)}._1yep5z6dk:not(#\#){font:var(--bui-typography-heading-h-4-semibold-font);letter-spacing:var(--bui-typography-heading-h-4-semibold-letter-spacing)}._1yep5z6dl:not(#\#){font:var(--bui-typography-heading-h-3-regular-font);letter-spacing:var(--bui-typography-heading-h-3-regular-letter-spacing)}._1yep5z6dm:not(#\#){font:var(--bui-typography-heading-h-3-medium-font);letter-spacing:var(--bui-typography-heading-h-3-medium-letter-spacing)}._1yep5z6dn:not(#\#){font:var(--bui-typography-heading-h-3-semibold-font);letter-spacing:var(--bui-typography-heading-h-3-semibold-letter-spacing)}._1yep5z6do:not(#\#){font:var(--bui-typography-heading-h-2-regular-font);letter-spacing:var(--bui-typography-heading-h-2-regular-letter-spacing)}._1yep5z6dp:not(#\#){font:var(--bui-typography-heading-h-2-medium-font);letter-spacing:var(--bui-typography-heading-h-2-medium-letter-spacing)}._1yep5z6dq:not(#\#){font:var(--bui-typography-heading-h-2-semibold-font);letter-spacing:var(--bui-typography-heading-h-2-semibold-letter-spacing)}._1yep5z6dr:not(#\#){font:var(--bui-typography-heading-h-1-regular-font);letter-spacing:var(--bui-typography-heading-h-1-regular-letter-spacing)}._1yep5z6ds:not(#\#){font:var(--bui-typography-heading-h-1-medium-font);letter-spacing:var(--bui-typography-heading-h-1-medium-letter-spacing)}._1yep5z6dt:not(#\#){font:var(--bui-typography-heading-h-1-semibold-font);letter-spacing:var(--bui-typography-heading-h-1-semibold-letter-spacing)}._1yep5z6du:not(#\#){font:var(--bui-typography-label-sm-regular-font);letter-spacing:var(--bui-typography-label-sm-regular-letter-spacing)}._1yep5z6dv:not(#\#){font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._1yep5z6dw:not(#\#){font:var(--bui-typography-label-sm-semibold-font);letter-spacing:var(--bui-typography-label-sm-semibold-letter-spacing)}._1yep5z6dx:not(#\#){font:var(--bui-typography-label-md-regular-font);letter-spacing:var(--bui-typography-label-md-regular-letter-spacing)}._1yep5z6dy:not(#\#){font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._1yep5z6dz:not(#\#){font:var(--bui-typography-label-md-semibold-font);letter-spacing:var(--bui-typography-label-md-semibold-letter-spacing)}._1yep5z6e0:not(#\#){font:var(--bui-typography-label-lg-regular-font);letter-spacing:var(--bui-typography-label-lg-regular-letter-spacing)}._1yep5z6e1:not(#\#){font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing)}._1yep5z6e2:not(#\#){font:var(--bui-typography-label-lg-semibold-font);letter-spacing:var(--bui-typography-label-lg-semibold-letter-spacing)}._1yep5z6e3:not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1yep5z6e4:not(#\#){font:var(--bui-typography-body-sm-medium-font);letter-spacing:var(--bui-typography-body-sm-medium-letter-spacing)}._1yep5z6e5:not(#\#){font:var(--bui-typography-body-sm-semibold-font);letter-spacing:var(--bui-typography-body-sm-semibold-letter-spacing)}._1yep5z6e6:not(#\#){font:var(--bui-typography-body-md-regular-font);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing)}._1yep5z6e7:not(#\#){font:var(--bui-typography-body-md-medium-font);letter-spacing:var(--bui-typography-body-md-medium-letter-spacing)}._1yep5z6e8:not(#\#){font:var(--bui-typography-body-md-semibold-font);letter-spacing:var(--bui-typography-body-md-semibold-letter-spacing)}._1yep5z6e9:not(#\#){font:var(--bui-typography-body-lg-regular-font);letter-spacing:var(--bui-typography-body-lg-regular-letter-spacing)}._1yep5z6ea:not(#\#){font:var(--bui-typography-body-lg-medium-font);letter-spacing:var(--bui-typography-body-lg-medium-letter-spacing)}._1yep5z6eb:not(#\#){font:var(--bui-typography-body-lg-semibold-font);letter-spacing:var(--bui-typography-body-lg-semibold-letter-spacing)}._1yep5z6ec:not(#\#){color:var(--bui-color-support-error-subtler)}._1yep5z6ed:not(#\#){color:var(--bui-color-support-error-subtle)}._1yep5z6ee:not(#\#){color:var(--bui-color-support-error-medium)}._1yep5z6ef:not(#\#){color:var(--bui-color-support-error-strong)}._1yep5z6eg:not(#\#){color:var(--bui-color-support-success-subtler)}._1yep5z6eh:not(#\#){color:var(--bui-color-support-success-subtle)}._1yep5z6ei:not(#\#){color:var(--bui-color-support-success-medium)}._1yep5z6ej:not(#\#){color:var(--bui-color-support-success-strong)}._1yep5z6ek:not(#\#){color:var(--bui-color-support-warning-subtler)}._1yep5z6el:not(#\#){color:var(--bui-color-support-warning-subtle)}._1yep5z6em:not(#\#){color:var(--bui-color-support-warning-medium)}._1yep5z6en:not(#\#){color:var(--bui-color-support-warning-strong)}._1yep5z6eo:not(#\#){color:var(--bui-color-support-info-subtler)}._1yep5z6ep:not(#\#){color:var(--bui-color-support-info-subtle)}._1yep5z6eq:not(#\#){color:var(--bui-color-support-info-medium)}._1yep5z6er:not(#\#){color:var(--bui-color-support-info-strong)}._1yep5z6es:not(#\#){color:var(--bui-color-focused-primary)}._1yep5z6et:not(#\#){color:var(--bui-color-focused-inset)}._1yep5z6eu:not(#\#){color:var(--bui-color-text-primary)}._1yep5z6ev:not(#\#){color:var(--bui-color-text-secondary)}._1yep5z6ew:not(#\#){color:var(--bui-color-text-helper)}._1yep5z6ex:not(#\#){color:var(--bui-color-text-placeholder)}._1yep5z6ey:not(#\#){color:var(--bui-color-text-disabled)}._1yep5z6ez:not(#\#){color:var(--bui-color-text-inverse)}._1yep5z6f0:not(#\#){color:var(--bui-color-icon-primary)}._1yep5z6f1:not(#\#){color:var(--bui-color-icon-secondary)}._1yep5z6f2:not(#\#){color:var(--bui-color-icon-disabled)}._1yep5z6f3:not(#\#){color:var(--bui-color-icon-inverse)}._1yep5z6f4:not(#\#){color:var(--bui-color-icon-interactive)}._1yep5z6f5:not(#\#){color:var(--bui-color-interactive-primary)}._1yep5z6f6:not(#\#){color:var(--bui-color-interactive-hovered)}._1yep5z6f7:not(#\#){color:var(--bui-color-interactive-active)}._1yep5z6f8:not(#\#){color:var(--bui-color-interactive-visited)}._1yep5z6f9:not(#\#){color:var(--bui-color-interactive-disabled)}._1yep5z6fa:not(#\#){background-color:var(--bui-color-support-error-subtler)}._1yep5z6fb:not(#\#){background-color:var(--bui-color-support-error-subtle)}._1yep5z6fc:not(#\#){background-color:var(--bui-color-support-error-medium)}._1yep5z6fd:not(#\#){background-color:var(--bui-color-support-error-strong)}._1yep5z6fe:not(#\#){background-color:var(--bui-color-support-success-subtler)}._1yep5z6ff:not(#\#){background-color:var(--bui-color-support-success-subtle)}._1yep5z6fg:not(#\#){background-color:var(--bui-color-support-success-medium)}._1yep5z6fh:not(#\#){background-color:var(--bui-color-support-success-strong)}._1yep5z6fi:not(#\#){background-color:var(--bui-color-support-warning-subtler)}._1yep5z6fj:not(#\#){background-color:var(--bui-color-support-warning-subtle)}._1yep5z6fk:not(#\#){background-color:var(--bui-color-support-warning-medium)}._1yep5z6fl:not(#\#){background-color:var(--bui-color-support-warning-strong)}._1yep5z6fm:not(#\#){background-color:var(--bui-color-support-info-subtler)}._1yep5z6fn:not(#\#){background-color:var(--bui-color-support-info-subtle)}._1yep5z6fo:not(#\#){background-color:var(--bui-color-support-info-medium)}._1yep5z6fp:not(#\#){background-color:var(--bui-color-support-info-strong)}._1yep5z6fq:not(#\#){background-color:var(--bui-color-focused-primary)}._1yep5z6fr:not(#\#){background-color:var(--bui-color-focused-inset)}._1yep5z6fs:not(#\#){background-color:var(--bui-color-background-primary-subtle)}._1yep5z6ft:not(#\#){background-color:var(--bui-color-background-primary-medium)}._1yep5z6fu:not(#\#){background-color:var(--bui-color-background-primary-strong)}._1yep5z6fv:not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._1yep5z6fw:not(#\#){background-color:var(--bui-color-background-secondary-medium)}._1yep5z6fx:not(#\#){background-color:var(--bui-color-background-secondary-strong)}._1yep5z6fy:not(#\#){background-color:var(--bui-color-background-inverse-subtle)}._1yep5z6fz:not(#\#){background-color:var(--bui-color-background-inverse-medium)}._1yep5z6g0:not(#\#){background-color:var(--bui-color-background-inverse-strong)}._1yep5z6g1:not(#\#){background-color:var(--bui-color-background-overlay-subtle)}._1yep5z6g2:not(#\#){background-color:var(--bui-color-background-overlay-medium)}._1yep5z6g3:not(#\#){background-color:var(--bui-color-positive-subtle)}._1yep5z6g4:not(#\#){background-color:var(--bui-color-positive-medium)}._1yep5z6g5:not(#\#){background-color:var(--bui-color-positive-strong)}._1yep5z6g6:not(#\#){background-color:var(--bui-color-positive-interactive)}._1yep5z6g7:not(#\#){border-color:var(--bui-color-support-error-subtler)}._1yep5z6g8:not(#\#){border-color:var(--bui-color-support-error-subtle)}._1yep5z6g9:not(#\#){border-color:var(--bui-color-support-error-medium)}._1yep5z6ga:not(#\#){border-color:var(--bui-color-support-error-strong)}._1yep5z6gb:not(#\#){border-color:var(--bui-color-support-success-subtler)}._1yep5z6gc:not(#\#){border-color:var(--bui-color-support-success-subtle)}._1yep5z6gd:not(#\#){border-color:var(--bui-color-support-success-medium)}._1yep5z6ge:not(#\#){border-color:var(--bui-color-support-success-strong)}._1yep5z6gf:not(#\#){border-color:var(--bui-color-support-warning-subtler)}._1yep5z6gg:not(#\#){border-color:var(--bui-color-support-warning-subtle)}._1yep5z6gh:not(#\#){border-color:var(--bui-color-support-warning-medium)}._1yep5z6gi:not(#\#){border-color:var(--bui-color-support-warning-strong)}._1yep5z6gj:not(#\#){border-color:var(--bui-color-support-info-subtler)}._1yep5z6gk:not(#\#){border-color:var(--bui-color-support-info-subtle)}._1yep5z6gl:not(#\#){border-color:var(--bui-color-support-info-medium)}._1yep5z6gm:not(#\#){border-color:var(--bui-color-support-info-strong)}._1yep5z6gn:not(#\#){border-color:var(--bui-color-focused-primary)}._1yep5z6go:not(#\#){border-color:var(--bui-color-focused-inset)}._1yep5z6gp:not(#\#){border-color:var(--bui-color-border-subtle)}._1yep5z6gq:not(#\#){border-color:var(--bui-color-border-medium)}._1yep5z6gr:not(#\#){border-color:var(--bui-color-border-strong)}._1yep5z6gs:not(#\#){border-color:var(--bui-color-border-inverse)}._1yep5z6gt:not(#\#){border-color:var(--bui-color-border-interactive)}._1yep5z6gu:not(#\#){border-color:var(--bui-color-border-disabled)}._1yep5z6gv:not(#\#){border-color:transparent}._1yep5z6gw:not(#\#){outline-color:var(--bui-color-support-error-subtler)}._1yep5z6gx:not(#\#){outline-color:var(--bui-color-support-error-subtle)}._1yep5z6gy:not(#\#){outline-color:var(--bui-color-support-error-medium)}._1yep5z6gz:not(#\#){outline-color:var(--bui-color-support-error-strong)}._1yep5z6h0:not(#\#){outline-color:var(--bui-color-support-success-subtler)}._1yep5z6h1:not(#\#){outline-color:var(--bui-color-support-success-subtle)}._1yep5z6h2:not(#\#){outline-color:var(--bui-color-support-success-medium)}._1yep5z6h3:not(#\#){outline-color:var(--bui-color-support-success-strong)}._1yep5z6h4:not(#\#){outline-color:var(--bui-color-support-warning-subtler)}._1yep5z6h5:not(#\#){outline-color:var(--bui-color-support-warning-subtle)}._1yep5z6h6:not(#\#){outline-color:var(--bui-color-support-warning-medium)}._1yep5z6h7:not(#\#){outline-color:var(--bui-color-support-warning-strong)}._1yep5z6h8:not(#\#){outline-color:var(--bui-color-support-info-subtler)}._1yep5z6h9:not(#\#){outline-color:var(--bui-color-support-info-subtle)}._1yep5z6ha:not(#\#){outline-color:var(--bui-color-support-info-medium)}._1yep5z6hb:not(#\#){outline-color:var(--bui-color-support-info-strong)}._1yep5z6hc:not(#\#){outline-color:var(--bui-color-focused-primary)}._1yep5z6hd:not(#\#){outline-color:var(--bui-color-focused-inset)}._1yep5z6he:not(#\#){outline-color:var(--bui-color-border-subtle)}._1yep5z6hf:not(#\#){outline-color:var(--bui-color-border-medium)}._1yep5z6hg:not(#\#){outline-color:var(--bui-color-border-strong)}._1yep5z6hh:not(#\#){outline-color:var(--bui-color-border-inverse)}._1yep5z6hi:not(#\#){outline-color:var(--bui-color-border-interactive)}._1yep5z6hj:not(#\#){outline-color:var(--bui-color-border-disabled)}._1yep5z6hk:not(#\#){outline-color:transparent}._1yep5z6hl:not(#\#){position:relative}._1yep5z6ho:not(#\#){position:absolute}._1yep5z6hr:not(#\#){position:fixed}._1yep5z6hu:not(#\#){display:none}._1yep5z6hx:not(#\#){display:block}._1yep5z6i0:not(#\#){display:flex}._1yep5z6i3:not(#\#){display:inline-flex}._1yep5z6i6:not(#\#){display:grid}._1yep5z6i9:not(#\#){flex-direction:row}._1yep5z6ic:not(#\#){flex-direction:column}._1yep5z6if:not(#\#){flex-direction:row-reverse}._1yep5z6ii:not(#\#){flex-direction:column-reverse}._1yep5z6il:not(#\#){align-items:stretch}._1yep5z6io:not(#\#){align-items:flex-start}._1yep5z6ir:not(#\#){align-items:center}._1yep5z6iu:not(#\#){align-items:flex-end}._1yep5z6ix:not(#\#){align-self:stretch}._1yep5z6j0:not(#\#){align-self:flex-start}._1yep5z6j3:not(#\#){align-self:center}._1yep5z6j6:not(#\#){align-self:flex-end}._1yep5z6j9:not(#\#){flex:0}._1yep5z6jc:not(#\#){flex:1}._1yep5z6jf:not(#\#){justify-content:stretch}._1yep5z6ji:not(#\#){justify-content:flex-start}._1yep5z6jl:not(#\#){justify-content:center}._1yep5z6jo:not(#\#){justify-content:flex-end}._1yep5z6jr:not(#\#){justify-content:space-between}._1yep5z6ju:not(#\#){justify-self:stretch}._1yep5z6jx:not(#\#){justify-self:flex-start}._1yep5z6k0:not(#\#){justify-self:center}._1yep5z6k3:not(#\#){justify-self:flex-end}._1yep5z6k6:not(#\#){place-items:stretch}._1yep5z6k9:not(#\#){place-items:flex-start}._1yep5z6kc:not(#\#){place-items:center}._1yep5z6kf:not(#\#){place-items:flex-end}._1yep5z6ki:not(#\#){transition:.2s ease-in-out}._1yep5z6kj:not(#\#){transition-property:transform}._1yep5z6kk:not(#\#){transition-property:opacity}._1yep5z6kl:not(#\#){transition-property:background-color}._1yep5z6km:not(#\#){flex-wrap:wrap}._1yep5z6kn:not(#\#){flex-wrap:nowrap}._1yep5z6ko:not(#\#){inset-block-start:0}._1yep5z6kp:not(#\#){inset-block-end:0}._1yep5z6kq:not(#\#){inset-inline-start:0}._1yep5z6kr:not(#\#){inset-inline-end:0}._1yep5z6ks:not(#\#){flex-shrink:0}._1yep5z6kt:not(#\#){flex-grow:0}._1yep5z6ku:not(#\#){flex-grow:1}._1yep5z6kv:not(#\#){width:100%}._1yep5z6kw:not(#\#){height:100%}._1yep5z6kx:not(#\#){cursor:pointer}._1yep5z6ky:not(#\#){outline:none}._1yep5z6kz:not(#\#){outline-style:solid}._1yep5z6l0:not(#\#){outline-width:1px}._1yep5z6l1:not(#\#){outline-width:2px}._1yep5z6l2:not(#\#){outline-offset:-2px}._1yep5z6l3:not(#\#){outline-offset:-1px}._1yep5z6l4:not(#\#){outline-offset:1px}._1yep5z6l5:not(#\#){outline-offset:2px}._1yep5z6l6:not(#\#){border:none}._1yep5z6l7:not(#\#){border-style:solid}._1yep5z6l8:not(#\#){border-style:dashed}._1yep5z6l9:not(#\#){border-width:1px}._1yep5z6la:not(#\#){border-width:2px}@media screen and (min-width:768px){._1yep5z61:not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z64:not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z67:not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z6a:not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6d:not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6g:not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6j:not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6m:not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6p:not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6s:not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6v:not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6y:not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z611:not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z614:not(#\#){padding-block-start:0}._1yep5z617:not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z61a:not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z61d:not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z61g:not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z61j:not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z61m:not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z61p:not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z61s:not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z61v:not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z61y:not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z621:not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z624:not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z627:not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z62a:not(#\#){padding-inline-end:0}._1yep5z62d:not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z62g:not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z62j:not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z62m:not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z62p:not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z62s:not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z62v:not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z62y:not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z631:not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z634:not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z637:not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z63a:not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z63d:not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z63g:not(#\#){padding-block-end:0}._1yep5z63j:not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z63m:not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z63p:not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z63s:not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z63v:not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z63y:not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z641:not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z644:not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z647:not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z64a:not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z64d:not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z64g:not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z64j:not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z64m:not(#\#){padding-inline-start:0}._1yep5z64p:not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z64s:not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z64v:not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z64y:not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z651:not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z654:not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z657:not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z65a:not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z65d:not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z65g:not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z65j:not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z65m:not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z65p:not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z65s:not(#\#){margin-block-start:0}._1yep5z65v:not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z65y:not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z661:not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z664:not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z667:not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z66a:not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z66d:not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z66g:not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z66j:not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z66m:not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z66p:not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z66s:not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z66v:not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z66y:not(#\#){margin-inline-end:0}._1yep5z671:not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z674:not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z677:not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z67a:not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z67d:not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z67g:not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z67j:not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z67m:not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z67p:not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z67s:not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z67v:not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z67y:not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z681:not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z684:not(#\#){margin-block-end:0}._1yep5z687:not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z68a:not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z68d:not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z68g:not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z68j:not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z68m:not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z68p:not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z68s:not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z68v:not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z68y:not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z691:not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z694:not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z697:not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z69a:not(#\#){margin-inline-start:0}._1yep5z69d:not(#\#){gap:var(--bui-spacing-xs)}._1yep5z69g:not(#\#){gap:var(--bui-spacing-sm)}._1yep5z69j:not(#\#){gap:var(--bui-spacing-md)}._1yep5z69m:not(#\#){gap:var(--bui-spacing-lg)}._1yep5z69p:not(#\#){gap:var(--bui-spacing-xl)}._1yep5z69s:not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z69v:not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z69y:not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6a1:not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6a4:not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6a7:not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6aa:not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6ad:not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6ag:not(#\#){gap:0}._1yep5z6aj:not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6am:not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6ap:not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6as:not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6av:not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6ay:not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6b1:not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6b4:not(#\#){border-start-start-radius:0}._1yep5z6b7:not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6ba:not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6bd:not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6bg:not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6bj:not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6bm:not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6bp:not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6bs:not(#\#){border-start-end-radius:0}._1yep5z6bv:not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6by:not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6c1:not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6c4:not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6c7:not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6ca:not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6cd:not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6cg:not(#\#){border-end-start-radius:0}._1yep5z6cj:not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6cm:not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6cp:not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6cs:not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6cv:not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6cy:not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6d1:not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6d4:not(#\#){border-end-end-radius:0}._1yep5z6hm:not(#\#){position:relative}._1yep5z6hp:not(#\#){position:absolute}._1yep5z6hs:not(#\#){position:fixed}._1yep5z6hv:not(#\#){display:none}._1yep5z6hy:not(#\#){display:block}._1yep5z6i1:not(#\#){display:flex}._1yep5z6i4:not(#\#){display:inline-flex}._1yep5z6i7:not(#\#){display:grid}._1yep5z6ia:not(#\#){flex-direction:row}._1yep5z6id:not(#\#){flex-direction:column}._1yep5z6ig:not(#\#){flex-direction:row-reverse}._1yep5z6ij:not(#\#){flex-direction:column-reverse}._1yep5z6im:not(#\#){align-items:stretch}._1yep5z6ip:not(#\#){align-items:flex-start}._1yep5z6is:not(#\#){align-items:center}._1yep5z6iv:not(#\#){align-items:flex-end}._1yep5z6iy:not(#\#){align-self:stretch}._1yep5z6j1:not(#\#){align-self:flex-start}._1yep5z6j4:not(#\#){align-self:center}._1yep5z6j7:not(#\#){align-self:flex-end}._1yep5z6ja:not(#\#){flex:0}._1yep5z6jd:not(#\#){flex:1}._1yep5z6jg:not(#\#){justify-content:stretch}._1yep5z6jj:not(#\#){justify-content:flex-start}._1yep5z6jm:not(#\#){justify-content:center}._1yep5z6jp:not(#\#){justify-content:flex-end}._1yep5z6js:not(#\#){justify-content:space-between}._1yep5z6jv:not(#\#){justify-self:stretch}._1yep5z6jy:not(#\#){justify-self:flex-start}._1yep5z6k1:not(#\#){justify-self:center}._1yep5z6k4:not(#\#){justify-self:flex-end}._1yep5z6k7:not(#\#){place-items:stretch}._1yep5z6ka:not(#\#){place-items:flex-start}._1yep5z6kd:not(#\#){place-items:center}._1yep5z6kg:not(#\#){place-items:flex-end}}@media screen and (min-width:1280px){._1yep5z62:not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z65:not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z68:not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z6b:not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6e:not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6h:not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6k:not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6n:not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6q:not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6t:not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6w:not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6z:not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z612:not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z615:not(#\#){padding-block-start:0}._1yep5z618:not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z61b:not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z61e:not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z61h:not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z61k:not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z61n:not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z61q:not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z61t:not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z61w:not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z61z:not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z622:not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z625:not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z628:not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z62b:not(#\#){padding-inline-end:0}._1yep5z62e:not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z62h:not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z62k:not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z62n:not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z62q:not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z62t:not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z62w:not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z62z:not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z632:not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z635:not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z638:not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z63b:not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z63e:not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z63h:not(#\#){padding-block-end:0}._1yep5z63k:not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z63n:not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z63q:not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z63t:not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z63w:not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z63z:not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z642:not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z645:not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z648:not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z64b:not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z64e:not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z64h:not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z64k:not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z64n:not(#\#){padding-inline-start:0}._1yep5z64q:not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z64t:not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z64w:not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z64z:not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z652:not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z655:not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z658:not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z65b:not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z65e:not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z65h:not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z65k:not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z65n:not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z65q:not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z65t:not(#\#){margin-block-start:0}._1yep5z65w:not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z65z:not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z662:not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z665:not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z668:not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z66b:not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z66e:not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z66h:not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z66k:not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z66n:not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z66q:not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z66t:not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z66w:not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z66z:not(#\#){margin-inline-end:0}._1yep5z672:not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z675:not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z678:not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z67b:not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z67e:not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z67h:not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z67k:not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z67n:not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z67q:not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z67t:not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z67w:not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z67z:not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z682:not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z685:not(#\#){margin-block-end:0}._1yep5z688:not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z68b:not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z68e:not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z68h:not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z68k:not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z68n:not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z68q:not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z68t:not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z68w:not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z68z:not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z692:not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z695:not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z698:not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z69b:not(#\#){margin-inline-start:0}._1yep5z69e:not(#\#){gap:var(--bui-spacing-xs)}._1yep5z69h:not(#\#){gap:var(--bui-spacing-sm)}._1yep5z69k:not(#\#){gap:var(--bui-spacing-md)}._1yep5z69n:not(#\#){gap:var(--bui-spacing-lg)}._1yep5z69q:not(#\#){gap:var(--bui-spacing-xl)}._1yep5z69t:not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z69w:not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z69z:not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6a2:not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6a5:not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6a8:not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6ab:not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6ae:not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6ah:not(#\#){gap:0}._1yep5z6ak:not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6an:not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6aq:not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6at:not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6aw:not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6az:not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6b2:not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6b5:not(#\#){border-start-start-radius:0}._1yep5z6b8:not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6bb:not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6be:not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6bh:not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6bk:not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6bn:not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6bq:not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6bt:not(#\#){border-start-end-radius:0}._1yep5z6bw:not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6bz:not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6c2:not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6c5:not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6c8:not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6cb:not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6ce:not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6ch:not(#\#){border-end-start-radius:0}._1yep5z6ck:not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6cn:not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6cq:not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6ct:not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6cw:not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6cz:not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6d2:not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6d5:not(#\#){border-end-end-radius:0}._1yep5z6hn:not(#\#){position:relative}._1yep5z6hq:not(#\#){position:absolute}._1yep5z6ht:not(#\#){position:fixed}._1yep5z6hw:not(#\#){display:none}._1yep5z6hz:not(#\#){display:block}._1yep5z6i2:not(#\#){display:flex}._1yep5z6i5:not(#\#){display:inline-flex}._1yep5z6i8:not(#\#){display:grid}._1yep5z6ib:not(#\#){flex-direction:row}._1yep5z6ie:not(#\#){flex-direction:column}._1yep5z6ih:not(#\#){flex-direction:row-reverse}._1yep5z6ik:not(#\#){flex-direction:column-reverse}._1yep5z6in:not(#\#){align-items:stretch}._1yep5z6iq:not(#\#){align-items:flex-start}._1yep5z6it:not(#\#){align-items:center}._1yep5z6iw:not(#\#){align-items:flex-end}._1yep5z6iz:not(#\#){align-self:stretch}._1yep5z6j2:not(#\#){align-self:flex-start}._1yep5z6j5:not(#\#){align-self:center}._1yep5z6j8:not(#\#){align-self:flex-end}._1yep5z6jb:not(#\#){flex:0}._1yep5z6je:not(#\#){flex:1}._1yep5z6jh:not(#\#){justify-content:stretch}._1yep5z6jk:not(#\#){justify-content:flex-start}._1yep5z6jn:not(#\#){justify-content:center}._1yep5z6jq:not(#\#){justify-content:flex-end}._1yep5z6jt:not(#\#){justify-content:space-between}._1yep5z6jw:not(#\#){justify-self:stretch}._1yep5z6jz:not(#\#){justify-self:flex-start}._1yep5z6k2:not(#\#){justify-self:center}._1yep5z6k5:not(#\#){justify-self:flex-end}._1yep5z6k8:not(#\#){place-items:stretch}._1yep5z6kb:not(#\#){place-items:flex-start}._1yep5z6ke:not(#\#){place-items:center}._1yep5z6kh:not(#\#){place-items:flex-end}}._1yep5z6lb:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z6le:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z6lh:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z6lk:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6ln:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6lq:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6lt:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6lw:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6lz:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6m2:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6m5:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6m8:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z6mb:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z6me:not(#\#):not(#\#){padding-block-start:0}._1yep5z6mh:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z6mk:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z6mn:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6mq:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6mt:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6mw:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z6mz:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z6n2:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z6n5:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z6n8:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z6nb:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z6ne:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z6nh:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z6nk:not(#\#):not(#\#){padding-inline-end:0}._1yep5z6nn:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6nq:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6nt:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6nw:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z6nz:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z6o2:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z6o5:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z6o8:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z6ob:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z6oe:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z6oh:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z6ok:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z6on:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z6oq:not(#\#):not(#\#){padding-block-end:0}._1yep5z6ot:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z6ow:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z6oz:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z6p2:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z6p5:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z6p8:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z6pb:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z6pe:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z6ph:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z6pk:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z6pn:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z6pq:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z6pt:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z6pw:not(#\#):not(#\#){padding-inline-start:0}._1yep5z6pz:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z6q2:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z6q5:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z6q8:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z6qb:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z6qe:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z6qh:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z6qk:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z6qn:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z6qq:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z6qt:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z6qw:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z6qz:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z6r2:not(#\#):not(#\#){margin-block-start:0}._1yep5z6r5:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z6r8:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z6rb:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z6re:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z6rh:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z6rk:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z6rn:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z6rq:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z6rt:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z6rw:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z6rz:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z6s2:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z6s5:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z6s8:not(#\#):not(#\#){margin-inline-end:0}._1yep5z6sb:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z6se:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z6sh:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z6sk:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z6sn:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z6sq:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z6st:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z6sw:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z6sz:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z6t2:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z6t5:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z6t8:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z6tb:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z6te:not(#\#):not(#\#){margin-block-end:0}._1yep5z6th:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z6tk:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z6tn:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z6tq:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z6tt:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z6tw:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z6tz:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z6u2:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z6u5:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z6u8:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z6ub:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z6ue:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z6uh:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z6uk:not(#\#):not(#\#){margin-inline-start:0}._1yep5z6un:not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z6uq:not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z6ut:not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z6uw:not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z6uz:not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z6v2:not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z6v5:not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z6v8:not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6vb:not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6ve:not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6vh:not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6vk:not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6vn:not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6vq:not(#\#):not(#\#){gap:0}._1yep5z6vt:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6vw:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6vz:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6w2:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6w5:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6w8:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6wb:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6we:not(#\#):not(#\#){border-start-start-radius:0}._1yep5z6wh:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6wk:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6wn:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6wq:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6wt:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6ww:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6wz:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6x2:not(#\#):not(#\#){border-start-end-radius:0}._1yep5z6x5:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6x8:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6xb:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6xe:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6xh:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6xk:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6xn:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6xq:not(#\#):not(#\#){border-end-start-radius:0}._1yep5z6xt:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6xw:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6xz:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6y2:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6y5:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6y8:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6yb:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6ye:not(#\#):not(#\#){border-end-end-radius:0}._1yep5z6yh:not(#\#):not(#\#){box-shadow:var(--bui-elevation-low)}._1yep5z6yi:not(#\#):not(#\#){box-shadow:var(--bui-elevation-medium)}._1yep5z6yj:not(#\#):not(#\#){opacity:var(--bui-opacity-none)}._1yep5z6yk:not(#\#):not(#\#){opacity:var(--bui-opacity-low)}._1yep5z6yl:not(#\#):not(#\#){opacity:var(--bui-opacity-medium)}._1yep5z6ym:not(#\#):not(#\#){opacity:var(--bui-opacity-high)}._1yep5z6yn:not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-regular-font);letter-spacing:var(--bui-typography-heading-h-6-regular-letter-spacing)}._1yep5z6yo:not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-medium-font);letter-spacing:var(--bui-typography-heading-h-6-medium-letter-spacing)}._1yep5z6yp:not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-semibold-font);letter-spacing:var(--bui-typography-heading-h-6-semibold-letter-spacing)}._1yep5z6yq:not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-regular-font);letter-spacing:var(--bui-typography-heading-h-5-regular-letter-spacing)}._1yep5z6yr:not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-medium-font);letter-spacing:var(--bui-typography-heading-h-5-medium-letter-spacing)}._1yep5z6ys:not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-semibold-font);letter-spacing:var(--bui-typography-heading-h-5-semibold-letter-spacing)}._1yep5z6yt:not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-regular-font);letter-spacing:var(--bui-typography-heading-h-4-regular-letter-spacing)}._1yep5z6yu:not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-medium-font);letter-spacing:var(--bui-typography-heading-h-4-medium-letter-spacing)}._1yep5z6yv:not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-semibold-font);letter-spacing:var(--bui-typography-heading-h-4-semibold-letter-spacing)}._1yep5z6yw:not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-regular-font);letter-spacing:var(--bui-typography-heading-h-3-regular-letter-spacing)}._1yep5z6yx:not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-medium-font);letter-spacing:var(--bui-typography-heading-h-3-medium-letter-spacing)}._1yep5z6yy:not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-semibold-font);letter-spacing:var(--bui-typography-heading-h-3-semibold-letter-spacing)}._1yep5z6yz:not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-regular-font);letter-spacing:var(--bui-typography-heading-h-2-regular-letter-spacing)}._1yep5z6z0:not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-medium-font);letter-spacing:var(--bui-typography-heading-h-2-medium-letter-spacing)}._1yep5z6z1:not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-semibold-font);letter-spacing:var(--bui-typography-heading-h-2-semibold-letter-spacing)}._1yep5z6z2:not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-regular-font);letter-spacing:var(--bui-typography-heading-h-1-regular-letter-spacing)}._1yep5z6z3:not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-medium-font);letter-spacing:var(--bui-typography-heading-h-1-medium-letter-spacing)}._1yep5z6z4:not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-semibold-font);letter-spacing:var(--bui-typography-heading-h-1-semibold-letter-spacing)}._1yep5z6z5:not(#\#):not(#\#){font:var(--bui-typography-label-sm-regular-font);letter-spacing:var(--bui-typography-label-sm-regular-letter-spacing)}._1yep5z6z6:not(#\#):not(#\#){font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._1yep5z6z7:not(#\#):not(#\#){font:var(--bui-typography-label-sm-semibold-font);letter-spacing:var(--bui-typography-label-sm-semibold-letter-spacing)}._1yep5z6z8:not(#\#):not(#\#){font:var(--bui-typography-label-md-regular-font);letter-spacing:var(--bui-typography-label-md-regular-letter-spacing)}._1yep5z6z9:not(#\#):not(#\#){font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._1yep5z6za:not(#\#):not(#\#){font:var(--bui-typography-label-md-semibold-font);letter-spacing:var(--bui-typography-label-md-semibold-letter-spacing)}._1yep5z6zb:not(#\#):not(#\#){font:var(--bui-typography-label-lg-regular-font);letter-spacing:var(--bui-typography-label-lg-regular-letter-spacing)}._1yep5z6zc:not(#\#):not(#\#){font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing)}._1yep5z6zd:not(#\#):not(#\#){font:var(--bui-typography-label-lg-semibold-font);letter-spacing:var(--bui-typography-label-lg-semibold-letter-spacing)}._1yep5z6ze:not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1yep5z6zf:not(#\#):not(#\#){font:var(--bui-typography-body-sm-medium-font);letter-spacing:var(--bui-typography-body-sm-medium-letter-spacing)}._1yep5z6zg:not(#\#):not(#\#){font:var(--bui-typography-body-sm-semibold-font);letter-spacing:var(--bui-typography-body-sm-semibold-letter-spacing)}._1yep5z6zh:not(#\#):not(#\#){font:var(--bui-typography-body-md-regular-font);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing)}._1yep5z6zi:not(#\#):not(#\#){font:var(--bui-typography-body-md-medium-font);letter-spacing:var(--bui-typography-body-md-medium-letter-spacing)}._1yep5z6zj:not(#\#):not(#\#){font:var(--bui-typography-body-md-semibold-font);letter-spacing:var(--bui-typography-body-md-semibold-letter-spacing)}._1yep5z6zk:not(#\#):not(#\#){font:var(--bui-typography-body-lg-regular-font);letter-spacing:var(--bui-typography-body-lg-regular-letter-spacing)}._1yep5z6zl:not(#\#):not(#\#){font:var(--bui-typography-body-lg-medium-font);letter-spacing:var(--bui-typography-body-lg-medium-letter-spacing)}._1yep5z6zm:not(#\#):not(#\#){font:var(--bui-typography-body-lg-semibold-font);letter-spacing:var(--bui-typography-body-lg-semibold-letter-spacing)}._1yep5z6zn:not(#\#):not(#\#){color:var(--bui-color-support-error-subtler)}._1yep5z6zo:not(#\#):not(#\#){color:var(--bui-color-support-error-subtle)}._1yep5z6zp:not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}._1yep5z6zq:not(#\#):not(#\#){color:var(--bui-color-support-error-strong)}._1yep5z6zr:not(#\#):not(#\#){color:var(--bui-color-support-success-subtler)}._1yep5z6zs:not(#\#):not(#\#){color:var(--bui-color-support-success-subtle)}._1yep5z6zt:not(#\#):not(#\#){color:var(--bui-color-support-success-medium)}._1yep5z6zu:not(#\#):not(#\#){color:var(--bui-color-support-success-strong)}._1yep5z6zv:not(#\#):not(#\#){color:var(--bui-color-support-warning-subtler)}._1yep5z6zw:not(#\#):not(#\#){color:var(--bui-color-support-warning-subtle)}._1yep5z6zx:not(#\#):not(#\#){color:var(--bui-color-support-warning-medium)}._1yep5z6zy:not(#\#):not(#\#){color:var(--bui-color-support-warning-strong)}._1yep5z6zz:not(#\#):not(#\#){color:var(--bui-color-support-info-subtler)}._1yep5z6100:not(#\#):not(#\#){color:var(--bui-color-support-info-subtle)}._1yep5z6101:not(#\#):not(#\#){color:var(--bui-color-support-info-medium)}._1yep5z6102:not(#\#):not(#\#){color:var(--bui-color-support-info-strong)}._1yep5z6103:not(#\#):not(#\#){color:var(--bui-color-focused-primary)}._1yep5z6104:not(#\#):not(#\#){color:var(--bui-color-focused-inset)}._1yep5z6105:not(#\#):not(#\#){color:var(--bui-color-text-primary)}._1yep5z6106:not(#\#):not(#\#){color:var(--bui-color-text-secondary)}._1yep5z6107:not(#\#):not(#\#){color:var(--bui-color-text-helper)}._1yep5z6108:not(#\#):not(#\#){color:var(--bui-color-text-placeholder)}._1yep5z6109:not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._1yep5z610a:not(#\#):not(#\#){color:var(--bui-color-text-inverse)}._1yep5z610b:not(#\#):not(#\#){color:var(--bui-color-icon-primary)}._1yep5z610c:not(#\#):not(#\#){color:var(--bui-color-icon-secondary)}._1yep5z610d:not(#\#):not(#\#){color:var(--bui-color-icon-disabled)}._1yep5z610e:not(#\#):not(#\#){color:var(--bui-color-icon-inverse)}._1yep5z610f:not(#\#):not(#\#){color:var(--bui-color-icon-interactive)}._1yep5z610g:not(#\#):not(#\#){color:var(--bui-color-interactive-primary)}._1yep5z610h:not(#\#):not(#\#){color:var(--bui-color-interactive-hovered)}._1yep5z610i:not(#\#):not(#\#){color:var(--bui-color-interactive-active)}._1yep5z610j:not(#\#):not(#\#){color:var(--bui-color-interactive-visited)}._1yep5z610k:not(#\#):not(#\#){color:var(--bui-color-interactive-disabled)}._1yep5z610l:not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtler)}._1yep5z610m:not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtle)}._1yep5z610n:not(#\#):not(#\#){background-color:var(--bui-color-support-error-medium)}._1yep5z610o:not(#\#):not(#\#){background-color:var(--bui-color-support-error-strong)}._1yep5z610p:not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtler)}._1yep5z610q:not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtle)}._1yep5z610r:not(#\#):not(#\#){background-color:var(--bui-color-support-success-medium)}._1yep5z610s:not(#\#):not(#\#){background-color:var(--bui-color-support-success-strong)}._1yep5z610t:not(#\#):not(#\#){background-color:var(--bui-color-support-warning-subtler)}._1yep5z610u:not(#\#):not(#\#){background-color:var(--bui-color-support-warning-subtle)}._1yep5z610v:not(#\#):not(#\#){background-color:var(--bui-color-support-warning-medium)}._1yep5z610w:not(#\#):not(#\#){background-color:var(--bui-color-support-warning-strong)}._1yep5z610x:not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtler)}._1yep5z610y:not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtle)}._1yep5z610z:not(#\#):not(#\#){background-color:var(--bui-color-support-info-medium)}._1yep5z6110:not(#\#):not(#\#){background-color:var(--bui-color-support-info-strong)}._1yep5z6111:not(#\#):not(#\#){background-color:var(--bui-color-focused-primary)}._1yep5z6112:not(#\#):not(#\#){background-color:var(--bui-color-focused-inset)}._1yep5z6113:not(#\#):not(#\#){background-color:var(--bui-color-background-primary-subtle)}._1yep5z6114:not(#\#):not(#\#){background-color:var(--bui-color-background-primary-medium)}._1yep5z6115:not(#\#):not(#\#){background-color:var(--bui-color-background-primary-strong)}._1yep5z6116:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._1yep5z6117:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium)}._1yep5z6118:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-strong)}._1yep5z6119:not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-subtle)}._1yep5z611a:not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-medium)}._1yep5z611b:not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-strong)}._1yep5z611c:not(#\#):not(#\#){background-color:var(--bui-color-background-overlay-subtle)}._1yep5z611d:not(#\#):not(#\#){background-color:var(--bui-color-background-overlay-medium)}._1yep5z611e:not(#\#):not(#\#){background-color:var(--bui-color-positive-subtle)}._1yep5z611f:not(#\#):not(#\#){background-color:var(--bui-color-positive-medium)}._1yep5z611g:not(#\#):not(#\#){background-color:var(--bui-color-positive-strong)}._1yep5z611h:not(#\#):not(#\#){background-color:var(--bui-color-positive-interactive)}._1yep5z611i:not(#\#):not(#\#){border-color:var(--bui-color-support-error-subtler)}._1yep5z611j:not(#\#):not(#\#){border-color:var(--bui-color-support-error-subtle)}._1yep5z611k:not(#\#):not(#\#){border-color:var(--bui-color-support-error-medium)}._1yep5z611l:not(#\#):not(#\#){border-color:var(--bui-color-support-error-strong)}._1yep5z611m:not(#\#):not(#\#){border-color:var(--bui-color-support-success-subtler)}._1yep5z611n:not(#\#):not(#\#){border-color:var(--bui-color-support-success-subtle)}._1yep5z611o:not(#\#):not(#\#){border-color:var(--bui-color-support-success-medium)}._1yep5z611p:not(#\#):not(#\#){border-color:var(--bui-color-support-success-strong)}._1yep5z611q:not(#\#):not(#\#){border-color:var(--bui-color-support-warning-subtler)}._1yep5z611r:not(#\#):not(#\#){border-color:var(--bui-color-support-warning-subtle)}._1yep5z611s:not(#\#):not(#\#){border-color:var(--bui-color-support-warning-medium)}._1yep5z611t:not(#\#):not(#\#){border-color:var(--bui-color-support-warning-strong)}._1yep5z611u:not(#\#):not(#\#){border-color:var(--bui-color-support-info-subtler)}._1yep5z611v:not(#\#):not(#\#){border-color:var(--bui-color-support-info-subtle)}._1yep5z611w:not(#\#):not(#\#){border-color:var(--bui-color-support-info-medium)}._1yep5z611x:not(#\#):not(#\#){border-color:var(--bui-color-support-info-strong)}._1yep5z611y:not(#\#):not(#\#){border-color:var(--bui-color-focused-primary)}._1yep5z611z:not(#\#):not(#\#){border-color:var(--bui-color-focused-inset)}._1yep5z6120:not(#\#):not(#\#){border-color:var(--bui-color-border-subtle)}._1yep5z6121:not(#\#):not(#\#){border-color:var(--bui-color-border-medium)}._1yep5z6122:not(#\#):not(#\#){border-color:var(--bui-color-border-strong)}._1yep5z6123:not(#\#):not(#\#){border-color:var(--bui-color-border-inverse)}._1yep5z6124:not(#\#):not(#\#){border-color:var(--bui-color-border-interactive)}._1yep5z6125:not(#\#):not(#\#){border-color:var(--bui-color-border-disabled)}._1yep5z6126:not(#\#):not(#\#){border-color:transparent}._1yep5z6127:not(#\#):not(#\#){outline-color:var(--bui-color-support-error-subtler)}._1yep5z6128:not(#\#):not(#\#){outline-color:var(--bui-color-support-error-subtle)}._1yep5z6129:not(#\#):not(#\#){outline-color:var(--bui-color-support-error-medium)}._1yep5z612a:not(#\#):not(#\#){outline-color:var(--bui-color-support-error-strong)}._1yep5z612b:not(#\#):not(#\#){outline-color:var(--bui-color-support-success-subtler)}._1yep5z612c:not(#\#):not(#\#){outline-color:var(--bui-color-support-success-subtle)}._1yep5z612d:not(#\#):not(#\#){outline-color:var(--bui-color-support-success-medium)}._1yep5z612e:not(#\#):not(#\#){outline-color:var(--bui-color-support-success-strong)}._1yep5z612f:not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-subtler)}._1yep5z612g:not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-subtle)}._1yep5z612h:not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-medium)}._1yep5z612i:not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-strong)}._1yep5z612j:not(#\#):not(#\#){outline-color:var(--bui-color-support-info-subtler)}._1yep5z612k:not(#\#):not(#\#){outline-color:var(--bui-color-support-info-subtle)}._1yep5z612l:not(#\#):not(#\#){outline-color:var(--bui-color-support-info-medium)}._1yep5z612m:not(#\#):not(#\#){outline-color:var(--bui-color-support-info-strong)}._1yep5z612n:not(#\#):not(#\#){outline-color:var(--bui-color-focused-primary)}._1yep5z612o:not(#\#):not(#\#){outline-color:var(--bui-color-focused-inset)}._1yep5z612p:not(#\#):not(#\#){outline-color:var(--bui-color-border-subtle)}._1yep5z612q:not(#\#):not(#\#){outline-color:var(--bui-color-border-medium)}._1yep5z612r:not(#\#):not(#\#){outline-color:var(--bui-color-border-strong)}._1yep5z612s:not(#\#):not(#\#){outline-color:var(--bui-color-border-inverse)}._1yep5z612t:not(#\#):not(#\#){outline-color:var(--bui-color-border-interactive)}._1yep5z612u:not(#\#):not(#\#){outline-color:var(--bui-color-border-disabled)}._1yep5z612v:not(#\#):not(#\#){outline-color:transparent}._1yep5z612w:not(#\#):not(#\#){position:relative}._1yep5z612z:not(#\#):not(#\#){position:absolute}._1yep5z6132:not(#\#):not(#\#){position:fixed}._1yep5z6135:not(#\#):not(#\#){display:none}._1yep5z6138:not(#\#):not(#\#){display:block}._1yep5z613b:not(#\#):not(#\#){display:flex}._1yep5z613e:not(#\#):not(#\#){display:inline-flex}._1yep5z613h:not(#\#):not(#\#){display:grid}._1yep5z613k:not(#\#):not(#\#){flex-direction:row}._1yep5z613n:not(#\#):not(#\#){flex-direction:column}._1yep5z613q:not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z613t:not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z613w:not(#\#):not(#\#){align-items:stretch}._1yep5z613z:not(#\#):not(#\#){align-items:flex-start}._1yep5z6142:not(#\#):not(#\#){align-items:center}._1yep5z6145:not(#\#):not(#\#){align-items:flex-end}._1yep5z6148:not(#\#):not(#\#){align-self:stretch}._1yep5z614b:not(#\#):not(#\#){align-self:flex-start}._1yep5z614e:not(#\#):not(#\#){align-self:center}._1yep5z614h:not(#\#):not(#\#){align-self:flex-end}._1yep5z614k:not(#\#):not(#\#){flex:0}._1yep5z614n:not(#\#):not(#\#){flex:1}._1yep5z614q:not(#\#):not(#\#){justify-content:stretch}._1yep5z614t:not(#\#):not(#\#){justify-content:flex-start}._1yep5z614w:not(#\#):not(#\#){justify-content:center}._1yep5z614z:not(#\#):not(#\#){justify-content:flex-end}._1yep5z6152:not(#\#):not(#\#){justify-content:space-between}._1yep5z6155:not(#\#):not(#\#){justify-self:stretch}._1yep5z6158:not(#\#):not(#\#){justify-self:flex-start}._1yep5z615b:not(#\#):not(#\#){justify-self:center}._1yep5z615e:not(#\#):not(#\#){justify-self:flex-end}._1yep5z615h:not(#\#):not(#\#){place-items:stretch}._1yep5z615k:not(#\#):not(#\#){place-items:flex-start}._1yep5z615n:not(#\#):not(#\#){place-items:center}._1yep5z615q:not(#\#):not(#\#){place-items:flex-end}._1yep5z615t:not(#\#):not(#\#){transition:.2s ease-in-out}._1yep5z615u:not(#\#):not(#\#){transition-property:transform}._1yep5z615v:not(#\#):not(#\#){transition-property:opacity}._1yep5z615w:not(#\#):not(#\#){transition-property:background-color}._1yep5z615x:not(#\#):not(#\#){flex-wrap:wrap}._1yep5z615y:not(#\#):not(#\#){flex-wrap:nowrap}._1yep5z615z:not(#\#):not(#\#){inset-block-start:0}._1yep5z6160:not(#\#):not(#\#){inset-block-end:0}._1yep5z6161:not(#\#):not(#\#){inset-inline-start:0}._1yep5z6162:not(#\#):not(#\#){inset-inline-end:0}._1yep5z6163:not(#\#):not(#\#){flex-shrink:0}._1yep5z6164:not(#\#):not(#\#){flex-grow:0}._1yep5z6165:not(#\#):not(#\#){flex-grow:1}._1yep5z6166:not(#\#):not(#\#){width:100%}._1yep5z6167:not(#\#):not(#\#){height:100%}._1yep5z6168:not(#\#):not(#\#){cursor:pointer}._1yep5z6169:not(#\#):not(#\#){outline:none}._1yep5z616a:not(#\#):not(#\#){outline-style:solid}._1yep5z616b:not(#\#):not(#\#){outline-width:1px}._1yep5z616c:not(#\#):not(#\#){outline-width:2px}._1yep5z616d:not(#\#):not(#\#){outline-offset:-2px}._1yep5z616e:not(#\#):not(#\#){outline-offset:-1px}._1yep5z616f:not(#\#):not(#\#){outline-offset:1px}._1yep5z616g:not(#\#):not(#\#){outline-offset:2px}._1yep5z616h:not(#\#):not(#\#){border:none}._1yep5z616i:not(#\#):not(#\#){border-style:solid}._1yep5z616j:not(#\#):not(#\#){border-style:dashed}._1yep5z616k:not(#\#):not(#\#){border-width:1px}._1yep5z616l:not(#\#):not(#\#){border-width:2px}@media screen and (min-width:768px){._1yep5z6lc:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z6lf:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z6li:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z6ll:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6lo:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6lr:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6lu:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6lx:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6m0:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6m3:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6m6:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6m9:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z6mc:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z6mf:not(#\#):not(#\#){padding-block-start:0}._1yep5z6mi:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z6ml:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z6mo:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6mr:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6mu:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6mx:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z6n0:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z6n3:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z6n6:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z6n9:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z6nc:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z6nf:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z6ni:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z6nl:not(#\#):not(#\#){padding-inline-end:0}._1yep5z6no:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6nr:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6nu:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6nx:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z6o0:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z6o3:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z6o6:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z6o9:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z6oc:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z6of:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z6oi:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z6ol:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z6oo:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z6or:not(#\#):not(#\#){padding-block-end:0}._1yep5z6ou:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z6ox:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z6p0:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z6p3:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z6p6:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z6p9:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z6pc:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z6pf:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z6pi:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z6pl:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z6po:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z6pr:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z6pu:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z6px:not(#\#):not(#\#){padding-inline-start:0}._1yep5z6q0:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z6q3:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z6q6:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z6q9:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z6qc:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z6qf:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z6qi:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z6ql:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z6qo:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z6qr:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z6qu:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z6qx:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z6r0:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z6r3:not(#\#):not(#\#){margin-block-start:0}._1yep5z6r6:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z6r9:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z6rc:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z6rf:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z6ri:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z6rl:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z6ro:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z6rr:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z6ru:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z6rx:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z6s0:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z6s3:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z6s6:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z6s9:not(#\#):not(#\#){margin-inline-end:0}._1yep5z6sc:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z6sf:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z6si:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z6sl:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z6so:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z6sr:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z6su:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z6sx:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z6t0:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z6t3:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z6t6:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z6t9:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z6tc:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z6tf:not(#\#):not(#\#){margin-block-end:0}._1yep5z6ti:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z6tl:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z6to:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z6tr:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z6tu:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z6tx:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z6u0:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z6u3:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z6u6:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z6u9:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z6uc:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z6uf:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z6ui:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z6ul:not(#\#):not(#\#){margin-inline-start:0}._1yep5z6uo:not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z6ur:not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z6uu:not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z6ux:not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z6v0:not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z6v3:not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z6v6:not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z6v9:not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6vc:not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6vf:not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6vi:not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6vl:not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6vo:not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6vr:not(#\#):not(#\#){gap:0}._1yep5z6vu:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6vx:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6w0:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6w3:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6w6:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6w9:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6wc:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6wf:not(#\#):not(#\#){border-start-start-radius:0}._1yep5z6wi:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6wl:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6wo:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6wr:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6wu:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6wx:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6x0:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6x3:not(#\#):not(#\#){border-start-end-radius:0}._1yep5z6x6:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6x9:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6xc:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6xf:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6xi:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6xl:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6xo:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6xr:not(#\#):not(#\#){border-end-start-radius:0}._1yep5z6xu:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6xx:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6y0:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6y3:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6y6:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6y9:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6yc:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6yf:not(#\#):not(#\#){border-end-end-radius:0}._1yep5z612x:not(#\#):not(#\#){position:relative}._1yep5z6130:not(#\#):not(#\#){position:absolute}._1yep5z6133:not(#\#):not(#\#){position:fixed}._1yep5z6136:not(#\#):not(#\#){display:none}._1yep5z6139:not(#\#):not(#\#){display:block}._1yep5z613c:not(#\#):not(#\#){display:flex}._1yep5z613f:not(#\#):not(#\#){display:inline-flex}._1yep5z613i:not(#\#):not(#\#){display:grid}._1yep5z613l:not(#\#):not(#\#){flex-direction:row}._1yep5z613o:not(#\#):not(#\#){flex-direction:column}._1yep5z613r:not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z613u:not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z613x:not(#\#):not(#\#){align-items:stretch}._1yep5z6140:not(#\#):not(#\#){align-items:flex-start}._1yep5z6143:not(#\#):not(#\#){align-items:center}._1yep5z6146:not(#\#):not(#\#){align-items:flex-end}._1yep5z6149:not(#\#):not(#\#){align-self:stretch}._1yep5z614c:not(#\#):not(#\#){align-self:flex-start}._1yep5z614f:not(#\#):not(#\#){align-self:center}._1yep5z614i:not(#\#):not(#\#){align-self:flex-end}._1yep5z614l:not(#\#):not(#\#){flex:0}._1yep5z614o:not(#\#):not(#\#){flex:1}._1yep5z614r:not(#\#):not(#\#){justify-content:stretch}._1yep5z614u:not(#\#):not(#\#){justify-content:flex-start}._1yep5z614x:not(#\#):not(#\#){justify-content:center}._1yep5z6150:not(#\#):not(#\#){justify-content:flex-end}._1yep5z6153:not(#\#):not(#\#){justify-content:space-between}._1yep5z6156:not(#\#):not(#\#){justify-self:stretch}._1yep5z6159:not(#\#):not(#\#){justify-self:flex-start}._1yep5z615c:not(#\#):not(#\#){justify-self:center}._1yep5z615f:not(#\#):not(#\#){justify-self:flex-end}._1yep5z615i:not(#\#):not(#\#){place-items:stretch}._1yep5z615l:not(#\#):not(#\#){place-items:flex-start}._1yep5z615o:not(#\#):not(#\#){place-items:center}._1yep5z615r:not(#\#):not(#\#){place-items:flex-end}}@media screen and (min-width:1280px){._1yep5z6ld:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z6lg:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z6lj:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z6lm:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6lp:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6ls:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6lv:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6ly:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z6m1:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z6m4:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z6m7:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z6ma:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z6md:not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z6mg:not(#\#):not(#\#){padding-block-start:0}._1yep5z6mj:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z6mm:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z6mp:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6ms:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6mv:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6my:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z6n1:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z6n4:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z6n7:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z6na:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z6nd:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z6ng:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z6nj:not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z6nm:not(#\#):not(#\#){padding-inline-end:0}._1yep5z6np:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6ns:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6nv:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6ny:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z6o1:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z6o4:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z6o7:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z6oa:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z6od:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z6og:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z6oj:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z6om:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z6op:not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z6os:not(#\#):not(#\#){padding-block-end:0}._1yep5z6ov:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z6oy:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z6p1:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z6p4:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z6p7:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z6pa:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z6pd:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z6pg:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z6pj:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z6pm:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z6pp:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z6ps:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z6pv:not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z6py:not(#\#):not(#\#){padding-inline-start:0}._1yep5z6q1:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z6q4:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z6q7:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z6qa:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z6qd:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z6qg:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z6qj:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z6qm:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z6qp:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z6qs:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z6qv:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z6qy:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z6r1:not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z6r4:not(#\#):not(#\#){margin-block-start:0}._1yep5z6r7:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z6ra:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z6rd:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z6rg:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z6rj:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z6rm:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z6rp:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z6rs:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z6rv:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z6ry:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z6s1:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z6s4:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z6s7:not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z6sa:not(#\#):not(#\#){margin-inline-end:0}._1yep5z6sd:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z6sg:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z6sj:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z6sm:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z6sp:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z6ss:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z6sv:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z6sy:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z6t1:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z6t4:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z6t7:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z6ta:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z6td:not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z6tg:not(#\#):not(#\#){margin-block-end:0}._1yep5z6tj:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z6tm:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z6tp:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z6ts:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z6tv:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z6ty:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z6u1:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z6u4:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z6u7:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z6ua:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z6ud:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z6ug:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z6uj:not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z6um:not(#\#):not(#\#){margin-inline-start:0}._1yep5z6up:not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z6us:not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z6uv:not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z6uy:not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z6v1:not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z6v4:not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z6v7:not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z6va:not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z6vd:not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z6vg:not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z6vj:not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z6vm:not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z6vp:not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z6vs:not(#\#):not(#\#){gap:0}._1yep5z6vv:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z6vy:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z6w1:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z6w4:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z6w7:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z6wa:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z6wd:not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z6wg:not(#\#):not(#\#){border-start-start-radius:0}._1yep5z6wj:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z6wm:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z6wp:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z6ws:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z6wv:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z6wy:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z6x1:not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z6x4:not(#\#):not(#\#){border-start-end-radius:0}._1yep5z6x7:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z6xa:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z6xd:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z6xg:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z6xj:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z6xm:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z6xp:not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z6xs:not(#\#):not(#\#){border-end-start-radius:0}._1yep5z6xv:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z6xy:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z6y1:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z6y4:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z6y7:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z6ya:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z6yd:not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z6yg:not(#\#):not(#\#){border-end-end-radius:0}._1yep5z612y:not(#\#):not(#\#){position:relative}._1yep5z6131:not(#\#):not(#\#){position:absolute}._1yep5z6134:not(#\#):not(#\#){position:fixed}._1yep5z6137:not(#\#):not(#\#){display:none}._1yep5z613a:not(#\#):not(#\#){display:block}._1yep5z613d:not(#\#):not(#\#){display:flex}._1yep5z613g:not(#\#):not(#\#){display:inline-flex}._1yep5z613j:not(#\#):not(#\#){display:grid}._1yep5z613m:not(#\#):not(#\#){flex-direction:row}._1yep5z613p:not(#\#):not(#\#){flex-direction:column}._1yep5z613s:not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z613v:not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z613y:not(#\#):not(#\#){align-items:stretch}._1yep5z6141:not(#\#):not(#\#){align-items:flex-start}._1yep5z6144:not(#\#):not(#\#){align-items:center}._1yep5z6147:not(#\#):not(#\#){align-items:flex-end}._1yep5z614a:not(#\#):not(#\#){align-self:stretch}._1yep5z614d:not(#\#):not(#\#){align-self:flex-start}._1yep5z614g:not(#\#):not(#\#){align-self:center}._1yep5z614j:not(#\#):not(#\#){align-self:flex-end}._1yep5z614m:not(#\#):not(#\#){flex:0}._1yep5z614p:not(#\#):not(#\#){flex:1}._1yep5z614s:not(#\#):not(#\#){justify-content:stretch}._1yep5z614v:not(#\#):not(#\#){justify-content:flex-start}._1yep5z614y:not(#\#):not(#\#){justify-content:center}._1yep5z6151:not(#\#):not(#\#){justify-content:flex-end}._1yep5z6154:not(#\#):not(#\#){justify-content:space-between}._1yep5z6157:not(#\#):not(#\#){justify-self:stretch}._1yep5z615a:not(#\#):not(#\#){justify-self:flex-start}._1yep5z615d:not(#\#):not(#\#){justify-self:center}._1yep5z615g:not(#\#):not(#\#){justify-self:flex-end}._1yep5z615j:not(#\#):not(#\#){place-items:stretch}._1yep5z615m:not(#\#):not(#\#){place-items:flex-start}._1yep5z615p:not(#\#):not(#\#){place-items:center}._1yep5z615s:not(#\#):not(#\#){place-items:flex-end}}._1yep5z616m:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z616p:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z616s:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z616v:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z616y:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6171:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6174:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6177:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z617a:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z617d:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z617g:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z617j:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z617m:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z617p:not(#\#):not(#\#):not(#\#){padding-block-start:0}._1yep5z617s:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z617v:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z617y:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6181:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6184:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6187:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z618a:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z618d:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z618g:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z618j:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z618m:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z618p:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z618s:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z618v:not(#\#):not(#\#):not(#\#){padding-inline-end:0}._1yep5z618y:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6191:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6194:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6197:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z619a:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z619d:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z619g:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z619j:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z619m:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z619p:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z619s:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z619v:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z619y:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z61a1:not(#\#):not(#\#):not(#\#){padding-block-end:0}._1yep5z61a4:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z61a7:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z61aa:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z61ad:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z61ag:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z61aj:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z61am:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z61ap:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z61as:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z61av:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z61ay:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z61b1:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z61b4:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z61b7:not(#\#):not(#\#):not(#\#){padding-inline-start:0}._1yep5z61ba:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z61bd:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z61bg:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z61bj:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z61bm:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z61bp:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z61bs:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z61bv:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z61by:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z61c1:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z61c4:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z61c7:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z61ca:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z61cd:not(#\#):not(#\#):not(#\#){margin-block-start:0}._1yep5z61cg:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z61cj:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z61cm:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z61cp:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z61cs:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z61cv:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z61cy:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z61d1:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z61d4:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z61d7:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z61da:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z61dd:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z61dg:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z61dj:not(#\#):not(#\#):not(#\#){margin-inline-end:0}._1yep5z61dm:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z61dp:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z61ds:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z61dv:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z61dy:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z61e1:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z61e4:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z61e7:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z61ea:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z61ed:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z61eg:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z61ej:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z61em:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z61ep:not(#\#):not(#\#):not(#\#){margin-block-end:0}._1yep5z61es:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z61ev:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z61ey:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z61f1:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z61f4:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z61f7:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z61fa:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z61fd:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z61fg:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z61fj:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z61fm:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z61fp:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z61fs:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z61fv:not(#\#):not(#\#):not(#\#){margin-inline-start:0}._1yep5z61fy:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z61g1:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z61g4:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z61g7:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z61ga:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z61gd:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z61gg:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z61gj:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z61gm:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z61gp:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z61gs:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z61gv:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z61gy:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z61h1:not(#\#):not(#\#):not(#\#){gap:0}._1yep5z61h4:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z61h7:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z61ha:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z61hd:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z61hg:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z61hj:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z61hm:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z61hp:not(#\#):not(#\#):not(#\#){border-start-start-radius:0}._1yep5z61hs:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z61hv:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z61hy:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z61i1:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z61i4:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z61i7:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z61ia:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z61id:not(#\#):not(#\#):not(#\#){border-start-end-radius:0}._1yep5z61ig:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z61ij:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z61im:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z61ip:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z61is:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z61iv:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z61iy:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z61j1:not(#\#):not(#\#):not(#\#){border-end-start-radius:0}._1yep5z61j4:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z61j7:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z61ja:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z61jd:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z61jg:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z61jj:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z61jm:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z61jp:not(#\#):not(#\#):not(#\#){border-end-end-radius:0}._1yep5z61js:not(#\#):not(#\#):not(#\#){box-shadow:var(--bui-elevation-low)}._1yep5z61jt:not(#\#):not(#\#):not(#\#){box-shadow:var(--bui-elevation-medium)}._1yep5z61ju:not(#\#):not(#\#):not(#\#){opacity:var(--bui-opacity-none)}._1yep5z61jv:not(#\#):not(#\#):not(#\#){opacity:var(--bui-opacity-low)}._1yep5z61jw:not(#\#):not(#\#):not(#\#){opacity:var(--bui-opacity-medium)}._1yep5z61jx:not(#\#):not(#\#):not(#\#){opacity:var(--bui-opacity-high)}._1yep5z61jy:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-regular-font);letter-spacing:var(--bui-typography-heading-h-6-regular-letter-spacing)}._1yep5z61jz:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-medium-font);letter-spacing:var(--bui-typography-heading-h-6-medium-letter-spacing)}._1yep5z61k0:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-6-semibold-font);letter-spacing:var(--bui-typography-heading-h-6-semibold-letter-spacing)}._1yep5z61k1:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-regular-font);letter-spacing:var(--bui-typography-heading-h-5-regular-letter-spacing)}._1yep5z61k2:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-medium-font);letter-spacing:var(--bui-typography-heading-h-5-medium-letter-spacing)}._1yep5z61k3:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-5-semibold-font);letter-spacing:var(--bui-typography-heading-h-5-semibold-letter-spacing)}._1yep5z61k4:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-regular-font);letter-spacing:var(--bui-typography-heading-h-4-regular-letter-spacing)}._1yep5z61k5:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-medium-font);letter-spacing:var(--bui-typography-heading-h-4-medium-letter-spacing)}._1yep5z61k6:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-4-semibold-font);letter-spacing:var(--bui-typography-heading-h-4-semibold-letter-spacing)}._1yep5z61k7:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-regular-font);letter-spacing:var(--bui-typography-heading-h-3-regular-letter-spacing)}._1yep5z61k8:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-medium-font);letter-spacing:var(--bui-typography-heading-h-3-medium-letter-spacing)}._1yep5z61k9:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-3-semibold-font);letter-spacing:var(--bui-typography-heading-h-3-semibold-letter-spacing)}._1yep5z61ka:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-regular-font);letter-spacing:var(--bui-typography-heading-h-2-regular-letter-spacing)}._1yep5z61kb:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-medium-font);letter-spacing:var(--bui-typography-heading-h-2-medium-letter-spacing)}._1yep5z61kc:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-2-semibold-font);letter-spacing:var(--bui-typography-heading-h-2-semibold-letter-spacing)}._1yep5z61kd:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-regular-font);letter-spacing:var(--bui-typography-heading-h-1-regular-letter-spacing)}._1yep5z61ke:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-medium-font);letter-spacing:var(--bui-typography-heading-h-1-medium-letter-spacing)}._1yep5z61kf:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-heading-h-1-semibold-font);letter-spacing:var(--bui-typography-heading-h-1-semibold-letter-spacing)}._1yep5z61kg:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-sm-regular-font);letter-spacing:var(--bui-typography-label-sm-regular-letter-spacing)}._1yep5z61kh:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._1yep5z61ki:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-sm-semibold-font);letter-spacing:var(--bui-typography-label-sm-semibold-letter-spacing)}._1yep5z61kj:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-regular-font);letter-spacing:var(--bui-typography-label-md-regular-letter-spacing)}._1yep5z61kk:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._1yep5z61kl:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-semibold-font);letter-spacing:var(--bui-typography-label-md-semibold-letter-spacing)}._1yep5z61km:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-lg-regular-font);letter-spacing:var(--bui-typography-label-lg-regular-letter-spacing)}._1yep5z61kn:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing)}._1yep5z61ko:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-lg-semibold-font);letter-spacing:var(--bui-typography-label-lg-semibold-letter-spacing)}._1yep5z61kp:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1yep5z61kq:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-medium-font);letter-spacing:var(--bui-typography-body-sm-medium-letter-spacing)}._1yep5z61kr:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-semibold-font);letter-spacing:var(--bui-typography-body-sm-semibold-letter-spacing)}._1yep5z61ks:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-regular-font);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing)}._1yep5z61kt:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-medium-font);letter-spacing:var(--bui-typography-body-md-medium-letter-spacing)}._1yep5z61ku:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-semibold-font);letter-spacing:var(--bui-typography-body-md-semibold-letter-spacing)}._1yep5z61kv:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-lg-regular-font);letter-spacing:var(--bui-typography-body-lg-regular-letter-spacing)}._1yep5z61kw:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-lg-medium-font);letter-spacing:var(--bui-typography-body-lg-medium-letter-spacing)}._1yep5z61kx:not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-lg-semibold-font);letter-spacing:var(--bui-typography-body-lg-semibold-letter-spacing)}._1yep5z61ky:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-subtler)}._1yep5z61kz:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-subtle)}._1yep5z61l0:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}._1yep5z61l1:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-strong)}._1yep5z61l2:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-subtler)}._1yep5z61l3:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-subtle)}._1yep5z61l4:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-medium)}._1yep5z61l5:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-strong)}._1yep5z61l6:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-subtler)}._1yep5z61l7:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-subtle)}._1yep5z61l8:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-medium)}._1yep5z61l9:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-strong)}._1yep5z61la:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-info-subtler)}._1yep5z61lb:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-info-subtle)}._1yep5z61lc:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-info-medium)}._1yep5z61ld:not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-info-strong)}._1yep5z61le:not(#\#):not(#\#):not(#\#){color:var(--bui-color-focused-primary)}._1yep5z61lf:not(#\#):not(#\#):not(#\#){color:var(--bui-color-focused-inset)}._1yep5z61lg:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary)}._1yep5z61lh:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary)}._1yep5z61li:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-helper)}._1yep5z61lj:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-placeholder)}._1yep5z61lk:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._1yep5z61ll:not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-inverse)}._1yep5z61lm:not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-primary)}._1yep5z61ln:not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-secondary)}._1yep5z61lo:not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-disabled)}._1yep5z61lp:not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-inverse)}._1yep5z61lq:not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-interactive)}._1yep5z61lr:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-primary)}._1yep5z61ls:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-hovered)}._1yep5z61lt:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-active)}._1yep5z61lu:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-visited)}._1yep5z61lv:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-disabled)}._1yep5z61lw:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtler)}._1yep5z61lx:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtle)}._1yep5z61ly:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-medium)}._1yep5z61lz:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-strong)}._1yep5z61m0:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtler)}._1yep5z61m1:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtle)}._1yep5z61m2:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-medium)}._1yep5z61m3:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-strong)}._1yep5z61m4:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-warning-subtler)}._1yep5z61m5:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-warning-subtle)}._1yep5z61m6:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-warning-medium)}._1yep5z61m7:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-warning-strong)}._1yep5z61m8:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtler)}._1yep5z61m9:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtle)}._1yep5z61ma:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-medium)}._1yep5z61mb:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-strong)}._1yep5z61mc:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-focused-primary)}._1yep5z61md:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-focused-inset)}._1yep5z61me:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-subtle)}._1yep5z61mf:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-medium)}._1yep5z61mg:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-strong)}._1yep5z61mh:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._1yep5z61mi:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium)}._1yep5z61mj:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-strong)}._1yep5z61mk:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-subtle)}._1yep5z61ml:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-medium)}._1yep5z61mm:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-strong)}._1yep5z61mn:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-overlay-subtle)}._1yep5z61mo:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-overlay-medium)}._1yep5z61mp:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-positive-subtle)}._1yep5z61mq:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-positive-medium)}._1yep5z61mr:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-positive-strong)}._1yep5z61ms:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-positive-interactive)}._1yep5z61mt:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-error-subtler)}._1yep5z61mu:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-error-subtle)}._1yep5z61mv:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-error-medium)}._1yep5z61mw:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-error-strong)}._1yep5z61mx:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-success-subtler)}._1yep5z61my:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-success-subtle)}._1yep5z61mz:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-success-medium)}._1yep5z61n0:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-success-strong)}._1yep5z61n1:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-warning-subtler)}._1yep5z61n2:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-warning-subtle)}._1yep5z61n3:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-warning-medium)}._1yep5z61n4:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-warning-strong)}._1yep5z61n5:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-info-subtler)}._1yep5z61n6:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-info-subtle)}._1yep5z61n7:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-info-medium)}._1yep5z61n8:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-info-strong)}._1yep5z61n9:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-focused-primary)}._1yep5z61na:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-focused-inset)}._1yep5z61nb:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-subtle)}._1yep5z61nc:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-medium)}._1yep5z61nd:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-strong)}._1yep5z61ne:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-inverse)}._1yep5z61nf:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-interactive)}._1yep5z61ng:not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-disabled)}._1yep5z61nh:not(#\#):not(#\#):not(#\#){border-color:transparent}._1yep5z61ni:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-error-subtler)}._1yep5z61nj:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-error-subtle)}._1yep5z61nk:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-error-medium)}._1yep5z61nl:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-error-strong)}._1yep5z61nm:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-success-subtler)}._1yep5z61nn:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-success-subtle)}._1yep5z61no:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-success-medium)}._1yep5z61np:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-success-strong)}._1yep5z61nq:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-subtler)}._1yep5z61nr:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-subtle)}._1yep5z61ns:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-medium)}._1yep5z61nt:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-warning-strong)}._1yep5z61nu:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-info-subtler)}._1yep5z61nv:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-info-subtle)}._1yep5z61nw:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-info-medium)}._1yep5z61nx:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-support-info-strong)}._1yep5z61ny:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-focused-primary)}._1yep5z61nz:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-focused-inset)}._1yep5z61o0:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-subtle)}._1yep5z61o1:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-medium)}._1yep5z61o2:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-strong)}._1yep5z61o3:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-inverse)}._1yep5z61o4:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-interactive)}._1yep5z61o5:not(#\#):not(#\#):not(#\#){outline-color:var(--bui-color-border-disabled)}._1yep5z61o6:not(#\#):not(#\#):not(#\#){outline-color:transparent}._1yep5z61o7:not(#\#):not(#\#):not(#\#){position:relative}._1yep5z61oa:not(#\#):not(#\#):not(#\#){position:absolute}._1yep5z61od:not(#\#):not(#\#):not(#\#){position:fixed}._1yep5z61og:not(#\#):not(#\#):not(#\#){display:none}._1yep5z61oj:not(#\#):not(#\#):not(#\#){display:block}._1yep5z61om:not(#\#):not(#\#):not(#\#){display:flex}._1yep5z61op:not(#\#):not(#\#):not(#\#){display:inline-flex}._1yep5z61os:not(#\#):not(#\#):not(#\#){display:grid}._1yep5z61ov:not(#\#):not(#\#):not(#\#){flex-direction:row}._1yep5z61oy:not(#\#):not(#\#):not(#\#){flex-direction:column}._1yep5z61p1:not(#\#):not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z61p4:not(#\#):not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z61p7:not(#\#):not(#\#):not(#\#){align-items:stretch}._1yep5z61pa:not(#\#):not(#\#):not(#\#){align-items:flex-start}._1yep5z61pd:not(#\#):not(#\#):not(#\#){align-items:center}._1yep5z61pg:not(#\#):not(#\#):not(#\#){align-items:flex-end}._1yep5z61pj:not(#\#):not(#\#):not(#\#){align-self:stretch}._1yep5z61pm:not(#\#):not(#\#):not(#\#){align-self:flex-start}._1yep5z61pp:not(#\#):not(#\#):not(#\#){align-self:center}._1yep5z61ps:not(#\#):not(#\#):not(#\#){align-self:flex-end}._1yep5z61pv:not(#\#):not(#\#):not(#\#){flex:0}._1yep5z61py:not(#\#):not(#\#):not(#\#){flex:1}._1yep5z61q1:not(#\#):not(#\#):not(#\#){justify-content:stretch}._1yep5z61q4:not(#\#):not(#\#):not(#\#){justify-content:flex-start}._1yep5z61q7:not(#\#):not(#\#):not(#\#){justify-content:center}._1yep5z61qa:not(#\#):not(#\#):not(#\#){justify-content:flex-end}._1yep5z61qd:not(#\#):not(#\#):not(#\#){justify-content:space-between}._1yep5z61qg:not(#\#):not(#\#):not(#\#){justify-self:stretch}._1yep5z61qj:not(#\#):not(#\#):not(#\#){justify-self:flex-start}._1yep5z61qm:not(#\#):not(#\#):not(#\#){justify-self:center}._1yep5z61qp:not(#\#):not(#\#):not(#\#){justify-self:flex-end}._1yep5z61qs:not(#\#):not(#\#):not(#\#){place-items:stretch}._1yep5z61qv:not(#\#):not(#\#):not(#\#){place-items:flex-start}._1yep5z61qy:not(#\#):not(#\#):not(#\#){place-items:center}._1yep5z61r1:not(#\#):not(#\#):not(#\#){place-items:flex-end}._1yep5z61r4:not(#\#):not(#\#):not(#\#){transition:.2s ease-in-out}._1yep5z61r5:not(#\#):not(#\#):not(#\#){transition-property:transform}._1yep5z61r6:not(#\#):not(#\#):not(#\#){transition-property:opacity}._1yep5z61r7:not(#\#):not(#\#):not(#\#){transition-property:background-color}._1yep5z61r8:not(#\#):not(#\#):not(#\#){flex-wrap:wrap}._1yep5z61r9:not(#\#):not(#\#):not(#\#){flex-wrap:nowrap}._1yep5z61ra:not(#\#):not(#\#):not(#\#){inset-block-start:0}._1yep5z61rb:not(#\#):not(#\#):not(#\#){inset-block-end:0}._1yep5z61rc:not(#\#):not(#\#):not(#\#){inset-inline-start:0}._1yep5z61rd:not(#\#):not(#\#):not(#\#){inset-inline-end:0}._1yep5z61re:not(#\#):not(#\#):not(#\#){flex-shrink:0}._1yep5z61rf:not(#\#):not(#\#):not(#\#){flex-grow:0}._1yep5z61rg:not(#\#):not(#\#):not(#\#){flex-grow:1}._1yep5z61rh:not(#\#):not(#\#):not(#\#){width:100%}._1yep5z61ri:not(#\#):not(#\#):not(#\#){height:100%}._1yep5z61rj:not(#\#):not(#\#):not(#\#){cursor:pointer}._1yep5z61rk:not(#\#):not(#\#):not(#\#){outline:none}._1yep5z61rl:not(#\#):not(#\#):not(#\#){outline-style:solid}._1yep5z61rm:not(#\#):not(#\#):not(#\#){outline-width:1px}._1yep5z61rn:not(#\#):not(#\#):not(#\#){outline-width:2px}._1yep5z61ro:not(#\#):not(#\#):not(#\#){outline-offset:-2px}._1yep5z61rp:not(#\#):not(#\#):not(#\#){outline-offset:-1px}._1yep5z61rq:not(#\#):not(#\#):not(#\#){outline-offset:1px}._1yep5z61rr:not(#\#):not(#\#):not(#\#){outline-offset:2px}._1yep5z61rs:not(#\#):not(#\#):not(#\#){border:none}._1yep5z61rt:not(#\#):not(#\#):not(#\#){border-style:solid}._1yep5z61ru:not(#\#):not(#\#):not(#\#){border-style:dashed}._1yep5z61rv:not(#\#):not(#\#):not(#\#){border-width:1px}._1yep5z61rw:not(#\#):not(#\#):not(#\#){border-width:2px}@media screen and (min-width:768px){._1yep5z616n:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z616q:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z616t:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z616w:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z616z:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6172:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6175:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6178:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z617b:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z617e:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z617h:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z617k:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z617n:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z617q:not(#\#):not(#\#):not(#\#){padding-block-start:0}._1yep5z617t:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z617w:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z617z:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6182:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6185:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6188:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z618b:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z618e:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z618h:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z618k:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z618n:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z618q:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z618t:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z618w:not(#\#):not(#\#):not(#\#){padding-inline-end:0}._1yep5z618z:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6192:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6195:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6198:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z619b:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z619e:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z619h:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z619k:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z619n:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z619q:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z619t:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z619w:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z619z:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z61a2:not(#\#):not(#\#):not(#\#){padding-block-end:0}._1yep5z61a5:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z61a8:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z61ab:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z61ae:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z61ah:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z61ak:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z61an:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z61aq:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z61at:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z61aw:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z61az:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z61b2:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z61b5:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z61b8:not(#\#):not(#\#):not(#\#){padding-inline-start:0}._1yep5z61bb:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z61be:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z61bh:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z61bk:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z61bn:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z61bq:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z61bt:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z61bw:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z61bz:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z61c2:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z61c5:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z61c8:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z61cb:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z61ce:not(#\#):not(#\#):not(#\#){margin-block-start:0}._1yep5z61ch:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z61ck:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z61cn:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z61cq:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z61ct:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z61cw:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z61cz:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z61d2:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z61d5:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z61d8:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z61db:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z61de:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z61dh:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z61dk:not(#\#):not(#\#):not(#\#){margin-inline-end:0}._1yep5z61dn:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z61dq:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z61dt:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z61dw:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z61dz:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z61e2:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z61e5:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z61e8:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z61eb:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z61ee:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z61eh:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z61ek:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z61en:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z61eq:not(#\#):not(#\#):not(#\#){margin-block-end:0}._1yep5z61et:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z61ew:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z61ez:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z61f2:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z61f5:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z61f8:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z61fb:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z61fe:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z61fh:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z61fk:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z61fn:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z61fq:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z61ft:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z61fw:not(#\#):not(#\#):not(#\#){margin-inline-start:0}._1yep5z61fz:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z61g2:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z61g5:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z61g8:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z61gb:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z61ge:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z61gh:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z61gk:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z61gn:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z61gq:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z61gt:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z61gw:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z61gz:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z61h2:not(#\#):not(#\#):not(#\#){gap:0}._1yep5z61h5:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z61h8:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z61hb:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z61he:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z61hh:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z61hk:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z61hn:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z61hq:not(#\#):not(#\#):not(#\#){border-start-start-radius:0}._1yep5z61ht:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z61hw:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z61hz:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z61i2:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z61i5:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z61i8:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z61ib:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z61ie:not(#\#):not(#\#):not(#\#){border-start-end-radius:0}._1yep5z61ih:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z61ik:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z61in:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z61iq:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z61it:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z61iw:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z61iz:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z61j2:not(#\#):not(#\#):not(#\#){border-end-start-radius:0}._1yep5z61j5:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z61j8:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z61jb:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z61je:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z61jh:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z61jk:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z61jn:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z61jq:not(#\#):not(#\#):not(#\#){border-end-end-radius:0}._1yep5z61o8:not(#\#):not(#\#):not(#\#){position:relative}._1yep5z61ob:not(#\#):not(#\#):not(#\#){position:absolute}._1yep5z61oe:not(#\#):not(#\#):not(#\#){position:fixed}._1yep5z61oh:not(#\#):not(#\#):not(#\#){display:none}._1yep5z61ok:not(#\#):not(#\#):not(#\#){display:block}._1yep5z61on:not(#\#):not(#\#):not(#\#){display:flex}._1yep5z61oq:not(#\#):not(#\#):not(#\#){display:inline-flex}._1yep5z61ot:not(#\#):not(#\#):not(#\#){display:grid}._1yep5z61ow:not(#\#):not(#\#):not(#\#){flex-direction:row}._1yep5z61oz:not(#\#):not(#\#):not(#\#){flex-direction:column}._1yep5z61p2:not(#\#):not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z61p5:not(#\#):not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z61p8:not(#\#):not(#\#):not(#\#){align-items:stretch}._1yep5z61pb:not(#\#):not(#\#):not(#\#){align-items:flex-start}._1yep5z61pe:not(#\#):not(#\#):not(#\#){align-items:center}._1yep5z61ph:not(#\#):not(#\#):not(#\#){align-items:flex-end}._1yep5z61pk:not(#\#):not(#\#):not(#\#){align-self:stretch}._1yep5z61pn:not(#\#):not(#\#):not(#\#){align-self:flex-start}._1yep5z61pq:not(#\#):not(#\#):not(#\#){align-self:center}._1yep5z61pt:not(#\#):not(#\#):not(#\#){align-self:flex-end}._1yep5z61pw:not(#\#):not(#\#):not(#\#){flex:0}._1yep5z61pz:not(#\#):not(#\#):not(#\#){flex:1}._1yep5z61q2:not(#\#):not(#\#):not(#\#){justify-content:stretch}._1yep5z61q5:not(#\#):not(#\#):not(#\#){justify-content:flex-start}._1yep5z61q8:not(#\#):not(#\#):not(#\#){justify-content:center}._1yep5z61qb:not(#\#):not(#\#):not(#\#){justify-content:flex-end}._1yep5z61qe:not(#\#):not(#\#):not(#\#){justify-content:space-between}._1yep5z61qh:not(#\#):not(#\#):not(#\#){justify-self:stretch}._1yep5z61qk:not(#\#):not(#\#):not(#\#){justify-self:flex-start}._1yep5z61qn:not(#\#):not(#\#):not(#\#){justify-self:center}._1yep5z61qq:not(#\#):not(#\#):not(#\#){justify-self:flex-end}._1yep5z61qt:not(#\#):not(#\#):not(#\#){place-items:stretch}._1yep5z61qw:not(#\#):not(#\#):not(#\#){place-items:flex-start}._1yep5z61qz:not(#\#):not(#\#):not(#\#){place-items:center}._1yep5z61r2:not(#\#):not(#\#):not(#\#){place-items:flex-end}}@media screen and (min-width:1280px){._1yep5z616o:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xs)}._1yep5z616r:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-sm)}._1yep5z616u:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-md)}._1yep5z616x:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-lg)}._1yep5z6170:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-xl)}._1yep5z6173:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-2-xl)}._1yep5z6176:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-3-xl)}._1yep5z6179:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-4-xl)}._1yep5z617c:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-5-xl)}._1yep5z617f:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-6-xl)}._1yep5z617i:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-7-xl)}._1yep5z617l:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-8-xl)}._1yep5z617o:not(#\#):not(#\#):not(#\#){padding-block-start:var(--bui-spacing-9-xl)}._1yep5z617r:not(#\#):not(#\#):not(#\#){padding-block-start:0}._1yep5z617u:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xs)}._1yep5z617x:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-sm)}._1yep5z6180:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-md)}._1yep5z6183:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-lg)}._1yep5z6186:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-xl)}._1yep5z6189:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-2-xl)}._1yep5z618c:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-3-xl)}._1yep5z618f:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-4-xl)}._1yep5z618i:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-5-xl)}._1yep5z618l:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-6-xl)}._1yep5z618o:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-7-xl)}._1yep5z618r:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-8-xl)}._1yep5z618u:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--bui-spacing-9-xl)}._1yep5z618x:not(#\#):not(#\#):not(#\#){padding-inline-end:0}._1yep5z6190:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xs)}._1yep5z6193:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-sm)}._1yep5z6196:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-md)}._1yep5z6199:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-lg)}._1yep5z619c:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-xl)}._1yep5z619f:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-2-xl)}._1yep5z619i:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-3-xl)}._1yep5z619l:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-4-xl)}._1yep5z619o:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-5-xl)}._1yep5z619r:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-6-xl)}._1yep5z619u:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-7-xl)}._1yep5z619x:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-8-xl)}._1yep5z61a0:not(#\#):not(#\#):not(#\#){padding-block-end:var(--bui-spacing-9-xl)}._1yep5z61a3:not(#\#):not(#\#):not(#\#){padding-block-end:0}._1yep5z61a6:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xs)}._1yep5z61a9:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-sm)}._1yep5z61ac:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-md)}._1yep5z61af:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-lg)}._1yep5z61ai:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-xl)}._1yep5z61al:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-2-xl)}._1yep5z61ao:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-3-xl)}._1yep5z61ar:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-4-xl)}._1yep5z61au:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-5-xl)}._1yep5z61ax:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-6-xl)}._1yep5z61b0:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-7-xl)}._1yep5z61b3:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-8-xl)}._1yep5z61b6:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--bui-spacing-9-xl)}._1yep5z61b9:not(#\#):not(#\#):not(#\#){padding-inline-start:0}._1yep5z61bc:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xs)}._1yep5z61bf:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-sm)}._1yep5z61bi:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-md)}._1yep5z61bl:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-lg)}._1yep5z61bo:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-xl)}._1yep5z61br:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-2-xl)}._1yep5z61bu:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-3-xl)}._1yep5z61bx:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-4-xl)}._1yep5z61c0:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-5-xl)}._1yep5z61c3:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-6-xl)}._1yep5z61c6:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-7-xl)}._1yep5z61c9:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-8-xl)}._1yep5z61cc:not(#\#):not(#\#):not(#\#){margin-block-start:var(--bui-spacing-9-xl)}._1yep5z61cf:not(#\#):not(#\#):not(#\#){margin-block-start:0}._1yep5z61ci:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xs)}._1yep5z61cl:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-sm)}._1yep5z61co:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-md)}._1yep5z61cr:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-lg)}._1yep5z61cu:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-xl)}._1yep5z61cx:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-2-xl)}._1yep5z61d0:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-3-xl)}._1yep5z61d3:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-4-xl)}._1yep5z61d6:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-5-xl)}._1yep5z61d9:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-6-xl)}._1yep5z61dc:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-7-xl)}._1yep5z61df:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-8-xl)}._1yep5z61di:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--bui-spacing-9-xl)}._1yep5z61dl:not(#\#):not(#\#):not(#\#){margin-inline-end:0}._1yep5z61do:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xs)}._1yep5z61dr:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-sm)}._1yep5z61du:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-md)}._1yep5z61dx:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-lg)}._1yep5z61e0:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-xl)}._1yep5z61e3:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-2-xl)}._1yep5z61e6:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-3-xl)}._1yep5z61e9:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-4-xl)}._1yep5z61ec:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-5-xl)}._1yep5z61ef:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-6-xl)}._1yep5z61ei:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-7-xl)}._1yep5z61el:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-8-xl)}._1yep5z61eo:not(#\#):not(#\#):not(#\#){margin-block-end:var(--bui-spacing-9-xl)}._1yep5z61er:not(#\#):not(#\#):not(#\#){margin-block-end:0}._1yep5z61eu:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xs)}._1yep5z61ex:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-sm)}._1yep5z61f0:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-md)}._1yep5z61f3:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-lg)}._1yep5z61f6:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-xl)}._1yep5z61f9:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-2-xl)}._1yep5z61fc:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-3-xl)}._1yep5z61ff:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-4-xl)}._1yep5z61fi:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-5-xl)}._1yep5z61fl:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-6-xl)}._1yep5z61fo:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-7-xl)}._1yep5z61fr:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-8-xl)}._1yep5z61fu:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--bui-spacing-9-xl)}._1yep5z61fx:not(#\#):not(#\#):not(#\#){margin-inline-start:0}._1yep5z61g0:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xs)}._1yep5z61g3:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-sm)}._1yep5z61g6:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-md)}._1yep5z61g9:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-lg)}._1yep5z61gc:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-xl)}._1yep5z61gf:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-2-xl)}._1yep5z61gi:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-3-xl)}._1yep5z61gl:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-4-xl)}._1yep5z61go:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-5-xl)}._1yep5z61gr:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-6-xl)}._1yep5z61gu:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-7-xl)}._1yep5z61gx:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-8-xl)}._1yep5z61h0:not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-9-xl)}._1yep5z61h3:not(#\#):not(#\#):not(#\#){gap:0}._1yep5z61h6:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xs)}._1yep5z61h9:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-sm)}._1yep5z61hc:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-md)}._1yep5z61hf:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-lg)}._1yep5z61hi:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-xl)}._1yep5z61hl:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-2-xl)}._1yep5z61ho:not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--bui-rounded-full)}._1yep5z61hr:not(#\#):not(#\#):not(#\#){border-start-start-radius:0}._1yep5z61hu:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xs)}._1yep5z61hx:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-sm)}._1yep5z61i0:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-md)}._1yep5z61i3:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-lg)}._1yep5z61i6:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-xl)}._1yep5z61i9:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-2-xl)}._1yep5z61ic:not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--bui-rounded-full)}._1yep5z61if:not(#\#):not(#\#):not(#\#){border-start-end-radius:0}._1yep5z61ii:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xs)}._1yep5z61il:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-sm)}._1yep5z61io:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-md)}._1yep5z61ir:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-lg)}._1yep5z61iu:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-xl)}._1yep5z61ix:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-2-xl)}._1yep5z61j0:not(#\#):not(#\#):not(#\#){border-end-start-radius:var(--bui-rounded-full)}._1yep5z61j3:not(#\#):not(#\#):not(#\#){border-end-start-radius:0}._1yep5z61j6:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xs)}._1yep5z61j9:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-sm)}._1yep5z61jc:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-md)}._1yep5z61jf:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-lg)}._1yep5z61ji:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-xl)}._1yep5z61jl:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-2-xl)}._1yep5z61jo:not(#\#):not(#\#):not(#\#){border-end-end-radius:var(--bui-rounded-full)}._1yep5z61jr:not(#\#):not(#\#):not(#\#){border-end-end-radius:0}._1yep5z61o9:not(#\#):not(#\#):not(#\#){position:relative}._1yep5z61oc:not(#\#):not(#\#):not(#\#){position:absolute}._1yep5z61of:not(#\#):not(#\#):not(#\#){position:fixed}._1yep5z61oi:not(#\#):not(#\#):not(#\#){display:none}._1yep5z61ol:not(#\#):not(#\#):not(#\#){display:block}._1yep5z61oo:not(#\#):not(#\#):not(#\#){display:flex}._1yep5z61or:not(#\#):not(#\#):not(#\#){display:inline-flex}._1yep5z61ou:not(#\#):not(#\#):not(#\#){display:grid}._1yep5z61ox:not(#\#):not(#\#):not(#\#){flex-direction:row}._1yep5z61p0:not(#\#):not(#\#):not(#\#){flex-direction:column}._1yep5z61p3:not(#\#):not(#\#):not(#\#){flex-direction:row-reverse}._1yep5z61p6:not(#\#):not(#\#):not(#\#){flex-direction:column-reverse}._1yep5z61p9:not(#\#):not(#\#):not(#\#){align-items:stretch}._1yep5z61pc:not(#\#):not(#\#):not(#\#){align-items:flex-start}._1yep5z61pf:not(#\#):not(#\#):not(#\#){align-items:center}._1yep5z61pi:not(#\#):not(#\#):not(#\#){align-items:flex-end}._1yep5z61pl:not(#\#):not(#\#):not(#\#){align-self:stretch}._1yep5z61po:not(#\#):not(#\#):not(#\#){align-self:flex-start}._1yep5z61pr:not(#\#):not(#\#):not(#\#){align-self:center}._1yep5z61pu:not(#\#):not(#\#):not(#\#){align-self:flex-end}._1yep5z61px:not(#\#):not(#\#):not(#\#){flex:0}._1yep5z61q0:not(#\#):not(#\#):not(#\#){flex:1}._1yep5z61q3:not(#\#):not(#\#):not(#\#){justify-content:stretch}._1yep5z61q6:not(#\#):not(#\#):not(#\#){justify-content:flex-start}._1yep5z61q9:not(#\#):not(#\#):not(#\#){justify-content:center}._1yep5z61qc:not(#\#):not(#\#):not(#\#){justify-content:flex-end}._1yep5z61qf:not(#\#):not(#\#):not(#\#){justify-content:space-between}._1yep5z61qi:not(#\#):not(#\#):not(#\#){justify-self:stretch}._1yep5z61ql:not(#\#):not(#\#):not(#\#){justify-self:flex-start}._1yep5z61qo:not(#\#):not(#\#):not(#\#){justify-self:center}._1yep5z61qr:not(#\#):not(#\#):not(#\#){justify-self:flex-end}._1yep5z61qu:not(#\#):not(#\#):not(#\#){place-items:stretch}._1yep5z61qx:not(#\#):not(#\#):not(#\#){place-items:flex-start}._1yep5z61r0:not(#\#):not(#\#):not(#\#){place-items:center}._1yep5z61r3:not(#\#):not(#\#):not(#\#){place-items:flex-end}}.z9nup81:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex-direction:column}.z9nup82:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex-direction:row}.z9nup83:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}.z9nup84:not(#\#):not(#\#):not(#\#):not(#\#){background-image:repeating-conic-gradient(transparent 0 25%,var(--bui-color-background-secondary-medium) 25% 50%)}.z9nup85:not(#\#):not(#\#):not(#\#):not(#\#){background-size:4px 4px}.z9nup86:not(#\#):not(#\#):not(#\#):not(#\#){background-size:6px 6px}.z9nup80{display:contents}.z9nup87{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._6n12k90:not(#\#):not(#\#):not(#\#):not(#\#){list-style:none}._6n12k91:not(#\#){height:36px;list-style:none}._6n12k9a:not(#\#){list-style:none;transition-property:outline-color;z-index:9}._6n12k95:not(#\#):not(#\#){border-top-width:1px}._6n12k96:not(#\#):not(#\#){border-bottom-width:1px}.gukncs0:not(#\#){background-color:var(--bui-color-border-subtle);flex-shrink:0;height:1px;width:100%}.gukncs1:not(#\#):not(#\#){height:100%;width:1px}.gukncs2:not(#\#):not(#\#){background-color:var(--bui-color-border-medium)}.uf19bsg:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:rotate}.uf19bse[aria-expanded=true]:not(#\#):not(#\#):not(#\#):not(#\#) .uf19bsg{rotate:180deg}.uf19bs0{all:unset;height:-moz-fit-content;height:fit-content}.uf19bs1:not(#\#):not(#\#){min-height:16px;min-width:16px}.uf19bs2:not(#\#):not(#\#){min-height:24px;min-width:24px}.uf19bs3:not(#\#):not(#\#){min-height:32px;min-width:32px}.uf19bs4:not(#\#):not(#\#){min-height:40px;min-width:40px}.uf19bs5:not(#\#):not(#\#){min-height:48px;min-width:48px}.uf19bs7:not(#\#):not(#\#){cursor:not-allowed}.uf19bs8:not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}.uf19bse:not(#\#):not(#\#){min-height:unset;min-width:unset;width:-moz-fit-content;width:fit-content}.uf19bse[aria-expanded=true]:not(#\#):not(#\#){outline:1px solid var(--bui-color-border-medium);outline-offset:-1px}.oom8bs0:not(#\#):not(#\#):not(#\#):not(#\#) svg{pointer-events:none}.oom8bs5[aria-expanded=true]:not(#\#):not(#\#):not(#\#):not(#\#) .uf19bsg{rotate:180deg}.oom8bs0:not(#\#){border:none;box-sizing:border-box;transition-property:all;white-space:nowrap;width:-moz-fit-content;width:fit-content}.oom8bs1:not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);color:var(--bui-color-text-inverse)}.oom8bs1:disabled:not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled)}.oom8bs2:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle);box-shadow:inset 0 0 0 1px var(--bui-color-border-medium);color:var(--bui-color-text-primary)}.oom8bs2:disabled:not(#\#):not(#\#){color:var(--bui-color-text-disabled)}.oom8bs3:not(#\#):not(#\#){background-color:initial;box-shadow:inset 0 0 0 1px var(--bui-color-interactive-primary);color:var(--bui-color-interactive-primary)}.oom8bs3:disabled:not(#\#):not(#\#){box-shadow:inset 0 0 0 1px var(--bui-color-interactive-disabled);color:var(--bui-color-interactive-disabled)}.oom8bs4:not(#\#):not(#\#){background-color:initial;color:var(--bui-color-interactive-primary)}.oom8bs4:disabled:not(#\#):not(#\#){color:var(--bui-color-interactive-disabled)}.oom8bs5:not(#\#):not(#\#){background-color:initial;color:var(--bui-color-text-primary);transition-property:none}.oom8bs5:disabled:not(#\#):not(#\#){color:var(--bui-color-text-disabled)}.oom8bs5[aria-expanded=true]:not(#\#):not(#\#){outline:1px solid var(--bui-color-border-medium);outline-offset:-1px}.oom8bs6:not(#\#):not(#\#){cursor:not-allowed}.oom8bs7:not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}.oom8bs9:not(#\#):not(#\#){min-height:32px;padding:var(--bui-spacing-md)}.oom8bsa:not(#\#):not(#\#){min-height:40px;padding:var(--bui-spacing-md) var(--bui-spacing-lg)}.oom8bsb:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-hovered)}.oom8bsc:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium)}.oom8bsd:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);color:var(--bui-color-text-inverse)}.oom8bse:not(#\#):not(#\#):not(#\#){outline:1px solid var(--bui-color-border-medium);outline-offset:-1px}.oom8bsf:not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-hovered)}.oom8bsg:not(#\#):not(#\#):not(#\#){border:none}.oom8bsg:not(#\#):not(#\#):not(#\#),.oom8bsh:not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary),inset 0 0 0 3px var(--bui-color-focused-inset)}.oom8bsh:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);color:var(--bui-color-text-inverse)}._14uvjig0:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}._14uvjig1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-strong)}._14uvjig2:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary)}._14uvjig3:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;justify-content:space-between}._14uvjig4:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._14uvjig5:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._14uvjig6:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:var(--bui-spacing-md)}._14uvjig7:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;gap:var(--bui-spacing-md);height:24px}._14uvjig8:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-strong);height:2px;width:100%}._14uvjig9:not(#\#):not(#\#):not(#\#):not(#\#){height:100%;position:absolute}._14uvjigb:not(#\#):not(#\#):not(#\#):not(#\#){transition:width .2s}._14uvjigc:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled)}._14uvjige:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:50%;cursor:pointer;height:8px;margin-top:1px;transition-duration:.2s;transition-property:height,width;width:8px}._14uvjigf:not(#\#):not(#\#):not(#\#):not(#\#){border:0;height:12px;outline:0;width:12px}._14uvjigg:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled);cursor:not-allowed}._14uvjigh:not(#\#):not(#\#):not(#\#):not(#\#){display:none}._14uvjigi:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:0 0 0 1px var(--bui-color-focused-inset),0 0 0 3px var(--bui-color-interactive-primary);transition-duration:.2s;transition-property:left}._14uvjigj:not(#\#):not(#\#):not(#\#):not(#\#){height:12px;width:12px}.nrh1eh0:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.nrh1eh2:not(#\#):not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-md);justify-content:space-between}.nrh1eh3:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}.nrh1eh4:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-flex}.nrh1eh5:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--bui-spacing-md)}.nrh1eh6:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column;padding-top:0}.nrh1eh8:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:center}.nrh1eh9:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;border:1px solid var(--bui-color-border-medium);border-radius:var(--bui-rounded-xs);height:32px;overflow:hidden}.nrh1ehb:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-support-error-medium)}.nrh1ehe:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-focused-primary);border-radius:var(--bui-rounded-xs);outline:1px solid var(--bui-color-focused-primary);outline-offset:-2px}.nrh1ehf:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.nrh1ehi:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:0;outline:none}.nrh1ehj:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-border-medium)}.nrh1ehk:not(#\#):not(#\#):not(#\#):not(#\#){border-color:transparent}.nrh1ehl:not(#\#):not(#\#):not(#\#):not(#\#),.nrh1ehm:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-strong)}.nrh1ehn:not(#\#):not(#\#):not(#\#):not(#\#){border-color:transparent;border-bottom:1px solid var(--bui-color-border-medium)}.nrh1eho:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:none;color:var(--bui-color-text-primary);font:var(--bui-typography-label-md-medium-font);height:inherit;letter-spacing:var(--bui-typography-label-md-medium-letter-spacing);outline:none;padding:var(--bui-spacing-md);text-align:inherit;width:100%}.nrh1eho:not(#\#):not(#\#):not(#\#):not(#\#)::-ms-input-placeholder{color:var(--bui-color-text-placeholder)}.nrh1eho:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--bui-color-text-placeholder)}.nrh1ehp:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled);cursor:inherit}.nrh1ehp:not(#\#):not(#\#):not(#\#):not(#\#)::-ms-input-placeholder{color:var(--bui-color-text-disabled)}.nrh1ehp:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--bui-color-text-disabled)}.nrh1ehr:not(#\#):not(#\#):not(#\#):not(#\#){text-align:right}.nrh1ehs:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-flex;flex-shrink:0;margin-right:var(--bui-spacing-md)}.nrh1ehu:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}.nrh1ehv:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-medium)}.nrh1ehw:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-primary)}.nrh1ehx:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-helper);font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing);padding-top:var(--bui-spacing-sm)}.nrh1ehy:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}.nrh1ehz:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}.nrh1eh10:not(#\#):not(#\#):not(#\#):not(#\#){max-width:100px;width:max-content}._1lnwne0:not(#\#):not(#\#):not(#\#):not(#\#){max-width:140px}._1lnwne1:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;gap:var(--bui-spacing-sm);height:inherit;padding:0 var(--bui-spacing-sm);transition:background-color .2s ease-in}._1lnwne4:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-medium)}.bpklwa0:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-flex}.bpklwa1:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column;gap:var(--bui-spacing-md);width:-moz-fit-content;width:fit-content}.bpklwa2:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;flex-direction:row;justify-content:space-between;width:100%}.bpklwa3:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:inline-flex;flex-direction:row;gap:var(--bui-spacing-md)}.bpklwa4:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:row-reverse}.bpklwa6:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}.bpklwa7:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-subtle);border-radius:9px;box-sizing:border-box;cursor:pointer;height:18px;padding:2px;width:36px}.bpklwa8:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:1px solid var(--bui-color-icon-disabled);cursor:default;padding:1px}.bpklwa9:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium);cursor:not-allowed}.bpklwab:not(#\#):not(#\#):not(#\#):not(#\#){outline:var(--bui-color-focused-primary) 2px solid;outline-offset:1px}.bpklwac:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-interactive)}.bpklwad:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}.bpklwae:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-inverse);border-radius:var(--bui-rounded-full);height:14px;transition:transform .2s;width:14px}.bpklwaf:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-disabled)}.bpklwag:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(18px)}.bpklwah:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-primary)}._19n40yy0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;background-color:var(--bui-color-background-primary-subtle);border:1px solid transparent;border-radius:var(--bui-rounded-xs);color:var(--bui-color-icon-primary);display:flex;flex-direction:row;font:var(--bui-typography-body-md-regular-font);gap:var(--bui-spacing-md);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing);padding:0 var(--bui-spacing-md);position:relative;width:100%}._19n40yy1:not(#\#):not(#\#):not(#\#):not(#\#){height:48px}._19n40yy2:not(#\#):not(#\#):not(#\#):not(#\#){height:40px}._19n40yy3:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);height:32px;letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._19n40yy4:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-medium)}._19n40yy6:not(#\#):not(#\#):not(#\#):not(#\#){border-color:transparent;box-shadow:0 0 0 2px var(--bui-color-focused-primary)}._19n40yy7:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:0}._19n40yy8:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled);cursor:not-allowed}._19n40yy9:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:none;color:var(--bui-color-text-primary);cursor:inherit;display:flex;flex:1;font:inherit;outline:none}._19n40yy9:not(#\#):not(#\#):not(#\#):not(#\#)::-ms-input-placeholder{color:var(--bui-color-text-placeholder);font:inherit}._19n40yy9:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--bui-color-text-placeholder);font:inherit}._19n40yy9:not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-search-cancel-button,._19n40yy9:not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-search-decoration{-webkit-appearance:none}._1mdhlqv1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;cursor:pointer}._1mdhlqv2:not(#\#):not(#\#):not(#\#):not(#\#){outline:none}._1mdhlqv4:not(#\#):not(#\#):not(#\#):not(#\#){transition:transform .2s ease-in-out}._1mdhlqv5:not(#\#):not(#\#):not(#\#):not(#\#){transform:rotate(180deg)}._1mdhlqv6:not(#\#):not(#\#):not(#\#):not(#\#){flex:1}._1mdhlqv7:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}._1mdhlqv8:not(#\#):not(#\#):not(#\#):not(#\#){max-height:inherit;min-width:64px;outline:1px solid var(--bui-color-border-subtle);outline-offset:-1px;overflow:hidden;overflow-y:auto;position:relative;width:var(--_1mdhlqv0)}._1mdhlqv8:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-ListBox-Section{padding-block:var(--bui-spacing-md)}._1mdhlqv8.BaselineUI-ListBox:not(:has(.BaselineUI-ListBox-Section)):not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--bui-spacing-md)}._1gzftth2:not(#\#):not(#\#):not(#\#):not(#\#){transform:rotate(180deg) translate(-50%,8px);transform-origin:left}._1gzftth3:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0;transform:translate(-50%,8px)}._1gzftth4:not(#\#):not(#\#):not(#\#):not(#\#){transform:rotate(90deg) translate(-50%,11px)}._1gzftth5:not(#\#):not(#\#):not(#\#):not(#\#){right:0;transform:rotate(-90deg) translate(50%,11px);transform-origin:center}._1gzftth6:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex:1;max-height:inherit;overflow-y:auto}._1gzftth1:not(#\#){min-width:max-content}._1gzftth1[data-placement=bottom]:not(#\#),._1gzftth1[data-placement=top]:not(#\#){width:var(--_1gzftth0)}.xyd2ss0:not(#\#):not(#\#):not(#\#):not(#\#){list-style:none}.xyd2ss1:not(#\#):not(#\#):not(#\#):not(#\#){list-style:none;max-height:inherit;min-width:150px;overflow-y:auto;width:-moz-fit-content;width:fit-content}.xyd2ss1:not(:has(.xyd2ss0)):not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--bui-spacing-md)}._13f0naj0:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-primary);cursor:pointer;outline:none;transition:color .2s}._13f0naj0:visited:not([aria-disabled=true]):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-visited)}._13f0naj1:not(#\#):not(#\#):not(#\#):not(#\#){text-decoration:none}._13f0naj2:not(#\#):not(#\#):not(#\#):not(#\#){text-decoration:underline}._13f0naj3:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-hovered)}._13f0naj4:not(#\#):not(#\#):not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary)}._13f0naj5:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled);cursor:not-allowed}._13f0najc:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary);outline:2px solid var(--bui-color-focused-primary)}._13f0najd:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._13f0naje:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-regular-font);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing)}._13f0najf:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-lg-regular-font);letter-spacing:var(--bui-typography-body-lg-regular-letter-spacing)}._13f0najg:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._13f0najh:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._13f0naji:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing)}._180w5ed0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:var(--bui-spacing-md);height:100px;justify-content:center;padding:var(--bui-spacing-xl);text-align:center}._180w5ed1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle);width:100%}._180w5ed2:not(#\#):not(#\#):not(#\#):not(#\#){border:1px dashed var(--bui-color-border-medium);border-radius:var(--bui-rounded-sm)}._180w5ed3:not(#\#):not(#\#):not(#\#):not(#\#){outline:none}._180w5ed4:not(#\#):not(#\#):not(#\#):not(#\#){background-color:unset;pointer-events:none}._180w5ed5:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-interactive)}._180w5ed6:not(#\#):not(#\#):not(#\#):not(#\#){border:2px solid var(--bui-color-border-interactive)}._180w5ed7:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-border-disabled)}._180w5ed8:not(#\#):not(#\#):not(#\#):not(#\#){border:1px dashed var(--bui-color-border-disabled)}._180w5ed9:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-secondary)}._180w5eda:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-disabled)}._180w5edb:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-interactive-primary);cursor:inherit;font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._180w5edc:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._180w5edd:not(#\#):not(#\#):not(#\#):not(#\#){text-decoration:underline}._180w5ede:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-helper);font:var(--bui-typography-label-md-regular-font);letter-spacing:var(--bui-typography-label-md-regular-letter-spacing)}._180w5edf:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._12vfhl40:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}._12vfhl41:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:space-between}._12vfhl42:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing);padding-bottom:var(--bui-spacing-sm)}._12vfhl43:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary)}._12vfhl44:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:0}._12vfhl45:not(#\#):not(#\#):not(#\#):not(#\#){padding:var(--bui-spacing-md) 0}._12vfhl46:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;gap:var(--bui-spacing-md);height:16px}._12vfhl47:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-strong);height:4px;width:100%}._12vfhl48:not(#\#):not(#\#):not(#\#):not(#\#){height:4px}._12vfhl49:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-medium)}._12vfhl4a:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-medium)}._12vfhl4b:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-medium)}._9b1tml0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;align-self:flex-start;background-color:var(--bui-color-background-secondary-subtle);border:none;border-radius:var(--bui-rounded-sm);cursor:pointer;display:inline-flex;flex-direction:row;gap:var(--bui-spacing-xs);outline:none;padding:var(--bui-spacing-xs);transition:background-color .2s ease}._9b1tml1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-interactive)}._9b1tml2:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._9b1tml5:not(#\#):not(#\#):not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary)}._9b1tml6:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-subtle);box-shadow:inset 0 0 0 1px var(--bui-color-icon-disabled);cursor:default}._9b1tml7:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-focused-inset);padding:1px}._9b1tml8:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-hovered)}._9b1tml9:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium)}._9b1tmla:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled);color:var(--bui-color-text-inverse)}._9b1tmlb:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled);box-shadow:inset 0 0 0 1px var(--bui-color-border-inverse)}._9b1tmlc:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-subtle);border-radius:var(--bui-rounded-xs);color:var(--bui-color-icon-primary);display:flex;padding:var(--bui-spacing-xs)}._9b1tmld:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-icon-disabled)}._9b1tmle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-icon-primary);color:var(--bui-color-icon-inverse)}._9b1tmlf:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;color:var(--bui-color-text-primary);display:flex;font:var(--bui-typography-body-lg-regular-font);font-variant-numeric:tabular-nums;letter-spacing:var(--bui-typography-body-lg-regular-letter-spacing);padding:0 var(--bui-spacing-md);transition:color .2s ease}._9b1tmlh:not(#\#):not(#\#):not(#\#):not(#\#){height:20px}._9b1tmli:not(#\#):not(#\#):not(#\#):not(#\#){height:24px}._9b1tmlk:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary)}._9b1tmll:not(#\#):not(#\#):not(#\#):not(#\#),._9b1tmlm:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-inverse)}._9b1tmln:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._1jwycy80:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom:8px solid;border-left:7px solid transparent;border-right:7px solid transparent;height:0;position:absolute;width:0}._1jwycy81:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(-50%,-7px)}._1jwycy82:not(#\#):not(#\#):not(#\#):not(#\#){right:0;transform:translate(10px,-50%) rotate(90deg)}._1jwycy83:not(#\#):not(#\#):not(#\#):not(#\#){left:0;transform:translate(-10px,-50%) rotate(270deg)}._1jwycy84:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0;transform:translate(-50%,7px) rotate(180deg)}._1jwycy85:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-color:var(--bui-color-background-inverse-strong)}._1jwycy86:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-color:var(--bui-color-background-primary-subtle)}._1jwycy87:not(#\#){max-inline-size:35ch}@keyframes _1azy5683{0%{stroke-dasharray:1px calc(var(--_1azy5680) - 1px);stroke-dashoffset:0}50%{stroke-dasharray:calc(var(--_1azy5680)*.75) calc(var(--_1azy5680)*.25);stroke-dashoffset:calc(var(--_1azy5680)*-.25)}to{stroke-dasharray:1px calc(var(--_1azy5680) - 1px);stroke-dashoffset:calc(var(--_1azy5680)*-1)}}@keyframes _1azy5684{0%{transform:rotate(0)}to{transform:rotate(1turn)}}._1azy5681:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;gap:var(--bui-spacing-md)}._1azy5682:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex}._1azy5685:not(#\#):not(#\#):not(#\#):not(#\#){fill:none;stroke-width:3;stroke:var(--bui-color-interactive-primary);animation:_1azy5683 1.5s ease-in-out infinite,_1azy5684 2s linear infinite;transform-origin:center}._1azy5686:not(#\#):not(#\#):not(#\#):not(#\#){fill:none;stroke-width:3;stroke:var(--bui-color-border-medium);position:absolute}._1azy5687:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-medium)}._1azy5688:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}._1azy5689:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-sm-medium-font);letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._5uw3kp0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;background-color:var(--bui-color-background-primary-subtle);border-radius:0;color:var(--bui-color-text-primary);cursor:pointer;gap:var(--bui-spacing-md);outline:none}._5uw3kp0:active:not(#\#):not(#\#):not(#\#):not(#\#),._5uw3kp1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-primary-medium)}._5uw3kp2:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._5uw3kp3:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled);cursor:not-allowed}._5uw3kp4:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);color:var(--bui-color-text-inverse)}._5uw3kp5:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing);min-height:40px;padding:var(--bui-spacing-md) var(--bui-spacing-lg)}._5uw3kp6:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing);min-height:48px;padding:var(--bui-spacing-lg)}._5uw3kp7:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary),inset 0 0 0 3px var(--bui-color-focused-inset)}._16vugd04:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--_16vugd00);border:none}._16vugd05:not(#\#):not(#\#):not(#\#):not(#\#){--_16vugd00:var(--bui-color-icon-primary);align-items:center;border:1px solid var(--_16vugd00);border-radius:var(--bui-rounded-xs);color:var(--bui-color-icon-inverse);cursor:pointer;display:flex;height:16px;justify-content:center;transition:background-color .2s ease-in-out;width:16px}._16vugd08:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:0 0 0 1px var(--bui-color-focused-inset),0 0 0 3px var(--bui-color-focused-primary)}._16vugd09:not(#\#):not(#\#):not(#\#):not(#\#){--_16vugd00:var(--bui-color-icon-interactive)}._16vugd0a:not(#\#):not(#\#):not(#\#):not(#\#),._16vugd0b:not(#\#):not(#\#):not(#\#):not(#\#){--_16vugd00:var(--bui-color-icon-disabled);cursor:not-allowed;pointer-events:none}._16vugd0b:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:1px solid var(--bui-color-icon-disabled);color:var(--bui-color-icon-primary)}._16vugd0c:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-support-error-medium)}._16vugd0d:not(#\#):not(#\#):not(#\#):not(#\#){border:none}._16vugd0e:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._16vugd0f:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._1nsi9h10:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;background-color:var(--bui-color-background-primary-subtle);border-radius:var(--bui-rounded-sm);display:inline-flex;flex-direction:row;font:var(--bui-typography-label-lg-medium-font);letter-spacing:var(--bui-typography-label-lg-medium-letter-spacing)}._1nsi9h11:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--bui-rounded-xs);font:var(--bui-typography-label-sm-medium-font);height:24px;letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing)}._1nsi9h12:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-label-md-medium-font);height:32px;letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._1nsi9h13:not(#\#):not(#\#):not(#\#):not(#\#){height:40px}._1nsi9h14:not(#\#):not(#\#):not(#\#):not(#\#){height:48px}._1nsi9h15:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-border-subtle);box-shadow:var(--bui-elevation-medium)}._1nsi9h16:not(#\#):not(#\#):not(#\#):not(#\#){width:250px}._1nsi9h17:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;gap:var(--bui-spacing-sm);height:inherit;padding:0 var(--bui-spacing-md)}._1nsi9h18:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._1nsi9h19:not(#\#):not(#\#):not(#\#):not(#\#){flex:1;justify-content:center}._1nsi9h1b:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:none;color:var(--bui-color-text-primary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;outline:none}._1nsi9h1c:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-placeholder)}._1f789qj0:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;gap:var(--bui-spacing-md)}._1f789qjj:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;gap:var(--bui-spacing-sm)}._1f789qjk:not(#\#):not(#\#):not(#\#):not(#\#){all:unset;border-radius:var(--bui-rounded-full);cursor:pointer;display:inline-flex;padding:var(--bui-spacing-sm);transition:background-color .2s ease-in-out}._1f789qjr:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._1f789qjs:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtler)}._1f789qjt:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtler)}._1f789qju:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtler)}._1f789qjv:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-medium)}._1f789qj1:not(#\#){border-radius:24px;font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing);outline:none;padding:var(--bui-spacing-sm) var(--bui-spacing-md);transition:background-color .2s ease-in-out;width:-moz-fit-content;width:fit-content}._1f789qj2:not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:1px}._1f789qj3:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-medium);color:var(--bui-color-text-primary)}._1f789qj4:not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtle);color:var(--bui-color-support-error-strong)}._1f789qj5:not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtle);color:var(--bui-color-support-success-strong)}._1f789qj6:not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtle);color:var(--bui-color-support-info-strong)}._1f789qj7:not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-strong);color:var(--bui-color-text-inverse)}._1f789qj8:not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle);color:var(--bui-color-text-disabled);cursor:not-allowed}._1f789qj9:not(#\#):not(#\#){padding:var(--bui-spacing-xs);padding-left:var(--bui-spacing-md)}._1f789qja:not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);color:var(--bui-color-text-inverse)}._1f789qjb:not(#\#):not(#\#){cursor:pointer}._1f789qjd:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-secondary-subtle)}._1f789qje:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtler)}._1f789qjf:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtler)}._1f789qjg:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtler)}._1f789qjh:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-background-inverse-medium)}._1f789qji:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-hovered)}._1kvz17d1:not(#\#):not(#\#):not(#\#):not(#\#){transform:rotate(90deg)}._1kvz17d2:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:inset 0 1px 0 var(--bui-color-border-medium);cursor:pointer;height:40px;outline:none}._1kvz17d3:not(#\#):not(#\#):not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-2px}._1kvz17dc:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}._1kvz17dd:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}._1kvz17da{all:unset}._1017q4c0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;background-color:var(--bui-color-icon-secondary);border-radius:var(--bui-rounded-full);color:var(--bui-color-icon-inverse);display:flex;font:var(--bui-typography-label-sm-medium-font);justify-content:center;letter-spacing:var(--bui-typography-label-sm-medium-letter-spacing);position:relative}._1017q4c1:not(#\#):not(#\#):not(#\#):not(#\#){height:24px;width:24px}._1017q4c2:not(#\#):not(#\#):not(#\#):not(#\#){height:16px;width:16px}._1017q4c3:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--bui-opacity-medium)}._1017q4c4:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--bui-rounded-full);height:100%;object-fit:cover;overflow:hidden;width:100%}._1017q4c5:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-medium);border:2px solid var(--bui-color-border-subtle);border-radius:var(--bui-rounded-full);bottom:-4px;height:12px;position:absolute;right:-4px;width:12px}._1x62fhbf:not(#\#):not(#\#):not(#\#):not(#\#){border-left:1px solid var(--bui-color-border-medium);flex-shrink:0}._1x62fhbf:first-of-type:not(#\#):not(#\#):not(#\#):not(#\#){border-left:none}._1x62fhb0:not(#\#){height:40px;overflow-x:auto}._1x62fhb6:not(#\#){text-wrap:nowrap}._1x62fhb9:not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._1x62fhba:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}._1x62fhbb:not(#\#):not(#\#){border-right:1px solid var(--bui-color-border-medium)}._1x62fhbd:not(#\#):not(#\#):not(#\#){box-shadow:inset 0 -2px 0 0 var(--bui-color-interactive-primary)}._1x62fhbe:not(#\#):not(#\#):not(#\#){box-shadow:inset 0 -2px 0 0 var(--bui-color-interactive-disabled)}.kfun6y0:not(#\#):not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-lg);padding:0 var(--bui-spacing-lg);padding-right:0;width:100%}.kfun6y1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-info-subtler)}.kfun6y2:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-warning-subtler)}.kfun6y3:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-error-subtler)}.kfun6y4:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-support-success-subtler)}.kfun6y5:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;justify-content:space-between;min-height:44px}.kfun6y6:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:space-between}.kfun6y7:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column-reverse;gap:0;padding:var(--bui-spacing-lg);width:240px}.kfun6ya:not(#\#):not(#\#):not(#\#):not(#\#),.kfun6yb:not(#\#):not(#\#):not(#\#):not(#\#){padding:var(--bui-spacing-lg)}.kfun6yc:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:0;padding-top:0}.kfun6yd:not(#\#):not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-lg)}.kfun6ye:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}.kfun6yf:not(#\#):not(#\#):not(#\#):not(#\#){margin:var(--bui-spacing-lg) 0}.kfun6yg:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column}.kfun6yh:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary)}.kfun6yi:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-semibold-font);letter-spacing:var(--bui-typography-body-sm-semibold-letter-spacing)}.kfun6yj:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-semibold-font);letter-spacing:var(--bui-typography-body-md-semibold-letter-spacing)}.kfun6yk:not(#\#):not(#\#):not(#\#):not(#\#){flex-shrink:0}.kfun6yl:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-info-medium)}.kfun6ym:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-warning-medium)}.kfun6yn:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-error-medium)}.kfun6yo:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-support-success-medium)}.kfun6yp:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;padding:var(--bui-spacing-sm) 0}.kfun6yr:not(#\#):not(#\#):not(#\#):not(#\#){align-items:flex-start}.kfun6ys:not(#\#):not(#\#):not(#\#):not(#\#){align-self:flex-end;padding:0}.kfun6yt:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-primary)}.kfun6yu:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}.kfun6yv:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-md-regular-font);letter-spacing:var(--bui-typography-body-md-regular-letter-spacing)}.kfun6yw:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex-direction:row;gap:0}.kfun6yx:not(#\#):not(#\#):not(#\#):not(#\#){gap:var(--bui-spacing-sm)}.kfun6yy:not(#\#):not(#\#):not(#\#):not(#\#),.kfun6yz:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column}.siobe23:not(#\#):not(#\#):not(#\#):not(#\#){min-height:48px}.siobe20:not(#\#){max-height:80vh;overflow:hidden}.aml2vl0:not(#\#){inset:0;position:fixed;z-index:1000}.aml2vl2:not(#\#):not(#\#){align-items:flex-end}.cjv3et0:not(#\#){outline:none;overflow:hidden;width:calc(100vw - var(--bui-spacing-xl)*2)}@media screen and (min-width:768px){.cjv3et0:not(#\#){width:calc(100vw - var(--bui-spacing-2-xl)*2)}}@media screen and (min-width:1280px){.cjv3et0:not(#\#){width:100vw}}.cjv3et1:not(#\#):not(#\#){max-width:240px}.cjv3et2:not(#\#):not(#\#){max-width:480px}.cjv3et3:not(#\#):not(#\#){max-width:720px}.cjv3et4:not(#\#):not(#\#){width:unset}.cjv3et7:not(#\#):not(#\#){max-width:100vw}@keyframes _1dbkl515{0%{transform:translate(0)}20%{transform:translate(-2px)}40%{transform:translate(2px)}60%{transform:translate(-2px)}80%{transform:translate(2px)}to{transform:translate(0)}}._1dbkl53:not(#\#):not(#\#):not(#\#):not(#\#){border-top-left-radius:var(--bui-rounded-sm);border-top-right-radius:var(--bui-rounded-sm);height:120px}._1dbkl5e:not(#\#):not(#\#):not(#\#):not(#\#){height:4px;width:100%}._1dbkl5f:not(#\#):not(#\#):not(#\#):not(#\#){font-variant-numeric:tabular-nums}._1dbkl5g:not(#\#):not(#\#):not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:1px}._1dbkl5n:not(#\#):not(#\#):not(#\#):not(#\#):before{border:1px solid var(--bui-color-border-medium);border-radius:var(--bui-rounded-full);content:"";inset:0;mix-blend-mode:multiply;position:absolute}._1dbkl5o:not(#\#):not(#\#):not(#\#):not(#\#){max-width:240px}._1dbkl5r:not(#\#):not(#\#):not(#\#):not(#\#){min-width:max-content}._1dbkl5s:not(#\#):not(#\#):not(#\#):not(#\#){list-style:none}._1dbkl5t:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(6,1fr)}._1dbkl5u:not(#\#):not(#\#):not(#\#):not(#\#){height:12px}._1dbkl5v:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}._1dbkl513:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:-1px}._1dbkl513[data-focus-visible]:not(#\#):not(#\#):not(#\#):not(#\#),._1dbkl513[data-hovered]:not(#\#):not(#\#):not(#\#):not(#\#){z-index:9}._1dbkl514:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-NumberInput:not(:first-of-type){margin-inline-start:-1px}._1dbkl514:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-NumberInput:not(:first-of-type):not(:last-of-type) .BaselineUI-NumberInput-Container{border-radius:0}._1dbkl514:not(:has(._1dbkl5z)):not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-NumberInput:first-of-type .BaselineUI-NumberInput-Container{border-bottom-right-radius:0;border-top-right-radius:0}._1dbkl514:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-NumberInput:last-of-type .BaselineUI-NumberInput-Container{border-bottom-left-radius:0;border-top-left-radius:0}._1dbkl516:not(#\#):not(#\#):not(#\#):not(#\#){animation-duration:.2s;animation-name:_1dbkl515}._1dbkl55:not(#\#):not(#\#){box-shadow:inset 0 0 0 1px var(--bui-color-border-medium)}._1dbkl56:not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._1dbkl58:not(#\#):not(#\#){width:-moz-fit-content;width:fit-content}._1dbkl5i:not(#\#):not(#\#){box-shadow:0 0 0 4px var(--bui-color-focused-inset),0 0 0 6px var(--bui-color-focused-primary)}._1dbkl5k:not(#\#):not(#\#):before{mix-blend-mode:normal}._1dbkl5x:not(#\#):not(#\#){border-width:3px;outline-offset:-2px}._1dbkl510:not(#\#):not(#\#){box-shadow:inset 0 0 0 1px var(--bui-color-focused-primary);z-index:99}._1dbkl511:not(#\#):not(#\#){z-index:9}._1dbkl5a{all:unset}._1dbkl54:not(#\#){background-color:initial}._1dbkl5a:not(#\#){box-sizing:border-box;min-height:32px;min-width:32px}._1dbkl5h:not(#\#){height:16px;width:16px}._1dbkl5p:not(#\#){max-height:inherit;max-width:240px;overflow-y:auto}._1dbkl5w:not(#\#){border-color:var(--bui-color-positive-subtle);box-shadow:0 0 4px #0006;height:12px;overflow:hidden;top:6px;width:12px}._1dbkl5z:not(#\#){background-color:initial;border-width:1px;height:32px;width:154px}.mnnh5s0:not(#\#):not(#\#):not(#\#):not(#\#){background:repeating-conic-gradient(transparent 0 25%,var(--bui-color-background-secondary-medium) 25% 50%);background-size:16px 16px}.mnnh5sa:not(#\#):not(#\#):not(#\#):not(#\#){height:100%;object-fit:contain;width:100%}.mnnh5sd:not(#\#):not(#\#):not(#\#):not(#\#){opacity:.5}.mnnh5s1:not(#\#){min-height:100px;overflow:hidden}.mnnh5s1:not(#\#):after{background-color:initial;content:""}.mnnh5s2:not(#\#):not(#\#){min-width:208px}.mnnh5s8:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}.mnnh5s9:not(#\#):not(#\#):not(#\#):after{background:var(--bui-color-background-overlay-medium);content:"";inset:0;position:absolute;transition:background-color .2s}._1i0ytqa0:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center;display:flex;flex-direction:column}._1i0ytqa1:not(#\#){height:40px}._1i0ytqa3:not(#\#){touch-action:none}._1i0ytqa7:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}._1i0ytqa8:not(#\#):not(#\#){cursor:crosshair}._1i0ytqad:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}._1i0ytqa9:not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 1px var(--bui-color-focused-primary)}._1i0ytqaa:not(#\#):not(#\#):not(#\#){box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._1vac7ws0:not(#\#):not(#\#):not(#\#):not(#\#){cursor:move}._1vac7ws1:not(#\#):not(#\#):not(#\#):not(#\#) ._1vac7ws2 .moveable-control,._1vac7ws1:not(#\#):not(#\#):not(#\#):not(#\#) ._1vac7ws2 .moveable-rotation{display:none}._1vm2oh49:not(#\#):not(#\#):not(#\#):not(#\#){right:var(--bui-spacing-sm);top:var(--bui-spacing-sm)}._1vm2oh40:not(#\#){transition-property:outline-color,background-color}._1vm2oh48{all:unset}.cw3m0n3:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--bui-rounded-full);color:var(--bui-color-icon-primary)}.cw3m0n3:hover:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-interactive);color:var(--bui-color-icon-interactive)}.cw3m0n7:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor;border-radius:var(--bui-rounded-full);height:8px;width:8px}.xvr3wn0:not(#\#):not(#\#):not(#\#):not(#\#){overflow-x:auto}.xvr3wn1:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}._1j5skr70{all:unset}._1j5skr71:not(#\#){aspect-ratio:1/1;height:-moz-fit-content;height:fit-content}._1j5skr72:not(#\#):not(#\#){min-height:16px}._1j5skr73:not(#\#):not(#\#){min-height:24px}._1j5skr74:not(#\#):not(#\#){min-height:32px}._1j5skr75:not(#\#):not(#\#){min-height:40px}._1j5skr76:not(#\#):not(#\#){min-height:48px}._1j5skr7b:not(#\#):not(#\#){background-color:var(--bui-color-interactive-disabled)}._1j5skr7c:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary)}._1j5skr7e:not(#\#):not(#\#):not(#\#){outline-offset:-3px}._1j5skr7k:not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-interactive-primary);outline-offset:-3px}.f6jv6b9:not(#\#):not(#\#):not(#\#):not(#\#){height:40px;overflow-x:auto;scrollbar-width:thin}.f6jv6ba:not(#\#):not(#\#):not(#\#):not(#\#){word-wrap:break-word;box-sizing:border-box;overflow:hidden;resize:none;white-space:pre-wrap;z-index:9}.f6jv6ba:not(#\#):not(#\#):not(#\#):not(#\#)::-ms-input-placeholder{color:var(--bui-color-text-placeholder);font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}.f6jv6ba:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--bui-color-text-placeholder);font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}.f6jv6ba:disabled:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}.f6jv6be:not(#\#):not(#\#):not(#\#):not(#\#){box-sizing:border-box;min-height:40px;overflow:scroll;padding-block:12px}.f6jv6bi:not(#\#):not(#\#):not(#\#):not(#\#){min-width:250px;overflow:auto}.f6jv6b4:not(#\#):not(#\#):not(#\#):not(#\#) span[data-user-id]{background-color:var(--bui-color-background-primary-strong);border-radius:var(--bui-rounded-sm);color:var(--bui-color-interactive-primary);cursor:pointer;display:inline-block;padding:0 var(--bui-spacing-xs)}.f6jv6b4:not(#\#):not(#\#):not(#\#):not(#\#) a{text-decoration:underline}.f6jv6bk:not(#\#):not(#\#):not(#\#):not(#\#){min-height:48px}.f6jv6bj[data-drawer=true]:not(#\#):not(#\#):not(#\#):not(#\#) .f6jv6bk,.f6jv6bj[data-drawer=true]:not(#\#):not(#\#):not(#\#):not(#\#) .f6jv6bl{display:none}.f6jv6bm:not(#\#):not(#\#):not(#\#):not(#\#){border-top:1px solid var(--bui-color-border-subtle)}.f6jv6b0[aria-disabled=true]:not(#\#){cursor:not-allowed;pointer-events:none}.f6jv6b4:not(#\#){cursor:text}.f6jv6b6:hover:not(#\#){z-index:9}.f6jv6b6:focus-visible:not([data-mention-open=true]):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-1px;z-index:9}.f6jv6bb:has([data-focused]):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-1px}.f6jv6bf:not(#\#){min-height:48px}.f6jv6b5:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}.f6jv6b7:hover:not(:focus):not(#\#):not(#\#){outline:1px solid var(--bui-color-border-strong)}.f6jv6b8:hover:not(:focus):not(#\#):not(#\#){box-shadow:0 -1px 1px -1px var(--bui-color-border-strong),0 1px 1px -1px var(--bui-color-border-strong)}.f6jv6ba{all:unset}._8kqf970:not(#\#):not(#\#):not(#\#):not(#\#){bottom:var(--bui-spacing-lg);height:-moz-fit-content;height:fit-content;margin-left:50%;position:absolute;text-align:center;white-space:nowrap}._8kqf970{all:unset}._8kqf970:not(#\#):not(#\#){overflow:unset}._1v0p2z10:not(#\#):not(#\#):not(#\#):not(#\#){min-height:48px}@keyframes _1t55bp72{0%{opacity:0}}._1t55bp70:not(#\#):not(#\#):not(#\#):not(#\#) a{color:var(--bui-color-interactive-primary)}._1t55bp71:not(#\#):not(#\#):not(#\#):not(#\#)>:is(ul,ol):last-child>li:last-child:not(:has(*>li)):after,._1t55bp71:not(#\#):not(#\#):not(#\#):not(#\#)>:not(ol,ul,pre):last-child:after,._1t55bp71:not(#\#):not(#\#):not(#\#):not(#\#)>pre:last-child code:after{animation:_1t55bp72 1s steps(2) infinite;color:var(--bui-color-interactive-primary);content:"\2502"}.rta2n90:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-Thumb{background-color:initial;height:12px;margin-top:1.5px;transition:background-color .2s ease-in;width:12px}.rta2n90:focus-within:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-Thumb,.rta2n90:hover:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-Thumb{background-color:var(--bui-color-interactive-primary)}.rta2n90:not(:hover):not(:focus-within):not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-Thumb{background-color:initial}.rta2n90:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-Track{border-radius:0;height:4px}.rta2n90:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Slider-TrackHighlight{background-color:var(--bui-color-interactive-primary);border-radius:0;height:100%}.rta2n91:not(#\#):not(#\#):not(#\#):not(#\#){font-variant-numeric:tabular-nums}._96lriw1:not(#\#):not(#\#):not(#\#):not(#\#){height:inherit}._96lriw3:not(#\#):not(#\#):not(#\#):not(#\#){font-family:Caveat Bold;font-size:30px;font-weight:700;outline:none;text-align:center}._96lriw4:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-focused-primary);box-shadow:inset 0 0 0 2px var(--bui-color-focused-primary)}._96lriw6:not(#\#):not(#\#):not(#\#):not(#\#){border:none}._96lriw7:not(#\#):not(#\#):not(#\#):not(#\#){border-style:solid;border-width:1px;height:80px}._96lriw9:not(#\#):not(#\#):not(#\#):not(#\#){height:32px}._96lriwa:not(#\#):not(#\#):not(#\#):not(#\#){height:40px}.jzfzia0:not(#\#):not(#\#):not(#\#):not(#\#){border-top-left-radius:4px;border-top-right-radius:4px;cursor:pointer;position:absolute;transform:translateY(-100%);transform-origin:top left;transition:scale .2s ease-in-out;z-index:99999}.jzfzia0:hover:not(#\#):not(#\#):not(#\#):not(#\#){scale:1.2;z-index:999999}.jzfzia1:not(#\#):not(#\#):not(#\#):not(#\#){border-style:solid;border-width:1px;height:48px;position:absolute;width:300px}.jzfzia2:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.jzfzia3:not(#\#):not(#\#):not(#\#):not(#\#){all:unset;align-items:center;cursor:move;display:flex;height:100%}.jzfzia4:not(#\#):not(#\#):not(#\#):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-2px}.jzfzia5:not(#\#):not(#\#):not(#\#):not(#\#){rotate:-90deg}.ci407h1:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex-direction:column}.ci407h2:not(#\#):not(#\#):not(#\#):not(#\#){display:flex;flex-direction:row}.ci407h3:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}.ci407h4:not(#\#):not(#\#):not(#\#):not(#\#){background-image:repeating-conic-gradient(transparent 0 25%,var(--bui-color-background-secondary-medium) 25% 50%)}.ci407h5:not(#\#):not(#\#):not(#\#):not(#\#){background-size:4px 4px}.ci407h6:not(#\#):not(#\#):not(#\#):not(#\#){background-size:6px 6px}.ci407h0{display:contents}.ci407h7{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1ggdj8b1:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;cursor:pointer}._1ggdj8b2:not(#\#):not(#\#):not(#\#):not(#\#){outline:none}._1ggdj8b4:not(#\#):not(#\#):not(#\#):not(#\#){transition:transform .2s ease-in-out}._1ggdj8b5:not(#\#):not(#\#):not(#\#):not(#\#){transform:rotate(180deg)}._1ggdj8b6:not(#\#):not(#\#):not(#\#):not(#\#){flex:1}._1ggdj8b7:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}._1ggdj8b8:not(#\#):not(#\#):not(#\#):not(#\#){max-height:inherit;min-width:64px;outline:1px solid var(--bui-color-border-subtle);outline-offset:-1px;overflow:hidden;overflow-y:auto;position:relative;width:var(--_1ggdj8b0)}._1ggdj8b8:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-ListBox-Section{padding-block:var(--bui-spacing-md)}._1ggdj8b8.BaselineUI-ListBox:not(:has(.BaselineUI-ListBox-Section)):not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--bui-spacing-md)}._1q3oi659:not(#\#):not(#\#):not(#\#):not(#\#){height:40px;overflow-x:auto;scrollbar-width:thin}._1q3oi65a:not(#\#):not(#\#):not(#\#):not(#\#){word-wrap:break-word;box-sizing:border-box;overflow:hidden;resize:none;white-space:pre-wrap;z-index:9}._1q3oi65a:not(#\#):not(#\#):not(#\#):not(#\#)::-ms-input-placeholder{color:var(--bui-color-text-placeholder);font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1q3oi65a:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--bui-color-text-placeholder);font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1q3oi65a:disabled:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}._1q3oi65e:not(#\#):not(#\#):not(#\#):not(#\#){box-sizing:border-box;min-height:40px;overflow:scroll;padding-block:12px}._1q3oi65i:not(#\#):not(#\#):not(#\#):not(#\#){min-width:250px;overflow:auto}._1q3oi654:not(#\#):not(#\#):not(#\#):not(#\#) span[data-user-id]{background-color:var(--bui-color-background-primary-strong);border-radius:var(--bui-rounded-sm);color:var(--bui-color-interactive-primary);cursor:pointer;display:inline-block;padding:0 var(--bui-spacing-xs)}._1q3oi654:not(#\#):not(#\#):not(#\#):not(#\#) a{text-decoration:underline}._1q3oi65k:not(#\#):not(#\#):not(#\#):not(#\#){min-height:48px}._1q3oi65j[data-drawer=true]:not(#\#):not(#\#):not(#\#):not(#\#) ._1q3oi65k,._1q3oi65j[data-drawer=true]:not(#\#):not(#\#):not(#\#):not(#\#) ._1q3oi65l{display:none}._1q3oi65m:not(#\#):not(#\#):not(#\#):not(#\#){border-top:1px solid var(--bui-color-border-subtle)}._1q3oi650[aria-disabled=true]:not(#\#){cursor:not-allowed;pointer-events:none}._1q3oi654:not(#\#){cursor:text}._1q3oi656:hover:not(#\#){z-index:9}._1q3oi656:focus-visible:not([data-mention-open=true]):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-1px;z-index:9}._1q3oi65b:has([data-focused]):not(#\#){outline:2px solid var(--bui-color-focused-primary);outline-offset:-1px}._1q3oi65f:not(#\#){min-height:48px}._1q3oi655:not(#\#):not(#\#){cursor:not-allowed;pointer-events:none}._1q3oi657:hover:not(:focus):not(#\#):not(#\#){outline:1px solid var(--bui-color-border-strong)}._1q3oi658:hover:not(:focus):not(#\#):not(#\#){box-shadow:0 -1px 1px -1px var(--bui-color-border-strong),0 1px 1px -1px var(--bui-color-border-strong)}._1q3oi65a{all:unset}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) p{display:block}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) [data-user-id]:before{content:"@"}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) [data-user-id]{background-color:var(--bui-color-background-primary-strong);border-radius:var(--bui-rounded-sm);color:var(--bui-color-interactive-primary);cursor:pointer;display:inline-block;padding:0 var(--bui-spacing-xs)}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) a{color:var(--bui-color-interactive-primary)}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) a:hover{color:var(--bui-color-interactive-hovered)}.oub0v67:not(#\#):not(#\#):not(#\#):not(#\#) a:focus-visible{outline:2px solid var(--bui-color-focused-primary)}.oub0v60:not(#\#){height:-moz-fit-content;height:fit-content}.x0o33h4:not(#\#):not(#\#):not(#\#):not(#\#){height:56px}.x0o33h5:not(#\#):not(#\#):not(#\#):not(#\#){height:40px}.x0o33h6:not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-gutter:stable;overflow-y:auto}.x0o33h7:not(#\#):not(#\#):not(#\#):not(#\#){grid-auto-rows:132px;grid-template-columns:1fr;height:251px}.x0o33h8:not(#\#):not(#\#):not(#\#):not(#\#){grid-auto-rows:108px;grid-template-columns:1fr}@media screen and (min-width:768px){.x0o33h4:not(#\#):not(#\#):not(#\#):not(#\#){height:72px}.x0o33h7:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:1fr 1fr;height:424px}}._1pebngc4:not(#\#):not(#\#):not(#\#):not(#\#){height:48px}._1pebngc5:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom:1px solid var(--bui-color-border-medium)}._1pebngc6:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}._1pebngc7:not(#\#):not(#\#):not(#\#):not(#\#){height:291px}._1pebngca:not(#\#):not(#\#):not(#\#):not(#\#){height:40px;padding-top:0}._1pebngcb:not(#\#):not(#\#):not(#\#):not(#\#){height:40px}._1pebngce:not(#\#):not(#\#):not(#\#):not(#\#){height:auto}._1pebngch:not(#\#):not(#\#):not(#\#):not(#\#){max-width:600px}._1pebngcn:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--bui-spacing-xl)}._1pebngco:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--bui-spacing-sm)}._1pebngct:not(#\#):not(#\#):not(#\#):not(#\#){height:123px}._1pebngcu:not(#\#):not(#\#):not(#\#):not(#\#){height:100px}._1pebngcz:not(#\#):not(#\#):not(#\#):not(#\#){height:48px}._1pebngc10:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-positive-strong);border:none;border-radius:0;flex-basis:auto;height:60px}._1pebngc11:not(#\#):not(#\#):not(#\#):not(#\#){border-top:1px solid var(--bui-color-border-medium)}._1pebngc12:not(#\#):not(#\#):not(#\#):not(#\#){font-size:24px}._1pebngc13:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom:1px solid var(--bui-color-border-medium);height:48px}._1pebngc13:last-of-type:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom:none}._1pebngc14:not(#\#):not(#\#):not(#\#):not(#\#){display:grid;gap:0;grid-template-columns:repeat(1,1fr)}._1pebngc19:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:row-reverse;max-width:600px}._1pebngc1:has([data-key=TYPE][aria-selected=true]):not(#\#):not(#\#):not(#\#):not(#\#) [data-block-id=footer]{box-shadow:inset 0 1px 0 0 var(--bui-color-border-medium)}@media screen and (min-width:768px){._1pebngc7:not(#\#):not(#\#):not(#\#):not(#\#){height:424px}._1pebngca:not(#\#):not(#\#):not(#\#):not(#\#){height:48px;padding-top:var(--bui-spacing-md)}._1pebngcb:not(#\#):not(#\#):not(#\#):not(#\#){height:48px}._1pebngct:not(#\#):not(#\#):not(#\#):not(#\#){height:248px}._1pebngcu:not(#\#):not(#\#):not(#\#):not(#\#){height:200px}._1pebngcz:not(#\#):not(#\#):not(#\#):not(#\#){height:80px}._1pebngc10:not(#\#):not(#\#):not(#\#):not(#\#){height:152px}._1pebngc13:not(#\#):not(#\#):not(#\#):not(#\#){border-right:1px solid var(--bui-color-border-medium);height:79.5px}._1pebngc13:nth-of-type(2n):not(#\#):not(#\#):not(#\#):not(#\#){border-right:none}._1pebngc13:nth-last-child(2):not(#\#):not(#\#):not(#\#):not(#\#){border-bottom:none}._1pebngc14:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(2,1fr)}}._1pebngcr:not(#\#):not(#\#){height:180px}@media screen and (min-width:768px){._1pebngcr:not(#\#):not(#\#){height:288px}}._1dlrtbb4:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--_1dlrtbb0);border:none}._1dlrtbb5:not(#\#):not(#\#):not(#\#):not(#\#){--_1dlrtbb0:var(--bui-color-icon-primary);align-items:center;border:1px solid var(--_1dlrtbb0);border-radius:var(--bui-rounded-xs);color:var(--bui-color-icon-inverse);cursor:pointer;display:flex;height:16px;justify-content:center;transition:background-color .2s ease-in-out;width:16px}._1dlrtbb8:not(#\#):not(#\#):not(#\#):not(#\#){box-shadow:0 0 0 1px var(--bui-color-focused-inset),0 0 0 3px var(--bui-color-focused-primary)}._1dlrtbb9:not(#\#):not(#\#):not(#\#):not(#\#){--_1dlrtbb0:var(--bui-color-icon-interactive)}._1dlrtbba:not(#\#):not(#\#):not(#\#):not(#\#),._1dlrtbbb:not(#\#):not(#\#):not(#\#):not(#\#){--_1dlrtbb0:var(--bui-color-icon-disabled);cursor:not-allowed;pointer-events:none}._1dlrtbbb:not(#\#):not(#\#):not(#\#):not(#\#){background-color:initial;border:1px solid var(--bui-color-icon-disabled);color:var(--bui-color-icon-primary)}._1dlrtbbc:not(#\#):not(#\#):not(#\#):not(#\#){border:1px solid var(--bui-color-support-error-medium)}._1dlrtbbd:not(#\#):not(#\#):not(#\#):not(#\#){border:none}._1dlrtbbe:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-secondary);font:var(--bui-typography-label-md-medium-font);letter-spacing:var(--bui-typography-label-md-medium-letter-spacing)}._1dlrtbbf:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--bui-color-text-disabled)}.yje7uq3:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--bui-rounded-full);color:var(--bui-color-icon-primary)}.yje7uq3:hover:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--bui-color-border-interactive);color:var(--bui-color-icon-interactive)}.yje7uq7:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor;border-radius:var(--bui-rounded-full);height:8px;width:8px}.dabjfd0:not(#\#):not(#\#):not(#\#):not(#\#){min-height:100px}.dabjfd1:not(#\#):not(#\#):not(#\#):not(#\#){height:148px}.dabjfd2:not(#\#):not(#\#):not(#\#):not(#\#){min-height:64px}.dabjfd3:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:space-between}@media screen and (min-width:768px){.dabjfd0:not(#\#):not(#\#):not(#\#):not(#\#){min-height:72px}.dabjfd1:not(#\#):not(#\#):not(#\#):not(#\#){height:216px}.dabjfd2:not(#\#):not(#\#):not(#\#):not(#\#){min-height:72px}.dabjfd3:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:flex-start}}._1dk00840:not(#\#):not(#\#):not(#\#):not(#\#){grid-auto-rows:148px;grid-template-columns:1fr;height:auto;max-height:390px}@media screen and (min-width:768px){._1dk00840:not(#\#):not(#\#):not(#\#):not(#\#){grid-auto-rows:104px;grid-template-columns:1fr 1fr;max-height:471px}}._443wcr1:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}._443wcr2:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:auto}._443wcr3:not(#\#):not(#\#):not(#\#):not(#\#)>div{align-items:center;min-height:48px}._443wcr3:not(#\#):not(#\#):not(#\#):not(#\#) textarea{max-height:160px}._443wcr3:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-ActionIconButton{padding:var(--bui-spacing-sm) 0}._443wcr1:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Pagination{background-color:var(--bui-color-background-primary-medium)}._443wcr1:not(#\#):not(#\#):not(#\#):not(#\#) .BaselineUI-Pagination [aria-label]{flex:unset}._443wcr4:not(#\#):not(#\#):not(#\#):not(#\#){position:absolute;top:unset}._443wcr5:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}._443wcr6:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--bui-color-border-medium)}._443wcr7:not(#\#):not(#\#):not(#\#):not(#\#){width:unset}._443wcr8:not(#\#):not(#\#):not(#\#):not(#\#){font:var(--bui-typography-body-sm-regular-font);letter-spacing:var(--bui-typography-body-sm-regular-letter-spacing)}._1aicd313:not(#\#):not(#\#):not(#\#):not(#\#){border-top:1px solid var(--bui-color-border-medium)}._1aicd314:not(#\#):not(#\#):not(#\#):not(#\#){overflow:auto}._1aicd315:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}._1aicd310:not(#\#),._1aicd316:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}@media screen and (min-width:768px){._1aicd310:not(#\#){box-shadow:var(--bui-elevation-medium);width:320px}}._1aicd312:not(#\#):not(#\#){outline:1px solid var(--bui-color-border-medium);outline-offset:-1px}@media screen and (min-width:768px){._1aicd314:not(#\#):not(#\#):not(#\#):not(#\#){max-height:300px}} +@layer reset{*{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;box-sizing:border-box;margin:0;padding:0}}.BaselineUI-ThemeProvider[data-testid=underlay]{position:absolute!important}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;touch-action:pan-x pan-y;width:100%}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds,.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds *{box-sizing:border-box}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds.PSPDFKit-browser-engine-webkit{transform:translateZ(0)}@media print{*{display:none!important}}.PSPDFKit-6qc6bjvev7sffhewvpkas9njsf{display:flex;flex-wrap:nowrap;height:100%;overflow:hidden;position:relative}.PSPDFKit-2f9xn5bkkrt3h6fsmstdexegkk{flex:1}:focus:not(:focus-visible){outline:none}.PSPDFKit-61bk1385h5ss7vmr9n4d26y7wj{opacity:.3;-webkit-user-select:none;-ms-user-select:none;user-select:none}:root:not([data-focusvisible-supported]) :focus:not([data-focusvisible-polyfill]){outline:none}:host:not([data-focusvisible-supported]) :focus:not([data-focusvisible-polyfill]){outline:none}.PSPDFKit-ejvfc31fwjv43pf6dxbymn8xw{display:flex}.PSPDFKit-gec7bey8wdz7abca1kbpqjncb{overscroll-behavior:contain}[data-theme=dark] a{color:#a8bbf8} +.PSPDFKit-5ndr2a8v593wmzbkugj7mhpkx6{padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-3)}.PSPDFKit-8a1r68duucnwazuve1yp3nbng9{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-title-color);font-size:var(--PSPDFKit-fontSize-2);padding-bottom:var(--PSPDFKit-spacing-4);text-transform:uppercase}.PSPDFKit-4wma8z492shc4ep1hmy6t4vqut{align-items:center;border-top:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;min-height:46px;padding:var(--PSPDFKit-spacing-5) 0}.PSPDFKit-4tmeja8e4gtumrdf83gvhyrcc4{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);width:16px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;height:23px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m:hover{cursor:pointer}.PSPDFKit-42c2zme6zggmdzdxcpyafgegx3{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-text-color);flex:1 0;font-size:var(--PSPDFKit-fontSize-3);margin:0 1rem 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96{display:flex}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96:hover .PSPDFKit-7qr7fr949c5zy3chtgst1aqgnh{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-hover-color)}.PSPDFKit-2ds9qudjp9zf1adda74rdu1zrf{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color);font-size:var(--PSPDFKit-fontSize-3);padding-left:0;padding-top:6px;text-decoration:underline}.PSPDFKit-4h68nb316qa6qx4sztcx3gjhnt{align-items:flex-start;border-bottom:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;flex-direction:column;height:unset}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq{background:none;border:none;display:inline-block;flex:1 1 auto;height:30px;margin-right:0;width:100%}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq:focus{outline:none}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::-ms-input-placeholder{color:var(--color-coolGrey400)}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::placeholder{color:var(--color-coolGrey400)}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm{background-color:transparent;border:none;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);cursor:move;margin-right:var(--PSPDFKit-spacing-5);padding:0}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm,.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm span{display:inline-flex}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm:hover{color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color)}.PSPDFKit-35d4wvwwd43nxvufv3g9vaexbe{background-color:var(--PSPDFKit-FormDesignerOptionsControlComponent-background-color);border-top:none;opacity:.5;width:332px}.PSPDFKit-2qjmywkp4vpcrjshnshk8bang7{color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:var(--PSPDFKit-fontSize-2);width:100%}.PSPDFKit-2jz3pq39c872g9k317nqj88ts4{border-bottom-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)} +.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{display:flex;flex-direction:column;padding-left:1.125rem;padding-right:1.125rem}.PSPDFKit-89fc7eud4xcjy12ca7j2haddwk{align-self:center;color:var(--PSPDFKit-ExitContentEditorConfirm-warning-color);height:3rem;width:3rem}.PSPDFKit-47ced6qn4nruzv5vuz287qtd7z{padding:.375rem 0 0;width:23.75rem}.PSPDFKit-2cqd842dczj7tmreu8ur1v9s39{color:var(--PSPDFKit-ExitContentEditorConfirm-heading-color);font-size:1.125rem;font-weight:500;margin-bottom:0;margin-top:2rem}.PSPDFKit-yuc41qrmjjetqv8krhsnx78k4{color:var(--PSPDFKit-ExitContentEditorConfirm-description-color);font-size:.875rem;margin-bottom:0;margin-top:var(--PSPDFKit-spacing-5);padding-bottom:2rem}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{border:none;display:flex;justify-content:center;margin:0 0 0 auto;padding:.5rem 1.125rem 0 0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:focus,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:hover{background-color:transparent}.PSPDFKit-5zfc76hv99gw27ybkmbk7ebzep{flex-basis:36px;height:32px;width:32px}.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3{background-color:var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background);border-top:1px solid var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border);margin-left:0;margin-right:0;padding-bottom:1rem;padding-right:1.125rem;padding-top:1rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{margin-left:0;margin-right:0;padding-right:0}.PSPDFKit-8etcg5412u6jyxe6wcw49n4eev{width:110px}.PSPDFKit-3hxqujdr5scngtpmjesahhytzq.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin:0;padding:0;width:100%}@media(max-width:480px){.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:1.125rem}}@media(max-width:992px){.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3.PSPDFKit-3hxqujdr5scngtpmjesahhytzq{margin-bottom:0;padding-left:1.5rem;padding-right:1.5rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{padding-right:1.5rem;padding-top:1.5rem}.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{padding-left:1.5rem;padding-right:1.5rem}}.PSPDFKit-8p7rfubnucmdpxjpsw31xbf5mm[open]{border:0;border-radius:8px 8px 0 0;height:320px;margin-bottom:0;margin-left:0;margin-right:0;max-width:100%;overflow:hidden;padding:0;width:100%}.PSPDFKit-v7ryn5whw1cfrp237m7h2y2mz{display:flex;flex-direction:column;height:100%;justify-content:space-between} +.PSPDFKit-5eynqxckhbqrz8a4f77yujbh2k{background-color:var(--color-orange100);box-shadow:0 0 4px rgba(113,126,144,.5);line-height:1.4;padding:.75rem;text-align:left;-webkit-user-select:all;user-select:all;width:17.75rem}.PSPDFKit-42pbth2eu2zrmgpae4jhg6h8en{font-size:.75rem;line-height:1.4}.PSPDFKit-6nx2uf6vhf6v33bnb1j4ganvvd{display:none} +.PSPDFKit-818uepd2971vwf3fmcn6tbacgg{background-color:#2b2e36;border-radius:5px;color:#fff;padding:8px var(--PSPDFKit-spacing-4)}.PSPDFKit-5zd14p1pfpmy1ny1f8skcknw3j{color:#2b2e36;margin-top:4px} +.PSPDFKit-4uccwfpffynm27eb199wcvgfa6{max-width:362px;padding-bottom:0}.PSPDFKit-6duc25m5r8gy5rgntee7kp4489 p{margin:0}.PSPDFKit-3fuuhwa21xs9tcx2tz4png1tpx{font-size:18px;font-weight:600}.PSPDFKit-3176nt5ytqfasruqx2cb7426zk{word-wrap:break-word;color:var(--PSPDFKit-NoLicenseTimeoutModalComponent-text-color);font-size:14px;font-weight:500}.PSPDFKit-321y6pgcakckhny2k21wpdad3b{word-break:break-all}.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb{font-size:14px;font-weight:700}.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb:active,.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb:focus,.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb[data-focus-within]{border-color:var(--PSPDFKit-NoLicenseTimeoutModalComponent-button-isFocused-border)!important}.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb:active,.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb[data-focus-within]{outline:none}.PSPDFKit-4ujhjvq5wfhu2712d8utd4h7kb:focus-within{border-color:var(--PSPDFKit-NoLicenseTimeoutModalComponent-button-isFocused-border)!important;outline:none}.PSPDFKit-4rbfyr87rf5tqtuqbp52tvzdkj{color:var(--PSPDFKit-NoLicenseTimeoutModalComponent-warning-color)}.PSPDFKit-5g75rf83wkybmsqshvx3hx9gf9{border:.5px solid var(--PSPDFKit-NoLicenseTimeoutModalComponent-modalSeparator-borderColor);margin-bottom:1.6rem;margin-top:1.6rem}.PSPDFKit-k2d9eapy94sjetk94kep995vs{padding:24px 24px 1rem}.PSPDFKit-8727zt9sqkbkpmkyjv42frxabg{background-color:var(--PSPDFKit-NoLicenseTimeoutModalComponent-bottomSection-backgroundColor);border-top:1px solid var(--PSPDFKit-NoLicenseTimeoutModalComponent-bottomSection-borderTopColor);padding-bottom:16px;padding-top:16px}.PSPDFKit-77ehu16zxj84xk3794yaypyfn{width:100%}@media(max-width:362px){.PSPDFKit-4uccwfpffynm27eb199wcvgfa6{align-self:end;border-bottom-left-radius:0;border-bottom-right-radius:0}} +.PSPDFKit-62axfp2anyb8xpk75p9y1ex6p9{-webkit-overflow-scrolling:touch;background:var(--PSPDFKit-SignaturesSidebar-container-background);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:var(--PSPDFKit-spacing-6)}.PSPDFKit-7jkmh5d31sfmdb3qmnnkp6a7fa{background-color:var(--PSPDFKit-SignaturesSidebar--empty-background);color:var(--PSPDFKit-SignaturesSidebar--empty-color);display:flex;justify-content:center;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-3zs2wgyxgxdfjh9gpg7wspausy{background-color:var(--PSPDFKit-SignaturesSidebar-header-background);border-bottom:1px solid var(--PSPDFKit-SignaturesSidebar-header-borderBottom);color:var(--PSPDFKit-SignaturesSidebar-header-color);display:flex;font-weight:700;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-2crjcengr1ceqrunvecud8qq94{color:#fff;list-style:none;margin:0;padding-left:var(--PSPDFKit-spacing-4)}.PSPDFKit-7wa9h3ptey4wt56e8y9w94736m{align-items:center;border-bottom:1px solid var(--PSPDFKit-SignaturesSidebar-item-borderBottom);color:var(--PSPDFKit-SignaturesSidebar-item-color);cursor:pointer;display:flex;height:44px}.PSPDFKit-35h6ezfp489wdhvnnpt5mhpkw9{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-8vqyb7s2ww33zaax9tzz18gfwb{margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-7mkxxp5qgadfweavgqfx3f87tv{color:var(--PSPDFKit-SignaturesSidebar-iconUnsigned-color)}.PSPDFKit-87hht5q4ypqsrmw4k7stqxv4w1 svg>path{stroke:var(--PSPDFKit-SignaturesSidebar-iconSigned-stroke)}.PSPDFKit-2xxan7ne4sertfng4p9e9m9wu9 g>path{fill:var(--PSPDFKit-SignaturesSidebar-iconValid-fill)}.PSPDFKit-86zqb11dkjaszvm3c7cdnwkcgh g>path{fill:var(--PSPDFKit-SignaturesSidebar-iconWarning-fill)}.PSPDFKit-47uqz9mnbhc3j74nzn3bhbq28m g>path{fill:var(--PSPDFKit-SignaturesSidebar-iconError-fill)} +.PSPDFKit-ydd8cegvmd6regsgpmcgpjavb{margin-top:0;padding-left:0;padding-top:var(--PSPDFKit-spacing-8)}.PSPDFKit-5ut2mzy5pm9dnbz7ja1zst4yn2{overflow:hidden;text-overflow:ellipsis}.PSPDFKit-2rfzkq6tdmadkygrfktbk5dv6h{color:var(--PSPDFKit-Tree-view-text-color);display:block;font-size:var(--PSPDFKit-fontSize-3);padding:var(--PSPDFKit-spacing-6) 0 var(--PSPDFKit-spacing-6);white-space:nowrap}.PSPDFKit-2rfzkq6tdmadkygrfktbk5dv6h:focus,.PSPDFKit-2rfzkq6tdmadkygrfktbk5dv6h:focus-visible{outline:none}.PSPDFKit-4fvzv33kkp5365eup7k2z8g2uv{display:flex;flex-direction:column;width:100%}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be{align-items:center;cursor:pointer;display:flex;flex:1 0 auto;height:2.2857em;margin:0}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:focus,.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:focus-visible{outline:none}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be .PSPDFKit-2n4dy8ne2zanmq1sp3a24av7j1{visibility:hidden}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:hover .PSPDFKit-2n4dy8ne2zanmq1sp3a24av7j1{visibility:visible}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:hover:not(.PSPDFKit-4674xx3wq5atu14x3amc4taev3),.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:hover~.PSPDFKit-41pkx32asvdjt6wkzw79g1wrxz .PSPDFKit-4fvzv33kkp5365eup7k2z8g2uv:not(.PSPDFKit-4674xx3wq5atu14x3amc4taev3){background-color:var(--PSPDFKit-Tree-view-hover-backgroundColor)}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be .PSPDFKit-6uas11jy8s88sc3e3ya6z8ud3d{visibility:hidden}.PSPDFKit-54acf21hdpzkaxsw4swhxn23be:hover .PSPDFKit-6uas11jy8s88sc3e3ya6z8ud3d{visibility:visible}.PSPDFKit-41pkx32asvdjt6wkzw79g1wrxz{display:block;padding-left:0}.PSPDFKit-8f8u5sdz1zn1xx15x5czq3f5rq{display:none}.PSPDFKit-6928zz3253n8zmwwxzbfm4gnar{list-style:none;width:100%}.PSPDFKit-86gcd8xxhutnfcqpteyvv1y3e{fill:var(--PSPDFKit-Tree-view-icon-fill);color:var(--PSPDFKit-Tree-view-icon-color)}.PSPDFKit-bxggf97x1sqaeqjt8fdxsymen{align-items:center;display:flex;padding-left:.714em;width:100%}.PSPDFKit-bxggf97x1sqaeqjt8fdxsymen:focus,.PSPDFKit-bxggf97x1sqaeqjt8fdxsymen:focus-visible{outline:2px solid var(--PSPDFKit-Tree-view-item-outline)}.PSPDFKit-4m2n36dgsyk38wswut9tppx4cd{height:16px;width:16px}.PSPDFKit-37j14254rfgde16q2ndmgytjqd,.PSPDFKit-4m2n36dgsyk38wswut9tppx4cd{fill:var(--PSPDFKit-Tree-view-icon-fill);color:var(--PSPDFKit-Tree-view-icon-color);cursor:pointer}.PSPDFKit-37j14254rfgde16q2ndmgytjqd{height:8px;width:8px}.PSPDFKit-4674xx3wq5atu14x3amc4taev3,.PSPDFKit-4674xx3wq5atu14x3amc4taev3:hover,.PSPDFKit-4674xx3wq5atu14x3amc4taev3:hover .PSPDFKit-54acf21hdpzkaxsw4swhxn23be{background-color:var(--PSPDFKit-Tree-view-selected-backgroundColor)}.PSPDFKit-55tte6ysse2zym23stes4hx5u7{opacity:.5}.PSPDFKit-55tte6ysse2zym23stes4hx5u7 .PSPDFKit-55tte6ysse2zym23stes4hx5u7{opacity:1}.PSPDFKit-7r73uu3zuph6p89dbz5hjwb15k{align-items:center;height:32px;width:32px}.PSPDFKit-kqc5fs14zg179hps3hqywya7s{padding-left:0}@media(pointer:coarse){.PSPDFKit-54acf21hdpzkaxsw4swhxn23be .PSPDFKit-6uas11jy8s88sc3e3ya6z8ud3d,.PSPDFKit-54acf21hdpzkaxsw4swhxn23be .PSPDFKit-2n4dy8ne2zanmq1sp3a24av7j1{visibility:visible}}@media(pointer:coarse)and (max-width:480px){.PSPDFKit-7r73uu3zuph6p89dbz5hjwb15k{height:150%;padding-right:var(--PSPDFKit-spacing-5);width:150%}}.PSPDFKit-7gya8mn8mystvwa3qb5te8k64b{font-style:italic}.PSPDFKit-8j6zbad6ngwwmbuncnzs1pnhp6{opacity:.5} +.PSPDFKit-7w1nxb8aashzh6vn7hwaahzr8r{background-color:var(--PSPDFKit-OCGsSidebar-container-background);height:100%}.PSPDFKit-5q31p223rz3j4rbvjs1pf1t3p5{border-bottom:2px solid var(--PSPDFKit-OCGsSidebar-title-border);color:var(--PSPDFKit-OCGsSidebar-title-color);font-size:var(--PSPDFKit-fontSize-3);min-height:40px;padding:var(--PSPDFKit-spacing-6-8) var(--PSPDFKit-spacing-5)} +:host,:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey980:#0e1218;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey40:#f6f9fd;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}:host,:root{--PSPDFKit-spacing-1:3.25em;--PSPDFKit-spacing-1-9:2.5em;--PSPDFKit-spacing-2:2.4375em;--PSPDFKit-spacing-2-5:2em;--PSPDFKit-spacing-3:1.625em;--PSPDFKit-spacing-3-8:1.5em;--PSPDFKit-spacing-3-5:1.25em;--PSPDFKit-spacing-4:1em;--PSPDFKit-spacing-5:0.8125em;--PSPDFKit-spacing-6:0.609em;--PSPDFKit-spacing-6-8:0.5em;--PSPDFKit-spacing-7:0.46875em;--PSPDFKit-spacing-8:0.25em}:host,:root{--PSPDFKit-fontFamily-1:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--PSPDFKit-lineHeight-1:1.4rem;--PSPDFKit-lineHeight-2:0.815rem;--PSPDFKit-fontSize-1:1rem;--PSPDFKit-fontSize-2:0.75rem;--PSPDFKit-fontSize-3:0.875rem;--PSPDFKit-fontSize-4:1.125rem;--PSPDFKit-fontSize-5:1.25rem;--PSPDFKit-fontSize-6:1.5rem} +:host,:root{--PSPDFKit-shadow-color:var(--color-coolGrey800_alpha05)}:host,:root{--PSPDFKit-App-background:var(--color-coolGrey37)}:host,:root{--PSPDFKit-Viewport-background:var(--PSPDFKit-App-background)}:host,:root{--PSPDFKit-Button-isDisabled-opacity:0.3;--PSPDFKit-Button--default-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-color:var(--color-coolGrey800);--PSPDFKit-Button--default-isHovered-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isHovered-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-Button--default-isHovered-color:var(--color-coolGrey900);--PSPDFKit-Button--default-isActive-backgroundColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isActive-borderColor:var(--color-coolGrey200);--PSPDFKit-Button--default-isActive-color:var(--color-coolGrey700);--PSPDFKit-Button--default-isDisabled-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isDisabled-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isDisabled-color:var(--color-coolGrey800);--PSPDFKit-Button--primary-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-border:var(--color-blue700);--PSPDFKit-Button--primary-color:var(--color-white);--PSPDFKit-Button--primary-isHovered-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isHovered-borderColor:var(--color-blue900);--PSPDFKit-Button--primary-isHovered-color:var(--color-white);--PSPDFKit-Button--primary-isActive-backgroundColor:var(--color-blue700);--PSPDFKit-Button--primary-isActive-borderColor:var(--color-blue800);--PSPDFKit-Button--primary-isActive-color:var(--color-white);--PSPDFKit-Button--primary-isDisabled-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isDisabled-borderColor:var(--color-blue700);--PSPDFKit-Button--primary-isDisabled-color:var(--color-white);--PSPDFKit-Button--primary-inverted-color:var(--PSPDFKit-Button--primary-backgroundColor);--PSPDFKit-Button--danger-backgroundColor:var(--color-red50);--PSPDFKit-Button--danger-borderColor:var(--color-red400);--PSPDFKit-Button--danger-color:var(--color-red600);--PSPDFKit-Button--danger-isHovered-backgroundColor:var(--color-red600);--PSPDFKit-Button--danger-isHovered-borderColor:var(--color-red800);--PSPDFKit-Button--danger-isHovered-color:var(--color-white);--PSPDFKit-Button--danger-isDisabled-backgroundColor:var(--color-red100);--PSPDFKit-Button--danger-isDisabled-borderColor:var(--color-red400);--PSPDFKit-Button--danger-isDisabled-color:var(--color-red800)}:host,:root{--PSPDFKit-Modal-dialog-backgroundColor:var(--color-white);--PSPDFKit-Modal-dialog-boxShadowColor:var(--PSPDFKit-shadow-color);--PSPDFKit-Modal-dialog-color:var(--color-black);--PSPDFKit-Modal-backdrop-backgroundColor:var(--color-coolGrey900_alpha05);--PSPDFKit-Modal-divider-color:var(--color-coolGrey100);--PSPDFKit-Modal-divider-border:var(--PSPDFKit-Modal-divider-color)}:host,:root{--PSPDFKit-Mobile-popover-backgroundColor:var(--color-white)}:host,:root{--PSPDFKit-ConfirmModalComponent-button-isFocused-border:var(--color-blue900)}:host,:root{--PSPDFKit-Text-color:var(--color-coolGrey850)}:host,:root{--PSPDFKit-TextInput--default-backgroundColor:var(--color-coolGrey25);--PSPDFKit-TextInput--default-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-TextInput--default-color:var(--color-coolGrey700);--PSPDFKit-TextInput--default-placeholder-color:var(--color-coolGrey900_alpha05);--PSPDFKit-TextInput--default-isFocused-backgroundColor:var(--color-white);--PSPDFKit-TextInput--default-isFocused-borderColor:var(--color-coolGrey200);--PSPDFKit-TextInput--default-isFocused-color:var(--color-coolGrey900);--PSPDFKit-TextInput--error-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-borderColor:var(--color-red400);--PSPDFKit-TextInput--error-color:var(--color-red800);--PSPDFKit-TextInput--error-placeholder-color:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-isFocused-borderColor:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-color:var(--color-red800);--PSPDFKit-TextInput--success-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-borderColor:var(--color-green400);--PSPDFKit-TextInput--success-color:var(--color-green800);--PSPDFKit-TextInput--success-placeholder-color:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-isFocused-borderColor:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-color:var(--color-green800)}:host,:root{--PSPDFKit-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Toolbar-color:var(--color-coolGrey800);--PSPDFKit-Toolbar-boxShadow:var(--PSPDFKit-shadow-color);--PSPDFKit-Toolbar-hover:var(--color-blue600);--PSPDFKit-Toolbar-button-border:var(--color-coolGrey50);--PSPDFKit-Toolbar-dropdownButton-isSelected-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isSelected-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isFocused-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isFocused-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isDisabled-background:var(--color-coolGrey50)}:host,:root{--PSPDFKit-ToolbarButton-dropdown-isFocused-background:var(--color-coolGrey50);--PSPDFKit-ToolbarButton-dropdown-isFocused-color:var(--color-coolGrey800);--PSPDFKit-ToolbarButton-isDisabled-opacity:0.3;--PSPDFKit-ToolbarButton-isDisabled-child-fill:var(--color-coolGrey400);--PSPDFKit-ToolbarButton-isActive-background:var(--color-blue600);--PSPDFKit-ToolbarButton-isActive-color:var(--color-white)}:host,:root{--PSPDFKit-ToolbarDropdownGroup-background:var(--color-coolGrey25);--PSPDFKit-ToolbarDropdownGroup-activeChild-color:var(--color-black);--PSPDFKit-ToolbarDropdownGroup-toggle-color:var(--color-white)}:host,:root{--PSPDFKit-ToolbarResponsiveGroup--primary-background:var(--color-coolGrey25);--PSPDFKit-ToolbarResponsiveGroup--secondary-background:var(--color-coolGrey100);--PSPDFKit-ToolbarResponsiveGroup--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--primary-border:var(--PSPDFKit-Toolbar-button-border);--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background:var( --color-coolGrey50 );--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill:var(--color-coolGrey800)}:host,:root{--PSPDFKit-CropToolbarComponent-button-borderColor:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor:var(--color-coolGrey800);--PSPDFKit-CropToolbarComponent-text-color:var(--color-coolGrey700);--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-CropToolbarComponent-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-border:var(--color-coolGrey200)}:host,:root{--PSPDFKit-ContentEditorToolbar-background:var(--color-coolGrey50);--PSPDFKit-ContentEditorToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-isHovered-border:var( --PSPDFKit-Button--default-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-text-color:var(--color-coolGrey700);--PSPDFKit-ContentEditorToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-ContentEditorToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor:var( --PSPDFKit-Button--primary-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-save-color:var(--PSPDFKit-Button--primary-color);--PSPDFKit-ContentEditorToolbar-button-save-border:var(--PSPDFKit-Button--primary-border);--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor:var( --PSPDFKit-Button--primary-isHovered-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-hover-save-color:var( --PSPDFKit-Button--primary-isHovered-color );--PSPDFKit-ContentEditorToolbar-button-hover-save-border:var( --PSPDFKit-Button--primary-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color )}:host,:root{--PSPDFKit-MagnifierComponent-background:var(--PSPDFKit-App-background);--PSPDFKit-MagnifierComponent-magnifierGrid-stroke:var(--color-coolGrey100);--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor:var(--color-coolGrey400);--PSPDFKit-MagnifierComponent-magnifierZoomValue-color:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow:var(--color-white)}:host,:root{--PSPDFKit-DocumentComparison-crosshair-stroke:var(--color-blue70)}:host,:root{--PSPDFKit-DocumentComparisonToolbar-background:var(--color-coolGrey50);--PSPDFKit-DocumentComparisonToolbar-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-DocumentComparisonToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-DocumentComparisonToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-highlight-button-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-highlight-button-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-tab-border:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-tab-active-background:var(--PSPDFKit-App-background);--PSPDFKit-DocumentComparisonToolbar-referencePoint-background:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-referencePoint-text-color:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-text-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-button-svg-fill:var( --PSPDFKit-AnnotationToolbar-button-svg-color );--PSPDFKit-DocumentComparisonToolbar-button-outline:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-icon-label-background:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-color:var( --PSPDFKit-DropdownMenu-button-fill );--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-checkMark-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill:var(--color-green400);--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-separator-background:var(--color-coolGrey200)}:host,:root{--PSPDFKit-AnnotationToolbar-background:var(--color-coolGrey50);--PSPDFKit-AnnotationToolbar-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-color:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-AnnotationToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-svg-fill:var(--PSPDFKit-AnnotationToolbar-button-svg-color);--PSPDFKit-AnnotationToolbar-button-outline:var(--color-blue600);--PSPDFKit-AnnotationToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-icon-label-background:var(--color-white);--PSPDFKit-AnnotationToolbar-warning-icon-background:var(--color-orange100);--PSPDFKit-AnnotationToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color:var(--PSPDFKit-DropdownMenu-button-fill);--PSPDFKit-AnnotationToolbar-redactions-button-background:var(--color-white);--PSPDFKit-AnnotationToolbar-redactions-button-color:var(--color-black);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color:var(--color-white)}:host,:root{--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background:var( --PSPDFKit-ToolbarButton-dropdown-isFocused-background );--PSPDFKit-ColorDropdown-customColor-deleteButton-color:var(--color-white)}:host,:root{--PSPDFKit-CheckboxComponent-label-color:var(--color-coolGrey800);--PSPDFKit-CheckboxComponent-unchecked-border:var(--color-coolGrey200);--PSPDFKit-CheckboxComponent-checked-border:var(--color-blue400);--PSPDFKit-CheckboxComponent-checked-background:var(--color-blue600)}:host,:root{--PSPDFKit-LayoutConfig-arrow-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-arrowFill-border:var(--color-white);--PSPDFKit-LayoutConfig-table-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-icon-isActive-color:var(--color-white);--PSPDFKit-LayoutConfig-icon-isActive-background:var(--color-blue600);--PSPDFKit-LayoutConfig-icon-isHighlighted-background:var(--color-coolGrey50)}:host,:root{--PSPDFKit-Pager-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-background:var(--color-coolGrey800_alpha02);--PSPDFKit-Pager-input-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isActive-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-background:var(--color-coolGrey200);--PSPDFKit-Pager-input-isDisabled-color:var(--PSPDFKit-Pager-input-isActive-color);--PSPDFKit-Pager-input-isDisabled-opacity:0.3}:host,:root{--PSPDFKit-Progress-dot-size:6px;--PSPDFKit-Progress-dot-height:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-dot-width:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-borderRadius:5px;--PSPDFKit-Progress-progress-background:var(--color-coolGrey50);--PSPDFKit-Progress-progress-color:var(--color-black);--PSPDFKit-Progress-progressBar-background:var(--color-blue600);--PSPDFKit-Progress-progressText-color:var(--color-coolGrey700)}:host,:root{--PSPDFKit-ColorPicker-isHovered-background:var(--color-coolGrey400);--PSPDFKit-ColorPicker-swatch-border:var(--color-white);--PSPDFKit-ColorPicker-input-isActive-background:var(--color-blue600);--PSPDFKit-ColorPicker-input-outline:var(--color-blue600);--PSPDFKit-ColorPicker-swatch--transparent-border:var(--color-coolGrey200);--PSPDFKit-ColorPicker-swatch--transparent-background:var(--color-white);--PSPDFKit-ColorPicker-swatch--transparent-after-border:var(--color-red400)}:host,:root{--PSPDFKit-SliderComponent-thumb-color:var(--color-blue600);--PSPDFKit-SliderComponent-thumb-isHovered-color:var(--color-blue800);--PSPDFKit-SliderComponent-thumb-border:var(--color-white);--PSPDFKit-SliderComponent-track-color:var(--color-coolGrey50);--PSPDFKit-SliderComponent-track-progress-color:var(--color-blue600)}:host,:root{--PSPDFKit-SliderDropdownComponent-items-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-items-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-button-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-color:var(--color-coolGrey800);--PSPDFKit-SliderDropdownComponent-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-SliderDropdownComponent-button-toggle-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-button-show-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-SliderDropdownComponent-item-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-border:var( --PSPDFKit-SliderDropdownComponent-button-border );--PSPDFKit-SliderDropdownComponent-item-isFocused-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent--item-isFocused-color:var(--color-white);--PSPDFKit-SliderDropdownComponent-item-isSelected-background:var(--color-coolGrey50);--PSPDFKit-SliderDropdownComponent-item-isDisabled-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity:0.3;--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent-dropdown-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-dropdown-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-dropdown-border:var(--color-coolGrey100)}:host,:root{--PSPDFKit-TextInputComponent-input-background:var(--color-white);--PSPDFKit-TextInputComponent-input-border:var(--color-coolGrey100);--PSPDFKit-TextInputComponent-input-color:var(--color-coolGrey800);--PSPDFKit-TextInputComponent-input-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-TextInputComponent-input-active-border:var(--color-blue600)}:host,:root{--PSPDFKit-PasswordModal-icon--regular-color:var(--color-blue400);--PSPDFKit-PasswordModal-icon--error-color:var(--color-red400);--PSPDFKit-PasswordModal-icon--success-color:var(--color-green400);--PSPDFKit-PasswordModal-message--alert-background:var(--color-red400);--PSPDFKit-PasswordModal-message--alert-color:var(--color-white);--PSPDFKit-PasswordModal-message--alert-border:var(--color-red600)}:host,:root{--PSPDFKit-SearchForm-background:var(--color-white);--PSPDFKit-SearchForm-border:var(--PSPDFKit-Viewport-background);--PSPDFKit-SearchForm-input-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-input-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-input-placeholder-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-results-isDisabled-background:var(--PSPDFKit-SearchForm-input-background);--PSPDFKit-SearchForm-results-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-isHovered-color:var(--color-coolGrey900);--PSPDFKit-SearchForm-button-isHovered-border:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-controls-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-controls-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-controls-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-controls-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-lasChild-border:var(--color-coolGrey50)}:host,:root{--PSPDFKit-SearchHighlight-background:var(--color-yellow400);--PSPDFKit-SearchHighlight-isFocused-background:var(--color-yellow600)}:host,:root{--PSPDFKit-Sidebar-background:var(--color-coolGrey37);--PSPDFKit-Sidebar-dragger-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-dragger-border:var(--color-coolGrey900_alpha02);--PSPDFKit-Sidebar-dragger-pseudo-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-draggerHandle-background:var(--color-white);--PSPDFKit-Sidebar-draggerHandle-border:var(--PSPDFKit-Sidebar-dragger-border);--PSPDFKit-Sidebar-header-background:var(--color-coolGrey50)}:host,:root{--PSPDFKit-AnnotationsSidebar--empty-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-AnnotationsSidebar--empty-color:var(--color-black);--PSPDFKit-AnnotationsSidebar-annotationCounter-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-container-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-border:var(--color-coolGrey100);--PSPDFKit-AnnotationsSidebar-icon-color:var(--color-blue600);--PSPDFKit-AnnotationsSidebar-layout-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-layoutContent-color:var(--color-coolGrey900);--PSPDFKit-AnnotationsSidebar-layoutContent-button-color:var( --PSPDFKit-AnnotationsSidebar-layoutContent-color );--PSPDFKit-AnnotationsSidebar-layoutContent-button-color--selected:var(--color-coolGrey1000);--PSPDFKit-AnnotationsSidebar-footer-color:var(--color-coolGrey400);--PSPDFKit-AnnotationsSidebar-deleteIcon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationsSidebar-pageNumber-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-pageNumber-color:var(--PSPDFKit-TextInput--default-color);--PSPDFKit-AnnotationsSidebar-annotationCounter-color:var(--color-coolGrey700)}:host,:root{--PSPDFKit-SignaturesSidebar--empty-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-SignaturesSidebar--empty-color:var(--color-black);--PSPDFKit-SignaturesSidebar-container-background:var(--color-white);--PSPDFKit-SignaturesSidebar-header-background:var(--color-white);--PSPDFKit-SignaturesSidebar-header-color:var(--color-coolGrey850);--PSPDFKit-SignaturesSidebar-header-borderBottom:var(--color-coolGrey100);--PSPDFKit-SignaturesSidebar-item-borderBottom:var(--color-coolGrey100);--PSPDFKit-SignaturesSidebar-item-color:var(--color-coolGrey850);--PSPDFKit-SignaturesSidebar-iconUnsigned-color:var(--color-blue600);--PSPDFKit-SignaturesSidebar-iconSigned-stroke:var(--color-coolGrey400);--PSPDFKit-SignaturesSidebar-iconValid-fill:#5d9d1d;--PSPDFKit-SignaturesSidebar-iconWarning-fill:var(--color-orange600);--PSPDFKit-SignaturesSidebar-iconError-fill:#c83c29}:host,:root{--PSPDFKit-DocumentEditor-moveDialog-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor:var(--color-coolGrey200);--PSPDFKit-DocumentEditor-moveDialogHint-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-moveDialogHintText-color:var(--color-coolGrey400);--PSPDFKit-DocumentEditor-pagesView-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-bottomBar-background:var(--color-coolGrey25);--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background:var(--color-blue400)}:host,:root{--PSPDFKit-DocumentOutline-background:var(--color-white);--PSPDFKit-DocumentOutline-control-color:var(--color-coolGrey900);--PSPDFKit-DocumentOutline-control-border:var(--color-coolGrey50);--PSPDFKit-DocumentOutline-icon-color:var(--color-coolGrey200);--PSPDFKit-DocumentOutline-icon-isHovered-color:var(--color-blue600)}:host,:root{--PSPDFKit-BookmarksSidebar-background:var(--color-white);--PSPDFKit-BookmarksSidebar-border:var(--color-coolGrey100);--PSPDFKit-BookmarksSidebar--loading-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-BookmarksSidebar-heading-color:var(--color-coolGrey700);--PSPDFKit-BookmarksSidebar-layout-pageNumber-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color:var(--color-blue600);--PSPDFKit-BookmarksSidebar-name-color:var(--color-coolGrey850);--PSPDFKit-BookmarksSidebar-layout-border:var(--color-coolGrey50);--PSPDFKit-BookmarksSidebar-edit-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-edit-background:var(--color-white);--PSPDFKit-BookmarksSidebar-editor-background:var(--color-coolGrey50)}:host,:root{--PSPDFKit-Error-color:var(--color-coolGrey400);--PSPDFKit-Error-background:var(--color-white);--PSPDFKit-Error-hyperlink-color:var(--color-coolGrey700);--PSPDFKit-Error-error-background:var(--color-red400);--PSPDFKit-Error-icon-color:var(--color-red400);--PSPDFKit-Error-icon-background:var(--color-white)}:host,:root{--PSPDFKit-ThumbnailsSidebar-gridView-row-background:var(--color-coolGrey50);--PSPDFKit-ThumbnailsSidebar-gridView-column-isHovered-background:var( --color-coolGrey850_alpha01 );--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow:rgba(43,46,54,.15);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-background:var(--color-coolGrey800_alpha05);--PSPDFKit-ThumbnailsSidebar-gridView-label-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background:var(--color-black)}:host,:root{--PSPDFKit-PrintLoadingIndicator-progress-background:var(--color-coolGrey50);--PSPDFKit-PrintLoadingIndicator-progress-color:var(--color-black);--PSPDFKit-PrintLoadingIndicator-progressBar-background:var(--color-blue600);--PSPDFKit-PrintLoadingIndicator-progressText-color:var(--color-coolGrey700)}:host,:root{--PSPDFKit-ImagePreview-imageAnnotation--error-background:var(--color-coolGrey50);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color:var(--color-red400);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background:var(--color-white)}:host,:root{--PSPDFKit-DropdownMenu-background:var(--color-coolGrey25);--PSPDFKit-DropdownMenu-color:var(--color-coolGrey850);--PSPDFKit-DropdownMenu-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-item-background:var(--color-white);--PSPDFKit-DropdownMenu-item-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-isSelected-background:var(--color-coolGrey50);--PSPDFKit-DropdownMenu-isSelected-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-background:var(--color-white);--PSPDFKit-DropdownMenu-button-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-button-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-DropdownMenu-button-fill:var(--color-coolGrey400)}:host,:root{--PSPDFKit-Signatures-background:var(--color-blue600);--PSPDFKit-Signatures-color:var(--color-white);--PSPDFKit-Signatures-border:var(--color-blue400);--PSPDFKit-Signatures-container-color:var(--color-coolGrey700);--PSPDFKit-Signatures-editorCanvas-border:var(--color-coolGrey100);--PSPDFKit-Signatures-editorCanvas-background:var(--color-coolGrey25);--PSPDFKit-Signatures-signHere-color:var(--color-coolGrey700);--PSPDFKit-Signatures-DeleteSignatureButton-color:var(--color-coolGrey700);--PSPDFKit-Signatures-Title-color:var(--color-coolGrey700)}:host,:root{--PSPDFKit-MarqueeZoom-rect-fill:var(--color-blue100)}:host,:root{--PSPDFKit-Comment-thread-backgroundColor:var(--color-white);--PSPDFKit-Comment-thread-color:var(--color-coolGrey800);--PSPDFKit-Comment-accent-color:var(--color-blue600);--PSPDFKit-Comment-separatorBold-color:var(--color-coolGrey100);--PSPDFKit-Comment-separator-color:var(--color-coolGrey37);--PSPDFKit-Comment-footer-color:var(--color-coolGrey100);--PSPDFKit-Comment-footer-backgroundColor:var(--color-white);--PSPDFKit-Comment-editor-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-deleteIcon-color:var(--color-red400);--PSPDFKit-Comment-editingText-border:var(--color-blue600);--PSPDFKit-Comment-editingTextButtonContainer-border-top:var(--color-coolGrey50);--PSPDFKit-Comment-editingTextButtonIcon-color:var(--color-white);--PSPDFKit-Comment-editingTextSaveButton-color:var(--color-blue600);--PSPDFKit-Comment-editingTextSaveButtonHover-color:var(--color-blue700);--PSPDFKit-Comment-editingTextCancelButton-color:var(--color-coolGrey400);--PSPDFKit-Comment-editingTextCancelButtonHover-color:var(--color-coolGrey500);--PSPDFKit-Comment-editingTextButtonIconDisabled-background:var(--color-coolGrey200);--PSPDFKit-Comment-Toolbar-backdrop:0 1px 2px 0 #2b323b33,0 3px 4px 0 #2b323b0d;--PSPDFKit-Comment-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Comment-Toolbar-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Toolbar-Selected-Color:var(--color-blue600);--PSPDFKit-Comment-icon-backgroundColor-hover:var(--color-coolGrey50);--PSPDFKit-Comment-icon-strokeColorActive:var(--color-white);--PSPDFKit-Comment-icon-backgroundColorActive:var(--color-blue600);--PSPDFKit-Comment-ColorPicker-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-ColorPicker-activeColor:#9e73fa;--PSPDFKit-Comment-linkEditor-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-borderColor:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-buttonText-color:var(--color-blue600);--PSPDFKit-Comment-linkEditor-inputLabel-color:var(--color-coolGrey800);--PSPDFKit-Comment-linkEditor-input-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-input-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-input-placeholder-color:var(--color-coolGrey600);--PSPDFKit-Comment-Mention-color:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-backgroundColor:var(--color-coolGrey25);--PSPDFKit-Comment-Mention-Suggestion-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-separator:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-Title-color:var(--color-coolGrey800);--PSPDFKit-Comment-Mention-Suggestion-Description-color:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-backgroundColor:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-Active-backgroundColor:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color:var(--color-coolGrey50);--PSPDFKit-Comment-popover-color:var(--color-black);--PSPDFKit-Comment-popover-moreComments-gradient:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);--PSPDFKit-Comment-popover-moreComments-background:var(--color-coolGrey800);--PSPDFKit-Comment-popover-moreComments-border:var(--color-coolGrey200);--PSPDFKit-Comment-popover-moreComments-color:var(--color-white)}:host,:root{--PSPDFKit-CommentMarkerAnnotation-accent-stroke:var(--color-blue600)}:host,:root{--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor:var(--color-green25);--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor:var(--color-yellow25);--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor:var(--color-red50);--PSPDFKit-SignaturesValidationStatusBar-Valid-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Warning-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Error-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color:var(--color-green600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color:var(--color-yellow600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color:var(--color-red400)}:host,:root{--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke:var(--color-coolGrey700)}:host,:root{--PSPDFKit-ElectronicSignatures-tabLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-tabLabel-active-color:var(--color-blue600);--PSPDFKit-ElectronicSignatures-tabList-border-color:var(--color-coolGrey200);--PSPDFKit-ElectronicSignatures-tabsContainer-background:var(--color-coolGrey50);--PSPDFKit-ElectronicSignatures-modal-background:var(--color-coolGrey37);--PSPDFKit-ElectronicSignatures-storeCheckLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-contentArea-background:var(--color-white)}:host,:root{--PSPDFKit-UserHintComponent-background:var(--color-blue25);--PSPDFKit-UserHintComponent-border:var(--color-blue200);--PSPDFKit-UserHintComponent-color:var(--color-blue800)}:host,:root{--PSPDFKit-FormDesignerExpandoComponent-button-color:var(--color-coolGrey37);--PSPDFKit-FormDesignerExpandoComponent-button-text-color:var(--color-coolGrey700);--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerExpandoComponent-content-color:var(--color-black);--PSPDFKit-FormDesignerExpandoComponent-border-color:var(--color-coolGrey50)}:host,:root{--PSPDFKit-RadioGroup-selectedLabel-color:var(--color-coolGrey25);--PSPDFKit-RadioGroup-label-background:var(--color-coolGrey50);--PSPDFKit-RadioGroup-icon-label-background:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-RadioGroup-icon-color:var(--PSPDFKit-AnnotationToolbar-icon-color);--PSPDFKit-RadioGroup-iconLabel-isActive-background:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-RadioGroup-iconLabel-isActive-border:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-border );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill )}:host,:root{--PSPDFKit-FormDesignerToolbar-button-border:var(--PSPDFKit-AnnotationToolbar-button-border);--PSPDFKit-FormDesignerToolbar-button-color:var(--PSPDFKit-AnnotationToolbar-button-color)}:host,:root{--PSPDFKit-FormDesignerOptionsControlComponent-title-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerOptionsControlComponent-border-color:var(--color-coolGrey100);--PSPDFKit-FormDesignerOptionsControlComponent-icon-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerOptionsControlComponent-hover-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-text-color:var(--color-black);--PSPDFKit-FormDesignerOptionsControlComponent-background-color:var(--color-coolGrey50)}:host,:root{--PSPDFKit-FormDesignerTextInputComponent-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerTextInputComponent-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerTextInputComponent-input-text-color:var(--color-black);--PSPDFKit-FormDesignerTextInputComponent-border-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerTextInputComponent-hover-border-color:var(--color-blue600);--PSPDFKit-FormDesignerTextInputComponent-error-color:var(--color-red400)}:host,:root{--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-item-border-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-item-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-warning-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-readonly-icon-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border:var(--color-coolGrey200);--PSPDFKit-FormDesignerPopoverComponent-doneButton-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-doneButton-background:var(--color-blue600);--PSPDFKit-FormDesignerPopoverComponent-doneButton-border:var(--color-blue700)}:host,:root{--PSPDFKit-ExpandingPopoverComponent-title-color:var(--color-coolGrey850);--PSPDFKit-ExpandingPopoverComponent-background:var(--color-coolGrey50);--PSPDFKit-ExpandingPopoverComponent-background-color:var( --PSPDFKit-ExpandingPopoverComponent-background );--PSPDFKit-ExpandingPopoverComponent-content-background:var(--color-white);--PSPDFKit-ExpandingPopoverComponent-separator-border:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-footerButton-color:var(--color-blue600);--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-content-color:var(--color-black)}:host,:root{--PSPDFKit-ExitContentEditorConfirm-warning-color:var(--color-yellow600);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background:var(--color-coolGrey25);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border:var(--color-coolGrey50);--PSPDFKit-ExitContentEditorConfirm-description-color:var(--color-coolGrey600);--PSPDFKit-ExitContentEditorConfirm-heading-color:var(--color-coolGrey850)}:host,:root{--PSPDFKit-MeasurementSettingsModal-separator-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-info-color:var(--color-coolGrey400);--PSPDFKit-MeasurementSettingsModal-background-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-section-background-color:var(--color-coolGrey37);--PSPDFKit-MeasurementSettingsModal-section-color:var(--color-coolGrey700);--PSPDFKit-MeasurementSettingsModal-section-text-color:var(--color-coolGrey800);--PSPDFKit-MeasurementSettingsModal-highlight-color:var(--color-blue400);--PSPDFKit-MeasurementSettingsModal-calibration-success-text-color:var(--color-coolGrey600);--PSPDFKit-MeasurementSettingsModal-error-text-color:var(--color-red400)}:host,:root{--PSPDFKit-DropdownMenuComponent-trigger-backgroundColor:var(--color-coolGrey50);--PSPDFKit-DropdownMenuComponent-content-backgroundColor:var(--color-coolGrey25);--PSPDFKit-DropdownMenuComponent-border:1px solid var(--color-coolGrey100);--PSPDFKit-DropdownMenuComponent-item-highlighted-backgroundColor:var(--color-blue600);--PSPDFKit-DropdownMenuComponent-trigger-icon-fill:var(--color-coolGrey700);--PSPDFKit-DropdownMenuComponent-item-color:var(--color-black);--PSPDFKit-DropdownMenuComponent-separator-backgroundColor:var(--color-coolGrey50)}:host,:root{--PSPDFKit-Tree-view-icon-fill:var(--color-coolGrey850);--PSPDFKit-Tree-view-icon-color:var(--color-coolGrey850);--PSPDFKit-Tree-view-text-color:var(--color-coolGrey850);--PSPDFKit-Tree-view-hover-backgroundColor:var(--color-coolGrey37);--PSPDFKit-Tree-view-selected-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Tree-view-item-outline:var(--color-blue600);--PSPDFKit-Tree-view-disabled-icon-color:var(--color-white)}:host,:root{--PSPDFKit-NoLicenseTimeoutModalComponent-warning-color:var(--color-yellow600);--PSPDFKit-NoLicenseTimeoutModalComponent-text-color:var(--color-coolGrey600);--PSPDFKit-NoLicenseTimeoutModalComponent-button-isFocused-border:var(--color-blue900);--PSPDFKit-NoLicenseTimeoutModalComponent-bottomSection-borderTopColor:var(--color-coolGrey50);--PSPDFKit-NoLicenseTimeoutModalComponent-bottomSection-backgroundColor:var(--color-coolGrey25);--PSPDFKit-NoLicenseTimeoutModalComponent-modalSeparator-borderColor:var(--color-coolGrey100)}:host,:root{--PSPDFKit-OCGsSidebar-title-color:var(--color-coolGrey850);--PSPDFKit-OCGsSidebar-title-border:var(--color-coolGrey50);--PSPDFKit-OCGsSidebar-container-background:var(--color-white)} diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-a40f15a37f0211b1.wasm.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-a40f15a37f0211b1.wasm.js new file mode 100644 index 00000000..7b0ff6f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-a40f15a37f0211b1.wasm.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2024.3.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2024 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +var PSPDFModuleInit=(()=>{var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(r={}){var t,n,o=r;o.ready=new Promise(((e,r)=>{t=e,n=r}));var a,i,s,l=Object.assign({},o),u="./this.program",d="object"==typeof window,c="function"==typeof importScripts,f="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,p="";if(f){var h=require("fs"),m=require("path");p=c?m.dirname(p)+"/":__dirname+"/",a=(e,r)=>(e=V(e)?new URL(e):m.normalize(e),h.readFileSync(e,r?void 0:"utf8")),s=e=>{var r=a(e,!0);return r.buffer||(r=new Uint8Array(r)),r},i=(e,r,t,n=!0)=>{e=V(e)?new URL(e):m.normalize(e),h.readFile(e,n?void 0:"utf8",((e,o)=>{e?t(e):r(n?o.buffer:o)}))},!o.thisProgram&&process.argv.length>1&&(u=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),(e,r)=>{throw process.exitCode=e,r},o.inspect=()=>"[Emscripten Module object]"}else(d||c)&&(c?p=self.location.href:"undefined"!=typeof document&&document.currentScript&&(p=document.currentScript.src),e&&(p=e),p=0!==p.indexOf("blob:")?p.substr(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1):"",a=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},c&&(s=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),i=(e,r,t)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?r(n.response):t()},n.onerror=t,n.send(null)});var v,y=o.print||console.log.bind(console),g=o.printErr||console.error.bind(console);Object.assign(o,l),l=null,o.arguments&&o.arguments,o.thisProgram&&(u=o.thisProgram),o.quit&&o.quit,o.wasmBinary&&(v=o.wasmBinary);var w;o.noExitRuntime;"object"!=typeof WebAssembly&&W("no native wasm support detected");var E,b,_,$,k,C,P,D,F=!1;function S(e,r){e||W(r)}function T(){var e=w.buffer;o.HEAP8=E=new Int8Array(e),o.HEAP16=_=new Int16Array(e),o.HEAPU8=b=new Uint8Array(e),o.HEAPU16=$=new Uint16Array(e),o.HEAP32=k=new Int32Array(e),o.HEAPU32=C=new Uint32Array(e),o.HEAPF32=P=new Float32Array(e),o.HEAPF64=D=new Float64Array(e)}var M=[],A=[],j=[],O=!1;var R=0,z=null,x=null;function N(e){R++,o.monitorRunDependencies&&o.monitorRunDependencies(R)}function U(e){if(R--,o.monitorRunDependencies&&o.monitorRunDependencies(R),0==R&&(null!==z&&(clearInterval(z),z=null),x)){var r=x;x=null,r()}}function W(e){o.onAbort&&o.onAbort(e),g(e="Aborted("+e+")"),F=!0,1,e+=". Build with -sASSERTIONS for more info.",O&&pt();var r=new WebAssembly.RuntimeError(e);throw n(r),r}var I,L,H,B;function Y(e){return e.startsWith("data:application/octet-stream;base64,")}function V(e){return e.startsWith("file://")}function q(e){if(e==I&&v)return new Uint8Array(v);if(s)return s(e);throw"both async and sync fetching of the wasm failed"}function X(e,r,t){return function(e){if(!v&&(d||c)){if("function"==typeof fetch&&!V(e))return fetch(e,{credentials:"same-origin"}).then((r=>{if(!r.ok)throw"failed to load wasm binary file at '"+e+"'";return r.arrayBuffer()})).catch((()=>q(e)));if(i)return new Promise(((r,t)=>{i(e,(e=>r(new Uint8Array(e))),t)}))}return Promise.resolve().then((()=>q(e)))}(e).then((e=>WebAssembly.instantiate(e,r))).then((e=>e)).then(t,(e=>{g(`failed to asynchronously prepare wasm: ${e}`),W(e)}))}Y(I="pspdfkit.wasm.wasm")||(L=I,I=o.locateFile?o.locateFile(L,p):p+L);var G=e=>{for(;e.length>0;)e.shift()(o)},J={isAbs:e=>"/"===e.charAt(0),splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray:(e,r)=>{for(var t=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(r)for(;t;t--)e.unshift("..");return e},normalize:e=>{var r=J.isAbs(e),t="/"===e.substr(-1);return(e=J.normalizeArray(e.split("/").filter((e=>!!e)),!r).join("/"))||r||(e="."),e&&t&&(e+="/"),(r?"/":"")+e},dirname:e=>{var r=J.splitPath(e),t=r[0],n=r[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."},basename:e=>{if("/"===e)return"/";var r=(e=(e=J.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},join:function(){var e=Array.prototype.slice.call(arguments);return J.normalize(e.join("/"))},join2:(e,r)=>J.normalize(e+"/"+r)},K=e=>(K=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);if(f)try{var e=require("crypto");if(e.randomFillSync)return r=>e.randomFillSync(r);var r=e.randomBytes;return e=>(e.set(r(e.byteLength)),e)}catch(e){}W("initRandomDevice")})())(e),Z={resolve:function(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var n=t>=0?arguments[t]:ce.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,r=J.isAbs(n)}return(r?"/":"")+(e=J.normalizeArray(e.split("/").filter((e=>!!e)),!r).join("/"))||"."},relative:(e,r)=>{function t(e){for(var r=0;r=0&&""===e[t];t--);return r>t?[]:e.slice(r,t-r+1)}e=Z.resolve(e).substr(1),r=Z.resolve(r).substr(1);for(var n=t(e.split("/")),o=t(r.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s{for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.buffer&&Q)return Q.decode(e.subarray(r,o));for(var a="";r>10,56320|1023&u)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},re=[],te=e=>{for(var r=0,t=0;t=55296&&n<=57343?(r+=4,++t):r+=3}return r},ne=(e,r,t,n)=>{if(!(n>0))return 0;for(var o=t,a=t+n-1,i=0;i=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++i);if(s<=127){if(t>=a)break;r[t++]=s}else if(s<=2047){if(t+1>=a)break;r[t++]=192|s>>6,r[t++]=128|63&s}else if(s<=65535){if(t+2>=a)break;r[t++]=224|s>>12,r[t++]=128|s>>6&63,r[t++]=128|63&s}else{if(t+3>=a)break;r[t++]=240|s>>18,r[t++]=128|s>>12&63,r[t++]=128|s>>6&63,r[t++]=128|63&s}}return r[t]=0,t-o};function oe(e,r,t){var n=t>0?t:te(e)+1,o=new Array(n),a=ne(e,o,0,o.length);return r&&(o.length=a),o}var ae={ttys:[],init(){},shutdown(){},register(e,r){ae.ttys[e]={input:[],output:[],ops:r},ce.registerDevice(e,ae.stream_ops)},stream_ops:{open(e){var r=ae.ttys[e.node.rdev];if(!r)throw new ce.ErrnoError(43);e.tty=r,e.seekable=!1},close(e){e.tty.ops.fsync(e.tty)},fsync(e){e.tty.ops.fsync(e.tty)},read(e,r,t,n,o){if(!e.tty||!e.tty.ops.get_char)throw new ce.ErrnoError(60);for(var a=0,i=0;i(()=>{if(!re.length){var e=null;if(f){var r=Buffer.alloc(256),t=0,n=process.stdin.fd;try{t=h.readSync(n,r)}catch(e){if(!e.toString().includes("EOF"))throw e;t=0}e=t>0?r.slice(0,t).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\n");if(!e)return null;re=oe(e,!0)}return re.shift()})(),put_char(e,r){null===r||10===r?(y(ee(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},fsync(e){e.output&&e.output.length>0&&(y(ee(e.output,0)),e.output=[])},ioctl_tcgets:e=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(e,r,t)=>0,ioctl_tiocgwinsz:e=>[24,80]},default_tty1_ops:{put_char(e,r){null===r||10===r?(g(ee(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},fsync(e){e.output&&e.output.length>0&&(g(ee(e.output,0)),e.output=[])}}},ie=e=>{e=((e,r)=>Math.ceil(e/r)*r)(e,65536);var r=ft(65536,e);return r?((e,r)=>(b.fill(0,e,e+r),e))(r,e):0},se={ops_table:null,mount:e=>se.createNode(null,"/",16895,0),createNode(e,r,t,n){if(ce.isBlkdev(t)||ce.isFIFO(t))throw new ce.ErrnoError(63);se.ops_table||(se.ops_table={dir:{node:{getattr:se.node_ops.getattr,setattr:se.node_ops.setattr,lookup:se.node_ops.lookup,mknod:se.node_ops.mknod,rename:se.node_ops.rename,unlink:se.node_ops.unlink,rmdir:se.node_ops.rmdir,readdir:se.node_ops.readdir,symlink:se.node_ops.symlink},stream:{llseek:se.stream_ops.llseek}},file:{node:{getattr:se.node_ops.getattr,setattr:se.node_ops.setattr},stream:{llseek:se.stream_ops.llseek,read:se.stream_ops.read,write:se.stream_ops.write,allocate:se.stream_ops.allocate,mmap:se.stream_ops.mmap,msync:se.stream_ops.msync}},link:{node:{getattr:se.node_ops.getattr,setattr:se.node_ops.setattr,readlink:se.node_ops.readlink},stream:{}},chrdev:{node:{getattr:se.node_ops.getattr,setattr:se.node_ops.setattr},stream:ce.chrdev_stream_ops}});var o=ce.createNode(e,r,t,n);return ce.isDir(o.mode)?(o.node_ops=se.ops_table.dir.node,o.stream_ops=se.ops_table.dir.stream,o.contents={}):ce.isFile(o.mode)?(o.node_ops=se.ops_table.file.node,o.stream_ops=se.ops_table.file.stream,o.usedBytes=0,o.contents=null):ce.isLink(o.mode)?(o.node_ops=se.ops_table.link.node,o.stream_ops=se.ops_table.link.stream):ce.isChrdev(o.mode)&&(o.node_ops=se.ops_table.chrdev.node,o.stream_ops=se.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[r]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,r){var t=e.contents?e.contents.length:0;if(!(t>=r)){r=Math.max(r,t*(t<1048576?2:1.125)>>>0),0!=t&&(r=Math.max(r,256));var n=e.contents;e.contents=new Uint8Array(r),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage(e,r){if(e.usedBytes!=r)if(0==r)e.contents=null,e.usedBytes=0;else{var t=e.contents;e.contents=new Uint8Array(r),t&&e.contents.set(t.subarray(0,Math.min(r,e.usedBytes))),e.usedBytes=r}},node_ops:{getattr(e){var r={};return r.dev=ce.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,ce.isDir(e.mode)?r.size=4096:ce.isFile(e.mode)?r.size=e.usedBytes:ce.isLink(e.mode)?r.size=e.link.length:r.size=0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&se.resizeFileStorage(e,r.size)},lookup(e,r){throw ce.genericErrors[44]},mknod:(e,r,t,n)=>se.createNode(e,r,t,n),rename(e,r,t){if(ce.isDir(e.mode)){var n;try{n=ce.lookupNode(r,t)}catch(e){}if(n)for(var o in n.contents)throw new ce.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=t,r.contents[t]=e,r.timestamp=e.parent.timestamp,e.parent=r},unlink(e,r){delete e.contents[r],e.timestamp=Date.now()},rmdir(e,r){var t=ce.lookupNode(e,r);for(var n in t.contents)throw new ce.ErrnoError(55);delete e.contents[r],e.timestamp=Date.now()},readdir(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink(e,r,t){var n=se.createNode(e,r,41471,0);return n.link=t,n},readlink(e){if(!ce.isLink(e.mode))throw new ce.ErrnoError(28);return e.link}},stream_ops:{read(e,r,t,n,o){var a=e.node.contents;if(o>=e.node.usedBytes)return 0;var i=Math.min(e.node.usedBytes-o,n);if(i>8&&a.subarray)r.set(a.subarray(o,o+i),t);else for(var s=0;s0||t+r(se.stream_ops.write(e,r,0,n,t,!1),0)}},le=o.preloadPlugins||[],ue=(e,r)=>{var t=0;return e&&(t|=365),r&&(t|=146),t},de={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount(e){S(c),de.reader||(de.reader=new FileReaderSync);var r=de.createNode(null,"/",de.DIR_MODE,0),t={};function n(e){for(var n=e.split("/"),o=r,a=0;a({dev:1,ino:e.id,mode:e.mode,nlink:1,uid:0,gid:0,rdev:0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}),setattr(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp)},lookup(e,r){throw new ce.ErrnoError(44)},mknod(e,r,t,n){throw new ce.ErrnoError(63)},rename(e,r,t){throw new ce.ErrnoError(63)},unlink(e,r){throw new ce.ErrnoError(63)},rmdir(e,r){throw new ce.ErrnoError(63)},readdir(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink(e,r,t){throw new ce.ErrnoError(63)}},stream_ops:{read(e,r,t,n,o){if(o>=e.node.size)return 0;var a=e.node.contents.slice(o,o+n),i=de.reader.readAsArrayBuffer(a);return r.set(new Uint8Array(i),t),a.size},write(e,r,t,n,o){throw new ce.ErrnoError(29)},llseek(e,r,t){var n=r;if(1===t?n+=e.position:2===t&&ce.isFile(e.node.mode)&&(n+=e.node.size),n<0)throw new ce.ErrnoError(28);return n}}},ce={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(e,r={}){if(!(e=Z.resolve(e)))return{path:"",node:null};if((r=Object.assign({follow_mount:!0,recurse_count:0},r)).recurse_count>8)throw new ce.ErrnoError(32);for(var t=e.split("/").filter((e=>!!e)),n=ce.root,o="/",a=0;a40)throw new ce.ErrnoError(32)}}return{path:o,node:n}},getPath(e){for(var r;;){if(ce.isRoot(e)){var t=e.mount.mountpoint;return r?"/"!==t[t.length-1]?`${t}/${r}`:t+r:t}r=r?`${e.name}/${r}`:e.name,e=e.parent}},hashName(e,r){for(var t=0,n=0;n>>0)%ce.nameTable.length},hashAddNode(e){var r=ce.hashName(e.parent.id,e.name);e.name_next=ce.nameTable[r],ce.nameTable[r]=e},hashRemoveNode(e){var r=ce.hashName(e.parent.id,e.name);if(ce.nameTable[r]===e)ce.nameTable[r]=e.name_next;else for(var t=ce.nameTable[r];t;){if(t.name_next===e){t.name_next=e.name_next;break}t=t.name_next}},lookupNode(e,r){var t=ce.mayLookup(e);if(t)throw new ce.ErrnoError(t,e);for(var n=ce.hashName(e.id,r),o=ce.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===e.id&&a===r)return o}return ce.lookup(e,r)},createNode(e,r,t,n){var o=new ce.FSNode(e,r,t,n);return ce.hashAddNode(o),o},destroyNode(e){ce.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>49152==(49152&e),flagsToPermissionString(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r},nodePermissions:(e,r)=>ce.ignorePermissions||(!r.includes("r")||292&e.mode)&&(!r.includes("w")||146&e.mode)&&(!r.includes("x")||73&e.mode)?0:2,mayLookup(e){var r=ce.nodePermissions(e,"x");return r||(e.node_ops.lookup?0:2)},mayCreate(e,r){try{ce.lookupNode(e,r);return 20}catch(e){}return ce.nodePermissions(e,"wx")},mayDelete(e,r,t){var n;try{n=ce.lookupNode(e,r)}catch(e){return e.errno}var o=ce.nodePermissions(e,"wx");if(o)return o;if(t){if(!ce.isDir(n.mode))return 54;if(ce.isRoot(n)||ce.getPath(n)===ce.cwd())return 10}else if(ce.isDir(n.mode))return 31;return 0},mayOpen:(e,r)=>e?ce.isLink(e.mode)?32:ce.isDir(e.mode)&&("r"!==ce.flagsToPermissionString(r)||512&r)?31:ce.nodePermissions(e,ce.flagsToPermissionString(r)):44,MAX_OPEN_FDS:4096,nextfd(){for(var e=0;e<=ce.MAX_OPEN_FDS;e++)if(!ce.streams[e])return e;throw new ce.ErrnoError(33)},getStreamChecked(e){var r=ce.getStream(e);if(!r)throw new ce.ErrnoError(8);return r},getStream:e=>ce.streams[e],createStream:(e,r=-1)=>(ce.FSStream||(ce.FSStream=function(){this.shared={}},ce.FSStream.prototype={},Object.defineProperties(ce.FSStream.prototype,{object:{get(){return this.node},set(e){this.node=e}},isRead:{get(){return 1!=(2097155&this.flags)}},isWrite:{get(){return 0!=(2097155&this.flags)}},isAppend:{get(){return 1024&this.flags}},flags:{get(){return this.shared.flags},set(e){this.shared.flags=e}},position:{get(){return this.shared.position},set(e){this.shared.position=e}}})),e=Object.assign(new ce.FSStream,e),-1==r&&(r=ce.nextfd()),e.fd=r,ce.streams[r]=e,e),closeStream(e){ce.streams[e]=null},chrdev_stream_ops:{open(e){var r=ce.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek(){throw new ce.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,r)=>e<<8|r,registerDevice(e,r){ce.devices[e]={stream_ops:r}},getDevice:e=>ce.devices[e],getMounts(e){for(var r=[],t=[e];t.length;){var n=t.pop();r.push(n),t.push.apply(t,n.mounts)}return r},syncfs(e,r){"function"==typeof e&&(r=e,e=!1),ce.syncFSRequests++,ce.syncFSRequests>1&&g(`warning: ${ce.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=ce.getMounts(ce.root.mount),n=0;function o(e){return ce.syncFSRequests--,r(e)}function a(e){if(e)return a.errored?void 0:(a.errored=!0,o(e));++n>=t.length&&o(null)}t.forEach((r=>{if(!r.type.syncfs)return a(null);r.type.syncfs(r,e,a)}))},mount(e,r,t){var n,o="/"===t,a=!t;if(o&&ce.root)throw new ce.ErrnoError(10);if(!o&&!a){var i=ce.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,ce.isMountpoint(n))throw new ce.ErrnoError(10);if(!ce.isDir(n.mode))throw new ce.ErrnoError(54)}var s={type:e,opts:r,mountpoint:t,mounts:[]},l=e.mount(s);return l.mount=s,s.root=l,o?ce.root=l:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),l},unmount(e){var r=ce.lookupPath(e,{follow_mount:!1});if(!ce.isMountpoint(r.node))throw new ce.ErrnoError(28);var t=r.node,n=t.mounted,o=ce.getMounts(n);Object.keys(ce.nameTable).forEach((e=>{for(var r=ce.nameTable[e];r;){var t=r.name_next;o.includes(r.mount)&&ce.destroyNode(r),r=t}})),t.mounted=null;var a=t.mount.mounts.indexOf(n);t.mount.mounts.splice(a,1)},lookup:(e,r)=>e.node_ops.lookup(e,r),mknod(e,r,t){var n=ce.lookupPath(e,{parent:!0}).node,o=J.basename(e);if(!o||"."===o||".."===o)throw new ce.ErrnoError(28);var a=ce.mayCreate(n,o);if(a)throw new ce.ErrnoError(a);if(!n.node_ops.mknod)throw new ce.ErrnoError(63);return n.node_ops.mknod(n,o,r,t)},create:(e,r)=>(r=void 0!==r?r:438,r&=4095,r|=32768,ce.mknod(e,r,0)),mkdir:(e,r)=>(r=void 0!==r?r:511,r&=1023,r|=16384,ce.mknod(e,r,0)),mkdirTree(e,r){for(var t=e.split("/"),n="",o=0;o(void 0===t&&(t=r,r=438),r|=8192,ce.mknod(e,r,t)),symlink(e,r){if(!Z.resolve(e))throw new ce.ErrnoError(44);var t=ce.lookupPath(r,{parent:!0}).node;if(!t)throw new ce.ErrnoError(44);var n=J.basename(r),o=ce.mayCreate(t,n);if(o)throw new ce.ErrnoError(o);if(!t.node_ops.symlink)throw new ce.ErrnoError(63);return t.node_ops.symlink(t,n,e)},rename(e,r){var t,n,o=J.dirname(e),a=J.dirname(r),i=J.basename(e),s=J.basename(r);if(t=ce.lookupPath(e,{parent:!0}).node,n=ce.lookupPath(r,{parent:!0}).node,!t||!n)throw new ce.ErrnoError(44);if(t.mount!==n.mount)throw new ce.ErrnoError(75);var l,u=ce.lookupNode(t,i),d=Z.relative(e,a);if("."!==d.charAt(0))throw new ce.ErrnoError(28);if("."!==(d=Z.relative(r,o)).charAt(0))throw new ce.ErrnoError(55);try{l=ce.lookupNode(n,s)}catch(e){}if(u!==l){var c=ce.isDir(u.mode),f=ce.mayDelete(t,i,c);if(f)throw new ce.ErrnoError(f);if(f=l?ce.mayDelete(n,s,c):ce.mayCreate(n,s))throw new ce.ErrnoError(f);if(!t.node_ops.rename)throw new ce.ErrnoError(63);if(ce.isMountpoint(u)||l&&ce.isMountpoint(l))throw new ce.ErrnoError(10);if(n!==t&&(f=ce.nodePermissions(t,"w")))throw new ce.ErrnoError(f);ce.hashRemoveNode(u);try{t.node_ops.rename(u,n,s)}catch(e){throw e}finally{ce.hashAddNode(u)}}},rmdir(e){var r=ce.lookupPath(e,{parent:!0}).node,t=J.basename(e),n=ce.lookupNode(r,t),o=ce.mayDelete(r,t,!0);if(o)throw new ce.ErrnoError(o);if(!r.node_ops.rmdir)throw new ce.ErrnoError(63);if(ce.isMountpoint(n))throw new ce.ErrnoError(10);r.node_ops.rmdir(r,t),ce.destroyNode(n)},readdir(e){var r=ce.lookupPath(e,{follow:!0}).node;if(!r.node_ops.readdir)throw new ce.ErrnoError(54);return r.node_ops.readdir(r)},unlink(e){var r=ce.lookupPath(e,{parent:!0}).node;if(!r)throw new ce.ErrnoError(44);var t=J.basename(e),n=ce.lookupNode(r,t),o=ce.mayDelete(r,t,!1);if(o)throw new ce.ErrnoError(o);if(!r.node_ops.unlink)throw new ce.ErrnoError(63);if(ce.isMountpoint(n))throw new ce.ErrnoError(10);r.node_ops.unlink(r,t),ce.destroyNode(n)},readlink(e){var r=ce.lookupPath(e).node;if(!r)throw new ce.ErrnoError(44);if(!r.node_ops.readlink)throw new ce.ErrnoError(28);return Z.resolve(ce.getPath(r.parent),r.node_ops.readlink(r))},stat(e,r){var t=ce.lookupPath(e,{follow:!r}).node;if(!t)throw new ce.ErrnoError(44);if(!t.node_ops.getattr)throw new ce.ErrnoError(63);return t.node_ops.getattr(t)},lstat:e=>ce.stat(e,!0),chmod(e,r,t){var n;"string"==typeof e?n=ce.lookupPath(e,{follow:!t}).node:n=e;if(!n.node_ops.setattr)throw new ce.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&r|-4096&n.mode,timestamp:Date.now()})},lchmod(e,r){ce.chmod(e,r,!0)},fchmod(e,r){var t=ce.getStreamChecked(e);ce.chmod(t.node,r)},chown(e,r,t,n){var o;"string"==typeof e?o=ce.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new ce.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(e,r,t){ce.chown(e,r,t,!0)},fchown(e,r,t){var n=ce.getStreamChecked(e);ce.chown(n.node,r,t)},truncate(e,r){if(r<0)throw new ce.ErrnoError(28);var t;"string"==typeof e?t=ce.lookupPath(e,{follow:!0}).node:t=e;if(!t.node_ops.setattr)throw new ce.ErrnoError(63);if(ce.isDir(t.mode))throw new ce.ErrnoError(31);if(!ce.isFile(t.mode))throw new ce.ErrnoError(28);var n=ce.nodePermissions(t,"w");if(n)throw new ce.ErrnoError(n);t.node_ops.setattr(t,{size:r,timestamp:Date.now()})},ftruncate(e,r){var t=ce.getStreamChecked(e);if(0==(2097155&t.flags))throw new ce.ErrnoError(28);ce.truncate(t.node,r)},utime(e,r,t){var n=ce.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(r,t)})},open(e,r,t){if(""===e)throw new ce.ErrnoError(44);var n;if(t=void 0===t?438:t,t=64&(r="string"==typeof r?(e=>{var r={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===r)throw new Error(`Unknown file open mode: ${e}`);return r})(r):r)?4095&t|32768:0,"object"==typeof e)n=e;else{e=J.normalize(e);try{n=ce.lookupPath(e,{follow:!(131072&r)}).node}catch(e){}}var a=!1;if(64&r)if(n){if(128&r)throw new ce.ErrnoError(20)}else n=ce.mknod(e,t,0),a=!0;if(!n)throw new ce.ErrnoError(44);if(ce.isChrdev(n.mode)&&(r&=-513),65536&r&&!ce.isDir(n.mode))throw new ce.ErrnoError(54);if(!a){var i=ce.mayOpen(n,r);if(i)throw new ce.ErrnoError(i)}512&r&&!a&&ce.truncate(n,0),r&=-131713;var s=ce.createStream({node:n,path:ce.getPath(n),flags:r,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),!o.logReadFiles||1&r||(ce.readFiles||(ce.readFiles={}),e in ce.readFiles||(ce.readFiles[e]=1)),s},close(e){if(ce.isClosed(e))throw new ce.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{ce.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,r,t){if(ce.isClosed(e))throw new ce.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new ce.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new ce.ErrnoError(28);return e.position=e.stream_ops.llseek(e,r,t),e.ungotten=[],e.position},read(e,r,t,n,o){if(n<0||o<0)throw new ce.ErrnoError(28);if(ce.isClosed(e))throw new ce.ErrnoError(8);if(1==(2097155&e.flags))throw new ce.ErrnoError(8);if(ce.isDir(e.node.mode))throw new ce.ErrnoError(31);if(!e.stream_ops.read)throw new ce.ErrnoError(28);var a=void 0!==o;if(a){if(!e.seekable)throw new ce.ErrnoError(70)}else o=e.position;var i=e.stream_ops.read(e,r,t,n,o);return a||(e.position+=i),i},write(e,r,t,n,o,a){if(n<0||o<0)throw new ce.ErrnoError(28);if(ce.isClosed(e))throw new ce.ErrnoError(8);if(0==(2097155&e.flags))throw new ce.ErrnoError(8);if(ce.isDir(e.node.mode))throw new ce.ErrnoError(31);if(!e.stream_ops.write)throw new ce.ErrnoError(28);e.seekable&&1024&e.flags&&ce.llseek(e,0,2);var i=void 0!==o;if(i){if(!e.seekable)throw new ce.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,r,t,n,o,a);return i||(e.position+=s),s},allocate(e,r,t){if(ce.isClosed(e))throw new ce.ErrnoError(8);if(r<0||t<=0)throw new ce.ErrnoError(28);if(0==(2097155&e.flags))throw new ce.ErrnoError(8);if(!ce.isFile(e.node.mode)&&!ce.isDir(e.node.mode))throw new ce.ErrnoError(43);if(!e.stream_ops.allocate)throw new ce.ErrnoError(138);e.stream_ops.allocate(e,r,t)},mmap(e,r,t,n,o){if(0!=(2&n)&&0==(2&o)&&2!=(2097155&e.flags))throw new ce.ErrnoError(2);if(1==(2097155&e.flags))throw new ce.ErrnoError(2);if(!e.stream_ops.mmap)throw new ce.ErrnoError(43);return e.stream_ops.mmap(e,r,t,n,o)},msync:(e,r,t,n,o)=>e.stream_ops.msync?e.stream_ops.msync(e,r,t,n,o):0,munmap:e=>0,ioctl(e,r,t){if(!e.stream_ops.ioctl)throw new ce.ErrnoError(59);return e.stream_ops.ioctl(e,r,t)},readFile(e,r={}){if(r.flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error(`Invalid encoding type "${r.encoding}"`);var t,n=ce.open(e,r.flags),o=ce.stat(e).size,a=new Uint8Array(o);return ce.read(n,a,0,o,0),"utf8"===r.encoding?t=ee(a,0):"binary"===r.encoding&&(t=a),ce.close(n),t},writeFile(e,r,t={}){t.flags=t.flags||577;var n=ce.open(e,t.flags,t.mode);if("string"==typeof r){var o=new Uint8Array(te(r)+1),a=ne(r,o,0,o.length);ce.write(n,o,0,a,void 0,t.canOwn)}else{if(!ArrayBuffer.isView(r))throw new Error("Unsupported data type");ce.write(n,r,0,r.byteLength,void 0,t.canOwn)}ce.close(n)},cwd:()=>ce.currentPath,chdir(e){var r=ce.lookupPath(e,{follow:!0});if(null===r.node)throw new ce.ErrnoError(44);if(!ce.isDir(r.node.mode))throw new ce.ErrnoError(54);var t=ce.nodePermissions(r.node,"x");if(t)throw new ce.ErrnoError(t);ce.currentPath=r.path},createDefaultDirectories(){ce.mkdir("/tmp"),ce.mkdir("/home"),ce.mkdir("/home/web_user")},createDefaultDevices(){ce.mkdir("/dev"),ce.registerDevice(ce.makedev(1,3),{read:()=>0,write:(e,r,t,n,o)=>n}),ce.mkdev("/dev/null",ce.makedev(1,3)),ae.register(ce.makedev(5,0),ae.default_tty_ops),ae.register(ce.makedev(6,0),ae.default_tty1_ops),ce.mkdev("/dev/tty",ce.makedev(5,0)),ce.mkdev("/dev/tty1",ce.makedev(6,0));var e=new Uint8Array(1024),r=0,t=()=>(0===r&&(r=K(e).byteLength),e[--r]);ce.createDevice("/dev","random",t),ce.createDevice("/dev","urandom",t),ce.mkdir("/dev/shm"),ce.mkdir("/dev/shm/tmp")},createSpecialDirectories(){ce.mkdir("/proc");var e=ce.mkdir("/proc/self");ce.mkdir("/proc/self/fd"),ce.mount({mount(){var r=ce.createNode(e,"fd",16895,73);return r.node_ops={lookup(e,r){var t=+r,n=ce.getStreamChecked(t),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},r}},{},"/proc/self/fd")},createStandardStreams(){o.stdin?ce.createDevice("/dev","stdin",o.stdin):ce.symlink("/dev/tty","/dev/stdin"),o.stdout?ce.createDevice("/dev","stdout",null,o.stdout):ce.symlink("/dev/tty","/dev/stdout"),o.stderr?ce.createDevice("/dev","stderr",null,o.stderr):ce.symlink("/dev/tty1","/dev/stderr");ce.open("/dev/stdin",0),ce.open("/dev/stdout",1),ce.open("/dev/stderr",1)},ensureErrnoError(){ce.ErrnoError||(ce.ErrnoError=function(e,r){this.name="ErrnoError",this.node=r,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},ce.ErrnoError.prototype=new Error,ce.ErrnoError.prototype.constructor=ce.ErrnoError,[44].forEach((e=>{ce.genericErrors[e]=new ce.ErrnoError(e),ce.genericErrors[e].stack=""})))},staticInit(){ce.ensureErrnoError(),ce.nameTable=new Array(4096),ce.mount(se,{},"/"),ce.createDefaultDirectories(),ce.createDefaultDevices(),ce.createSpecialDirectories(),ce.filesystems={MEMFS:se,WORKERFS:de}},init(e,r,t){ce.init.initialized=!0,ce.ensureErrnoError(),o.stdin=e||o.stdin,o.stdout=r||o.stdout,o.stderr=t||o.stderr,ce.createStandardStreams()},quit(){ce.init.initialized=!1;for(var e=0;ethis.length-1||e<0)){var r=e%this.chunkSize,t=e/this.chunkSize|0;return this.getter(t)[r]}},a.prototype.setDataGetter=function(e){this.getter=e},a.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",t,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+t+". Status: "+e.status);var r,n=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,a=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,i=1048576;o||(i=n);var s=this;s.setDataGetter((e=>{var r=e*i,o=(e+1)*i-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=((e,r)=>{if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",t,!1),n!==i&&o.setRequestHeader("Range","bytes="+e+"-"+r),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+t+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):oe(o.responseText||"",!0)})(r,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!a&&n||(i=n=1,n=this.getter(0).length,i=n,y("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!c)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new a;Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:i}}else s={isDevice:!1,url:t};var l=ce.createFile(e,r,s,n,o);s.contents?l.contents=s.contents:s.url&&(l.contents=null,l.url=s.url),Object.defineProperties(l,{usedBytes:{get:function(){return this.contents.length}}});var u={};function d(e,r,t,n,o){var a=e.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s{var r=l.stream_ops[e];u[e]=function(){return ce.forceLoadFile(l),r.apply(null,arguments)}})),u.read=(e,r,t,n,o)=>(ce.forceLoadFile(l),d(e,r,t,n,o)),u.mmap=(e,r,t,n,o)=>{ce.forceLoadFile(l);var a=ie(r);if(!a)throw new ce.ErrnoError(48);return d(e,E,a,r,t),{ptr:a,allocated:!0}},l.stream_ops=u,l}},fe=(e,r)=>e?ee(b,e,r):"",pe={DEFAULT_POLLMASK:5,calculateAt(e,r,t){if(J.isAbs(r))return r;var n;-100===e?n=ce.cwd():n=pe.getStreamFromFD(e).path;if(0==r.length){if(!t)throw new ce.ErrnoError(44);return n}return J.join2(n,r)},doStat(e,r,t){try{var n=e(r)}catch(e){if(e&&e.node&&J.normalize(r)!==J.normalize(ce.getPath(e.node)))return-54;throw e}k[t>>2]=n.dev,k[t+4>>2]=n.mode,C[t+8>>2]=n.nlink,k[t+12>>2]=n.uid,k[t+16>>2]=n.gid,k[t+20>>2]=n.rdev,B=[n.size>>>0,(H=n.size,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[t+24>>2]=B[0],k[t+28>>2]=B[1],k[t+32>>2]=4096,k[t+36>>2]=n.blocks;var o=n.atime.getTime(),a=n.mtime.getTime(),i=n.ctime.getTime();return B=[Math.floor(o/1e3)>>>0,(H=Math.floor(o/1e3),+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[t+40>>2]=B[0],k[t+44>>2]=B[1],C[t+48>>2]=o%1e3*1e3,B=[Math.floor(a/1e3)>>>0,(H=Math.floor(a/1e3),+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[t+56>>2]=B[0],k[t+60>>2]=B[1],C[t+64>>2]=a%1e3*1e3,B=[Math.floor(i/1e3)>>>0,(H=Math.floor(i/1e3),+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[t+72>>2]=B[0],k[t+76>>2]=B[1],C[t+80>>2]=i%1e3*1e3,B=[n.ino>>>0,(H=n.ino,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[t+88>>2]=B[0],k[t+92>>2]=B[1],0},doMsync(e,r,t,n,o){if(!ce.isFile(r.node.mode))throw new ce.ErrnoError(43);if(2&n)return 0;var a=b.slice(e,e+t);ce.msync(r,a,o,t,n)},varargs:void 0,get(){var e=k[+pe.varargs>>2];return pe.varargs+=4,e},getp:()=>pe.get(),getStr:e=>fe(e),getStreamFromFD:e=>ce.getStreamChecked(e)};var he=(e,r)=>r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN;var me=(e,r,t)=>ne(e,b,r,t);var ve=e=>{if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=48&&r<=57?`_${e}`:e};function ye(e,r){return{[e=ve(e)]:function(){return r.apply(this,arguments)}}[e]}function ge(){this.allocated=[void 0],this.freelist=[]}var we,Ee,be,_e,$e,ke=new ge,Ce=e=>{throw new we(e)},Pe=()=>{for(var e=0,r=ke.reserved;r(e||Ce("Cannot use deleted val. handle = "+e),ke.get(e).value),Fe=e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return ke.allocate({refcount:1,value:e})}},Se=(e,r)=>{var t=ye(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t},Te=e=>{for(var r="",t=e;b[t];)r+=be[b[t++]];return r},Me=()=>Object.keys(ze).length,Ae=()=>{var e=[];for(var r in ze)ze.hasOwnProperty(r)&&e.push(ze[r]);return e},je=[],Oe=()=>{for(;je.length;){var e=je.pop();e.$$.deleteScheduled=!1,e.delete()}},Re=e=>{_e=e,je.length&&_e&&_e(Oe)},ze={},xe=(e,r)=>{for(void 0===r&&Ce("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r},Ne=(e,r,t)=>{r=xe(e,r),ze.hasOwnProperty(r)?Ce(`Tried to register registered instance: ${r}`):ze[r]=t},Ue={},We=e=>{var r=ct(e),t=Te(r);return ut(r),t},Ie=(e,r)=>{var t=Ue[e];return void 0===t&&Ce(r+" has unknown type "+We(e)),t},Le=e=>{},He=!1,Be=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},Ye=(e,r,t)=>{if(r===t)return e;if(void 0===t.baseClass)return null;var n=Ye(e,r,t.baseClass);return null===n?null:t.downcast(n)},Ve={},qe=e=>{throw new $e(e)},Xe=(e,r)=>(r.ptrType&&r.ptr||qe("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!==!!r.smartPtr&&qe("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Je(Object.create(e,{$$:{value:r}})));function Ge(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=((e,r)=>(r=xe(e,r),ze[r]))(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?Xe(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):Xe(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var a,i=this.registeredClass.getActualType(r),s=Ve[i];if(!s)return o.call(this);a=this.isConst?s.constPointerType:s.pointerType;var l=Ye(r,this.registeredClass,a.registeredClass);return null===l?o.call(this):this.isSmartPointer?Xe(a.registeredClass.instancePrototype,{ptrType:a,ptr:l,smartPtrType:this,smartPtr:e}):Xe(a.registeredClass.instancePrototype,{ptrType:a,ptr:l})}var Je=e=>"undefined"==typeof FinalizationRegistry?(Je=e=>e,e):(He=new FinalizationRegistry((e=>{Be(e.$$)})),Je=e=>{var r=e.$$;if(!!r.smartPtr){var t={$$:r};He.register(e,t,e)}return e},Le=e=>He.unregister(e),Je(e)),Ke={},Ze=e=>{for(;e.length;){var r=e.pop();e.pop()(r)}};function Qe(e){return this.fromWireType(k[e>>2])}var er={},rr={},tr=(e,r,t)=>{function n(r){var n=t(r);n.length!==e.length&&qe("Mismatched type converter count");for(var o=0;o{Ue.hasOwnProperty(e)?o[r]=Ue[e]:(a.push(e),er.hasOwnProperty(e)||(er[e]=[]),er[e].push((()=>{o[r]=Ue[e],++i===a.length&&n(o)})))})),0===a.length&&n(o)};function nr(e,r,t={}){if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,r,t={}){var n=r.name;if(e||Ce(`type "${n}" must have a positive integer typeid pointer`),Ue.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;Ce(`Cannot register type '${n}' twice`)}if(Ue[e]=r,delete rr[e],er.hasOwnProperty(e)){var o=er[e];delete er[e],o.forEach((e=>e()))}}(e,r,t)}var or=8,ar=e=>{Ce(e.$$.ptrType.registeredClass.name+" instance already deleted")};function ir(){}var sr=(e,r,t)=>{if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||Ce(`Function '${t}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[r].overloadTable})!`),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}},lr=(e,r,t)=>{o.hasOwnProperty(e)?((void 0===t||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[t])&&Ce(`Cannot register public name '${e}' twice`),sr(o,e,e),o.hasOwnProperty(t)&&Ce(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),o[e].overloadTable[t]=r):(o[e]=r,void 0!==t&&(o[e].numArguments=t))};function ur(e,r,t,n,o,a,i,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=a,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var dr=(e,r,t)=>{for(;r!==t;)r.upcast||Ce(`Expected null or instance of ${t.name}, got an instance of ${r.name}`),e=r.upcast(e),r=r.baseClass;return e};function cr(e,r){if(null===r)return this.isReference&&Ce(`null is not a valid ${this.name}`),0;r.$$||Ce(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||Ce(`Cannot pass deleted object as a pointer of type ${this.name}`);var t=r.$$.ptrType.registeredClass;return dr(r.$$.ptr,t,this.registeredClass)}function fr(e,r){var t;if(null===r)return this.isReference&&Ce(`null is not a valid ${this.name}`),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||Ce(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||Ce(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&r.$$.ptrType.isConst&&Ce(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);var n=r.$$.ptrType.registeredClass;if(t=dr(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&Ce("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:Ce(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,Fe((()=>o.delete()))),null!==e&&e.push(this.rawDestructor,t)}break;default:Ce("Unsupporting sharing policy")}return t}function pr(e,r){if(null===r)return this.isReference&&Ce(`null is not a valid ${this.name}`),0;r.$$||Ce(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||Ce(`Cannot pass deleted object as a pointer of type ${this.name}`),r.$$.ptrType.isConst&&Ce(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);var t=r.$$.ptrType.registeredClass;return dr(r.$$.ptr,t,this.registeredClass)}function hr(e){return this.fromWireType(C[e>>2])}function mr(e,r,t,n,o,a,i,s,l,u,d){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=a,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=l,this.rawShare=u,this.rawDestructor=d,o||void 0!==r.baseClass?this.toWireType=fr:n?(this.toWireType=cr,this.destructorFunction=null):(this.toWireType=pr,this.destructorFunction=null)}var vr,yr,gr=(e,r,t)=>{o.hasOwnProperty(e)||qe("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==t?o[e].overloadTable[t]=r:(o[e]=r,o[e].argCount=t)},wr=e=>vr.get(e),Er=(e,r,t)=>e.includes("j")?((e,r,t)=>{var n=o["dynCall_"+e];return t&&t.length?n.apply(null,[r].concat(t)):n.call(null,r)})(e,r,t):wr(r).apply(null,t),br=(e,r)=>{var t,n,o,a=(e=Te(e)).includes("j")?(t=e,n=r,o=[],function(){return o.length=0,Object.assign(o,arguments),Er(t,n,o)}):wr(r);return"function"!=typeof a&&Ce(`unknown function pointer with signature ${e}: ${r}`),a},_r=(e,r)=>{var t=[],n={};throw r.forEach((function e(r){n[r]||Ue[r]||(rr[r]?rr[r].forEach(e):(t.push(r),n[r]=!0))})),new yr(`${e}: `+t.map(We).join([", "]))};function $r(e,r,t,n,o,a){var i=r.length;i<2&&Ce("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&null!==t,l=!1,u=1;u{for(var t=[],n=0;n>2]);return t},Cr=(e,r,t)=>(e instanceof Object||Ce(`${t} with invalid "this": ${e}`),e instanceof r.registeredClass.constructor||Ce(`${t} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||Ce(`cannot call emscripten binding method ${t} on deleted object`),dr(e.$$.ptr,e.$$.ptrType.registeredClass,r.registeredClass)),Pr=e=>{e>=ke.reserved&&0==--ke.get(e).refcount&&ke.free(e)},Dr=e=>{if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e},Fr=(e,r)=>{switch(r){case 4:return function(e){return this.fromWireType(P[e>>2])};case 8:return function(e){return this.fromWireType(D[e>>3])};default:throw new TypeError(`invalid float width (${r}): ${e}`)}},Sr=(e,r,t)=>{switch(r){case 1:return t?e=>E[e>>0]:e=>b[e>>0];case 2:return t?e=>_[e>>1]:e=>$[e>>1];case 4:return t?e=>k[e>>2]:e=>C[e>>2];default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Tr="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Mr=(e,r)=>{for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&$[n];)++n;if((t=n<<1)-e>32&&Tr)return Tr.decode(b.subarray(e,t));for(var a="",i=0;!(i>=r/2);++i){var s=_[e+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},Ar=(e,r,t)=>{if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,a=0;a>1]=i,r+=2}return _[r>>1]=0,r-n},jr=e=>2*e.length,Or=(e,r)=>{for(var t=0,n="";!(t>=r/4);){var o=k[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},Rr=(e,r,t)=>{if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,a=0;a=55296&&i<=57343)i=65536+((1023&i)<<10)|1023&e.charCodeAt(++a);if(k[r>>2]=i,(r+=4)+4>o)break}return k[r>>2]=0,r-n},zr=e=>{for(var r=0,t=0;t=55296&&n<=57343&&++t,r+=4}return r},xr=(e,r)=>{for(var t=new Array(e),n=0;n>2],"parameter "+n);return t},Nr={},Ur=e=>{var r=Nr[e];return void 0===r?Te(e):r},Wr=[],Ir=()=>{if("object"==typeof globalThis)return globalThis;function e(e){e.$$$embind_global$$$=e;var r="object"==typeof $$$embind_global$$$&&e.$$$embind_global$$$==e;return r||delete e.$$$embind_global$$$,r}if("object"==typeof $$$embind_global$$$)return $$$embind_global$$$;if("object"==typeof global&&e(global)?$$$embind_global$$$=global:"object"==typeof self&&e(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$)return $$$embind_global$$$;throw Error("unable to get global object.")},Lr={};var Hr=e=>e%4==0&&(e%100!=0||e%400==0),Br=[0,31,60,91,121,152,182,213,244,274,305,335],Yr=[0,31,59,90,120,151,181,212,243,273,304,334],Vr=e=>(Hr(e.getFullYear())?Br:Yr)[e.getMonth()]+e.getDate()-1;var qr;qr=()=>performance.now();var Xr=e=>{var r=(e-w.buffer.byteLength+65535)/65536;try{return w.grow(r),T(),1}catch(e){}},Gr={},Jr=()=>{if(!Jr.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u||"./this.program"};for(var r in Gr)void 0===Gr[r]?delete e[r]:e[r]=Gr[r];var t=[];for(var r in e)t.push(`${r}=${e[r]}`);Jr.strings=t}return Jr.strings};var Kr=(e,r)=>{for(var t=0,n=0;n<=r;t+=e[n++]);return t},Zr=[31,29,31,30,31,30,31,31,30,31,30,31],Qr=[31,28,31,30,31,30,31,31,30,31,30,31],et=(e,r)=>{for(var t=new Date(e.getTime());r>0;){var n=Hr(t.getFullYear()),o=t.getMonth(),a=(n?Zr:Qr)[o];if(!(r>a-t.getDate()))return t.setDate(t.getDate()+r),t;r-=a-t.getDate()+1,t.setDate(1),o<11?t.setMonth(o+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return t},rt=e=>parseInt(e),tt=function(e,r,t,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=ce.nextInode++,this.name=r,this.mode=t,this.node_ops={},this.stream_ops={},this.rdev=n},nt=365,ot=146;Object.defineProperties(tt.prototype,{read:{get:function(){return(this.mode&nt)===nt},set:function(e){e?this.mode|=nt:this.mode&=-366}},write:{get:function(){return(this.mode&ot)===ot},set:function(e){e?this.mode|=ot:this.mode&=-147}},isFolder:{get:function(){return ce.isDir(this.mode)}},isDevice:{get:function(){return ce.isChrdev(this.mode)}}}),ce.FSNode=tt,ce.createPreloadedFile=(e,r,t,n,o,a,s,l,u,d)=>{var c=r?Z.resolve(J.join2(e,r)):e;function f(t){function i(t){d&&d(),l||((e,r,t,n,o,a)=>{ce.createDataFile(e,r,t,n,o,a)})(e,r,t,n,o,u),a&&a(),U()}((e,r,t,n)=>{"undefined"!=typeof Browser&&Browser.init();var o=!1;return le.forEach((a=>{o||a.canHandle(r)&&(a.handle(e,r,t,n),o=!0)})),o})(t,c,i,(()=>{s&&s(),U()}))||i(t)}N(),"string"==typeof t?((e,r,t,n)=>{var o=n?"":`al ${e}`;i(e,(t=>{S(t,`Loading data file "${e}" failed (no arrayBuffer).`),r(new Uint8Array(t)),o&&U()}),(r=>{if(!t)throw`Loading data file "${e}" failed.`;t()})),o&&N()})(t,(e=>f(e)),s):f(t)},ce.staticInit(),o.FS_createPath=ce.createPath,o.FS_createDataFile=ce.createDataFile,o.FS_createPreloadedFile=ce.createPreloadedFile,o.FS_unlink=ce.unlink,o.FS_createLazyFile=ce.createLazyFile,o.FS_createDevice=ce.createDevice,Object.assign(ge.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var r=this.freelist.pop()||this.allocated.length;return this.allocated[r]=e,r},free(e){this.allocated[e]=void 0,this.freelist.push(e)}}),we=o.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},ke.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),ke.reserved=ke.allocated.length,o.count_emval_handles=Pe,Ee=o.PureVirtualError=Se(Error,"PureVirtualError"),(()=>{for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);be=e})(),o.getInheritedInstanceCount=Me,o.getLiveInheritedInstances=Ae,o.flushPendingDeletes=Oe,o.setDelayFunction=Re,$e=o.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(ir.prototype,{isAliasOf(e){if(!(this instanceof ir))return!1;if(!(e instanceof ir))return!1;var r=this.$$.ptrType.registeredClass,t=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o},clone(){if(this.$$.ptr||ar(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Je(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r},delete(){this.$$.ptr||ar(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ce("Object already scheduled for deletion"),Le(this),Be(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||ar(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ce("Object already scheduled for deletion"),je.push(this),1===je.length&&_e&&_e(Oe),this.$$.deleteScheduled=!0,this}}),Object.assign(mr.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:or,readValueFromPointer:hr,deleteObject(e){null!==e&&e.delete()},fromWireType:Ge}),yr=o.UnboundTypeError=Se(Error,"UnboundTypeError");var at,it={W:function(e,r,t,n,o){try{for(var a=0,i=r?k[r>>2]:0,s=r?k[r+4>>2]:0,l=t?k[t>>2]:0,u=t?k[t+4>>2]:0,d=n?k[n>>2]:0,c=n?k[n+4>>2]:0,f=0,p=0,h=0,m=0,v=0,y=0,g=(r?k[r>>2]:0)|(t?k[t>>2]:0)|(n?k[n>>2]:0),w=(r?k[r+4>>2]:0)|(t?k[t+4>>2]:0)|(n?k[n+4>>2]:0),E=function(e,r,t,n){return e<32?r&n:t&n},b=0;b>2]:0)+(r?k[o+8>>2]:0)/1e6);C=$.stream_ops.poll($,P)}1&C&&E(b,i,s,_)&&(b<32?f|=_:p|=_,a++),4&C&&E(b,l,u,_)&&(b<32?h|=_:m|=_,a++),2&C&&E(b,d,c,_)&&(b<32?v|=_:y|=_,a++)}}return r&&(k[r>>2]=f,k[r+4>>2]=p),t&&(k[t>>2]=h,k[t+4>>2]=m),n&&(k[n>>2]=v,k[n+4>>2]=y),a}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ha:function(e,r){try{return e=pe.getStr(e),ce.chmod(e,r),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},la:function(e,r,t,n){try{if(r=pe.getStr(r),r=pe.calculateAt(e,r),-8&t)return-28;var o=ce.lookupPath(r,{follow:!0}).node;if(!o)return-44;var a="";return 4&t&&(a+="r"),2&t&&(a+="w"),1&t&&(a+="x"),a&&ce.nodePermissions(o,a)?-2:0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ia:function(e,r){try{return ce.fchmod(e,r),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},B:function(e,r,t){pe.varargs=t;try{var n=pe.getStreamFromFD(e);switch(r){case 0:if((o=pe.get())<0)return-28;for(;ce.streams[o];)o++;return ce.createStream(n,o).fd;case 1:case 2:case 6:case 7:return 0;case 3:return n.flags;case 4:var o=pe.get();return n.flags|=o,0;case 5:o=pe.getp();return _[o+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return a=28,k[dt()>>2]=a,-1}}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}var a},ea:function(e,r){try{var t=pe.getStreamFromFD(e);return pe.doStat(ce.stat,t.path,r)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},R:function(e,r,t){var n=he(r,t);try{return isNaN(n)?61:(ce.ftruncate(e,n),0)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},Y:function(e,r,t){try{var n=pe.getStreamFromFD(e);n.getdents||(n.getdents=ce.readdir(n.path));for(var o=280,a=0,i=ce.llseek(n,0,1),s=Math.floor(i/o);s>>0,(H=l,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[r+a>>2]=B[0],k[r+a+4>>2]=B[1],B=[(s+1)*o>>>0,(H=(s+1)*o,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[r+a+8>>2]=B[0],k[r+a+12>>2]=B[1],_[r+a+16>>1]=280,E[r+a+18>>0]=u,me(d,r+a+19,256),a+=o,s+=1}return ce.llseek(n,s*o,0),a}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ga:function(e,r,t){pe.varargs=t;try{var n=pe.getStreamFromFD(e);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=pe.getp();k[a>>2]=o.c_iflag||0,k[a+4>>2]=o.c_oflag||0,k[a+8>>2]=o.c_cflag||0,k[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)E[a+i+17>>0]=o.c_cc[i]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){a=pe.getp();var s=k[a>>2],l=k[a+4>>2],u=k[a+8>>2],d=k[a+12>>2],c=[];for(i=0;i<32;i++)c.push(E[a+i+17>>0]);return n.tty.ops.ioctl_tcsets(n.tty,r,{c_iflag:s,c_oflag:l,c_cflag:u,c_lflag:d,c_cc:c})}return 0;case 21519:if(!n.tty)return-59;a=pe.getp();return k[a>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:a=pe.getp();return ce.ioctl(n,r,a);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var f=n.tty.ops.ioctl_tiocgwinsz(n.tty);a=pe.getp();_[a>>1]=f[0],_[a+2>>1]=f[1]}return 0;default:return-28}}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ca:function(e,r){try{return e=pe.getStr(e),pe.doStat(ce.lstat,e,r)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},Z:function(e,r,t){try{return r=pe.getStr(r),r=pe.calculateAt(e,r),"/"===(r=J.normalize(r))[r.length-1]&&(r=r.substr(0,r.length-1)),ce.mkdir(r,t,0),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ba:function(e,r,t,n){try{r=pe.getStr(r);var o=256&n,a=4096&n;return n&=-6401,r=pe.calculateAt(e,r,a),pe.doStat(o?ce.lstat:ce.stat,r,t)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},t:function(e,r,t,n){pe.varargs=n;try{r=pe.getStr(r),r=pe.calculateAt(e,r);var o=n?pe.get():0;return ce.open(r,t,o).fd}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},X:function(e,r,t,n){try{return r=pe.getStr(r),n=pe.getStr(n),r=pe.calculateAt(e,r),n=pe.calculateAt(t,n),ce.rename(r,n),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},x:function(e){try{return e=pe.getStr(e),ce.rmdir(e),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},da:function(e,r){try{return e=pe.getStr(e),pe.doStat(ce.stat,e,r)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},y:function(e,r,t){try{return r=pe.getStr(r),r=pe.calculateAt(e,r),0===t?ce.unlink(r):512===t?ce.rmdir(r):W("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},ua:(e,r,t)=>{e=Te(e),r=Ie(r,"wrapper"),t=De(t);var n=[].slice,o=r.registeredClass,a=o.instancePrototype,i=o.baseClass.instancePrototype,s=o.baseClass.constructor,l=ye(e,(function(){o.baseClass.pureVirtualFunctions.forEach(function(e){if(this[e]===i[e])throw new Ee(`Pure virtual function ${e} must be implemented in JavaScript`)}.bind(this)),Object.defineProperty(this,"__parent",{value:a}),this.__construct.apply(this,n.call(arguments))}));return a.__construct=function(){this===a&&Ce("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(n.call(arguments)));Le(e);var r=e.$$;e.notifyOnDestruction(),r.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:r}}),Je(this),Ne(o,r.ptr,this)},a.__destruct=function(){var e,r;this===a&&Ce("Pass correct 'this' to __destruct"),Le(this),e=o,r=this.$$.ptr,r=xe(e,r),ze.hasOwnProperty(r)?delete ze[r]:Ce(`Tried to unregister unregistered instance: ${r}`)},l.prototype=Object.create(a),Object.assign(l.prototype,t),Fe(l)},H:e=>{var r=Ke[e];delete Ke[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields,a=o.map((e=>e.getterReturnType)).concat(o.map((e=>e.setterArgumentType)));tr([e],a,(e=>{var a={};return o.forEach(((r,t)=>{var n=r.fieldName,i=e[t],s=r.getter,l=r.getterContext,u=e[t+o.length],d=r.setter,c=r.setterContext;a[n]={read:e=>i.fromWireType(s(l,e)),write:(e,r)=>{var t=[];d(c,e,u.toWireType(t,r)),Ze(t)}}})),[{name:r.name,fromWireType:e=>{var r={};for(var t in a)r[t]=a[t].read(e);return n(e),r},toWireType:(e,r)=>{for(var o in a)if(!(o in r))throw new TypeError(`Missing field: "${o}"`);var i=t();for(o in a)a[o].write(i,r[o]);return null!==e&&e.push(n,i),i},argPackAdvance:or,readValueFromPointer:Qe,destructorFunction:n}]}))},S:(e,r,t,n,o)=>{},na:(e,r,t,n)=>{nr(e,{name:r=Te(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?t:n},argPackAdvance:or,readValueFromPointer:function(e){return this.fromWireType(b[e])},destructorFunction:null})},l:(e,r,t,n,o,a,i,s,l,u,d,c,f)=>{d=Te(d),a=br(o,a),s&&(s=br(i,s)),u&&(u=br(l,u)),f=br(c,f);var p=ve(d);lr(p,(function(){_r(`Cannot construct ${d} due to unbound types`,[n])})),tr([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:ir.prototype;var i=ye(p,(function(){if(Object.getPrototypeOf(this)!==l)throw new we("Use 'new' to construct "+d);if(void 0===c.constructor_body)throw new we(d+" has no accessible constructor");var e=c.constructor_body[arguments.length];if(void 0===e)throw new we(`Tried to invoke ctor of ${d} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(c.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)})),l=Object.create(o,{constructor:{value:i}});i.prototype=l;var c=new ur(d,i,l,f,t,a,s,u);c.baseClass&&(void 0===c.baseClass.__derivedClasses&&(c.baseClass.__derivedClasses=[]),c.baseClass.__derivedClasses.push(c));var h=new mr(d,c,!0,!1,!1),m=new mr(d+"*",c,!1,!1,!1),v=new mr(d+" const*",c,!1,!0,!1);return Ve[e]={pointerType:m,constPointerType:v},gr(p,i),[h,m,v]}))},G:(e,r,t,n,o,a,i,s)=>{var l=kr(t,n);r=Te(r),a=br(o,a),tr([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`;function o(){_r(`Cannot call ${n} due to unbound types`,l)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]);var s=e.registeredClass.constructor;return void 0===s[r]?(o.argCount=t-1,s[r]=o):(sr(s,r,n),s[r].overloadTable[t-1]=o),tr([],l,(function(o){var l=[o[0],null].concat(o.slice(1)),u=$r(n,l,null,a,i);if(void 0===s[r].overloadTable?(u.argCount=t-1,s[r]=u):s[r].overloadTable[t-1]=u,e.registeredClass.__derivedClasses)for(const t of e.registeredClass.__derivedClasses)t.constructor.hasOwnProperty(r)||(t.constructor[r]=u);return[]})),[]}))},I:(e,r,t,n,o,a)=>{var i=kr(r,t);o=br(n,o),tr([],[e],(function(e){var t=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new we(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[r-1]=()=>{_r(`Cannot construct ${e.name} due to unbound types`,i)},tr([],i,(n=>(n.splice(1,0,null),e.registeredClass.constructor_body[r-1]=$r(t,n,null,o,a),[]))),[]}))},d:(e,r,t,n,o,a,i,s,l)=>{var u=kr(t,n);r=Te(r),a=br(o,a),tr([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`;function o(){_r(`Cannot call ${n} due to unbound types`,u)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(r);var l=e.registeredClass.instancePrototype,d=l[r];return void 0===d||void 0===d.overloadTable&&d.className!==e.name&&d.argCount===t-2?(o.argCount=t-2,o.className=e.name,l[r]=o):(sr(l,r,n),l[r].overloadTable[t-2]=o),tr([],u,(function(o){var s=$r(n,o,e,a,i);return void 0===l[r].overloadTable?(s.argCount=t-2,l[r]=s):l[r].overloadTable[t-2]=s,[]})),[]}))},E:(e,r,t,n,o,a,i,s,l,u)=>{r=Te(r),o=br(n,o),tr([],[e],(function(e){var n=`${(e=e[0]).name}.${r}`,d={get(){_r(`Cannot access ${n} due to unbound types`,[t,i])},enumerable:!0,configurable:!0};return d.set=l?()=>_r(`Cannot access ${n} due to unbound types`,[t,i]):e=>Ce(n+" is a read-only property"),Object.defineProperty(e.registeredClass.instancePrototype,r,d),tr([],l?[t,i]:[t],(function(t){var i=t[0],d={get(){var r=Cr(this,e,n+" getter");return i.fromWireType(o(a,r))},enumerable:!0};if(l){l=br(s,l);var c=t[1];d.set=function(r){var t=Cr(this,e,n+" setter"),o=[];l(u,t,c.toWireType(o,r)),Ze(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,r,d),[]})),[]}))},ma:(e,r)=>{nr(e,{name:r=Te(r),fromWireType:e=>{var r=De(e);return Pr(e),r},toWireType:(e,r)=>Fe(r),argPackAdvance:or,readValueFromPointer:Qe,destructorFunction:null})},C:(e,r,t)=>{nr(e,{name:r=Te(r),fromWireType:e=>e,toWireType:(e,r)=>r,argPackAdvance:or,readValueFromPointer:Fr(r,t),destructorFunction:null})},c:(e,r,t,n,o,a,i)=>{var s=kr(r,t);e=Te(e),o=br(n,o),lr(e,(function(){_r(`Cannot call ${e} due to unbound types`,s)}),r-1),tr([],s,(function(t){var n=[t[0],null].concat(t.slice(1));return gr(e,$r(e,n,null,o,a),r-1),[]}))},g:(e,r,t,n,o)=>{r=Te(r),-1===o&&(o=4294967295);var a=e=>e;if(0===n){var i=32-8*t;a=e=>e<>>i}var s=r.includes("unsigned");nr(e,{name:r,fromWireType:a,toWireType:s?function(e,r){return this.name,r>>>0}:function(e,r){return this.name,r},argPackAdvance:or,readValueFromPointer:Sr(r,t,0!==n),destructorFunction:null})},e:(e,r,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=C[e>>2],t=C[e+4>>2];return new n(E.buffer,t,r)}nr(e,{name:t=Te(t),fromWireType:o,argPackAdvance:or,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},ta:(e,r,t,n,o,a,i,s,l,u,d,c)=>{t=Te(t),a=br(o,a),s=br(i,s),u=br(l,u),c=br(d,c),tr([e],[r],(function(e){return e=e[0],[new mr(t,e.registeredClass,!1,!1,!0,e,n,a,s,u,c)]}))},D:(e,r)=>{var t="std::string"===(r=Te(r));nr(e,{name:r,fromWireType(e){var r,n=C[e>>2],o=e+4;if(t)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==b[s]){var l=fe(a,s-a);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),a=s+1}}else{var u=new Array(n);for(i=0;i>2]=n,t&&o)me(r,i,n+1);else if(o)for(var s=0;s255&&(ut(i),Ce("String has UTF-16 code units that do not fit in 8 bits")),b[i+s]=l}else for(s=0;s{var n,o,a,i,s;t=Te(t),2===r?(n=Mr,o=Ar,i=jr,a=()=>$,s=1):4===r&&(n=Or,o=Rr,i=zr,a=()=>C,s=2),nr(e,{name:t,fromWireType:e=>{for(var t,o=C[e>>2],i=a(),l=e+4,u=0;u<=o;++u){var d=e+4+u*r;if(u==o||0==i[d>>s]){var c=n(l,d-l);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),l=d+r}}return ut(e),t},toWireType:(e,n)=>{"string"!=typeof n&&Ce(`Cannot pass non-string to C++ string type ${t}`);var a=i(n),l=lt(4+a+r);return C[l>>2]=a>>s,o(n,l+4,a+r),null!==e&&e.push(ut,l),l},argPackAdvance:or,readValueFromPointer:Qe,destructorFunction(e){ut(e)}})},J:(e,r,t,n,o,a)=>{Ke[e]={name:Te(r),rawConstructor:br(t,n),rawDestructor:br(o,a),fields:[]}},w:(e,r,t,n,o,a,i,s,l,u)=>{Ke[e].fields.push({fieldName:Te(r),getterReturnType:t,getter:br(n,o),getterContext:a,setterArgumentType:i,setter:br(s,l),setterContext:u})},oa:(e,r)=>{nr(e,{isVoid:!0,name:r=Te(r),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,r)=>{}})},pa:e=>{do{var r=C[e>>2],t=C[(e+=4)>>2],n=C[(e+=4)>>2];e+=4;var o=fe(r);ce.createPath("/",J.dirname(o),!0,!0),ce.createDataFile(o,null,E.subarray(n,n+t),!0,!0,!0)}while(C[e>>2])},ka:()=>true,o:(e,r,t)=>{e=De(e),r=Ie(r,"emval::as");var n=[],o=Fe(n);return C[t>>2]=o,r.toWireType(n,e)},sa:(e,r,t,n)=>{e=De(e);for(var o=xr(r,t),a=new Array(r),i=0;i(e=Wr[e])(r=De(r),t=Ur(t),(e=>{var r=[];return C[e>>2]=Fe(r),r})(n),o),F:(e,r,t,n)=>{(e=Wr[e])(r=De(r),t=Ur(t),null,n)},b:Pr,r:e=>0===e?Fe(Ir()):(e=Ur(e),Fe(Ir()[e])),h:(e,r)=>{var t=xr(e,r),n=t[0],o=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",a=Lr[o];if(void 0!==a)return a;var i,s,l=new Array(e-1);return i=(r,o,a,i)=>{for(var s=0,u=0;u(e=Ur(e),Fe(o[e])),q:(e,r)=>(e=De(e),r=De(r),Fe(e[r])),i:e=>{e>4&&(ke.get(e).refcount+=1)},p:e=>Fe(Ur(e)),f:e=>{var r=De(e);Ze(r),Pr(e)},k:(e,r)=>{var t=(e=Ie(e,"_emval_take_value")).readValueFromPointer(r);return Fe(t)},v:e=>(e=De(e),Fe(typeof e)),M:function(e,r,t){var n=he(e,r),o=new Date(1e3*n);k[t>>2]=o.getUTCSeconds(),k[t+4>>2]=o.getUTCMinutes(),k[t+8>>2]=o.getUTCHours(),k[t+12>>2]=o.getUTCDate(),k[t+16>>2]=o.getUTCMonth(),k[t+20>>2]=o.getUTCFullYear()-1900,k[t+24>>2]=o.getUTCDay();var a=Date.UTC(o.getUTCFullYear(),0,1,0,0,0,0),i=(o.getTime()-a)/864e5|0;k[t+28>>2]=i},N:function(e,r,t){var n=he(e,r),o=new Date(1e3*n);k[t>>2]=o.getSeconds(),k[t+4>>2]=o.getMinutes(),k[t+8>>2]=o.getHours(),k[t+12>>2]=o.getDate(),k[t+16>>2]=o.getMonth(),k[t+20>>2]=o.getFullYear()-1900,k[t+24>>2]=o.getDay();var a=0|Vr(o);k[t+28>>2]=a,k[t+36>>2]=-60*o.getTimezoneOffset();var i=new Date(o.getFullYear(),0,1),s=new Date(o.getFullYear(),6,1).getTimezoneOffset(),l=i.getTimezoneOffset(),u=0|(s!=l&&o.getTimezoneOffset()==Math.min(l,s));k[t+32>>2]=u},O:function(e){var r=(()=>{var r=new Date(k[e+20>>2]+1900,k[e+16>>2],k[e+12>>2],k[e+8>>2],k[e+4>>2],k[e>>2],0),t=k[e+32>>2],n=r.getTimezoneOffset(),o=new Date(r.getFullYear(),0,1),a=new Date(r.getFullYear(),6,1).getTimezoneOffset(),i=o.getTimezoneOffset(),s=Math.min(i,a);if(t<0)k[e+32>>2]=Number(a!=i&&s==n);else if(t>0!=(s==n)){var l=Math.max(i,a),u=t>0?s:l;r.setTime(r.getTime()+6e4*(u-n))}k[e+24>>2]=r.getDay();var d=0|Vr(r);return k[e+28>>2]=d,k[e>>2]=r.getSeconds(),k[e+4>>2]=r.getMinutes(),k[e+8>>2]=r.getHours(),k[e+12>>2]=r.getDate(),k[e+16>>2]=r.getMonth(),k[e+20>>2]=r.getYear(),r.getTime()/1e3})();return ht((H=r,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)),r>>>0},K:function(e,r,t,n,o,a,i,s){var l=he(o,a);try{if(isNaN(l))return 61;var u=pe.getStreamFromFD(n),d=ce.mmap(u,e,l,r,t),c=d.ptr;return k[i>>2]=d.allocated,C[s>>2]=c,0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},L:function(e,r,t,n,o,a,i){var s=he(a,i);try{if(isNaN(s))return 61;var l=pe.getStreamFromFD(o);2&t&&pe.doMsync(e,l,r,n,s),ce.munmap(l)}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return-e.errno}},P:function(e){var r=(()=>{var r=Date.UTC(k[e+20>>2]+1900,k[e+16>>2],k[e+12>>2],k[e+8>>2],k[e+4>>2],k[e>>2],0),t=new Date(r);k[e+24>>2]=t.getUTCDay();var n=Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0),o=(t.getTime()-n)/864e5|0;return k[e+28>>2]=o,t.getTime()/1e3})();return ht((H=r,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)),r>>>0},a:()=>{W("")},m:()=>Date.now(),ja:qr,fa:(e,r,t)=>b.copyWithin(e,r,r+t),U:e=>{var r=b.length,t=2147483648;if((e>>>=0)>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=r*(1+.2/a);i=Math.min(i,e+100663296);var s=Math.min(t,(n=Math.max(e,i))+((o=65536)-n%o)%o);if(Xr(s))return!0}return!1},_:(e,r)=>{var t=0;return Jr().forEach(((n,o)=>{var a=r+t;C[e+4*o>>2]=a,((e,r)=>{for(var t=0;t>0]=e.charCodeAt(t);E[r>>0]=0})(n,a),t+=n.length+1})),0},$:(e,r)=>{var t=Jr();C[e>>2]=t.length;var n=0;return t.forEach((e=>n+=e.length+1)),C[r>>2]=n,0},n:function(e){try{var r=pe.getStreamFromFD(e);return ce.close(r),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},V:function(e,r){try{var t=pe.getStreamFromFD(e),n=t.tty?2:ce.isDir(t.mode)?3:ce.isLink(t.mode)?7:4;return E[r>>0]=n,_[r+2>>1]=0,B=[0,(H=0,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[r+8>>2]=B[0],k[r+12>>2]=B[1],B=[0,(H=0,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[r+16>>2]=B[0],k[r+20>>2]=B[1],0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},A:function(e,r,t,n){try{var o=((e,r,t,n)=>{for(var o=0,a=0;a>2],s=C[r+4>>2];r+=8;var l=ce.read(e,E,i,s,n);if(l<0)return-1;if(o+=l,l>2]=o,0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},Q:function(e,r,t,n,o){var a=he(r,t);try{if(isNaN(a))return 61;var i=pe.getStreamFromFD(e);return ce.llseek(i,a,n),B=[i.position>>>0,(H=i.position,+Math.abs(H)>=1?H>0?+Math.floor(H/4294967296)>>>0:~~+Math.ceil((H-+(~~H>>>0))/4294967296)>>>0:0)],k[o>>2]=B[0],k[o+4>>2]=B[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},aa:function(e){try{var r=pe.getStreamFromFD(e);return r.stream_ops&&r.stream_ops.fsync?r.stream_ops.fsync(r):0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},z:function(e,r,t,n){try{var o=((e,r,t,n)=>{for(var o=0,a=0;a>2],s=C[r+4>>2];r+=8;var l=ce.write(e,E,i,s,n);if(l<0)return-1;o+=l,void 0!==n&&(n+=l)}return o})(pe.getStreamFromFD(e),r,t);return C[n>>2]=o,0}catch(e){if(void 0===ce||"ErrnoError"!==e.name)throw e;return e.errno}},T:(e,r)=>(K(b.subarray(e,e+r)),0),s:(e,r,t,n)=>{var o=C[n+40>>2],a={tm_sec:k[n>>2],tm_min:k[n+4>>2],tm_hour:k[n+8>>2],tm_mday:k[n+12>>2],tm_mon:k[n+16>>2],tm_year:k[n+20>>2],tm_wday:k[n+24>>2],tm_yday:k[n+28>>2],tm_isdst:k[n+32>>2],tm_gmtoff:k[n+36>>2],tm_zone:o?fe(o):""},i=fe(t),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var l in s)i=i.replace(new RegExp(l,"g"),s[l]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"];function c(e,r,t){for(var n="number"==typeof e?e.toString():e||"";n.length0?1:0}var n;return 0===(n=t(e.getFullYear()-r.getFullYear()))&&0===(n=t(e.getMonth()-r.getMonth()))&&(n=t(e.getDate()-r.getDate())),n}function h(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function m(e){var r=et(new Date(e.tm_year+1900,0,1),e.tm_yday),t=new Date(r.getFullYear(),0,4),n=new Date(r.getFullYear()+1,0,4),o=h(t),a=h(n);return p(o,r)<=0?p(a,r)<=0?r.getFullYear()+1:r.getFullYear():r.getFullYear()-1}var v={"%a":e=>u[e.tm_wday].substring(0,3),"%A":e=>u[e.tm_wday],"%b":e=>d[e.tm_mon].substring(0,3),"%B":e=>d[e.tm_mon],"%C":e=>f((e.tm_year+1900)/100|0,2),"%d":e=>f(e.tm_mday,2),"%e":e=>c(e.tm_mday,2," "),"%g":e=>m(e).toString().substring(2),"%G":e=>m(e),"%H":e=>f(e.tm_hour,2),"%I":e=>{var r=e.tm_hour;return 0==r?r=12:r>12&&(r-=12),f(r,2)},"%j":e=>f(e.tm_mday+Kr(Hr(e.tm_year+1900)?Zr:Qr,e.tm_mon-1),3),"%m":e=>f(e.tm_mon+1,2),"%M":e=>f(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>f(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U":e=>{var r=e.tm_yday+7-e.tm_wday;return f(Math.floor(r/7),2)},"%V":e=>{var r=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&r++,r){if(53==r){var t=(e.tm_wday+371-e.tm_yday)%7;4==t||3==t&&Hr(e.tm_year)||(r=1)}}else{r=52;var n=(e.tm_wday+7-e.tm_yday-1)%7;(4==n||5==n&&Hr(e.tm_year%400-1))&&r++}return f(r,2)},"%w":e=>e.tm_wday,"%W":e=>{var r=e.tm_yday+7-(e.tm_wday+6)%7;return f(Math.floor(r/7),2)},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z":e=>{var r=e.tm_gmtoff,t=r>=0;return r=(r=Math.abs(r)/60)/60*100+r%60,(t?"+":"-")+String("0000"+r).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var l in i=i.replace(/%%/g,"\0\0"),v)i.includes(l)&&(i=i.replace(new RegExp(l,"g"),v[l](a)));var y,g,w=oe(i=i.replace(/\0\0/g,"%"),!1);return w.length>r?0:(y=w,g=e,E.set(y,g),w.length-1)},ra:(e,r,t)=>{for(var n=fe(r),o="\\!@#$^&*()+=-[]/{}|:<>?,.",a=0,i=o.length;a=0;a=n.indexOf("%"))c.push(n[a+1]),n=n.replace(new RegExp("\\%"+n[a+1],"g"),"");var f=new RegExp("^"+n,"i").exec(fe(e));if(f){var p,h=function(){function e(e,r,t){return"number"!=typeof e||isNaN(e)?r:e>=r?e<=t?e:t:r}return{year:e(k[t+20>>2]+1900,1970,9999),month:e(k[t+16>>2],0,11),day:e(k[t+12>>2],1,31),hour:e(k[t+8>>2],0,23),min:e(k[t+4>>2],0,59),sec:e(k[t>>2],0,59)}}(),m=e=>{var r=c.indexOf(e);if(r>=0)return f[r+1]};if((p=m("S"))&&(h.sec=rt(p)),(p=m("M"))&&(h.min=rt(p)),p=m("H"))h.hour=rt(p);else if(p=m("I")){var v=rt(p);(p=m("p"))&&(v+="P"===p.toUpperCase()[0]?12:0),h.hour=v}if(p=m("Y"))h.year=rt(p);else if(p=m("y")){var y=rt(p);(p=m("C"))?y+=100*rt(p):y+=y<69?2e3:1900,h.year=y}if((p=m("m"))?h.month=rt(p)-1:(p=m("b"))&&(h.month={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11}[p.substring(0,3).toUpperCase()]||0),p=m("d"))h.day=rt(p);else if(p=m("j"))for(var g=rt(p),w=Hr(h.year),E=0;E<12;++E){var b=Kr(w?Zr:Qr,E-1);g<=b+(w?Zr:Qr)[E]&&(h.day=g-b)}else if(p=m("a")){var _=p.substring(0,3).toUpperCase();if(p=m("U")){var $={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6}[_],C=rt(p);D=0===(P=new Date(h.year,0,1)).getDay()?et(P,$+7*(C-1)):et(P,7-P.getDay()+$+7*(C-1)),h.day=D.getDate(),h.month=D.getMonth()}else if(p=m("W")){var P,D;$={MON:0,TUE:1,WED:2,THU:3,FRI:4,SAT:5,SUN:6}[_],C=rt(p);D=1===(P=new Date(h.year,0,1)).getDay()?et(P,$+7*(C-1)):et(P,7-P.getDay()+1+$+7*(C-1)),h.day=D.getDate(),h.month=D.getMonth()}}var F=new Date(h.year,h.month,h.day,h.hour,h.min,h.sec,0);return k[t>>2]=F.getSeconds(),k[t+4>>2]=F.getMinutes(),k[t+8>>2]=F.getHours(),k[t+12>>2]=F.getDate(),k[t+16>>2]=F.getMonth(),k[t+20>>2]=F.getFullYear()-1900,k[t+24>>2]=F.getDay(),k[t+28>>2]=Kr(Hr(F.getFullYear())?Zr:Qr,F.getMonth()-1)+F.getDate()-1,k[t+32>>2]=0,e+oe(f[0]).length-1}return 0}},st=function(){var e,r,t,a,i={a:it};function s(e,r){var t;return st=e.exports,w=st.va,T(),vr=st.Ca,t=st.wa,A.unshift(t),U(),st}if(N(),o.instantiateWasm)try{return o.instantiateWasm(i,s)}catch(e){g(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return(e=v,r=I,t=i,a=function(e){s(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||Y(r)||V(r)||f||"function"!=typeof fetch?X(r,t,a):fetch(r,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,t).then(a,(function(e){return g(`wasm streaming compile failed: ${e}`),g("falling back to ArrayBuffer instantiation"),X(r,t,a)}))))).catch(n),{}}(),lt=e=>(lt=st.xa)(e),ut=e=>(ut=st.ya)(e),dt=()=>(dt=st.za)(),ct=e=>(ct=st.Aa)(e),ft=(o.__embind_initialize_bindings=()=>(o.__embind_initialize_bindings=st.Ba)(),(e,r)=>(ft=st.Da)(e,r)),pt=()=>(pt=st.Ea)(),ht=e=>(ht=st.Fa)(e);o.dynCall_jiji=(e,r,t,n,a)=>(o.dynCall_jiji=st.Ga)(e,r,t,n,a),o.dynCall_ji=(e,r)=>(o.dynCall_ji=st.Ha)(e,r),o.dynCall_viij=(e,r,t,n,a)=>(o.dynCall_viij=st.Ia)(e,r,t,n,a),o.dynCall_iij=(e,r,t,n)=>(o.dynCall_iij=st.Ja)(e,r,t,n),o.dynCall_iiji=(e,r,t,n,a)=>(o.dynCall_iiji=st.Ka)(e,r,t,n,a),o.dynCall_jji=(e,r,t,n)=>(o.dynCall_jji=st.La)(e,r,t,n),o.dynCall_iji=(e,r,t,n)=>(o.dynCall_iji=st.Ma)(e,r,t,n),o.dynCall_viijj=(e,r,t,n,a,i,s)=>(o.dynCall_viijj=st.Na)(e,r,t,n,a,i,s),o.dynCall_iiij=(e,r,t,n,a)=>(o.dynCall_iiij=st.Oa)(e,r,t,n,a),o.dynCall_vij=(e,r,t,n)=>(o.dynCall_vij=st.Pa)(e,r,t,n),o.dynCall_viiiji=(e,r,t,n,a,i,s)=>(o.dynCall_viiiji=st.Qa)(e,r,t,n,a,i,s),o.dynCall_viijii=(e,r,t,n,a,i,s)=>(o.dynCall_viijii=st.Ra)(e,r,t,n,a,i,s),o.dynCall_jij=(e,r,t,n)=>(o.dynCall_jij=st.Sa)(e,r,t,n),o.dynCall_iiiij=(e,r,t,n,a,i)=>(o.dynCall_iiiij=st.Ta)(e,r,t,n,a,i),o.dynCall_iiiiij=(e,r,t,n,a,i,s)=>(o.dynCall_iiiiij=st.Ua)(e,r,t,n,a,i,s),o.dynCall_iiiiijj=(e,r,t,n,a,i,s,l,u)=>(o.dynCall_iiiiijj=st.Va)(e,r,t,n,a,i,s,l,u),o.dynCall_iiiiiijj=(e,r,t,n,a,i,s,l,u,d)=>(o.dynCall_iiiiiijj=st.Wa)(e,r,t,n,a,i,s,l,u,d),o.___emscripten_embedded_file_data=160796;function mt(){function e(){at||(at=!0,o.calledRun=!0,F||(O=!0,o.noFSInit||ce.init.initialized||ce.init(),ce.ignorePermissions=!1,ae.init(),G(A),t(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),j.unshift(e);var e;G(j)}()))}R>0||(!function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),M.unshift(e);var e;G(M)}(),R>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),e()}),1)):e()))}if(o.addRunDependency=N,o.removeRunDependency=U,o.FS_createPath=ce.createPath,o.FS_createLazyFile=ce.createLazyFile,o.FS_createDevice=ce.createDevice,o.FS_createPreloadedFile=ce.createPreloadedFile,o.FS=ce,o.FS_createDataFile=ce.createDataFile,o.FS_unlink=ce.unlink,x=function e(){at||mt(),at||(x=e)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return mt(),r.ready}})();"object"==typeof exports&&"object"==typeof module?module.exports=PSPDFModuleInit:"function"==typeof define&&define.amd&&define([],(()=>PSPDFModuleInit)); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-d65f8c86d3c3e05c.wasm b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-d65f8c86d3c3e05c.wasm new file mode 100644 index 00000000..a5fda111 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit-lib/pspdfkit-d65f8c86d3c3e05c.wasm differ diff --git a/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit.js b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit.js new file mode 100644 index 00000000..69196e29 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/lib/pspdfkit/dist-2024.3.2/pspdfkit.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2024.3.2 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2024 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PSPDFKit=t():e.PSPDFKit=t()}(self,(()=>(()=>{var e,t,n,r,o={96156:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(27350);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},22122:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},17375:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},30585:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(90484);function o(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},27350:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(90484),o=n(30585);function i(e){var t=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},90484:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},36590:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:a,create:s}=Object,{apply:l,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),u||(u=function(e,t){return new e(...t)});const c=D(Array.prototype.forEach),d=D(Array.prototype.pop),p=D(Array.prototype.push),h=D(String.prototype.toLowerCase),f=D(String.prototype.toString),m=D(String.prototype.match),g=D(String.prototype.replace),v=D(String.prototype.indexOf),y=D(String.prototype.trim),b=D(Object.prototype.hasOwnProperty),w=D(RegExp.prototype.test),x=C(TypeError);function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=r.length;for(;i--;){let t=r[i];if("string"==typeof t){const e=o(t);e!==t&&(n(r)||(r[i]=e),t=e)}e[t]=!0}return e}function S(e){for(let t=0;t/gm),K=a(/\${[\w\W]*}/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),H=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=a(/^(?:\w+script|data):/i),U=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=a(/^html$/i),G=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var W=Object.freeze({__proto__:null,MUSTACHE_EXPR:N,ERB_EXPR:L,TMPLIT_EXPR:K,DATA_ATTR:V,ARIA_ATTR:q,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:Z,ATTR_WHITESPACE:U,DOCTYPE_NAME:$,CUSTOM_ELEMENT:G});const X=function(){return"undefined"==typeof window?null:window},Y=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Q(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const n=e=>Q(e);if(n.version="3.1.0",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:r}=t;const o=r,a=o.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:D,Element:C,NodeFilter:S,NamedNodeMap:N=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:L,DOMParser:K,trustedTypes:V}=t,q=C.prototype,Z=P(q,"cloneNode"),U=P(q,"nextSibling"),G=P(q,"childNodes"),J=P(q,"parentNode");if("function"==typeof u){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ee,te="";const{implementation:ne,createNodeIterator:re,createDocumentFragment:oe,getElementsByTagName:ie}=r,{importNode:ae}=o;let se={};n.isSupported="function"==typeof e&&"function"==typeof J&&ne&&void 0!==ne.createHTMLDocument;const{MUSTACHE_EXPR:le,ERB_EXPR:ue,TMPLIT_EXPR:ce,DATA_ATTR:de,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:fe,CUSTOM_ELEMENT:me}=W;let{IS_ALLOWED_URI:ge}=W,ve=null;const ye=E({},[...k,...A,...z,...O,...F]);let be=null;const we=E({},[...M,...R,...j,...B]);let xe=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),De=null,Ce=null,Ee=!0,Se=!0,_e=!1,Pe=!0,ke=!1,Ae=!0,ze=!1,Te=!1,Oe=!1,Ie=!1,Fe=!1,Me=!1,Re=!0,je=!1;const Be="user-content-";let Ne=!0,Le=!1,Ke={},Ve=null;const qe=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let He=null;const Ze=E({},["audio","video","img","source","image","track"]);let Ue=null;const $e=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml";let Ye=Xe,Qe=!1,Je=null;const et=E({},[Ge,We,Xe],f);let tt=null;const nt=["application/xhtml+xml","text/html"],rt="text/html";let ot=null,it=null;const at=r.createElement("form"),st=function(e){return e instanceof RegExp||e instanceof Function},lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!it||it!==e){if(e&&"object"==typeof e||(e={}),e=_(e),tt=-1===nt.indexOf(e.PARSER_MEDIA_TYPE)?rt:e.PARSER_MEDIA_TYPE,ot="application/xhtml+xml"===tt?f:h,ve=b(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,ot):ye,be=b(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,ot):we,Je=b(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,f):et,Ue=b(e,"ADD_URI_SAFE_ATTR")?E(_($e),e.ADD_URI_SAFE_ATTR,ot):$e,He=b(e,"ADD_DATA_URI_TAGS")?E(_(Ze),e.ADD_DATA_URI_TAGS,ot):Ze,Ve=b(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,ot):qe,De=b(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,ot):{},Ce=b(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,ot):{},Ke=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,Ee=!1!==e.ALLOW_ARIA_ATTR,Se=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ae=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Re=!1!==e.SANITIZE_DOM,je=e.SANITIZE_NAMED_PROPS||!1,Ne=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ge=e.ALLOWED_URI_REGEXP||H,Ye=e.NAMESPACE||Xe,xe=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(xe.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(xe.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(xe.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Se=!1),Fe&&(Ie=!0),Ke&&(ve=E({},F),be=[],!0===Ke.html&&(E(ve,k),E(be,M)),!0===Ke.svg&&(E(ve,A),E(be,R),E(be,B)),!0===Ke.svgFilters&&(E(ve,z),E(be,R),E(be,B)),!0===Ke.mathMl&&(E(ve,O),E(be,j),E(be,B))),e.ADD_TAGS&&(ve===ye&&(ve=_(ve)),E(ve,e.ADD_TAGS,ot)),e.ADD_ATTR&&(be===we&&(be=_(be)),E(be,e.ADD_ATTR,ot)),e.ADD_URI_SAFE_ATTR&&E(Ue,e.ADD_URI_SAFE_ATTR,ot),e.FORBID_CONTENTS&&(Ve===qe&&(Ve=_(Ve)),E(Ve,e.FORBID_CONTENTS,ot)),Ne&&(ve["#text"]=!0),ze&&E(ve,["html","head","body"]),ve.table&&(E(ve,["tbody"]),delete De.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY,te=ee.createHTML("")}else void 0===ee&&(ee=Y(V,a)),null!==ee&&"string"==typeof te&&(te=ee.createHTML(""));i&&i(e),it=e}},ut=E({},["mi","mo","mn","ms","mtext"]),ct=E({},["foreignobject","desc","title","annotation-xml"]),dt=E({},["title","style","font","a","script"]),pt=E({},[...A,...z,...T]),ht=E({},[...O,...I]),ft=function(e){let t=J(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});const n=h(e.tagName),r=h(t.tagName);return!!Je[e.namespaceURI]&&(e.namespaceURI===We?t.namespaceURI===Xe?"svg"===n:t.namespaceURI===Ge?"svg"===n&&("annotation-xml"===r||ut[r]):Boolean(pt[n]):e.namespaceURI===Ge?t.namespaceURI===Xe?"math"===n:t.namespaceURI===We?"math"===n&&ct[r]:Boolean(ht[n]):e.namespaceURI===Xe?!(t.namespaceURI===We&&!ct[r])&&!(t.namespaceURI===Ge&&!ut[r])&&!ht[n]&&(dt[n]||!pt[n]):!("application/xhtml+xml"!==tt||!Je[e.namespaceURI]))},mt=function(e){p(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},gt=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!be[e])if(Ie||Fe)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){let t=null,n=null;if(Oe)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===tt&&Ye===Xe&&(e=''+e+"");const o=ee?ee.createHTML(e):e;if(Ye===Xe)try{t=(new K).parseFromString(o,tt)}catch(e){}if(!t||!t.documentElement){t=ne.createDocument(Ye,"template",null);try{t.documentElement.innerHTML=Qe?te:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ye===Xe?ie.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},yt=function(e){return re.call(e.ownerDocument||e,e,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT|S.SHOW_PROCESSING_INSTRUCTION|S.SHOW_CDATA_SECTION,null)},bt=function(e){return e instanceof L&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof N)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},wt=function(e){return"function"==typeof D&&e instanceof D},xt=function(e,t,r){se[e]&&c(se[e],(e=>{e.call(n,t,r,it)}))},Dt=function(e){let t=null;if(xt("beforeSanitizeElements",e,null),bt(e))return mt(e),!0;const r=ot(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:ve}),e.hasChildNodes()&&!wt(e.firstElementChild)&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return mt(e),!0;if(7===e.nodeType)return mt(e),!0;if(Ae&&8===e.nodeType&&w(/<[/\w]/g,e.data))return mt(e),!0;if(!ve[r]||De[r]){if(!De[r]&&Et(r)){if(xe.tagNameCheck instanceof RegExp&&w(xe.tagNameCheck,r))return!1;if(xe.tagNameCheck instanceof Function&&xe.tagNameCheck(r))return!1}if(Ne&&!Ve[r]){const t=J(e)||e.parentNode,n=G(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Z(n[r],!0),U(e))}return mt(e),!0}return e instanceof C&&!ft(e)?(mt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&3===e.nodeType&&(t=e.textContent,c([le,ue,ce],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("afterSanitizeElements",e,null),!1):(mt(e),!0)},Ct=function(e,t,n){if(Re&&("id"===t||"name"===t)&&(n in r||n in at))return!1;if(Se&&!Ce[t]&&w(de,t));else if(Ee&&w(pe,t));else if(!be[t]||Ce[t]){if(!(Et(e)&&(xe.tagNameCheck instanceof RegExp&&w(xe.tagNameCheck,e)||xe.tagNameCheck instanceof Function&&xe.tagNameCheck(e))&&(xe.attributeNameCheck instanceof RegExp&&w(xe.attributeNameCheck,t)||xe.attributeNameCheck instanceof Function&&xe.attributeNameCheck(t))||"is"===t&&xe.allowCustomizedBuiltInElements&&(xe.tagNameCheck instanceof RegExp&&w(xe.tagNameCheck,n)||xe.tagNameCheck instanceof Function&&xe.tagNameCheck(n))))return!1}else if(Ue[t]);else if(w(ge,g(n,fe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!He[e])if(_e&&!w(he,g(n,fe,"")));else if(n)return!1;return!0},Et=function(e){return"annotation-xml"!==e&&m(e,me)},St=function(e){xt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:s,value:l}=i,u=ot(a);let p="value"===a?l:y(l);if(r.attrName=u,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,xt("uponSanitizeAttribute",e,r),p=r.attrValue,r.forceKeepAttr)continue;if(gt(a,e),!r.keepAttr)continue;if(!Pe&&w(/\/>/i,p)){gt(a,e);continue}ke&&c([le,ue,ce],(e=>{p=g(p,e," ")}));const h=ot(e.nodeName);if(Ct(h,u,p)){if(!je||"id"!==u&&"name"!==u||(gt(a,e),p=Be+p),ee&&"object"==typeof V&&"function"==typeof V.getAttributeType)if(s);else switch(V.getAttributeType(h,u)){case"TrustedHTML":p=ee.createHTML(p);break;case"TrustedScriptURL":p=ee.createScriptURL(p)}try{s?e.setAttributeNS(s,a,p):e.setAttribute(a,p),d(n.removed)}catch(e){}}}xt("afterSanitizeAttributes",e,null)},_t=function e(t){let n=null;const r=yt(t);for(xt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Dt(n)||(n.content instanceof l&&e(n.content),St(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,s=null;if(Qe=!e,Qe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!wt(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Te||lt(t),n.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=ot(e.nodeName);if(!ve[t]||De[t])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof D)r=vt("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!Ie&&!ke&&!ze&&-1===e.indexOf("<"))return ee&&Me?ee.createHTML(e):e;if(r=vt(e),!r)return Ie?null:Me?te:""}r&&Oe&&mt(r.firstChild);const u=yt(Le?e:r);for(;a=u.nextNode();)Dt(a)||(a.content instanceof l&&_t(a.content),St(a));if(Le)return e;if(Ie){if(Fe)for(s=oe.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(be.shadowroot||be.shadowrootmode)&&(s=ae.call(o,s,!0)),s}let d=ze?r.outerHTML:r.innerHTML;return ze&&ve["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&w($,r.ownerDocument.doctype.name)&&(d="\n"+d),ke&&c([le,ue,ce],(e=>{d=g(d,e," ")})),ee&&Me?ee.createHTML(d):d},n.setConfig=function(){lt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Te=!0},n.clearConfig=function(){it=null,Te=!1},n.isValidAttribute=function(e,t,n){it||lt({});const r=ot(e),o=ot(t);return Ct(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},n.removeHook=function(e){if(se[e])return d(se[e])},n.removeHooks=function(e){se[e]&&(se[e]=[])},n.removeAllHooks=function(){se={}},n}return Q()}()},9948:(e,t,n)=>{"use strict";n.d(t,{j:()=>u});var r=n(8840),o=n(73935),i=n(85893),a="data-block-id";function s(e){(0,r.kG)(!e||e.filter(Boolean).every((e=>e instanceof l||"string"==typeof e||"number"==typeof e||"function"==typeof e)),"The children must be an array of Block instances, strings, function or numbers.")}var l=class e{id;_container;_component;_props;_children=[];parent;constructor(e,t,n={}){n?.container?this._container=n.container:(this._container=(n.ownerDocument||document).createElement("div"),this._container.style.display="contents");const{children:r,...o}=t;this._component=e,this._props=o,this.id=t[a]||`__@Block@__${crypto.getRandomValues(new Uint32Array(1))[0].toString(16)}`,this.children=r?.flat()||[]}_setParent(e){this.parent=e}get props(){return this._props}set props(e){if(e.children)throw new Error("Do not pass children in the props. Use the `children` setter instead.");this._props=e,this.id=this._props[a]||this.id}createComponent(t){const n=this._component,o=this._children.map(((t,n)=>t instanceof e?t.createComponent(n):t))??[];o.some((e=>"function"==typeof e))&&(0,r.kG)(1===o.length,"The children must be a single function.");const{children:a,...s}=this._props,l=!o.length,u=1===o.length?o[0]:o,c=this._props.key||t;return l?(0,i.jsx)(n,{...s},c):(0,i.jsx)(n,{...s,children:u},c)}get children(){return this._children}set children(t){const n=Array.isArray(t)?t:[t],r=n.flat();s(r);for(const t of r)t instanceof e&&t._setParent(this);this._children=n}prependChildren(...e){const t=e.flat();return s(t),this._children=[...t,...this._children],this}appendChildren(...e){const t=e.flat();return s(t),this._children=[...this._children,...t],this}insertBefore(t,...n){const o="string"==typeof t?t:t.id;(0,r.kG)(o,"The block must have an id.");const i=this.getBlockById(o);if(i instanceof e){const t=i.parent;if(t){const r=t.children.findIndex((t=>t instanceof e&&t.id&&t.id===o));t.children.splice(r,0,...n)}}return this}insertAfter(t,...n){const o="string"==typeof t?t:t.id;(0,r.kG)(o,"The block must have an id.");const i=this.getBlockById(o);if(i instanceof e){const t=i.parent;if(t){const r=t.children.findIndex((t=>t instanceof e&&t.id&&t.id===o));t.children.splice(r+1,0,...n)}}return this}replace(t,...n){const o="string"==typeof t?t:t.id;(0,r.kG)(o,"The block must have an id.");const i=this.getBlockById(o);if(i instanceof e){const t=i.parent;if(t){const r=t.children.findIndex((t=>t instanceof e&&t.id&&t.id===o));t.children.splice(r,1,...n)}}return this}getBlockById(t){const n=this._getChild(t);if(n instanceof e)return n;for(const n of this._children)if(n instanceof e){const e=n.getBlockById(t);if(e)return e}}getBlocksByComponent(t){const n=[];this._component===t&&n.push(this);for(const r of this._children)if(r instanceof e){const e=r.getBlocksByComponent(t);e&&n.push(...e)}return n}_getChild(t){return t instanceof e?this._children.find((n=>n instanceof e&&n===t)):this._children.find((n=>n instanceof e&&n.id===t))}_removeChild(t){const n=this._children.findIndex((n=>n instanceof e&&n.id===t));-1!==n&&this._children.splice(n,1)}removeChildById(t){this._removeChild(t);for(const n of this.children)n instanceof e&&n.removeChildById(t)}createDOMNode(e){const t=this.createComponent();return o.render(t,e||this._container),this._container}mergeProps(e){return this._props={...this._props,...e},this.id=this._props[a]||this.id,this}setProp(e,t){return this._props={...this._props,[e]:t},this.id=this._props[a]||this.id,this}toJS(){const t="string"==typeof this._component?this._component:this._component.displayName;return{id:this.id,component:t,props:this._props,children:this.children.map((t=>t instanceof e?t.toJS():{value:t}))}}};function u(e,t={},...n){return new l(e,{...t,children:n})}},86233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>aD,AccordionItem:()=>lD,ActionButton:()=>Yb,ActionIconButton:()=>mw,AlertDialog:()=>aS,AudioPlayer:()=>hS,Avatar:()=>fD,Box:()=>Nb,Checkbox:()=>Kx,ColorInput:()=>BC,ColorPresetInlineInput:()=>cE,ColorSwatch:()=>bC,DateFormat:()=>Gx,Dialog:()=>$D,DialogTitle:()=>GD,DomNodeRenderer:()=>tw,Drawer:()=>RD,Editor:()=>eS,FileUpload:()=>gx,FreehandCanvas:()=>UC,Group:()=>uE,I18nProvider:()=>qw,IconColorInputButton:()=>jC,ImageDropZone:()=>QC,InlineAlert:()=>OD,Link:()=>cx,ListBox:()=>Ub,Markdown:()=>uS,Menu:()=>lx,MessageFormat:()=>lE,Modal:()=>LD,ModalClose:()=>YD,ModalContent:()=>HD,ModalTrigger:()=>XD,NumberFormat:()=>Dx,NumberInput:()=>gw,Pagination:()=>$x,Popover:()=>JD,PopoverContent:()=>eC,PopoverTrigger:()=>tC,Portal:()=>zx,PortalContainerProvider:()=>Ow,Preview:()=>tE,ProgressBar:()=>bx,ProgressSpinner:()=>Fx,RadioGroup:()=>sE,Reaction:()=>_x,ScrollControlButton:()=>rS,SearchInput:()=>_w,Select:()=>dD,Separator:()=>jb,Slider:()=>vw,Switch:()=>Cw,TabItem:()=>DD,Tabs:()=>xD,TagGroup:()=>Jx,Text:()=>FD,TextInput:()=>xx,ThemeProvider:()=>zw,ToggleButton:()=>jx,ToggleIconButton:()=>bE,Toolbar:()=>pE,Tooltip:()=>Tx,Transform:()=>XC,Transition:()=>nS,defineMessages:()=>Zw,useCollator:()=>Fe.Xe,useDateFormatter:()=>Fe.aQ,useDevice:()=>Ww,useI18n:()=>Hw,useImage:()=>Mw,useIntersectionObserver:()=>Iw,useIsFirstRender:()=>Rw,useLocalStorage:()=>$w,useMutationObserver:()=>Uw,useNumberFormatter:()=>Fe.Ux,usePortalContainer:()=>Xw,useResizeObserver:()=>Fw,useTextSelection:()=>Gw,useUndoRedo:()=>Kw,useUserPreferences:()=>Pw});var r={};n.r(r),n.d(r,{decode:()=>wg,encode:()=>Cg,format:()=>Eg,parse:()=>jg});var o={};n.r(o),n.d(o,{Any:()=>Bg,Cc:()=>Ng,Cf:()=>Lg,P:()=>Kg,S:()=>Vg,Z:()=>qg});var i={};n.r(i),n.d(i,{arrayReplaceAt:()=>pv,assign:()=>dv,escapeHtml:()=>Ev,escapeRE:()=>_v,fromCodePoint:()=>fv,has:()=>cv,isMdAsciiPunct:()=>zv,isPunctChar:()=>Av,isSpace:()=>Pv,isString:()=>lv,isValidEntityCode:()=>hv,isWhiteSpace:()=>kv,lib:()=>Ov,normalizeReference:()=>Tv,unescapeAll:()=>bv,unescapeMd:()=>yv});var a={};n.r(a),n.d(a,{parseLinkDestination:()=>Fv,parseLinkLabel:()=>Iv,parseLinkTitle:()=>Mv});var s=n(67294),l=(n(41473),n(85010));var u=n(38947);var c=n(45861);class d extends Set{constructor(e,t,n){super(e),e instanceof d?(this.anchorKey=t||e.anchorKey,this.currentKey=n||e.currentKey):(this.anchorKey=t,this.currentKey=n)}}function p(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:i="all"}=e,a=(0,s.useRef)(!1),[,u]=(0,s.useState)(!1),c=(0,s.useRef)(null),p=(0,s.useRef)(null),[,f]=(0,s.useState)(null),m=(0,s.useMemo)((()=>h(e.selectedKeys)),[e.selectedKeys]),g=(0,s.useMemo)((()=>h(e.defaultSelectedKeys,new d)),[e.defaultSelectedKeys]),[v,y]=(0,l.zk)(m,g,e.onSelectionChange),b=(0,s.useMemo)((()=>e.disabledKeys?new Set(e.disabledKeys):new Set),[e.disabledKeys]),[w,x]=(0,s.useState)(o);"replace"===o&&"toggle"===w&&"object"==typeof v&&0===v.size&&x("replace");let D=(0,s.useRef)(o);return(0,s.useEffect)((()=>{o!==D.current&&(x(o),D.current=o)}),[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:w,setSelectionBehavior:x,get isFocused(){return a.current},setFocused(e){a.current=e,u(e)},get focusedKey(){return c.current},get childFocusStrategy(){return p.current},setFocusedKey(e,t="first"){c.current=e,p.current=t,f(e)},selectedKeys:v,setSelectedKeys(e){!r&&function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,v)||y(e)},disabledKeys:b,disabledBehavior:i}}function h(e,t){return e?"all"===e?"all":new d(e):t}class f{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return"none"!==this.state.selectionMode&&(e=this.getKey(e),"all"===this.state.selectedKeys?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every((e=>t.has(e))),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&(0,c.eg)(this.collection,n,e)<0)&&(e=n)}return null==e?void 0:e.key}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&(0,c.eg)(this.collection,n,e)>0)&&(e=n)}return null==e?void 0:e.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let t;if(e=this.getKey(e),"all"===this.state.selectedKeys)t=new d([e],e,e);else{let n=this.state.selectedKeys,r=n.anchorKey||e;t=new d(n,r,e);for(let o of this.getKeyRange(r,n.currentKey||e))t.delete(o);for(let n of this.getKeyRange(e,r))this.canSelectItem(n)&&t.add(n)}this.state.setSelectedKeys(t)}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?(0,c.eg)(this.collection,n,r)<=0?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){let n=[],r=e;for(;r;){let e=this.collection.getItem(r);if((e&&"item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t)return e;if("cell"===t.type&&this.allowsCellSelection)return e;for(;"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);if(null==(e=this.getKey(e)))return;let t=new d("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);t.has(e)?t.delete(e):this.canSelectItem(e)&&(t.add(e),t.anchorKey=e,t.currentKey=e),this.disallowEmptySelection&&0===t.size||this.state.setSelectedKeys(t)}replaceSelection(e){if("none"===this.selectionMode)return;if(null==(e=this.getKey(e)))return;let t=this.canSelectItem(e)?new d([e],e,e):new d;this.state.setSelectedKeys(t)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new d;for(let n of e)if(n=this.getKey(n),null!=n&&(t.add(n),"single"===this.selectionMode))break;this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=n=>{for(;n;){if(this.canSelectItem(n)){let r=this.collection.getItem(n);"item"===r.type&&e.push(n),r.hasChildNodes&&(this.allowsCellSelection||"item"!==r.type)&&t((0,c.l8)((0,c._P)(r,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new d)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let t=this.collection.getItem(e);return!(!t||"cell"===t.type&&!this.allowsCellSelection)}isDisabled(e){return this.state.disabledKeys.has(e)&&"all"===this.state.disabledBehavior}isLink(e){var t,n;return!!(null===(n=this.collection.getItem(e))||void 0===n||null===(t=n.props)||void 0===t?void 0:t.href)}constructor(e,t,n){var r;this.collection=e,this.state=t,this.allowsCellSelection=null!==(r=null==n?void 0:n.allowsCellSelection)&&void 0!==r&&r,this._isSelectAll=null}}class m{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){this.keyMap=new Map,this.iterable=e;let t,n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=0;for(let[e,n]of this.keyMap)t?(t.nextKey=e,n.prevKey=t.key):(this.firstKey=e,n.prevKey=void 0),"item"===n.type&&(n.index=r++),t=n,t.nextKey=void 0;this.lastKey=null==t?void 0:t.key}}function g(e){let{filter:t}=e,n=p(e),r=(0,s.useMemo)((()=>e.disabledKeys?new Set(e.disabledKeys):new Set),[e.disabledKeys]),o=(0,s.useCallback)((e=>new m(t?t(e):e)),[t]),i=(0,s.useMemo)((()=>({suppressTextValueWarning:e.suppressTextValueWarning})),[e.suppressTextValueWarning]),a=(0,c.Kx)(e,o,i),l=(0,s.useMemo)((()=>new f(a,n)),[a,n]);const u=(0,s.useRef)(null);return(0,s.useEffect)((()=>{if(null!=n.focusedKey&&!a.getItem(n.focusedKey)){const e=u.current.getItem(n.focusedKey),t=[...u.current.getKeys()].map((e=>{const t=u.current.getItem(e);return"item"===t.type?t:null})).filter((e=>null!==e)),r=[...a.getKeys()].map((e=>{const t=a.getItem(e);return"item"===t.type?t:null})).filter((e=>null!==e)),o=t.length-r.length;let i,s=Math.min(o>1?Math.max(e.index-o+1,0):e.index,r.length-1);for(;s>=0;){if(!l.isDisabled(r[s].key)){i=r[s];break}se.index&&(s=e.index),s--)}n.setFocusedKey(i?i.key:null)}u.current=a}),[a,l,n,n.focusedKey]),{collection:a,disabledKeys:r,selectionManager:l}}function v(e){var t;let[n,r]=(0,l.zk)(e.selectedKey,null!==(t=e.defaultSelectedKey)&&void 0!==t?t:null,e.onSelectionChange),o=(0,s.useMemo)((()=>null!=n?[n]:[]),[n]),{collection:i,disabledKeys:a,selectionManager:u}=g({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:t=>{var o;let i=null!==(o=t.values().next().value)&&void 0!==o?o:null;i===n&&e.onSelectionChange&&e.onSelectionChange(i),r(i)}}),c=null!=n?i.getItem(n):null;return{collection:i,disabledKeys:a,selectionManager:u,selectedKey:n,setSelectedKey:r,selectedItem:c}}function y(e){let[t,n]=(0,l.zk)(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=(0,s.useCallback)((()=>{n(!0)}),[n]),o=(0,s.useCallback)((()=>{n(!1)}),[n]),i=(0,s.useCallback)((()=>{n(!t)}),[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:i}}var b;b={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var w;w={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var x;x={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var D;D={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var C;C={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var E;E={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var S;S={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var _;_={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var P;P={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var k;k={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var A;A={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var z;z={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var T;T={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var O;O={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var I;I={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var F;F={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var M;M={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var R;R={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var j;j={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var B;B={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var N;N={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var L;L={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var K;K={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var V;V={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var q;q={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var H;H={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Z;Z={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var U;U={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var $;$={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var G;G={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var W;W={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var X;X={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Y;Y={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Q;Q={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var J=n(46050);function ee(e){return e&&e.__esModule?e.default:e}var te;te={"ar-AE":b,"bg-BG":w,"cs-CZ":x,"da-DK":D,"de-DE":C,"el-GR":E,"en-US":S,"es-ES":_,"et-EE":P,"fi-FI":k,"fr-FR":A,"he-IL":z,"hr-HR":T,"hu-HU":O,"it-IT":I,"ja-JP":F,"ko-KR":M,"lt-LT":R,"lv-LV":j,"nb-NO":B,"nl-NL":N,"pl-PL":L,"pt-BR":K,"pt-PT":V,"ro-RO":q,"ru-RU":H,"sk-SK":Z,"sl-SI":U,"sr-SP":$,"sv-SE":G,"tr-TR":W,"uk-UA":X,"zh-CN":Y,"zh-TW":Q};new(0,J.J)(ee(te));new(0,J.J)({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function ne(e,t){if(!e)return!t;switch(e.type){case"root":return"root"===(null==t?void 0:t.type);case"item":return"item"===(null==t?void 0:t.type)&&(null==t?void 0:t.key)===e.key&&(null==t?void 0:t.dropPosition)===e.dropPosition}}function re(e){let t=y(e),[n,r]=(0,s.useState)(null),[o,i]=(0,s.useState)([]);return{focusStrategy:n,...t,open(e=null){r(e),t.open()},toggle(e=null){r(e),t.toggle()},close(){i([]),t.close()},UNSTABLE_expandedKeysStack:o,UNSTABLE_openSubmenu:(e,t)=>{i((n=>t>n.length?n:[...n.slice(0,t),e]))},UNSTABLE_closeSubmenu:(e,t)=>{i((n=>n[t]===e?n.slice(0,t):n))}}}var oe=n(96041);function ie(e){let{minValue:t,maxValue:n,step:r,formatOptions:o,value:i,defaultValue:a=NaN,onChange:c,locale:d,isDisabled:p,isReadOnly:h}=e;null===i&&(i=NaN),void 0===i||isNaN(i)||(i=void 0===r||isNaN(r)?(0,l.uZ)(i,t,n):(0,l.N4)(i,t,n,r)),isNaN(a)||(a=void 0===r||isNaN(r)?(0,l.uZ)(a,t,n):(0,l.N4)(a,t,n,r));let[f,m]=(0,l.zk)(i,isNaN(a)?NaN:a,c),[g,v]=(0,s.useState)((()=>isNaN(f)?"":new(0,oe.e)(d,o).format(f))),y=(0,s.useMemo)((()=>new(0,oe.d)(d,o)),[d,o]),b=(0,s.useMemo)((()=>y.getNumberingSystem(g)),[y,g]),w=(0,s.useMemo)((()=>new(0,oe.e)(d,{...o,numberingSystem:b})),[d,o,b]),x=(0,s.useMemo)((()=>w.resolvedOptions()),[w]),D=(0,s.useCallback)((e=>isNaN(e)||null===e?"":w.format(e)),[w]),C=(0,u.Q3)({...e,value:f}),E=void 0===r||isNaN(r)?1:r;"percent"!==x.style||void 0!==r&&!isNaN(r)||(E=.01);let[S,_]=(0,s.useState)(f),[P,k]=(0,s.useState)(d),[A,z]=(0,s.useState)(o);Object.is(f,S)&&d===P&&o===A||(v(D(f)),_(f),k(d),z(o));let T=(0,s.useMemo)((()=>y.parse(g)),[y,g]),O=(e,r=0)=>{let o=T;if(isNaN(o)){let e=isNaN(r)?0:r;return(0,l.N4)(e,t,n,E)}{let r=(0,l.N4)(o,t,n,E);return"+"===e&&r>o||"-"===e&&r!p&&!h&&(isNaN(T)||void 0===n||isNaN(n)||(0,l.N4)(T,t,n,E)>T||ae("+",T,E)<=n)),[p,h,t,n,E,T]),F=(0,s.useMemo)((()=>!p&&!h&&(isNaN(T)||void 0===t||isNaN(t)||(0,l.N4)(T,t,n,E)=t)),[p,h,t,n,E,T]);return{...C,validate:e=>y.isValidPartialNumber(e,t,n),increment:()=>{let e=O("+",t);e===f&&v(D(e)),m(e),C.commitValidation()},incrementToMax:()=>{null!=n&&(m((0,l.N4)(n,t,n,E)),C.commitValidation())},decrement:()=>{let e=O("-",n);e===f&&v(D(e)),m(e),C.commitValidation()},decrementToMin:()=>{null!=t&&(m(t),C.commitValidation())},canIncrement:I,canDecrement:F,minValue:t,maxValue:n,numberValue:T,setNumberValue:m,setInputValue:v,inputValue:g,commit:()=>{if(!g.length)return m(NaN),void v(void 0===i?"":D(f));if(isNaN(T))return void v(D(f));let e;e=void 0===r||isNaN(r)?(0,l.uZ)(T,t,n):(0,l.N4)(T,t,n,r),e=y.parse(D(e)),m(e),v(D(void 0===i?e:f))}}}function ae(e,t,n){let r="+"===e?t+n:t-n;if(t%1!=0||n%1!=0){const o=t.toString().split("."),i=n.toString().split("."),a=o[1]&&o[1].length||0,s=i[1]&&i[1].length||0,l=Math.pow(10,Math.max(a,s));t=Math.round(t*l),n=Math.round(n*l),r="+"===e?t+n:t-n,r/=l}return r}let se=Math.round(1e10*Math.random()),le=0;function ue(e){if(null!=e)return e.toString()}var ce=n(31397);class de{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===[...this.rows][0]||void 0===e?void 0:e.key}getLastKey(){var e;let t=[...this.rows];return null===t[t.length-1]||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=null==e?void 0:e.columnCount,this.rows=[];let t,n=t=>{let o=this.keyMap.get(t.key);e.visitNode&&e.visitNode(t),this.keyMap.set(t.key,t);let i,a=new Set;for(let e of t.childNodes)"cell"===e.type&&null==e.parentKey&&(e.parentKey=t.key),a.add(e.key),i?(i.nextKey=e.key,e.prevKey=i.key):e.prevKey=null,n(e),e;if(i&&(i.nextKey=null),o)for(let e of o.childNodes)a.has(e.key)||r(e)},r=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&r(t)};e.items.forEach(((e,r)=>{let o={level:0,key:"row-"+r,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...e.childNodes],rendered:void 0,textValue:void 0,...e};t?(t.nextKey=o.key,o.prevKey=t.key):o.prevKey=null,this.rows.push(o),n(o),o})),t&&(t.nextKey=null)}}n(62651);const pe="row-header-column-"+Math.random().toString(36).slice(2);let he="row-header-column-"+Math.random().toString(36).slice(2);for(;pe===he;)he="row-header-column-"+Math.random().toString(36).slice(2);class fe extends de{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===(0,c.l8)(this.body.childNodes)||void 0===e?void 0:e.key}getLastKey(){var e;return null===(0,c.s)(this.body.childNodes)||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(" ")}return""}constructor(e,t,n){let r,o=new Set,i=[];if(null==n?void 0:n.showSelectionCheckboxes){let e={type:"column",key:pe,value:null,textValue:"",level:0,index:(null==n?void 0:n.showDragButtons)?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(e)}if(null==n?void 0:n.showDragButtons){let e={type:"column",key:he,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(e)}let a=[],s=new Map,l=e=>{switch(e.type){case"body":e;break;case"column":s.set(e.key,e),e.hasChildNodes||(i.push(e),e.props.isRowHeader&&o.add(e.key));break;case"item":return void a.push(e)}for(let t of e.childNodes)l(t)};for(let t of e)l(t);let u=function(e,t){if(0===t.length)return[];let n=[],r=new Map;for(let o of t){let t=o.parentKey,i=[o];for(;t;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colspan++;let{column:e,index:t}=r.get(n);if(t>i.length)break;for(let n=t;ne.length))),i=Array(o).fill(0).map((()=>[])),a=0;for(let e of n){let t=o-1;for(let n of e){if(n){let e=i[t],r=e.reduce(((e,t)=>e+t.colspan),0);if(r0&&(e[e.length-1].nextKey=o.key,o.prevKey=e[e.length-1].key),e.push(o)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=a,e.push(n)}0}0}let s=0;for(let e of i){let n=e.reduce(((e,t)=>e+t.colspan),0);if(n({type:"headerrow",key:"headerrow-"+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:null})))}(s,i);u.forEach(((e,t)=>a.splice(t,0,e))),super({columnCount:i.length,items:a,visitNode:e=>(e.column=i[e.index],e)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=o,this.body=r,this.headerRows=u,this._size=[...r.childNodes].length,0===this.rowHeaderColumnKeys.size&&this.rowHeaderColumnKeys.add(this.columns.find((e=>{var t,n;return!(null===e.props||void 0===t?void 0:t.isDragButtonCell)&&!(null===e.props||void 0===n?void 0:n.isSelectionCell)})).key)}}function me(e){return null}me.getCollectionNode=function*(e,t){let{children:n,columns:r}=e;if(t.columns=[],"function"==typeof n){if(!r)throw new Error("props.children was a function but props.columns is missing");for(let e of r)yield{type:"column",value:e,renderer:n}}else{let e=[];s.Children.forEach(n,(t=>{e.push({type:"column",element:t})})),yield*e}};function ge(e){return null}ge.getCollectionNode=function*(e){let{children:t,items:n}=e;yield{type:"body",hasChildNodes:!0,props:e,*childNodes(){if("function"==typeof t){if(!n)throw new Error("props.children was a function but props.items is missing");for(let e of n)yield{type:"item",value:e,renderer:t}}else{let e=[];s.Children.forEach(t,(t=>{e.push({type:"item",element:t})})),yield*e}}}};function ve(e){return null}ve.getCollectionNode=function*(e,t){let{title:n,children:r,childColumns:o}=e,i=n||r,a=e.textValue||("string"==typeof i?i:"")||e["aria-label"],l=yield{type:"column",hasChildNodes:!!o||n&&s.Children.count(r)>0,rendered:i,textValue:a,props:e,*childNodes(){if(o)for(let e of o)yield{type:"column",value:e};else if(n){let e=[];s.Children.forEach(r,(t=>{e.push({type:"column",element:t})})),yield*e}},shouldInvalidate:e=>(u(e),!1)},u=e=>{for(let t of l)t.hasChildNodes||e.columns.push(t)};u(t)};function ye(e){return null}ye.getCollectionNode=function*(e,t){let{children:n,textValue:r,UNSTABLE_childItems:o}=e;yield{type:"item",props:e,textValue:r,"aria-label":e["aria-label"],hasChildNodes:!0,*childNodes(){if(t.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),t.showSelectionCheckboxes&&"none"!==t.selectionMode&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),"function"==typeof n){for(let e of t.columns)yield{type:"cell",element:n(e.key),key:e.key};if(o)for(let e of o)yield{type:"item",value:e}}else{let e=[],r=[];if(s.Children.forEach(n,(n=>{if(n.type===ye){if(e.lengthe.columns.length!==t.columns.length||e.columns.some(((e,n)=>e.key!==t.columns[n].key))||e.showSelectionCheckboxes!==t.showSelectionCheckboxes||e.showDragButtons!==t.showDragButtons||e.selectionMode!==t.selectionMode}};function be(e){return null}be.getCollectionNode=function*(e){let{children:t}=e,n=e.textValue||("string"==typeof t?t:"")||e["aria-label"]||"";yield{type:"cell",props:e,rendered:t,textValue:n,"aria-label":e["aria-label"],hasChildNodes:!1}};function we(e,t){let n=null;if(e){for(n=e.getFirstKey();t.has(n)&&n!==e.getLastKey();)n=e.getKeyAfter(n);t.has(n)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var xe=n(21946);const De=1500,Ce=500;let Ee={},Se=0,_e=!1,Pe=null,ke=null;function Ae(e={}){let{delay:t=De,closeDelay:n=Ce}=e,{isOpen:r,open:o,close:i}=y(e),a=(0,s.useMemo)((()=>""+ ++Se),[]),l=(0,s.useRef)(),u=()=>{Ee[a]=p},c=()=>{for(let e in Ee)e!==a&&(Ee[e](!0),delete Ee[e])},d=()=>{clearTimeout(l.current),l.current=null,c(),u(),_e=!0,o(),Pe&&(clearTimeout(Pe),Pe=null),ke&&(clearTimeout(ke),ke=null)},p=e=>{e||n<=0?(clearTimeout(l.current),l.current=null,i()):l.current||(l.current=setTimeout((()=>{l.current=null,i()}),n)),Pe&&(clearTimeout(Pe),Pe=null),_e&&(ke&&clearTimeout(ke),ke=setTimeout((()=>{delete Ee[a],ke=null,_e=!1}),Math.max(Ce,n)))};return(0,s.useEffect)((()=>()=>{clearTimeout(l.current),Ee[a]&&delete Ee[a]}),[a]),{isOpen:r,open:e=>{!e&&t>0&&!l.current?(c(),u(),r||Pe||_e?r||d():Pe=setTimeout((()=>{Pe=null,_e=!0,d()}),t)):d()},close:p}}class ze{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.iterable=e,t=t||new Set;let n,r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)r(t)};for(let t of e)r(t);let o=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),n=t,n.nextKey=void 0;this.lastKey=null==n?void 0:n.key}}function Te(e){let[t,n]=(0,l.zk)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),r=p(e),o=(0,s.useMemo)((()=>e.disabledKeys?new Set(e.disabledKeys):new Set),[e.disabledKeys]),i=(0,c.Kx)(e,(0,s.useCallback)((e=>new ze(e,{expandedKeys:t})),[t]),null);(0,s.useEffect)((()=>{null==r.focusedKey||i.getItem(r.focusedKey)||r.setFocusedKey(null)}),[i,r.focusedKey]);return{collection:i,expandedKeys:t,disabledKeys:o,toggleKey:e=>{n(function(e,t){let n=new Set(e);n.has(t)?n.delete(t):n.add(t);return n}(t,e))},setExpandedKeys:n,selectionManager:new f(i,r)}}var Oe=n(8840),Ie=n(20770),Fe=n(70799),Me=n(85893),Re=n(99666),je=n(85816),Be=n(23652),Ne=n(83034),Le=n(31108),Ke=n(56479);function Ve(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function qe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e.constructor();for(var o in e){var i=e[o],a=[...n,o];"string"==typeof i||"number"==typeof i||null==i?r[o]=t(i,a):"object"!=typeof i||Array.isArray(i)?console.warn('Skipping invalid key "'.concat(a.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"')):r[o]=qe(i,t,a)}return r}function He(e,t){var n={};if("object"==typeof t){var r=e;qe(t,((e,t)=>{if(null!=e){var o=function(e,t){var n=e;for(var r of t){if(!(r in n))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}(r,t);n[Ve(o)]=String(e)}}))}else{var o=e;for(var i in o){var a=o[i];null!=a&&(n[Ve(i)]=a)}}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map((e=>"".concat(e,":").concat(this[e]))).join(";")},writable:!1}),n}function Ze(){return Ze=Object.assign||function(e){for(var t=1;te.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}const $e=(0,s.forwardRef)(((e,t)=>{const{children:n,...r}=e,o=s.Children.toArray(n),i=o.find(Xe);if(i){const e=i.props.children,n=o.map((t=>t===i?s.Children.count(e)>1?s.Children.only(null):(0,s.isValidElement)(e)?e.props.children:null:t));return(0,s.createElement)(Ge,Ze({},r,{ref:t}),(0,s.isValidElement)(e)?(0,s.cloneElement)(e,void 0,n):null)}return(0,s.createElement)(Ge,Ze({},r,{ref:t}),n)}));$e.displayName="Slot";const Ge=(0,s.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,s.isValidElement)(n)?(0,s.cloneElement)(n,{...Ye(r,n.props),ref:t?Ue(t,n.ref):n.ref}):s.Children.count(n)>1?s.Children.only(null):null}));Ge.displayName="SlotClone";const We=({children:e})=>(0,s.createElement)(s.Fragment,null,e);function Xe(e){return(0,s.isValidElement)(e)&&e.type===We}function Ye(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}var Qe,Je=n(45071),et=n(41609),tt=n.n(et),nt=n(43098),rt=n(88786),ot=n(58197);Qe={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"أداة انتقاء اللون",twoDimensionalSlider:"مُنزلق 2D"};var it;it={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Средство за избиране на цвят",twoDimensionalSlider:"2D плъзгач"};var at;at={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Výběr barvy",twoDimensionalSlider:"2D posuvník"};var st;st={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvevælger",twoDimensionalSlider:"2D-skyder"};var lt;lt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbwähler",twoDimensionalSlider:"2D-Schieberegler"};var ut;ut={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Επιλογέας χρωμάτων",twoDimensionalSlider:"Ρυθμιστικό 2D"};var ct;ct={colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`};var dt;dt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",twoDimensionalSlider:"Regulador 2D"};var pt;pt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Värvivalija",twoDimensionalSlider:"2D-liugur"};var ht;ht={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Värimuokkain",twoDimensionalSlider:"2D-liukusäädin"};var ft;ft={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"Sélecteur de couleurs",twoDimensionalSlider:"Curseur 2D"};var mt;mt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"בוחר הצבעים",twoDimensionalSlider:"מחוון דו מימדי"};var gt;gt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",twoDimensionalSlider:"2D klizač"};var vt;vt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Színválasztó",twoDimensionalSlider:"2D-csúszka"};var yt;yt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",twoDimensionalSlider:"Cursore 2D"};var bt;bt={colorInputLabel:e=>`${e.label}、${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"カラーピッカー",twoDimensionalSlider:"2D スライダー"};var wt;wt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"색상 피커",twoDimensionalSlider:"2D 슬라이더"};var xt;xt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalvų parinkiklis",twoDimensionalSlider:"2D slankiklis"};var Dt;Dt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Krāsu atlasītājs",twoDimensionalSlider:"2D slīdnis"};var Ct;Ct={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",twoDimensionalSlider:"2D-glidebryter"};var Et;Et={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",twoDimensionalSlider:"2D-schuifregelaar"};var St;St={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Próbnik kolorów",twoDimensionalSlider:"Suwak 2D"};var _t;_t={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",twoDimensionalSlider:"Controle deslizante 2D"};var Pt;Pt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",twoDimensionalSlider:"Controle deslizante 2D"};var kt;kt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",twoDimensionalSlider:"Glisor 2D"};var At;At={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Палитра цветов",twoDimensionalSlider:"Ползунок 2D"};var zt;zt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Výber farieb",twoDimensionalSlider:"2D jazdec"};var Tt;Tt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",twoDimensionalSlider:"2D drsnik"};var Ot;Ot={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Birač boja",twoDimensionalSlider:"2D klizač"};var It;It={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Färgväljaren",twoDimensionalSlider:"2D-reglage"};var Ft;Ft={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Seçici",twoDimensionalSlider:"2D sürgü"};var Mt;Mt={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Палітра кольорів",twoDimensionalSlider:"Повзунок 2D"};var Rt;Rt={colorInputLabel:e=>`${e.label}、${e.channelLabel}`,colorNameAndValue:e=>`${e.name}:${e.value}`,colorPicker:"拾色器",twoDimensionalSlider:"2D 滑块"};var jt;jt={colorInputLabel:e=>`${e.label},${e.channelLabel}`,colorNameAndValue:e=>`${e.name}:${e.value}`,colorPicker:"檢色器",twoDimensionalSlider:"2D 滑桿"};var Bt=n(49987),Nt=n(18383),Lt=n(55387),Kt=n(13607),Vt=n(91788),qt=n(59292);function Ht(e){return e&&e.__esModule?e.default:e}var Zt;Zt={"ar-AE":Qe,"bg-BG":it,"cs-CZ":at,"da-DK":st,"de-DE":lt,"el-GR":ut,"en-US":ct,"es-ES":dt,"et-EE":pt,"fi-FI":ht,"fr-FR":ft,"he-IL":mt,"hr-HR":gt,"hu-HU":vt,"it-IT":yt,"ja-JP":bt,"ko-KR":wt,"lt-LT":xt,"lv-LV":Dt,"nb-NO":Ct,"nl-NL":Et,"pl-PL":St,"pt-BR":_t,"pt-PT":Pt,"ro-RO":kt,"ru-RU":At,"sk-SK":zt,"sl-SI":Tt,"sr-SP":Ot,"sv-SE":It,"tr-TR":Ft,"uk-UA":Mt,"zh-CN":Rt,"zh-TW":jt};function Ut({direction:e,state:t,zChannel:n,xChannel:r,isDisabled:o}){return(0,s.useMemo)((()=>{let i=["top","rtl"===e?"left":"right"],a=!1,s={colorAreaStyles:{},gradientStyles:{}},l=t.value.getChannelValue(n),{minValue:u,maxValue:c}=t.value.getChannelRange(n),d=(l-u)/(c-u),p="hsl"===t.value.getColorSpace();if(!o)switch(n){case"red":a="green"===r,s=((e,t,n)=>{let r=`linear-gradient(to ${e[Number(!t)]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(${n},0,0),rgb(${n},255,0))`},gradientStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(${n},0,255),rgb(${n},255,255))`,WebkitMaskImage:r,maskImage:r}}})(i,a,l);break;case"green":a="red"===r,s=((e,t,n)=>{let r=`linear-gradient(to ${e[Number(!t)]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(0,${n},0),rgb(255,${n},0))`},gradientStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(0,${n},255),rgb(255,${n},255))`,WebkitMaskImage:r,maskImage:r}}})(i,a,l);break;case"blue":a="red"===r,s=((e,t,n)=>{let r=`linear-gradient(to ${e[Number(!t)]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(0,0,${n}),rgb(255,0,${n}))`},gradientStyles:{backgroundImage:`linear-gradient(to ${e[Number(t)]},rgb(0,255,${n}),rgb(255,255,${n}))`,WebkitMaskImage:r,maskImage:r}}})(i,a,l);break;case"hue":a="saturation"!==r,s=p?((e,t,n)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${e[Number(t)]}, hsla(0,0%,0%,1) 0%, hsla(0,0%,0%,0) 50%, hsla(0,0%,100%,0) 50%, hsla(0,0%,100%,1) 100%)`,`linear-gradient(to ${e[Number(!t)]},hsl(0,0%,50%),hsla(0,0%,50%,0))`,`hsl(${n}, 100%, 50%)`].join(",")}}))(i,a,l):((e,t,n)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${e[Number(t)]},hsl(0,0%,0%),hsla(0,0%,0%,0))`,`linear-gradient(to ${e[Number(!t)]},hsl(0,0%,100%),hsla(0,0%,100%,0))`,`hsl(${n}, 100%, 50%)`].join(",")}}))(i,a,l);break;case"saturation":a="hue"===r,s=p?((e,t,n)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${e[Number(!t)]}, hsla(0,0%,0%,${n}) 0%, hsla(0,0%,0%,0) 50%, hsla(0,0%,100%,0) 50%, hsla(0,0%,100%,${n}) 100%)`,`linear-gradient(to ${e[Number(t)]},hsla(0,100%,50%,${n}),hsla(60,100%,50%,${n}),hsla(120,100%,50%,${n}),hsla(180,100%,50%,${n}),hsla(240,100%,50%,${n}),hsla(300,100%,50%,${n}),hsla(359,100%,50%,${n}))`,"hsl(0, 0%, 50%)"].join(",")}}))(i,a,d):((e,t,n)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${e[Number(!t)]},hsla(0,0%,0%,${n}),hsla(0,0%,0%,0))`,`linear-gradient(to ${e[Number(t)]},hsla(0,100%,50%,${n}),hsla(60,100%,50%,${n}),hsla(120,100%,50%,${n}),hsla(180,100%,50%,${n}),hsla(240,100%,50%,${n}),hsla(300,100%,50%,${n}),hsla(359,100%,50%,${n}))`,`linear-gradient(to ${e[Number(!t)]},hsl(0,0%,0%),hsl(0,0%,100%))`].join(",")}}))(i,a,d);break;case"brightness":a="hue"===r,s=((e,t,n)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${e[Number(!t)]},hsla(0,0%,100%,${n}),hsla(0,0%,100%,0))`,`linear-gradient(to ${e[Number(t)]},hsla(0,100%,50%,${n}),hsla(60,100%,50%,${n}),hsla(120,100%,50%,${n}),hsla(180,100%,50%,${n}),hsla(240,100%,50%,${n}),hsla(300,100%,50%,${n}),hsla(359,100%,50%,${n}))`,"#000"].join(",")}}))(i,a,d);break;case"lightness":a="hue"===r,s=((e,t,n)=>({colorAreaStyles:{},gradientStyles:{backgroundImage:[`linear-gradient(to ${e[Number(!t)]},hsl(0,0%,${n}%),hsla(0,0%,${n}%,0))`,`linear-gradient(to ${e[Number(t)]},hsl(0,100%,${n}%),hsl(60,100%,${n}%),hsl(120,100%,${n}%),hsl(180,100%,${n}%),hsl(240,100%,${n}%),hsl(300,100%,${n}%),hsl(360,100%,${n}%))`].join(",")}}))(i,a,l)}let{x:h,y:f}=t.getThumbPosition();"rtl"===e&&(h=1-h);let m={forcedColorAdjust:"none"};return{colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...m,...s.colorAreaStyles}},gradientStyleProps:{style:{touchAction:"none",...m,...s.gradientStyles}},thumbStyleProps:{style:{position:"absolute",left:100*h+"%",top:100*f+"%",transform:"translate(0%, 0%)",touchAction:"none",...m}}}}),[e,t,n,r,o])}function $t(e,t,n,r=(e=>e)){return e*r(.5-t*(.5-n))}function Gt(e,t){return[e[0]+t[0],e[1]+t[1]]}function Wt(e,t){return[e[0]-t[0],e[1]-t[1]]}function Xt(e,t){return[e[0]*t,e[1]*t]}function Yt(e){return[e[1],-e[0]]}function Qt(e,t){return e[0]*t[0]+e[1]*t[1]}function Jt(e,t){return e[0]===t[0]&&e[1]===t[1]}function en(e,t){return function(e){return e[0]*e[0]+e[1]*e[1]}(Wt(e,t))}function tn(e){return function(e,t){return[e[0]/t,e[1]/t]}(e,function(e){return Math.hypot(e[0],e[1])}(e))}function nn(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function rn(e,t,n){let r=Math.sin(n),o=Math.cos(n),i=e[0]-t[0],a=e[1]-t[1],s=i*r+a*o;return[i*o-a*r+t[0],s+t[1]]}function on(e,t,n){return Gt(e,Xt(Wt(t,e),n))}function an(e,t,n){return Gt(e,Xt(t,n))}var{min:sn,PI:ln}=Math,un=ln+1e-4;function cn(e,t={}){return function(e,t={}){let{size:n=16,smoothing:r=.5,thinning:o=.5,simulatePressure:i=!0,easing:a=(e=>e),start:s={},end:l={},last:u=!1}=t,{cap:c=!0,easing:d=(e=>e*(2-e))}=s,{cap:p=!0,easing:h=(e=>--e*e*e+1)}=l;if(0===e.length||n<=0)return[];let f,m=e[e.length-1].runningLength,g=!1===s.taper?0:!0===s.taper?Math.max(n,m):s.taper,v=!1===l.taper?0:!0===l.taper?Math.max(n,m):l.taper,y=Math.pow(n*r,2),b=[],w=[],x=e.slice(0,10).reduce(((e,t)=>{let r=t.pressure;if(i){let o=sn(1,t.distance/n),i=sn(1,1-o);r=sn(1,e+.275*o*(i-e))}return(e+r)/2}),e[0].pressure),D=$t(n,o,e[e.length-1].pressure,a),C=e[0].vector,E=e[0].point,S=E,_=E,P=S,k=!1;for(let t=0;ty)&&(b.push(_),E=_),P=Gt(s,I),(t<=1||en(S,P)>y)&&(w.push(P),S=P),x=r,C=l}let A=e[0].point.slice(0,2),z=e.length>1?e[e.length-1].point.slice(0,2):Gt(e[0].point,[1,1]),T=[],O=[];if(1===e.length){if(!g&&!v||u){let e=an(A,tn(Yt(Wt(A,z))),-(f||D)),t=[];for(let n=1/13,r=n;r<=1;r+=n)t.push(rn(e,A,2*un*r));return t}}else{if(!(g||v&&1===e.length))if(c)for(let e=1/13,t=e;t<=1;t+=e){let e=rn(w[0],A,un*t);T.push(e)}else{let e=Wt(b[0],w[0]),t=Xt(e,.5),n=Xt(e,.51);T.push(Wt(A,t),Wt(A,n),Gt(A,n),Gt(A,t))}let t=Yt(function(e){return[-e[0],-e[1]]}(e[e.length-1].vector));if(v||g&&1===e.length)O.push(z);else if(p){let e=an(z,t,D);for(let t=1/29,n=t;n<1;n+=t)O.push(rn(e,z,3*un*n))}else O.push(Gt(z,Xt(t,D)),Gt(z,Xt(t,.99*D)),Wt(z,Xt(t,.99*D)),Wt(z,Xt(t,D)))}return b.concat(O,w.reverse(),T)}(function(e,t={}){var n;let{streamline:r=.5,size:o=16,last:i=!1}=t;if(0===e.length)return[];let a=.15+.85*(1-r),s=Array.isArray(e[0])?e:e.map((({x:e,y:t,pressure:n=.5})=>[e,t,n]));if(2===s.length){let e=s[1];s=s.slice(0,-1);for(let t=1;t<5;t++)s.push(on(s[0],e,t/4))}1===s.length&&(s=[...s,[...Gt(s[0],[1,1]),...s[0].slice(2)]]);let l=[{point:[s[0][0],s[0][1]],pressure:s[0][2]>=0?s[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],u=!1,c=0,d=l[0],p=s.length-1;for(let e=1;e=0?s[e][2]:.5,vector:tn(Wt(d.point,t)),distance:n,runningLength:c},l.push(d)}return l[0].vector=(null==(n=l[1])?void 0:n.vector)||[0,0],l}(e,t),t)}var dn=n(73935);function pn(e,t){for(var n=e.length,r=0;r-1?e[r]:n}var nr=function(){var e=Jn(),t=Fn&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame);return t?t.bind(window):function(t){var n=Jn();return setTimeout((function(){t(n-e)}),1e3/60)}}(),rr=function(){var e=Fn&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return e?e.bind(window):function(e){clearTimeout(e)}}();function or(e){return Object.keys(e)}function ir(e,t){var n=Qn(e),r=n.value,o=n.unit;if(Kn(t)){var i=t[o];if(i){if(Zn(i))return i(r);if(Bn[o])return Bn[o](r,i)}}else if("%"===o)return r*t/100;return Bn[o]?Bn[o](r):r}function ar(e,t,n){return Math.max(t,Math.min(e,n))}function sr(e,t,n,r){return void 0===r&&(r=e[0]/e[1]),[[hr(t[0],jn),hr(t[0]/r,jn)],[hr(t[1]*r,jn),hr(t[1],jn)]].filter((function(e){return e.every((function(e,r){var o=t[r],i=hr(o,jn);return n?e<=o||e<=i:e>=o||e>=i}))}))[0]||e}function lr(e,t,n,r){if(!r)return e.map((function(e,r){return ar(e,t[r],n[r])}));var o=e[0],i=e[1],a=!0===r?o/i:r,s=sr(e,t,!1,a),l=s[0],u=s[1],c=sr(e,n,!0,a),d=c[0],p=c[1];return od||i>p)&&(o=d,i=p),[o,i]}function ur(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return t?n/t:0}function cr(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=Math.atan2(r,n);return o>=0?o:o+2*Math.PI}function dr(e){var t=function(e){return[0,1].map((function(t){return ur(e.map((function(e){return e[t]})))}))}(e),n=cr(t,e[0]),r=cr(t,e[1]);return nr&&r-n<-Math.PI?1:-1}function pr(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function hr(e,t){if(!t)return e;var n=1/t;return Math.round(e/t)/n}function fr(e,t){return e.forEach((function(n,r){e[r]=hr(e[r],t)})),e}function mr(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function gr(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function vr(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function yr(e,t,n,r){e.addEventListener(t,n,r)}function br(e,t,n,r){e.removeEventListener(t,n,r)}function wr(e){return(null==e?void 0:e.ownerDocument)||Mn}function xr(e){return wr(e).documentElement}function Dr(e){return wr(e).body}function Cr(e){var t;return(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}function Er(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}function Sr(e){return Kn(e)&&e.nodeName&&e.nodeType&&"ownerDocument"in e}function _r(e,t,n,r,o,i){for(var a=0;a-1&&r.splice(o,1)}}else this._events[e]=[];else this._events={};return this},t.once=function(e,t){var n=this;return t&&this._addEvent(e,t,{once:!0}),new Promise((function(t){n._addEvent(e,t,{once:!0})}))},t.emit=function(e,t){var n=this;void 0===t&&(t={});var r=this._events[e];if(!e||!r)return!0;var o=!1;return t.eventType=e,t.stop=function(){o=!0},t.currentTarget=this,function(){for(var e=0,t=0,n=arguments.length;t=0;--n)t+=e[n];return t}(e.map((function(t,n){var r=e[n+1]||e[0];return t[0]*r[1]-r[0]*t[1]}))))/2}function Do(e,t){var n=t.width,r=t.height,o=t.left,i=t.top,a=Co(e),s=a.minX,l=a.minY,u=a.maxX,c=a.maxY,d=n/(u-s),p=r/(c-l);return e.map((function(e){return[o+(e[0]-s)*d,i+(e[1]-l)*p]}))}function Co(e){var t=e.map((function(e){return e[0]})),n=e.map((function(e){return e[1]}));return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function Eo(e,t,n){var r=e[0],o=e[1],i=Co(t),a=i.minX,s=i.maxX,l=[[a,o],[s,o]],u=So(l[0],l[1]),c=ko(t),d=[];if(c.forEach((function(t){var n,r=So(t[0],t[1]),i=t[0];(n=r,u.every((function(e,t){return 0===wo(e-n[t])})))?d.push({pos:e,line:t,type:"line"}):Po(_o(u,r),[l,t]).forEach((function(e){t.some((function(t){return r=e,!wo((n=t)[0]-r[0])&&!wo(n[1]-r[1]);var n,r}))?d.push({pos:e,line:t,type:"point"}):0!==wo(i[1]-o)&&d.push({pos:e,line:t,type:"intersection"})}))})),!n&&tr(d,(function(e){return e[0]===r})))return!0;var p=0,h={};return d.forEach((function(e){var t=e.pos,n=e.type,i=e.line;if(!(t[0]>r))if("intersection"===n)++p;else{if("line"===n)return;if("point"===n){var a=tr(i,(function(e){return e[1]!==o})),s=h[t[0]],l=a[1]>o?1:-1;s?s!==l&&++p:h[t[0]]=l}}})),p%2==1}function So(e,t){var n=e[0],r=e[1],o=t[0]-n,i=t[1]-r;Math.abs(o)0)return[];r=[[s,a],[l,a]]}}else{var u=Math.max.apply(Math,n.map((function(e){return e[1][0]}))),c=Math.min.apply(Math,n.map((function(e){return e[1][1]})));if(wo(u-c)>0)return[];r=[[i,u],[i,c]]}}return r.length||(r=e.filter((function(e){var t=e[0],r=e[1];return n.every((function(e){return 0<=wo(t-e[0][0])&&0<=wo(e[0][1]-t)&&0<=wo(r-e[1][0])&&0<=wo(e[1][1]-r)}))}))),r.map((function(e){return[wo(e[0]),wo(e[1])]}))}function ko(e){return bo(e.slice(1),[e[0]]).map((function(t,n){return[e[n],t]}))}function Ao(e,t){var n=e.slice(),r=t.slice();-1===dr(n)&&n.reverse(),-1===dr(r)&&r.reverse();var o=ko(n),i=ko(r),a=o.map((function(e){return So(e[0],e[1])})),s=i.map((function(e){return So(e[0],e[1])})),l=[];a.forEach((function(e,t){var n=o[t],a=[];s.forEach((function(r,o){var s=Po(_o(e,r),[n,i[o]]);a.push.apply(a,s.map((function(e){return{index1:t,index2:o,pos:e,type:"intersection"}})))})),a.sort((function(e,t){return pr(n[0],e.pos)-pr(n[0],t.pos)})),l.push.apply(l,a),Eo(n[1],r)&&l.push({index1:t,index2:-1,pos:n[1],type:"inside"})})),i.forEach((function(e,t){if(Eo(e[1],n)){var r=!1,o=er(l,(function(e){return e.index2===t?(r=!0,!1):!!r}));-1===o&&(r=!1,o=er(l,(function(e){var n=e.index1,o=e.index2;return-1===n&&o+1===t?(r=!0,!1):!!r}))),-1===o?l.push({index1:-1,index2:t,pos:e[1],type:"inside"}):l.splice(o,0,{index1:-1,index2:t,pos:e[1],type:"inside"})}}));var u={};return l.filter((function(e){var t=e.pos,n=t[0]+"x"+t[1];return!u[n]&&(u[n]=!0,!0)}))}function zo(e,t){var n=function(e,t){return Ao(e,t).map((function(e){return e.pos}))}(e,t);return xo(n)}var To=function(e,t){return To=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},To(e,t)};var Oo=function(){return Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0?i:i+2*Math.PI)/Math.PI);var t,n,r,o,i}function Fo(e){return e?e.touches?function(e){for(var t=Math.min(e.length,2),n=[],r=0;r=-1;if(!r.flag||!n){r._isDragAPI=!0;var o=r.options,i=o.container,a=o.pinchOutside,s=o.preventWheelClick,l=o.preventRightClick,u=o.preventDefault,c=o.checkInput,d=o.dragFocusedInput,p=o.preventClickEventOnDragStart,h=o.preventClickEventOnDrag,f=o.preventClickEventByCondition,m=r._useTouch,g=!r.flag;if(r._isSecondaryButton=3===e.which||2===e.button,s&&(2===e.which||1===e.button)||l&&(3===e.which||2===e.button))return r.stop(),!1;if(g){var v=r._window.document.activeElement,y=e.target;if(y){var b=y.tagName.toLowerCase(),w=Lo.indexOf(b)>-1,x=y.isContentEditable;if(w||x){if(c||!d&&v===y)return!1;if(v&&(v===y||x&&v.isContentEditable&&v.contains(y))){if(!d)return!1;y.blur()}}else if((u||"touchstart"===e.type)&&v){var D=v.tagName.toLowerCase();(v.isContentEditable||Lo.indexOf(D)>-1)&&v.blur()}(p||h||f)&&yr(r._window,"click",r._onClick,!0)}r.clientStores=[new No(Fo(e))],r._isIdle=!1,r.flag=!0,r.isDrag=!1,r._isTrusted=t,r._dragFlag=!0,r._prevInputEvent=e,r.data={},r.doubleFlag=Jn()-r.prevTime<200,r._isMouseEvent=function(e){return e&&(e.type.indexOf("mouse")>-1||"button"in e)}(e),!r._isMouseEvent&&r._preventMouseEvent&&r._allowMouseEvent(),!1===(r._preventMouseEvent||r.emit("dragStart",Oo(Oo({data:r.data,datas:r.data,inputEvent:e,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,isTrusted:t,isDouble:r.doubleFlag},r.getCurrentStore().getPosition()),{preventDefault:function(){e.preventDefault()},preventDrag:function(){r._dragFlag=!1}})))&&r.stop(),r._isMouseEvent&&r.flag&&u&&e.preventDefault()}if(!r.flag)return!1;var C=0;if(g?(r._attchDragEvent(),m&&a&&(C=setTimeout((function(){yr(i,"touchstart",r.onDragStart,{passive:!1})})))):m&&a&&br(i,"touchstart",r.onDragStart),r.flag&&function(e){return e.touches&&e.touches.length>=2}(e)){if(clearTimeout(C),g&&e.touches.length!==e.changedTouches.length)return;r.pinchFlag||r.onPinchStart(e)}}}},r.onDrag=function(e,t){if(r.flag){var n=r.options.preventDefault;!r._isMouseEvent&&n&&e.preventDefault(),r._prevInputEvent=e;var o=Fo(e),i=r.moveClients(o,e,!1);if(r._dragFlag){if(r.pinchFlag||i.deltaX||i.deltaY)if(!1===(r._preventMouseEvent||r.emit("drag",Oo(Oo({},i),{isScroll:!!t,inputEvent:e}))))return void r.stop();r.pinchFlag&&r.onPinch(e,o)}r.getCurrentStore().getPosition(o,!0)}},r.onDragEnd=function(e){if(r.flag){var t=r.options,n=t.pinchOutside,o=t.container,i=t.preventClickEventOnDrag,a=t.preventClickEventOnDragStart,s=t.preventClickEventByCondition,l=r.isDrag;(i||a||s)&&requestAnimationFrame((function(){r._allowClickEvent()})),s||a||!i||l||r._allowClickEvent(),r._useTouch&&n&&br(o,"touchstart",r.onDragStart),r.pinchFlag&&r.onPinchEnd(e);var u=(null==e?void 0:e.touches)?Fo(e):[];0!==u.length&&r.options.keepDragging?r._addStore(new No(u)):r.flag=!1;var c=r._getPosition(),d=Jn(),p=!l&&r.doubleFlag;r._prevInputEvent=null,r.prevTime=l||p?0:d,r.flag||(r._dettachDragEvent(),r._preventMouseEvent||r.emit("dragEnd",Oo({data:r.data,datas:r.data,isDouble:p,isDrag:l,isClick:!l,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,inputEvent:e,isTrusted:r._isTrusted},c)),r.clientStores=[],r._isMouseEvent||(r._preventMouseEvent=!0,clearTimeout(r._preventMouseEventId),r._preventMouseEventId=setTimeout((function(){r._preventMouseEvent=!1}),200)),r._isIdle=!0)}},r.onBlur=function(){r.onDragEnd()},r._allowClickEvent=function(){br(r._window,"click",r._onClick,!0)},r._onClick=function(e){r._allowClickEvent(),r._allowMouseEvent();var t=r.options.preventClickEventByCondition;(null==t?void 0:t(e))||(e.stopPropagation(),e.preventDefault())},r._onContextMenu=function(e){r.options.preventRightClick?r.onDragEnd(e):e.preventDefault()},r._passCallback=function(){};var o=[].concat(t),i=o[0];r._window=Er(i)?i:Cr(i),r.options=Oo({checkInput:!1,container:i&&!("document"in i)?Cr(i):i,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},n);var a=r.options,s=a.container,l=a.events,u=a.checkWindowBlur;if(r._useDrag=l.indexOf("drag")>-1,r._useTouch=l.indexOf("touch")>-1,r._useMouse=l.indexOf("mouse")>-1,r.targets=o,r._useDrag&&o.forEach((function(e){yr(e,"dragstart",r.onDragStart)})),r._useMouse&&(o.forEach((function(e){yr(e,"mousedown",r.onDragStart),yr(e,"mousemove",r._passCallback)})),yr(s,"contextmenu",r._onContextMenu)),u&&yr(Cr(),"blur",r.onBlur),r._useTouch){var c={passive:!1};o.forEach((function(e){yr(e,"touchstart",r.onDragStart,c),yr(e,"touchmove",r._passCallback,c)}))}return r}return function(e,t){function n(){this.constructor=e}To(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(e){return this.getCurrentStore().getMovement(e)+this.clientStores.slice(1).reduce((function(e,t){return e+t.movement}),0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(e,t,n,r){void 0===r&&(r=!0),this.flag&&(this.clientStores[0].move(e,t),r&&this.onDrag(n,!0))},t.prototype.move=function(e,t){var n=e[0],r=e[1],o=this.getCurrentStore().prevClients;return this.moveClients(o.map((function(e){var t=e.clientX,o=e.clientY;return{clientX:t+n,clientY:o+r,originalClientX:t,originalClientY:o}})),t,!0)},t.prototype.triggerDragStart=function(e){this.onDragStart(e,!1)},t.prototype.setEventData=function(e){var t=this.data;for(var n in e)t[n]=e[n];return this},t.prototype.setEventDatas=function(e){return this.setEventData(e)},t.prototype.getCurrentEvent=function(e){return void 0===e&&(e=this._prevInputEvent),Oo(Oo({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:e})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var e=this,t=this.targets,n=this.options.container;this.off(),br(this._window,"blur",this.onBlur),this._useDrag&&t.forEach((function(t){br(t,"dragstart",e.onDragStart)})),this._useMouse&&(t.forEach((function(t){br(t,"mousedown",e.onDragStart)})),br(n,"contextmenu",this._onContextMenu)),this._useTouch&&(t.forEach((function(t){br(t,"touchstart",e.onDragStart)})),br(n,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(e){var t=this,n=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>n)){var r=new No(Fo(e));this.pinchFlag=!0,this._addStore(r),!1===this.emit("pinchStart",Oo(Oo({data:this.data,datas:this.data,angle:r.getAngle(),touches:this.getCurrentStore().getPositions()},r.getPosition()),{inputEvent:e,isTrusted:this._isTrusted,preventDefault:function(){e.preventDefault()},preventDrag:function(){t._dragFlag=!1}}))&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(e,t){if(this.flag&&this.pinchFlag&&!(t.length<2)){var n=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",Oo(Oo({data:this.data,datas:this.data,movement:this.getMovement(t),angle:n.getAngle(t),rotation:n.getRotation(t),touches:n.getPositions(t),scale:n.getScale(t),distance:n.getDistance(t)},n.getPosition(t)),{inputEvent:e,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(e){if(this.pinchFlag){var t=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var n=this.getCurrentStore();this.emit("pinchEnd",Oo(Oo({data:this.data,datas:this.data,isPinch:t,touches:n.getPositions()},n.getPosition()),{inputEvent:e}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(e,t,n){var r=this._getPosition(e,n),o=this.isDrag;(r.deltaX||r.deltaY)&&(this.isDrag=!0);var i=!1;return!o&&this.isDrag&&(i=!0),Oo(Oo({data:this.data,datas:this.data},r),{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:t,isTrusted:this._isTrusted,isFirstDrag:i})},t.prototype._addStore=function(e){this.clientStores.splice(0,0,e)},t.prototype._getPosition=function(e,t){var n=this.getCurrentStore().getPosition(e,t),r=this.clientStores.slice(1).reduce((function(e,t){var n=t.getPosition();return e.distX+=n.distX,e.distY+=n.distY,e}),n),o=r.distX,i=r.distY;return Oo(Oo({},n),{distX:o,distY:i})},t.prototype._attchDragEvent=function(){var e=this._window,t=this.options.container,n={passive:!1};this._isDragAPI&&(yr(t,"dragover",this.onDrag,n),yr(e,"dragend",this.onDragEnd)),this._useMouse&&(yr(t,"mousemove",this.onDrag),yr(e,"mouseup",this.onDragEnd)),this._useTouch&&(yr(t,"touchmove",this.onDrag,n),yr(e,"touchend",this.onDragEnd,n),yr(e,"touchcancel",this.onDragEnd,n))},t.prototype._dettachDragEvent=function(){var e=this._window,t=this.options.container;this._isDragAPI&&(br(t,"dragover",this.onDrag),br(e,"dragend",this.onDragEnd)),this._useMouse&&(br(t,"mousemove",this.onDrag),br(e,"mouseup",this.onDragEnd)),this._useTouch&&(br(t,"touchstart",this.onDragStart),br(t,"touchmove",this.onDrag),br(e,"touchend",this.onDragEnd),br(e,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t}(yo);var Vo=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0};function qo(e,t,n,r,o){var i=wr(r),a=i.createElement("style");return a.setAttribute("type","text/css"),a.setAttribute("data-styled-id",e),a.setAttribute("data-styled-count","1"),n.nonce&&a.setAttribute("nonce",n.nonce),a.innerHTML=function(e,t,n){return n.original?t:t.replace(/([^};{\s}][^};{]*|^\s*){/gm,(function(t,n){var r=n.trim();return(r?Xn(r):[""]).map((function(t){var n=t.trim();return 0===n.indexOf("@")?n:n.indexOf(":global")>-1?n.replace(/\:global/g,""):n.indexOf(":host")>-1?"".concat(n.replace(/\:host/g,".".concat(e))):n?".".concat(e," ").concat(n):".".concat(e)})).join(", ")+" {"}))}(e,t,n),(o||i.head||i.body).appendChild(a),a}const Ho=function(e){var t="rCS"+Vo(e).toString(36);return{className:t,inject:function(n,r){void 0===r&&(r={});var o=function(e){if(e&&e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t}}(n),i=(o||n.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(i){var a=parseFloat(i.getAttribute("data-styled-count"))||0;i.setAttribute("data-styled-count","".concat(a+1))}else i=qo(t,e,r,n,o);return{destroy:function(){var e,t=parseFloat(i.getAttribute("data-styled-count"))||0;t<=1?(i.remove?i.remove():null===(e=i.parentNode)||void 0===e||e.removeChild(i),i=null):i.setAttribute("data-styled-count","".concat(t-1))}}}}};var Zo=function(){return Zo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Qo(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=109||ci&&di>=109,hi="firefox"===si,fi=parseInt(oi.browser.webkitVersion,10)>=612||li>=15,mi="moveable-",gi=ti.map((function(e){var t="",n="",r="center",o="center",i="calc(var(--moveable-control-padding, 20) * -1px)";return e.indexOf("n")>-1&&(t="top: ".concat(i,";"),o="bottom"),e.indexOf("s")>-1&&(t="top: 0px;",o="top"),e.indexOf("w")>-1&&(n="left: ".concat(i,";"),r="right"),e.indexOf("e")>-1&&(n="left: 0px;",r="left"),'.around-control[data-direction*="'.concat(e,'"] {\n ').concat(n).concat(t,"\n transform-origin: ").concat(r," ").concat(o,";\n }")})).join("\n"),vi="\n{\nposition: absolute;\nwidth: 1px;\nheight: 1px;\nleft: 0;\ntop: 0;\nz-index: 3000;\n--moveable-color: #4af;\n--zoom: 1;\n--zoompx: 1px;\n--moveable-line-padding: 0;\n--moveable-control-padding: 0;\nwill-change: transform;\noutline: 1px solid transparent;\n}\n.control-box {\nz-index: 0;\n}\n.line, .control {\nposition: absolute;\nleft: 0;\ntop: 0;\nwill-change: transform;\n}\n.control {\nwidth: 14px;\nheight: 14px;\nborder-radius: 50%;\nborder: 2px solid #fff;\nbox-sizing: border-box;\nbackground: #4af;\nbackground: var(--moveable-color);\nmargin-top: -7px;\nmargin-left: -7px;\nborder: 2px solid #fff;\nz-index: 10;\n}\n.around-control {\nposition: absolute;\nwill-change: transform;\nwidth: calc(var(--moveable-control-padding, 20) * 1px);\nheight: calc(var(--moveable-control-padding, 20) * 1px);\nleft: calc(var(--moveable-control-padding, 20) * -0.5px);\ntop: calc(var(--moveable-control-padding, 20) * -0.5px);\nbox-sizing: border-box;\nbackground: transparent;\nz-index: 8;\ncursor: alias;\ntransform-origin: center center;\n}\n".concat(gi,"\n.padding {\nposition: absolute;\ntop: 0px;\nleft: 0px;\nwidth: 100px;\nheight: 100px;\ntransform-origin: 0 0;\n}\n.line {\nwidth: 1px;\nheight: 1px;\nbackground: #4af;\nbackground: var(--moveable-color);\ntransform-origin: 0px 50%;\n}\n.line.edge {\nz-index: 1;\nbackground: transparent;\n}\n.line.dashed {\nbox-sizing: border-box;\nbackground: transparent;\n}\n.line.dashed.horizontal {\nborder-top: 1px dashed #4af;\nborder-top-color: #4af;\nborder-top-color: var(--moveable-color);\n}\n.line.dashed.vertical {\nborder-left: 1px dashed #4af;\nborder-left-color: #4af;\nborder-left-color: var(--moveable-color);\n}\n.line.vertical {\ntransform: translateX(-50%);\n}\n.line.horizontal {\ntransform: translateY(-50%);\n}\n.line.vertical.bold {\nwidth: 2px;\n}\n.line.horizontal.bold {\nheight: 2px;\n}\n\n.control.origin {\nborder-color: #f55;\nbackground: #fff;\nwidth: 12px;\nheight: 12px;\nmargin-top: -6px;\nmargin-left: -6px;\npointer-events: none;\n}\n").concat([0,15,30,45,60,75,90,105,120,135,150,165].map((function(e){return'\n.direction[data-rotation="'.concat(e,'"], :global .view-control-rotation').concat(e," {\n").concat(function(e){var t=function(e,t){return'data:image/svg+xml;utf8,')}(1,e),n=45*Math.round(e/45)%180,r="ns-resize";return 135===n?r="nwse-resize":45===n?r="nesw-resize":90===n&&(r="ew-resize"),"cursor:".concat(r,";cursor: url('").concat(t,"') 16 16, ").concat(r,";")}(e),"\n}\n")})).join("\n"),'\n\n.line.direction:before {\ncontent: "";\nposition: absolute;\nwidth: 100%;\nheight: calc(var(--moveable-line-padding, 0) * 1px);\nbottom: 0;\nleft: 0;\n}\n.group {\nz-index: -1;\n}\n.area {\nposition: absolute;\n}\n.area-pieces {\nposition: absolute;\ntop: 0;\nleft: 0;\ndisplay: none;\n}\n.area.avoid, .area.pass {\npointer-events: none;\n}\n.area.avoid+.area-pieces {\ndisplay: block;\n}\n.area-piece {\nposition: absolute;\n}\n\n').concat(ai?':global svg *:before {\ncontent:"";\ntransform-origin: inherit;\n}':"","\n"),yi=[[0,1,2],[1,0,3],[2,0,3],[3,1,2]],bi=1e-4,wi=1e-7,xi=1e-9,Di=Math.pow(10,10),Ci=-Di,Ei={n:[0,-1],e:[1,0],s:[0,1],w:[-1,0],nw:[-1,-1],ne:[1,-1],sw:[-1,1],se:[1,1]},Si={n:[0,1],e:[1,3],s:[3,2],w:[2,0],nw:[0],ne:[1],sw:[2],se:[3]},_i={n:0,s:180,w:270,e:90,nw:315,ne:45,sw:225,se:135},Pi=["isMoveableElement","updateRect","updateTarget","destroy","dragStart","isInside","hitTest","setState","getRect","request","isDragging","getManager","forceUpdate","waitToChangeTarget","updateSelectors","getTargets","stopDrag","getControlBoxElement","getMoveables","getDragElement"];function ki(e,t,n,r,o,i){var a,s;void 0===i&&(i="draggable");var l=null!==(s=null===(a=t.gestos[i])||void 0===a?void 0:a.move(n,e.inputEvent))&&void 0!==s?s:{},u=l.originalDatas||l.datas,c=u[i]||(u[i]={});return Xo(Xo({},o?Rl(t,l):l),{isPinch:!!r,parentEvent:!0,datas:c,originalDatas:e.originalDatas})}var Ai=function(){function e(e){var t;void 0===e&&(e="draggable"),this.ableName=e,this.prevX=0,this.prevY=0,this.startX=0,this.startY=0,this.isDrag=!1,this.isFlag=!1,this.datas={draggable:{}},this.datas=((t={})[e]={},t)}return e.prototype.dragStart=function(e,t){this.isDrag=!1,this.isFlag=!1;var n=t.originalDatas;return this.datas=n,n[this.ableName]||(n[this.ableName]={}),Xo(Xo({},this.move(e,t.inputEvent)),{type:"dragstart"})},e.prototype.drag=function(e,t){return this.move([e[0]-this.prevX,e[1]-this.prevY],t)},e.prototype.move=function(e,t){var n,r,o=!1;if(this.isFlag){var i=this.isDrag;n=this.prevX+e[0],r=this.prevY+e[1],(e[0]||e[1])&&(this.isDrag=!0),!i&&this.isDrag&&(o=!0)}else this.prevX=e[0],this.prevY=e[1],this.startX=e[0],this.startY=e[1],n=e[0],r=e[1],this.isFlag=!0;return this.prevX=n,this.prevY=r,{type:"drag",clientX:n,clientY:r,inputEvent:t,isFirstDrag:o,isDrag:this.isDrag,distX:n-this.startX,distY:r-this.startY,deltaX:e[0],deltaY:e[1],datas:this.datas[this.ableName],originalDatas:this.datas,parentEvent:!0,parentGesto:this}},e}();function zi(e,t,n,r){var o=16===e.length?4:3,i=Yo(rl(e,n,r,o),4),a=Yo(i[0],2),s=a[0],l=a[1],u=Yo(i[1],2),c=u[0],d=u[1],p=Yo(i[2],2),h=p[0],f=p[1],m=Yo(i[3],2),g=m[0],v=m[1],y=Yo(nl(e,t,o),2),b=y[0],w=y[1],x=Math.min(s,c,h,g),D=Math.min(l,d,f,v),C=Math.max(s,c,h,g);return s=s-x||0,{left:x,top:D,right:C,bottom:Math.max(l,d,f,v),origin:[b=b-x||0,w=w-D||0],pos1:[s,l=l-D||0],pos2:[c=c-x||0,d=d-D||0],pos3:[h=h-x||0,f=f-D||0],pos4:[g=g-x||0,v=v-D||0],direction:Xl(e[0]*e[o+1])}}function Ti(e,t){var n=t.datas,r=e.state,o=r.allMatrix,i=r.beforeMatrix,a=r.is3d,s=r.left,l=r.top,u=r.origin,c=r.offsetMatrix,d=r.targetMatrix,p=r.transformOrigin,h=a?4:3;n.is3d=a,n.matrix=o,n.targetMatrix=d,n.beforeMatrix=i,n.offsetMatrix=c,n.transformOrigin=p,n.inverseMatrix=zr(o,h),n.inverseBeforeMatrix=zr(i,h),n.absoluteOrigin=Or(Rr([s,l],u),h),n.startDragBeforeDist=Lr(n.inverseBeforeMatrix,n.absoluteOrigin,h),n.startDragDist=Lr(n.inverseMatrix,n.absoluteOrigin,h)}function Oi(e,t,n){var r=t.datas,o=t.originalDatas.beforeRenderable,i=r.transformIndex,a=o.nextTransforms,s=a.length,l=o.nextTransformAppendedIndexes,u=-1;-1===i?("translate"===n?u=0:"rotate"===n&&(u=er(a,(function(e){return e.match(/scale\(/g)}))),-1===u&&(u=a.length),r.transformIndex=u):u=tr(l,(function(e){return e.index===i&&e.functionName===n}))?i:i+l.filter((function(e){return e.indexu&&(r.isAppendTransform=!0,o.nextTransformAppendedIndexes=Qo(Qo([],Yo(l),!1),[{functionName:n,index:u,isAppend:!0}],!1))}function Ii(e,t,n){return"".concat(e.beforeFunctionTexts.join(" ")," ").concat(e.isAppendTransform?n:t," ").concat(e.afterFunctionTexts.join(" "))}function Fi(e){var t=e.datas,n=Yo(Ri({datas:t,distX:e.distX,distY:e.distY}),2),r=Mi(t,function(e,t){for(var n=Wr(t),r=0;r=0&&(e[0]>=0&&t.push(3),e[0]<=0&&t.push(2)),e[1]<=0&&(e[0]>=0&&t.push(1),e[0]<=0&&t.push(0)),t}function Ni(e,t){var n=(t+1)/2;return[Nn(e[0][0],e[1][0],n,1-n),Nn(e[0][1],e[1][1],n,1-n)]}function Li(e,t){var n=Ni([e[0],e[1]],t[0]),r=Ni([e[2],e[3]],t[0]);return Ni([n,r],t[1])}function Ki(e,t,n,r){return Mr(e,Hs(t,r,n),r)}function Vi(e,t){var n=Ui(t);return{setTransform:function(r,o){void 0===o&&(o=-1),n.startTransforms=Vn(r)?r:Wn(r),Hi(e,t,o)},setTransformIndex:function(n){Hi(e,t,n)}}}function qi(e,t,n){Hi(e,t,er(Ui(t).startTransforms,(function(e){return 0===e.indexOf("".concat(n,"("))})))}function Hi(e,t,n){var r=Ui(t),o=t.datas;if(o.transformIndex=n,-1!==n){var i=r.startTransforms[n];if(i){var a=e.state,s=no([i],{"x%":function(e){return e/100*a.offsetWidth},"y%":function(e){return e/100*a.offsetHeight}});o.startValue=s[0].functionValue}}}function Zi(e,t){Ui(e).nextTransforms=Wn(t)}function Ui(e){return e.originalDatas.beforeRenderable}function $i(e){return e.originalDatas.beforeRenderable.nextTransforms}function Gi(e){return($i(e)||[]).join(" ")}function Wi(e){return Ui(e).nextStyle}function Xi(e,t,n,r,o){Zi(o,t);var i=ss.drag(e,ki(o,e.state,n,r,!1)),a=i?i.transform:t;return Xo(Xo({transform:t,drag:i},Dl({transform:a},o)),{afterTransform:a})}function Yi(e,t,n,r,o,i){var a=function(e,t,n,r){var o,i=e.transformOrigin,a=e.offsetMatrix,s=e.is3d?4:3;if(qn(n)){var l=t.beforeTransform,u=t.afterTransform;o=Ir(r?eo(n):Mr(Mr(l,eo([n]),4),u,4),4,s)}else o=n;return Ki(a,o,i,s)}(e.state,o,t,i),s=function(e,t,n,r){void 0===r&&(r=e.state.allMatrix);var o=e.state,i=o.width,a=o.height,s=o.is3d?4:3,l=[i/2*(1+t[0])+n[0],a/2*(1+t[1])+n[1]];return nl(r,l,s)}(e,n,r,a);return s}function Qi(e,t,n,r,o,i,a){var s=Yi(e,t,n,o,i,a),l=e.state,u=l.left,c=l.top,d=e.props.groupable,p=d?u:0,h=d?c:0,f=jr(r,s);return jr(f,[p,h])}function Ji(e,t,n,r,o,i){var a=e.props.groupable,s=e.state,l=s.transformOrigin,u=s.offsetMatrix,c=s.is3d,d=s.width,p=s.height,h=s.left,f=s.top,m=i.fixedDirection,g=i.nextTargetMatrix||s.targetMatrix,v=c?4:3,y=function(e,t,n,r,o,i){return void 0===r&&(r=t),void 0===o&&(o=n),void 0===i&&(i=[0,0]),e?e.map((function(e,a){var s=Qn(e),l=s.value,u=s.unit,c=a?o:r,d=a?n:t;return"%"===e||isNaN(l)?d*(c?i[a]/c:0):"%"!==u?l:d*l/100})):i}(o,t,n,d,p,l),b=a?h:0,w=a?f:0,x=function(e,t,n,r,o,i){var a=Li(rl(t,n,r,o),i);return[e[0]-a[0],e[1]-a[1]]}(r,Ki(u,g,y,v),t,n,v,m);return jr(x,[b,w])}function ea(e){if(e&&e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t}}function ta(e){var t=e("scale"),n=e("rotate"),r=e("translate"),o=[];return r&&"0px"!==r&&"none"!==r&&o.push("translate(".concat(r.split(/\s+/).join(","),")")),n&&"1"!==n&&"none"!==n&&o.push("rotate(".concat(n,")")),t&&"1"!==t&&"none"!==t&&o.push("scale(".concat(t.split(/\s+/).join(","),")")),o}function na(e,t,n){for(var r,o,i,a=e,s=[],l=xr(e)||Dr(e),u=!n&&e===t||e===l,c=u,d=!1,p=3,h=!1,f=Gs(t,t,!0).offsetParent,m=1;a&&!c;){c=u;var g=sa(a),v=g("position"),y=$s(a),b="fixed"===v,w=ta(g),x=Br(qs(y)),D=void 0,C=!1,E=!1,S=0,_=0,P=0,k=0,A={hasTransform:!1,fixedContainer:null};b&&(h=!0,f=(A=Qs(a)).fixedContainer);var z=x.length;d||16!==z&&!w.length||(d=!0,p=4,Ys(s),i&&(i=Ir(i,3,4))),d&&9===z&&(x=Ir(x,3,4));var T=Ws(a,e),O=T.tagName,I=T.hasOffset,F=T.isSVG,M=T.origin,R=T.targetOrigin,j=Yo(T.offset,2),B=j[0],N=j[1];"svg"===O&&!a.ownerSVGElement&&i&&(s.push({type:"target",target:a,matrix:tl(a,p)}),s.push({type:"offset",target:a,matrix:Wr(p)}));var L=parseFloat(g("zoom"))||1;if(b)D=A.fixedContainer,C=!0;else{var K=Gs(a,t,!1,!0,g),V=K.offsetZoom;if(D=K.offsetParent,C=K.isEnd,E=K.isStatic,m*=V,(K.isCustomElement||1!==V)&&E)B-=D.offsetLeft,N-=D.offsetTop;else if(hi||pi){if(K.parentSlotElement){for(var q=D,H=0,Z=0;q&&ea(q);)H+=q.offsetLeft,Z+=q.offsetTop,q=q.offsetParent;B-=H,N-=Z}}}if(!ii||fi||!I||F||!E||"relative"!==v&&"static"!==v||(B-=D.offsetLeft,N-=D.offsetTop,u=u||C),b)I&&A.hasTransform&&(P=D.clientLeft,k=D.clientTop);else if(I&&f!==D&&(S=D.clientLeft,_=D.clientTop),I&&D===l){var U=Xs(a,!1);B+=U[0],N+=U[1]}if(s.push({type:"target",target:a,matrix:Hs(x,p,M)}),w.length&&(s.push({type:"offset",target:a,matrix:Wr(p)}),s.push({type:"target",target:a,matrix:Hs(eo(w),p,M)})),I){var $=a===e,G=$?0:a.scrollLeft,W=$?0:a.scrollTop;s.push({type:"offset",target:a,matrix:Yr([B-G+S-P,N-W+_-k],p)})}else s.push({type:"offset",target:a,origin:M});if(1!==L&&s.push({type:"zoom",target:a,matrix:Hs(Xr([L,L],p),p,[0,0])}),i||(i=x),r||(r=M),o||(o=R),c||b)break;a=D,u=C,n&&a!==l||(c=u)}return i||(i=Wr(p)),r||(r=[0,0]),o||(o=[0,0]),{zoom:m,offsetContainer:f,matrixes:s,targetMatrix:i,transformOrigin:r,targetOrigin:o,is3d:d,hasFixed:h}}var ra=null,oa=null,ia=null;function aa(e){e?(window.Map&&(ra=new Map,oa=new Map),ia=[]):(ra=null,ia=null,oa=null)}function sa(e){var t=null==ra?void 0:ra.get(e);if(!t){var n=Cr(e).getComputedStyle(e);if(!ra)return function(e){return n[e]};t={style:n,cached:{}},ra.set(e,t)}var r=t.cached,o=t.style;return function(e){return e in r||(r[e]=o[e]),r[e]}}function la(e,t,n){var r=n.originalDatas;r.groupable=r.groupable||{};var o=r.groupable;o.childDatas=o.childDatas||[];var i=o.childDatas;return e.moveables.map((function(e,r){return i[r]=i[r]||{},i[r][t]=i[r][t]||{},Xo(Xo({},n),{isRequestChild:!0,datas:i[r][t],originalDatas:i[r]})}))}function ua(e,t,n,r,o,i,a){var s=!!n.match(/Start$/g),l=!!n.match(/End$/g),u=o.isPinch,c=o.datas,d=la(e,t.name,o),p=e.moveables,h=[],f=d.map((function(e,o){var d=p[o],f=d.state,m=f.gestos,g=e;if(s)g=new Ai(a).dragStart(r,e),h.push(g);else{if(m[a]||(m[a]=c.childGestos[o]),!m[a])return;g=ki(e,f,r,u,i,a),h.push(g)}var v=t[n](d,Xo(Xo({},g),{parentFlag:!0}));return l&&(m[a]=null),v}));return s&&(c.childGestos=p.map((function(e){return e.state.gestos[a]}))),{eventParams:f,childEvents:h}}function ca(e,t,n,r,o,i){void 0===o&&(o=function(e,t){return t});var a=!!n.match(/End$/g),s=la(e,t.name,r),l=e.moveables;return s.map((function(e,r){var s,u=l[r];s=o(u,e);var c=t[n](u,Xo(Xo({},s),{parentFlag:!0}));return c&&i&&i(u,e,c,r),a&&(u.state.gestos={}),c}))}function da(e,t,n,r){var o=n.fixedDirection,i=n.fixedPosition,a=Li(r.datas.startPositions||bl(t.state),o),s=Yo(Lr(Gr(-e.rotation/180*Math.PI,3),[a[0]-i[0],a[1]-i[1],1],3),2),l=s[0],u=s[1];return r.datas.originalX=l,r.datas.originalY=u,r}function pa(e,t,n,r){var o=e.getState(),i=o.renderPoses,a=o.rotation,s=o.direction,l=cl(e.props,t).zoom,u=Is(a/Math.PI*180),c={},d=e.renderState;d.renderDirectionMap||(d.renderDirectionMap={});var p=d.renderDirectionMap;n.forEach((function(e){var t=e.dir;c[t]=!0}));var h=Xl(s);return n.map((function(e){var n=e.data,o=e.classNames,s=e.dir,d=Si[s];if(!d||!c[s])return null;p[s]=!0;var f=(hr(u,15)+h*_i[s]+720)%180,m={};return or(n).forEach((function(e){m["data-".concat(e)]=n[e]})),r.createElement("div",Xo({className:Ks.apply(void 0,Qo(["control","direction",s,t],Yo(o),!1)),"data-rotation":f,"data-direction":s},m,{key:"direction-".concat(s),style:ul.apply(void 0,Qo([a,l],Yo(d.map((function(e){return i[e]}))),!1))}))}))}function ha(e,t,n,r){var o=cl(e.props,n),i=o.renderDirections,a=void 0===i?t:i,s=o.displayAroundControls;if(!a)return[];var l=!0===a?ti:a;return Qo(Qo([],Yo(s?ya(e,r,n,l):[]),!1),Yo(pa(e,n,l.map((function(e){return{data:{},classNames:[],dir:e}})),r)),!1)}function fa(e,t,n,r,o,i){for(var a=[],s=6;si&&s.push({direction:"start",isBound:!0,offset:i-r,pos:r}),o-1.1||e[0]>t.right&&Yl(e[0]-t.right)>.1||e[1].1||e[1]>t.bottom&&Yl(e[1]-t.bottom)>.1}))}function Ca(e,t,n,r,o){if(!e.props.bounds)return[];var i=o*Math.PI/180,a=wa(e),s=a.left,l=a.top,u=a.right,c=a.bottom,d=s-r[0],p=u-r[0],h=l-r[1],f=c-r[1],m={left:d,top:h,right:p,bottom:f};if(!Da(n,m,0))return[];var g=[];return[[d,0],[p,0],[h,1],[f,1]].forEach((function(e){var r=Yo(e,2),o=r[0],a=r[1];n.forEach((function(e){var n=cr([0,0],e);g.push.apply(g,Qo([],Yo(function(e,t,n){var r=al(e),o=Math.sqrt(r*r-t*t)||0;return[o,-o].sort((function(t,r){return Yl(t-e[n?0:1])-Yl(r-e[n?0:1])})).map((function(e){return cr([0,0],n?[e,t]:[t,e])}))}(e,o,a).map((function(e){return i+e-n})).filter((function(e){return!Da(t,m,e)})).map((function(e){return hr(180*e/Math.PI,wi)}))),!1))}))})),g}var Ea=["left","right","center"],Sa=["top","bottom","middle"],_a={left:"start",right:"end",center:"center",top:"start",bottom:"end",middle:"center"},Pa={start:"left",end:"right",center:"center"},ka={start:"top",end:"bottom",center:"middle"};function Aa(e,t){var n=e.props,r=n.snappable,o=n.bounds,i=n.innerBounds,a=n.verticalGuidelines,s=n.horizontalGuidelines,l=n.snapGridWidth,u=n.snapGridHeight,c=e.state,d=c.guidelines,p=c.enableSnap;return!(!r||!p||t&&!0!==r&&r.indexOf(t)<0)&&!!(l||u||o||i||d&&d.length||a&&a.length||s&&s.length)}function za(e){return!1===e?{}:!0!==e&&e?e:{left:!0,right:!0,top:!0,bottom:!0}}function Ta(e,t){var n=function(e,t){var n=za(e),r={};for(var o in n)o in t&&n[o]&&(r[o]=t[o]);return r}(e,t),r=Sa.filter((function(e){return e in n})),o=Ea.filter((function(e){return e in n}));return{horizontalNames:r,verticalNames:o,horizontal:r.map((function(e){return n[e]})),vertical:o.map((function(e){return n[e]}))}}var Oa="snapRotationThreshold",Ia="snapRotationDegrees",Fa="snapHorizontalThreshold",Ma="snapVerticalThreshold";function Ra(e,t,n,r,o,i,a){var s;void 0===r&&(r=[]),void 0===o&&(o=[]);var l=e.props,u=(null===(s=e.state.snapThresholdInfo)||void 0===s?void 0:s.multiples)||[1,1],c=Tl(a,l.snapHorizontalThreshold,5),d=Tl(i,l.snapVerticalThreshold,5);return ja(e.state.guidelines,t,n,r,o,c,d,u)}function ja(e,t,n,r,o,i,a,s){return{vertical:Ka(e,"vertical",t,a*s[0],r),horizontal:Ka(e,"horizontal",n,i*s[1],o)}}function Ba(e){var t="";return-1===e||"top"===e||"left"===e?t="start":0===e||"center"===e||"middle"===e?t="center":1!==e&&"right"!==e&&"bottom"!==e||(t="end"),t}function Na(e,t,n,r){var o=Ta(e.props.snapDirections,t),i=Ra(e,o.vertical,o.horizontal,o.verticalNames.map((function(e){return Ba(e)})),o.horizontalNames.map((function(e){return Ba(e)})),n,r),a=Ba(o.horizontalNames[i.horizontal.index]),s=Ba(o.verticalNames[i.vertical.index]);return{vertical:Xo(Xo({},i.vertical),{direction:s}),horizontal:Xo(Xo({},i.horizontal),{direction:a})}}function La(e){var t=e.isSnap;if(!t)return{isSnap:!1,offset:0,dist:-1,pos:0,guideline:null};var n=e.posInfos[0],r=n.guidelineInfos[0],o=r.offset,i=r.dist,a=r.guideline;return{isSnap:t,offset:o,dist:i,pos:n.pos,guideline:a}}function Ka(e,t,n,r,o){var i,a;if(void 0===o&&(o=[]),!e||!e.length)return{isSnap:!1,index:-1,direction:"",posInfos:[]};var s="vertical"===t?0:1,l=n.map((function(n,i){var a=o[i]||"",l=e.map((function(e){var t=e.pos,r=n-t[s];return{offset:r,dist:Yl(r),guideline:e,direction:a}})).filter((function(e){var n=e.guideline,o=e.dist;return!(n.type!==t||o>r)})).sort((function(e,t){return e.dist-t.dist}));return{pos:n,index:i,guidelineInfos:l,direction:a}})).filter((function(e){return e.guidelineInfos.length>0})).sort((function(e,t){return e.guidelineInfos[0].dist-t.guidelineInfos[0].dist})),u=l.length>0;return{isSnap:u,index:u?l[0].index:-1,direction:null!==(a=null===(i=l[0])||void 0===i?void 0:i.direction)&&void 0!==a?a:"",posInfos:l}}function Va(e,t,n,r,o){var i=[];n[0]&&n[1]?i=[n,[-n[0],n[1]],[n[0],-n[1]]]:n[0]||n[1]?e.props.keepRatio?i.push([-1,-1],[-1,1],[1,-1],[1,1],n):(i.push.apply(i,Qo([],Yo(function(e,t){return Bi(t).map((function(t){return e[t]}))}([[-1,-1],[1,-1],[-1,-1],[1,1]],n)),!1)),i.length>1&&i.push([(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2])):[[-1,-1],[1,-1],[1,1],[-1,1]].forEach((function(e,t,n){var r=n[t+1]||n[0];i.push(e),i.push([(e[0]+r[0])/2,(e[1]+r[1])/2])}));var a=i.map((function(e){return Li(t,e)})),s=Ra(e,a.map((function(e){return e[0]})),a.map((function(e){return e[1]})),i.map((function(e){return Ba(e[0])})),i.map((function(e){return Ba(e[1])})),r,o),l=Ba(i.map((function(e){return e[0]}))[s.vertical.index]),u=Ba(i.map((function(e){return e[1]}))[s.horizontal.index]);return{vertical:Xo(Xo({},s.vertical),{direction:l}),horizontal:Xo(Xo({},s.horizontal),{direction:u})}}function qa(e,t){var n=Yl(e.offset),r=Yl(t.offset);return e.isBound&&t.isBound?r-n:e.isBound?-1:t.isBound?1:e.isSnap&&t.isSnap?r-n:e.isSnap?-1:t.isSnap||na||l>a,c=Yo(ji({datas:o,distX:i[0],distY:i[1]}),2);return{offset:[c[0],c[1]],isOutside:u}}function ns(e,t){return e.isBound?e.offset:t.isSnap?La(t).offset:0}function rs(e,t,n,r,o,i){if(!Aa(e,"draggable"))return[{isSnap:!1,isBound:!1,offset:0},{isSnap:!1,isBound:!1,offset:0}];var a=yl(i.absolutePoses,[t,n]),s=ol(a),l=s.left,u=s.right,c=s.top,d=s.bottom,p={horizontal:a.map((function(e){return e[1]})),vertical:a.map((function(e){return e[0]}))},h=os(e,o,Ta(za(e.props.snapDirections),{left:l,right:u,top:c,bottom:d,center:(l+u)/2,middle:(c+d)/2}),p),f=h.vertical,m=h.horizontal,g=Ya(e,a,i),v=g.vertical,y=g.horizontal,b=f.isSnap,w=m.isSnap,x=f.isBound||v.isBound,D=m.isBound||y.isBound,C=Yo(function(e,t,n,r,o){var i=Yo(t,2),a=i[0],s=i[1],l=Yo(n,2),u=l[0],c=l[1],d=Yo(r,2),p=d[0],h=d[1],f=Yo(o,2),m=f[0],g=f[1],v=-m,y=-g;if(e&&a&&s){v=0,y=0;var b=[];if(u&&c?b.push([0,g],[m,0]):u?b.push([m,0]):c?b.push([0,g]):p&&h?b.push([0,g],[m,0]):p?b.push([m,0]):h&&b.push([0,g]),b.length){b.sort((function(e,t){return al(jr([a,s],e))-al(jr([a,s],t))}));var w=b[0];if(w[0]&&Yl(a)>jn)v=-w[0],y=s*Yl(a+v)/Yl(a)-s;else if(w[1]&&Yl(s)>jn){var x=s;y=-w[1],v=a*Yl(s+y)/Yl(x)-a}if(e&&c&&u)if(Yl(v)>jn&&Yl(v)jn&&Yl(y)0,m=p>0,g={isBound:!1,offset:0,pos:0},v={isBound:!1,offset:0,pos:0};if(0===p&&0===h)return{vertical:g,horizontal:v};if(0===p)f?sc&&(v.pos=i,v.offset=c-i);else if(0===h)m?au&&(g.pos=o,g.offset=u-o);else{var y=h/p,b=n[1]-y*u,w=0,x=0,D=!1;m&&a<=u?(w=y*a+b,x=a,D=!0):!m&&u<=o&&(w=y*o+b,x=o,D=!0),D&&(ws)&&(D=!1),D||(f&&s<=c?(x=((w=s)-b)/y,D=!0):!f&&c<=i&&(x=((w=i)-b)/y,D=!0)),D&&(g.isBound=!0,g.pos=x,g.offset=u-x,v.isBound=!0,v.pos=w,v.offset=c-w)}return{vertical:g,horizontal:v}}(e,t,n),i=o.horizontal,a=o.vertical,s=r?{horizontal:{isSnap:!1},vertical:{isSnap:!1}}:function(e,t,n){var r=Yo(n,2),o=r[0],i=r[1],a=Yo(t,2),s=a[0],l=a[1],u=Yo(jr(n,t),2),c=u[0],d=u[1],p=d>0,h=c>0;c=Bl(c),d=Bl(d);var f={isSnap:!1,offset:0,pos:0},m={isSnap:!1,offset:0,pos:0};if(0===c&&0===d)return{vertical:f,horizontal:m};var g=Ra(e,c?[o]:[],d?[i]:[],[],[],void 0,void 0),v=g.vertical,y=g.horizontal;v.posInfos.filter((function(e){var t=e.pos;return h?t>=s:t<=s})),y.posInfos.filter((function(e){var t=e.pos;return p?t>=l:t<=l})),v.isSnap=v.posInfos.length>0,y.isSnap=y.posInfos.length>0;var b=La(v),w=b.isSnap,x=b.guideline,D=La(y),C=D.isSnap,E=D.guideline,S=C?E.pos[1]:0,_=w?x.pos[0]:0;if(0===c)C&&(m.isSnap=!0,m.pos=E.pos[1],m.offset=i-m.pos);else if(0===d)w&&(f.isSnap=!0,f.pos=_,f.offset=o-_);else{var P=d/c,k=n[1]-P*o,A=0,z=0,T=!1;w?(A=P*(z=_)+k,T=!0):C&&(z=((A=S)-k)/P,T=!0),T&&(f.isSnap=!0,f.pos=z,f.offset=o-z,m.isSnap=!0,m.pos=A,m.offset=i-A)}return{vertical:f,horizontal:m}}(e,t,n),l=s.horizontal,u=s.vertical,c=as(i,l),d=as(a,u),p=Yl(c),h=Yl(d);return{horizontal:{isBound:i.isBound,isSnap:l.isSnap,offset:c,dist:p},vertical:{isBound:a.isBound,isSnap:u.isSnap,offset:d,dist:h}}}(e,u,c,o):os(e,o,{vertical:[c[0]],horizontal:[c[1]]}),p=d.horizontal,h=p.offset,f=p.isBound,m=p.isSnap,g=d.vertical,v=g.offset,y=g.isBound,b=g.isSnap,w=jr(l,s);if(!v&&!h)return{isBound:y||f,isSnap:b||m,sign:w,offset:[0,0]};var x=function(e,t,n,r){var o=cr(e,t)/Math.PI*180,i=n.vertical,a=i.isBound,s=i.isSnap,l=i.dist,u=n.horizontal,c=u.isBound,d=u.isSnap,p=o%180,h=p<3||p>177,f=p>87&&p<93;return u.dist0&&(d||p)){var _=v.startDragRotate||0,P=hr(_+180*cr([0,0],[d,p])/Math.PI,w)-_,k=p*Math.abs(Math.cos((P-90)/180*Math.PI)),A=al([d*Math.abs(Math.cos(P/180*Math.PI)),k]);x=P*Math.PI/180,d=A*Math.cos(x),p=A*Math.sin(x)}if(!i&&!r&&!o){var z=Yo(rs(e,d,p,w,!s&&l||a,n),2),T=z[0],O=z[1];D=T.isSnap,C=T.isBound,E=O.isSnap,S=O.isBound,d+=T.offset,p+=O.offset}var I=Rr(Ri({datas:n,distX:d,distY:p}),g),F=Rr(Fi({datas:n,distX:d,distY:p}),g);fr(F,wi),fr(I,wi),w||(D||C||(F[0]=hr(F[0],b),I[0]=hr(I[0],b)),E||S||(F[1]=hr(F[1],b),I[1]=hr(I[1],b)));var M=jr(I,g),R=jr(F,g),j=jr(R,f),B=jr(M,m);n.prevDist=R,n.prevBeforeDist=M,n.passDelta=j,n.passDist=R;var N=n.left+M[0],L=n.top+M[1],K=n.right-M[0],V=n.bottom-M[1],q=Ii(n,"translate(".concat(F[0],"px, ").concat(F[1],"px)"),"translate(".concat(R[0],"px, ").concat(R[1],"px)"));if(Zi(t,q),e.state.dragInfo.dist=r?[0,0]:R,r||y||!j.every((function(e){return!e}))||!B.some((function(e){return!e}))){var H=e.state,Z=H.width,U=H.height,$=El(e,t,Xo({transform:q,dist:R,delta:j,translate:F,beforeDist:M,beforeDelta:B,beforeTranslate:I,left:N,top:L,right:K,bottom:V,width:Z,height:U,isPinch:i},Dl({transform:q},t)));return!r&&Pl(e,"onDrag",$),$}}}},dragAfter:function(e,t){var n=t.datas,r=n.deltaOffset;return!(!r[0]&&!r[1])&&(n.deltaOffset=[0,0],this.drag(e,Xo(Xo({},t),{deltaOffset:r})))},dragEnd:function(e,t){var n=t.parentEvent,r=t.datas;if(e.state.dragInfo=null,r.isDrag){r.isDrag=!1;var o=Sl(e,t,{});return!n&&Pl(e,"onDragEnd",o),o}},dragGroupStart:function(e,t){var n,r,o=t.datas,i=t.clientX,a=t.clientY,s=this.dragStart(e,t);if(!s)return!1;var l=ua(e,this,"dragStart",[i||0,a||0],t,!1,"draggable"),u=l.childEvents,c=l.eventParams,d=Pl(e,"onDragGroupStart",Xo(Xo({},s),{targets:e.props.targets,events:c}));o.isDrag=!1!==d;var p=null!==(r=null===(n=u[0])||void 0===n?void 0:n.datas.startValue)&&void 0!==r?r:[0,0];return o.throttleOffset=[p[0]%1,p[1]%1],!!o.isDrag&&s},dragGroup:function(e,t){if(t.datas.isDrag){var n=this.drag(e,Xo(Xo({},t),{parentThrottleDrag:e.props.throttleDrag})),r=ua(e,this,"drag",t.datas.passDelta,t,!1,"draggable").eventParams;if(n){var o=Xo({targets:e.props.targets,events:r},n);return Pl(e,"onDragGroup",o),o}}},dragGroupEnd:function(e,t){var n=t.isDrag;if(t.datas.isDrag){this.dragEnd(e,t);var r=ua(e,this,"dragEnd",[0,0],t,!1,"draggable").eventParams;return Pl(e,"onDragGroupEnd",Sl(e,t,{targets:e.props.targets,events:r})),n}},request:function(e){var t={},n=e.getRect(),r=0,o=0,i=!1;return{isControl:!1,requestStart:function(e){return i=e.useSnap,{datas:t,useSnap:i}},request:function(e){return"x"in e?r=e.x-n.left:"deltaX"in e&&(r+=e.deltaX),"y"in e?o=e.y-n.top:"deltaY"in e&&(o+=e.deltaY),{datas:t,distX:r,distY:o,useSnap:i}},requestEnd:function(){return{datas:t,isDrag:!0,useSnap:i}}}},unset:function(e){e.state.gestos.draggable=null,e.state.dragInfo=null}};function ls(e,t){return{fixedPosition:Li(e,t),fixedDirection:t,fixedOffset:[0,0]}}function us(e,t){var n=e.allMatrix,r=e.is3d,o=e.width,i=e.height,a=r?4:3,s=function(e,t,n){return[t?e[0]/(t/2)-1:0,n?e[1]/(n/2)-1:0]}(t,o,i);return{fixedPosition:nl(n,t,a),fixedDirection:s,fixedOffset:[o?0:t[0],i?0:t[1]]}}var cs=Ll("resizable"),ds={name:"resizable",ableGroup:"size",canPinch:!0,props:["resizable","throttleResize","renderDirections","displayAroundControls","keepRatio","resizeFormat","keepRatioFinally","edge","checkResizableError"],events:["resizeStart","beforeResize","resize","resizeEnd","resizeGroupStart","beforeResizeGroup","resizeGroup","resizeGroupEnd"],render:ga("resizable"),dragControlCondition:cs,viewClassName:Nl("resizable"),dragControlStart:function(e,t){var n,r=t.inputEvent,o=t.isPinch,i=t.isGroup,a=t.parentDirection,s=t.parentGesto,l=t.datas,u=t.parentFixedDirection,c=t.parentEvent,d=gl(a,o,r,l),p=e.state,h=p.target,f=p.width,m=p.height,g=p.gestos;if(!d||!h)return!1;if(g.resizable)return!1;g.resizable=s||e.controlGesto,!o&&Ti(e,t),l.datas={},l.direction=d,l.startOffsetWidth=f,l.startOffsetHeight=m,l.prevWidth=0,l.prevHeight=0,l.minSize=[0,0],l.startWidth=p.inlineCSSWidth||p.cssWidth,l.startHeight=p.inlineCSSHeight||p.cssHeight,l.maxSize=[1/0,1/0],i||(l.minSize=[p.minOffsetWidth,p.minOffsetHeight],l.maxSize=[p.maxOffsetWidth,p.maxOffsetHeight]);var v=e.props.transformOrigin||"% %";function y(e){l.ratio=e&&isFinite(e)?e:0}function b(e){var t=ls(l.startPositions,e);l.fixedDirection=t.fixedDirection,l.fixedPosition=t.fixedPosition,l.fixedOffset=t.fixedOffset}function w(t){var n=us(e.state,t);l.fixedDirection=n.fixedDirection,l.fixedPosition=n.fixedPosition,l.fixedOffset=n.fixedOffset}function x(e){l.minSize=[ir("".concat(e[0]),0)||0,ir("".concat(e[1]),0)||0]}function D(e){var t=[e[0]||1/0,e[1]||1/0];Hn(t[0])&&!isFinite(t[0])||(t[0]=ir("".concat(t[0]),0)||1/0),Hn(t[1])&&!isFinite(t[1])||(t[1]=ir("".concat(t[1]),0)||1/0),l.maxSize=t}l.transformOrigin=v&&qn(v)?v.split(" "):v,l.startOffsetMatrix=p.offsetMatrix,l.startTransformOrigin=p.transformOrigin,l.isWidth=null!==(n=null==t?void 0:t.parentIsWidth)&&void 0!==n?n:!d[0]&&!d[1]||d[0]||!d[1],l.startPositions=bl(e.state),y(f/m),b(u||[-d[0],-d[1]]),l.setFixedDirection=b,l.setFixedPosition=w,l.setMin=x,l.setMax=D;var C=El(e,t,{direction:d,startRatio:l.ratio,set:function(e){var t=Yo(e,2),n=t[0],r=t[1];l.startWidth=n,l.startHeight=r},setMin:x,setMax:D,setRatio:y,setFixedDirection:b,setFixedPosition:w,setOrigin:function(e){l.transformOrigin=e},dragStart:ss.dragStart(e,(new Ai).dragStart([0,0],t))}),E=c||Pl(e,"onResizeStart",C);return l.startFixedDirection=l.fixedDirection,l.startFixedPosition=l.fixedPosition,!1!==E&&(l.isResize=!0,e.state.snapRenderInfo={request:t.isRequest,direction:d}),!!l.isResize&&C},dragControl:function(e,t){var n,r=t.datas,o=t.parentFlag,i=t.isPinch,a=t.parentKeepRatio,s=t.dragClient,l=t.parentDist,u=t.useSnap,c=t.isRequest,d=t.isGroup,p=t.parentEvent,h=t.resolveMatrix,f=r.isResize,m=r.transformOrigin,g=r.startWidth,v=r.startHeight,y=r.prevWidth,b=r.prevHeight,w=r.minSize,x=r.maxSize,D=r.ratio,C=r.startOffsetWidth,E=r.startOffsetHeight,S=r.isWidth;if(f){if(h){var _=e.state.is3d,P=r.startOffsetMatrix,k=r.startTransformOrigin,A=_?4:3,z=eo($i(t)),T=Math.sqrt(z.length);A!==T&&(z=Ir(z,T,A));var O=Ki(P,z,k,A),I=rl(O,C,E,A);r.startPositions=I,r.nextTargetMatrix=z,r.nextAllMatrix=O}var F=cl(e.props,"resizable"),M=F.resizeFormat,R=F.throttleResize,j=void 0===R?o?0:1:R,B=F.parentMoveable,N=F.keepRatioFinally,L=r.direction,K=L,V=0,q=0;L[0]||L[1]||(K=[1,1]);var H=D&&(null!=a?a:F.keepRatio)||!1,Z=Yo(oe(),2),U=Z[0],$=Z[1];p||(r.setFixedDirection(r.fixedDirection),Pl(e,"onBeforeResize",El(e,t,{startFixedDirection:r.startFixedDirection,startFixedPosition:r.startFixedPosition,setFixedDirection:function(e){var t;return r.setFixedDirection(e),t=Yo(oe(),2),U=t[0],$=t[1],[U,$]},setFixedPosition:function(e){var t;return r.setFixedPosition(e),t=Yo(oe(),2),U=t[0],$=t[1],[U,$]},boundingWidth:U,boundingHeight:$,setSize:function(e){var t;t=Yo(e,2),U=t[0],$=t[1]}},!0)));var G=s;s||(G=!o&&i?function(e,t){return Li(bl(e.state),t)}(e,[0,0]):r.fixedPosition);var W=[0,0];if(i||(W=function(e,t,n,r,o,i,a){if(!Aa(e,"resizable"))return[0,0];var s=a.fixedDirection,l=a.nextAllMatrix,u=e.state,c=u.allMatrix,d=u.is3d;return Os(e,(function(e,r){return As(l||c,t+e,n+r,s,o,d)}),t,n,r,o,i,a)}(e,U,$,L,G,!u&&c,r)),l&&(!l[0]&&(W[0]=0),!l[1]&&(W[1]=0)),H){K[0]&&K[1]&&W[0]&&W[1]&&(Yl(W[0])>Yl(W[1])?W[1]=0:W[0]=0);var X=!W[0]&&!W[1];X&&ie(),K[0]&&!K[1]||W[0]&&!W[1]||X&&S?(U+=W[0],$=U/D):(!K[0]&&K[1]||!W[0]&&W[1]||X&&!S)&&($+=W[1],U=$*D)}else U+=W[0],$+=W[1],U=Math.max(0,U),$=Math.max(0,$);n=Yo(lr([U,$],w,x,!!H&&D),2),U=n[0],$=n[1],ie(),H&&(d||N)&&(S?$=U/D:U=$*D);var Y=[(V=U-C)-y,(q=$-E)-b];r.prevWidth=V,r.prevHeight=q;var Q=Ji(e,U,$,G,m,r);if(B||!Y.every((function(e){return!e}))||!Q.every((function(e){return!e}))){var J=ss.drag(e,ki(t,e.state,Q,!!i,!1,"draggable")),ee=J.transform,te=g+V,ne=v+q,re=El(e,t,Xo({width:te,height:ne,offsetWidth:Math.round(U),offsetHeight:Math.round($),startRatio:D,boundingWidth:U,boundingHeight:$,direction:L,dist:[V,q],delta:Y,isPinch:!!i,drag:J},Cl({style:{width:"".concat(te,"px"),height:"".concat(ne,"px")},transform:ee},J,t)));return!p&&Pl(e,"onResize",re),re}}function oe(){var e=r.fixedDirection,n=Zl(K,H,r,t);V=n.distWidth,q=n.distHeight;var o=K[0]-e[0]||H?Math.max(C+V,wi):C,i=K[1]-e[1]||H?Math.max(E+q,wi):E;return H&&C&&E&&(S?i=o/D:o=i*D),[o,i]}function ie(){var e;M&&(e=Yo(M([U,$]),2),U=e[0],$=e[1]),U=hr(U,j),$=hr($,j)}},dragControlAfter:function(e,t){var n=t.datas,r=n.isResize,o=n.startOffsetWidth,i=n.startOffsetHeight,a=n.prevWidth,s=n.prevHeight;if(r&&!1!==e.props.checkResizableError){var l=e.state,u=l.width-(o+a),c=l.height-(i+s),d=Yl(u)>3,p=Yl(c)>3;return d&&(n.startWidth+=u,n.startOffsetWidth+=u,n.prevWidth+=u),p&&(n.startHeight+=c,n.startOffsetHeight+=c,n.prevHeight+=c),d||p?this.dragControl(e,t):void 0}},dragControlEnd:function(e,t){var n=t.datas,r=t.parentEvent;if(n.isResize){n.isResize=!1;var o=Sl(e,t,{});return!r&&Pl(e,"onResizeEnd",o),o}},dragGroupControlCondition:cs,dragGroupControlStart:function(e,t){var n=t.datas,r=this.dragControlStart(e,Xo(Xo({},t),{isGroup:!0}));if(!r)return!1;var o=la(e,"resizable",t),i=n.startOffsetWidth,a=n.startOffsetHeight;function s(){var e=n.minSize;o.forEach((function(t){var n=t.datas,r=n.minSize,o=n.startOffsetWidth,s=n.startOffsetHeight,l=i*(o?r[0]/o:0),u=a*(s?r[1]/s:0);e[0]=Math.max(e[0],l),e[1]=Math.max(e[1],u)}))}function l(){var e=n.maxSize;o.forEach((function(t){var n=t.datas,r=n.maxSize,o=n.startOffsetWidth,s=n.startOffsetHeight,l=i*(o?r[0]/o:0),u=a*(s?r[1]/s:0);e[0]=Math.min(e[0],l),e[1]=Math.min(e[1],u)}))}var u=ca(e,this,"dragControlStart",t,(function(t,r){return da(e,t,n,r)}));s(),l();var c=function(t){r.setFixedDirection(t),u.forEach((function(r,i){r.setFixedDirection(t),da(e,r.moveable,n,o[i])}))};n.setFixedDirection=c;var d=Xo(Xo({},r),{targets:e.props.targets,events:u.map((function(e){return Xo(Xo({},e),{setMin:function(t){e.setMin(t),s()},setMax:function(t){e.setMax(t),l()}})})),setFixedDirection:c,setMin:function(e){r.setMin(e),s()},setMax:function(e){r.setMax(e),l()}}),p=Pl(e,"onResizeGroupStart",d);return n.isResize=!1!==p,!!n.isResize&&r},dragGroupControl:function(e,t){var n=t.datas;if(n.isResize){var r=cl(e.props,"resizable");_l(e,"onBeforeResize",(function(n){Pl(e,"onBeforeResizeGroup",El(e,t,Xo(Xo({},n),{targets:r.targets}),!0))}));var o=this.dragControl(e,Xo(Xo({},t),{isGroup:!0}));if(o){var i=o.boundingWidth,a=o.boundingHeight,s=o.dist,l=r.keepRatio,u=[i/(i-s[0]),a/(a-s[1])],c=n.fixedPosition,d=ca(e,this,"dragControl",t,(function(t,n){var r=Yo(Lr(Gr(e.rotation/180*Math.PI,3),[n.datas.originalX*u[0],n.datas.originalY*u[1],1],3),2),o=r[0],i=r[1];return Xo(Xo({},n),{parentDist:null,parentScale:u,dragClient:Rr(c,[o,i]),parentKeepRatio:l})})),p=Xo({targets:r.targets,events:d},o);return Pl(e,"onResizeGroup",p),p}}},dragGroupControlEnd:function(e,t){var n=t.isDrag;if(t.datas.isResize){this.dragControlEnd(e,t);var r=ca(e,this,"dragControlEnd",t);return Pl(e,"onResizeGroupEnd",Sl(e,t,{targets:e.props.targets,events:r})),n}},request:function(e){var t={},n=0,r=0,o=!1,i=e.getRect();return{isControl:!0,requestStart:function(e){var n;return o=e.useSnap,{datas:t,parentDirection:e.direction||[1,1],parentIsWidth:null===(n=null==e?void 0:e.horizontal)||void 0===n||n,useSnap:o}},request:function(e){return"offsetWidth"in e?n=e.offsetWidth-i.offsetWidth:"deltaWidth"in e&&(n+=e.deltaWidth),"offsetHeight"in e?r=e.offsetHeight-i.offsetHeight:"deltaHeight"in e&&(r+=e.deltaHeight),{datas:t,parentDist:[n,r],parentKeepRatio:e.keepRatio,useSnap:o}},requestEnd:function(){return{datas:t,isDrag:!0,useSnap:o}}}},unset:function(e){e.state.gestos.resizable=null}};function ps(e,t,n,r,o){var i=e.props.groupable,a=e.state,s=a.is3d?4:3,l=t.origin,u=nl(e.state.rootMatrix,jr([l[0],l[1]],i?[0,0]:[a.left,a.top]),s),c=Rr([o.left,o.top],u);t.startAbsoluteOrigin=c,t.prevDeg=cr(c,[n,r])/Math.PI*180,t.defaultDeg=t.prevDeg,t.prevSnapDeg=0,t.loop=0,t.startDist=pr(c,[n,r])}function hs(e,t,n){var r=n.defaultDeg,o=n.prevDeg,i=o%360,a=Math.floor(o/360);i<0&&(i+=360),i>e&&i>270&&e<90?++a:i270&&--a;var s=t*(360*a+e-r);return n.prevDeg=r+s,s}function fs(e,t,n,r){return hs(cr(r.startAbsoluteOrigin,[e,t])/Math.PI*180,n,r)}function ms(e,t,n,r,o,i){var a=e.props.throttleRotate,s=void 0===a?0:a,l=n.prevSnapDeg,u=0,c=!1;if(i){var d=function(e,t,n,r){var o,i=e.props,a=null!==(o=i.snapRotationThreshold)&&void 0!==o?o:5,s=i.snapRotationDegrees;if(Aa(e,"rotatable")){var l=t.pos1,u=t.pos2,c=t.pos3,d=t.pos4,p=t.origin,h=n*Math.PI/180,f=[l,u,c,d].map((function(e){return jr(e,p)})),m=f.map((function(e){return Zr(e,h)})),g=Qo(Qo([],Yo(Ca(e,f,m,p,n)),!1),Yo(es(e,f,m,p,n)),!1);g.sort((function(e,t){return Yl(e-n)-Yl(t-n)}));var v=g.length>0;if(v)return{isSnap:v,dist:v?g[0]:n}}if((null==s?void 0:s.length)&&a){var y=s.slice().sort((function(e,t){return Ms(e,r)-Ms(t,r)})),b=y[0];if(Ms(b,r)<=a)return{isSnap:!0,dist:n+Fs(r,b)-r}}return{isSnap:!1,dist:n}}(e,t,r,o+r);c=d.isSnap,u=o+d.dist}c||(u=hr(o+r,s));var p=u-o;return n.prevSnapDeg=p,[p-l,p,u]}function gs(e,t,n){var r=Yo(t,4),o=r[0],i=r[1],a=r[2],s=r[3];if("none"===e)return[];if(Vn(e))return e.map((function(e){return gs(e,[o,i,a,s],n)[0]}));var l=Yo((e||"top").split("-"),2),u=l[0],c=l[1],d=[o,i];"left"===u?d=[a,o]:"right"===u?d=[i,s]:"bottom"===u&&(d=[s,a]);var p=[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2],h=pl(d,n);if(c){var f="top"===c||"left"===c,m="bottom"===u||"left"===u;p=d[f&&!m||!f&&m?0:1]}return[[p,h]]}function vs(e,t){if(t.isRequest)return"rotatable"===t.requestAble;var n=t.inputEvent.target;if(mr(n,Ks("rotation-control"))||e.props.rotateAroundControls&&mr(n,Ks("around-control"))||mr(n,Ks("control"))&&mr(n,Ks("rotatable")))return!0;var r=e.props.rotationTarget;return!!r&&Vl(r,!0).some((function(e){return!!e&&(n===e||n.contains(e))}))}var ys={name:"rotatable",canPinch:!0,props:["rotatable","rotationPosition","throttleRotate","renderDirections","rotationTarget","rotateAroundControls","edge","resolveAblesWithRotatable","displayAroundControls"],events:["rotateStart","beforeRotate","rotate","rotateEnd","rotateGroupStart","beforeRotateGroup","rotateGroup","rotateGroupEnd"],css:[".rotation {\nposition: absolute;\nheight: 40px;\nwidth: 1px;\ntransform-origin: 50% 100%;\nheight: calc(40px * var(--zoom));\ntop: auto;\nleft: 0;\nbottom: 100%;\nwill-change: transform;\n}\n.rotation .rotation-line {\ndisplay: block;\nwidth: 100%;\nheight: 100%;\ntransform-origin: 50% 50%;\n}\n.rotation .rotation-control {\nborder-color: #4af;\nborder-color: var(--moveable-color);\nbackground:#fff;\ncursor: alias;\n}\n:global .view-rotation-dragging, .rotatable.direction.control {\ncursor: alias;\n}\n.rotatable.direction.control.move {\ncursor: move;\n}\n"],viewClassName:function(e){return e.isDragging("rotatable")?Ks("view-rotation-dragging"):""},render:function(e,t){var n=cl(e.props,"rotatable"),r=n.rotatable,o=n.rotationPosition,i=n.zoom,a=n.renderDirections,s=n.rotateAroundControls,l=n.resolveAblesWithRotatable,u=e.getState(),c=u.renderPoses,d=u.direction;if(!r)return null;var p=gs(o,c,d),h=[];if(p.forEach((function(e,n){var r=Yo(e,2),o=r[0],a=r[1];h.push(t.createElement("div",{key:"rotation".concat(n),className:Ks("rotation"),style:{transform:"translate(-50%) translate(".concat(o[0],"px, ").concat(o[1],"px) rotate(").concat(a,"rad)")}},t.createElement("div",{className:Ks("line rotation-line"),style:{transform:"scaleX(".concat(i,")")}}),t.createElement("div",{className:Ks("control rotation-control"),style:{transform:"translate(0.5px) scale(".concat(i,")")}})))})),a){var f=or(l||{}),m={};f.forEach((function(e){l[e].forEach((function(t){m[t]=e}))}));var g=[];Vn(a)&&(g=a.map((function(e){var t=m[e];return{data:t?{resolve:t}:{},classNames:t?["move"]:[],dir:e}}))),h.push.apply(h,Qo([],Yo(pa(e,"rotatable",g,t)),!1))}return s&&h.push.apply(h,Qo([],Yo(ya(e,t)),!1)),h},dragControlCondition:vs,dragControlStart:function(e,t){var n,r,o=t.datas,i=t.clientX,a=t.clientY,s=t.parentRotate,l=t.parentFlag,u=t.isPinch,c=t.isRequest,d=e.state,p=d.target,h=d.left,f=d.top,m=d.direction,g=d.beforeDirection,v=d.targetTransform,y=d.moveableClientRect,b=d.offsetMatrix,w=d.targetMatrix,x=d.allMatrix,D=d.width,C=d.height;if(!c&&!p)return!1;var E=e.getRect();o.rect=E,o.transform=v,o.left=h,o.top=f;var S=function(t){var n=us(e.state,t);o.fixedDirection=n.fixedDirection,o.fixedOffset=n.fixedOffset,o.fixedPosition=n.fixedPosition,j&&j.setFixedPosition(t)},_=function(t){var n=function(e,t){var n=e.allMatrix,r=e.is3d,o=e.width,i=e.height,a=r?4:3;return{fixedPosition:nl(n,[o/2*(1+t[0]),i/2*(1+t[1])],a),fixedDirection:t,fixedOffset:[0,0]}}(e.state,t);o.fixedDirection=n.fixedDirection,o.fixedOffset=n.fixedOffset,o.fixedPosition=n.fixedPosition,j&&j.setFixedDirection(t)},P=i,k=a;if(c||u||l){var A=s||0;o.beforeInfo={origin:E.beforeOrigin,prevDeg:A,defaultDeg:A,prevSnapDeg:0,startDist:0},o.afterInfo=Xo(Xo({},o.beforeInfo),{origin:E.origin}),o.absoluteInfo=Xo(Xo({},o.beforeInfo),{origin:E.origin,startValue:A})}else{var z=null===(r=t.inputEvent)||void 0===r?void 0:r.target;if(z){var T=z.getAttribute("data-direction")||"",O=Ei[T];if(O){o.isControl=!0,o.isAroundControl=mr(z,Ks("around-control")),o.controlDirection=O;var I=z.getAttribute("data-resolve");I&&(o.resolveAble=I);var F=function(e,t,n){var r=16===e.length?4:3,o=t.map((function(t){return nl(e,t,r)})),i=n.left,a=n.top;return o.map((function(e){return[e[0]+i,e[1]+a]}))}(d.rootMatrix,d.renderPoses,y);n=Yo(Li(F,O),2),P=n[0],k=n[1]}}o.beforeInfo={origin:E.beforeOrigin},o.afterInfo={origin:E.origin},o.absoluteInfo={origin:E.origin,startValue:E.rotation};var M=S;S=function(t){var n=d.is3d?4:3,r=Yo(Rr(Tr(w,n),t),2),i=r[0],a=r[1],s=Lr(b,Or([i,a],n)),l=Lr(x,Or([t[0],t[1]],n));M(t);var u=d.posDelta;o.beforeInfo.origin=jr(s,u),o.afterInfo.origin=jr(l,u),o.absoluteInfo.origin=jr(l,u),ps(e,o.beforeInfo,P,k,y),ps(e,o.afterInfo,P,k,y),ps(e,o.absoluteInfo,P,k,y)},_=function(e){var t=Li([[0,0],[D,0],[0,C],[D,C]],e);S(t)}}o.startClientX=P,o.startClientY=k,o.direction=m,o.beforeDirection=g,o.startValue=0,o.datas={},qi(e,t,"rotate");var R=!1,j=!1;o.isControl&&o.resolveAble&&("resizable"===o.resolveAble&&(j=ds.dragControlStart(e,Xo(Xo({},new Ai("resizable").dragStart([0,0],t)),{parentPosition:o.controlPosition,parentFixedPosition:o.fixedPosition}))));j||(R=ss.dragStart(e,(new Ai).dragStart([0,0],t))),S(function(e){var t=e.props,n=t.groupable,r=t.svgOrigin,o=e.getState(),i=o.offsetWidth,a=o.offsetHeight,s=o.svg,l=o.transformOrigin;if(!n&&s&&r)return $l(r,i,a);return l}(e));var B=El(e,t,Xo(Xo({set:function(e){o.startValue=e*Math.PI/180},setFixedDirection:_,setFixedPosition:S},Vi(e,t)),{dragStart:R,resizeStart:j})),N=Pl(e,"onRotateStart",B);return o.isRotate=!1!==N,d.snapRenderInfo={request:t.isRequest},!!o.isRotate&&B},dragControl:function(e,t){var n,r,o,i=t.datas,a=t.clientDistX,s=t.clientDistY,l=t.parentRotate,u=t.parentFlag,c=t.isPinch,d=t.groupDelta,p=t.resolveMatrix,h=i.beforeDirection,f=i.beforeInfo,m=i.afterInfo,g=i.absoluteInfo,v=i.isRotate,y=i.startValue,b=i.rect,w=i.startClientX,x=i.startClientY;if(v){Oi(e,t,"rotate");var D,C,E,S,_,P,k,A,z,T=function(e){return zi(e.datas.beforeTransform,[50,50],100,100).direction}(t),O=h*T,I=e.props.parentMoveable,F=180/Math.PI*y,M=g.startValue,R=!1,j=w+a,B=x+s;if(!u&&"parentDist"in t){var N=t.parentDist;C=N,_=N,A=N}else c||u?(C=hs(l,h,f),_=hs(l,O,m),A=hs(l,O,g)):(C=fs(j,B,h,f),_=fs(j,B,O,m),A=fs(j,B,O,g),R=!0);if(Pl(e,"onBeforeRotate",El(e,t,{beforeRotation:E=F+C,rotation:P=F+_,absoluteRotation:z=M+A,setRotation:function(e){C=_=e-F,A=_}},!0)),D=(n=Yo(ms(e,b,f,C,F,R),3))[0],C=n[1],E=n[2],S=(r=Yo(ms(e,b,m,_,F,R),3))[0],_=r[1],P=r[2],k=(o=Yo(ms(e,b,g,A,M,R),3))[0],A=o[1],z=o[2],k||S||D||I||p){var L=Ii(i,"rotate(".concat(P,"deg)"),"rotate(".concat(_,"deg)"));p&&(i.fixedPosition=Yi(e,i.targetAllTransform,i.fixedDirection,i.fixedOffset,i));var K=function(e,t,n){var r=n.fixedDirection,o=n.fixedPosition,i=n.fixedOffset;return Qi(e,"rotate(".concat(t,"deg)"),r,o,i,n)}(e,_,i),V=jr(Rr(d||[0,0],K),i.prevInverseDist||[0,0]);i.prevInverseDist=K,i.requestValue=null;var q=Xi(e,L,V,c,t),H=q,Z=pr([j,B],g.startAbsoluteOrigin)-g.startDist,U=void 0;if("resizable"===i.resolveAble){var $=ds.dragControl(e,Xo(Xo({},ki(t,e.state,[t.deltaX,t.deltaY],!!c,!1,"resizable")),{resolveMatrix:!0,parentDistance:Z}));$&&(U=$,H=Cl(H,$,t))}var G=El(e,t,Xo(Xo({delta:S,dist:_,rotate:P,rotation:P,beforeDist:C,beforeDelta:D,beforeRotate:E,beforeRotation:E,absoluteDist:A,absoluteDelta:k,absoluteRotate:z,absoluteRotation:z,isPinch:!!c,resize:U},q),H));return Pl(e,"onRotate",G),G}}},dragControlEnd:function(e,t){var n=t.datas;if(n.isRotate){n.isRotate=!1;var r=Sl(e,t,{});return Pl(e,"onRotateEnd",r),r}},dragGroupControlCondition:vs,dragGroupControlStart:function(e,t){var n=t.datas,r=e.state,o=r.left,i=r.top,a=r.beforeOrigin,s=this.dragControlStart(e,t);if(!s)return!1;s.set(n.beforeDirection*e.rotation);var l=ca(e,this,"dragControlStart",t,(function(e,t){var n=e.state,r=n.left,s=n.top,l=n.beforeOrigin,u=Rr(jr([r,s],[o,i]),jr(l,a));return t.datas.startGroupClient=u,t.datas.groupClient=u,Xo(Xo({},t),{parentRotate:0})})),u=Pl(e,"onRotateGroupStart",Xo(Xo({},s),{targets:e.props.targets,events:l}));return n.isRotate=!1!==u,!!n.isRotate&&s},dragGroupControl:function(e,t){var n=t.datas;if(n.isRotate){_l(e,"onBeforeRotate",(function(n){Pl(e,"onBeforeRotateGroup",El(e,t,Xo(Xo({},n),{targets:e.props.targets}),!0))}));var r=this.dragControl(e,t);if(r){var o=n.beforeDirection,i=r.beforeDist,a=i/180*Math.PI,s=ca(e,this,"dragControl",t,(function(e,t){var n=t.datas.startGroupClient,r=Yo(t.datas.groupClient,2),s=r[0],l=r[1],u=Yo(Zr(n,a*o),2),c=u[0],d=u[1],p=[c-s,d-l];return t.datas.groupClient=[c,d],Xo(Xo({},t),{parentRotate:i,groupDelta:p})}));e.rotation=o*r.beforeRotation;var l=Xo({targets:e.props.targets,events:s,set:function(t){e.rotation=t},setGroupRotation:function(t){e.rotation=t}},r);return Pl(e,"onRotateGroup",l),l}}},dragGroupControlEnd:function(e,t){var n=t.isDrag;if(t.datas.isRotate){this.dragControlEnd(e,t);var r=ca(e,this,"dragControlEnd",t);return Pl(e,"onRotateGroupEnd",Sl(e,t,{targets:e.props.targets,events:r})),n}},request:function(e){var t={},n=0,r=e.getRotation();return{isControl:!0,requestStart:function(){return{datas:t}},request:function(e){return"deltaRotate"in e?n+=e.deltaRotate:"rotate"in e&&(n=e.rotate-r),{datas:t,parentDist:n}},requestEnd:function(){return{datas:t,isDrag:!0}}}}};function bs(e,t){return function(e,t){var n,r=e.direction,o=e.classNames,i=e.size,a=e.pos,s=e.zoom,l=e.key,u="horizontal"===r,c=u?"Y":"X";return t.createElement("div",{key:l,className:o.join(" "),style:(n={},n[u?"width":"height"]="".concat(i),n.transform="translate(".concat(a[0],", ").concat(a[1],") translate").concat(c,"(-50%) scale").concat(c,"(").concat(s,")"),n)})}(Xo(Xo({},e),{classNames:Qo([Ks("line","guideline",e.direction)],Yo(e.classNames),!1).filter((function(e){return e})),size:e.size||"".concat(e.sizeValue,"px"),pos:e.pos||e.posValue.map((function(e){return"".concat(hr(e,.1),"px")}))}),t)}function ws(e,t,n,r,o,i,a,s){var l=e.props.zoom;return n.map((function(e,n){var u=e.type,c=e.pos,d=[0,0];return d[a]=r,d[a?0:1]=-o+c,bs({key:"".concat(t,"TargetGuideline").concat(n),classNames:[Ks("target","bold",u)],posValue:d,sizeValue:i,zoom:l,direction:t},s)}))}function xs(e,t,n,r,o,i){var a=e.props,s=a.zoom,l=a.isDisplayInnerSnapDigit,u="horizontal"===t?Pa:ka,c=o[u.start],d=o[u.end];return n.filter((function(e){var t=e.hide,n=e.elementRect;if(t)return!1;if(l&&n){var r=n.rect;if(r[u.start]<=c&&d<=r[u.end])return!1}return!0})).map((function(e,n){var o=e.pos,a=e.size,l=e.element,u=e.className,c=[-r[0]+o[0],-r[1]+o[1]];return bs({key:"".concat(t,"-default-guideline-").concat(n),classNames:l?[Ks("bold"),u]:[Ks("normal"),u],direction:t,posValue:c,sizeValue:a,zoom:s},i)}))}function Ds(e,t,n,r,o,i,a,s){var l,u=e.props,c=u.snapDigit,d=void 0===c?0:c,p=u.isDisplaySnapDigit,h=void 0===p||p,f=u.snapDistFormat,m=void 0===f?function(e,t){return e}:f,g=u.zoom,v="horizontal"===t?"X":"Y",y="vertical"===t?"height":"width",b=Math.abs(o),w=h?parseFloat(b.toFixed(d)):0;return s.createElement("div",{key:"".concat(t,"-").concat(n,"-guideline-").concat(r),className:Ks("guideline-group",t),style:(l={left:"".concat(i[0],"px"),top:"".concat(i[1],"px")},l[y]="".concat(b,"px"),l)},bs({direction:t,classNames:[Ks(n),a],size:"100%",posValue:[0,0],sizeValue:b,zoom:g},s),s.createElement("div",{className:Ks("size-value","gap"),style:{transform:"translate".concat(v,"(-50%) scale(").concat(g,")")}},w>0?m(w,t):""))}function Cs(e,t,n,r,o){var i=e.props.isDisplayInnerSnapDigit,a=[];return["vertical","horizontal"].forEach((function(s){var l=t.filter((function(e){return e.type===s})),u="vertical"===s?1:0,c=u?0:1,d=function(e,t,n,r){var o="vertical"===e?0:1,i="vertical"===e?1:0,a=o?Pa:ka,s=n[a.start],l=n[a.end];return Ol(t,(function(e){return e.pos[o]})).map((function(t){var n=[],u=[];return t.forEach((function(t){var c,d,p=t.element,h=t.elementRect.rect;if(h[a.end]0){var l=[0,0];l[u]=n[u]+y[p.start]-f-i,l[c]=v,a.push(Ds(e,s,"dashed",a.length,i,l,t.className,o))}y=r})),y=r,d.forEach((function(t){var r=t.elementRect.rect,i=r[p.start]-y[p.end];if(i>0){var l=[0,0];l[u]=n[u]+y[p.end]-f,l[c]=v,a.push(Ds(e,s,"dashed",a.length,i,l,t.className,o))}y=r})),g.forEach((function(t){var r=t.elementRect.rect,i=f-r[p.start],l=r[p.end]-m,d=[0,0],h=[0,0];d[u]=n[u]-i,d[c]=v,h[u]=n[u]+m-f,h[c]=v,a.push(Ds(e,s,"dashed",a.length,i,d,t.className,o)),a.push(Ds(e,s,"dashed",a.length,l,h,t.className,o))}))}))})),a}function Es(e){var t,n,r=e.state,o=r.containerClientRect,i=r.hasFixed,a=o.overflow,s=o.scrollHeight,l=o.scrollWidth,u=o.clientHeight,c=o.clientWidth,d=o.clientLeft,p=o.clientTop,h=e.props,f=h.snapGap,m=void 0===f||f,g=h.verticalGuidelines,v=h.horizontalGuidelines,y=h.snapThreshold,b=void 0===y?5:y,w=h.maxSnapElementGuidelineDistance,x=void 0===w?1/0:w,D=h.isDisplayGridGuidelines,C=ol(bl(e.state)),E=C.top,S=C.left,_=C.bottom,P=C.right,k={top:E,left:S,bottom:_,right:P,center:(S+P)/2,middle:(E+_)/2},A=function(e){var t=e.state,n=e.props.elementGuidelines,r=void 0===n?[]:n;if(!r.length)return t.elementRects=[],[];var o=(t.elementRects||[]).filter((function(e){return!e.refresh})),i=r.map((function(e){return Kn(e)&&"element"in e?Xo(Xo({},e),{element:Kl(e.element,!0)}):{element:Kl(e,!0)}})).filter((function(e){return e.element})),a=function(e,t){return lo(e,t,ho)}(o.map((function(e){return e.element})),i.map((function(e){return e.element}))),s=a.maintained,l=a.added,u=[];s.forEach((function(e){var t=Yo(e,2),n=t[0],r=t[1];u[r]=o[n]})),function(e,t){if(!t.length)return[];var n=e.props.groupable,r=e.state,o=r.containerClientRect,i=r.rootMatrix,a=r.is3d,s=r.offsetDelta,l=a?4:3,u=Yo(function(e,t,n){var r=nl(e,[t.clientLeft,t.clientTop],n);return[t.left+r[0],t.top+r[1]]}(i,o,l),2),c=u[0],d=u[1],p=n?0:s[0],h=n?0:s[1];return t.map((function(e){var t=e.element.getBoundingClientRect(),n=t.left-c-p,r=t.top-d-h,o=r+t.height,a=n+t.width,s=Yo(Ml(i,[n,r],l),2),u=s[0],f=s[1],m=Yo(Ml(i,[a,o],l),2),g=m[0],v=m[1];return Xo(Xo({},e),{rect:{left:u,right:g,top:f,bottom:v,center:(u+g)/2,middle:(f+v)/2}})}))}(e,l.map((function(e){return i[e]}))).map((function(e,t){u[l[t]]=e})),t.elementRects=u;var c=za(e.props.elementSnapDirections),d=[];return u.forEach((function(e){var t=e.element,n=e.top,r=void 0===n?c.top:n,o=e.left,i=void 0===o?c.left:o,a=e.right,s=void 0===a?c.right:a,l=e.bottom,u=void 0===l?c.bottom:l,p=e.center,h=void 0===p?c.center:p,f=e.middle,m=void 0===f?c.middle:f,g=e.className,v=e.rect,y=Ta({top:r,right:s,left:i,bottom:u,center:h,middle:m},v),b=y.horizontal,w=y.vertical,x=y.horizontalNames,D=y.verticalNames,C=v.top,E=v.left,S=v.right-E,_=v.bottom-C,P=[S,_];w.forEach((function(n,r){d.push({type:"vertical",element:t,pos:[hr(n,.1),C],size:_,sizes:P,className:g,elementRect:e,elementDirection:_a[D[r]]||D[r],direction:""})})),b.forEach((function(n,r){d.push({type:"horizontal",element:t,pos:[E,hr(n,.1)],size:S,sizes:P,className:g,elementRect:e,elementDirection:_a[x[r]]||x[r],direction:""})}))})),d}(e),z=Qo([],Yo(A),!1),T=(null!==(n=null===(t=r.snapThresholdInfo)||void 0===t?void 0:t.multiples)&&void 0!==n?n:[1,1]).map((function(e){return e*b}));m&&z.push.apply(z,Qo([],Yo(function(e,t,n){var r=e.props,o=r.maxSnapElementGuidelineDistance,i=void 0===o?1/0:o,a=r.maxSnapElementGapDistance,s=void 0===a?1/0:a,l=e.state.elementRects,u=[];return[["vertical",Pa,ka],["horizontal",ka,Pa]].forEach((function(e){var r=Yo(e,3),o=r[0],a=r[1],c=r[2],d=t[a.start],p=t[a.end],h=t[a.center],f=t[c.start],m=t[c.end],g={left:n[0],top:n[1]};function v(e){var t=e.rect,n=g[a.start];return t[a.end]m||t[c.end]0})).sort((function(e,t){return v(e)-v(t)})),b=[];y.forEach((function(e){y.forEach((function(t){if(e!==t){var n=e.rect,r=t.rect,o=n[c.start],i=n[c.end],a=r[c.start];o>r[c.end]||a>i||b.push([e,t])}}))})),b.forEach((function(e){var n=Yo(e,2),r=n[0],l=n[1],c=r.rect,f=l.rect,m=c[a.start],v=c[a.end],y=f[a.start],b=f[a.end],w=g[a.start],x=0,D=0,C=!1,E=!1,S=!1;if(v<=d&&p<=y){if(E=!0,Yl((D=v+(x=(y-v-(p-d))/2)+(p-d)/2)-h)>w)return}else if(vw)return}else{if(!(vw)return}x&&Ss(t,f,o,i)&&(x>s||u.push({type:o,pos:"vertical"===o?[D,0]:[0,D],element:l.element,size:0,className:l.className,isStart:C,isCenter:E,isEnd:S,gap:x,hide:!0,gapRects:[r,l],direction:"",elementDirection:""}))}))})),u}(e,k,T)),!1));var O=Xo({},r.snapOffset||{left:0,top:0,bottom:0,right:0});if(z.push.apply(z,Qo([],Yo(function(e,t,n,r,o,i,a){void 0===r&&(r=0);void 0===o&&(o=0);var s=e.props,l=e.state,u=s.snapGridWidth,c=void 0===u?0:u,d=s.snapGridHeight,p=void 0===d?0:d,h=[],f=i.left,m=i.top,g=[0,0];!function(e,t,n,r){var o,i,a=e.props,s=e.state,l=a.snapGridAll,u=a.snapGridWidth,c=void 0===u?0:u,d=a.snapGridHeight,p=void 0===d?0:d,h=s.snapRenderInfo,f=h&&((null===(o=h.direction)||void 0===o?void 0:o[0])||(null===(i=h.direction)||void 0===i?void 0:i[1])),m=e.moveables;if(l&&m&&f&&(c||p)){if(s.snapThresholdInfo)return;s.snapThresholdInfo={multiples:[1,1],offset:[0,0]};var g=e.getRect(),v=g.children,y=h.direction;if(v){var b=y.map((function(e,o){var i=0===o?{snapSize:c,posName:"left",sizeName:"width",clientOffset:r.left-t}:{snapSize:p,posName:"top",sizeName:"height",clientOffset:r.top-n},a=i.snapSize,s=i.posName,l=i.sizeName,u=i.clientOffset;if(!a)return{dir:e,multiple:1,snapSize:a,snapOffset:0};var d,h=g[l],f=g[s],m=(d=v.map((function(e){return[e[s]-f,e[l],h-e[l]-e[s]+f]})),d.reduce((function(e,t){return e.concat(t)}),[])).filter((function(e){return e})).sort((function(e,t){return e-t})),y=m[0],b=m.map((function(e){return hr(e/y,.1)*a})),w=1,x=hr(h/y,.1);for(w=1;w<=10&&!b.every((function(e){return e*w%1==0}));++w);var D=(1-e)/2,C=Nn(f-u,f-u+h,D,1-D);return{multiple:x*w,dir:e,snapSize:a,snapOffset:Math.round(C/a)}})),w=b.map((function(e){return e.multiple||1}));s.snapThresholdInfo.multiples=w,s.snapThresholdInfo.offset=b.map((function(e){return e.snapOffset})),b.forEach((function(e,t){e.snapSize}))}}else s.snapThresholdInfo=null}(e,r,o,i);var v=l.snapThresholdInfo,y=c,b=p;v&&(c*=v.multiples[0]||1,p*=v.multiples[1]||1,g=v.offset);if(p){for(var w=function(e){h.push({type:"horizontal",pos:[f,hr(g[1]*b+e-o+m,.1)],className:Ks("grid-guideline"),size:t,hide:!a,direction:"",grid:!0})},x=0;x<=2*n;x+=p)w(x);for(x=-p;x>=-n;x-=p)w(x)}if(c){for(w=function(e){h.push({type:"vertical",pos:[hr(g[0]*y+e-r+f,.1),m],className:Ks("grid-guideline"),size:n,hide:!a,direction:"",grid:!0})},x=0;x<=2*t;x+=c)w(x);for(x=-c;x>=-t;x-=c)w(x)}return h}(e,a?l:c,a?s:u,d,p,O,D)),!1)),i){var I=o.left,F=o.top;O.left+=I,O.top+=F,O.right+=I,O.bottom+=F}return z.push.apply(z,Qo([],Yo(Ps(v||!1,g||!1,a?l:c,a?s:u,d,p,O)),!1)),z=z.filter((function(e){var t=e.element,n=e.elementRect,r=e.type;if(!t||!n)return!0;var o=n.rect;return Ss(k,o,r,x)})),z}function Ss(e,t,n,r){return"horizontal"===n?Yl(e.right-t.left)<=r||Yl(e.left-t.right)<=r||e.left<=t.right&&t.left<=e.right:"vertical"!==n||(Yl(e.bottom-t.top)<=r||Yl(e.top-t.bottom)<=r||e.top<=t.bottom&&t.top<=e.bottom)}function _s(e,t){return e?e.map((function(e){var n=Kn(e)?e:{pos:e},r=n.pos;return Hn(r)?n:Xo(Xo({},n),{pos:ir(r,t)})})):[]}function Ps(e,t,n,r,o,i,a){void 0===o&&(o=0),void 0===i&&(i=0),void 0===a&&(a={left:0,top:0,right:0,bottom:0});var s=[],l=a.left,u=a.top,c=a.bottom,d=n+a.right-l,p=r+c-u;return _s(e,p).forEach((function(e){s.push({type:"horizontal",pos:[l,hr(e.pos-i+u,.1)],size:d,className:e.className,direction:""})})),_s(t,d).forEach((function(e){s.push({type:"vertical",pos:[hr(e.pos-o+l,.1),u],size:p,className:e.className,direction:""})})),s}function ks(e){var t=e.state,n=t.container,r=e.props.snapContainer||n;if(t.snapContainer===r&&t.guidelines&&t.guidelines.length)return!1;var o=t.containerClientRect,i={left:0,top:0,bottom:0,right:0};if(n!==r){var a=Kl(r,!0);if(a){var s=ml(a),l=ql(t,[s.left-o.left,s.top-o.top]),u=ql(t,[s.right-o.right,s.bottom-o.bottom]);i.left=hr(l[0],1e-5),i.top=hr(l[1],1e-5),i.right=hr(u[0],1e-5),i.bottom=hr(u[1],1e-5)}}return t.snapContainer=r,t.snapOffset=i,t.guidelines=Es(e),t.enableSnap=!0,!0}function As(e,t,n,r,o,i){var a=rl(e,t,n,i?4:3);return yl(a,jr(o,Li(a,r)))}function zs(e){return e?e/Yl(e):0}function Ts(e,t,n,r,o,i){var a=function(e,t,n){var r=[];if(n)1!==Yl(t[0])||1!==Yl(t[1])?r.push([t,[-1,-1]],[t,[-1,1]],[t,[1,-1]],[t,[1,1]]):r.push([t,[e[0],-e[1]]],[t,[-e[0],e[1]]]),r.push([t,e]);else if(e[0]&&e[1]||!e[0]&&!e[1]){var o=e[0]?e:[1,1];[1,-1].forEach((function(e){[1,-1].forEach((function(n){var i=[e*o[0],n*o[1]];t[0]===i[0]&&t[1]===i[1]||r.push([t,i])}))}))}else e[0]?(1===Yl(t[0])?[1]:[1,-1]).forEach((function(n){r.push([[t[0],-1],[n*e[0],-1]],[[t[0],0],[n*e[0],0]],[[t[0],1],[n*e[0],1]])})):e[1]&&(1===Yl(t[1])?[1]:[1,-1]).forEach((function(n){r.push([[-1,t[1]],[-1,n*e[1]]],[[0,t[1]],[0,n*e[1]]],[[1,t[1]],[1,n*e[1]]])}));return r}(n,i.fixedDirection,r),s=Qa(e,t,n,r),l=Qo(Qo([],Yo(is(e,t,a,r,o,i)),!1),Yo(Xa(e,s,i)),!1),u=Ha(l,0),c=Ha(l,1);return{width:{isBound:u.isBound,offset:u.offset[0]},height:{isBound:c.isBound,offset:c.offset[1]}}}function Os(e,t,n,r,o,i,a,s){for(var l=bl(e.state),u=e.props.keepRatio,c=0,d=0,p=0;p<2;++p){var h=Ts(e,t(c,d),o,u,a,s),f=h.width,m=h.height,g=f.isBound,v=m.isBound,y=f.offset,b=m.offset;if(1===p&&(g||(y=0),v||(b=0)),0===p&&a&&!g&&!v)return[0,0];if(u){var w=Yl(y)*(n?1/n:1),x=Yl(b)*(r?1/r:1);(g&&v?w=0||r.push({type:"bounds",pos:e})})),h.forEach((function(e){er(o,(function(t){var n=t.type,r=t.pos;return"bounds"===n&&r===e}))>=0||o.push({type:"bounds",pos:e})})),{boundMap:u,innerBoundMap:d}}var Ns=Ll("",["resizable","scalable"]),Ls={name:"snappable",dragRelation:"strong",props:["snappable","snapContainer","snapDirections","elementSnapDirections","snapGap","snapGridWidth","snapGridHeight","isDisplaySnapDigit","isDisplayInnerSnapDigit","isDisplayGridGuidelines","snapDigit","snapThreshold","snapRenderThreshold","snapGridAll",Oa,Ia,Fa,Ma,"horizontalGuidelines","verticalGuidelines","elementGuidelines","bounds","innerBounds","snapDistFormat","maxSnapElementGuidelineDistance","maxSnapElementGapDistance"],events:["snap","bound"],css:[":host {\n--bounds-color: #d66;\n}\n.guideline {\npointer-events: none;\nz-index: 2;\n}\n.guideline.bounds {\nbackground: #d66;\nbackground: var(--bounds-color);\n}\n.guideline-group {\nposition: absolute;\ntop: 0;\nleft: 0;\n}\n.guideline-group .size-value {\nposition: absolute;\ncolor: #f55;\nfont-size: 12px;\nfont-size: calc(12px * var(--zoom));\nfont-weight: bold;\n}\n.guideline-group.horizontal .size-value {\ntransform-origin: 50% 100%;\ntransform: translateX(-50%);\nleft: 50%;\nbottom: 5px;\nbottom: calc(2px + 3px * var(--zoom));\n}\n.guideline-group.vertical .size-value {\ntransform-origin: 0% 50%;\ntop: 50%;\ntransform: translateY(-50%);\nleft: 5px;\nleft: calc(2px + 3px * var(--zoom));\n}\n.guideline.gap {\nbackground: #f55;\n}\n.size-value.gap {\ncolor: #f55;\n}\n"],render:function(e,t){var n=e.state,r=n.top,o=n.left,i=n.pos1,a=n.pos2,s=n.pos3,l=n.pos4,u=n.snapRenderInfo,c=e.props.snapRenderThreshold,d=void 0===c?1:c;if(!u||!u.render||!Aa(e,""))return Wl(e,"boundMap",{left:!1,top:!1,right:!1,bottom:!1},(function(e){return JSON.stringify(e)})),Wl(e,"innerBoundMap",{left:!1,top:!1,right:!1,bottom:!1},(function(e){return JSON.stringify(e)})),[];n.guidelines=Es(e);var p=Math.min(i[0],a[0],s[0],l[0]),h=Math.min(i[1],a[1],s[1],l[1]),f=u.externalPoses||[],m=bl(e.state),g=[],v=[],y=[],b=[],w=[],x=ol(m),D=x.width,C=x.height,E=x.top,S=x.left,_=x.bottom,P=x.right,k={left:S,right:P,top:E,bottom:_,center:(S+P)/2,middle:(E+_)/2},A=f.length>0,z=A?ol(f):{};if(!u.request){if(u.direction&&w.push(Va(e,m,u.direction,d,d)),u.snap){var T=ol(m);u.center&&(T.middle=(T.top+T.bottom)/2,T.center=(T.left+T.right)/2),w.push(Na(e,T,d,d))}A&&(u.center&&(z.middle=(z.top+z.bottom)/2,z.center=(z.left+z.right)/2),w.push(Na(e,z,d,d))),w.forEach((function(e){var t=e.vertical.posInfos,n=e.horizontal.posInfos;g.push.apply(g,Qo([],Yo(t.filter((function(e){return e.guidelineInfos.some((function(e){return!e.guideline.hide}))})).map((function(e){return{type:"snap",pos:e.pos}}))),!1)),v.push.apply(v,Qo([],Yo(n.filter((function(e){return e.guidelineInfos.some((function(e){return!e.guideline.hide}))})).map((function(e){return{type:"snap",pos:e.pos}}))),!1)),y.push.apply(y,Qo([],Yo(js(t)),!1)),b.push.apply(b,Qo([],Yo(js(n)),!1))}))}var O=Bs(e,[S,P],[E,_],g,v),I=O.boundMap,F=O.innerBoundMap;A&&Bs(e,[z.left,z.right],[z.top,z.bottom],g,v,u.externalBounds);var M=Qo(Qo([],Yo(y),!1),Yo(b),!1),R=M.filter((function(e){return e.element&&!e.gapRects})),j=M.filter((function(e){return e.gapRects})).sort((function(e,t){return e.gap-t.gap}));Pl(e,"onSnap",{guidelines:M.filter((function(e){return!e.element})),elements:R,gaps:j},!0);var B=Wl(e,"boundMap",I,(function(e){return JSON.stringify(e)}),{left:!1,top:!1,right:!1,bottom:!1}),N=Wl(e,"innerBoundMap",F,(function(e){return JSON.stringify(e)}),{left:!1,top:!1,right:!1,bottom:!1});return I!==B&&F!==N||Pl(e,"onBound",{bounds:I,innerBounds:F},!0),Qo(Qo(Qo(Qo(Qo(Qo([],Yo(Cs(e,R,[p,h],k,t)),!1),Yo(function(e,t,n,r,o){var i=[];return["horizontal","vertical"].forEach((function(a){var s=t.filter((function(e){return e.type===a})).slice(0,1),l="vertical"===a?0:1,u=l?0:1,c=l?ka:Pa,d=l?Pa:ka,p=r[c.start],h=r[c.end],f=r[d.start],m=r[d.end];s.forEach((function(t){var r=t.gap,a=t.gapRects,s=Math.max.apply(Math,Qo([f],Yo(a.map((function(e){return e.rect[d.start]}))),!1)),g=Math.min.apply(Math,Qo([m],Yo(a.map((function(e){return e.rect[d.end]}))),!1)),v=(s+g)/2;s!==g&&v!==(f+m)/2&&a.forEach((function(t){var a=t.rect,s=t.className,d=[n[0],n[1]];if(a[c.end]9),"".concat(t?"matrix3d":"matrix","(").concat(Nr(e,!t).join(","),")")}function el(e){var t=e.clientWidth,n=e.clientHeight;if(!e)return{x:0,y:0,width:0,height:0,clientWidth:t,clientHeight:n};var r=e.viewBox,o=r&&r.baseVal||{x:0,y:0,width:0,height:0};return{x:o.x,y:o.y,width:o.width||t,height:o.height||n,clientWidth:t,clientHeight:n}}function tl(e,t){var n,r=el(e),o=r.width,i=r.height,a=r.clientWidth,s=r.clientHeight,l=a/o,u=s/i,c=e.preserveAspectRatio.baseVal,d=c.align,p=c.meetOrSlice,h=[0,0],f=[l,u],m=[0,0];if(1!==d){var g=(d-2)%3,v=Math.floor((d-2)/3);h[0]=o*g/2,h[1]=i*v/2;var y=2===p?Math.max(u,l):Math.min(l,u);f[0]=y,f[1]=y,m[0]=(a-o)/2*g,m[1]=(s-i)/2*v}var b=Xr(f,t);return n=Yo(m,2),b[t*(t-1)]=n[0],b[t*(t-1)+1]=n[1],Hs(b,t,h)}function nl(e,t,n){return Lr(e,Or(t,n),n)}function rl(e,t,n,r){return[[0,0],[t,0],[0,n],[t,n]].map((function(t){return nl(e,t,r)}))}function ol(e){var t=e.map((function(e){return e[0]})),n=e.map((function(e){return e[1]})),r=Math.min.apply(Math,Qo([],Yo(t),!1)),o=Math.min.apply(Math,Qo([],Yo(n),!1)),i=Math.max.apply(Math,Qo([],Yo(t),!1)),a=Math.max.apply(Math,Qo([],Yo(n),!1));return{left:r,top:o,right:i,bottom:a,width:i-r,height:a-o}}function il(e,t,n,r){return ol(rl(e,t,n,r))}function al(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function sl(e,t){return al([t[0]-e[0],t[1]-e[1]])}function ll(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=cr(e,t));var o=sl(e,t);return{transform:"translateY(-50%) translate(".concat(e[0],"px, ").concat(e[1],"px) rotate(").concat(r,"rad) scaleY(").concat(n,")"),width:"".concat(o,"px")}}function ul(e,t){for(var n=[],r=2;r0?e[0]:e[1],t>0?e[1]:e[0])}function hl(e,t){var n=e===Dr(e)||e===xr(e),r={clientLeft:e.clientLeft,clientTop:e.clientTop,clientWidth:e.clientWidth,clientHeight:e.clientHeight,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,overflow:!1};return n&&(r.clientHeight=Math.max(t.height,r.clientHeight),r.scrollHeight=Math.max(t.height,r.scrollHeight)),r.overflow="visible"!==sa(e)("overflow"),Xo(Xo({},t),r)}function fl(e,t,n,r){var o=e.left,i=e.right,a=e.top,s=e.bottom,l=t.top,u=t.left,c={left:u+o,top:l+a,right:u+i,bottom:l+s,width:i-o,height:s-a};return n&&r?hl(n,c):c}function ml(e,t){var n=0,r=0,o=0,i=0;if(e){var a=e.getBoundingClientRect();n=a.left,r=a.top,o=a.width,i=a.height}var s={left:n,top:r,width:o,height:i,right:n+o,bottom:r+i};return e&&t?hl(e,s):s}function gl(e,t,n,r){var o;if(e)o=e;else if(t)o=[0,0];else{o=vl(n.target,r)}return o}function vl(e,t){if(e){var n=e.getAttribute("data-rotation")||"",r=e.getAttribute("data-direction");if(t.deg=n,r){var o=[0,0];return r.indexOf("w")>-1&&(o[0]=-1),r.indexOf("e")>-1&&(o[0]=1),r.indexOf("n")>-1&&(o[1]=-1),r.indexOf("s")>-1&&(o[1]=1),o}}}function yl(e,t){return[Rr(t,e[0]),Rr(t,e[1]),Rr(t,e[2]),Rr(t,e[3])]}function bl(e){var t=e.left,n=e.top;return yl([e.pos1,e.pos2,e.pos3,e.pos4],[t,n])}function wl(e,t){e[t?"controlAbles":"targetAbles"].forEach((function(t){t.unset&&t.unset(e)}))}function xl(e,t){var n=t?"controlGesto":"targetGesto",r=e[n];!1===(null==r?void 0:r.isIdle())&&wl(e,t),null==r||r.unset(),e[n]=null}function Dl(e,t){if(t){var n=Ui(t);n.nextStyle=Xo(Xo({},n.nextStyle),e)}return{style:e,cssText:or(e).map((function(t){return"".concat((n=t,r="-",void 0===r&&(r="-"),n.replace(/([a-z])([A-Z])/g,(function(e,t,n){return""+t+r+n.toLowerCase()}))),": ").concat(e[t],";");var n,r})).join("")}}function Cl(e,t,n){var r=t.afterTransform||t.transform;return Xo(Xo({},Dl(Xo(Xo(Xo({},e.style),t.style),{transform:r}),n)),{afterTransform:r,transform:e.transform})}function El(e,t,n,r){var o=t.datas;o.datas||(o.datas={});var i=Xo(Xo({},n),{target:e.state.target,clientX:t.clientX,clientY:t.clientY,inputEvent:t.inputEvent,currentTarget:e,moveable:e,datas:o.datas,isRequest:t.isRequest,isRequestChild:t.isRequestChild,isFirstDrag:!!t.isFirstDrag,isTrusted:!1!==t.isTrusted,stopAble:function(){o.isEventStart=!1},stopDrag:function(){var e;null===(e=t.stop)||void 0===e||e.call(t)}});return o.isStartEvent?r||(o.lastEvent=i):o.isStartEvent=!0,i}function Sl(e,t,n){var r=t.datas,o="isDrag"in n?n.isDrag:t.isDrag;return r.datas||(r.datas={}),Xo(Xo({isDrag:o},n),{moveable:e,target:e.state.target,clientX:t.clientX,clientY:t.clientY,inputEvent:t.inputEvent,currentTarget:e,lastEvent:r.lastEvent,isDouble:t.isDouble,datas:r.datas,isFirstDrag:!!t.isFirstDrag})}function _l(e,t,n){e._emitter.on(t,n)}function Pl(e,t,n,r,o){return e.triggerEvent(t,n,r,o)}function kl(e,t){return Cr(e).getComputedStyle(e,t)}function Al(e,t,n){var r={},o={};return e.filter((function(e){var i=e.name;if(r[i]||!t.some((function(t){return e[t]})))return!1;if(!n&&e.ableGroup){if(o[e.ableGroup])return!1;o[e.ableGroup]=!0}return r[i]=!0,!0}))}function zl(e,t){return e===t||null==e&&null==t}function Tl(){for(var e=[],t=0;tMath.PI/2*3?g-v:g-(v+=Math.PI))>2*Math.PI?y-=2*Math.PI:y>Math.PI?y=2*Math.PI-y:y<-Math.PI&&(y=-2*Math.PI-y);var b=al([f+t[0],m+t[1]])*Math.cos(y);l=b*Math.sin(v)-f,u=b*Math.cos(v)-m,r[0]<0&&(l*=-1),r[1]<0&&(u*=-1)}else u=(l=h)/n;else l=(u=h)*n}else l=r[0]*t[0],u=r[1]*t[1];return[l,u]}function Zl(e,t,n,r){var o,i=n.ratio,a=n.startOffsetWidth,s=n.startOffsetHeight,l=0,u=0,c=r.distX,d=r.distY,p=r.pinchScale,h=r.parentDistance,f=r.parentDist,m=r.parentScale,g=n.fixedDirection,v=[0,1].map((function(t){return Yl(e[t]-g[t])})),y=[0,1].map((function(e){var t=v[e];return 0!==t&&(t=2/t),t}));if(f)l=f[0],u=f[1],t&&(l?u||(u=l/i):l=u*i);else if(Hn(p))l=(p-1)*a,u=(p-1)*s;else if(m)l=(m[0]-1)*a,u=(m[1]-1)*s;else if(h){var b=a*v[0],w=s*v[1],x=al([b,w]);l=h/x*b*y[0],u=h/x*w*y[1]}else{var D=ji({datas:n,distX:c,distY:d});D=y.map((function(e,t){return D[t]*e})),l=(o=Yo(Hl([a,s],D,i,e,t),2))[0],u=o[1]}return{distWidth:l,distHeight:u}}function Ul(e,t){if(t){if("left"===e)return{x:"0%",y:"50%"};if("top"===e)return{x:"50%",y:"50%"};if("center"===e)return{x:"50%",y:"50%"};if("right"===e)return{x:"100%",y:"50%"};if("bottom"===e)return{x:"50%",y:"100%"};var n=Yo(e.split(" "),2),r=n[0],o=n[1],i=Ul(r||""),a=Ul(o||""),s=Xo(Xo({},i),a),l={x:"50%",y:"50%"};return s.x&&(l.x=s.x),s.y&&(l.y=s.y),s.value&&(s.x&&!s.y&&(l.y=s.value),!s.x&&s.y&&(l.x=s.value)),l}return"left"===e?{x:"0%"}:"right"===e?{x:"100%"}:"top"===e?{y:"0%"}:"bottom"===e?{y:"100%"}:e?"center"===e?{value:"50%"}:{value:e}:{}}function $l(e,t,n){var r=Ul(e,!0),o=r.x,i=r.y;return[ir(o,t)||0,ir(i,n)||0]}function Gl(e,t){return e.length===t.length&&e.every((function(e,n){var r=t[n],o=Vn(e),i=Vn(r);return o&&i?Gl(e,r):!o&&!i&&e===r}))}function Wl(e,t,n,r,o){var i=e._store,a=i[t];if(!(t in i)){if(null==o)return i[t]=n,n;i[t]=o,a=o}return a===n||r(a)===r(n)?a:(i[t]=n,n)}function Xl(e){return e>=0?1:-1}function Yl(e){return Math.abs(e)}function Ql(e,t){return function(e){for(var t=[],n=0;n-1}))).filter((function(e){return e.canPinch&&e[c]})),p=El(e,t,{});r&&(p.targets=r);var h=Pl(e,u,p);n.isPinch=!1!==h,n.ables=d;var f=n.isPinch;return!!f&&(d.forEach((function(n){if(i[n.name]=i[n.name]||{},n[c]){var r=Xo(Xo({},t),{datas:i[n.name],parentRotate:o,isPinch:!0});n[c](e,r)}})),e.state.snapRenderInfo={request:t.isRequest,direction:[0,0]},f)},pinch:function(e,t){var n=t.datas,r=t.scale,o=t.distance,i=t.originalDatas,a=t.inputEvent,s=t.targets,l=t.angle;if(n.isPinch){var u=o*(1-1/r),c=El(e,t,{});s&&(c.targets=s);var d="onPinch".concat(s?"Group":"");Pl(e,d,c);var p=n.ables,h="drag".concat(s?"Group":"","Control");return p.forEach((function(n){n[h]&&n[h](e,Xo(Xo({},t),{datas:i[n.name],inputEvent:a,resolveMatrix:!0,pinchScale:r,parentDistance:u,parentRotate:l,isPinch:!0}))})),c}},pinchEnd:function(e,t){var n=t.datas,r=t.isPinch,o=t.inputEvent,i=t.targets,a=t.originalDatas;if(n.isPinch){var s="onPinch".concat(i?"Group":"","End"),l=Sl(e,t,{isDrag:r});i&&(l.targets=i),Pl(e,s,l);var u=n.ables,c="drag".concat(i?"Group":"","ControlEnd");return u.forEach((function(n){n[c]&&n[c](e,Xo(Xo({},t),{isDrag:r,datas:a[n.name],inputEvent:o,isPinch:!0}))})),r}},pinchGroupStart:function(e,t){return this.pinchStart(e,Xo(Xo({},t),{targets:e.props.targets}))},pinchGroup:function(e,t){return this.pinch(e,Xo(Xo({},t),{targets:e.props.targets}))},pinchGroupEnd:function(e,t){return this.pinchEnd(e,Xo(Xo({},t),{targets:e.props.targets}))}});var eu=Ll("scalable");ga("scalable"),Nl("scalable");function tu(e,t){return e.map((function(e,n){return Nn(e,t[n],1,2)}))}function nu(e,t,n){var r=cr(e,t),o=cr(e,n)-r;return o>=0?o:o+2*Math.PI}Nl("warpable");var ru=Ks("area-pieces"),ou=Ks("area-piece"),iu=Ks("avoid"),au=Ks("view-dragging");function su(e){var t=e.areaElement;if(t){var n=e.state,r=n.width,o=n.height;vr(t,iu),t.style.cssText+="left: 0px; top: 0px; width: ".concat(r,"px; height: ").concat(o,"px")}}function lu(e){return e.createElement("div",{key:"area_pieces",className:ru},e.createElement("div",{className:ou}),e.createElement("div",{className:ou}),e.createElement("div",{className:ou}),e.createElement("div",{className:ou}))}var uu={name:"dragArea",props:["dragArea","passDragArea"],events:["click","clickGroup"],render:function(e,t){var n=e.props,r=n.target,o=n.dragArea,i=n.groupable,a=n.passDragArea,s=e.getState(),l=s.width,u=s.height,c=s.renderPoses,d=a?Ks("area","pass"):Ks("area");if(i)return[t.createElement("div",{key:"area",ref:Tn(e,"areaElement"),className:d}),lu(t)];if(!r||!o)return[];var p=Qr([0,0],[l,0],[0,u],[l,u],c[0],c[1],c[2],c[3]),h=p.length?Js(p,!0):"none";return[t.createElement("div",{key:"area",ref:Tn(e,"areaElement"),className:d,style:{top:"0px",left:"0px",width:"".concat(l,"px"),height:"".concat(u,"px"),transformOrigin:"0 0",transform:h}}),lu(t)]},dragStart:function(e,t){var n=t.datas,r=t.clientX,o=t.clientY;if(!t.inputEvent)return!1;n.isDragArea=!1;var i=e.areaElement,a=e.state,s=a.moveableClientRect,l=a.renderPoses,u=a.rootMatrix,c=a.is3d,d=s.left,p=s.top,h=ol(l),f=h.left,m=h.top,g=h.width,v=h.height,y=Yo(Ml(u,[r-d,o-p],c?4:3),2),b=y[0],w=y[1],x=[{left:f,top:m,width:g,height:(w-=m)-10},{left:f,top:m,width:(b-=f)-10,height:v},{left:f,top:m+w+10,width:g,height:v-w-10},{left:f+b+10,top:m,width:g-b-10,height:v}],D=[].slice.call(i.nextElementSibling.children);x.forEach((function(e,t){D[t].style.cssText="left: ".concat(e.left,"px;top: ").concat(e.top,"px; width: ").concat(e.width,"px; height: ").concat(e.height,"px;")})),gr(i,iu),a.disableNativeEvent=!0},drag:function(e,t){var n=t.datas,r=t.inputEvent;if(this.enableNativeEvent(e),!r)return!1;n.isDragArea||(n.isDragArea=!0,su(e))},dragEnd:function(e,t){this.enableNativeEvent(e);var n=t.inputEvent,r=t.datas;if(!n)return!1;r.isDragArea||su(e)},dragGroupStart:function(e,t){return this.dragStart(e,t)},dragGroup:function(e,t){return this.drag(e,t)},dragGroupEnd:function(e,t){return this.dragEnd(e,t)},unset:function(e){su(e),e.state.disableNativeEvent=!1},enableNativeEvent:function(e){var t=e.state;t.disableNativeEvent&&nr((function(){t.disableNativeEvent=!1}))}};Jo("origin",{props:["origin","svgOrigin"],render:function(e,t){var n,r=e.props,o=r.zoom,i=r.svgOrigin,a=r.groupable,s=e.getState(),l=s.beforeOrigin,u=s.rotation,c=s.svg,d=s.allMatrix,p=s.is3d,h=s.left,f=s.top,m=s.offsetWidth,g=s.offsetHeight;if(!a&&c&&i){var v=Yo($l(i,m,g),2);n=ul(u,o,jr(nl(d,[v[0],v[1]],p?4:3),[h,f]))}else n=ul(u,o,l);return[t.createElement("div",{className:Ks("control","origin"),style:n,key:"beforeOrigin"})]}});var cu={name:"",props:["target","dragTargetSelf","dragTarget","dragContainer","container","warpSelf","rootContainer","useResizeObserver","useMutationObserver","zoom","dragFocusedInput","transformOrigin","ables","className","pinchThreshold","pinchOutside","triggerAblesSimultaneously","checkInput","cspNonce","translateZ","hideDefaultLines","props","flushSync","stopPropagation","preventClickEventOnDrag","preventClickDefault","viewContainer","persistData","useAccuratePosition","firstRenderState","linePadding","controlPadding","preventDefault","preventRightClick","preventWheelClick","requestStyles"],events:["changeTargets"]};Jo("padding",{props:["padding"],render:function(e,t){var n=e.props;if(n.dragArea)return[];var r=Jl(n.padding||{}),o=r.left,i=r.top,a=r.right,s=r.bottom,l=e.getState(),u=l.renderPoses,c=[l.pos1,l.pos2,l.pos3,l.pos4],d=[];return o>0&&d.push([0,2]),i>0&&d.push([0,1]),a>0&&d.push([1,3]),s>0&&d.push([2,3]),d.map((function(e,n){var r=Yo(e,2),o=r[0],i=r[1],a=Qr([0,0],[100,0],[0,100],[100,100],c[o],c[i],u[o],u[i]);if(a.length)return t.createElement("div",{key:"padding".concat(n),className:Ks("padding"),style:{transform:Js(a,!0)}})}))}});var du={isPinch:!0,name:"beforeRenderable",props:[],events:["beforeRenderStart","beforeRender","beforeRenderEnd","beforeRenderGroupStart","beforeRenderGroup","beforeRenderGroupEnd"],dragRelation:"weak",setTransform:function(e,t){var n=e.state,r=n.is3d,o=n.targetMatrix,i=n.inlineTransform,a=r?"matrix3d(".concat(o.join(","),")"):"matrix(".concat(Nr(o,!0),")"),s=i&&"none"!==i?i:a;t.datas.startTransforms=function(e,t){var n=Wr(t?4:3);return e==="matrix".concat(t?"3d":"","(").concat(n.join(","),")")||"matrix(1,0,0,1,0,0)"===e}(s,r)?[]:Wn(s)},resetStyle:function(e){var t=e.datas;t.nextStyle={},t.nextTransforms=e.datas.startTransforms,t.nextTransformAppendedIndexes=[]},fillDragStartParams:function(e,t){return El(e,t,{setTransform:function(e){t.datas.startTransforms=Vn(e)?e:Wn(e)},isPinch:!!t.isPinch})},fillDragParams:function(e,t){return El(e,t,{isPinch:!!t.isPinch})},dragStart:function(e,t){this.setTransform(e,t),this.resetStyle(t),Pl(e,"onBeforeRenderStart",this.fillDragStartParams(e,t))},drag:function(e,t){t.datas.startTransforms||this.setTransform(e,t),this.resetStyle(t),Pl(e,"onBeforeRender",El(e,t,{isPinch:!!t.isPinch}))},dragEnd:function(e,t){t.datas.startTransforms||(this.setTransform(e,t),this.resetStyle(t)),Pl(e,"onBeforeRenderEnd",El(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag}))},dragGroupStart:function(e,t){var n=this;this.dragStart(e,t);var r=la(e,"beforeRenderable",t),o=e.moveables,i=r.map((function(e,t){var r=o[t];return n.setTransform(r,e),n.resetStyle(e),n.fillDragStartParams(r,e)}));Pl(e,"onBeforeRenderGroupStart",El(e,t,{isPinch:!!t.isPinch,targets:e.props.targets,setTransform:function(){},events:i}))},dragGroup:function(e,t){var n=this;this.drag(e,t);var r=la(e,"beforeRenderable",t),o=e.moveables,i=r.map((function(e,t){var r=o[t];return n.resetStyle(e),n.fillDragParams(r,e)}));Pl(e,"onBeforeRenderGroup",El(e,t,{isPinch:!!t.isPinch,targets:e.props.targets,events:i}))},dragGroupEnd:function(e,t){this.dragEnd(e,t),Pl(e,"onBeforeRenderGroupEnd",El(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag,targets:e.props.targets}))},dragControlStart:function(e,t){return this.dragStart(e,t)},dragControl:function(e,t){return this.drag(e,t)},dragControlEnd:function(e,t){return this.dragEnd(e,t)},dragGroupControlStart:function(e,t){return this.dragGroupStart(e,t)},dragGroupControl:function(e,t){return this.dragGroup(e,t)},dragGroupControlEnd:function(e,t){return this.dragGroupEnd(e,t)}},pu={name:"renderable",props:[],events:["renderStart","render","renderEnd","renderGroupStart","renderGroup","renderGroupEnd"],dragRelation:"weak",dragStart:function(e,t){Pl(e,"onRenderStart",El(e,t,{isPinch:!!t.isPinch}))},drag:function(e,t){Pl(e,"onRender",this.fillDragParams(e,t))},dragAfter:function(e,t){return this.drag(e,t)},dragEnd:function(e,t){Pl(e,"onRenderEnd",this.fillDragEndParams(e,t))},dragGroupStart:function(e,t){Pl(e,"onRenderGroupStart",El(e,t,{isPinch:!!t.isPinch,targets:e.props.targets}))},dragGroup:function(e,t){var n=this,r=la(e,"beforeRenderable",t),o=e.moveables,i=r.map((function(e,t){var r=o[t];return n.fillDragParams(r,e)}));Pl(e,"onRenderGroup",El(e,t,Xo(Xo({isPinch:!!t.isPinch,targets:e.props.targets,transform:Gi(t),transformObject:{}},Dl(Wi(t))),{events:i})))},dragGroupEnd:function(e,t){var n=this,r=la(e,"beforeRenderable",t),o=e.moveables,i=r.map((function(e,t){var r=o[t];return n.fillDragEndParams(r,e)}));Pl(e,"onRenderGroupEnd",El(e,t,Xo({isPinch:!!t.isPinch,isDrag:t.isDrag,targets:e.props.targets,events:i,transformObject:{},transform:Gi(t)},Dl(Wi(t)))))},dragControlStart:function(e,t){return this.dragStart(e,t)},dragControl:function(e,t){return this.drag(e,t)},dragControlAfter:function(e,t){return this.dragAfter(e,t)},dragControlEnd:function(e,t){return this.dragEnd(e,t)},dragGroupControlStart:function(e,t){return this.dragGroupStart(e,t)},dragGroupControl:function(e,t){return this.dragGroup(e,t)},dragGroupControlEnd:function(e,t){return this.dragGroupEnd(e,t)},fillDragParams:function(e,t){var n={};return no($i(t)||[]).forEach((function(e){n[e.name]=e.functionValue})),El(e,t,Xo({isPinch:!!t.isPinch,transformObject:n,transform:Gi(t)},Dl(Wi(t))))},fillDragEndParams:function(e,t){var n={};return no($i(t)||[]).forEach((function(e){n[e.name]=e.functionValue})),El(e,t,Xo({isPinch:!!t.isPinch,isDrag:t.isDrag,transformObject:n,transform:Gi(t)},Dl(Wi(t))))}};function hu(e,t,n,r,o,i,a){i.clientDistX=i.distX,i.clientDistY=i.distY;var s="Start"===o,l="End"===o,u="After"===o,c=e.state.target,d=i.isRequest,p=r.indexOf("Control")>-1;if(!c||s&&p&&!d&&e.areaElement===i.inputEvent.target)return!1;var h=Qo([],Yo(t),!1);if(d){var f=i.requestAble;h.some((function(e){return e.name===f}))||h.push.apply(h,Qo([],Yo(e.props.ables.filter((function(e){return e.name===f}))),!1))}if(!h.length||h.every((function(e){return e.dragRelation})))return!1;var m,g=i.inputEvent;l&&g&&(m=document.elementFromPoint(i.clientX,i.clientY)||g.target);var v=!1,y=function(){var e;v=!0,null===(e=i.stop)||void 0===e||e.call(i)},b=s&&(!e.targetGesto||!e.controlGesto||!e.targetGesto.isFlag()||!e.controlGesto.isFlag());b&&e.updateRect(o,!0,!1);var w=i.datas,x=p?"controlGesto":"targetGesto",D=e[x],C=function(t,n,r){if(!(n in t)||D!==e[x])return!1;var o=t.name,a=w[o]||(w[o]={});if(s&&(a.isEventStart=!r||!t[r]||t[r](e,i)),!a.isEventStart)return!1;var l=t[n](e,Xo(Xo({},i),{stop:y,datas:a,originalDatas:w,inputTarget:m}));return e._emitter.off(),s&&!1===l&&(a.isEventStart=!1),l};b&&h.forEach((function(t){t.unset&&t.unset(e)})),C(du,"drag".concat(r).concat(o));var E=0,S=0;n.forEach((function(t){if(v)return!1;var n="".concat(t).concat(r).concat(o),a="".concat(t).concat(r,"Condition");""!==o||d||Rl(e.state,i);var l=h.filter((function(e){return e[n]})),u=(l=l.filter((function(e,t){return e.name&&l.indexOf(e)===t}))).filter((function(e){return C(e,n,a)})).length;v&&++E,u&&++S,!v&&s&&l.length&&!u&&(E+=l.filter((function(e){var t=e.name;return!!w[t].isEventStart&&"strong"!==e.dragRelation})).length?1:0)})),u&&!S||C(pu,"drag".concat(r).concat(o));var _=D!==e[x]||E===n.length;if((l||v||_)&&(e.state.gestos={},e.moveables&&e.moveables.forEach((function(e){e.state.gestos={}})),h.forEach((function(t){t.unset&&t.unset(e)}))),s&&!_&&!d&&S&&e.props.preventDefault&&(null==i||i.preventDefault()),e.isUnmounted||_)return!1;(!s&&S&&!a||l)&&(e.props.flushSync||Vs)((function(){e.updateRect(l?o:"",!0,!1),e.forceUpdate()}));return s||l||u||!S||a||hu(e,t,n,r,o+"After",i),!0}function fu(e,t){return function(n,r){var o;void 0===r&&(r=n.inputEvent.target);var i=r,a=e.areaElement,s=e._dragTarget;return!(!s||!t&&(null===(o=e.controlGesto)||void 0===o?void 0:o.isFlag()))&&(i===s||s.contains(i)||i===a||!e.isMoveableElement(i)&&!e.controlBox.contains(i)||mr(i,"moveable-area")||mr(i,"moveable-padding")||mr(i,"moveable-edgeDraggable"))}}function mu(e,t,n){var r=e.controlBox,o=[],i=e.props,a=i.dragArea,s=e.state.target,l=i.dragTarget;o.push(r),a&&!l||o.push(t),!a&&l&&s&&t!==s&&i.dragTargetSelf&&o.push(s);var u=fu(e);return vu(e,o,"targetAbles",n,{dragStart:u,pinchStart:u})}function gu(e,t){var n=e.controlBox,r=[];r.push(n);var o=fu(e,!0),i=function(e,t){return void 0===t&&(t=e.inputEvent.target),t===n||!o(e,t)};return vu(e,r,"controlAbles",t,{dragStart:i,pinchStart:i})}function vu(e,t,n,r,o){void 0===o&&(o={});var i="targetAbles"===n,a=e.props,s=a.pinchOutside,l=a.pinchThreshold,u=a.preventClickEventOnDrag,c=a.preventClickDefault,d=a.checkInput,p=a.dragFocusedInput,h=a.preventDefault,f=void 0===h||h,m=a.preventRightClick,g=void 0===m||m,v=a.preventWheelClick,y={preventDefault:f,preventRightClick:g,preventWheelClick:void 0===v||v,container:Kl(a.dragContainer,!0)||Cr(e.getControlBoxElement()),pinchThreshold:l,pinchOutside:s,preventClickEventOnDrag:!!i&&u,preventClickEventOnDragStart:!!i&&c,preventClickEventByCondition:i?null:function(t){return e.controlBox.contains(t.target)},checkInput:!!i&&d,dragFocusedInput:p},b=new Ko(t,y),w="Control"===r;return["drag","pinch"].forEach((function(t){["Start","","End"].forEach((function(i){b.on("".concat(t).concat(i),(function(a){var s,l=a.eventType,u="drag"===t&&a.isPinch;if(!o[l]||o[l](a)){if(!u){var c="drag"===t?[t]:["drag",t],d=Qo([],Yo(e[n]),!1);hu(e,d,c,r,i,a)?(e.props.stopPropagation||"Start"===i&&w)&&(null===(s=null==a?void 0:a.inputEvent)||void 0===s||s.stopPropagation()):a.stop()}}else a.stop()}))}))})),b}var yu=function(){function e(e,t,n){var r=this;this.target=e,this.moveable=t,this.eventName=n,this.ables=[],this._onEvent=function(e){var t=r.eventName,n=r.moveable;n.state.disableNativeEvent||r.ables.forEach((function(r){r[t](n,{inputEvent:e})}))},e.addEventListener(n.toLowerCase(),this._onEvent)}return e.prototype.setAbles=function(e){this.ables=e},e.prototype.destroy=function(){this.target.removeEventListener(this.eventName.toLowerCase(),this._onEvent),this.target=null,this.moveable=null},e}();function bu(e,t,n,r){var o;void 0===n&&(n=t);var i=na(e,t),a=i.matrixes,s=i.is3d,l=i.targetMatrix,u=i.transformOrigin,c=i.targetOrigin,d=i.offsetContainer,p=i.hasFixed,h=i.zoom,f=function(e,t){if(ia){var n=tr(ia,(function(n){return n[0][0]==e&&n[0][1]==t}));if(n)return n[1]}var r=na(e,t,!0);return ia&&ia.push([[e,t],r]),r}(d,n),m=f.matrixes,g=f.is3d,v=f.offsetContainer,y=f.zoom,b=r||g||s,w=b?4:3,x="svg"!==e.tagName.toLowerCase()&&"ownerSVGElement"in e,D=l,C=Wr(w),E=Wr(w),S=Wr(w),_=Wr(w),P=a.length,k=m.map((function(e){return Xo(Xo({},e),{matrix:e.matrix?Qo([],Yo(e.matrix),!1):void 0})})).reverse();a.reverse(),!s&&b&&(D=Ir(D,3,4),Ys(a)),!g&&b&&Ys(k),k.forEach((function(e){E=Mr(E,e.matrix,w)}));var A=n||Dr(e),z=(null===(o=k[0])||void 0===o?void 0:o.target)||Gs(A,A,!0).offsetParent,T=k.slice(1).reduce((function(e,t){return Mr(e,t.matrix,w)}),Wr(w));a.forEach((function(e,t){if(P-2===t&&(S=C.slice()),P-1===t&&(_=C.slice()),!e.matrix){var n=function(e,t,n,r,o){var i,a=e.target,s=e.origin,l=t.matrix,u=dl(a),c=u.offsetWidth,d=u.offsetHeight,p=n.getBoundingClientRect(),h=[0,0];n===Dr(n)&&(h=Xs(a,!0));for(var f=a.getBoundingClientRect(),m=f.left-p.left+n.scrollLeft-(n.clientLeft||0)+h[0],g=f.top-p.top+n.scrollTop-(n.clientTop||0)+h[1],v=f.width,y=f.height,b=Fr(r,o,l),w=il(b,c,d,r),x=w.left,D=w.top,C=w.width,E=w.height,S=nl(b,s,r),_=jr(S,[x,D]),P=[m+_[0]*v/C,g+_[1]*y/E],k=[0,0],A=0;++A<10;){var z=zr(o,r);i=Yo(jr(nl(z,P,r),nl(z,S,r)),2),k[0]=i[0],k[1]=i[1];var T=il(Fr(r,o,Yr(k,r),l),c,d,r),O=T.left-m,I=T.top-g;if(Yl(O)<2&&Yl(I)<2)break;P[0]-=O,P[1]-=I}return k.map((function(e){return Math.round(e)}))}(e,a[t+1],z,w,Mr(T,C,w));e.matrix=Yr(n,w)}C=Mr(C,e.matrix,w)}));var O=!x&&s;D||(D=Wr(O?4:3));var I=Js(x&&16===D.length?Ir(D,4,3):D,O),F=E;return E=Ar(E,w,w),{hasZoom:1!==h||1!==y,hasFixed:p,matrixes:a,rootMatrix:E,originalRootMatrix:F,beforeMatrix:S,offsetMatrix:_,allMatrix:C,targetMatrix:D,targetTransform:I,inlineTransform:e.style.transform,transformOrigin:u,targetOrigin:c,is3d:b,offsetContainer:d,offsetRootContainer:v}}function wu(e,t,n,r){void 0===n&&(n=t);var o=0,i=0,a=0,s={},l=dl(e);if(e&&(o=l.offsetWidth,i=l.offsetHeight),e){var u=bu(e,t,n,r),c=zi(u.allMatrix,u.transformOrigin,o,i);s=Xo(Xo({},u),c);var d=zi(u.allMatrix,[50,50],100,100);a=pl([d.pos1,d.pos2],d.direction)}var p=r?4:3;return Xo(Xo(Xo({hasZoom:!1,width:o,height:i,rotation:a},l),{originalRootMatrix:Wr(p),rootMatrix:Wr(p),beforeMatrix:Wr(p),offsetMatrix:Wr(p),allMatrix:Wr(p),targetMatrix:Wr(p),targetTransform:"",inlineTransform:"",transformOrigin:[0,0],targetOrigin:[0,0],is3d:!!r,left:0,top:0,right:0,bottom:0,origin:[0,0],pos1:[0,0],pos2:[0,0],pos3:[0,0],pos4:[0,0],direction:1,hasFixed:!1,offsetContainer:null,offsetRootContainer:null,matrixes:[]}),s)}function xu(e,t,n,r,o,i){void 0===i&&(i=[]);var a=1,s=[0,0],l={left:0,top:0,width:0,height:0,right:0,bottom:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},u={left:0,top:0,width:0,height:0,right:0,bottom:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},c={left:0,top:0,width:0,height:0,right:0,bottom:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},d={left:0,top:0,width:0,height:0,right:0,bottom:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},p=[0,0],h={},f=wu(t,n,o,!0);if(t){var m=sa(t);i.forEach((function(e){h[e]=m(e)}));var g=f.is3d?4:3,v=zi(f.offsetMatrix,Rr(f.transformOrigin,Tr(f.targetMatrix,g)),f.width,f.height);a=v.direction,s=Rr(v.origin,[v.left-f.left,v.top-f.top]),d=ml(f.offsetRootContainer);var y=Gs(r,r,!0).offsetParent||f.offsetRootContainer;if(f.hasZoom){var b=zi(Mr(f.originalRootMatrix,f.allMatrix),f.transformOrigin,f.width,f.height),w=zi(f.originalRootMatrix,Us(sa(y)("transformOrigin")).map((function(e){return parseFloat(e)})),y.offsetWidth,y.offsetHeight);if(l=fl(b,d),c=fl(w,d,y,!0),e){var x=b.left,D=b.top;u=fl({left:x,top:D,bottom:D,right:D},d)}}else{l=ml(t),c=function(e){var t=null==oa?void 0:oa.get(e);if(t)return t;var n=ml(e,!0);return oa&&oa.set(e,n),n}(y),e&&(u=ml(e));var C=c.left,E=c.top,S=c.clientLeft,_=c.clientTop,P=[l.left-C,l.top-E];p=jr(Ml(f.rootMatrix,P,4),[S+f.left,_+f.top])}}return Xo({targetClientRect:l,containerClientRect:c,moveableClientRect:u,rootContainerClientRect:d,beforeDirection:a,beforeOrigin:s,originalBeforeOrigin:s,target:t,style:h,offsetDelta:p},f)}function Du(e){var t=e.pos1,n=e.pos2,r=e.pos3,o=e.pos4;if(!(t&&n&&r&&o))return null;var i=Co([t,n,r,o]),a=[i.minX,i.minY],s=jr(e.origin,a);return t=jr(t,a),n=jr(n,a),r=jr(r,a),o=jr(o,a),Xo(Xo({},e),{left:e.left,top:e.top,posDelta:a,pos1:t,pos2:n,pos3:r,pos4:o,origin:s,beforeOrigin:s,isPersisted:!0})}var Cu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=Xo({container:null,gestos:{},renderLines:[[[0,0],[0,0]],[[0,0],[0,0]],[[0,0],[0,0]],[[0,0],[0,0]]],renderPoses:[[0,0],[0,0],[0,0],[0,0]],disableNativeEvent:!1,posDelta:[0,0]},xu(null)),t.renderState={},t.enabledAbles=[],t.targetAbles=[],t.controlAbles=[],t.rotation=0,t.scale=[1,1],t.isMoveableMounted=!1,t.isUnmounted=!1,t.events={mouseEnter:null,mouseLeave:null},t._emitter=new yo,t._prevOriginalDragTarget=null,t._originalDragTarget=null,t._prevDragTarget=null,t._dragTarget=null,t._prevPropTarget=null,t._propTarget=null,t._prevDragArea=!1,t._isPropTargetChanged=!1,t._hasFirstTarget=!1,t._reiszeObserver=null,t._observerId=0,t._mutationObserver=null,t._rootContainer=null,t._viewContainer=null,t._viewClassNames=[],t._store={},t.checkUpdateRect=function(){if(!t.isDragging()){var e=t.props.parentMoveable;e?e.checkUpdateRect():(rr(t._observerId),t._observerId=nr((function(){t.isDragging()||t.updateRect()})))}},t._onPreventClick=function(e){e.stopPropagation(),e.preventDefault()},t}return Wo(t,e),t.prototype.render=function(){var e=this.props,t=this.getState(),n=e.parentPosition,r=e.className,o=e.target,i=e.zoom,a=e.cspNonce,l=e.translateZ,u=e.cssStyled,c=e.groupable,d=e.linePadding,p=e.controlPadding;this._checkUpdateRootContainer(),this.checkUpdate(),this.updateRenderPoses();var h=Yo(n||[0,0],2),f=h[0],m=h[1],g=t.left,v=t.top,y=t.target,b=t.direction,w=t.hasFixed,x=t.offsetDelta,D=e.targets,C=this.isDragging(),E={};this.getEnabledAbles().forEach((function(e){E["data-able-".concat(e.name.toLowerCase())]=!0}));var S=this._getAbleClassName(),_=D&&D.length&&(y||c)||o||!this._hasFirstTarget&&this.state.isPersisted,P=this.controlBox||this.props.firstRenderState||this.props.persistData,k=[g-f,v-m];!c&&e.useAccuratePosition&&(k[0]+=x[0],k[1]+=x[1]);var A={position:w?"fixed":"absolute",display:_?"block":"none",visibility:P?"visible":"hidden",transform:"translate3d(".concat(k[0],"px, ").concat(k[1],"px, ").concat(l,")"),"--zoom":i,"--zoompx":"".concat(i,"px")};return d&&(A["--moveable-line-padding"]=d),p&&(A["--moveable-control-padding"]=p),s.createElement(u,Xo({cspNonce:a,ref:Tn(this,"controlBox"),className:"".concat(Ks("control-box",-1===b?"reverse":"",C?"dragging":"")," ").concat(S," ").concat(r)},E,{onClick:this._onPreventClick,style:A}),this.renderAbles(),this._renderLines())},t.prototype.componentDidMount=function(){this.isMoveableMounted=!0,this.isUnmounted=!1;var e=this.props,t=e.parentMoveable,n=e.container;this._checkUpdateRootContainer(),this._checkUpdateViewContainer(),this._updateTargets(),this._updateNativeEvents(),this._updateEvents(),this.updateCheckInput(),this._updateObserver(this.props),n||t||this.state.isPersisted||(this.updateRect("",!1,!1),this.forceUpdate())},t.prototype.componentDidUpdate=function(e){this._checkUpdateRootContainer(),this._checkUpdateViewContainer(),this._updateNativeEvents(),this._updateTargets(),this._updateEvents(),this.updateCheckInput(),this._updateObserver(e)},t.prototype.componentWillUnmount=function(){var e,t;this.isMoveableMounted=!1,this.isUnmounted=!0,this._emitter.off(),null===(e=this._reiszeObserver)||void 0===e||e.disconnect(),null===(t=this._mutationObserver)||void 0===t||t.disconnect(),this._viewContainer&&this._changeAbleViewClassNames([]),xl(this,!1),xl(this,!0);var n=this.events;for(var r in n){var o=n[r];o&&o.destroy()}},t.prototype.getTargets=function(){var e=this.props.target;return e?[e]:[]},t.prototype.getAble=function(e){return tr(this.props.ables||[],(function(t){return t.name===e}))},t.prototype.getContainer=function(){var e=this.props,t=e.parentMoveable,n=e.wrapperMoveable;return e.container||n&&n.getContainer()||t&&t.getContainer()||this.controlBox.parentElement},t.prototype.getControlBoxElement=function(){return this.controlBox},t.prototype.getDragElement=function(){return this._dragTarget},t.prototype.isMoveableElement=function(e){var t;return e&&((null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"class"))||"").indexOf(mi)>-1},t.prototype.dragStart=function(e,t){void 0===t&&(t=e.target);var n=this.targetGesto,r=this.controlGesto;return n&&fu(this)({inputEvent:e},t)?n.isFlag()||n.triggerDragStart(e):r&&this.isMoveableElement(t)&&(r.isFlag()||r.triggerDragStart(e)),this},t.prototype.hitTest=function(e){var t,n=this.state,r=n.target,o=n.pos1,i=n.pos2,a=n.pos3,s=n.pos4,l=n.targetClientRect;if(!r)return 0;if(Sr(e)){var u=e.getBoundingClientRect();t={left:u.left,top:u.top,width:u.width,height:u.height}}else t=Xo({width:0,height:0},e);var c=t.left,d=t.top,p=t.width,h=t.height,f=Do([o,i,s,a],l),m=zo(f,[[c,d],[c+p,d],[c+p,d+h],[c,d+h]]),g=xo(f);return m&&g?Math.min(100,m/g*100):0},t.prototype.isInside=function(e,t){var n=this.state,r=n.target,o=n.pos1,i=n.pos2,a=n.pos3,s=n.pos4,l=n.targetClientRect;return!!r&&Eo([e,t],Do([o,i,s,a],l))},t.prototype.updateRect=function(e,t,n){void 0===n&&(n=!0);var r=this.props,o=!r.parentPosition&&!r.wrapperMoveable;o&&aa(!0);var i=r.parentMoveable,a=this.state.target||r.target,s=this.getContainer(),l=i?i._rootContainer:this._rootContainer,u=xu(this.controlBox,a,s,s,l||s,this._getRequestStyles());if(!a&&this._hasFirstTarget&&r.persistData){var c=Du(r.persistData);for(var d in c)u[d]=c[d]}o&&aa(),this.updateState(u,!i&&n)},t.prototype.isDragging=function(e){var t,n,r=this.targetGesto,o=this.controlGesto;return(null==r?void 0:r.isFlag())?!e||!!(null===(t=r.getEventData()[e])||void 0===t?void 0:t.isEventStart):!!(null==o?void 0:o.isFlag())&&(!e||!!(null===(n=o.getEventData()[e])||void 0===n?void 0:n.isEventStart))},t.prototype.updateTarget=function(e){this.updateRect(e,!0)},t.prototype.getRect=function(){var e=this.state,t=bl(this.state),n=Yo(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s=ol(t),l=e.width,u=e.height,c=s.width,d=s.height,p=s.left,h=s.top,f=[e.left,e.top],m=Rr(f,e.origin);return{width:c,height:d,left:p,top:h,pos1:r,pos2:o,pos3:i,pos4:a,offsetWidth:l,offsetHeight:u,beforeOrigin:Rr(f,e.beforeOrigin),origin:m,transformOrigin:e.transformOrigin,rotation:this.getRotation()}},t.prototype.getManager=function(){return this},t.prototype.stopDrag=function(e){var t;e&&"target"!==e||(!1===(null==(t=this.targetGesto)?void 0:t.isIdle())&&wl(this,!1),null==t||t.stop());e&&"control"!==e||(!1===(null==(t=this.controlGesto)?void 0:t.isIdle())&&wl(this,!0),null==t||t.stop())},t.prototype.getRotation=function(){var e=this.state;return function(e,t,n){var r=cr(e,t)/Math.PI*180;return(r=n>=0?r:180-r)>=0?r:360+r}(e.pos1,e.pos2,e.direction)},t.prototype.request=function(e,t,n){void 0===t&&(t={});var r=this,o=r.props,i=o.parentMoveable||o.wrapperMoveable||r,a=i.props.ables,s=o.groupable,l=tr(a,(function(t){return t.name===e}));if(this.isDragging()||!l||!l.request)return{request:function(){return this},requestEnd:function(){return this}};var u=l.request(r),c=n||t.isInstant,d=u.isControl?"controlAbles":"targetAbles",p="".concat(s?"Group":"").concat(u.isControl?"Control":""),h=Qo([],Yo(i[d]),!1),f={request:function(t){return hu(r,h,["drag"],p,"",Xo(Xo({},u.request(t)),{requestAble:e,isRequest:!0}),c),f},requestEnd:function(){return hu(r,h,["drag"],p,"End",Xo(Xo({},u.requestEnd()),{requestAble:e,isRequest:!0}),c),f}};return hu(r,h,["drag"],p,"Start",Xo(Xo({},u.requestStart(t)),{requestAble:e,isRequest:!0}),c),c?f.request(t).requestEnd():f},t.prototype.getMoveables=function(){return[this]},t.prototype.destroy=function(){this.componentWillUnmount()},t.prototype.updateRenderPoses=function(){var e=this.getState(),t=this.props,n=t.padding,r=e.originalBeforeOrigin,o=e.transformOrigin,i=e.allMatrix,a=e.is3d,s=e.pos1,l=e.pos2,u=e.pos3,c=e.pos4,d=e.left,p=e.top,h=e.isPersisted,f=t.zoom||1;if(!n&&f<=1)return e.renderPoses=[s,l,u,c],void(e.renderLines=[[s,l],[l,c],[c,u],[u,s]]);var m=Jl(n||{}),g=m.left,v=m.top,y=m.bottom,b=m.right,w=a?4:3,x=Fr(w,Yr((h?o:this.controlBox&&t.groupable?r:Rr(r,[d,p])).map((function(e){return-e})),w),i,Yr(o,w)),D=jl(x,s,[-g,-v],w),C=jl(x,l,[b,-v],w),E=jl(x,u,[-g,y],w),S=jl(x,c,[b,y],w);if(e.renderPoses=[D,C,E,S],e.renderLines=[[D,C],[C,S],[S,E],[E,D]],f){var _=f/2;e.renderLines=[[jl(x,s,[-g-_,-v],w),jl(x,l,[b+_,-v],w)],[jl(x,l,[b,-v-_],w),jl(x,c,[b,y+_],w)],[jl(x,c,[b+_,y],w),jl(x,u,[-g-_,y],w)],[jl(x,u,[-g,y+_],w),jl(x,s,[-g,-v-_],w)]]}},t.prototype.checkUpdate=function(){this._isPropTargetChanged=!1;var e=this.props,t=e.target,n=e.container,r=e.parentMoveable,o=this.state,i=o.target,a=o.container;if(i||t){this.updateAbles();var s=!zl(i,t);if(s||!zl(a,n)){var l=n||this.controlBox;l&&this.unsetAbles(),this.updateState({target:t,container:n}),!r&&l&&this.updateRect("End",!1,!1),this._isPropTargetChanged=s}}},t.prototype.waitToChangeTarget=function(){return new Promise((function(){}))},t.prototype.triggerEvent=function(e,t){var n=this.props;if(this._emitter.trigger(e,t),n.parentMoveable&&t.isRequest&&!t.isRequestChild)return n.parentMoveable.triggerEvent(e,t,!0);var r=n[e];return r&&r(t)},t.prototype.useCSS=function(e,t){var n=this.props.customStyledMap,r=e+t;return n[r]||(n[r]=$o(e,t)),n[r]},t.prototype.getState=function(){var e,t=this.props;(t.target||(null===(e=t.targets)||void 0===e?void 0:e.length))&&(this._hasFirstTarget=!0);var n=this.controlBox,r=t.persistData,o=t.firstRenderState;if(o&&!n)return o;if(!this._hasFirstTarget&&r){var i=Du(r);if(i)return this.updateState(i,!1),this.state}return this.state.isPersisted=!1,this.state},t.prototype.updateSelectors=function(){},t.prototype.unsetAbles=function(){var e=this;this.targetAbles.forEach((function(t){t.unset&&t.unset(e)}))},t.prototype.updateAbles=function(e,t){void 0===e&&(e=this.props.ables),void 0===t&&(t="");var n=this.props.triggerAblesSimultaneously,r=this.getEnabledAbles(e),o="drag".concat(t,"Start"),i="pinch".concat(t,"Start"),a="drag".concat(t,"ControlStart"),s=Al(r,[o,i],n),l=Al(r,[a],n);this.enabledAbles=r,this.targetAbles=s,this.controlAbles=l},t.prototype.updateState=function(e,t){if(t){if(this.isUnmounted)return;this.setState(e)}else{var n=this.state;for(var r in e)n[r]=e[r]}},t.prototype.getEnabledAbles=function(e){void 0===e&&(e=this.props.ables);var t=this.props;return e.filter((function(e){return e&&(e.always&&!1!==t[e.name]||t[e.name])}))},t.prototype.renderAbles=function(){var e,t,n,r,o=this,i=this.props.triggerAblesSimultaneously,a={createElement:s.createElement};return this.renderState={},(e=Il(Al(this.getEnabledAbles(),["render"],i).map((function(e){return(0,e.render)(o,a)||[]}))).filter((function(e){return e})),t=function(e){return e.key},n=[],r={},e.forEach((function(o,i){var a=t(o,i,e),s=r[a];s||(s=[],r[a]=s,n.push(s)),s.push(o)})),n).map((function(e){return e[0]}))},t.prototype.updateCheckInput=function(){this.targetGesto&&(this.targetGesto.options.checkInput=this.props.checkInput)},t.prototype._getRequestStyles=function(){var e=this.getEnabledAbles().reduce((function(e,t){var n,r,o=null!==(r=null===(n=t.requestStyle)||void 0===n?void 0:n.call(t))&&void 0!==r?r:[];return Qo(Qo([],Yo(e),!1),Yo(o),!1)}),Qo([],Yo(this.props.requestStyles||[]),!1));return e},t.prototype._updateObserver=function(e){this._updateResizeObserver(e),this._updateMutationObserver(e)},t.prototype._updateEvents=function(){var e=this.targetAbles.length,t=this.controlAbles.length,n=this._dragTarget;(!e&&this.targetGesto||this._isTargetChanged(!0))&&(xl(this,!1),this.updateState({gestos:{}})),t||xl(this,!0),n&&e&&!this.targetGesto&&(this.targetGesto=mu(this,n,"")),!this.controlGesto&&t&&(this.controlGesto=gu(this,"Control"))},t.prototype._updateTargets=function(){var e=this.props;this._prevPropTarget=this._propTarget,this._prevDragTarget=this._dragTarget,this._prevOriginalDragTarget=this._originalDragTarget,this._prevDragArea=e.dragArea,this._propTarget=e.target,this._originalDragTarget=e.dragTarget||e.target,this._dragTarget=Kl(this._originalDragTarget,!0)},t.prototype._renderLines=function(){var e=this.props,t=e.zoom,n=e.hideDefaultLines,r=e.hideChildMoveableDefaultLines,o=e.parentMoveable;if(n||o&&r)return[];var i=this.getState(),a={createElement:s.createElement};return i.renderLines.map((function(e,n){return fa(a,"",e[0],e[1],t,"render-line-".concat(n))}))},t.prototype._isTargetChanged=function(e){var t=this.props,n=t.dragTarget||t.target,r=this._prevOriginalDragTarget,o=this._prevDragArea,i=t.dragArea;return!i&&r!==n||(e||i)&&o!==i||this._prevPropTarget!=this._propTarget},t.prototype._updateNativeEvents=function(){var e=this,t=this.props.dragArea?this.areaElement:this.state.target,n=this.events,r=or(n);if(this._isTargetChanged())for(var o in n){var i=n[o];i&&i.destroy(),n[o]=null}if(t){var a=this.enabledAbles;r.forEach((function(r){var o=Al(a,[r]),i=o.length>0,s=n[r];i?(s||(s=new yu(t,e,r),n[r]=s),s.setAbles(o)):s&&(s.destroy(),n[r]=null)}))}},t.prototype._checkUpdateRootContainer=function(){var e=this.props.rootContainer;!this._rootContainer&&e&&(this._rootContainer=Kl(e,!0))},t.prototype._checkUpdateViewContainer=function(){var e=this.props.viewContainer;!this._viewContainer&&e&&(this._viewContainer=Kl(e,!0)),this._viewContainer&&this._changeAbleViewClassNames(Qo(Qo([],Yo(this._getAbleViewClassNames()),!1),[this.isDragging()?au:""],!1))},t.prototype._changeAbleViewClassNames=function(e){var t=this._viewContainer,n=Ol(e.filter(Boolean),(function(e){return e})).map((function(e){return Yo(e,1)[0]})),r=this._viewClassNames,o=lo(r,n),i=o.removed,a=o.added;i.forEach((function(e){vr(t,r[e])})),a.forEach((function(e){gr(t,n[e])})),this._viewClassNames=n},t.prototype._getAbleViewClassNames=function(){var e=this;return(this.getEnabledAbles().map((function(t){var n;return(null===(n=t.viewClassName)||void 0===n?void 0:n.call(t,e))||""})).join(" ")+" ".concat(this._getAbleClassName("-view"))).split(/\s+/g)},t.prototype._getAbleClassName=function(e){var t=this;void 0===e&&(e="");var n=this.getEnabledAbles(),r=this.targetGesto,o=this.controlGesto,i=(null==r?void 0:r.isFlag())?r.getEventData():{},a=(null==o?void 0:o.isFlag())?o.getEventData():{};return n.map((function(n){var r,o,s,l=n.name,u=(null===(r=n.className)||void 0===r?void 0:r.call(n,t))||"";return((null===(o=i[l])||void 0===o?void 0:o.isEventStart)||(null===(s=a[l])||void 0===s?void 0:s.isEventStart))&&(u+=" ".concat(Ks("".concat(l).concat(e,"-dragging")))),u.trim()})).filter(Boolean).join(" ")},t.prototype._updateResizeObserver=function(e){var t,n=this.props,r=n.target,o=Cr(this.getControlBoxElement());if(o.ResizeObserver&&r&&n.useResizeObserver){if(e.target!==r||!this._reiszeObserver){var i=new o.ResizeObserver(this.checkUpdateRect);i.observe(r,{box:"border-box"}),this._reiszeObserver=i}}else null===(t=this._reiszeObserver)||void 0===t||t.disconnect()},t.prototype._updateMutationObserver=function(e){var t,n=this,r=this.props,o=r.target,i=Cr(this.getControlBoxElement());if(i.MutationObserver&&o&&r.useMutationObserver){if(e.target!==o||!this._mutationObserver){var a=new i.MutationObserver((function(e){var t,r;try{for(var o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),i=o.next();!i.done;i=o.next()){var a=i.value;"attributes"===a.type&&"style"===a.attributeName&&n.checkUpdateRect()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}));a.observe(o,{attributes:!0}),this._mutationObserver=a}}else null===(t=this._mutationObserver)||void 0===t||t.disconnect()},t.defaultProps={dragTargetSelf:!1,target:null,dragTarget:null,container:null,rootContainer:null,origin:!0,parentMoveable:null,wrapperMoveable:null,isWrapperMounted:!1,parentPosition:null,warpSelf:!1,svgOrigin:"",dragContainer:null,useResizeObserver:!1,useMutationObserver:!1,preventDefault:!0,preventRightClick:!0,preventWheelClick:!0,linePadding:0,controlPadding:0,ables:[],pinchThreshold:20,dragArea:!1,passDragArea:!1,transformOrigin:"",className:"",zoom:1,triggerAblesSimultaneously:!1,padding:{},pinchOutside:!0,checkInput:!1,dragFocusedInput:!1,groupable:!1,hideDefaultLines:!1,cspNonce:"",translateZ:0,cssStyled:null,customStyledMap:{},props:{},stopPropagation:!1,preventClickDefault:!1,preventClickEventOnDrag:!0,flushSync:Vs,firstRenderState:null,persistData:null,viewContainer:null,requestStyles:[],useAccuratePosition:!1},t}(s.PureComponent),Eu={name:"groupable",props:["defaultGroupRotate","useDefaultGroupRotate","defaultGroupOrigin","groupable","groupableProps","targetGroups","hideChildMoveableDefaultLines"],events:[],render:function(e,t){var n,r=e.props,o=r.targets||[],i=e.getState(),a=i.left,s=i.top,l=i.isPersisted,u=r.zoom||1,c=e.renderGroupRects,d=(null===(n=r.persistData)||void 0===n?void 0:n.children)||[];l?o=d.map((function(){return null})):d=[];var p=Wl(e,"parentPosition",[a,s],(function(e){return e.join(",")})),h=Wl(e,"requestStyles",e.getRequestChildStyles(),(function(e){return e.join(",")}));return e.moveables=e.moveables.slice(0,o.length),Qo(Qo([],Yo(o.map((function(n,o){return t.createElement(Cu,{key:"moveable"+o,ref:On(e,"moveables",o),target:n,origin:!1,requestStyles:h,cssStyled:r.cssStyled,customStyledMap:r.customStyledMap,useResizeObserver:r.useResizeObserver,useMutationObserver:r.useMutationObserver,hideChildMoveableDefaultLines:r.hideChildMoveableDefaultLines,parentMoveable:e,parentPosition:[a,s],persistData:d[o],zoom:u})}))),!1),Yo(Il(c.map((function(e,n){var r=[e.pos1,e.pos2,e.pos3,e.pos4];return[[0,1],[1,3],[3,2],[2,0]].map((function(e,o){var i=Yo(e,2),a=i[0],s=i[1];return fa(t,"",jr(r[a],p),jr(r[s],p),u,"group-rect-".concat(n,"-").concat(o))}))})))),!1)}};Jo("clickable",{props:["clickable"],events:["click","clickGroup"],always:!0,dragRelation:"weak",dragStart:function(){},dragControlStart:function(){},dragGroupStart:function(e,t){t.datas.inputTarget=t.inputEvent&&t.inputEvent.target},dragEnd:function(e,t){var n=e.props.target,r=t.inputEvent,o=t.inputTarget,i=!e.isMoveableElement(o)&&e.controlBox.contains(o);if(r&&o&&!t.isDrag&&!e.isMoveableElement(o)&&!i){var a=n.contains(o);Pl(e,"onClick",El(e,t,{isDouble:t.isDouble,inputTarget:o,isTarget:n===o,moveableTarget:e.props.target,containsTarget:a}))}},dragGroupEnd:function(e,t){var n=t.inputEvent,r=t.inputTarget;if(n&&r&&!t.isDrag&&!e.isMoveableElement(r)&&t.datas.inputTarget!==r){var o=e.props.targets,i=o.indexOf(r),a=i>-1,s=!1;-1===i&&(s=(i=er(o,(function(e){return e.contains(r)})))>-1),Pl(e,"onClickGroup",El(e,t,{isDouble:t.isDouble,targets:o,inputTarget:r,targetIndex:i,isTarget:a,containsTarget:s,moveableTarget:o[i]}))}},dragControlEnd:function(e,t){this.dragEnd(e,t)},dragGroupControlEnd:function(e,t){this.dragEnd(e,t)}});function Su(e){var t=e.originalDatas.draggable;return t||(e.originalDatas.draggable={},t=e.originalDatas.draggable),Xo(Xo({},e),{datas:t})}Jo("edgeDraggable",{css:[".edge.edgeDraggable.line {\ncursor: move;\n}"],render:function(e,t){var n=e.props,r=n.edgeDraggable;return r?ma(t,"edgeDraggable",r,e.getState().renderPoses,n.zoom):[]},dragCondition:function(e,t){var n,r=e.props,o=null===(n=t.inputEvent)||void 0===n?void 0:n.target;return!(!r.edgeDraggable||!o)&&(!r.draggable&&mr(o,Ks("direction"))&&mr(o,Ks("edge"))&&mr(o,Ks("edgeDraggable")))},dragStart:function(e,t){return ss.dragStart(e,Su(t))},drag:function(e,t){return ss.drag(e,Su(t))},dragEnd:function(e,t){return ss.dragEnd(e,Su(t))},dragGroupCondition:function(e,t){var n,r=e.props,o=null===(n=t.inputEvent)||void 0===n?void 0:n.target;return!(!r.edgeDraggable||!o)&&(!r.draggable&&mr(o,Ks("direction"))&&mr(o,Ks("line")))},dragGroupStart:function(e,t){return ss.dragGroupStart(e,Su(t))},dragGroup:function(e,t){return ss.dragGroup(e,Su(t))},dragGroupEnd:function(e,t){return ss.dragGroupEnd(e,Su(t))},unset:function(e){return ss.unset(e)}});var _u={name:"individualGroupable",props:["individualGroupable","individualGroupableProps"],events:[]};function Pu(e,t){var n=Yo(e,3),r=n[0],o=n[1],i=n[2];return(r*t[0]+o*t[1]+i)/Math.sqrt(r*r+o*o)}function ku(e,t){var n=Yo(e,2),r=n[0],o=n[1];return-r*t[0]-o*t[1]}function Au(e,t){return Math.max.apply(Math,Qo([],Yo(e.map((function(e){var n=Yo(e,4),r=n[0],o=n[1],i=n[2],a=n[3];return Math.max(r[t],o[t],i[t],a[t])}))),!1))}function zu(e,t){return Math.min.apply(Math,Qo([],Yo(e.map((function(e){var n=Yo(e,4),r=n[0],o=n[1],i=n[2],a=n[3];return Math.min(r[t],o[t],i[t],a[t])}))),!1))}function Tu(e,t){var n=t.map((function(t){if(Vn(t)){var n=Tu(e,t),r=n.length;return r>1?n:1===r?n[0]:null}var o=tr(e,(function(e){return e.manager.props.target===t}));return o?(o.finded=!0,o.manager):null})).filter(Boolean);return 1===n.length&&Vn(n[0])?n[0]:n}var Ou=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.differ=new mo,t.moveables=[],t.transformOrigin="50% 50%",t.renderGroupRects=[],t._targetGroups=[],t._hasFirstTargets=!1,t}return Wo(t,e),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this)},t.prototype.checkUpdate=function(){this._isPropTargetChanged=!1,this.updateAbles()},t.prototype.getTargets=function(){return this.props.targets},t.prototype.updateRect=function(e,t,n){var r;void 0===n&&(n=!0);var o=this.state;if(this.controlBox&&!o.isPersisted){aa(!0),this.moveables.forEach((function(t){t.updateRect(e,!1,!1)}));var i=this.props,a=this.moveables,s=o.target||i.target,l=a.map((function(e){return{finded:!1,manager:e}})),u=this.props.targetGroups||[],c=Tu(l,u),d=i.useDefaultGroupRotate;c.push.apply(c,Qo([],Yo(l.filter((function(e){return!e.finded})).map((function(e){return e.manager}))),!1));var p=[],h=!t||""!==e&&i.updateGroup,f=i.defaultGroupRotate||0;if(!this._hasFirstTargets){var m=null===(r=i.persistData)||void 0===r?void 0:r.rotation;null!=m&&(f=m)}var g=function e(t,n,r){var o=t.map((function(t){if(Vn(t)){var r=e(t,n),o=[r.pos1,r.pos2,r.pos3,r.pos4];return p.push(r),{poses:o,rotation:r.rotation}}return{poses:bl(t.state),rotation:t.getRotation()}})),i=o.map((function(e){return e.rotation})),a=0,s=i[0],l=i.every((function(e){return Math.abs(s-e)<.1}));a=h?!d&&l?s:f:d||r||!l?n:s;var u=o.map((function(e){return e.poses})),c=function(e,t){var n,r,o,i=[0,0],a=[0,0],s=[0,0],l=[0,0],u=0,c=0;if(!e.length)return{pos1:i,pos2:a,pos3:s,pos4:l,minX:0,minY:0,maxX:0,maxY:0,width:u,height:c,rotation:t};var d=hr(t,wi);if(d%90){var p=d/180*Math.PI,h=Math.tan(p),f=-1/h,m=[Di,Ci],g=[[0,0],[0,0]],v=[Di,Ci],y=[[0,0],[0,0]];e.forEach((function(e){e.forEach((function(e){var t=Pu([-h,1,0],e),n=Pu([-f,1,0],e);m[0]>t&&(g[0]=e,m[0]=t),m[1]n&&(y[0]=e,v[0]=n),v[1]180&&(i=(o=Yo([l,s,a,i],4))[0],a=o[1],s=o[2],l=o[3]);var I=Co([i,a,s,l]);return{pos1:i,pos2:a,pos3:s,pos4:l,width:u,height:c,minX:I.minX,minY:I.minY,maxX:I.maxX,maxY:I.maxY,rotation:t}}(u,a);return c}(c,this.rotation,!0);h&&(this.rotation=g.rotation,this.transformOrigin=i.defaultGroupOrigin||"50% 50%",this.scale=[1,1]),this._targetGroups=u,this.renderGroupRects=p;var v,y,b,w,x,D=this.transformOrigin,C=this.rotation,E=this.scale,S=g.width,_=g.height,P=g.minX,k=g.minY,A=(v=[[0,0],[S,0],[0,_],[S,_]],y=$l(D,S,_),b=this.rotation/180*Math.PI,w=v.map((function(e){return jr(e,y)})),x=w.map((function(e){return Zr(e,b)})),{prev:w,next:x,result:x.map((function(e){return Rr(e,y)}))}),z=Co(A.result),T=z.minX,O=z.minY,I=" rotate(".concat(C,"deg)")+" scale(".concat(Xl(E[0]),", ").concat(Xl(E[1]),")"),F="translate(".concat(-T,"px, ").concat(-O,"px)").concat(I);this.controlBox.style.transform="translate3d(".concat(P,"px, ").concat(k,"px, ").concat(this.props.translateZ||0,")"),s.style.cssText+="left:0px;top:0px;"+"transform-origin:".concat(D,";")+"width:".concat(S,"px;height:").concat(_,"px;")+"transform: ".concat(F),o.width=S,o.height=_;var M=this.getContainer(),R=xu(this.controlBox,s,this.controlBox,this.getContainer(),this._rootContainer||M,[]),j=[R.left,R.top],B=Yo(bl(R),4),N=B[0],L=B[1],K=B[2],V=B[3],q=Co([N,L,K,V]),H=[q.minX,q.minY],Z=Xl(E[0]*E[1]);R.pos1=jr(N,H),R.pos2=jr(L,H),R.pos3=jr(K,H),R.pos4=jr(V,H),R.left=P-R.left+H[0],R.top=k-R.top+H[1],R.origin=jr(Rr(j,R.origin),H),R.beforeOrigin=jr(Rr(j,R.beforeOrigin),H),R.originalBeforeOrigin=Rr(j,R.originalBeforeOrigin),R.transformOrigin=jr(Rr(j,R.transformOrigin),H),s.style.transform="translate(".concat(-T-H[0],"px, ").concat(-O-H[1],"px)")+I,aa(),this.updateState(Xo(Xo({},R),{posDelta:H,direction:Z,beforeDirection:Z}),n)}},t.prototype.getRect=function(){return Xo(Xo({},e.prototype.getRect.call(this)),{children:this.moveables.map((function(e){return e.getRect()}))})},t.prototype.triggerEvent=function(t,n,r){if(r||t.indexOf("Group")>-1)return e.prototype.triggerEvent.call(this,t,n);this._emitter.trigger(t,n)},t.prototype.getRequestChildStyles=function(){var e=this.getEnabledAbles().reduce((function(e,t){var n,r,o=null!==(r=null===(n=t.requestChildStyle)||void 0===n?void 0:n.call(t))&&void 0!==r?r:[];return Qo(Qo([],Yo(e),!1),Yo(o),!1)}),[]);return e},t.prototype.getMoveables=function(){return Qo([],Yo(this.moveables),!1)},t.prototype.updateAbles=function(){e.prototype.updateAbles.call(this,Qo(Qo([],Yo(this.props.ables),!1),[Eu],!1),"Group")},t.prototype._updateTargets=function(){e.prototype._updateTargets.call(this),this._originalDragTarget=this.props.dragTarget||this.areaElement,this._dragTarget=Kl(this._originalDragTarget,!0)},t.prototype._updateEvents=function(){var e=this.state,t=this.props,n=this._prevDragTarget,r=t.dragTarget||this.areaElement,o=t.targets,i=this.differ.update(o),a=i.added,s=i.changed,l=i.removed,u=a.length||l.length;(u||this._prevOriginalDragTarget!==this._originalDragTarget)&&(xl(this,!1),xl(this,!0),this.updateState({gestos:{}})),n!==r&&(e.target=null),e.target||(e.target=this.areaElement,this.controlBox.style.display="block"),e.target&&(this.targetGesto||(this.targetGesto=mu(this,this._dragTarget,"Group")),this.controlGesto||(this.controlGesto=gu(this,"GroupControl")));var c=!zl(e.container,t.container);c&&(e.container=t.container),(c||u||this.transformOrigin!==(t.defaultGroupOrigin||"50% 50%")||s.length||o.length&&!Gl(this._targetGroups,t.targetGroups||[]))&&(this.updateRect(),this._hasFirstTargets=!0),this._isPropTargetChanged=!!u},t.prototype._updateObserver=function(){},t.defaultProps=Xo(Xo({},Cu.defaultProps),{transformOrigin:["50%","50%"],groupable:!0,dragArea:!0,keepRatio:!0,targets:[],defaultGroupRotate:0,defaultGroupOrigin:"50% 50%"}),t}(Cu),Iu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.moveables=[],t}return Wo(t,e),t.prototype.render=function(){var e,t=this,n=this.props,r=n.cspNonce,o=n.cssStyled,i=n.persistData,a=n.targets||[],l=a.length,u=this.isUnmounted||!l,c=null!==(e=null==i?void 0:i.children)&&void 0!==e?e:[];return u&&!l&&c.length?a=c.map((function(){return null})):u||(c=[]),s.createElement(o,{cspNonce:r,ref:Tn(this,"controlBox"),className:Ks("control-box")},a.map((function(e,r){var o,i,a=null!==(i=null===(o=n.individualGroupableProps)||void 0===o?void 0:o.call(n,e,r))&&void 0!==i?i:{};return s.createElement(Cu,Xo({key:"moveable"+r,ref:On(t,"moveables",r)},n,a,{target:e,wrapperMoveable:t,isWrapperMounted:t.isMoveableMounted,persistData:c[r]}))})))},t.prototype.componentDidMount=function(){},t.prototype.componentDidUpdate=function(){},t.prototype.getTargets=function(){return this.props.targets},t.prototype.updateRect=function(e,t,n){void 0===n&&(n=!0),aa(!0),this.moveables.forEach((function(r){r.updateRect(e,t,n)})),aa()},t.prototype.getRect=function(){return Xo(Xo({},e.prototype.getRect.call(this)),{children:this.moveables.map((function(e){return e.getRect()}))})},t.prototype.request=function(e,t,n){void 0===t&&(t={});var r=this.moveables.map((function(n){return n.request(e,Xo(Xo({},t),{isInstant:!1}),!1)})),o={request:function(e){return r.forEach((function(t){return t.request(e)})),this},requestEnd:function(){return r.forEach((function(e){return e.requestEnd()})),this}};return n||t.isInstant?o.request(t).requestEnd():o},t.prototype.dragStart=function(e,t){void 0===t&&(t=e.target);var n=t,r=tr(this.moveables,(function(e){var t=e.getTargets()[0],r=e.getControlBoxElement(),o=e.getDragElement();return!(!t||!o)&&(o===n||o.contains(n)||o!==t&&t===n||t.contains(n)||r===n||r.contains(n))}));return r&&r.dragStart(e,t),this},t.prototype.hitTest=function(){return 0},t.prototype.isInside=function(){return!1},t.prototype.isDragging=function(){return!1},t.prototype.getDragElement=function(){return null},t.prototype.getMoveables=function(){return Qo([],Yo(this.moveables),!1)},t.prototype.updateRenderPoses=function(){},t.prototype.checkUpdate=function(){},t.prototype.triggerEvent=function(){},t.prototype.updateAbles=function(){},t.prototype._updateEvents=function(){},t.prototype._updateObserver=function(){},t}(Cu);function Fu(e,t){var n=[];return e.forEach((function(e){e&&(qn(e)?t[e]&&n.push.apply(n,Qo([],Yo(t[e]),!1)):Vn(e)?n.push.apply(n,Qo([],Yo(Fu(e,t)),!1)):n.push(e))})),n}function Mu(e,t){var n=[];return e.forEach((function(e){e&&(qn(e)?t[e]&&n.push.apply(n,Qo([],Yo(t[e]),!1)):Vn(e)?n.push(Mu(e,t)):n.push(e))})),n}function Ru(e,t){return e.length!==t.length||e.some((function(e,n){var r=t[n];return!(!e&&!r)&&(e!=r&&(!Vn(e)||!Vn(r)||Ru(e,r)))}))}var ju=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refTargets=[],t.selectorMap={},t._differ=new mo,t._elementTargets=[],t._tmpRefTargets=[],t._tmpSelectorMap={},t._onChangeTargets=null,t}var n,r;return Wo(t,e),t.makeStyled=function(){var e={};this.getTotalAbles().forEach((function(t){var n=t.css;n&&n.forEach((function(t){e[t]=!0}))}));var t=or(e).join("\n");this.defaultStyled=$o("div",function(e,t){return t.replace(/([^}{]*){/gm,(function(t,n){return n.replace(/\.([^{,\s\d.]+)/g,"."+e+"$1")+"{"}))}(mi,vi+t))},t.getTotalAbles=function(){return Qo([cu,Eu,_u,uu],Yo(this.defaultAbles),!1)},t.prototype.render=function(){var e,t=this.constructor;t.defaultStyled||t.makeStyled();var n=this.props,r=n.ables,o=n.props,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1,p=Qo(Qo([],Yo(t.getTotalAbles()),!1),Yo(r||[]),!1),h=Xo(Xo(Xo({},i),o||{}),{ables:p,cssStyled:t.defaultStyled,customStyledMap:t.customStyledMap});this._elementTargets=c;var f=null,m=this.moveable,g=i.persistData;if((null==g?void 0:g.children)&&(d=!0),i.individualGroupable)return s.createElement(Iu,Xo({key:"individual-group",ref:Tn(this,"moveable")},h,{target:null,targets:c}));if(d){var v=Mu(l,u);if(m&&!m.props.groupable&&!m.props.individualGroupable){var y=m.props.target;y&&c.indexOf(y)>-1&&(f=Xo({},m.state))}return s.createElement(Ou,Xo({key:"group",ref:Tn(this,"moveable")},h,null!==(e=i.groupableProps)&&void 0!==e?e:{},{target:null,targets:c,targetGroups:v,firstRenderState:f}))}var b=c[0];if(m&&(m.props.groupable||m.props.individualGroupable)){var w=tr(m.moveables||[],(function(e){return e.props.target===b}));w&&(f=Xo({},w.state))}return s.createElement(Cu,Xo({key:"single",ref:Tn(this,"moveable")},h,{target:b,firstRenderState:f}))},t.prototype.componentDidMount=function(){this._checkChangeTargets()},t.prototype.componentDidUpdate=function(){this._checkChangeTargets()},t.prototype.componentWillUnmount=function(){this.selectorMap={},this.refTargets=[]},t.prototype.getTargets=function(){var e,t;return null!==(t=null===(e=this.moveable)||void 0===e?void 0:e.getTargets())&&void 0!==t?t:[]},t.prototype.updateSelectors=function(){this.selectorMap={},this._updateRefs(),this.forceUpdate()},t.prototype.waitToChangeTarget=function(){var e,t=this;return this._onChangeTargets=function(){t._onChangeTargets=null,e()},new Promise((function(t){e=t}))},t.prototype.waitToChangeTargets=function(){return this.waitToChangeTarget()},t.prototype.getManager=function(){return this.moveable},t.prototype.getMoveables=function(){return this.moveable.getMoveables()},t.prototype.getDragElement=function(){return this.moveable.getDragElement()},t.prototype._updateRefs=function(e){var t=this.refTargets,n=Vl(this.props.target||this.props.targets),r="undefined"!=typeof document,o=Ru(t,n),i=this.selectorMap,a={};return this.refTargets.forEach((function e(t){qn(t)?i[t]?a[t]=i[t]:r&&(o=!0,a[t]=[].slice.call(document.querySelectorAll(t))):Vn(t)&&t.forEach(e)})),this._tmpRefTargets=n,this._tmpSelectorMap=a,[n,a,!e&&o]},t.prototype._checkChangeTargets=function(){var e,t,n;this.refTargets=this._tmpRefTargets,this.selectorMap=this._tmpSelectorMap;var r=this._differ.update(this._elementTargets),o=r.added,i=r.removed;(o.length||i.length)&&(null===(t=(e=this.props).onChangeTargets)||void 0===t||t.call(e,{moveable:this.moveable,targets:this._elementTargets}),null===(n=this._onChangeTargets)||void 0===n||n.call(this));var a=Yo(this._updateRefs(),3),s=a[0],l=a[1],u=a[2];this.refTargets=s,this.selectorMap=l,u&&this.forceUpdate()},t.defaultAbles=[],t.customStyledMap={},t.defaultStyled=null,function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([(n=Pi,void 0===r&&(r={}),function(e,t){n.forEach((function(n){var o=r[n]||n;o in e||(e[o]=function(){for(var e,r=[],o=0;o{var e;a(!(!t.current||!(null===(e=t.current.parentElement)||void 0===e?void 0:e.closest('[role="toolbar"]'))))}));const{direction:l}=(0,Nt.bU)(),u="rtl"===l&&"horizontal"===o;let c=(0,rt.E7)(t);const d=(0,s.useRef)(null);return{toolbarProps:{role:i?"group":"toolbar","aria-orientation":o,"aria-label":n,"aria-labelledby":null==n?r:void 0,onKeyDownCapture:i?void 0:e=>{if(e.currentTarget.contains(e.target)){if("horizontal"===o&&"ArrowRight"===e.key||"vertical"===o&&"ArrowDown"===e.key)u?c.focusPrevious():c.focusNext();else{if(!("horizontal"===o&&"ArrowLeft"===e.key||"vertical"===o&&"ArrowUp"===e.key))return"Tab"===e.key?(e.stopPropagation(),d.current=document.activeElement,void(e.shiftKey?c.focusFirst():c.focusLast())):void 0;u?c.focusNext():c.focusPrevious()}e.stopPropagation(),e.preventDefault()}},onFocusCapture:i?void 0:e=>{var n,r;d.current&&!e.currentTarget.contains(e.relatedTarget)&&(null===(n=t.current)||void 0===n?void 0:n.contains(e.target))&&(null===(r=d.current)||void 0===r||r.focus(),d.current=null)},onBlurCapture:i?void 0:e=>{e.currentTarget.contains(e.relatedTarget)||d.current||(d.current=e.target)}}}}!function(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}({},"useToolbar",(()=>Bu));var Nu=n(35583),Lu=n(28623),Ku={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Yu.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Vu={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Sc.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},qu={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=cc.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Hu=new WeakMap,Zu=new WeakMap,Uu=new WeakMap,$u=new WeakMap,Gu=new WeakMap,Wu=new WeakMap,Xu=new WeakMap,Yu={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Yu.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;rt[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Yu.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Yu.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Yu.equals(r,o)&&ie.length===t.length&&e.every(((e,n)=>e===t[n])),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===Yu.compare(e,t),isAncestor:(e,t)=>e.length-1===Yu.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Yu.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Yu.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Yu.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Yu.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Yu.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!Yu.isAncestor(t,e)&&!Yu.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return null;var r=[...e],{affinity:o="forward"}=n;if(0===e.length)return r;switch(t.type){case"insert_node":var{path:i}=t;(Yu.equals(i,r)||Yu.endsBefore(i,r)||Yu.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Yu.equals(a,r)||Yu.isAncestor(a,r))return null;Yu.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;Yu.equals(s,r)||Yu.endsBefore(s,r)?r[s.length-1]-=1:Yu.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:u,position:c}=t;if(Yu.equals(u,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else Yu.endsBefore(u,r)?r[u.length-1]+=1:Yu.isAncestor(u,r)&&e[u.length]>=c&&(r[u.length-1]+=1,r[u.length]-=c);break;case"move_node":var{path:d,newPath:p}=t;if(Yu.equals(d,p))return r;if(Yu.isAncestor(d,r)||Yu.equals(d,r)){var h=p.slice();return Yu.endsBefore(d,p)&&d.length{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=gc.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,l]of cc.points(t))t[l]=Sc.transform(s,n);break;case"insert_text":var{path:u,offset:c,text:d}=n;if(0===d.length)break;var p=gc.leaf(e,u),h=p.text.slice(0,c),f=p.text.slice(c);if(p.text=h+d+f,t)for(var[m,g]of cc.points(t))t[g]=Sc.transform(m,n);break;case"merge_node":var{path:v}=n,y=gc.get(e,v),b=Yu.previous(v),w=gc.get(e,b),x=gc.parent(e,v),D=v[v.length-1];if(Ic.isText(y)&&Ic.isText(w))w.text+=y.text;else{if(Ic.isText(y)||Ic.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interfaces: ").concat(Pc.stringify(y)," ").concat(Pc.stringify(w)));w.children.push(...y.children)}if(x.children.splice(D,1),t)for(var[C,E]of cc.points(t))t[E]=Sc.transform(C,n);break;case"move_node":var{path:S,newPath:_}=n;if(Yu.isAncestor(S,_))throw new Error("Cannot move a path [".concat(S,"] to new path [").concat(_,"] because the destination is inside itself."));var P=gc.get(e,S),k=gc.parent(e,S),A=S[S.length-1];k.children.splice(A,1);var z=Yu.transform(S,n),T=gc.get(e,Yu.parent(z)),O=z[z.length-1];if(T.children.splice(O,0,P),t)for(var[I,F]of cc.points(t))t[F]=Sc.transform(I,n);break;case"remove_node":var{path:M}=n,R=M[M.length-1];if(gc.parent(e,M).children.splice(R,1),t)for(var[j,B]of cc.points(t)){var N=Sc.transform(j,n);if(null!=t&&null!=N)t[B]=N;else{var L=void 0,K=void 0;for(var[V,q]of gc.texts(e)){if(-1!==Yu.compare(q,M)){K=[V,q];break}L=[V,q]}var H=!1;L&&K&&(H=Yu.equals(K[1],M)?!Yu.hasPrevious(K[1]):Yu.common(L[1],M).length{for(var n in e){var r=e[n],o=t[n];if((0,Nu.P)(r)&&(0,Nu.P)(o)){if(!ac(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var lc=["anchor","focus"];function uc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var cc={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return cc.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=cc.edges(e);return t},equals:(e,t)=>Sc.equals(e.anchor,t.anchor)&&Sc.equals(e.focus,t.focus),includes(e,t){if(cc.isRange(t)){if(cc.includes(e,t.anchor)||cc.includes(e,t.focus))return!0;var[n,r]=cc.edges(e),[o,i]=cc.edges(t);return Sc.isBefore(n,o)&&Sc.isAfter(r,i)}var[a,s]=cc.edges(e),l=!1,u=!1;return Sc.isPoint(t)?(l=Sc.compare(t,a)>=0,u=Sc.compare(t,s)<=0):(l=Yu.compare(t,a.path)>=0,u=Yu.compare(t,s.path)<=0),l&&u},intersection(e,t){var n=sc(e,lc),[r,o]=cc.edges(e),[i,a]=cc.edges(t),s=Sc.isBefore(r,i)?i:r,l=Sc.isBefore(o,a)?o:a;return Sc.isBefore(l,s)?null:function(e){for(var t=1;t!cc.isCollapsed(e),isForward:e=>!cc.isBackward(e),isRange:e=>(0,Nu.P)(e)&&Sc.isPoint(e.anchor)&&Sc.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=cc.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,Lu.Uy)(e,(e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=cc.isCollapsed(e);cc.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?cc.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=Sc.transform(e.anchor,t,{affinity:r}),l=Sc.transform(e.focus,t,{affinity:o});if(!s||!l)return null;e.anchor=s,e.focus=l}))}},dc=e=>(0,Nu.P)(e)&&gc.isNodeList(e.children)&&!xc.isEditor(e),pc={isAncestor:e=>(0,Nu.P)(e)&&gc.isNodeList(e.children),isElement:dc,isElementList:e=>Array.isArray(e)&&e.every((e=>pc.isElement(e))),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return dc(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},hc=["children"],fc=["text"],mc=new WeakMap,gc={ancestor(e,t){var n=gc.get(e,t);if(Ic.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(Pc.stringify(n)));return n},ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Yu.ancestors(t,n)){var o=[gc.ancestor(e,r),r];yield o}}()},child(e,t){if(Ic.isText(e))throw new Error("Cannot get the child of a text node: ".concat(Pc.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(Pc.stringify(e)));return n},children(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var{reverse:r=!1}=n,o=gc.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of gc.nodes(e,t))0!==r.length&&(yield[n,r])}()},elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of gc.nodes(e,t))pc.isElement(n)&&(yield[n,r])}()},extractProps:e=>pc.isAncestor(e)?sc(e,hc):sc(e,fc),first(e,t){for(var n=t.slice(),r=gc.get(e,n);r&&!Ic.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Ic.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(Pc.stringify(e)));var n=(0,Lu.Uy)({children:e.children},(e=>{var[n,r]=cc.edges(t),o=gc.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!cc.includes(t,n)}});for(var[,i]of o){if(!cc.includes(t,i)){var a=gc.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(Yu.equals(i,r.path)){var l=gc.leaf(e,i);l.text=l.text.slice(0,r.offset)}if(Yu.equals(i,n.path)){var u=gc.leaf(e,i);u.text=u.text.slice(n.offset)}}xc.isEditor(e)&&(e.selection=null)}));return n.children},get(e,t){for(var n=e,r=0;rIc.isText(e)||pc.isElement(e)||xc.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=mc.get(e);if(void 0!==t)return t;var n=e.every((e=>gc.isNode(e)));return mc.set(e,n),n},last(e,t){for(var n=t.slice(),r=gc.get(e,n);r&&!Ic.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=gc.get(e,t);if(!Ic.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(Pc.stringify(n)));return n},levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Yu.levels(t,n)){var o=gc.get(e,r);yield[o,r]}}()},matches:(e,t)=>pc.isElement(e)&&pc.isElementProps(t)&&pc.matches(e,t)||Ic.isText(e)&&Ic.isTextProps(t)&&Ic.matches(e,t),nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!i||!(r?Yu.isBefore(s,i):Yu.isAfter(s,i));)if(a.has(l)||(yield[l,s]),a.has(l)||Ic.isText(l)||0===l.children.length||null!=n&&!1!==n([l,s])){if(0===s.length)break;if(!r){var u=Yu.next(s);if(gc.has(e,u)){s=u,l=gc.get(e,s);continue}}if(r&&0!==s[s.length-1])s=Yu.previous(s),l=gc.get(e,s);else s=Yu.parent(s),l=gc.get(e,s),a.add(l)}else{a.add(l);var c=r?l.children.length-1:0;Yu.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),l=gc.get(e,s)}}()},parent(e,t){var n=Yu.parent(t),r=gc.get(e,n);if(Ic.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Ic.isText(e)?e.text:e.children.map(gc.string).join(""),texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of gc.nodes(e,t))Ic.isText(n)&&(yield[n,r])}()}};function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yc(e){for(var t=1;tbc.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!(0,Nu.P)(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Yu.isPath(e.path)&&gc.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Yu.isPath(e.path);case"merge_node":return"number"==typeof e.position&&Yu.isPath(e.path)&&(0,Nu.P)(e.properties);case"move_node":return Yu.isPath(e.path)&&Yu.isPath(e.newPath);case"set_node":return Yu.isPath(e.path)&&(0,Nu.P)(e.properties)&&(0,Nu.P)(e.newProperties);case"set_selection":return null===e.properties&&cc.isRange(e.newProperties)||null===e.newProperties&&cc.isRange(e.properties)||(0,Nu.P)(e.properties)&&(0,Nu.P)(e.newProperties);case"split_node":return Yu.isPath(e.path)&&"number"==typeof e.position&&(0,Nu.P)(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every((e=>bc.isOperation(e))),isSelectionOperation:e=>bc.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>bc.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return yc(yc({},e),{},{type:"remove_node"});case"insert_text":return yc(yc({},e),{},{type:"remove_text"});case"merge_node":return yc(yc({},e),{},{type:"split_node",path:Yu.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Yu.equals(t,n))return e;if(Yu.isSibling(n,t))return yc(yc({},e),{},{path:t,newPath:n});var r=Yu.transform(n,e),o=Yu.transform(Yu.next(n),e);return yc(yc({},e),{},{path:r,newPath:o});case"remove_node":return yc(yc({},e),{},{type:"insert_node"});case"remove_text":return yc(yc({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return yc(yc({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return yc(yc({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return yc(yc({},e),{},{type:"merge_node",path:Yu.next(e.path)})}}},wc=new WeakMap,xc={above:(e,t)=>e.above(t),addMark(e,t,n){e.addMark(t,n)},after:(e,t,n)=>e.after(t,n),before:(e,t,n)=>e.before(t,n),deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,n)=>e.isEdge(t,n),isEditor:e=>(e=>{var t=wc.get(e);if(void 0!==t)return t;if(!(0,Nu.P)(e))return!1;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertSoftBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isElementReadOnly&&"function"==typeof e.isInline&&"function"==typeof e.isSelectable&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||(0,Nu.P)(e.marks))&&(null===e.selection||cc.isRange(e.selection))&&gc.isNodeList(e.children)&&bc.isOperationList(e.operations);return wc.set(e,n),n})(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,n)=>e.isEnd(t,n),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,n)=>e.isStart(t,n),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,n)=>e.leaf(t,n),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,n)=>e.node(t,n),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,n)=>e.parent(t,n),path:(e,t,n)=>e.path(t,n),pathRef:(e,t,n)=>e.pathRef(t,n),pathRefs:e=>e.pathRefs(),point:(e,t,n)=>e.point(t,n),pointRef:(e,t,n)=>e.pointRef(t,n),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,n)=>e.range(t,n),rangeRef:(e,t,n)=>e.rangeRef(t,n),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,n)=>e.string(t,n),unhangRange:(e,t,n)=>e.unhangRange(t,n),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)},shouldMergeNodesRemovePrevNode:(e,t,n)=>e.shouldMergeNodesRemovePrevNode(t,n)},Dc={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(Yu.isPath)};function Cc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ec(e){for(var t=1;tt.offset?1:0:n},isAfter:(e,t)=>1===Sc.compare(e,t),isBefore:(e,t)=>-1===Sc.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Yu.equals(e.path,t.path),isPoint:e=>(0,Nu.P)(e)&&"number"==typeof e.offset&&Yu.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,Lu.Uy)(e,(e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=Yu.transform(o,t,n);break;case"insert_text":Yu.equals(t.path,o)&&(t.offsetJSON.stringify(e,_c)},kc=["text"],Ac=["anchor","focus"];function zc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tc(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return sc(e,kc)}return ac(r?o(e):e,r?o(t):t)},isText:e=>(0,Nu.P)(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every((e=>Ic.isText(e))),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Tc({},e)];for(var r of t){var o=sc(r,Ac),[i,a]=cc.edges(r),s=[],l=0,u=i.offset,c=a.offset;for(var d of n){var{length:p}=d.text,h=l;if(l+=p,u<=h&&l<=c)Object.assign(d,o),s.push(d);else if(u!==c&&(u===l||c===h)||u>l||ch){var y=u-h;m=Tc(Tc({},f),{},{text:f.text.slice(0,y)}),f=Tc(Tc({},f),{},{text:f.text.slice(y)})}Object.assign(f,o),m&&s.push(m),s.push(f),g&&s.push(g)}}n=s}return n}},Fc=e=>e.selection?e.selection:e.children.length>0?xc.end(e,[]):[0],Mc=(e,t)=>{var[n]=xc.node(e,t);return e=>e===n},Rc=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?qc(e):e,o=Oc.None,i=Oc.None,a=0,s=null;for(var l of r){var u=l.codePointAt(0);if(!u)break;var c=td(l,u);if([o,i]=n?[i,c]:[c,o],nd(o,Oc.ZWJ)&&nd(i,Oc.ExtPict)&&!ad(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(nd(o,Oc.RI)&&nd(i,Oc.RI)&&!(s=null!==s?!s:!!n||ld(e.substring(0,e.length-a))))break;if(o!==Oc.None&&i!==Oc.None&&od(o,i))break;a+=l.length}return a||1},jc=/\s/,Bc=/[\u002B\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Nc=/['\u2018\u2019]/,Lc=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=Rc(e,t),[i,a]=Kc(e,o,t);if(Vc(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n},Kc=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},Vc=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(jc.test(t))return!1;if(Nc.test(t)){var o=Rc(n,r),[i,a]=Kc(n,o,r);if(e(i,a,r))return!0}return!Bc.test(t)},qc=function*(e){for(var t=e.length-1,n=0;ne>=55296&&e<=56319,Zc=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(Oc||(Oc={}));var Uc=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,$c=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Gc=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,Wc=/^[\u1100-\u115F\uA960-\uA97C]$/,Xc=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,Yc=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,Qc=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,Jc=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,ed=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,td=(e,t)=>{var n=Oc.Any;return-1!==e.search(Uc)&&(n|=Oc.Extend),8205===t&&(n|=Oc.ZWJ),t>=127462&&t<=127487&&(n|=Oc.RI),-1!==e.search($c)&&(n|=Oc.Prepend),-1!==e.search(Gc)&&(n|=Oc.SpacingMark),-1!==e.search(Wc)&&(n|=Oc.L),-1!==e.search(Xc)&&(n|=Oc.V),-1!==e.search(Yc)&&(n|=Oc.T),-1!==e.search(Qc)&&(n|=Oc.LV),-1!==e.search(Jc)&&(n|=Oc.LVT),-1!==e.search(ed)&&(n|=Oc.ExtPict),n};function nd(e,t){return 0!=(e&t)}var rd=[[Oc.L,Oc.L|Oc.V|Oc.LV|Oc.LVT],[Oc.LV|Oc.V,Oc.V|Oc.T],[Oc.LVT|Oc.T,Oc.T],[Oc.Any,Oc.Extend|Oc.ZWJ],[Oc.Any,Oc.SpacingMark],[Oc.Prepend,Oc.Any],[Oc.ZWJ,Oc.ExtPict],[Oc.RI,Oc.RI]];function od(e,t){return-1===rd.findIndex((n=>nd(e,n[0])&&nd(t,n[1])))}var id=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,ad=e=>-1!==e.search(id),sd=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,ld=e=>{var t=e.match(sd);return null!==t&&t[0].length/2%2==1},ud={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};xc.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:o=Fc(e)}=n;if(Yu.isPath(o)&&(o=xc.range(e,o)),cc.isRange(o))if(cc.isCollapsed(o))o=o.anchor;else{var i=cc.end(o);if(!r&&xc.void(e,{at:i}))return;var a=cc.start(o),s=xc.pointRef(e,a),l=xc.pointRef(e,i);pd.delete(e,{at:o,voids:r});var u=s.unref(),c=l.unref();o=u||c,pd.setSelection(e,{anchor:o,focus:o})}if(!(!r&&xc.void(e,{at:o})||xc.elementReadOnly(e,{at:o}))){var{path:d,offset:p}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:p,text:t})}}))}};function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dd(e){for(var t=1;t{var r=hd.get(e)||!1;hd.set(e,!0);try{t(),n()}finally{hd.set(e,r)}};function md(e,t,n){var r,o,i=Hu.get(e)||[],a=Zu.get(e)||new Set,s=e=>{if(e){var t=e.join(",");o.has(t)||(o.add(t),r.push(e))}};if(n)for(var l of(r=[],o=new Set,i)){s(n(l))}else r=i,o=a;for(var u of t)s(u);Hu.set(e,r),Zu.set(e,o)}var gd=(e,t)=>{for(var n of xc.pathRefs(e))Ku.transform(n,t);for(var r of xc.pointRefs(e))Vu.transform(r,t);for(var o of xc.rangeRefs(e))qu.transform(o,t);if(!(e=>hd.get(e)||!1)(e)){var i=Yu.operationCanTransformPath(t)?e=>Yu.transform(e,t):void 0;md(e,e.getDirtyPaths(t),i)}pd.transform(e,t),e.operations.push(t),xc.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),Uu.get(e)||(Uu.set(e,!0),Promise.resolve().then((()=>{Uu.set(e,!1),e.onChange({operation:t}),e.operations=[]})))},vd=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:n}=t;return Yu.levels(n);case"insert_node":var{node:r,path:o}=t,i=Yu.levels(o),a=Ic.isText(r)?[]:Array.from(gc.nodes(r),(e=>{var[,t]=e;return o.concat(t)}));return[...i,...a];case"merge_node":var{path:s}=t;return[...Yu.ancestors(s),Yu.previous(s)];case"move_node":var{path:l,newPath:u}=t;if(Yu.equals(l,u))return[];var c=[],d=[];for(var p of Yu.ancestors(l)){var h=Yu.transform(p,t);c.push(h)}for(var f of Yu.ancestors(u)){var m=Yu.transform(f,t);d.push(m)}var g=d[d.length-1],v=u[u.length-1],y=g.concat(v);return[...c,...d,y];case"remove_node":var{path:b}=t;return[...Yu.ancestors(b)];case"split_node":var{path:w}=t;return[...Yu.levels(w),Yu.next(w)];default:return[]}},yd=e=>{var{selection:t}=e;return t?gc.fragment(e,t):[]},bd=(e,t)=>{var[n,r]=t;if(!Ic.isText(n))if(pc.isElement(n)&&0===n.children.length){pd.insertNodes(e,{text:""},{at:r.concat(0),voids:!0})}else for(var o=!xc.isEditor(n)&&(pc.isElement(n)&&(e.isInline(n)||0===n.children.length||Ic.isText(n.children[0])||e.isInline(n.children[0]))),i=0,a=0;a{var{iteration:n,initialDirtyPathsLength:r}=t,o=42*r;if(n>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},xd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=xc.path(e,o),s="lowest"===r;for(var[l,u]of xc.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!Ic.isText(l))if(cc.isRange(o)){if(Yu.isAncestor(u,o.anchor.path)&&Yu.isAncestor(u,o.focus.path))return[l,u]}else if(!Yu.equals(a,u))return[l,u]}};function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cd(e){for(var t=1;t{var{selection:r}=e;if(r){var o=(t,n)=>{if(!Ic.isText(t))return!1;var[r,o]=xc.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=cc.isExpanded(r),a=!1;if(!i){var[s,l]=xc.node(e,r);if(s&&o(s,l)){var[u]=xc.parent(e,l);a=u&&e.markableVoid(u)}}if(i||a)pd.setNodes(e,{[t]:n},{match:o,split:!0,voids:!0});else{var c=Cd(Cd({},xc.marks(e)||{}),{},{[t]:n});e.marks=c,Uu.get(e)||e.onChange()}}};function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _d(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},o=xc.point(e,t,{edge:"end"}),i=xc.end(e,[]),a={anchor:o,focus:i},{distance:s=1}=r,l=0;for(var u of xc.positions(e,_d(_d({},r),{},{at:a}))){if(l>s)break;0!==l&&(n=u),l++}return n};function kd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ad(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},o=xc.start(e,[]),i=xc.point(e,t,{edge:"start"}),a={anchor:o,focus:i},{distance:s=1}=r,l=0;for(var u of xc.positions(e,Ad(Ad({},r),{},{at:a,reverse:!0}))){if(l>s)break;0!==l&&(n=u),l++}return n},Td=(e,t)=>{var{selection:n}=e;n&&cc.isCollapsed(n)&&pd.delete(e,{unit:t,reverse:!0})},Od=(e,t)=>{var{selection:n}=e;n&&cc.isCollapsed(n)&&pd.delete(e,{unit:t})},Id=function(e){var{direction:t="forward"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e;n&&cc.isExpanded(n)&&pd.delete(e,{reverse:"backward"===t})},Fd=(e,t)=>[xc.start(e,t),xc.end(e,t)];function Md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rd(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return xc.above(e,Rd(Rd({},t),{},{match:t=>pc.isElement(t)&&xc.isElementReadOnly(e,t)}))},Bd=(e,t)=>xc.point(e,t,{edge:"end"}),Nd=(e,t)=>{var n=xc.path(e,t,{edge:"start"});return xc.node(e,n)},Ld=(e,t)=>{var n=xc.range(e,t);return gc.fragment(e,n)};function Kd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vd(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return xc.above(e,Vd(Vd({},t),{},{match:t=>pc.isElement(t)&&xc.isVoid(e,t)}))},Hd=(e,t)=>t.children.some((t=>pc.isElement(t)&&xc.isBlock(e,t))),Zd=(e,t)=>t.children.some((t=>Ic.isText(t)||xc.isInline(e,t))),Ud=(e,t)=>gc.has(e,t),$d=(e,t)=>t.children.every((e=>Ic.isText(e))),Gd=e=>{pd.splitNodes(e,{always:!0})},Wd=(e,t,n)=>{pd.insertNodes(e,t,n)},Xd=e=>{pd.splitNodes(e,{always:!0})};function Yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qd(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{selection:r,marks:o}=e;if(r){if(o){var i=Qd({text:t},o);pd.insertNodes(e,i,{at:n.at,voids:n.voids})}else pd.insertText(e,t,n);e.marks=null}},ep=(e,t)=>!e.isInline(t),tp=(e,t,n)=>xc.isStart(e,t,n)||xc.isEnd(e,t,n),np=(e,t)=>{var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&Ic.isText(r)&&""===r.text&&!e.isVoid(t)},rp=(e,t,n)=>{var r=xc.end(e,n);return Sc.equals(t,r)},op=e=>{var t=$u.get(e);return void 0===t||t},ip=(e,t,n)=>{if(0!==t.offset)return!1;var r=xc.start(e,n);return Sc.equals(t,r)},ap=(e,t)=>{var n=xc.path(e,t,{edge:"end"});return xc.node(e,n)},sp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=xc.path(e,t,n),o=gc.leaf(e,r);return[o,r]};function lp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=xc.path(e,n);for(var[l,u]of gc.levels(e,s))if(i(l,u)&&(a.push([l,u]),!o&&pc.isElement(l)&&xc.isVoid(e,l)))break;r&&a.reverse(),yield*a}}()}var up=["text"],cp=["text"],dp=function(e){var{marks:t,selection:n}=e;if(!n)return null;var{anchor:r,focus:o}=n;if(t)return t;if(cc.isExpanded(n)){if(xc.isEnd(e,r,r.path)){var i=xc.after(e,r);i&&(r=i)}var[a]=xc.nodes(e,{match:Ic.isText,at:{anchor:r,focus:o}});if(a){var[s]=a;return sc(s,up)}return{}}var{path:l}=r,[u]=xc.leaf(e,l);if(0===r.offset){var c=xc.previous(e,{at:l,match:Ic.isText}),d=xc.above(e,{match:t=>pc.isElement(t)&&xc.isVoid(e,t)&&e.markableVoid(t)});if(!d){var p=xc.above(e,{match:t=>pc.isElement(t)&&xc.isBlock(e,t)});if(c&&p){var[h,f]=c,[,m]=p;Yu.isAncestor(m,f)&&(u=h)}}}return sc(u,cp)},pp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=xc.after(e,i,{voids:r});if(a){var[,s]=xc.last(e,[]),l=[a.path,s];if(Yu.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Yu.isPath(i)){var[u]=xc.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=xc.nodes(e,{at:l,match:o,mode:n,voids:r});return c}}},hp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=xc.path(e,t,n),o=gc.get(e,r);return[o,r]};function fp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t,{match:l}=t;if(l||(l=()=>!0),n){var u,c;if(Dc.isSpan(n))u=n[0],c=n[1];else{var d=xc.path(e,n,{edge:"start"}),p=xc.path(e,n,{edge:"end"});u=i?p:d,c=i?d:p}var h,f=gc.nodes(e,{reverse:i,from:u,to:c,pass:t=>{var[n]=t;return!!pc.isElement(n)&&(!(a||!xc.isVoid(e,n)&&!xc.isElementReadOnly(e,n))||!(!s||xc.isSelectable(e,n)))}}),m=[];for(var[g,v]of f)if(!s||!pc.isElement(g)||xc.isSelectable(e,g)){var y=h&&0===Yu.compare(v,h[1]);if("highest"!==r||!y)if(l(g,v))if("lowest"===r&&y)h=[g,v];else{var b="lowest"===r?h:[g,v];b&&(o?m.push(b):yield b),h=[g,v]}else if(o&&!y&&Ic.isText(g))return}"lowest"===r&&h&&(o?m.push(h):yield h),o&&(yield*m)}}()}var mp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>Hu.get(e)||[],i=e=>Zu.get(e)||new Set,a=e=>{var t=o(e).pop(),n=t.join(",");return i(e).delete(n),t};if(xc.isNormalizing(e)){if(n){var s=Array.from(gc.nodes(e),(e=>{var[,t]=e;return t})),l=new Set(s.map((e=>e.join(","))));Hu.set(e,s),Zu.set(e,l)}0!==o(e).length&&xc.withoutNormalizing(e,(()=>{for(var t of o(e))if(gc.has(e,t)){var n=xc.node(e,t),[i,s]=n;pc.isElement(i)&&0===i.children.length&&e.normalizeNode(n,{operation:r})}for(var l=o(e),u=l.length,c=0;0!==l.length;){if(!e.shouldNormalize({dirtyPaths:l,iteration:c,initialDirtyPathsLength:u,operation:r}))return;var d=a(e);if(gc.has(e,d)){var p=xc.node(e,d);e.normalizeNode(p,{operation:r})}c++,l=o(e)}}))}},gp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=xc.path(e,t,n),o=Yu.parent(r),i=xc.node(e,o);return i},vp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return xc.pathRefs(e).delete(o),o.current=null,t}},i=xc.pathRefs(e);return i.add(o),o},yp=e=>{var t=Gu.get(e);return t||(t=new Set,Gu.set(e,t)),t},bp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Yu.isPath(t))if("start"===o){var[,i]=gc.first(e,t);t=i}else if("end"===o){var[,a]=gc.last(e,t);t=a}return cc.isRange(t)&&(t="start"===o?cc.start(t):"end"===o?cc.end(t):Yu.common(t.anchor.path,t.focus.path)),Sc.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},wp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return xc.pointRefs(e).delete(o),o.current=null,t}},i=xc.pointRefs(e);return i.add(o),o},xp=e=>{var t=Wu.get(e);return t||(t=new Set,Wu.set(e,t)),t},Dp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Yu.isPath(t)){var o;if("end"===r){var[,i]=gc.last(e,t);o=i}else{var[,a]=gc.first(e,t);o=a}var s=gc.get(e,o);if(!Ic.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(cc.isRange(t)){var[l,u]=cc.edges(t);return"start"===r?l:u}return t};function Cp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1,ignoreNonSelectable:a=!1}=t;if(n){var s=xc.range(e,n),[l,u]=cc.edges(s),c=o?u:l,d=!1,p="",h=0,f=0,m=0;for(var[g,v]of xc.nodes(e,{at:n,reverse:o,voids:i,ignoreNonSelectable:a})){if(pc.isElement(g)){if(!i&&(e.isVoid(g)||e.isElementReadOnly(g))){yield xc.start(e,v);continue}if(e.isInline(g))continue;if(xc.hasInlines(e,g)){var y=Yu.isAncestor(v,u.path)?u:xc.end(e,v),b=Yu.isAncestor(v,l.path)?l:xc.start(e,v);p=xc.string(e,{anchor:b,focus:y},{voids:i}),d=!0}}if(Ic.isText(g)){var w=Yu.equals(v,c.path);for(w?(f=o?c.offset:g.text.length-c.offset,m=c.offset):(f=g.text.length,m=o?f:0),(w||d||"offset"===r)&&(yield{path:v,offset:m},d=!1);;){if(0===h){if(""===p)break;h=x(p,r,o),p=Kc(p,h,o)[1]}if(m=o?m-h:m+h,(f-=h)<0){h=-f;break}h=0,yield{path:v,offset:m}}}}}function x(e,t,n){return"character"===t?Rc(e,n):"word"===t?Lc(e,n):"line"===t||"block"===t?e.length:1}}()}var Ep=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=xc.before(e,i,{voids:r});if(a){var[,s]=xc.first(e,[]),l=[a.path,s];if(Yu.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Yu.isPath(i)){var[u]=xc.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=xc.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return c}}},Sp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return xc.rangeRefs(e).delete(o),o.current=null,t}},i=xc.rangeRefs(e);return i.add(o),o},_p=e=>{var t=Xu.get(e);return t||(t=new Set,Xu.set(e,t)),t},Pp=(e,t,n)=>cc.isRange(t)&&!n?t:{anchor:xc.start(e,t),focus:xc.end(e,n||t)};function kp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ap=(e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!Ic.isText(t))return!1;var[r,o]=xc.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=cc.isExpanded(n),i=!1;if(!o){var[a,s]=xc.node(e,n);if(a&&r(a,s)){var[l]=xc.parent(e,s);i=l&&e.markableVoid(l)}}if(o||i)pd.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var u=function(e){for(var t=1;t{$u.set(e,t)},Tp=(e,t)=>xc.point(e,t,{edge:"start"}),Op=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=xc.range(e,t),[i,a]=cc.edges(o),s="";for(var[l,u]of xc.nodes(e,{at:o,match:Ic.isText,voids:r})){var c=l.text;Yu.equals(u,a.path)&&(c=c.slice(0,a.offset)),Yu.equals(u,i.path)&&(c=c.slice(i.offset)),s+=c}return s},Ip=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=cc.edges(t);if(0!==o.offset||0!==i.offset||cc.isCollapsed(t)||Yu.hasPrevious(i.path))return t;var a=xc.above(e,{at:i,match:t=>pc.isElement(t)&&xc.isBlock(e,t),voids:r}),s=a?a[1]:[],l=xc.start(e,o),u={anchor:l,focus:i},c=!0;for(var[d,p]of xc.nodes(e,{at:u,match:Ic.isText,reverse:!0,voids:r}))if(c)c=!1;else if(""!==d.text||Yu.isBefore(p,s)){i={path:p,offset:d.text.length};break}return{anchor:o,focus:i}},Fp=(e,t)=>{var n=xc.isNormalizing(e);xc.setNormalizing(e,!1);try{t()}finally{xc.setNormalizing(e,n)}xc.normalize(e)},Mp=(e,t,n)=>{var[r,o]=t;return pc.isElement(r)&&xc.isEmpty(e,r)||Ic.isText(r)&&""===r.text&&0!==o[o.length-1]},Rp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var n,r,{reverse:o=!1,unit:i="character",distance:a=1,voids:s=!1}=t,{at:l=e.selection,hanging:u=!1}=t;if(l){var c=!1;if(cc.isRange(l)&&cc.isCollapsed(l)&&(c=!0,l=l.anchor),Sc.isPoint(l)){var d=xc.void(e,{at:l,mode:"highest"});if(!s&&d){var[,p]=d;l=p}else{var h={unit:i,distance:a};l={anchor:l,focus:o?xc.before(e,l,h)||xc.start(e,[]):xc.after(e,l,h)||xc.end(e,[])},u=!0}}if(Yu.isPath(l))pd.removeNodes(e,{at:l,voids:s});else if(!cc.isCollapsed(l)){if(!u){var[,f]=cc.edges(l),m=xc.end(e,[]);Sc.equals(f,m)||(l=xc.unhangRange(e,l,{voids:s}))}var[g,v]=cc.edges(l),y=xc.above(e,{match:t=>pc.isElement(t)&&xc.isBlock(e,t),at:g,voids:s}),b=xc.above(e,{match:t=>pc.isElement(t)&&xc.isBlock(e,t),at:v,voids:s}),w=y&&b&&!Yu.equals(y[1],b[1]),x=Yu.equals(g.path,v.path),D=s?null:null!==(n=xc.void(e,{at:g,mode:"highest"}))&&void 0!==n?n:xc.elementReadOnly(e,{at:g,mode:"highest"}),C=s?null:null!==(r=xc.void(e,{at:v,mode:"highest"}))&&void 0!==r?r:xc.elementReadOnly(e,{at:v,mode:"highest"});if(D){var E=xc.before(e,g);E&&y&&Yu.isAncestor(y[1],E.path)&&(g=E)}if(C){var S=xc.after(e,v);S&&b&&Yu.isAncestor(b[1],S.path)&&(v=S)}var _,P=[];for(var k of xc.nodes(e,{at:l,voids:s})){var[A,z]=k;_&&0===Yu.compare(z,_)||(!s&&pc.isElement(A)&&(xc.isVoid(e,A)||xc.isElementReadOnly(e,A))||!Yu.isCommon(z,g.path)&&!Yu.isCommon(z,v.path))&&(P.push(k),_=z)}var T=Array.from(P,(t=>{var[,n]=t;return xc.pathRef(e,n)})),O=xc.pointRef(e,g),I=xc.pointRef(e,v),F="";if(!x&&!D){var M=O.current,[R]=xc.leaf(e,M),{path:j}=M,{offset:B}=g,N=R.text.slice(B);N.length>0&&(e.apply({type:"remove_text",path:j,offset:B,text:N}),F=N)}if(T.reverse().map((e=>e.unref())).filter((e=>null!==e)).forEach((t=>pd.removeNodes(e,{at:t,voids:s}))),!C){var L=I.current,[K]=xc.leaf(e,L),{path:V}=L,q=x?g.offset:0,H=K.text.slice(q,v.offset);H.length>0&&(e.apply({type:"remove_text",path:V,offset:q,text:H}),F=H)}!x&&w&&I.current&&O.current&&pd.mergeNodes(e,{at:I.current,hanging:!0,voids:s}),c&&o&&"character"===i&&F.length>1&&F.match(/[\u0E00-\u0E7F]+/)&&pd.insertText(e,F.slice(0,F.length-a));var Z=O.unref(),U=I.unref(),$=o?Z||U:U||Z;null==t.at&&$&&pd.select(e,$)}}}))},jp=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};xc.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=Fc(e),batchDirty:a=!0}=n;if(t.length){if(cc.isRange(i))if(r||(i=xc.unhangRange(e,i,{voids:o})),cc.isCollapsed(i))i=i.anchor;else{var[,s]=cc.edges(i);if(!o&&xc.void(e,{at:s}))return;var l=xc.pointRef(e,s);pd.delete(e,{at:i}),i=l.unref()}else Yu.isPath(i)&&(i=xc.start(e,i));if(o||!xc.void(e,{at:i})){var u=xc.above(e,{at:i,match:t=>pc.isElement(t)&&xc.isInline(e,t),mode:"highest",voids:o});if(u){var[,c]=u;if(xc.isEnd(e,i,c))i=xc.after(e,c);else if(xc.isStart(e,i,c)){i=xc.before(e,c)}}var d=xc.above(e,{match:t=>pc.isElement(t)&&xc.isBlock(e,t),at:i,voids:o}),[,p]=d,h=xc.isStart(e,i,p),f=xc.isEnd(e,i,p),m=h&&f,g=!h||h&&f,v=!f,[,y]=gc.first({children:t},[]),[,b]=gc.last({children:t},[]),w=[],x=t=>{var[n,r]=t;return!(0===r.length)&&(!!m||!(g&&Yu.isAncestor(r,y)&&pc.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(v&&Yu.isAncestor(r,b)&&pc.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var D of gc.nodes({children:t},{pass:x}))x(D)&&w.push(D);var C=[],E=[],S=[],_=!0,P=!1;for(var[k]of w)pc.isElement(k)&&!e.isInline(k)?(_=!1,P=!0,E.push(k)):_?C.push(k):S.push(k);var[A]=xc.nodes(e,{at:i,match:t=>Ic.isText(t)||xc.isInline(e,t),mode:"highest",voids:o}),[,z]=A,T=xc.isStart(e,i,z),O=xc.isEnd(e,i,z),I=xc.pathRef(e,f&&!S.length?Yu.next(p):p),F=xc.pathRef(e,O?Yu.next(z):z);pd.splitNodes(e,{at:i,match:t=>P?pc.isElement(t)&&xc.isBlock(e,t):Ic.isText(t)||xc.isInline(e,t),mode:P?"lowest":"highest",always:P&&(!h||C.length>0)&&(!f||S.length>0),voids:o});var M,R=xc.pathRef(e,!T||T&&O?Yu.next(z):z);if(pd.insertNodes(e,C,{at:R.current,match:t=>Ic.isText(t)||xc.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),m&&!C.length&&E.length&&!S.length&&pd.delete(e,{at:p,voids:o}),pd.insertNodes(e,E,{at:I.current,match:t=>pc.isElement(t)&&xc.isBlock(e,t),mode:"lowest",voids:o,batchDirty:a}),pd.insertNodes(e,S,{at:F.current,match:t=>Ic.isText(t)||xc.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),!n.at)if(S.length>0&&F.current?M=Yu.previous(F.current):E.length>0&&I.current?M=Yu.previous(I.current):R.current&&(M=Yu.previous(R.current)),M){var j=xc.end(e,M);pd.select(e,j)}R.unref(),I.unref(),F.unref()}}}))},Bp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)pd.select(e,r.anchor);else if("focus"===n)pd.select(e,r.focus);else if("start"===n){var[o]=cc.edges(r);pd.select(e,o)}else if("end"===n){var[,i]=cc.edges(r);pd.select(e,i)}},Np=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},Lp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=cc.isBackward(n)?"focus":"anchor"),"end"===a&&(a=cc.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,u={distance:r,unit:o,ignoreNonSelectable:!0},c={};if(null==a||"anchor"===a){var d=i?xc.before(e,s,u):xc.after(e,s,u);d&&(c.anchor=d)}if(null==a||"focus"===a){var p=i?xc.before(e,l,u):xc.after(e,l,u);p&&(c.focus=p)}pd.setSelection(e,c)}},Kp=(e,t)=>{var{selection:n}=e;if(t=xc.range(e,t),n)pd.setSelection(e,t);else{if(!cc.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(Pc.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}};function Vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qp(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=cc.isBackward(r)?"focus":"anchor"),"end"===o&&(o=cc.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;pd.setSelection(e,{["anchor"===o?"anchor":"focus"]:qp(qp({},s),t)})}},Zp=(e,t)=>{var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!Sc.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!Sc.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}},Up=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};xc.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest",batchDirty:a=!0}=n,{at:s,match:l,select:u}=n;if(gc.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(s||(s=Fc(e),!1!==u&&(u=!0)),null==u&&(u=!1),cc.isRange(s))if(r||(s=xc.unhangRange(e,s,{voids:o})),cc.isCollapsed(s))s=s.anchor;else{var[,d]=cc.edges(s),p=xc.pointRef(e,d);pd.delete(e,{at:s}),s=p.unref()}if(Sc.isPoint(s)){null==l&&(l=Ic.isText(c)?e=>Ic.isText(e):e.isInline(c)?t=>Ic.isText(t)||xc.isInline(e,t):t=>pc.isElement(t)&&xc.isBlock(e,t));var[h]=xc.nodes(e,{at:s.path,match:l,mode:i,voids:o});if(!h)return;var[,f]=h,m=xc.pathRef(e,f),g=xc.isEnd(e,s,f);pd.splitNodes(e,{at:s,match:l,mode:i,voids:o});var v=m.unref();s=g?Yu.next(v):v}var y=Yu.parent(s),b=s[s.length-1];if(o||!xc.void(e,{at:y})){if(a){var w=[],x=Yu.levels(y);fd(e,(()=>{var n=function(){var t=y.concat(b);b++;var n={type:"insert_node",path:t,node:r};e.apply(n),s=Yu.next(s),w.push(n),Ic.isText?x.push(...Array.from(gc.nodes(r),(e=>{var[,n]=e;return t.concat(n)}))):x.push(t)};for(var r of t)n()}),(()=>{md(e,x,(e=>{var t=e;for(var n of w)if(Yu.operationCanTransformPath(n)&&!(t=Yu.transform(t,n)))return null;return t}))}))}else for(var D of t){var C=y.concat(b);b++,e.apply({type:"insert_node",path:C,node:D}),s=Yu.next(s)}if(s=Yu.previous(s),u){var E=xc.end(e,s);E&&pd.select(e,E)}}}}))},$p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Yu.isPath(n)?Mc(e,n):t=>pc.isElement(t)&&xc.isBlock(e,t)),n){var a=xc.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,(t=>{var[,n]=t;return xc.pathRef(e,n)}));for(var l of s){var u=l.unref();if(u.length<2)throw new Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var c=xc.node(e,Yu.parent(u)),[d,p]=c,h=u[u.length-1],{length:f}=d.children;if(1===f){var m=Yu.next(p);pd.moveNodes(e,{at:u,to:m,voids:o}),pd.removeNodes(e,{at:p,voids:o})}else if(0===h)pd.moveNodes(e,{at:u,to:p,voids:o});else if(h===f-1){var g=Yu.next(p);pd.moveNodes(e,{at:u,to:g,voids:o})}else{var v=Yu.next(u),y=Yu.next(p);pd.splitNodes(e,{at:v,voids:o}),pd.moveNodes(e,{at:u,to:y,voids:o})}}}}))},Gp=["text"],Wp=["children"],Xp=(e,t)=>{if(pc.isElement(t)){var n=t;return!!xc.isVoid(e,t)||1===n.children.length&&Xp(e,n.children[0])}return!xc.isEditor(t)},Yp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(Yu.isPath(r)){var[s]=xc.parent(e,r);n=e=>s.children.includes(e)}else n=t=>pc.isElement(t)&&xc.isBlock(e,t);if(!o&&cc.isRange(r)&&(r=xc.unhangRange(e,r,{voids:i})),cc.isRange(r))if(cc.isCollapsed(r))r=r.anchor;else{var[,l]=cc.edges(r),u=xc.pointRef(e,l);pd.delete(e,{at:r}),r=u.unref(),null==t.at&&pd.select(e,r)}var[c]=xc.nodes(e,{at:r,match:n,voids:i,mode:a}),d=xc.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&d){var[p,h]=c,[f,m]=d;if(0!==h.length&&0!==m.length){var g,v,y=Yu.next(m),b=Yu.common(h,m),w=Yu.isSibling(h,m),x=Array.from(xc.levels(e,{at:h}),(e=>{var[t]=e;return t})).slice(b.length).slice(0,-1),D=xc.above(e,{at:h,mode:"highest",match:t=>x.includes(t)&&Xp(e,t)}),C=D&&xc.pathRef(e,D[1]);if(Ic.isText(p)&&Ic.isText(f)){var E=sc(p,Gp);v=f.text.length,g=E}else{if(!pc.isElement(p)||!pc.isElement(f))throw new Error("Cannot merge the node at path [".concat(h,"] with the previous sibling because it is not the same kind: ").concat(Pc.stringify(p)," ").concat(Pc.stringify(f)));E=sc(p,Wp);v=f.children.length,g=E}w||pd.moveNodes(e,{at:h,to:y,voids:i}),C&&pd.removeNodes(e,{at:C.current,voids:i}),xc.shouldMergeNodesRemovePrevNode(e,d,c)?pd.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:y,position:v,properties:g}),C&&C.unref()}}}}))},Qp=(e,t)=>{xc.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Yu.isPath(r)?Mc(e,r):t=>pc.isElement(t)&&xc.isBlock(e,t));var s=xc.pathRef(e,n),l=xc.nodes(e,{at:r,match:a,mode:o,voids:i}),u=Array.from(l,(t=>{var[,n]=t;return xc.pathRef(e,n)}));for(var c of u){var d=c.unref(),p=s.current;0!==d.length&&e.apply({type:"move_node",path:d,newPath:p}),s.current&&Yu.isSibling(p,d)&&Yu.isAfter(p,d)&&(s.current=Yu.next(s.current))}s.unref()}}))},Jp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Yu.isPath(i)?Mc(e,i):t=>pc.isElement(t)&&xc.isBlock(e,t)),!n&&cc.isRange(i)&&(i=xc.unhangRange(e,i,{voids:r}));var s=xc.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,(t=>{var[,n]=t;return xc.pathRef(e,n)}));for(var u of l){var c=u.unref();if(c){var[d]=xc.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}}))},eh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};xc.withoutNormalizing(e,(()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:l="lowest",split:u=!1,voids:c=!1}=n;if(o){if(null==r&&(r=Yu.isPath(o)?Mc(e,o):t=>pc.isElement(t)&&xc.isBlock(e,t)),!s&&cc.isRange(o)&&(o=xc.unhangRange(e,o,{voids:c})),u&&cc.isRange(o)){if(cc.isCollapsed(o)&&xc.leaf(e,o.anchor)[0].text.length>0)return;var d=xc.rangeRef(e,o,{affinity:"inward"}),[p,h]=cc.edges(o),f="lowest"===l?"lowest":"highest",m=xc.isEnd(e,h,h.path);pd.splitNodes(e,{at:h,match:r,mode:f,voids:c,always:!m});var g=xc.isStart(e,p,p.path);pd.splitNodes(e,{at:p,match:r,mode:f,voids:c,always:!g}),o=d.unref(),null==n.at&&pd.select(e,o)}for(var[v,y]of(i||(i=(e,t)=>e!==t),xc.nodes(e,{at:o,match:r,mode:l,voids:c}))){var b={},w={};if(0!==y.length){var x=!1;for(var D in t)"children"!==D&&"text"!==D&&i(t[D],v[D])&&(x=!0,v.hasOwnProperty(D)&&(b[D]=v[D]),a?null!=t[D]&&(w[D]=a(v[D],t[D])):null!=t[D]&&(w[D]=t[D]));x&&e.apply({type:"set_node",path:y,properties:b,newProperties:w})}}}}))},th=(e,t)=>{if(cc.isCollapsed(t))return t.anchor;var[,n]=cc.edges(t),r=xc.pointRef(e,n);return pd.delete(e,{at:t}),r.unref()},nh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>pc.isElement(t)&&xc.isBlock(e,t)),cc.isRange(i)&&(i=th(e,i)),Yu.isPath(i)){var l=i,u=xc.point(e,l),[c]=xc.parent(e,l);o=e=>e===c,a=u.path.length-l.length+1,i=u,s=!0}if(i){var d,p=xc.pointRef(e,i,{affinity:"backward"});try{var[h]=xc.nodes(e,{at:i,match:o,mode:n,voids:r});if(!h)return;var f=xc.void(e,{at:i,mode:"highest"});if(!r&&f){var[m,g]=f;if(pc.isElement(m)&&e.isInline(m)){var v=xc.after(e,g);if(!v){var y=Yu.next(g);pd.insertNodes(e,{text:""},{at:y,voids:r}),v=xc.point(e,y)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}d=xc.pointRef(e,i);var b=i.path.length-a,[,w]=h,x=i.path.slice(0,b),D=0===a?i.offset:i.path[b]+0;for(var[C,E]of xc.levels(e,{at:x,reverse:!0,voids:r})){var S=!1;if(E.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;pd.setNodes(e,r,n)},oh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc.withoutNormalizing(e,(()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Yu.isPath(i)?Mc(e,i):t=>pc.isElement(t)&&xc.isBlock(e,t)),Yu.isPath(i)&&(i=xc.range(e,i));var s=cc.isRange(i)?xc.rangeRef(e,i):null,l=xc.nodes(e,{at:i,match:a,mode:n,voids:o}),u=Array.from(l,(t=>{var[,n]=t;return xc.pathRef(e,n)})).reverse(),c=function(){var t=d.unref(),[n]=xc.node(e,t),i=xc.range(e,t);r&&s&&(i=cc.intersection(s.current,i)),pd.liftNodes(e,{at:i,match:e=>pc.isAncestor(n)&&n.children.includes(e),voids:o})};for(var d of u)c();s&&s.unref()}}))};function ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ah(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};xc.withoutNormalizing(e,(()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=Yu.isPath(s)?Mc(e,s):e.isInline(t)?t=>pc.isElement(t)&&xc.isInline(e,t)||Ic.isText(t):t=>pc.isElement(t)&&xc.isBlock(e,t)),o&&cc.isRange(s)){var[l,u]=cc.edges(s),c=xc.rangeRef(e,s,{affinity:"inward"});pd.splitNodes(e,{at:u,match:a,voids:i}),pd.splitNodes(e,{at:l,match:a,voids:i}),s=c.unref(),null==n.at&&pd.select(e,s)}var d=Array.from(xc.nodes(e,{at:s,match:e.isInline(t)?t=>pc.isElement(t)&&xc.isBlock(e,t):e=>xc.isEditor(e),mode:"lowest",voids:i})),p=function(){var n=cc.isRange(s)?cc.intersection(s,xc.range(e,h)):s;if(!n)return 0;var o=Array.from(xc.nodes(e,{at:n,match:a,mode:r,voids:i}));if(o.length>0){var[l]=o,u=o[o.length-1],[,c]=l,[,d]=u;if(0===c.length&&0===d.length)return 0;var p=Yu.equals(c,d)?Yu.parent(c):Yu.common(c,d),f=xc.range(e,c,d),m=xc.node(e,p),[g]=m,v=p.length+1,y=Yu.next(d.slice(0,v)),b=ah(ah({},t),{},{children:[]});pd.insertNodes(e,b,{at:y,voids:i}),pd.moveNodes(e,{at:f,match:e=>pc.isAncestor(g)&&g.children.includes(e),to:y.concat(0),voids:i})}};for(var[,h]of d)p()}}))},lh=n(6907),uh=n.n(lh),ch=n(23279),dh=n.n(ch),ph=n(23493),hh=n.n(ph);const fh=e=>"object"==typeof e&&null!=e&&1===e.nodeType,mh=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,gh=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&s>=n?i-e-r:a>t&&sn?a-t+o:0,yh=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},bh=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!fh(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let f=e;for(;fh(f)&&d(f);){if(f=yh(f),f===p){h.push(f);break}null!=f&&f===document.body&&gh(f)&&!gh(document.documentElement)||null!=f&&gh(f,c)&&h.push(f)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:y}=window,{height:b,width:w,top:x,right:D,bottom:C,left:E}=e.getBoundingClientRect(),{top:S,right:_,bottom:P,left:k}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let A="start"===s||"nearest"===s?x-S:"end"===s?C+P:x+b/2-S+P,z="center"===l?E+w/2-k+_:"end"===l?D+_:E-k;const T=[];for(let e=0;e=0&&E>=0&&C<=g&&D<=m&&x>=o&&C<=u&&E>=c&&D<=i)return T;const d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),S=parseInt(d.borderTopWidth,10),_=parseInt(d.borderRightWidth,10),P=parseInt(d.borderBottomWidth,10);let k=0,O=0;const I="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-_:0,F="offsetHeight"in t?t.offsetHeight-t.clientHeight-S-P:0,M="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)k="start"===s?A:"end"===s?A-g:"nearest"===s?vh(y,y+g,g,S,P,y+A,y+A+b,b):A-g/2,O="start"===l?z:"center"===l?z-m/2:"end"===l?z-m:vh(v,v+m,m,f,_,v+z,v+z+w,w),k=Math.max(0,k+y),O=Math.max(0,O+v);else{k="start"===s?A-o-S:"end"===s?A-u+P+F:"nearest"===s?vh(o,u,n,S,P+F,A,A+b,b):A-(o+n/2)+F/2,O="start"===l?z-c-f:"center"===l?z-(c+r/2)+I/2:"end"===l?z-i+_+I:vh(c,i,r,f,_+I,z,z+w,w);const{scrollLeft:e,scrollTop:a}=t;k=0===R?0:Math.max(0,Math.min(a+k/R,t.scrollHeight-n/R+F)),O=0===M?0:Math.max(0,Math.min(e+O/M,t.scrollWidth-r/M+I)),A+=a-k,z+=e-O}T.push({el:t,top:k,left:O})}return T};function wh(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(bh(e,t));const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of bh(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t))){const e=i-n.top+n.bottom,t=a-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}var xh=n(86254),Dh=n(2805);function Ch(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Eh(e){return Eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Eh(e)}function Sh(e){var t=function(e,t){if("object"!==Eh(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Eh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Eh(t)?t:String(t)}function _h(e,t,n){return(t=Sh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ph=(0,s.createContext)(null),kh=()=>{var e=(0,s.useContext)(Ph);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the component's context.");return e},Ah=parseInt(s.version.split(".")[0],10),zh="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Th="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),Oh="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),Ih="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Fh="undefined"!=typeof navigator&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),Mh="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),Rh="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),jh="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),Bh=Oh&&"undefined"!=typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),Nh="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),Lh="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),Kh="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),Vh=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),qh=(!jh||!Bh)&&!Mh&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,Hh=new WeakMap,Zh=new WeakMap,Uh=new WeakMap,$h=new WeakMap,Gh=new WeakMap,Wh=new WeakMap,Xh=new WeakMap,Yh=new WeakMap,Qh=new WeakMap,Jh=new WeakMap,ef=new WeakMap,tf=new WeakMap,nf=new WeakMap,rf=new WeakMap,of=new WeakMap,af=new WeakMap,sf=new WeakMap,lf=new WeakMap,uf=new WeakMap,cf=new WeakMap,df=new WeakMap,pf=Symbol("placeholder"),hf=Symbol("mark-placeholder"),ff=globalThis.Text,mf=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,gf=e=>vf(e)&&1===e.nodeType,vf=e=>{var t=mf(e);return!!t&&e instanceof t.Node},yf=e=>{var t=e&&e.anchorNode&&mf(e.anchorNode);return!!t&&e instanceof t.Selection},bf=e=>vf(e)&&3===e.nodeType,wf=(e,t,n)=>{for(var r,{childNodes:o}=e,i=o[t],a=t,s=!1,l=!1;(vf(r=i)&&8===r.nodeType||gf(i)&&0===i.childNodes.length||gf(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!l);)a>=o.length?(s=!0,a=t-1,n="backward"):a<0?(l=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},xf=(e,t,n)=>{var[r]=wf(e,t,n);return r},Df=e=>{var t="";if(bf(e)&&e.nodeValue)return e.nodeValue;if(gf(e)){for(var n of Array.from(e.childNodes))t+=Df(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},Cf=/data-slate-fragment="(.+?)"/m,Ef=e=>{var t=e.getData("text/html"),[,n]=t.match(Cf)||[];return n},Sf=(e,t,n)=>{var{target:r}=t;if(gf(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:o}=kf.getWindow(e);if(o.contains(r))return kf.hasDOMNode(e,r,{editable:!0});var i=n.find((e=>{var{addedNodes:t,removedNodes:n}=e;for(var o of t)if(o===r||o.contains(r))return!0;for(var i of n)if(i===r||i.contains(r))return!0}));return!(!i||i===t)&&Sf(e,i,n)},_f=0;class Pf{constructor(){_h(this,"id",void 0),this.id="".concat(_f++)}}var kf={androidPendingDiffs:e=>lf.get(e),androidScheduleFlush:e=>{var t;null===(t=of.get(e))||void 0===t||t()},blur:e=>{var t=kf.toDOMNode(e,e),n=kf.findDocumentOrShadowRoot(e);ef.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=kf.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&pd.deselect(e)},findDocumentOrShadowRoot:e=>{var t=kf.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:o}=t;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var i,a=kf.toSlateNode(e,t.target),s=kf.findPath(e,a);if(pc.isElement(a)&&xc.isVoid(e,a)){var l=o.getBoundingClientRect(),u=e.isInline(a)?n-l.left{var n=Yh.get(t);return n||(n=new Pf,Yh.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var o=Zh.get(r);if(null==o){if(xc.isEditor(r))return n;break}var i=Hh.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(Pc.stringify(t)))},focus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{retries:5};if(!ef.get(e)){if(t.retries<=0)throw new Error("Could not set focus, editor seems stuck with pending operations");if(e.operations.length>0)setTimeout((()=>{kf.focus(e,{retries:t.retries-1})}),10);else{var n=kf.toDOMNode(e,e),r=kf.findDocumentOrShadowRoot(e);if(r.activeElement!==n){if(e.selection&&r instanceof Document){var o=r.getSelection(),i=kf.toDOMRange(e,e.selection);null==o||o.removeAllRanges(),null==o||o.addRange(i)}e.selection||(pd.select(e,xc.start(e,[])),e.onChange()),ef.set(e,!0),n.focus({preventScroll:!0})}}}},getWindow:e=>{var t=Uh.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=kf.toDOMNode(e,e);try{n=gf(t)?t:t.parentElement}catch(e){if(e instanceof Error&&!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!n&&!(n.closest("[data-slate-editor]")!==i||o&&!n.isContentEditable&&("boolean"!=typeof n.isContentEditable||n.closest('[contenteditable="false"]')!==i)&&!n.getAttribute("data-slate-zero-width"))},hasEditableTarget:(e,t)=>vf(t)&&kf.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>{var{anchor:n,focus:r}=t;return xc.hasPath(e,n.path)&&xc.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>kf.hasEditableTarget(e,t)||kf.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>vf(t)&&kf.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!tf.get(e),isFocused:e=>!!ef.get(e),isReadOnly:e=>!!Jh.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(Jh.get(e))return!1;var n=kf.hasTarget(e,t)&&kf.toSlateNode(e,t);return pc.isElement(n)&&xc.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=Qh.get(e),r=xc.isEditor(t)?$h.get(e):null==n?void 0:n.get(kf.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(Pc.stringify(t)));return r},toDOMPoint:(e,t)=>{var n,[r]=xc.node(e,t.path),o=kf.toDOMNode(e,r);xc.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0,s=0;s{var{anchor:n,focus:r}=t,o=cc.isBackward(t),i=kf.toDOMPoint(e,n),a=cc.isCollapsed(t)?i:kf.toDOMPoint(e,r),s=kf.getWindow(e).document.createRange(),[l,u]=o?a:i,[c,d]=o?i:a,p=!!(gf(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),h=!!(gf(c)?c:c.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,p?1:u),s.setEnd(c,h?1:d),s},toSlateNode:(e,t)=>{var n=gf(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Wh.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:o}=n,[i,a]=r?t:(e=>{var[t,n]=e;if(gf(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=wf(t,o,r?"backward":"forward"),r=o{Oh&&!r&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\ufeff"!==e.textContext?e.textContent.startsWith("\ufeff")&&(e.textContent=e.textContent.slice(1)):e.parentNode.removeChild(e)})),u=y.textContent.length,g=l}}else if(f){for(var b=f.querySelectorAll("[data-slate-leaf]"),w=0;w{u-=e.textContent.length}))):u=1}g&&u===g.textContent.length&&Oh&&"z"===g.getAttribute("data-slate-zero-width")&&null!==(c=g.textContent)&&void 0!==c&&c.startsWith("\ufeff")&&(s.hasAttribute("data-slate-zero-width")||Ih&&null!==(d=g.textContent)&&void 0!==d&&d.endsWith("\n\n"))&&u--}if(Oh&&!l&&!r){var D=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(D&&kf.hasDOMNode(e,D,{editable:!0})){var C=kf.toSlateNode(e,D),{path:E,offset:S}=xc.start(e,kf.findPath(e,C));return D.querySelector("[data-slate-leaf]")||(S=a),{path:E,offset:S}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var _=kf.toSlateNode(e,l);return{path:kf.findPath(e,_),offset:u}},toSlateRange:(e,t,n)=>{var r,o,i,a,s,l,u,{exactMatch:c,suppressThrow:d}=n;if(yf(t)?t.anchorNode:t.startContainer)if(yf(t)){if(Ih&&t.rangeCount>1){a=t.focusNode;var p=t.getRangeAt(0),h=t.getRangeAt(t.rangeCount-1);if(a instanceof HTMLTableRowElement&&p.startContainer instanceof HTMLTableRowElement&&h.startContainer instanceof HTMLTableRowElement){function x(e){return e.childElementCount>0?x(e.children[0]):e}var f=p.startContainer,m=h.startContainer,g=x(f.children[p.startOffset]),v=x(m.children[h.startOffset]);s=0,o=v.childNodes.length>0?v.childNodes[0]:v,a=g.childNodes.length>0?g.childNodes[0]:g,i=v instanceof HTMLElement?v.innerHTML.length:0}else p.startContainer===a?(o=h.endContainer,i=h.endOffset,s=p.startOffset):(o=p.startContainer,i=p.endOffset,s=h.startOffset)}else o=t.anchorNode,i=t.anchorOffset,a=t.focusNode,s=t.focusOffset;l=Rh&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(o)||Ih?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else o=t.startContainer,i=t.startOffset,a=t.endContainer,s=t.endOffset,l=t.collapsed;if(null==o||null==a||null==i||null==s)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));(Ih&&null!==(r=a.textContent)&&void 0!==r&&r.endsWith("\n\n")&&s===a.textContent.length&&s--,"getAttribute"in a&&"false"===a.getAttribute("contenteditable")&&"true"!==a.getAttribute("data-slate-void"))&&(a=o,s=(null===(u=o.textContent)||void 0===u?void 0:u.length)||0);var y=kf.toSlatePoint(e,[o,i],{exactMatch:c,suppressThrow:d});if(!y)return null;var b=l?y:kf.toSlatePoint(e,[a,s],{exactMatch:c,suppressThrow:d});if(!b)return null;var w={anchor:y,focus:b};return cc.isExpanded(w)&&cc.isForward(w)&&gf(a)&&xc.void(e,{at:w.focus,mode:"highest"})&&(w=xc.unhangRange(e,w,{voids:!0})),w}};function Af(e,t){var{path:n,diff:r}=t;if(!xc.hasPath(e,n))return!1;var o=gc.get(e,n);if(!Ic.isText(o))return!1;if(r.start!==o.text.length||0===r.text.length)return o.text.slice(r.start,r.start+r.text.length)===r.text;var i=Yu.next(n);if(!xc.hasPath(e,i))return!1;var a=gc.get(e,i);return Ic.isText(a)&&a.text.startsWith(r.text)}function zf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re.slice(0,t.start)+t.text+e.slice(t.end)),e)}function Tf(e,t){var{start:n,end:r,text:o}=t,i=e.slice(n,r),a=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rpc.isElement(t)&&xc.isBlock(e,t),at:n});if(!i)return null;for(;r>o.text.length;){var a=xc.next(e,{at:n,match:Ic.isText});if(!a||!Yu.isDescendant(a[1],i[1]))return null;r-=o.text.length,o=a[0],n=a[1]}return{path:n,offset:r}}function Ff(e,t){var n=If(e,t.anchor);if(!n)return null;if(cc.isCollapsed(t))return{anchor:n,focus:n};var r=If(e,t.focus);return r?{anchor:n,focus:r}:null}function Mf(e,t,n){var r=lf.get(e),o=null==r?void 0:r.find((e=>{var{path:n}=e;return Yu.equals(n,t.path)}));if(!o||t.offset<=o.diff.start)return Sc.transform(t,n,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var a={path:t.path,offset:i.start},s=Sc.transform(a,n,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},u=Sc.transform(l,n,{affinity:"backward"});return u?"split_node"===n.type&&Yu.equals(n.path,t.path)&&l.offset=r.end?e:t.offset<=r.start?{diff:{start:t.text.length+r.start,end:t.text.length+r.end,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end+t.text.length,text:r.text},id:o,path:n};case"remove_text":return!Yu.equals(t.path,n)||t.offset>=r.end?e:t.offset+t.text.length<=r.start?{diff:{start:r.start-t.text.length,end:r.end-t.text.length,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end-t.text.length,text:r.text},id:o,path:n};case"split_node":return!Yu.equals(t.path,n)||t.position>=r.end?{diff:r,id:o,path:Yu.transform(n,t,{affinity:"backward"})}:t.position>r.start?{diff:{start:r.start,end:Math.min(t.position,r.end),text:r.text},id:o,path:n}:{diff:{start:r.start-t.position,end:r.end-t.position,text:r.text},id:o,path:Yu.transform(n,t,{affinity:"forward"})};case"merge_node":return Yu.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:o,path:Yu.transform(n,t)}:{diff:r,id:o,path:Yu.transform(n,t)}}var i=Yu.transform(n,t);return i?{diff:r,path:i,id:o}:null}function Bf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nf(e){for(var t=1;t{var e=cf.get(t);if(cf.delete(t),e){var{selection:n}=t,r=Ff(t,e);!r||n&&cc.equals(r,n)||pd.select(t,r)}},d=()=>{if(a&&(clearTimeout(a),a=null),s&&(clearTimeout(s),s=null),g()||m()){o||(o=!0,setTimeout((()=>o=!1))),m()&&(o="action");var e=t.selection&&xc.rangeRef(t,t.selection,{affinity:"forward"});sf.set(t,t.marks),uf.get(t),lf.get(t);for(var i,l=g();i=null===(d=lf.get(t))||void 0===d?void 0:d[0];){var d,p,h=af.get(t);void 0!==h&&(af.delete(t),t.marks=h),h&&!1===u&&(u=null);var f=Of(i);t.selection&&cc.equals(t.selection,f)||pd.select(t,f),i.diff.text?xc.insertText(t,i.diff.text):xc.deleteFragment(t),lf.set(t,null===(p=lf.get(t))||void 0===p?void 0:p.filter((e=>{var{id:t}=e;return t!==i.id}))),Af(t,i)||(l=!1,uf.delete(t),sf.delete(t),o="action",cf.delete(t),n.cancel(),r.cancel(),null==e||e.unref())}var v=null==e?void 0:e.unref();if(!v||cf.get(t)||t.selection&&cc.equals(v,t.selection)||pd.select(t,v),m())(()=>{var e=uf.get(t);if(uf.delete(t),e){if(e.at){var n=Sc.isPoint(e.at)?If(t,e.at):Ff(t,e.at);if(!n)return;var r=xc.range(t,n);t.selection&&cc.equals(t.selection,r)||pd.select(t,n)}e.run()}})();else{l&&n(),n.flush(),r.flush(),c();var y=sf.get(t);sf.delete(t),void 0!==y&&(t.marks=y,t.onChange())}}else c()},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Gh.get(t);n&&(g()||e?n.style.display="none":n.style.removeProperty("display"))},h=(e,n)=>{var r,o=null!==(r=lf.get(t))&&void 0!==r?r:[];lf.set(t,o);var i=gc.leaf(t,e),a=o.findIndex((t=>Yu.equals(t.path,e)));if(a<0)return Tf(i.text,n)&&o.push({path:e,diff:n,id:l++}),void p();var s=function(e,t,n){var r=Math.min(t.start,n.start),o=Math.max(0,Math.min(t.start+t.text.length,n.end)-n.start),i=zf(e,t,n),a=Math.max(n.start+n.text.length,t.start+t.text.length+(t.start+t.text.length>n.start?n.text.length:0)-o),s=i.slice(r,a);return Tf(e,{start:r,end:Math.max(t.end,n.end-t.text.length+(t.end-t.start)),text:s})}(i.text,o[a].diff,n);if(!s)return o.splice(a,1),void p();o[a]=Nf(Nf({},o[a]),{},{diff:s})},f=function(e){var{at:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u=!1,cf.delete(t),n.cancel(),r.cancel(),m()&&d(),uf.set(t,{at:o,run:e}),s=setTimeout(d)},m=()=>!!uf.get(t),g=()=>{var e;return!(null===(e=lf.get(t))||void 0===e||!e.length)},v=e=>{cf.set(t,e),a&&(clearTimeout(a),a=null);var{selection:n}=t;if(e){var r=!n||!Yu.equals(n.anchor.path,e.anchor.path),o=!n||!Yu.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&u||o)&&(u=!1),(r||g())&&(a=setTimeout(d,200))}},y=()=>{m()||(s=setTimeout(d))};return{flush:d,scheduleFlush:y,hasPendingDiffs:g,hasPendingAction:m,hasPendingChanges:()=>m()||g(),isFlushing:()=>o,handleUserSelect:v,handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout((()=>{tf.set(t,!1),d()}),25)},handleCompositionStart:e=>{tf.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var n;a&&(clearTimeout(a),a=null);var{inputType:r}=e,o=null,i=e.dataTransfer||e.data||void 0;!1!==u&&"insertText"!==r&&"insertCompositionText"!==r&&(u=!1);var[s]=e.getTargetRanges();s&&(o=kf.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var l=kf.getWindow(t).getSelection();if(!o&&l&&(s=l,o=kf.toSlateRange(t,l,{exactMatch:!1,suppressThrow:!0})),o=null!==(n=o)&&void 0!==n?n:t.selection){var c,d=!0;if(r.startsWith("delete")){if(cc.isExpanded(o)){var[p,m]=cc.edges(o);if(gc.leaf(t,p.path).text.length===p.offset&&0===m.offset){var g=xc.next(t,{at:p.path,match:Ic.isText});g&&Yu.equals(g[1],m.path)&&(o={anchor:m,focus:m})}}var b=r.endsWith("Backward")?"backward":"forward",[w,x]=cc.edges(o),[D,C]=xc.leaf(t,w.path),E={text:"",start:w.offset,end:x.offset},S=lf.get(t),_=null==S?void 0:S.find((e=>Yu.equals(e.path,C))),P=_?[_.diff,E]:[E];if(0===zf(D.text,...P).length&&(d=!1),cc.isExpanded(o)){if(d&&Yu.equals(o.anchor.path,o.focus.path)){var k={path:o.anchor.path,offset:w.offset},A=xc.range(t,k,k);return v(A),h(o.anchor.path,{text:"",end:x.offset,start:w.offset})}return f((()=>xc.deleteFragment(t,{direction:b})),{at:o})}}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return f((()=>xc.deleteFragment(t)),{at:o});case"deleteContent":case"deleteContentForward":var{anchor:z}=o;if(d&&cc.isCollapsed(o)){var T=gc.leaf(t,z.path);if(z.offsetxc.deleteForward(t)),{at:o});case"deleteContentBackward":var O,{anchor:I}=o,F=yf(s)?s.isCollapsed:!(null===(O=s)||void 0===O||!O.collapsed);return d&&F&&cc.isCollapsed(o)&&I.offset>0?h(I.path,{text:"",start:I.offset-1,end:I.offset}):f((()=>xc.deleteBackward(t)),{at:o});case"deleteEntireSoftLine":return f((()=>{xc.deleteBackward(t,{unit:"line"}),xc.deleteForward(t,{unit:"line"})}),{at:o});case"deleteHardLineBackward":return f((()=>xc.deleteBackward(t,{unit:"block"})),{at:o});case"deleteSoftLineBackward":return f((()=>xc.deleteBackward(t,{unit:"line"})),{at:o});case"deleteHardLineForward":return f((()=>xc.deleteForward(t,{unit:"block"})),{at:o});case"deleteSoftLineForward":return f((()=>xc.deleteForward(t,{unit:"line"})),{at:o});case"deleteWordBackward":return f((()=>xc.deleteBackward(t,{unit:"word"})),{at:o});case"deleteWordForward":return f((()=>xc.deleteForward(t,{unit:"word"})),{at:o});case"insertLineBreak":return f((()=>xc.insertSoftBreak(t)),{at:o});case"insertParagraph":return f((()=>xc.insertBreak(t)),{at:o});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null==(c=i)?void 0:c.constructor.name))return f((()=>kf.insertData(t,i)),{at:o});var M=null!=i?i:"";if(af.get(t)&&(M=M.replace("\ufeff","")),"insertText"===r&&/.*\n.*\n$/.test(M)&&(M=M.slice(0,-1)),M.includes("\n"))return f((()=>{var e=M.split("\n");e.forEach(((n,r)=>{n&&xc.insertText(t,n),r!==e.length-1&&xc.insertSoftBreak(t)}))}),{at:o});if(Yu.equals(o.anchor.path,o.focus.path)){var[R,j]=cc.edges(o),B={start:R.offset,end:j.offset,text:M};if(M&&u&&"insertCompositionText"===r){var N=u.start+u.text.search(/\S|$/);B.start+B.text.search(/\S|$/)===N+1&&B.end===u.start+u.text.length?(B.start-=1,u=null,y()):u=!1}else u="insertText"===r&&(null===u?B:!(!u||!cc.isCollapsed(o)||u.end+u.text.length!==R.offset)&&Nf(Nf({},u),{},{text:u.text+M}));if(d)return void h(R.path,B)}return f((()=>xc.insertText(t,M)),{at:o})}}},handleKeyDown:e=>{g()||(p(!0),setTimeout(p))},handleDomMutations:e=>{var n;g()||m()||e.some((n=>Sf(t,n,e)))&&(null===(n=df.get(t))||void 0===n||n())},handleInput:()=>{!m()&&g()||d()}}}var Kf=Vh?s.useLayoutEffect:s.useEffect;var Vf=["node"];function qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Hf={subtree:!0,childList:!0,characterData:!0},Zf=Oh?e=>{var{node:t}=e,n=Ch(e,Vf);if(!Oh)return null;var r,o=kh(),i=(r=(0,s.useRef)(!1),(0,s.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[]),r.current),[a]=(0,s.useState)((()=>Lf(function(e){for(var t=1;tnew MutationObserver(t)));Kf((()=>{r.takeRecords()})),(0,s.useEffect)((()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return r.observe(e.current,n),()=>r.disconnect()}),[r,e,n])}(t,a.handleDomMutations,Hf),of.set(o,a.scheduleFlush),i&&a.flush(),a}:()=>null,Uf=["anchor","focus"],$f=["anchor","focus"],Gf=(e,t)=>{var n,r,o=Ch(e,Uf),i=Ch(t,$f);return e[pf]===t[pf]&&(n=o,r=i,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every((e=>r.hasOwnProperty(e)&&n[e]===r[e])))};function Wf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Xf=e=>{var{isLast:t,leaf:n,parent:r,text:o}=e,i=kh(),a=kf.findPath(i,o),l=Yu.parent(a),u=Boolean(n[hf]);return i.isVoid(r)?s.createElement(Jf,{length:gc.string(r).length}):""!==n.text||r.children[r.children.length-1]!==o||i.isInline(r)||""!==xc.string(i,l)?""===n.text?s.createElement(Jf,{isMarkPlaceholder:u}):t&&"\n"===n.text.slice(-1)?s.createElement(Yf,{isTrailing:!0,text:n.text}):s.createElement(Yf,{text:n.text}):s.createElement(Jf,{isLineBreak:!0,isMarkPlaceholder:u})},Yf=e=>{var{text:t,isTrailing:n=!1}=e,r=(0,s.useRef)(null),o=()=>"".concat(null!=t?t:"").concat(n?"\n":""),[i]=(0,s.useState)(o);return Kf((()=>{var e=o();r.current&&r.current.textContent!==e&&(r.current.textContent=e)})),s.createElement(Qf,{ref:r},i)},Qf=(0,s.memo)((0,s.forwardRef)(((e,t)=>s.createElement("span",{"data-slate-string":!0,ref:t},e.children)))),Jf=e=>{var{length:t=0,isLineBreak:n=!1,isMarkPlaceholder:r=!1}=e,o={"data-slate-zero-width":n?"n":"z","data-slate-length":t};return r&&(o["data-slate-mark-placeholder"]=!0),s.createElement("span",function(e){for(var t=1;t{var{leaf:t,isLast:n,text:r,parent:o,renderPlaceholder:i,renderLeaf:a=(e=>s.createElement(am,tm({},e)))}=e,l=kh(),u=(0,s.useRef)(null),c=(0,s.useRef)(null),[d,p]=(0,s.useState)(!1),h=(0,s.useRef)(null),f=(0,s.useCallback)((e=>{if(function(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}(u,null==e),null==e){var n;Gh.delete(l),null===(n=t.onPlaceholderResize)||void 0===n||n.call(t,null)}else{if(Gh.set(l,e),!u.current){var r=window.ResizeObserver||xh.do;u.current=new r((()=>{var n;null===(n=t.onPlaceholderResize)||void 0===n||n.call(t,e)}))}u.current.observe(e),c.current=e}}),[c,t,l]),m=s.createElement(Xf,{isLast:n,leaf:t,parent:o,text:r}),g=Boolean(t[pf]);if((0,s.useEffect)((()=>(g?h.current||(h.current=setTimeout((()=>{p(!0),h.current=null}),nm)):(rm(h),p(!1)),()=>rm(h))),[g,p]),g&&d){var v={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Fh?"inherit":void 0},contentEditable:!1,ref:f}};m=s.createElement(s.Fragment,null,i(v),m)}return a({attributes:{"data-slate-leaf":!0},children:m,leaf:t,text:r})},im=s.memo(om,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Ic.equals(t.leaf,e.leaf)&&t.leaf[pf]===e.leaf[pf])),am=e=>{var{attributes:t,children:n}=e;return s.createElement("span",tm({},t),n)},sm=e=>{for(var{decorations:t,isLast:n,parent:r,renderPlaceholder:o,renderLeaf:i,text:a}=e,l=kh(),u=(0,s.useRef)(null),c=Ic.decorations(a,t),d=kf.findKey(l,a),p=[],h=0;h{var t=Qh.get(l);e?(null==t||t.set(d,e),Xh.set(a,e),Wh.set(e,a)):(null==t||t.delete(d),Xh.delete(a),u.current&&Wh.delete(u.current)),u.current=e}),[u,l,d,a]);return s.createElement("span",{"data-slate-node":"text",ref:m},p)},lm=s.memo(sm,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n{var{decorations:t,element:n,renderElement:r=(e=>s.createElement(hm,cm({},e))),renderPlaceholder:o,renderLeaf:i,selection:a}=e,l=kh(),u=ym(),c=l.isInline(n),d=kf.findKey(l,n),p=(0,s.useCallback)((e=>{var t=Qh.get(l);e?(null==t||t.set(d,e),Xh.set(n,e),Wh.set(e,n)):(null==t||t.delete(d),Xh.delete(n))}),[l,d,n]),h=gm({decorations:t,node:n,renderElement:r,renderPlaceholder:o,renderLeaf:i,selection:a}),f={"data-slate-node":"element",ref:p};if(c&&(f["data-slate-inline"]=!0),!c&&xc.hasInlines(l,n)){var m=gc.string(n),g=uh()(m);"rtl"===g&&(f.dir=g)}if(xc.isVoid(l,n)){f["data-slate-void"]=!0,!u&&c&&(f.contentEditable=!1);var v=c?"span":"div",[[y]]=gc.texts(n);h=s.createElement(v,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},s.createElement(lm,{renderPlaceholder:o,decorations:[],isLast:!1,parent:n,text:y})),Hh.set(y,0),Zh.set(y,n)}return r({attributes:f,children:h,element:n})},pm=s.memo(dm,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n{var{attributes:t,children:n,element:r}=e,o=kh().isInline(r)?"span":"div";return s.createElement(o,cm(cm({},t),{},{style:{position:"relative"}}),n)},fm=(0,s.createContext)((()=>[])),mm=(0,s.createContext)(!1),gm=e=>{for(var{decorations:t,node:n,renderElement:r,renderPlaceholder:o,renderLeaf:i,selection:a}=e,l=(0,s.useContext)(fm),u=kh(),c=kf.findPath(u,n),d=[],p=pc.isElement(n)&&!u.isInline(n)&&xc.hasInlines(u,n),h=0;h(0,s.useContext)(vm),bm=(0,s.createContext)(null),wm=()=>{var e=(0,s.useContext)(bm);if(!e)throw new Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t};var xm={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Dm={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Cm={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Em=e=>{var t=xm[e],n=Dm[e],r=Cm[e],o=t&&(0,Dh.P6)(t),i=n&&(0,Dh.P6)(n),a=r&&(0,Dh.P6)(r);return e=>!(!o||!o(e))||(!!(Th&&i&&i(e))||!(Th||!a||!a(e)))},Sm={isBold:Em("bold"),isCompose:Em("compose"),isMoveBackward:Em("moveBackward"),isMoveForward:Em("moveForward"),isDeleteBackward:Em("deleteBackward"),isDeleteForward:Em("deleteForward"),isDeleteLineBackward:Em("deleteLineBackward"),isDeleteLineForward:Em("deleteLineForward"),isDeleteWordBackward:Em("deleteWordBackward"),isDeleteWordForward:Em("deleteWordForward"),isExtendBackward:Em("extendBackward"),isExtendForward:Em("extendForward"),isExtendLineBackward:Em("extendLineBackward"),isExtendLineForward:Em("extendLineForward"),isItalic:Em("italic"),isMoveLineBackward:Em("moveLineBackward"),isMoveLineForward:Em("moveLineForward"),isMoveWordBackward:Em("moveWordBackward"),isMoveWordForward:Em("moveWordForward"),isRedo:Em("redo"),isSoftBreak:Em("insertSoftBreak"),isSplitBlock:Em("splitBlock"),isTransposeCharacter:Em("transposeCharacter"),isUndo:Em("undo")},_m={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class Pm extends s.Component{constructor(){super(...arguments),_h(this,"context",null),_h(this,"manager",null),_h(this,"mutationObserver",null)}observe(){var e,{node:t}=this.props;if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,_m)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=((e,t)=>{var n=[],r=()=>{n=[]};return{registerMutations:r=>{if(t.current){var o=r.filter((t=>Sf(e,t,r)));n.push(...o)}},restoreDOM:function(){n.length>0&&(n.reverse().forEach((e=>{"characterData"!==e.type&&(e.removedNodes.forEach((t=>{e.target.insertBefore(t,e.nextSibling)})),e.addedNodes.forEach((t=>{e.target.removeChild(t)})))})),r())},clear:r}})(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,n,r,o=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();null!=o&&o.length&&(null===(r=this.manager)||void 0===r||r.registerMutations(o));return null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(n=this.manager)||void 0===n||n.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}_h(Pm,"contextType",Ph);var km=Oh?Pm:e=>{var{children:t}=e;return s.createElement(s.Fragment,null,t)},Am=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],zm=["text"];function Tm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Om(e){for(var t=1;ts.createElement(s.Fragment,null,gm(e)),Fm=e=>{var t=(0,s.useCallback)((e=>s.createElement(Mm,Om({},e))),[]),{autoFocus:n,decorate:r=Rm,onDOMBeforeInput:o,placeholder:i,readOnly:a=!1,renderElement:l,renderLeaf:u,renderPlaceholder:c=t,scrollSelectionIntoView:d=jm,style:p={},as:h="div",disableDefaultStyles:f=!1}=e,m=Ch(e,Am),g=wm(),[v,y]=(0,s.useState)(!1),b=(0,s.useRef)(null),w=(0,s.useRef)([]),[x,D]=(0,s.useState)(),{onUserInput:C,receivedUserInput:E}=function(){var e=kh(),t=(0,s.useRef)(!1),n=(0,s.useRef)(0),r=(0,s.useCallback)((()=>{if(!t.current){t.current=!0;var r=kf.getWindow(e);r.cancelAnimationFrame(n.current),n.current=r.requestAnimationFrame((()=>{t.current=!1}))}}),[e]);return(0,s.useEffect)((()=>()=>cancelAnimationFrame(n.current)),[]),{receivedUserInput:t,onUserInput:r}}(),[,S]=(0,s.useReducer)((e=>e+1),0);df.set(g,S),Jh.set(g,a);var _=(0,s.useMemo)((()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1})),[]);(0,s.useEffect)((()=>{b.current&&n&&b.current.focus()}),[n]);var P=(0,s.useRef)(),k=(0,s.useMemo)((()=>hh()((()=>{var e=P.current;if((Oh||!kf.isComposing(g))&&(!_.isUpdatingSelection||null!=e&&e.isFlushing())&&!_.isDraggingInternally){var t=kf.findDocumentOrShadowRoot(g),{activeElement:n}=t,r=kf.toDOMNode(g,g),o=t.getSelection();if(n===r?(_.latestElement=n,ef.set(g,!0)):ef.delete(g),!o)return pd.deselect(g);var{anchorNode:i,focusNode:s}=o,l=kf.hasEditableTarget(g,i)||kf.isTargetInsideNonReadonlyVoid(g,i),u=kf.hasEditableTarget(g,s)||kf.isTargetInsideNonReadonlyVoid(g,s);if(l&&u){var c=kf.toSlateRange(g,o,{exactMatch:!1,suppressThrow:!0});c&&(kf.isComposing(g)||null!=e&&e.hasPendingChanges()||null!=e&&e.isFlushing()?null==e||e.handleUserSelect(c):pd.select(g,c))}!a||l&&u||pd.deselect(g)}}),100)),[g,a,_]),A=(0,s.useMemo)((()=>dh()(k,0)),[k]);P.current=Zf({node:b,onDOMSelectionChange:k,scheduleOnDOMSelectionChange:A}),Kf((()=>{var e,t,n;b.current&&(n=mf(b.current))?(Uh.set(g,n),$h.set(g,b.current),Xh.set(g,b.current),Wh.set(b.current,g)):Xh.delete(g);var{selection:r}=g,o=kf.findDocumentOrShadowRoot(g).getSelection();if(o&&kf.isFocused(g)&&(null===(e=P.current)||void 0===e||!e.hasPendingAction())){var i=e=>{var t="None"!==o.type;if(r||t){var n,i=o.focusNode;if(Ih&&o.rangeCount>1){var a=o.getRangeAt(0),s=o.getRangeAt(o.rangeCount-1);n=a.startContainer===i?s.endContainer:a.startContainer}else n=o.anchorNode;var l=$h.get(g),u=!1;if(l.contains(n)&&l.contains(i)&&(u=!0),t&&u&&r&&!e){var c=kf.toSlateRange(g,o,{exactMatch:!0,suppressThrow:!0});if(c&&cc.equals(c,r)){var p;if(!_.hasMarkPlaceholder)return;if(null!==(p=n)&&void 0!==p&&null!==(p=p.parentElement)&&void 0!==p&&p.hasAttribute("data-slate-mark-placeholder"))return}}if(!r||kf.hasRange(g,r)){_.isUpdatingSelection=!0;var h=r&&kf.toDOMRange(g,r);return h?(kf.isComposing(g)&&!Oh?o.collapseToEnd():cc.isBackward(r)?o.setBaseAndExtent(h.endContainer,h.endOffset,h.startContainer,h.startOffset):o.setBaseAndExtent(h.startContainer,h.startOffset,h.endContainer,h.endOffset),d(g,h)):o.removeAllRanges(),h}g.selection=kf.toSlateRange(g,o,{exactMatch:!1,suppressThrow:!0})}};o.rangeCount<=1&&i();var a="action"===(null===(t=P.current)||void 0===t?void 0:t.isFlushing());if(Oh&&a){var s=null,l=requestAnimationFrame((()=>{if(a){var e=e=>{try{kf.toDOMNode(g,g).focus(),i(e)}catch(e){}};e(),s=setTimeout((()=>{e(!0),_.isUpdatingSelection=!1}))}}));return()=>{cancelAnimationFrame(l),s&&clearTimeout(s)}}setTimeout((()=>{_.isUpdatingSelection=!1}))}}));var z=(0,s.useCallback)((e=>{if(C(),!a&&kf.hasEditableTarget(g,e.target)&&!Lm(e,o)){var t;if(P.current)return P.current.handleDOMBeforeInput(e);A.flush(),k.flush();var{selection:n}=g,{inputType:r}=e,i=e.dataTransfer||e.data||void 0,s="insertCompositionText"===r||"deleteCompositionText"===r;if(s&&kf.isComposing(g))return;var l=!1;if("insertText"===r&&n&&cc.isCollapsed(n)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==n.anchor.offset){var u,c;l=!0,g.marks&&(l=!1);var{anchor:d}=n,[p,h]=kf.toDOMPoint(g,d),f=null===(u=p.parentElement)||void 0===u?void 0:u.closest("a"),m=kf.getWindow(g);if(l&&f&&kf.hasDOMNode(g,f)){var v,b=null==m?void 0:m.document.createTreeWalker(f,NodeFilter.SHOW_TEXT).lastChild();b===p&&(null===(v=b.textContent)||void 0===v?void 0:v.length)===h&&(l=!1)}if(l&&p.parentElement&&"pre"===(null==m||null===(c=m.getComputedStyle(p.parentElement))||void 0===c?void 0:c.whiteSpace)){var x=xc.above(g,{at:d.path,match:e=>pc.isElement(e)&&xc.isBlock(g,e)});x&&gc.string(x[0]).includes("\t")&&(l=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[D]=e.getTargetRanges();if(D){var E=kf.toSlateRange(g,D,{exactMatch:!1,suppressThrow:!1});if(!n||!cc.equals(n,E)){l=!1;var S=!s&&g.selection&&xc.rangeRef(g,g.selection);pd.select(g,E),S&&nf.set(g,S)}}}if(s)return;if(l||e.preventDefault(),n&&cc.isExpanded(n)&&r.startsWith("delete")){var _=r.endsWith("Backward")?"backward":"forward";return void xc.deleteFragment(g,{direction:_})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":xc.deleteFragment(g);break;case"deleteContent":case"deleteContentForward":xc.deleteForward(g);break;case"deleteContentBackward":xc.deleteBackward(g);break;case"deleteEntireSoftLine":xc.deleteBackward(g,{unit:"line"}),xc.deleteForward(g,{unit:"line"});break;case"deleteHardLineBackward":xc.deleteBackward(g,{unit:"block"});break;case"deleteSoftLineBackward":xc.deleteBackward(g,{unit:"line"});break;case"deleteHardLineForward":xc.deleteForward(g,{unit:"block"});break;case"deleteSoftLineForward":xc.deleteForward(g,{unit:"line"});break;case"deleteWordBackward":xc.deleteBackward(g,{unit:"word"});break;case"deleteWordForward":xc.deleteForward(g,{unit:"word"});break;case"insertLineBreak":xc.insertSoftBreak(g);break;case"insertParagraph":xc.insertBreak(g);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&kf.isComposing(g)&&(y(!1),tf.set(g,!1)),"DataTransfer"===(null==i?void 0:i.constructor.name)?kf.insertData(g,i):"string"==typeof i&&(l?w.current.push((()=>xc.insertText(g,i))):xc.insertText(g,i))}var z=null===(t=nf.get(g))||void 0===t?void 0:t.unref();nf.delete(g),!z||g.selection&&cc.equals(g.selection,z)||pd.select(g,z)}}),[g,k,C,o,a,A]),T=(0,s.useCallback)((e=>{null==e?(k.cancel(),A.cancel(),$h.delete(g),Xh.delete(g),b.current&&qh&&b.current.removeEventListener("beforeinput",z)):qh&&e.addEventListener("beforeinput",z),b.current=e}),[k,A,g,z]);Kf((()=>{var e=kf.getWindow(g);return e.document.addEventListener("selectionchange",A),()=>{e.document.removeEventListener("selectionchange",A)}}),[A]);var O=r([g,[]]),I=i&&1===g.children.length&&1===Array.from(gc.texts(g)).length&&""===gc.string(g)&&!v,F=(0,s.useCallback)((e=>{var t;e&&I?D(null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height):D(void 0)}),[I]);if(I){var M=xc.start(g,[]);O.push({[pf]:!0,placeholder:i,onPlaceholderResize:F,anchor:M,focus:M})}var{marks:R}=g;if(_.hasMarkPlaceholder=!1,g.selection&&cc.isCollapsed(g.selection)&&R){var{anchor:j}=g.selection,B=gc.leaf(g,j.path),N=Ch(B,zm);if(!Ic.equals(B,R,{loose:!0})){_.hasMarkPlaceholder=!0;var L=Object.fromEntries(Object.keys(N).map((e=>[e,null])));O.push(Om(Om(Om({[hf]:!0},L),R),{},{anchor:j,focus:j}))}}return(0,s.useEffect)((()=>{setTimeout((()=>{var{selection:e}=g;if(e){var{anchor:t}=e,n=gc.leaf(g,t.path);if(R&&!Ic.equals(n,R,{loose:!0}))return void af.set(g,R)}af.delete(g)}))})),s.createElement(vm.Provider,{value:a},s.createElement(fm.Provider,{value:r},s.createElement(km,{node:b,receivedUserInput:E},s.createElement(h,Om(Om({role:a?void 0:"textbox","aria-multiline":!a||void 0},m),{},{spellCheck:!(!qh&&Vh)&&m.spellCheck,autoCorrect:qh||!Vh?m.autoCorrect:"false",autoCapitalize:qh||!Vh?m.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!a,zindex:-1,suppressContentEditableWarning:!0,ref:T,style:Om(Om({},f?{}:Om({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},x?{minHeight:x}:{})),p),onBeforeInput:(0,s.useCallback)((e=>{if(!qh&&!a&&!Bm(e,m.onBeforeInput)&&kf.hasSelectableTarget(g,e.target)&&(e.preventDefault(),!kf.isComposing(g))){var t=e.data;xc.insertText(g,t)}}),[m.onBeforeInput,g,a]),onInput:(0,s.useCallback)((e=>{if(!Bm(e,m.onInput))if(P.current)P.current.handleInput();else{for(var t of w.current)t();w.current=[]}}),[m.onInput]),onBlur:(0,s.useCallback)((e=>{if(!a&&!_.isUpdatingSelection&&kf.hasSelectableTarget(g,e.target)&&!Bm(e,m.onBlur)){var t=kf.findDocumentOrShadowRoot(g);if(_.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===kf.toDOMNode(g,g)||gf(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&vf(n)&&kf.hasDOMNode(g,n)){var r=kf.toSlateNode(g,n);if(pc.isElement(r)&&!g.isVoid(r))return}if(Fh){var o=t.getSelection();null==o||o.removeAllRanges()}ef.delete(g)}}}}),[a,_.isUpdatingSelection,_.latestElement,g,m.onBlur]),onClick:(0,s.useCallback)((e=>{if(kf.hasTarget(g,e.target)&&!Bm(e,m.onClick)&&vf(e.target)){var t=kf.toSlateNode(g,e.target),n=kf.findPath(g,t);if(!xc.hasPath(g,n)||gc.get(g,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!pc.isElement(t)||!xc.isBlock(g,t)){var o,i=xc.above(g,{match:e=>pc.isElement(e)&&xc.isBlock(g,e),at:n});r=null!==(o=null==i?void 0:i[1])&&void 0!==o?o:n.slice(0,1)}var s=xc.range(g,r);return void pd.select(g,s)}if(a)return;var l=xc.start(g,n),u=xc.end(g,n),c=xc.void(g,{at:l}),d=xc.void(g,{at:u});if(c&&d&&Yu.equals(c[1],d[1])){var p=xc.range(g,l);pd.select(g,p)}}}),[g,m.onClick,a]),onCompositionEnd:(0,s.useCallback)((e=>{if(kf.hasSelectableTarget(g,e.target)){var t;if(kf.isComposing(g)&&Promise.resolve().then((()=>{y(!1),tf.set(g,!1)})),null===(t=P.current)||void 0===t||t.handleCompositionEnd(e),Bm(e,m.onCompositionEnd)||Oh)return;if(!Fh&&!Nh&&!zh&&!Kh&&!Lh&&e.data){var n=af.get(g);af.delete(g),void 0!==n&&(sf.set(g,g.marks),g.marks=n),xc.insertText(g,e.data);var r=sf.get(g);sf.delete(g),void 0!==r&&(g.marks=r)}}}),[m.onCompositionEnd,g]),onCompositionUpdate:(0,s.useCallback)((e=>{kf.hasSelectableTarget(g,e.target)&&!Bm(e,m.onCompositionUpdate)&&(kf.isComposing(g)||(y(!0),tf.set(g,!0)))}),[m.onCompositionUpdate,g]),onCompositionStart:(0,s.useCallback)((e=>{if(kf.hasSelectableTarget(g,e.target)){var t;if(null===(t=P.current)||void 0===t||t.handleCompositionStart(e),Bm(e,m.onCompositionStart)||Oh)return;y(!0);var{selection:n}=g;if(n&&cc.isExpanded(n))return void xc.deleteFragment(g)}}),[m.onCompositionStart,g]),onCopy:(0,s.useCallback)((e=>{!kf.hasSelectableTarget(g,e.target)||Bm(e,m.onCopy)||Nm(e)||(e.preventDefault(),kf.setFragmentData(g,e.clipboardData,"copy"))}),[m.onCopy,g]),onCut:(0,s.useCallback)((e=>{if(!a&&kf.hasSelectableTarget(g,e.target)&&!Bm(e,m.onCut)&&!Nm(e)){e.preventDefault(),kf.setFragmentData(g,e.clipboardData,"cut");var{selection:t}=g;if(t)if(cc.isExpanded(t))xc.deleteFragment(g);else{var n=gc.parent(g,t.anchor.path);xc.isVoid(g,n)&&pd.delete(g)}}}),[a,g,m.onCut]),onDragOver:(0,s.useCallback)((e=>{if(kf.hasTarget(g,e.target)&&!Bm(e,m.onDragOver)){var t=kf.toSlateNode(g,e.target);pc.isElement(t)&&xc.isVoid(g,t)&&e.preventDefault()}}),[m.onDragOver,g]),onDragStart:(0,s.useCallback)((e=>{if(!a&&kf.hasTarget(g,e.target)&&!Bm(e,m.onDragStart)){var t=kf.toSlateNode(g,e.target),n=kf.findPath(g,t);if(pc.isElement(t)&&xc.isVoid(g,t)||xc.void(g,{at:n,voids:!0})){var r=xc.range(g,n);pd.select(g,r)}_.isDraggingInternally=!0,kf.setFragmentData(g,e.dataTransfer,"drag")}}),[a,g,m.onDragStart,_]),onDrop:(0,s.useCallback)((e=>{if(!a&&kf.hasTarget(g,e.target)&&!Bm(e,m.onDrop)){e.preventDefault();var t=g.selection,n=kf.findEventRange(g,e),r=e.dataTransfer;pd.select(g,n),_.isDraggingInternally&&(!t||cc.equals(t,n)||xc.void(g,{at:n,voids:!0})||pd.delete(g,{at:t})),kf.insertData(g,r),kf.isFocused(g)||kf.focus(g)}_.isDraggingInternally=!1}),[a,g,m.onDrop,_]),onDragEnd:(0,s.useCallback)((e=>{!a&&_.isDraggingInternally&&m.onDragEnd&&kf.hasTarget(g,e.target)&&m.onDragEnd(e),_.isDraggingInternally=!1}),[a,_,m,g]),onFocus:(0,s.useCallback)((e=>{if(!a&&!_.isUpdatingSelection&&kf.hasEditableTarget(g,e.target)&&!Bm(e,m.onFocus)){var t=kf.toDOMNode(g,g),n=kf.findDocumentOrShadowRoot(g);if(_.latestElement=n.activeElement,Ih&&e.target!==t)return void t.focus();ef.set(g,!0)}}),[a,_,g,m.onFocus]),onKeyDown:(0,s.useCallback)((e=>{if(!a&&kf.hasEditableTarget(g,e.target)){var t;null===(t=P.current)||void 0===t||t.handleKeyDown(e);var{nativeEvent:n}=e;if(kf.isComposing(g)&&!1===n.isComposing&&(tf.set(g,!1),y(!1)),Bm(e,m.onKeyDown)||kf.isComposing(g))return;var{selection:r}=g,o=g.children[null!==r?r.focus.path[0]:0],i="rtl"===uh()(gc.string(o));if(Sm.isRedo(n)){e.preventDefault();var s=g;return void("function"==typeof s.redo&&s.redo())}if(Sm.isUndo(n)){e.preventDefault();var l=g;return void("function"==typeof l.undo&&l.undo())}if(Sm.isMoveLineBackward(n))return e.preventDefault(),void pd.move(g,{unit:"line",reverse:!0});if(Sm.isMoveLineForward(n))return e.preventDefault(),void pd.move(g,{unit:"line"});if(Sm.isExtendLineBackward(n))return e.preventDefault(),void pd.move(g,{unit:"line",edge:"focus",reverse:!0});if(Sm.isExtendLineForward(n))return e.preventDefault(),void pd.move(g,{unit:"line",edge:"focus"});if(Sm.isMoveBackward(n))return e.preventDefault(),void(r&&cc.isCollapsed(r)?pd.move(g,{reverse:!i}):pd.collapse(g,{edge:i?"end":"start"}));if(Sm.isMoveForward(n))return e.preventDefault(),void(r&&cc.isCollapsed(r)?pd.move(g,{reverse:i}):pd.collapse(g,{edge:i?"start":"end"}));if(Sm.isMoveWordBackward(n))return e.preventDefault(),r&&cc.isExpanded(r)&&pd.collapse(g,{edge:"focus"}),void pd.move(g,{unit:"word",reverse:!i});if(Sm.isMoveWordForward(n))return e.preventDefault(),r&&cc.isExpanded(r)&&pd.collapse(g,{edge:"focus"}),void pd.move(g,{unit:"word",reverse:i});if(qh){if((Rh||Fh)&&r&&(Sm.isDeleteBackward(n)||Sm.isDeleteForward(n))&&cc.isCollapsed(r)){var u=gc.parent(g,r.anchor.path);if(pc.isElement(u)&&xc.isVoid(g,u)&&(xc.isInline(g,u)||xc.isBlock(g,u)))return e.preventDefault(),void xc.deleteBackward(g,{unit:"block"})}}else{if(Sm.isBold(n)||Sm.isItalic(n)||Sm.isTransposeCharacter(n))return void e.preventDefault();if(Sm.isSoftBreak(n))return e.preventDefault(),void xc.insertSoftBreak(g);if(Sm.isSplitBlock(n))return e.preventDefault(),void xc.insertBreak(g);if(Sm.isDeleteBackward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"backward"}):xc.deleteBackward(g));if(Sm.isDeleteForward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"forward"}):xc.deleteForward(g));if(Sm.isDeleteLineBackward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"backward"}):xc.deleteBackward(g,{unit:"line"}));if(Sm.isDeleteLineForward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"forward"}):xc.deleteForward(g,{unit:"line"}));if(Sm.isDeleteWordBackward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"backward"}):xc.deleteBackward(g,{unit:"word"}));if(Sm.isDeleteWordForward(n))return e.preventDefault(),void(r&&cc.isExpanded(r)?xc.deleteFragment(g,{direction:"forward"}):xc.deleteForward(g,{unit:"word"}))}}}),[a,g,m.onKeyDown]),onPaste:(0,s.useCallback)((e=>{a||!kf.hasEditableTarget(g,e.target)||Bm(e,m.onPaste)||(!qh||(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||Fh)&&(e.preventDefault(),kf.insertData(g,e.clipboardData))}),[a,g,m.onPaste])}),s.createElement(Im,{decorations:O,node:g,renderElement:l,renderPlaceholder:c,renderLeaf:u,selection:g.selection})))))},Mm=e=>{var{attributes:t,children:n}=e;return s.createElement("span",Om({},t),n,Oh&&s.createElement("br",null))},Rm=()=>[],jm=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&cc.isCollapsed(e.selection))){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),wh(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},Bm=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},Nm=e=>vf(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),Lm=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented},Km=(0,s.createContext)(!1);var Vm=(0,s.createContext)({});var qm=["editor","children","onChange","onSelectionChange","onValueChange","initialValue"],Hm=e=>{var{editor:t,children:n,onChange:r,onSelectionChange:o,onValueChange:i,initialValue:a}=e,l=Ch(e,qm),[u,c]=s.useState((()=>{if(!gc.isNodeList(a))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(Pc.stringify(a)));if(!xc.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(Pc.stringify(t)));return t.children=a,Object.assign(t,l),{v:0,editor:t}})),{selectorContext:d,onChange:p}=function(e){var t=(0,s.useRef)([]).current,n=(0,s.useRef)({editor:e}).current,r=(0,s.useCallback)((e=>{n.editor=e,t.forEach((t=>t(e)))}),[t,n]);return{selectorContext:(0,s.useMemo)((()=>({getSlate:()=>n.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})})),[t,n]),onChange:r}}(t),h=(0,s.useCallback)((e=>{var n;if(r&&r(t.children),"set_selection"===(null==e||null===(n=e.operation)||void 0===n?void 0:n.type))null==o||o(t.selection);else null==i||i(t.children);c((e=>({v:e.v+1,editor:t}))),p(t)}),[t,p,r,o,i]);(0,s.useEffect)((()=>(rf.set(t,h),()=>{rf.set(t,(()=>{}))})),[t,h]);var[f,m]=(0,s.useState)(kf.isFocused(t));return(0,s.useEffect)((()=>{m(kf.isFocused(t))}),[t]),Kf((()=>{var e=()=>m(kf.isFocused(t));return Ah>=17?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})}),[]),s.createElement(Vm.Provider,{value:d},s.createElement(bm.Provider,{value:u},s.createElement(Ph.Provider,{value:u.editor},s.createElement(Km.Provider,{value:f},n))))},Zm=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Um=(e,t,n)=>{var r=kf.toDOMRange(e,t).getBoundingClientRect(),o=kf.toDOMRange(e,n).getBoundingClientRect();return Zm(r,o)&&Zm(o,r)},$m=(e,t)=>{var n=xc.range(e,cc.end(t)),r=Array.from(xc.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(Um(e,xc.range(e,r[o]),n))return xc.range(e,r[o],n);if(r.length<2)return xc.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Um(e,xc.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return xc.range(e,r[i],n)};function Gm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wm(e){for(var t=1;t{var n=[];for(var[r,o]of xc.levels(e,{at:t})){var i=kf.findKey(e,r);n.push([o,i])}return n},Qm={isHistory:e=>(0,Nu.P)(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||bc.isOperationList(e.redos[0].operations))&&(0===e.undos.length||bc.isOperationList(e.undos[0].operations))},Jm=(new WeakMap,new WeakMap),eg=new WeakMap,tg={isHistoryEditor:e=>Qm.isHistory(e.history)&&xc.isEditor(e),isMerging:e=>eg.get(e),isSaving:e=>Jm.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=tg.isMerging(e);eg.set(e,!1),t(),eg.set(e,n)},withoutSaving(e,t){var n=tg.isSaving(e);Jm.set(e,!1),t(),Jm.set(e,n)}},ng=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Yu.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Yu.equals(e.path,t.path)),rg=(e,t)=>"set_selection"!==e.type,og=n(96486);!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(Xm||(Xm={}));Xm.Root,Xm.Text,Xm.Directive,Xm.Comment,Xm.Script,Xm.Style,Xm.Tag,Xm.CDATA,Xm.Doctype;class ig{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return mg(this,e)}}class ag extends ig{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class sg extends ag{constructor(){super(...arguments),this.type=Xm.Text}get nodeType(){return 3}}class lg extends ag{constructor(){super(...arguments),this.type=Xm.Comment}get nodeType(){return 8}}class ug extends ag{constructor(e,t){super(t),this.name=e,this.type=Xm.Directive}get nodeType(){return 1}}class cg extends ig{constructor(e){super(),this.children=e}get firstChild(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class dg extends cg{constructor(){super(...arguments),this.type=Xm.CDATA}get nodeType(){return 4}}class pg extends cg{constructor(){super(...arguments),this.type=Xm.Root}get nodeType(){return 9}}class hg extends cg{constructor(e,t,n=[],r=("script"===e?Xm.Script:"style"===e?Xm.Style:Xm.Tag)){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map((e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null===(t=this["x-attribsNamespace"])||void 0===t?void 0:t[e],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))}}function fg(e){return(t=e).type===Xm.Tag||t.type===Xm.Script||t.type===Xm.Style;var t}function mg(e,t=!1){let n;if(function(e){return e.type===Xm.Text}(e))n=new sg(e.data);else if(function(e){return e.type===Xm.Comment}(e))n=new lg(e.data);else if(fg(e)){const r=t?gg(e.children):[],o=new hg(e.name,{...e.attribs},r);r.forEach((e=>e.parent=o)),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=o}else if(function(e){return e.type===Xm.CDATA}(e)){const r=t?gg(e.children):[],o=new dg(r);r.forEach((e=>e.parent=o)),n=o}else if(function(e){return e.type===Xm.Root}(e)){const r=t?gg(e.children):[],o=new pg(r);r.forEach((e=>e.parent=o)),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),n=o}else{if(!function(e){return e.type===Xm.Directive}(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new ug(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function gg(e){const t=e.map((e=>mg(e,!0)));for(let e=1;e=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&i)&&r+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}bg.defaultChars=";/?:@&=+$,#",bg.componentChars="";const wg=bg,xg={};function Dg(e,t,n){"string"!=typeof t&&(n=t,t=Dg.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=xg[e];if(t)return t;t=xg[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1=56320&&n<=57343){o+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}o+="%EF%BF%BD"}else o+=encodeURIComponent(e[t])}return o}Dg.defaultChars=";/?:@&=+$,-_.!~*'()#",Dg.componentChars="-_.!~*'()";const Cg=Dg;function Eg(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Sg(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const _g=/^([a-z0-9.+-]+:)/i,Pg=/:[0-9]*$/,kg=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ag=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),zg=["'"].concat(Ag),Tg=["%","/","?",";","#"].concat(zg),Og=["/","?","#"],Ig=/^[+a-z0-9A-Z_-]{0,63}$/,Fg=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Mg={javascript:!0,"javascript:":!0},Rg={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};Sg.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=kg.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=_g.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&Mg[a]||(i=i.substr(2),this.slashes=!0)),!Mg[a]&&(o||a&&!Rg[a])){let e,t,n=-1;for(let e=0;e127?r+="x":r+=n[e];if(!r.match(Ig)){const r=e.slice(0,t),o=e.slice(t+1),a=n.match(Fg);a&&(r.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");-1!==s&&(this.hash=i.substr(s),i=i.slice(0,s));const l=i.indexOf("?");return-1!==l&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),Rg[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Sg.prototype.parseHost=function(e){let t=Pg.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const jg=function(e,t){if(e&&e instanceof Sg)return e;const n=new Sg;return n.parse(e,t),n},Bg=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ng=/[\0-\x1F\x7F-\x9F]/,Lg=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Kg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Vg=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,qg=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Hg=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),Zg=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Ug;const $g=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Gg=null!==(Ug=String.fromCodePoint)&&void 0!==Ug?Ug:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function Wg(e){return Gg(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=$g.get(e))&&void 0!==t?t:e}(e))}var Xg,Yg;function Qg(e){return function(t,n){let r="",o=0,i=0;for(;(i=t.indexOf("&",i))>=0;){if(r+=t.slice(o,i),o=i,i+=1,t.charCodeAt(i)===Xg.NUM){let e=i+1,a=10,s=t.charCodeAt(e);(s|Xg.To_LOWER_BIT)===Xg.LOWER_X&&(a=16,i+=1,e+=1);do{s=t.charCodeAt(++i)}while(s>=Xg.ZERO&&s<=Xg.NINE||16===a&&(s|Xg.To_LOWER_BIT)>=Xg.LOWER_A&&(s|Xg.To_LOWER_BIT)<=Xg.LOWER_F);if(e!==i){const s=t.substring(e,i),l=parseInt(s,a);if(t.charCodeAt(i)===Xg.SEMI)i+=1;else if(n)continue;r+=Wg(l),o=i}continue}let a=0,s=1,l=0,u=e[l];for(;i>14)-1;if(0===e)break;l+=e}}if(0!==a){const t=(e[a]&Yg.VALUE_LENGTH)>>14;r+=1===t?String.fromCharCode(e[a]&~Yg.VALUE_LENGTH):2===t?String.fromCharCode(e[a+1]):String.fromCharCode(e[a+1],e[a+2]),o=i-s+1}}return r+t.slice(o)}}function Jg(e,t,n,r){const o=(t&Yg.BRANCH_LENGTH)>>7,i=t&Yg.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(nr))return e[t+o];s=t-1}}return-1}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.To_LOWER_BIT=32]="To_LOWER_BIT"}(Xg||(Xg={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Yg||(Yg={}));const ev=Qg(Hg);Qg(Zg);function tv(e){return ev(e,!1)}function nv(e){for(let t=1;t'"]/g,rv),ov(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),ov(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var iv,av,sv;function lv(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(iv||(iv={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict"}(av||(av={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(sv||(sv={}));const uv=Object.prototype.hasOwnProperty;function cv(e,t){return uv.call(e,t)}function dv(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function pv(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function hv(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function fv(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const mv=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,gv=new RegExp(mv.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),vv=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function yv(e){return e.indexOf("\\")<0?e:e.replace(mv,"$1")}function bv(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(gv,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&vv.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return hv(n)?fv(n):e}const n=tv(e);return n!==e?n:e}(e,n)}))}const wv=/[&<>"]/,xv=/[&<>"]/g,Dv={"&":"&","<":"<",">":">",'"':"""};function Cv(e){return Dv[e]}function Ev(e){return wv.test(e)?e.replace(xv,Cv):e}const Sv=/[.?*+^$[\]\\(){}|-]/g;function _v(e){return e.replace(Sv,"\\$&")}function Pv(e){switch(e){case 9:case 32:return!0}return!1}function kv(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Av(e){return Kg.test(e)||Vg.test(e)}function zv(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Tv(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Ov={mdurl:r,ucmicro:o};function Iv(e,t,n){let r,o,i,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos32))return i;if(41===r){if(0===a)break;a--}o++}return t===o||0!==a||(i.str=bv(e.slice(t,o)),i.pos=o,i.ok=!0),i}function Mv(e,t,n,r){let o,i=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(i>=n)return a;let r=e.charCodeAt(i);if(34!==r&&39!==r&&40!==r)return a;t++,i++,40===r&&(r=41),a.marker=r}for(;i"+Ev(i.content)+""},Rv.code_block=function(e,t,n,r,o){const i=e[t];return""+Ev(e[t].content)+"\n"},Rv.fence=function(e,t,n,r,o){const i=e[t],a=i.info?bv(i.info).trim():"";let s,l="",u="";if(a){const e=a.split(/(\s+)/g);l=e[0],u=e.slice(2).join("")}if(s=n.highlight&&n.highlight(i.content,l,u)||Ev(i.content),0===s.indexOf("${s}\n`}return`
${s}
\n`},Rv.image=function(e,t,n,r,o){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},Rv.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},Rv.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},Rv.text=function(e,t){return Ev(e[t].content)},Rv.html_block=function(e,t){return e[t].content},Rv.html_inline=function(e,t){return e[t].content},jv.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">",o},jv.prototype.renderInline=function(e,t,n){let r="";const o=this.rules;for(let i=0,a=e.length;i=0&&(n=this.attrs[t][1]),n},Kv.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};const Vv=Kv;function qv(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}qv.prototype.Token=Vv;const Hv=qv,Zv=/\r\n?|\n/g,Uv=/\0/g;function $v(e){return/^<\/a\s*>/i.test(e)}const Gv=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Wv=/\((c|tm|r)\)/i,Xv=/\((c|tm|r)\)/gi,Yv={c:"©",r:"®",tm:"™"};function Qv(e,t){return Yv[t.toLowerCase()]}function Jv(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(Xv,Qv)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function ey(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||Gv.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const ty=/['"]/,ny=/['"]/g;function ry(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function oy(e,t){let n;const r=[];for(let o=0;o=0&&!(r[n].level<=a);n--);if(r.length=n+1,"text"!==i.type)continue;let s=i.content,l=0,u=s.length;e:for(;l=0)f=s.charCodeAt(c.index-1);else for(n=o-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){f=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l=48&&f<=57&&(p=d=!1),d&&p&&(d=g,p=v),d||p){if(p)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level=0;a--){const s=o[a];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^\s]/i.test(n)&&i>0&&i--,$v(s.content)&&i++),!(i>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let i=e.md.linkify.match(n);const l=[];let u=s.level,c=0;i.length>0&&0===i[0].index&&a>0&&"text_special"===o[a-1].type&&(i=i.slice(1));for(let t=0;tc){const t=new e.Token("text","",0);t.content=n.slice(c,s),t.level=u,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",o]],d.level=u++,d.markup="linkify",d.info="auto",l.push(d);const p=new e.Token("text","",0);p.content=a,p.level=u,l.push(p);const h=new e.Token("link_close","a",-1);h.level=--u,h.markup="linkify",h.info="auto",l.push(h),c=i[t].lastIndex}if(c=0;t--)"inline"===e.tokens[t].type&&(Wv.test(e.tokens[t].content)&&Jv(e.tokens[t].children),Gv.test(e.tokens[t].content)&&ey(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ty.test(e.tokens[t].content)&&oy(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,o=r.length;for(let e=0;e0&&this.level++,this.tokens.push(r),r},ly.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},ly.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!Pv(this.src.charCodeAt(--e)))return e+1;return e},ly.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},ly.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const o=new Array(t-e);for(let i=0,a=e;an?new Array(e-n+1).join(" ")+this.src.slice(u,l):this.src.slice(u,l)}return o.join("")},ly.prototype.Token=Vv;const uy=ly;function cy(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function dy(e){const t=[],n=e.length;let r=0,o=e.charCodeAt(r),i=!1,a=0,s="";for(;r=r)return-1;let i=e.src.charCodeAt(o++);if(i<48||i>57)return-1;for(;;){if(o>=r)return-1;if(i=e.src.charCodeAt(o++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(o-n>=10)return-1}return o`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",my="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",gy=new RegExp("^(?:"+fy+"|"+my+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),vy=new RegExp("^(?:"+fy+"|"+my+")"),yy=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(vy.source+"\\s*$"),/^$/,!1]];const by=[["table",function(e,t,n,r){if(t+2>n)return!1;let o=t+1;if(e.sCount[o]=4)return!1;let i=e.bMarks[o]+e.tShift[o];if(i>=e.eMarks[o])return!1;const a=e.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a)return!1;if(i>=e.eMarks[o])return!1;const s=e.src.charCodeAt(i++);if(124!==s&&45!==s&&58!==s&&!Pv(s))return!1;if(45===a&&Pv(s))return!1;for(;i=4)return!1;u=dy(l),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();const d=u.length;if(0===d||d!==c.length)return!1;if(r)return!0;const p=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),f=[t,0];e.push("table_open","table",1).map=f,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t=4)break;if(u=dy(l),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),g+=d-u.length,g>65536)break;if(o===t+2){e.push("tbody_open","tbody",1).map=m=[t+2,0]}e.push("tr_open","tr",1).map=[o,o+1];for(let t=0;t=4))break;r++,o=r}e.line=o;const i=e.push("code_block","code",0);return i.content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}],["fence",function(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(o+3>i)return!1;const a=e.src.charCodeAt(o);if(126!==a&&96!==a)return!1;let s=o;o=e.skipChars(o,a);let l=o-s;if(l<3)return!1;const u=e.src.slice(s,o),c=e.src.slice(o,i);if(96===a&&c.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,p=!1;for(;(d++,!(d>=n))&&(o=s=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],!(o=4||(o=e.skipChars(o,a),o-s=4)return!1;if(62!==e.src.charCodeAt(o))return!1;if(r)return!0;const s=[],l=[],u=[],c=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let h,f=!1;for(h=t;h=i)break;if(62===e.src.charCodeAt(o++)&&!t){let t,n,r=e.sCount[h]+1;32===e.src.charCodeAt(o)?(o++,r++,n=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[h]+r)%4==3?(o++,r++,n=!1):n=!0):t=!1;let a=r;for(s.push(e.bMarks[h]),e.bMarks[h]=o;o=i,l.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(t?1:0),u.push(e.sCount[h]),e.sCount[h]=a-r,c.push(e.tShift[h]),e.tShift[h]=o-e.bMarks[h];continue}if(f)break;let r=!1;for(let t=0,o=d.length;t";const v=[t,0];g.map=v,e.md.block.tokenize(e,t,h),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=p,v[1]=e.line;for(let n=0;n=4)return!1;let i=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(i++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;i=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(h=!0),(p=hy(e,l))>=0){if(c=!0,a=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(a,p-1)),h&&1!==d)return!1}else{if(!((p=py(e,l))>=0))return!1;c=!1}if(h&&e.skipSpaces(p)>=e.eMarks[l])return!1;if(r)return!0;const f=e.src.charCodeAt(p-1),m=e.tokens.length;c?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const g=[l,0];s.map=g,s.markup=String.fromCharCode(f);let v=!1;const y=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";l=o?1:r-t,h>4&&(h=1);const m=t+h;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(f);const g=[l,0];s.map=g,c&&(s.info=e.src.slice(a,p-1));const b=e.tight,w=e.tShift[l],x=e.sCount[l],D=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(u=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=D,e.tShift[l]=w,e.sCount[l]=x,e.tight=b,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(f),l=e.line,g[1]=l,l>=n)break;if(e.sCount[l]=4)break;let C=!1;for(let t=0,r=y.length;t=4)return!1;if(91!==e.src.charCodeAt(o))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),o=e.parentType;e.parentType="reference";let i=!1;for(let o=0,a=r.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(o))return!1;let a=e.src.slice(o,i),s=0;for(;s=4)return!1;let a=e.src.charCodeAt(o);if(35!==a||o>=i)return!1;let s=1;for(a=e.src.charCodeAt(++o);35===a&&o6||oo&&Pv(e.src.charCodeAt(l-1))&&(i=l),e.line=t+1;const u=e.push("heading_open","h"+String(s),1);u.markup="########".slice(0,s),u.map=[t,e.line];const c=e.push("inline","",0);return c.content=e.src.slice(o,i).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let i,a=0,s=t+1;for(;s3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t=n))){a=61===i?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let o=0,i=r.length;o3)continue;if(e.sCount[i]<0)continue;let t=!1;for(let o=0,a=r.length;o=n))&&!(e.sCount[a]=i){e.line=n;break}const t=e.line;let l=!1;for(let i=0;i=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},Dy.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i?@[]^_`{|}~-".split("").forEach((function(e){_y[e.charCodeAt(0)]=1}));const ky={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const o=e.scanDelims(e.pos,!0);let i=o.length;const a=String.fromCharCode(r);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=a,i--);for(let t=0;t=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const o=t[r.end],i=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?a+a:a,s.content="";const l=e.tokens[o.token];l.type=i?"strong_close":"em_close",l.tag=i?"strong":"em",l.nesting=-1,l.markup=i?a+a:a,l.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}const zy={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const o=e.scanDelims(e.pos,42===r);for(let t=0;t\x00-\x20]*)$/;const Iy=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Fy=/^&([a-z][a-z0-9]{1,31});/i;function My(e){const t={},n=e.length;if(!n)return;let r=0,o=-2;const i=[];for(let a=0;as;l-=i[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?i[l-1]+1:0;i[a]=a-l+r,i[l]=r,n.open=!1,t.end=a,t.close=!1,u=-1,o=-2;break}}}-1!==u&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=u)}}const Ry=[["text",function(e,t){let n=e.pos;for(;n0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(Sy);if(!r)return!1;const o=r[1],i=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!i)return!1;let a=i.url;if(a.length<=o.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-o.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,o=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n=r)return!1;let o=e.src.charCodeAt(n);if(10===o){for(t||e.push("hardbreak","br",0),n++;n=55296&&o<=56319&&n+1=56320&&t<=57343&&(i+=e.src[n+1],n++)}const a="\\"+i;if(!t){const t=e.push("text_special","",0);o<256&&0!==_y[o]?t.content=i:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const o=e.posMax;for(;n=d)return!1;if(l=f,o=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),o.ok){for(a=e.md.normalizeLink(o.str),e.md.validateLink(a)?f=o.pos:a="",l=f;f=d||41!==e.src.charCodeAt(f))&&(u=!0),f++}if(u){if(void 0===e.env.references)return!1;if(f=0?r=e.src.slice(l,f++):f=h+1):f=h+1,r||(r=e.src.slice(p,h)),i=e.env.references[Tv(r)],!i)return e.pos=c,!1;a=i.href,s=i.title}if(!t){e.pos=p,e.posMax=h;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=d,!0}],["image",function(e,t){let n,r,o,i,a,s,l,u,c="";const d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const h=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(i=f+1,i=p)return!1;for(u=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?i=s.pos:c=""),u=i;i=p||41!==e.src.charCodeAt(i))return e.pos=d,!1;i++}else{if(void 0===e.env.references)return!1;if(i=0?o=e.src.slice(u,i++):i=f+1):i=f+1,o||(o=e.src.slice(h,f)),a=e.env.references[Tv(o)],!a)return e.pos=d,!1;c=a.href,l=a.title}if(!t){r=e.src.slice(h,f);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),o=[["src",c],["alt",""]];n.attrs=o,n.children=t,n.content=r,l&&o.push(["title",l])}return e.pos=i,e.posMax=p,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const i=e.src.slice(r+1,n);if(Oy.test(i)){const n=e.md.normalizeLink(i);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=i.length+2,!0}if(Ty.test(i)){const n=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=i.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const o=e.src.charCodeAt(r+1);if(33!==o&&63!==o&&47!==o&&!function(e){const t=32|e;return t>=97&&t<=122}(o))return!1;const i=e.src.slice(r).match(gy);if(!i)return!1;if(!t){const t=e.push("html_inline","",0);t.content=i[0],a=t.content,/^\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=i[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(Iy);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=hv(t)?fv(t):fv(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(Fy);if(r){const n=tv(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],jy=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;My(e.delimiters);for(let e=0;e0&&r++,"text"===o[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[t]=e.pos},By.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,o=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},By.prototype.parse=function(e,t,n,r){const o=new this.State(e,t,n,r);this.tokenize(o);const i=this.ruler2.getRules(""),a=i.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Uy="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function $y(e){const t=e.re=function(e){const t={};return e=e||{},t.src_Any=Bg.source,t.src_Cc=Ng.source,t.src_Z=qg.source,t.src_P=Kg.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const o=[];function i(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===Ky(n))return!function(e){return"[object RegExp]"===Ky(e)}(n.validate)?Vy(n.validate)?r.validate=n.validate:i(t,n):r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(Vy(n.normalize)?r.normalize=n.normalize:n.normalize?i(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Ky(e)}(n)?i(t,n):o.push(t)})),o.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(qy).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Gy(e,t){const n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function Wy(e,t){const n=new Gy(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xy(e,t){if(!(this instanceof Xy))return new Xy(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||Hy.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ly({},Hy,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ly({},Zy,e),this.__compiled__={},this.__tlds__=Uy,this.__tlds_replaced__=!1,this.re={},$y(this)}Xy.prototype.add=function(e,t){return this.__schemas__[e]=t,$y(this),this},Xy.prototype.set=function(e){return this.__opts__=Ly(this.__opts__,e),this},Xy.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,o,i,a,s,l,u;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0},Xy.prototype.pretest=function(e){return this.re.pretest.test(e)},Xy.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Xy.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Wy(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(Wy(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},Xy.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Wy(this,0)):null},Xy.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),$y(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,$y(this),this)},Xy.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Xy.prototype.onCompile=function(){};const Yy=Xy,Qy=2147483647,Jy=36,eb=/^xn--/,tb=/[^\0-\x7F]/,nb=/[\x2E\u3002\uFF0E\uFF61]/g,rb={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ob=Math.floor,ib=String.fromCharCode;function ab(e){throw new RangeError(rb[e])}function sb(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(nb,".")).split("."),t).join(".");return r+o}function lb(e){const t=[];let n=0;const r=e.length;for(;n=55296&&o<=56319&&n>1,e+=ob(e/t);e>455;r+=Jy)e=ob(e/35);return ob(r+36*e/(e+38))},db=function(e){const t=[],n=e.length;let r=0,o=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n=128&&ab("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l=n&&ab("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:Jy;a>=Jy&&ab("invalid-input"),a>ob((Qy-r)/t)&&ab("overflow"),r+=a*t;const u=o<=i?1:o>=i+26?26:o-i;if(aob(Qy/c)&&ab("overflow"),t*=c}const u=t.length+1;i=cb(r-a,u,0==a),ob(r/u)>Qy-o&&ab("overflow"),o+=ob(r/u),r%=u,t.splice(r++,0,o)}var s;return String.fromCodePoint(...t)},pb=function(e){const t=[],n=(e=lb(e)).length;let r=128,o=0,i=72;for(const n of e)n<128&&t.push(ib(n));const a=t.length;let s=a;for(a&&t.push("-");s=r&&tob((Qy-o)/l)&&ab("overflow"),o+=(n-r)*l,r=n;for(const n of e)if(nQy&&ab("overflow"),n===r){let e=o;for(let n=Jy;;n+=Jy){const r=n<=i?1:n>=i+26?26:n-i;if(eString.fromCodePoint(...e)},decode:db,encode:pb,toASCII:function(e){return sb(e,(function(e){return tb.test(e)?"xn--"+pb(e):e}))},toUnicode:function(e){return sb(e,(function(e){return eb.test(e)?db(e.slice(4).toLowerCase()):e}))}},fb=hb,mb={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},gb=/^(vbscript|javascript|file|data):/,vb=/^data:image\/(gif|png|jpeg|webp);/;function yb(e){const t=e.trim().toLowerCase();return!gb.test(t)||vb.test(t)}const bb=["http:","https:","mailto:"];function wb(e){const t=jg(e,!0);if(t.hostname&&(!t.protocol||bb.indexOf(t.protocol)>=0))try{t.hostname=fb.toASCII(t.hostname)}catch(e){}return Cg(Eg(t))}function xb(e){const t=jg(e,!0);if(t.hostname&&(!t.protocol||bb.indexOf(t.protocol)>=0))try{t.hostname=fb.toUnicode(t.hostname)}catch(e){}return wg(Eg(t),wg.defaultChars+"%")}function Db(e,t){if(!(this instanceof Db))return new Db(e,t);t||lv(e)||(t=e||{},e="default"),this.inline=new Ny,this.block=new xy,this.core=new sy,this.renderer=new Bv,this.linkify=new Yy,this.validateLink=yb,this.normalizeLink=wb,this.normalizeLinkText=xb,this.utils=i,this.helpers=dv({},a),this.options={},this.configure(e),t&&this.set(t)}Db.prototype.set=function(e){return dv(this.options,e),this},Db.prototype.configure=function(e){const t=this;if(lv(e)){const t=e;if(!(e=mb[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},Db.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Db.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Db.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Db.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Db.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Db.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Db.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Cb=Db;var Eb=n(80602);function Sb(e,t,n){let{direction:r}=(0,Fe.bU)(),o=function(e){let{getItems:t,collection:n,selectionManager:r,onDragStart:o,onDragMove:i,onDragEnd:a,preview:l,getAllowedDropOperations:u}=e,[,c]=(0,s.useState)(!1),d=(0,s.useRef)(new Set),p=(0,s.useRef)(null),h=e=>{let t=new Set(r.isSelected(e)?new Set([...r.selectedKeys].filter((e=>!!n.getItem(e)))):[]);return t.add(e),t};return{collection:n,selectionManager:r,get draggedKey(){return p.current},get draggingKeys(){return d.current},isDragging:e=>d.current.has(e),getKeysForDrag:h,getItems:e=>t(h(e)),preview:l,getAllowedDropOperations:u,startDrag(e,t){let n=h(e);d.current=n,p.current=e,r.setFocused(!1),c(!0),"function"==typeof o&&o({...t,keys:n})},moveDrag(e){"function"==typeof i&&i({...e,keys:d.current})},endDrag(e){let{isInternal:t}=e;"function"==typeof a&&a({...e,keys:d.current,isInternal:t}),d.current=new Set,p.current=null,c(!1)}}}({...e,collection:t.collection,selectionManager:t.selectionManager,getItems:e.getItems||(e=>[...e].map((e=>{let n=t.collection.getItem(e);return(0,Oe.kG)(n,"Expected item to be defined."),{"text/plain":n.textValue}})))});(0,Fe.Xu)(e,o,n);let i=function(e){let{acceptedDragTypes:t="all",onInsert:n,onRootDrop:r,onItemDrop:o,onReorder:i,shouldAcceptItemDrop:a,collection:l,selectionManager:u,onDropEnter:c,getDropOperation:d,onDrop:p}=e,[h,f]=(0,s.useState)(null),m=(0,s.useRef)(null),g=e=>{if("before"===e.dropPosition){let t=l.getKeyBefore(e.key);return null!=t?{type:"item",key:t,dropPosition:"after"}:null}if("after"===e.dropPosition){let t=l.getKeyAfter(e.key);return null!=t?{type:"item",key:t,dropPosition:"before"}:null}},v=(0,s.useCallback)((e=>{let{target:s,types:l,allowedOperations:u,isInternal:c,draggingKeys:h}=e;if("all"===t||t.some((e=>l.has(e)))){let e=n&&"item"===s.type&&!c&&("before"===s.dropPosition||"after"===s.dropPosition),t=i&&"item"===s.type&&c&&("before"===s.dropPosition||"after"===s.dropPosition),f=r&&"root"===s.type&&!c,m=o&&"item"===s.type&&"on"===s.dropPosition&&!(c&&h.has(s.key))&&(!a||a(s,l));if(p||e||t||f||m)return d?d(s,l,u):u[0]}return"cancel"}),[t,d,n,r,o,a,i,p]);return{collection:l,selectionManager:u,target:h,setTarget(t){if(this.isDropTarget(t))return;let n=m.current;n&&"function"==typeof e.onDropExit&&e.onDropExit({type:"dropexit",x:0,y:0,target:n}),t&&"function"==typeof c&&c({type:"dropenter",x:0,y:0,target:t}),m.current=t,f(t)},isDropTarget(e){let t=m.current;return!!ne(e,t)||"item"===(null==e?void 0:e.type)&&"item"===(null==t?void 0:t.type)&&e.key!==t.key&&e.dropPosition!==t.dropPosition&&"on"!==e.dropPosition&&"on"!==t.dropPosition&&(ne(g(e),t)||ne(e,g(t)))},getDropOperation:e=>v(e)}}({...e,collection:t.collection,selectionManager:t.selectionManager}),{collectionProps:a}=(0,Fe.zw)({...e,keyboardDelegate:new Fe.dp({collection:t.collection,disabledKeys:t.disabledKeys,ref:n,orientation:e.orientation,layout:e.layout,direction:r}),dropTargetDelegate:new Fe.hO(t.collection,n)},i,n);return e.enableReorder?{collectionProps:a,dragState:o,dropState:i}:{collectionProps:{},dropState:void 0,dragState:void 0}}function _b(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Pb(e,t,n){return(t=_b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ab(e){for(var t=1;t{for(var r of Object.keys(e)){var o;if(e[r]!==(null!==(o=t[r])&&void 0!==o?o:n[r]))return!1}return!0},Ob=e=>{var t=t=>{var n=e.defaultClassName,r=Ab(Ab({},e.defaultVariants),t);for(var o in r){var i,a=null!==(i=r[o])&&void 0!==i?i:e.defaultVariants[o];if(null!=a){var s=a;"boolean"==typeof s&&(s=!0===s?"true":"false");var l=e.variantClassNames[o][s];l&&(n+=" "+l)}}for(var[u,c]of e.compoundVariants)Tb(u,r,e.defaultVariants)&&(n+=" "+c);return n};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return zb(e.variantClassNames,(e=>zb(e,(e=>e.split(" ")[0]))))}},t},Ib=Ob({defaultClassName:"_6n12k9a _1yep5z6l0 _1yep5z6kz _1yep5z6hk _1yep5z6ki",variantClassNames:{isDropTarget:{true:"_1yep5z612n"},orientation:{vertical:"_1yep5z6166",horizontal:"_1yep5z6167"}},defaultVariants:{},compoundVariants:[]}),Fb=Ob({defaultClassName:"_6n12k98 _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]}),Mb=Ob({defaultClassName:"_6n12k91 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6ki _1yep5z6kl _1yep5z6ky _1yep5z6kx _1yep5z6kv",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z612n _1yep5z616c _1yep5z616a _1yep5z616d _1yep5z612w _1yep5z612x _1yep5z612y"},isHovered:{true:"_1yep5z6114",false:"_1yep5z6113"},isFirstChild:{true:"_6n12k95"},isLastChild:{true:"_6n12k96"},isDisabled:{true:"z9nup83 _1yep5z6109"}},defaultVariants:{},compoundVariants:[]}),Rb=Ob({defaultClassName:"gukncs0",variantClassNames:{isVertical:{true:"gukncs1"},isSecondary:{true:"gukncs2"}},defaultVariants:{},compoundVariants:[]}),jb=s.forwardRef((({className:e,style:t,variant:n="primary",orientation:r="horizontal",UNSAFE_omitRole:o,elementType:i="div",...a},s)=>{let{separatorProps:l}=(0,Fe.zA)({...a,orientation:r,elementType:i});return(0,Me.jsx)(i,{...l,className:(0,Oe.AK)(Rb({isVertical:"vertical"===r,isSecondary:"secondary"===n}),"BaselineUI-Separator",e),"data-orientation":r,"data-block-id":a["data-block-id"],style:t,role:o?void 0:l.role,ref:s})}));function Bb(e){return je.Kj.properties.has(e)}jb.displayName="Separator";var Nb=s.forwardRef((({elementType:e="div",children:t,...n},r)=>{let o=e,{sprinkleProps:i,domProps:a}=(0,s.useMemo)((()=>{let e={},t={};for(let r in n)Bb(r)?e[r]=n[r]:t[r]=n[r];return{sprinkleProps:e,domProps:t}}),[n]);return(0,Me.jsx)(o,{...a,className:(0,Oe.AK)((0,je.Kj)(i),"BaselineUI-Box",a.className),ref:r,children:t})}));Nb.displayName="Box";var Lb=s.forwardRef((({item:e,isDisabled:t,isFocusVisible:n,isSelected:r,liProps:o,showSelectedIcon:i,description:a,descriptionProps:s,labelProps:l,isFocused:u,isPressed:c,_state:d},p)=>{(0,Oe.kG)(e.value&&("option"===e.value.type||void 0===e.value.type),"Item cannot be a section");let{icon:h,label:f}=e.value,{hoverProps:m,isHovered:g}=(0,Fe.XI)({isDisabled:t}),v=(0,Oe.mS)({"data-selected":r,"data-disabled":t,"data-focused":u,"data-hovered":g,"data-pressed":c,"data-focus-visible":n,"data-selection-mode":d.selectionManager.selectionMode});return(0,Me.jsxs)("li",{...(0,Fe.dG)(o,m,v),className:(0,Oe.AK)(Mb({isHovered:g,isFocused:n,isFirstChild:d.collection.getFirstKey()===e.key,isLastChild:d.collection.getLastKey()===e.key,isDisabled:t}),"BaselineUI-ListBox-Option"),ref:p,children:[(0,Me.jsxs)(Nb,{display:"flex",alignItems:"center",gap:"lg",children:[i?(0,Me.jsx)("span",{"aria-hidden":!0,style:{height:24,width:24},children:r?(0,Me.jsx)(Re.KML,{size:24}):null}):null,h?(0,Me.jsx)(h,{size:24}):null,(0,Me.jsx)("span",{...l,children:f})]}),a?(0,Me.jsx)("span",{className:Fb({isDisabled:t}),...s,children:a}):null]})}));Lb.displayName="DefaultRenderOption";var Kb=({dropState:e,orientation:t="vertical",dropIndicatorStyle:n,dropIndicatorClassName:r,renderDropIndicator:o=(({isDropTarget:e,isHidden:t,dropIndicatorProps:o,orientation:i},a)=>t?null:(0,Me.jsx)("li",{...o,ref:a,"data-drop-target":e,className:(0,Oe.AK)(Ib({isDropTarget:e,orientation:i}),"BaselineUI-DropIndicator",r),style:n})),...i})=>{let a=s.useRef(null),{dropIndicatorProps:l,isHidden:u,isDropTarget:c}=(0,Fe.Dr)(i,e,a);return o({dropIndicatorProps:{...l,role:"option"},isHidden:u,isDropTarget:c,orientation:t},a)},Vb=({item:e,children:t,state:n,dragState:r,...o})=>{let{dragProps:i}=(0,Fe.J4)({key:e.key},r);return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(Kb,{target:{type:"item",key:e.key,dropPosition:"before"},...o}),t(i),null==n.collection.getKeyAfter(e.key)&&(0,Me.jsx)(Kb,{target:{type:"item",key:e.key,dropPosition:"after"},...o})]})};Vb.displayName="DraggableListOption";var qb=s.forwardRef((({item:e,renderOption:t=((e,t,n)=>(0,Me.jsx)(Lb,{item:e,liProps:t.optionProps,...t,ref:n})),showSelectedIcon:n,state:r,dragState:o,dropState:i,orientation:a,dropIndicatorStyle:l,dropIndicatorClassName:u,optionStyle:c,optionClassName:d},p)=>{let h=s.useRef(null),f=(0,Fe.Fv)({key:e.key},r,h),{value:m}=e;(0,Oe.kG)(!!m),(0,Oe.kG)(!("children"in e),"ListSection should not be passed to ListOption");let g={style:"function"==typeof c?c(m):c,className:"function"==typeof d?d(m):d};return o&&i?(0,Me.jsx)(Vb,{orientation:a,state:r,item:e,dropState:i,dragState:o,dropIndicatorStyle:l,dropIndicatorClassName:u,children:o=>t(e,{...f,showSelectedIcon:n,_state:r,optionProps:(0,Fe.dG)(f.optionProps,o,g)},(0,Ie.lq)(h,p))}):t(e,{...f,showSelectedIcon:n,_state:r,optionProps:(0,Fe.dG)(f.optionProps,g)},(0,Ie.lq)(h,p))}));qb.displayName="Option";var Hb=({section:e,state:t,sectionClassName:n,sectionStyle:r,...o})=>{let{itemProps:i,groupProps:a}=(0,Fe.TV)({heading:e.rendered,"aria-label":e["aria-label"]}),s=t.collection.getChildren?.(e.key);(0,Oe.kG)(s,"items with type `section` must have children");let{value:l}=e,u="function"==typeof r?r(l):r,c="function"==typeof n?n(l):n;return(0,Me.jsxs)(Me.Fragment,{children:[e.key!==t.collection.getFirstKey()&&(0,Me.jsx)(jb,{UNSAFE_omitRole:!0}),(0,Me.jsx)("li",{...i,style:{...i.style,...u},className:(0,Oe.AK)("_6n12k90",c,"BaselineUI-ListBox-Section"),children:(0,Me.jsx)("ul",{...a,children:[...s].map((e=>(0,Me.jsx)(qb,{item:e,state:t,...o},e.key)))})})]})};Hb.displayName="ListBoxSection";var Zb=s.forwardRef((({className:e,layout:t="stack",orientation:n="vertical",showSelectedIcon:r=!0,UNSAFE_state:o,style:i,renderOption:a,enableReorder:l=!1,"data-block-id":u,renderDragPreview:c,...d},p)=>{let h=s.useRef(null),f=g(d),{direction:m}=(0,Fe.bU)(),v=o||f,y=s.useRef(null),{listBoxProps:b}=(0,Fe.co)({...d,shouldSelectOnPressUp:l,keyboardDelegate:new Fe.dp({collection:v.collection,ref:y,layout:t,orientation:n,direction:m,disabledKeys:v.disabledKeys})},v,y),{collectionProps:w,dragState:x,dropState:D}=Sb({...d,layout:t,orientation:n,enableReorder:l,preview:h},v,y),{isFocusVisible:C,isFocused:E,focusProps:S}=(0,Fe.Fx)(),_=(0,Oe.mS)({"data-block-id":u,"data-layout":t,"data-empty":0===v.collection.size,"data-focused":E,"data-focus-visible":C,"data-orientation":n});return(0,Me.jsxs)("ul",{...(0,Fe.dG)(b,S,_,w),className:(0,Oe.AK)("_1yep5z6ky","BaselineUI-ListBox",e),style:i,ref:(0,Ie.lq)(p,y),children:[[...v.collection].map((e=>{let t={key:e.key,state:v,dragState:x,dropState:D,renderOption:a,renderDropIndicator:d.renderDropIndicator,showSelectedIcon:r,orientation:n,dropIndicatorStyle:d.dropIndicatorStyle,dropIndicatorClassName:d.dropIndicatorClassName,optionStyle:d.optionStyle,optionClassName:d.optionClassName};return"section"===e.type?(0,Me.jsx)(Hb,{...t,section:e}):(0,Me.jsx)(qb,{...t,item:e})})),c?(0,Me.jsx)(Fe.vI,{ref:h,children:c}):null]})}));Zb.displayName="ListBoxBase";var Ub=s.forwardRef(((e,t)=>(0,Me.jsx)(Zb,{...e,ref:t,children:e=>"section"===e.type?(0,Me.jsx)(c.$0,{items:e.children,title:e.id,children:e=>(0,Me.jsx)(c.ck,{children:e.label},e.id)},e.id):(0,Me.jsx)(c.ck,{children:e.label},e.id)})));Ub.displayName="ListBox";var $b="uf19bsg _1yep5z6ki",Gb=Ob({defaultClassName:"uf19bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f0 _1yep5z6kx _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6ks",variantClassNames:{size:{xxs:"uf19bs1",xs:"uf19bs2",sm:"uf19bs3",md:"uf19bs4",lg:"uf19bs5 _1yep5z6vw _1yep5z6vx _1yep5z6vy _1yep5z6wk _1yep5z6wl _1yep5z6wm _1yep5z6x8 _1yep5z6x9 _1yep5z6xa _1yep5z6xw _1yep5z6xx _1yep5z6xy"},isHovered:{true:"uf19bs6"},isDisabled:{true:"uf19bs7 _1yep5z610d"},isFocusVisible:{true:"uf19bs8"},variant:{primary:"uf19bs9",secondary:"uf19bsa",tertiary:"uf19bsb",ghost:"uf19bsc",toolbar:"_1yep5z6we _1yep5z6wf _1yep5z6wg _1yep5z6x2 _1yep5z6x3 _1yep5z6x4 _1yep5z6xq _1yep5z6xr _1yep5z6xs _1yep5z6ye _1yep5z6yf _1yep5z6yg",popover:"uf19bse _1yep5z6oz _1yep5z6p0 _1yep5z6p1 _1yep5z6mn _1yep5z6mo _1yep5z6mp _1yep5z6le _1yep5z6lf _1yep5z6lg _1yep5z6nq _1yep5z6nr _1yep5z6ns _1yep5z6uz _1yep5z6v0 _1yep5z6v1"},isPressed:{true:"uf19bsf"}},defaultVariants:{},compoundVariants:[[{variant:"toolbar",isHovered:!0,isFocusVisible:!1},"_1yep5z61mf"],[{variant:"primary",isHovered:!0,isFocusVisible:!1},"_1yep5z61mf"],[{variant:"secondary",isHovered:!0,isFocusVisible:!1},"_1yep5z61ln"],[{variant:"tertiary",isHovered:!0,isFocusVisible:!1},"_1yep5z61lm _1yep5z61mg"],[{variant:"ghost",isHovered:!0,isFocusVisible:!1},"_1yep5z61ls"],[{variant:"popover",isHovered:!0,isFocusVisible:!1},"_1yep5z61o1 _1yep5z61rl _1yep5z61rp _1yep5z61rm"],[{variant:"toolbar",isPressed:!0},"_1yep5z61mf"],[{variant:"primary",isPressed:!0},"_1yep5z61mf"],[{variant:"secondary",isPressed:!0},"_1yep5z61ln"],[{variant:"tertiary",isPressed:!0},"_1yep5z61lq _1yep5z61mg"],[{variant:"ghost",isPressed:!0},"_1yep5z61lt"],[{variant:"popover",isPressed:!0},"_1yep5z61o1 _1yep5z61rl _1yep5z61rp _1yep5z61rm"],[{variant:"ghost",isDisabled:!1},"_1yep5z61lr"],[{variant:"popover",size:"lg"},"_1yep5z61h4 _1yep5z61h5 _1yep5z61h6 _1yep5z61hs _1yep5z61ht _1yep5z61hu _1yep5z61ig _1yep5z61ih _1yep5z61ii _1yep5z61j4 _1yep5z61j5 _1yep5z61j6"]]}),Wb=Ob({defaultClassName:"oom8bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ks _1yep5z6dy _1yep5z6ki",variantClassNames:{variant:{primary:"oom8bs1",secondary:"oom8bs2",tertiary:"oom8bs3",ghost:"oom8bs4",popover:"oom8bs5"},isDisabled:{true:"oom8bs6"},isFocusVisible:{true:"oom8bs7"},isHovered:{true:"oom8bs8"},size:{sm:"oom8bs9",md:"oom8bsa"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isHovered:!0},"oom8bsb"],[{variant:"secondary",isHovered:!0},"oom8bsc"],[{variant:"tertiary",isHovered:!0},"oom8bsd"],[{variant:"popover",isHovered:!0},"oom8bse"],[{variant:"ghost",isHovered:!0},"oom8bsf"],[{variant:"primary",isFocusVisible:!0},"oom8bsg"],[{variant:"tertiary",isFocusVisible:!0},"oom8bsh"]]}),Xb={sm:16,md:20},Yb=s.forwardRef((({label:e,style:t,className:n,iconStart:r,iconEnd:o,variant:i="primary",elementType:a="button",isDisabled:l,size:u="sm","data-block-id":c,...d},p)=>{let h=s.useRef(null),{buttonProps:f,isPressed:m}=(0,Fe.UW)({...d,elementType:a,isDisabled:l},h),g=Xb[u],{hoverProps:v,isHovered:y}=(0,Fe.XI)({isDisabled:l}),{isFocusVisible:b,isFocused:w,focusProps:x}=(0,Fe.Fx)();return(0,Me.jsxs)(a,{...(0,Fe.dG)(f,v,x),className:(0,Oe.AK)(Wb({isDisabled:!!l,isFocusVisible:b,isHovered:y,variant:i,size:u}),"BaselineUI-ActionButton",n),"data-focus-visible":b,"data-focused":w,"data-hovered":y,"data-disabled":l,"data-block-id":c,"data-pressed":m,style:t,ref:(0,Ie.lq)(p,h),children:[!!r&&(0,Me.jsx)(r,{size:g}),e,!!o&&(0,Me.jsx)(o,{size:g}),"popover"===i&&(0,Me.jsx)(Be.v4,{size:8,className:$b})]})}));Yb.displayName="ActionButton";var Qb=Ob({defaultClassName:"z9nup84",variantClassNames:{size:{xs:"z9nup85",sm:"z9nup86"}},defaultVariants:{},compoundVariants:[]}),Jb="z9nup80",ew="z9nup83",tw=s.forwardRef((({className:e,node:t},n)=>{let r=s.useRef(null);return s.useEffect((()=>{let e=r.current;return e?.append(t),()=>{e?.contains(t)&&t.remove()}}),[t]),(0,Me.jsx)("div",{className:(0,Oe.AK)(Jb,e),ref:(0,Ie.lq)(n,r)})}));tw.displayName="DomNodeRenderer";var nw=Ob({defaultClassName:"_14uvjig4",variantClassNames:{isDisabled:{true:"_14uvjig5"},hasNumberInput:{false:"_14uvjig6"}},defaultVariants:{},compoundVariants:[]}),rw=Ob({defaultClassName:"_14uvjige _14uvjig1",variantClassNames:{active:{true:"_14uvjigf _14uvjig2"},isDisabled:{true:"_14uvjigg"},isReadOnly:{true:"_14uvjigh"},isFocusVisible:{true:"_14uvjigi _14uvjig2"},isHovered:{true:"_14uvjigj _14uvjig2"}},defaultVariants:{},compoundVariants:[]}),ow=Ob({defaultClassName:"_14uvjig9 _14uvjig1",variantClassNames:{active:{true:"_14uvjig2"},isFocusVisible:{true:"_14uvjigb _14uvjig2"},isDisabled:{true:"_14uvjigc"},isHovered:{true:"_14uvjig2"}},defaultVariants:{},compoundVariants:[]}),iw=Ob({defaultClassName:"nrh1ehx",variantClassNames:{isDisabled:{true:"nrh1ehy"},hasError:{true:"nrh1ehz"},labelPosition:{start:"nrh1eh10",top:"nrh1eh11"}},defaultVariants:{},compoundVariants:[]}),aw=Ob({defaultClassName:"nrh1eho",variantClassNames:{isDisabled:{true:"nrh1ehp"},labelPosition:{top:"nrh1ehq",start:"nrh1ehr"}},defaultVariants:{},compoundVariants:[]}),sw=Ob({defaultClassName:"nrh1ehs",variantClassNames:{validationState:{valid:"nrh1eht",error:"nrh1ehu",warning:"nrh1ehv"},isReadOnly:{true:"nrh1ehw"}},defaultVariants:{},compoundVariants:[]}),lw="nrh1eh3",uw=Ob({defaultClassName:"nrh1eh4",variantClassNames:{labelPosition:{top:"nrh1eh5",start:"nrh1eh6"},hasMessage:{true:"nrh1eh7"}},defaultVariants:{},compoundVariants:[[{labelPosition:"start",hasMessage:!1},"nrh1eh8"]]}),cw=Ob({defaultClassName:"nrh1eh0",variantClassNames:{labelPosition:{top:"z9nup81",start:"nrh1eh2 z9nup82"}},defaultVariants:{},compoundVariants:[]}),dw=Ob({defaultClassName:"nrh1eh9 z9nup82",variantClassNames:{validationState:{valid:"nrh1eha",error:"nrh1ehb",warning:"nrh1ehc"},isHovered:{true:"nrh1ehd"},isFocused:{true:"nrh1ehe"},isDisabled:{true:"nrh1ehf"},variant:{primary:"nrh1ehg",ghost:"nrh1ehh"},isReadOnly:{true:"nrh1ehi"}},defaultVariants:{},compoundVariants:[[{variant:"ghost",isHovered:!0,isFocused:!1,validationState:"valid"},"nrh1ehj"],[{variant:"ghost",isFocused:!1,isHovered:!1,validationState:"valid"},"nrh1ehk"],[{isHovered:!0,validationState:"valid",isDisabled:!1,isReadOnly:!1,isFocused:!1,variant:"primary"},"nrh1ehl"],[{isHovered:!0,validationState:"warning",isDisabled:!1,isReadOnly:!1,isFocused:!1},"nrh1ehm"],[{isReadOnly:!0,variant:"primary",isFocused:!1},"nrh1ehn"]]});function pw({description:e,errorMessageProps:t,descriptionProps:n,warningMessage:r,errorMessage:o,labelPosition:i,isDisabled:a}){return e?(0,Me.jsx)("div",{...n,className:iw({isDisabled:a,labelPosition:i}),children:e}):o?(0,Me.jsx)("div",{...t,className:iw({hasError:!0,labelPosition:i}),children:o}):r?(0,Me.jsx)("div",{className:iw({isDisabled:a,labelPosition:i}),children:r}):null}var hw=Ob({defaultClassName:"_1lnwne1 z9nup82",variantClassNames:{isHoveredOrFocused:{true:"_1lnwne2"},isInteractive:{false:"z9nup83"}},defaultVariants:{},compoundVariants:[[{isHoveredOrFocused:!0,isInteractive:!0},"_1lnwne4"]]}),fw={xxs:8,xs:12,sm:16,md:20,lg:24},mw=s.forwardRef((({className:e,style:t,icon:n,size:r="md",variant:o="primary",UNSAFE_NON_INTERACTIVE:i,elementType:a=(i?"div":"button"),...l},u)=>{!l["aria-label"]&&!l["aria-labelledby"]&&console.warn("An `ActionIconButton` requires an aria-label or aria-labelledby prop.");let c=s.useRef(null),{buttonProps:d,isPressed:p}=(0,Fe.UW)({...l,elementType:a},c),{isFocusVisible:h,isFocused:f,focusProps:m}=(0,Fe.Fx)(),{hoverProps:g,isHovered:v}=(0,Fe.XI)({isDisabled:l.isDisabled}),y=(0,Oe.mS)({"data-block-id":l["data-block-id"],"data-focused":f,"data-focus-visible":h,"data-disabled":l.isDisabled,"data-hovered":v,"data-pressed":p});return(0,Me.jsxs)(a,{...(0,Fe.dG)(d,g,m,y),className:(0,Oe.AK)(Gb({variant:o,size:r,isDisabled:!!l.isDisabled,isFocusVisible:h,isHovered:v,isPressed:p}),"BaselineUI-ActionIconButton",e),ref:(0,Ie.lq)(u,c),style:t,...i&&{tabIndex:void 0,role:void 0,"aria-label":void 0,"aria-labelledby":void 0,"aria-disabled":void 0},children:[(0,Me.jsx)(n,{role:"presentation",size:fw[r]}),"popover"===o&&(0,Me.jsx)(Be.v4,{size:8,className:$b})]})}));mw.displayName="ActionIconButton";var gw=s.forwardRef((({className:e,style:t,labelPosition:n="top",variant:r="primary",showStepper:o=!0,...i},a)=>{let l=s.useRef(null),{locale:u}=(0,Fe.bU)(),c=ie({...i,locale:u}),{hoverProps:d,isHovered:p}=(0,Fe.XI)({isDisabled:i.isDisabled}),{focusProps:h,isFocusVisible:f,isFocused:m}=(0,Fe.Fx)(),{labelProps:g,decrementButtonProps:v,inputProps:y,incrementButtonProps:b,groupProps:w,descriptionProps:x,errorMessageProps:D}=(0,Fe.IL)(i,c,l),C=(0,s.useMemo)((()=>i.isReadOnly?Ne.CP:i.isInvalid?Ne.Rv:null),[i.isInvalid,i.isReadOnly]),E=pw({description:i.description,errorMessageProps:D,descriptionProps:x,errorMessage:i.errorMessage,labelPosition:n,isDisabled:i.isDisabled}),S=(0,Oe.mS)({"data-disabled":i.isDisabled,"data-readonly":i.isReadOnly,"data-hovered":p,"data-focused":m,"data-focus-visible":f,"data-invalid":i.isInvalid,"data-block-id":i["data-block-id"]});return(0,Me.jsxs)("div",{style:t,className:(0,Oe.AK)(cw({labelPosition:n}),"BaselineUI-NumberInput",e),...S,ref:a,children:[i.label?(0,Me.jsxs)("div",{className:uw({labelPosition:n,hasMessage:!!E}),children:[(0,Me.jsx)("label",{...g,className:lw,children:i.label}),"start"===n&&E]}):null,(0,Me.jsxs)("div",{className:(0,Oe.AK)({[ew]:i.isDisabled}),children:[(0,Me.jsxs)("div",{...(0,Fe.dG)(w,d),className:(0,Oe.AK)(dw({isHovered:p,isDisabled:!!i.isDisabled,isReadOnly:!!i.isReadOnly,validationState:i.isInvalid?"error":"valid",isFocused:m,variant:r}),{_1lnwne0:"start"===n},"BaselineUI-NumberInput-Container"),children:[(0,Me.jsx)("input",{...(0,Fe.dG)(y,h),ref:l,className:(0,Oe.AK)("BaselineUI-NumberInput-Input",aw({isDisabled:i.isDisabled,labelPosition:n}))}),C?(0,Me.jsx)(C,{className:sw({validationState:"error",isReadOnly:i.isReadOnly}),size:16}):null,o?(0,Me.jsxs)("div",{className:hw({isHoveredOrFocused:p||m,isInteractive:!i.isReadOnly&&!i.isDisabled}),children:[(0,Me.jsx)(mw,{variant:"secondary",size:"xxs",icon:Be.V_,...v,className:"BaselineUI-NumberInput-DecrementButton"}),(0,Me.jsx)(jb,{style:{height:16},orientation:"vertical"}),(0,Me.jsx)(mw,{variant:"secondary",size:"xxs",icon:Be.pO,...b,className:"BaselineUI-NumberInput-DecrementButton"})]}):null]}),"top"===n&&E]})]})}));gw.displayName="NumberInput";var vw=s.forwardRef((({className:e,style:t,onChange:n,onChangeEnd:r,numberFormatOptions:o,isDisabled:i,step:a,minValue:l,maxValue:u,value:c,"aria-label":d,"aria-labelledby":p,"aria-details":h,"aria-describedby":f,"data-block-id":m,defaultValue:g,isReadOnly:v,label:y,id:b,includeNumberInput:w},x)=>{let D=s.useRef(null),C={onChange:void 0===n?void 0:e=>{n(e[0])},isDisabled:i||v,step:a,minValue:l,maxValue:u,onChangeEnd:void 0===r?void 0:e=>{r(e[0])},value:void 0===c?void 0:[c],defaultValue:void 0===g?void 0:[g],"aria-label":d,"aria-labelledby":p,"aria-details":h,"aria-describedby":f,id:b,label:y},E=(0,Fe.Ux)(o),S=(0,ce.x)({...C,numberFormatter:E}),{trackProps:_,groupProps:P,labelProps:k}=(0,Fe.oN)(C,S,D),A=(0,Me.jsx)(gw,{variant:"ghost",showStepper:!1,"aria-label":d,"aria-labelledby":k.id,value:S.getThumbValue(0),formatOptions:o,onChange:e=>{S.setThumbValue(0,e)},style:{width:55,textAlign:"right",flexShrink:0}});return(0,Me.jsxs)("div",{...P,style:t,"data-block-id":m,className:(0,Oe.AK)("_14uvjig0 z9nup81","BaselineUI-Slider",e),children:[y?(0,Me.jsxs)("div",{className:"_14uvjig3",children:[(0,Me.jsx)("label",{...k,className:(0,Oe.AK)(nw({isDisabled:i,hasNumberInput:!!w}),"BaselineUI-Slider-Label"),children:y}),w?A:null]}):null,(0,Me.jsxs)("div",{className:"_14uvjig7",children:[(0,Me.jsx)("div",{..._,className:(0,Oe.AK)("_14uvjig8","BaselineUI-Slider-Track"),ref:(0,Ie.lq)(D,x),"data-testid":"track",children:(0,Me.jsx)(yw,{state:S,trackRef:D,isDisabled:i,isReadOnly:v})}),w&&!y?A:null]})]})}));function yw({state:e,trackRef:t,isDisabled:n,isReadOnly:r}){let o=s.useRef(null),{thumbProps:i,inputProps:a,isDragging:l}=(0,Fe.pS)({trackRef:t,inputRef:o},e),{focusProps:u,isFocused:c,isFocusVisible:d}=(0,Fe.Fx)(),{hoverProps:p,isHovered:h}=(0,Fe.XI)({isDisabled:n}),f=(0,Oe.mS)({"data-disabled":n,"data-readonly":r,"data-hovered":h,"data-focus-visible":d,"data-dragging":l,"data-focused":c});return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:(0,Oe.AK)(ow({isDisabled:n,isFocusVisible:d,active:l,isHovered:h}),"BaselineUI-Slider-TrackHighlight"),style:{width:i.style?.left},"data-testid":"track-highlight"}),(0,Me.jsx)("div",{...(0,Fe.dG)(i,p,f),className:(0,Oe.AK)(rw({isDisabled:n,isFocusVisible:d,active:l,isReadOnly:r,isHovered:h}),"BaselineUI-Slider-Thumb"),"data-testid":"thumb",children:(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{ref:o,...(0,Fe.dG)(a,u)})})})]})}vw.displayName="Slider";var bw=Ob({defaultClassName:"bpklwa7",variantClassNames:{isReadOnly:{true:"bpklwa8"},isDisabled:{true:"bpklwa9"},isSelected:{true:"bpklwaa"},isFocused:{true:"bpklwab"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isDisabled:!1,isReadOnly:!1},"bpklwac"]]}),ww=Ob({defaultClassName:"bpklwae",variantClassNames:{isDisabled:{true:"bpklwaf"},isSelected:{true:"bpklwag"},isReadOnly:{true:"bpklwah"}},defaultVariants:{},compoundVariants:[]}),xw=Ob({defaultClassName:"bpklwa0",variantClassNames:{labelPosition:{top:"bpklwa1",left:"bpklwa2"}},defaultVariants:{},compoundVariants:[]}),Dw=Ob({defaultClassName:"bpklwa3",variantClassNames:{labelPosition:{top:"bpklwa4",left:"bpklwa5"}},defaultVariants:{},compoundVariants:[]}),Cw=s.forwardRef((({className:e,label:t,labelPosition:n="top",statusLabel:r,style:o,"data-block-id":i,...a},l)=>{let u=s.useRef(null),c=(0,xe.l)(a),{inputProps:d,isPressed:p}=(0,Fe.h9)(a,c,u),{isFocusVisible:h,focusProps:f}=(0,Fe.Fx)(),{hoverProps:m,isHovered:g}=(0,Fe.XI)({isDisabled:a.isDisabled}),v=(0,Oe.mS)({"data-block-id":i,"data-focused":h,"data-disabled":a.isDisabled,"data-focus-visible":h,"data-selected":c.isSelected,"data-readonly":a.isReadOnly,"data-hovered":g,"data-pressed":p}),y=(0,Me.jsx)("div",{className:(0,Oe.AK)(bw({isSelected:c.isSelected,isDisabled:!!a.isDisabled,isFocused:h,isReadOnly:!!a.isReadOnly}),"BaselineUI-Switch-Track"),children:(0,Me.jsx)("div",{className:(0,Oe.AK)(ww({isSelected:c.isSelected,isDisabled:a.isDisabled,isReadOnly:a.isReadOnly}),"BaselineUI-Switch-Knob"),"data-testid":"switch-knob"})});return(0,Me.jsxs)("label",{...(0,Fe.dG)(v,m),className:(0,Oe.AK)(xw({labelPosition:n}),"BaselineUI-Switch",e),style:o,ref:l,children:[t?(0,Me.jsx)("span",{className:(0,Oe.AK)("bpklwad","BaselineUI-Switch-Label"),children:t}):null,(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...(0,Fe.dG)(d,f),ref:u})}),r?(0,Me.jsxs)("div",{className:Dw({labelPosition:n}),children:[(0,Me.jsx)("span",{className:(0,Oe.AK)("BaselineUI-Switch-Status-Label","bpklwa6"),children:c.isSelected?r.on:r.off}),y]}):y]})}));Cw.displayName="Switch";var Ew=Ob({defaultClassName:"_19n40yy0",variantClassNames:{size:{lg:"_19n40yy1",md:"_19n40yy2",sm:"_19n40yy3"},variant:{primary:"_19n40yy4",ghost:"_19n40yy5"},isFocused:{true:"_19n40yy6"},hasText:{true:"_19n40yy7"},isDisabled:{true:"_19n40yy8"}},defaultVariants:{},compoundVariants:[]}),Sw={sm:Ke.W1,md:Re.W1M,lg:Re.W1M},_w=s.forwardRef((({className:e,size:t="md",variant:n="primary",...r},o)=>{let i=s.useRef(null),a=function(e){let[t,n]=(0,l.zk)(ue(e.value),ue(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}(r),{inputProps:u,clearButtonProps:c}=(0,Fe.tJ)({...r,"aria-haspopup":!1,"aria-autocomplete":"none",type:"search"},a,i),{focusProps:d,isFocusVisible:p,isFocused:h}=(0,Fe.Fx)({within:!0,isTextInput:!0}),f=Sw[t],m="sm"===t?Le.b0:Ne.b0,g=(0,Oe.mS)({"data-block-id":r["data-block-id"],"data-focused":h,"data-disabled":r.isDisabled,"data-focus-visible":p});return(0,Me.jsxs)("div",{...g,className:(0,Oe.AK)(Ew({size:t,isFocused:h,variant:n,hasText:!!a.value,isDisabled:r.isDisabled}),"BaselineUI-SearchInput",e),ref:o,children:[(0,Me.jsx)(f,{size:"sm"===t?20:24}),(0,Me.jsx)("input",{...(0,Fe.dG)(u,d),className:"_19n40yy9",ref:i}),""!==a.value&&(0,Me.jsx)(mw,{icon:m,...c,size:"sm"===t?"xs":"sm",variant:"secondary"})]})}));function Pw(e=window){let[t,n]=(0,s.useState)("light"),[r,o]=(0,s.useState)(!1),[i,a]=(0,s.useState)(!1),[l,u]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{let t=e.matchMedia("(prefers-color-scheme: dark)"),r=e=>{n(e.matches?"dark":"light")};return t.matches&&n("dark"),t.addEventListener("change",r),()=>{t.addEventListener("change",r)}}),[e]),(0,s.useEffect)((()=>{let t=e.matchMedia("(prefers-contrast: more)"),n=e=>{o(e.matches)};return o(t.matches),t.addEventListener("change",n),()=>{t.addEventListener("change",n)}}),[e]),(0,s.useEffect)((()=>{let t=e.matchMedia("(prefers-reduced-motion: reduce)"),n=e=>{a(e.matches)};return t.matches&&a(!0),t.addEventListener("change",n),()=>{t.addEventListener("change",n)}}),[e]),(0,s.useEffect)((()=>{let t=e.matchMedia("(prefers-reduced-transparency: reduce)"),n=e=>{u(e.matches)};return t.matches&&u(!0),t.addEventListener("change",n),()=>{t.addEventListener("change",n)}}),[e]),{colorScheme:t,highContrast:r,reducedMotion:i,transparency:l}}_w.displayName="SearchInput";var kw=(0,s.createContext)({theme:je.Wb,setTheme:()=>{}}),Aw={LIGHT:{name:"light",theme:je.Wb},DARK:{name:"dark",theme:je.$_}},zw=s.forwardRef((({theme:e="system",children:t,setTheme:n,className:r,style:o,UNSAFE_domProps:i,"data-block-id":a},l)=>{let{direction:u}=(0,Fe.bU)(),{colorScheme:c,reducedMotion:d,highContrast:p,transparency:h}=Pw(),{name:f,theme:m}=(0,s.useMemo)((()=>{switch(e){case"system":return"light"===c?Aw.LIGHT:Aw.DARK;case"light":return Aw.LIGHT;case"dark":return Aw.DARK;default:return{name:"custom",theme:e}}}),[c,e]),g={"data-theme":f,"data-block-id":a,"data-reduced-motion":d,"data-high-contrast":p,"data-transparency":h},v=(0,s.useMemo)((()=>({theme:m,setTheme:n})),[m,n]);return(0,Me.jsx)(kw.Provider,{value:v,children:(0,Me.jsx)("div",{...(0,Fe.dG)(i,g),className:(0,Oe.AK)(Jb,"BaselineUI-ThemeProvider",r),style:{...He(je.themeVars,m),...He({"var(--hj25q10)":"rtl"===u?"-1":"1"}),...o},ref:l,children:t})})}));zw.displayName="ThemeProvider";var Tw=s.createContext(void 0),Ow=({portalContainer:e,children:t})=>(0,Me.jsx)(Tw.Provider,{value:e,children:t});function Iw({ref:e,onIntersect:t,isDisabled:n,threshold:r,rootMargin:o,root:i}){let a=s.useRef(null);(0,s.useEffect)((()=>{if(n)return a.current?.disconnect(),void(a.current=null);a.current=new IntersectionObserver((([e])=>{t(e)}),{root:i?.current,rootMargin:o,threshold:r})}),[t,n,i,o,r]),(0,s.useEffect)((()=>{let{current:t}=a;return e.current&&t?.observe(e.current),()=>t?.disconnect()}),[e])}function Fw({ref:e,onResize:t,isDisabled:n}){let r=s.useRef(null),[o,i]=s.useState();return s.useEffect((()=>{if(n)return r.current?.disconnect(),void(r.current=null);r.current=new ResizeObserver((([e])=>{i(e.contentRect),t?.(e)}))}),[t,n,i]),s.useEffect((()=>{let{current:t}=r;return e.current&&t?.observe(e.current),()=>t?.disconnect()}),[e]),{size:o}}function Mw({src:e,alt:t}){let[n,r]=(0,s.useState)(!1),[o,i]=(0,s.useState)(!1),[a,l]=(0,s.useState)(!1),u=()=>{r(!0),l(!1)},c=()=>{i(!0),l(!1)};return(0,s.useEffect)((()=>{if(!e)return;l(!0);let t=new Image;return t.src=e,t.addEventListener("load",u),t.addEventListener("error",c),()=>{t.removeEventListener("load",u),t.removeEventListener("error",c)}}),[e]),{isLoaded:n,hasError:o,isLoading:a,imgProps:{src:n?e:void 0,alt:t}}}function Rw(){let e=(0,s.useRef)(!0);return(0,s.useEffect)((()=>{e.current=!1}),[]),e.current}Ow.displayName="PortalContainerProvider";var jw="SET_STATE",Bw="UNDO",Nw="REDO",Lw=(e,t)=>{let{past:n,present:r,future:o}=e;switch(t.type){case jw:return{past:[...n,r],present:t.data,future:[]};case Bw:return{past:n.slice(0,n?.length-1),present:n[n?.length-1],future:[r,...o]};case Nw:return{past:[...n,r],present:o[0],future:o.slice(1)};default:throw new Error("Invalid action type")}},Kw=(e={},{isDisabled:t,onAction:n})=>{let r=Rw(),[o,i]=(0,s.useReducer)(Lw,{past:[],present:e,future:[]}),{past:a,present:l,future:u}=o,c=(0,s.useRef)(),d=!!a?.length,p=!!u?.length;return(0,Je.useGranularEffect)((()=>{(c.current===Bw||c.current===Nw)&&(n?.(l,c.current),c.current=void 0)}),[l],[n,r]),{state:l,push:t?()=>{}:e=>{i({type:jw,data:e})},undo:t?()=>{}:()=>{c.current=Bw,i({type:Bw})},redo:t?()=>{}:()=>{c.current=Nw,i({type:Nw})},pastStates:a,futureStates:u,canUndo:d,canRedo:p}},Vw=s.createContext({messages:{}}),qw=({children:e,messages:t={},...n})=>{let r=s.useMemo((()=>({messages:t})),[t]);return(0,Me.jsx)(Fe.bd,{...n,children:(0,Me.jsx)(Vw.Provider,{value:r,children:e})})};function Hw(e){let{messages:t}=(0,s.useContext)(Vw);!e&&tt()(t)&&console.warn("BUI 🌍: No messages object provided and no messages found in the `I18nProvider`. Please provide a messages object to the `useI18n` hook.");let n=(0,Fe.hX)(e?(0,Oe.gn)(e):t);return{formatMessage:(e,t)=>{if("object"==typeof e)try{return n(e.id,t)}catch{return console.warn(`BUI 🌍: Translation not found for key: \`${e.id.toString()}\`. The default message, i.e. \`${e.defaultMessage}\`, will be used instead.`),e.defaultMessage||e.id}else try{return n(e,t)}catch{return console.warn(`BUI 🌍: Translation not found for key: \`${e.toString()}\`. The default message, i.e. \`${e.toString()}\`, will be used instead.`),e}},locale:(0,Fe.bU)()}}qw.displayName="I18nProvider";var Zw=e=>e;function Uw(e,t,n){let r=s.useRef(null);return s.useEffect((()=>{if(e)return r.current=new MutationObserver(n),r.current.observe(e,t),()=>{r.current&&r.current.disconnect()}}),[e,t,n]),r.current}function $w(e,t){let[n,r]=(0,s.useState)((()=>{try{let n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return console.log(e),t}}));return[n,t=>{try{let o=t instanceof Function?t(n):t;r(o),window.localStorage.setItem(e,JSON.stringify(o))}catch(e){console.log(e)}}]}function Gw({ref:e,onSelectionChange:t,onSelectionEnd:n,isDisabled:r}){let o=s.useRef(null);(0,Fe.r7)({ref:e,isDisabled:r,onPressEnd(){let t=(0,Ie.kR)(e.current).getSelection();t&&e.current?.contains(t.anchorNode)&&n?.(t)},onPressStart(){let t=(0,Ie.kR)(e.current);o.current=t.getSelection(),o.current&&o.current.removeAllRanges()}}),(0,s.useEffect)((()=>{let n=e.current;if(!n||r)return;function o(){let r=(0,Ie.kR)(n).getSelection();r&&e.current?.contains(r.anchorNode)&&t(r)}let i=(0,Ie.r3)(n);return i.addEventListener("selectionchange",o),()=>{i.removeEventListener("selectionchange",o)}}),[e,t,r])}function Ww(e){let t=(0,s.useCallback)((()=>{let t=(0,Ie.kR)(e??document.body),n=t.matchMedia(je.o$.tablet),r=t.matchMedia(je.o$.desktop);return n.matches?"tablet":r.matches?"desktop":"mobile"}),[e]),[n,r]=s.useState(t);return(0,Ie.bt)((()=>{let n=(0,Ie.kR)(e),o=()=>{r(t())};return n.addEventListener("resize",o),o(),()=>{n.removeEventListener("resize",o)}}),[e,t]),n}function Xw(e){let t=(0,s.useContext)(Tw);return e||t}var Yw=Ob({defaultClassName:"_1mdhlqv4",variantClassNames:{isOpen:{true:"_1mdhlqv5"}},defaultVariants:{},compoundVariants:[]}),Qw="_1mdhlqv7 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7",Jw=Ob({defaultClassName:"_1mdhlqv1 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69o _1yep5z69p _1yep5z69q _1yep5z6eu _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6dy",variantClassNames:{isFocused:{false:"_1mdhlqv2"},isDisabled:{true:"z9nup83 _1yep5z6ey"}},defaultVariants:{},compoundVariants:[]});var ex={bottom:"_1gzftth2",top:"_1gzftth3",right:"_1gzftth4",left:"_1gzftth5"},{color:tx}=je.themeVars,nx=s.forwardRef((({className:e,style:t,state:n,overlayProps:r,underlayClassName:o,children:i,includeArrow:a=!1,offset:l=2,portalContainer:u,contentContainerClassName:c,contentContainerStyle:d,...p},h)=>{let{theme:f}=(0,s.useContext)(kw),m=s.useRef(null),g=Xw(u),v=a?8:0,{underlayProps:y,popoverProps:b,placement:w,arrowProps:x}=(0,Fe.Sv)({...p,offset:l+v,popoverRef:m},n),D=function({placement:e}){let t=(0,nt.JZ)();return(0,nt.Yz)(!0,{from:{opacity:0,transform:`translate3d(${"bottom"===e?"0, 4px, 0":"0, -4px, 0"})`},enter:{opacity:1,transform:"translate3d(0, 0, 0)"},immediate:!!t,config:nt.vc.stiff})}({placement:w});(0,s.useEffect)((()=>(p.scrollRef?.current?.addEventListener("scroll",n.close),()=>{p.scrollRef?.current?.removeEventListener("scroll",n.close)})),[p.scrollRef,n.close,p.isNonModal]);let C="center"===w?"bottom":w;return D(((s,l)=>l&&(0,Me.jsx)(Fe.aV,{portalContainer:g,children:(0,Me.jsxs)(zw,{ref:h,theme:f,style:t,className:o,UNSAFE_domProps:r,children:[(0,Me.jsx)("div",{...y,className:"BaselineUI-Popover-Underlay"}),(0,Me.jsxs)(nt.q.div,{...b,style:{...b.style,...s,...He({"var(--_1gzftth0)":`${p.triggerRef?.current?.offsetWidth}px`})},ref:(0,Ie.lq)(m,h),className:(0,Oe.AK)("_1gzftth1","BaselineUI-Popover-Content",e),"data-placement":["top","bottom","left","right"].filter((e=>w?.includes(e))),children:[a?(0,Me.jsxs)("svg",{className:(0,Oe.AK)(ex[C],"BaselineUI-PopoverContent-Arrow"),...x,style:{...x.style,position:"absolute"},width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Me.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.019 0h1.228l6.272 7.237L13.791 0h1.228v1h-.772L7.519 8.763.791 1H.019V0Z",fill:tx.border.medium}),(0,Me.jsx)("path",{d:"M7.504 6.492 2.248.488h10.511L10.132 3.49 7.504 6.492Z",fill:tx.background.primary.subtle,stroke:tx.background.primary.subtle})]}):null,(0,Me.jsx)(Fe.U4,{onDismiss:n.close}),(0,Me.jsx)("div",{style:d,className:(0,Oe.AK)("_1gzftth6",c),children:i}),(0,Me.jsx)(Fe.U4,{onDismiss:n.close})]})]})})))}));nx.displayName="PopoverContentCore";var rx=({section:e,showSelectedIcon:t,state:n})=>{let{itemProps:r,groupProps:o,headingProps:i}=(0,Fe.x7)({heading:e.value?.title,"aria-label":e["aria-label"]});return(0,Me.jsxs)(Me.Fragment,{children:[e.key!==n.collection.getFirstKey()&&(0,Me.jsx)(jb,{elementType:"li"}),(0,Me.jsxs)("li",{...r,children:[e.value?.title?(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("span",{...i,children:e.value.title})}):null,(0,Me.jsx)("ul",{...o,className:"xyd2ss0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b",children:[...e.childNodes].map((e=>((0,Oe.kG)("item"===e.type),(0,Me.jsx)(ox,{item:e,state:n,showSelectedIcon:t},e.key))))})]})]})};rx.displayName="MenuSection";var ox=({item:e,state:t,className:n,showSelectedIcon:r})=>{let o=s.useRef(null),i=(0,Fe.iX)({key:e.key},t,o),{isFocusVisible:a,focusProps:l}=(0,Fe.Fx)();return(0,Me.jsx)(Lb,{item:e,liProps:(0,Fe.dG)(i.menuItemProps,l,{className:n}),...i,isFocusVisible:a,ref:o,description:e.value?.keyboardShortcut,descriptionProps:i.keyboardShortcutProps,_state:t,showSelectedIcon:r})};ox.displayName="MenuItem";var ix=s.forwardRef((({className:e,itemClassName:t,onContentKeyDown:n,...r},o)=>{let i=Te(r),a=s.useRef(null),{menuProps:l}=(0,Fe.H9)(r,i,a),{keyboardProps:u}=(0,Fe.v5)({onKeyDown:n});return(0,Me.jsx)("ul",{...(0,Fe.dG)(l,u),className:(0,Oe.AK)("xyd2ss1 _1yep5z613 _1yep5z614 _1yep5z615 _1yep5z63f _1yep5z63g _1yep5z63h _1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z65r _1yep5z65s _1yep5z65t _1yep5z683 _1yep5z684 _1yep5z685 _1yep5z699 _1yep5z69a _1yep5z69b _1yep5z66x _1yep5z66y _1yep5z66z _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6l0 _1yep5z6kz _1yep5z6he _1yep5z6l3 _1yep5z6fs",e),ref:(0,Ie.lq)(a,o),children:[...i.collection].map((e=>"section"===e.type?(0,Me.jsx)(rx,{section:e,state:i,showSelectedIcon:"multiple"===r.selectionMode||"single"===r.selectionMode},e.key):(0,Me.jsx)(ox,{item:e,state:i,className:t,showSelectedIcon:"multiple"===r.selectionMode||"single"===r.selectionMode},e.key)))})}));ix.displayName="MenuContent";var ax=s.forwardRef((({isDisabled:e,contentClassName:t,state:n,placement:r="bottom start",isNonModal:o,shouldFlip:i,shouldUpdatePosition:a,boundaryElement:l,crossOffset:u,offset:c,triggerButton:d,portalContainer:p,...h},f)=>{let m=s.useRef(null),g=Xw(p),{menuTriggerProps:v,menuProps:y}=(0,Fe.u4)({isDisabled:e,type:"menu"},n,m);return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)($e,{...(0,Fe.dG)(v,{isDisabled:e,popupPlacement:["top","bottom","right","left"].find((e=>r.includes(e))),isSelected:n.isOpen,className:"BaselineUI-Menu-Trigger"}),ref:m,children:d}),n.isOpen?(0,Me.jsx)(nx,{triggerRef:m,state:n,placement:r,isNonModal:o,shouldFlip:i,shouldUpdatePosition:a,boundaryElement:l,crossOffset:u,offset:c||2,className:(0,Oe.AK)(Qw,"BaselineUI-Menu-Popover"),portalContainer:g,children:(0,Me.jsx)(ix,{className:t,...y,...h,ref:f,autoFocus:n.focusStrategy||"first"})}):null]})}));ax.displayName="MenuRoot";var sx=s.forwardRef(((e,t)=>{let n=e.children;return(0,Me.jsx)(ax,{...e,ref:t,triggerButton:n,children:e=>"type"in e&&"section"===e.type?(0,Me.jsx)(c.$0,{items:e.children,title:e.title,children:e=>(0,Me.jsx)(c.ck,{children:e.label},e.id)},e.id):((0,Oe.kG)("label"in e,"Item doesn't have a label"),(0,Me.jsx)(c.ck,{textValue:e.label,children:e.label},e.id))})}));sx.displayName="MenuBase";var lx=s.forwardRef((({defaultOpen:e,isOpen:t,onOpenChange:n,...r},o)=>{let i=re({defaultOpen:e,isOpen:t,onOpenChange:n});return(0,Me.jsx)(sx,{...r,state:i,ref:o})}));lx.displayName="Menu";var ux=Ob({defaultClassName:"_13f0naj0",variantClassNames:{variant:{default:"_13f0naj1",inline:"_13f0naj2"},isHovered:{true:"_13f0naj3"},isFocusVisible:{true:"_13f0naj4"},isDisabled:{true:"_13f0naj5"},size:{sm:"_13f0naj6",md:"_13f0naj7",lg:"_13f0naj8"},type:{body:"_13f0naj9",label:"_13f0naja"},isActive:{true:"_13f0najb"}},defaultVariants:{},compoundVariants:[[{isActive:!0,isDisabled:!1},"_13f0najc"],[{type:"body",size:"sm"},"_13f0najd"],[{type:"body",size:"md"},"_13f0naje"],[{type:"body",size:"lg"},"_13f0najf"],[{type:"label",size:"sm"},"_13f0najg"],[{type:"label",size:"md"},"_13f0najh"],[{type:"label",size:"lg"},"_13f0naji"]]}),cx=s.forwardRef((({className:e,style:t,children:n,variant:r="default",size:o="md",elementType:i="a",type:a="body","data-block-id":l,...u},c)=>{let d=s.useRef(null),{linkProps:p,isPressed:h}=(0,Fe.nB)({...u,elementType:u.onPress?"span":i},d),{isFocusVisible:f,isFocused:m,focusProps:g}=(0,Fe.Fx)(),{hoverProps:v,isHovered:y}=(0,Fe.XI)({isDisabled:u.isDisabled}),b=i,w=(0,Oe.mS)({"data-block-id":l,"data-disabled":u.isDisabled,"data-focused":m,"data-pressed":h,"data-focus-visible":f,"data-hovered":y});return(0,Me.jsx)(b,{...(0,Fe.dG)(p,g,v,w),className:(0,Oe.AK)(ux({variant:r,isFocusVisible:f,isHovered:y,isDisabled:u.isDisabled,size:o,isActive:h,type:a}),"BaselineUI-Link",e),ref:(0,Ie.lq)(d,c),style:t,children:n})}));async function dx({items:e}){let t=e.filter((e=>"file"===e.kind)).map((async e=>((0,Oe.kG)("file"===e.kind),e.getFile())));return await Promise.all(t)}cx.displayName="Link";var px=Ob({defaultClassName:"_180w5ed0",variantClassNames:{variant:{default:"_180w5ed1",inline:"_180w5ed2"},hoveredOrFocusedOrActive:{true:"_180w5ed3"},disabled:{true:"_180w5ed4"}},defaultVariants:{},compoundVariants:[[{variant:"inline",hoveredOrFocusedOrActive:!0},"_180w5ed5"],[{variant:"default",hoveredOrFocusedOrActive:!0},"_180w5ed6"],[{variant:"default",disabled:!0},"_180w5ed7"],[{variant:"inline",disabled:!0},"_180w5ed8"]]}),hx=Ob({defaultClassName:"_180w5ede",variantClassNames:{disabled:{true:"_180w5edf"}},defaultVariants:{},compoundVariants:[]}),fx=Ob({defaultClassName:"_180w5ed9",variantClassNames:{disabled:{true:"_180w5eda"}},defaultVariants:{},compoundVariants:[]}),mx=Ob({defaultClassName:"_180w5edb",variantClassNames:{disabled:{true:"_180w5edc"},hovered:{true:"_180w5edd"}},defaultVariants:{},compoundVariants:[]}),gx=s.forwardRef((({className:e,label:t,description:n,icon:r,variant:o="default",...i},a)=>{let l=s.useRef(null),{inputProps:u,descriptionProps:c,labelProps:d}=function({isDisabled:e,onValueChange:t,onChange:n,name:r,"aria-describedby":o,"aria-label":i,accept:a,multiple:s}){let l=(0,Fe.Me)(),u=(0,Fe.Me)(),c=(0,Fe.Me)();return{inputProps:{type:"file",id:u,disabled:!!e,"aria-labelledby":i?void 0:l,"aria-describedby":o||c,"aria-label":i,onChange:e=>{let r=[...e.target.files||[]];t?.(r),n?.(e)},name:r,accept:a,multiple:s},labelProps:{htmlFor:u,id:l},descriptionProps:{id:c}}}(i),{dropProps:p}=(0,Fe.LW)({ref:l,onDrop:async({items:e})=>{let t=e.filter((e=>"file"===e.kind)).map((async e=>((0,Oe.kG)("file"===e.kind),e.getFile()))),n=await Promise.all(t);i.onValueChange?.(n)}}),{focusProps:h,isFocusVisible:f}=(0,Fe.Fx)(),{hoverProps:m,isHovered:g}=(0,Fe.XI)({isDisabled:i.isDisabled});return(0,Me.jsxs)("label",{...(0,Fe.dG)(p,m,d),className:(0,Oe.AK)(px({variant:o,disabled:i.isDisabled,hoveredOrFocusedOrActive:g||f}),e),ref:(0,Ie.lq)(a,l),children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...(0,Fe.dG)(h,u)})}),r?(0,Me.jsx)(r,{size:20,className:fx({disabled:i.isDisabled})}):null,(0,Me.jsxs)("div",{children:[(0,Me.jsx)("div",{className:mx({disabled:i.isDisabled,hovered:g}),children:t}),n?(0,Me.jsx)("div",{...c,className:hx({disabled:i.isDisabled}),children:n}):null]})]})}));gx.displayName="FileUpload";var vx=Ob({defaultClassName:"_12vfhl48",variantClassNames:{variant:{success:"_12vfhl49",error:"_12vfhl4a",active:"_12vfhl4b"}},defaultVariants:{},compoundVariants:[]}),yx=Ob({defaultClassName:"_12vfhl43 _12vfhl42",variantClassNames:{hasLabel:{false:"_12vfhl44"}},defaultVariants:{},compoundVariants:[]}),bx=s.forwardRef((({className:e,variant:t="active",showValue:n,description:r,errorMessage:o,...i},a)=>{let s=(0,Fe.Me)(),{labelProps:l,progressBarProps:u}=(0,Fe.D6)({...i,"aria-describedby":r?s:i["aria-describedby"]}),{minValue:c=0,maxValue:d=100,value:p=0,label:h}=i,f=(p-c)/(d-c),m=`${Math.round(100*f)}%`,g=(0,Me.jsx)("output",{className:yx({hasLabel:!!h}),children:u["aria-valuetext"]}),v="error"===t?o:r;return(0,Me.jsxs)("div",{...u,className:(0,Oe.AK)("_12vfhl40 z9nup81",e),ref:a,children:[h?(0,Me.jsxs)("div",{className:"_12vfhl41 z9nup82",children:[(0,Me.jsx)("label",{...l,className:"_12vfhl42",children:h}),n?g:null]}):null,(0,Me.jsxs)("div",{className:"_12vfhl45",children:[(0,Me.jsxs)("div",{className:"_12vfhl46 z9nup82",children:[(0,Me.jsx)("div",{className:"_12vfhl47",children:(0,Me.jsx)("div",{style:{width:m},className:vx({variant:t})})}),!h&&n?g:null]}),v?(0,Me.jsx)("div",{className:iw({hasError:"error"===t}),id:s,children:v}):null]})]})}));function wx({isReadOnly:e,validationState:t}){return e?Ne.CP:"error"===t?Ne.Rv:"warning"===t?Ne.av:null}bx.displayName="ProgressBar";var xx=s.forwardRef((({className:e,validationState:t="valid",variant:n="primary",style:r,labelPosition:o="top",inputStyle:i,inputClassName:a,"data-block-id":l,...u},c)=>{let d=s.useRef(null),{inputProps:p,labelProps:h,descriptionProps:f,errorMessageProps:m,validationErrors:g}=(0,Fe.hR)({...u,validationState:"error"===t?"invalid":"valid"},d),v=u.errorMessage||g.join(" "),y=pw({...u,errorMessage:v,descriptionProps:f,errorMessageProps:m,labelPosition:o});v&&(t="error");let{hoverProps:b,isHovered:w}=(0,Fe.XI)({isDisabled:u.isDisabled}),{isFocused:x,focusProps:D,isFocusVisible:C}=(0,Fe.Fx)(),E=wx({isReadOnly:u.isReadOnly,validationState:t}),S=(0,Oe.mS)({"data-readonly":u.isReadOnly,"data-disabled":u.isDisabled,"data-validation-state":t,"data-focused":x,"data-focus-visible":C});return(0,Me.jsxs)("div",{className:(0,Oe.AK)(cw({labelPosition:o}),"BaselineUI-TextInput",e),"data-block-id":l,style:r,ref:c,children:[u.label||"start"===o&&y?(0,Me.jsxs)("div",{className:uw({labelPosition:o,hasMessage:!!y}),children:[(0,Me.jsx)("label",{...h,className:lw,children:u.label}),"start"===o&&y]}):null,(0,Me.jsxs)("div",{className:(0,Oe.AK)({[ew]:u.isDisabled}),children:[(0,Me.jsxs)("div",{...b,className:dw({validationState:t,isHovered:w,isFocused:x,variant:n,isReadOnly:!!u.isReadOnly,isDisabled:!!u.isDisabled}),children:[(0,Me.jsx)("input",{...(0,Fe.dG)(p,D,S),className:(0,Oe.AK)(aw({isDisabled:u.isDisabled,labelPosition:o}),"BaselineUI-TextInput-Input",a),style:i,ref:d}),E?(0,Me.jsx)(E,{className:sw({validationState:t,isReadOnly:u.isReadOnly}),size:16}):null]}),"top"===o&&y]})]})}));xx.displayName="TextInput";var Dx=({value:e,...t})=>{let n=(0,Fe.Ux)(t);return(0,Me.jsx)(Me.Fragment,{children:n.format(e)})};Dx.displayName="NumberFormat";var Cx=Ob({defaultClassName:"_9b1tml0",variantClassNames:{isSelected:{true:"_9b1tml1",false:"_9b1tml2"},isDisabled:{true:"z9nup83"},isHovered:{true:"_9b1tml4"},isFocusVisible:{true:"_9b1tml5"},isReadOnly:{true:"_9b1tml6"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isFocusVisible:!0,isReadOnly:!1},"_9b1tml7"],[{isSelected:!0,isHovered:!0,isDisabled:!1,isReadOnly:!1},"_9b1tml8"],[{isSelected:!1,isHovered:!0,isDisabled:!1,isReadOnly:!1},"_9b1tml9"],[{isSelected:!0,isDisabled:!0},"_9b1tmla"],[{isSelected:!0,isReadOnly:!0},"_9b1tmlb"]]}),Ex=Ob({defaultClassName:"_9b1tmlf",variantClassNames:{isSelected:{true:"_9b1tmlg"},size:{sm:"_9b1tmlh",md:"_9b1tmli"},isDisabled:{true:"_9b1tmlj"},isReadOnly:{true:"_9b1tmlk"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isDisabled:!1,isReadOnly:!1},"_9b1tmll"],[{isSelected:!0,isDisabled:!0},"_9b1tmlm"],[{isSelected:!1,isDisabled:!0},"_9b1tmln"]]}),Sx=Ob({defaultClassName:"_9b1tmlc",variantClassNames:{isDisabled:{true:"_9b1tmld"},isReadOnly:{true:"_9b1tmle"}},defaultVariants:{},compoundVariants:[]}),_x=s.forwardRef((({className:e,count:t,style:n,size:r="md",icon:o,...i},a)=>{let l={isRequired:!1},u=o||("md"===r?Ke.KM:Ne.KM);!i["aria-label"]&&!i["aria-labelledby"]&&console.warn("You must provide either an `aria-label` or `aria-labelledby` prop to the `Reaction` component.");let c=s.useRef(null),d=(0,xe.l)({...i,...l}),{inputProps:p,isPressed:h,isDisabled:f,isReadOnly:m,isSelected:g}=(0,Fe.h9)({...i,...l},d,c),{focusProps:v,isFocused:y,isFocusVisible:b}=(0,Fe.Fx)(),{hoverProps:w,isHovered:x}=(0,Fe.XI)({});return(0,Me.jsxs)("label",{ref:a,style:n,className:(0,Oe.AK)("_1yep5z6i3 _1yep5z6i4 _1yep5z6i5","BaselineUI-Reaction",e),"data-block-id":i["data-block-id"],"data-focused":y,"data-focus-visible":b,"data-disabled":f,"data-hovered":x,"data-pressed":h,"data-selected":g,children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...p,...v,ref:c})}),(0,Me.jsxs)("div",{...w,className:Cx({isSelected:g,isFocusVisible:b,isHovered:x,isReadOnly:m,isDisabled:f}),children:[(0,Me.jsx)("div",{className:Sx({isDisabled:f,isReadOnly:m}),children:(0,Me.jsx)(u,{size:"md"===r?20:16})}),(0,Me.jsx)("div",{className:Ex({isSelected:d.isSelected,isDisabled:f,isReadOnly:m,size:r}),children:(0,Me.jsx)(Dx,{value:t})})]})]})}));_x.displayName="Reaction";var Px=Ob({defaultClassName:"_1jwycy80",variantClassNames:{placement:{bottom:"_1jwycy81",left:"_1jwycy82",right:"_1jwycy83",top:"_1jwycy84"},variant:{default:"_1jwycy85",inverse:"_1jwycy86"}},defaultVariants:{},compoundVariants:[]}),kx=Ob({defaultClassName:"_1jwycy87 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn",variantClassNames:{size:{md:"_1yep5z63u _1yep5z63v _1yep5z63w _1yep5z61i _1yep5z61j _1yep5z61k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6e7",sm:"_1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dv"},variant:{default:"_1yep5z6g0 _1yep5z6ez",inverse:"_1yep5z6d7 _1yep5z6fs _1yep5z6eu"}},defaultVariants:{},compoundVariants:[]}),Ax=s.forwardRef((({children:e,state:t,overlayProps:n,arrowProps:r,placement:o,variant:i,size:a,tooltipProps:l,includeArrow:u},c)=>{let{tooltipProps:d}=(0,Fe.lL)({isOpen:t.isOpen},t),p=(0,s.useMemo)((()=>{switch(o){case"top":return{x:0,y:4};case"bottom":return{x:0,y:-4};case"left":return{x:4,y:0};case"right":return{x:-4,y:0};default:return{x:0,y:0}}}),[o]),h=(0,nt.JZ)(),[f]=(0,nt.q_)((()=>({from:{opacity:0,transform:`translate(${p.x}px, ${p.y}px)`},to:{opacity:1,transform:"translate(0, 0)"},immediate:!!h}))),m="center"===o?"bottom":o;return(0,Me.jsxs)(nt.q.span,{...n,style:{...f,...n.style},ref:c,"data-placement":m,children:[u?(0,Me.jsx)("div",{className:Px({placement:m,variant:i}),...r}):null,(0,Me.jsx)("div",{...(0,Fe.dG)(d,l),className:kx({variant:i,size:a}),children:e})]})}));Ax.displayName="TooltipContent";var zx=s.forwardRef((({className:e,children:t,...n},r)=>{let{theme:o}=(0,s.useContext)(kw);return(0,Me.jsx)(Fe.aV,{...n,children:(0,Me.jsx)(zw,{ref:r,theme:o,className:(0,Oe.AK)("BaselineUI-Portal",e),children:t})})}));zx.displayName="Portal";var Tx=s.forwardRef((({children:e,placement:t="bottom",delay:n=1e3,closeDelay:r=500,variant:o="default",size:i="md",includeArrow:a=!0,portalContainer:l,...u},c)=>{let d=s.useRef(null),p=s.useRef(null),h=!u.text||u.isDisabled,f=Ae({...u,delay:n,closeDelay:r,isDisabled:h}),{triggerProps:m,tooltipProps:g}=(0,Fe.QM)({...u,isDisabled:h,delay:n,closeDelay:r},f,d),v=Xw(l),{overlayProps:y,arrowProps:b,placement:w,updatePosition:x}=(0,Fe.tN)({arrowSize:a?13:0,targetRef:d,arrowBoundaryOffset:a?8:0,offset:a?12:2,overlayRef:p,placement:t,isOpen:f.isOpen,...u});return Iw({ref:p,threshold:1,onIntersect:x,isDisabled:!f.isOpen}),Fw({ref:d,onResize:x,isDisabled:!f.isOpen}),(0,Me.jsxs)(rt.tB,{...m,ref:d,children:[e,f.isOpen?(0,Me.jsx)(zx,{disableFocusManagement:!0,portalContainer:v,children:(0,Me.jsx)(Ax,{ref:(0,Ie.lq)(c,p),state:f,arrowProps:b,overlayProps:y,placement:w,tooltipProps:g,variant:o,size:i,includeArrow:a,children:u.text})}):null]})}));Tx.displayName="Tooltip";var Ox={sm:16,md:20},Ix={sm:[Ne.gq,Ne.rx],md:[Ke.gq,Ke.rx]},Fx=s.forwardRef((({className:e,style:t,size:n="md",variant:r="active",...o},i)=>{let{labelProps:a,progressBarProps:s}=(0,Fe.D6)({...o,isIndeterminate:!0}),l=Ox[n],u=l/2-2,c=2*u*Math.PI,d=Ix[n]["success"===r?0:1];return(0,Me.jsxs)("div",{className:(0,Oe.AK)("_1azy5681 z9nup82",e),ref:i,style:{...He({"var(--_1azy5680)":`${c}px`}),...t},children:[(0,Me.jsxs)("div",{...s,className:"_1azy5682",children:[("active"===r||"inactive"===r)&&(0,Me.jsxs)("svg",{height:l,width:l,viewBox:`0 0 ${l} ${l}`,children:[(0,Me.jsx)("circle",{role:"presentation",className:"_1azy5686",cx:l/2,cy:l/2,r:u}),"active"===r&&(0,Me.jsx)("circle",{role:"presentation",className:"_1azy5685",cx:l/2,cy:l/2,r:u})]}),"success"===r&&(0,Me.jsx)(d,{className:"_1azy5687",size:l}),"error"===r&&(0,Me.jsx)(d,{className:"_1azy5688",size:l})]}),o.label?(0,Me.jsx)("span",{...a,className:"_1azy5689",children:o.label}):null]})}));Fx.displayName="ProgressSpinner";var Mx=Ob({defaultClassName:"_5uw3kp0 oom8bs0 z9nup82",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{md:"_5uw3kp5",lg:"_5uw3kp6"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isFocusVisible:!0},"_5uw3kp7"]]}),Rx={md:20,lg:24},jx=s.forwardRef((({className:e,style:t,iconStart:n,size:r="md",elementType:o="button",...i},a)=>{let l=s.useRef(null),u=(0,xe.l)(i),{buttonProps:c,isPressed:d}=(0,Fe.kI)(i,u,l),{hoverProps:p,isHovered:h}=(0,Fe.XI)({isDisabled:i.isDisabled}),{isFocusVisible:f,isFocused:m,focusProps:g}=(0,Fe.Fx)(),v=(0,Oe.mS)({"data-block-id":i["data-block-id"],"data-focused":m,"data-focus-visible":f,"data-disabled":i.isDisabled,"data-hovered":h,"data-pressed":d,"data-selected":u.isSelected});return(0,Me.jsxs)(o,{...(0,Fe.dG)(c,p,g,v),className:(0,Oe.AK)(Mx({isHovered:h,isFocusVisible:f,isSelected:u.isSelected,size:r,isDisabled:i.isDisabled}),"BaselineUI-ToggleButton",e),style:t,ref:(0,Ie.lq)(l,a),children:[n?(0,Me.jsx)(n,{size:Rx[r]}):null,i.label]})}));jx.displayName="ToggleButton";var Bx=Ob({defaultClassName:"_16vugd0e",variantClassNames:{isDisabled:{true:"_16vugd0f"}},defaultVariants:{},compoundVariants:[]}),Nx=Ob({defaultClassName:"_16vugd01 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it",variantClassNames:{labelPosition:{end:"_1yep5z613k _1yep5z613l _1yep5z613m _1yep5z6ut _1yep5z6uu _1yep5z6uv",start:"_1yep5z613q _1yep5z613r _1yep5z613s _1yep5z6152 _1yep5z6153 _1yep5z6154"}},defaultVariants:{},compoundVariants:[]}),Lx=Ob({defaultClassName:"_16vugd05",variantClassNames:{isIndeterminate:{true:"_16vugd04"},isSelected:{true:"_16vugd04"},isFocusVisible:{true:"_16vugd08"},isHovered:{true:"_16vugd09"},isDisabled:{true:"_16vugd0a"},isReadOnly:{true:"_16vugd0b"},hasError:{true:"_16vugd0c"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isDisabled:!0},"_16vugd0d"]]}),Kx=s.forwardRef((({className:e,style:t,label:n,labelPosition:r="end","data-block-id":o,...i},a)=>{let l=s.useRef(null),u=(0,xe.l)(i),{isFocusVisible:c,isFocused:d,focusProps:p}=(0,Fe.Fx)(),{inputProps:h,isPressed:f,isDisabled:m,isSelected:g,isReadOnly:v}=(0,Fe.O)({...i,children:n},u,l),{hoverProps:y,isHovered:b}=(0,Fe.XI)({isDisabled:m}),w=(0,Oe.mS)({"data-disabled":m,"data-readonly":v,"data-hovered":b,"data-selected":g,"data-pressed":f,"data-indeterminate":i.isIndeterminate,"data-invalid":i.isInvalid,"data-focus-visible":c,"data-focused":d,"data-block-id":o});return(0,Me.jsxs)("label",{...w,className:(0,Oe.AK)(Nx({labelPosition:r}),"BaselineUI-Checkbox",e),style:t,ref:a,children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...(0,Fe.dG)(h,p),ref:l})}),(0,Me.jsxs)("div",{...y,className:Lx({isSelected:g&&!i.isIndeterminate,isIndeterminate:i.isIndeterminate,isFocusVisible:c,isDisabled:m,isReadOnly:v,hasError:i.isInvalid,isHovered:b}),children:[g&&!i.isIndeterminate?(0,Me.jsx)(Le.KM,{size:12}):null,i.isIndeterminate?(0,Me.jsx)(Le.V_,{size:12}):null]}),n?(0,Me.jsx)("span",{className:Bx({isDisabled:m}),children:n}):null]})}));Kx.displayName="Checkbox";var Vx={ar:{goToPage:"انتقال إلى صفحة",nextPage:"الصفحة التالية",pageXofY:"صفحة {arg0} من {arg1}",prevPage:"الصفحة السابقة"},cs:{goToPage:"Přejít na stranu",nextPage:"Další stránka",pageXofY:"Strana {arg0} z {arg1}",prevPage:"Předchozí strana"},cy:{goToPage:"Mynd i Dudalen",nextPage:"Tudalen Nesaf",pageXofY:"Tudalen {arg0} o {arg1}",prevPage:"Tudalen Blaenorol"},da:{goToPage:"Gå til side",nextPage:"Næste side",pageXofY:"Side {arg0} af {arg1}",prevPage:"Forrige side"},de:{goToPage:"Zu Seite wechseln",nextPage:"Nächste Seite",pageXofY:"Seite {arg0} von {arg1}",prevPage:"Vorherige Seite"},el:{goToPage:"Μετάβαση στη σελίδα",nextPage:"Επόμενη σελίδα",pageXofY:"Σελίδα {arg0} από {arg1}",prevPage:"Προηγούμενη σελίδα"},"en-GB":{goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"},en:{goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"},es:{goToPage:"Ir a la página",nextPage:"Página siguiente",pageXofY:"Página {arg0} de {arg1}",prevPage:"Página anterior"},fi:{goToPage:"Mene sivulle",nextPage:"Seuraava sivu",pageXofY:"Sivu {arg0} / {arg1}",prevPage:"Edellinen sivu"},"fr-CA":{goToPage:"Aller à la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page précédente"},fr:{goToPage:"Aller à la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page précédente"},he:{goToPage:"מעבר לעמוד",nextPage:"העמוד הבא",pageXofY:"עמוד {arg0} מתוך {arg1}",prevPage:"העמוד הקודם"},hr:{goToPage:"Idi na stranicu",nextPage:"Slijedeća stranica",pageXofY:"Stranica {arg0} od {arg1}",prevPage:"Prethodna stranica"},id:{goToPage:"Buka halaman",nextPage:"Halaman Berikutnya",pageXofY:"Halaman {arg0} dari {arg1}",prevPage:"Halaman Sebelumnya"},it:{goToPage:"Vai a pagina",nextPage:"Pagina successiva",pageXofY:"Pagina {arg0} di {arg1}",prevPage:"Pagina precedente"},ja:{goToPage:"ページに移動",nextPage:"次のページ",pageXofY:"ページ {arg0}/{arg1}",prevPage:"前のページ"},ko:{goToPage:"페이지로 이동",nextPage:"다음 페이지",pageXofY:"{arg0}/{arg1} 페이지",prevPage:"이전 페이지"},ms:{goToPage:"Pergi ke Halaman",nextPage:"Halaman Seterusnya",pageXofY:"Halaman {arg0} daripada {arg1}",prevPage:"Halaman Sebelumnya"},"nb-NO":{goToPage:"Gå til side",nextPage:"Neste side",pageXofY:"Side {arg0} av {arg1}",prevPage:"Forrige side"},nl:{goToPage:"Ga naar pagina",nextPage:"Volgende pagina",pageXofY:"Pagina {arg0} van {arg1}",prevPage:"Vorige pagina"},pl:{goToPage:"Przejdź do strony",nextPage:"Następna strona",pageXofY:"Strona {arg0} z {arg1}",prevPage:"Poprzednia strona"},"pt-PT":{goToPage:"Ir para página",nextPage:"Página seguinte",pageXofY:"Página {arg0} de {arg1}",prevPage:"Página anterior"},pt:{goToPage:"Ir à Página",nextPage:"Página Seguinte",pageXofY:"Página {arg0} de {arg1}",prevPage:"Página Anterior"},ru:{goToPage:"Перейти к странице",nextPage:"Следующая страница",pageXofY:"Страница {arg0} из {arg1}",prevPage:"Предыдущая страница"},sk:{goToPage:"Ísť na stranu",nextPage:"Dalšia strana",pageXofY:"Strana {arg0} z {arg1}",prevPage:"Predchádzajúca strana"},sl:{goToPage:"Pojdi na stran",nextPage:"Naslednja stran",pageXofY:"Stran {arg0} od {arg1}",prevPage:"Prejšnja stran"},sv:{goToPage:"Gå till sida",nextPage:"Nästa sida",pageXofY:"Sida {arg0} av {arg1}",prevPage:"Föregående sida"},th:{goToPage:"ไปที่หน้า",nextPage:"หน้าถัดไป",pageXofY:"หน้า {arg0} จาก {arg1}",prevPage:"หน้าก่อนหน้า"},tr:{goToPage:"Sayfaya Git",nextPage:"Sonraki Sayfa",pageXofY:"Sayfa {arg0}/{arg1}",prevPage:"Önceki Sayfa"},uk:{goToPage:"Перейти на сторінку",nextPage:"Наступна сторінка",pageXofY:"Сторінка {arg0} з {arg1}",prevPage:"Попередня сторінка"},"zh-Hans":{goToPage:"前往页面",nextPage:"下一页",pageXofY:"第 {arg0}/{arg1} 页",prevPage:"上一页"},"zh-Hant":{goToPage:"到此頁",nextPage:"下一頁",pageXofY:"第{arg0}頁,共{arg1}頁",prevPage:"上一頁"}},qx=Ob({defaultClassName:"_1nsi9h17",variantClassNames:{isFocusVisible:{true:"_1nsi9h18"},variant:{pinned:"_1nsi9h19",floating:"_1nsi9h1a"}},defaultVariants:{},compoundVariants:[]}),Hx=Ob({defaultClassName:"_1nsi9h10",variantClassNames:{size:{xs:"_1nsi9h11",sm:"_1nsi9h12",md:"_1nsi9h13",lg:"_1nsi9h14"},variant:{floating:"_1nsi9h15",pinned:"_1nsi9h16"}},defaultVariants:{},compoundVariants:[]}),Zx={style:"decimal"},Ux={xs:[Le.BN,Le.QU],sm:[Ne.BN,Ne.QU],md:[Ke.BN,Ke.QU],lg:[Re.BNd,Re.QUb]},$x=s.forwardRef((({className:e,style:t,minValue:n=1,defaultValue:r=1,incrementAriaLabel:o,decrementAriaLabel:i,"aria-label":a,size:l="md",variant:u="floating",...c},d)=>{let{locale:p}=(0,Fe.bU)(),h=Hw(Vx),f={...c,formatOptions:Zx,minValue:n,incrementAriaLabel:o||h.formatMessage("nextPage"),decrementAriaLabel:i||h.formatMessage("prevPage"),defaultValue:r,"aria-label":a||h.formatMessage("goToPage")},m=s.useRef(null),g=ie({...f,locale:p}),{inputProps:v,decrementButtonProps:y,incrementButtonProps:b,groupProps:w}=(0,Fe.IL)({...f,onKeyDown:e=>{"Enter"===e.key&&m.current?.blur(),c.onKeyDown?.(e)}},g,m),{hoverProps:x,isHovered:D}=(0,Fe.XI)({}),{focusProps:C,isFocused:E,isFocusVisible:S}=(0,Fe.Fx)(),_="floating"===u,[P,k]=Ux[l],A=(0,Oe.mS)({"data-focus-visible":S,"data-focused":E,"data-hovered":D,"data-block-id":c["data-block-id"]});return(0,Me.jsxs)("div",{...(0,Fe.dG)(w,x,A),className:(0,Oe.AK)(Hx({size:l,variant:u}),"BaselineUI-Pagination",e),style:t,ref:d,children:[(0,Me.jsx)(mw,{icon:P,...y,elementType:"div",size:l,style:{height:"100%",..._&&{borderRadius:0}},className:"BaselineUI-Pagination-DecrementButton"}),"floating"===u&&(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsxs)("div",{className:qx({isFocusVisible:S,variant:u}),"aria-label":h.formatMessage("pageXofY",{arg0:v.value,arg1:g.maxValue}),children:[(0,Me.jsx)("input",{...(0,Fe.dG)(v,C),ref:m,className:(0,Oe.AK)("BaselineUI-Pagination-Input","_1nsi9h1b"),style:{width:`${v.value?.toString().length||1}ch`}}),(0,Me.jsxs)("span",{className:"_1nsi9h1c",children:["/ ",(0,Me.jsx)(Dx,{value:g.maxValue})]})]}),"floating"===u&&(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsx)(mw,{icon:k,...b,elementType:"div",size:l,style:{height:"100%",..._&&{borderRadius:0}},className:"BaselineUI-Pagination-IncrementButton"})]})}));$x.displayName="Pagination";var Gx=({date:e,...t})=>{let n=(0,Fe.aQ)(t);return(0,Me.jsx)(Me.Fragment,{children:n.format(e)})};Gx.displayName="DateFormat";var Wx=Ob({defaultClassName:"_1f789qj1",variantClassNames:{isFocusVisible:{true:"_1f789qj2"},variant:{neutral:"_1f789qj3",red:"_1f789qj4",green:"_1f789qj5",blue:"_1f789qj6","high-contrast":"_1f789qj7"},isDisabled:{true:"_1f789qj8"},allowsRemoving:{true:"_1f789qj9"},isSelected:{true:"_1f789qja"},allowsSelection:{true:"_1f789qjb"},isHovered:{true:"_1f789qjc"}},defaultVariants:{},compoundVariants:[[{allowsSelection:!0,isHovered:!0,variant:"neutral"},"_1f789qjd"],[{allowsSelection:!0,isHovered:!0,variant:"red"},"_1f789qje"],[{allowsSelection:!0,isHovered:!0,variant:"blue"},"_1f789qjf"],[{allowsSelection:!0,isHovered:!0,variant:"green"},"_1f789qjg"],[{allowsSelection:!0,isHovered:!0,variant:"high-contrast"},"_1f789qjh"],[{allowsSelection:!0,isSelected:!0,isHovered:!0},"_1f789qji"]]}),Xx=Ob({defaultClassName:"_1f789qjk",variantClassNames:{variant:{neutral:"_1f789qjl",red:"_1f789qjm",green:"_1f789qjn",blue:"_1f789qjo","high-contrast":"_1f789qjp"},isHovered:{true:"_1f789qjq"}},defaultVariants:{},compoundVariants:[[{isHovered:!0,variant:"neutral"},"_1f789qjr"],[{isHovered:!0,variant:"red"},"_1f789qjs"],[{isHovered:!0,variant:"blue"},"_1f789qjt"],[{isHovered:!0,variant:"green"},"_1f789qju"],[{isHovered:!0,variant:"high-contrast"},"_1f789qjv"]]}),Yx=({item:e,state:t,variant:n="neutral"})=>{let r=s.useRef(null),{focusProps:o,isFocusVisible:i}=(0,Fe.Fx)({within:!0}),{rowProps:a,gridCellProps:l,removeButtonProps:u,allowsRemoving:c,isDisabled:d,isSelected:p,allowsSelection:h}=(0,Fe.E6)({item:e},t,r),f=s.useRef(null),{buttonProps:m}=(0,Fe.UW)(u,f),{hoverProps:g,isHovered:v}=(0,Fe.XI)({isDisabled:d}),{hoverProps:y,isHovered:b}=(0,Fe.XI)({isDisabled:d}),w=e.value?.icon,x=e.value?.variant??n;return(0,Me.jsx)("div",{...(0,Fe.dG)(a,o,y),ref:r,className:Wx({isFocusVisible:i,variant:x,isDisabled:d,allowsRemoving:c,isSelected:p,allowsSelection:h,isHovered:b}),children:(0,Me.jsxs)("div",{...l,className:"_1f789qjj",children:[p?(0,Me.jsx)(Ne.KM,{size:16}):null,!p&&w?(0,Me.jsx)(w,{size:16}):null,e.rendered,c?(0,Me.jsx)("button",{...(0,Fe.dG)(m,g),className:Xx({variant:x,isHovered:v}),children:(0,Me.jsx)(Le.b0,{})}):null]})})},Qx=s.forwardRef((({className:e,style:t,...n},r)=>{let o=s.useRef(null),i=g(n),{gridProps:a}=(0,Fe.Hb)(n,i,o);return(0,Me.jsx)("div",{...a,className:(0,Oe.AK)("_1f789qj0",e),style:t,ref:(0,Ie.lq)(r,o),children:[...i.collection].map((e=>(0,Me.jsx)(Yx,{state:i,item:e,variant:n.variant},e.key)))})}));Qx.displayName="TagGroupBase";var Jx=s.forwardRef((({items:e,...t},n)=>(0,Me.jsx)(Qx,{...t,items:e,ref:n,children:e=>(0,Me.jsx)(c.ck,{children:e.label})})));Jx.displayName="TagGroup";var eD=Ob({defaultClassName:"_1kvz17db _1yep5z6ki _1yep5z6kk",variantClassNames:{showActionsOnTriggerOnly:{true:"_1kvz17dc"},isTriggered:{true:"_1kvz17dd"}},defaultVariants:{},compoundVariants:[]}),tD=Ob({defaultClassName:"_1kvz17d0 _1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z68c _1yep5z68d _1yep5z68e _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6ki _1yep5z6kj",variantClassNames:{isExpanded:{true:"_1kvz17d1"}},defaultVariants:{},compoundVariants:[]}),nD=Ob({defaultClassName:"_1kvz17d2 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6ki _1yep5z6kl",variantClassNames:{isFocusVisible:{true:"_1kvz17d3"},isHovered:{true:"_1yep5z6ft",false:"_1yep5z6fu"},isDisabled:{true:"z9nup83"}},defaultVariants:{},compoundVariants:[]}),rD=Ob({defaultClassName:"_1kvz17d7 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it",variantClassNames:{isDisabled:{true:"_1yep5z6ey",false:"_1yep5z6eu"}},defaultVariants:{},compoundVariants:[]}),oD=s.forwardRef((({children:e,className:t,style:n},r)=>{let{headers:o}=(0,s.useContext)(iD),{disabledKeys:i}=(0,s.useContext)(iD),{keyboardProps:a}=(0,Fe.v5)({onKeyDown:e=>{let t=(0,Ie.r3)(e.target),n=[...o?.keys()||[]].findIndex((e=>o?.get(e)?.current===t.activeElement)),r=o?.get(n||0),a=o?.size||0,s=e=>{let t=o.get(e-1<0?a-1:e-1);i?.has(t?.current?.getAttribute("data-key")||"")?s(e-1):t?.current?.focus()},l=e=>{let t=o.get((e+1)%a);i?.has(t?.current?.getAttribute("data-key")||"")?l(e+1):t?.current?.focus()};if(r)switch(e.key){case"Home":e.preventDefault(),l(-1);break;case"End":e.preventDefault(),s(a);break;case"ArrowDown":e.preventDefault(),l(n);break;case"ArrowUp":e.preventDefault(),s(n);break;default:e.continuePropagation()}}});return(0,Me.jsx)("div",{...a,style:n,className:(0,Oe.AK)("_1yep5z6kv",t),ref:r,children:s.Children.map(e,((e,t)=>s.cloneElement(e,{index:t})))})}));oD.displayName="AccordionBase";var iD=s.createContext({expandedKeys:new Set,setExpandedKeys:()=>{},disabledKeys:new Set,headers:new Map,expansionMode:"multiple"}),aD=s.forwardRef((({children:e,disabledKeys:t,defaultExpandedKeys:n=new Set,expandedKeys:r,expansionMode:o="multiple",onChange:i,className:a,style:l},u)=>{let[c,d]=s.useState(n),p=s.useRef(new Map).current,[h,f]=s.useState(o);(0,s.useEffect)((()=>{f(h)}),[h]),(0,s.useEffect)((()=>{i?.(c)}),[c,i]);let m=(0,s.useMemo)((()=>({expandedKeys:r||c,setExpandedKeys:r?()=>{}:d,disabledKeys:t,headers:p,expansionMode:h})),[r,c,t,p,h]);return(0,Me.jsx)(iD.Provider,{value:m,children:(0,Me.jsx)(Fe.MT,{children:(0,Me.jsx)(oD,{className:a,style:l,ref:u,children:e})})})}));aD.displayName="Accordion";var sD=s.forwardRef((({title:e,actions:t,controlId:n,value:r,id:o,index:i,subLabel:a,showActionsOnTriggerOnly:l},u)=>{let c=s.useRef(null),{expandedKeys:d,setExpandedKeys:p,expansionMode:h,disabledKeys:f,headers:m}=(0,s.useContext)(iD),g=f?.has(r),v=(0,Fe.bO)();(0,Oe.kG)(v);let{focusNext:y,focusPrevious:b}=v,{keyboardProps:w}=(0,Fe.v5)({onKeyDown:e=>{"ArrowRight"===e.key?y({wrap:!0}):"ArrowLeft"===e.key?b({wrap:!0}):e.continuePropagation()},isDisabled:g});(0,s.useEffect)((()=>{(0,Oe.kG)("number"==typeof i,"AccordionItem must have an index"),m?.set(i,c)}),[i,m]);let x=()=>{p((e=>{let t=new Set(e);return t.has(r)?t.delete(r):("single"===h&&t.clear(),t.add(r)),t}))},{buttonProps:D}=(0,Fe.UW)({"aria-expanded":d.has(r),"aria-controls":n,onPress:x,isDisabled:g},c),{pressProps:C}=(0,Fe.r7)({onPress:x,isDisabled:g}),{focusProps:E,isFocusVisible:S}=(0,Fe.Fx)(),{hoverProps:_,isHovered:P}=(0,Fe.XI)({isDisabled:g}),{focusProps:k,isFocusVisible:A}=(0,Fe.Fx)({within:!0}),z=d.has(r);return(0,Me.jsxs)("h3",{...(0,Fe.dG)(w,C,_,k),className:nD({isFocusVisible:S,isHovered:P,isDisabled:g}),ref:u,children:[(0,Me.jsxs)("div",{className:rD({isDisabled:!!g}),children:[(0,Me.jsx)(Be.XC,{className:tD({isExpanded:z}),size:8}),(0,Me.jsx)("button",{...(0,Fe.dG)(D,E),id:o,"data-key":r,className:"_1kvz17da _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6dz",ref:c,children:e})]}),t?.length?(0,Me.jsx)("div",{"data-testid":"action-buttons",className:eD({showActionsOnTriggerOnly:l,isTriggered:A||P}),children:t.map(((e,t)=>(0,Me.jsx)(mw,{variant:"secondary",size:"sm",excludeFromTabOrder:!0,isDisabled:g,...e},t)))}):null,a?(0,Me.jsx)("div",{className:"_1yep5z6ev _1yep5z6dy",children:a}):null]})}));sD.displayName="AccordionHeader";var lD=s.forwardRef((({title:e,actions:t,children:n,value:r,index:o,subLabel:i,style:a,className:l,showActionsOnTriggerOnly:u},c)=>{let d=(0,Fe.Me)(),p=(0,Fe.Me)(),{expandedKeys:h}=(0,s.useContext)(iD),f=s.useRef(null),m=h.has(r),g=Rw(),v=(0,nt.JZ)(),y=(0,nt.Yz)(m?[r]:[],{from:!g&&!v&&{height:0,opacity:0},enter:()=>async e=>{await e({height:f.current?.scrollHeight,opacity:1})},leave:{height:0,opacity:0},keys:e=>e});return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(Fe.MT,{children:(0,Me.jsx)(sD,{value:r,actions:t,id:p,title:e,controlId:d,ref:c,index:o,subLabel:i,showActionsOnTriggerOnly:u})}),y((e=>(0,Me.jsx)(nt.q.div,{role:"region","aria-labelledby":p,id:d,style:{...e,overflow:"hidden"},children:(0,Me.jsx)("div",{ref:f,className:l,style:a,children:n})})))]})}));lD.displayName="AccordionItem";var uD=s.forwardRef((({variant:e,isOpen:t,validationState:n="valid",...r},o)=>{let i=s.useRef(null),{buttonProps:a,isPressed:l}=(0,Fe.UW)({...r,isDisabled:r.isDisabled||r.isReadOnly},i),{hoverProps:u,isHovered:c}=(0,Fe.XI)({isDisabled:r.isDisabled}),{focusProps:d,isFocused:p,isFocusVisible:h}=(0,Fe.Fx)(),f=wx({isReadOnly:r.isReadOnly,validationState:n});r.isReadOnly&&(a.disabled=!1);let m=(0,Oe.mS)({"data-disabled":r.isDisabled,"data-readonly":r.isReadOnly,"data-focused":p,"data-focus-visible":h,"data-hovered":c,"data-pressed":l,"data-open":t});return(0,Me.jsxs)("button",{...(0,Fe.dG)(a,u,d,m),ref:(0,Ie.lq)(o,i),className:(0,Oe.AK)(Jw({isFocused:h,isDisabled:r.isDisabled}),dw({variant:e,isHovered:c,isFocused:h,validationState:n,isDisabled:!!r.isDisabled,isReadOnly:r.isReadOnly}),"BaselineUI-Select-Button"),children:[r.children,f?(0,Me.jsx)("span",{"aria-hidden":!0,className:(0,Oe.AK)(sw({validationState:n,isReadOnly:!!r.isReadOnly}),"_1yep5z66x _1yep5z66y _1yep5z66z"),children:(0,Me.jsx)(f,{size:16})}):null,(0,Me.jsx)("span",{"aria-hidden":!0,children:(0,Me.jsx)(Be.v4,{size:8,className:Yw({isOpen:t})})})]})}));uD.displayName="SelectButton";var cD=s.forwardRef((({className:e,style:t,labelPosition:n="top",variant:r="primary","data-block-id":o,optionStyle:i,optionClassName:a,...l},c)=>{let d=s.useRef(null),p=function(e){let t=y(e),[n,r]=(0,s.useState)(null),o=v({...e,onSelectionChange:n=>{null!=e.onSelectionChange&&e.onSelectionChange(n),t.close(),i.commitValidation()}}),i=(0,u.Q3)({...e,value:o.selectedKey}),[a,l]=(0,s.useState)(!1);return{...i,...o,...t,focusStrategy:n,open(e=null){0!==o.collection.size&&(r(e),t.open())},toggle(e=null){0!==o.collection.size&&(r(e),t.toggle())},isFocused:a,setFocused:l}}({...l,validationState:"error"===l.validationState?"invalid":"valid"}),h=Xw(l.portalContainer),{labelProps:f,triggerProps:m,valueProps:g,menuProps:b,descriptionProps:w,errorMessageProps:x}=(0,Fe.L7)({...l,validationState:"error"===l.validationState?"invalid":"valid"},p,d),D=pw({...l,descriptionProps:w,errorMessageProps:x,labelPosition:n}),C=p.selectedItem?.value,E=C&&"icon"in C&&C.icon;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("div",{style:t,className:(0,Oe.AK)(cw({labelPosition:n}),"BaselineUI-Select",e),"data-block-id":o,ref:c,children:[l.label||D?(0,Me.jsxs)("div",{className:uw({labelPosition:n,hasMessage:!!D}),children:[l.label?(0,Me.jsx)("div",{...f,className:(0,Oe.AK)(lw,"BaselineUI-Select-Label"),children:l.label}):null,"start"===n&&D]}):null,(0,Me.jsx)(Fe.MG,{state:p,triggerRef:d,isDisabled:l.isDisabled,label:l.label,name:l.name}),(0,Me.jsx)(uD,{...m,isOpen:p.isOpen,variant:r,validationState:l.validationState,ref:d,isReadOnly:l.isReadOnly,children:(0,Me.jsxs)("span",{className:"_1mdhlqv6 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69i _1yep5z69j _1yep5z69k",children:[E?(0,Me.jsx)(E,{size:24}):null,(0,Me.jsx)("span",{...g,children:C?"label"in C&&C?.label:l.placeholder})]})}),"top"===n&&D]}),p.isOpen?(0,Me.jsx)(nx,{portalContainer:h,offset:2,state:p,triggerRef:d,style:t,className:(0,Oe.AK)(Qw,"BaselineUI-Select-Popover"),...l,children:(0,Me.jsx)(Ub,{...b,label:l.label,items:l.items,UNSAFE_state:p,showSelectedIcon:l.showSelectedIcon,className:"_1mdhlqv8 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6fs",optionStyle:i,optionClassName:a})}):null]})}));cD.displayName="SelectBase";var dD=s.forwardRef(((e,t)=>(0,Me.jsx)(cD,{...e,ref:t,children:e=>"section"===e.type?(0,Me.jsx)(c.$0,{items:e.children,title:e.id,children:e=>(0,Me.jsx)(c.ck,{children:e.label},e.id)},e.id):(0,Me.jsx)(c.ck,{textValue:e.label,children:e.label},e.id)})));dD.displayName="Select";var pD=Ob({defaultClassName:"_1017q4c0",variantClassNames:{size:{md:"_1017q4c1",sm:"_1017q4c2"},isDisabled:{true:"_1017q4c3"}},defaultVariants:{},compoundVariants:[]}),hD={sm:Ne.fM,md:Re.fMw},fD=s.forwardRef((({className:e,style:t,size:n="md",icon:r=hD[n],name:o,imgSrc:i,showInitials:a,isDisabled:s,hasNotifications:l,imgLoading:u,"data-block-id":c},d)=>{let{imgProps:p}=Mw({src:i,alt:o}),h=o?.split(" ").map((e=>e[0])).join("");return(0,Me.jsxs)("span",{className:(0,Oe.AK)(pD({size:n,isDisabled:s}),"BaselineUI-Avatar",e),"data-disabled":s,ref:d,style:t,"aria-disabled":s,"data-block-id":c,children:[i?(0,Me.jsx)("img",{...p,loading:u,className:"_1017q4c4"}):null,!a&&!i&&(0,Me.jsx)(r,{size:"sm"===n?16:24}),a&&!i?"sm"===n?h[0]:h:null,l?(0,Me.jsx)("div",{"data-testid":"notification",className:"_1017q4c5"}):null]})}));fD.displayName="Avatar";var mD=Ob({defaultClassName:"_1x62fhb6 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ki _1yep5z6kl _1yep5z6ev _1yep5z69i _1yep5z69j _1yep5z69k",variantClassNames:{isHovered:{true:"_1yep5z6105"},isSelected:{true:"_1x62fhb8"},isFocusVisible:{true:"_1x62fhb9"},isDisabled:{true:"_1x62fhba _1yep5z6109"},variant:{primary:"_1x62fhbb _1yep5z6z6",ghost:"_1yep5z6z9"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isSelected:!0,isDisabled:!1},"_1yep5z61lg"],[{variant:"primary",isSelected:!0},"_1yep5z61me"],[{variant:"ghost",isSelected:!0,isFocusVisible:!1},"_1x62fhbd"],[{variant:"ghost",isSelected:!0,isDisabled:!1},"_1yep5z61lr"],[{variant:"ghost",isDisabled:!0,isSelected:!0},"_1x62fhbe _1yep5z6ey"],[{variant:"primary",isHovered:!0},"_1yep5z61mf"]]}),gD=Ob({defaultClassName:"_1x62fhb3 _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6i9 _1yep5z6ia _1yep5z6ib",variantClassNames:{variant:{primary:"_1x62fhb4",ghost:"_1yep5z6ut _1yep5z6uu _1yep5z6uv"}},defaultVariants:{},compoundVariants:[]}),vD=Ob({defaultClassName:"_1x62fhb0 _1yep5z6kv _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib",variantClassNames:{variant:{primary:"_1yep5z6115",ghost:"_1x62fhb2"}},defaultVariants:{},compoundVariants:[]}),yD=({state:e,...t})=>{let n=s.useRef(null),{tabPanelProps:r}=(0,Fe.WE)(t,e,n),{selectedItem:o}=e,{focusProps:i,isFocusVisible:a}=(0,Fe.Fx)();if(!o?.value)return null;let{className:l,style:u,"data-block-id":c}=o.value;return(0,Me.jsx)("div",{...(0,Fe.dG)(r,i),ref:n,className:(0,Oe.AK)({"_1yep5z6l2 _1yep5z6kz _1yep5z6hc _1yep5z6l1":a},"Baseline-Tabs-TabPanel",l),"data-block-id":c,style:u,children:o?.props.children})},bD=s.forwardRef((({className:e,style:t,tabHeaderStyle:n,tabHeaderClassName:r,variant:o="primary",actions:i,onRemove:a,"data-block-id":l,...u},c)=>{let d=function(e){var t;let n=v({...e,suppressTextValueWarning:!0,defaultSelectedKey:null!==(t=e.defaultSelectedKey)&&void 0!==t?t:we(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:r,collection:o,selectedKey:i}=n,a=(0,s.useRef)(i);return(0,s.useEffect)((()=>{let e=i;!r.isEmpty&&o.getItem(e)||(e=we(o,n.disabledKeys),null!=e&&r.setSelectedKeys([e])),(null!=e&&null==r.focusedKey||!r.isFocused&&e!==a.current)&&r.setFocusedKey(e),a.current=e})),{...n,isDisabled:e.isDisabled||!1}}({...u,selectedKey:u.selectedValue,defaultSelectedKey:u.defaultSelectedValue,disabledKeys:u.disabledValues}),p=s.useRef(null),{tabListProps:h}=(0,Fe.HJ)({...u,selectedKey:u.selectedValue,defaultSelectedKey:u.defaultSelectedValue,disabledKeys:u.disabledValues},d,p);return(0,Me.jsxs)("div",{className:(0,Oe.AK)("BaselineUI-Tabs",e),style:t,ref:c,"data-block-id":l,children:[(0,Me.jsxs)("div",{className:(0,Oe.AK)(vD({variant:o}),r),style:n,children:[(0,Me.jsx)("div",{...h,className:gD({variant:o}),ref:p,children:[...d.collection].map((e=>((0,Oe.kG)(e.value,"TabItem requires a value prop"),(0,Me.jsx)(wD,{item:e,state:d,onRemove:a,variant:o},e.key))))}),i?.map(((e,t)=>(0,Me.jsx)("div",{className:"_1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it",children:(0,Me.jsx)(mw,{...e,variant:"secondary",size:"sm",className:(0,Oe.AK)("_1x62fhbf",e.className)})},t)))]}),(0,Me.jsx)(yD,{state:d},d.selectedItem?.key)]})}));bD.displayName="TabsBase";var wD=({item:e,onRemove:t,state:n,variant:r})=>{let{key:o,value:i}=e,a=s.useRef(null),{tabProps:l,isSelected:u,isDisabled:c}=(0,Fe.xD)({key:o},n,a),{hoverProps:d,isHovered:p}=(0,Fe.XI)({});(0,Oe.kG)(i,"TabButton requires a value prop");let{title:h,icon:f,titleStyle:m,titleClassName:g}=i,{focusProps:v,isFocusVisible:y,isFocused:b}=(0,Fe.Fx)(),{keyboardProps:w}=(0,Fe.v5)({onKeyDown:e=>{"Backspace"===e.key&&t?t(o):e.continuePropagation()}}),x=(0,Oe.mS)({"data-selected":u,"data-disabled":c,"data-focused":b,"data-hovered":p,"data-focus-visible":y});return(0,Me.jsxs)("div",{...(0,Fe.dG)(w,l,d,v,x),className:(0,Oe.AK)(mD({isHovered:p,isSelected:u,isFocusVisible:y,isDisabled:c,variant:r}),"BaselineUI-Tabs-TabButton",g),style:m,ref:a,children:[f?(0,Me.jsx)(f,{size:20}):null,h,t?(0,Me.jsx)(mw,{variant:"secondary",elementType:"div",icon:Be.b0,size:"xxs",onPress:()=>{t(o)},excludeFromTabOrder:!0,UNSAFE_NON_INTERACTIVE:!0,style:{display:"inline-flex",color:"inherit",opacity:u||b||p?1:0}}):null]})};wD.displayName="TabButton";var xD=s.forwardRef((({children:e,...t},n)=>{let r=(0,s.useMemo)((()=>s.Children.map(e,(e=>e&&s.isValidElement(e)&&"string"!=typeof e.type?{...e.props,id:e.props.value}:null)).filter(Boolean)),[e]);return(0,Me.jsx)(bD,{...t,ref:n,items:r,children:e=>(0,Me.jsx)(c.ck,{title:e.title,children:e.children},e.key)})}));xD.displayName="Tabs";var DD=({children:e,title:t,value:n})=>((0,Oe.kG)(n,"TabItem requires a value prop"),(0,Oe.kG)(t,"TabItem requires a title prop"),(0,Oe.kG)(e,"TabItem requires children"),e);DD.displayName="TabItem";var CD={ar:{close:"إغلاق"},cs:{close:"Zavřít"},cy:{close:"Cau"},da:{close:"Luk"},de:{close:"Schließen"},el:{close:"Κλείσιμο"},"en-GB":{close:"Close"},en:{close:"Close"},es:{close:"Cerrar"},fi:{close:"Sulje"},"fr-CA":{close:"Fermer"},fr:{close:"Fermer"},he:{close:"סגירה"},hr:{close:"Zatvori"},id:{close:"Tutup"},it:{close:"Chiudi"},ja:{close:"閉じる"},ko:{close:"닫기"},ms:{close:"Tutup"},"nb-NO":{close:"Lukk"},nl:{close:"Sluit"},pl:{close:"Zamknij"},"pt-PT":{close:"Fechar"},pt:{close:"Fechar"},ru:{close:"Закрыть"},sk:{close:"Zavrieť"},sl:{close:"Zapri"},sv:{close:"Stäng"},th:{close:"ปิด"},tr:{close:"Kapat"},uk:{close:"Закрити"},"zh-Hans":{close:"关闭"},"zh-Hant":{close:"關閉"}},ED=Ob({defaultClassName:"kfun6yw",variantClassNames:{arrangement:{single:"kfun6yx",multi:"kfun6yy",compact:"kfun6yz"}},defaultVariants:{},compoundVariants:[]}),SD=Ob({defaultClassName:"kfun6y0 z9nup82",variantClassNames:{variant:{info:"kfun6y1",warning:"kfun6y2",error:"kfun6y3",success:"kfun6y4"},arrangement:{single:"kfun6y5",multi:"kfun6y6",compact:"kfun6y7"},hasButton:{true:"kfun6y8"},hasCloseButton:{true:"kfun6y9"}},defaultVariants:{},compoundVariants:[[{hasButton:!1,arrangement:"single"},"kfun6ya"],[{hasButton:!0,arrangement:"compact"},"kfun6yb"],[{hasCloseButton:!0,arrangement:"compact"},"kfun6yc"]]}),_D=Ob({defaultClassName:"kfun6yt",variantClassNames:{size:{sm:"kfun6yu",md:"kfun6yv"}},defaultVariants:{},compoundVariants:[]}),PD=Ob({defaultClassName:"kfun6yp",variantClassNames:{arrangement:{single:"kfun6yq",multi:"kfun6yr",compact:"kfun6ys"}},defaultVariants:{},compoundVariants:[]}),kD=Ob({defaultClassName:"kfun6yk",variantClassNames:{variant:{info:"kfun6yl",warning:"kfun6ym",error:"kfun6yn",success:"kfun6yo"}},defaultVariants:{},compoundVariants:[]}),AD=Ob({defaultClassName:"kfun6yh",variantClassNames:{size:{sm:"kfun6yi",md:"kfun6yj"}},defaultVariants:{},compoundVariants:[]}),zD=Ob({defaultClassName:"kfun6yd z9nup82",variantClassNames:{arrangement:{single:"kfun6ye",multi:"kfun6yf",compact:"kfun6yg"}},defaultVariants:{},compoundVariants:[]}),TD={error:{sm:Ne.rx,md:Ke.rx},info:{sm:Ne.F3,md:Ke.F3},success:{sm:Ne.gq,md:Ke.gq},warning:{sm:Ne.av,md:Ke.av}},OD=s.forwardRef((({className:e,description:t,actionLabel:n,onAction:r,style:o,variant:i="info",title:a,arrangement:s="single",onClose:l,size:u="sm"},c)=>{let d=Hw(CD),p=n&&(0,Me.jsx)(Yb,{variant:"compact"===s?"tertiary":"ghost",label:n,onPress:r}),h=TD[i][u];return(0,Me.jsxs)("div",{className:(0,Oe.AK)(SD({variant:i,arrangement:s,hasButton:!!n||!!l,hasCloseButton:!!l}),e),style:o,role:"alert",ref:c,children:[(0,Me.jsxs)("div",{className:zD({arrangement:s}),children:[(0,Me.jsx)(h,{className:kD({variant:i}),size:16}),(0,Me.jsxs)("div",{className:ED({arrangement:s}),children:[(0,Me.jsx)("h3",{className:AD({size:u}),children:a}),(0,Me.jsx)("section",{className:_D({size:u}),children:t})]}),"compact"===s&&p]}),(0,Me.jsxs)("div",{className:PD({arrangement:s}),children:["compact"!==s&&p,l?(0,Me.jsx)(mw,{variant:"secondary",icon:Ne.Tw,size:"sm",onPress:l,"aria-label":d.formatMessage("close")}):null]})]})}));OD.displayName="InlineAlert";var ID=Ob({defaultClassName:"_1tkzayn0 _1yep5z6dy",variantClassNames:{size:{sm:"_1tkzayn1",md:"_1tkzayn2",lg:"_1tkzayn3"},type:{subtitle:"_1yep5z6105",title:"_1yep5z6105",label:"_1yep5z6106",value:"_1yep5z6106",helper:"_1yep5z6107",body:"_1yep5z6105"}},defaultVariants:{},compoundVariants:[[{type:"title",size:"sm"},"_1yep5z61jz"],[{type:"title",size:"md"},"_1yep5z61k2"],[{type:"title",size:"lg"},"_1yep5z61k5"],[{type:"body",size:"sm"},"_1yep5z61kp"],[{type:"body",size:"md"},"_1yep5z61ks"],[{type:"body",size:"lg"},"_1yep5z61ks"],[{type:"subtitle",size:"sm"},"_1yep5z61kl"],[{type:"subtitle",size:"md"},"_1yep5z61ko"],[{type:"subtitle",size:"lg"},"_1yep5z61ko"],[{type:"label",size:"md"},"_1yep5z61kn"],[{type:"label",size:"lg"},"_1yep5z61kn"],[{type:"value",size:"md"},"_1yep5z61kn"],[{type:"value",size:"lg"},"_1yep5z61kn"],[{type:"helper",size:"sm"},"_1yep5z61kh"]]}),FD=s.forwardRef((({elementType:e="span",type:t="title",children:n,size:r="md",...o},i)=>(0,Me.jsx)(e,{...o,className:(0,Oe.AK)(ID({size:r,type:t}),"BaselineUI-Text",o.className),ref:i,children:n})));FD.displayName="Text";var MD=Ob({defaultClassName:"siobe20 _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6kv _1yep5z6d7 _1yep5z6l9 _1yep5z6l7 _1yep5z6gq _1yep5z6ky _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie",variantClassNames:{background:{subtle:"_1yep5z6113",medium:"_1yep5z6114"}},defaultVariants:{},compoundVariants:[]}),RD=s.forwardRef((({className:e,style:t,children:n,background:r="medium",title:o,action:i,"data-block-id":a,onCloseRequest:l,...u},c)=>{let{formatMessage:d}=Hw(),p=s.useRef(null),{dialogProps:h,titleProps:f}=(0,Fe.Rh)(u,p);return(0,Me.jsxs)("div",{...h,className:(0,Oe.AK)(MD({background:r}),"BaselineUI-Drawer",e),"data-block-id":a,style:t,ref:(0,Ie.lq)(c,p),children:[(0,Me.jsxs)(Nb,{paddingLeft:"lg",paddingRight:"sm",backgroundColor:"background.primary.subtle",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"lg",className:"siobe23",children:[(0,Me.jsx)(FD,{type:"title",size:"sm",...f,className:"z9nup87",children:o}),(0,Me.jsxs)(Nb,{children:[i?(0,Me.jsx)(mw,{...i,variant:"secondary"}):null,(0,Me.jsx)(mw,{variant:"secondary",size:"md",icon:Ke.b0,onPress:l,"aria-label":d(jD.close)})]})]}),(0,Me.jsx)(jb,{variant:"subtle"===r?"primary":"secondary"}),n]})}));RD.displayName="Drawer";var jD=Zw({close:{id:"close",defaultMessage:"Close"}});var BD=Ob({defaultClassName:"aml2vl0 _1yep5z6g2 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2",variantClassNames:{enableDrawer:{false:"_1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn",true:"aml2vl2"}},defaultVariants:{},compoundVariants:[]}),ND=s.createContext({state:null,triggerProps:{},overlayProps:{}}),LD=({children:e,...t})=>{let n=y(t),{triggerProps:r,overlayProps:o}=(0,Fe.IB)({type:"dialog"},n),i=(0,s.useMemo)((()=>({state:n,triggerProps:r,overlayProps:o})),[n,r,o]);return(0,Me.jsx)(ND.Provider,{value:i,children:e})};LD.displayName="Modal";var KD=s.createContext({isDrawer:!1,closeDrawer:()=>{}}),VD=(0,nt.q)(zw),qD=(0,nt.q)((({children:e,className:t,style:n,isDismissable:r=!0,isKeyboardDismissDisabled:o=!1,portalContainer:i,disableAnimation:a,enableDrawer:l=!1,"data-block-id":u})=>{let{state:c}=s.useContext(ND),d=Ww(i),p=Xw(i),h="boolean"==typeof l&&l||"auto"===l&&"mobile"===d;(0,Oe.kG)(c,"ModalContent must be a child of Modal");let f=s.useRef(null),m="function"==typeof r?r(h):r,g="function"==typeof o?o(h):o,{underlayProps:v,overlayProps:y,close:b}=function(e,t,n){let{isDisabled:r}=e,o=(0,nt.JZ)(),[{y:i},a]=(0,nt.q_)((()=>({y:0,immediate:o,config:{easing:nt.Z5.easeOutCubic}}))),l=(0,s.useRef)(0),u=(0,s.useCallback)((()=>{a.start({y:l.current,onRest:()=>{t.close()}})}),[a,t]),c=(0,s.useCallback)((e=>{e.target.closest("[data-drawer]")||u()}),[u]);(0,Je.useGranularLayoutEffect)((()=>{l.current=n.current?.offsetHeight||0,a.set({y:l.current}),a.start({y:0,immediate:!!o})}),[],[a,o]);let d=i.to({range:[0,l.current/2,l.current],output:[.5,.2,0],extrapolate:"clamp"}).to((e=>`rgba(0,0,0,${e})`));return{overlayProps:{style:r?void 0:{transform:i.to((e=>`translateY(${e}px)`))}},underlayProps:{style:r?void 0:{backgroundColor:d},onClick:r?void 0:c},close:u}}({isDisabled:!h,isDismissable:m},c,f),{modalProps:w,underlayProps:x}=(0,Fe.NE)({isDismissable:!h,isKeyboardDismissDisabled:g},c,f),{theme:D}=(0,s.useContext)(kw),C=(0,nt.JZ)(),E=(0,nt.q_)({from:{opacity:0,transform:"scale(0.95)"},to:{opacity:1,transform:"scale(1)"},immediate:!!C||a,config:{easing:nt.Z5.easeInBounce}}),S=(0,s.useMemo)((()=>({...w.style,...h?{...y.style,width:"100%"}:E})),[y.style,w.style,h,E]),_=(0,s.useMemo)((()=>({isDrawer:h,closeDrawer:b})),[h,b]);return(0,Me.jsx)(Fe.aV,{portalContainer:p,children:(0,Me.jsx)(KD.Provider,{value:_,children:(0,Me.jsx)(VD,{className:(0,Oe.AK)(BD({enableDrawer:h}),t),theme:D,UNSAFE_domProps:{...(0,Fe.dG)(x,v),"data-testid":"underlay","data-block-id":u},style:{...v.style,...n},children:(0,Me.jsx)(nt.q.div,{...(0,Fe.dG)(w,y),style:S,ref:f,"data-drawer":h,children:e})})})})})),HD=({children:e,style:t,...n})=>{let{state:r}=s.useContext(ND);(0,Oe.kG)(r,"ModalContent must be a child of Modal");let o=(0,nt.JZ)();return(0,nt.Yz)(r.isOpen,{from:{opacity:0},enter:{opacity:1},immediate:!!o||n.disableAnimation})(((o,i)=>i&&(0,Me.jsx)(qD,{...n,style:{...t,...o},children:"function"==typeof e?e({close:r.close}):e})))},ZD=Ob({defaultClassName:"cjv3et0 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6fs _1yep5z6d7",variantClassNames:{size:{sm:"cjv3et1",md:"cjv3et2",lg:"cjv3et3",content:"cjv3et4"},variant:{primary:"_1yep5z6121 _1yep5z616i _1yep5z616k",ghost:"cjv3et6"},isDrawer:{true:"cjv3et7 _1yep5z6xq _1yep5z6xr _1yep5z6xs _1yep5z6ye _1yep5z6yf _1yep5z6yg _1yep5z6166"}},defaultVariants:{},compoundVariants:[]}),UD=s.createContext({titleProps:{}}),$D=s.forwardRef((({children:e,className:t,style:n,inheritDrawer:r,size:o="md",variant:i="primary","data-block-id":a,drawerBackground:l,...u},c)=>{let d=s.useRef(null),p=s.useRef(null),{isDrawer:h,closeDrawer:f}=(0,s.useContext)(KD),[m,g]=s.useState("");(0,s.useLayoutEffect)((()=>{let e=(0,Ie.r3)(p.current),t=u["aria-label"]||"";u["aria-labelledby"]&&(t=e.querySelector(`#${u["aria-labelledby"].replaceAll(":","\\:")}`)?.textContent||""),g(t)}),[u]);let{dialogProps:v,titleProps:y}=(0,Fe.Rh)(u,d),b=(0,s.useMemo)((()=>({titleProps:y})),[y]);return h&&r?(0,Me.jsx)(RD,{title:m,onCloseRequest:f,className:t,...u,"data-drawer":!0,"data-block-id":a,ref:(0,Ie.lq)(p,c),background:l,children:e}):(0,Me.jsx)(UD.Provider,{value:b,children:(0,Me.jsx)("section",{...v,"data-block-id":a,ref:(0,Ie.lq)(d,c),style:n,className:(0,Oe.AK)(ZD({size:h?"content":o,variant:i,isDrawer:h}),"BaselineUI-Dialog",t),children:e})})}));$D.displayName="Dialog";var GD=s.forwardRef((({children:e,className:t,style:n},r)=>{let{titleProps:o}=(0,s.useContext)(UD),i=s.isValidElement(e)?$e:"h3";return(0,Me.jsx)(i,{...o,ref:r,className:t,style:n,children:e})}));GD.displayName="DialogTitle";var WD={ar:{add:"إضافة",addColor:"إضافة لون",cancel:"إلغاء",colorFormat:"تنسيق اللون",colorPresets:"الألوان المسبقة",customColors:"ألوان مخصصة",newColor:"لون مخصص جديد",noColor:"لا يوجد",removeColor:"إزالة اللون",transparent:"شفاف"},cs:{add:"Přidat",addColor:"Přidat barvu",cancel:"Zrušit",colorFormat:"Formát barvy",colorPresets:"Předvolby barev",customColors:"Vlastní barvy",newColor:"Vlastní barva",noColor:"Není",removeColor:"Odebrat barvu",transparent:"Průhledná"},cy:{add:"Ychwanegu",addColor:"Ychwanegu Lliw",cancel:"Canslo",colorFormat:"Fformat Lliw",colorPresets:"Rhagosodiadau Lliw",customColors:"Lliwiau Custom",newColor:"Lliw Personol Newydd",noColor:"Dim",removeColor:"Tynnu Lliw",transparent:"Tryloyw"},da:{add:"Tilføj",addColor:"Tilføj Farve",cancel:"Annuller",colorFormat:"Farveformat",colorPresets:"Farvevalg",customColors:"Brugerdefinerede farver",newColor:"Ny tilpasset farve",noColor:"Ingen",removeColor:"Fjern Farve",transparent:"Transparent"},de:{add:"Hinzufügen",addColor:"Farbe hinzufügen",cancel:"Abbrechen",colorFormat:"Farbformat",colorPresets:"Farbvorlagen",customColors:"Benutzerdefinierte Farben",newColor:"Neue benutzerdefinierte Farbe",noColor:"Kein",removeColor:"Farbe entfernen",transparent:"Transparent"},el:{add:"Προσθήκη",addColor:"Προσθήκη Χρώματος",cancel:"Ακύρωση",colorFormat:"Μορφή χρώματος",colorPresets:"Προεπιλογές χρωμάτων",customColors:"Προσαρμοσμένα Χρώματα",newColor:"Νέο προσαρμοσμένο χρώμα",noColor:"Κανένας",removeColor:"Αφαίρεση Χρώματος",transparent:"Ημιδιαφανής"},"en-GB":{add:"Add",addColor:"Add Colour",cancel:"Cancel",colorFormat:"Colour Format",colorPresets:"Colour Presets",customColors:"Custom Colours",newColor:"New Custom Colour",noColor:"None",removeColor:"Remove Colour",transparent:"Transparent"},en:{add:"Add",addColor:"Add Color",cancel:"Cancel",colorFormat:"Color Format",colorPresets:"Color Presets",customColors:"Custom Colors",newColor:"New Custom Color",noColor:"None",removeColor:"Remove Color",transparent:"Transparent"},es:{add:"Añadir",addColor:"Añadir color",cancel:"Cancelar",colorFormat:"Formato de color",colorPresets:"Preajustes de color",customColors:"Colores personalizados",newColor:"Nuevo color personalizado",noColor:"Ninguna",removeColor:"Eliminar color",transparent:"Transparente"},fi:{add:"Lisää",addColor:"Lisää väri",cancel:"Kumoa",colorFormat:"Värimuoto",colorPresets:"Värin esiasetukset",customColors:"Mukautetut värit",newColor:"Uusi muokattu väri",noColor:"Ei mitään",removeColor:"Poista väri",transparent:"Läpinäkyvä"},"fr-CA":{add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Préréglages de couleur",customColors:"Couleurs personnalisées",newColor:"Nouvelle couleur personnalisée",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"},fr:{add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Préréglages de couleur",customColors:"Couleurs personnalisées",newColor:"Nouvelle couleur personnalisée",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"},he:{add:"הוספה",addColor:"הוסף צבע",cancel:"ביטול",colorFormat:"פורמט צבע",colorPresets:"מצבי צבע מתוכנתים",customColors:"צבעים מותאמים אישית",newColor:"צבע מותאם אישית חדש",noColor:"ללא",removeColor:"הסר צבע",transparent:"שקוף"},hr:{add:"Dodati",addColor:"Dodaj boju",cancel:"Otkaži",colorFormat:"Format boje",colorPresets:"Prijedlozi boja",customColors:"Prilagođene boje",newColor:"Nova prilagođena boja",noColor:"Prazno",removeColor:"Ukloni boju",transparent:"Prozirna"},id:{add:"Tambah",addColor:"Tambah Warna",cancel:"Batalkan",colorFormat:"Format Warna",colorPresets:"Preset Warna",customColors:"Warna Kustom",newColor:"Warna Khusus Baru",noColor:"Tidak ada",removeColor:"Hapus Warna",transparent:"Transparan"},it:{add:"Aggiungi",addColor:"Aggiungi colore",cancel:"Annulla",colorFormat:"Formato del colore",colorPresets:"Colori predefiniti",customColors:"Colori personalizzati",newColor:"Nuovo colore personalizzato",noColor:"Nessuno",removeColor:"Rimuovi colore",transparent:"Trasparente"},ja:{add:"追加",addColor:"色を追加",cancel:"キャンセル",colorFormat:"カラーフォーマット",colorPresets:"カラープリセット",customColors:"カスタムカラー",newColor:"新規カスタムカラー",noColor:"なし",removeColor:"色を削除",transparent:"透明"},ko:{add:"추가",addColor:"색상 추가",cancel:"취소",colorFormat:"색상 형식",colorPresets:"색상 미리설정",customColors:"사용자 정의 색상",newColor:"새로운 사용자지정 색상",noColor:"없음",removeColor:"색상 제거",transparent:"투명"},ms:{add:"Tambah",addColor:"Tambah Warna",cancel:"Batal",colorFormat:"Format Warna",colorPresets:"Praset Warna",customColors:"Warna Kustom",newColor:"Warna Tersuai Baharu",noColor:"Tiada",removeColor:"Buang Warna",transparent:"Lut Sinar"},"nb-NO":{add:"Legg til",addColor:"Legg til farge",cancel:"Avbryt",colorFormat:"Fargeformat",colorPresets:"Fargeinnstillinger",customColors:"Egendefinerte farger",newColor:"Ny tilpasset farge",noColor:"Ingen",removeColor:"Fjern farge",transparent:"Gjennomsiktig"},nl:{add:"Voeg toe",addColor:"Kleur toevoegen",cancel:"Annuleer",colorFormat:"Kleurformaat",colorPresets:"Kleurvoorinstellingen",customColors:"Aangepaste kleuren",newColor:"Nieuwe aangepaste kleur",noColor:"Geen",removeColor:"Kleur verwijderen",transparent:"Doorzichtig"},pl:{add:"Dodaj",addColor:"Dodaj kolor",cancel:"Anuluj",colorFormat:"Format koloru",colorPresets:"Wstępnie ustawione kolory",customColors:"Niestandardowe kolory",newColor:"Nowy kolor niestandardowy",noColor:"Brak",removeColor:"Usuń kolor",transparent:"Przeświecające"},"pt-PT":{add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Predefinições de cor",customColors:"Cores personalizadas",newColor:"Nova cor personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"},pt:{add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Pré-ajustes de Cores",customColors:"Cores personalizadas",newColor:"Nova Cor Personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"},ru:{add:"Добавить",addColor:"Добавить цвет",cancel:"Отменить",colorFormat:"Формат цвета",colorPresets:"Библиотека цветов",customColors:"Пользовательские цвета",newColor:"Новый собственный цвет",noColor:"Нет",removeColor:"Удалить цвет",transparent:"Прозрачный"},sk:{add:"Pridať",addColor:"Pridať farbu",cancel:"Zrušiť",colorFormat:"Formát farby",colorPresets:"Predvoľby farieb",customColors:"Vlastné farby",newColor:"Vlastná farba",noColor:"Žiadny",removeColor:"Odstrániť farbu",transparent:"Priehľadná"},sl:{add:"Dodaj",addColor:"Dodaj barvo",cancel:"Prekliči",colorFormat:"Barvni format",colorPresets:"Barvne predloge",customColors:"Prilagojene barve",newColor:"Nova barva po meri",noColor:"Prazna stran",removeColor:"Odstrani barvo",transparent:"Prosojna"},sv:{add:"Lägg till",addColor:"Lägg till färg",cancel:"Avbryt",colorFormat:"Färgformat",colorPresets:"Förval för färger",customColors:"Anpassade färger",newColor:"Ny anpassad färg",noColor:"Ingen",removeColor:"Ta bort färg",transparent:"Genomskinligt"},th:{add:"เพิ่ม",addColor:"เพิ่มสี",cancel:"ยกเลิก",colorFormat:"รูปแบบสี",colorPresets:"ค่าสีที่ตั้งไว้ล่วงหน้า",customColors:"สีที่กำหนดเอง",newColor:"สีที่กำหนดเองใหม่",noColor:"ไม่มีเลย",removeColor:"ลบสี",transparent:"โปร่งใส"},tr:{add:"Ekle",addColor:"Renk Ekle",cancel:"Vazgeç",colorFormat:"Renk Formatı",colorPresets:"Renk Önayarları",customColors:"Özel Renkler",newColor:"Yeni özel renk",noColor:"Hiçbiri",removeColor:"Rengi Kaldır",transparent:"Şeffaf"},uk:{add:"Додати",addColor:"Додати колір",cancel:"Скасувати",colorFormat:"Формат кольору",colorPresets:"Бібліотека кольорів",customColors:"Користувацькі кольори",newColor:"Новий власний колір",noColor:"Немає",removeColor:"Видалити колір",transparent:"Прозорий"},"zh-Hans":{add:"添加",addColor:"添加颜色",cancel:"取消",colorFormat:"颜色格式",colorPresets:"颜色预设",customColors:"自定义颜色",newColor:"新自定义颜色",noColor:"无",removeColor:"移除颜色",transparent:"透明"},"zh-Hant":{add:"加入",addColor:"添加顏色",cancel:"取消",colorFormat:"顏色格式",colorPresets:"顏色預設項",customColors:"自訂顏色",newColor:"新自訂顏色",noColor:"無",removeColor:"移除顏色",transparent:"透明"}},XD=({children:e})=>{let{triggerProps:t}=s.useContext(ND);return(0,Me.jsx)($e,{...t,children:e})};XD.displayName="ModalTrigger";var YD=({children:e})=>{let{state:t}=s.useContext(ND);return(0,Me.jsx)($e,{onPress:()=>t?.close(),children:e})},QD=s.createContext({state:null,overlayTriggerAria:{triggerProps:{},overlayProps:{}},triggerRef:void 0}),JD=({children:e,...t})=>{let n=s.useRef(null),r=y(t),o=(0,Fe.IB)(t,r),i=(0,s.useMemo)((()=>({state:r,overlayTriggerAria:o,triggerRef:n})),[r,o]);return(0,Me.jsx)(QD.Provider,{value:i,children:"function"==typeof e?e(r):e})},eC=s.forwardRef(((e,t)=>{let{state:n,overlayTriggerAria:{overlayProps:r},triggerRef:o}=(0,s.useContext)(QD);return(0,Oe.kG)(o),n?.isOpen?(0,Me.jsx)(nx,{ref:t,...e,triggerRef:e.triggerRef||o,overlayProps:r,state:n}):null}));eC.displayName="PopoverContent";var tC=({children:e})=>{let{state:t,overlayTriggerAria:n,triggerRef:r}=(0,s.useContext)(QD);(0,Oe.kG)(t,"PopoverTrigger must be used within a Popover");let{triggerProps:o}=n;return"function"==typeof e?e({isOpen:t.isOpen,triggerProps:o,triggerRef:r}):(0,Me.jsx)($e,{...(0,Fe.dG)(o,{isSelected:t.isOpen}),ref:r,children:e})},nC=Ob({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6l6 _1yep5z6ky _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6kx _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup83 _1yep5z6109"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),rC=Ob({defaultClassName:"_1dbkl50 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6dy _1yep5z6ev",variantClassNames:{labelPosition:{top:"_1yep5z6nq _1yep5z6nr _1yep5z6ns",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),oC="_1dbkl5t _1yep5z6i6 _1yep5z6i7 _1yep5z6i8 _1yep5z69f _1yep5z69g _1yep5z69h",iC="_1dbkl5u _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6hl _1yep5z6hm _1yep5z6hn",aC=Ob({defaultClassName:"_1dbkl5h _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6hl _1yep5z6hm _1yep5z6hn _1yep5z6kx _1yep5z6ks",variantClassNames:{isFocusVisible:{true:"_1dbkl5i _1dbkl5g"},isDisabled:{true:"_1yep5z6yl"},removeBlendMode:{true:"_1dbkl5k"},isSelected:{true:"_1dbkl5g"},isHovered:{true:"_1dbkl5g"}},defaultVariants:{},compoundVariants:[]}),sC="_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ko _1yep5z6kp _1yep5z6kr _1yep5z6kq _1yep5z6ho _1yep5z6hp _1yep5z6hq _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn",lC=Ob({defaultClassName:"_1dbkl5p _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6fs",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6me _1yep5z6mf _1yep5z6mg"}},defaultVariants:{},compoundVariants:[]}),uC="_1dbkl514 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib",cC=Ob({defaultClassName:"_1dbkl5z _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6l7 _1yep5z6gq _1yep5z6ky _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl510 _1yep5z611y"},isHovered:{true:"_1dbkl511"},allowAlpha:{false:"_1yep5z6wh _1yep5z6wi _1yep5z6wj _1yep5z6xt _1yep5z6xu _1yep5z6xv _1yep5z6166"}},defaultVariants:{},compoundVariants:[[{isHovered:!0,isFocused:!1},"_1yep5z61nd"]]}),dC=Ob({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f0 _1yep5z6kx _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6ki _1yep5z6kl",variantClassNames:{isHovered:{true:"_1yep5z6115"},isFocusVisible:{true:"_1yep5z616c _1yep5z616a _1yep5z616d _1yep5z612n"},isDisabled:{true:"_1yep5z610d"}},defaultVariants:{},compoundVariants:[]}),pC="_1dbkl513",hC="_1dbkl5o _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7",fC="_1dbkl5r _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69f _1yep5z69g _1yep5z69h",mC="_1dbkl516",gC="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69l _1yep5z69m _1yep5z69n",vC=Ob({defaultClassName:"_1dbkl5w _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6l2 _1yep5z6ho _1yep5z6hp _1yep5z6hq _1yep5z6l7 _1yep5z6la",variantClassNames:{isFocusVisible:{true:"_1dbkl5x _1yep5z616a _1yep5z612n _1yep5z616c"}},defaultVariants:{},compoundVariants:[]}),yC="z9nup84 z9nup86 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ko _1yep5z6kp _1yep5z6kr _1yep5z6kq _1yep5z6ho _1yep5z6hp _1yep5z6hq",bC=({color:e,isFocusVisible:t,isDisabled:n,isSelected:r,isPresentational:o})=>{let i=e&&e!==SC&&(0,ot.lu)(e),a=i&&0===i.getChannelValue("alpha"),{hoverProps:s,isHovered:l}=(0,Fe.XI)({isDisabled:n});return(0,Me.jsx)("div",{...s,className:(0,Oe.AK)(aC({removeBlendMode:!i,isFocusVisible:t,isDisabled:n,isSelected:r,isHovered:l&&!o&&!n}),{[Qb({size:"xs"})]:a}),children:i?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:(0,Oe.AK)(sC,Qb({size:"xs"}))}),(0,Me.jsx)("div",{className:sC,style:{backgroundColor:a?void 0:i.toString("hexa")}})]}):(0,Me.jsx)("div",{className:sC,children:(0,Me.jsx)(Ne.zs,{size:14})})})},wC=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],xC=(0,ot.lu)("#000000").toFormat("hsla"),DC="hsla",CC="hexa";function EC(e){return"string"==typeof e?(0,ot.lu)(e).toFormat(DC):e?e.toFormat(DC):null}var SC="NONE";var _C=(e,{optionProps:t,isFocusVisible:n,isSelected:r},o)=>((0,Oe.kG)(e.value&&"label"in e.value,"Item must have label"),(0,Me.jsx)("li",{...t,ref:o,"aria-label":e.value?.label||void 0,className:"_1dbkl5s _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ky",children:(0,Me.jsx)(bC,{color:e.value.id,isFocusVisible:n,isSelected:r})})),PC=({value:e,...t})=>{let n=s.useRef(null),r=s.useRef(null),o=s.useRef(null),i=(0,ot.Eg)({...t,value:e}),{colorAreaProps:a,gradientProps:l,xInputProps:u,yInputProps:c,thumbProps:d}=function(e,t){let{isDisabled:n,inputXRef:r,inputYRef:o,containerRef:i,"aria-label":a,xName:l,yName:u}=e,c=(0,Nt.qb)(Ht(Zt),"@react-aria/color"),{addGlobalListener:d,removeGlobalListener:p}=(0,Ie.xi)(),{direction:h,locale:f}=(0,Nt.bU)(),[m,g]=(0,s.useState)(null),v=(0,s.useCallback)(((e=r)=>{e.current&&(0,Ie.Ao)(e.current)}),[r]);(0,Ie.y$)(r,[t.xValue,t.yValue],(([e,n])=>{let r=t.value.withChannelValue(t.channels.xChannel,e).withChannelValue(t.channels.yChannel,n);t.setValue(r)}));let[y,b]=(0,s.useState)(!1),{xChannel:w,yChannel:x,zChannel:D}=t.channels,C=t.xChannelStep,E=t.yChannelStep,S=(0,s.useRef)(null),{keyboardProps:_}=(0,Bt.v5)({onKeyDown(e){if(!/^(PageUp|PageDown|Home|End)$/.test(e.key))return void e.continuePropagation();let n;switch(e.preventDefault(),t.setDragging(!0),b(!0),e.key){case"PageUp":t.incrementY(t.yChannelPageStep),n="y";break;case"PageDown":t.decrementY(t.yChannelPageStep),n="y";break;case"Home":"rtl"===h?t.incrementX(t.xChannelPageStep):t.decrementX(t.xChannelPageStep),n="x";break;case"End":"rtl"===h?t.decrementX(t.xChannelPageStep):t.incrementX(t.xChannelPageStep),n="x"}t.setDragging(!1),n&&(v("x"===n?r:o),g(n))}}),P={onMoveStart(){S.current=null,t.setDragging(!0)},onMove({deltaX:e,deltaY:n,pointerType:r,shiftKey:o}){var a;let{incrementX:s,decrementX:l,incrementY:u,decrementY:c,xChannelPageStep:d,xChannelStep:p,yChannelPageStep:f,yChannelStep:v,getThumbPosition:y,setColorFromPoint:w}=t;null==S.current&&(S.current=y());let{width:x,height:D}=(null===(a=i.current)||void 0===a?void 0:a.getBoundingClientRect())||{width:0,height:0},C=0!==e||0!==n;if("keyboard"===r){let t=o&&d>p?d:p,r=o&&f>v?f:v;e>0&&"ltr"===h||e<0&&"rtl"===h?s(t):e<0&&"ltr"===h||e>0&&"rtl"===h?l(t):n>0?c(r):n<0&&u(r),b(C),m=C&&Math.abs(n)>Math.abs(e)?"y":"x",g(m)}else S.current.x+=("rtl"===h?-1:1)*e/x,S.current.y+=n/D,w(S.current.x,S.current.y)},onMoveEnd(){T.current=!1,t.setDragging(!1),v("x"===m?r:o)}},{moveProps:k}=(0,Bt.r_)(P),{focusWithinProps:A}=(0,Bt.L_)({onFocusWithinChange:e=>{e||b(!1)}}),z=(0,s.useRef)(void 0),T=(0,s.useRef)(!1),{moveProps:O}=(0,Bt.r_)({onMoveStart(){T.current&&P.onMoveStart()},onMove(e){T.current&&P.onMove(e)},onMoveEnd(){T.current&&P.onMoveEnd()}}),I=e=>{t.isDragging||(z.current=e,b(!1),v(),t.setDragging(!0),"undefined"!=typeof PointerEvent?d(window,"pointerup",F,!1):(d(window,"mouseup",F,!1),d(window,"touchend",F,!1)))},F=e=>{var n,r;(null!==(r=e.pointerId)&&void 0!==r?r:null===(n=e.changedTouches)||void 0===n?void 0:n[0].identifier)===z.current&&(b(!1),v(),t.setDragging(!1),z.current=void 0,T.current=!1,"undefined"!=typeof PointerEvent?p(window,"pointerup",F,!1):(p(window,"mouseup",F,!1),p(window,"touchend",F,!1)))},M=(e,n,r,o)=>{let i=e.getBoundingClientRect(),{width:a,height:s}=i,l=(r-i.x)/a,u=(o-i.y)/s;"rtl"===h&&(l=1-l),l>=0&&l<=1&&u>=0&&u<=1&&!t.isDragging&&void 0===z.current&&(T.current=!0,b(!1),z.current=n,t.setColorFromPoint(l,u),v(),t.setDragging(!0),"undefined"!=typeof PointerEvent?d(window,"pointerup",R,!1):(d(window,"mouseup",R,!1),d(window,"touchend",R,!1)))},R=e=>{var n,r;let o=null!==(r=e.pointerId)&&void 0!==r?r:null===(n=e.changedTouches)||void 0===n?void 0:n[0].identifier;T.current&&o===z.current&&(T.current=!1,b(!1),z.current=void 0,t.setDragging(!1),v(),"undefined"!=typeof PointerEvent?p(window,"pointerup",R,!1):(p(window,"mouseup",R,!1),p(window,"touchend",R,!1)))},j=n?{}:(0,Ie.dG)({..."undefined"!=typeof PointerEvent?{onPointerDown:e=>{"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||M(e.currentTarget,e.pointerId,e.clientX,e.clientY)}}:{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||M(e.currentTarget,void 0,e.clientX,e.clientY)},onTouchStart:e=>{M(e.currentTarget,e.changedTouches[0].identifier,e.changedTouches[0].clientX,e.changedTouches[0].clientY)}}},O),B=n?{}:(0,Ie.dG)({..."undefined"!=typeof PointerEvent?{onPointerDown:e=>{"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||I(e.pointerId)}}:{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||I(void 0)},onTouchStart:e=>{I(e.changedTouches[0].identifier)}}},A,_,k),{focusProps:N}=(0,Bt.KK)({onFocus:()=>{g("x")}}),{focusProps:L}=(0,Bt.KK)({onFocus:()=>{g("y")}}),K=(0,Ie.gn)()||(0,Ie.Dt)();function V(e){return y?c.format("colorNameAndValue",{name:t.value.getChannelName(e,f),value:t.value.formatChannelValue(e,f)}):[c.format("colorNameAndValue",{name:t.value.getChannelName(e,f),value:t.value.formatChannelValue(e,f)}),c.format("colorNameAndValue",{name:t.value.getChannelName(e===x?w:x,f),value:t.value.formatChannelValue(e===x?w:x,f)})].join(", ")}let q=c.format("colorPicker"),H=(0,Ie.bE)({...e,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:q}):q}),Z=(0,Ie.bE)({...e,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:q}):q}),U=(0,Ie.bE)({...e,"aria-label":a?`${a}, ${q}`:void 0},K?q:void 0),$=c.format("twoDimensionalSlider"),{visuallyHiddenProps:G}=(0,Lt.S)({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:W,gradientStyleProps:X,thumbStyleProps:Y}=Ut({direction:h,state:t,xChannel:w,zChannel:D,isDisabled:e.isDisabled});return{colorAreaProps:{...U,...j,...W,role:"group"},gradientProps:{...X,role:"presentation"},thumbProps:{...B,...Y,role:"presentation"},xInputProps:{...H,...G,...N,type:"range",min:t.value.getChannelRange(w).minValue,max:t.value.getChannelRange(w).maxValue,step:C,"aria-roledescription":$,"aria-valuetext":V(w),disabled:n,value:t.value.getChannelValue(w),name:l,tabIndex:K||!m||"x"===m?void 0:-1,"aria-hidden":K||!m||"x"===m||y?void 0:"true",onChange:e=>{t.setXValue(parseFloat(e.target.value))}},yInputProps:{...Z,...G,...L,type:"range",min:t.value.getChannelRange(x).minValue,max:t.value.getChannelRange(x).maxValue,step:E,"aria-roledescription":$,"aria-valuetext":V(x),"aria-orientation":"vertical",disabled:n,value:t.value.getChannelValue(x),name:u,tabIndex:K||"y"===m?void 0:-1,"aria-hidden":K||"y"===m||y?void 0:"true",onChange:e=>{t.setYValue(parseFloat(e.target.value))}}}}({...t,value:e,inputXRef:n,inputYRef:r,containerRef:o},i);(0,s.useEffect)((()=>{n.current?.focus()}),[]);let{focusProps:p,isFocusVisible:h}=(0,Fe.Fx)();return(0,Me.jsxs)("div",{ref:o,...a,className:(0,Oe.AK)("_1dbkl5v","BaselineUI-ColorInput-ColorArea"),children:[(0,Me.jsx)("div",{...l,className:"_1dbkl53"}),(0,Me.jsxs)("div",{...d,className:(0,Oe.AK)(vC({isFocusVisible:h}),"BaselineUI-ColorInput-ColorAreaThumb"),style:{...d.style,transform:"translate(-50%, -50%)",backgroundColor:EC(e)?.withChannelValue("alpha",1).toString("css")},children:[(0,Me.jsx)("input",{ref:n,...u,...p}),(0,Me.jsx)("input",{ref:r,...c,...p})]})]})},kC=({color:e,setColor:t,allowAlpha:n,...r})=>{let o=(0,ot.jF)({value:e,onChange:n=>{t(EC(n)?.toFormat(DC).withChannelValue("alpha",e.getChannelValue("alpha")??1)||xC)}}),i=s.useRef(null),{inputProps:a}=function(e,t,n){let{isDisabled:r,isReadOnly:o,isRequired:i,isWheelDisabled:a,validationBehavior:l="aria"}=e,{colorValue:c,inputValue:d,increment:p,decrement:h,incrementToMax:f,decrementToMin:m,commit:g}=t,v=(0,Ie.Me)(),{spinButtonProps:y}=(0,qt.G)({isDisabled:r,isReadOnly:o,isRequired:i,maxValue:16777215,minValue:0,onIncrement:p,onIncrementToMax:f,onDecrement:h,onDecrementToMin:m,value:c?c.toHexInt():void 0,textValue:c?c.toString("hex"):void 0}),[b,w]=(0,s.useState)(!1),{focusWithinProps:x}=(0,Bt.L_)({isDisabled:r,onFocusWithinChange:w}),D=(0,s.useCallback)((e=>{Math.abs(e.deltaY)<=Math.abs(e.deltaX)||(e.deltaY>0?p():e.deltaY<0&&h())}),[h,p]),C=a||r||o||!b;(0,Bt.y0)({onScroll:D,isDisabled:C},n);let{inputProps:E,...S}=(0,Vt.h)((0,Ie.dG)(e,{id:v,value:d,defaultValue:void 0,validate:void 0,[u.tL]:t,type:"text",autoComplete:"off",onChange:e=>{t.validate(e)&&t.setInputValue(e)}}),t,n);return E=(0,Ie.dG)(E,y,x,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:g}),"native"===l&&(E["aria-required"]=void 0),{inputProps:E,...S}}({...r,"aria-label":"Hex"},o,i),{focusProps:l,isFocused:c}=(0,Fe.Fx)({isTextInput:!0}),{hoverProps:d,isHovered:p}=(0,Fe.XI)({});return(0,Me.jsxs)("div",{className:(0,Oe.AK)(uC,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":n?"hexa":"hex",children:[(0,Me.jsx)("input",{...(0,Fe.dG)(a,l,d),ref:i,className:cC({isFocused:c,isHovered:p,allowAlpha:n})}),n?(0,Me.jsx)(TC,{color:e,setColor:t}):null]})},AC=({color:e,setColor:t,allowAlpha:n})=>{let r=e.toFormat("rgba"),{locale:o}=(0,Fe.bU)();return(0,Me.jsxs)("div",{className:(0,Oe.AK)(uC,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":n?"rgba":"rgb",children:[(0,Me.jsx)(gw,{"aria-label":e.getChannelName("red",o),value:r.getChannelValue("red"),showStepper:!1,className:pC,onChange:e=>{t(r.withChannelValue("red",e).toFormat(DC))},step:1,minValue:0,maxValue:255}),(0,Me.jsx)(gw,{"aria-label":e.getChannelName("green",o),value:r.getChannelValue("green"),showStepper:!1,className:pC,onChange:e=>{t(r.withChannelValue("green",e).toFormat(DC))},step:1,minValue:0,maxValue:255}),(0,Me.jsx)(gw,{"aria-label":e.getChannelName("blue",o),value:r.getChannelValue("blue"),showStepper:!1,className:pC,onChange:e=>{t(r.withChannelValue("blue",e).toFormat(DC))},step:1,minValue:0,maxValue:255}),n?(0,Me.jsx)(TC,{color:e,setColor:t}):null]})},zC={style:"percent",maximumFractionDigits:0},TC=({color:e,setColor:t})=>{let{locale:n}=(0,Fe.bU)(),r=(0,s.useCallback)((n=>{t(e.withChannelValue("alpha",n))}),[e,t]);return(0,Me.jsx)(gw,{"aria-label":e.getChannelName("alpha",n),value:e.getChannelValue("alpha"),formatOptions:zC,className:pC,showStepper:!1,onChange:r,minValue:0,maxValue:1})},OC=({channel:e,...t})=>{let{locale:n}=(0,Fe.bU)(),r=(0,ot.Y3)({...t,channel:e,locale:n}),o=s.useRef(null),i=s.useRef(null),{trackProps:a,thumbProps:l,inputProps:u}=function(e,t){let{trackRef:n,inputRef:r,orientation:o,channel:i,"aria-label":a,name:s}=e,{locale:l,direction:u}=(0,Nt.bU)();e.label||a||e["aria-labelledby"]||(a=t.value.getChannelName(i,l));let{groupProps:c,trackProps:d,labelProps:p,outputProps:h}=(0,Kt.o)({...e,"aria-label":a},t,n),{inputProps:f,thumbProps:m}=(0,Kt.p)({index:0,orientation:o,isDisabled:e.isDisabled,name:s,trackRef:n,inputRef:r},t),g={forcedColorAdjust:"none"};return{trackProps:{...(0,Ie.dG)(c,d),style:{...d.style,...g,background:(()=>{let e,n=t.getDisplayColor();switch(e="vertical"===o?"top":"ltr"===u?"right":"left",i){case"hue":return`linear-gradient(to ${e}, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)`;case"lightness":{let r=t.getThumbMinValue(0),o=t.getThumbMaxValue(0);return`linear-gradient(to ${e}, ${n.withChannelValue(i,r).toString("css")}, ${n.withChannelValue(i,(o-r)/2).toString("css")}, ${n.withChannelValue(i,o).toString("css")})`}case"saturation":case"brightness":case"red":case"green":case"blue":case"alpha":return`linear-gradient(to ${e}, ${n.withChannelValue(i,t.getThumbMinValue(0)).toString("css")}, ${n.withChannelValue(i,t.getThumbMaxValue(0)).toString("css")})`;default:throw new Error("Unknown color channel: "+i)}})()}},inputProps:f,thumbProps:{...m,style:{...m.style,...g}},labelProps:p,outputProps:h}}({...t,channel:e,trackRef:o,inputRef:i,"aria-label":r.value.getChannelName(e,n)},r),{focusProps:c,isFocusVisible:d}=(0,Fe.Fx)();return(0,Me.jsxs)("div",{className:(0,Oe.AK)(iC,{[Qb({size:"xs"})]:"alpha"===e},"BaselineUI-ColorInput-ColorSlider"),"data-channel":e,...a,ref:o,children:["alpha"===e&&(0,Me.jsx)("div",{className:yC}),(0,Me.jsx)("div",{className:iC,style:a.style}),(0,Me.jsxs)("div",{className:(0,Oe.AK)(vC({isFocusVisible:d}),"BaselineUI-ColorInput-ColorSliderThumb"),...l,children:[(0,Me.jsx)("div",{className:yC,style:{backgroundColor:"#ffffff"}}),(0,Me.jsx)("div",{style:{backgroundColor:r.getDisplayColor().toString("css"),height:8},className:iC}),(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{ref:i,...u,...c})})]})]})},IC=({color:e,setColor:t,allowAlpha:n})=>{let[r,o]=s.useState("hex"),{formatMessage:i}=Hw(WD);return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(PC,{value:e,xChannel:"saturation",yChannel:"lightness",onChange:t}),(0,Me.jsxs)("div",{className:gC,children:[(0,Me.jsx)(OC,{channel:"hue",value:e,onChange:t}),n?(0,Me.jsx)(OC,{channel:"alpha",value:e,onChange:t}):null]}),(0,Me.jsxs)("div",{className:(0,Oe.AK)(gC,je.Kj.variants({paddingTop:"none",gap:"sm"})),children:[(0,Me.jsx)(dD,{label:i("colorFormat"),labelPosition:"start",variant:"ghost",items:wC,selectedKey:r,onSelectionChange:e=>{o(e)}}),"hex"===r&&(0,Me.jsx)(kC,{color:e,setColor:t,allowAlpha:n}),"rgb"===r&&(0,Me.jsx)(AC,{color:e,setColor:t,allowAlpha:n})]})]})},FC=({color:e,setColor:t,storePickedColorKey:n,addColorButtonLabel:r,removeColorButtonLabel:o,customColorsLabel:i,pickerMode:a,allowAlpha:l})=>{let{formatMessage:u}=Hw(WD),c=s.useRef(null),d=Ww(c.current),[p,h]=$w(n,[]),f=s.useRef(null),[m,g]=s.useState(e),v=s.useMemo((()=>p.map((e=>({id:e,label:e,description:e})))),[p]),y=(0,s.useCallback)((()=>{let t="active"===a?e:m;p.includes(t.toString(DC))?f.current?.querySelector(`[data-key='${t.toString(DC)}']`)?.classList.add(mC):h([...p,t.toString(DC)])}),[p,e,h,m,a]);(0,s.useEffect)((()=>{let e=f.current;function t(e){"_1dbkl515"===e.animationName&&e.target?.classList.remove(mC)}return e?.addEventListener("animationend",t),()=>{e?.removeEventListener("animationend",t)}}),[]);let b=(0,Fe.Me)(),w=(0,Me.jsx)(mw,{ref:c,variant:"secondary",size:"md","aria-label":r,icon:Ke.pO,onPress:"active"===a?y:void 0}),x=(0,s.useCallback)((e=>(0,Me.jsxs)($D,{size:"content",className:lC({includesCustomColorPicker:!0}),style:{paddingBlockEnd:0},"aria-label":u("newColor"),children:[(0,Me.jsx)(IC,{color:m,setColor:g,allowAlpha:l}),(0,Me.jsx)(jb,{}),(0,Me.jsx)(Nb,{padding:"lg",display:"flex",flexDirection:"row-reverse",children:(0,Me.jsxs)(Nb,{display:"inline-flex",gap:"lg",children:[(0,Me.jsx)(Yb,{label:u("cancel"),size:"sm",variant:"secondary",onPress:e}),(0,Me.jsx)(Yb,{label:u("add"),variant:"primary",onPress:()=>{y(),e()},size:"sm"})]})})]})),[m,y,u,l]),D=(0,s.useCallback)((e=>{(0,Oe.kG)(e instanceof Set,"Key must be a set");let n=[...e][0];n&&t((0,ot.lu)(n).toFormat(DC))}),[t]);return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(jb,{}),(0,Me.jsxs)("div",{className:(0,Oe.AK)("_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6dy _1yep5z6ev _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6ir _1yep5z6is _1yep5z6it","BaselineUI-ColorInput-CustomColors"),children:[(0,Me.jsx)("span",{id:b,children:i}),(0,Me.jsxs)(Nb,{display:"flex",children:[!!p.length&&p.includes(e.toString(DC))&&(0,Me.jsx)(mw,{variant:"secondary",size:"md",elementType:"div",icon:Ke.V_,"aria-label":o,onPress:()=>{h(p.filter((t=>t!==e.toString(DC))))}}),"active"===a&&w,"lazy"===a&&("mobile"===d?(0,Me.jsxs)(LD,{children:[(0,Me.jsx)(XD,{children:w}),(0,Me.jsx)(HD,{style:{zIndex:1e5},children:({close:e})=>x(e)})]}):(0,Me.jsx)(JD,{type:"dialog",children:({close:e})=>(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(tC,{children:w}),(0,Me.jsx)(eC,{placement:"right top",className:hC,offset:6,children:x(e)})]})}))]})]}),!!p.length&&(0,Me.jsx)(Ub,{items:v,layout:"grid","aria-labelledby":b,className:(0,Oe.AK)(oC,fC,je.Kj.variants({paddingTop:"xs"}),"BaselineUI-ColorInput-CustomColorsListBox"),renderOption:_C,ref:f,autoFocus:!1,selectionMode:"single",selectedKeys:[e.toString(DC)],onSelectionChange:D})]})},MC=s.forwardRef((({setColor:e,color:t,triggerRef:n,autoFocus:r,presets:o,state:i},a)=>{let{formatMessage:l}=Hw(WD),u=(0,s.useCallback)((t=>{if(t instanceof Set&&t.size){let n=[...t][0],r=o.find((e=>e.id===n));(0,Oe.kG)(r,"Preset not found"),e(r.id===SC?null:(0,ot.lu)(r.id).toFormat(DC)),i.close()}}),[i,o,e]);return(0,Me.jsx)("div",{className:(0,Oe.AK)(fC,"BaselineUI-ColorInput-Presets"),style:{minWidth:n.current?.offsetWidth},ref:a,children:(0,Me.jsx)(Ub,{autoFocus:r,items:o,layout:"grid","aria-label":l("colorPresets"),className:oC,renderOption:_C,selectionMode:"single",selectedKeys:[t?.toString(CC)||SC],onSelectionChange:u})})}));MC.displayName="ColorPresetList";var RC=s.forwardRef(((e,t)=>{let n=s.useRef(null),{hoverProps:r,isHovered:o}=(0,Fe.XI)({isDisabled:e.isDisabled}),{buttonProps:i,isPressed:a}=(0,Fe.UW)(e,n),{isFocusVisible:l,focusProps:u}=(0,Fe.Fx)(),c=(0,Oe.mS)({"data-block-id":e["data-block-id"],"data-focused":l,"data-focus-visible":l,"data-disabled":e.isDisabled,"data-hovered":o,"data-pressed":a});return(0,Me.jsx)("button",{...(0,Fe.dG)(i,r,u,c),style:e.style,className:(0,Oe.AK)(nC({isHovered:o,isFocusVisible:l||e.isOpen,isDisabled:e.isDisabled,labelPosition:e.labelPosition}),"BaselineUI-ColorInputButton",e.className),ref:(0,Ie.lq)(t,n),children:e.children})}));RC.displayName="ColorInputButton";var jC=s.forwardRef((({className:e,style:t,icon:n,...r},o)=>{let i=s.useRef(null),{hoverProps:a,isHovered:l}=(0,Fe.XI)({isDisabled:r.isDisabled}),{buttonProps:u,isPressed:c}=(0,Fe.UW)(r,i),{isFocusVisible:d,focusProps:p}=(0,Fe.Fx)(),h=(0,Oe.mS)({"data-block-id":r["data-block-id"],"data-focused":d,"data-focus-visible":d,"data-disabled":r.isDisabled,"data-hovered":l,"data-pressed":c});return(0,Me.jsxs)("button",{...(0,Fe.dG)(u,a,p,h),ref:(0,Ie.lq)(o,i),style:t,className:(0,Oe.AK)(dC({isHovered:l||c||r.isOpen,isFocusVisible:d,isDisabled:r.isDisabled}),"BaselineUI-IconColorInputButton",e),children:[(0,Me.jsx)(n,{size:16}),(0,Me.jsx)("div",{className:"_1dbkl5e",style:{backgroundColor:r.color}})]})}));jC.displayName="IconColorInputButton";var BC=s.forwardRef((({className:e,style:t,allowRemoval:n,allowAlpha:r=!0,presets:o,labelPosition:i="top",colorLabel:a=!0,includePicker:u=!0,onChange:c,defaultValue:d,storePickedColorKey:p="baselinePickedColor",value:h,addColorButtonLabel:f,removeColorButtonLabel:m,customColorsLabel:g,renderTriggerButton:v,pickerMode:b="active",offset:w=2,placement:x=("start"===i?"bottom end":"bottom start"),"data-block-id":D,...C},E)=>{let S=s.useRef(null),_=s.useRef(null),P=y(C),{triggerProps:k,overlayProps:A}=(0,Fe.IB)({type:"listbox"},P,S),z=Xw(C.portalContainer),[T,O]=(0,l.zk)(void 0===h?void 0:EC(h),EC(d),(e=>c?.(e?.toFormat("rgba")||null))),{formatMessage:I}=Hw(WD),F=(0,s.useMemo)((()=>function(e,t){let n=t?.map((e=>({id:(0,ot.lu)(e.color).toString(CC),label:e.label})))||[];return[...n,{id:SC,label:e}]}(I("noColor"),o)),[o,I]),M=(0,s.useMemo)((()=>F.find((e=>e.id===SC?!T:!!T&&function(e,t){return e?.getChannelValue("alpha")?t?.toString(CC)===e.toString(CC):!t?.getChannelValue("alpha")}(T,(0,ot.lu)(e.id))))),[F,T]),R=(0,Fe.Me)(),j=(0,s.useMemo)((()=>"function"==typeof a?a?.(T):!!a&&function(e,t,n){return t?t.label:0===e?.getChannelValue("alpha")?n:e?.toString("rgba")}(T,M,I("transparent"))),[T,a,I,M]),B=(0,s.useMemo)((()=>F.filter((e=>n||e.id!==SC))),[F,n]),N=f||I("addColor"),L=m||I("removeColor"),K=g||I("customColors");return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("div",{className:(0,Oe.AK)({"_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jr _1yep5z6js _1yep5z6jt":"start"===i},"BaselineUI-ColorInput-Trigger",e),"data-block-id":D,style:t,ref:E,children:[C.label?(0,Me.jsx)("label",{id:R,className:rC({labelPosition:i}),children:C.label}):null,v?.({isOpen:P.isOpen,color:T,ref:S,colorName:j,triggerProps:k})||(0,Me.jsxs)(RC,{...(0,Fe.dG)(k,{...C.label?{"aria-labelledby":R}:{"aria-label":C["aria-label"]}}),ref:S,isOpen:P.isOpen,isDisabled:C.isDisabled,labelPosition:i,children:[(0,Me.jsx)(bC,{isPresentational:!0,color:T?.toString("hexa")}),a?(0,Me.jsx)("div",{className:"_1dbkl5f z9nup87",children:j}):(0,Me.jsx)(Fe.TX,{children:j})]})]}),P.isOpen?(0,Me.jsx)(nx,{...C,portalContainer:z,placement:x,state:P,offset:w,className:(0,Oe.AK)(hC,"BaselineUI-ColorInput-Popover"),triggerRef:S,overlayProps:A,children:(0,Me.jsxs)($D,{size:"content",className:lC({includesCustomColorPicker:u}),ref:_,"aria-labelledby":R,"aria-label":C["aria-label"],children:[u&&"active"===b?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(IC,{color:T||xC,setColor:O,allowAlpha:r}),(0,Me.jsx)(FC,{color:T||xC,setColor:O,storePickedColorKey:p,addColorButtonLabel:N,removeColorButtonLabel:L,customColorsLabel:K,pickerMode:b,allowAlpha:r})]}):null,!!B.length&&(0,Me.jsxs)(Me.Fragment,{children:[u&&"active"===b?(0,Me.jsx)(jb,{}):null,(0,Me.jsx)(MC,{autoFocus:(!u||"active"!==b)&&"first",state:P,triggerRef:S,presets:B,color:T,setColor:O})]}),u&&"lazy"===b?(0,Me.jsx)(FC,{color:T||xC,setColor:O,storePickedColorKey:p,addColorButtonLabel:N,removeColorButtonLabel:L,customColorsLabel:K,pickerMode:b,allowAlpha:r}):null]})}):null]})}));BC.displayName="ColorInput";var NC={ar:{redo:"إعادة",undo:"تراجع"},cs:{redo:"Opakovat",undo:"Zrušit"},cy:{redo:"Ail-wneud",undo:"Dad-wneud"},da:{redo:"Gentag",undo:"Fortryd"},de:{redo:"Wiederholen",undo:"Rückgängig machen"},el:{redo:"Επανάληψη",undo:"Αναίρεση"},"en-GB":{redo:"Redo",undo:"Undo"},en:{redo:"Redo",undo:"Undo"},es:{redo:"Rehacer",undo:"Deshacer"},fi:{redo:"Tee sittenkin",undo:"Peru"},"fr-CA":{redo:"Rétablir",undo:"Annuler"},fr:{redo:"Rétablir",undo:"Annuler"},he:{redo:"ביצוע מחדש",undo:"ביטול פעולה"},hr:{redo:"Ponovi",undo:"Vrati"},id:{redo:"Ulangi",undo:"Kembalikan"},it:{redo:"Ripristina",undo:"Annulla"},ja:{redo:"やり直す",undo:"取り消す"},ko:{redo:"실행복귀",undo:"실행취소"},ms:{redo:"Buat Semula",undo:"Buat Asal"},"nb-NO":{redo:"Gjør om igjen",undo:"Angre"},nl:{redo:"Opnieuw",undo:"Herstel"},pl:{redo:"Ponów",undo:"Cofnij"},"pt-PT":{redo:"Refazer",undo:"Desfazer"},pt:{redo:"Refazer",undo:"Desfazer"},ru:{redo:"Повторить",undo:"Отменить"},sk:{redo:"Opakovať",undo:"Zrušiť"},sl:{redo:"Uveljavi",undo:"Razveljavi"},sv:{redo:"Gör om",undo:"Ångra"},th:{redo:"ทำซ้ำ",undo:"ถอนคำสั่งกลับ"},tr:{redo:"Yinele",undo:"Geri Al"},uk:{redo:"Повторити",undo:"Скасувати"},"zh-Hans":{redo:"重做",undo:"撤销"},"zh-Hant":{redo:"重作",undo:"復原"}},LC=Ob({defaultClassName:"mnnh5s1 _1yep5z6hl _1yep5z6hm _1yep5z6hn _1yep5z6ki _1yep5z6kl _1yep5z6kx _1yep5z6kw _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6kv",variantClassNames:{isInline:{true:"mnnh5s2 _1yep5z6vw _1yep5z6vx _1yep5z6vy _1yep5z6wk _1yep5z6wl _1yep5z6wm _1yep5z6x8 _1yep5z6x9 _1yep5z6xa _1yep5z6xw _1yep5z6xx _1yep5z6xy _1yep5z6122 _1yep5z616j _1yep5z616k",false:"_1yep5z6166 _1yep5z6116"},isHovered:{true:"mnnh5s4"},hasLoadedImage:{true:"_1yep5z6115"},includeCheckeredBackground:{true:"mnnh5s6"},showFocusRing:{true:"_1yep5z6126 _1yep5z616c _1yep5z616a _1yep5z612n _1yep5z616d"},isDisabled:{true:"mnnh5s8 _1yep5z6yl"}},defaultVariants:{},compoundVariants:[[{isHovered:!0,hasLoadedImage:!1},"_1yep5z61mo"],[{isHovered:!0,hasLoadedImage:!0},"mnnh5s9"],[{isInline:!0,isDisabled:!0},"_1yep5z61nd"],[{hasLoadedImage:!0,includeCheckeredBackground:!0},"_1yep5z61mg"]]}),KC=Ob({defaultClassName:"mnnh5sa",variantClassNames:{isInline:{true:"mnnh5sb",false:"mnnh5sc"},isDisabled:{true:"mnnh5sd"},hasLoadedImage:{true:"mnnh5s0"}},defaultVariants:{},compoundVariants:[]}),VC=Ob({defaultClassName:"_1i0ytqa3 _1yep5z6hl _1yep5z6hm _1yep5z6hn _1yep5z6kv _1yep5z6kw _1yep5z6ky",variantClassNames:{isFocusVisible:{true:"_1i0ytqa4"},isInline:{true:"_1yep5z611e",false:"_1yep5z611g"},isDisabled:{true:"_1i0ytqa7 _1yep5z6yl",false:"_1i0ytqa8"}},defaultVariants:{},compoundVariants:[[{isInline:!0,isFocusVisible:!0},"_1i0ytqa9 _1yep5z61n9 _1yep5z61rt _1yep5z61rv"],[{isInline:!1,isFocusVisible:!0},"_1i0ytqaa"],[{isInline:!0,isDisabled:!0},"_1yep5z61mp"],[{isInline:!1,isDisabled:!0},"_1yep5z61mr"]]}),qC=Ob({defaultClassName:"_1i0ytqab _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6kv",variantClassNames:{isInline:{false:"_1yep5z6115"},isDisabled:{true:"_1i0ytqad _1yep5z6yl"}},defaultVariants:{},compoundVariants:[]}),HC=Ob({defaultClassName:"_1i0ytqa1 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kv",variantClassNames:{isInline:{false:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b"}},defaultVariants:{},compoundVariants:[]}),ZC={size:1,thinning:0,smoothing:0,streamline:0,easing:e=>e,start:{taper:0,easing:e=>e,cap:!0},end:{taper:0,easing:e=>e,cap:!0},simulatePressure:!1},UC=s.forwardRef((({className:e,style:t,canvasClassName:n,canvasStyle:r,isBound:o=!0,strokeWidth:i=2,strokeColor:a="#3A87FD",onChange:l,defaultValue:u,onChangeEnd:c,enableHistory:d=!1,isInline:p=!0,isDisabled:h,placeholder:f,clearLabel:m,undoLabel:g,redoLabel:v,footerClassName:y,canvasRef:b,value:w,footerStyle:x,"data-block-id":D,"aria-label":C="Drawing canvas",description:E="This is a canvas for drawing using a mouse or touch input.",...S},_)=>{let P=Hw(NC),k=s.useRef(null),[A,z]=s.useState(w?$C(w):u?$C(u):[]),T=s.useRef((w?.length||u?.length||0)-1),[O,I]=s.useState(),F=(0,Fe.Me)(),{labelProps:M,fieldProps:R}=(0,Fe.NP)({...S,"aria-label":C,labelElementType:"span"}),{isFocusVisible:j,focusProps:B}=(0,Fe.Fx)({within:!0}),{hoverProps:N,isHovered:L}=(0,Fe.XI)({isDisabled:h}),{undo:K,redo:V,canRedo:q,canUndo:H,push:Z}=Kw(A,{onAction:e=>{e&&(z(e),T.current=e.length-1,c?.(e.map((e=>cn(e,$)))))},isDisabled:!d}),{keyboardProps:U}=(0,Fe.v5)({onKeyDown:e=>{"Backspace"===e.key?Y():"z"===e.key&&(e.metaKey||e.ctrlKey)&&(e.shiftKey?q&&V():H&&K())}}),$=s.useMemo((()=>({...ZC,...S})),[S]),G=(0,s.useCallback)((e=>{e.persist(),1===e.buttons&&((0,Oe.kG)(O,"svgCoordinates must be defined"),z((t=>{let n=[...t];return n[T.current]=[...n[T.current],{x:o?(0,Ie.uZ)(e.clientX-O.left,0,O.width):e.clientX-O.left,y:o?(0,Ie.uZ)(e.clientY-O.top,0,O.height):e.clientY-O.top,pressure:e.pressure}],n})))}),[O,o]),W=(0,s.useCallback)((e=>{e.persist();let t=e.currentTarget.getBoundingClientRect();I(t),e.target.setPointerCapture(e.pointerId),T.current+=1,z((n=>{let r=[...n];return r[T.current]=[{x:e.clientX-t.x,y:e.clientY-t.y,pressure:e.pressure}],r}))}),[]),X=Rw();(0,Je.useGranularEffect)((()=>{X||l?.(A.map((e=>cn(e,$))))}),[A],[l,$,X]);let Y=()=>{z([]),T.current=-1,Z([])},Q=(0,s.useCallback)((()=>{c?.(A.map((e=>cn(e,$)))),Z(A)}),[A,c,$,Z]);return(0,Me.jsxs)("div",{ref:(0,Ie.lq)(k,_),className:(0,Oe.AK)("_1i0ytqa0","BaselineUI-FreehandCanvas",e),style:t,"aria-disabled":h,"data-block-id":D,children:[S.label||d?(0,Me.jsxs)("div",{className:HC({isInline:p}),children:[S.label?(0,Me.jsx)(FD,{type:"label",size:"sm",...M,children:S.label}):(0,Me.jsx)("span",{}),d?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(mw,{variant:"secondary",size:"sm",isDisabled:!H||h,icon:Ne.UE,onPress:K,"aria-label":g||P.formatMessage("undo")}),(0,Me.jsx)(mw,{variant:"secondary",size:"sm",isDisabled:!q||h,icon:Ne.zG,onPress:V,"aria-label":v||P.formatMessage("redo")})]}):null]}):null,(0,Me.jsxs)("div",{role:"application",...(0,Fe.dG)(B,U,N,R),tabIndex:h?void 0:0,className:(0,Oe.AK)(LC({isInline:p,isHovered:L}),VC({isFocusVisible:j,isInline:p,isDisabled:!!h}),n),"aria-describedby":S["aria-describedby"]||F,style:r,ref:b,children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("div",{id:F,children:E})}),(0,Me.jsx)("svg",{width:r?.width||"100%",height:r?.height||"100%",onPointerDown:W,onPointerMove:G,onPointerUp:Q,children:(w?$C(w):A).map(((e,t)=>(0,Me.jsx)("path",{d:(0,Oe.US)(cn(e,$)),stroke:a,strokeWidth:i},t)))})]}),f||m?(0,Me.jsx)("div",{style:x,className:(0,Oe.AK)(qC({isInline:p,isDisabled:h}),y),children:!A.length&&f||!m?(0,Me.jsx)(Yb,{size:"sm",variant:"ghost",label:f,isDisabled:!0}):(0,Me.jsx)(Yb,{size:"sm",variant:"ghost",label:m,isDisabled:h,onPress:Y})}):null]})}));UC.displayName="FreehandCanvas";var $C=e=>e.map((e=>e.map((([e,t])=>({x:e,y:t,pressure:0}))))),GC=Ob({defaultClassName:"_1vac7ws1",variantClassNames:{isDragging:{true:"_1vac7ws2"}},defaultVariants:{},compoundVariants:[]});var WC=function(e){var t;return t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Wo(t,e),t}(ju),t.defaultAbles=e,t}([ss,ds,ys,Ls]),XC=s.forwardRef((({className:e,children:t,isRotatable:n,isResizable:r,isDraggable:o,style:i,onTransform:a,onTransformStart:l,onTransformEnd:u,onDoubleClick:c,onDragStart:d,onDragEnd:p,onDrag:h,onResizeStart:f,onResizeEnd:m,onResize:g,onRotateStart:v,onRotateEnd:y,onRotate:b,onSnap:w,isSnappable:x,elementGuidelines:D,hideAnchorOnDrag:C=!0,title:E,rotationPosition:S,autoUpdate:_,bound:P,snapRotationDegrees:k,snapRotationThreshold:A,scrollableAncestor:z,renderDirections:T,stopPropagation:O,transformOrigin:I,preventDefault:F},M)=>{let R=(0,s.useRef)(null),j=(0,s.useRef)(null),[B,N]=(0,s.useState)(document),L=(0,s.useRef)(B.createElement("div")),[K,V]=(0,s.useState)({}),[q,H]=(0,s.useState)(!1),[Z,U]=(0,s.useState)(!1),[$,G]=(0,s.useState)(),W=function(e,t){let[n,r]=(0,s.useState)([]),o=()=>e?.flatMap((e=>[...t.querySelectorAll(e)])).map((e=>({current:e})));return(0,Je.useGranularEffect)((()=>{r(o())}),[],[o]),(0,Je.useGranularEffect)((()=>{let e=o();r(e)}),[e],[o]),n}(D,B);(0,s.useLayoutEffect)((()=>{let e=L.current;return L.current=B.createElement("div"),()=>{e.remove()}}),[B]);let{keyboardProps:X}=(0,Fe.v5)({onKeyDown:e=>{let t=e.shiftKey?10:1,n=e.metaKey||e.ctrlKey;function r(e,r="x"){n?j.current?.request("rotatable",{deltaRotate:e*t},!0):j.current?.request("draggable","x"===r?{deltaX:e*t}:{deltaY:e*t},!0)}switch(n&&e.shiftKey&&(t=45),e.key){case"ArrowRight":r(1);break;case"ArrowLeft":r(-1);break;case"ArrowUp":r(-1,"y");break;case"ArrowDown":r(1,"y")}requestAnimationFrame((()=>{j.current?.updateRect()}))}});(0,s.useEffect)((()=>{let e=(0,Ie.r3)(R.current);N(e);let t=L.current;function n(e){U(e.shiftKey)}function r(){U(!1)}return e.body.append(L.current),e.addEventListener("keydown",n),e.addEventListener("keyup",r),()=>{e.removeEventListener("keydown",n),e.removeEventListener("keyup",r),t.remove()}}),[]),function(e){let{scrollable:t,ownerDocument:n,onScroll:r}=e;(0,s.useEffect)((()=>{let e=(0,Oe.SD)(t,n);if(e)return("static"===e.style.position||!e.style.position)&&console.warn("Scrollable ancestor passed to `Transform` component should not be statically positioned."),e.addEventListener("scroll",r),()=>{e.removeEventListener("scroll",r)}}),[t,r,n])}({scrollable:z,onScroll:()=>{j.current?.updateRect()},ownerDocument:B});let Y=(0,s.useCallback)((e=>{V((t=>({...t,...e.style}))),a?.(e)}),[a]),Q=(0,s.useCallback)((e=>{if(H(!0),R.current?.focus(),P){let e=(0,Oe.SD)(P,B)?.getBoundingClientRect();G({position:"client",left:e?.left??0,top:e?.top??0,right:e?.right??0,bottom:e?.bottom??0})}d?.(e)}),[P,B,d]),J=(0,s.useCallback)((e=>{H(!1),p?.(e)}),[p]),ee=t({style:{...K.width&&{width:K.width},...K.height&&{height:K.height}}});return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{role:"button",...X,ref:(0,Ie.lq)(R,M),style:{display:"inline-block",...i,...K},className:(0,Oe.AK)("_1vac7ws0",e),onDoubleClick:c,tabIndex:0,title:E,children:ee}),(0,dn.createPortal)((0,Me.jsx)(WC,{ref:j,target:R,draggable:o,resizable:r,rotatable:n,keepRatio:Z,throttleDrag:1,snappable:x||!!P,elementGuidelines:W,snapRenderThreshold:.9,className:GC({isDragging:q&&C}),onRender:Y,onDragStart:Q,onDragEnd:J,useResizeObserver:_,useMutationObserver:_,onRenderEnd:u,onDrag:h,onResizeStart:f,onResizeEnd:m,onResize:g,onRotateStart:v,onRotateEnd:y,onRotate:b,onRenderStart:l,onSnap:w,rotationPosition:S,bounds:$,snapRotationDegrees:k,snapRotationThreshold:A,renderDirections:T,stopPropagation:O,preventDefault:F,transformOrigin:I}),L.current)]})}));XC.displayName="Transform";var YC={ar:{delete:"حذف",selectImage:"تحديد صورة"},cs:{delete:"Smazat",selectImage:"Vybrat obrázek"},cy:{delete:"Dileu",selectImage:"Dewiswch Ddelwedd"},da:{delete:"Slet",selectImage:"Vælg billede"},de:{delete:"Löschen",selectImage:"Bild auswählen"},el:{delete:"Διαγραφή",selectImage:"Επιλογή εικόνας"},"en-GB":{delete:"Delete",selectImage:"Select Image"},en:{delete:"Delete",selectImage:"Select Image"},es:{delete:"Eliminar",selectImage:"Seleccionar imagen"},fi:{delete:"Poista",selectImage:"Valitse kuva"},"fr-CA":{delete:"Supprimer",selectImage:"Sélectionner une image"},fr:{delete:"Supprimer",selectImage:"Sélectionner une image"},he:{delete:"מחיקה",selectImage:"בחירת תמונה"},hr:{delete:"Obriši",selectImage:"Odaberi sliku"},id:{delete:"Hapus",selectImage:"Pilih Gambar"},it:{delete:"Elimina",selectImage:"Seleziona immagine"},ja:{delete:"削除",selectImage:"イメージを選択"},ko:{delete:"삭제",selectImage:"이미지 선택"},ms:{delete:"Padam",selectImage:"Pilih Imej"},"nb-NO":{delete:"Slett",selectImage:"Velg bilde"},nl:{delete:"Verwijder",selectImage:"Selecteer afbeelding"},pl:{delete:"Usuń",selectImage:"Wybierz obraz"},"pt-PT":{delete:"Apagar",selectImage:"Selecionar imagem"},pt:{delete:"Apagar",selectImage:"Selecionar Imagem"},ru:{delete:"Удалить",selectImage:"Выбрать изобр."},sk:{delete:"Zmazať",selectImage:"Vybrať obrázok"},sl:{delete:"Izbriši",selectImage:"Izberi sliko"},sv:{delete:"Radera",selectImage:"Välj bild"},th:{delete:"ลบ",selectImage:"เลือกรูปภาพ"},tr:{delete:"Sil",selectImage:"Resim Seç"},uk:{delete:"Видалити",selectImage:"Обрати зображення"},"zh-Hans":{delete:"删除",selectImage:"选择图像"},"zh-Hant":{delete:"刪除",selectImage:"選取圖像"}},QC=s.forwardRef((({className:e,style:t,isInline:n=!0,accept:r="image/*",defaultImageSrc:o,imageSrc:i,imageAlt:a,pickerButtonLabel:u,isDisabled:c,onDrop:d,onPaste:p,includeCheckeredBackground:h=!0,"data-block-id":f,pickerButtonStyle:m,pickerButtonClassName:g,footerClassName:v,footerStyle:y,clearLabel:b,placeholder:w,labelStyle:x,labelClassName:D,...C},E)=>{let S=s.useRef(null),_=s.useRef(null),{formatMessage:P}=Hw(YC),[k,A]=(0,l.zk)(i,o||null,(e=>{(0,Oe.kG)("string"!=typeof e),C.onValueChange?.(e?[e]:[])})),z=(0,s.useMemo)((()=>function(e){return e instanceof File?URL.createObjectURL(e):e}(k||void 0)),[k]),{fieldProps:T,labelProps:O}=(0,Fe.U$)(C),{dropProps:I,isDropTarget:F}=(0,Fe.LW)({ref:S,onDrop:async e=>{if(c)return;let t=await dx({items:e.items});t.length&&A(t[0]),d?.(e)},...C}),{clipboardProps:M}=(0,Fe.VP)({onPaste:async e=>{if(c)return;let t=await dx({items:e});t.length&&A(t[0]),p?.(e)},...C}),R={type:"file",onChange:e=>{let t=[...e.target.files];A(t[0]),C.onChange?.(e)},accept:r,disabled:c},{focusProps:j,isFocused:B,isFocusVisible:N}=(0,Fe.Fx)({within:!0}),{hoverProps:L,isHovered:K}=(0,Fe.XI)({isDisabled:c}),{imgProps:V,isLoading:q,isLoaded:H}=Mw({src:z,alt:a||""}),Z={label:u||P("selectImage"),onPress:()=>S.current?.click(),variant:"secondary",isDisabled:c,excludeFromTabOrder:!0,className:(0,Oe.AK)(Wb({isFocusVisible:N}),{_1yep5z6d8:F&&!c},g),style:m},U=(0,Oe.mS)({"data-loaded":H,"data-block-id":f,"data-hovered":K,"data-focused":B,"data-drop-target":F,"data-disabled":c,"data-focus-visible":N});return(0,Me.jsxs)(Nb,{...U,className:(0,Oe.AK)("BaselineUI-ImageDropZone",e),display:"flex",flexDirection:"column",alignItems:"center",style:t,ref:E,children:[(0,Me.jsxs)("label",{...(0,Fe.dG)(I,L,j,O),className:(0,Oe.AK)(LC({isInline:n,isHovered:K,isDisabled:c,hasLoadedImage:!!z&&H,showFocusRing:F||!!z&&N}),D),style:x,ref:S,children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...(0,Fe.dG)(T,M,R),ref:_})}),!z&&(0,Me.jsx)(Yb,{...Z}),!!z&&(q?(0,Me.jsx)(Fx,{}):(0,Me.jsx)("img",{className:KC({isInline:n,isDisabled:c,hasLoadedImage:!!z&&H&&h}),...V}))]}),w||b?(0,Me.jsx)("div",{style:y,className:(0,Oe.AK)(qC({isInline:n,isDisabled:c}),v),children:!z&&w||!b?(0,Me.jsx)(Yb,{size:"sm",variant:"ghost",label:w,isDisabled:!0}):(0,Me.jsx)(Yb,{size:"sm",variant:"ghost",label:b,isDisabled:c,onPress:()=>{A(null),_.current&&(_.current.value="")}})}):null]})}));QC.displayName="ImageDropZone";var JC="_1vm2oh48 _1yep5z6kw _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6jc _1yep5z6jd _1yep5z6je",eE=Ob({defaultClassName:"_1vm2oh40 mnnh5s1 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6l1 _1yep5z6kz _1yep5z6hk _1yep5z6l2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6ki _1yep5z6kx _1yep5z6hl _1yep5z6hm _1yep5z6hn",variantClassNames:{accent:{theme:"_1vm2oh41",positive:"_1vm2oh42"},isInline:{true:"mnnh5s2 _1yep5z6vt _1yep5z6vu _1yep5z6vv _1yep5z6wh _1yep5z6wi _1yep5z6wj _1yep5z6x5 _1yep5z6x6 _1yep5z6x7 _1yep5z6xt _1yep5z6xu _1yep5z6xv _1yep5z6121 _1yep5z616i _1yep5z616k",false:"_1yep5z611g"},isFocusVisible:{true:"_1yep5z6126 _1yep5z616c _1yep5z616a _1yep5z612n _1yep5z616d"},isDisabled:{true:"mnnh5s8 z9nup83 _1yep5z6yl"},isHovered:{true:"_1vm2oh47"}},defaultVariants:{},compoundVariants:[[{accent:"positive",isInline:!0},"_1yep5z61mp"],[{accent:"theme",isInline:!0},"_1yep5z61me"],[{accent:"positive",isInline:!1},"_1yep5z61mr"],[{accent:"theme",isInline:!1},"_1yep5z61mg"],[{isFocusVisible:!0,isInline:!0},"_1yep5z61ny _1yep5z61rl _1yep5z61rn _1yep5z61ro"],[{isHovered:!0,isInline:!0},"_1yep5z61ro _1yep5z61ny _1yep5z61rl _1yep5z61rn"],[{isHovered:!0,isInline:!1,accent:"positive"},"_1yep5z61mq"],[{isHovered:!0,isInline:!1,accent:"theme"},"_1yep5z61mi"],[{isHovered:!0,isInline:!0,accent:"theme"},"_1yep5z61mf"]]}),tE=s.forwardRef((({className:e,style:t,isDisabled:n,isInline:r=!0,imageAlt:o,imageSrc:i,svgSrc:a,textValue:s,textStyle:l,onPress:u,onDelete:c,deleteAriaLabel:d,addAriaLabel:p,accent:h="positive","data-block-id":f,...m},g)=>{let{focusProps:v,isFocused:y,isFocusVisible:b}=(0,Fe.Fx)({within:!0}),{isHovered:w,hoverProps:x}=(0,Fe.XI)({isDisabled:n}),{pressProps:D}=(0,Fe.r7)({isDisabled:n,onPress:u});(0,Oe.kG)(i||a||s,"Preview must have content. You must provide either an `imageSrc`, `svgSrc`, or `textValue` prop.");let C=(0,Oe.mS)({"data-hovered":w,"data-focus-visible":b,"data-focused":y,"data-disabled":n});return(0,Me.jsxs)("div",{...m,className:(0,Oe.AK)(eE({isInline:r,isFocusVisible:b,isDisabled:n,isHovered:w,accent:h}),"BaselineUI-Preview",e),"data-block-id":f,"aria-label":m["aria-label"]||o||s,style:t,ref:g,children:["string"==typeof a?(0,Me.jsx)("button",{disabled:n,...(0,Fe.dG)(x,v,D,C),className:JC,"aria-label":p,dangerouslySetInnerHTML:{__html:a}}):(0,Me.jsxs)("button",{...(0,Fe.dG)(x,v,D,C),disabled:n,style:l,"aria-label":p,className:JC,children:[i?(0,Me.jsx)("img",{src:i,alt:o,className:KC({isInline:r,isDisabled:n})}):null,!!a&&"object"==typeof a&&a,s]}),c?(0,Me.jsx)(mw,{isDisabled:n,className:"_1vm2oh49 _1yep5z6ho _1yep5z6hp _1yep5z6hq _1yep5z6fv","aria-label":d,size:"xs",icon:Ne.XH,onPress:c}):null]})}));tE.displayName="Preview";var nE=Ob({defaultClassName:"cw3m0n8 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6109"}},defaultVariants:{},compoundVariants:[]}),rE=Ob({defaultClassName:"cw3m0n0 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6i9 _1yep5z6ia _1yep5z6ib",variantClassNames:{labelPosition:{end:"_1yep5z613k _1yep5z613l _1yep5z613m _1yep5z6ut _1yep5z6uu _1yep5z6uv",start:"_1yep5z613q _1yep5z613r _1yep5z613s _1yep5z6152 _1yep5z6153 _1yep5z6154"}},defaultVariants:{},compoundVariants:[]}),oE=Ob({defaultClassName:"cw3m0n3 _16vugd05",variantClassNames:{isFocusVisible:{true:"_16vugd08"},isSelected:{true:"_16vugd07"},isDisabled:{true:"_16vugd0a"}},defaultVariants:{},compoundVariants:[]}),iE=({label:e,description:t},{isSelected:n,isFocusVisible:r,isDisabled:o,optionLabelPosition:i})=>(0,Me.jsxs)("div",{className:rE({labelPosition:i}),children:[(0,Me.jsx)("div",{className:oE({isSelected:n,isFocusVisible:r,isDisabled:o}),children:n?(0,Me.jsx)("div",{className:"cw3m0n7"}):null}),e?(0,Me.jsxs)("div",{className:"_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69c _1yep5z69d _1yep5z69e",children:[(0,Me.jsx)("span",{className:Bx({isDisabled:o}),children:e}),t?(0,Me.jsx)("span",{className:nE({isDisabled:o}),children:t}):null]}):null]}),aE=({state:e,renderOption:t=iE,item:n,optionLabelPosition:r="end",optionStyle:o,optionClassName:i,isReadOnly:a,...l})=>{let u=!!l.isDisabled||!!l.disabledValues?.includes(n.id),c=s.useRef(null),{inputProps:d,isPressed:p,isSelected:h}=(0,Fe.xL)({...l,isDisabled:u,children:n.label,value:n.id},e,c),{focusProps:f,isFocusVisible:m,isFocused:g}=(0,Fe.Fx)(),{isHovered:v}=(0,Fe.XI)({isDisabled:u}),y=(0,Oe.mS)({"data-selected":h,"data-focused":g,"data-focus-visible":m,"data-hovered":v,"data-disabled":u,"data-pressed":p,"data-read-only":a});return(0,Me.jsxs)("label",{...y,style:o,className:(0,Oe.AK)("BaselineUI-Radio-Item",i),children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("input",{...(0,Fe.dG)(d,f),ref:c})}),t(n,{isFocusVisible:m,isSelected:h,isFocused:g,isHovered:v,isDisabled:u,optionLabelPosition:r,isReadOnly:a})]})},sE=s.forwardRef((({className:e,style:t,optionsContainerClassName:n,optionsContainerStyle:r,items:o,labelPosition:i="top",renderOption:a,"aria-label":c,"aria-labelledby":d,"aria-describedby":p,"aria-details":h,"data-block-id":f,...m},g)=>{let v=function(e){let t=(0,s.useMemo)((()=>e.name||`radio-group-${se}-${++le}`),[e.name]);var n;let[r,o]=(0,l.zk)(e.value,null!==(n=e.defaultValue)&&void 0!==n?n:null,e.onChange),[i,a]=(0,s.useState)(null),c=(0,u.Q3)({...e,value:r}),d=c.displayValidation.isInvalid;return{...c,name:t,selectedValue:r,setSelectedValue:t=>{e.isReadOnly||e.isDisabled||(o(t),c.commitValidation())},lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}(m),{radioGroupProps:y,labelProps:b,descriptionProps:w,errorMessageProps:x}=(0,Fe.ar)({...m,"aria-label":c,"aria-labelledby":d,"aria-describedby":p,"aria-details":h},v),D=pw({...m,descriptionProps:w,errorMessageProps:x,labelPosition:i}),C=(0,Oe.mS)({"data-orientation":m.orientation,"data-block-id":f,"data-disabled":m.isDisabled,"data-readonly":m.isReadOnly});return(0,Me.jsxs)("div",{...(0,Fe.dG)(y,C),className:(0,Oe.AK)(cw({labelPosition:i}),"BaselineUI-RadioGroup",e),style:t,ref:g,children:[m.label||D?(0,Me.jsxs)("div",{className:uw({labelPosition:i,hasMessage:!!D}),children:[(0,Me.jsx)("span",{...b,className:(0,Oe.AK)(lw,"BaselineUI-RadioGroup-Label"),children:m.label}),"start"===i&&D]}):null,(0,Me.jsxs)("div",{className:(0,Oe.AK)({[ew]:m.isDisabled}),children:[(0,Me.jsx)("div",{className:(0,Oe.AK)("_1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ks",n),style:r,children:o.map((e=>(0,Me.jsx)(aE,{state:v,renderOption:a,item:e,value:e.id,...m},e.id)))}),"top"===i&&D]})]})}));sE.displayName="RadioGroup";var lE=({id:e,defaultMessage:t,elementType:n=s.Fragment})=>{(0,Oe.kG)(e||t,"`id` or `defaultMessage` is required.");let r=Hw();return(0,Me.jsx)(n,{children:r.formatMessage(e)||t})};lE.displayName="MessageFormat";var uE=s.forwardRef((({className:e,style:t,children:n,role:r="group",isDisabled:o,...i},a)=>{let{hoverProps:s,isHovered:l}=(0,Fe.XI)({isDisabled:o});return(0,Me.jsx)("div",{...s,role:r,"data-hovered":l,"data-disabled":o,className:e,style:t,...i,ref:a,children:n})}));uE.displayName="Group";var cE=s.forwardRef((({items:e,optionsContainerClassName:t,...n},r)=>{let o=(0,s.useMemo)((()=>e.map((e=>({id:e.color,label:e.label})))),[e]);return(0,Me.jsx)(sE,{items:o,optionsContainerClassName:(0,Oe.AK)("_1yep5z61ov _1yep5z61ow _1yep5z61ox _1yep5z61g1 _1yep5z61g2 _1yep5z61g3",t),orientation:"horizontal",renderOption:({label:e,id:t},{isSelected:n,isFocusVisible:r})=>(0,Me.jsxs)("div",{className:"_1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e",children:[(0,Me.jsx)(bC,{isFocusVisible:r,color:t,isSelected:n}),(0,Me.jsx)(Fe.TX,{children:e})]}),...n,className:(0,Oe.AK)(n.className,"BaselineUI-ColorPresetInput"),ref:r})}));cE.displayName="ColorPresetInput";var dE={horizontal:"xvr3wn0",vertical:"xvr3wn1"},pE=s.forwardRef((({className:e,style:t,"data-block-id":n,"aria-controls":r,...o},i)=>{let a=s.useRef(null),{toolbarProps:l}=Bu(o,a),{isFocusVisible:u,focusProps:c}=(0,Fe.Fx)(),d=(0,Oe.mS)({"data-block-id":n,"data-focus-visible":u});return(0,Me.jsx)("div",{...(0,Fe.dG)(l,c,d),"aria-controls":r,className:(0,Oe.AK)(dE[o.orientation||"horizontal"],"BaselineUI-Toolbar",e),style:t,ref:(0,Ie.lq)(i,a),children:o.children})}));pE.displayName="Toolbar";var hE=Ob({defaultClassName:"_1j5skr71",variantClassNames:{size:{xxs:"_1j5skr72",xs:"_1j5skr73",sm:"_1j5skr74",md:"_1j5skr75",lg:"_1j5skr76"}},defaultVariants:{},compoundVariants:[]}),fE=Ob({defaultClassName:"_1j5skr70 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ks _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6fs _1yep5z6f0",variantClassNames:{isHovered:{true:"_1j5skr7g"},isFocusVisible:{true:"_1j5skr7h"},isDisabled:{true:"z9nup83 _1yep5z610d"},isSelected:{true:"_1j5skr7j"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isDisabled:!0},"_1yep5z61ro _1yep5z61rn _1yep5z61rl _1yep5z61o5 _1yep5z61lo"],[{isSelected:!1,isHovered:!0,isDisabled:!1},"_1yep5z6ft"],[{isSelected:!1,isFocusVisible:!0,isDisabled:!1},"_1yep5z61ro _1yep5z61rn _1yep5z61ny _1yep5z61rl"],[{isSelected:!0,isFocusVisible:!0,isDisabled:!1},"_1j5skr7k _1yep5z61rm _1yep5z61rl _1yep5z61nz _1yep5z61lp"],[{isSelected:!0,isFocusVisible:!1,isDisabled:!1},"_1yep5z61rl _1yep5z61rn _1yep5z61ny _1yep5z61ro"]]}),mE=Ob({defaultClassName:"_1j5skr70 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ks _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f0",variantClassNames:{isHovered:{true:"_1j5skr7m"},isFocusVisible:{true:"_1yep5z616d _1yep5z616c _1yep5z612n _1yep5z616a"},isSelected:{true:"_1yep5z610c"},isDisabled:{true:"z9nup83 _1yep5z610d"}},defaultVariants:{},compoundVariants:[[{isSelected:!1,isHovered:!0},"_1yep5z61ln"]]}),gE=Ob({defaultClassName:"_1j5skr70 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ks _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f0",variantClassNames:{isHovered:{true:"_1j5skr7r"},isFocusVisible:{true:"_1yep5z616d _1yep5z616c _1yep5z612n _1yep5z616a"},isSelected:{true:"_1j5skr7t"},isDisabled:{true:"z9nup83 _1yep5z610d"}},defaultVariants:{},compoundVariants:[[{isSelected:!1,isHovered:!0},"_1yep5z61mg"],[{isSelected:!0,isDisabled:!1},"_1yep5z61mg _1yep5z61lq"],[{isSelected:!0,isDisabled:!0},"_1yep5z61mg _1yep5z61lo"]]}),vE=Ob({defaultClassName:"_1j5skr70 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kx _1yep5z6ky _1yep5z6ks _1yep5z6i3 _1yep5z6i4 _1yep5z6i5 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6fs _1yep5z6f0",variantClassNames:{isHovered:{true:"_1j5skr78"},isFocusVisible:{true:"_1j5skr79"},isSelected:{true:"_1j5skr7a"},isDisabled:{true:"_1j5skr7b z9nup83 _1yep5z610e"}},defaultVariants:{},compoundVariants:[[{isSelected:!0,isDisabled:!1},"_1j5skr7c _1yep5z61lp"],[{isSelected:!1,isDisabled:!0},"_1yep5z61lo _1yep5z61me"],[{isSelected:!1,isHovered:!0},"_1yep5z61mf"],[{isSelected:!1,isFocusVisible:!0},"_1yep5z61ro _1yep5z61rn _1yep5z61ny _1yep5z61rl"],[{isSelected:!0,isFocusVisible:!0},"_1j5skr7e _1yep5z61rm _1yep5z61rl _1yep5z61nz"]]}),yE={xxs:8,xs:12,sm:16,md:20,lg:24},bE=s.forwardRef((({className:e,style:t,icon:n,size:r="md",variant:o="primary","data-block-id":i,...a},l)=>{let u=s.useRef(null),c=(0,xe.l)(a),{buttonProps:d,isPressed:p}=(0,Fe.kI)(a,c,u),{hoverProps:h,isHovered:f}=(0,Fe.XI)({isDisabled:a.isDisabled}),{isFocusVisible:m,isFocused:g,focusProps:v}=(0,Fe.Fx)(),y=(0,s.useMemo)((()=>"function"==typeof n?n:c.isSelected?n.selected:n.unselected),[n,c.isSelected]),b={isSelected:c.isSelected,isHovered:f,isFocusVisible:m,isDisabled:!!a.isDisabled},w=(0,Oe.mS)({"data-hovered":f,"data-selected":c.isSelected,"data-focus-visible":m,"data-disabled":a.isDisabled,"data-block-id":i,"data-focused":g,"data-pressed":p});return(0,Me.jsx)("button",{...(0,Fe.dG)(d,h,v,w),className:(0,Oe.AK)("toolbar"===o&&vE(b),"primary"===o&&fE(b),"secondary"===o&&mE(b),"tertiary"===o&&gE(b),hE({size:r}),"BaselineUI-ToggleIconButton",e),style:t,ref:(0,Ie.lq)(u,l),children:(0,Me.jsx)(y,{size:yE[r]})})}));bE.displayName="ToggleIconButton";var wE="_1yep5z689 _1yep5z68a _1yep5z68b _1yep5z65x _1yep5z65y _1yep5z65z",xE=Ob({defaultClassName:"f6jv6b0 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6fs",variantClassNames:{isInline:{true:"f6jv6b1"},isMinimal:{true:"_1yep5z613k _1yep5z613l _1yep5z613m _1yep5z6uw _1yep5z6ux _1yep5z6uy _1yep5z6142 _1yep5z6143 _1yep5z6144",false:"_1yep5z613n _1yep5z613o _1yep5z613p"}},defaultVariants:{},compoundVariants:[[{isInline:!0,isMinimal:!1},"_1yep5z61h7 _1yep5z61h8 _1yep5z61h9 _1yep5z61hv _1yep5z61hw _1yep5z61hx _1yep5z61ij _1yep5z61ik _1yep5z61il _1yep5z61j7 _1yep5z61j8 _1yep5z61j9 _1yep5z61rv _1yep5z61rt _1yep5z61nc"]]}),DE=Ob({defaultClassName:"f6jv6b4 _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6e3 _1yep5z6eu _1yep5z6ky",variantClassNames:{isDisabled:{true:"f6jv6b5 _1yep5z6109"}},defaultVariants:{},compoundVariants:[]}),CE=Ob({defaultClassName:"f6jv6bf _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6ky _1yep5z6ki _1yep5z6kl _1yep5z6kx",variantClassNames:{isHovered:{true:"_1yep5z6115"},isDisabled:{true:"_1yep5z6yl"}},defaultVariants:{},compoundVariants:[]}),EE=Ob({defaultClassName:"f6jv6bb _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jc _1yep5z6jd _1yep5z6je",variantClassNames:{isInline:{true:"_1yep5z6oz _1yep5z6p0 _1yep5z6p1 _1yep5z616k _1yep5z616i _1yep5z6121",false:"_1yep5z6p2 _1yep5z6p3 _1yep5z6p4 _1yep5z6we _1yep5z6wf _1yep5z6wg _1yep5z6x2 _1yep5z6x3 _1yep5z6x4 _1yep5z6xq _1yep5z6xr _1yep5z6xs _1yep5z6ye _1yep5z6yf _1yep5z6yg"}},defaultVariants:{},compoundVariants:[]}),SE=Ob({defaultClassName:"f6jv6b6",variantClassNames:{isInline:{true:"f6jv6b7",false:"f6jv6b8"}},defaultVariants:{},compoundVariants:[]}),_E="f6jv6b9 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it",PE=[["Toolbar Focus","Alt+F10"],["Bold","Ctrl+B"],["Italic","Ctrl+I"],["Underline","Ctrl+U"],["Select All","Ctrl+A"],["Cut","Ctrl+X"],["Copy","Ctrl+C"],["Paste","Ctrl+V"],["Undo","Ctrl+Z"],["Redo","Ctrl+Shift+Z"],["Open Help Dialog","Ctrl+Shift+H"]],{dialog:{row:kE}}=je.layoutSprinkleValues,AE=({isOpen:e,onClose:t})=>{let{formatMessage:n}=Hw(),r=(0,Fe.Me)();return(0,Me.jsx)(LD,{isOpen:e,onOpenChange:e=>{e||t()},children:(0,Me.jsx)(HD,{enableDrawer:"auto",style:{zIndex:999999},children:(0,Me.jsxs)($D,{"aria-labelledby":r,className:"f6jv6bj _1yep5z6vz _1yep5z6w0 _1yep5z6w1 _1yep5z6wn _1yep5z6wo _1yep5z6wp _1yep5z6xb _1yep5z6xc _1yep5z6xd _1yep5z6xz _1yep5z6y0 _1yep5z6y1",drawerBackground:"subtle",children:[(0,Me.jsxs)(Nb,{paddingLeft:kE.padding.horizontal.lg,paddingRight:kE.padding.horizontal.sm,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",backgroundColor:"background.primary.subtle",className:"f6jv6bk",children:[(0,Me.jsx)(FD,{id:r,elementType:"h3",type:"title",size:"md",children:n(zE.help)}),(0,Me.jsx)(mw,{icon:Ke.b0,size:"md",variant:"secondary","aria-label":n(zE.close),onPress:t})]}),(0,Me.jsx)(jb,{className:"f6jv6bl"}),(0,Me.jsxs)(Nb,{paddingX:kE.padding.horizontal.lg,role:"table","aria-labelledby":r,backgroundColor:"background.primary.subtle",children:[(0,Me.jsx)("div",{role:"rowgroup",children:(0,Me.jsxs)(Nb,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:kE.padding.vertical.md,color:"text.primary",children:[(0,Me.jsx)("h6",{className:(0,je.Kj)({typography:"heading.h6.semibold"}),role:"columnheader",children:n(zE.action)}),(0,Me.jsx)("h6",{className:(0,je.Kj)({typography:"heading.h6.semibold"}),role:"columnheader",style:{textTransform:"capitalize"},children:n(zE.shortcut)})]})}),(0,Me.jsx)("div",{role:"rowgroup",children:PE.map((([e,t],r)=>(0,Me.jsxs)(s.Fragment,{children:[(0,Me.jsxs)(Nb,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:kE.padding.vertical.xs,style:{minHeight:40},children:[(0,Me.jsx)(FD,{type:"subtitle",size:"sm",role:"cell",children:n(zE[(0,og.camelCase)(e)])}),(0,Me.jsx)(FD,{elementType:"kbd",type:"subtitle",size:"sm",role:"cell",children:(0,Oe._t)(t,!0)})]}),r!==PE.length-1&&(0,Me.jsx)(jb,{})]},e)))})]})]})})})},zE=Zw({toolbarFocus:{id:"toolbarFocus",defaultMessage:"Toolbar Focus"},help:{id:"help",defaultMessage:"Help"},close:{id:"close",defaultMessage:"Close"},action:{id:"action",defaultMessage:"Action"},shortcut:{id:"shortcut",defaultMessage:"Shortcut"},bold:{id:"bold",defaultMessage:"Bold"},italic:{id:"italic",defaultMessage:"Italic"},underline:{id:"underline",defaultMessage:"Underline"},selectAll:{id:"selectAll",defaultMessage:"Select All"},cut:{id:"cut",defaultMessage:"Cut"},copy:{id:"copy",defaultMessage:"Copy"},paste:{id:"paste",defaultMessage:"Paste"},undo:{id:"undo",defaultMessage:"Undo"},redo:{id:"redo",defaultMessage:"Redo"},openHelpDialog:{id:"openHelpDialog",defaultMessage:"Open Help Dialog"}}),TE=({value:e,defaultValue:t,onChange:n,placeholder:r,spellCheck:o,onSave:i,textBoxRef:a,isInline:u,isMinimal:c,isDisabled:d,isSaveDisabled:p,editableContentAriaLabel:h,editorHandle:f})=>{let m=s.useRef(null),[g,v]=(0,l.zk)(e,t||"",n),y=(0,s.useCallback)((e=>{v(e.currentTarget.value||"")}),[v]),b=(0,s.useCallback)((e=>{e.currentTarget.style.height="16px",e.currentTarget.style.height=e.currentTarget.scrollHeight+"px"}),[]);(0,Je.useGranularLayoutEffect)((()=>{let e=m.current;e&&(e.style.height="16px",e.style.height=e.scrollHeight+"px")}),[c],[g]),(0,s.useImperativeHandle)(f,(()=>({setCaretPosition:e=>{m.current&&(m.current.focus(),m.current.setSelectionRange(e,e))}})));let{keyboardProps:w}=(0,Fe.v5)({onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),p||i?.(m.current?.value||""))}}),{focusProps:x,isFocused:D,isFocusVisible:C}=(0,Fe.Fx)(),{hoverProps:E,isHovered:S}=(0,Fe.XI)({}),_=(0,Oe.mS)({"data-focus-visible":C,"data-hovered":S,"data-focused":D});return(0,Me.jsx)("textarea",{...(0,Fe.dG)(w,x,E,_),ref:(0,Ie.lq)(m,a),className:(0,Oe.AK)(c?"f6jv6be f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6hx _1yep5z6hy _1yep5z6hz _1yep5z6eu _1yep5z6e3 _1yep5z6kv":[DE(),SE({isInline:u}),"f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6hx _1yep5z6hy _1yep5z6hz _1yep5z6eu"]),onChange:y,disabled:d,onInput:b,value:g,placeholder:r,spellCheck:o,"aria-label":h})},OE=(e,t)=>{let n=xc.marks(e);return!!n&&!0===n[t]},IE=(e,t)=>{OE(e,t)?xc.removeMark(e,t):xc.addMark(e,t,!0)},FE=e=>{kf.focus(e)};function ME(e,t){let[n]=xc.nodes(e,{match:e=>!xc.isEditor(e)&&pc.isElement(e)&&"type"in e&&e.type===t});return n?.[0]}var RE=(e,t)=>{pd.unwrapNodes(e,{match:e=>!xc.isEditor(e)&&pc.isElement(e)&&"type"in e&&e.type===t})};var jE=(e,t)=>{if(!e.selection)return;if(ME(e,"link")){let t=function(e){if(!e.selection)return;let{selection:t}=e,[n]=cc.edges(t);return{anchor:xc.before(e,n,{unit:"word"})||n,focus:xc.after(e,n,{unit:"word"})||n}}(e);t&&cc.isCollapsed(t)&&pd.select(e,t),RE(e,"link")}let{selection:n}=e,r=n&&cc.isCollapsed(n),o={type:"link",url:t,children:r?[{text:t}]:[]};r?pd.insertNodes(e,o):(pd.wrapNodes(e,o,{split:!0}),pd.collapse(e,{edge:"end"}))};var BE=e=>(0,vg.slateToHtml)(e,{markMap:{bold:["strong"],underline:["u"],italic:["i"]},elementMap:{paragraph:"p"},elementTransforms:{link:({node:e,children:t=[]})=>new hg("a",{href:e.url},t),span:({node:e,children:t=[]})=>{let n=function(e){return Object.entries(e).map((([e,t])=>`${(0,og.kebabCase)(e)}:${t}`)).filter((([,e])=>!!e)).join(";")}({...e.color&&{color:e.color},...e.backgroundColor&&{backgroundColor:e.backgroundColor}});return new hg("span",n?{style:n}:{},t)},mention:({node:e})=>new hg("span",{"data-user-id":e.userId},[new sg(e.displayName)])}});function NE(e){return e?((e=e.trim()).endsWith(";")&&(e=e.slice(0,-1)),Object.fromEntries(e.split(";").map((e=>e.split(":").map((e=>e.trim())))).map((([e,t])=>[(0,og.camelCase)(e),t])))):{}}function LE(e){return e.startsWith("

")||(e=`

${e}

`),(0,vg.htmlToSlate)(e,{convertBrToLineBreak:!0,filterWhitespaceNodes:!0,textTags:{em:()=>({italic:!0}),i:()=>({italic:!0}),strong:()=>({bold:!0}),u:()=>({underline:!0}),b:()=>({bold:!0})},elementTags:{a:e=>({type:"link",url:e?.attribs.href||"",children:[]}),p:()=>({type:"paragraph"}),span:e=>{let t=e?.attribs["data-user-id"];return t?{type:"mention",userId:t,displayName:e?.children[0]?.data||""}:{type:"span",...NE(e?.attribs.style||"")}}}})}function KE(e,t=1){let{selection:n}=e;if(n){let[r]=cc.edges(n),o=xc.before(e,r,{distance:t,unit:"character"}),i=o&&xc.range(e,o,r);return{text:i&&xc.string(e,i),range:i}}return null}var VE=({isDisabled:e})=>{let{formatMessage:t}=Hw(),n=wm();return(0,Me.jsx)(JD,{type:"dialog",children:({close:r})=>(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(tC,{children:(0,Me.jsx)(mw,{icon:Ke.xP,size:"sm",isDisabled:e,"aria-label":t(HE.addLink),className:wE})}),(0,Me.jsx)(eC,{className:(0,je.Kj)({boxShadow:"medium"}),placement:"top end",children:(0,Me.jsx)($D,{size:"content",style:{minWidth:240},children:(0,Me.jsx)(qE,{close:()=>{r(),setTimeout((()=>{FE(n)}),0)}})})})]})})},qE=({close:e})=>{let t=wm(),{formatMessage:n}=Hw(),r=ME(t,"link")?.url,[o,i]=s.useState(r?"show":"add"),[a,l]=s.useState(r||""),u=(0,Me.jsx)(Nb,{padding:"lg",children:(0,Me.jsx)(xx,{label:n(HE.link),value:a,autoFocus:!0,onChange:l,placeholder:"https://yourdomain.com"})});return(0,Me.jsxs)(Me.Fragment,{children:["add"===o&&(0,Me.jsxs)(Me.Fragment,{children:[u,(0,Me.jsx)(Nb,{display:"flex",justifyContent:"flex-end",padding:"lg",className:"f6jv6bm",children:(0,Me.jsx)(Yb,{isDisabled:!(0,Oe.CB)(a,!0),label:n(HE.addLink),size:"sm",onPress:()=>{jE(t,a),e?.()}})})]}),"show"===o&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(Nb,{padding:"lg",children:(0,Me.jsx)(FD,{type:"subtitle",size:"sm",children:r})}),(0,Me.jsxs)(Nb,{display:"flex",justifyContent:"flex-end",padding:"lg",gap:"lg",borderColor:"border.subtle",borderWidth:1,borderStyle:"solid",children:[(0,Me.jsx)(Yb,{label:n(HE.editLink),size:"sm",variant:"secondary",onPress:()=>{i("edit")},style:{flex:1,justifyContent:"center"}}),(0,Me.jsx)(Yb,{label:n(HE.removeLink),size:"sm",onPress:()=>{RE(t,"link"),e?.()},style:{flex:1,justifyContent:"center"}})]})]}),"edit"===o&&(0,Me.jsxs)(Me.Fragment,{children:[u,(0,Me.jsxs)(Nb,{display:"flex",justifyContent:"flex-end",padding:"lg",gap:"lg",borderColor:"border.subtle",borderWidth:1,borderStyle:"solid",children:[(0,Me.jsx)(Yb,{label:n(HE.cancel),size:"sm",variant:"secondary",onPress:()=>{i("show"),e?.()}}),(0,Me.jsx)(Yb,{label:n(HE.save),size:"sm",onPress:()=>{jE(t,a),e?.()}})]})]})]})},HE=Zw({addLink:{id:"addLink",defaultMessage:"Add Link",description:"Add Link"},editLink:{id:"editLink",defaultMessage:"Edit Link",description:"Edit Link"},removeLink:{id:"removeLink",defaultMessage:"Remove Link",description:"Remove Link"},cancel:{id:"cancel",defaultMessage:"Cancel",description:"Cancel"},save:{id:"save",defaultMessage:"Save",description:"Save"},link:{id:"linkAnnotation",defaultMessage:"Link",description:"Link"}}),ZE=((0,ot.lu)("#ffffff00").toString("hexa"),[{label:"Red",color:"#ff0000"},{label:"Green",color:"#00ff00"},{label:"Blue",color:"#0000ff"},{label:"Yellow",color:"#ffff00"},{label:"Cyan",color:"#00ffff"},{label:"Magenta",color:"#ff00ff"},{label:"Black",color:"#000000"},{label:"White",color:"#ffffff"},{label:"Gray",color:"#808080"},{label:"Orange",color:"#ffa500"},{label:"Brown",color:"#a52a2a"},{label:"Purple",color:"#800080"}]),UE=({nodeType:e,icon:t,ariaLabel:n,isDisabled:r})=>{let o=wm(),i=OE(o,e);return(0,Me.jsx)(bE,{variant:"tertiary",isSelected:i,size:"sm",icon:t,"aria-label":n,isDisabled:r,onPress:()=>{IE(o,e),FE(o)}})},$E=({nodeType:e,"aria-label":t,isDisabled:n})=>{let r=wm(),o=ME(r,"span")?.[e],i=(0,s.useCallback)((t=>{r?.selection&&(pd.setSelection(r,r.selection),FE(r),((e,t,n)=>{if(!e.selection)return;let r=ME(e,"span");r&&RE(e,"span");let o={...r,type:"span",[t]:n,children:[]};pd.wrapNodes(e,o,{split:!0}),pd.collapse(e,{edge:"end"})})(r,e,t),setTimeout((()=>{(0,Oe.kG)(r.selection),pd.setSelection(r,r.selection),FE(r)}),0))}),[r,e]),a=(0,s.useCallback)((()=>{r?.selection&&(pd.setSelection(r,r.selection),FE(r),((e,t)=>{let n=ME(e,"span"),r={};if(n){let t=new Set(["type","children"]);r=Object.fromEntries(Object.keys(n).filter((e=>!t.has(e))).filter((e=>!!n[e])).map((e=>[e,n[e]]))),RE(e,"span")}let o={...n,type:"span",...r,children:[]};delete o[t],pd.wrapNodes(e,o,{split:!0}),pd.collapse(e,{edge:"end"})})(r,e),setTimeout((()=>{(0,Oe.kG)(r.selection),pd.setSelection(r,r.selection),FE(r)}),0))}),[r,e]),l=(0,s.useCallback)((({ref:r,triggerProps:o})=>(0,Me.jsx)(mw,{icon:"color"===e?Re.VL1:Re.mc$,"aria-label":t,size:"md",variant:"popover",isDisabled:n,className:wE,...o,ref:r})),[e,t,n]),u=(0,s.useCallback)((e=>{e?i(e.toString("rgba")):a()}),[a,i]);return(0,Me.jsx)(BC,{presets:ZE,allowRemoval:!0,pickerMode:"lazy",placement:"top end",colorLabel:!1,renderTriggerButton:l,value:o||"#000000",onChange:u,isDisabled:n})};var GE=s.forwardRef((({editor:e,onSave:t,value:n,defaultValue:r,onChange:o,style:i,spellCheck:a,placeholder:u,isInline:c,isDisabled:d,isSaveDisabled:p,editableContentAriaLabel:h,containerRef:f,onHelpDialogOpenRequest:m,...g},v)=>{let y=(0,s.useRef)(null),b=(0,Fe.Me)(),w=(0,s.useCallback)((e=>(0,Me.jsx)(WE,{...e})),[]),{formatMessage:x}=Hw(),D=(0,s.useRef)(null),C=(0,s.useRef)(null),{onKeyDown:E,matchedUsers:S,activeIndex:_,insertMention:P,triggerMention:k,isMentionPopoverOpen:A,setActiveIndex:z}=function({mentionableUsers:e,mentionPopoverRef:t,editor:n}){let[r,o]=(0,s.useState)(null),[i,a]=(0,s.useState)(0),[l,u]=(0,s.useState)(""),c=(0,Bt.Kf)(),d=(0,s.useMemo)((()=>e?.map((e=>({id:e.id,label:e.displayName||e.name,description:e.description,value:e,data:{avatar:e.avatar}})))),[e]),{contains:p}=(0,Fe.L0)({sensitivity:"base"}),h=d?.filter((e=>p(e.label,l))),f=(0,s.useCallback)((()=>{let{selection:e}=n,t=KE(n,2);if(e&&cc.isCollapsed(e)){let[r]=cc.edges(e);if((t?.text?.startsWith(" ")||1===t?.text?.length)&&t?.text?.endsWith("@")){(0,Oe.kG)(t,"lastTwoCharacters should be defined");let e=KE(n)?.range;o(e||null),u("")}else{let e=xc.before(n,r,{unit:"word"}),t=e&&xc.before(n,e),i=t&&xc.range(n,t,r),a=(i&&xc.string(n,i))?.match(/^@(\w+)$/),s=xc.after(n,r),l=xc.range(n,r,s),c=xc.string(n,l).match(/^(\s|$)/);a&&c&&i&&(o(i),u(a[1]))}return null}o(null)}),[n]),m=(0,s.useCallback)(((e=i)=>{let t=h?.[e];if(t){let e={userId:t.id,displayName:t.label,children:[{text:""}],type:"mention"};(0,Oe.kG)(n,"Editor ref is not set"),(0,Oe.kG)(r,"Target is not set"),pd.select(n,r),pd.insertNodes(n,e),pd.move(n),pd.insertText(n," "),a(0),o(null)}}),[h,i,n,r]),g=(0,s.useCallback)((t=>{if(e?.length&&r)switch(t.key){case"ArrowDown":t.preventDefault(),a((e=>(e+1)%(h?.length||1)));break;case"ArrowUp":t.preventDefault(),a((e=>(e-1+(h?.length||1))%(h?.length||1)));break;case"Escape":t.preventDefault(),o(null);break;case"Enter":t.preventDefault(),m()}}),[h?.length,e?.length,r,m]);return(0,s.useLayoutEffect)((()=>{let e=t.current;e&&"keyboard"===c&&e.querySelector("[data-active=true]")?.scrollIntoView({block:"nearest",behavior:"smooth"})}),[i,t,c]),(0,Fe.Fc)({ref:t,onInteractOutside:()=>{o(null)}}),{triggerMention:f,matchedUsers:h,onKeyDown:g,insertMention:m,activeIndex:i,isMentionPopoverOpen:!!r,setActiveIndex:a}}({mentionableUsers:g.mentionableUsers,mentionPopoverRef:C,editor:e}),[T,O]=(0,l.zk)(n?LE(n):void 0,LE(r||"

"),(e=>{o&&o(BE(e))})),{keyboardProps:I}=(0,Fe.v5)({onKeyDown:n=>{E(n),"Enter"!==n.key||n.shiftKey?(n.metaKey||n.ctrlKey)&&"b"===n.key?(n.preventDefault(),IE(e,"bold")):(n.metaKey||n.ctrlKey)&&"i"===n.key?(n.preventDefault(),IE(e,"italic")):(n.metaKey||n.ctrlKey)&&"u"===n.key?(n.preventDefault(),IE(e,"underline")):n.altKey&&"F10"===n.key?(n.preventDefault(),y.current&&y.current.querySelector("button")?.focus()):n.continuePropagation():(n.preventDefault(),p||t?.(BE(e.children)))}});return(0,s.useEffect)((()=>{d&&kf.deselect(e)}),[d,e]),(0,s.useEffect)((()=>{let t=D.current?.querySelector("[contenteditable=true]");if(!t)return;let n=()=>{kf.focus(e)};return t.addEventListener("focus",n),()=>{t.removeEventListener("focus",n)}}),[e]),(0,s.useImperativeHandle)(v,(()=>({startMention:()=>{let t=KE(e,1);pd.insertText(e,function(e){return e&&(" "===e.text||!e.range)}(t)?"@":" @"),kf.focus(e)}}))),(0,s.useImperativeHandle)(g.editorHandle,(()=>({setCaretPosition:t=>{kf.focus(e),pd.move(e,{distance:t,unit:"character"})}}))),(0,Me.jsxs)(Hm,{editor:e,initialValue:T||[{type:"paragraph",children:[{text:""}]}],onValueChange:O,onChange:k,children:[(0,Me.jsxs)(pE,{className:_E,"aria-controls":b,ref:y,children:[(0,Me.jsxs)(Nb,{display:"flex",flexDirection:"row",role:"group",gap:"xs",paddingX:"sm",children:[(0,Me.jsx)(UE,{nodeType:"bold",icon:Ke.mY,ariaLabel:x(JE.bold),isDisabled:d}),(0,Me.jsx)(UE,{nodeType:"italic",icon:Ke.h3,ariaLabel:x(JE.italic),isDisabled:d}),(0,Me.jsx)(UE,{nodeType:"underline",icon:Ke.Ad,ariaLabel:x(JE.underline),isDisabled:d})]}),(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsx)($E,{nodeType:"color","aria-label":x(JE.fontColor),isDisabled:d}),(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsx)($E,{nodeType:"backgroundColor","aria-label":x(JE.backgroundColor),isDisabled:d}),(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsx)(VE,{isDisabled:d}),(0,Me.jsx)(jb,{orientation:"vertical"}),(0,Me.jsx)(mw,{className:wE,icon:Re.hYA,size:"sm","aria-label":x(JE.help),onPress:m})]}),(0,Me.jsx)(jb,{variant:"secondary"}),(0,Me.jsx)("div",{ref:D,children:(0,Me.jsx)(Fm,{...I,renderLeaf:w,renderElement:YE,readOnly:d,disabled:d,"data-mention-open":A,className:(0,Oe.AK)(DE({isDisabled:d}),SE({isInline:c})),renderPlaceholder:({attributes:e,children:t})=>(0,Me.jsx)("span",{...e,className:(0,je.Kj)({paddingY:"lg"}),children:t}),style:i,placeholder:u,spellCheck:a,id:b,"aria-label":h})}),(0,Me.jsxs)(JD,{isOpen:A,type:"listbox",children:[(0,Me.jsx)(tC,{}),(0,Me.jsx)(eC,{isNonModal:!0,className:"f6jv6bi _1mdhlqv7 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6fs _1yep5z6l0 _1yep5z6kz _1yep5z6hf _1yep5z6l3",triggerRef:f,placement:"bottom start",children:(0,Me.jsx)(Ub,{ref:C,items:S||[],renderOption:(...e)=>QE(...e,{index:(S||[]).findIndex((t=>t.id===e[0].key)),setIndex:z,activeIndex:_}),onAction:e=>{let t=S?.findIndex((t=>t.id===e));P(t)}})})]})]})}));GE.displayName="RichEditor";var WE=({children:e,attributes:t,leaf:n})=>(n.bold&&(e=(0,Me.jsx)("strong",{children:e})),n.italic&&(e=(0,Me.jsx)("em",{children:e})),n.underline&&(e=(0,Me.jsx)("u",{children:e})),(0,Me.jsx)("span",{...t,children:e})),XE=()=>(0,Me.jsxs)("span",{contentEditable:!1,style:{fontSize:0},children:["$",String.fromCodePoint(160)]}),YE=e=>{let{attributes:t,children:n,element:r}=e;return"type"in r&&"link"===r.type?(0,Me.jsxs)(cx,{size:"sm",...t,href:r.url,children:[(0,Me.jsx)(XE,{}),n,(0,Me.jsx)(XE,{})]}):"type"in r&&"span"===r.type?(0,Me.jsxs)("span",{...t,style:{color:r.color,backgroundColor:r.backgroundColor},children:[(0,Me.jsx)(XE,{}),n,(0,Me.jsx)(XE,{})]}):"type"in r&&"mention"===r.type?(0,Me.jsxs)("span",{...t,contentEditable:(0,Ie.i7)()?void 0:t.contentEditable,"data-user-id":r.userId,children:[n,"@",r.displayName]}):(0,Me.jsx)("p",{...t,children:n})},QE=({value:e,nextKey:t},{optionProps:n,isDisabled:r},o,{index:i,setIndex:a,activeIndex:s})=>{let{hoverProps:l}=(0,Fe.XI)({isDisabled:r,onHoverStart:()=>{a(i)}});(0,Oe.kG)(e,"Option value is not set");let{label:u,description:c,data:d}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("li",{...(0,Fe.dG)(n,l),className:CE({isDisabled:r,isHovered:i===s}),"data-active":i===s,ref:o,children:[(0,Me.jsx)(fD,{name:u,...d?.avatar}),(0,Me.jsxs)(Nb,{display:"flex",flexDirection:"column",children:[(0,Me.jsx)(FD,{type:"subtitle",size:"sm",children:u}),(0,Me.jsx)(FD,{type:"helper",size:"sm",children:c})]})]}),t?(0,Me.jsx)(jb,{}):null]})},JE=Zw({bold:{defaultMessage:"Bold",id:"bold"},italic:{defaultMessage:"Italic",id:"italic"},underline:{defaultMessage:"Underline",id:"underline"},backgroundColor:{defaultMessage:"Background color",id:"backgroundColor"},fontColor:{defaultMessage:"Font color",id:"fontColor"},help:{defaultMessage:"Help",id:"help"}}),eS=s.forwardRef((({className:e,style:t,"data-block-id":n,enableRichText:r=!1,onCancel:o,onSave:i,isInline:a=!0,submitButtonIcon:l=Ke.TY,submitButtonAriaLabel:u,"aria-label":c,"aria-describedby":d,"aria-labelledby":p,"aria-details":h,editableContentAriaLabel:f="Editing Area",footerButtons:m,...g},v)=>{let y=(0,s.useMemo)((()=>{let e=(e=>{let{isInline:t}=e;return e.isInline=e=>"type"in e&&("link"===e.type||"span"===e.type)||t(e),e})(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment",n=e,{apply:r,onChange:o,deleteBackward:i,addMark:a,removeMark:s}=n;return Qh.set(n,new WeakMap),n.addMark=(e,t)=>{var r,o;null===(r=of.get(n))||void 0===r||r(),!af.get(n)&&null!==(o=lf.get(n))&&void 0!==o&&o.length&&af.set(n,null),sf.delete(n),a(e,t)},n.removeMark=e=>{var t;!af.get(n)&&null!==(t=lf.get(n))&&void 0!==t&&t.length&&af.set(n,null),sf.delete(n),s(e)},n.deleteBackward=e=>{if("line"!==e)return i(e);if(n.selection&&cc.isCollapsed(n.selection)){var t=xc.above(n,{match:e=>pc.isElement(e)&&xc.isBlock(n,e),at:n.selection});if(t){var[,r]=t,o=xc.range(n,r,n.selection.anchor),a=$m(n,o);cc.isCollapsed(a)||pd.delete(n,{at:a})}}},n.apply=t=>{var o=[],i=[],a=lf.get(n);if(null!=a&&a.length){var s=a.map((e=>jf(e,t))).filter(Boolean);lf.set(n,s)}var l=cf.get(n);l&&cf.set(n,Rf(n,l,t));var u=uf.get(n);if(null!=u&&u.at){var c=Sc.isPoint(null==u?void 0:u.at)?Mf(n,u.at,t):Rf(n,u.at,t);uf.set(n,c?Wm(Wm({},u),{},{at:c}):null)}switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":o.push(...Ym(n,t.path));break;case"set_selection":var d;null===(d=nf.get(n))||void 0===d||d.unref(),nf.delete(n);break;case"insert_node":case"remove_node":o.push(...Ym(n,Yu.parent(t.path)));break;case"merge_node":var p=Yu.previous(t.path);o.push(...Ym(n,p));break;case"move_node":var h,f=Yu.common(Yu.parent(t.path),Yu.parent(t.newPath));o.push(...Ym(n,f)),Yu.isBefore(t.path,t.newPath)?(o.push(...Ym(n,Yu.parent(t.path))),h=t.newPath):(o.push(...Ym(n,Yu.parent(t.newPath))),h=t.path);var m=gc.get(e,Yu.parent(h)),g=kf.findKey(n,m),v=xc.pathRef(n,Yu.parent(h));i.push([v,g])}for(var[y,b]of(r(t),o)){var[w]=xc.node(n,y);Yh.set(w,b)}for(var[x,D]of i)if(x.current){var[C]=xc.node(n,x.current);Yh.set(C,D)}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[o,i]=cc.edges(r),a=xc.void(n,{at:o.path}),s=xc.void(n,{at:i.path});if(!cc.isCollapsed(r)||a){var l=kf.toDOMRange(n,r),u=l.cloneContents(),c=u.childNodes[0];if(u.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)})),s){var[d]=s,p=l.cloneRange(),h=kf.toDOMNode(n,d);p.setEndAfter(h),u=p.cloneContents()}if(a&&(c=u.querySelector("[data-slate-spacer]")),Array.from(u.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),bf(c)){var f=c.ownerDocument.createElement("span");f.style.whiteSpace="pre",f.appendChild(c),u.appendChild(f),c=f}var m=n.getFragment(),g=JSON.stringify(m),v=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",v),e.setData("application/".concat(t),v);var y=u.ownerDocument.createElement("div");return y.appendChild(u),y.setAttribute("hidden","true"),u.ownerDocument.body.appendChild(y),e.setData("text/html",y.innerHTML),e.setData("text/plain",Df(y)),u.ownerDocument.body.removeChild(y),e}}},n.insertData=e=>{n.insertFragmentData(e)||n.insertTextData(e)},n.insertFragmentData=e=>{var r=e.getData("application/".concat(t))||Ef(e);if(r){var o=decodeURIComponent(window.atob(r)),i=JSON.parse(o);return n.insertFragment(i),!0}return!1},n.insertTextData=e=>{var t=e.getData("text/plain");if(t){var r=t.split(/\r\n|\r|\n/),o=!1;for(var i of r)o&&pd.splitNodes(n,{always:!0}),n.insertText(i),o=!0;return!0}return!1},n.onChange=e=>{(Ah<18?dn.unstable_batchedUpdates:e=>e())((()=>{var t=rf.get(n);t&&t(e),o(e)}))},n}((e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&pd.setSelection(t,r.selectionBefore),tg.withoutSaving(t,(()=>{xc.withoutNormalizing(t,(()=>{for(var e of r.operations)t.apply(e)}))})),e.redos.pop(),t.writeHistory("undos",r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];tg.withoutSaving(t,(()=>{xc.withoutNormalizing(t,(()=>{var e=r.operations.map(bc.inverse).reverse();for(var n of e)t.apply(n);r.selectionBefore&&pd.setSelection(t,r.selectionBefore)}))})),t.writeHistory("redos",r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],s=a&&a.operations[a.operations.length-1],l=tg.isSaving(t),u=tg.isMerging(t);if(null==l&&(l=rg(e)),l){if(null==u&&(u=null!=a&&(0!==r.length||ng(e,s))),a&&u)a.operations.push(e);else{var c={operations:[e],selectionBefore:t.selection};t.writeHistory("undos",c)}for(;i.length>100;)i.shift();o.redos=[]}n(e)},t.writeHistory=(e,n)=>{t.history[e].push(n)},t})(t={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var e=arguments.length,n=new Array(e),r=0;r{let{isInline:t,isVoid:n,markableVoid:r}=e;return e.isInline=e=>"type"in e&&"mention"===e.type||t(e),e.isVoid=e=>"type"in e&&"mention"===e.type||n(e),e.markableVoid=e=>"type"in e&&"mention"===e.type||r(e),e})(e):e}),[g.mentionableUsers]),{formatMessage:b}=Hw(),w=(0,s.useRef)(null),x=(0,s.useRef)(null),D=!r&&"minimal"===g.variant,C=(0,s.useRef)(null),{fieldProps:E}=(0,Fe.NP)({"aria-label":c,"aria-labelledby":p,"aria-describedby":d,"aria-details":h,labelElementType:"div"});D&&!g.avatarName&&console.warn("Editor: When using the minimal `variant` and `enableRichText` is `false`, you should provide an `avatarName`.");let S=(0,Me.jsx)(mw,{variant:"ghost","aria-label":u||b(tS.save),icon:l,isDisabled:g.isDisabled??g.isSaveDisabled,size:"md",excludeFromTabOrder:D,className:D?"_1yep5z6j6 _1yep5z6j7 _1yep5z6j8":void 0,onPress:()=>i?.(r?BE(y.children):w.current.value)}),[_,P]=s.useState(!1),{keyboardProps:k}=(0,Fe.v5)({onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&e.shiftKey&&"h"===e.key&&(e.preventDefault(),P(!0))}});return(0,Me.jsxs)("div",{...(0,Fe.dG)(E,r?k:{}),role:"application",ref:(0,Ie.lq)(x,v),style:t,"data-block-id":n,className:(0,Oe.AK)(xE({isInline:a,isMinimal:D}),"BaselineUI-Editor",e),"aria-disabled":g.isDisabled,children:[D?(0,Me.jsxs)(Me.Fragment,{children:[a?(0,Me.jsx)(fD,{className:"_1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z6j0 _1yep5z6j1 _1yep5z6j2",name:g.avatarName||""}):null,(0,Me.jsxs)("div",{className:EE({isInline:a}),children:[(0,Me.jsx)(TE,{isMinimal:D,textBoxRef:w,onSave:i,isInline:a,editableContentAriaLabel:f,...g}),S]})]}):(0,Me.jsxs)(Me.Fragment,{children:[r?(0,Me.jsx)(GE,{containerRef:x,ref:C,editor:y,onCancel:o,onSave:i,isInline:a,editableContentAriaLabel:f,onHelpDialogOpenRequest:()=>{P(!0)},...g}):(0,Me.jsxs)(Me.Fragment,{children:[!a&&(0,Me.jsx)(jb,{variant:"secondary"}),(0,Me.jsx)(TE,{onSave:i,onCancel:o,textBoxRef:w,isInline:a,editableContentAriaLabel:f,...g})]}),(0,Me.jsx)(jb,{variant:"secondary"}),(0,Me.jsxs)("div",{className:(0,Oe.AK)(_E,(0,je.Kj)({justifyContent:"space-between"})),children:[(0,Me.jsxs)(Nb,{paddingX:"sm",gap:"sm",display:"flex",children:[r&&g.mentionableUsers?(0,Me.jsx)(mw,{icon:Ke.lO,size:"sm","aria-label":b(tS.mention),onPress:()=>C.current?.startMention()}):null,m?.map(((e,t)=>(0,Me.jsx)(mw,{...e,size:"sm",isDisabled:g.isDisabled||e.isDisabled},t)))]}),(0,Me.jsxs)(Nb,{children:[!!o&&(0,Me.jsx)(mw,{variant:"secondary",icon:Ke.Ni,isDisabled:g.isDisabled,size:"md",onPress:o,"aria-label":b(tS.cancel)}),S]})]})]}),(0,Me.jsx)(AE,{isOpen:_,onClose:()=>{P(!1)}})]})}));eS.displayName="Editor";var tS=Zw({cancel:{defaultMessage:"Cancel",id:"cancel"},save:{defaultMessage:"Save",id:"save"},mention:{defaultMessage:"Mention",id:"mention"}}),nS=s.forwardRef((({className:e,style:t,"data-block-id":n,isMounted:r,children:o,transitions:i,elementType:a="div",...s},l)=>{let u=(0,nt.Yz)(r,i),c=nt.q[a];return u(((r,i)=>i&&(0,Me.jsx)(c,{className:e,"data-block-id":n,style:{...t,...r},...s,ref:l,children:o})))}));nS.displayName="Transition";var rS=s.forwardRef((({className:e,style:t,hideForKeyboard:n,scrollRef:r,label:o,delay:i=1500,smoothScroll:a=!0,"data-block-id":l},u)=>{let c=s.useRef(null),d=(0,Bt.Kf)(),[p,h]=s.useState(!1),f=(0,s.useCallback)((()=>{let e=r?.current||(0,Ie.r3)(c.current).body;return"column-reverse"===(0,Ie.kR)(e).getComputedStyle(e).flexDirection?e.scrollTop+2>=0:e.scrollTop+e.clientHeight+2>=e.scrollHeight}),[r]),[m,g]=s.useState(f),v=Rw(),{buttonProps:y,isPressed:b}=(0,Fe.UW)({onPress:()=>{let e=r?.current||(0,Ie.r3)(c.current).body;e.scrollTo({top:e.scrollHeight,behavior:a?"smooth":"auto"})}},c),{focusProps:w,isFocused:x,isFocusVisible:D}=(0,Fe.Fx)(),{hoverProps:C,isHovered:E}=(0,Fe.XI)({}),S=(0,Oe.mS)({"data-block-id":l,"data-pressed":b,"data-focus-visible":D,"data-hovered":E,"data-focused":x});return(0,s.useEffect)((()=>{g(f())}),[f]),(0,s.useEffect)((()=>{let e=r?.current||(0,Ie.r3)(c.current).body,t="onscrollend"in(0,Ie.kR)(e),n=()=>{setTimeout((()=>{h(!1),g(f())}),i)},o=()=>{h(!0),t||n()};return e.addEventListener("scroll",o),e.addEventListener("scrollend",n),()=>{e.removeEventListener("scroll",o),e.removeEventListener("scrollend",n)}}),[r,i,f]),(0,Me.jsxs)(nS,{isMounted:!(n&&"keyboard"===d||p||m),elementType:"button",transitions:{from:{opacity:0,transform:"translateX(-50%) translateY(10px)"},enter:{opacity:1,transform:"translateX(-50%) translateY(0)"},leave:{opacity:0,transform:"translateX(-50%) translateY(10px)"},immediate:v},...(0,Fe.dG)(y,w,C,S),className:(0,Oe.AK)("_8kqf970 _1yep5z6ow _1yep5z6ox _1yep5z6oy _1yep5z613b _1yep5z613c _1yep5z613d _1yep5z613k _1yep5z613l _1yep5z613m _1yep5z6142 _1yep5z6143 _1yep5z6144 _1yep5z6yh _1yep5z6uq _1yep5z6ur _1yep5z6us _1yep5z6168",Wx({isFocusVisible:D,variant:"high-contrast",isHovered:E}),"BaselineUI-ScrollControlButton",e),style:t,ref:(0,Ie.lq)(u,c),children:[(0,Me.jsx)(Ne.Ov,{size:16}),o]})}));rS.displayName="ScrollControlButton";var oS="_1yep5z6jc _1yep5z6jd _1yep5z6je _1yep5z6jl _1yep5z6jm _1yep5z6jn",iS=Ob({defaultClassName:"_1v0p2z10 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69f _1yep5z69g _1yep5z69h",variantClassNames:{hasTitleAndIcon:{true:"_1yep5z6le _1yep5z6lf _1yep5z6lg _1yep5z6nw _1yep5z6nx _1yep5z6ny"},hasNoCloseBtn:{true:"_1yep5z6lk _1yep5z6ll _1yep5z6lm _1yep5z6nw _1yep5z6nx _1yep5z6ny _1yep5z6p2 _1yep5z6p3 _1yep5z6p4 _1yep5z6mq _1yep5z6mr _1yep5z6ms"}},defaultVariants:{},compoundVariants:[[{hasTitleAndIcon:!0,hasNoCloseBtn:!0},"_1yep5z61g7 _1yep5z61g8 _1yep5z61g9"]]}),aS=s.forwardRef((({className:e,style:t,"data-block-id":n,message:r,title:o,primaryActionLabel:i,cancelLabel:a,textInputProps:s,icon:l,iconColor:u,showCloseButton:c=!0,onPrimaryAction:d,onCancel:p,autoFocusButton:h,isPrimaryActionDisabled:f},m)=>{let g=(0,Fe.Me)(),{formatMessage:v}=Hw(),y=o&&(0,Me.jsx)(FD,{id:g,type:"title",size:"sm",elementType:"h3",children:o});return(0,Me.jsxs)($D,{className:e,style:t,"data-block-id":n,size:"sm",variant:"primary",role:"alertdialog",ref:m,"aria-labelledby":g,children:[(0,Me.jsxs)("div",{className:iS({hasTitleAndIcon:!(!l||!o),hasNoCloseBtn:!c}),children:[(0,Me.jsxs)(Nb,{display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:"row",children:[l?(0,Me.jsx)(l,{style:{color:u},size:24}):null,!l&&y,c?(0,Me.jsx)(mw,{icon:Ke.b0,variant:"secondary",size:"md","aria-label":v(sS.close),onPress:p}):null]}),l?y:null]}),r?(0,Me.jsx)(Nb,{elementType:"section",className:"_1v0p2z10",paddingX:"lg",paddingBottom:"lg",typography:"body.sm.regular",color:"text.primary",children:r}):null,s?(0,Me.jsx)(Nb,{paddingX:"lg",paddingBottom:"lg",children:(0,Me.jsx)(xx,{...s})}):null,a||i?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(jb,{}),(0,Me.jsxs)(Nb,{padding:"lg",display:"flex",gap:"xl",children:[a?(0,Me.jsx)(Yb,{variant:"secondary",className:oS,label:a,onPress:p,autoFocus:"cancel"===h}):null,i?(0,Me.jsx)(Yb,{className:oS,label:i,onPress:d,autoFocus:"primary"===h,isDisabled:f}):null]})]}):null]})}));aS.displayName="AlertDialog";var sS=Zw({close:{id:"close",defaultMessage:"Close",description:"Close button label"}}),lS=Cb(),uS=s.forwardRef((({className:e,style:t,children:n,"data-block-id":r,showCaret:o},i)=>{let a=(0,s.useMemo)((()=>{let e=n;return(!n||Array.isArray(n)&&0===n.length)&&(e=""),lS.render(e)}),[n]);return(0,Me.jsx)("div",{className:(0,Oe.AK)("_1yep5z6dy _1yep5z6eu","_1t55bp70",{_1t55bp71:o},"BaselineUI-Markdown",e),"data-block-id":r,style:t,ref:i,dangerouslySetInnerHTML:{__html:a}})}));function cS(e){let{formatMessage:t,locale:n}=Hw(),[r,o]=s.useState(!1),[i,a]=s.useState(0),[l,u]=s.useState(0),[c,d]=s.useState(!1);(0,s.useEffect)((()=>{if(!e.current)return;let t=e.current,n=()=>{o(!1),a(0)},r=()=>{c||a(100*t.currentTime/t.duration)},i=()=>{u(t.duration)};return t.addEventListener("ended",n),t.addEventListener("timeupdate",r),t.addEventListener("loadedmetadata",i),()=>{t.removeEventListener("ended",n),t.removeEventListener("timeupdate",r),t.removeEventListener("loadedmetadata",i)}}),[c,e]);let p=(0,s.useCallback)((()=>{(async()=>{e.current&&(e.current.paused?(await e.current.play(),o(!0),(0,Eb.xQ)(t(dS.playing),"polite")):(e.current.pause(),o(!1),(0,Eb.xQ)(t(dS.paused),"polite")))})()}),[t,e]),h=(0,s.useCallback)((t=>{e.current&&(e.current.currentTime=t*e.current.duration/100,(0,Eb.xQ)(function(e,t){let n=Math.floor(e/3600),r=Math.floor(e%3600/60),o=e%60,i={...n&&{hours:n},...r&&{minutes:r},seconds:Math.floor(o)};return new Intl.DurationFormat(t,{style:"long"}).format(i)}(e.current.currentTime,n.locale),"assertive"))}),[n.locale,e]);return{isPlaying:r,progress:i,duration:l,togglePlay:p,seek:h,setProgress:a,formattedCurrentTime:e.current?.currentTime?pS(e.current?.currentTime):"00:00",formattedDuration:l?pS(l):"00:00",setIsSliderDragging:d}}uS.displayName="Markdown";var dS=Zw({playing:{id:"playing",defaultMessage:"Playing"},paused:{id:"paused",defaultMessage:"Paused"}});function pS(e){return[Math.floor(e%3600/60),Math.floor(e%60)].map((e=>e.toString().padStart(2,"0"))).join(":")}var hS=s.forwardRef((({className:e,style:t,size:n="lg",sources:r,"data-block-id":o,...i},a)=>{let l=s.useRef(null),{isPlaying:u,progress:c,duration:d,togglePlay:p,seek:h,formattedDuration:f,formattedCurrentTime:m,setProgress:g,setIsSliderDragging:v}=cS(l),{formatMessage:y}=Hw(),b=(0,Oe.mS)({"data-block-id":o,"data-state":u?"playing":"paused","data-loaded":d>0});return(0,Me.jsxs)("div",{...b,...i,className:(0,Oe.AK)("_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69o _1yep5z69p _1yep5z69q","BaselineUI-AudioPlayer",e),role:"group",style:t,ref:a,children:[(0,Me.jsx)(Fe.TX,{children:(0,Me.jsx)("audio",{ref:l,children:r.map((({url:e,type:t})=>(0,Me.jsx)("source",{src:e,type:t},e)))})}),(0,Me.jsx)(bE,{icon:u?Re.fpf:Re.o1U,variant:"toolbar",isSelected:u,size:n,"aria-label":y(u?fS.pause:fS.play),style:{borderRadius:"50%"},onPress:p}),(0,Me.jsxs)("div",{className:"rta2n91 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69o _1yep5z69p _1yep5z69q _1yep5z6z9 _1yep5z6ut _1yep5z6uu _1yep5z6uv _1yep5z6166 _1yep5z6106",children:[(0,Me.jsx)("span",{"aria-hidden":!0,children:m}),(0,Me.jsx)(vw,{"aria-label":y(fS.audioTimeline),value:c,minValue:0,maxValue:100,className:"rta2n90",onChange:e=>{g(e),v(!0)},onChangeEnd:e=>{h(e),v(!1)}}),(0,Me.jsx)("span",{"aria-hidden":!0,children:f})]})]})}));hS.displayName="AudioPlayer";var fS=Zw({play:{id:"play",defaultMessage:"Play"},pause:{id:"pause",defaultMessage:"Pause"},audioTimeline:{id:"audioTimeline",defaultMessage:"Audio timeline"}})},2805:(e,t)=>{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return l(e,t)})),o=function(e){return r.some((function(t){return u(t,e)}))};return null==n?o:o(n)}function l(e,t){var n=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),l=s.length;for(var u in r)a[r[u]]=!1;var p=!0,h=!1,f=void 0;try{for(var m,g=s[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var v=m.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var b=d(v),w=r[b];if(v.length>1&&!w&&!o[v]&&!i[b])throw new TypeError('Unknown modifier: "'+v+'"');1!==l&&w||(n?a.key=b:a.which=c(v)),w&&(a[w]=!y||null)}}catch(e){h=!0,f=e}finally{try{!p&&g.return&&g.return()}finally{if(h)throw f}}return a}function u(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function c(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.P6=s},31108:(e,t,n)=>{"use strict";var r=n(85893),o=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.03 9.53a.75.75 0 0 0 0-1.06L5.56 6l2.47-2.47a.75.75 0 0 0-1.06-1.06l-3 3a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06 0",clipRule:"evenodd"})]}),i=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.97 2.47a.75.75 0 0 0 0 1.06L6.44 6 3.97 8.47a.75.75 0 0 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),a=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.47 8.03a.75.75 0 0 0 1.06 0L6 5.56l2.47 2.47a.75.75 0 0 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 0 0 0 1.06",clipRule:"evenodd"})]}),s=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#checkmark-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.03 2.845a.75.75 0 0 1 0 1.06l-6.53 6.53-3.53-3.53a.75.75 0 0 1 1.06-1.06l2.47 2.47 5.47-5.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"checkmark-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h12v12H0z"})})})]}),l=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 10.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12",clipRule:"evenodd"})]}),u=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.75 3.5a1.25 1.25 0 1 1 2.5 0v.75h-2.5zm-1.5.75V3.5a2.75 2.75 0 0 1 5.5 0v.75H9c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 9 10.75H3A1.75 1.75 0 0 1 1.25 9V6c0-.966.784-1.75 1.75-1.75z",clipRule:"evenodd"})]}),c=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.75 3.5a1.25 1.25 0 1 1 2.5 0v.75h-2.5zm-1.5.75V3.5a2.75 2.75 0 0 1 5.5 0v.75H9c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 9 10.75H3A1.75 1.75 0 0 1 1.25 9V6c0-.966.784-1.75 1.75-1.75zM8 5.75H3a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h6A.25.25 0 0 0 9.25 9V6A.25.25 0 0 0 9 5.75z",clipRule:"evenodd"})]}),d=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.75 6a.75.75 0 0 1-.75.75H1a.75.75 0 0 1 0-1.5h10a.75.75 0 0 1 .75.75",clipRule:"evenodd"})]}),p=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.5 6A1.25 1.25 0 1 1 0 6a1.25 1.25 0 0 1 2.5 0m4.75 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m3.5 1.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})]}),h=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.75 4.5a2.75 2.75 0 0 1 5.396-.75H5c-.69 0-1.25.56-1.25 1.25v2.146a2.75 2.75 0 0 1-2-2.646m2 4.184A4.251 4.251 0 1 1 8.684 3.75H10.5c.69 0 1.25.56 1.25 1.25v5.5c0 .69-.56 1.25-1.25 1.25H5c-.69 0-1.25-.56-1.25-1.25zm1.5 1.566v-5h5v5z",clipRule:"evenodd"})]}),f=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 .25a.75.75 0 0 1 .75.75v4.25H11a.75.75 0 0 1 0 1.5H6.75V11a.75.75 0 0 1-1.5 0V6.75H1a.75.75 0 0 1 0-1.5h4.25V1A.75.75 0 0 1 6 .25",clipRule:"evenodd"})]}),m=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 12 12","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.243 1.757a.75.75 0 0 1 0 1.061L7.061 6l3.182 3.182a.75.75 0 0 1-1.06 1.06L6 7.062l-3.182 3.182a.75.75 0 1 1-1.06-1.061L4.94 6 1.758 2.818a.75.75 0 1 1 1.06-1.06L6 4.938l3.182-3.182a.75.75 0 0 1 1.061 0",clipRule:"evenodd"})]});t.BN=o,t.QU=i,t.KM=s,t.V_=d,t.b0=m},83034:(e,t,n)=>{"use strict";var r=n(85893),o=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#arrow-down-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.75-11.6a.75.75 0 0 0-1.5 0v5.39L5.73 8.27a.75.75 0 1 0-1.06 1.06L8 12.66l3.33-3.33a.75.75 0 0 0-1.06-1.06L8.75 9.79z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"arrow-down-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),i=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.136 2.47a.75.75 0 0 0 0 1.06l3.72 3.72h-8.19a.75.75 0 1 0 0 1.5h8.19l-3.72 3.72a.75.75 0 1 0 1.06 1.06L13.726 8l-5.53-5.53a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),a=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#attachments-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M12.285 2.697a1.75 1.75 0 0 0-2.475 0l-5.48 5.48a3 3 0 0 0 4.243 4.242L12.993 8a.75.75 0 0 1 1.06 1.062l-4.42 4.419A4.5 4.5 0 1 1 3.27 7.116l5.48-5.48a3.25 3.25 0 1 1 4.596 4.596l-5.48 5.48a2 2 0 0 1-2.829-2.828l4.42-4.42a.75.75 0 1 1 1.06 1.061l-4.419 4.42a.5.5 0 0 0 .707.707l5.48-5.48a1.75 1.75 0 0 0 0-2.475",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"attachments-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),s=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 8a2 2 0 1 0 .001-3.999A2 2 0 0 0 8 8m0 1c-1.335 0-4 .67-4 2v1h8v-1c0-1.33-2.665-2-4-2",clipRule:"evenodd"})]}),l=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3 12.992C3 13.548 3.451 14 4.008 14H8.64c2.657 0 4.286-1.269 4.286-3.377 0-1.44-.823-2.537-2.297-2.863 1.234-.463 1.834-1.354 1.834-2.657C12.463 3.234 11.074 2 8.777 2H4.008C3.451 2 3 2.451 3 3.008zM5.88 6.68V4.4h2.246c.908 0 1.405.446 1.405 1.114 0 .737-.548 1.166-1.354 1.166zm0 4.92V9.08h2.537c1.029 0 1.594.48 1.594 1.251 0 .823-.634 1.269-1.542 1.269z"})]}),u=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 .583c-1.15 0-2.083.933-2.083 2.084v12a.75.75 0 0 0 1.296.514L8 12.226l2.788 2.955a.75.75 0 0 0 1.296-.514v-12c0-1.15-.933-2.084-2.084-2.084z",clipRule:"evenodd"})]}),c=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 2.083a.583.583 0 0 0-.583.584v10.112l2.038-2.16a.75.75 0 0 1 1.09 0l2.039 2.16V2.667A.583.583 0 0 0 10 2.083zm-2.083.584C3.917 1.517 4.85.583 6 .583h4c1.15 0 2.084.933 2.084 2.084v12a.75.75 0 0 1-1.296.514L8 12.226l-2.787 2.955a.75.75 0 0 1-1.296-.514z",clipRule:"evenodd"})]}),d=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.53 12.53a.75.75 0 0 0 0-1.06L7.06 8l3.47-3.47a.75.75 0 1 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 0 0 1.06 0",clipRule:"evenodd"})]}),p=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.47 3.47a.75.75 0 0 0 0 1.06L8.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),h=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m3.33-8.32a.75.75 0 0 0-1.06-1.06L7.2 8.69 6.13 7.62a.75.75 0 1 0-1.06 1.06l2.13 2.13z",clipRule:"evenodd"})]}),f=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m3.33-8.32a.75.75 0 0 0-1.06-1.06L7.2 8.69 6.13 7.62a.75.75 0 1 0-1.06 1.06l2.13 2.13z",clipRule:"evenodd"})]}),m=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.53 3.97a.75.75 0 0 1 0 1.06L6 13.56 1.47 9.03a.75.75 0 0 1 1.06-1.06L6 11.44l7.47-7.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),g=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("circle",{cx:8,cy:8,r:4})]}),v=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m2.93-4.07a.75.75 0 0 1-1.06 0L8 9.06l-1.87 1.87a.75.75 0 1 1-1.06-1.06L6.938 8l-1.87-1.87a.75.75 0 0 1 1.06-1.06L8 6.94l1.87-1.87a.75.75 0 1 1 1.061 1.06L9.06 8l1.87 1.87a.75.75 0 0 1 0 1.06",clipRule:"evenodd"})]}),y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.48 2.52a.75.75 0 0 1 0 1.06L9.062 8l4.42 4.42a.75.75 0 1 1-1.061 1.06L8 9.06l-4.419 4.42a.75.75 0 0 1-1.06-1.06L6.94 8 2.52 3.58a.75.75 0 0 1 1.061-1.06l4.42 4.42 4.419-4.42a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),b=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#copy-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M2.4.291A2.11 2.11 0 0 0 .29 2.4v7.7c0 1.165.944 2.109 2.109 2.109H3.79V13.6c0 1.165.944 2.109 2.109 2.109h7.7a2.11 2.11 0 0 0 2.109-2.109V5.9A2.11 2.11 0 0 0 13.6 3.791h-1.391V2.4A2.11 2.11 0 0 0 10.1.29zm8.391 3.5V2.4a.69.69 0 0 0-.691-.691H2.4a.69.69 0 0 0-.691.69V10.1c0 .382.309.691.69.691h1.392v-4.89c0-1.166.944-2.11 2.109-2.11zm-5.582 7.72V5.9c0-.382.309-.691.69-.691H13.6c.382 0 .691.31.691.691v7.7c0 .382-.31.691-.691.691H5.9a.69.69 0 0 1-.691-.69z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"copy-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),w=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#edit-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10.409 1.53a2.25 2.25 0 0 1 3.182 0l.879.879a2.25 2.25 0 0 1 0 3.182l-9.72 9.72a1.5 1.5 0 0 1-1.06.439H.25v-3.44c0-.397.158-.779.44-1.06zm2.121 1.061a.75.75 0 0 0-1.06 0L10.06 4 12 5.94l1.409-1.41a.75.75 0 0 0 0-1.06zM10.94 7 9 5.06l-7.25 7.25v1.94h1.94z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"edit-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),x=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14",clipRule:"evenodd"})]}),D=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#emoji-smile-icon_svg__a)",children:[r.jsx("path",{fillRule:"evenodd",d:"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M4.522 8.904a.75.75 0 0 1 .974.418c.34.848 1.298 1.528 2.504 1.528s2.164-.68 2.504-1.528a.75.75 0 1 1 1.392.556C11.304 11.36 9.75 12.35 8 12.35s-3.304-.99-3.896-2.472a.75.75 0 0 1 .418-.974",clipRule:"evenodd"}),r.jsx("path",{d:"M6.8 6a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0m4.8 0a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"emoji-smile-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),C=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m2.93-8.87a.75.75 0 0 0-1.06-1.06l-4.8 4.8a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"})]}),E=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m2.93-8.87a.75.75 0 0 0-1.06-1.06l-4.8 4.8a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"})]}),S=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0M8 4.25a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0V5A.75.75 0 0 1 8 4.25m0 7.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),_=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14M8 4.25a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0V5A.75.75 0 0 1 8 4.25m0 7.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),P=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0M8 4.25a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0V5A.75.75 0 0 1 8 4.25m0 7.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),k=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7.47.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1-1.06 1.06L8 2.06 4.53 5.53a.75.75 0 0 1-1.06-1.06zm-4 10a.75.75 0 0 1 1.06 0L8 13.94l3.47-3.47a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})]}),A=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M.584 10c0 1.15.933 2.083 2.083 2.083h8a.75.75 0 0 0 .492-.184l3.833-3.333a.75.75 0 0 0 0-1.132L11.16 4.101a.75.75 0 0 0-.492-.184h-8A2.083 2.083 0 0 0 .584 6z"})]}),z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M15.61 8.44c.24-.33.17-.8-.16-1.05a.75.75 0 0 0-1.05.16c-.03.04-2.75 3.69-6.39 3.69s-6.38-3.65-6.4-3.68A.75.75 0 0 0 .56 7.4.75.75 0 0 0 .4 8.45c.06.09.83 1.12 2.12 2.16l-1.35 1.93a.74.74 0 0 0 .18 1.04c.13.09.28.14.43.14.24 0 .47-.11.61-.32l1.35-1.92c1 .61 2.18 1.1 3.51 1.24v2.29c0 .41.34.75.75.75s.75-.34.75-.75v-2.29c1.33-.14 2.51-.64 3.51-1.24l1.35 1.92c.15.21.38.32.62.32.15 0 .3-.04.43-.14.34-.24.42-.71.18-1.04l-1.35-1.93c1.29-1.03 2.06-2.07 2.12-2.16z"})]}),T=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.762 2.177a1.75 1.75 0 0 1 2.475 0l1.586 1.586a1.75 1.75 0 0 1 0 2.474l-7.586 7.586a1.75 1.75 0 0 1-2.214.215l-.712.712H.189l2.773-2.773a1.75 1.75 0 0 1 .215-2.214zM5.83 12.769l-1.6-1.599a.25.25 0 0 1 .007-.347L7.5 7.561 9.44 9.5l-3.263 3.262a.25.25 0 0 1-.347.007",clipRule:"evenodd"})]}),O=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm2 2.75a.75.75 0 0 0 0 1.5h3.25v6.883a.75.75 0 0 0 1.5 0V5.25H12a.75.75 0 0 0 0-1.5H4",clipRule:"evenodd"})]}),I=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"m.04 8 2.53-2.53a.75.75 0 0 1 1.06 1.06l-.72.72H5a.75.75 0 0 1 0 1.5H2.91l.72.72a.75.75 0 1 1-1.06 1.06zm15.92 0-2.53 2.53a.75.75 0 0 1-1.06-1.06l.72-.72H11a.75.75 0 0 1 0-1.5h2.09l-.72-.72a.75.75 0 0 1 1.06-1.06zM7 8a1 1 0 1 0 2 0 1 1 0 0 0-2 0"})]}),F=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14M9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-2.75 3A.75.75 0 0 1 7 6.75h1.75v4H9a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1 0-1.5h.25v-2.5H7a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),M=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#info-filled-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-8.75-4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M8.5 8.25a.75.75 0 0 0 0 1.5h.75v4.5H8.5a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-6z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"info-filled-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),R=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.05 3.5a.75.75 0 0 1 .75-.75h4a.75.75 0 0 1 0 1.5H9.398l-1.659 7.3H8.8a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5h1.402l1.66-7.3H6.8a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),j=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.1 3.545a1.25 1.25 0 0 0-1.767 0L7.504 6.373a1.25 1.25 0 0 0 0 1.768l.283.283a.75.75 0 0 1-1.06 1.06l-.283-.283a2.75 2.75 0 0 1 0-3.889l2.828-2.828a2.75 2.75 0 0 1 3.89 0l.565.566a2.75 2.75 0 0 1 0 3.889l-1.556 1.555a.75.75 0 0 1-1.06-1.06l1.555-1.556a1.25 1.25 0 0 0 0-1.768zM8.425 6.726a.75.75 0 0 1 1.06 0l.283.283a2.75 2.75 0 0 1 0 3.89L6.94 13.726a2.75 2.75 0 0 1-3.89 0l-.565-.566a2.75 2.75 0 0 1 0-3.889L3.947 7.81a.75.75 0 0 1 1.06 1.06l-1.461 1.462a1.25 1.25 0 0 0 0 1.768l.566.565a1.25 1.25 0 0 0 1.767 0l2.829-2.828a1.25 1.25 0 0 0 0-1.768l-.283-.283a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})]}),B=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 4.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2m3.75-1.75a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5zm0 4.667a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5zM6 12.667a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-1 5.667a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),N=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8 8.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 8.75"}),r.jsx("path",{fillRule:"evenodd",d:"M4.75 5.75V4a3.25 3.25 0 1 1 6.5 0v1.75H12c.966 0 1.75.784 1.75 1.75v6A1.75 1.75 0 0 1 12 15.25H4a1.75 1.75 0 0 1-1.75-1.75v-6c0-.966.784-1.75 1.75-1.75zM6.25 4a1.75 1.75 0 1 1 3.5 0v1.75h-3.5zM12 7.25a.25.25 0 0 1 .25.25v6a.25.25 0 0 1-.25.25H4a.25.25 0 0 1-.25-.25v-6A.25.25 0 0 1 4 7.25z",clipRule:"evenodd"})]}),L=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#magic-icon_svg__a)",children:r.jsx("path",{d:"M8.627.853c-.104-.725-1.15-.725-1.254 0l-.149 1.038-1.038.149c-.725.103-.725 1.15 0 1.254l1.038.148.149 1.038c.103.725 1.15.725 1.254 0l.148-1.038 1.038-.148c.725-.104.725-1.15 0-1.254l-1.038-.15zM4.109 8.558 3.961 7.52c-.104-.725-1.15-.725-1.254 0l-.149 1.038-1.038.148c-.725.104-.725 1.15 0 1.254l1.038.149.149 1.038c.103.725 1.15.725 1.254 0l.148-1.038 1.038-.149c.725-.103.725-1.15 0-1.254L4.11 8.558Zm9.333 3.333-.148-1.038c-.104-.725-1.15-.725-1.254 0l-.148 1.038-1.039.149c-.725.103-.725 1.15 0 1.254l1.039.148.148 1.038c.103.725 1.15.725 1.254 0l.148-1.038 1.038-.148c.725-.104.725-1.15 0-1.254zM15 6.333a1 1 0 1 1-2 0 1 1 0 0 1 2 0M9.333 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-6-5.667a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 11.667a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"magic-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),K=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.75 8a.75.75 0 0 1-.75.75H2a.75.75 0 0 1 0-1.5h12a.75.75 0 0 1 .75.75",clipRule:"evenodd"})]}),V=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#monkey-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M8 .05a7.95 7.95 0 0 0 0 15.9h4a.75.75 0 1 0 0-1.5H8a6.45 6.45 0 1 1 0-12.9h1.092a5.36 5.36 0 0 1 5.358 5.358V9.4a1.45 1.45 0 1 1-2.9 0V4a.75.75 0 0 0-1.5 0v.4a3.75 3.75 0 0 0-6 3v1.2a3.75 3.75 0 0 0 6.541 2.504A2.95 2.95 0 0 0 15.95 9.4V6.908A6.86 6.86 0 0 0 9.093.05zm2.05 8.552V7.398a2.25 2.25 0 0 0-4.5.002v1.2a2.25 2.25 0 0 0 4.5.002",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"monkey-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0M6.5 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m-5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3",clipRule:"evenodd"})]}),H=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m1.5-5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0",clipRule:"evenodd"})]}),Z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 14 14","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("mask",{id:"none-icon_svg__a",width:14,height:14,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:r.jsx("circle",{cx:7,cy:7,r:7,fill:"#2B2E36"})}),r.jsx("g",{mask:"url(#none-icon_svg__a)",children:r.jsx("path",{stroke:"#C83C29",strokeWidth:2,d:"M15-1-1 15"})})]}),U=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M14.667 3C15.403 3 16 3.597 16 4.333v7.334c0 .736-.597 1.333-1.333 1.333H1.333A1.333 1.333 0 0 1 0 11.667V4.333C0 3.597.597 3 1.333 3zm-.917 1h.917c.184 0 .333.15.333.333v7.334c0 .184-.15.333-.333.333h-.917zm-10 0h8.5v8h-8.5zm-1.5 0h-.917A.333.333 0 0 0 1 4.333v7.334c0 .184.15.333.333.333h.917z",clipRule:"evenodd"})]}),$=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M14.667 3C15.403 3 16 3.597 16 4.333v7.334c0 .736-.597 1.333-1.333 1.333H1.333A1.333 1.333 0 0 1 0 11.667V4.333C0 3.597.597 3 1.333 3zM11.5 4h3.167c.184 0 .333.15.333.333v7.334c0 .184-.15.333-.333.333H11.5zm-7 8H1.333A.333.333 0 0 1 1 11.667V4.333C1 4.15 1.15 4 1.333 4H4.5zM6 4.5h4v7H6z",clipRule:"evenodd"})]}),G=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M0 3.75h1.25v8.5H0v1.5h1.333c.783 0 1.417-.634 1.417-1.417V3.667c0-.783-.634-1.417-1.417-1.417H0z"}),r.jsx("path",{fillRule:"evenodd",d:"M4.25 3.667c0-.783.634-1.417 1.417-1.417h4.666c.783 0 1.417.634 1.417 1.417v8.666c0 .783-.634 1.417-1.417 1.417H5.667a1.417 1.417 0 0 1-1.417-1.417zm1.5.083v8.5h4.5v-8.5z",clipRule:"evenodd"}),r.jsx("path",{d:"M14.75 3.75H16v-1.5h-1.333c-.783 0-1.417.634-1.417 1.417v8.666c0 .783.634 1.417 1.417 1.417H16v-1.5h-1.25z"})]}),W=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.667 13.75A1.417 1.417 0 0 1 .25 12.333V3.667c0-.783.634-1.417 1.417-1.417h12.666c.783 0 1.417.634 1.417 1.417v8.666c0 .783-.634 1.417-1.417 1.417zm.083-1.5v-8.5h5.5v8.5zm7-8.5v8.5h5.5v-8.5z",clipRule:"evenodd"})]}),X=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.75 1.75v12.5h8.5V1.75zm-1.5-.083C2.25.884 2.884.25 3.667.25h8.666c.783 0 1.417.634 1.417 1.417v12.666c0 .783-.634 1.417-1.417 1.417H3.667a1.417 1.417 0 0 1-1.417-1.417z",clipRule:"evenodd"})]}),Y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3.75 0v2.25h8.5V0h1.5v2.333c0 .783-.634 1.417-1.417 1.417H3.667A1.417 1.417 0 0 1 2.25 2.333V0zm0 16V6.75h8.5V16h1.5V6.667c0-.783-.634-1.417-1.417-1.417H3.667c-.783 0-1.417.634-1.417 1.417V16z"})]}),Q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.04 6a3.96 3.96 0 0 1 7.859-.706H6.666c-.758 0-1.372.615-1.372 1.373v3.23A3.96 3.96 0 0 1 2.04 6m3.254 5.326a5.374 5.374 0 1 1 6.033-6.032H14c.758 0 1.372.615 1.372 1.373V14c0 .758-.614 1.373-1.372 1.373H6.667A1.373 1.373 0 0 1 5.293 14zm1.412 2.635V6.706h7.255v7.255z",clipRule:"evenodd"})]}),J=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#plus-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 .25a.75.75 0 0 1 .75.75v6.25H15a.75.75 0 0 1 0 1.5H8.75V15a.75.75 0 0 1-1.5 0V8.75H1a.75.75 0 0 1 0-1.5h6.25V1A.75.75 0 0 1 8 .25",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"plus-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",d:"M9 11c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1M7 6.18c0-.49.42-.93 1-.93s1 .44 1 .93c0 .37-.23.7-.6.85-.48.19-1.15.69-1.15 1.53v.14c0 .41.34.75.75.75s.75-.34.75-.75v-.13s0-.01.02-.02a.7.7 0 0 1 .2-.13c.89-.36 1.53-1.22 1.53-2.24 0-1.37-1.15-2.43-2.5-2.43S5.5 4.81 5.5 6.18c0 .41.34.75.75.75S7 6.59 7 6.18M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7m0 12.5c-3.04 0-5.5-2.46-5.5-5.5S4.96 2.5 8 2.5s5.5 2.46 5.5 5.5-2.46 5.5-5.5 5.5"})]}),te=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.262 1.677a1.75 1.75 0 0 1 2.475 0l1.586 1.585a1.75 1.75 0 0 1 0 2.475L11.53 8.53l-1.06-1.06.969-.97-1.94-1.94-.969.97-1.06-1.06zM10.56 3.5l.763-.763a.25.25 0 0 1 .354 0l1.585 1.586a.25.25 0 0 1 0 .354l-.763.762zM1.97 1.971a.75.75 0 0 1 1.06 0l11 11a.75.75 0 1 1-1.06 1.06l-3.47-3.469-4.69 4.69H.75V11.19L5.438 6.5l-3.47-3.468a.75.75 0 0 1 0-1.06m4.53 5.59-4.25 4.25v1.94h1.94l4.25-4.25z",clipRule:"evenodd"})]}),ne=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.136 2.136a.75.75 0 0 0 0 1.061l1.386 1.386H6.666a4.75 4.75 0 0 0 0 9.5H8a.75.75 0 0 0 0-1.5H6.666a3.25 3.25 0 0 1 0-6.5h4.856L10.136 7.47a.75.75 0 1 0 1.06 1.06l3.198-3.197-3.197-3.197a.75.75 0 0 0-1.061 0",clipRule:"evenodd"})]}),re=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"m9.526 3.75-1.09 2.997-1.14-1.255.633-1.742H5.713L4.35 2.25H14a.75.75 0 0 1 0 1.5zm-5.231 9.994 1.271-3.495 1.14 1.255-1.001 2.752a.75.75 0 1 1-1.41-.512M2.605 2.546a.75.75 0 1 0-1.11 1.009l9.949 10.95a.75.75 0 0 0 1.11-1.01l-9.95-10.95Z"})]}),oe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M14.417 3a.75.75 0 0 1-.75.75H2.334a.75.75 0 0 1 0-1.5h11.333a.75.75 0 0 1 .75.75m0 10a.75.75 0 0 1-.75.75H2.334a.75.75 0 0 1 0-1.5h11.333a.75.75 0 0 1 .75.75m-.75-4.25a.75.75 0 0 0 0-1.5H2.334a.75.75 0 0 0 0 1.5z",clipRule:"evenodd"})]}),ie=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.172 1.898A.75.75 0 1 1 8.16.768l2.667 2.334a.75.75 0 0 1 0 1.129L8.16 6.564a.75.75 0 0 1-.988-1.128l1.32-1.155a3.917 3.917 0 1 0 3.424 3.886.75.75 0 0 1 1.5 0A5.417 5.417 0 1 1 8.15 2.752l-.977-.854Z"})]}),ae=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.828 1.898A.75.75 0 1 0 7.84.768L5.173 3.103a.75.75 0 0 0 0 1.129L7.84 6.564a.75.75 0 0 0 .988-1.128L7.508 4.28a3.917 3.917 0 1 1-3.424 3.886.75.75 0 1 0-1.5 0 5.417 5.417 0 1 0 5.268-5.415z"})]}),se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{fillRule:"evenodd",clipPath:"url(#settings-icon_svg__a)",clipRule:"evenodd",children:[r.jsx("path",{d:"M5.096 8A2.91 2.91 0 0 1 8 5.097 2.91 2.91 0 0 1 10.903 8 2.91 2.91 0 0 1 8 10.903 2.91 2.91 0 0 1 5.096 8m1.452 0A1.45 1.45 0 0 0 8 9.452 1.45 1.45 0 0 0 9.45 8 1.45 1.45 0 0 0 8 6.548 1.45 1.45 0 0 0 6.548 8"}),r.jsx("path",{d:"m13.061 5.9 1.335.271A1.37 1.37 0 0 1 15.5 7.516v.978a1.37 1.37 0 0 1-1.104 1.345l-1.335.27.755 1.133c.358.542.29 1.268-.174 1.732l-.687.687a1.38 1.38 0 0 1-1.733.175l-1.132-.755-.27 1.335a1.37 1.37 0 0 1-1.346 1.103h-.977a1.37 1.37 0 0 1-1.346-1.103l-.27-1.335-1.133.755a1.38 1.38 0 0 1-1.732-.175l-.687-.687a1.38 1.38 0 0 1-.174-1.732l.754-1.132-1.335-.271A1.37 1.37 0 0 1 .47 8.494v-.978c0-.658.464-1.22 1.103-1.345L2.909 5.9l-.754-1.132a1.38 1.38 0 0 1 .174-1.732l.687-.688a1.38 1.38 0 0 1 1.732-.174l1.132.755.271-1.335A1.37 1.37 0 0 1 7.497.49h.977c.658 0 1.22.465 1.345 1.104l.271 1.335 1.132-.755a1.38 1.38 0 0 1 1.733.174l.687.688c.464.464.532 1.19.174 1.732zm-3.532 5.816a1.39 1.39 0 0 1 1.326.116l1.122.745.6-.6-.745-1.122a1.44 1.44 0 0 1-.116-1.326 1.41 1.41 0 0 1 1.016-.852l1.316-.26v-.843l-1.316-.261a1.39 1.39 0 0 1-1.016-.852 1.39 1.39 0 0 1 .116-1.325l.745-1.123-.6-.6-1.122.745c-.417.28-.92.28-1.326.116a1.41 1.41 0 0 1-.852-1.016l-.261-1.316h-.842l-.261 1.316a1.39 1.39 0 0 1-.852 1.016 1.39 1.39 0 0 1-1.326-.116l-1.122-.745-.6.6.745 1.123c.28.416.28.919.116 1.325a1.41 1.41 0 0 1-1.016.852l-1.316.261v.842l1.316.261c.493.097.851.446 1.016.852.174.407.164.91-.116 1.326l-.745 1.122.6.6 1.122-.745c.416-.27.92-.28 1.326-.116.397.165.755.523.852 1.016l.26 1.316h.843l.261-1.316a1.39 1.39 0 0 1 .852-1.016"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"settings-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),le=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.039 8.167 2.913 8A11 11 0 0 1 4.2 6.546C5.211 5.596 6.534 4.75 8 4.75s2.788.845 3.798 1.796A11 11 0 0 1 13.087 8q-.058.078-.127.167c-.271.352-.667.82-1.162 1.287-1.01.95-2.332 1.796-3.798 1.796s-2.788-.845-3.799-1.796c-.495-.466-.89-.935-1.162-1.287M13.999 8c.637-.397.636-.398.636-.398zm.636-.398.25.398-.25.398L14 8l.635.398V8.4l-.003.004-.008.011-.026.04a11 11 0 0 1-.45.627c-.306.399-.755.93-1.322 1.464-1.114 1.05-2.792 2.204-4.826 2.204s-3.712-1.155-4.827-2.204a12.6 12.6 0 0 1-1.677-1.95l-.095-.14-.026-.04-.008-.012-.002-.004-.001-.002L1.999 8l-.635.398L1.115 8l.249-.397.635.397c-.636-.397-.635-.398-.635-.398l.001-.002.002-.004.008-.011.026-.04a11 11 0 0 1 .45-.627c.307-.399.755-.93 1.322-1.464C4.288 4.404 5.966 3.25 8 3.25s3.712 1.155 4.826 2.204a12.6 12.6 0 0 1 1.677 1.95l.095.14.026.04.008.012.002.004zM8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4",clipRule:"evenodd"})]}),ue=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M2.25 3A.75.75 0 0 1 3 2.25h10a.75.75 0 0 1 0 1.5H8.75v2h-1.5v-2H3A.75.75 0 0 1 2.25 3m5 11v-3.75h1.5V14a.75.75 0 0 1-1.5 0M1 7.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z"})]}),ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 2.25a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm2 3.333a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5zM1.25 9.667a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75M4 12.25a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),de=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 2.25a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm0 3.333a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm-.75 4.084a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75M2 12.25a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 2.25a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm0 3.333a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5zm-.75 4.084a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75M2 12.25a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),he=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 2.25a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm4 3.333a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5zM1.25 9.667a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75M6 12.25a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),fe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.25 3A.75.75 0 0 1 3 2.25h10a.75.75 0 0 1 0 1.5H8.75V14a.75.75 0 0 1-1.5 0V3.75H3A.75.75 0 0 1 2.25 3",clipRule:"evenodd"})]}),me=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.179 10.036h-.036a3.893 3.893 0 1 1 0-7.786h6.286a.75.75 0 0 1 0 1.5h-1.792V14a.75.75 0 0 1-1.5 0V3.75H7.679V14a.75.75 0 0 1-1.5 0zM3.75 6.143A2.393 2.393 0 0 1 6.143 3.75h.036v4.786h-.036A2.393 2.393 0 0 1 3.75 6.143",clipRule:"evenodd"})]}),ge=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.5 1.9a.6.6 0 0 0-.6.6v4a.6.6 0 0 0 .6.6h4a.6.6 0 0 0 .6-.6v-4a.6.6 0 0 0-.6-.6zm.6 4V3.1h2.8v2.8zm-.6 3a.6.6 0 0 0-.6.6v4a.6.6 0 0 0 .6.6h4a.6.6 0 0 0 .6-.6v-4a.6.6 0 0 0-.6-.6zm.6 4v-2.8h2.8v2.8zm5.8-3.4a.6.6 0 0 1 .6-.6h4a.6.6 0 0 1 .6.6v4a.6.6 0 0 1-.6.6h-4a.6.6 0 0 1-.6-.6zm1.2.6v2.8h2.8v-2.8zm-.6-8.2a.6.6 0 0 0-.6.6v4a.6.6 0 0 0 .6.6h4a.6.6 0 0 0 .6-.6v-4a.6.6 0 0 0-.6-.6zm.6 4V3.1h2.8v2.8z",clipRule:"evenodd"})]}),ve=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#thumbs-down-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M6.8 9.388c.85 1.035 1.965 2.398 3.13 4.723a.285.285 0 0 0 .345.136l.004-.001a.29.29 0 0 0 .186-.341l-1.113-2.697a1.56 1.56 0 0 1 1.441-2.158h2.39q.033 0 .064.003a.33.33 0 0 0 .184-.084.41.41 0 0 0 .085-.465c-.029-.049-.09-.118-.24-.164a.75.75 0 0 1 .122-1.462c.163-.02.224-.083.253-.125a.4.4 0 0 0 .053-.268.4.4 0 0 0-.118-.246c-.039-.034-.111-.078-.272-.058a.75.75 0 0 1-.188-1.488c.158-.02.218-.081.248-.126.042-.06.07-.16.055-.277a.4.4 0 0 0-.114-.245c-.035-.03-.102-.073-.26-.051h-.001a.75.75 0 0 1-.267-1.475.4.4 0 0 0-.034-.165c-.083-.205-.408-.604-1.337-.604H9.224c-2.469 0-4.046 1.928-4.046 4.096 0 .719.123 1.236.327 1.688.211.467.523.898.96 1.442l.336.412Zm6.376 1.17a1 1 0 0 1-.104-.008h-2.279a.06.06 0 0 0-.054.087l1.129 2.734.022.061a1.79 1.79 0 0 1-1.123 2.232 1.785 1.785 0 0 1-2.175-.875l-.002-.004c-1.088-2.172-2.108-3.419-2.949-4.445l-.253-.31H3.201c-.465 0-.851-.214-1.14-.488-.285-.27-.507-.627-.678-1.01C1.042 7.764.851 6.756.851 5.68s.191-2.085.532-2.852c.17-.383.393-.74.678-1.01.289-.274.675-.488 1.14-.488h2.678C6.769.66 7.902.25 9.224.25h2.192c1.404 0 2.366.653 2.726 1.538.14.342.186.723.107 1.083l.053.045c.364.318.563.759.616 1.19.046.374-.012.78-.204 1.141.275.3.431.678.478 1.051a1.9 1.9 0 0 1-.396 1.425c.23.383.305.836.235 1.26-.134.806-.805 1.574-1.855 1.574Zm-8.655-7.73H3.203a.3.3 0 0 0-.11.077c-.098.093-.22.262-.34.53-.236.534-.402 1.326-.402 2.243 0 .918.166 1.71.403 2.244.119.267.241.437.34.53a.3.3 0 0 0 .109.076h1.124a5 5 0 0 1-.189-.377c-.3-.665-.46-1.396-.46-2.306A5.8 5.8 0 0 1 4.52 2.83Z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"thumbs-down-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),ye=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#thumbs-up-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M6.8 6.625c.85-1.035 1.965-2.398 3.13-4.723a.285.285 0 0 1 .345-.136l.004.001a.29.29 0 0 1 .186.341L9.351 4.806a1.56 1.56 0 0 0 1.442 2.157h2.39l.064-.003a.33.33 0 0 1 .184.084.41.41 0 0 1 .085.465c-.029.049-.09.118-.24.164a.75.75 0 0 0 .122 1.462c.163.02.224.083.253.125.04.057.067.153.053.267a.4.4 0 0 1-.118.247c-.039.034-.111.078-.272.058a.75.75 0 0 0-.188 1.488c.158.02.218.08.248.125.042.061.07.16.055.278a.4.4 0 0 1-.114.245c-.035.03-.103.073-.261.05a.75.75 0 0 0-.267 1.476.4.4 0 0 1-.034.165c-.083.205-.408.604-1.337.604H9.224c-2.469 0-4.046-1.928-4.046-4.096 0-.719.123-1.236.327-1.688.211-.467.523-.898.96-1.443l.336-.41Zm6.376-1.17a1 1 0 0 0-.104.008h-2.279c-.04 0-.073-.04-.054-.087l1.129-2.734A1.79 1.79 0 0 0 10.767.349a1.785 1.785 0 0 0-2.175.875l-.002.004C7.502 3.4 6.482 4.647 5.64 5.673l-.253.31H3.201c-.465 0-.851.214-1.14.488-.285.27-.507.627-.678 1.01-.341.767-.532 1.776-.532 2.852 0 1.077.191 2.085.532 2.853.17.383.393.739.678 1.01.289.274.675.487 1.14.487h2.678c.89.67 2.023 1.08 3.345 1.08h2.192c1.404 0 2.366-.653 2.726-1.538a1.84 1.84 0 0 0 .107-1.083l.053-.045a1.9 1.9 0 0 0 .616-1.19 1.93 1.93 0 0 0-.204-1.141c.275-.301.431-.678.478-1.051a1.9 1.9 0 0 0-.396-1.425c.23-.383.305-.836.235-1.26-.134-.806-.805-1.575-1.855-1.575m-8.655 7.728a5.8 5.8 0 0 1-.843-3.016c0-.91.16-1.64.46-2.306q.088-.194.19-.378H3.202a.3.3 0 0 0-.11.076c-.098.093-.22.263-.34.531-.236.534-.402 1.325-.402 2.243s.166 1.71.403 2.243c.119.268.241.438.34.531a.3.3 0 0 0 .109.076H4.52Z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"thumbs-up-icon_svg__a",children:r.jsx("path",{d:"M0 0h16v16H0z"})})})]}),be=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#trash-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.75c-.621 0-1.125.504-1.125 1.125v.375h2.25v-.375c0-.621-.504-1.125-1.125-1.125m0-1.5a2.625 2.625 0 0 1 2.625 2.625v.375H14.5a.75.75 0 0 1 0 1.5h-.75v8.583a2.417 2.417 0 0 1-2.417 2.417H4.667a2.417 2.417 0 0 1-2.417-2.417V4.75H1.5a.75.75 0 0 1 0-1.5h3.875v-.375A2.625 2.625 0 0 1 8 .25m-4.25 4.5v8.583c0 .507.41.917.917.917h6.666c.507 0 .917-.41.917-.917V4.75zm5.75 1.5a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V7a.75.75 0 0 1 .75-.75M7.25 7a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"trash-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),we=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5.55 3.2a.75.75 0 1 0-1.5 0v5.6a3.95 3.95 0 1 0 7.9 0V3.2a.75.75 0 0 0-1.5 0v5.6a2.45 2.45 0 0 1-4.9 0zM2.4 13.65a.75.75 0 0 0 0 1.5h11.2a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),xe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.864 2.136a.75.75 0 0 1 0 1.061L4.478 4.583h4.856a4.75 4.75 0 0 1 0 9.5H8a.75.75 0 0 1 0-1.5h1.334a3.25 3.25 0 0 0 0-6.5H4.478L5.864 7.47a.75.75 0 1 1-1.06 1.06L1.605 5.333l3.197-3.197a.75.75 0 0 1 1.061 0",clipRule:"evenodd"})]}),De=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.5 8.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75"}),r.jsx("path",{fillRule:"evenodd",d:"M10.75 4a1.75 1.75 0 1 1 3.5 0v1a.75.75 0 0 0 1.5 0V4a3.25 3.25 0 0 0-6.5 0v1.75H3.5A1.75 1.75 0 0 0 1.75 7.5v6c0 .966.784 1.75 1.75 1.75h8a1.75 1.75 0 0 0 1.75-1.75v-6a1.75 1.75 0 0 0-1.75-1.75h-.75zM3.5 7.25a.25.25 0 0 0-.25.25v6c0 .138.112.25.25.25h8a.25.25 0 0 0 .25-.25v-6a.25.25 0 0 0-.25-.25z",clipRule:"evenodd"})]}),Ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"m8 .039 2.53 2.53a.75.75 0 1 1-1.06 1.06l-.72-.719V5a.75.75 0 0 1-1.5 0V2.91l-.72.72a.75.75 0 0 1-1.06-1.06L8 .038Zm0 15.922-2.53-2.53a.75.75 0 1 1 1.06-1.06l.72.719V11a.75.75 0 0 1 1.5 0v2.09l.72-.72a.75.75 0 1 1 1.06 1.06zM8 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2"})]}),Ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.75 5a.75.75 0 0 0-1.5 0v2.25H5.5a.75.75 0 0 0 0 1.5h3.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0",clipRule:"evenodd"})]}),Se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m6.55 3.537-5.122 8.965A1.67 1.67 0 0 0 2.878 15h10.244a1.67 1.67 0 0 0 1.45-2.498L9.45 3.537c-.641-1.122-2.259-1.122-2.9 0M8 5.75a.75.75 0 0 1 .75.75v3a.75.75 0 1 1-1.5 0v-3a.75.75 0 0 1 .75-.75m0 7.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),_e=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.114 2.289.756 11.767C-.06 13.211.983 15 2.643 15h10.714c1.66 0 2.703-1.788 1.886-3.233L9.886 2.29C9.057.82 6.943.82 6.114 2.289m1.306.738-5.358 9.478a.667.667 0 0 0 .58.995h10.715c.51 0 .832-.55.58-.995L8.582 3.027a.667.667 0 0 0-1.161 0ZM8.75 6a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0zM9 11.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"})]}),Pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 16 16","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#x-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.48 2.52a.75.75 0 0 1 0 1.06L9.06 8l4.42 4.42a.75.75 0 0 1-1.06 1.06L8 9.06l-4.42 4.42a.75.75 0 1 1-1.06-1.06L6.94 8 2.52 3.58a.75.75 0 0 1 1.06-1.06L8 6.94l4.42-4.42a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"x-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]});t.Ov=o,t.LZ=i,t.fM=s,t.BN=d,t.QU=p,t.gq=h,t.KM=m,t.Tw=y,t.TI=b,t.rx=E,t.Rv=P,t.F3=M,t.nX=q,t.zs=Z,t.CP=te,t.zG=ne,t.XH=be,t.UE=xe,t.av=Se,t.b0=Pe},56479:(e,t,n)=>{"use strict";var r=n(85893),o=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#arrow-up-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m.53-15.03L10 4.44l-.53.53-3.5 3.5a.75.75 0 1 0 1.06 1.06l2.22-2.22v7.19a.75.75 0 0 0 1.5 0V7.31l2.22 2.22a.75.75 0 0 0 1.06-1.06z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"arrow-up-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),i=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 .25C4.615.25.25 4.615.25 10s4.365 9.75 9.75 9.75h5a.75.75 0 0 0 0-1.5h-5a8.25 8.25 0 0 1 0-16.5h1.365a6.885 6.885 0 0 1 6.885 6.885v3.115a2 2 0 1 1-4 0V5a.75.75 0 0 0-1.5 0v.896a4.5 4.5 0 0 0-7.5 3.354v1.5a4.5 4.5 0 0 0 8.009 2.818 3.5 3.5 0 0 0 6.491-1.818V8.635A8.385 8.385 0 0 0 11.365.25zm2.75 10.5v-1.5a3 3 0 1 0-6 0v1.5a3 3 0 1 0 6 0",clipRule:"evenodd"})]}),a=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m2.5-12.5a2.5 2.5 0 1 1-4.999.001A2.5 2.5 0 0 1 12.5 7.5M5 13.75c0-1.662 3.331-2.5 5-2.5s5 .838 5 2.5V15H5z",clipRule:"evenodd"})]}),s=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M4 15.74c0 .696.564 1.26 1.26 1.26h5.79c3.321 0 5.357-1.586 5.357-4.221 0-1.8-1.028-3.172-2.871-3.579 1.543-.579 2.293-1.693 2.293-3.321C15.829 3.543 14.093 2 11.22 2H5.26A1.26 1.26 0 0 0 4 3.26zm3.6-7.89V5h2.807c1.136 0 1.757.557 1.757 1.393 0 .921-.685 1.457-1.693 1.457zm0 6.15v-3.15h3.171c1.286 0 1.993.6 1.993 1.564 0 1.029-.793 1.586-1.928 1.586z"})]}),l=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#callout-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M4.75 5A3.25 3.25 0 0 1 8 1.75h7A3.25 3.25 0 0 1 18.25 5v3A3.25 3.25 0 0 1 15 11.25H8A3.25 3.25 0 0 1 4.75 8zM8 .25A4.75 4.75 0 0 0 3.25 5v3A4.75 4.75 0 0 0 8 12.75h7A4.75 4.75 0 0 0 19.75 8V5A4.75 4.75 0 0 0 15 .25zm1 3a.75.75 0 0 0 0 1.5h1.75V9a.75.75 0 0 0 1.5 0V4.75H14a.75.75 0 0 0 0-1.5zm1.75 12.635V14.25h1.5v2.25a.75.75 0 0 1-.603.735L2.92 18.98a1.5 1.5 0 1 1-.294-1.47l8.123-1.625Z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"callout-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),u=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.03 15.53a.75.75 0 0 0 0-1.06L8.56 10l4.47-4.47a.75.75 0 0 0-1.06-1.06l-5 5a.75.75 0 0 0 0 1.06l5 5a.75.75 0 0 0 1.06 0",clipRule:"evenodd"})]}),c=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.97 4.47a.75.75 0 0 0 0 1.06L11.44 10l-4.47 4.47a.75.75 0 1 0 1.06 1.06l5-5a.75.75 0 0 0 0-1.06l-5-5a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),d=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#check-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m4.53-11.97a.75.75 0 1 0-1.06-1.06L9 11.44 7.03 9.47a.75.75 0 1 0-1.06 1.06L9 13.56z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"check-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),p=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#check-filled-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m4.53-11.97a.75.75 0 1 0-1.06-1.06L9 11.44 7.03 9.47a.75.75 0 1 0-1.06 1.06L9 13.56z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"check-filled-icon_svg__a",children:r.jsx("path",{fill:"transparent",d:"M0 0h20v20H0z"})})})]}),h=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#checkmark-circle-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0m1.5 0c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-5.47-1.97a.75.75 0 1 0-1.06-1.06L9 11.44 7.03 9.47a.75.75 0 1 0-1.06 1.06L9 13.56z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"checkmark-circle-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),f=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"m16 6-8 8-4-4"})]}),m=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M17.53 13.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 1 1 1.06 1.06L14.06 10zM2.47 6.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L5.94 10z"})]}),g=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.667 2.25A2.417 2.417 0 0 0 1.25 4.667v8.666a2.417 2.417 0 0 0 2.417 2.417H5.25v2.75a.75.75 0 0 0 1.244.564l3.788-3.314h6.051a2.417 2.417 0 0 0 2.417-2.417V4.667a2.417 2.417 0 0 0-2.417-2.417zM2.75 4.667c0-.507.41-.917.917-.917h12.666c.507 0 .917.41.917.917v8.666c0 .507-.41.917-.917.917H10a.75.75 0 0 0-.494.186L6.75 16.847V15a.75.75 0 0 0-.75-.75H3.667a.917.917 0 0 1-.917-.917zM7 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2m7.667-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-4.333 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),v=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#copy-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M3.334.917A2.417 2.417 0 0 0 .917 3.333V12.5a2.417 2.417 0 0 0 2.417 2.417h1.749v1.75A2.417 2.417 0 0 0 7.5 19.083h9.166a2.417 2.417 0 0 0 2.417-2.416V7.5a2.417 2.417 0 0 0-2.417-2.417h-1.749v-1.75A2.417 2.417 0 0 0 12.5.917zm10.083 4.166v-1.75a.917.917 0 0 0-.917-.916H3.334a.917.917 0 0 0-.917.916V12.5c0 .506.41.917.917.917h1.749V7.5A2.417 2.417 0 0 1 7.5 5.083zm-6.834 9.115V7.5c0-.506.41-.917.917-.917h9.166c.507 0 .917.41.917.917v9.167c0 .506-.41.916-.917.916H7.5a.917.917 0 0 1-.917-.916z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"copy-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#cross-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10M7.53 6.47a.75.75 0 0 0-1.06 1.06L8.94 10l-2.47 2.47a.75.75 0 1 0 1.06 1.06L10 11.06l2.47 2.47a.75.75 0 0 0 1.06-1.06L11.06 10l2.47-2.47a.75.75 0 0 0-1.06-1.06L10 8.94z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"cross-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),b=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#cross-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.894 3.106a.75.75 0 0 1 0 1.06L11.061 10l5.833 5.834a.75.75 0 0 1-1.06 1.06L10 11.061l-5.834 5.833a.75.75 0 1 1-1.06-1.06L8.939 10 3.106 4.166a.75.75 0 0 1 1.06-1.06L10 8.939l5.834-5.833a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"cross-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),w=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#cut-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M5.263 13.281a2 2 0 1 1-3.464 2 2 2 0 0 1 3.464-2m1.6-.072A3.501 3.501 0 0 1 .5 16.031a3.5 3.5 0 0 1 5.609-4.118l2.364-1.353.13-.849a4.85 4.85 0 0 1 2.385-3.48l3.558-2.037a2.39 2.39 0 0 1 2.339-.02l2.897 1.59-10.25 5.918zm9.862-7.412L10.157 9.59a3.35 3.35 0 0 1 1.577-2.056l3.557-2.037a.89.89 0 0 1 .872-.008l.562.31Zm-9.862.994A3.501 3.501 0 0 0 .5 3.969a3.5 3.5 0 0 0 5.609 4.118l1.166.667c.135-.49.328-.96.572-1.4zm7.083 4.075 4.683 2.703 1.153.666-1.167.641-1.73.95a2.39 2.39 0 0 1-2.34-.02l-3.557-2.037a5 5 0 0 1-.909-.672l.198-.113.007-.004 1.183-.683q.128.09.267.17l3.557 2.037c.27.154.6.157.872.008l.562-.31-4.28-2.47 1.5-.866ZM5.263 6.719a2 2 0 1 0-3.464-2 2 2 0 0 0 3.464 2",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"cut-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),x=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 6.25a.75.75 0 0 1 .75.75v2.25h12.5V7a.75.75 0 0 1 1.5 0v6a.75.75 0 0 1-1.5 0v-2.25H3.75V13a.75.75 0 0 1-1.5 0V7A.75.75 0 0 1 3 6.25",clipRule:"evenodd"})]}),D=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10 1.75a.75.75 0 0 1 .75.75v10.69l2.053-2.054a.75.75 0 0 1 1.06 1.061L10 16.061l-3.864-3.864a.75.75 0 0 1 1.061-1.06l2.053 2.052V2.5a.75.75 0 0 1 .75-.75M2.5 13.417a.75.75 0 0 1 .75.75v2.5c0 .506.41.916.917.916h11.666c.507 0 .917-.41.917-.916v-2.5a.75.75 0 0 1 1.5 0v2.5a2.417 2.417 0 0 1-2.417 2.416H4.167a2.417 2.417 0 0 1-2.417-2.416v-2.5a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})]}),C=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("circle",{cx:15.417,cy:7.5,r:1.25,fill:"currentColor",transform:"rotate(90 15.417 7.5)"}),r.jsx("circle",{cx:10,cy:7.5,r:1.25,fill:"currentColor",transform:"rotate(90 10 7.5)"}),r.jsx("circle",{cx:4.583,cy:7.5,r:1.25,fill:"currentColor",transform:"rotate(90 4.583 7.5)"}),r.jsx("circle",{cx:15.417,cy:12.5,r:1.25,fill:"currentColor",transform:"rotate(90 15.417 12.5)"}),r.jsx("circle",{cx:10,cy:12.5,r:1.25,fill:"currentColor",transform:"rotate(90 10 12.5)"}),r.jsx("circle",{cx:4.583,cy:12.5,r:1.25,fill:"currentColor",transform:"rotate(90 4.583 12.5)"})]}),E=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#duplicate-icon_svg__a)",children:[r.jsx("path",{d:"M12.833 9.583a.75.75 0 0 0-1.5 0v1.75h-1.75a.75.75 0 0 0 0 1.5h1.75v1.75a.75.75 0 0 0 1.5 0v-1.75h1.75a.75.75 0 0 0 0-1.5h-1.75z"}),r.jsx("path",{fillRule:"evenodd",d:"M.917 3.333A2.417 2.417 0 0 1 3.334.917H12.5a2.417 2.417 0 0 1 2.417 2.416v1.75h1.75A2.417 2.417 0 0 1 19.082 7.5v9.167a2.417 2.417 0 0 1-2.417 2.416H7.5a2.417 2.417 0 0 1-2.417-2.416v-1.75h-1.75A2.417 2.417 0 0 1 .918 12.5V3.333Zm12.5 0v1.75H7.5A2.417 2.417 0 0 0 5.083 7.5v5.917h-1.75a.917.917 0 0 1-.916-.917V3.333c0-.506.41-.916.917-.916H12.5c.507 0 .917.41.917.916M6.584 14.167l-.001.031v2.469c0 .506.41.916.917.916h9.166c.507 0 .917-.41.917-.916V7.5a.917.917 0 0 0-.917-.917H7.5a.917.917 0 0 0-.917.917z",clipRule:"evenodd"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"duplicate-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),S=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.874 2.732a2.417 2.417 0 0 1 3.418 0l.976.976a2.417 2.417 0 0 1 0 3.417L6.608 17.787c-.297.297-.7.464-1.12.464H1.75v-3.738c0-.42.167-.823.464-1.12zm2.357 1.06a.917.917 0 0 0-1.296 0L12.727 5 15 7.273l1.208-1.208a.917.917 0 0 0 0-1.297zM13.94 8.333l-2.272-2.272-8.393 8.392a.08.08 0 0 0-.024.059v2.238h2.238a.08.08 0 0 0 .06-.024z",clipRule:"evenodd"})]}),_=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 16.834a6.833 6.833 0 1 0 0-13.667 6.833 6.833 0 0 0 0 13.667m0 1.5a8.333 8.333 0 1 0 0-16.667 8.333 8.333 0 0 0 0 16.667",clipRule:"evenodd"})]}),P=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#emoji-smile-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0m1.5 0c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10M6.697 11.722a.75.75 0 1 0-1.393.556C6.012 14.051 7.882 15.25 10 15.25s3.988-1.199 4.697-2.972a.75.75 0 1 0-1.393-.556c-.456 1.14-1.728 2.028-3.304 2.028s-2.848-.888-3.303-2.028M8.5 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M13 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"emoji-smile-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),k=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#error-alt-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m3.53-12.47a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"error-alt-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),A=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m3.53-12.47a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"})]}),z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#error-alternative-circle-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M18.5 10a8.5 8.5 0 0 1-13.957 6.517L16.517 4.543A8.47 8.47 0 0 1 18.5 10M3.483 15.457 15.457 3.483A8.5 8.5 0 0 0 3.483 15.457M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"error-alternative-circle-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),T=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#error-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-8.75 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M10.75 5a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"error-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),O=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#error-circle-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 18.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1.5c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m1.25-5.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M10.75 5a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"error-circle-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),I=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.53 13.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06L3.06 10zm6.94-6.94a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06L16.94 10z"})]}),F=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M15.833 14.583a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m0-4.166a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m-4.583 4.166a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m0-4.166a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m-4.583 4.166a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0"}),r.jsx("path",{fillRule:"evenodd",d:"M6.166.833a.75.75 0 0 0-1.5 0v1H3.333A3.167 3.167 0 0 0 .166 5v10.833A3.167 3.167 0 0 0 3.333 19h13.333a3.167 3.167 0 0 0 3.167-3.167V5a3.167 3.167 0 0 0-3.167-3.167h-1.333v-1a.75.75 0 0 0-1.5 0v1H6.166zm-1.5 2.5V5a.75.75 0 1 0 1.5 0V3.333h7.667V5a.75.75 0 0 0 1.5 0V3.333h1.333c.92 0 1.667.746 1.667 1.667v1.333H1.666V5c0-.92.746-1.667 1.667-1.667zm-3 12.5v-8h16.667v8c0 .92-.746 1.667-1.667 1.667H3.333c-.92 0-1.667-.746-1.667-1.667",clipRule:"evenodd"})]}),M=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5.989 15.833H1.667c-.92 0-1.667-.746-1.667-1.666V5.833c0-.92.746-1.666 1.667-1.666h16.666c.92 0 1.667.746 1.667 1.666v8.334c0 .92-.746 1.666-1.667 1.666H10.67c-.17.598-.358 1.16-.559 1.66-.246.614-.527 1.171-.844 1.59-.29.381-.751.834-1.389.834-.754 0-1.181-.59-1.392-1.025-.228-.472-.36-1.062-.43-1.627a9.5 9.5 0 0 1-.067-1.432M1.667 5.667h16.666c.092 0 .167.074.167.166v8.334a.167.167 0 0 1-.167.166h-7.285c.094-.426.178-.858.253-1.288.133-.77.236-1.55.298-2.289.374-.242.752-.458 1.123-.637q.045.117.105.266c.096.237.224.536.39.783.138.204.467.624 1.025.624.914 0 1.66-.522 2.175-1.205.516-.684.857-1.593.992-2.567a.75.75 0 0 0-1.486-.206c-.107.775-.372 1.43-.704 1.87-.267.354-.542.53-.794.587a4 4 0 0 1-.207-.448l-.08-.2a10 10 0 0 0-.194-.476 2 2 0 0 0-.2-.35c-.054-.072-.289-.38-.714-.38a.8.8 0 0 0-.27.05 10 10 0 0 0-1.098.51 11 11 0 0 0-.016-.402c-.037-.617-.13-1.207-.328-1.667-.194-.452-.596-.991-1.318-.991-.46 0-1.059.189-1.629.413a21 21 0 0 0-1.978.923c-1.355.712-2.782 1.604-3.557 2.29a.75.75 0 1 0 .994 1.123c.639-.565 1.94-1.391 3.26-2.085a19 19 0 0 1 1.83-.855c.473-.186.802-.276.984-.301l.036.075c.096.223.175.61.209 1.165.022.378.022.806 0 1.267-.423.307-.832.637-1.216.979-1.138 1.012-2.125 2.182-2.638 3.24a2 2 0 0 0-.076.182H1.667a.167.167 0 0 1-.167-.166V5.833c0-.092.075-.166.167-.166m7.438 10.166c-.122.397-.252.767-.386 1.101-.224.558-.446.977-.648 1.242a1.3 1.3 0 0 1-.165.188q-.03-.044-.07-.125c-.126-.262-.23-.67-.292-1.16a8 8 0 0 1-.054-1.246zm.404-1.5H7.908c.448-.717 1.16-1.535 2.022-2.301l.015-.014a27 27 0 0 1-.436 2.315m.359-6.963q0-.002.008.01zM7.97 18.44q0 .003-.01-.007.01.006.01.008Zm6.536-8.054-.013-.013z",clipRule:"evenodd"})]}),R=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#form-text-field-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M7.5.917a.75.75 0 0 0 0 1.5c.966 0 1.75.783 1.75 1.75H1.667C.747 4.167 0 4.913 0 5.833v8.334c0 .92.746 1.666 1.667 1.666H9.25a1.75 1.75 0 0 1-1.75 1.75.75.75 0 0 0 0 1.5A3.24 3.24 0 0 0 10 17.91a3.24 3.24 0 0 0 2.5 1.173.75.75 0 0 0 0-1.5 1.75 1.75 0 0 1-1.75-1.748v-.002h7.583c.92 0 1.667-.746 1.667-1.666V5.833c0-.92-.746-1.666-1.667-1.666H10.75c0-.967.784-1.75 1.75-1.75a.75.75 0 0 0 0-1.5A3.24 3.24 0 0 0 10 2.09 3.24 3.24 0 0 0 7.5.917m1.75 4.75H1.667a.167.167 0 0 0-.167.166v8.334c0 .092.075.166.167.166H9.25v-3.708h-1a.75.75 0 0 1 0-1.5h1zm1.5 8.666v-3.708h1a.75.75 0 0 0 0-1.5h-1V5.667h7.583c.092 0 .167.074.167.166v8.334a.167.167 0 0 1-.167.166z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"form-text-field-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),j=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 0a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3zm2 3.25a.75.75 0 0 0 0 1.5h4.25V15a.75.75 0 0 0 1.5 0V4.75H15a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),B=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9.545 1.403a.75.75 0 0 1 .91 0l7 5.334a.75.75 0 0 1 .295.596V18a.75.75 0 0 1-.75.75H3a.75.75 0 0 1-.75-.75V7.333a.75.75 0 0 1 .295-.596zm6.705 6.302L10 2.943 3.75 7.705v9.545h3.5V14a2.75 2.75 0 1 1 5.5 0v3.25h3.5zm-5 9.545V14a1.25 1.25 0 1 0-2.5 0v3.25z",clipRule:"evenodd"})]}),N=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#image-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M18.333 3.5H1.667a.167.167 0 0 0-.167.167v9.776l2.922-2.912a.75.75 0 0 1 1.059 0l2.104 2.098 5.178-5.16a.75.75 0 0 1 1.06 0L18.5 12.13V3.667a.167.167 0 0 0-.167-.167M-.06 14.998l.061-.06V3.667A1.666 1.666 0 0 1 1.667 2h16.666C19.253 2 20 2.746 20 3.667v9.958l.06.06-.06.062v2.586c0 .92-.746 1.667-1.667 1.667H1.667C.747 18 0 17.254 0 16.333V15.06L-.06 15Zm18.56 1.335v-2.085l-5.207-5.19-5.178 5.16a.75.75 0 0 1-1.059 0l-2.105-2.097-3.451 3.44v.772c0 .092.075.167.167.167h16.666a.167.167 0 0 0 .167-.167M5.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"image-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),L=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#info-circle-filled-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-8.75-4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M8.5 8.25a.75.75 0 0 0 0 1.5h.75v4.5H8.5a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-6z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"info-circle-filled-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),K=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#info-circle-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 18.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1.5c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10m1.25-14.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M8.5 8.25a.75.75 0 0 0 0 1.5h.75v4.5H8.5a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-6z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"info-circle-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),V=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#info-filled-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-8.75-4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M8.5 8.25a.75.75 0 0 0 0 1.5h.75v4.5H8.5a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-6z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"info-filled-icon_svg__a",children:r.jsx("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7.75 4a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-1.901l-2.16 9.5H11a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5h1.901l2.16-9.5H8.5A.75.75 0 0 1 7.75 4",clipRule:"evenodd"})]}),H=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"m17.026 8.54-1.944 1.945a.75.75 0 0 1-1.06-1.06l1.944-1.945a1.75 1.75 0 0 0 0-2.475l-.707-.707a1.75 1.75 0 0 0-2.475 0L9.248 7.834a1.75 1.75 0 0 0 0 2.475l.354.353a.75.75 0 1 1-1.06 1.06l-.354-.353a3.25 3.25 0 0 1 0-4.596l3.535-3.536a3.25 3.25 0 0 1 4.596 0l.707.708a3.25 3.25 0 0 1 0 4.596ZM5.065 9.897a.75.75 0 1 1 1.06 1.06L4.3 12.784a1.75 1.75 0 0 0 0 2.475l.707.707a1.75 1.75 0 0 0 2.475 0l3.535-3.535a1.75 1.75 0 0 0 0-2.475l-.354-.354a.75.75 0 1 1 1.061-1.06l.354.353a3.25 3.25 0 0 1 0 4.596L8.54 17.026a3.25 3.25 0 0 1-4.596 0l-.707-.707a3.25 3.25 0 0 1 0-4.596l1.827-1.827Z",clipRule:"evenodd"})]}),Z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.75 5.417a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m4.167-2a.75.75 0 1 0 0 1.5h9.167a.75.75 0 0 0 0-1.5zm0 5.833a.75.75 0 0 0 0 1.5h9.167a.75.75 0 0 0 0-1.5zm-.75 6.583a.75.75 0 0 1 .75-.75h9.167a.75.75 0 0 1 0 1.5H7.917a.75.75 0 0 1-.75-.75M5 10a1.25 1.25 0 1 1-2.5 0A1.25 1.25 0 0 1 5 10m-1.25 7.083a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})]}),U=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.75 5a3.25 3.25 0 1 1 6.5 0v2.5h-6.5zm-1.5 2.5V5a4.75 4.75 0 0 1 9.5 0v2.5H15a3.5 3.5 0 0 1 3.5 3.5v5a3.5 3.5 0 0 1-3.5 3.5H5A3.5 3.5 0 0 1 1.5 16v-5A3.5 3.5 0 0 1 5 7.5zM5 9a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2zm6.5 3.5a1.5 1.5 0 0 1-.75 1.3V15a.75.75 0 0 1-1.5 0v-1.2a1.5 1.5 0 1 1 2.25-1.3",clipRule:"evenodd"})]}),$=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.667 1.833a.833.833 0 1 1-1.667 0 .833.833 0 0 1 1.667 0m3.673.251c.109-.763 1.21-.763 1.32 0l.657 4.6 4.599.656c.763.109.763 1.21 0 1.32l-4.6.657-.656 4.599c-.11.763-1.211.763-1.32 0l-.657-4.6-4.599-.656c-.763-.11-.763-1.21 0-1.32l4.599-.657zM2.832 14.142c.11-.773 1.226-.773 1.336 0l.212 1.479 1.478.21c.773.111.773 1.227 0 1.337l-1.478.211-.212 1.479c-.11.773-1.226.773-1.336 0l-.211-1.479-1.479-.21c-.773-.111-.773-1.227 0-1.337l1.479-.212zm-.999-3.475a.833.833 0 1 0 0-1.667.833.833 0 0 0 0 1.667m12.667 8.5a.833.833 0 1 0 0-1.667.833.833 0 0 0 0 1.667"})]}),G=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.25 10A.75.75 0 0 1 4 9.25h12a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),W=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#monkey-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10 .25C4.615.25.25 4.615.25 10s4.365 9.75 9.75 9.75h5a.75.75 0 0 0 0-1.5h-5a8.25 8.25 0 0 1 0-16.5h1.365a6.885 6.885 0 0 1 6.885 6.885v3.115a2 2 0 1 1-4 0V5a.75.75 0 0 0-1.5 0v.896a4.5 4.5 0 0 0-7.5 3.354v1.5a4.5 4.5 0 0 0 8.009 2.818 3.5 3.5 0 0 0 6.491-1.818V8.635A8.385 8.385 0 0 0 11.365.25zm2.75 10.5v-1.5a3 3 0 1 0-6 0v1.5a3 3 0 1 0 6 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"monkey-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),X=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.5 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m5 1.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m6.5 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0",clipRule:"evenodd"})]}),Y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M10 8.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"})]}),Q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.637 2.803a.75.75 0 1 1 1.06 1.061l-1.22 1.22H5a5.75 5.75 0 0 1 5 2.908 5.75 5.75 0 0 1 5-2.908h1.523l-1.22-1.22a.75.75 0 1 1 1.061-1.06l3.03 3.03-3.03 3.03a.75.75 0 0 1-1.06-1.06l1.22-1.22H15a4.25 4.25 0 0 0-4.25 4.25V17.5a.75.75 0 0 1-1.5 0v-6.666A4.25 4.25 0 0 0 5 6.584H3.478l1.22 1.22a.75.75 0 1 1-1.061 1.06l-3.03-3.03z",clipRule:"evenodd"})]}),J=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#paste-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M14.5 14.5h4v-13h-10v1H7V1a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4.5zm-3 4h-10v-13H8V8a1 1 0 0 0 1 1h2.5zM0 19V5a1 1 0 0 1 1-1h7.586a1 1 0 0 1 .707.293l3.414 3.414a1 1 0 0 1 .293.707V19a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1M11.5 2.75a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"paste-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"m16.256 9.773-1.179 1.179a.833.833 0 0 1-1.178 0l-.59-.59L6.42 17.25a3.2 3.2 0 0 1-1.785.9l-.203.032a2.58 2.58 0 0 0-1.437.725L1.23 17.139c.389-.389.643-.892.725-1.436l.03-.204a3.2 3.2 0 0 1 .902-1.785l6.887-6.887-.589-.59a.833.833 0 0 1 0-1.178l1.179-1.178a.833.833 0 0 1 1.178 0 .833.833 0 0 0 1.179 0l1.768-1.768a2.5 2.5 0 1 1 3.535 3.536l-1.767 1.767a.833.833 0 0 0 0 1.179.833.833 0 0 1 0 1.178Zm-1.061-3.417a2.33 2.33 0 0 0-.403 2.76l-.304.304-3.771-3.771.304-.305a2.33 2.33 0 0 0 2.76-.403l1.767-1.767a1 1 0 0 1 1.415 1.414zM4.209 16.698c-.35.053-.69.15-1.01.29l-.052-.051q.21-.483.29-1.01l.03-.204a1.7 1.7 0 0 1 .48-.948l6.879-6.88L12.24 9.31l-6.88 6.88a1.7 1.7 0 0 1-.948.479l-.203.03Z",clipRule:"evenodd"})]}),te=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.25 16a.75.75 0 0 0 1.5 0v-5.25H16a.75.75 0 0 0 0-1.5h-5.25V4a.75.75 0 0 0-1.5 0v5.25H4a.75.75 0 0 0 0 1.5h5.25z",clipRule:"evenodd"})]}),ne=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.25 2.917c0-.875.709-1.584 1.583-1.584h8.334c.874 0 1.583.71 1.583 1.584V4.25h1.75a2.417 2.417 0 0 1 2.416 2.417v6.666A2.417 2.417 0 0 1 17.5 15.75h-1.75v2.583c0 .875-.709 1.584-1.583 1.584H5.833a1.583 1.583 0 0 1-1.583-1.584V15.75H2.5a2.417 2.417 0 0 1-2.417-2.417V6.667A2.417 2.417 0 0 1 2.5 4.25h1.75zM15 5.75H2.5a.917.917 0 0 0-.917.917v6.666c0 .507.41.917.917.917h1.75v-3.417c0-.874.709-1.583 1.583-1.583h8.334c.874 0 1.583.709 1.583 1.583v3.417h1.75c.506 0 .916-.41.916-.917V6.667a.917.917 0 0 0-.916-.917zm-.75-2.833V4.25h-8.5V2.917c0-.046.037-.084.083-.084h8.334c.046 0 .083.038.083.084m0 7.916v7.5a.083.083 0 0 1-.083.084H5.833a.083.083 0 0 1-.083-.084v-7.5c0-.046.037-.083.083-.083h8.334c.046 0 .083.037.083.083m-.5-2.5a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666m-5.417 4.25a.75.75 0 0 0 0 1.5h3.333a.75.75 0 1 0 0-1.5zm0 2.5a.75.75 0 0 0 0 1.5h3.333a.75.75 0 1 0 0-1.5z",clipRule:"evenodd"})]}),re=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9.09 2.231a.75.75 0 1 1 .987-1.129l3.979 3.481-3.979 3.481a.75.75 0 0 1-.987-1.128l1.948-1.705a5.083 5.083 0 1 0 4.046 4.978.75.75 0 1 1 1.5 0 6.583 6.583 0 1 1-5.856-6.544z",clipRule:"evenodd"})]}),oe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.78 8.5a5.72 5.72 0 1 1 11.44 0 5.72 5.72 0 0 1-11.44 0M8.5 1.22a7.28 7.28 0 1 0 4.59 12.93l3.88 3.88a.75.75 0 0 0 1.06-1.06l-3.88-3.88A7.28 7.28 0 0 0 8.5 1.22",clipRule:"evenodd"})]}),ie=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{fillRule:"evenodd",clipPath:"url(#settings-icon_svg__a)",clipRule:"evenodd",children:[r.jsx("path",{d:"M13.334 10a3.333 3.333 0 1 1-6.667 0 3.333 3.333 0 0 1 6.667 0m-1.5 0a1.833 1.833 0 1 1-3.667 0 1.833 1.833 0 0 1 3.667 0"}),r.jsx("path",{d:"M9.433.917c-.755 0-1.405.532-1.553 1.273l-.334 1.67s-.001.007-.011.018a.2.2 0 0 1-.057.04.14.14 0 0 1-.064.011.04.04 0 0 1-.021-.005l-1.418-.945a1.58 1.58 0 0 0-1.998.197l-.801.802a1.58 1.58 0 0 0-.198 1.998l.945 1.417a.04.04 0 0 1 .005.022.14.14 0 0 1-.012.064.2.2 0 0 1-.038.056q-.018.013-.019.012l-1.67.334A1.58 1.58 0 0 0 .916 9.433v1.134c0 .755.533 1.405 1.273 1.553l1.67.334s.007 0 .018.01a.16.16 0 0 1 .052.122.04.04 0 0 1-.006.021l-.945 1.417a1.58 1.58 0 0 0 .198 1.998l.802.802c.533.533 1.37.616 1.997.198l1.418-.945q.002-.004.021-.006a.14.14 0 0 1 .064.012.2.2 0 0 1 .057.039c.01.012.01.018.01.018l.335 1.67c.148.74.798 1.273 1.553 1.273h1.133c.755 0 1.405-.532 1.553-1.272l.334-1.67s0-.007.011-.02a.2.2 0 0 1 .057-.038.15.15 0 0 1 .064-.012q.02.002.021.006l1.418.945a1.58 1.58 0 0 0 1.998-.198l.801-.802c.534-.533.617-1.37.198-1.998l-.945-1.417a.04.04 0 0 1-.006-.022.14.14 0 0 1 .012-.063.2.2 0 0 1 .04-.057q.016-.013.018-.011l1.67-.335a1.58 1.58 0 0 0 1.273-1.552V9.433c0-.754-.533-1.404-1.273-1.552l-1.67-.334s-.007-.001-.019-.012a.2.2 0 0 1-.039-.056.14.14 0 0 1-.012-.064q.003-.02.006-.021l.945-1.418a1.58 1.58 0 0 0-.198-1.998l-.801-.802a1.58 1.58 0 0 0-1.998-.197l-1.418.945a.04.04 0 0 1-.021.005.14.14 0 0 1-.064-.012.2.2 0 0 1-.057-.039q-.013-.017-.011-.018l-.334-1.67A1.58 1.58 0 0 0 10.566.917zM9.35 2.484a.08.08 0 0 1 .082-.067h1.133c.04 0 .074.028.082.067l.334 1.67c.11.552.506.959.964 1.149a1.59 1.59 0 0 0 1.492-.131l1.418-.945a.08.08 0 0 1 .105.01l.802.802a.08.08 0 0 1 .01.105l-.945 1.418a1.59 1.59 0 0 0-.131 1.492c.19.457.596.853 1.148.963l1.67.335a.08.08 0 0 1 .068.081v1.134c0 .04-.028.074-.067.082l-1.67.334c-.553.11-.96.506-1.15.964a1.59 1.59 0 0 0 .132 1.492l.945 1.417a.08.08 0 0 1-.01.105l-.802.802a.084.084 0 0 1-.105.01l-1.418-.944a1.59 1.59 0 0 0-1.492-.131c-.458.19-.854.596-.964 1.148l-.334 1.67a.08.08 0 0 1-.082.067H9.433a.08.08 0 0 1-.082-.067l-.334-1.67a1.6 1.6 0 0 0-.964-1.148 1.59 1.59 0 0 0-1.492.13l-1.418.946a.08.08 0 0 1-.105-.01l-.801-.803a.08.08 0 0 1-.01-.105l.944-1.417c.31-.466.322-1.03.13-1.492a1.6 1.6 0 0 0-1.148-.964l-1.67-.334a.08.08 0 0 1-.067-.082V9.433c0-.04.028-.074.067-.081l1.67-.335c.553-.11.959-.506 1.149-.964a1.59 1.59 0 0 0-.131-1.492l-.945-1.417a.08.08 0 0 1 .01-.105l.802-.802a.08.08 0 0 1 .105-.01l1.417.945c.467.31 1.031.322 1.493.13.457-.19.853-.596.964-1.148z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"settings-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),ae=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.417 7.5a5.083 5.083 0 0 1 10.112-.75H8.333c-.874 0-1.583.709-1.583 1.583v4.195A5.084 5.084 0 0 1 2.417 7.5m4.333 6.541a6.584 6.584 0 1 1 7.291-7.29H17.5c.875 0 1.583.708 1.583 1.582V17.5c0 .875-.709 1.583-1.583 1.583H8.333A1.583 1.583 0 0 1 6.75 17.5zm1.5-5.708c0-.046.037-.083.083-.083H17.5c.046 0 .083.037.083.083V17.5a.083.083 0 0 1-.083.083H8.333a.083.083 0 0 1-.083-.083z",clipRule:"evenodd"})]}),se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15.417 6.5a2.75 2.75 0 1 0-2.667-2.077L6.5 8.028a2.75 2.75 0 1 0 0 3.943l6.25 3.606A2.752 2.752 0 0 0 15.417 19a2.75 2.75 0 1 0-1.917-4.722l-6.25-3.605a2.76 2.76 0 0 0 0-1.346l6.25-3.605a2.74 2.74 0 0 0 1.917.778M4.583 8.75c.306 0 .586.11.803.292l.428.742a1.3 1.3 0 0 1 0 .432l-.428.742a1.25 1.25 0 1 1-.803-2.208m12.084-5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m0 12.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0",clipRule:"evenodd"})]}),le=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9.07 2.813c1.006-.966 2.68-.253 2.68 1.142v12.09c0 1.395-1.674 2.108-2.68 1.142l-4.598-4.414a.08.08 0 0 0-.057-.023H1.833A1.583 1.583 0 0 1 .25 11.167V8.433c0-.874.709-1.583 1.583-1.583h2.998a.08.08 0 0 0 .058-.023zm1.08 1.058c-.007.001-.02.004-.041.024L5.928 7.909a1.58 1.58 0 0 1-1.097.441H1.833a.083.083 0 0 0-.083.083v2.734c0 .046.037.083.083.083h2.582c.408 0 .801.158 1.096.441l4.598 4.414c.02.02.034.023.042.024q.018.003.048-.008a.1.1 0 0 0 .04-.03c.004-.006.011-.018.011-.046V3.955c0-.028-.007-.04-.011-.047a.1.1 0 0 0-.04-.03.1.1 0 0 0-.048-.007Z",clipRule:"evenodd"}),r.jsx("path",{d:"M13.005 6.005a.75.75 0 0 1 1.06 0 5.995 5.995 0 0 1 0 8.478.75.75 0 0 1-1.06-1.06 4.495 4.495 0 0 0 0-6.358.75.75 0 0 1 0-1.06"}),r.jsx("path",{d:"M16.834 4.47a.75.75 0 1 0-1.06 1.06 6.75 6.75 0 0 1 0 9.546.75.75 0 1 0 1.06 1.06 8.25 8.25 0 0 0 0-11.666"})]}),ue=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10 .25A3.75 3.75 0 0 0 6.25 4v6a3.75 3.75 0 1 0 7.5 0V4A3.75 3.75 0 0 0 10 .25M7.75 4a2.25 2.25 0 0 1 4.5 0v6a2.25 2.25 0 0 1-4.5 0zm-3 3a.75.75 0 0 0-1.5 0v3a6.75 6.75 0 0 0 6 6.709v1.541H7a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5h-2.25v-1.541a6.75 6.75 0 0 0 6-6.709V7a.75.75 0 0 0-1.5 0v3a5.25 5.25 0 1 1-10.5 0z",clipRule:"evenodd"})]}),ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 .5a.75.75 0 0 1 .693.462l2.249 5.406 5.836.468a.75.75 0 0 1 .428 1.318l-4.447 3.809 1.359 5.696a.75.75 0 0 1-1.12.814L10 15.42l-4.997 3.052a.75.75 0 0 1-1.12-.814l1.358-5.696-4.447-3.81a.75.75 0 0 1 .428-1.317l5.837-.468L9.308.962A.75.75 0 0 1 10 .5m0 2.703L8.268 7.367a.75.75 0 0 1-.632.46l-4.496.36 3.425 2.935a.75.75 0 0 1 .242.743L5.76 16.253l3.85-2.351a.75.75 0 0 1 .781 0l3.85 2.35-1.047-4.387a.75.75 0 0 1 .241-.743l3.426-2.934-4.496-.36a.75.75 0 0 1-.633-.46z",clipRule:"evenodd"})]}),de=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M14.842 15.206c.6-.6.621-1.559.063-2.183l3.232-3.232c.95-.95.95-2.49 0-3.44L12.255.47a.75.75 0 0 0-1.25.32v.002l-.003.006-.008.03a15 15 0 0 1-.194.582c-.14.394-.351.947-.634 1.57-.48 1.06-1.15 2.287-2.004 3.303a1.59 1.59 0 0 0-2.158.084l-.932.932a1.59 1.59 0 0 0 0 2.25l1.767 1.768a.09.09 0 0 1-.015.14L2.893 13.96a3.156 3.156 0 1 0 4.357 4.358l2.502-3.93a.09.09 0 0 1 .14-.016l1.769 1.767a1.59 1.59 0 0 0 2.25 0l.931-.932ZM7.66 7.894l-.01-.01-.456-.456a.09.09 0 0 0-.129 0l-.932.932a.09.09 0 0 0 0 .129L7.9 10.256a1.59 1.59 0 0 1-.271 2.467l-3.931 2.502a1.656 1.656 0 1 0 2.287 2.287l2.501-3.931a1.59 1.59 0 0 1 2.468-.27l1.767 1.767a.09.09 0 0 0 .129 0l.932-.932a.09.09 0 0 0 0-.129l-.456-.455-.01-.01zM11.532 3.6c-.519 1.144-1.28 2.555-2.303 3.743l4.617 4.617 3.23-3.23a.93.93 0 0 0 0-1.318l-.402-.402-1.945 1.945a.75.75 0 1 1-1.06-1.06c.732-.733 1.025-1.48 1.14-2.03a3 3 0 0 0 .072-.648l-2.84-2.84c-.135.355-.304.771-.51 1.223ZM5.183 16.026a.75.75 0 1 0-1.06 1.06.75.75 0 0 0 1.06-1.06",clipRule:"evenodd"})]}),pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.75 3.75A.75.75 0 0 1 2.5 3h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m2.5 4.167a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75m-2.5 4.166a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m2.5 4.167A.75.75 0 0 1 5 15.5h10a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),he=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.75 3.75A.75.75 0 0 1 2.5 3h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m0 4.167a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m0 4.166a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m0 4.167a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),fe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M2.5 3a.75.75 0 0 0 0 1.5h15a.75.75 0 0 0 0-1.5zm0 4.167a.75.75 0 1 0 0 1.5h10a.75.75 0 0 0 0-1.5zm-.75 4.916a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75M2.5 15.5a.75.75 0 0 0 0 1.5h10a.75.75 0 0 0 0-1.5z"})]}),me=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.75 3.75A.75.75 0 0 1 2.5 3h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m5 4.167a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75m-5 4.166a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m5 4.167a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),ge=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.25 4A.75.75 0 0 1 5 3.25h10a.75.75 0 0 1 0 1.5h-4.25V15a.75.75 0 0 1-1.5 0V4.75H5A.75.75 0 0 1 4.25 4",clipRule:"evenodd"})]}),ve=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.167 3.417a.75.75 0 0 0-.75.75v4.166c0 .415.336.75.75.75h4.167a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75zm.75 4.166V4.917h2.667v2.666zm-.75 3.334a.75.75 0 0 0-.75.75v4.166c0 .414.336.75.75.75h4.167a.75.75 0 0 0 .75-.75v-4.166a.75.75 0 0 0-.75-.75zm.75 4.166v-2.666h2.667v2.666zm6-3.416a.75.75 0 0 1 .75-.75h4.167a.75.75 0 0 1 .75.75v4.166a.75.75 0 0 1-.75.75h-4.167a.75.75 0 0 1-.75-.75zm1.5.75v2.666h2.667v-2.666zm-.75-9a.75.75 0 0 0-.75.75v4.166c0 .415.336.75.75.75h4.167a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75zm.75 4.166V4.917h2.667v2.666z",clipRule:"evenodd"})]}),ye=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.75.98h2.74l-.02.01c2.22 0 3.32 1.29 3.4 2.49.02.24-.01.46-.07.67.15.11.3.25.42.41.48.62.59 1.49.29 2.22q-.06.165-.15.3c.08.07.15.15.22.24.47.62.58 1.48.28 2.2q-.15.345-.39.6c.3.42.43.95.35 1.52a2.123 2.123 0 0 1-2.14 1.85H13.7c-.13 0-.19.07-.22.11l-.003.005a.28.28 0 0 0-.017.245l1.43 3.48c.34 1.06-.24 2.21-1.28 2.56-.96.33-2.03-.1-2.48-1.01-1.37-2.73-2.67-4.32-3.71-5.59q-.227-.277-.44-.54H4c-.52 0-.959-.24-1.296-.559-.333-.316-.598-.738-.804-1.202-.414-.93-.65-2.164-.65-3.49 0-1.325.236-2.559.65-3.49.206-.463.472-.885.804-1.201.337-.32.777-.559 1.296-.559h3.5q.1.001.193.026C8.806 1.455 10.2.979 11.75.979Zm-5.5 2.77c-.787 1.115-1.24 2.503-1.24 4.04 0 1.477.339 2.515.897 3.46H4c-.034 0-.121-.013-.263-.147-.146-.139-.311-.374-.467-.723-.31-.697-.52-1.713-.52-2.88 0-1.168.21-2.184.52-2.88.156-.35.321-.586.467-.724.142-.134.23-.147.263-.147h2.25Zm6.68 14.75a.54.54 0 0 1-.47-.29c-1.44-2.88-2.8-4.54-3.89-5.87C7.23 10.71 6.5 9.81 6.5 7.79c0-2.57 1.84-5.31 5.24-5.31h2.74c1.34 0 1.87.66 1.9 1.1 0 .08 0 .21-.09.22-.41.06-.7.44-.64.85s.44.7.85.64q.36-.045.54.18c.15.19.19.5.09.73-.08.2-.24.3-.5.34-.38.05-.66.37-.66.74v.1c.05.41.42.71.84.65.25-.03.44.03.56.2.15.19.18.49.09.71-.08.19-.24.3-.5.33-.35.04-.62.33-.65.68s.19.68.53.78c.5.15.5.54.48.69-.04.26-.23.57-.65.57h-2.98c-.59 0-1.14.28-1.47.77s-.39 1.11-.16 1.66l1.41 3.42c.07.22-.09.53-.37.63a.6.6 0 0 1-.17.03",clipRule:"evenodd"})]}),be=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#thumbs-up-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M11.75 19.02h2.74l-.02-.01c2.22 0 3.32-1.29 3.4-2.49.02-.24-.01-.46-.07-.67.15-.11.3-.25.42-.41.48-.62.59-1.49.29-2.22q-.06-.165-.15-.3c.08-.07.15-.15.22-.24.47-.62.58-1.48.28-2.2q-.15-.345-.39-.6c.3-.42.43-.95.35-1.52a2.123 2.123 0 0 0-2.14-1.85H13.7c-.13 0-.19-.07-.22-.11l-.003-.005c-.021-.042-.065-.13-.017-.245l1.43-3.48c.34-1.06-.24-2.21-1.28-2.56-.96-.33-2.03.1-2.48 1.01-1.37 2.73-2.67 4.32-3.71 5.59q-.227.277-.44.54H4c-.52 0-.959.239-1.296.559-.333.315-.598.737-.804 1.201-.414.93-.65 2.164-.65 3.49s.236 2.56.65 3.49c.206.464.472.886.804 1.202.337.32.777.558 1.296.558h3.5a.8.8 0 0 0 .193-.025c1.113.82 2.507 1.295 4.057 1.295m-5.5-2.77c-.787-1.116-1.24-2.503-1.24-4.04 0-1.478.339-2.516.897-3.46H4c-.034 0-.121.012-.263.147-.146.138-.311.374-.467.723-.31.696-.52 1.713-.52 2.88s.21 2.184.52 2.88c.156.35.321.585.467.723.142.135.23.147.263.147zM12.93 1.5a.54.54 0 0 0-.47.29c-1.44 2.88-2.8 4.54-3.89 5.87-1.34 1.63-2.07 2.53-2.07 4.55 0 2.57 1.84 5.31 5.24 5.31h2.74c1.34 0 1.87-.66 1.9-1.1 0-.08 0-.21-.09-.22a.754.754 0 0 1-.64-.85c.06-.41.44-.7.85-.64q.36.045.54-.18c.15-.19.19-.5.09-.73-.08-.2-.24-.3-.5-.34a.75.75 0 0 1-.66-.74v-.1a.74.74 0 0 1 .84-.65c.25.03.44-.03.56-.2.15-.19.18-.49.09-.71-.08-.19-.24-.3-.5-.33a.746.746 0 0 1-.65-.68c-.03-.35.19-.68.53-.78.5-.15.5-.54.48-.69-.04-.26-.23-.57-.65-.57h-2.98c-.59 0-1.14-.28-1.47-.77s-.39-1.11-.16-1.66l1.41-3.42c.07-.22-.09-.53-.37-.63a.6.6 0 0 0-.17-.03",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"thumbs-up-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),we=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.25 3.5a1.75 1.75 0 1 1 3.5 0v.25h-3.5zm5 0a3.25 3.25 0 0 0-6.5 0v.25H2a.75.75 0 0 0 0 1.5h1.25v12.083a2.417 2.417 0 0 0 2.417 2.417h8.666a2.417 2.417 0 0 0 2.417-2.417V5.25H18a.75.75 0 0 0 0-1.5h-4.75zm-8.5 13.833V5.25h10.5v12.083c0 .507-.41.917-.917.917H5.667a.917.917 0 0 1-.917-.917m6-9.333a.75.75 0 0 0-1.5 0v7a.75.75 0 0 0 1.5 0zM7 7.25a.75.75 0 0 1 .75.75v7a.75.75 0 0 1-1.5 0V8A.75.75 0 0 1 7 7.25m6.75.75a.75.75 0 0 0-1.5 0v7a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})]}),xe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.75 4a.75.75 0 0 0-1.5 0v7a4.75 4.75 0 1 0 9.5 0V4a.75.75 0 0 0-1.5 0v7a3.25 3.25 0 0 1-6.5 0zM3 17.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),De=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.75 13a.75.75 0 0 1-1.5 0V4.844L7.537 6.6a.75.75 0 1 1-1.074-1.048L10 1.926l3.537 3.627a.75.75 0 1 1-1.074 1.048L10.75 4.844zm-8 0a.75.75 0 0 0-1.5 0v3c0 .966.784 1.75 1.75 1.75h14A1.75 1.75 0 0 0 18.75 16v-3a.75.75 0 0 0-1.5 0v3a.25.25 0 0 1-.25.25H3a.25.25 0 0 1-.25-.25z",clipRule:"evenodd"})]}),Ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.527 14.966 11.999 2.419l-.932.559.932-.559c-.906-1.51-3.095-1.51-4.002 0L.47 14.966c-.933 1.555.187 3.534 2 3.534h15.057c1.814 0 2.934-1.979 2-3.534M9.998 6.25a.75.75 0 0 1 .75.75v4a.75.75 0 1 1-1.5 0V7a.75.75 0 0 1 .75-.75m0 9.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})]}),Ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"m12.001 2.42 7.528 12.546c.933 1.555-.187 3.534-2.001 3.534H2.472C.658 18.5-.462 16.521.47 14.966L7.999 2.42c.907-1.51 3.096-1.51 4.002 0l-1.276.766zM1.757 15.737 9.286 3.19a.833.833 0 0 1 1.429 0l7.528 12.547A.833.833 0 0 1 17.528 17H2.472a.833.833 0 0 1-.715-1.262ZM10 6.25a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V7a.75.75 0 0 1 .75-.75m-1.25 8a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0",clipRule:"evenodd"})]}),Se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10M7.53 6.47a.75.75 0 0 0-1.06 1.06L8.94 10l-2.47 2.47a.75.75 0 1 0 1.06 1.06L10 11.06l2.47 2.47a.75.75 0 0 0 1.06-1.06L11.06 10l2.47-2.47a.75.75 0 0 0-1.06-1.06L10 8.94z",clipRule:"evenodd"})]}),_e=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#x-circle-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0m1.5 0c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10M7.53 6.47a.75.75 0 1 0-1.06 1.06L8.94 10l-2.47 2.47a.75.75 0 0 0 1.06 1.06L10 11.06l2.47 2.47a.75.75 0 0 0 1.06-1.06L11.06 10l2.47-2.47a.75.75 0 1 0-1.06-1.06L10 8.94z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"x-circle-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]}),Pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 20 20","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#x-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M16.894 3.106a.75.75 0 0 1 0 1.06L11.061 10l5.833 5.834a.75.75 0 0 1-1.06 1.06L10 11.061l-5.834 5.833a.75.75 0 1 1-1.06-1.06L8.939 10 3.106 4.166a.75.75 0 0 1 1.06-1.06L10 8.939l5.834-5.833a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"x-icon_svg__a",children:r.jsx("path",{d:"M0 0h20v20H0z"})})})]});t.TY=o,t.lO=i,t.mY=s,t.BN=u,t.QU=c,t.gq=p,t.KM=f,t.Ni=y,t.aM=b,t.rx=A,t.F3=V,t.h3=q,t.xP=H,t.V_=G,t.pO=te,t.W1=oe,t.Ad=xe,t.av=Ce,t.b0=Pe},99666:(e,t,n)=>{"use strict";var r=n(85893),o=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M9.75 7a.75.75 0 0 0-1.5 0v2.25H6a.75.75 0 0 0 0 1.5h2.25V13a.75.75 0 0 0 1.5 0v-2.25H12a.75.75 0 0 0 0-1.5H9.75z"}),r.jsx("path",{fillRule:"evenodd",d:"M5 3.25A2.75 2.75 0 0 0 2.25 6v12A2.75 2.75 0 0 0 5 20.75h9.172a2.75 2.75 0 0 0 1.73-.613 1 1 0 0 0 .14-.119l4.976-4.976q.068-.066.12-.14a2.75 2.75 0 0 0 .612-1.73V6A2.75 2.75 0 0 0 19 3.25zm11 10h4.247l.003-.078V6c0-.69-.56-1.25-1.25-1.25H5c-.69 0-1.25.56-1.25 1.25v12c0 .69.56 1.25 1.25 1.25h9.172q.039 0 .078-.003V15c0-.966.784-1.75 1.75-1.75",clipRule:"evenodd"})]}),i=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M4 4.25a.75.75 0 0 0-.75.75v2.727a.75.75 0 1 0 1.5 0V5.75h5.5v13.5H8.2a.75.75 0 0 0 0 1.5h5.6a.75.75 0 0 0 0-1.5h-2.05V5.75h5.5v1.977a.75.75 0 0 0 1.5 0V5a.75.75 0 0 0-.75-.75zM20.75 17a.75.75 0 0 0-1.5 0v2.25H17a.75.75 0 0 0 0 1.5h2.25V23a.75.75 0 0 0 1.5 0v-2.25H23a.75.75 0 0 0 0-1.5h-2.25z"})]}),a=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.61 3.95a1.75 1.75 0 0 1 1.692-2.2H11.4c.646 0 1.24.356 1.544.926l3.435 6.442a.25.25 0 0 0 .221.132H21a2.75 2.75 0 1 1 0 5.5h-4.4a.25.25 0 0 0-.22.132l-3.436 6.441a1.75 1.75 0 0 1-1.544.927h-1.098a1.75 1.75 0 0 1-1.691-2.2l1.353-5.074a.25.25 0 0 0-.224-.314L4.675 14.3a.25.25 0 0 0-.25.157l-.477 1.193a1.75 1.75 0 0 1-1.625 1.1H2A1.75 1.75 0 0 1 .25 15V9c0-.966.784-1.75 1.75-1.75h.323a1.75 1.75 0 0 1 1.625 1.1l.477 1.193a.25.25 0 0 0 .25.157l5.065-.362a.25.25 0 0 0 .224-.314L8.61 3.951Zm1.692-.7a.25.25 0 0 0-.242.314l1.353 5.074a1.75 1.75 0 0 1-1.566 2.196l-5.065.362a1.75 1.75 0 0 1-1.75-1.096l-.477-1.193a.25.25 0 0 0-.232-.157H2a.25.25 0 0 0-.25.25v6c0 .138.112.25.25.25h.323a.25.25 0 0 0 .232-.157l.477-1.193a1.75 1.75 0 0 1 1.75-1.096l5.065.362a1.75 1.75 0 0 1 1.566 2.196l-1.353 5.074a.25.25 0 0 0 .242.314H11.4a.25.25 0 0 0 .22-.132l3.436-6.441a1.75 1.75 0 0 1 1.544-.927H21a1.25 1.25 0 1 0 0-2.5h-4.4a1.75 1.75 0 0 1-1.544-.926L11.62 3.382a.25.25 0 0 0-.221-.132h-1.098Z",clipRule:"evenodd"})]}),s=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.25 4a.75.75 0 0 1 1.5 0v10.156l1.713-1.757a.75.75 0 1 1 1.074 1.048L12 17.074l-3.537-3.627A.75.75 0 0 1 9.537 12.4l1.713 1.756zm9.25 16.25a.75.75 0 0 0 0-1.5h-17a.75.75 0 0 0 0 1.5z",clipRule:"evenodd"})]}),l=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 2.25a.75.75 0 0 1 .75.75v17a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75m7.53 6.22a.75.75 0 0 1 0 1.06l-1.22 1.22H23a.75.75 0 0 1 0 1.5h-4.69l1.22 1.22a.75.75 0 1 1-1.06 1.06l-3.03-3.03 3.03-3.03a.75.75 0 0 1 1.06 0M4.47 9.53a.75.75 0 0 1 1.06-1.06l3.03 3.03-3.03 3.03a.75.75 0 0 1-1.06-1.06l1.22-1.22H1a.75.75 0 0 1 0-1.5h4.69z"})]}),u=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.5 3.75a.75.75 0 0 0 0 1.5h17a.75.75 0 0 0 0-1.5zM12.75 20a.75.75 0 0 1-1.5 0V9.844L9.537 11.6a.75.75 0 1 1-1.074-1.048L12 6.926l3.537 3.627a.75.75 0 1 1-1.074 1.047L12.75 9.845z",clipRule:"evenodd"})]}),c=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.97 5.47a.75.75 0 0 1 1.06 0l1.22 1.22V2a.75.75 0 0 1 1.5 0v4.69l1.22-1.22a.75.75 0 1 1 1.06 1.06L12 9.56 8.97 6.53a.75.75 0 0 1 0-1.06M2.75 12a.75.75 0 0 1 .75-.75h17a.75.75 0 0 1 0 1.5h-17a.75.75 0 0 1-.75-.75m7.28 6.53a.75.75 0 1 1-1.06-1.06L12 14.44l3.03 3.03a.75.75 0 1 1-1.06 1.06l-1.22-1.22V22a.75.75 0 0 1-1.5 0v-4.69z",clipRule:"evenodd"})]}),d=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#anonymous-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M14.115 1.104a3.15 3.15 0 0 1 4.72 1.381L20.94 7.6h1.56a.9.9 0 1 1 0 1.8h-21a.9.9 0 0 1 0-1.8h1.56l2.106-5.115a3.15 3.15 0 0 1 4.719-1.381l1.169.818a1.65 1.65 0 0 0 1.892 0l1.17-.818Zm3.333 1.952 1.87 4.544H4.683l1.87-4.544a1.65 1.65 0 0 1 2.473-.723l1.169.818a3.15 3.15 0 0 0 3.613 0l1.169-.818a1.65 1.65 0 0 1 2.472.723ZM3.75 10.75h16.5v1a4 4 0 0 1-7.969.5h-.562a4 4 0 0 1-7.969-.5zm1.55 1.5a2.5 2.5 0 0 0 4.9 0zm8.5 0a2.5 2.5 0 0 0 4.9 0zm-11.8 5a.75.75 0 0 0-.61 1.186l2.028 2.839-1.804 1.082a.75.75 0 1 0 .772 1.286l2.5-1.5a.75.75 0 0 0 .224-1.079L3.458 18.75h7.792V23a.75.75 0 0 0 1.5 0v-4.25h7.793l-1.653 2.314a.75.75 0 0 0 .224 1.08l2.5 1.5a.75.75 0 1 0 .772-1.287l-1.803-1.082 2.027-2.84A.75.75 0 0 0 22 17.25z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"anonymous-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),p=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M19.53 11.47a.75.75 0 0 0-1.06 0l-6.22 6.22V4.5a.75.75 0 0 0-1.5 0v13.19l-6.22-6.22a.75.75 0 0 0-1.06 1.06l8.03 8.03 8.03-8.03a.75.75 0 0 0 0-1.06",clipRule:"evenodd"})]}),h=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15.25 2a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V3.81L2.53 22.53a.75.75 0 0 1-1.06-1.06L20.19 2.75H16a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),f=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H19a.75.75 0 0 1 0 1.5H5.81l6.22 6.22a.75.75 0 1 1-1.06 1.06L2.94 12l8.03-8.03a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),m=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.97 3.97a.75.75 0 0 1 1.06 0L20.06 12l-8.03 8.03a.75.75 0 1 1-1.06-1.06l6.22-6.22H4a.75.75 0 0 1 0-1.5h13.19l-6.22-6.22a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})]}),g=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.47 12.53a.75.75 0 0 0 1.06 0l6.22-6.22V19.5a.75.75 0 0 0 1.5 0V6.31l6.22 6.22a.75.75 0 1 0 1.06-1.06L11.5 3.44l-8.03 8.03a.75.75 0 0 0 0 1.06",clipRule:"evenodd"})]}),v=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17.98 4.399a2.25 2.25 0 0 0-3.181 0l-8.84 8.838a3.75 3.75 0 1 0 5.304 5.304l6.717-6.718a.75.75 0 0 1 1.061 1.06l-6.717 6.718a5.25 5.25 0 0 1-7.425-7.424l8.839-8.84a3.75 3.75 0 0 1 5.303 5.304l-8.839 8.839a2.25 2.25 0 1 1-3.182-3.182l6.718-6.717a.75.75 0 1 1 1.06 1.06L8.082 15.36a.75.75 0 0 0 1.06 1.06l8.84-8.838a2.25 2.25 0 0 0 0-3.182Z",clipRule:"evenodd"})]}),y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12m3-15a3 3 0 1 1-6 0 3 3 0 1 1 6 0m-9 7.5c0-1.995 3.998-3 6-3s6 1.005 6 3V18H6z",clipRule:"evenodd"})]}),b=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 12a3 3 0 1 0 0-6 3 3 0 1 0 0 6m0 1.5c-2.002 0-6 1.005-6 3V18h12v-1.5c0-1.995-3.998-3-6-3",clipRule:"evenodd"})]}),w=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("mask",{id:"bin-icon_svg__a",fill:"#fff",children:r.jsx("path",{d:"M6 17V7h12v10a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2"})}),r.jsx("path",{fill:"currentColor",d:"M6 7V6H5v1zm12 0h1V6h-1zM5 7v10h2V7zm3 13h8v-2H8zm11-3V7h-2v10zM18 6H6v2h12zm-2 14a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1zM5 17a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1z",mask:"url(#bin-icon_svg__a)"}),r.jsx("path",{stroke:"currentColor",d:"M5.5 7V6a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5Z"}),r.jsx("path",{fill:"currentColor",d:"M11 5v-.5h-1V5zm.5-1h1V3h-1zm1.5.5V5h1v-.5zm-.5-.5a.5.5 0 0 1 .5.5h1A1.5 1.5 0 0 0 12.5 3zm-1.5.5a.5.5 0 0 1 .5-.5V3A1.5 1.5 0 0 0 10 4.5z"}),r.jsx("path",{stroke:"currentColor",d:"M9.5 10v6M12 10v6M14.5 10v6"})]}),x=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.5 3.5v12H7V8a1 1 0 0 1 1-1h7.5V3.5zM3 17h4v4a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-4V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1m17.5-8.5H17V16a1 1 0 0 1-1 1H8.5v3.5h12zm-5 1.94V8.5h-1.94zm0 2.06-.03.03-4-4 .03-.03H9.56l5.94 5.94zm-1.06 3L8.5 9.56v1.94l.03-.03 4 4-.03.03zm-4 0L8.5 13.56v1.94z",clipRule:"evenodd"})]}),D=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6 18.74c0 .696.564 1.26 1.26 1.26h5.79c3.321 0 5.357-1.586 5.357-4.221 0-1.8-1.028-3.172-2.871-3.579 1.543-.579 2.293-1.693 2.293-3.321C17.829 6.543 16.093 5 13.22 5H7.26A1.26 1.26 0 0 0 6 6.26zm3.6-7.89V8h2.807c1.136 0 1.757.557 1.757 1.393 0 .921-.685 1.457-1.693 1.457zm0 6.15v-3.15h3.171c1.286 0 1.993.6 1.993 1.564 0 1.029-.793 1.586-1.928 1.586z"})]}),C=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M9 1.25A2.75 2.75 0 0 0 6.25 4v18a.75.75 0 0 0 1.296.515L12 17.793l4.454 4.722A.75.75 0 0 0 17.75 22V4A2.75 2.75 0 0 0 15 1.25z"})]}),E=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9 2.75c-.69 0-1.25.56-1.25 1.25v16.112l3.704-3.927a.75.75 0 0 1 1.091 0l3.705 3.927V4c0-.69-.56-1.25-1.25-1.25zM6.25 4A2.75 2.75 0 0 1 9 1.25h6A2.75 2.75 0 0 1 17.75 4v18a.75.75 0 0 1-1.296.515L12 17.793l-4.454 4.722A.75.75 0 0 1 6.25 22z",clipRule:"evenodd"})]}),S=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.5 14.5v-11h11v11zM2 3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1zm13 14.5a2.5 2.5 0 0 0 2.5-2.5V8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-3.5z",clipRule:"evenodd"})]}),_=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M4.5 6.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m5-2.25a.75.75 0 0 0 0 1.5h11a.75.75 0 0 0 0-1.5zm0 7a.75.75 0 0 0 0 1.5h11a.75.75 0 0 0 0-1.5zM8.75 19a.75.75 0 0 1 .75-.75h11a.75.75 0 0 1 0 1.5h-11a.75.75 0 0 1-.75-.75M6 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-1.5 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"})]}),P=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 5.25a.75.75 0 0 1 .75.75v8a.75.75 0 0 1-1.5 0V6A.75.75 0 0 1 2 5.25m8 0a.75.75 0 0 1 .75.75v8a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75m8.75.75a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0zM6 9.25a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0v-4A.75.75 0 0 1 6 9.25m8.75.75a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 1.5 0zM22 9.25a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0v-4a.75.75 0 0 1 .75-.75M15.584 21H8.416a.2.2 0 0 1-.156-.325l3.584-4.48a.2.2 0 0 1 .312 0l3.584 4.48a.2.2 0 0 1-.156.325",clipRule:"evenodd"})]}),k=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M18.53 8.22a.75.75 0 0 0-1.06 0L12 13.69 6.53 8.22a.75.75 0 0 0-1.06 1.06l6 6a.75.75 0 0 0 1.06 0l6-6a.75.75 0 0 0 0-1.06",clipRule:"evenodd"})]}),A=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.5 4.75a.25.25 0 0 0-.25.25v5a6.75 6.75 0 0 1-6.75 6.75H2a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h20a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-2.5A6.75 6.75 0 0 1 12.75 10V5a.25.25 0 0 0-.25-.25zM9.75 5c0-.966.784-1.75 1.75-1.75h1c.966 0 1.75.784 1.75 1.75v5c0 2.9 2.35 5.25 5.25 5.25H22c.966 0 1.75.784 1.75 1.75v1A1.75 1.75 0 0 1 22 19.75H2A1.75 1.75 0 0 1 .25 18v-1c0-.966.784-1.75 1.75-1.75h2.5c2.9 0 5.25-2.35 5.25-5.25z",clipRule:"evenodd"})]}),z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.53 18.53a.75.75 0 0 0 0-1.06L10.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 0 0 0 1.06l6 6a.75.75 0 0 0 1.06 0",clipRule:"evenodd"})]}),T=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.47 5.47a.75.75 0 0 0 0 1.06L13.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06l6-6a.75.75 0 0 0 0-1.06l-6-6a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),O=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5.47 15.28a.75.75 0 0 0 1.06 0L12 9.81l5.47 5.47a.75.75 0 1 0 1.06-1.06l-6-6a.75.75 0 0 0-1.06 0l-6 6a.75.75 0 0 0 0 1.06",clipRule:"evenodd"})]}),I=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m5.07-13.512a.75.75 0 0 0-1.14-.976l-5.422 6.326-1.932-2.318a.75.75 0 0 0-1.152.96l2.374 2.849a.917.917 0 0 0 1.4.01l5.872-6.85Z",clipRule:"evenodd"})]}),F=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M17.07 9.488a.75.75 0 0 0-1.14-.976l-5.422 6.326-1.932-2.318a.75.75 0 0 0-1.152.96l2.374 2.849a.917.917 0 0 0 1.4.01l5.872-6.85Z"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),M=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.688 6.802a.75.75 0 0 1 0 1.06L9.332 18.219 4.47 13.355a.75.75 0 0 1 1.06-1.06l3.802 3.802 9.295-9.295a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),R=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3 6.57V3.43a.25.25 0 0 1 .374-.216L6.12 4.783a.25.25 0 0 1 0 .434l-2.746 1.57A.25.25 0 0 1 3 6.568Zm6.5-2.32a.75.75 0 0 0 0 1.5h11a.75.75 0 0 0 0-1.5zm0 7a.75.75 0 0 0 0 1.5h11a.75.75 0 0 0 0-1.5zM8.75 19a.75.75 0 0 1 .75-.75h11a.75.75 0 0 1 0 1.5h-11a.75.75 0 0 1-.75-.75M3 20.57v-3.14a.25.25 0 0 1 .374-.216l2.746 1.569a.25.25 0 0 1 0 .434l-2.746 1.57A.25.25 0 0 1 3 20.568Zm0-10.14v3.14a.25.25 0 0 0 .374.216l2.746-1.569a.25.25 0 0 0 0-.434l-2.746-1.57a.25.25 0 0 0-.374.218Z"})]}),j=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.5 9.75a2.75 2.75 0 0 0-2.75 2.75.75.75 0 0 1-1.5 0 4.25 4.25 0 0 1 7-3.24A4.24 4.24 0 0 1 12 8.25a4.23 4.23 0 0 1 2.75 1.01 4.25 4.25 0 0 1 5.724 6.276.75.75 0 1 1-1.05-1.072 2.75 2.75 0 0 0-3.72-4.048 4.23 4.23 0 0 1 .546 2.084 4.24 4.24 0 0 1-1.275 3.036.75.75 0 1 1-1.05-1.072c.51-.5.825-1.194.825-1.964 0-.612-.2-1.177-.538-1.634a.8.8 0 0 1-.104-.132A2.74 2.74 0 0 0 12 9.75c-.686 0-1.313.25-1.795.666a4.23 4.23 0 0 1 .545 2.084 4.24 4.24 0 0 1-1.276 3.036.75.75 0 1 1-1.05-1.072c.51-.5.826-1.194.826-1.964 0-.572-.175-1.103-.474-1.543l-.005-.004a.75.75 0 0 1-.229-.294A2.74 2.74 0 0 0 6.5 9.75"})]}),B=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M19.53 15.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 1 1 1.06 1.06L16.06 12zM4.47 8.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L7.94 12z"})]}),N=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5 3.25A2.75 2.75 0 0 0 2.25 6v10A2.75 2.75 0 0 0 5 18.75h1.25V22a.75.75 0 0 0 1.248.56l4.287-3.81H19A2.75 2.75 0 0 0 21.75 16V6A2.75 2.75 0 0 0 19 3.25zM3.75 6c0-.69.56-1.25 1.25-1.25h14c.69 0 1.25.56 1.25 1.25v10c0 .69-.56 1.25-1.25 1.25h-7.5a.75.75 0 0 0-.498.19L7.75 20.33V18a.75.75 0 0 0-.75-.75H5c-.69 0-1.25-.56-1.25-1.25zM8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2m9-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})]}),L=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9.5 19.75A1.75 1.75 0 0 0 11.25 18v-3h-1.5v3a.25.25 0 0 1-.25.25H2a.25.25 0 0 1-.25-.25V6A.25.25 0 0 1 2 5.75h7.5a.25.25 0 0 1 .25.25v3h1.5V6A1.75 1.75 0 0 0 9.5 4.25H2A1.75 1.75 0 0 0 .25 6v12c0 .966.784 1.75 1.75 1.75zM12.75 6c0-.966.784-1.75 1.75-1.75H22c.966 0 1.75.784 1.75 1.75v12A1.75 1.75 0 0 1 22 19.75h-7.5A1.75 1.75 0 0 1 12.75 18v-3h1.5v3c0 .138.112.25.25.25H22a.25.25 0 0 0 .25-.25V6a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v3h-1.5zM7.53 8.47a.75.75 0 0 1 0 1.06l-1.72 1.72h12.38l-1.72-1.72a.75.75 0 0 1 1.06-1.06l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H5.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),K=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4 1.25A2.75 2.75 0 0 0 1.25 4v11A2.75 2.75 0 0 0 4 17.75h2.25V20A2.75 2.75 0 0 0 9 22.75h11A2.75 2.75 0 0 0 22.75 20V9A2.75 2.75 0 0 0 20 6.25h-2.25V4A2.75 2.75 0 0 0 15 1.25zm12.25 5V4c0-.69-.56-1.25-1.25-1.25H4c-.69 0-1.25.56-1.25 1.25v11c0 .69.56 1.25 1.25 1.25h2.25V9A2.75 2.75 0 0 1 9 6.25zM7.75 20c0 .69.56 1.25 1.25 1.25h11c.69 0 1.25-.56 1.25-1.25V9c0-.69-.56-1.25-1.25-1.25H9c-.69 0-1.25.56-1.25 1.25z",clipRule:"evenodd"})]}),V=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.5 2A1.5 1.5 0 0 1 9 .5h8a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 22.5 6v12a1.5 1.5 0 0 1-1.5 1.5h-3V18h3V6h-3a1 1 0 0 1-1-1V2H9v1H7.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M3 4.5A1.5 1.5 0 0 0 1.5 6v16A1.5 1.5 0 0 0 3 23.5h12a1.5 1.5 0 0 0 1.5-1.5V10a1.5 1.5 0 0 0-.44-1.06l-4-4A1.5 1.5 0 0 0 11 4.5zM3 6v16h12V10h-3a1 1 0 0 1-1-1V6z",clipRule:"evenodd"})]}),q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7 3a.75.75 0 0 0-1.5 0v13.5c0 .966.784 1.75 1.75 1.75H16v-1.5H7.25A.25.25 0 0 1 7 16.5zm10.5 17.5a.75.75 0 0 0 1.5 0V7a1.75 1.75 0 0 0-1.75-1.75H8.5v1.5h8.75a.25.25 0 0 1 .25.25zm5.5-2.25h-2.5v-1.5H23a.75.75 0 0 1 0 1.5m-19-13H1a.75.75 0 0 0 0 1.5h3z",clipRule:"evenodd"})]}),H=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.405 5.75a3.001 3.001 0 0 1-5.81 0H2a.75.75 0 0 1 0-1.5h2.595a3.001 3.001 0 0 1 5.81 0H22a.75.75 0 0 1 0 1.5zM9 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-7 6.25a.75.75 0 0 0 0 1.5h12.595a3.001 3.001 0 0 0 5.81 0H22a.75.75 0 0 0 0-1.5h-1.595a3.001 3.001 0 0 0-5.81 0zm15.5 2.25a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1.25 19a.75.75 0 0 1 .75-.75h3.595a3.001 3.001 0 0 1 5.81 0H22a.75.75 0 0 1 0 1.5H11.405a3.001 3.001 0 0 1-5.81 0H2a.75.75 0 0 1-.75-.75M10 19a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0",clipRule:"evenodd"})]}),Z=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7.925 8.746A4.001 4.001 0 0 0 .671 5.464a4 4 0 0 0 6.516 4.588l1.765 1.019c.094-.51.243-1.006.44-1.478zm-1.624-.032a2.5 2.5 0 1 0-4.33-2.5 2.5 2.5 0 0 0 4.33 2.5",clipRule:"evenodd"}),r.jsx("path",{d:"M12.45 16.555a4.1 4.1 0 0 1-1.22-1.077l1.315-.76c.185.211.406.394.655.538l5.306 3.063a1.25 1.25 0 0 0 1.18.038l1.016-.502-6.794-3.923 1.5-.866 8.471 4.891-3.529 1.745a2.75 2.75 0 0 1-2.594-.084z"}),r.jsx("path",{fillRule:"evenodd",d:"M10.344 12.018a5.75 5.75 0 0 1 2.863-4.61l4.55-2.626a2.75 2.75 0 0 1 2.593-.084l3.53 1.745-15.955 9.21a4.001 4.001 0 0 1-7.254 3.283 4 4 0 0 1 6.516-4.588l3.122-1.803zm1.556-.391 8.802-5.082-1.017-.502a1.25 1.25 0 0 0-1.179.038l-4.55 2.627a4.25 4.25 0 0 0-2.056 2.919m-5.6 4.059a2.5 2.5 0 1 1-4.33 2.5 2.5 2.5 0 0 1 4.33-2.5",clipRule:"evenodd"})]}),U=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.667 3.092a.75.75 0 0 1 .09.838A8.6 8.6 0 0 0 9.75 8c0 4.597 3.51 8.25 7.75 8.25 1.137 0 2.216-.26 3.19-.729a.75.75 0 0 1 .992 1.018A9.75 9.75 0 0 1 13 21.85c-5.385 0-9.75-4.366-9.75-9.75 0-4.286 2.764-7.923 6.604-9.232a.75.75 0 0 1 .813.225Zm-1.992 1.98a8.25 8.25 0 1 0 10.478 12.523 9 9 0 0 1-1.653.155c-5.148 0-9.25-4.406-9.25-9.75 0-1.02.149-2.003.425-2.929Z",clipRule:"evenodd"})]}),$=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M17.25 15a1.25 1.25 0 1 1-2.124-.893 3.251 3.251 0 0 0-5.549-1.273.75.75 0 1 1-1.117-1 4.752 4.752 0 0 1 8.166 2.085c.373.215.624.619.624 1.081m-10.5 0a1.25 1.25 0 1 1 2.124.893 3.251 3.251 0 0 0 5.549 1.273.75.75 0 1 1 1.117 1 4.752 4.752 0 0 1-8.167-2.085A1.25 1.25 0 0 1 6.75 15"}),r.jsx("path",{fillRule:"evenodd",d:"M2 4.5A1.5 1.5 0 0 0 .5 6v15A1.5 1.5 0 0 0 2 22.5h20a1.5 1.5 0 0 0 1.5-1.5V6A1.5 1.5 0 0 0 22 4.5h-2.25V2a.75.75 0 0 0-1.5 0v2.5H5.75V2a.75.75 0 0 0-1.5 0v2.5zM2 9h20v12H2z",clipRule:"evenodd"})]}),G=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M5.75 2a.75.75 0 0 0-1.5 0v2.5H2A1.5 1.5 0 0 0 .5 6v15A1.5 1.5 0 0 0 2 22.5h20a1.5 1.5 0 0 0 1.5-1.5V6A1.5 1.5 0 0 0 22 4.5h-2.25V2a.75.75 0 0 0-1.5 0v2.5H5.75zM2 9v12h20V9z",clipRule:"evenodd"})]}),W=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.75 5.25h.337c.643 0 1.163.52 1.163 1.163v4.24c0 .507.308.963.778 1.15a2.74 2.74 0 0 1 1.722 2.543v5.246a4.16 4.16 0 0 1-4.158 4.158H7.408a4.16 4.16 0 0 1-4.158-4.158v-5.246c0-1.12.682-2.127 1.721-2.542a1.24 1.24 0 0 0 .779-1.15V6.413c0-.642.52-1.163 1.163-1.163h.337V1.5C7.25.81 7.81.25 8.5.25h3c.69 0 1.25.56 1.25 1.25v.25h.75a1.25 1.25 0 1 1 0 2.5h-.75zm-4-3.5v3.5h2.5v-3.5zm5.722 11.446a2.74 2.74 0 0 1-1.722-2.542V6.75h-5.5v3.904c0 1.12-.682 2.127-1.721 2.542a1.24 1.24 0 0 0-.779 1.15v5.246a2.66 2.66 0 0 0 2.658 2.658h5.184a2.66 2.66 0 0 0 2.658-2.658v-5.246c0-.506-.308-.962-.778-1.15",clipRule:"evenodd"}),r.jsx("path",{d:"M16.97 3.97a.75.75 0 0 1 1.06 0l.5.5c.26.26.68.26.94 0a2.164 2.164 0 0 1 3.06 0l.5.5a.75.75 0 0 1-1.06 1.06l-.5-.5a.664.664 0 0 0-.94 0 2.164 2.164 0 0 1-3.06 0l-.5-.5a.75.75 0 0 1 0-1.06m1.06-3a.75.75 0 1 0-1.06 1.06l.5.5a2.164 2.164 0 0 0 3.06 0c.26-.26.68-.26.94 0l.5.5a.75.75 0 1 0 1.06-1.06l-.5-.5a2.164 2.164 0 0 0-3.06 0c-.26.26-.68.26-.94 0z"})]}),X=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M23 22a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1zM18 5.25a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5zm0 4a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5zm0 4a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5zm-6 4a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5z",clipRule:"evenodd"})]}),Y=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M2.5 3A1.5 1.5 0 0 1 4 1.5h8a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 17.5 7v1.776a4.7 4.7 0 0 0-1.5.414V7h-3a1 1 0 0 1-1-1V3H4v16h7.5v1.5H4A1.5 1.5 0 0 1 2.5 19z"}),r.jsx("path",{fillRule:"evenodd",d:"M14.75 15v-1.5a3.25 3.25 0 0 1 6.5 0V15H22a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zm1.5-1.5a1.75 1.75 0 1 1 3.5 0V15h-3.5zm-1.75 8v-5h7v5z",clipRule:"evenodd"})]}),Q=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M9.834 12.912v1.435h1.134c.595 0 .917-.3.917-.728 0-.413-.322-.707-.917-.707zm4.744.028v3.22h.791c1.008 0 1.673-.693 1.673-1.61s-.665-1.61-1.673-1.61z"}),r.jsx("path",{fillRule:"evenodd",d:"M20.75 10V6.5a.75.75 0 0 0-.22-.53l-5.5-5.5a.75.75 0 0 0-.53-.22H5A1.75 1.75 0 0 0 3.25 2v20c0 .966.784 1.75 1.75 1.75h14A1.75 1.75 0 0 0 20.75 22v-3H23a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1zM5 1.75a.25.25 0 0 0-.25.25v20c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25v-3H8a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h11.25V7.25H14.5a.75.75 0 0 1-.75-.75V1.75zM9.834 17h-.98v-4.9h2.212c1.127 0 1.799.651 1.799 1.526 0 .89-.707 1.54-1.799 1.54H9.834zm5.668 0h-1.897v-4.9h1.897c1.484 0 2.52 1.078 2.52 2.45S16.986 17 15.502 17m3.332 0h.98v-1.995h2.422v-.854h-2.422v-1.197h2.52V12.1h-3.5z",clipRule:"evenodd"})]}),J=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v13.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L12 19.06l-4.53-4.53a.75.75 0 1 1 1.06-1.06l2.72 2.72V3a.75.75 0 0 1 .75-.75m-9 14a.75.75 0 0 1 .75.75v3c0 .69.56 1.25 1.25 1.25h14c.69 0 1.25-.56 1.25-1.25v-3a.75.75 0 0 1 1.5 0v3A2.75 2.75 0 0 1 19 22.75H5A2.75 2.75 0 0 1 2.25 20v-3a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})]}),ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 9a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m0 6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m6.5 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m5-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-6.5-6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M20 9a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0",clipRule:"evenodd"})]}),te=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M15.25 11.5a.75.75 0 0 0-1.5 0v2.25H11.5a.75.75 0 0 0 0 1.5h2.25v2.25a.75.75 0 0 0 1.5 0v-2.25h2.25a.75.75 0 0 0 0-1.5h-2.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M1.25 4A2.75 2.75 0 0 1 4 1.25h11A2.75 2.75 0 0 1 17.75 4v2.25H20A2.75 2.75 0 0 1 22.75 9v11A2.75 2.75 0 0 1 20 22.75H9A2.75 2.75 0 0 1 6.25 20v-2.25H4A2.75 2.75 0 0 1 1.25 15zm15 0v2.25H9A2.75 2.75 0 0 0 6.25 9v7.25H4c-.69 0-1.25-.56-1.25-1.25V4c0-.69.56-1.25 1.25-1.25h11c.69 0 1.25.56 1.25 1.25m-8.5 16V9c0-.69.56-1.25 1.25-1.25h11c.69 0 1.25.56 1.25 1.25v11c0 .69-.56 1.25-1.25 1.25H9c-.69 0-1.25-.56-1.25-1.25",clipRule:"evenodd"})]}),ne=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M19.445 4.384a2.75 2.75 0 0 0-3.89 0L2.764 17.177a1.75 1.75 0 0 0-.513 1.237v3.336h4.336c.464 0 .909-.184 1.237-.513L20.116 8.945a2.75 2.75 0 0 0 0-3.89zm-2.829 1.06a1.25 1.25 0 0 1 1.768 0l.671.672a1.25 1.25 0 0 1 0 1.768L17.5 9.439 15.06 7l1.556-1.555ZM14 8.062l2.44 2.439-9.677 9.677a.25.25 0 0 1-.177.073H3.75v-1.836a.25.25 0 0 1 .073-.177z",clipRule:"evenodd"}),r.jsx("path",{d:"M23 21.75H9.432l1.5-1.5H23a.75.75 0 0 1 0 1.5"})]}),re=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3.5 6H2V2h4v1.5H3.5zm2.75 2A.75.75 0 0 1 7 7.25h10a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 8m0 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75M7 15.25a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5zM18 2v1.5h2.5V6H22V2zM3.5 18H2v4h4v-1.5H3.5zM18 22v-1.5h2.5V18H22v4zm-9 0v-1.5h6V22zM9 2v1.5h6V2zM2 9h1.5v6H2zm20 0h-1.5v6H22z"})]}),oe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.5 2A1.5 1.5 0 0 1 4 .5h8a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 17.5 6v.366a4 4 0 0 0-.293.266L16 7.84V6h-3a1 1 0 0 1-1-1V2H4v16h2.093c-.22.463-.325.979-.298 1.5H4A1.5 1.5 0 0 1 2.5 18zm20.363 6.782a2.48 2.48 0 0 1 0 3.507L12.32 22.833a1.62 1.62 0 0 1-1.142.473H7.25V19.38c0-.428.17-.839.473-1.142L18.267 7.693a2.48 2.48 0 0 1 3.507 0l1.09 1.09Zm-1.06 2.446a.98.98 0 0 0 0-1.385l-1.09-1.09a.98.98 0 0 0-1.385 0l-1.075 1.075 2.475 2.475zm-2.136 2.136-2.475-2.475-8.408 8.409a.12.12 0 0 0-.034.081v2.427h2.427a.12.12 0 0 0 .082-.033z",clipRule:"evenodd"})]}),ie=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15.556 3.384a2.75 2.75 0 0 1 3.889 0l1.171 1.171a2.75 2.75 0 0 1 0 3.89L7.823 21.237a1.75 1.75 0 0 1-1.237.513H2.25v-4.336c0-.464.184-.909.513-1.237zm2.828 1.06a1.25 1.25 0 0 0-1.768 0L15.061 6 18 8.94l1.555-1.556a1.25 1.25 0 0 0 0-1.768zM16.939 10 14 7.06 3.823 17.238a.25.25 0 0 0-.073.177v2.836h2.836a.25.25 0 0 0 .177-.073z",clipRule:"evenodd"})]}),ae=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.02 5.97a.75.75 0 0 0 0 1.06l4.95 4.95a.75.75 0 0 0 1.06 0l4.95-4.95a.75.75 0 0 0 0-1.06l-4.95-4.95a.75.75 0 0 0-1.06 0zm5.48 4.42L13.61 6.5l3.89-3.89 3.889 3.89-3.89 3.89ZM3 2.25a.75.75 0 0 0-.75.75v7c0 .414.336.75.75.75h7a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75zm.75 7v-5.5h5.5v5.5zM2.25 14a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 .75.75v7a.75.75 0 0 1-.75.75H3a.75.75 0 0 1-.75-.75zm1.5.75v5.5h5.5v-5.5zM14 13.25a.75.75 0 0 0-.75.75v7c0 .414.336.75.75.75h7a.75.75 0 0 0 .75-.75v-7a.75.75 0 0 0-.75-.75zm.75 7v-5.5h5.5v5.5z",clipRule:"evenodd"})]}),se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2.003 2.889a8.5 8.5 0 0 1-9.492 5.48zm.367-1.367-11.23 6.483a8.5 8.5 0 0 1-2.92-1.778l14.073-8.125a8.5 8.5 0 0 1 .077 3.42m-.366-4.408L5.504 17.482a8.5 8.5 0 0 1-1.502-2.597l14.494-8.368a8.5 8.5 0 0 1 1.502 2.597m-2.212-3.341L3.713 13.898a8.5 8.5 0 0 1-.077-3.42l11.229-6.483a8.5 8.5 0 0 1 2.92 1.778ZM13.495 3.63a8.5 8.5 0 0 0-9.491 5.48z",clipRule:"evenodd"})]}),le=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 26 26","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.021 2.148a3.6 3.6 0 0 1 1.487-1.136 3.6 3.6 0 0 1 1.38-.262 3.45 3.45 0 0 1 2.846 1.414 3.6 3.6 0 0 1 2.585-.146 3.61 3.61 0 0 1 2.486 3.05 3.67 3.67 0 0 1 2.663 1.713 3.49 3.49 0 0 1 .173 3.189 3.56 3.56 0 0 1 1.2 1.538c.178.438.266.908.26 1.381a3.45 3.45 0 0 1-1.479 2.886 3.62 3.62 0 0 1-2.835 4.99 3.62 3.62 0 0 1-4.982 2.926 3.56 3.56 0 0 1-1.504 1.145 3.55 3.55 0 0 1-1.39.254 3.62 3.62 0 0 1-2.89-1.464 3.67 3.67 0 0 1-3.179-.203l-.003-.001a3.61 3.61 0 0 1-1.787-2.64 3.62 3.62 0 0 1-2.894-4.976A3.57 3.57 0 0 1 .75 12.92a3.46 3.46 0 0 1 1.453-2.87 3.67 3.67 0 0 1 .182-3.206l.004-.006a3.61 3.61 0 0 1 2.68-1.792l.012-.085a3.62 3.62 0 0 1 4.94-2.813m2.885.102a1.95 1.95 0 0 1 1.618.8 3.6 3.6 0 0 0-.445.619.75.75 0 1 0 1.303.742q.181-.316.453-.551a.8.8 0 0 0 .166-.13 2.11 2.11 0 0 1 3.308 1.458 3.7 3.7 0 0 0-.754.317.75.75 0 1 0 .732 1.31 2.17 2.17 0 0 1 2.892.733 1.99 1.99 0 0 1 .09 1.815 3.6 3.6 0 0 0-.795-.073.75.75 0 0 0 .032 1.5 2.05 2.05 0 0 1 2.095 2.115 1.95 1.95 0 0 1-.835 1.638 3.6 3.6 0 0 0-.595-.453.75.75 0 0 0-.781 1.28 2.12 2.12 0 0 1-.743 3.9 3.6 3.6 0 0 0-.316-.723.75.75 0 1 0-1.3.746c.134.235.222.492.26.757q0 .072.014.141a2.123 2.123 0 0 1-1.946 2.27 2.1 2.1 0 0 1-.917-.13 3.6 3.6 0 0 0 .089-.854.75.75 0 0 0-1.5.027 2.05 2.05 0 0 1-2.094 2.086h-.014a2.12 2.12 0 0 1-1.654-.801 3.7 3.7 0 0 0 .488-.622.75.75 0 0 0-1.273-.794 2.17 2.17 0 0 1-2.903.744 2.11 2.11 0 0 1-1.03-1.462 3.6 3.6 0 0 0 .752-.324.75.75 0 0 0-.746-1.302 2.1 2.1 0 0 1-.648.242.75.75 0 0 0-.398.04 2.13 2.13 0 0 1-1.56-.676 2.12 2.12 0 0 1-.432-2.193q.422.095.855.088a.75.75 0 0 0-.027-1.5 2.06 2.06 0 0 1-2.097-2.124 1.96 1.96 0 0 1 .803-1.619q.269.257.59.459a.75.75 0 1 0 .795-1.272 2.17 2.17 0 0 1-.745-2.895 2.11 2.11 0 0 1 1.5-1.036q.119.396.327.76a.75.75 0 0 0 1.3-.746 2.12 2.12 0 0 1 2.561-3.048 3.6 3.6 0 0 0-.09.864.75.75 0 1 0 1.5-.026 2.06 2.06 0 0 1 2.115-2.097",clipRule:"evenodd"})]}),ue=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m21.878 13.565-1.482-.233a8.6 8.6 0 0 0 0-2.664l1.482-.233a10 10 0 0 1 0 3.13m-.54-5.15-1.4.538a8.5 8.5 0 0 0-1.331-2.302l1.165-.944a10 10 0 0 1 1.566 2.708m-3.045-4.187-.944 1.165a8.5 8.5 0 0 0-2.302-1.331l.538-1.4c.988.38 1.9.911 2.708 1.566m-4.728-2.106-.233 1.482a8.6 8.6 0 0 0-2.664 0l-.233-1.482a10 10 0 0 1 3.13 0m-5.15.54.538 1.4a8.5 8.5 0 0 0-2.302 1.331l-.944-1.165a10 10 0 0 1 2.708-1.566M4.228 5.707l1.165.944a8.5 8.5 0 0 0-1.331 2.302l-1.4-.538a10 10 0 0 1 1.566-2.708m-2.106 4.728a10 10 0 0 0 0 3.13l1.482-.233a8.6 8.6 0 0 1 0-2.664zm.54 5.15 1.4-.538a8.5 8.5 0 0 0 1.331 2.302l-1.165.944a10 10 0 0 1-1.566-2.708m3.045 4.187.944-1.165a8.5 8.5 0 0 0 2.302 1.331l-.538 1.4a10 10 0 0 1-2.708-1.566m4.728 2.106.233-1.482a8.6 8.6 0 0 0 2.664 0l.233 1.482a10 10 0 0 1-3.13 0m5.15-.54-.538-1.4a8.5 8.5 0 0 0 2.302-1.331l.944 1.165a10 10 0 0 1-2.708 1.566m4.187-3.045-1.165-.944a8.5 8.5 0 0 0 1.331-2.302l1.4.538c-.38.988-.911 1.9-1.566 2.708",clipRule:"evenodd"})]}),ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 20.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1.5c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",clipRule:"evenodd"})]}),de=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.707 13.748a.75.75 0 0 0-1.413.504A6.05 6.05 0 0 0 12 18.25a6.05 6.05 0 0 0 5.707-3.998.75.75 0 0 0-1.413-.504A4.55 4.55 0 0 1 12 16.75a4.55 4.55 0 0 1-4.293-3.002M10 9.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.994 22H5.499l-3.535-3.535a3 3 0 0 1 0-4.243L13.984 2.2a1 1 0 0 1 1.415 0l6.364 6.364a1 1 0 0 1 0 1.414L9.743 22zm-3.672-9.016 5.657 5.657L9.12 20.5h-3l-3.096-3.096a1.5 1.5 0 0 1 0-2.121zm6.718 4.597-5.657-5.657 8.309-8.309 5.656 5.657z",clipRule:"evenodd"}),r.jsx("path",{d:"m11.864 22 1.5-1.5H18a.75.75 0 1 1 0 1.5zm8.386-.75a.75.75 0 0 1 .75-.75h2a.75.75 0 1 1 0 1.5h-2a.75.75 0 0 1-.75-.75"})]}),he=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m4.03-13.97a.75.75 0 0 0-1.06-1.06l-7 7a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"})]}),fe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M21.5 12a9.5 9.5 0 0 1-9.5 9.5 9.46 9.46 0 0 1-6.166-2.273L19.227 5.834A9.46 9.46 0 0 1 21.5 12M4.773 18.166 18.166 4.773A9.46 9.46 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12c0 2.353.856 4.507 2.273 6.166M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11",clipRule:"evenodd"})]}),me=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11M12 6.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V7a.75.75 0 0 1 .75-.75m0 11.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})]}),ge=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.53 15.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06L5.06 12zm6.94-6.94a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06L18.94 12z"})]}),ve=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.53 8.53a.75.75 0 0 1-1.06-1.06l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1-1.06 1.06L12 5.06zm6.94 6.94a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06L12 18.94z"})]}),ye=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zm5 19v-3.5h1.5v3h11v-11h-3V8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),be=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.25 3A.75.75 0 0 1 3 2.25h18a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.22.53l-6.78 6.78V22a.75.75 0 0 1-1.2.6l-4-3a.75.75 0 0 1-.3-.6v-5.69L2.47 6.53A.75.75 0 0 1 2.25 6zm1.5.75v1.94l6.78 6.78c.141.14.22.331.22.53v5.625l2.5 1.875V13a.75.75 0 0 1 .22-.53l6.78-6.78V3.75z",clipRule:"evenodd"})]}),we=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#fit-to-height-icon_svg__a)",children:[r.jsx("path",{d:"M12 .25a.75.75 0 0 1 .75.75v4.19l1.72-1.72a.75.75 0 1 1 1.06 1.06L12 8.06 8.47 4.53a.75.75 0 0 1 1.06-1.06l1.72 1.72V1A.75.75 0 0 1 12 .25"}),r.jsx("path",{fillRule:"evenodd",d:"M21 8.5a2.5 2.5 0 0 1 2.5 2.5v2a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 13v-2A2.5 2.5 0 0 1 3 8.5zM3 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1z",clipRule:"evenodd"}),r.jsx("path",{d:"M11.25 23a.75.75 0 0 0 1.5 0v-4.19l1.72 1.72a.75.75 0 1 0 1.06-1.06L12 15.94l-3.53 3.53a.75.75 0 1 0 1.06 1.06l1.72-1.72z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"fit-to-height-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),xe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.25 6A2.75 2.75 0 0 1 4 3.25h4.276a2.75 2.75 0 0 1 1.76.637l1.888 1.573c.225.187.508.29.8.29H20a2.75 2.75 0 0 1 2.75 2.75V18A2.75 2.75 0 0 1 20 20.75H4A2.75 2.75 0 0 1 1.25 18zm1.5 0c0-.69.56-1.25 1.25-1.25h4.276c.292 0 .575.103.8.29l1.888 1.573a2.75 2.75 0 0 0 1.76.637H20c.69 0 1.25.56 1.25 1.25v.75H2.75zm18.5 4.75V18c0 .69-.56 1.25-1.25 1.25H4c-.69 0-1.25-.56-1.25-1.25v-7.25z",clipRule:"evenodd"})]}),De=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M1 3.25a.75.75 0 0 0 0 1.5h5.25V15a.75.75 0 0 0 1.5 0V4.75H13a.75.75 0 0 0 0-1.5zm21.75 7h-11.5V14a.75.75 0 0 0 1.5 0v-2.25h3.5v8.5H14.5a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5h-1.75v-8.5h3.5V14a.75.75 0 0 0 1.5 0z"})]}),Ce=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17.69 5.705a.75.75 0 0 0-1.38 0l-6 14a.75.75 0 0 0 1.38.59l2.376-5.545h5.868l2.377 5.545a.75.75 0 0 0 1.379-.59zm1.601 7.545-2.29-5.346-2.292 5.346zM5.2 10.728a.75.75 0 0 0-1.399 0l-3.5 9a.75.75 0 1 0 1.398.544l.787-2.022h4.029l.786 2.022a.75.75 0 0 0 1.398-.544l-3.5-9Zm-.7 2.341 1.432 3.681H3.069z",clipRule:"evenodd"})]}),Ee=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M22 6.5H2a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h20a.5.5 0 0 0 .5-.5V7a.5.5 0 0 0-.5-.5M2 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",clipRule:"evenodd"}),r.jsx("path",{d:"M8.274 15.112c-1.68 0-2.84-1.304-2.84-2.912s1.16-2.912 2.84-2.912 2.84 1.304 2.84 2.912-1.16 2.912-2.84 2.912m0-1.2c.976 0 1.464-.888 1.464-1.712s-.488-1.712-1.464-1.712-1.464.888-1.464 1.712.488 1.712 1.464 1.712M12.754 15V9.4h1.376v2.136L16.178 9.4h1.664l-2.056 2.184L17.922 15H16.33l-1.528-2.48-.672.72V15z"})]}),Se=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M16.53 10.03a.75.75 0 1 0-1.06-1.06L11 13.44l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.382 2.383a.917.917 0 0 0 1.296 0z"}),r.jsx("path",{fillRule:"evenodd",d:"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]}),_e=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M5 8.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V9A.75.75 0 0 1 5 8.25m9.207 2.25h5.586a.5.5 0 0 1 .353.854l-2.793 2.792a.5.5 0 0 1-.707 0l-2.793-2.792a.5.5 0 0 1 .354-.854"}),r.jsx("path",{fillRule:"evenodd",d:"M2 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm20 1.5H2a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h20a.5.5 0 0 0 .5-.5V7a.5.5 0 0 0-.5-.5",clipRule:"evenodd"})]}),Pe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M19 17.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-5.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-5.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),r.jsx("path",{fillRule:"evenodd",d:"M7.25 1a.75.75 0 0 0-1.5 0v1.5H4A3.5 3.5 0 0 0 .5 6v13A3.5 3.5 0 0 0 4 22.5h16a3.5 3.5 0 0 0 3.5-3.5V6A3.5 3.5 0 0 0 20 2.5h-1.75V1a.75.75 0 0 0-1.5 0v1.5h-9.5zm-1.5 3v2a.75.75 0 0 0 1.5 0V4h9.5v2a.75.75 0 0 0 1.5 0V4H20a2 2 0 0 1 2 2v1.75H2V6a2 2 0 0 1 2-2zM2 19V9.25h20V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2",clipRule:"evenodd"})]}),ke=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M19.75 7a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1 0-1.5h9a.75.75 0 0 1 .75.75M19 17.75a.75.75 0 0 0 0-1.5h-9a.75.75 0 0 0 0 1.5zm.75-5.75a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1 0-1.5h9a.75.75 0 0 1 .75.75M5.5 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M7 17a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-1.5-3.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),r.jsx("path",{fillRule:"evenodd",d:"M2 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm20 1.5H2a.5.5 0 0 0-.5.5v16a.5.5 0 0 0 .5.5h20a.5.5 0 0 0 .5-.5V4a.5.5 0 0 0-.5-.5",clipRule:"evenodd"})]}),Ae=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6m0-1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M6 16a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5 0a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5z",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M5 .25A1.75 1.75 0 0 0 3.25 2v20c0 .966.784 1.75 1.75 1.75h14A1.75 1.75 0 0 0 20.75 22V6.5a.75.75 0 0 0-.22-.53l-5.5-5.5a.75.75 0 0 0-.53-.22zM4.75 2A.25.25 0 0 1 5 1.75h8.75V6.5c0 .414.336.75.75.75h4.75V22a.25.25 0 0 1-.25.25H5a.25.25 0 0 1-.25-.25z",clipRule:"evenodd"})]}),ze=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"}),r.jsx("path",{fillRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-1.5 0a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0",clipRule:"evenodd"})]}),Te=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7.337 19H2a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.351c-.2.698-.42 1.353-.655 1.936-.293.73-.624 1.386-.993 1.872-.341.45-.856.942-1.546.942-.816 0-1.29-.637-1.536-1.145-.264-.545-.419-1.235-.503-1.905a11 11 0 0 1-.079-1.7M2 6.5h20a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5h-8.964a35 35 0 0 0 .378-1.872c.164-.947.288-1.902.361-2.806a13 13 0 0 1 1.573-.884l.056.143.128.325c.114.284.264.63.454.911.161.24.517.683 1.105.683 1.035 0 1.89-.59 2.49-1.386.6-.797 1.003-1.862 1.162-3.011a.75.75 0 1 0-1.486-.206c-.132.95-.457 1.76-.874 2.314-.37.49-.768.73-1.145.78l-.008-.011a3.7 3.7 0 0 1-.307-.636l-.098-.248a12 12 0 0 0-.228-.557 2 2 0 0 0-.224-.392c-.062-.083-.304-.397-.737-.397a.8.8 0 0 0-.27.05 12 12 0 0 0-1.517.723q-.003-.377-.023-.724c-.044-.734-.155-1.422-.382-1.95-.223-.52-.667-1.099-1.444-1.099-.52 0-1.215.217-1.9.486-.718.282-1.539.67-2.358 1.1-1.623.853-3.322 1.917-4.239 2.727a.75.75 0 1 0 .994 1.124c.78-.69 2.353-1.688 3.943-2.523a23 23 0 0 1 2.21-1.032c.646-.255 1.088-.368 1.31-.38a.7.7 0 0 1 .106.188c.125.292.222.776.262 1.449.03.48.027 1.023-.002 1.609-.524.377-1.03.785-1.506 1.207-1.358 1.207-2.527 2.596-3.131 3.843a2.6 2.6 0 0 0-.163.452H2a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5M11.084 19c-.152.496-.314.96-.482 1.377-.27.675-.543 1.192-.796 1.526-.183.24-.299.315-.343.337-.035-.027-.104-.102-.194-.288-.162-.335-.29-.842-.364-1.439A10 10 0 0 1 8.838 19zm.41-1.5H9.142c.518-.964 1.48-2.113 2.675-3.174q.158-.14.32-.278a32 32 0 0 1-.643 3.452m.442-8.77s.006.002.016.012q-.016-.009-.016-.011ZM9.488 22.257s-.003 0-.008-.003q.008.002.008.003m7.811-9.69-.01-.01z",clipRule:"evenodd"})]}),Oe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.25 2A.75.75 0 0 1 9 1.25c1.227 0 2.316.589 3 1.5a3.74 3.74 0 0 1 3-1.5.75.75 0 0 1 0 1.5A2.25 2.25 0 0 0 12.75 5H22a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.25v.002A2.25 2.25 0 0 0 15 21.25a.75.75 0 0 1 0 1.5 3.74 3.74 0 0 1-3-1.5 3.74 3.74 0 0 1-3 1.5.75.75 0 0 1 0-1.5A2.25 2.25 0 0 0 11.25 19H2a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h9.25A2.25 2.25 0 0 0 9 2.75.75.75 0 0 1 8.25 2M2 6.5h9.25v4.75h-1.5a.75.75 0 0 0 0 1.5h1.5v4.75H2a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5m10.75 6.25v4.75H22a.5.5 0 0 0 .5-.5V7a.5.5 0 0 0-.5-.5h-9.25v4.75h1.5a.75.75 0 0 1 0 1.5z",clipRule:"evenodd"})]}),Ie=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5"}),r.jsx("path",{fillRule:"evenodd",d:"M12 11a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m0-1.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8M12 24a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m0-1.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8",clipRule:"evenodd"})]}),Fe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{fillRule:"evenodd",clipPath:"url(#group-icon_svg__a)",clipRule:"evenodd",children:[r.jsx("path",{d:"M11.25 5a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 .75.75v7a.75.75 0 0 1-.75.75h-6.25V19a.75.75 0 0 1-.75.75H5a.75.75 0 0 1-.75-.75v-7a.75.75 0 0 1 .75-.75h6.25zm1.5.75v5.5h5.5v-5.5zm-7 7v5.5h5.5v-5.5z"}),r.jsx("path",{d:"M1.25 3.855A2 2 0 1 1 3.855 1.25h16.29a2 2 0 1 1 2.605 2.605v16.29a2 2 0 1 1-2.605 2.605H3.855a2 2 0 1 1-2.605-2.605zm20 16.29a2 2 0 0 0-1.105 1.105H3.855a2 2 0 0 0-1.105-1.105V3.855A2 2 0 0 0 3.855 2.75h16.29a2 2 0 0 0 1.105 1.105z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"group-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Me=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.25 6A.75.75 0 0 1 5 5.25h14a.75.75 0 0 1 0 1.5H5A.75.75 0 0 1 4.25 6m0 6a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75M5 17.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),Re=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M9.75 3.5a2.25 2.25 0 0 1 4.256-1.02A2.25 2.25 0 0 1 17.25 4.5v.878a2.25 2.25 0 0 1 3 2.122V16a6.75 6.75 0 0 1-6.75 6.75h-1.115a6.75 6.75 0 0 1-4.634-1.843l-5.92-5.59a2.55 2.55 0 0 1 3.43-3.773l1.489 1.303V6a2.25 2.25 0 0 1 3-2.122zm1.5 7.5a.75.75 0 0 1-1.5 0V6a.75.75 0 0 0-1.5 0v7.735c0 .942-1.11 1.446-1.82.825l-2.157-1.887a1.05 1.05 0 0 0-1.412 1.553l5.92 5.59a5.25 5.25 0 0 0 3.604 1.434H13.5c2.9 0 5.25-2.35 5.25-5.25V7.5a.75.75 0 0 0-1.5 0V11a.75.75 0 0 1-1.5 0V4.5a.75.75 0 0 0-1.5 0V11a.75.75 0 0 1-1.5 0V3.5a.75.75 0 0 0-1.5 0z",clipRule:"evenodd"})]}),je=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17.807 2.302c2.647.375 4.943 2.717 4.943 6.146 0 1.554-.718 3.156-1.686 4.63-.977 1.488-2.267 2.931-3.537 4.185a48 48 0 0 1-5.057 4.322l-.023.017-.008.006L12 21c-.438.609-.439.608-.439.608l-.002-.001-.006-.005-.023-.017-.088-.064a48 48 0 0 1-1.476-1.146 49 49 0 0 1-3.492-3.102c-1.27-1.25-2.56-2.686-3.537-4.164-.967-1.462-1.687-3.052-1.687-4.59 0-3.46 2.29-5.821 4.94-6.207a5.22 5.22 0 0 1 3.907 1.002c.749.56 1.4 1.335 1.903 2.329.504-.994 1.154-1.77 1.902-2.33a5.24 5.24 0 0 1 3.905-1.01ZM12 21l-.439.608a.75.75 0 0 0 .877 0zm0-.935a47 47 0 0 1-4.474-3.86c-1.23-1.212-2.44-2.566-3.338-3.923C3.28 10.909 2.75 9.619 2.75 8.519c0-2.746 1.774-4.449 3.657-4.723a3.72 3.72 0 0 1 2.793.72c.861.644 1.639 1.752 2.073 3.473a.75.75 0 0 0 1.454 0c.434-1.721 1.212-2.83 2.074-3.474a3.74 3.74 0 0 1 2.795-.727c1.886.267 3.654 1.955 3.654 4.66 0 1.12-.532 2.424-1.44 3.806-.897 1.366-2.107 2.727-3.337 3.942A47 47 0 0 1 12 20.065",clipRule:"evenodd"})]}),Be=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M21.53 3.53a.75.75 0 0 0-1.06-1.06l-18 18a.75.75 0 1 0 1.06 1.06zM12 4.25c1.364 0 2.643.29 3.815.753l-1.173 1.173A8.6 8.6 0 0 0 12 5.75c-2.937 0-5.513 1.608-7.405 3.308A20.3 20.3 0 0 0 1.918 12a20.3 20.3 0 0 0 2.677 2.942q.332.299.691.59L4.22 16.598a19 19 0 0 1-.627-.54A21.8 21.8 0 0 1 .6 12.739a13 13 0 0 1-.21-.302l-.013-.018-.004-.005v-.002S.372 12.41 1 12l-.627-.411.001-.003.004-.005.012-.018.044-.066q.058-.083.167-.236a21.8 21.8 0 0 1 2.992-3.319C5.596 6.142 8.52 4.25 12 4.25"}),r.jsx("path",{d:"m1 12-.627.41-.27-.41.27-.411zm11-5c.547 0 1.074.088 1.567.25l-1.262 1.263a3.5 3.5 0 0 0-3.792 3.792l-1.262 1.262A5 5 0 0 1 12 7m4.75 3.433-1.263 1.262a3.5 3.5 0 0 1-3.792 3.792l-1.262 1.262a5 5 0 0 0 6.317-6.317Z"}),r.jsx("path",{d:"M12 18.25c-.92 0-1.803-.158-2.642-.426l-1.173 1.173c1.172.462 2.45.753 3.815.753 3.48 0 6.404-1.892 8.407-3.692a21.8 21.8 0 0 0 2.992-3.319q.109-.151.167-.236l.03-.044.014-.022.012-.018.004-.005v-.002S23.628 12.41 23 12l.627.41.27-.41-.27-.41L23 12l.627-.41v-.002l-.001-.002-.004-.005-.012-.018a19 19 0 0 0-.843-1.128 22 22 0 0 0-2.36-2.493q-.3-.27-.627-.54l-1.066 1.066q.36.291.691.59A20.3 20.3 0 0 1 22.082 12a20.3 20.3 0 0 1-2.677 2.942c-1.892 1.7-4.468 3.308-7.405 3.308"})]}),Ne=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12m10-8.5v17a8.5 8.5 0 0 0 0-17",clipRule:"evenodd"})]}),Le=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4 2.5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3v-13a3 3 0 0 0-3-3zm3 3.75a.75.75 0 0 0 0 1.5h4.25V18a.75.75 0 0 0 1.5 0V7.75H17a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),Ke=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.55 2.4a.75.75 0 0 1 .9 0l8 6a.75.75 0 0 1 .3.6v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V9a.75.75 0 0 1 .3-.6zm7.7 6.975L12 3.938 4.75 9.375V20.25h4.5V16a2.75 2.75 0 1 1 5.5 0v4.25h4.5zm-6 10.875V16a1.25 1.25 0 1 0-2.5 0v4.25z",clipRule:"evenodd"})]}),Ve=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#horizontal-scroll-icon_svg__a)",children:r.jsx("path",{d:"m24.06 12-.522.523-.015.015-2.993 2.992a.75.75 0 1 1-1.06-1.06l1.72-1.72H17a.75.75 0 0 1 0-1.5h4.19l-1.72-1.72a.75.75 0 0 1 1.06-1.06l2.992 2.992.01.009.006.006.523.523ZM.478 11.462 3.47 8.47a.75.75 0 0 1 1.06 1.06l-1.72 1.72H7a.75.75 0 0 1 0 1.5H2.81l1.72 1.72a.75.75 0 1 1-1.06 1.06L.477 12.538l-.015-.015L-.061 12l.523-.523zM10.5 12a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"horizontal-scroll-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),qe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),r.jsx("path",{fillRule:"evenodd",d:"M23 18v-2l.03-.03-.03-.03V6a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2M21 5.5H3a.5.5 0 0 0-.5.5v10.44l3.47-3.47a.75.75 0 0 1 1.06 0l2.47 2.47 5.97-5.97a.75.75 0 0 1 1.06 0l4.97 4.97V6a.5.5 0 0 0-.5-.5m-18 13a.5.5 0 0 1-.322-.117L6.5 14.56l2.47 2.47a.75.75 0 0 0 1.06 0L16 11.06l5.5 5.5V18a.5.5 0 0 1-.5.5z",clipRule:"evenodd"})]}),He=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0 1.5c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m1-15.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m-3.5 3.5a.75.75 0 0 0 0 1.5h1.75v4H9.5a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5h-1.75v-5.5z",clipRule:"evenodd"})]}),Ze=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M9.75 7a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-1.901l-2.16 9.5H13a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1 0-1.5h1.901l2.16-9.5H10.5A.75.75 0 0 1 9.75 7"})]}),Ue=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.752.292a.75.75 0 0 1 .496 0l10 3.5a.75.75 0 0 1 0 1.416L17.128 7l5.12 1.792a.75.75 0 0 1 0 1.416L17.128 12l5.12 1.792a.75.75 0 0 1 0 1.416l-10 3.5a.75.75 0 0 1-.496 0l-10-3.5a.75.75 0 0 1 0-1.416L6.87 12l-5.118-1.792a.75.75 0 0 1 0-1.416L6.87 7 1.752 5.208a.75.75 0 0 1 0-1.416zm.495 8.416 2.613-.913L19.73 9.5 12 12.206 4.27 9.5l4.87-1.705 2.612.913a.75.75 0 0 0 .495 0M4.27 4.5 12 7.205 19.73 4.5 12 1.795z",clipRule:"evenodd"}),r.jsx("path",{d:"m3 24-3-5h6z"})]}),$e=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.248.292a.75.75 0 0 0-.496 0l-10 3.5a.75.75 0 0 0 0 1.416L6.87 7 1.752 8.792a.75.75 0 0 0 0 1.416L6.872 12l-5.12 1.792a.75.75 0 0 0 0 1.416l10 3.5a.75.75 0 0 0 .496 0l10-3.5a.75.75 0 0 0 0-1.416L17.128 12l5.12-1.792a.75.75 0 0 0 0-1.416L17.128 7l5.12-1.792a.75.75 0 0 0 0-1.416zM4.27 4.5 12 1.795 19.73 4.5 12 7.205zm7.482 9.208-2.61-.913L4.27 14.5 12 17.205l7.73-2.705-4.873-1.705-2.61.913a.75.75 0 0 1-.495 0",clipRule:"evenodd"}),r.jsx("path",{d:"m0 19 3 5 3-5z"})]}),Ge=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3 0 0 5h6z"}),r.jsx("path",{fillRule:"evenodd",d:"m6.873 12-5.12-1.792a.75.75 0 0 1 0-1.416l10-3.5a.75.75 0 0 1 .495 0l10 3.5a.75.75 0 0 1 0 1.416L17.128 12l5.12 1.792a.75.75 0 0 1 0 1.416L17.128 17l5.12 1.792a.75.75 0 0 1 0 1.416l-10 3.5a.75.75 0 0 1-.496 0l-10-3.5a.75.75 0 0 1 0-1.416L6.87 17l-5.118-1.792a.75.75 0 0 1 0-1.416L6.872 12Zm2.27.795L4.27 14.5 12 17.206l7.73-2.706-4.873-1.705-2.61.913a.75.75 0 0 1-.495 0zm-.003 5 2.612.913a.75.75 0 0 0 .495 0l2.613-.913 4.87 1.705L12 22.205 4.27 19.5z",clipRule:"evenodd"})]}),We=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3 0 0 5h6z"}),r.jsx("path",{fillRule:"evenodd",d:"M11.752 5.292a.75.75 0 0 1 .496 0l10 3.5a.75.75 0 0 1 0 1.416L17.128 12l5.12 1.792a.75.75 0 0 1 0 1.416L17.128 17l5.12 1.792a.75.75 0 0 1 0 1.416l-10 3.5a.75.75 0 0 1-.496 0l-10-3.5a.75.75 0 0 1 0-1.416L6.872 17l-5.12-1.792a.75.75 0 0 1 0-1.416L6.87 12l-5.118-1.792a.75.75 0 0 1 0-1.416zM4.27 9.5 12 12.206 19.73 9.5 12 6.795zm4.873 8.295 2.61.913a.75.75 0 0 0 .495 0l2.61-.913L19.73 19.5 12 22.205 4.27 19.5z",clipRule:"evenodd"})]}),Xe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12.248 3.292a.75.75 0 0 0-.496 0l-10 3.5a.75.75 0 0 0 0 1.416L6.874 10l-5.122 1.793a.75.75 0 0 0 0 1.416L6.87 15l-5.117 1.792a.75.75 0 0 0 0 1.416l10 3.5a.75.75 0 0 0 .496 0l10-3.5a.75.75 0 0 0 0-1.416L17.13 15l5.118-1.791a.75.75 0 0 0 0-1.416L17.126 10l5.122-1.792a.75.75 0 0 0 0-1.416zm2.608 7.503-2.608.913a.75.75 0 0 1-.496 0l-2.608-.913-4.874 1.706 5.086 1.78.032.011 2.612.914 7.73-2.705zM12 10.205 4.27 7.5 12 4.795 19.73 7.5zm-.248 6.504-2.613-.914L4.27 17.5 12 20.205l7.73-2.705-4.87-1.705-2.612.914a.75.75 0 0 1-.495 0Z",clipRule:"evenodd"})]}),Ye=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.25 20.25V22c0 .966.784 1.75 1.75 1.75h14A1.75 1.75 0 0 0 20.75 22V6.5a.75.75 0 0 0-.22-.53l-5.5-5.5a.75.75 0 0 0-.53-.22H5A1.75 1.75 0 0 0 3.25 2v1.75H1.5a.75.75 0 0 0 0 1.5h1.75v3.5H1.5a.75.75 0 0 0 0 1.5h1.75v3.5H1.5a.75.75 0 0 0 0 1.5h1.75v3.5H1.5a.75.75 0 0 0 0 1.5zM5 1.75a.25.25 0 0 0-.25.25v1.75H6.5a.75.75 0 0 1 0 1.5H4.75v3.5H6.5a.75.75 0 0 1 0 1.5H4.75v3.5H6.5a.75.75 0 0 1 0 1.5H4.75v3.5H6.5a.75.75 0 0 1 0 1.5H4.75V22c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V7.25H14.5a.75.75 0 0 1-.75-.75V1.75z",clipRule:"evenodd"})]}),Qe=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.25 2a.75.75 0 0 1 1.5 0v4.25H21a.75.75 0 0 1 0 1.5H3.75V12a.75.75 0 0 1-1.5 0zm14.28 9.47a.75.75 0 1 0-1.06 1.06l3.72 3.72H3a.75.75 0 0 0 0 1.5h16.19l-3.72 3.72a.75.75 0 1 0 1.06 1.06L22.06 17z",clipRule:"evenodd"})]}),Je=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M22.53 1.47a.75.75 0 0 1 0 1.06l-20 20a.75.75 0 0 1-1.06-1.06l20-20a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),et=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.53 9.03a.75.75 0 0 1-1.06 0L6.25 7.81v8.88l1.22-1.22a.75.75 0 0 1 1.06 1.06L5.5 19.56l-3.03-3.03a.75.75 0 0 1 1.06-1.06l1.22 1.22V7.81L3.53 9.03a.75.75 0 0 1-1.06-1.06L5.5 4.94l3.03 3.03a.75.75 0 0 1 0 1.06M21 7.75a.75.75 0 0 0 0-1.5h-9a.75.75 0 0 0 0 1.5zm.75 4.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1 0-1.5h9a.75.75 0 0 1 .75.75m0 5a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1 0-1.5h9a.75.75 0 0 1 .75.75"})]}),tt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 5.75h1.579v-1.5H2zm3.684 0h1.58v-1.5h-1.58zm3.684 0h1.58v-1.5h-1.58zm3.685 0h1.579v-1.5h-1.58zm3.684 0h1.579v-1.5h-1.58zm3.684 0H22v-1.5h-1.579zm-1.421 7h3v-1.5h-3zm-17 7h20v-1.5H2zm15-7h-4v-1.5h4zm-10 0h4v-1.5H7zm-2 0H2v-1.5h3z",clipRule:"evenodd"})]}),nt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M22 5.5H2v-1h20zm0 6.5H2v-2h20zM2 19.5h20v-3H2z",clipRule:"evenodd"})]}),rt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17.834 11.677a.75.75 0 0 1-1.06-1.06l2.12-2.122a2.25 2.25 0 0 0 0-3.182l-.706-.707a2.25 2.25 0 0 0-3.182 0l-4.243 4.242a2.25 2.25 0 0 0 0 3.182l.354.354a.75.75 0 0 1-1.061 1.06l-.354-.353a3.75 3.75 0 0 1 0-5.303l4.243-4.243a3.75 3.75 0 0 1 5.303 0l.707.707a3.75 3.75 0 0 1 0 5.303zm-11.667-.354a.75.75 0 0 1 1.06 1.06l-2.12 2.122a2.25 2.25 0 0 0 0 3.182l.706.707a2.25 2.25 0 0 0 3.182 0l4.243-4.242a2.25 2.25 0 0 0 0-3.182l-.354-.354a.75.75 0 0 1 1.061-1.06l.354.353a3.75 3.75 0 0 1 0 5.303l-4.243 4.243a3.75 3.75 0 0 1-5.303 0l-.707-.707a3.75 3.75 0 0 1 0-5.303z",clipRule:"evenodd"})]}),ot=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.25 6a4.75 4.75 0 0 1 9.5 0v3H18a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3h1.25zm8 0v3h-6.5V6a3.25 3.25 0 0 1 6.5 0m-1.75 8.5a1.5 1.5 0 0 1-.75 1.3V18a.75.75 0 0 1-1.5 0v-2.2a1.5 1.5 0 1 1 2.25-1.3",clipRule:"evenodd"})]}),it=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 15.8a1.5 1.5 0 1 0-1.5 0V18a.75.75 0 0 0 1.5 0z"}),r.jsx("path",{fillRule:"evenodd",d:"M12 1.25A4.75 4.75 0 0 0 7.25 6v3H6a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8a3 3 0 0 0-3-3h-1.25V6A4.75 4.75 0 0 0 12 1.25M15.25 9V6a3.25 3.25 0 0 0-6.5 0v3zM4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 1.5 1.5v8a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 20z",clipRule:"evenodd"})]}),at=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.693 1.315c-.115-.801-1.272-.801-1.386 0l-.25 1.743-1.742.249c-.801.115-.801 1.271 0 1.386l1.743.249.249 1.743c.114.801 1.271.801 1.386 0l.249-1.743 1.742-.249c.802-.114.802-1.271 0-1.386l-1.742-.249zm-7 10c-.115-.801-1.272-.801-1.386 0l-.25 1.743-1.742.249c-.801.114-.801 1.271 0 1.386l1.743.249.249 1.743c.114.801 1.271.801 1.386 0l.249-1.743 1.742-.249c.802-.114.802-1.271 0-1.386l-1.742-.249-.25-1.743Zm14 5c-.115-.801-1.272-.801-1.386 0l-.25 1.743-1.742.249c-.801.115-.802 1.271 0 1.386l1.743.249.249 1.743c.114.801 1.271.801 1.386 0l.249-1.743 1.742-.249c.802-.115.802-1.271 0-1.386l-1.742-.249-.25-1.743ZM20 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M4 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0m5 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})]}),st=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#magic-pen-icon_svg__a)",children:[r.jsx("path",{d:"M12.964 1a.964.964 0 1 0-1.929 0v4a.964.964 0 1 0 1.929 0z"}),r.jsx("path",{fillRule:"evenodd",d:"m9.731 9.646-.086.086a2.5 2.5 0 0 0 0 3.536l9.586 9.585a2.5 2.5 0 0 0 3.535 0l.086-.085a2.5 2.5 0 0 0 0-3.536l-9.585-9.586a2.5 2.5 0 0 0-3.536 0m1.06 1.061-.085.086a1 1 0 0 0 0 1.414l9.586 9.586a1 1 0 0 0 1.414 0l.086-.086a1 1 0 0 0 0-1.414l-9.586-9.586a1 1 0 0 0-1.414 0Z",clipRule:"evenodd"}),r.jsx("path",{d:"M12 18.036c.532 0 .964.431.964.964v4a.964.964 0 1 1-1.929 0v-4c0-.533.432-.964.964-.964Zm11-5.072a.964.964 0 1 0 0-1.928h-4a.964.964 0 0 0 0 1.928zM5.964 12a.964.964 0 0 1-.965.964H1a.964.964 0 1 1 0-1.928h4c.533 0 .965.431.965.964ZM20.46 4.904a.964.964 0 0 0-1.365-1.364l-2.592 2.593a.964.964 0 1 0 1.363 1.363zm-12.965 11.6a.964.964 0 0 1 0 1.363L4.902 20.46a.964.964 0 1 1-1.363-1.364l2.592-2.592a.964.964 0 0 1 1.364 0M6.132 7.496a.964.964 0 1 0 1.364-1.363L4.903 3.54a.964.964 0 0 0-1.364 1.364z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"magic-pen-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),lt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 3.5h18A2.5 2.5 0 0 1 23.5 6v11a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 17V6A2.5 2.5 0 0 1 3 3.5M2 16.94V6.06l5.44 5.44zM3.06 18h17.88l-5.44-5.44-.848.849a3.75 3.75 0 0 1-5.304 0l-.848-.848zm13.5-6.5L22 16.94V6.06zM3.06 5h17.88l-7.349 7.348a2.25 2.25 0 0 1-3.182 0z",clipRule:"evenodd"})]}),ut=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.358 12.58c-.456.464-.9.916-1.328 1.343a.75.75 0 1 1-1.06-1.06c.405-.406.833-.842 1.28-1.296 1.72-1.75 3.694-3.761 5.556-5.24 1.17-.928 2.36-1.704 3.474-2.061 1.139-.366 2.329-.325 3.25.596.537.537.746 1.184.651 1.867-.087.63-.422 1.226-.823 1.761-.732.98-1.893 2.019-2.999 3.008l-.296.265c-1.237 1.111-2.357 2.152-2.972 3.106-.303.47-.435.849-.444 1.148-.008.265.077.539.383.845.165.165.314.21.484.203.207-.009.494-.1.875-.32.77-.449 1.64-1.255 2.6-2.15l.044-.043c.904-.843 1.891-1.765 2.824-2.308.48-.278 1.013-.5 1.567-.523a2.1 2.1 0 0 1 1.606.641c.365.365.573.797.603 1.276.03.457-.108.882-.29 1.246-.343.686-.963 1.374-1.492 1.962l-.043.048c-.587.651-1.067 1.195-1.31 1.678-.114.23-.14.382-.134.48.005.076.031.175.166.31.172.172.526.298 1.3-.034.751-.322 1.673-.999 2.64-1.966a.75.75 0 1 1 1.06 1.06c-1.033 1.034-2.111 1.857-3.11 2.285-.976.419-2.122.544-2.95-.284-.365-.365-.573-.797-.603-1.276-.03-.457.108-.882.29-1.246.343-.686.963-1.374 1.492-1.962l.043-.048c.587-.651 1.067-1.194 1.309-1.678.115-.229.141-.382.135-.48-.005-.076-.031-.175-.166-.31-.165-.165-.314-.21-.484-.203-.207.009-.494.1-.875.32-.77.449-1.64 1.255-2.6 2.15l-.044.043c-.904.843-1.891 1.765-2.824 2.308-.48.278-1.013.5-1.567.523a2.1 2.1 0 0 1-1.606-.641c-.569-.569-.844-1.232-.822-1.95.02-.683.306-1.332.682-1.917.745-1.155 2.032-2.333 3.232-3.41l.262-.235c1.147-1.027 2.195-1.967 2.833-2.82.342-.456.503-.809.538-1.068.029-.205-.012-.387-.225-.6-.383-.383-.907-.494-1.731-.229-.85.273-1.87.91-3 1.808-1.781 1.414-3.666 3.332-5.381 5.077Z",clipRule:"evenodd"})]}),ct=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M.5 4H2V2h2V.5H2A1.5 1.5 0 0 0 .5 2zm23 0H22V2h-2V.5h2A1.5 1.5 0 0 1 23.5 2zm0 3H22v3.5h1.5zm0 6.5H22V17h1.5zM.5 7H2v3.5H.5zm0 6.5H2V17H.5zm0 6.5H2v2h2v1.5H2A1.5 1.5 0 0 1 .5 22zM7 23.5V22h3.5v1.5zm6.5 0V22H17v1.5zM17 .5V2h-3.5V.5zm-6.5 0V2H7V.5zM12 8.75a.75.75 0 0 1 .75.75v1.75h1.75a.75.75 0 0 1 0 1.5h-1.75v1.75a.75.75 0 0 1-1.5 0v-1.75H9.5a.75.75 0 0 1 0-1.5h1.75V9.5a.75.75 0 0 1 .75-.75"}),r.jsx("path",{fillRule:"evenodd",d:"M17.807 16.747a7.5 7.5 0 1 0-1.06 1.06l4.723 4.723a.75.75 0 1 0 1.06-1.06zM18 12a6 6 0 1 1-12 0 6 6 0 0 1 12 0",clipRule:"evenodd"})]}),dt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M.75 5.25A.75.75 0 0 1 1.5 6v5.996l4.466-4.523a.75.75 0 1 1 1.068 1.054l-2.69 2.723h15.311l-2.689-2.723a.75.75 0 1 1 1.068-1.054l4.466 4.523V6A.75.75 0 0 1 24 6v12a.75.75 0 0 1-1.5 0v-5.996l-4.466 4.523a.75.75 0 0 1-1.067-1.054l2.689-2.723H4.345l2.689 2.723a.75.75 0 0 1-1.068 1.054L1.5 12.004V18A.75.75 0 0 1 0 18V6a.75.75 0 0 1 .75-.75"})]}),pt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#mentions-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M12 .45C5.621.45.45 5.621.45 12S5.621 23.55 12 23.55h6a.75.75 0 0 0 0-1.5h-6c-5.55 0-10.05-4.5-10.05-10.05S6.45 1.95 12 1.95h1.638a8.41 8.41 0 0 1 8.412 8.412V14.1a2.55 2.55 0 0 1-5.1 0V6a.75.75 0 0 0-1.5 0v1.426a5.25 5.25 0 0 0-9 3.674v1.8a5.25 5.25 0 0 0 9.479 3.112A4.05 4.05 0 0 0 23.55 14.1v-3.738c0-5.474-4.438-9.912-9.912-9.912zm3.45 12.45v-1.8a3.75 3.75 0 1 0-7.5 0v1.8a3.75 3.75 0 0 0 7.5 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"mentions-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),ht=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M11.25 12A8.25 8.25 0 0 0 3 3.75H2a.75.75 0 0 1 0-1.5h1a9.75 9.75 0 0 1 9 5.993 9.75 9.75 0 0 1 9-5.993h1a.75.75 0 0 1 0 1.5h-1A8.25 8.25 0 0 0 12.75 12v7.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L12 22.06l-4.53-4.53a.75.75 0 1 1 1.06-1.06l2.72 2.72z"})]}),ft=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.25 4A2.75 2.75 0 0 1 4 1.25h16A2.75 2.75 0 0 1 22.75 4v12A2.75 2.75 0 0 1 20 18.75h-7.21l-5.285 4.805A.75.75 0 0 1 6.25 23v-4.25H4A2.75 2.75 0 0 1 1.25 16zM4 2.75c-.69 0-1.25.56-1.25 1.25v12c0 .69.56 1.25 1.25 1.25h3a.75.75 0 0 1 .75.75v3.305l4.245-3.86a.75.75 0 0 1 .505-.195H20c.69 0 1.25-.56 1.25-1.25V4c0-.69-.56-1.25-1.25-1.25z",clipRule:"evenodd"})]}),mt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})]}),gt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M8 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m9.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),vt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17 12a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m-6.5 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m-5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3",clipRule:"evenodd"})]}),yt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-1.5 5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0"})]}),bt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#move-all-directions-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"m12 .94 3.53 3.53a.75.75 0 0 1-1.06 1.06l-1.72-1.72v7.44h7.44l-1.72-1.72a.75.75 0 0 1 1.06-1.06L23.06 12l-3.53 3.53a.75.75 0 1 1-1.06-1.06l1.72-1.72h-7.44v7.44l1.72-1.72a.75.75 0 1 1 1.06 1.06L12 23.06l-3.53-3.53a.75.75 0 1 1 1.06-1.06l1.72 1.72v-7.44H3.81l1.72 1.72a.75.75 0 1 1-1.06 1.06L.94 12l3.53-3.53a.75.75 0 0 1 1.06 1.06l-1.72 1.72h7.44V3.81L9.53 5.53a.75.75 0 0 1-1.06-1.06z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"move-all-directions-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),wt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M18 7.25a.75.75 0 0 0-.75.75v3.25H7.81l2.72-2.72a.75.75 0 0 0-1.06-1.06L4.94 12l4.53 4.53a.75.75 0 1 0 1.06-1.06l-2.72-2.72h9.44V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-.75-.75",clipRule:"evenodd"})]}),xt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M18.53 7.47a.75.75 0 1 0-1.06 1.06l2.72 2.72H3.81l2.72-2.72a.75.75 0 1 0-1.06-1.06L.94 12l4.53 4.53a.75.75 0 0 0 1.06-1.06l-2.72-2.72h16.38l-2.72 2.72a.75.75 0 1 0 1.06 1.06L23.06 12z"})]}),Dt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 7.25a.75.75 0 0 1 .75.75v3.25h9.44l-2.72-2.72a.75.75 0 0 1 1.06-1.06L19.06 12l-4.53 4.53a.75.75 0 1 1-1.06-1.06l2.72-2.72H6.75V16a.75.75 0 0 1-1.5 0V8A.75.75 0 0 1 6 7.25",clipRule:"evenodd"})]}),Ct=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#multiple-pages-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M10.5 2A1.5 1.5 0 0 1 12 .5h6a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 23.5 6v10a1.5 1.5 0 0 1-1.5 1.5H12a1.5 1.5 0 0 1-1.5-1.5zM12 16V2h6v3a1 1 0 0 0 1 1h3v10zM7 3.5h2V5H7v14h11.5a1.5 1.5 0 0 1-1.5 1.5H7A1.5 1.5 0 0 1 5.5 19V5A1.5 1.5 0 0 1 7 3.5m-5 3h2V8H2v14h11.5a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 22V8A1.5 1.5 0 0 1 2 6.5",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"multiple-pages-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Et=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.22 3.28a.75.75 0 0 1 1.06-1.06l18 18a.75.75 0 1 1-1.06 1.06l-6.47-6.47-6.177 6.177a1.75 1.75 0 0 1-1.237.513H2v-4.336c0-.464.184-.909.513-1.237L8.689 9.75zm7.53 7.53-6.177 6.177a.25.25 0 0 0-.073.177V20h2.836a.25.25 0 0 0 .177-.073l6.176-6.177zm9.445-7.676a2.75 2.75 0 0 0-3.89 0L10.72 7.72l1.06 1.06 1.97-1.97 2.94 2.94-1.97 1.97 1.06 1.06 4.586-4.585a2.75 2.75 0 0 0 0-3.89zM17.75 8.689 14.81 5.75l1.556-1.555a1.25 1.25 0 0 1 1.768 0l1.171 1.171a1.25 1.25 0 0 1 0 1.768z",clipRule:"evenodd"})]}),St=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.25 9A.75.75 0 0 1 8 8.25h8a.75.75 0 0 1 0 1.5H8A.75.75 0 0 1 7.25 9M8 12.25a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M2.25 6A2.75 2.75 0 0 1 5 3.25h14A2.75 2.75 0 0 1 21.75 6v10A2.75 2.75 0 0 1 19 18.75h-3.08c-.365 0-.712.16-.95.436L13.4 21.02a1.75 1.75 0 0 1-2.752-.122l-1.16-1.623a1.25 1.25 0 0 0-1.017-.524H5A2.75 2.75 0 0 1 2.25 16zM5 4.75c-.69 0-1.25.56-1.25 1.25v10c0 .69.56 1.25 1.25 1.25h3.47a2.75 2.75 0 0 1 2.239 1.152l1.16 1.623a.25.25 0 0 0 .393.018l1.57-1.833a2.75 2.75 0 0 1 2.088-.96H19c.69 0 1.25-.56 1.25-1.25V6c0-.69-.56-1.25-1.25-1.25z",clipRule:"evenodd"})]}),_t=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.25 9A.75.75 0 0 1 7 8.25h10a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 9M7 12.25a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M2.25 6A2.75 2.75 0 0 1 5 3.25h14A2.75 2.75 0 0 1 21.75 6v7.172a2.75 2.75 0 0 1-.613 1.73 1 1 0 0 1-.119.14l-4.976 4.976a1 1 0 0 1-.14.12 2.75 2.75 0 0 1-1.73.612H5A2.75 2.75 0 0 1 2.25 18zm17.997 7.25H16A1.75 1.75 0 0 0 14.25 15v4.247l-.078.003H5c-.69 0-1.25-.56-1.25-1.25V6c0-.69.56-1.25 1.25-1.25h14c.69 0 1.25.56 1.25 1.25v7.172q0 .039-.003.078",clipRule:"evenodd"})]}),Pt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3.5 6H2V2h4v1.5H3.5zM7 7.25a.75.75 0 0 0 0 1.5h4.25V17a.75.75 0 0 0 1.5 0V8.75H17a.75.75 0 0 0 0-1.5zM18 2v1.5h2.5V6H22V2zM3.5 18H2v4h4v-1.5H3.5zM18 22v-1.5h2.5V18H22v4z"})]}),kt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M1.5 12c0 5.799 4.701 10.5 10.5 10.5S22.5 17.799 22.5 12 17.799 1.5 12 1.5 1.5 6.201 1.5 12M3 12a9 9 0 0 1 9-9h.005v18h.019H12a9 9 0 0 1-9-9m10.505 8.875a9 9 0 0 0 1.49-.385V3.51a9 9 0 0 0-1.49-.385zM16.495 4.2v15.598a9 9 0 0 0 1.5-1.086V5.287a9 9 0 0 0-1.5-1.086Zm3 2.814v9.97A8.96 8.96 0 0 0 21 12a8.96 8.96 0 0 0-1.505-4.985Z",clipRule:"evenodd"})]}),At=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M3.25 2c0-.966.784-1.75 1.75-1.75h9.5a.75.75 0 0 1 .53.22l5.5 5.5c.141.14.22.331.22.53V22A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22zM5 1.75a.25.25 0 0 0-.25.25v20c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V7.25H14.5a.75.75 0 0 1-.75-.75V1.75z",clipRule:"evenodd"})]}),zt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.25 4c0-.968.784-1.747 1.747-1.751 3.193-.014 6.301-.164 9.677-1.673 1.14-.51 2.576.259 2.576 1.62v.054H19c.966 0 1.75.784 1.75 1.75v18A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22zm12.036-2.054a.35.35 0 0 1 .327.022.26.26 0 0 1 .137.229v16.685c0 .072-.03.124-.07.157-3.026 2.412-7.087 3.1-10.701 3.198a.22.22 0 0 1-.172-.078A.25.25 0 0 1 4.75 22V4c0-.137.111-.25.253-.251 3.234-.014 6.607-.16 10.283-1.803M13.075 22.25H19a.25.25 0 0 0 .25-.25V4a.25.25 0 0 0-.25-.25h-1.75v15.132c0 .509-.222 1-.635 1.33a14.1 14.1 0 0 1-3.54 2.038",clipRule:"evenodd"})]}),Tt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M10 .5A1.5 1.5 0 0 0 8.5 2v1H10V2h8v3a1 1 0 0 0 1 1h3v12h-3v1.5h3a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-.44-1.06l-4-4A1.5 1.5 0 0 0 18 .5zm.75 12.5a.75.75 0 0 0-1.5 0v2.25H7a.75.75 0 0 0 0 1.5h2.25V19a.75.75 0 0 0 1.5 0v-2.25H13a.75.75 0 0 0 0-1.5h-2.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M2.5 6A1.5 1.5 0 0 1 4 4.5h8a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 17.5 10v12a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 22zM4 22V6h8v3a1 1 0 0 0 1 1h3v12z",clipRule:"evenodd"})]}),Ot=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M0 6a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm20.75-1H22a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-1.25zm-1.5 0H4.75v14h14.5zm-16 14V5H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1z",clipRule:"evenodd"})]}),It=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M21 5a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm-4 1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4zM7 18H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h4zM8.5 6.5h7v11h-7z",clipRule:"evenodd"})]}),Ft=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M0 3.75h1a.25.25 0 0 1 .25.25v16a.25.25 0 0 1-.25.25H0v1.5h1A1.75 1.75 0 0 0 2.75 20V4A1.75 1.75 0 0 0 1 2.25H0z"}),r.jsx("path",{fillRule:"evenodd",d:"M4.25 4c0-.966.784-1.75 1.75-1.75h12c.966 0 1.75.784 1.75 1.75v16A1.75 1.75 0 0 1 18 21.75H6A1.75 1.75 0 0 1 4.25 20zM6 3.75a.25.25 0 0 0-.25.25v16c0 .138.112.25.25.25h12a.25.25 0 0 0 .25-.25V4a.25.25 0 0 0-.25-.25z",clipRule:"evenodd"}),r.jsx("path",{d:"M23 3.75a.25.25 0 0 0-.25.25v16c0 .138.112.25.25.25h1v1.5h-1A1.75 1.75 0 0 1 21.25 20V4c0-.966.784-1.75 1.75-1.75h1v1.5z"})]}),Mt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M23.75 19A1.75 1.75 0 0 1 22 20.75H2A1.75 1.75 0 0 1 .25 19V5c0-.966.784-1.75 1.75-1.75h15.5a.75.75 0 0 1 .53.22l5.5 5.5c.141.14.22.331.22.53zm-1.75.25a.25.25 0 0 0 .25-.25v-8.75H17.5a.75.75 0 0 1-.75-.75V4.75H2a.25.25 0 0 0-.25.25v14c0 .138.112.25.25.25z",clipRule:"evenodd"})]}),Rt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 20.75A1.75 1.75 0 0 1 .25 19V5c0-.966.784-1.75 1.75-1.75h20c.966 0 1.75.784 1.75 1.75v14A1.75 1.75 0 0 1 22 20.75zM1.75 5A.25.25 0 0 1 2 4.75h9.25v14.5H2a.25.25 0 0 1-.25-.25zm11-.25v14.5H22a.25.25 0 0 0 .25-.25V5a.25.25 0 0 0-.25-.25z",clipRule:"evenodd"})]}),jt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5 1.75a.25.25 0 0 0-.25.25v20c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V2a.25.25 0 0 0-.25-.25zM3.25 2c0-.966.784-1.75 1.75-1.75h14c.966 0 1.75.784 1.75 1.75v20A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22z",clipRule:"evenodd"})]}),Bt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#page-move-left-icon_svg__a)",children:[r.jsx("path",{d:"M23.5 4A1.5 1.5 0 0 0 22 2.5h-7a1.5 1.5 0 0 0-1.06.44l-4 4A1.5 1.5 0 0 0 9.5 8v2H11V8h4V4h7v16H11v-2H9.5v2a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5-1.5z"}),r.jsx("path",{d:"M5.53 9.47a.75.75 0 0 0-1.06 0L-.06 14l4.53 4.53a.75.75 0 0 0 1.06-1.06l-2.72-2.72H16a.75.75 0 0 0 0-1.5H2.81l2.72-2.72a.75.75 0 0 0 0-1.06"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"page-move-left-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Nt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#page-move-right-icon_svg__a)",children:[r.jsx("path",{d:"M.5 4A1.5 1.5 0 0 1 2 2.5h7a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 14.5 8v2H13V8H9V4H2v16h11v-2h1.5v2a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 20z"}),r.jsx("path",{d:"M18.47 9.47a.75.75 0 0 1 1.06 0L24.06 14l-4.53 4.53a.75.75 0 1 1-1.06-1.06l2.72-2.72H8a.75.75 0 0 1 0-1.5h13.19l-2.72-2.72a.75.75 0 0 1 0-1.06"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"page-move-right-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Lt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.656 8.182a.75.75 0 1 0-1.455-.364L9.843 9.25H8.5a.75.75 0 0 0 0 1.5h.968l-.625 2.5H7.43a.75.75 0 0 0 0 1.5h1.04l-.27 1.068a.75.75 0 0 0 1.455.364l.358-1.432h2.454l-.267 1.068a.75.75 0 0 0 1.455.364l.358-1.432h1.415a.75.75 0 0 0 0-1.5h-1.04l.625-2.5h1.415a.75.75 0 0 0 0-1.5h-1.04l.267-1.068a.75.75 0 1 0-1.455-.364l-.358 1.432H11.39zm1.187 5.068H10.39l.625-2.5h2.454l-.625 2.5Z",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),Kt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.635 11.279a.75.75 0 0 1 .515.927l-.299 1.044h1.44l.416-1.456a.75.75 0 0 1 1.443.412l-.299 1.044h1.006a.75.75 0 1 1 0 1.5h-1.434l-.429 1.5H15a.75.75 0 0 1 0 1.5h-1.434l-.416 1.456a.75.75 0 0 1-1.443-.412l.299-1.044h-1.44l-.416 1.456a.75.75 0 0 1-1.443-.412l.299-1.044H8a.75.75 0 0 1 0-1.5h1.434l.429-1.5H8.857a.75.75 0 0 1 0-1.5h1.434l.416-1.456a.75.75 0 0 1 .928-.515m-.212 3.471-.429 1.5h1.44l.429-1.5z",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M3.25 2c0-.966.784-1.75 1.75-1.75h9.5a.75.75 0 0 1 .53.22l5.5 5.5c.141.14.22.331.22.53V22A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22zM5 1.75a.25.25 0 0 0-.25.25v20c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V7.25H14.5a.75.75 0 0 1-.75-.75V1.75z",clipRule:"evenodd"})]}),Vt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5 .25A1.75 1.75 0 0 0 3.25 2v20c0 .966.784 1.75 1.75 1.75h14A1.75 1.75 0 0 0 20.75 22V6.5a.75.75 0 0 0-.22-.53l-5.5-5.5a.75.75 0 0 0-.53-.22zM4.75 2A.25.25 0 0 1 5 1.75h8.75V6.5c0 .414.336.75.75.75h4.75V22a.25.25 0 0 1-.25.25H5a.25.25 0 0 1-.25-.25z",clipRule:"evenodd"})]}),qt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.25 15a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75"}),r.jsx("path",{fillRule:"evenodd",d:"M3.25 2c0-.966.784-1.75 1.75-1.75h9.5a.75.75 0 0 1 .53.22l5.5 5.5c.141.14.22.331.22.53V22A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22zM5 1.75a.25.25 0 0 0-.25.25v20c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V7.25H14.5a.75.75 0 0 1-.75-.75V1.75z",clipRule:"evenodd"})]}),Ht=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M5.75 4V0h-1.5v4c0 .966.784 1.75 1.75 1.75h12A1.75 1.75 0 0 0 19.75 4V0h-1.5v4a.25.25 0 0 1-.25.25H6A.25.25 0 0 1 5.75 4m0 5A.25.25 0 0 1 6 8.75h12a.25.25 0 0 1 .25.25v15h1.5V9A1.75 1.75 0 0 0 18 7.25H6A1.75 1.75 0 0 0 4.25 9v15h1.5z"})]}),Zt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#pages-insert-alt-icon_svg__a)",children:[r.jsx("path",{d:"M4 0H3a1.5 1.5 0 0 0-1.5 1.5v12A1.5 1.5 0 0 0 3 15h1v-1.5H3v-12h1zm3.5 0H9v1.5H7.5v12H9V15H7.5A1.5 1.5 0 0 1 6 13.5v-12A1.5 1.5 0 0 1 7.5 0"}),r.jsx("path",{fillRule:"evenodd",d:"M11 1.5A1.5 1.5 0 0 1 12.5 0h5a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 23 5.5v8a1.5 1.5 0 0 1-1.5 1.5h-9a1.5 1.5 0 0 1-1.5-1.5zm1.5 12v-12h5v3a1 1 0 0 0 1 1h3v8z",clipRule:"evenodd"}),r.jsx("path",{d:"M8.47 20.53a.75.75 0 1 1 1.06-1.06l1.72 1.72V17a.75.75 0 0 1 1.5 0v4.19l1.72-1.72a.75.75 0 1 1 1.06 1.06L12 24.06z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-insert-alt-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Ut=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#pages-insert-icon_svg__a)",children:[r.jsx("path",{fillRule:"evenodd",d:"M2 .25A1.75 1.75 0 0 0 .25 2v5c0 .966.784 1.75 1.75 1.75h3A1.75 1.75 0 0 0 6.75 7V2A1.75 1.75 0 0 0 5 .25zM1.75 2A.25.25 0 0 1 2 1.75h3a.25.25 0 0 1 .25.25v5a.25.25 0 0 1-.25.25H2A.25.25 0 0 1 1.75 7z",clipRule:"evenodd"}),r.jsx("path",{d:"M.25 11a.75.75 0 0 1 1.5 0v2c0 .69.56 1.25 1.25 1.25h18c.69 0 1.25-.56 1.25-1.25v-2a.75.75 0 0 1 1.5 0v2A2.75 2.75 0 0 1 21 15.75h-8.25v5.44l1.72-1.72a.75.75 0 0 1 1.06 1.06L12 24.06l-3.53-3.53a.75.75 0 1 1 1.06-1.06l1.72 1.72v-5.44H3A2.75 2.75 0 0 1 .25 13z"}),r.jsx("path",{fillRule:"evenodd",d:"M8.75 2c0-.966.784-1.75 1.75-1.75h3c.966 0 1.75.784 1.75 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-3A1.75 1.75 0 0 1 8.75 7zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h3a.25.25 0 0 0 .25-.25V2a.25.25 0 0 0-.25-.25zM19 .25A1.75 1.75 0 0 0 17.25 2v5c0 .966.784 1.75 1.75 1.75h3A1.75 1.75 0 0 0 23.75 7V2A1.75 1.75 0 0 0 22 .25zM18.75 2a.25.25 0 0 1 .25-.25h3a.25.25 0 0 1 .25.25v5a.25.25 0 0 1-.25.25h-3a.25.25 0 0 1-.25-.25z",clipRule:"evenodd"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-insert-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),$t=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#pages-new-from-selection-alt-icon_svg__a)",children:[r.jsx("path",{d:"M15.53 4.53a.75.75 0 0 0 0-1.06L12-.06 8.47 3.47a.75.75 0 0 0 1.06 1.06l1.72-1.72V7a.75.75 0 0 0 1.5 0V2.81l1.72 1.72a.75.75 0 0 0 1.06 0"}),r.jsx("path",{fillRule:"evenodd",d:"M11 10.5A1.5 1.5 0 0 1 12.5 9h5a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 23 14.5v8a1.5 1.5 0 0 1-1.5 1.5h-9a1.5 1.5 0 0 1-1.5-1.5zm1.5 12v-12h5v3a1 1 0 0 0 1 1h3v8z",clipRule:"evenodd"}),r.jsx("path",{d:"M9 9H7.5A1.5 1.5 0 0 0 6 10.5v12A1.5 1.5 0 0 0 7.5 24H9v-1.5H7.5v-12H9zM3 9h1v1.5H3v12h1V24H3a1.5 1.5 0 0 1-1.5-1.5v-12A1.5 1.5 0 0 1 3 9"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-new-from-selection-alt-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Gt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#pages-new-from-selection-icon_svg__a)",children:[r.jsx("path",{d:"M.25 13a.75.75 0 0 0 1.5 0v-2c0-.69.56-1.25 1.25-1.25h18c.69 0 1.25.56 1.25 1.25v2a.75.75 0 0 0 1.5 0v-2A2.75 2.75 0 0 0 21 8.25h-8.25V2.81l1.72 1.72a.75.75 0 0 0 1.06-1.06L12-.06 8.47 3.47a.75.75 0 0 0 1.06 1.06l1.72-1.72v5.44H3A2.75 2.75 0 0 0 .25 11z"}),r.jsx("path",{fillRule:"evenodd",d:"M2 23.75A1.75 1.75 0 0 1 .25 22v-5c0-.966.784-1.75 1.75-1.75h3c.966 0 1.75.784 1.75 1.75v5A1.75 1.75 0 0 1 5 23.75zM1.75 22c0 .138.112.25.25.25h3a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25H2a.25.25 0 0 0-.25.25zm7 0c0 .966.784 1.75 1.75 1.75h3A1.75 1.75 0 0 0 15.25 22v-5a1.75 1.75 0 0 0-1.75-1.75h-3A1.75 1.75 0 0 0 8.75 17zm1.75.25a.25.25 0 0 1-.25-.25v-5a.25.25 0 0 1 .25-.25h3a.25.25 0 0 1 .25.25v5a.25.25 0 0 1-.25.25zm8.5 1.5A1.75 1.75 0 0 1 17.25 22v-5c0-.966.784-1.75 1.75-1.75h3c.966 0 1.75.784 1.75 1.75v5A1.75 1.75 0 0 1 22 23.75zM18.75 22c0 .138.112.25.25.25h3a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25h-3a.25.25 0 0 0-.25.25z",clipRule:"evenodd"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-new-from-selection-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Wt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#pages-select-all-icon_svg__a)",children:[r.jsx("path",{d:"M.5 4H2V2h2V.5H2A1.5 1.5 0 0 0 .5 2zm23 0H22V2h-2V.5h2A1.5 1.5 0 0 1 23.5 2zm0 3H22v3.5h1.5zm0 6.5H22V17h1.5zm0 6.5H22v2h-2v1.5h2a1.5 1.5 0 0 0 1.5-1.5zM.5 7H2v3.5H.5zm0 6.5H2V17H.5zm0 6.5H2v2h2v1.5H2A1.5 1.5 0 0 1 .5 22zM7 23.5V22h3.5v1.5zm6.5 0V22H17v1.5zM17 .5V2h-3.5V.5zm-6.5 0V2H7V.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M4 5.5A1.5 1.5 0 0 1 5.5 4h4A1.5 1.5 0 0 1 11 5.5v4A1.5 1.5 0 0 1 9.5 11h-4A1.5 1.5 0 0 1 4 9.5zm1.5 0v4h4v-4zm-1.5 9A1.5 1.5 0 0 1 5.5 13h4a1.5 1.5 0 0 1 1.5 1.5v4A1.5 1.5 0 0 1 9.5 20h-4A1.5 1.5 0 0 1 4 18.5zm1.5 0v4h4v-4zm9-10.5A1.5 1.5 0 0 0 13 5.5v4a1.5 1.5 0 0 0 1.5 1.5h4A1.5 1.5 0 0 0 20 9.5v-4A1.5 1.5 0 0 0 18.5 4zm0 5.5v-4h4v4zm-1.5 5a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 1.5 1.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a1.5 1.5 0 0 1-1.5-1.5zm1.5 0v4h4v-4z",clipRule:"evenodd"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-select-all-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Xt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#pages-select-none-icon_svg__a)",children:r.jsx("path",{d:"M.5 4H2V2h2V.5H2A1.5 1.5 0 0 0 .5 2zm23 0H22V2h-2V.5h2A1.5 1.5 0 0 1 23.5 2zm0 3H22v3.5h1.5zm0 6.5H22V17h1.5zm0 6.5H22v2h-2v1.5h2a1.5 1.5 0 0 0 1.5-1.5zM.5 7H2v3.5H.5zm0 6.5H2V17H.5zm0 6.5H2v2h2v1.5H2A1.5 1.5 0 0 1 .5 22zM7 23.5V22h3.5v1.5zm6.5 0V22H17v1.5zM17 .5V2h-3.5V.5zm-6.5 0V2H7V.5zm6.03 8.03a.75.75 0 0 0-1.06-1.06l-8 8a.75.75 0 1 0 1.06 1.06z"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"pages-select-none-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Yt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M14.5 4.25h-5a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5"}),r.jsx("path",{fillRule:"evenodd",d:"M5 1.25h14c.966 0 1.75.784 1.75 1.75v18A1.75 1.75 0 0 1 19 22.75H5A1.75 1.75 0 0 1 3.25 21V3c0-.966.784-1.75 1.75-1.75m14 1.5H5a.25.25 0 0 0-.25.25v18c0 .138.112.25.25.25h14a.25.25 0 0 0 .25-.25V3a.25.25 0 0 0-.25-.25",clipRule:"evenodd"})]}),Qt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M10 1.75h12a.25.25 0 0 1 .25.25v16a.25.25 0 0 1-.25.25h-4v1.5h4A1.75 1.75 0 0 0 23.75 18V2A1.75 1.75 0 0 0 22 .25H10A1.75 1.75 0 0 0 8.25 2v1h1.5V2a.25.25 0 0 1 .25-.25"}),r.jsx("path",{d:"M14 3.25a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M1.5 6A1.5 1.5 0 0 1 3 4.5h8a1.5 1.5 0 0 1 1.06.44l4 4A1.5 1.5 0 0 1 16.5 10v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 22zM3 22V6h8v3a1 1 0 0 0 1 1h3v12z",clipRule:"evenodd"})]}),Jt=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 5.25a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-1.5 0V6A.75.75 0 0 1 9 5.25m6 0a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})]}),en=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M14.75 3.5a.75.75 0 0 0-1.085-.67l-4 2a.75.75 0 0 0-.415.67v2.75H9a.75.75 0 0 0-.75.75v2a7.25 7.25 0 0 1-2.9 5.8l-.8.6a.75.75 0 0 0-.3.6v4a.75.75 0 0 0 1.5 0v-3.625l.5-.375a8.75 8.75 0 0 0 3.5-7V9.75h4.5V11a8.75 8.75 0 0 0 3.5 7l.5.375V22a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-.3-.6l-.8-.6a7.25 7.25 0 0 1-2.9-5.8V9a.75.75 0 0 0-.75-.75h-.25z"})]}),tn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M13 4a1 1 0 1 0-2 0v2.25h-1a.75.75 0 0 0-.75.75v2.671c0 1.357-.957 2.577-2.157 3.8A6.4 6.4 0 0 0 5.25 18v3a.75.75 0 0 0 1.5 0v-3c0-1.386.536-2.586 1.413-3.479 1.175-1.196 2.587-2.816 2.587-4.85V7.75h2.5v1.921c0 2.035 1.412 3.654 2.587 4.85A4.9 4.9 0 0 1 17.25 18v3a.75.75 0 0 0 1.5 0v-3a6.4 6.4 0 0 0-1.843-4.53c-1.2-1.222-2.157-2.442-2.157-3.799V7a.75.75 0 0 0-.75-.75h-1z"})]}),nn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M4.735 1.693A1.5 1.5 0 0 0 2.5 3v5.5H.75a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5H4V3l16 9-16 9v-6.33l1.002.89a.75.75 0 0 0 .996-1.12L3.25 11.995.502 14.44a.75.75 0 0 0 .996 1.122l1.002-.89V21a1.5 1.5 0 0 0 2.235 1.307l16-9a1.5 1.5 0 0 0 0-2.614z"})]}),rn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5.25 6.5a6.25 6.25 0 1 1 7 6.206V22l-.75 1.75-.75-1.75v-9.294A6.25 6.25 0 0 1 5.25 6.5m6.25-3.25a.75.75 0 0 0 0 1.5c.966 0 1.75.784 1.75 1.75a.75.75 0 0 0 1.5 0 3.25 3.25 0 0 0-3.25-3.25",clipRule:"evenodd"})]}),on=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M10.75 4a.75.75 0 0 1 .75-.75 3.25 3.25 0 0 1 3.25 3.25.75.75 0 0 1-1.5 0 1.75 1.75 0 0 0-1.75-1.75.75.75 0 0 1-.75-.75"}),r.jsx("path",{fillRule:"evenodd",d:"M5.25 6.5a6.25 6.25 0 1 1 7 6.206V22l-.75 1.75-.75-1.75v-9.294A6.25 6.25 0 0 1 5.25 6.5m6.25-4.75a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5",clipRule:"evenodd"})]}),an=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"m19.506 11.728-1.414 1.414a1 1 0 0 1-1.414 0l-.708-.707-8.308 8.309a3.75 3.75 0 0 1-2.122 1.06l-.247.036a3 3 0 0 0-1.697.848l-2.121-2.121a3 3 0 0 0 .848-1.697l.035-.248a3.75 3.75 0 0 1 1.061-2.121l8.309-8.309-.707-.707a1 1 0 0 1 0-1.414l1.414-1.414a1 1 0 0 1 1.414 0 1 1 0 0 0 1.415 0l2.12-2.122a3 3 0 0 1 4.244 4.243L19.506 8.9a1 1 0 0 0 0 1.415 1 1 0 0 1 0 1.414Zm-1.06-3.89a2.5 2.5 0 0 0-.319 3.147l-.742.743-4.95-4.95.743-.742a2.5 2.5 0 0 0 3.146-.319l2.122-2.12a1.5 1.5 0 1 1 2.12 2.12zM3.414 20.386l.364.364c.41-.196.848-.33 1.303-.394l.247-.036a2.25 2.25 0 0 0 1.273-.636l8.309-8.309-2.122-2.121-8.308 8.308a2.25 2.25 0 0 0-.637 1.273l-.035.248a4.5 4.5 0 0 1-.394 1.303",clipRule:"evenodd"})]}),sn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 18.865 19.562 12 8 5.135zM6.5 4.257v15.486a1 1 0 0 0 1.51.86l13.042-7.743a1 1 0 0 0 0-1.72L8.01 3.397a1 1 0 0 0-1.511.86",clipRule:"evenodd"})]}),ln=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m.75-16a.75.75 0 0 0-1.5 0v4.25H7a.75.75 0 0 0 0 1.5h4.25V17a.75.75 0 0 0 1.5 0v-4.25H17a.75.75 0 0 0 0-1.5h-4.25z",clipRule:"evenodd"})]}),un=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 7a.75.75 0 0 0-1.5 0v4.25H7a.75.75 0 0 0 0 1.5h4.25V17a.75.75 0 0 0 1.5 0v-4.25H17a.75.75 0 0 0 0-1.5h-4.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),cn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 4.25a.75.75 0 0 1 .75.75v6.25H19a.75.75 0 0 1 0 1.5h-6.25V19a.75.75 0 0 1-1.5 0v-6.25H5a.75.75 0 0 1 0-1.5h6.25V5a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})]}),dn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3.168 3.91v.002l5.686 17.046.001.002a.587.587 0 0 0 1.111-.01v-.003l2.582-8.397 8.4-2.576a.583.583 0 0 0 .305-.898.6.6 0 0 0-.292-.217L3.907 3.171a.585.585 0 0 0-.739.74Zm8.23 17.484a2.084 2.084 0 0 1-3.965.043L1.746 4.387a2.085 2.085 0 0 1 2.638-2.638l17.05 5.687a2.087 2.087 0 0 1 1.01 3.23 2.1 2.1 0 0 1-1.06.743l-7.636 2.342z",clipRule:"evenodd"})]}),pn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.735 1.693A1.5 1.5 0 0 0 2.5 3v18a1.5 1.5 0 0 0 2.235 1.307l16-9a1.5 1.5 0 0 0 0-2.614zM20 12 4 21v-3.34l12.861-7.426zm-4.152-2.335L4 16.505v-3.464l8.81-5.086zm-4.052-2.28L4 11.887V8.423l4.757-2.747 3.04 1.71ZM4 7.268l3.744-2.162L4 3z",clipRule:"evenodd"})]}),hn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M21.79 11.552c-.08-.77-.42-1.51-.95-2.08-.53-.56-1.24-.95-2-1.08-.45-.08-.92-.06-1.36.03-.09-.27-.22-.54-.38-.78-.32-.5-.75-.91-1.25-1.19-.51-.3-1.08-.47-1.67-.49-.28-.01-.55.01-.82.06-.09-.26-.2-.52-.34-.76-.32-.48-.75-.9-1.26-1.19s-1.08-.46-1.67-.49c-.3-.02-.6.01-.9.07a3.54 3.54 0 0 0-1.9-2.06c-.62-.3-1.3-.4-1.97-.31-.66.09-1.29.36-1.81.78-.53.43-.92.99-1.14 1.63-.21.64-.25 1.33-.1 1.98.13.57.4 1.09.81 1.57-.17.2-.32.43-.45.66-.26.52-.4 1.1-.4 1.68s.14 1.16.42 1.71c.14.24.3.47.49.67-.19.21-.36.44-.5.7-.26.52-.4 1.1-.4 1.68s.14 1.16.41 1.7c.14.25.3.48.5.69-.22.24-.41.51-.56.81-.3.61-.43 1.29-.36 1.98.07.67.32 1.3.73 1.84s.97.96 1.6 1.2c.41.16.84.23 1.28.23.24 0 .48-.02.72-.07.65-.14 1.26-.45 1.75-.9.45-.42.78-.95.98-1.55.23.05.47.08.71.08h.17c.58-.03 1.15-.2 1.67-.5.51-.31.94-.74 1.24-1.24.14-.22.25-.46.34-.71.22.04.44.07.66.07h.16c.59-.03 1.16-.2 1.67-.49a3.7 3.7 0 0 0 1.62-1.96c.23.04.45.07.68.07.31 0 .63-.04.94-.12.84-.23 1.56-.75 2.05-1.47s.7-1.59.61-2.44zm-1.85 1.6c-.29.42-.72.73-1.2.86-.44.12-.9.09-1.33-.08s-.78-.46-1.03-.84a.747.747 0 0 0-1.04-.22c-.35.22-.45.69-.22 1.04.26.41.6.75 1 1.02-.06.2-.13.39-.25.56-.19.29-.44.53-.74.71-.3.17-.64.27-.98.29-.27.01-.54-.04-.8-.13-.03-.03-.06-.06-.1-.08 0 0-.02-.01-.03-.02-.38-.21-.71-.51-.93-.88a.748.748 0 0 0-1.29.76c.26.46.62.86 1.04 1.16-.06.19-.14.37-.25.55-.19.3-.45.56-.73.74-.3.17-.64.27-.98.29-.34.01-.68-.05-.99-.2-.25-.14-.48-.32-.67-.53a.746.746 0 0 0-1.06-.06c-.31.27-.34.75-.06 1.06.18.21.39.39.61.56v.04c-.11.39-.32.73-.61 1s-.66.46-1.04.54c-.39.08-.79.04-1.17-.1-.37-.14-.7-.38-.94-.7s-.39-.7-.43-1.09c-.04-.4.04-.8.21-1.15.18-.36.46-.65.8-.86s.73-.32 1.13-.32c.41 0 .75-.34.75-.75 0-.02-.01-.04-.01-.06v-.02c0-.41-.33-.74-.74-.75-.53 0-1.06.1-1.54.32-.13-.13-.24-.28-.33-.44-.16-.31-.24-.66-.24-1 0-.35.08-.69.22-.97.17-.3.4-.56.68-.75.05-.04.08-.08.12-.13.34-.18.7-.29 1.09-.3.41 0 .74-.35.73-.76 0-.41-.34-.74-.75-.74-.53 0-1.05.11-1.53.33-.13-.14-.25-.28-.33-.44a2.2 2.2 0 0 1-.24-1.01c0-.35.08-.69.24-.99.15-.29.37-.54.63-.74.25-.14.52-.25.8-.29a.76.76 0 0 0 .62-.86.76.76 0 0 0-.86-.62c-.31.05-.61.14-.89.26-.26-.28-.45-.62-.53-1-.09-.39-.07-.79.06-1.16s.36-.7.66-.95a2.14 2.14 0 0 1 2.22-.29c.36.16.66.42.89.76.22.32.34.7.35 1.11 0 .19-.01.37-.06.55-.02.09-.06.17-.09.25-.04.1-.07.21-.13.31a.752.752 0 1 0 1.3.76l.03-.06s.01 0 .01-.02c.02-.04.04-.09.06-.13.06-.12.11-.23.16-.35.13-.32.23-.65.26-1 .19-.04.38-.06.57-.05.35.02.69.12.99.29.3.18.56.42.73.69.17.29.27.62.29.95 0 .44-.1.87-.31 1.25-.2.36-.07.81.29 1.01s.81.08 1.02-.28c.26-.46.43-.96.48-1.48.19-.05.4-.07.6-.06.34.01.68.11.98.29.3.17.55.41.74.7.18.29.29.61.33.95 0 .3-.05.59-.13.87a.75.75 0 0 0 .72.97c.32 0 .62-.21.72-.53.08-.25.12-.5.16-.76.31-.09.63-.14.95-.08.45.08.86.31 1.17.63.31.33.5.76.55 1.21a2.1 2.1 0 0 1-.36 1.44z"})]}),fn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",d:"m6.72 4.59.73-1.3-2.713-1.53A1.5 1.5 0 0 0 2.5 3.068V6.06H4v-3zM11.07 7.04 8.46 5.57l.74-1.31 2.61 1.47zM20.747 10.765a1.5 1.5 0 0 1 .002 2.614l-2.84 1.601-.73-1.31 2.84-1.59-2.84-1.6.73-1.31zM16.17 15.96l-2.61 1.47-.74-1.31 2.61-1.47zM9.2 19.88l2.61-1.47-.74-1.31-2.61 1.47zM7.45 20.86l-2.713 1.53A1.5 1.5 0 0 1 2.5 21.082V18.06H4v3.02l2.72-1.53zM12.82 8.03l2.61 1.47.74-1.31-2.61-1.47zM4 16.06v-3H2.5v3zM4 8.06v3H2.5v-3z"})]}),mn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.243 1.705a1.5 1.5 0 0 1 1.492-.012l16 9a1.5 1.5 0 0 1 0 2.614l-16 9A1.5 1.5 0 0 1 2.5 21V3a1.5 1.5 0 0 1 .743-1.295M4 21l16-9L4 3z",clipRule:"evenodd"})]}),gn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M22.427 3.383a.75.75 0 0 1 .19 1.044l-7.62 11a.75.75 0 0 1-1.16.09l-4.126-4.333-7.094 10.243a.75.75 0 0 1-1.233-.854l7.619-11a.75.75 0 0 1 1.16-.09l4.126 4.333 7.095-10.243a.75.75 0 0 1 1.043-.19",clipRule:"evenodd"})]}),vn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#precision-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M12.75 1a.75.75 0 0 0-1.5 0v.777a10.25 10.25 0 0 0-9.473 9.473H1a.75.75 0 0 0 0 1.5h.777a10.25 10.25 0 0 0 9.473 9.473V23a.75.75 0 0 0 1.5 0v-.777a10.25 10.25 0 0 0 9.473-9.473H23a.75.75 0 0 0 0-1.5h-.777a10.25 10.25 0 0 0-9.473-9.473zm-1.5 2.282V4a.75.75 0 0 0 1.5 0v-.718a8.75 8.75 0 0 1 7.968 7.968H20a.75.75 0 0 0 0 1.5h.718a8.75 8.75 0 0 1-7.968 7.968V20a.75.75 0 0 0-1.5 0v.718a8.75 8.75 0 0 1-7.968-7.968H4a.75.75 0 0 0 0-1.5h-.718a8.75 8.75 0 0 1 7.968-7.968M12 8.25a.75.75 0 0 1 .75.75v2.25H15a.75.75 0 0 1 0 1.5h-2.25V15a.75.75 0 0 1-1.5 0v-2.25H9a.75.75 0 0 1 0-1.5h2.25V9a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"precision-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),yn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M17.5 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0M10 15.25a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5zm0 3a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M7 1.75A1.75 1.75 0 0 0 5.25 3.5v1.75H3A2.75 2.75 0 0 0 .25 8v8A2.75 2.75 0 0 0 3 18.75h2.25V22c0 .966.784 1.75 1.75 1.75h10A1.75 1.75 0 0 0 18.75 22v-3.25H21A2.75 2.75 0 0 0 23.75 16V8A2.75 2.75 0 0 0 21 5.25h-2.25V3.5A1.75 1.75 0 0 0 17 1.75zm10.25 3.5V3.5a.25.25 0 0 0-.25-.25H7a.25.25 0 0 0-.25.25v1.75zm1.5 12H21c.69 0 1.25-.56 1.25-1.25V8c0-.69-.56-1.25-1.25-1.25H3c-.69 0-1.25.56-1.25 1.25v8c0 .69.56 1.25 1.25 1.25h2.25V13c0-.966.784-1.75 1.75-1.75h10c.966 0 1.75.784 1.75 1.75zM6.75 22c0 .138.112.25.25.25h10a.25.25 0 0 0 .25-.25v-9a.25.25 0 0 0-.25-.25H7a.25.25 0 0 0-.25.25z",clipRule:"evenodd"})]}),bn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.4 9.623A18 18 0 0 1 1.918 9a20.3 20.3 0 0 1 2.677-2.942C6.487 4.358 9.063 2.75 12 2.75s5.513 1.608 7.405 3.308a20.3 20.3 0 0 1 2.777 3.08q.098.136.146.207l.017.024.018.028.008.012.002.002a.75.75 0 0 0 1.254-.822L23 9c.627-.41.627-.412.627-.412l-.001-.002-.004-.005-.012-.018a7 7 0 0 0-.21-.302 21.8 21.8 0 0 0-2.992-3.319C18.403 3.142 15.48 1.25 12 1.25S5.596 3.142 3.592 4.942A21.8 21.8 0 0 0 .601 8.261a13 13 0 0 0-.21.302l-.013.018-.004.005-.001.003L.103 9l.27.41L1 9c-.627.41-.627.412-.627.412l.001.002.004.005.012.018a7 7 0 0 0 .21.302 21.8 21.8 0 0 0 2.992 3.319C5.597 14.858 8.52 16.75 12 16.75a.75.75 0 0 0 0-1.5c-2.937 0-5.513-1.608-7.405-3.308A20 20 0 0 1 2.4 9.622ZM.373 8.589 1 9z",clipRule:"evenodd"}),r.jsx("path",{d:"M14 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0"}),r.jsx("path",{fillRule:"evenodd",d:"M12 14a5 5 0 1 0 0-10 5 5 0 0 0 0 10m0-1.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7m4.75 4.015A2 2 0 0 0 15 18.5V22a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-3.5a2 2 0 0 0-1.75-1.985V15a2.75 2.75 0 1 0-5.5 0zM22.5 18.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0-.5.5V22a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5zm-4.25-2h2.5V15a1.25 1.25 0 1 0-2.5 0z",clipRule:"evenodd"})]}),wn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7 2.25a.75.75 0 0 0-.75.75v.558a2.75 2.75 0 0 0 1.88 2.61l.789.262a.25.25 0 0 1 .165.288l-.752 3.615A6.75 6.75 0 0 0 5.25 16c0 .414.336.75.75.75h5.25V22l.75 1.75.75-1.75v-5.25H18a.75.75 0 0 0 .75-.75 6.75 6.75 0 0 0-3.082-5.667l-.752-3.615a.25.25 0 0 1 .165-.288l.789-.263a2.75 2.75 0 0 0 1.88-2.609V3a.75.75 0 0 0-.75-.75zm10.197 13a5.253 5.253 0 0 0-7.821-3.798 5.25 5.25 0 0 0-2.573 3.798zM12 9.25a6.8 6.8 0 0 0-1.972.293l.525-2.519a1.75 1.75 0 0 0-1.16-2.017l-.788-.263a1.25 1.25 0 0 1-.84-.994h8.47a1.25 1.25 0 0 1-.84.994l-.788.263a1.75 1.75 0 0 0-1.16 2.017l.525 2.519A6.8 6.8 0 0 0 12 9.25",clipRule:"evenodd"})]}),xn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0 1.5c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m1.25-5.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M9.75 9a2.25 2.25 0 1 1 2.986 2.127c-.678.235-1.486.87-1.486 1.873v.5a.75.75 0 0 0 1.5 0V13c0-.056.02-.13.102-.219a.9.9 0 0 1 .375-.237A3.751 3.751 0 0 0 12 5.25 3.75 3.75 0 0 0 8.25 9a.75.75 0 0 0 1.5 0",clipRule:"evenodd"})]}),Dn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M14 3.25a.75.75 0 0 0 0 1.5h7a.75.75 0 0 0 0-1.5zM13.25 8a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75"}),r.jsx("path",{fillRule:"evenodd",d:"m4.964 9.75-1.293 2.585a.75.75 0 1 1-1.342-.67l4-8a.75.75 0 0 1 1.342 0l4 8a.75.75 0 1 1-1.342.67L9.036 9.75zm3.323-1.5H5.714L7 5.677z",clipRule:"evenodd"}),r.jsx("path",{d:"M13.25 12a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75M3 15.25a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zM2.25 20a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75"})]}),Cn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm1.5 3.554V4.5h5.553zm0 1.141v2.86L17.326 4.5h-5.198zM19.4 4.5 4.5 12.695v2.86l15-8.25V4.5zm.1 3.945-15 8.25V19.5h.099L19.5 11.304zm0 4L6.674 19.5h5.197l7.629-4.196zm0 4L13.946 19.5H19.5z",clipRule:"evenodd"})]}),En=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M19.143 1.25a3.74 3.74 0 0 0-2.381.86 3.74 3.74 0 0 0-2.38-.86c-.854 0-1.726.306-2.382.86a3.74 3.74 0 0 0-2.38-.86c-.854 0-1.726.306-2.382.86a3.74 3.74 0 0 0-2.38-.86c-2.034 0-3.608 1.574-3.608 3.607 0 .853.306 1.726.86 2.381a3.74 3.74 0 0 0-.86 2.381c0 .853.306 1.725.86 2.381a3.74 3.74 0 0 0-.86 2.38c0 .854.306 1.726.86 2.382a3.74 3.74 0 0 0-.86 2.38c0 2.034 1.574 3.608 3.607 3.608.853 0 1.726-.306 2.381-.86.656.554 1.528.86 2.381.86s1.726-.306 2.381-.86c.656.554 1.528.86 2.381.86s1.725-.306 2.38-.86c.657.554 1.529.86 2.382.86 2.033 0 3.607-1.574 3.607-3.607a3.74 3.74 0 0 0-.861-2.381c.555-.656.86-1.528.86-2.381s-.305-1.725-.86-2.381c.555-.656.86-1.528.86-2.38 0-.854-.305-1.726-.86-2.382.555-.655.86-1.528.86-2.38 0-2.034-1.573-3.608-3.606-3.608m-3.024 2.375c-.323-.508-1.013-.875-1.738-.875-.572 0-1.121.228-1.486.573.2.436.331.924.331 1.534a.75.75 0 0 1-1.5 0c0-.41-.139-.85-.368-1.232-.324-.508-1.013-.875-1.739-.875a2.2 2.2 0 0 0-1.486.573c.2.436.332.924.332 1.534a.75.75 0 1 1-1.5 0c0-.405-.136-.839-.36-1.218l-.003-.003c-.32-.514-1.015-.886-1.745-.886-1.205 0-2.107.902-2.107 2.107 0 .572.228 1.121.573 1.487.436-.2.924-.332 1.534-.332a.75.75 0 1 1 0 1.5c-.408 0-.845.138-1.227.366-.51.322-.88 1.013-.88 1.741 0 .572.228 1.121.573 1.487.436-.2.924-.332 1.534-.332a.75.75 0 0 1 0 1.5c-.408 0-.845.138-1.227.366-.51.322-.88 1.013-.88 1.74 0 .573.228 1.122.573 1.487.436-.2.924-.331 1.534-.331a.75.75 0 0 1 0 1.5c-.408 0-.845.138-1.227.365-.51.323-.88 1.014-.88 1.742 0 1.205.902 2.107 2.107 2.107a2.2 2.2 0 0 0 1.487-.573 3.56 3.56 0 0 1-.332-1.534.75.75 0 0 1 1.5 0c0 .405.136.839.36 1.219l.002.002c.321.514 1.015.886 1.745.886a2.2 2.2 0 0 0 1.487-.573 3.56 3.56 0 0 1-.332-1.534.75.75 0 1 1 1.5 0c0 .41.14.85.369 1.232.323.508 1.013.875 1.738.875a2.2 2.2 0 0 0 1.487-.573 3.56 3.56 0 0 1-.332-1.534.75.75 0 1 1 1.5 0c0 .41.14.85.369 1.232.323.508 1.012.875 1.738.875 1.205 0 2.107-.902 2.107-2.107 0-.572-.228-1.121-.574-1.487-.435.2-.923.332-1.533.332a.75.75 0 0 1 0-1.5c.407 0 .842-.137 1.223-.363.512-.322.884-1.015.884-1.744 0-.572-.228-1.121-.574-1.487-.435.2-.923.332-1.533.332a.75.75 0 0 1 0-1.5c.408 0 .845-.138 1.227-.366.51-.322.88-1.013.88-1.74 0-.573-.228-1.122-.574-1.488-.435.2-.923.332-1.533.332a.75.75 0 0 1 0-1.5c.41 0 .848-.138 1.23-.367.509-.324.877-1.014.877-1.74 0-1.205-.902-2.107-2.107-2.107a2.2 2.2 0 0 0-1.487.573c.2.436.332.924.332 1.534a.75.75 0 0 1-1.5 0c0-.41-.14-.85-.369-1.232",clipRule:"evenodd"})]}),Sn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",d:"M21 6h-1.5V4.5H18V3h2a1 1 0 0 1 1 1zM3 18h1.5v1.5H6V21H4a1 1 0 0 1-1-1zM4.5 6H3V4a1 1 0 0 1 1-1h2v1.5H4.5zM21 18h-1.5v1.5H18V21h2a1 1 0 0 0 1-1zM8 4.5V3h3v1.5zM8 19.5V21h3v-1.5zM3 8h1.5v3H3zM21 8h-1.5v3H21zM13 4.5V3h3v1.5zM13 19.5V21h3v-1.5zM3 13h1.5v3H3zM21 13h-1.5v3H21z"})]}),_n=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3.53 1.47a.75.75 0 0 0-1.06 1.06L4.44 4.5 2.47 6.47a.75.75 0 0 0 1.06 1.06L5.5 5.56l1.97 1.97a.75.75 0 0 0 1.06-1.06L6.56 4.5l1.97-1.97a.75.75 0 0 0-1.06-1.06L5.5 3.44z"}),r.jsx("path",{fillRule:"evenodd",d:"M21.102 3.47a.75.75 0 0 1 0 1.06l-8.486 8.486a1.75 1.75 0 0 0 2.467 2.483l4.958-4.958a.75.75 0 0 1 1.06 1.06l-7.778 7.779a.75.75 0 0 1-.324.19L3.1 22.4a.75.75 0 0 1-.736-1.252L20.041 3.47a.75.75 0 0 1 1.06 0ZM5.47 20.16l5.208-5.209c.129.586.421 1.144.877 1.6a3.24 3.24 0 0 0 1.598.875l-.754.755-6.93 1.98Z",clipRule:"evenodd"})]}),Pn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.75 1.25h-9.5v9.5h9.5zm-8 8v-6.5h6.5v6.5zm18.352-5.78a.75.75 0 0 1 0 1.06l-8.486 8.486a1.75 1.75 0 0 0 2.468 2.482l4.957-4.957a.75.75 0 0 1 1.06 1.06l-7.778 7.779a.75.75 0 0 1-.324.19L3.1 22.4a.75.75 0 0 1-.736-1.252L20.041 3.47a.75.75 0 0 1 1.06 0ZM5.47 20.16l5.209-5.209c.128.586.42 1.144.876 1.6a3.24 3.24 0 0 0 1.598.875l-.754.755-6.93 1.98Z",clipRule:"evenodd"})]}),kn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.75 1.25h-9.5V4a.75.75 0 0 0 1.5 0V2.75h2.5v6.5H4.5a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-6.5h2.5V4a.75.75 0 0 0 1.5 0zm10.352 2.22a.75.75 0 0 1 0 1.06l-8.486 8.486a1.75 1.75 0 0 0 2.468 2.482l4.957-4.957a.75.75 0 0 1 1.06 1.06l-4.95 4.95-.01.01-2.818 2.819a.75.75 0 0 1-.324.19L3.1 22.4a.75.75 0 0 1-.736-1.252L20.041 3.47a.75.75 0 0 1 1.06 0ZM5.47 20.16l5.209-5.209c.128.586.42 1.144.876 1.6a3.24 3.24 0 0 0 1.598.875l-.754.755-6.93 1.98Z",clipRule:"evenodd"})]}),An=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7 4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1zM1 14a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1zm11.496-9.74h-1.222L9.01 10h1.205l.46-1.263h2.418L13.545 10h1.206zm-.615 1.132.852 2.337h-1.697zm6.845-1.132h-1.222L15.241 10h1.205l.46-1.263h2.418L19.775 10h1.206zm-.615 1.132.853 2.337h-1.698zm-.492 8.868h1.222L21.096 20H19.89l-.45-1.263h-2.42L16.561 20h-1.205zm1.46 3.469-.853-2.337-.845 2.337h1.697ZM12.61 14.26h-1.222L9.126 20h1.205l.46-1.263h2.418L13.66 20h1.206l-2.255-5.74Zm-.615 1.132.852 2.337H11.15zM5.159 14.26H6.38L8.636 20H7.43l-.45-1.263H4.56L4.1 20H2.897l2.263-5.74Zm1.46 3.469-.853-2.337-.845 2.337z",clipRule:"evenodd"})]}),zn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8 3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm10.726 1.26h-1.222L15.241 10h1.205l.46-1.263h2.418L19.775 10h1.206zm-.615 1.132.853 2.337h-1.698zM11.274 4.26h1.222L14.75 10h-1.206l-.45-1.263h-2.42L10.216 10H9.011zm1.46 3.469-.853-2.337-.845 2.337h1.697ZM2 13a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),Tn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M17.47 3.47a.75.75 0 0 0 0 1.06l2.72 2.72H17a.75.75 0 0 0 0 1.5h3.19l-2.72 2.72a.75.75 0 1 0 1.06 1.06L23.06 8l-4.53-4.53a.75.75 0 0 0-1.06 0m-8 0a.75.75 0 0 0 0 1.06l2.72 2.72H10a6.75 6.75 0 0 0 0 13.5h2a.75.75 0 0 0 0-1.5h-2a5.25 5.25 0 1 1 0-10.5h2.19l-2.72 2.72a.75.75 0 1 0 1.06 1.06L15.06 8l-4.53-4.53a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),On=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15.47 3.47a.75.75 0 0 0 0 1.06l2.72 2.72H10a6.75 6.75 0 0 0 0 13.5h2a.75.75 0 0 0 0-1.5h-2a5.25 5.25 0 1 1 0-10.5h8.19l-2.72 2.72a.75.75 0 1 0 1.06 1.06L21.06 8l-4.53-4.53a.75.75 0 0 0-1.06 0",clipRule:"evenodd"})]}),In=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M20.75 20.25V22A1.75 1.75 0 0 1 19 23.75H5A1.75 1.75 0 0 1 3.25 22V6.5a.75.75 0 0 1 .22-.53l5.5-5.5A.75.75 0 0 1 9.5.25H19c.966 0 1.75.784 1.75 1.75v1.75h1.75a.75.75 0 0 1 0 1.5h-1.75v3.5h1.75a.75.75 0 0 1 0 1.5h-1.75v3.5h1.75a.75.75 0 0 1 0 1.5h-1.75v3.5h1.75a.75.75 0 0 1 0 1.5zM19 1.75a.25.25 0 0 1 .25.25v1.75H17.5a.75.75 0 0 0 0 1.5h1.75v3.5H17.5a.75.75 0 0 0 0 1.5h1.75v3.5H17.5a.75.75 0 0 0 0 1.5h1.75v3.5H17.5a.75.75 0 0 0 0 1.5h1.75V22a.25.25 0 0 1-.25.25H5a.25.25 0 0 1-.25-.25V7.25H9.5a.75.75 0 0 0 .75-.75V1.75z",clipRule:"evenodd"})]}),Fn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M11.006 2.564a.75.75 0 0 1 .988-1.128l4 3.5a.75.75 0 0 1 0 1.128l-4 3.5a.75.75 0 0 1-.988-1.128l2.558-2.239a6.25 6.25 0 1 0 4.686 6.053.75.75 0 0 1 1.5 0 7.75 7.75 0 1 1-6.397-7.632z"})]}),Mn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",d:"M12.994 2.564a.75.75 0 0 0-.988-1.128l-4 3.5a.75.75 0 0 0 0 1.128l4 3.5a.75.75 0 0 0 .988-1.128l-2.558-2.239A6.25 6.25 0 1 1 5.75 12.25a.75.75 0 0 0-1.5 0 7.75 7.75 0 1 0 6.397-7.632z"})]}),Rn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M19.25 9A4.25 4.25 0 0 0 15 4.75h-4a.75.75 0 0 1 0-1.5h4A5.75 5.75 0 0 1 20.75 9v3.19l1.72-1.72a.75.75 0 1 1 1.06 1.06L20 15.06l-3.53-3.53a.75.75 0 1 1 1.06-1.06l1.72 1.72z"}),r.jsx("path",{fillRule:"evenodd",d:"M4 9.25h9c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 13 21.75H4A1.75 1.75 0 0 1 2.25 20v-9c0-.966.784-1.75 1.75-1.75m9 1.5H4a.25.25 0 0 0-.25.25v9c0 .138.112.25.25.25h9a.25.25 0 0 0 .25-.25v-9a.25.25 0 0 0-.25-.25",clipRule:"evenodd"})]}),jn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M4.75 9A4.25 4.25 0 0 1 9 4.75h4a.75.75 0 0 0 0-1.5H9A5.75 5.75 0 0 0 3.25 9v3.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06L4 15.06l3.53-3.53a.75.75 0 1 0-1.06-1.06l-1.72 1.72z"}),r.jsx("path",{fillRule:"evenodd",d:"M20 9.25h-9A1.75 1.75 0 0 0 9.25 11v9c0 .966.784 1.75 1.75 1.75h9A1.75 1.75 0 0 0 21.75 20v-9A1.75 1.75 0 0 0 20 9.25m-9 1.5h9a.25.25 0 0 1 .25.25v9a.25.25 0 0 1-.25.25h-9a.25.25 0 0 1-.25-.25v-9a.25.25 0 0 1 .25-.25",clipRule:"evenodd"})]}),Bn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M23 6H1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1M1.5 16.5v-9h3.75V11a.75.75 0 0 0 1.5 0V7.5h1.5V13a.75.75 0 0 0 1.5 0V7.5h1.5V11a.75.75 0 0 0 1.5 0V7.5h1.5V13a.75.75 0 0 0 1.5 0V7.5h1.5V11a.75.75 0 0 0 1.5 0V7.5h3.75v9z",clipRule:"evenodd"})]}),Nn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#scale-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M7.25 1A.75.75 0 0 1 8 .25h15a.75.75 0 0 1 .75.75v15a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1 0-1.5h6.75V1.75H8.75V9a.75.75 0 0 1-1.5 0zm-7 12a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5H1.75v8.5h8.5V18a.75.75 0 0 1 1.5 0v5a.75.75 0 0 1-.75.75H1A.75.75 0 0 1 .25 23zM12.5 4.75a.75.75 0 0 0 0 1.5h4.19L4.47 18.47a.75.75 0 1 0 1.06 1.06L17.75 7.31v4.19a.75.75 0 0 0 1.5 0V4.75z",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"scale-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Ln=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M14.309 13.248a4 4 0 1 0-1.06 1.06l2.22 2.222a.75.75 0 1 0 1.061-1.06zM11 13.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-1.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17",clipRule:"evenodd"})]}),Kn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.75 10.5a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0m6.75-8.25a8.25 8.25 0 1 0 5.28 14.59l4.69 4.69a.75.75 0 0 0 1.06-1.06l-4.69-4.69A8.25 8.25 0 0 0 10.5 2.25",clipRule:"evenodd"})]}),Vn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M5.75 8.5a.75.75 0 0 1 .75-.75H14a.75.75 0 0 1 0 1.5H6.5a.75.75 0 0 1-.75-.75m.75 2.25a.75.75 0 0 0 0 1.5H11a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M14.532 16.593a8 8 0 1 1 1.155-.967l5.843 5.844a.75.75 0 1 1-1.06 1.06zM16.5 10a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0",clipRule:"evenodd"})]}),qn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M3.25 5A2.75 2.75 0 0 1 6 2.25h9A2.75 2.75 0 0 1 17.75 5h-1.5c0-.69-.56-1.25-1.25-1.25H6c-.69 0-1.25.56-1.25 1.25v9c0 .69.56 1.25 1.25 1.25v1.5A2.75 2.75 0 0 1 3.25 14zm14.857 6.441a.75.75 0 0 0-1.213-.882l-3.422 4.705-1.386-1.732a.75.75 0 1 0-1.172.937l2 2.5a.75.75 0 0 0 1.193-.028z"}),r.jsx("path",{fillRule:"evenodd",d:"M7.25 9A2.75 2.75 0 0 1 10 6.25h9A2.75 2.75 0 0 1 21.75 9v9A2.75 2.75 0 0 1 19 20.75h-9A2.75 2.75 0 0 1 7.25 18zM10 7.75c-.69 0-1.25.56-1.25 1.25v9c0 .69.56 1.25 1.25 1.25h9c.69 0 1.25-.56 1.25-1.25V9c0-.69-.56-1.25-1.25-1.25z",clipRule:"evenodd"})]}),Hn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2 4H.5V2A1.5 1.5 0 0 1 2 .5h2V2H2zm20 0h1.5V2A1.5 1.5 0 0 0 22 .5h-2V2h2zm0 3h1.5v3.5H22zm0 6.5h1.5V17H22zm0 6.5h1.5v2a1.5 1.5 0 0 1-1.5 1.5h-2V22h2zM2 7H.5v3.5H2zm0 6.5H.5V17H2zM2 20H.5v2A1.5 1.5 0 0 0 2 23.5h2V22H2zm5 2v1.5h3.5V22zm6.5 0v1.5H17V22zM17 2V.5h-3.5V2zm-6.5 0V.5H7V2z",clipRule:"evenodd"})]}),Zn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"M11.32 1.25a1.75 1.75 0 0 0-1.716 1.407L9.203 4.66c-.01.053-.06.132-.171.178-.109.045-.196.025-.243-.006L7.088 3.699a1.75 1.75 0 0 0-2.208.219l-.962.962a1.75 1.75 0 0 0-.219 2.208l1.134 1.7c.031.048.051.135.006.244-.046.111-.125.16-.178.17l-2.004.402A1.75 1.75 0 0 0 1.25 11.32v1.36a1.75 1.75 0 0 0 1.407 1.716l2.004.401c.053.01.132.06.178.171.045.109.025.196-.006.243l-1.134 1.701a1.75 1.75 0 0 0 .219 2.208l.962.962a1.75 1.75 0 0 0 2.208.219l1.7-1.134c.048-.031.135-.051.244-.006.112.046.16.125.171.178l.4 2.004a1.75 1.75 0 0 0 1.717 1.407h1.36a1.75 1.75 0 0 0 1.716-1.407l.401-2.004c.01-.053.06-.132.171-.178.109-.045.196-.025.243.006l1.701 1.134a1.75 1.75 0 0 0 2.208-.219l.962-.962a1.75 1.75 0 0 0 .219-2.208l-1.134-1.7c-.031-.048-.051-.135-.006-.244.046-.111.125-.16.178-.17l2.004-.402a1.75 1.75 0 0 0 1.407-1.716v-1.36a1.75 1.75 0 0 0-1.407-1.716l-2.004-.401c-.053-.01-.131-.06-.178-.171-.045-.109-.025-.196.006-.243l1.134-1.701a1.75 1.75 0 0 0-.219-2.208l-.962-.962a1.75 1.75 0 0 0-2.208-.219l-1.7 1.134c-.048.031-.135.051-.244.006-.111-.046-.16-.125-.17-.178l-.402-2.004A1.75 1.75 0 0 0 12.68 1.25zm-.245 1.701a.25.25 0 0 1 .245-.201h1.36a.25.25 0 0 1 .245.201l.401 2.004c.122.608.558 1.058 1.067 1.27a1.76 1.76 0 0 0 1.65-.144l1.701-1.134a.25.25 0 0 1 .316.031l.962.962a.25.25 0 0 1 .03.316l-1.133 1.7a1.76 1.76 0 0 0-.143 1.65c.211.51.661.946 1.269 1.068l2.004.4a.25.25 0 0 1 .201.246v1.36a.25.25 0 0 1-.201.245l-2.004.401c-.608.122-1.058.558-1.27 1.067a1.76 1.76 0 0 0 .144 1.65l1.134 1.701a.25.25 0 0 1-.031.316l-.962.962a.25.25 0 0 1-.316.03l-1.7-1.133a1.76 1.76 0 0 0-1.65-.143c-.51.211-.946.661-1.068 1.269l-.4 2.004a.25.25 0 0 1-.246.201h-1.36a.25.25 0 0 1-.245-.201l-.401-2.004c-.122-.608-.558-1.058-1.067-1.27a1.76 1.76 0 0 0-1.65.144l-1.701 1.134a.25.25 0 0 1-.316-.031l-.962-.962a.25.25 0 0 1-.03-.316l1.133-1.7a1.76 1.76 0 0 0 .144-1.65c-.212-.51-.662-.946-1.27-1.068l-2.004-.4a.25.25 0 0 1-.201-.246v-1.36a.25.25 0 0 1 .201-.245l2.004-.401c.608-.122 1.058-.558 1.27-1.067a1.76 1.76 0 0 0-.144-1.65L4.947 6.256a.25.25 0 0 1 .031-.316l.962-.962a.25.25 0 0 1 .316-.03l1.7 1.133a1.76 1.76 0 0 0 1.65.143c.51-.211.946-.661 1.068-1.269z",clipRule:"evenodd"})]}),Un=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M2.75 9a6.25 6.25 0 0 1 12.456-.75H10A1.75 1.75 0 0 0 8.25 10v5.206A6.25 6.25 0 0 1 2.75 9m5.5 7.714a7.751 7.751 0 1 1 8.464-8.464H21c.966 0 1.75.784 1.75 1.75v11A1.75 1.75 0 0 1 21 22.75H10A1.75 1.75 0 0 1 8.25 21zM9.75 10a.25.25 0 0 1 .25-.25h11a.25.25 0 0 1 .25.25v11a.25.25 0 0 1-.25.25H10a.25.25 0 0 1-.25-.25z",clipRule:"evenodd"})]}),$n=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"m12 .94 3.53 3.53a.75.75 0 0 1-1.06 1.06l-1.72-1.72V14a.75.75 0 0 1-1.5 0V3.81L9.53 5.53a.75.75 0 0 1-1.06-1.06zM6 8.75c-.69 0-1.25.56-1.25 1.25v10c0 .69.56 1.25 1.25 1.25h12c.69 0 1.25-.56 1.25-1.25V10c0-.69-.56-1.25-1.25-1.25h-3v-1.5h3A2.75 2.75 0 0 1 20.75 10v10A2.75 2.75 0 0 1 18 22.75H6A2.75 2.75 0 0 1 3.25 20V10A2.75 2.75 0 0 1 6 7.25h3v1.5z",clipRule:"evenodd"})]}),Gn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M18.5 7.5a3 3 0 1 0-2.892-2.198L7.641 9.9a3 3 0 1 0 0 4.202l7.967 4.597A3.004 3.004 0 0 0 18.5 22.5a3 3 0 1 0-2.141-5.101l-7.967-4.597a3 3 0 0 0 0-1.604L16.359 6.6a3 3 0 0 0 2.141.9m1.5-3a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m13 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0",clipRule:"evenodd"})]}),Wn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 8a.75.75 0 0 0-1.5 0v3.25H8a.75.75 0 0 0 0 1.5h3.25V16a.75.75 0 0 0 1.5 0v-3.25H16a.75.75 0 0 0 0-1.5h-3.25z"}),r.jsx("path",{fillRule:"evenodd",d:"m12.45 1.4.006.004.028.021.123.086c.11.076.276.187.492.32.431.268 1.06.628 1.84.988C16.505 3.542 18.645 4.25 21 4.25a.75.75 0 0 1 .75.75v5.201a12.75 12.75 0 0 1-7.572 11.652l-1.873.832a.75.75 0 0 1-.61 0l-1.873-.832A12.75 12.75 0 0 1 2.25 10.2V5A.75.75 0 0 1 3 4.25c2.355 0 4.495-.708 6.06-1.431.78-.36 1.41-.72 1.841-.987a13 13 0 0 0 .615-.407l.028-.02.006-.005a.75.75 0 0 1 .9 0m-.758 1.706q.173-.107.308-.196a19 19 0 0 0 2.31 1.27c1.524.704 3.6 1.419 5.94 1.549v4.472a11.25 11.25 0 0 1-6.68 10.28L12 21.18l-1.57-.697a11.25 11.25 0 0 1-6.68-10.28V5.728c2.34-.13 4.416-.845 5.94-1.548.844-.39 1.528-.78 2.002-1.075Z",clipRule:"evenodd"})]}),Xn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M16.53 10.53a.75.75 0 0 0-1.06-1.06L11 13.94l-1.97-1.97a.75.75 0 1 0-1.06 1.06l2.382 2.382a.917.917 0 0 0 1.296 0z"}),r.jsx("path",{fillRule:"evenodd",d:"m12.45 1.4.006.004.028.021.123.086c.11.076.276.187.492.32.431.268 1.06.628 1.84.988C16.505 3.542 18.645 4.25 21 4.25a.75.75 0 0 1 .75.75v5.201a12.75 12.75 0 0 1-7.572 11.652l-1.873.832a.75.75 0 0 1-.61 0l-1.873-.832A12.75 12.75 0 0 1 2.25 10.2V5A.75.75 0 0 1 3 4.25c2.355 0 4.495-.708 6.06-1.431.78-.36 1.41-.72 1.841-.987a13 13 0 0 0 .615-.407l.028-.02.006-.005a.75.75 0 0 1 .9 0m-.758 1.706q.173-.107.308-.196a19 19 0 0 0 2.31 1.27c1.524.704 3.6 1.419 5.94 1.549v4.472a11.25 11.25 0 0 1-6.68 10.28L12 21.18l-1.57-.697a11.25 11.25 0 0 1-6.68-10.28V5.728c2.34-.13 4.416-.845 5.94-1.548.844-.39 1.528-.78 2.002-1.075Z",clipRule:"evenodd"})]}),Yn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M13.25 15.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M12.75 7a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0z"}),r.jsx("path",{fillRule:"evenodd",d:"M12.45 1.4a.75.75 0 0 0-.9 0l-.006.004-.028.021a13 13 0 0 1-.614.406 17 17 0 0 1-1.841.988C7.495 3.542 5.355 4.25 3 4.25a.75.75 0 0 0-.75.75v5.201a12.75 12.75 0 0 0 7.572 11.652l1.873.832a.75.75 0 0 0 .61 0l1.873-.832A12.75 12.75 0 0 0 21.75 10.2V5a.75.75 0 0 0-.75-.75c-2.355 0-4.495-.708-6.06-1.431a17 17 0 0 1-1.841-.987 13 13 0 0 1-.615-.407l-.028-.02zM12 2.91a19 19 0 0 1-2.31 1.27c-1.525.705-3.6 1.42-5.94 1.55v4.472a11.25 11.25 0 0 0 6.68 10.28l1.57.698 1.57-.697a11.25 11.25 0 0 0 6.68-10.28V5.728c-2.34-.13-4.416-.845-5.94-1.548A19 19 0 0 1 12 2.91",clipRule:"evenodd"})]}),Qn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M15.359 9.702a.75.75 0 1 0-1.06-1.06L12 10.938 9.702 8.641a.75.75 0 0 0-1.06 1.06L10.938 12 8.64 14.298a.75.75 0 1 0 1.06 1.06l2.3-2.296 2.298 2.298a.75.75 0 0 0 1.06-1.06L13.062 12z"}),r.jsx("path",{fillRule:"evenodd",d:"m12.45 1.4.006.004.028.021.123.086c.11.076.276.187.492.32.431.268 1.06.628 1.84.988C16.505 3.542 18.645 4.25 21 4.25a.75.75 0 0 1 .75.75v5.201a12.75 12.75 0 0 1-7.572 11.652l-1.873.832a.75.75 0 0 1-.61 0l-1.873-.832A12.75 12.75 0 0 1 2.25 10.2V5A.75.75 0 0 1 3 4.25c2.355 0 4.495-.708 6.06-1.431.78-.36 1.41-.72 1.841-.987a13 13 0 0 0 .615-.407l.028-.02.006-.005a.75.75 0 0 1 .9 0m-.758 1.706q.173-.107.308-.196a19 19 0 0 0 2.31 1.27c1.524.704 3.6 1.419 5.94 1.549v4.472a11.25 11.25 0 0 1-6.68 10.28L12 21.18l-1.57-.697a11.25 11.25 0 0 1-6.68-10.28V5.728c2.34-.13 4.416-.845 5.94-1.548.844-.39 1.528-.78 2.002-1.075Z",clipRule:"evenodd"})]}),Jn=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0"}),r.jsx("path",{fillRule:"evenodd",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10m0-1.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7",clipRule:"evenodd"}),r.jsx("path",{fillRule:"evenodd",d:"m23.627 11.589.27.411-.27.41L23 12c.627.41.627.412.627.412l-.001.002-.004.005-.012.018-.044.066q-.058.083-.167.236a21.8 21.8 0 0 1-2.992 3.319c-2.003 1.8-4.927 3.692-8.407 3.692s-6.404-1.892-8.408-3.692a21.8 21.8 0 0 1-2.991-3.319 13 13 0 0 1-.21-.302l-.013-.018-.004-.005-.001-.003L1 12c-.627-.41-.627-.412-.627-.412l.001-.002.004-.005.012-.018.044-.066q.058-.083.167-.236a21.8 21.8 0 0 1 2.992-3.319C5.596 6.142 8.52 4.25 12 4.25s6.404 1.892 8.407 3.692a21.8 21.8 0 0 1 2.992 3.319 13 13 0 0 1 .21.302l.013.018.004.005zM2.4 12.623A18 18 0 0 1 1.918 12a20.3 20.3 0 0 1 2.677-2.942C6.487 7.358 9.063 5.75 12 5.75s5.513 1.608 7.405 3.308A20.3 20.3 0 0 1 22.082 12a20.3 20.3 0 0 1-2.677 2.942c-1.892 1.7-4.468 3.308-7.405 3.308s-5.513-1.608-7.405-3.308a20 20 0 0 1-2.195-2.32ZM23 12l.627-.411z",clipRule:"evenodd"}),r.jsx("path",{d:"M.373 12.41.103 12l.27-.41L1 12z"})]}),er=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.345 11.595a.75.75 0 0 0 0 1.5h13.19l-2.72 2.72a.75.75 0 0 0 1.06 1.06l4.53-4.53-4.53-4.53a.75.75 0 0 0-1.06 1.06l2.72 2.72z"}),r.jsx("path",{d:"M7.345 4.095a.75.75 0 0 0 0-1.5h-3a2.75 2.75 0 0 0-2.75 2.75v14a2.75 2.75 0 0 0 2.75 2.75h3a.75.75 0 0 0 0-1.5h-3c-.69 0-1.25-.56-1.25-1.25v-14c0-.69.56-1.25 1.25-1.25z"})]}),tr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M16.322 10.322A.75.75 0 0 0 15.26 9.26l-4.72 4.72-2.26-2.262a.75.75 0 1 0-1.06 1.06l3.32 3.323 5.78-5.78Z"}),r.jsx("path",{fillRule:"evenodd",d:"M13.217 1.134a1.75 1.75 0 0 0-2.434 0L9.111 2.752a.25.25 0 0 1-.21.068l-2.304-.326a1.75 1.75 0 0 0-1.968 1.43l-.403 2.292a.25.25 0 0 1-.129.178l-2.056 1.09A1.75 1.75 0 0 0 1.29 9.8l1.023 2.091a.25.25 0 0 1 0 .22L1.289 14.2a1.75 1.75 0 0 0 .752 2.315l2.056 1.09a.25.25 0 0 1 .13.179l.402 2.292a1.75 1.75 0 0 0 1.968 1.43l2.305-.326a.25.25 0 0 1 .209.068l1.672 1.618a1.75 1.75 0 0 0 2.434 0l1.672-1.618a.25.25 0 0 1 .21-.068l2.304.326a1.75 1.75 0 0 0 1.969-1.43l.402-2.292a.25.25 0 0 1 .129-.178l2.056-1.09a1.75 1.75 0 0 0 .752-2.315l-1.022-2.091a.25.25 0 0 1 0-.22L22.71 9.8a1.75 1.75 0 0 0-.752-2.315l-2.056-1.09a.25.25 0 0 1-.13-.179l-.401-2.292a1.75 1.75 0 0 0-1.97-1.43l-2.304.326a.25.25 0 0 1-.209-.068zm-1.39 1.078a.25.25 0 0 1 .347 0l1.673 1.618c.388.375.927.55 1.461.475l2.305-.326a.25.25 0 0 1 .281.204l.402 2.293c.094.531.427.99.904 1.243l2.056 1.09a.25.25 0 0 1 .107.332l-1.022 2.09a1.75 1.75 0 0 0 0 1.537l1.022 2.091a.25.25 0 0 1-.107.331L19.2 16.28a1.75 1.75 0 0 0-.904 1.244l-.402 2.293a.25.25 0 0 1-.281.204l-2.305-.326a1.75 1.75 0 0 0-1.461.475l-1.673 1.618a.25.25 0 0 1-.348 0l-1.673-1.618a1.75 1.75 0 0 0-1.461-.475l-2.305.326a.25.25 0 0 1-.281-.204l-.402-2.293a1.75 1.75 0 0 0-.904-1.243l-2.056-1.09a.25.25 0 0 1-.107-.332l1.022-2.09a1.75 1.75 0 0 0 0-1.537L2.637 9.14a.25.25 0 0 1 .107-.331L4.8 7.72a1.75 1.75 0 0 0 .904-1.244l.402-2.293a.25.25 0 0 1 .281-.204l2.305.326a1.75 1.75 0 0 0 1.461-.475z",clipRule:"evenodd"})]}),nr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M7.965 4.668C5.773 5.785 3.587 7.128 2.488 8.07a.75.75 0 1 1-.976-1.14C2.747 5.873 5.06 4.466 7.285 3.333a34 34 0 0 1 3.213-1.455c.942-.359 1.85-.627 2.502-.627.888 0 1.43.64 1.724 1.306.296.668.446 1.553.505 2.523.032.501.04 1.043.026 1.613a17 17 0 0 1 1.982-.894.8.8 0 0 1 .263-.048c.307 0 .52.16.634.28.11.116.176.244.217.334.082.184.14.404.186.604.064.289.126.655.188 1.022q.037.225.076.442c.079.444.163.867.264 1.22.834-1.237 1.904-3.237 2.193-5.258a.75.75 0 1 1 1.485.212c-.428 2.993-2.288 5.82-3.167 6.874a.75.75 0 0 1-.911.19c-.3-.149-.5-.396-.635-.614a3.6 3.6 0 0 1-.327-.733c-.168-.502-.285-1.097-.38-1.63l-.085-.501q-.067-.406-.13-.726c-.656.283-1.311.62-1.952 1a43 43 0 0 1-1.295 7.285H22.5a.75.75 0 0 1 0 1.499h-9.079c-.218.682-.45 1.325-.693 1.912-.4.966-.845 1.817-1.332 2.44-.463.592-1.096 1.148-1.896 1.148-.94 0-1.523-.714-1.854-1.378-.346-.693-.555-1.584-.67-2.467a14 14 0 0 1-.112-1.655H2a.75.75 0 0 1 0-1.5h4.934c.07-.61.193-1.18.395-1.585.81-1.618 2.26-3.32 3.997-4.798a22 22 0 0 1 2.39-1.776c.053-.883.06-1.703.016-2.42-.056-.905-.191-1.582-.38-2.008-.184-.416-.322-.413-.35-.413H13c-.348 0-1.024.17-1.967.529a33 33 0 0 0-3.068 1.39Zm.399 12.582c.005.48.038.98.1 1.463.104.806.285 1.51.524 1.99.254.51.451.547.512.547.075 0 .32-.069.714-.571.367-.47.752-1.182 1.128-2.091.172-.415.34-.864.5-1.338zm3.941-1.5H8.446c.06-.438.143-.75.225-.915.69-1.382 1.99-2.93 3.628-4.327q.597-.509 1.24-.977a41 41 0 0 1-.35 2.337 41 41 0 0 1-.884 3.882m4.676-8.774.002.004z",clipRule:"evenodd"}),r.jsx("path",{d:"M1.97 9.97a.75.75 0 0 1 1.06 0l.97.97.97-.97a.75.75 0 0 1 1.06 1.06l-.97.97.97.97a.75.75 0 1 1-1.06 1.06L4 13.06l-.97.97a.75.75 0 0 1-1.06-1.06l.97-.97-.97-.97a.75.75 0 0 1 0-1.06"})]}),rr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M10.763 3.177c1.102-1.103 2.987-.322 2.987 1.237v15.172c0 1.559-1.885 2.34-2.987 1.237l-5.5-5.5a.25.25 0 0 0-.177-.073H2A1.75 1.75 0 0 1 .25 13.5V10c0-.966.784-1.75 1.75-1.75h3.586a.25.25 0 0 0 .177-.073zm1.487 1.237a.25.25 0 0 0-.427-.177l-5 5a1.75 1.75 0 0 1-1.237.513H2a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.086c.464 0 .909.184 1.237.513l5.5 5.5a.25.25 0 0 0 .427-.177z",clipRule:"evenodd"}),r.jsx("path",{d:"M15.712 8.227a.75.75 0 0 1 1.06 0 5.75 5.75 0 0 1 0 8.132.75.75 0 1 1-1.06-1.06 4.25 4.25 0 0 0 0-6.011.75.75 0 0 1 0-1.061"}),r.jsx("path",{d:"M20.03 5.47a.75.75 0 1 0-1.06 1.06 8.25 8.25 0 0 1 0 11.668.75.75 0 0 0 1.06 1.06c3.808-3.807 3.808-9.98 0-13.788"})]}),or=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 1.25A4.75 4.75 0 0 0 7.25 6v6a4.75 4.75 0 1 0 9.5 0V6A4.75 4.75 0 0 0 12 1.25M8.75 6a3.25 3.25 0 0 1 6.5 0v6a3.25 3.25 0 0 1-6.5 0z",clipRule:"evenodd"}),r.jsx("path",{d:"M5.75 9a.75.75 0 0 0-1.5 0v3a7.75 7.75 0 0 0 7 7.714v2.536H8.5a.75.75 0 0 0 0 1.5h7a.75.75 0 0 0 0-1.5h-2.75v-2.536a7.75 7.75 0 0 0 7-7.714V9a.75.75 0 0 0-1.5 0v3a6.25 6.25 0 1 1-12.5 0z"})]}),ir=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 4.5v15h15v-15zM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),ar=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7 6.25a.75.75 0 0 0 0 1.5h4.25V18a.75.75 0 0 0 1.5 0V7.75H17a.75.75 0 0 0 0-1.5zm1.088 15.216c.457-.61 1.37-.606 1.812-.016 1.05 1.4 3.15 1.4 4.2 0 .443-.59 1.355-.593 1.812.016 1.035 1.38 3.119 1.446 4.21.082l.464-.58a.75.75 0 0 0-1.172-.936l-.463.579c-.465.58-1.379.569-1.839-.045-1.042-1.39-3.155-1.426-4.212-.016-.45.6-1.35.6-1.8 0-1.057-1.41-3.17-1.374-4.212.016-.46.614-1.374.626-1.839.045l-.463-.58a.75.75 0 1 0-1.172.938l.464.579c1.091 1.364 3.175 1.298 4.21-.082"})]}),sr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M11.75 1A4.749 4.749 0 0 0 9 9.62V15H4.767a2.75 2.75 0 0 0-2.75 2.704L2 18.738a.75.75 0 0 0 .75.762h18a.75.75 0 0 0 .75-.75v-1A2.75 2.75 0 0 0 18.75 15H14.5V9.62A4.749 4.749 0 0 0 11.75 1M8.5 5.75a3.25 3.25 0 0 1 3.25-3.25 3.249 3.249 0 0 1 1.626 6.06.75.75 0 0 0-.376.65v6.54c0 .414.336.75.75.75h5c.69 0 1.25.56 1.25 1.25V18H3.513l.004-.27a1.25 1.25 0 0 1 1.25-1.23H9.75a.75.75 0 0 0 .75-.75V9.21a.75.75 0 0 0-.376-.65A3.23 3.23 0 0 1 8.5 5.75",clipRule:"evenodd"}),r.jsx("path",{d:"M2.75 21a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5z"})]}),lr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 .75a.75.75 0 0 1 .692.462l2.734 6.572 7.095.57a.75.75 0 0 1 .428 1.316l-5.406 4.631 1.652 6.924a.75.75 0 0 1-1.12.814L12 18.33l-6.075 3.71a.75.75 0 0 1-1.12-.814l1.651-6.924-5.406-4.63a.75.75 0 0 1 .428-1.318l7.096-.569 2.733-6.572A.75.75 0 0 1 12 .75m0 2.703-2.217 5.33a.75.75 0 0 1-.633.46l-5.755.461L7.78 13.46a.75.75 0 0 1 .242.744l-1.34 5.615 4.927-3.01a.75.75 0 0 1 .782 0l4.926 3.01-1.34-5.615a.75.75 0 0 1 .243-.744l4.384-3.756-5.755-.461a.75.75 0 0 1-.632-.46z",clipRule:"evenodd"})]}),ur=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.25 7A.75.75 0 0 1 7 6.25h10a.75.75 0 0 1 0 1.5h-4.25v2h-1.5v-2H7A.75.75 0 0 1 6.25 7m5 11v-3.75h1.5V18a.75.75 0 0 1-1.5 0M5 11.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z"})]}),cr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"m18.59 14.99 3.02-3.01h-.01a2.76 2.76 0 0 0 0-3.89l-.53-.53-3.36 3.36c-.3.28-.76.3-1.06 0s-.29-.77 0-1.06c1.24-1.24 1.51-2.89 1.33-4.22-.12-.93-.6-1.77-1.26-2.43L14.17.66a.76.76 0 0 0-.74-.18.7.7 0 0 0-.52.55v.04c-.02.03-.03.08-.03.14-.046.11-.091.277-.145.473l-.015.057c-.13.46-.35 1.1-.65 1.82-.43 1.05-1.03 2.26-1.83 3.34-.28.38-.22.93.12 1.27l6.82 6.82c.39.39 1.02.39 1.41 0"}),r.jsx("path",{fillRule:"evenodd",d:"m8.35 8.27 8.84 8.84c.39.39.39 1.02 0 1.41l-.53.53c-.68.69-1.78.69-2.47 0l-1.96-1.96c-.12-.1-.3-.09-.39.04L8.8 21.68c-1.25 1.9-3.94 2.17-5.56.56s-1.36-4.31.54-5.56l4.56-3.05c.13-.09.15-.28.04-.39l-1.97-1.95c-.68-.69-.68-1.81 0-2.49l.53-.53a.996.996 0 0 1 1.41 0m-3.19 10.6a.996.996 0 0 0 0 1.41c.39.4 1.02.38 1.41 0s.38-1.02 0-1.41-1.02-.38-1.41 0",clipRule:"evenodd"})]}),dr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.58 18.877a1 1 0 1 0-1.414 1.414 1 1 0 0 0 1.414-1.414"}),r.jsx("path",{fillRule:"evenodd",d:"M7.465 7.74a1.75 1.75 0 0 1 2.262-.182c1.055-1.231 1.823-2.722 2.347-3.992a20 20 0 0 0 .8-2.355q.025-.092.036-.139l.01-.042a.75.75 0 0 1 1.263-.36l4.93 4.931.02.018 1.414 1.415.018.018 1.042 1.043a2.75 2.75 0 0 1 0 3.889l-3.724 3.724a1.75 1.75 0 0 1-.164 2.286l-1.06 1.06a1.75 1.75 0 0 1-2.476 0l-1.965-1.965a.25.25 0 0 0-.385.038l-3.039 4.558a3.62 3.62 0 1 1-5.019-5.02l4.558-3.038a.25.25 0 0 0 .038-.385l-1.966-1.966a1.75 1.75 0 0 1 0-2.475l1.061-1.06Zm6.553-5.113 3.89 3.89.01.089c.02.193.032.476-.01.813-.084.667-.375 1.566-1.251 2.442a.75.75 0 0 0 1.06 1.06l2.298-2.297.53.53a1.25 1.25 0 0 1 0 1.768l-3.711 3.712-6.03-6.03C12.04 7.187 12.9 5.5 13.462 4.138c.232-.565.416-1.08.557-1.51Zm2.64 13.952-.328-.328-.027-.026-7.071-7.07-.026-.028L8.88 8.8a.25.25 0 0 0-.353 0L7.465 9.861a.25.25 0 0 0 0 .354l1.966 1.966a1.75 1.75 0 0 1-.267 2.693l-4.558 3.039a2.12 2.12 0 1 0 2.939 2.939l3.039-4.558a1.75 1.75 0 0 1 2.693-.267l1.966 1.966a.25.25 0 0 0 .354 0l1.06-1.06a.25.25 0 0 0 0-.354Z",clipRule:"evenodd"})]}),pr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.013 2.747c.093 2.94.689 9.343 2.195 11.063a.6.6 0 0 0 .463.19h6.657a.6.6 0 0 0 .464-.19c1.505-1.72 2.101-8.122 2.194-11.063A.73.73 0 0 0 17.25 2H6.75a.73.73 0 0 0-.737.747M9 16h6l-2.064 5.503c-.324.865-1.548.865-1.872 0z"})]}),hr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7.75 2a.75.75 0 0 0-1.5 0c0 1.225.116 3.704.402 6.128.143 1.213.33 2.428.571 3.472.235 1.018.54 1.97.964 2.587.292.424.755.563 1.124.563h5.378c.37 0 .832-.14 1.124-.563.423-.617.729-1.57.963-2.587.241-1.044.429-2.259.572-3.472.286-2.424.402-4.903.402-6.128a.75.75 0 0 0-1.5 0c0 1.164-.112 3.584-.392 5.953-.14 1.183-.32 2.339-.543 3.31-.213.925-.45 1.602-.682 1.987H9.367c-.233-.385-.47-1.062-.683-1.987-.224-.971-.404-2.127-.543-3.31-.28-2.37-.392-4.79-.392-5.953Z"}),r.jsx("path",{fillRule:"evenodd",d:"M9.5 15.25a.75.75 0 0 0-.716.974l1.546 4.945c.511 1.638 2.829 1.638 3.34 0l1.546-4.945a.75.75 0 0 0-.716-.974zm2.261 5.472-1.24-3.972h2.959l-1.241 3.972a.25.25 0 0 1-.478 0",clipRule:"evenodd"})]}),fr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 3.75a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zm3 5a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zM2.25 14.5a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75M6 18.75a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),mr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 3.75a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zm0 5a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zm-.75 5.75a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75M3 18.75a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),gr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 3.75a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zm0 5a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zm-.75 5.75a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75M3 18.75a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),vr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M3 3.75a.75.75 0 0 0 0 1.5h18a.75.75 0 0 0 0-1.5zm6 5a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5zM2.25 14.5a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75M9 18.75a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]}),yr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M18.75 3a.75.75 0 0 0-1.5 0v2.25H15a.75.75 0 0 0 0 1.5h2.25V9a.75.75 0 0 0 1.5 0V6.75H21a.75.75 0 0 0 0-1.5h-2.25z"}),r.jsx("path",{fillRule:"evenodd",d:"M9.18 4.684a.75.75 0 0 0-1.36 0l-6.5 14a.75.75 0 1 0 1.36.632l2.342-5.044h6.956l2.342 5.044a.75.75 0 0 0 1.36-.632zM8.5 6.781l2.782 5.99H5.719L8.5 6.782Z",clipRule:"evenodd"})]}),br=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsxs("g",{clipPath:"url(#text-callout-icon_svg__a)",children:[r.jsx("path",{d:"M11 4.25a.75.75 0 0 0 0 1.5h2.25V11a.75.75 0 0 0 1.5 0V5.75H17a.75.75 0 0 0 0-1.5z"}),r.jsx("path",{fillRule:"evenodd",d:"M9 .25A4.75 4.75 0 0 0 4.25 5v6A4.75 4.75 0 0 0 9 15.75h10A4.75 4.75 0 0 0 23.75 11V5A4.75 4.75 0 0 0 19 .25zM5.75 5A3.25 3.25 0 0 1 9 1.75h10A3.25 3.25 0 0 1 22.25 5v6A3.25 3.25 0 0 1 19 14.25H9A3.25 3.25 0 0 1 5.75 11z",clipRule:"evenodd"}),r.jsx("path",{d:"M13.25 19.365V17h1.5v3a.75.75 0 0 1-.626.74L3.953 22.435a2 2 0 1 1-.247-1.48z"})]}),r.jsx("defs",{children:r.jsx("clipPath",{id:"text-callout-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),wr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4 3.25a.75.75 0 0 0 0 1.5h4.25V15a.75.75 0 0 0 1.5 0V4.75H14a.75.75 0 0 0 0-1.5zM8 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1h-9.75v7A2.25 2.25 0 0 1 8 17.016z",clipRule:"evenodd"})]}),xr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.25 7A.75.75 0 0 1 7 6.25h10a.75.75 0 0 1 0 1.5h-4.25V18a.75.75 0 0 1-1.5 0V7.75H7A.75.75 0 0 1 6.25 7",clipRule:"evenodd"})]}),Dr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 13.75h.25V19a.75.75 0 0 0 1.5 0V5.75h2.265V19a.75.75 0 0 0 1.5 0V5.75H14a.75.75 0 0 0 0-1.5H6a4.75 4.75 0 0 0 0 9.5m0-8a3.25 3.25 0 1 0 0 6.5h.25v-6.5z",clipRule:"evenodd"}),r.jsx("path",{d:"M15.53 9.47a.75.75 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06L18 11.94z"})]}),Cr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6 13.75h.25V19a.75.75 0 0 0 1.5 0V5.75h2.265V19a.75.75 0 0 0 1.5 0V5.75H14a.75.75 0 0 0 0-1.5H6a4.75 4.75 0 0 0 0 9.5m0-8a3.25 3.25 0 1 0 0 6.5h.25v-6.5z",clipRule:"evenodd"}),r.jsx("path",{d:"M15.53 13.53a.75.75 0 1 1-1.06-1.06l3-3a.75.75 0 0 1 1.06 0l3 3a.75.75 0 1 1-1.06 1.06L18 11.06z"})]}),Er=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M4.25 5A.75.75 0 0 1 5 4.25h14a.75.75 0 0 1 .75.75v2.727a.75.75 0 0 1-1.5 0V5.75h-5.5v13.5h2.05a.75.75 0 0 1 0 1.5H9.2a.75.75 0 0 1 0-1.5h2.05V5.75h-5.5v1.977a.75.75 0 1 1-1.5 0z",clipRule:"evenodd"})]}),Sr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M15 5.25a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5zM9.184 8.692a.75.75 0 0 0-1.368 0l-4.5 10a.75.75 0 1 0 1.368.616l1.562-3.471h4.508l1.562 3.47a.75.75 0 0 0 1.368-.615zM8.5 10.828l1.58 3.509H6.92z",clipRule:"evenodd"})]}),_r=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5 4.25a.75.75 0 0 0-.75.75v5c0 .414.336.75.75.75h5a.75.75 0 0 0 .75-.75V5a.75.75 0 0 0-.75-.75zm.75 5v-3.5h3.5v3.5zm-.75 4a.75.75 0 0 0-.75.75v5c0 .414.336.75.75.75h5a.75.75 0 0 0 .75-.75v-5a.75.75 0 0 0-.75-.75zm.75 5v-3.5h3.5v3.5zm7.5-4.25a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-.75.75h-5a.75.75 0 0 1-.75-.75zm1.5.75v3.5h3.5v-3.5zM14 4.25a.75.75 0 0 0-.75.75v5c0 .414.336.75.75.75h5a.75.75 0 0 0 .75-.75V5a.75.75 0 0 0-.75-.75zm.75 5v-3.5h3.5v3.5z",clipRule:"evenodd"})]}),Pr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M21.26 8.978c.1.09.19.19.27.29.5.66.61 1.57.29 2.33-.11.26-.26.49-.45.68.37.5.48 1.11.4 1.66-.17 1.15-1.1 1.96-2.27 1.96h-3.25a.3.3 0 0 0-.29.15.34.34 0 0 0-.03.34l1.56 3.79c.35 1.11-.26 2.33-1.36 2.7-1.02.36-2.15-.1-2.64-1.06-1.5-2.99-2.92-4.72-4.05-6.11-.07-.09-.14-.17-.21-.26-.02 0-.03.01-.05.01H6.45c-1.2 0-2.15-.8-2.77-1.83-.62-1.04-.98-2.43-.98-3.92s.36-2.89.98-3.92 1.57-1.82 2.76-1.83h3s.04.01.06.01c1.17-.96 2.71-1.57 4.61-1.57h2.99c2.37 0 3.55 1.38 3.64 2.66.02.27-.01.53-.08.76.18.12.34.28.48.46.51.66.63 1.58.31 2.35-.05.13-.12.25-.19.36zM6.45 5.458c-.46 0-1.01.32-1.48 1.1-.46.77-.77 1.88-.77 3.15s.31 2.38.77 3.15c.47.78 1.02 1.1 1.48 1.1H8.1c-.78-1.15-1.27-2.36-1.27-4.2 0-1.49.45-3.02 1.32-4.3zm13.89 4.73c-.15-.2-.38-.28-.67-.24a.753.753 0 0 1-.84-.65v-.1c0-.37.28-.69.66-.74.3-.04.5-.18.59-.41.11-.28.07-.63-.11-.86-.15-.19-.36-.26-.66-.22-.4.07-.79-.23-.85-.64s.23-.79.64-.85c.14-.02.16-.18.15-.32-.04-.51-.63-1.26-2.14-1.26h-2.99c-3.76 0-5.79 3.02-5.79 5.86 0 2.22.86 3.27 2.28 5 1.19 1.45 2.66 3.25 4.23 6.39a.66.66 0 0 0 .81.32c.34-.12.53-.49.44-.77l-1.54-3.73c-.24-.58-.17-1.23.17-1.74s.92-.82 1.54-.82h3.25c.5 0 .73-.36.78-.67.03-.19.03-.65-.57-.83a.75.75 0 0 1-.53-.78c.03-.35.3-.64.65-.68.3-.04.5-.17.6-.4.11-.27.07-.62-.11-.85z"})]}),kr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M20.56 15.022c.1-.09.19-.19.27-.29.5-.66.61-1.57.29-2.33-.11-.26-.26-.49-.45-.68.37-.5.48-1.11.4-1.66-.17-1.15-1.1-1.96-2.27-1.96h-3.25a.3.3 0 0 1-.29-.15.34.34 0 0 1-.03-.34l1.56-3.79c.35-1.11-.26-2.33-1.36-2.7-1.02-.36-2.15.1-2.64 1.06-1.5 2.99-2.92 4.72-4.05 6.11-.07.09-.14.17-.21.26-.02 0-.03-.01-.05-.01H5.75c-1.2 0-2.15.8-2.77 1.83-.62 1.04-.98 2.43-.98 3.92s.36 2.89.98 3.92 1.57 1.82 2.76 1.83h3s.04-.01.06-.01c1.17.96 2.71 1.57 4.61 1.57h2.99c2.37 0 3.55-1.38 3.64-2.66.02-.27-.01-.53-.08-.76.18-.12.34-.28.48-.46.51-.66.63-1.58.31-2.35-.05-.13-.12-.25-.19-.36zm-14.81 3.52c-.46 0-1.01-.32-1.48-1.1-.46-.77-.77-1.88-.77-3.15s.31-2.38.77-3.15c.47-.78 1.02-1.1 1.48-1.1H7.4c-.78 1.15-1.27 2.36-1.27 4.2 0 1.49.45 3.02 1.32 4.3zm13.89-4.73c-.15.2-.38.28-.67.24a.753.753 0 0 0-.84.65v.1c0 .37.28.69.66.74.3.04.5.18.59.41.11.28.07.63-.11.86-.15.19-.36.26-.66.22-.4-.07-.79.23-.85.64s.23.79.64.85c.14.02.16.18.15.32-.04.51-.63 1.26-2.14 1.26h-2.99c-3.76 0-5.79-3.02-5.79-5.86 0-2.22.86-3.27 2.28-5 1.19-1.45 2.66-3.25 4.23-6.39a.66.66 0 0 1 .81-.32c.34.12.53.49.44.77l-1.54 3.73c-.24.58-.17 1.23.17 1.74s.92.82 1.54.82h3.25c.5 0 .73.36.78.67.03.19.03.65-.57.83-.34.1-.56.43-.53.78s.3.64.65.68c.3.04.5.17.6.4.11.27.07.62-.11.85z"})]}),Ar=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.75 4a2.25 2.25 0 0 1 4.5 0v.25h-4.5zm6 0a3.75 3.75 0 1 0-7.5 0v.25H3a.75.75 0 0 0 0 1.5h1.25V20A2.75 2.75 0 0 0 7 22.75h10A2.75 2.75 0 0 0 19.75 20V5.75H21a.75.75 0 0 0 0-1.5h-5.25zm-10 16V5.75h12.5V20c0 .69-.56 1.25-1.25 1.25H7c-.69 0-1.25-.56-1.25-1.25m7-11a.75.75 0 0 0-1.5 0v9a.75.75 0 0 0 1.5 0zM8.5 8.25a.75.75 0 0 1 .75.75v9a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75m7.75.75a.75.75 0 0 0-1.5 0v9a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})]}),zr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M19.75 3a.75.75 0 0 0-1.5 0v18a.75.75 0 0 0 1.5 0zM5 6.25a.75.75 0 0 0 0 1.5h4.25V18a.75.75 0 0 0 1.5 0V7.75H15a.75.75 0 0 0 0-1.5z"})]}),Tr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M8.75 7a.75.75 0 0 0-1.5 0v7a4.75 4.75 0 1 0 9.5 0V7a.75.75 0 0 0-1.5 0v7a3.25 3.25 0 0 1-6.5 0zM5 20.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z"})]}),Or=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M7 6.25a.75.75 0 0 0 0 1.5h4.25V18a.75.75 0 0 0 1.5 0V7.75H17a.75.75 0 0 0 0-1.5zm-2 14a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5z"})]}),Ir=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M6.53 3.47a.75.75 0 0 1 0 1.06L3.81 7.25H7a.75.75 0 1 1 0 1.5H3.81l2.72 2.72a.75.75 0 1 1-1.06 1.06L.94 8l4.53-4.53a.75.75 0 0 1 1.06 0m8 0a.75.75 0 0 1 0 1.06l-2.72 2.72H14a6.75 6.75 0 0 1 0 13.5h-2a.75.75 0 0 1 0-1.5h2a5.25 5.25 0 1 0 0-10.5h-2.19l2.72 2.72a.75.75 0 1 1-1.06 1.06L8.94 8l4.53-4.53a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),Fr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.53 3.47a.75.75 0 0 1 0 1.06L5.81 7.25H14a6.75 6.75 0 0 1 0 13.5h-2a.75.75 0 0 1 0-1.5h2a5.25 5.25 0 1 0 0-10.5H5.81l2.72 2.72a.75.75 0 1 1-1.06 1.06L2.94 8l4.53-4.53a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})]}),Mr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#undo-redo-icon_svg__a)",children:r.jsx("path",{d:"M5.78 1.53A.75.75 0 1 0 4.72.47L.94 4.25l3.78 3.78a.75.75 0 0 0 1.06-1.06L3.81 5h6.315a4.125 4.125 0 1 1 0 8.25H8.5a.75.75 0 0 0 0 1.5h1.625a5.625 5.625 0 0 0 0-11.25H3.811zm13.69 14a.75.75 0 1 1 1.06-1.06L23.06 17l-2.53 2.53a.75.75 0 1 1-1.06-1.06l.72-.72H17a2.25 2.25 0 1 0 0 4.5h1a.75.75 0 0 1 0 1.5h-1a3.75 3.75 0 1 1 0-7.5h3.19z"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"undo-redo-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Rr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M13 3.25a.75.75 0 0 0-.75.75v7c0 .414.336.75.75.75h7a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm.75 7v-5.5h5.5v5.5zm-9.75 2a.75.75 0 0 0-.75.75v7c0 .414.336.75.75.75h7a.75.75 0 0 0 .75-.75v-7a.75.75 0 0 0-.75-.75zm.75 7v-5.5h5.5v5.5z",clipRule:"evenodd"})]}),jr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12.75 15.8a1.5 1.5 0 1 0-1.5 0V18a.75.75 0 0 0 1.5 0z"}),r.jsx("path",{fillRule:"evenodd",d:"M12 .25A4.75 4.75 0 0 0 7.25 5v.5a.75.75 0 0 0 1.5 0V5a3.25 3.25 0 0 1 6.5 0v4H6a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8a3 3 0 0 0-3-3h-1.25V5A4.75 4.75 0 0 0 12 .25M4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 1.5 1.5v8a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 20z",clipRule:"evenodd"})]}),Br=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M11.25 18a.75.75 0 0 0 1.5 0V4.81l2.72 2.72a.75.75 0 1 0 1.06-1.06L12 1.94 7.47 6.47a.75.75 0 0 0 1.06 1.06l2.72-2.72z"}),r.jsx("path",{d:"M3.75 17a.75.75 0 0 0-1.5 0v3A2.75 2.75 0 0 0 5 22.75h14A2.75 2.75 0 0 0 21.75 20v-3a.75.75 0 0 0-1.5 0v3c0 .69-.56 1.25-1.25 1.25H5c-.69 0-1.25-.56-1.25-1.25z"})]}),Nr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M8.25 8.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0m6.78 4.289a5.25 5.25 0 1 0-6.058 0A8.75 8.75 0 0 0 3.249 21a.75.75 0 0 0 1.5 0 7.25 7.25 0 1 1 14.5 0 .75.75 0 0 0 1.5 0 8.75 8.75 0 0 0-5.72-8.211Z",clipRule:"evenodd"})]}),Lr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#vertical-scroll-icon_svg__a)",children:r.jsx("path",{d:"m12-.06.528.528h-1.056L12-.061Zm.528.528-1.06.004L8.47 3.47a.75.75 0 0 0 1.06 1.06l1.72-1.72V7a.75.75 0 0 0 1.5 0V2.81l1.72 1.72a.75.75 0 1 0 1.06-1.06zm-1.06 23.06L8.47 20.53a.75.75 0 1 1 1.06-1.06l1.72 1.72V17a.75.75 0 0 1 1.5 0v4.19l1.72-1.72a.75.75 0 1 1 1.06 1.06l-2.998 2.998-.004.004-.528.529-.528-.529zM12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"vertical-scroll-icon_svg__a",children:r.jsx("path",{d:"M0 0h24v24H0z"})})})]}),Kr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M15.25 12.433a.5.5 0 0 0 0-.866l-4.5-2.598a.5.5 0 0 0-.75.433v5.196a.5.5 0 0 0 .75.433z"}),r.jsx("path",{fillRule:"evenodd",d:"M1 6a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm2-.5h18a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]}),Vr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0m1.5 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10M11.25 7a.75.75 0 0 1 1.5 0v5.75H8a.75.75 0 0 1 0-1.5h3.25z",clipRule:"evenodd"})]}),qr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M13.5 3.043a1.75 1.75 0 0 0-3 0L.266 20.1c-.7 1.166.14 2.65 1.5 2.65h20.468c1.36 0 2.2-1.484 1.5-2.65L13.502 3.043ZM12.75 9a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm.5 8.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0",clipRule:"evenodd"})]}),Hr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M12 8.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75m0 10.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"}),r.jsx("path",{fillRule:"evenodd",d:"M10.5 3.043a1.75 1.75 0 0 1 3 0L23.736 20.1c.7 1.166-.14 2.65-1.501 2.65H1.766c-1.36 0-2.2-1.484-1.5-2.65zm1.715.772a.25.25 0 0 0-.43 0L1.553 20.871a.25.25 0 0 0 .214.379h20.468a.25.25 0 0 0 .214-.379z",clipRule:"evenodd"})]}),Zr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M6.136 7.607a.75.75 0 0 0-.772 1.286l2.5 1.5a.75.75 0 0 0 .772-1.286zm12.5 1.286a.75.75 0 1 0-.772-1.286l-2.5 1.5a.75.75 0 0 0 .772 1.286zm-7.5 1.714a.75.75 0 1 0-.772 1.286l.178.107-.178.107a.75.75 0 1 0 .772 1.286l.864-.518.864.518a.75.75 0 0 0 .772-1.286L13.458 12l.178-.107a.75.75 0 1 0-.772-1.286l-.864.518zm-2.5 4.286a.75.75 0 1 0-.772-1.286l-2.5 1.5a.75.75 0 1 0 .772 1.286zm7.5-1.286a.75.75 0 1 0-.772 1.286l2.5 1.5a.75.75 0 0 0 .772-1.286z"}),r.jsx("path",{fillRule:"evenodd",d:"M2 4.5A1.5 1.5 0 0 0 .5 6v12A1.5 1.5 0 0 0 2 19.5h20a1.5 1.5 0 0 0 1.5-1.5V6A1.5 1.5 0 0 0 22 4.5zm0 2.375v10.25l.864-.518a.75.75 0 1 1 .772 1.286L3.458 18h17.084l-.178-.107a.75.75 0 1 1 .772-1.286l.864.518V6.875l-.864.518a.75.75 0 1 1-.772-1.286L20.542 6H3.458l.178.107a.75.75 0 1 1-.772 1.286z",clipRule:"evenodd"})]}),Ur=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11M9.03 7.97a.75.75 0 0 0-1.06 1.06L10.94 12l-2.97 2.97a.75.75 0 1 0 1.06 1.06L12 13.06l2.97 2.97a.75.75 0 1 0 1.06-1.06L13.06 12l2.97-2.97a.75.75 0 0 0-1.06-1.06L12 10.94z",clipRule:"evenodd"})]}),$r=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M9.03 7.97a.75.75 0 0 0-1.06 1.06L10.94 12l-2.97 2.97a.75.75 0 1 0 1.06 1.06L12 13.06l2.97 2.97a.75.75 0 1 0 1.06-1.06L13.06 12l2.97-2.97a.75.75 0 0 0-1.06-1.06L12 10.94z"}),r.jsx("path",{fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-1.5 0a9.5 9.5 0 1 1-19 0 9.5 9.5 0 0 1 19 0",clipRule:"evenodd"})]}),Gr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M5.105 18.894a.75.75 0 0 1 0-1.06L10.94 12 5.105 6.166a.75.75 0 0 1 1.061-1.06L12 10.939l5.833-5.833a.75.75 0 0 1 1.061 1.06L13.06 12l5.834 5.834a.75.75 0 0 1-1.06 1.06L12 13.061l-5.834 5.833a.75.75 0 0 1-1.06 0Z",clipRule:"evenodd"})]}),Wr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M18.5 10c0 2.077-.745 3.98-1.983 5.457l.013.013 5 5a.75.75 0 0 1-1.06 1.06l-5-5-.013-.013A8.5 8.5 0 1 1 18.5 10M10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14m.75-10a.75.75 0 0 0-1.5 0v2.25H7a.75.75 0 0 0 0 1.5h2.25V13a.75.75 0 0 0 1.5 0v-2.25H13a.75.75 0 0 0 0-1.5h-2.25z",clipRule:"evenodd"})]}),Xr=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fillRule:"evenodd",d:"M18.5 10c0 2.077-.745 3.98-1.983 5.457l.013.013 5 5a.75.75 0 0 1-1.06 1.06l-5-5-.013-.013A8.5 8.5 0 1 1 18.5 10M10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14M7 9.25a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})]});t.fMw=b,t.BNd=z,t.QUb=T,t.KML=M,t.YAN=ee,t.mc$=Le,t.fpf=Jt,t.o1U=sn,t.hYA=xn,t.Pnb=Mn,t.W1M=Kn,t.VL1=xr},23652:(e,t,n)=>{"use strict";var r=n(85893),o=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.53 2.47a.75.75 0 0 0-1.06 0L4 3.94 2.53 2.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l2-2a.75.75 0 0 0 0-1.06",clipRule:"evenodd"})]}),i=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{d:"M1 8V0l6 4z"})]}),a=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",d:"M1 8V0l6 4z"})]}),s=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"currentColor",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#close-icon_svg__a)",children:r.jsx("path",{fillRule:"evenodd",d:"M.288 7.712a.75.75 0 0 1 0-1.06L2.939 4 .288 1.348a.75.75 0 1 1 1.06-1.06L4 2.939 6.652.288a.75.75 0 0 1 1.06 1.06L5.061 4l2.651 2.652a.75.75 0 1 1-1.06 1.06L4 5.061 1.348 7.712a.75.75 0 0 1-1.06 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"close-icon_svg__a",children:r.jsx("path",{d:"M0 0h8v8H0z"})})})]}),l=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 6.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M4 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8",clipRule:"evenodd"})]}),u=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.75 4a.75.75 0 0 1-.75.75H1a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 .75.75",clipRule:"evenodd"})]}),c=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 .25a.75.75 0 0 1 .75.75v2.25H7a.75.75 0 0 1 0 1.5H4.75V7a.75.75 0 0 1-1.5 0V4.75H1a.75.75 0 0 1 0-1.5h2.25V1A.75.75 0 0 1 4 .25",clipRule:"evenodd"})]}),d=({title:e,titleId:t,...n})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n.size||"1em",height:n.size||"1em",fill:"none",viewBox:"0 0 8 8","aria-labelledby":t,...n,children:[e?r.jsx("title",{id:t,children:e}):null,r.jsx("g",{clipPath:"url(#x-icon_svg__a)",children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M.288 7.712a.75.75 0 0 1 0-1.06L2.94 4 .288 1.348a.75.75 0 1 1 1.06-1.06L4 2.939 6.652.288a.75.75 0 0 1 1.06 1.06L5.062 4l2.652 2.652a.75.75 0 0 1-1.061 1.06L4 5.061 1.35 7.712a.75.75 0 0 1-1.061 0",clipRule:"evenodd"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"x-icon_svg__a",children:r.jsx("path",{fill:"transparent",d:"M0 0h8v8H0z"})})})]});t.v4=o,t.XC=a,t.V_=u,t.pO=c,t.b0=d},42731:(e,t,n)=>{"use strict";n.d(t,{BL:()=>xe,VY:()=>$e,lQ:()=>Ee,t7:()=>ze,$H:()=>ae,Sq:()=>Te});var r=n(20770),o=n(67294),i=n(86233),a=n(8840),s=n(56479),l=n(9948);function u(e,t){const{children:n,...r}=t;return n?(0,l.j)(e,r,...Array.isArray(n)?n:[n]):(0,l.j)(e,r)}var c=u,d=o.Fragment,p=n(70799),h=n(85893),f=n(43098),m=n(45071),g=n(99666),v=n(85816),y=n(73935),b=n(83034),w=n(36590),x=n.n(w);function D(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function C(e,t,n){return(t=D(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t{for(var r of Object.keys(e)){var o;if(e[r]!==(null!==(o=t[r])&&void 0!==o?o:n[r]))return!1}return!0},k=e=>{var t=t=>{var n=e.defaultClassName,r=S(S({},e.defaultVariants),t);for(var o in r){var i,a=null!==(i=r[o])&&void 0!==i?i:e.defaultVariants[o];if(null!=a){var s=a;"boolean"==typeof s&&(s=!0===s?"true":"false");var l=e.variantClassNames[o][s];l&&(n+=" "+l)}}for(var[u,c]of e.compoundVariants)P(u,r,e.defaultVariants)&&(n+=" "+c);return n};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return _(e.variantClassNames,(e=>_(e,(e=>e.split(" ")[0]))))}},t},A=k({defaultClassName:"_96lriw3",variantClassNames:{isFocusVisible:{true:"_96lriw4"},isDisabled:{true:"_1yep5z6da"},isInline:{false:"_96lriw6 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jc _1yep5z6jd _1yep5z6je _1yep5z6kv _1yep5z6g5",true:"_96lriw7 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6gq _1yep5z6g3"}},defaultVariants:{},compoundVariants:[]}),z=k({defaultClassName:"_96lriw8 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn _1yep5z6dy _1yep5z6f9",variantClassNames:{isInline:{false:"_96lriw9",true:"_96lriwa"}},defaultVariants:{},compoundVariants:[]}),T=k({defaultClassName:"_96lriw0 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z6ir _1yep5z6is _1yep5z6it",variantClassNames:{isInline:{false:"_96lriw1",true:"_1yep5z69o _1yep5z69p _1yep5z69q"}},defaultVariants:{},compoundVariants:[]}),O=o.forwardRef((({className:e,style:t,inputStyle:n,inputClassName:r,clearLabel:s,defaultValue:l,value:u,"data-block-id":c,isInline:d=!0,label:f,footerStyle:m,footerClassName:g,...v},y)=>{let b=o.useRef(null),[w,x]=o.useState(u||l||""),{inputProps:D,labelProps:C}=(0,p.hR)({...v,value:u||w,onChange:e=>{v.onChange?.(e),x(e)},"aria-label":f},b),{isFocusVisible:E,focusProps:S}=(0,p.Fx)({isTextInput:!0});return(0,h.jsxs)(i.Group,{className:(0,a.AK)(T({isInline:d}),"BaselineUI-SignatureTextInput",e),style:t,ref:y,"data-block-id":c,children:[(0,h.jsx)("input",{...(0,p.dG)(D,S),className:(0,a.AK)(A({isFocusVisible:E,isDisabled:v.isDisabled,isInline:d}),r),ref:b,style:n}),(0,h.jsx)("div",{className:(0,a.AK)(d?void 0:"_1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6fu _1yep5z6kv _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jl _1yep5z6jm _1yep5z6jn",g),style:m,children:b.current?.value?(0,h.jsx)(i.ActionButton,{label:s,variant:"ghost",size:d?"md":"sm",isDisabled:v.isDisabled||!w,onPress:()=>{x(""),v.onChange?.("")}}):(0,h.jsx)("label",{...C,"aria-disabled":"true",className:z({isInline:d}),children:f})})]})}));O.displayName="SignatureTextInput";var I=k({defaultClassName:"jzfzia3",variantClassNames:{isFocusVisible:{true:"jzfzia4"}},defaultVariants:{},compoundVariants:[]}),F=({children:e})=>{let t=o.useRef(null),{focusProps:n,isFocusVisible:a}=(0,p.Fx)(),[s,l]=(0,i.useLocalStorage)("bui-devtools",{x:0,y:0}),{buttonProps:u}=(0,p.UW)({},t),[c,d]=(0,f.q_)((()=>({left:s.x,top:s.y,config:{tension:600,friction:30}}))),v=o.useRef(null),y=(0,r.nP)(),{size:b={width:0,height:0}}=(0,i.useResizeObserver)({ref:v}),{moveProps:w}=(0,p.r_)({onMove:e=>{l((({x:t,y:n})=>{"keyboard"===e.pointerType&&(t=(0,r.uZ)(t,0,y.width),n=(0,r.uZ)(n,0,y.height));let o=e.shiftKey?10:1;return{x:t+=e.deltaX*o,y:n+=e.deltaY*o}}))}});return(0,m.useGranularLayoutEffect)((()=>{d.start({left:(0,r.uZ)(s.x,0,y.width-b.width),top:(0,r.uZ)(s.y,0,y.height-b.height)})}),[s],[d,y,b]),(0,h.jsx)(i.Portal,{children:(0,h.jsxs)(f.q.div,{role:"toolbar",ref:v,className:"jzfzia1 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6d7 _1yep5z6gq _1yep5z6fs _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6f0",style:c,children:[(0,h.jsx)("button",{...(0,p.dG)(w,n,u),className:I({isFocusVisible:a}),ref:t,"aria-label":"Drag to move",children:(0,h.jsx)(g.YAN,{className:"jzfzia5",size:20})}),(0,h.jsx)(i.Separator,{orientation:"vertical"}),e]})})};function M(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function R(){let e=M(180,255),t=M(180,255),n=M(180,255);return`#${e.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}var j=[{id:"none",label:"None"},{id:"blockid",label:"Block ID"},{id:"classnames",label:"Class Names"}],B=({classStartsWith:e,onForceUpdate:t})=>{let n=o.useRef("none"),s=o.useRef(null),l=o.useRef(null),u=(0,o.useCallback)((()=>{let t,o=(0,r.r3)(s.current);if("blockid"===n.current)t=o.body.querySelectorAll("[data-block-id]");else{let n=o.body.querySelectorAll(`[class*="${e}"]`),r=l.current?.closest("[role='toolbar']");t=[...n].filter((t=>!r?.contains(t)&&[...t.classList].filter((t=>t.startsWith(e)))))}return[...t]}),[e]),c=(0,o.useCallback)((()=>{if(s.current&&(s.current.innerHTML="","none"!==n.current))for(let t of u()){let o=R();t.style.outline=`2px solid ${o}`,t.style.outlineOffset="-2px";let i="blockid"===n.current?t.dataset.blockId:[...t.classList.values()].filter((t=>t.startsWith(e))).join(" "),a=t.getBoundingClientRect(),l=(0,r.r3)(t).createElement("div");y.render((0,h.jsx)(N,{container:s.current||void 0,blockId:i||"",style:{top:`${a.top}px`,left:`${a.left}px`,backgroundColor:o}}),l),s.current?.append(l)}}),[e,u]);return(0,o.useLayoutEffect)((()=>{let e=(0,r.r3)(s.current),t=(0,r.kR)(s.current);return s.current=e.createElement("div"),e.body.append(s.current),t.addEventListener("resize",c),()=>{s.current?.remove(),t.removeEventListener("resize",c)}}),[c]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.Select,{placement:"bottom start",onSelectionChange:e=>{(0,a.kG)(s.current,"containerRef.current"),s.current.innerHTML="",n.current=e,"none"===e?t():c()},defaultSelectedKey:"none",items:j,ref:l,"aria-label":"Select debug type"}),(0,h.jsx)(i.ActionIconButton,{icon:g.Pnb,size:"md",onPress:c,"aria-label":"Refresh"})]})};function N({blockId:e,style:t,container:n}){return(0,h.jsx)(i.Portal,{portalContainer:n,children:(0,h.jsx)("div",{style:t,className:"jzfzia0",children:(0,h.jsx)(i.Text,{className:(0,v.Kj)({padding:"xs"}),style:{color:"black"},type:"value",size:"sm",children:e})})})}var L=o.forwardRef((({className:e,style:t,children:n,classStartsWith:r="BaselineUI"},i)=>{let[a,s]=o.useState(0),l=(0,o.useMemo)((()=>()=>{s((e=>e+1))}),[]);return(0,h.jsxs)("div",{className:e,style:t,ref:i,children:[(0,h.jsx)(F,{children:(0,h.jsx)("div",{className:"jzfzia2 _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6i9 _1yep5z6ia _1yep5z6ib",children:(0,h.jsx)(B,{classStartsWith:r,onForceUpdate:l})})}),(0,h.jsx)(o.Fragment,{children:n},a)]})}));L.displayName="Devtools";var K=o.forwardRef((({className:e,minWidth:t=10,maxWidth:n=Number.MAX_SAFE_INTEGER,height:r=96,strokeWidth:s=1,strokeColor:l="#3F87EA",fillColor:u="#AFFCFE",fontColor:c="#3F87EA",fontFamily:d="Arial",text:p,subText:f,style:g,label:v=(0,h.jsx)(i.MessageFormat,{id:"preview",defaultMessage:"Preview"}),"data-block-id":y,onDimensionsChange:b,...w},x)=>{let D=(f?.6:.7)*r,[C,E]=o.useState(D),[S,_]=o.useState(Math.min(t,n)),P=o.useRef(null);return(0,m.useGranularLayoutEffect)((()=>{if(!p||!P.current)return;let e=48+(0,a.Zw)({text:p,fontFamily:"Arial",fontWeight:"bold",fontSize:C}).width,o=48+(0,a.Zw)({text:p,fontFamily:"Arial",fontWeight:"bold",fontSize:D}).width,i=D,s=Math.max(e,t);(e>n||o>n)&&(i=(0,a.TI)({text:p,maxWidth:n-48,fontFamily:"Arial",fontWeight:"bold",initialFontSize:D}),s=i(0,h.jsxs)("div",{className:(0,a.AK)(V({hasName:!!r}),"BaselineUI-Comment",e),style:t,ref:g,"data-block-id":f,"data-comment-id":m,children:[(0,h.jsxs)("div",{className:H({isInline:c}),children:[(0,h.jsxs)("div",{className:Z({isInline:c}),children:[u?(0,h.jsx)(i.Avatar,{...u,size:"md"}):null,(0,h.jsxs)(i.Box,{display:"flex",flexDirection:"column",flex:1,justifyContent:"center",children:[r?(0,h.jsx)(i.Text,{type:"subtitle",size:"sm",children:r}):null,(0,h.jsx)(i.Text,{type:"helper",size:"sm",children:s})]})]}),l?(0,h.jsx)(i.Menu,{placement:"bottom end",...l,children:(0,h.jsx)(i.ActionIconButton,{size:"sm",variant:"secondary",icon:b.nX,"aria-label":l["aria-label"]})}):null]}),(0,h.jsx)(i.Box,{paddingLeft:c&&u?"2xl":void 0,children:(0,h.jsxs)(i.Box,{paddingLeft:c&&u?"lg":void 0,display:"flex",gap:"md",flexDirection:"column",children:["string"==typeof o&&"html"===p?(0,h.jsx)("div",{className:(0,a.AK)(U,q),dangerouslySetInnerHTML:{__html:x().sanitize(o)}}):(0,h.jsx)("div",{className:(0,a.AK)(U,q),children:o}),!!n?.length&&(0,h.jsx)("div",{className:H({isInline:!0}),children:n.map((e=>(0,h.jsx)(i.Reaction,{...e},e.id)))}),d]})})]})));function G({state:e,initialState:t={},onChange:n,ref:r}){let[s,l]=o.useState({...t,...e}),u=(0,i.useI18n)(),c=(0,i.useDevice)(r?.current||void 0),d=(0,o.useRef)(Object.fromEntries(Object.entries(e||{}).map((([e,t])=>[e,void 0!==t])))),p=(0,o.useMemo)((()=>Object.fromEntries(Object.entries(e||{}).map((([e,t])=>[e,void 0!==t])))),[e]);return(0,o.useEffect)((()=>{for(let e in d.current){let t=d.current[e];t!==p[e]&&console.warn(`WARN: A component changed from ${t?"controlled":"uncontrolled"} to ${p[e]?"controlled":"uncontrolled"}.`),d.current[e]=p[e]}}),[p]),{intl:u,state:o.useMemo((()=>({get:t=>p[t]?e?.[t]:s[t],set:(t,r)=>{if((p[t]?e?.[t]:s[t])===r)return;n?.({[t]:r}),p[t]?(0,a.kG)(n,"If you provide a controlled state, you must also provide an onChange handler."):l({...s,[t]:r})},toJS:()=>({...s,...e})})),[e,p,n,s]),device:c}}function W(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function X(e,t,n){return(t=W(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t{for(var r of Object.keys(e)){var o;if(e[r]!==(null!==(o=t[r])&&void 0!==o?o:n[r]))return!1}return!0},te=e=>{var t=t=>{var n=e.defaultClassName,r=Q(Q({},e.defaultVariants),t);for(var o in r){var i,a=null!==(i=r[o])&&void 0!==i?i:e.defaultVariants[o];if(null!=a){var s=a;"boolean"==typeof s&&(s=!0===s?"true":"false");var l=e.variantClassNames[o][s];l&&(n+=" "+l)}}for(var[u,c]of e.compoundVariants)ee(u,r,e.defaultVariants)&&(n+=" "+c);return n};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return J(e.variantClassNames,(e=>J(e,(e=>e.split(" ")[0]))))}},t},ne=te({defaultClassName:"x0o33h6 _1yep5z6i6 _1yep5z6i7 _1yep5z6i8 _1yep5z6fs",variantClassNames:{variant:{wide:"x0o33h7 _1yep5z69 _1yep5z6g _1yep5z6h _1yep5z62l _1yep5z62s _1yep5z62t _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69l _1yep5z69p _1yep5z69q",narrow:"x0o33h8 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69i _1yep5z69j _1yep5z69k"}},defaultVariants:{},compoundVariants:[]}),re=te({defaultClassName:"x0o33h3 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6ir _1yep5z6is _1yep5z6it",variantClassNames:{variant:{wide:"x0o33h4 _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z6fu",narrow:"x0o33h5 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h"}},defaultVariants:{},compoundVariants:[]}),oe=te({defaultClassName:"x0o33h0 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie",variantClassNames:{variant:{narrow:"_1yep5z6fs",wide:"x0o33h2"}},defaultVariants:{},compoundVariants:[]}),ie=(0,i.defineMessages)({signatures:{defaultMessage:"Signatures",id:"signatures"},addSignature:{defaultMessage:"Add Signature",id:"addSignature"},cancel:{defaultMessage:"Cancel",id:"cancel"},delete:{defaultMessage:"Delete",id:"delete"}}),ae=o.forwardRef((({children:e,state:t,onStateChange:n,initialState:l,...d},p)=>{let h=o.useRef(null),f={...d,...G({ref:h,initialState:l,state:t,onChange:n}),ref:(0,r.lq)(p,h)},m=(({className:e,style:t,titleId:n,items:r,ref:o,onAdd:l,onAddFromPreview:d,onRemoveFromPreview:p,onCancel:h,variant:f="wide",intl:{formatMessage:m}})=>{let g="narrow"===f,v=u(i.Separator,{className:"_1yep5z64r _1yep5z64s _1yep5z64t _1yep5z673 _1yep5z674 _1yep5z675"});return c("div",{style:t,className:(0,a.AK)(oe({variant:f}),e),ref:o,"data-block-id":"signatures-list",children:[c("div",{className:re({variant:f}),"data-block-id":"header",children:[u(i.Text,{id:n,type:"title",size:g?"sm":"md","data-block-id":"title",className:"PSPDFKit-Electronic-Signatures-Signature-Heading",children:m(ie.signatures)}),"wide"===f&&u(i.ActionButton,{id:"add-signature",size:"md",label:m(ie.addSignature),"data-block-id":"add-signature",onPress:l,className:"PSPDFKit-Electronic-Signatures-Add-Signature-Button"})]}),g?c("div",{children:[v,c("div",{className:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6ir _1yep5z6is _1yep5z6it",children:[u(i.Text,{type:"subtitle",size:"sm",children:m(ie.addSignature)}),u(i.ActionIconButton,{variant:"secondary",size:"md",icon:s.pO,onPress:l,"data-block-id":"add-signature","aria-label":m(ie.addSignature)})]})]}):null,u("div",{className:(0,a.AK)(ne({variant:f}),"PSPDFKit-Signature-Picker PSPDFKit-Signature-Dialog-Picker"),"data-block-id":"body",children:r.map((({id:e,...t})=>u(i.Preview,{className:"PSPDFKit-Signature-Dialog-Picker-Item-Button",...t,"data-block-id":e,addAriaLabel:m(ie.addSignature),onPress:()=>d?.(e),onDelete:p?()=>{p(e)}:void 0,deleteAriaLabel:m(ie.delete)})))}),!g&&u("div",{className:"_1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69 _1yep5z6d _1yep5z6e _1yep5z62l _1yep5z62p _1yep5z62q _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jo _1yep5z6jp _1yep5z6jq _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6fu","data-block-id":"footer",children:u(i.ActionButton,{variant:"secondary",size:"md",label:m(ie.cancel),onPress:h,"data-block-id":"cancel",className:"PSPDFKit-Signature-Dialog-Cancel-Button"})}),g?v:null]})})(f);return e?e({...f,ui:m}):m.createComponent()}));ae.displayName="SignaturesList";var se,le=te({defaultClassName:"_1pebngc18 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2",variantClassNames:{variant:{wide:"_1pebngc19",narrow:"_1yep5z63r _1yep5z63y _1yep5z63z _1yep5z619 _1yep5z61j _1yep5z61k _1yep5z63 _1yep5z67 _1yep5z68 _1yep5z62f _1yep5z62j _1yep5z62k _1yep5z6fs"}},defaultVariants:{},compoundVariants:[]}),ue=te({defaultClassName:"_1pebngc6 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie",variantClassNames:{variant:{wide:"_1pebngc7",narrow:"_1pebngc8"}},defaultVariants:{},compoundVariants:[]}),ce=te({defaultClassName:"_1pebngc0",variantClassNames:{variant:{wide:"_1pebngc1",narrow:"_1pebngc2"}},defaultVariants:{},compoundVariants:[]}),de=te({defaultClassName:"_1pebngc15 _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69 _1yep5z6d _1yep5z6e _1yep5z62l _1yep5z62p _1yep5z62q _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jr _1yep5z6js _1yep5z6jt",variantClassNames:{variant:{wide:"_1yep5z6fu",narrow:"_1yep5z6fs"}},defaultVariants:{},compoundVariants:[]}),pe=te({defaultClassName:"_1pebngc3 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jr _1yep5z6js _1yep5z6jt _1yep5z6ir _1yep5z6is _1yep5z6it",variantClassNames:{variant:{narrow:"_1pebngc4 _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z619 _1yep5z61g _1yep5z61h _1yep5z6fs",wide:"_1pebngc5 _1yep5z69 _1yep5z6g _1yep5z6h _1yep5z62l _1yep5z62s _1yep5z62t _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z6fu"}},defaultVariants:{},compoundVariants:[]}),he=te({defaultClassName:"_1pebngcs _1pebngch _1yep5z6kv",variantClassNames:{variant:{wide:"_1pebngct",narrow:"_1pebngcu"}},defaultVariants:{},compoundVariants:[]}),fe=te({defaultClassName:"_1pebngcm",variantClassNames:{variant:{wide:"_1pebngcn",narrow:"_1pebngco"}},defaultVariants:{},compoundVariants:[]}),me=te({defaultClassName:"_1pebngch _1yep5z6kv _1yep5z6kw",variantClassNames:{variant:{wide:"_1yep5z65c _1yep5z65d _1yep5z65e",narrow:"_1pebngcr"}},defaultVariants:{},compoundVariants:[]}),ge=te({defaultClassName:"_1pebngcv _1pebngch _1yep5z6kv",variantClassNames:{variant:{wide:"_1pebngct",narrow:"_1pebngcx"}},defaultVariants:{},compoundVariants:[]}),ve=te({defaultClassName:"_1pebngcy _1pebngch _1yep5z6kv",variantClassNames:{variant:{wide:"_1pebngcz",narrow:"_1pebngc10"}},defaultVariants:{},compoundVariants:[]}),ye=te({defaultClassName:"_1pebngci _1pebngch _1yep5z6kv",variantClassNames:{variant:{wide:"_1pebngcj",narrow:"_1yep5z6af _1yep5z6ag _1yep5z6ah"}},defaultVariants:{},compoundVariants:[]}),be=te({defaultClassName:"_1pebngc9 _1yep5z6ks",variantClassNames:{variant:{wide:"_1pebngca _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z6fu",narrow:"_1pebngcb _1yep5z64l _1yep5z63s _1yep5z63t _1yep5z629 _1yep5z61g _1yep5z61h _1yep5z6fs"}},defaultVariants:{},compoundVariants:[]}),we=te({defaultClassName:"_1pebngcc _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6kw",variantClassNames:{type:{image:"_1yep5z6c _1yep5z6d _1yep5z6e _1yep5z62o _1yep5z62p _1yep5z62q _1yep5z6jl _1yep5z6jm _1yep5z6jn",type:"_1pebngce"},variant:{wide:"_1yep5z6c _1yep5z6d _1yep5z6e _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69o _1yep5z69p _1yep5z69q",narrow:"_1yep5z613 _1yep5z614 _1yep5z615 _1yep5z63f _1yep5z63g _1yep5z63h"}},defaultVariants:{},compoundVariants:[]}),xe=((se=xe||{}).DRAW="DRAW",se.TYPE="TYPE",se.IMAGE="IMAGE",se);te({defaultClassName:"yje7uq8 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6109"}},defaultVariants:{},compoundVariants:[]});te({defaultClassName:"yje7uq0 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6i9 _1yep5z6ia _1yep5z6ib",variantClassNames:{labelPosition:{end:"_1yep5z613k _1yep5z613l _1yep5z613m _1yep5z6ut _1yep5z6uu _1yep5z6uv",start:"_1yep5z613q _1yep5z613r _1yep5z613s _1yep5z6152 _1yep5z6153 _1yep5z6154"}},defaultVariants:{},compoundVariants:[]});var De=te({defaultClassName:"yje7uq3 _1dlrtbb5",variantClassNames:{isFocusVisible:{true:"_1dlrtbb8"},isSelected:{true:"_1dlrtbb7"},isDisabled:{true:"_1dlrtbba"}},defaultVariants:{},compoundVariants:[]}),Ce=({item:{id:e,label:t},options:{isSelected:n,isFocusVisible:r,isDisabled:o}})=>(0,h.jsxs)("div",{className:(0,a.AK)("_1pebngc12 _1yep5z63x _1yep5z63y _1yep5z63z _1yep5z61l _1yep5z61m _1yep5z61n _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6ev _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6kx","PSPDFKit-Electronic-Signatures-Font-Family-Wrapper"),"aria-label":e,style:{fontFamily:e},children:[(0,h.jsx)("div",{className:De({isSelected:n,isFocusVisible:r,isDisabled:o}),children:n?(0,h.jsx)("div",{className:(0,a.AK)("yje7uq7","PSPDFKit-Electronic-Signatures-Font-Family-Radio-Input")}):null}),(0,h.jsx)("span",{className:"PSPDFKit-Electronic-Signatures-Font-Family-Label",children:t})]}),Ee=o.forwardRef((({children:e,initialState:t,state:n,onStateChange:r,...l},d)=>{let p=G({initialState:{selectedFont:l.fonts[0],color:l.colorPresets[0].color||"#000000",shouldStoreSignature:!1,currentTab:l.allowedTabs?.[0]||"DRAW",...t},state:n,onChange:r}),h={...l,...p,ref:d},f=(({className:e,style:t,colorPresets:n,state:r,ref:l,intl:{formatMessage:d},titleId:p,fonts:h,onCloseRequest:f,onAdd:m,variant:g="wide",allowedTabs:y=["DRAW","IMAGE","TYPE"],allowStoringSignature:b=!0,"data-block-id":w="create-signature"})=>{let x="narrow"===g,D=o.useRef(null),C=o.useCallback((e=>{r.set("ink",e.length?e:void 0)}),[r]),E=o.useCallback((e=>{r.set("image",e?.[0]||null)}),[r]),S=(0,o.useMemo)((()=>u(i.ColorPresetInlineInput,{items:n||[],"aria-label":x?void 0:d("color"),className:(0,a.AK)(le({variant:g}),"PSPDFKit-Input-ColorPicker"),value:r.get("color"),onChange:e=>{r.set("color",e)},"data-block-id":"color-selector",label:x?d("color"):void 0,labelPosition:"start",optionClassName:"PSPDFKit-Input-ColorPicker-Swatch PSPDFKit-Input-ColorPicker-Label"})),[n,d,x,r,g]),_=(0,o.useCallback)((e=>{switch(e){case"DRAW":return c(i.TabItem,{title:d("draw"),value:"DRAW",titleClassName:"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Draw",className:we({variant:g}),"data-block-id":"draw-tab",children:[!x&&S,u(i.FreehandCanvas,{"data-block-id":"freehand-canvas",placeholder:d("signHere"),clearLabel:d("clearSignature"),strokeColor:r.get("color"),className:"_1pebngch _1yep5z6kv _1yep5z6kw",isInline:!x,value:r.get("ink"),canvasRef:D,canvasClassName:(0,a.AK)(he({variant:g}),"PSPDFKit-Electronic-Signatures-Canvas"),footerClassName:(0,a.AK)(fe({variant:g}),{"PSPDFKit-Electronic-Signatures-Sign-Here-Label":!r.get("ink"),"PSPDFKit-Electronic-Signatures-Clear-Signature-Button":r.get("ink")}),onChange:C}),x?S:null]},e);case"IMAGE":return u(i.TabItem,{title:d("image"),value:"IMAGE",titleClassName:"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Image",className:we({type:"image",variant:g}),"data-block-id":"image-tab",children:u(i.ImageDropZone,{className:(0,a.AK)(me({variant:g}),"PSPDFKit-Electronic-Signatures-Image-Dropzone"),pickerButtonClassName:r.get("image")?"PSPDFKit-Electronic-Signatures-Replace-Image-Button":"PSPDFKit-Electronic-Signatures-Add-Image-Button",labelClassName:ge({variant:g}),isInline:!x,"data-block-id":"image-drop-zone",onValueChange:E,imageSrc:r.get("image"),placeholder:d("selectDragImage"),footerClassName:fe({variant:g}),clearLabel:d("clearSignature")})});case"TYPE":return c(i.TabItem,{title:d("type"),value:"TYPE",titleClassName:"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Type","data-block-id":"type-tab",children:[c("div",{className:we({type:"type",variant:g}),children:[!x&&S,u(O,{inputStyle:{color:r.get("color"),fontFamily:r.get("selectedFont")},placeholder:d("signature"),onChange:e=>{r.set("text",e)},label:d("signHere"),"data-block-id":"signature-text-input",value:r.get("text"),inputClassName:(0,a.AK)(ve({variant:g}),"PSPDFKit-Electronic-Signatures-Text-Input"),className:(0,a.AK)(ye({variant:g}),"PSPDFKit-Text-Input"),clearLabel:d("clearSignature"),isInline:!x,footerStyle:{padding:x?v.themeVars.spacing.sm:void 0},footerClassName:"PSPDFKit-Electronic-Signatures-Clear-Signature-Button"})]}),!x&&1!==h.length&&u(i.RadioGroup,{optionsContainerClassName:(0,a.AK)("_1pebngc14","PSPDFKit-Electronic-Signatures-Font-Families-Container"),orientation:"horizontal",className:"_1pebngc11 _1yep5z650 _1yep5z651 _1yep5z652 _1yep5z6fu",items:h.map((e=>({id:e,label:r.get("text")||d("signature")}))),"data-block-id":"font-selector",value:r.get("selectedFont"),onChange:e=>{r.set("selectedFont",e)},optionClassName:"_1pebngc13 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it","aria-label":d("fonts"),renderOption:(e,t)=>u(Ce,{item:e,options:t}).createComponent()}),x?S:null,x?u(i.Select,{isReadOnly:1===h.length,labelPosition:"start",label:"Font","data-block-id":"font-selector",className:le({variant:g}),placement:"bottom end",selectedKey:r.get("selectedFont"),onSelectionChange:e=>{r.set("selectedFont",e)},style:{fontFamily:r.get("selectedFont")},variant:"ghost",items:h.map((e=>({id:e,label:r.get("text")||d("signature")})))}):null]},e)}}),[d,g,x,S,r,C,E,h]),P=r.get("currentTab"),k=(0,o.useCallback)((()=>{switch(P){case"DRAW":return{type:"DRAW",value:r.get("ink")};case"IMAGE":return{type:"IMAGE",value:r.get("image")};case"TYPE":return{type:"TYPE",value:r.get("text")}}}),[P,r]);return c("div",{className:(0,a.AK)(ce({variant:g}),e),style:t,"data-block-id":w,ref:l,children:[c("div",{"data-block-id":"header",className:pe({variant:g}),children:[u(i.Text,{elementType:"h3",type:"title",size:x?"sm":"md","data-block-id":"title",id:p,children:d("addSignature")}),x?u(i.ActionIconButton,{variant:"secondary","data-block-id":"close-button",size:"md",icon:s.aM,onPress:f,"aria-label":d("close")}):null]}),x?u(i.Separator,{}):null,u("div",{"data-block-id":"body",className:(0,a.AK)(ue({variant:g}),"PSPDFKit-Electronic-Signatures-Tabs-Container"),children:u(i.Tabs,{variant:"ghost","data-block-id":"tabs",className:"_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z6jc _1yep5z6jd _1yep5z6je",tabHeaderClassName:(0,a.AK)(be({variant:g}),"PSPDFKit-Electronic-Signatures-Tabs-List"),onSelectionChange:e=>{r.set("currentTab",e)},children:y.map((e=>_(e)))})}),x?u(i.Separator,{}):null,c("div",{"data-block-id":"footer",className:de({variant:g}),children:[b?u(i.Checkbox,{isSelected:r.get("shouldStoreSignature"),"data-block-id":"save-signature-checkbox",label:d("saveSignature"),className:"PSPDFKit-Electronic-Signatures-Store-Signature-Checkbox",onChange:e=>{r.set("shouldStoreSignature",e)}}):u("div",{}),c("div",{className:"_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z69l _1yep5z69m _1yep5z69n",children:[!x&&u(i.ActionButton,{"data-block-id":"cancel-button",variant:"secondary",size:"md",label:d("cancel"),onPress:f,className:"PSPDFKit-Electronic-Signatures-Cancel-Button"}),u(i.ActionButton,{"data-block-id":"done-button",onPress:()=>{m({...r.toJS(),signature:k(),canvasSize:{width:D.current?.clientWidth||0,height:D.current?.clientHeight||0}})},label:d("done"),isDisabled:!k()?.value,size:"md",className:"PSPDFKit-Electronic-Signatures-Done-Button"})]})]})]})})(h);return e?e({...h,ui:f}):f.createComponent()}));Ee.displayName="CreateSignature";var Se="_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6i9 _1yep5z6ia _1yep5z6ib _1yep5z69l _1yep5z69m _1yep5z69n",_e="dabjfd2 dabjfd0 _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z6c _1yep5z6d _1yep5z6e _1yep5z62o _1yep5z62p _1yep5z62q _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jl _1yep5z6js _1yep5z6jt _1yep5z6io _1yep5z6is _1yep5z6it _1yep5z6fu _1yep5z6ic _1yep5z6ia _1yep5z6ib _1yep5z69l _1yep5z6ag _1yep5z6ah _1yep5z6le _1yep5z6nq _1yep5z614z _1yep5z6150 _1yep5z6151 _1yep5z6142 _1yep5z6143 _1yep5z6144 _1yep5z613k _1yep5z613l _1yep5z613m",Pe="dabjfd0 _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z6c _1yep5z6d _1yep5z6e _1yep5z62o _1yep5z62p _1yep5z62q _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jl _1yep5z6js _1yep5z6jt _1yep5z6io _1yep5z6is _1yep5z6it _1yep5z6fu _1yep5z6ic _1yep5z6ia _1yep5z6ib _1yep5z69l _1yep5z6ag _1yep5z6ah",ke="_1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69 _1yep5z6d _1yep5z6e _1yep5z62l _1yep5z62p _1yep5z62q";function Ae(e){return(0,a.tG)(e,80)}var ze=o.forwardRef((({children:e,initialState:t={},state:n,onStateChange:s,...l},d)=>{let h=o.useRef(null),f=G({ref:h,initialState:{color:l.colorPresets[0].color,includeDate:!0,includeTime:!1,...t},state:n,onChange:s}),m={...l,...f,ref:(0,r.lq)(d,h)},g=(({intl:{formatMessage:e},titleId:t,className:n,state:r,device:s,onCloseRequest:l,ref:d,onCreate:h,colorPresets:f,onExistingStampPress:m,getLighterVariant:g=Ae,"data-block-id":v="create-stamp"})=>{let y=(0,p.aQ)({...r.get("includeDate")?{year:"2-digit",month:"2-digit",day:"2-digit"}:{},...r.get("includeTime")?{hour:"2-digit",minute:"2-digit"}:{}}),b=r.get("includeDate")||r.get("includeTime"),w=(0,o.useRef)(190);return c("div",{ref:d,className:n,"data-block-id":v,children:[c("div",{"data-block-id":"header",className:(0,a.AK)(Pe,"PSPDFKit-Modal-Section"),children:[u(i.Text,{elementType:"h3",id:t,"data-block-id":"title",children:e("customStamp")}),u(i.ActionButton,{size:"md","data-block-id":"stamp-presets-button",label:e("useAnExistingStampDesign"),variant:"tertiary",className:"PSPDFKit-Stamp-Dialog-Existing-Stamp-Button",onPress:m})]}),c("div",{"data-block-id":"body",className:"_1yep5z69 _1yep5z6g _1yep5z6h _1yep5z6fs",children:[u("div",{className:(0,a.AK)("dabjfd1 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z68f _1yep5z68m _1yep5z68n _1yep5z663 _1yep5z66a _1yep5z66b _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6l9 _1yep5z6l7 _1yep5z6gq _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6jl _1yep5z6jm _1yep5z6jn","PSPDFKit-Stamp-Editor"),children:u(K,{"data-block-id":"stamp-preview",strokeColor:r.get("color"),fontColor:r.get("color"),fillColor:g(r.get("color")),text:r.get("text"),subText:b?y.format(new Date):void 0,height:94,minWidth:190,maxWidth:408,onDimensionsChange:e=>{w.current=e.width}})}),u(i.TextInput,{"data-block-id":"stamp-text-input",value:r.get("text"),className:ke,label:e("stampText"),onChange:e=>{r.set("text",e?.toUpperCase())}}),u(i.Checkbox,{"data-block-id":"include-date-checkbox",label:e("date"),className:ke,labelPosition:"start",defaultSelected:r.get("includeDate"),onChange:e=>{r.set("includeDate",e)}}),u(i.Checkbox,{"data-block-id":"include-time-checkbox",label:e("time"),className:ke,labelPosition:"start",defaultSelected:r.get("includeTime"),onChange:e=>{r.set("includeTime",e)}}),u(i.ColorPresetInlineInput,{"data-block-id":"color-selector",items:f,defaultValue:r.get("color"),className:(0,a.AK)("_1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61j _1yep5z61k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k","PSPDFKit-Input-ColorPicker"),optionClassName:"PSPDFKit-Input-ColorPicker-Label PSPDFKit-Input-ColorPicker-Swatch",onChange:e=>{r.set("color",e)},optionsContainerClassName:"dabjfd3",labelPosition:"mobile"===s?"top":"start",label:e("chooseColor")})]}),u("div",{"data-block-id":"footer",className:(0,a.AK)(_e,"PSPDFKit-Modal-Section"),children:c("div",{className:Se,children:[u(i.ActionButton,{size:"md",label:e("cancel"),variant:"secondary","data-block-id":"cancel-button",onPress:()=>l?.()}),u(i.ActionButton,{label:e("createStamp"),"data-block-id":"done-button",size:"md",onPress:()=>{h({text:r.get("text"),subText:b?y.format(new Date):void 0,width:w.current,color:r.get("color")})}})]})})]})})(m);return e?e({...m,ui:g}):g.createComponent()}));ze.displayName="CreateStamp";var Te=o.forwardRef((({children:e,initialState:t={},state:n,onStateChange:s,...l},d)=>{let p=o.useRef(null),h={...l,...G({ref:p,initialState:t,state:n,onChange:s}),ref:(0,r.lq)(d,p)},f=(({intl:{formatMessage:e},titleId:t,ref:n,items:r,className:o,onAdd:s,onCancel:l,onCustomStampPress:d,"data-block-id":p="stamps-list"})=>c("div",{ref:n,className:o,"data-block-id":p,children:[c("div",{"data-block-id":"header",className:(0,a.AK)(Pe,"PSPDFKit-Modal-Section"),children:[u(i.Text,{elementType:"h3",id:t,"data-block-id":"title",children:e("useAnExistingStampDesign")}),u(i.ActionButton,{onPress:d,size:"md","data-block-id":"stamp-presets-button",label:e("customStamp"),variant:"tertiary",className:"PSPDFKit-Stamp-Dialog-Custom-Stamp-Button"})]}),u("div",{"data-block-id":"body",className:(0,a.AK)("_1dk00840 x0o33h6 _1yep5z6i6 _1yep5z6i7 _1yep5z6i8 _1yep5z6fs x0o33h7 _1yep5z69 _1yep5z6g _1yep5z6h _1yep5z62l _1yep5z62s _1yep5z62t _1yep5z63r _1yep5z63y _1yep5z63z _1yep5z61f _1yep5z61m _1yep5z61n _1yep5z69l _1yep5z69p _1yep5z69q","PSPDFKit-Stamp-Picker"),children:r.map((({id:e,...t})=>u(i.Preview,{...t,addAriaLabel:t["aria-label"],"data-block-id":`preview-${e}`,onPress:()=>s?.(e)})))}),u("div",{"data-block-id":"footer",className:(0,a.AK)(_e,"PSPDFKit-Modal-Section"),children:u("div",{className:Se,children:u(i.ActionButton,{onPress:l,size:"md",label:e("cancel"),variant:"secondary","data-block-id":"cancel-button"})})})]}))(h);return e?e({...h,ui:f}):f.createComponent()}));Te.displayName="StampsList";var Oe="_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6km",Ie="_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z69i _1yep5z69j _1yep5z69k",Fe="_443wcr6";function Me({error:e}){return(0,h.jsx)(i.InlineAlert,{title:e.title,description:e.description,variant:"error",arrangement:"compact",actionLabel:e.action?.text,onAction:e.action?.onPress})}function Re({actions:e}){return(0,h.jsx)("div",{className:Oe,children:e.map((({text:e,onPress:t},n)=>(0,h.jsx)(i.ActionButton,{variant:"tertiary",label:e,onPress:t,size:"sm"},n)))})}function je({additionalContext:e,linkToAdditionalContext:t,actions:n}){return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"_1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6fn",children:(0,h.jsx)(i.Text,{type:"body",size:"sm",className:"_443wcr5",children:e})}),(0,h.jsx)(i.Link,{onPress:t.onPress,size:"sm",children:t.text}),(0,h.jsx)("div",{className:Oe,children:n.map((({text:e,onPress:t},n)=>(0,h.jsx)(i.ActionButton,{variant:"tertiary",label:e,onPress:t,size:"sm"},n)))})]})}function Be({suggestions:e}){return(0,h.jsx)("div",{className:Ie,children:e.map((({text:e,onPress:t},n)=>(0,h.jsx)(i.Link,{variant:"inline",onPress:t,size:"sm",children:e},n)))})}function Ne({links:e,actions:t,actionsText:n}){let[r,a]=(0,o.useState)(1),{formatMessage:s}=(0,i.useI18n)(),l=e.length<=15,u=l?0:15*(r-1),c=l?Math.min(e.length,5*r):15*r;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:Ie,children:[e.slice(u,c).map((({text:e,onPress:t},n)=>(0,h.jsxs)(i.Box,{display:"flex",alignItems:"center",gap:"sm",color:"icon.primary",children:[(0,h.jsx)(b.LZ,{size:16}),(0,h.jsx)(i.Link,{variant:"inline",onPress:t,size:"sm",children:e})]},n))),e.length>15&&(0,h.jsx)(i.Pagination,{"aria-label":s(Le.viewMoreResults),variant:"pinned",maxValue:Math.ceil(e.length/15),onChange:a,size:"xs"}),l&&c{a((e=>e+1))},size:"sm",children:s("showMore")}):null]}),(0,h.jsx)(i.Text,{type:"body",size:"sm",children:n}),(0,h.jsx)("div",{className:Oe,children:t.map((({text:e,onPress:t},n)=>(0,h.jsx)(i.ActionButton,{variant:"tertiary",label:e,onPress:t,size:"sm"},n)))})]})}var Le=(0,i.defineMessages)({viewMoreResults:{id:"viewMoreResults",defaultMessage:"View More Results"}}),Ke="ACTIONS",Ve="ERROR",qe="SUGGESTIONS",He="ADDITIONAL_CONTEXT",Ze="QUERY_RESULT",Ue=(0,i.defineMessages)({chat:{id:"chat",defaultMessage:"Chat"},readMore:{id:"readMore",defaultMessage:"Read More"},typeSomething:{id:"typeSomething",defaultMessage:"Type something..."}}),$e=o.forwardRef((({children:e,initialState:t={},...n},s)=>{let l=o.useRef(null),d={...n,...G({ref:l,initialState:t}),ref:(0,r.lq)(s,l)},p=(({intl:{formatMessage:e},className:t,titleId:n,"data-block-id":r="chat-dialog",messages:s,onMessageSubmit:l,onInputChanged:d,isLoading:p,isDisabled:h,variant:f="default",inputValue:m,style:g,editorHandle:v})=>{let y=(0,o.useRef)(null);return c("div",{role:"log","data-block-id":r,className:(0,a.AK)("_1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ir _1yep5z6is _1yep5z6it _1yep5z6ic _1yep5z6id _1yep5z6ie",t),style:g,"aria-labelledby":n,children:[p?u(i.ProgressSpinner,{className:"_1yep5z6kv _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jc _1yep5z6jd _1yep5z6je _1yep5z6ft _1yep5z6jl _1yep5z6jm _1yep5z6jn","aria-label":e("loading")}):null,Array.isArray(s)&&!p&&u("div",{className:"_443wcr1 _1yep5z6kv _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ii _1yep5z6ij _1yep5z6ik _1yep5z69f _1yep5z69g _1yep5z69h _1yep5z6jc _1yep5z6jd _1yep5z6je _1yep5z6ft",ref:y,children:u("div",{className:"_443wcr2",children:s.map((({id:t,type:n,isComplete:r,canCopy:l,text:d,...p},h)=>{let m;switch(n){case Ve:{let{error:e}=p;m=u(Me,{error:e});break}case Ke:{let{actions:e}=p;m=u(Re,{actions:e});break}case qe:{let{suggestions:e}=p;m=u(Be,{suggestions:e});break}case He:{let{additionalContext:e,linkToAdditionalContext:t,actions:n}=p;m=u(je,{actions:n,additionalContext:e,linkToAdditionalContext:t});break}case Ze:{let{links:e,actionsText:t,actions:n}=p;m=u(Ne,{links:e,actionsText:t,actions:n});break}default:m=null}let g=u(i.Markdown,{showCaret:!r,className:"_443wcr8",children:d});return c(o.Fragment,{children:[c($,{avatarProps:{name:p.sender,showInitials:!0},content:g.createComponent(),name:p.sender,isInline:"full-width"!==f,children:[m,l?u(i.Box,{children:u(i.ActionIconButton,{variant:"secondary",icon:b.TI,onPress:()=>{navigator.clipboard.writeText(d)},size:"sm","aria-label":e("copy")})}):null]}),h!==s.length-1&&u(i.Separator,{className:(0,a.AK)(Fe,{"_443wcr7 _1yep5z68u _1yep5z68v _1yep5z68w":"default"===f})})]},t)}))})}),u(i.Box,{position:"relative",width:"full",children:u(i.ScrollControlButton,{"data-block-id":"scroll-control-button",className:"_443wcr4",label:e(Ue.readMore),scrollRef:y})}),u(i.Separator,{className:Fe}),u(i.Editor,{isDisabled:!!h,onChange:d,onSave:l,placeholder:e(Ue.typeSomething),variant:"minimal",isInline:!1,className:"_443wcr3 _1yep5z6c0 _1yep5z6c1 _1yep5z6c2 _1yep5z6co _1yep5z6cp _1yep5z6cq _1yep5z6kv",value:m,editorHandle:v})]})})(d);return e?e({...d,ui:p}):p.createComponent()}));$e.displayName="ChatDialog";var Ge=te({defaultClassName:"_1aicd310 _1yep5z6b3 _1yep5z6ap _1yep5z6aq _1yep5z6br _1yep5z6bd _1yep5z6be _1yep5z6cf _1yep5z6c1 _1yep5z6c2 _1yep5z6d3 _1yep5z6cp _1yep5z6cq _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z6ft _1yep5z6hl _1yep5z6hm _1yep5z6hn",variantClassNames:{variant:{popover:"_1yep5z613b _1yep5z613c _1yep5z613d _1yep5z613n _1yep5z613o _1yep5z613p _1yep5z614n _1yep5z614o _1yep5z614p",sidebar:"_1aicd312"}},defaultVariants:{},compoundVariants:[]});var We={from:{opacity:0},enter:{opacity:1},leave:{opacity:0}},Xe=({ref:e,className:t,style:n,state:s,comments:l,onCollapseRequest:h,intl:{formatMessage:g},"data-block-id":y="comment-thread",titleId:b,variant:w="sidebar",onCommentAdd:x,onCommentUpdate:D,onDelete:C,device:E,portalContainer:S,mentionableUsers:_,editorFooterButtons:P,onAnonymousToggle:k,...A})=>{let z=o.useRef(null),T=o.useRef(null),[O,I]=o.useState(new Set),F=s.get("isExpanded"),M=(0,a.mS)({"data-block-id":y,"data-expanded":F}),R=o.useRef(null),j=function({initialHeight:e,finalHeight:t,isExpanded:n}){let[r,o]=(0,f.q_)((()=>({from:{height:0}})));return(0,m.useGranularLayoutEffect)((()=>{o.start({height:e(),immediate:!0})}),[],[o,e]),(0,m.useGranularLayoutEffect)((()=>{n?o.start({height:t(),onRest:()=>{o.start({height:"auto",immediate:!0})}}):o.start({height:e()})}),[n],[o,t,e]),r}({initialHeight:()=>(T.current?.offsetHeight||0)+2,finalHeight:()=>(R.current?.offsetHeight||0)+2,isExpanded:F});(0,p.Fc)({ref:z,onInteractOutside:e=>{let t=e.target;t.closest(".BaselineUI-Popover-Content")||t.closest(".BaselineUI-Portal")||h?.()}});let B=u(i.Editor,{className:"_1aicd313 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6d7",enableRichText:!0,isInline:!1,mentionableUsers:_,footerButtons:P,placeholder:g(Ye.commentEditorLabel),onSave:x}),N=(0,p.Me)(b),L=(0,o.useMemo)((()=>({canEdit:{id:"edit",label:g(Ye.edit)},canDelete:{id:"delete",label:g(Ye.deleteComment)},canBeAnonymous:{id:"anonymous",label:g(Ye.anonymous)}})),[g]),K=(0,o.useCallback)((e=>Object.entries(L).filter((([t])=>!!e[t])).map((([,e])=>e))),[L]),V=(0,o.useCallback)((e=>function(e){return e.canEdit||e.canDelete||e.canBeAnonymous}(e)&&(F||"sidebar"!==w)?{items:K(e),"aria-label":g(Ye.commentOptions),selectionMode:"single",selectedKeys:e.isAnonymous?["anonymous"]:[],onAction:t=>{switch(t){case"edit":I((t=>new Set(t.add(e.commentId))));break;case"delete":s.set("toDelete",e.commentId);break;case"anonymous":k?.(e.commentId,!e.isAnonymous)}}}:void 0),[g,K,F,k,s,w]),q=(0,o.useCallback)((e=>{let t=O.has(e.commentId),n=!e.avatarProps;return{...e,"data-comment-id":e.commentId,className:(0,a.AK)(e.className,{"_1yep5z646 _1yep5z647 _1yep5z648":n}),menuProps:V(e),content:t?u(i.Editor,{style:{marginInlineStart:-36},spellCheck:!1,defaultValue:e.content,enableRichText:!0,onCancel:()=>{I((t=>new Set([...t].filter((t=>t!==e.commentId)))))},onSave:t=>D?.(e.commentId,t),submitButtonAriaLabel:g(Ye.save)}).createComponent():e.content}}),[O,g,V,D]),[H,...Z]=l,U=c(d,{children:[u(i.Box,{backgroundColor:"background.primary.subtle",paddingY:"md",paddingX:"lg",display:"flex",alignItems:"center","data-block-id":"header",style:{minHeight:48},children:u(i.Text,{id:N,type:"title",size:"sm",elementType:"h3","data-blockid":"title",children:g(Ye.comments)})}),u(i.Separator,{variant:"secondary"})]}),G=H?u($,{"data-blockid":"comment",...q(H),children:"sidebar"===w&&!F&&u(i.Link,{size:"sm",onPress:F?void 0:()=>{s.set("isExpanded",!0)},children:F?void 0:g(Ye.nMoreComments,{arg0:Z.length})})}):B,W=Z.map(((e,t)=>c(o.Fragment,{children:[u("div",{className:(0,v.Kj)({paddingLeft:"5xl"}),children:u(i.Separator,{variant:"secondary"})}),u($,{...q(e)})]},t)));return c(d,{children:[u(f.q.aside,{"aria-labelledby":N,...(0,p.dG)((0,r.zL)(A),M),ref:(0,r.lq)(e,z),role:"complementary","data-block-id":y,style:{...n,height:"popover"===w?"auto":j.height},className:(0,a.AK)(Ge({variant:w}),t),children:c("div","sidebar"===w?{ref:R,children:[u("div",{ref:T,children:G}),(Z.length>0||!!H)&&c(i.Transition,{isMounted:F,transitions:We,children:[W,B]})]}:{className:(0,a.AK)("_1aicd316 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie _1yep5z6jc _1yep5z6jd _1yep5z6je","mobile"===E&&"_1aicd315 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6ic _1yep5z6id _1yep5z6ie"),children:["mobile"!==E&&U,u("div",{className:"_1aicd314 _1yep5z6i0 _1yep5z6i1 _1yep5z6i2 _1yep5z6jc _1yep5z6jd _1yep5z6je _1yep5z6hl _1yep5z6hm _1yep5z6hn _1yep5z6ii _1yep5z6ij _1yep5z6ik _1yep5z6iu _1yep5z6iv _1yep5z6iw",children:c("div",{className:(0,v.Kj)({display:"flex",flexDirection:"column",width:"full"}),children:[G,W]})}),B]})}),u(i.Modal,{isOpen:!!s.get("toDelete"),onOpenChange:()=>{s.set("toDelete",null)},children:u(i.ModalContent,{portalContainer:S,style:{zIndex:999999},children:u(i.AlertDialog,{title:g(Ye.deleteComment),message:g(Ye.deleteCommentConfirmMessage),onCancel:()=>{s.set("toDelete",null)},cancelLabel:g(Ye.cancel),primaryActionLabel:g(Ye.delete),onPrimaryAction:()=>C?.(s.get("toDelete"))})})})]})};var Ye=(0,i.defineMessages)({comments:{id:"comments",description:"Comments",defaultMessage:"Comments"},nMoreComments:{id:"nMoreComments",description:"n more comments",defaultMessage:"{n, plural, one {1 more comment} other {# more comments}}"},edit:{id:"edit",description:"Edit",defaultMessage:"Edit"},delete:{id:"delete",description:"Delete",defaultMessage:"Delete"},cancel:{id:"cancel",description:"Cancel",defaultMessage:"Cancel"},deleteComment:{id:"deleteComment",description:"Delete Comment",defaultMessage:"Delete Comment"},anonymous:{id:"anonymous",description:"Anonymous",defaultMessage:"Anonymous"},commentOptions:{id:"commentOptions",description:"Comment Options",defaultMessage:"Comment Options"},commentEditorLabel:{id:"commentEditorLabel",description:"Comment Editor Label",defaultMessage:"Comment Editor"},save:{id:"save",description:"Save",defaultMessage:"Save"},deleteCommentConfirmMessage:{id:"deleteCommentConfirmMessage",description:"Delete Comment Confirm Message",defaultMessage:"Are you sure you want to delete this comment?"}}),Qe=o.forwardRef((({children:e,initialState:t={},onStateChange:n,state:i,...a},s)=>{let l=o.useRef(null),u={...a,...G({ref:l,initialState:t,state:i,onChange:n}),ref:(0,r.lq)(s,l)},c=Xe(u);return e?e({...u,ui:c}):c.createComponent()}));Qe.displayName="CommentThread"},85816:(e,t,n)=>{"use strict";n.d(t,{$_:()=>g,Kj:()=>x,Wb:()=>m,layoutSprinkleValues:()=>w,o$:()=>y,themeVars:()=>v});var r=n(96486);function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;tfunction(){for(var t=arguments.length,n=new Array(t),r=0;re.styles))),i=Object.keys(o),a=i.filter((e=>"mappings"in o[e])),l=t=>{var n=[],r={},i=s({},t),l=!1;for(var u of a){var c=t[u];if(null!=c){var d=o[u];for(var p of(l=!0,d.mappings))r[p]=c,null==i[p]&&delete i[p]}}var h=l?s(s({},r),i):t,f=function(){var e=h[m],t=o[m];try{if(t.mappings)return"continue";if("string"==typeof e||"number"==typeof e)n.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;re,d=function(){return u(c)(...arguments)},p=d(((l={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{paddingLeft:{mappings:["paddingInlineStart"]},paddingRight:{mappings:["paddingInlineEnd"]},paddingTop:{mappings:["paddingBlockStart"]},paddingBottom:{mappings:["paddingBlockEnd"]},padding:{mappings:["paddingBlockStart","paddingBlockEnd","paddingInlineStart","paddingInlineEnd"]},paddingX:{mappings:["paddingInlineStart","paddingInlineEnd"]},paddingY:{mappings:["paddingBlockStart","paddingBlockEnd"]},marginLeft:{mappings:["marginInlineStart"]},marginRight:{mappings:["marginInlineEnd"]},marginTop:{mappings:["marginBlockStart"]},marginBottom:{mappings:["marginBlockEnd"]},margin:{mappings:["marginBlockStart","marginBlockEnd","marginInlineStart","marginInlineEnd"]},marginX:{mappings:["marginInlineStart","marginInlineEnd"]},marginY:{mappings:["marginBlockStart","marginBlockEnd"]},paddingBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z60",tablet:"_1yep5z61",desktop:"_1yep5z62"},defaultClass:"_1yep5z60 _1yep5z61 _1yep5z62"},sm:{conditions:{mobile:"_1yep5z63",tablet:"_1yep5z64",desktop:"_1yep5z65"},defaultClass:"_1yep5z63 _1yep5z64 _1yep5z65"},md:{conditions:{mobile:"_1yep5z66",tablet:"_1yep5z67",desktop:"_1yep5z68"},defaultClass:"_1yep5z66 _1yep5z67 _1yep5z68"},lg:{conditions:{mobile:"_1yep5z69",tablet:"_1yep5z6a",desktop:"_1yep5z6b"},defaultClass:"_1yep5z69 _1yep5z6a _1yep5z6b"},xl:{conditions:{mobile:"_1yep5z6c",tablet:"_1yep5z6d",desktop:"_1yep5z6e"},defaultClass:"_1yep5z6c _1yep5z6d _1yep5z6e"},"2xl":{conditions:{mobile:"_1yep5z6f",tablet:"_1yep5z6g",desktop:"_1yep5z6h"},defaultClass:"_1yep5z6f _1yep5z6g _1yep5z6h"},"3xl":{conditions:{mobile:"_1yep5z6i",tablet:"_1yep5z6j",desktop:"_1yep5z6k"},defaultClass:"_1yep5z6i _1yep5z6j _1yep5z6k"},"4xl":{conditions:{mobile:"_1yep5z6l",tablet:"_1yep5z6m",desktop:"_1yep5z6n"},defaultClass:"_1yep5z6l _1yep5z6m _1yep5z6n"},"5xl":{conditions:{mobile:"_1yep5z6o",tablet:"_1yep5z6p",desktop:"_1yep5z6q"},defaultClass:"_1yep5z6o _1yep5z6p _1yep5z6q"},"6xl":{conditions:{mobile:"_1yep5z6r",tablet:"_1yep5z6s",desktop:"_1yep5z6t"},defaultClass:"_1yep5z6r _1yep5z6s _1yep5z6t"},"7xl":{conditions:{mobile:"_1yep5z6u",tablet:"_1yep5z6v",desktop:"_1yep5z6w"},defaultClass:"_1yep5z6u _1yep5z6v _1yep5z6w"},"8xl":{conditions:{mobile:"_1yep5z6x",tablet:"_1yep5z6y",desktop:"_1yep5z6z"},defaultClass:"_1yep5z6x _1yep5z6y _1yep5z6z"},"9xl":{conditions:{mobile:"_1yep5z610",tablet:"_1yep5z611",desktop:"_1yep5z612"},defaultClass:"_1yep5z610 _1yep5z611 _1yep5z612"},none:{conditions:{mobile:"_1yep5z613",tablet:"_1yep5z614",desktop:"_1yep5z615"},defaultClass:"_1yep5z613 _1yep5z614 _1yep5z615"}},responsiveArray:void 0},paddingInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z616",tablet:"_1yep5z617",desktop:"_1yep5z618"},defaultClass:"_1yep5z616 _1yep5z617 _1yep5z618"},sm:{conditions:{mobile:"_1yep5z619",tablet:"_1yep5z61a",desktop:"_1yep5z61b"},defaultClass:"_1yep5z619 _1yep5z61a _1yep5z61b"},md:{conditions:{mobile:"_1yep5z61c",tablet:"_1yep5z61d",desktop:"_1yep5z61e"},defaultClass:"_1yep5z61c _1yep5z61d _1yep5z61e"},lg:{conditions:{mobile:"_1yep5z61f",tablet:"_1yep5z61g",desktop:"_1yep5z61h"},defaultClass:"_1yep5z61f _1yep5z61g _1yep5z61h"},xl:{conditions:{mobile:"_1yep5z61i",tablet:"_1yep5z61j",desktop:"_1yep5z61k"},defaultClass:"_1yep5z61i _1yep5z61j _1yep5z61k"},"2xl":{conditions:{mobile:"_1yep5z61l",tablet:"_1yep5z61m",desktop:"_1yep5z61n"},defaultClass:"_1yep5z61l _1yep5z61m _1yep5z61n"},"3xl":{conditions:{mobile:"_1yep5z61o",tablet:"_1yep5z61p",desktop:"_1yep5z61q"},defaultClass:"_1yep5z61o _1yep5z61p _1yep5z61q"},"4xl":{conditions:{mobile:"_1yep5z61r",tablet:"_1yep5z61s",desktop:"_1yep5z61t"},defaultClass:"_1yep5z61r _1yep5z61s _1yep5z61t"},"5xl":{conditions:{mobile:"_1yep5z61u",tablet:"_1yep5z61v",desktop:"_1yep5z61w"},defaultClass:"_1yep5z61u _1yep5z61v _1yep5z61w"},"6xl":{conditions:{mobile:"_1yep5z61x",tablet:"_1yep5z61y",desktop:"_1yep5z61z"},defaultClass:"_1yep5z61x _1yep5z61y _1yep5z61z"},"7xl":{conditions:{mobile:"_1yep5z620",tablet:"_1yep5z621",desktop:"_1yep5z622"},defaultClass:"_1yep5z620 _1yep5z621 _1yep5z622"},"8xl":{conditions:{mobile:"_1yep5z623",tablet:"_1yep5z624",desktop:"_1yep5z625"},defaultClass:"_1yep5z623 _1yep5z624 _1yep5z625"},"9xl":{conditions:{mobile:"_1yep5z626",tablet:"_1yep5z627",desktop:"_1yep5z628"},defaultClass:"_1yep5z626 _1yep5z627 _1yep5z628"},none:{conditions:{mobile:"_1yep5z629",tablet:"_1yep5z62a",desktop:"_1yep5z62b"},defaultClass:"_1yep5z629 _1yep5z62a _1yep5z62b"}},responsiveArray:void 0},paddingBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z62c",tablet:"_1yep5z62d",desktop:"_1yep5z62e"},defaultClass:"_1yep5z62c _1yep5z62d _1yep5z62e"},sm:{conditions:{mobile:"_1yep5z62f",tablet:"_1yep5z62g",desktop:"_1yep5z62h"},defaultClass:"_1yep5z62f _1yep5z62g _1yep5z62h"},md:{conditions:{mobile:"_1yep5z62i",tablet:"_1yep5z62j",desktop:"_1yep5z62k"},defaultClass:"_1yep5z62i _1yep5z62j _1yep5z62k"},lg:{conditions:{mobile:"_1yep5z62l",tablet:"_1yep5z62m",desktop:"_1yep5z62n"},defaultClass:"_1yep5z62l _1yep5z62m _1yep5z62n"},xl:{conditions:{mobile:"_1yep5z62o",tablet:"_1yep5z62p",desktop:"_1yep5z62q"},defaultClass:"_1yep5z62o _1yep5z62p _1yep5z62q"},"2xl":{conditions:{mobile:"_1yep5z62r",tablet:"_1yep5z62s",desktop:"_1yep5z62t"},defaultClass:"_1yep5z62r _1yep5z62s _1yep5z62t"},"3xl":{conditions:{mobile:"_1yep5z62u",tablet:"_1yep5z62v",desktop:"_1yep5z62w"},defaultClass:"_1yep5z62u _1yep5z62v _1yep5z62w"},"4xl":{conditions:{mobile:"_1yep5z62x",tablet:"_1yep5z62y",desktop:"_1yep5z62z"},defaultClass:"_1yep5z62x _1yep5z62y _1yep5z62z"},"5xl":{conditions:{mobile:"_1yep5z630",tablet:"_1yep5z631",desktop:"_1yep5z632"},defaultClass:"_1yep5z630 _1yep5z631 _1yep5z632"},"6xl":{conditions:{mobile:"_1yep5z633",tablet:"_1yep5z634",desktop:"_1yep5z635"},defaultClass:"_1yep5z633 _1yep5z634 _1yep5z635"},"7xl":{conditions:{mobile:"_1yep5z636",tablet:"_1yep5z637",desktop:"_1yep5z638"},defaultClass:"_1yep5z636 _1yep5z637 _1yep5z638"},"8xl":{conditions:{mobile:"_1yep5z639",tablet:"_1yep5z63a",desktop:"_1yep5z63b"},defaultClass:"_1yep5z639 _1yep5z63a _1yep5z63b"},"9xl":{conditions:{mobile:"_1yep5z63c",tablet:"_1yep5z63d",desktop:"_1yep5z63e"},defaultClass:"_1yep5z63c _1yep5z63d _1yep5z63e"},none:{conditions:{mobile:"_1yep5z63f",tablet:"_1yep5z63g",desktop:"_1yep5z63h"},defaultClass:"_1yep5z63f _1yep5z63g _1yep5z63h"}},responsiveArray:void 0},paddingInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z63i",tablet:"_1yep5z63j",desktop:"_1yep5z63k"},defaultClass:"_1yep5z63i _1yep5z63j _1yep5z63k"},sm:{conditions:{mobile:"_1yep5z63l",tablet:"_1yep5z63m",desktop:"_1yep5z63n"},defaultClass:"_1yep5z63l _1yep5z63m _1yep5z63n"},md:{conditions:{mobile:"_1yep5z63o",tablet:"_1yep5z63p",desktop:"_1yep5z63q"},defaultClass:"_1yep5z63o _1yep5z63p _1yep5z63q"},lg:{conditions:{mobile:"_1yep5z63r",tablet:"_1yep5z63s",desktop:"_1yep5z63t"},defaultClass:"_1yep5z63r _1yep5z63s _1yep5z63t"},xl:{conditions:{mobile:"_1yep5z63u",tablet:"_1yep5z63v",desktop:"_1yep5z63w"},defaultClass:"_1yep5z63u _1yep5z63v _1yep5z63w"},"2xl":{conditions:{mobile:"_1yep5z63x",tablet:"_1yep5z63y",desktop:"_1yep5z63z"},defaultClass:"_1yep5z63x _1yep5z63y _1yep5z63z"},"3xl":{conditions:{mobile:"_1yep5z640",tablet:"_1yep5z641",desktop:"_1yep5z642"},defaultClass:"_1yep5z640 _1yep5z641 _1yep5z642"},"4xl":{conditions:{mobile:"_1yep5z643",tablet:"_1yep5z644",desktop:"_1yep5z645"},defaultClass:"_1yep5z643 _1yep5z644 _1yep5z645"},"5xl":{conditions:{mobile:"_1yep5z646",tablet:"_1yep5z647",desktop:"_1yep5z648"},defaultClass:"_1yep5z646 _1yep5z647 _1yep5z648"},"6xl":{conditions:{mobile:"_1yep5z649",tablet:"_1yep5z64a",desktop:"_1yep5z64b"},defaultClass:"_1yep5z649 _1yep5z64a _1yep5z64b"},"7xl":{conditions:{mobile:"_1yep5z64c",tablet:"_1yep5z64d",desktop:"_1yep5z64e"},defaultClass:"_1yep5z64c _1yep5z64d _1yep5z64e"},"8xl":{conditions:{mobile:"_1yep5z64f",tablet:"_1yep5z64g",desktop:"_1yep5z64h"},defaultClass:"_1yep5z64f _1yep5z64g _1yep5z64h"},"9xl":{conditions:{mobile:"_1yep5z64i",tablet:"_1yep5z64j",desktop:"_1yep5z64k"},defaultClass:"_1yep5z64i _1yep5z64j _1yep5z64k"},none:{conditions:{mobile:"_1yep5z64l",tablet:"_1yep5z64m",desktop:"_1yep5z64n"},defaultClass:"_1yep5z64l _1yep5z64m _1yep5z64n"}},responsiveArray:void 0},marginBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z64o",tablet:"_1yep5z64p",desktop:"_1yep5z64q"},defaultClass:"_1yep5z64o _1yep5z64p _1yep5z64q"},sm:{conditions:{mobile:"_1yep5z64r",tablet:"_1yep5z64s",desktop:"_1yep5z64t"},defaultClass:"_1yep5z64r _1yep5z64s _1yep5z64t"},md:{conditions:{mobile:"_1yep5z64u",tablet:"_1yep5z64v",desktop:"_1yep5z64w"},defaultClass:"_1yep5z64u _1yep5z64v _1yep5z64w"},lg:{conditions:{mobile:"_1yep5z64x",tablet:"_1yep5z64y",desktop:"_1yep5z64z"},defaultClass:"_1yep5z64x _1yep5z64y _1yep5z64z"},xl:{conditions:{mobile:"_1yep5z650",tablet:"_1yep5z651",desktop:"_1yep5z652"},defaultClass:"_1yep5z650 _1yep5z651 _1yep5z652"},"2xl":{conditions:{mobile:"_1yep5z653",tablet:"_1yep5z654",desktop:"_1yep5z655"},defaultClass:"_1yep5z653 _1yep5z654 _1yep5z655"},"3xl":{conditions:{mobile:"_1yep5z656",tablet:"_1yep5z657",desktop:"_1yep5z658"},defaultClass:"_1yep5z656 _1yep5z657 _1yep5z658"},"4xl":{conditions:{mobile:"_1yep5z659",tablet:"_1yep5z65a",desktop:"_1yep5z65b"},defaultClass:"_1yep5z659 _1yep5z65a _1yep5z65b"},"5xl":{conditions:{mobile:"_1yep5z65c",tablet:"_1yep5z65d",desktop:"_1yep5z65e"},defaultClass:"_1yep5z65c _1yep5z65d _1yep5z65e"},"6xl":{conditions:{mobile:"_1yep5z65f",tablet:"_1yep5z65g",desktop:"_1yep5z65h"},defaultClass:"_1yep5z65f _1yep5z65g _1yep5z65h"},"7xl":{conditions:{mobile:"_1yep5z65i",tablet:"_1yep5z65j",desktop:"_1yep5z65k"},defaultClass:"_1yep5z65i _1yep5z65j _1yep5z65k"},"8xl":{conditions:{mobile:"_1yep5z65l",tablet:"_1yep5z65m",desktop:"_1yep5z65n"},defaultClass:"_1yep5z65l _1yep5z65m _1yep5z65n"},"9xl":{conditions:{mobile:"_1yep5z65o",tablet:"_1yep5z65p",desktop:"_1yep5z65q"},defaultClass:"_1yep5z65o _1yep5z65p _1yep5z65q"},none:{conditions:{mobile:"_1yep5z65r",tablet:"_1yep5z65s",desktop:"_1yep5z65t"},defaultClass:"_1yep5z65r _1yep5z65s _1yep5z65t"}},responsiveArray:void 0},marginInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z65u",tablet:"_1yep5z65v",desktop:"_1yep5z65w"},defaultClass:"_1yep5z65u _1yep5z65v _1yep5z65w"},sm:{conditions:{mobile:"_1yep5z65x",tablet:"_1yep5z65y",desktop:"_1yep5z65z"},defaultClass:"_1yep5z65x _1yep5z65y _1yep5z65z"},md:{conditions:{mobile:"_1yep5z660",tablet:"_1yep5z661",desktop:"_1yep5z662"},defaultClass:"_1yep5z660 _1yep5z661 _1yep5z662"},lg:{conditions:{mobile:"_1yep5z663",tablet:"_1yep5z664",desktop:"_1yep5z665"},defaultClass:"_1yep5z663 _1yep5z664 _1yep5z665"},xl:{conditions:{mobile:"_1yep5z666",tablet:"_1yep5z667",desktop:"_1yep5z668"},defaultClass:"_1yep5z666 _1yep5z667 _1yep5z668"},"2xl":{conditions:{mobile:"_1yep5z669",tablet:"_1yep5z66a",desktop:"_1yep5z66b"},defaultClass:"_1yep5z669 _1yep5z66a _1yep5z66b"},"3xl":{conditions:{mobile:"_1yep5z66c",tablet:"_1yep5z66d",desktop:"_1yep5z66e"},defaultClass:"_1yep5z66c _1yep5z66d _1yep5z66e"},"4xl":{conditions:{mobile:"_1yep5z66f",tablet:"_1yep5z66g",desktop:"_1yep5z66h"},defaultClass:"_1yep5z66f _1yep5z66g _1yep5z66h"},"5xl":{conditions:{mobile:"_1yep5z66i",tablet:"_1yep5z66j",desktop:"_1yep5z66k"},defaultClass:"_1yep5z66i _1yep5z66j _1yep5z66k"},"6xl":{conditions:{mobile:"_1yep5z66l",tablet:"_1yep5z66m",desktop:"_1yep5z66n"},defaultClass:"_1yep5z66l _1yep5z66m _1yep5z66n"},"7xl":{conditions:{mobile:"_1yep5z66o",tablet:"_1yep5z66p",desktop:"_1yep5z66q"},defaultClass:"_1yep5z66o _1yep5z66p _1yep5z66q"},"8xl":{conditions:{mobile:"_1yep5z66r",tablet:"_1yep5z66s",desktop:"_1yep5z66t"},defaultClass:"_1yep5z66r _1yep5z66s _1yep5z66t"},"9xl":{conditions:{mobile:"_1yep5z66u",tablet:"_1yep5z66v",desktop:"_1yep5z66w"},defaultClass:"_1yep5z66u _1yep5z66v _1yep5z66w"},none:{conditions:{mobile:"_1yep5z66x",tablet:"_1yep5z66y",desktop:"_1yep5z66z"},defaultClass:"_1yep5z66x _1yep5z66y _1yep5z66z"}},responsiveArray:void 0},marginBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z670",tablet:"_1yep5z671",desktop:"_1yep5z672"},defaultClass:"_1yep5z670 _1yep5z671 _1yep5z672"},sm:{conditions:{mobile:"_1yep5z673",tablet:"_1yep5z674",desktop:"_1yep5z675"},defaultClass:"_1yep5z673 _1yep5z674 _1yep5z675"},md:{conditions:{mobile:"_1yep5z676",tablet:"_1yep5z677",desktop:"_1yep5z678"},defaultClass:"_1yep5z676 _1yep5z677 _1yep5z678"},lg:{conditions:{mobile:"_1yep5z679",tablet:"_1yep5z67a",desktop:"_1yep5z67b"},defaultClass:"_1yep5z679 _1yep5z67a _1yep5z67b"},xl:{conditions:{mobile:"_1yep5z67c",tablet:"_1yep5z67d",desktop:"_1yep5z67e"},defaultClass:"_1yep5z67c _1yep5z67d _1yep5z67e"},"2xl":{conditions:{mobile:"_1yep5z67f",tablet:"_1yep5z67g",desktop:"_1yep5z67h"},defaultClass:"_1yep5z67f _1yep5z67g _1yep5z67h"},"3xl":{conditions:{mobile:"_1yep5z67i",tablet:"_1yep5z67j",desktop:"_1yep5z67k"},defaultClass:"_1yep5z67i _1yep5z67j _1yep5z67k"},"4xl":{conditions:{mobile:"_1yep5z67l",tablet:"_1yep5z67m",desktop:"_1yep5z67n"},defaultClass:"_1yep5z67l _1yep5z67m _1yep5z67n"},"5xl":{conditions:{mobile:"_1yep5z67o",tablet:"_1yep5z67p",desktop:"_1yep5z67q"},defaultClass:"_1yep5z67o _1yep5z67p _1yep5z67q"},"6xl":{conditions:{mobile:"_1yep5z67r",tablet:"_1yep5z67s",desktop:"_1yep5z67t"},defaultClass:"_1yep5z67r _1yep5z67s _1yep5z67t"},"7xl":{conditions:{mobile:"_1yep5z67u",tablet:"_1yep5z67v",desktop:"_1yep5z67w"},defaultClass:"_1yep5z67u _1yep5z67v _1yep5z67w"},"8xl":{conditions:{mobile:"_1yep5z67x",tablet:"_1yep5z67y",desktop:"_1yep5z67z"},defaultClass:"_1yep5z67x _1yep5z67y _1yep5z67z"},"9xl":{conditions:{mobile:"_1yep5z680",tablet:"_1yep5z681",desktop:"_1yep5z682"},defaultClass:"_1yep5z680 _1yep5z681 _1yep5z682"},none:{conditions:{mobile:"_1yep5z683",tablet:"_1yep5z684",desktop:"_1yep5z685"},defaultClass:"_1yep5z683 _1yep5z684 _1yep5z685"}},responsiveArray:void 0},marginInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z686",tablet:"_1yep5z687",desktop:"_1yep5z688"},defaultClass:"_1yep5z686 _1yep5z687 _1yep5z688"},sm:{conditions:{mobile:"_1yep5z689",tablet:"_1yep5z68a",desktop:"_1yep5z68b"},defaultClass:"_1yep5z689 _1yep5z68a _1yep5z68b"},md:{conditions:{mobile:"_1yep5z68c",tablet:"_1yep5z68d",desktop:"_1yep5z68e"},defaultClass:"_1yep5z68c _1yep5z68d _1yep5z68e"},lg:{conditions:{mobile:"_1yep5z68f",tablet:"_1yep5z68g",desktop:"_1yep5z68h"},defaultClass:"_1yep5z68f _1yep5z68g _1yep5z68h"},xl:{conditions:{mobile:"_1yep5z68i",tablet:"_1yep5z68j",desktop:"_1yep5z68k"},defaultClass:"_1yep5z68i _1yep5z68j _1yep5z68k"},"2xl":{conditions:{mobile:"_1yep5z68l",tablet:"_1yep5z68m",desktop:"_1yep5z68n"},defaultClass:"_1yep5z68l _1yep5z68m _1yep5z68n"},"3xl":{conditions:{mobile:"_1yep5z68o",tablet:"_1yep5z68p",desktop:"_1yep5z68q"},defaultClass:"_1yep5z68o _1yep5z68p _1yep5z68q"},"4xl":{conditions:{mobile:"_1yep5z68r",tablet:"_1yep5z68s",desktop:"_1yep5z68t"},defaultClass:"_1yep5z68r _1yep5z68s _1yep5z68t"},"5xl":{conditions:{mobile:"_1yep5z68u",tablet:"_1yep5z68v",desktop:"_1yep5z68w"},defaultClass:"_1yep5z68u _1yep5z68v _1yep5z68w"},"6xl":{conditions:{mobile:"_1yep5z68x",tablet:"_1yep5z68y",desktop:"_1yep5z68z"},defaultClass:"_1yep5z68x _1yep5z68y _1yep5z68z"},"7xl":{conditions:{mobile:"_1yep5z690",tablet:"_1yep5z691",desktop:"_1yep5z692"},defaultClass:"_1yep5z690 _1yep5z691 _1yep5z692"},"8xl":{conditions:{mobile:"_1yep5z693",tablet:"_1yep5z694",desktop:"_1yep5z695"},defaultClass:"_1yep5z693 _1yep5z694 _1yep5z695"},"9xl":{conditions:{mobile:"_1yep5z696",tablet:"_1yep5z697",desktop:"_1yep5z698"},defaultClass:"_1yep5z696 _1yep5z697 _1yep5z698"},none:{conditions:{mobile:"_1yep5z699",tablet:"_1yep5z69a",desktop:"_1yep5z69b"},defaultClass:"_1yep5z699 _1yep5z69a _1yep5z69b"}},responsiveArray:void 0},gap:{values:{xs:{conditions:{mobile:"_1yep5z69c",tablet:"_1yep5z69d",desktop:"_1yep5z69e"},defaultClass:"_1yep5z69c _1yep5z69d _1yep5z69e"},sm:{conditions:{mobile:"_1yep5z69f",tablet:"_1yep5z69g",desktop:"_1yep5z69h"},defaultClass:"_1yep5z69f _1yep5z69g _1yep5z69h"},md:{conditions:{mobile:"_1yep5z69i",tablet:"_1yep5z69j",desktop:"_1yep5z69k"},defaultClass:"_1yep5z69i _1yep5z69j _1yep5z69k"},lg:{conditions:{mobile:"_1yep5z69l",tablet:"_1yep5z69m",desktop:"_1yep5z69n"},defaultClass:"_1yep5z69l _1yep5z69m _1yep5z69n"},xl:{conditions:{mobile:"_1yep5z69o",tablet:"_1yep5z69p",desktop:"_1yep5z69q"},defaultClass:"_1yep5z69o _1yep5z69p _1yep5z69q"},"2xl":{conditions:{mobile:"_1yep5z69r",tablet:"_1yep5z69s",desktop:"_1yep5z69t"},defaultClass:"_1yep5z69r _1yep5z69s _1yep5z69t"},"3xl":{conditions:{mobile:"_1yep5z69u",tablet:"_1yep5z69v",desktop:"_1yep5z69w"},defaultClass:"_1yep5z69u _1yep5z69v _1yep5z69w"},"4xl":{conditions:{mobile:"_1yep5z69x",tablet:"_1yep5z69y",desktop:"_1yep5z69z"},defaultClass:"_1yep5z69x _1yep5z69y _1yep5z69z"},"5xl":{conditions:{mobile:"_1yep5z6a0",tablet:"_1yep5z6a1",desktop:"_1yep5z6a2"},defaultClass:"_1yep5z6a0 _1yep5z6a1 _1yep5z6a2"},"6xl":{conditions:{mobile:"_1yep5z6a3",tablet:"_1yep5z6a4",desktop:"_1yep5z6a5"},defaultClass:"_1yep5z6a3 _1yep5z6a4 _1yep5z6a5"},"7xl":{conditions:{mobile:"_1yep5z6a6",tablet:"_1yep5z6a7",desktop:"_1yep5z6a8"},defaultClass:"_1yep5z6a6 _1yep5z6a7 _1yep5z6a8"},"8xl":{conditions:{mobile:"_1yep5z6a9",tablet:"_1yep5z6aa",desktop:"_1yep5z6ab"},defaultClass:"_1yep5z6a9 _1yep5z6aa _1yep5z6ab"},"9xl":{conditions:{mobile:"_1yep5z6ac",tablet:"_1yep5z6ad",desktop:"_1yep5z6ae"},defaultClass:"_1yep5z6ac _1yep5z6ad _1yep5z6ae"},none:{conditions:{mobile:"_1yep5z6af",tablet:"_1yep5z6ag",desktop:"_1yep5z6ah"},defaultClass:"_1yep5z6af _1yep5z6ag _1yep5z6ah"}},responsiveArray:void 0}}}).styles.paddingBlockStart.responsiveArray=l.conditions.responsiveArray,l.styles.paddingInlineEnd.responsiveArray=l.conditions.responsiveArray,l.styles.paddingBlockEnd.responsiveArray=l.conditions.responsiveArray,l.styles.paddingInlineStart.responsiveArray=l.conditions.responsiveArray,l.styles.marginBlockStart.responsiveArray=l.conditions.responsiveArray,l.styles.marginInlineEnd.responsiveArray=l.conditions.responsiveArray,l.styles.marginBlockEnd.responsiveArray=l.conditions.responsiveArray,l.styles.marginInlineStart.responsiveArray=l.conditions.responsiveArray,l.styles.gap.responsiveArray=l.conditions.responsiveArray,l),function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{borderRadius:{mappings:["borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius"]},borderTopRadius:{mappings:["borderStartStartRadius","borderStartEndRadius"]},borderBottomRadius:{mappings:["borderEndStartRadius","borderEndEndRadius"]},borderLeftRadius:{mappings:["borderStartStartRadius","borderEndStartRadius"]},borderRightRadius:{mappings:["borderStartEndRadius","borderEndEndRadius"]},borderStartStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z6ai",tablet:"_1yep5z6aj",desktop:"_1yep5z6ak"},defaultClass:"_1yep5z6ai _1yep5z6aj _1yep5z6ak"},sm:{conditions:{mobile:"_1yep5z6al",tablet:"_1yep5z6am",desktop:"_1yep5z6an"},defaultClass:"_1yep5z6al _1yep5z6am _1yep5z6an"},md:{conditions:{mobile:"_1yep5z6ao",tablet:"_1yep5z6ap",desktop:"_1yep5z6aq"},defaultClass:"_1yep5z6ao _1yep5z6ap _1yep5z6aq"},lg:{conditions:{mobile:"_1yep5z6ar",tablet:"_1yep5z6as",desktop:"_1yep5z6at"},defaultClass:"_1yep5z6ar _1yep5z6as _1yep5z6at"},xl:{conditions:{mobile:"_1yep5z6au",tablet:"_1yep5z6av",desktop:"_1yep5z6aw"},defaultClass:"_1yep5z6au _1yep5z6av _1yep5z6aw"},"2xl":{conditions:{mobile:"_1yep5z6ax",tablet:"_1yep5z6ay",desktop:"_1yep5z6az"},defaultClass:"_1yep5z6ax _1yep5z6ay _1yep5z6az"},full:{conditions:{mobile:"_1yep5z6b0",tablet:"_1yep5z6b1",desktop:"_1yep5z6b2"},defaultClass:"_1yep5z6b0 _1yep5z6b1 _1yep5z6b2"},none:{conditions:{mobile:"_1yep5z6b3",tablet:"_1yep5z6b4",desktop:"_1yep5z6b5"},defaultClass:"_1yep5z6b3 _1yep5z6b4 _1yep5z6b5"}},responsiveArray:void 0},borderStartEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z6b6",tablet:"_1yep5z6b7",desktop:"_1yep5z6b8"},defaultClass:"_1yep5z6b6 _1yep5z6b7 _1yep5z6b8"},sm:{conditions:{mobile:"_1yep5z6b9",tablet:"_1yep5z6ba",desktop:"_1yep5z6bb"},defaultClass:"_1yep5z6b9 _1yep5z6ba _1yep5z6bb"},md:{conditions:{mobile:"_1yep5z6bc",tablet:"_1yep5z6bd",desktop:"_1yep5z6be"},defaultClass:"_1yep5z6bc _1yep5z6bd _1yep5z6be"},lg:{conditions:{mobile:"_1yep5z6bf",tablet:"_1yep5z6bg",desktop:"_1yep5z6bh"},defaultClass:"_1yep5z6bf _1yep5z6bg _1yep5z6bh"},xl:{conditions:{mobile:"_1yep5z6bi",tablet:"_1yep5z6bj",desktop:"_1yep5z6bk"},defaultClass:"_1yep5z6bi _1yep5z6bj _1yep5z6bk"},"2xl":{conditions:{mobile:"_1yep5z6bl",tablet:"_1yep5z6bm",desktop:"_1yep5z6bn"},defaultClass:"_1yep5z6bl _1yep5z6bm _1yep5z6bn"},full:{conditions:{mobile:"_1yep5z6bo",tablet:"_1yep5z6bp",desktop:"_1yep5z6bq"},defaultClass:"_1yep5z6bo _1yep5z6bp _1yep5z6bq"},none:{conditions:{mobile:"_1yep5z6br",tablet:"_1yep5z6bs",desktop:"_1yep5z6bt"},defaultClass:"_1yep5z6br _1yep5z6bs _1yep5z6bt"}},responsiveArray:void 0},borderEndStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z6bu",tablet:"_1yep5z6bv",desktop:"_1yep5z6bw"},defaultClass:"_1yep5z6bu _1yep5z6bv _1yep5z6bw"},sm:{conditions:{mobile:"_1yep5z6bx",tablet:"_1yep5z6by",desktop:"_1yep5z6bz"},defaultClass:"_1yep5z6bx _1yep5z6by _1yep5z6bz"},md:{conditions:{mobile:"_1yep5z6c0",tablet:"_1yep5z6c1",desktop:"_1yep5z6c2"},defaultClass:"_1yep5z6c0 _1yep5z6c1 _1yep5z6c2"},lg:{conditions:{mobile:"_1yep5z6c3",tablet:"_1yep5z6c4",desktop:"_1yep5z6c5"},defaultClass:"_1yep5z6c3 _1yep5z6c4 _1yep5z6c5"},xl:{conditions:{mobile:"_1yep5z6c6",tablet:"_1yep5z6c7",desktop:"_1yep5z6c8"},defaultClass:"_1yep5z6c6 _1yep5z6c7 _1yep5z6c8"},"2xl":{conditions:{mobile:"_1yep5z6c9",tablet:"_1yep5z6ca",desktop:"_1yep5z6cb"},defaultClass:"_1yep5z6c9 _1yep5z6ca _1yep5z6cb"},full:{conditions:{mobile:"_1yep5z6cc",tablet:"_1yep5z6cd",desktop:"_1yep5z6ce"},defaultClass:"_1yep5z6cc _1yep5z6cd _1yep5z6ce"},none:{conditions:{mobile:"_1yep5z6cf",tablet:"_1yep5z6cg",desktop:"_1yep5z6ch"},defaultClass:"_1yep5z6cf _1yep5z6cg _1yep5z6ch"}},responsiveArray:void 0},borderEndEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z6ci",tablet:"_1yep5z6cj",desktop:"_1yep5z6ck"},defaultClass:"_1yep5z6ci _1yep5z6cj _1yep5z6ck"},sm:{conditions:{mobile:"_1yep5z6cl",tablet:"_1yep5z6cm",desktop:"_1yep5z6cn"},defaultClass:"_1yep5z6cl _1yep5z6cm _1yep5z6cn"},md:{conditions:{mobile:"_1yep5z6co",tablet:"_1yep5z6cp",desktop:"_1yep5z6cq"},defaultClass:"_1yep5z6co _1yep5z6cp _1yep5z6cq"},lg:{conditions:{mobile:"_1yep5z6cr",tablet:"_1yep5z6cs",desktop:"_1yep5z6ct"},defaultClass:"_1yep5z6cr _1yep5z6cs _1yep5z6ct"},xl:{conditions:{mobile:"_1yep5z6cu",tablet:"_1yep5z6cv",desktop:"_1yep5z6cw"},defaultClass:"_1yep5z6cu _1yep5z6cv _1yep5z6cw"},"2xl":{conditions:{mobile:"_1yep5z6cx",tablet:"_1yep5z6cy",desktop:"_1yep5z6cz"},defaultClass:"_1yep5z6cx _1yep5z6cy _1yep5z6cz"},full:{conditions:{mobile:"_1yep5z6d0",tablet:"_1yep5z6d1",desktop:"_1yep5z6d2"},defaultClass:"_1yep5z6d0 _1yep5z6d1 _1yep5z6d2"},none:{conditions:{mobile:"_1yep5z6d3",tablet:"_1yep5z6d4",desktop:"_1yep5z6d5"},defaultClass:"_1yep5z6d3 _1yep5z6d4 _1yep5z6d5"}},responsiveArray:void 0}}};return e.styles.borderStartStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderStartEndRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndEndRadius.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{boxShadow:{values:{low:{defaultClass:"_1yep5z6d6"},medium:{defaultClass:"_1yep5z6d7"}}}}},{conditions:void 0,styles:{opacity:{values:{none:{defaultClass:"_1yep5z6d8"},low:{defaultClass:"_1yep5z6d9"},medium:{defaultClass:"_1yep5z6da"},high:{defaultClass:"_1yep5z6db"}}}}},{conditions:void 0,styles:{typography:{values:{"heading.h6.regular":{defaultClass:"_1yep5z6dc"},"heading.h6.medium":{defaultClass:"_1yep5z6dd"},"heading.h6.semibold":{defaultClass:"_1yep5z6de"},"heading.h5.regular":{defaultClass:"_1yep5z6df"},"heading.h5.medium":{defaultClass:"_1yep5z6dg"},"heading.h5.semibold":{defaultClass:"_1yep5z6dh"},"heading.h4.regular":{defaultClass:"_1yep5z6di"},"heading.h4.medium":{defaultClass:"_1yep5z6dj"},"heading.h4.semibold":{defaultClass:"_1yep5z6dk"},"heading.h3.regular":{defaultClass:"_1yep5z6dl"},"heading.h3.medium":{defaultClass:"_1yep5z6dm"},"heading.h3.semibold":{defaultClass:"_1yep5z6dn"},"heading.h2.regular":{defaultClass:"_1yep5z6do"},"heading.h2.medium":{defaultClass:"_1yep5z6dp"},"heading.h2.semibold":{defaultClass:"_1yep5z6dq"},"heading.h1.regular":{defaultClass:"_1yep5z6dr"},"heading.h1.medium":{defaultClass:"_1yep5z6ds"},"heading.h1.semibold":{defaultClass:"_1yep5z6dt"},"label.sm.regular":{defaultClass:"_1yep5z6du"},"label.sm.medium":{defaultClass:"_1yep5z6dv"},"label.sm.semibold":{defaultClass:"_1yep5z6dw"},"label.md.regular":{defaultClass:"_1yep5z6dx"},"label.md.medium":{defaultClass:"_1yep5z6dy"},"label.md.semibold":{defaultClass:"_1yep5z6dz"},"label.lg.regular":{defaultClass:"_1yep5z6e0"},"label.lg.medium":{defaultClass:"_1yep5z6e1"},"label.lg.semibold":{defaultClass:"_1yep5z6e2"},"body.sm.regular":{defaultClass:"_1yep5z6e3"},"body.sm.medium":{defaultClass:"_1yep5z6e4"},"body.sm.semibold":{defaultClass:"_1yep5z6e5"},"body.md.regular":{defaultClass:"_1yep5z6e6"},"body.md.medium":{defaultClass:"_1yep5z6e7"},"body.md.semibold":{defaultClass:"_1yep5z6e8"},"body.lg.regular":{defaultClass:"_1yep5z6e9"},"body.lg.medium":{defaultClass:"_1yep5z6ea"},"body.lg.semibold":{defaultClass:"_1yep5z6eb"}}}}},{conditions:void 0,styles:{color:{values:{"support.error.subtler":{defaultClass:"_1yep5z6ec"},"support.error.subtle":{defaultClass:"_1yep5z6ed"},"support.error.medium":{defaultClass:"_1yep5z6ee"},"support.error.strong":{defaultClass:"_1yep5z6ef"},"support.success.subtler":{defaultClass:"_1yep5z6eg"},"support.success.subtle":{defaultClass:"_1yep5z6eh"},"support.success.medium":{defaultClass:"_1yep5z6ei"},"support.success.strong":{defaultClass:"_1yep5z6ej"},"support.warning.subtler":{defaultClass:"_1yep5z6ek"},"support.warning.subtle":{defaultClass:"_1yep5z6el"},"support.warning.medium":{defaultClass:"_1yep5z6em"},"support.warning.strong":{defaultClass:"_1yep5z6en"},"support.info.subtler":{defaultClass:"_1yep5z6eo"},"support.info.subtle":{defaultClass:"_1yep5z6ep"},"support.info.medium":{defaultClass:"_1yep5z6eq"},"support.info.strong":{defaultClass:"_1yep5z6er"},"focused.primary":{defaultClass:"_1yep5z6es"},"focused.inset":{defaultClass:"_1yep5z6et"},"text.primary":{defaultClass:"_1yep5z6eu"},"text.secondary":{defaultClass:"_1yep5z6ev"},"text.helper":{defaultClass:"_1yep5z6ew"},"text.placeholder":{defaultClass:"_1yep5z6ex"},"text.disabled":{defaultClass:"_1yep5z6ey"},"text.inverse":{defaultClass:"_1yep5z6ez"},"icon.primary":{defaultClass:"_1yep5z6f0"},"icon.secondary":{defaultClass:"_1yep5z6f1"},"icon.disabled":{defaultClass:"_1yep5z6f2"},"icon.inverse":{defaultClass:"_1yep5z6f3"},"icon.interactive":{defaultClass:"_1yep5z6f4"},"interactive.primary":{defaultClass:"_1yep5z6f5"},"interactive.hovered":{defaultClass:"_1yep5z6f6"},"interactive.active":{defaultClass:"_1yep5z6f7"},"interactive.visited":{defaultClass:"_1yep5z6f8"},"interactive.disabled":{defaultClass:"_1yep5z6f9"}}},backgroundColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z6fa"},"support.error.subtle":{defaultClass:"_1yep5z6fb"},"support.error.medium":{defaultClass:"_1yep5z6fc"},"support.error.strong":{defaultClass:"_1yep5z6fd"},"support.success.subtler":{defaultClass:"_1yep5z6fe"},"support.success.subtle":{defaultClass:"_1yep5z6ff"},"support.success.medium":{defaultClass:"_1yep5z6fg"},"support.success.strong":{defaultClass:"_1yep5z6fh"},"support.warning.subtler":{defaultClass:"_1yep5z6fi"},"support.warning.subtle":{defaultClass:"_1yep5z6fj"},"support.warning.medium":{defaultClass:"_1yep5z6fk"},"support.warning.strong":{defaultClass:"_1yep5z6fl"},"support.info.subtler":{defaultClass:"_1yep5z6fm"},"support.info.subtle":{defaultClass:"_1yep5z6fn"},"support.info.medium":{defaultClass:"_1yep5z6fo"},"support.info.strong":{defaultClass:"_1yep5z6fp"},"focused.primary":{defaultClass:"_1yep5z6fq"},"focused.inset":{defaultClass:"_1yep5z6fr"},"background.primary.subtle":{defaultClass:"_1yep5z6fs"},"background.primary.medium":{defaultClass:"_1yep5z6ft"},"background.primary.strong":{defaultClass:"_1yep5z6fu"},"background.secondary.subtle":{defaultClass:"_1yep5z6fv"},"background.secondary.medium":{defaultClass:"_1yep5z6fw"},"background.secondary.strong":{defaultClass:"_1yep5z6fx"},"background.inverse.subtle":{defaultClass:"_1yep5z6fy"},"background.inverse.medium":{defaultClass:"_1yep5z6fz"},"background.inverse.strong":{defaultClass:"_1yep5z6g0"},"background.overlay.subtle":{defaultClass:"_1yep5z6g1"},"background.overlay.medium":{defaultClass:"_1yep5z6g2"},"positive.subtle":{defaultClass:"_1yep5z6g3"},"positive.medium":{defaultClass:"_1yep5z6g4"},"positive.strong":{defaultClass:"_1yep5z6g5"},"positive.interactive":{defaultClass:"_1yep5z6g6"}}},borderColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z6g7"},"support.error.subtle":{defaultClass:"_1yep5z6g8"},"support.error.medium":{defaultClass:"_1yep5z6g9"},"support.error.strong":{defaultClass:"_1yep5z6ga"},"support.success.subtler":{defaultClass:"_1yep5z6gb"},"support.success.subtle":{defaultClass:"_1yep5z6gc"},"support.success.medium":{defaultClass:"_1yep5z6gd"},"support.success.strong":{defaultClass:"_1yep5z6ge"},"support.warning.subtler":{defaultClass:"_1yep5z6gf"},"support.warning.subtle":{defaultClass:"_1yep5z6gg"},"support.warning.medium":{defaultClass:"_1yep5z6gh"},"support.warning.strong":{defaultClass:"_1yep5z6gi"},"support.info.subtler":{defaultClass:"_1yep5z6gj"},"support.info.subtle":{defaultClass:"_1yep5z6gk"},"support.info.medium":{defaultClass:"_1yep5z6gl"},"support.info.strong":{defaultClass:"_1yep5z6gm"},"focused.primary":{defaultClass:"_1yep5z6gn"},"focused.inset":{defaultClass:"_1yep5z6go"},"border.subtle":{defaultClass:"_1yep5z6gp"},"border.medium":{defaultClass:"_1yep5z6gq"},"border.strong":{defaultClass:"_1yep5z6gr"},"border.inverse":{defaultClass:"_1yep5z6gs"},"border.interactive":{defaultClass:"_1yep5z6gt"},"border.disabled":{defaultClass:"_1yep5z6gu"},transparent:{defaultClass:"_1yep5z6gv"}}},outlineColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z6gw"},"support.error.subtle":{defaultClass:"_1yep5z6gx"},"support.error.medium":{defaultClass:"_1yep5z6gy"},"support.error.strong":{defaultClass:"_1yep5z6gz"},"support.success.subtler":{defaultClass:"_1yep5z6h0"},"support.success.subtle":{defaultClass:"_1yep5z6h1"},"support.success.medium":{defaultClass:"_1yep5z6h2"},"support.success.strong":{defaultClass:"_1yep5z6h3"},"support.warning.subtler":{defaultClass:"_1yep5z6h4"},"support.warning.subtle":{defaultClass:"_1yep5z6h5"},"support.warning.medium":{defaultClass:"_1yep5z6h6"},"support.warning.strong":{defaultClass:"_1yep5z6h7"},"support.info.subtler":{defaultClass:"_1yep5z6h8"},"support.info.subtle":{defaultClass:"_1yep5z6h9"},"support.info.medium":{defaultClass:"_1yep5z6ha"},"support.info.strong":{defaultClass:"_1yep5z6hb"},"focused.primary":{defaultClass:"_1yep5z6hc"},"focused.inset":{defaultClass:"_1yep5z6hd"},"border.subtle":{defaultClass:"_1yep5z6he"},"border.medium":{defaultClass:"_1yep5z6hf"},"border.strong":{defaultClass:"_1yep5z6hg"},"border.inverse":{defaultClass:"_1yep5z6hh"},"border.interactive":{defaultClass:"_1yep5z6hi"},"border.disabled":{defaultClass:"_1yep5z6hj"},transparent:{defaultClass:"_1yep5z6hk"}}}}},function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{position:{values:{relative:{conditions:{mobile:"_1yep5z6hl",tablet:"_1yep5z6hm",desktop:"_1yep5z6hn"},defaultClass:"_1yep5z6hl _1yep5z6hm _1yep5z6hn"},absolute:{conditions:{mobile:"_1yep5z6ho",tablet:"_1yep5z6hp",desktop:"_1yep5z6hq"},defaultClass:"_1yep5z6ho _1yep5z6hp _1yep5z6hq"},fixed:{conditions:{mobile:"_1yep5z6hr",tablet:"_1yep5z6hs",desktop:"_1yep5z6ht"},defaultClass:"_1yep5z6hr _1yep5z6hs _1yep5z6ht"}},responsiveArray:void 0},display:{values:{none:{conditions:{mobile:"_1yep5z6hu",tablet:"_1yep5z6hv",desktop:"_1yep5z6hw"},defaultClass:"_1yep5z6hu _1yep5z6hv _1yep5z6hw"},block:{conditions:{mobile:"_1yep5z6hx",tablet:"_1yep5z6hy",desktop:"_1yep5z6hz"},defaultClass:"_1yep5z6hx _1yep5z6hy _1yep5z6hz"},flex:{conditions:{mobile:"_1yep5z6i0",tablet:"_1yep5z6i1",desktop:"_1yep5z6i2"},defaultClass:"_1yep5z6i0 _1yep5z6i1 _1yep5z6i2"},"inline-flex":{conditions:{mobile:"_1yep5z6i3",tablet:"_1yep5z6i4",desktop:"_1yep5z6i5"},defaultClass:"_1yep5z6i3 _1yep5z6i4 _1yep5z6i5"},grid:{conditions:{mobile:"_1yep5z6i6",tablet:"_1yep5z6i7",desktop:"_1yep5z6i8"},defaultClass:"_1yep5z6i6 _1yep5z6i7 _1yep5z6i8"}},responsiveArray:void 0},flexDirection:{values:{row:{conditions:{mobile:"_1yep5z6i9",tablet:"_1yep5z6ia",desktop:"_1yep5z6ib"},defaultClass:"_1yep5z6i9 _1yep5z6ia _1yep5z6ib"},column:{conditions:{mobile:"_1yep5z6ic",tablet:"_1yep5z6id",desktop:"_1yep5z6ie"},defaultClass:"_1yep5z6ic _1yep5z6id _1yep5z6ie"},"row-reverse":{conditions:{mobile:"_1yep5z6if",tablet:"_1yep5z6ig",desktop:"_1yep5z6ih"},defaultClass:"_1yep5z6if _1yep5z6ig _1yep5z6ih"},"column-reverse":{conditions:{mobile:"_1yep5z6ii",tablet:"_1yep5z6ij",desktop:"_1yep5z6ik"},defaultClass:"_1yep5z6ii _1yep5z6ij _1yep5z6ik"}},responsiveArray:void 0},alignItems:{values:{stretch:{conditions:{mobile:"_1yep5z6il",tablet:"_1yep5z6im",desktop:"_1yep5z6in"},defaultClass:"_1yep5z6il _1yep5z6im _1yep5z6in"},"flex-start":{conditions:{mobile:"_1yep5z6io",tablet:"_1yep5z6ip",desktop:"_1yep5z6iq"},defaultClass:"_1yep5z6io _1yep5z6ip _1yep5z6iq"},center:{conditions:{mobile:"_1yep5z6ir",tablet:"_1yep5z6is",desktop:"_1yep5z6it"},defaultClass:"_1yep5z6ir _1yep5z6is _1yep5z6it"},"flex-end":{conditions:{mobile:"_1yep5z6iu",tablet:"_1yep5z6iv",desktop:"_1yep5z6iw"},defaultClass:"_1yep5z6iu _1yep5z6iv _1yep5z6iw"}},responsiveArray:void 0},alignSelf:{values:{stretch:{conditions:{mobile:"_1yep5z6ix",tablet:"_1yep5z6iy",desktop:"_1yep5z6iz"},defaultClass:"_1yep5z6ix _1yep5z6iy _1yep5z6iz"},"flex-start":{conditions:{mobile:"_1yep5z6j0",tablet:"_1yep5z6j1",desktop:"_1yep5z6j2"},defaultClass:"_1yep5z6j0 _1yep5z6j1 _1yep5z6j2"},center:{conditions:{mobile:"_1yep5z6j3",tablet:"_1yep5z6j4",desktop:"_1yep5z6j5"},defaultClass:"_1yep5z6j3 _1yep5z6j4 _1yep5z6j5"},"flex-end":{conditions:{mobile:"_1yep5z6j6",tablet:"_1yep5z6j7",desktop:"_1yep5z6j8"},defaultClass:"_1yep5z6j6 _1yep5z6j7 _1yep5z6j8"}},responsiveArray:void 0},flex:{values:{0:{conditions:{mobile:"_1yep5z6j9",tablet:"_1yep5z6ja",desktop:"_1yep5z6jb"},defaultClass:"_1yep5z6j9 _1yep5z6ja _1yep5z6jb"},1:{conditions:{mobile:"_1yep5z6jc",tablet:"_1yep5z6jd",desktop:"_1yep5z6je"},defaultClass:"_1yep5z6jc _1yep5z6jd _1yep5z6je"}},responsiveArray:void 0},justifyContent:{values:{stretch:{conditions:{mobile:"_1yep5z6jf",tablet:"_1yep5z6jg",desktop:"_1yep5z6jh"},defaultClass:"_1yep5z6jf _1yep5z6jg _1yep5z6jh"},"flex-start":{conditions:{mobile:"_1yep5z6ji",tablet:"_1yep5z6jj",desktop:"_1yep5z6jk"},defaultClass:"_1yep5z6ji _1yep5z6jj _1yep5z6jk"},center:{conditions:{mobile:"_1yep5z6jl",tablet:"_1yep5z6jm",desktop:"_1yep5z6jn"},defaultClass:"_1yep5z6jl _1yep5z6jm _1yep5z6jn"},"flex-end":{conditions:{mobile:"_1yep5z6jo",tablet:"_1yep5z6jp",desktop:"_1yep5z6jq"},defaultClass:"_1yep5z6jo _1yep5z6jp _1yep5z6jq"},"space-between":{conditions:{mobile:"_1yep5z6jr",tablet:"_1yep5z6js",desktop:"_1yep5z6jt"},defaultClass:"_1yep5z6jr _1yep5z6js _1yep5z6jt"}},responsiveArray:void 0},justifySelf:{values:{stretch:{conditions:{mobile:"_1yep5z6ju",tablet:"_1yep5z6jv",desktop:"_1yep5z6jw"},defaultClass:"_1yep5z6ju _1yep5z6jv _1yep5z6jw"},"flex-start":{conditions:{mobile:"_1yep5z6jx",tablet:"_1yep5z6jy",desktop:"_1yep5z6jz"},defaultClass:"_1yep5z6jx _1yep5z6jy _1yep5z6jz"},center:{conditions:{mobile:"_1yep5z6k0",tablet:"_1yep5z6k1",desktop:"_1yep5z6k2"},defaultClass:"_1yep5z6k0 _1yep5z6k1 _1yep5z6k2"},"flex-end":{conditions:{mobile:"_1yep5z6k3",tablet:"_1yep5z6k4",desktop:"_1yep5z6k5"},defaultClass:"_1yep5z6k3 _1yep5z6k4 _1yep5z6k5"}},responsiveArray:void 0},placeItems:{values:{stretch:{conditions:{mobile:"_1yep5z6k6",tablet:"_1yep5z6k7",desktop:"_1yep5z6k8"},defaultClass:"_1yep5z6k6 _1yep5z6k7 _1yep5z6k8"},"flex-start":{conditions:{mobile:"_1yep5z6k9",tablet:"_1yep5z6ka",desktop:"_1yep5z6kb"},defaultClass:"_1yep5z6k9 _1yep5z6ka _1yep5z6kb"},center:{conditions:{mobile:"_1yep5z6kc",tablet:"_1yep5z6kd",desktop:"_1yep5z6ke"},defaultClass:"_1yep5z6kc _1yep5z6kd _1yep5z6ke"},"flex-end":{conditions:{mobile:"_1yep5z6kf",tablet:"_1yep5z6kg",desktop:"_1yep5z6kh"},defaultClass:"_1yep5z6kf _1yep5z6kg _1yep5z6kh"}},responsiveArray:void 0}}};return e.styles.position.responsiveArray=e.conditions.responsiveArray,e.styles.display.responsiveArray=e.conditions.responsiveArray,e.styles.flexDirection.responsiveArray=e.conditions.responsiveArray,e.styles.alignItems.responsiveArray=e.conditions.responsiveArray,e.styles.alignSelf.responsiveArray=e.conditions.responsiveArray,e.styles.flex.responsiveArray=e.conditions.responsiveArray,e.styles.justifyContent.responsiveArray=e.conditions.responsiveArray,e.styles.justifySelf.responsiveArray=e.conditions.responsiveArray,e.styles.placeItems.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{transition:{values:{"transition.medium":{defaultClass:"_1yep5z6ki"}}},transitionProperty:{values:{transform:{defaultClass:"_1yep5z6kj"},opacity:{defaultClass:"_1yep5z6kk"},"background-color":{defaultClass:"_1yep5z6kl"}}}}},{conditions:void 0,styles:{inset:{mappings:["insetBlockStart","insetBlockEnd","insetInlineEnd","insetInlineStart"]},flexWrap:{values:{wrap:{defaultClass:"_1yep5z6km"},nowrap:{defaultClass:"_1yep5z6kn"}}},insetBlockStart:{values:{0:{defaultClass:"_1yep5z6ko"}}},insetBlockEnd:{values:{0:{defaultClass:"_1yep5z6kp"}}},insetInlineStart:{values:{0:{defaultClass:"_1yep5z6kq"}}},insetInlineEnd:{values:{0:{defaultClass:"_1yep5z6kr"}}},flexShrink:{values:{0:{defaultClass:"_1yep5z6ks"}}},flexGrow:{values:{0:{defaultClass:"_1yep5z6kt"},1:{defaultClass:"_1yep5z6ku"}}},width:{values:{full:{defaultClass:"_1yep5z6kv"}}},height:{values:{full:{defaultClass:"_1yep5z6kw"}}},cursor:{values:{pointer:{defaultClass:"_1yep5z6kx"}}}}},{conditions:void 0,styles:{outline:{values:{none:{defaultClass:"_1yep5z6ky"}}},outlineStyle:{values:{solid:{defaultClass:"_1yep5z6kz"}}},outlineWidth:{values:{1:{defaultClass:"_1yep5z6l0"},2:{defaultClass:"_1yep5z6l1"}}},outlineOffset:{values:{1:{defaultClass:"_1yep5z6l4"},2:{defaultClass:"_1yep5z6l5"},"-2":{defaultClass:"_1yep5z6l2"},"-1":{defaultClass:"_1yep5z6l3"}}},border:{values:{none:{defaultClass:"_1yep5z6l6"}}},borderStyle:{values:{solid:{defaultClass:"_1yep5z6l7"},dashed:{defaultClass:"_1yep5z6l8"}}},borderWidth:{values:{1:{defaultClass:"_1yep5z6l9"},2:{defaultClass:"_1yep5z6la"}}}}}),h=d(function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{paddingLeft:{mappings:["paddingInlineStart"]},paddingRight:{mappings:["paddingInlineEnd"]},paddingTop:{mappings:["paddingBlockStart"]},paddingBottom:{mappings:["paddingBlockEnd"]},padding:{mappings:["paddingBlockStart","paddingBlockEnd","paddingInlineStart","paddingInlineEnd"]},paddingX:{mappings:["paddingInlineStart","paddingInlineEnd"]},paddingY:{mappings:["paddingBlockStart","paddingBlockEnd"]},marginLeft:{mappings:["marginInlineStart"]},marginRight:{mappings:["marginInlineEnd"]},marginTop:{mappings:["marginBlockStart"]},marginBottom:{mappings:["marginBlockEnd"]},margin:{mappings:["marginBlockStart","marginBlockEnd","marginInlineStart","marginInlineEnd"]},marginX:{mappings:["marginInlineStart","marginInlineEnd"]},marginY:{mappings:["marginBlockStart","marginBlockEnd"]},paddingBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z616m",tablet:"_1yep5z616n",desktop:"_1yep5z616o"},defaultClass:"_1yep5z616m _1yep5z616n _1yep5z616o"},sm:{conditions:{mobile:"_1yep5z616p",tablet:"_1yep5z616q",desktop:"_1yep5z616r"},defaultClass:"_1yep5z616p _1yep5z616q _1yep5z616r"},md:{conditions:{mobile:"_1yep5z616s",tablet:"_1yep5z616t",desktop:"_1yep5z616u"},defaultClass:"_1yep5z616s _1yep5z616t _1yep5z616u"},lg:{conditions:{mobile:"_1yep5z616v",tablet:"_1yep5z616w",desktop:"_1yep5z616x"},defaultClass:"_1yep5z616v _1yep5z616w _1yep5z616x"},xl:{conditions:{mobile:"_1yep5z616y",tablet:"_1yep5z616z",desktop:"_1yep5z6170"},defaultClass:"_1yep5z616y _1yep5z616z _1yep5z6170"},"2xl":{conditions:{mobile:"_1yep5z6171",tablet:"_1yep5z6172",desktop:"_1yep5z6173"},defaultClass:"_1yep5z6171 _1yep5z6172 _1yep5z6173"},"3xl":{conditions:{mobile:"_1yep5z6174",tablet:"_1yep5z6175",desktop:"_1yep5z6176"},defaultClass:"_1yep5z6174 _1yep5z6175 _1yep5z6176"},"4xl":{conditions:{mobile:"_1yep5z6177",tablet:"_1yep5z6178",desktop:"_1yep5z6179"},defaultClass:"_1yep5z6177 _1yep5z6178 _1yep5z6179"},"5xl":{conditions:{mobile:"_1yep5z617a",tablet:"_1yep5z617b",desktop:"_1yep5z617c"},defaultClass:"_1yep5z617a _1yep5z617b _1yep5z617c"},"6xl":{conditions:{mobile:"_1yep5z617d",tablet:"_1yep5z617e",desktop:"_1yep5z617f"},defaultClass:"_1yep5z617d _1yep5z617e _1yep5z617f"},"7xl":{conditions:{mobile:"_1yep5z617g",tablet:"_1yep5z617h",desktop:"_1yep5z617i"},defaultClass:"_1yep5z617g _1yep5z617h _1yep5z617i"},"8xl":{conditions:{mobile:"_1yep5z617j",tablet:"_1yep5z617k",desktop:"_1yep5z617l"},defaultClass:"_1yep5z617j _1yep5z617k _1yep5z617l"},"9xl":{conditions:{mobile:"_1yep5z617m",tablet:"_1yep5z617n",desktop:"_1yep5z617o"},defaultClass:"_1yep5z617m _1yep5z617n _1yep5z617o"},none:{conditions:{mobile:"_1yep5z617p",tablet:"_1yep5z617q",desktop:"_1yep5z617r"},defaultClass:"_1yep5z617p _1yep5z617q _1yep5z617r"}},responsiveArray:void 0},paddingInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z617s",tablet:"_1yep5z617t",desktop:"_1yep5z617u"},defaultClass:"_1yep5z617s _1yep5z617t _1yep5z617u"},sm:{conditions:{mobile:"_1yep5z617v",tablet:"_1yep5z617w",desktop:"_1yep5z617x"},defaultClass:"_1yep5z617v _1yep5z617w _1yep5z617x"},md:{conditions:{mobile:"_1yep5z617y",tablet:"_1yep5z617z",desktop:"_1yep5z6180"},defaultClass:"_1yep5z617y _1yep5z617z _1yep5z6180"},lg:{conditions:{mobile:"_1yep5z6181",tablet:"_1yep5z6182",desktop:"_1yep5z6183"},defaultClass:"_1yep5z6181 _1yep5z6182 _1yep5z6183"},xl:{conditions:{mobile:"_1yep5z6184",tablet:"_1yep5z6185",desktop:"_1yep5z6186"},defaultClass:"_1yep5z6184 _1yep5z6185 _1yep5z6186"},"2xl":{conditions:{mobile:"_1yep5z6187",tablet:"_1yep5z6188",desktop:"_1yep5z6189"},defaultClass:"_1yep5z6187 _1yep5z6188 _1yep5z6189"},"3xl":{conditions:{mobile:"_1yep5z618a",tablet:"_1yep5z618b",desktop:"_1yep5z618c"},defaultClass:"_1yep5z618a _1yep5z618b _1yep5z618c"},"4xl":{conditions:{mobile:"_1yep5z618d",tablet:"_1yep5z618e",desktop:"_1yep5z618f"},defaultClass:"_1yep5z618d _1yep5z618e _1yep5z618f"},"5xl":{conditions:{mobile:"_1yep5z618g",tablet:"_1yep5z618h",desktop:"_1yep5z618i"},defaultClass:"_1yep5z618g _1yep5z618h _1yep5z618i"},"6xl":{conditions:{mobile:"_1yep5z618j",tablet:"_1yep5z618k",desktop:"_1yep5z618l"},defaultClass:"_1yep5z618j _1yep5z618k _1yep5z618l"},"7xl":{conditions:{mobile:"_1yep5z618m",tablet:"_1yep5z618n",desktop:"_1yep5z618o"},defaultClass:"_1yep5z618m _1yep5z618n _1yep5z618o"},"8xl":{conditions:{mobile:"_1yep5z618p",tablet:"_1yep5z618q",desktop:"_1yep5z618r"},defaultClass:"_1yep5z618p _1yep5z618q _1yep5z618r"},"9xl":{conditions:{mobile:"_1yep5z618s",tablet:"_1yep5z618t",desktop:"_1yep5z618u"},defaultClass:"_1yep5z618s _1yep5z618t _1yep5z618u"},none:{conditions:{mobile:"_1yep5z618v",tablet:"_1yep5z618w",desktop:"_1yep5z618x"},defaultClass:"_1yep5z618v _1yep5z618w _1yep5z618x"}},responsiveArray:void 0},paddingBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z618y",tablet:"_1yep5z618z",desktop:"_1yep5z6190"},defaultClass:"_1yep5z618y _1yep5z618z _1yep5z6190"},sm:{conditions:{mobile:"_1yep5z6191",tablet:"_1yep5z6192",desktop:"_1yep5z6193"},defaultClass:"_1yep5z6191 _1yep5z6192 _1yep5z6193"},md:{conditions:{mobile:"_1yep5z6194",tablet:"_1yep5z6195",desktop:"_1yep5z6196"},defaultClass:"_1yep5z6194 _1yep5z6195 _1yep5z6196"},lg:{conditions:{mobile:"_1yep5z6197",tablet:"_1yep5z6198",desktop:"_1yep5z6199"},defaultClass:"_1yep5z6197 _1yep5z6198 _1yep5z6199"},xl:{conditions:{mobile:"_1yep5z619a",tablet:"_1yep5z619b",desktop:"_1yep5z619c"},defaultClass:"_1yep5z619a _1yep5z619b _1yep5z619c"},"2xl":{conditions:{mobile:"_1yep5z619d",tablet:"_1yep5z619e",desktop:"_1yep5z619f"},defaultClass:"_1yep5z619d _1yep5z619e _1yep5z619f"},"3xl":{conditions:{mobile:"_1yep5z619g",tablet:"_1yep5z619h",desktop:"_1yep5z619i"},defaultClass:"_1yep5z619g _1yep5z619h _1yep5z619i"},"4xl":{conditions:{mobile:"_1yep5z619j",tablet:"_1yep5z619k",desktop:"_1yep5z619l"},defaultClass:"_1yep5z619j _1yep5z619k _1yep5z619l"},"5xl":{conditions:{mobile:"_1yep5z619m",tablet:"_1yep5z619n",desktop:"_1yep5z619o"},defaultClass:"_1yep5z619m _1yep5z619n _1yep5z619o"},"6xl":{conditions:{mobile:"_1yep5z619p",tablet:"_1yep5z619q",desktop:"_1yep5z619r"},defaultClass:"_1yep5z619p _1yep5z619q _1yep5z619r"},"7xl":{conditions:{mobile:"_1yep5z619s",tablet:"_1yep5z619t",desktop:"_1yep5z619u"},defaultClass:"_1yep5z619s _1yep5z619t _1yep5z619u"},"8xl":{conditions:{mobile:"_1yep5z619v",tablet:"_1yep5z619w",desktop:"_1yep5z619x"},defaultClass:"_1yep5z619v _1yep5z619w _1yep5z619x"},"9xl":{conditions:{mobile:"_1yep5z619y",tablet:"_1yep5z619z",desktop:"_1yep5z61a0"},defaultClass:"_1yep5z619y _1yep5z619z _1yep5z61a0"},none:{conditions:{mobile:"_1yep5z61a1",tablet:"_1yep5z61a2",desktop:"_1yep5z61a3"},defaultClass:"_1yep5z61a1 _1yep5z61a2 _1yep5z61a3"}},responsiveArray:void 0},paddingInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z61a4",tablet:"_1yep5z61a5",desktop:"_1yep5z61a6"},defaultClass:"_1yep5z61a4 _1yep5z61a5 _1yep5z61a6"},sm:{conditions:{mobile:"_1yep5z61a7",tablet:"_1yep5z61a8",desktop:"_1yep5z61a9"},defaultClass:"_1yep5z61a7 _1yep5z61a8 _1yep5z61a9"},md:{conditions:{mobile:"_1yep5z61aa",tablet:"_1yep5z61ab",desktop:"_1yep5z61ac"},defaultClass:"_1yep5z61aa _1yep5z61ab _1yep5z61ac"},lg:{conditions:{mobile:"_1yep5z61ad",tablet:"_1yep5z61ae",desktop:"_1yep5z61af"},defaultClass:"_1yep5z61ad _1yep5z61ae _1yep5z61af"},xl:{conditions:{mobile:"_1yep5z61ag",tablet:"_1yep5z61ah",desktop:"_1yep5z61ai"},defaultClass:"_1yep5z61ag _1yep5z61ah _1yep5z61ai"},"2xl":{conditions:{mobile:"_1yep5z61aj",tablet:"_1yep5z61ak",desktop:"_1yep5z61al"},defaultClass:"_1yep5z61aj _1yep5z61ak _1yep5z61al"},"3xl":{conditions:{mobile:"_1yep5z61am",tablet:"_1yep5z61an",desktop:"_1yep5z61ao"},defaultClass:"_1yep5z61am _1yep5z61an _1yep5z61ao"},"4xl":{conditions:{mobile:"_1yep5z61ap",tablet:"_1yep5z61aq",desktop:"_1yep5z61ar"},defaultClass:"_1yep5z61ap _1yep5z61aq _1yep5z61ar"},"5xl":{conditions:{mobile:"_1yep5z61as",tablet:"_1yep5z61at",desktop:"_1yep5z61au"},defaultClass:"_1yep5z61as _1yep5z61at _1yep5z61au"},"6xl":{conditions:{mobile:"_1yep5z61av",tablet:"_1yep5z61aw",desktop:"_1yep5z61ax"},defaultClass:"_1yep5z61av _1yep5z61aw _1yep5z61ax"},"7xl":{conditions:{mobile:"_1yep5z61ay",tablet:"_1yep5z61az",desktop:"_1yep5z61b0"},defaultClass:"_1yep5z61ay _1yep5z61az _1yep5z61b0"},"8xl":{conditions:{mobile:"_1yep5z61b1",tablet:"_1yep5z61b2",desktop:"_1yep5z61b3"},defaultClass:"_1yep5z61b1 _1yep5z61b2 _1yep5z61b3"},"9xl":{conditions:{mobile:"_1yep5z61b4",tablet:"_1yep5z61b5",desktop:"_1yep5z61b6"},defaultClass:"_1yep5z61b4 _1yep5z61b5 _1yep5z61b6"},none:{conditions:{mobile:"_1yep5z61b7",tablet:"_1yep5z61b8",desktop:"_1yep5z61b9"},defaultClass:"_1yep5z61b7 _1yep5z61b8 _1yep5z61b9"}},responsiveArray:void 0},marginBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z61ba",tablet:"_1yep5z61bb",desktop:"_1yep5z61bc"},defaultClass:"_1yep5z61ba _1yep5z61bb _1yep5z61bc"},sm:{conditions:{mobile:"_1yep5z61bd",tablet:"_1yep5z61be",desktop:"_1yep5z61bf"},defaultClass:"_1yep5z61bd _1yep5z61be _1yep5z61bf"},md:{conditions:{mobile:"_1yep5z61bg",tablet:"_1yep5z61bh",desktop:"_1yep5z61bi"},defaultClass:"_1yep5z61bg _1yep5z61bh _1yep5z61bi"},lg:{conditions:{mobile:"_1yep5z61bj",tablet:"_1yep5z61bk",desktop:"_1yep5z61bl"},defaultClass:"_1yep5z61bj _1yep5z61bk _1yep5z61bl"},xl:{conditions:{mobile:"_1yep5z61bm",tablet:"_1yep5z61bn",desktop:"_1yep5z61bo"},defaultClass:"_1yep5z61bm _1yep5z61bn _1yep5z61bo"},"2xl":{conditions:{mobile:"_1yep5z61bp",tablet:"_1yep5z61bq",desktop:"_1yep5z61br"},defaultClass:"_1yep5z61bp _1yep5z61bq _1yep5z61br"},"3xl":{conditions:{mobile:"_1yep5z61bs",tablet:"_1yep5z61bt",desktop:"_1yep5z61bu"},defaultClass:"_1yep5z61bs _1yep5z61bt _1yep5z61bu"},"4xl":{conditions:{mobile:"_1yep5z61bv",tablet:"_1yep5z61bw",desktop:"_1yep5z61bx"},defaultClass:"_1yep5z61bv _1yep5z61bw _1yep5z61bx"},"5xl":{conditions:{mobile:"_1yep5z61by",tablet:"_1yep5z61bz",desktop:"_1yep5z61c0"},defaultClass:"_1yep5z61by _1yep5z61bz _1yep5z61c0"},"6xl":{conditions:{mobile:"_1yep5z61c1",tablet:"_1yep5z61c2",desktop:"_1yep5z61c3"},defaultClass:"_1yep5z61c1 _1yep5z61c2 _1yep5z61c3"},"7xl":{conditions:{mobile:"_1yep5z61c4",tablet:"_1yep5z61c5",desktop:"_1yep5z61c6"},defaultClass:"_1yep5z61c4 _1yep5z61c5 _1yep5z61c6"},"8xl":{conditions:{mobile:"_1yep5z61c7",tablet:"_1yep5z61c8",desktop:"_1yep5z61c9"},defaultClass:"_1yep5z61c7 _1yep5z61c8 _1yep5z61c9"},"9xl":{conditions:{mobile:"_1yep5z61ca",tablet:"_1yep5z61cb",desktop:"_1yep5z61cc"},defaultClass:"_1yep5z61ca _1yep5z61cb _1yep5z61cc"},none:{conditions:{mobile:"_1yep5z61cd",tablet:"_1yep5z61ce",desktop:"_1yep5z61cf"},defaultClass:"_1yep5z61cd _1yep5z61ce _1yep5z61cf"}},responsiveArray:void 0},marginInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z61cg",tablet:"_1yep5z61ch",desktop:"_1yep5z61ci"},defaultClass:"_1yep5z61cg _1yep5z61ch _1yep5z61ci"},sm:{conditions:{mobile:"_1yep5z61cj",tablet:"_1yep5z61ck",desktop:"_1yep5z61cl"},defaultClass:"_1yep5z61cj _1yep5z61ck _1yep5z61cl"},md:{conditions:{mobile:"_1yep5z61cm",tablet:"_1yep5z61cn",desktop:"_1yep5z61co"},defaultClass:"_1yep5z61cm _1yep5z61cn _1yep5z61co"},lg:{conditions:{mobile:"_1yep5z61cp",tablet:"_1yep5z61cq",desktop:"_1yep5z61cr"},defaultClass:"_1yep5z61cp _1yep5z61cq _1yep5z61cr"},xl:{conditions:{mobile:"_1yep5z61cs",tablet:"_1yep5z61ct",desktop:"_1yep5z61cu"},defaultClass:"_1yep5z61cs _1yep5z61ct _1yep5z61cu"},"2xl":{conditions:{mobile:"_1yep5z61cv",tablet:"_1yep5z61cw",desktop:"_1yep5z61cx"},defaultClass:"_1yep5z61cv _1yep5z61cw _1yep5z61cx"},"3xl":{conditions:{mobile:"_1yep5z61cy",tablet:"_1yep5z61cz",desktop:"_1yep5z61d0"},defaultClass:"_1yep5z61cy _1yep5z61cz _1yep5z61d0"},"4xl":{conditions:{mobile:"_1yep5z61d1",tablet:"_1yep5z61d2",desktop:"_1yep5z61d3"},defaultClass:"_1yep5z61d1 _1yep5z61d2 _1yep5z61d3"},"5xl":{conditions:{mobile:"_1yep5z61d4",tablet:"_1yep5z61d5",desktop:"_1yep5z61d6"},defaultClass:"_1yep5z61d4 _1yep5z61d5 _1yep5z61d6"},"6xl":{conditions:{mobile:"_1yep5z61d7",tablet:"_1yep5z61d8",desktop:"_1yep5z61d9"},defaultClass:"_1yep5z61d7 _1yep5z61d8 _1yep5z61d9"},"7xl":{conditions:{mobile:"_1yep5z61da",tablet:"_1yep5z61db",desktop:"_1yep5z61dc"},defaultClass:"_1yep5z61da _1yep5z61db _1yep5z61dc"},"8xl":{conditions:{mobile:"_1yep5z61dd",tablet:"_1yep5z61de",desktop:"_1yep5z61df"},defaultClass:"_1yep5z61dd _1yep5z61de _1yep5z61df"},"9xl":{conditions:{mobile:"_1yep5z61dg",tablet:"_1yep5z61dh",desktop:"_1yep5z61di"},defaultClass:"_1yep5z61dg _1yep5z61dh _1yep5z61di"},none:{conditions:{mobile:"_1yep5z61dj",tablet:"_1yep5z61dk",desktop:"_1yep5z61dl"},defaultClass:"_1yep5z61dj _1yep5z61dk _1yep5z61dl"}},responsiveArray:void 0},marginBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z61dm",tablet:"_1yep5z61dn",desktop:"_1yep5z61do"},defaultClass:"_1yep5z61dm _1yep5z61dn _1yep5z61do"},sm:{conditions:{mobile:"_1yep5z61dp",tablet:"_1yep5z61dq",desktop:"_1yep5z61dr"},defaultClass:"_1yep5z61dp _1yep5z61dq _1yep5z61dr"},md:{conditions:{mobile:"_1yep5z61ds",tablet:"_1yep5z61dt",desktop:"_1yep5z61du"},defaultClass:"_1yep5z61ds _1yep5z61dt _1yep5z61du"},lg:{conditions:{mobile:"_1yep5z61dv",tablet:"_1yep5z61dw",desktop:"_1yep5z61dx"},defaultClass:"_1yep5z61dv _1yep5z61dw _1yep5z61dx"},xl:{conditions:{mobile:"_1yep5z61dy",tablet:"_1yep5z61dz",desktop:"_1yep5z61e0"},defaultClass:"_1yep5z61dy _1yep5z61dz _1yep5z61e0"},"2xl":{conditions:{mobile:"_1yep5z61e1",tablet:"_1yep5z61e2",desktop:"_1yep5z61e3"},defaultClass:"_1yep5z61e1 _1yep5z61e2 _1yep5z61e3"},"3xl":{conditions:{mobile:"_1yep5z61e4",tablet:"_1yep5z61e5",desktop:"_1yep5z61e6"},defaultClass:"_1yep5z61e4 _1yep5z61e5 _1yep5z61e6"},"4xl":{conditions:{mobile:"_1yep5z61e7",tablet:"_1yep5z61e8",desktop:"_1yep5z61e9"},defaultClass:"_1yep5z61e7 _1yep5z61e8 _1yep5z61e9"},"5xl":{conditions:{mobile:"_1yep5z61ea",tablet:"_1yep5z61eb",desktop:"_1yep5z61ec"},defaultClass:"_1yep5z61ea _1yep5z61eb _1yep5z61ec"},"6xl":{conditions:{mobile:"_1yep5z61ed",tablet:"_1yep5z61ee",desktop:"_1yep5z61ef"},defaultClass:"_1yep5z61ed _1yep5z61ee _1yep5z61ef"},"7xl":{conditions:{mobile:"_1yep5z61eg",tablet:"_1yep5z61eh",desktop:"_1yep5z61ei"},defaultClass:"_1yep5z61eg _1yep5z61eh _1yep5z61ei"},"8xl":{conditions:{mobile:"_1yep5z61ej",tablet:"_1yep5z61ek",desktop:"_1yep5z61el"},defaultClass:"_1yep5z61ej _1yep5z61ek _1yep5z61el"},"9xl":{conditions:{mobile:"_1yep5z61em",tablet:"_1yep5z61en",desktop:"_1yep5z61eo"},defaultClass:"_1yep5z61em _1yep5z61en _1yep5z61eo"},none:{conditions:{mobile:"_1yep5z61ep",tablet:"_1yep5z61eq",desktop:"_1yep5z61er"},defaultClass:"_1yep5z61ep _1yep5z61eq _1yep5z61er"}},responsiveArray:void 0},marginInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z61es",tablet:"_1yep5z61et",desktop:"_1yep5z61eu"},defaultClass:"_1yep5z61es _1yep5z61et _1yep5z61eu"},sm:{conditions:{mobile:"_1yep5z61ev",tablet:"_1yep5z61ew",desktop:"_1yep5z61ex"},defaultClass:"_1yep5z61ev _1yep5z61ew _1yep5z61ex"},md:{conditions:{mobile:"_1yep5z61ey",tablet:"_1yep5z61ez",desktop:"_1yep5z61f0"},defaultClass:"_1yep5z61ey _1yep5z61ez _1yep5z61f0"},lg:{conditions:{mobile:"_1yep5z61f1",tablet:"_1yep5z61f2",desktop:"_1yep5z61f3"},defaultClass:"_1yep5z61f1 _1yep5z61f2 _1yep5z61f3"},xl:{conditions:{mobile:"_1yep5z61f4",tablet:"_1yep5z61f5",desktop:"_1yep5z61f6"},defaultClass:"_1yep5z61f4 _1yep5z61f5 _1yep5z61f6"},"2xl":{conditions:{mobile:"_1yep5z61f7",tablet:"_1yep5z61f8",desktop:"_1yep5z61f9"},defaultClass:"_1yep5z61f7 _1yep5z61f8 _1yep5z61f9"},"3xl":{conditions:{mobile:"_1yep5z61fa",tablet:"_1yep5z61fb",desktop:"_1yep5z61fc"},defaultClass:"_1yep5z61fa _1yep5z61fb _1yep5z61fc"},"4xl":{conditions:{mobile:"_1yep5z61fd",tablet:"_1yep5z61fe",desktop:"_1yep5z61ff"},defaultClass:"_1yep5z61fd _1yep5z61fe _1yep5z61ff"},"5xl":{conditions:{mobile:"_1yep5z61fg",tablet:"_1yep5z61fh",desktop:"_1yep5z61fi"},defaultClass:"_1yep5z61fg _1yep5z61fh _1yep5z61fi"},"6xl":{conditions:{mobile:"_1yep5z61fj",tablet:"_1yep5z61fk",desktop:"_1yep5z61fl"},defaultClass:"_1yep5z61fj _1yep5z61fk _1yep5z61fl"},"7xl":{conditions:{mobile:"_1yep5z61fm",tablet:"_1yep5z61fn",desktop:"_1yep5z61fo"},defaultClass:"_1yep5z61fm _1yep5z61fn _1yep5z61fo"},"8xl":{conditions:{mobile:"_1yep5z61fp",tablet:"_1yep5z61fq",desktop:"_1yep5z61fr"},defaultClass:"_1yep5z61fp _1yep5z61fq _1yep5z61fr"},"9xl":{conditions:{mobile:"_1yep5z61fs",tablet:"_1yep5z61ft",desktop:"_1yep5z61fu"},defaultClass:"_1yep5z61fs _1yep5z61ft _1yep5z61fu"},none:{conditions:{mobile:"_1yep5z61fv",tablet:"_1yep5z61fw",desktop:"_1yep5z61fx"},defaultClass:"_1yep5z61fv _1yep5z61fw _1yep5z61fx"}},responsiveArray:void 0},gap:{values:{xs:{conditions:{mobile:"_1yep5z61fy",tablet:"_1yep5z61fz",desktop:"_1yep5z61g0"},defaultClass:"_1yep5z61fy _1yep5z61fz _1yep5z61g0"},sm:{conditions:{mobile:"_1yep5z61g1",tablet:"_1yep5z61g2",desktop:"_1yep5z61g3"},defaultClass:"_1yep5z61g1 _1yep5z61g2 _1yep5z61g3"},md:{conditions:{mobile:"_1yep5z61g4",tablet:"_1yep5z61g5",desktop:"_1yep5z61g6"},defaultClass:"_1yep5z61g4 _1yep5z61g5 _1yep5z61g6"},lg:{conditions:{mobile:"_1yep5z61g7",tablet:"_1yep5z61g8",desktop:"_1yep5z61g9"},defaultClass:"_1yep5z61g7 _1yep5z61g8 _1yep5z61g9"},xl:{conditions:{mobile:"_1yep5z61ga",tablet:"_1yep5z61gb",desktop:"_1yep5z61gc"},defaultClass:"_1yep5z61ga _1yep5z61gb _1yep5z61gc"},"2xl":{conditions:{mobile:"_1yep5z61gd",tablet:"_1yep5z61ge",desktop:"_1yep5z61gf"},defaultClass:"_1yep5z61gd _1yep5z61ge _1yep5z61gf"},"3xl":{conditions:{mobile:"_1yep5z61gg",tablet:"_1yep5z61gh",desktop:"_1yep5z61gi"},defaultClass:"_1yep5z61gg _1yep5z61gh _1yep5z61gi"},"4xl":{conditions:{mobile:"_1yep5z61gj",tablet:"_1yep5z61gk",desktop:"_1yep5z61gl"},defaultClass:"_1yep5z61gj _1yep5z61gk _1yep5z61gl"},"5xl":{conditions:{mobile:"_1yep5z61gm",tablet:"_1yep5z61gn",desktop:"_1yep5z61go"},defaultClass:"_1yep5z61gm _1yep5z61gn _1yep5z61go"},"6xl":{conditions:{mobile:"_1yep5z61gp",tablet:"_1yep5z61gq",desktop:"_1yep5z61gr"},defaultClass:"_1yep5z61gp _1yep5z61gq _1yep5z61gr"},"7xl":{conditions:{mobile:"_1yep5z61gs",tablet:"_1yep5z61gt",desktop:"_1yep5z61gu"},defaultClass:"_1yep5z61gs _1yep5z61gt _1yep5z61gu"},"8xl":{conditions:{mobile:"_1yep5z61gv",tablet:"_1yep5z61gw",desktop:"_1yep5z61gx"},defaultClass:"_1yep5z61gv _1yep5z61gw _1yep5z61gx"},"9xl":{conditions:{mobile:"_1yep5z61gy",tablet:"_1yep5z61gz",desktop:"_1yep5z61h0"},defaultClass:"_1yep5z61gy _1yep5z61gz _1yep5z61h0"},none:{conditions:{mobile:"_1yep5z61h1",tablet:"_1yep5z61h2",desktop:"_1yep5z61h3"},defaultClass:"_1yep5z61h1 _1yep5z61h2 _1yep5z61h3"}},responsiveArray:void 0}}};return e.styles.paddingBlockStart.responsiveArray=e.conditions.responsiveArray,e.styles.paddingInlineEnd.responsiveArray=e.conditions.responsiveArray,e.styles.paddingBlockEnd.responsiveArray=e.conditions.responsiveArray,e.styles.paddingInlineStart.responsiveArray=e.conditions.responsiveArray,e.styles.marginBlockStart.responsiveArray=e.conditions.responsiveArray,e.styles.marginInlineEnd.responsiveArray=e.conditions.responsiveArray,e.styles.marginBlockEnd.responsiveArray=e.conditions.responsiveArray,e.styles.marginInlineStart.responsiveArray=e.conditions.responsiveArray,e.styles.gap.responsiveArray=e.conditions.responsiveArray,e}(),function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{borderRadius:{mappings:["borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius"]},borderTopRadius:{mappings:["borderStartStartRadius","borderStartEndRadius"]},borderBottomRadius:{mappings:["borderEndStartRadius","borderEndEndRadius"]},borderLeftRadius:{mappings:["borderStartStartRadius","borderEndStartRadius"]},borderRightRadius:{mappings:["borderStartEndRadius","borderEndEndRadius"]},borderStartStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z61h4",tablet:"_1yep5z61h5",desktop:"_1yep5z61h6"},defaultClass:"_1yep5z61h4 _1yep5z61h5 _1yep5z61h6"},sm:{conditions:{mobile:"_1yep5z61h7",tablet:"_1yep5z61h8",desktop:"_1yep5z61h9"},defaultClass:"_1yep5z61h7 _1yep5z61h8 _1yep5z61h9"},md:{conditions:{mobile:"_1yep5z61ha",tablet:"_1yep5z61hb",desktop:"_1yep5z61hc"},defaultClass:"_1yep5z61ha _1yep5z61hb _1yep5z61hc"},lg:{conditions:{mobile:"_1yep5z61hd",tablet:"_1yep5z61he",desktop:"_1yep5z61hf"},defaultClass:"_1yep5z61hd _1yep5z61he _1yep5z61hf"},xl:{conditions:{mobile:"_1yep5z61hg",tablet:"_1yep5z61hh",desktop:"_1yep5z61hi"},defaultClass:"_1yep5z61hg _1yep5z61hh _1yep5z61hi"},"2xl":{conditions:{mobile:"_1yep5z61hj",tablet:"_1yep5z61hk",desktop:"_1yep5z61hl"},defaultClass:"_1yep5z61hj _1yep5z61hk _1yep5z61hl"},full:{conditions:{mobile:"_1yep5z61hm",tablet:"_1yep5z61hn",desktop:"_1yep5z61ho"},defaultClass:"_1yep5z61hm _1yep5z61hn _1yep5z61ho"},none:{conditions:{mobile:"_1yep5z61hp",tablet:"_1yep5z61hq",desktop:"_1yep5z61hr"},defaultClass:"_1yep5z61hp _1yep5z61hq _1yep5z61hr"}},responsiveArray:void 0},borderStartEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z61hs",tablet:"_1yep5z61ht",desktop:"_1yep5z61hu"},defaultClass:"_1yep5z61hs _1yep5z61ht _1yep5z61hu"},sm:{conditions:{mobile:"_1yep5z61hv",tablet:"_1yep5z61hw",desktop:"_1yep5z61hx"},defaultClass:"_1yep5z61hv _1yep5z61hw _1yep5z61hx"},md:{conditions:{mobile:"_1yep5z61hy",tablet:"_1yep5z61hz",desktop:"_1yep5z61i0"},defaultClass:"_1yep5z61hy _1yep5z61hz _1yep5z61i0"},lg:{conditions:{mobile:"_1yep5z61i1",tablet:"_1yep5z61i2",desktop:"_1yep5z61i3"},defaultClass:"_1yep5z61i1 _1yep5z61i2 _1yep5z61i3"},xl:{conditions:{mobile:"_1yep5z61i4",tablet:"_1yep5z61i5",desktop:"_1yep5z61i6"},defaultClass:"_1yep5z61i4 _1yep5z61i5 _1yep5z61i6"},"2xl":{conditions:{mobile:"_1yep5z61i7",tablet:"_1yep5z61i8",desktop:"_1yep5z61i9"},defaultClass:"_1yep5z61i7 _1yep5z61i8 _1yep5z61i9"},full:{conditions:{mobile:"_1yep5z61ia",tablet:"_1yep5z61ib",desktop:"_1yep5z61ic"},defaultClass:"_1yep5z61ia _1yep5z61ib _1yep5z61ic"},none:{conditions:{mobile:"_1yep5z61id",tablet:"_1yep5z61ie",desktop:"_1yep5z61if"},defaultClass:"_1yep5z61id _1yep5z61ie _1yep5z61if"}},responsiveArray:void 0},borderEndStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z61ig",tablet:"_1yep5z61ih",desktop:"_1yep5z61ii"},defaultClass:"_1yep5z61ig _1yep5z61ih _1yep5z61ii"},sm:{conditions:{mobile:"_1yep5z61ij",tablet:"_1yep5z61ik",desktop:"_1yep5z61il"},defaultClass:"_1yep5z61ij _1yep5z61ik _1yep5z61il"},md:{conditions:{mobile:"_1yep5z61im",tablet:"_1yep5z61in",desktop:"_1yep5z61io"},defaultClass:"_1yep5z61im _1yep5z61in _1yep5z61io"},lg:{conditions:{mobile:"_1yep5z61ip",tablet:"_1yep5z61iq",desktop:"_1yep5z61ir"},defaultClass:"_1yep5z61ip _1yep5z61iq _1yep5z61ir"},xl:{conditions:{mobile:"_1yep5z61is",tablet:"_1yep5z61it",desktop:"_1yep5z61iu"},defaultClass:"_1yep5z61is _1yep5z61it _1yep5z61iu"},"2xl":{conditions:{mobile:"_1yep5z61iv",tablet:"_1yep5z61iw",desktop:"_1yep5z61ix"},defaultClass:"_1yep5z61iv _1yep5z61iw _1yep5z61ix"},full:{conditions:{mobile:"_1yep5z61iy",tablet:"_1yep5z61iz",desktop:"_1yep5z61j0"},defaultClass:"_1yep5z61iy _1yep5z61iz _1yep5z61j0"},none:{conditions:{mobile:"_1yep5z61j1",tablet:"_1yep5z61j2",desktop:"_1yep5z61j3"},defaultClass:"_1yep5z61j1 _1yep5z61j2 _1yep5z61j3"}},responsiveArray:void 0},borderEndEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z61j4",tablet:"_1yep5z61j5",desktop:"_1yep5z61j6"},defaultClass:"_1yep5z61j4 _1yep5z61j5 _1yep5z61j6"},sm:{conditions:{mobile:"_1yep5z61j7",tablet:"_1yep5z61j8",desktop:"_1yep5z61j9"},defaultClass:"_1yep5z61j7 _1yep5z61j8 _1yep5z61j9"},md:{conditions:{mobile:"_1yep5z61ja",tablet:"_1yep5z61jb",desktop:"_1yep5z61jc"},defaultClass:"_1yep5z61ja _1yep5z61jb _1yep5z61jc"},lg:{conditions:{mobile:"_1yep5z61jd",tablet:"_1yep5z61je",desktop:"_1yep5z61jf"},defaultClass:"_1yep5z61jd _1yep5z61je _1yep5z61jf"},xl:{conditions:{mobile:"_1yep5z61jg",tablet:"_1yep5z61jh",desktop:"_1yep5z61ji"},defaultClass:"_1yep5z61jg _1yep5z61jh _1yep5z61ji"},"2xl":{conditions:{mobile:"_1yep5z61jj",tablet:"_1yep5z61jk",desktop:"_1yep5z61jl"},defaultClass:"_1yep5z61jj _1yep5z61jk _1yep5z61jl"},full:{conditions:{mobile:"_1yep5z61jm",tablet:"_1yep5z61jn",desktop:"_1yep5z61jo"},defaultClass:"_1yep5z61jm _1yep5z61jn _1yep5z61jo"},none:{conditions:{mobile:"_1yep5z61jp",tablet:"_1yep5z61jq",desktop:"_1yep5z61jr"},defaultClass:"_1yep5z61jp _1yep5z61jq _1yep5z61jr"}},responsiveArray:void 0}}};return e.styles.borderStartStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderStartEndRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndEndRadius.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{boxShadow:{values:{low:{defaultClass:"_1yep5z61js"},medium:{defaultClass:"_1yep5z61jt"}}}}},{conditions:void 0,styles:{opacity:{values:{none:{defaultClass:"_1yep5z61ju"},low:{defaultClass:"_1yep5z61jv"},medium:{defaultClass:"_1yep5z61jw"},high:{defaultClass:"_1yep5z61jx"}}}}},{conditions:void 0,styles:{typography:{values:{"heading.h6.regular":{defaultClass:"_1yep5z61jy"},"heading.h6.medium":{defaultClass:"_1yep5z61jz"},"heading.h6.semibold":{defaultClass:"_1yep5z61k0"},"heading.h5.regular":{defaultClass:"_1yep5z61k1"},"heading.h5.medium":{defaultClass:"_1yep5z61k2"},"heading.h5.semibold":{defaultClass:"_1yep5z61k3"},"heading.h4.regular":{defaultClass:"_1yep5z61k4"},"heading.h4.medium":{defaultClass:"_1yep5z61k5"},"heading.h4.semibold":{defaultClass:"_1yep5z61k6"},"heading.h3.regular":{defaultClass:"_1yep5z61k7"},"heading.h3.medium":{defaultClass:"_1yep5z61k8"},"heading.h3.semibold":{defaultClass:"_1yep5z61k9"},"heading.h2.regular":{defaultClass:"_1yep5z61ka"},"heading.h2.medium":{defaultClass:"_1yep5z61kb"},"heading.h2.semibold":{defaultClass:"_1yep5z61kc"},"heading.h1.regular":{defaultClass:"_1yep5z61kd"},"heading.h1.medium":{defaultClass:"_1yep5z61ke"},"heading.h1.semibold":{defaultClass:"_1yep5z61kf"},"label.sm.regular":{defaultClass:"_1yep5z61kg"},"label.sm.medium":{defaultClass:"_1yep5z61kh"},"label.sm.semibold":{defaultClass:"_1yep5z61ki"},"label.md.regular":{defaultClass:"_1yep5z61kj"},"label.md.medium":{defaultClass:"_1yep5z61kk"},"label.md.semibold":{defaultClass:"_1yep5z61kl"},"label.lg.regular":{defaultClass:"_1yep5z61km"},"label.lg.medium":{defaultClass:"_1yep5z61kn"},"label.lg.semibold":{defaultClass:"_1yep5z61ko"},"body.sm.regular":{defaultClass:"_1yep5z61kp"},"body.sm.medium":{defaultClass:"_1yep5z61kq"},"body.sm.semibold":{defaultClass:"_1yep5z61kr"},"body.md.regular":{defaultClass:"_1yep5z61ks"},"body.md.medium":{defaultClass:"_1yep5z61kt"},"body.md.semibold":{defaultClass:"_1yep5z61ku"},"body.lg.regular":{defaultClass:"_1yep5z61kv"},"body.lg.medium":{defaultClass:"_1yep5z61kw"},"body.lg.semibold":{defaultClass:"_1yep5z61kx"}}}}},{conditions:void 0,styles:{color:{values:{"support.error.subtler":{defaultClass:"_1yep5z61ky"},"support.error.subtle":{defaultClass:"_1yep5z61kz"},"support.error.medium":{defaultClass:"_1yep5z61l0"},"support.error.strong":{defaultClass:"_1yep5z61l1"},"support.success.subtler":{defaultClass:"_1yep5z61l2"},"support.success.subtle":{defaultClass:"_1yep5z61l3"},"support.success.medium":{defaultClass:"_1yep5z61l4"},"support.success.strong":{defaultClass:"_1yep5z61l5"},"support.warning.subtler":{defaultClass:"_1yep5z61l6"},"support.warning.subtle":{defaultClass:"_1yep5z61l7"},"support.warning.medium":{defaultClass:"_1yep5z61l8"},"support.warning.strong":{defaultClass:"_1yep5z61l9"},"support.info.subtler":{defaultClass:"_1yep5z61la"},"support.info.subtle":{defaultClass:"_1yep5z61lb"},"support.info.medium":{defaultClass:"_1yep5z61lc"},"support.info.strong":{defaultClass:"_1yep5z61ld"},"focused.primary":{defaultClass:"_1yep5z61le"},"focused.inset":{defaultClass:"_1yep5z61lf"},"text.primary":{defaultClass:"_1yep5z61lg"},"text.secondary":{defaultClass:"_1yep5z61lh"},"text.helper":{defaultClass:"_1yep5z61li"},"text.placeholder":{defaultClass:"_1yep5z61lj"},"text.disabled":{defaultClass:"_1yep5z61lk"},"text.inverse":{defaultClass:"_1yep5z61ll"},"icon.primary":{defaultClass:"_1yep5z61lm"},"icon.secondary":{defaultClass:"_1yep5z61ln"},"icon.disabled":{defaultClass:"_1yep5z61lo"},"icon.inverse":{defaultClass:"_1yep5z61lp"},"icon.interactive":{defaultClass:"_1yep5z61lq"},"interactive.primary":{defaultClass:"_1yep5z61lr"},"interactive.hovered":{defaultClass:"_1yep5z61ls"},"interactive.active":{defaultClass:"_1yep5z61lt"},"interactive.visited":{defaultClass:"_1yep5z61lu"},"interactive.disabled":{defaultClass:"_1yep5z61lv"}}},backgroundColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z61lw"},"support.error.subtle":{defaultClass:"_1yep5z61lx"},"support.error.medium":{defaultClass:"_1yep5z61ly"},"support.error.strong":{defaultClass:"_1yep5z61lz"},"support.success.subtler":{defaultClass:"_1yep5z61m0"},"support.success.subtle":{defaultClass:"_1yep5z61m1"},"support.success.medium":{defaultClass:"_1yep5z61m2"},"support.success.strong":{defaultClass:"_1yep5z61m3"},"support.warning.subtler":{defaultClass:"_1yep5z61m4"},"support.warning.subtle":{defaultClass:"_1yep5z61m5"},"support.warning.medium":{defaultClass:"_1yep5z61m6"},"support.warning.strong":{defaultClass:"_1yep5z61m7"},"support.info.subtler":{defaultClass:"_1yep5z61m8"},"support.info.subtle":{defaultClass:"_1yep5z61m9"},"support.info.medium":{defaultClass:"_1yep5z61ma"},"support.info.strong":{defaultClass:"_1yep5z61mb"},"focused.primary":{defaultClass:"_1yep5z61mc"},"focused.inset":{defaultClass:"_1yep5z61md"},"background.primary.subtle":{defaultClass:"_1yep5z61me"},"background.primary.medium":{defaultClass:"_1yep5z61mf"},"background.primary.strong":{defaultClass:"_1yep5z61mg"},"background.secondary.subtle":{defaultClass:"_1yep5z61mh"},"background.secondary.medium":{defaultClass:"_1yep5z61mi"},"background.secondary.strong":{defaultClass:"_1yep5z61mj"},"background.inverse.subtle":{defaultClass:"_1yep5z61mk"},"background.inverse.medium":{defaultClass:"_1yep5z61ml"},"background.inverse.strong":{defaultClass:"_1yep5z61mm"},"background.overlay.subtle":{defaultClass:"_1yep5z61mn"},"background.overlay.medium":{defaultClass:"_1yep5z61mo"},"positive.subtle":{defaultClass:"_1yep5z61mp"},"positive.medium":{defaultClass:"_1yep5z61mq"},"positive.strong":{defaultClass:"_1yep5z61mr"},"positive.interactive":{defaultClass:"_1yep5z61ms"}}},borderColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z61mt"},"support.error.subtle":{defaultClass:"_1yep5z61mu"},"support.error.medium":{defaultClass:"_1yep5z61mv"},"support.error.strong":{defaultClass:"_1yep5z61mw"},"support.success.subtler":{defaultClass:"_1yep5z61mx"},"support.success.subtle":{defaultClass:"_1yep5z61my"},"support.success.medium":{defaultClass:"_1yep5z61mz"},"support.success.strong":{defaultClass:"_1yep5z61n0"},"support.warning.subtler":{defaultClass:"_1yep5z61n1"},"support.warning.subtle":{defaultClass:"_1yep5z61n2"},"support.warning.medium":{defaultClass:"_1yep5z61n3"},"support.warning.strong":{defaultClass:"_1yep5z61n4"},"support.info.subtler":{defaultClass:"_1yep5z61n5"},"support.info.subtle":{defaultClass:"_1yep5z61n6"},"support.info.medium":{defaultClass:"_1yep5z61n7"},"support.info.strong":{defaultClass:"_1yep5z61n8"},"focused.primary":{defaultClass:"_1yep5z61n9"},"focused.inset":{defaultClass:"_1yep5z61na"},"border.subtle":{defaultClass:"_1yep5z61nb"},"border.medium":{defaultClass:"_1yep5z61nc"},"border.strong":{defaultClass:"_1yep5z61nd"},"border.inverse":{defaultClass:"_1yep5z61ne"},"border.interactive":{defaultClass:"_1yep5z61nf"},"border.disabled":{defaultClass:"_1yep5z61ng"},transparent:{defaultClass:"_1yep5z61nh"}}},outlineColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z61ni"},"support.error.subtle":{defaultClass:"_1yep5z61nj"},"support.error.medium":{defaultClass:"_1yep5z61nk"},"support.error.strong":{defaultClass:"_1yep5z61nl"},"support.success.subtler":{defaultClass:"_1yep5z61nm"},"support.success.subtle":{defaultClass:"_1yep5z61nn"},"support.success.medium":{defaultClass:"_1yep5z61no"},"support.success.strong":{defaultClass:"_1yep5z61np"},"support.warning.subtler":{defaultClass:"_1yep5z61nq"},"support.warning.subtle":{defaultClass:"_1yep5z61nr"},"support.warning.medium":{defaultClass:"_1yep5z61ns"},"support.warning.strong":{defaultClass:"_1yep5z61nt"},"support.info.subtler":{defaultClass:"_1yep5z61nu"},"support.info.subtle":{defaultClass:"_1yep5z61nv"},"support.info.medium":{defaultClass:"_1yep5z61nw"},"support.info.strong":{defaultClass:"_1yep5z61nx"},"focused.primary":{defaultClass:"_1yep5z61ny"},"focused.inset":{defaultClass:"_1yep5z61nz"},"border.subtle":{defaultClass:"_1yep5z61o0"},"border.medium":{defaultClass:"_1yep5z61o1"},"border.strong":{defaultClass:"_1yep5z61o2"},"border.inverse":{defaultClass:"_1yep5z61o3"},"border.interactive":{defaultClass:"_1yep5z61o4"},"border.disabled":{defaultClass:"_1yep5z61o5"},transparent:{defaultClass:"_1yep5z61o6"}}}}},function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{position:{values:{relative:{conditions:{mobile:"_1yep5z61o7",tablet:"_1yep5z61o8",desktop:"_1yep5z61o9"},defaultClass:"_1yep5z61o7 _1yep5z61o8 _1yep5z61o9"},absolute:{conditions:{mobile:"_1yep5z61oa",tablet:"_1yep5z61ob",desktop:"_1yep5z61oc"},defaultClass:"_1yep5z61oa _1yep5z61ob _1yep5z61oc"},fixed:{conditions:{mobile:"_1yep5z61od",tablet:"_1yep5z61oe",desktop:"_1yep5z61of"},defaultClass:"_1yep5z61od _1yep5z61oe _1yep5z61of"}},responsiveArray:void 0},display:{values:{none:{conditions:{mobile:"_1yep5z61og",tablet:"_1yep5z61oh",desktop:"_1yep5z61oi"},defaultClass:"_1yep5z61og _1yep5z61oh _1yep5z61oi"},block:{conditions:{mobile:"_1yep5z61oj",tablet:"_1yep5z61ok",desktop:"_1yep5z61ol"},defaultClass:"_1yep5z61oj _1yep5z61ok _1yep5z61ol"},flex:{conditions:{mobile:"_1yep5z61om",tablet:"_1yep5z61on",desktop:"_1yep5z61oo"},defaultClass:"_1yep5z61om _1yep5z61on _1yep5z61oo"},"inline-flex":{conditions:{mobile:"_1yep5z61op",tablet:"_1yep5z61oq",desktop:"_1yep5z61or"},defaultClass:"_1yep5z61op _1yep5z61oq _1yep5z61or"},grid:{conditions:{mobile:"_1yep5z61os",tablet:"_1yep5z61ot",desktop:"_1yep5z61ou"},defaultClass:"_1yep5z61os _1yep5z61ot _1yep5z61ou"}},responsiveArray:void 0},flexDirection:{values:{row:{conditions:{mobile:"_1yep5z61ov",tablet:"_1yep5z61ow",desktop:"_1yep5z61ox"},defaultClass:"_1yep5z61ov _1yep5z61ow _1yep5z61ox"},column:{conditions:{mobile:"_1yep5z61oy",tablet:"_1yep5z61oz",desktop:"_1yep5z61p0"},defaultClass:"_1yep5z61oy _1yep5z61oz _1yep5z61p0"},"row-reverse":{conditions:{mobile:"_1yep5z61p1",tablet:"_1yep5z61p2",desktop:"_1yep5z61p3"},defaultClass:"_1yep5z61p1 _1yep5z61p2 _1yep5z61p3"},"column-reverse":{conditions:{mobile:"_1yep5z61p4",tablet:"_1yep5z61p5",desktop:"_1yep5z61p6"},defaultClass:"_1yep5z61p4 _1yep5z61p5 _1yep5z61p6"}},responsiveArray:void 0},alignItems:{values:{stretch:{conditions:{mobile:"_1yep5z61p7",tablet:"_1yep5z61p8",desktop:"_1yep5z61p9"},defaultClass:"_1yep5z61p7 _1yep5z61p8 _1yep5z61p9"},"flex-start":{conditions:{mobile:"_1yep5z61pa",tablet:"_1yep5z61pb",desktop:"_1yep5z61pc"},defaultClass:"_1yep5z61pa _1yep5z61pb _1yep5z61pc"},center:{conditions:{mobile:"_1yep5z61pd",tablet:"_1yep5z61pe",desktop:"_1yep5z61pf"},defaultClass:"_1yep5z61pd _1yep5z61pe _1yep5z61pf"},"flex-end":{conditions:{mobile:"_1yep5z61pg",tablet:"_1yep5z61ph",desktop:"_1yep5z61pi"},defaultClass:"_1yep5z61pg _1yep5z61ph _1yep5z61pi"}},responsiveArray:void 0},alignSelf:{values:{stretch:{conditions:{mobile:"_1yep5z61pj",tablet:"_1yep5z61pk",desktop:"_1yep5z61pl"},defaultClass:"_1yep5z61pj _1yep5z61pk _1yep5z61pl"},"flex-start":{conditions:{mobile:"_1yep5z61pm",tablet:"_1yep5z61pn",desktop:"_1yep5z61po"},defaultClass:"_1yep5z61pm _1yep5z61pn _1yep5z61po"},center:{conditions:{mobile:"_1yep5z61pp",tablet:"_1yep5z61pq",desktop:"_1yep5z61pr"},defaultClass:"_1yep5z61pp _1yep5z61pq _1yep5z61pr"},"flex-end":{conditions:{mobile:"_1yep5z61ps",tablet:"_1yep5z61pt",desktop:"_1yep5z61pu"},defaultClass:"_1yep5z61ps _1yep5z61pt _1yep5z61pu"}},responsiveArray:void 0},flex:{values:{0:{conditions:{mobile:"_1yep5z61pv",tablet:"_1yep5z61pw",desktop:"_1yep5z61px"},defaultClass:"_1yep5z61pv _1yep5z61pw _1yep5z61px"},1:{conditions:{mobile:"_1yep5z61py",tablet:"_1yep5z61pz",desktop:"_1yep5z61q0"},defaultClass:"_1yep5z61py _1yep5z61pz _1yep5z61q0"}},responsiveArray:void 0},justifyContent:{values:{stretch:{conditions:{mobile:"_1yep5z61q1",tablet:"_1yep5z61q2",desktop:"_1yep5z61q3"},defaultClass:"_1yep5z61q1 _1yep5z61q2 _1yep5z61q3"},"flex-start":{conditions:{mobile:"_1yep5z61q4",tablet:"_1yep5z61q5",desktop:"_1yep5z61q6"},defaultClass:"_1yep5z61q4 _1yep5z61q5 _1yep5z61q6"},center:{conditions:{mobile:"_1yep5z61q7",tablet:"_1yep5z61q8",desktop:"_1yep5z61q9"},defaultClass:"_1yep5z61q7 _1yep5z61q8 _1yep5z61q9"},"flex-end":{conditions:{mobile:"_1yep5z61qa",tablet:"_1yep5z61qb",desktop:"_1yep5z61qc"},defaultClass:"_1yep5z61qa _1yep5z61qb _1yep5z61qc"},"space-between":{conditions:{mobile:"_1yep5z61qd",tablet:"_1yep5z61qe",desktop:"_1yep5z61qf"},defaultClass:"_1yep5z61qd _1yep5z61qe _1yep5z61qf"}},responsiveArray:void 0},justifySelf:{values:{stretch:{conditions:{mobile:"_1yep5z61qg",tablet:"_1yep5z61qh",desktop:"_1yep5z61qi"},defaultClass:"_1yep5z61qg _1yep5z61qh _1yep5z61qi"},"flex-start":{conditions:{mobile:"_1yep5z61qj",tablet:"_1yep5z61qk",desktop:"_1yep5z61ql"},defaultClass:"_1yep5z61qj _1yep5z61qk _1yep5z61ql"},center:{conditions:{mobile:"_1yep5z61qm",tablet:"_1yep5z61qn",desktop:"_1yep5z61qo"},defaultClass:"_1yep5z61qm _1yep5z61qn _1yep5z61qo"},"flex-end":{conditions:{mobile:"_1yep5z61qp",tablet:"_1yep5z61qq",desktop:"_1yep5z61qr"},defaultClass:"_1yep5z61qp _1yep5z61qq _1yep5z61qr"}},responsiveArray:void 0},placeItems:{values:{stretch:{conditions:{mobile:"_1yep5z61qs",tablet:"_1yep5z61qt",desktop:"_1yep5z61qu"},defaultClass:"_1yep5z61qs _1yep5z61qt _1yep5z61qu"},"flex-start":{conditions:{mobile:"_1yep5z61qv",tablet:"_1yep5z61qw",desktop:"_1yep5z61qx"},defaultClass:"_1yep5z61qv _1yep5z61qw _1yep5z61qx"},center:{conditions:{mobile:"_1yep5z61qy",tablet:"_1yep5z61qz",desktop:"_1yep5z61r0"},defaultClass:"_1yep5z61qy _1yep5z61qz _1yep5z61r0"},"flex-end":{conditions:{mobile:"_1yep5z61r1",tablet:"_1yep5z61r2",desktop:"_1yep5z61r3"},defaultClass:"_1yep5z61r1 _1yep5z61r2 _1yep5z61r3"}},responsiveArray:void 0}}};return e.styles.position.responsiveArray=e.conditions.responsiveArray,e.styles.display.responsiveArray=e.conditions.responsiveArray,e.styles.flexDirection.responsiveArray=e.conditions.responsiveArray,e.styles.alignItems.responsiveArray=e.conditions.responsiveArray,e.styles.alignSelf.responsiveArray=e.conditions.responsiveArray,e.styles.flex.responsiveArray=e.conditions.responsiveArray,e.styles.justifyContent.responsiveArray=e.conditions.responsiveArray,e.styles.justifySelf.responsiveArray=e.conditions.responsiveArray,e.styles.placeItems.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{transition:{values:{"transition.medium":{defaultClass:"_1yep5z61r4"}}},transitionProperty:{values:{transform:{defaultClass:"_1yep5z61r5"},opacity:{defaultClass:"_1yep5z61r6"},"background-color":{defaultClass:"_1yep5z61r7"}}}}},{conditions:void 0,styles:{inset:{mappings:["insetBlockStart","insetBlockEnd","insetInlineEnd","insetInlineStart"]},flexWrap:{values:{wrap:{defaultClass:"_1yep5z61r8"},nowrap:{defaultClass:"_1yep5z61r9"}}},insetBlockStart:{values:{0:{defaultClass:"_1yep5z61ra"}}},insetBlockEnd:{values:{0:{defaultClass:"_1yep5z61rb"}}},insetInlineStart:{values:{0:{defaultClass:"_1yep5z61rc"}}},insetInlineEnd:{values:{0:{defaultClass:"_1yep5z61rd"}}},flexShrink:{values:{0:{defaultClass:"_1yep5z61re"}}},flexGrow:{values:{0:{defaultClass:"_1yep5z61rf"},1:{defaultClass:"_1yep5z61rg"}}},width:{values:{full:{defaultClass:"_1yep5z61rh"}}},height:{values:{full:{defaultClass:"_1yep5z61ri"}}},cursor:{values:{pointer:{defaultClass:"_1yep5z61rj"}}}}},{conditions:void 0,styles:{outline:{values:{none:{defaultClass:"_1yep5z61rk"}}},outlineStyle:{values:{solid:{defaultClass:"_1yep5z61rl"}}},outlineWidth:{values:{1:{defaultClass:"_1yep5z61rm"},2:{defaultClass:"_1yep5z61rn"}}},outlineOffset:{values:{1:{defaultClass:"_1yep5z61rq"},2:{defaultClass:"_1yep5z61rr"},"-2":{defaultClass:"_1yep5z61ro"},"-1":{defaultClass:"_1yep5z61rp"}}},border:{values:{none:{defaultClass:"_1yep5z61rs"}}},borderStyle:{values:{solid:{defaultClass:"_1yep5z61rt"},dashed:{defaultClass:"_1yep5z61ru"}}},borderWidth:{values:{1:{defaultClass:"_1yep5z61rv"},2:{defaultClass:"_1yep5z61rw"}}}}}),f=d(function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{paddingLeft:{mappings:["paddingInlineStart"]},paddingRight:{mappings:["paddingInlineEnd"]},paddingTop:{mappings:["paddingBlockStart"]},paddingBottom:{mappings:["paddingBlockEnd"]},padding:{mappings:["paddingBlockStart","paddingBlockEnd","paddingInlineStart","paddingInlineEnd"]},paddingX:{mappings:["paddingInlineStart","paddingInlineEnd"]},paddingY:{mappings:["paddingBlockStart","paddingBlockEnd"]},marginLeft:{mappings:["marginInlineStart"]},marginRight:{mappings:["marginInlineEnd"]},marginTop:{mappings:["marginBlockStart"]},marginBottom:{mappings:["marginBlockEnd"]},margin:{mappings:["marginBlockStart","marginBlockEnd","marginInlineStart","marginInlineEnd"]},marginX:{mappings:["marginInlineStart","marginInlineEnd"]},marginY:{mappings:["marginBlockStart","marginBlockEnd"]},paddingBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z6lb",tablet:"_1yep5z6lc",desktop:"_1yep5z6ld"},defaultClass:"_1yep5z6lb _1yep5z6lc _1yep5z6ld"},sm:{conditions:{mobile:"_1yep5z6le",tablet:"_1yep5z6lf",desktop:"_1yep5z6lg"},defaultClass:"_1yep5z6le _1yep5z6lf _1yep5z6lg"},md:{conditions:{mobile:"_1yep5z6lh",tablet:"_1yep5z6li",desktop:"_1yep5z6lj"},defaultClass:"_1yep5z6lh _1yep5z6li _1yep5z6lj"},lg:{conditions:{mobile:"_1yep5z6lk",tablet:"_1yep5z6ll",desktop:"_1yep5z6lm"},defaultClass:"_1yep5z6lk _1yep5z6ll _1yep5z6lm"},xl:{conditions:{mobile:"_1yep5z6ln",tablet:"_1yep5z6lo",desktop:"_1yep5z6lp"},defaultClass:"_1yep5z6ln _1yep5z6lo _1yep5z6lp"},"2xl":{conditions:{mobile:"_1yep5z6lq",tablet:"_1yep5z6lr",desktop:"_1yep5z6ls"},defaultClass:"_1yep5z6lq _1yep5z6lr _1yep5z6ls"},"3xl":{conditions:{mobile:"_1yep5z6lt",tablet:"_1yep5z6lu",desktop:"_1yep5z6lv"},defaultClass:"_1yep5z6lt _1yep5z6lu _1yep5z6lv"},"4xl":{conditions:{mobile:"_1yep5z6lw",tablet:"_1yep5z6lx",desktop:"_1yep5z6ly"},defaultClass:"_1yep5z6lw _1yep5z6lx _1yep5z6ly"},"5xl":{conditions:{mobile:"_1yep5z6lz",tablet:"_1yep5z6m0",desktop:"_1yep5z6m1"},defaultClass:"_1yep5z6lz _1yep5z6m0 _1yep5z6m1"},"6xl":{conditions:{mobile:"_1yep5z6m2",tablet:"_1yep5z6m3",desktop:"_1yep5z6m4"},defaultClass:"_1yep5z6m2 _1yep5z6m3 _1yep5z6m4"},"7xl":{conditions:{mobile:"_1yep5z6m5",tablet:"_1yep5z6m6",desktop:"_1yep5z6m7"},defaultClass:"_1yep5z6m5 _1yep5z6m6 _1yep5z6m7"},"8xl":{conditions:{mobile:"_1yep5z6m8",tablet:"_1yep5z6m9",desktop:"_1yep5z6ma"},defaultClass:"_1yep5z6m8 _1yep5z6m9 _1yep5z6ma"},"9xl":{conditions:{mobile:"_1yep5z6mb",tablet:"_1yep5z6mc",desktop:"_1yep5z6md"},defaultClass:"_1yep5z6mb _1yep5z6mc _1yep5z6md"},none:{conditions:{mobile:"_1yep5z6me",tablet:"_1yep5z6mf",desktop:"_1yep5z6mg"},defaultClass:"_1yep5z6me _1yep5z6mf _1yep5z6mg"}},responsiveArray:void 0},paddingInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z6mh",tablet:"_1yep5z6mi",desktop:"_1yep5z6mj"},defaultClass:"_1yep5z6mh _1yep5z6mi _1yep5z6mj"},sm:{conditions:{mobile:"_1yep5z6mk",tablet:"_1yep5z6ml",desktop:"_1yep5z6mm"},defaultClass:"_1yep5z6mk _1yep5z6ml _1yep5z6mm"},md:{conditions:{mobile:"_1yep5z6mn",tablet:"_1yep5z6mo",desktop:"_1yep5z6mp"},defaultClass:"_1yep5z6mn _1yep5z6mo _1yep5z6mp"},lg:{conditions:{mobile:"_1yep5z6mq",tablet:"_1yep5z6mr",desktop:"_1yep5z6ms"},defaultClass:"_1yep5z6mq _1yep5z6mr _1yep5z6ms"},xl:{conditions:{mobile:"_1yep5z6mt",tablet:"_1yep5z6mu",desktop:"_1yep5z6mv"},defaultClass:"_1yep5z6mt _1yep5z6mu _1yep5z6mv"},"2xl":{conditions:{mobile:"_1yep5z6mw",tablet:"_1yep5z6mx",desktop:"_1yep5z6my"},defaultClass:"_1yep5z6mw _1yep5z6mx _1yep5z6my"},"3xl":{conditions:{mobile:"_1yep5z6mz",tablet:"_1yep5z6n0",desktop:"_1yep5z6n1"},defaultClass:"_1yep5z6mz _1yep5z6n0 _1yep5z6n1"},"4xl":{conditions:{mobile:"_1yep5z6n2",tablet:"_1yep5z6n3",desktop:"_1yep5z6n4"},defaultClass:"_1yep5z6n2 _1yep5z6n3 _1yep5z6n4"},"5xl":{conditions:{mobile:"_1yep5z6n5",tablet:"_1yep5z6n6",desktop:"_1yep5z6n7"},defaultClass:"_1yep5z6n5 _1yep5z6n6 _1yep5z6n7"},"6xl":{conditions:{mobile:"_1yep5z6n8",tablet:"_1yep5z6n9",desktop:"_1yep5z6na"},defaultClass:"_1yep5z6n8 _1yep5z6n9 _1yep5z6na"},"7xl":{conditions:{mobile:"_1yep5z6nb",tablet:"_1yep5z6nc",desktop:"_1yep5z6nd"},defaultClass:"_1yep5z6nb _1yep5z6nc _1yep5z6nd"},"8xl":{conditions:{mobile:"_1yep5z6ne",tablet:"_1yep5z6nf",desktop:"_1yep5z6ng"},defaultClass:"_1yep5z6ne _1yep5z6nf _1yep5z6ng"},"9xl":{conditions:{mobile:"_1yep5z6nh",tablet:"_1yep5z6ni",desktop:"_1yep5z6nj"},defaultClass:"_1yep5z6nh _1yep5z6ni _1yep5z6nj"},none:{conditions:{mobile:"_1yep5z6nk",tablet:"_1yep5z6nl",desktop:"_1yep5z6nm"},defaultClass:"_1yep5z6nk _1yep5z6nl _1yep5z6nm"}},responsiveArray:void 0},paddingBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z6nn",tablet:"_1yep5z6no",desktop:"_1yep5z6np"},defaultClass:"_1yep5z6nn _1yep5z6no _1yep5z6np"},sm:{conditions:{mobile:"_1yep5z6nq",tablet:"_1yep5z6nr",desktop:"_1yep5z6ns"},defaultClass:"_1yep5z6nq _1yep5z6nr _1yep5z6ns"},md:{conditions:{mobile:"_1yep5z6nt",tablet:"_1yep5z6nu",desktop:"_1yep5z6nv"},defaultClass:"_1yep5z6nt _1yep5z6nu _1yep5z6nv"},lg:{conditions:{mobile:"_1yep5z6nw",tablet:"_1yep5z6nx",desktop:"_1yep5z6ny"},defaultClass:"_1yep5z6nw _1yep5z6nx _1yep5z6ny"},xl:{conditions:{mobile:"_1yep5z6nz",tablet:"_1yep5z6o0",desktop:"_1yep5z6o1"},defaultClass:"_1yep5z6nz _1yep5z6o0 _1yep5z6o1"},"2xl":{conditions:{mobile:"_1yep5z6o2",tablet:"_1yep5z6o3",desktop:"_1yep5z6o4"},defaultClass:"_1yep5z6o2 _1yep5z6o3 _1yep5z6o4"},"3xl":{conditions:{mobile:"_1yep5z6o5",tablet:"_1yep5z6o6",desktop:"_1yep5z6o7"},defaultClass:"_1yep5z6o5 _1yep5z6o6 _1yep5z6o7"},"4xl":{conditions:{mobile:"_1yep5z6o8",tablet:"_1yep5z6o9",desktop:"_1yep5z6oa"},defaultClass:"_1yep5z6o8 _1yep5z6o9 _1yep5z6oa"},"5xl":{conditions:{mobile:"_1yep5z6ob",tablet:"_1yep5z6oc",desktop:"_1yep5z6od"},defaultClass:"_1yep5z6ob _1yep5z6oc _1yep5z6od"},"6xl":{conditions:{mobile:"_1yep5z6oe",tablet:"_1yep5z6of",desktop:"_1yep5z6og"},defaultClass:"_1yep5z6oe _1yep5z6of _1yep5z6og"},"7xl":{conditions:{mobile:"_1yep5z6oh",tablet:"_1yep5z6oi",desktop:"_1yep5z6oj"},defaultClass:"_1yep5z6oh _1yep5z6oi _1yep5z6oj"},"8xl":{conditions:{mobile:"_1yep5z6ok",tablet:"_1yep5z6ol",desktop:"_1yep5z6om"},defaultClass:"_1yep5z6ok _1yep5z6ol _1yep5z6om"},"9xl":{conditions:{mobile:"_1yep5z6on",tablet:"_1yep5z6oo",desktop:"_1yep5z6op"},defaultClass:"_1yep5z6on _1yep5z6oo _1yep5z6op"},none:{conditions:{mobile:"_1yep5z6oq",tablet:"_1yep5z6or",desktop:"_1yep5z6os"},defaultClass:"_1yep5z6oq _1yep5z6or _1yep5z6os"}},responsiveArray:void 0},paddingInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z6ot",tablet:"_1yep5z6ou",desktop:"_1yep5z6ov"},defaultClass:"_1yep5z6ot _1yep5z6ou _1yep5z6ov"},sm:{conditions:{mobile:"_1yep5z6ow",tablet:"_1yep5z6ox",desktop:"_1yep5z6oy"},defaultClass:"_1yep5z6ow _1yep5z6ox _1yep5z6oy"},md:{conditions:{mobile:"_1yep5z6oz",tablet:"_1yep5z6p0",desktop:"_1yep5z6p1"},defaultClass:"_1yep5z6oz _1yep5z6p0 _1yep5z6p1"},lg:{conditions:{mobile:"_1yep5z6p2",tablet:"_1yep5z6p3",desktop:"_1yep5z6p4"},defaultClass:"_1yep5z6p2 _1yep5z6p3 _1yep5z6p4"},xl:{conditions:{mobile:"_1yep5z6p5",tablet:"_1yep5z6p6",desktop:"_1yep5z6p7"},defaultClass:"_1yep5z6p5 _1yep5z6p6 _1yep5z6p7"},"2xl":{conditions:{mobile:"_1yep5z6p8",tablet:"_1yep5z6p9",desktop:"_1yep5z6pa"},defaultClass:"_1yep5z6p8 _1yep5z6p9 _1yep5z6pa"},"3xl":{conditions:{mobile:"_1yep5z6pb",tablet:"_1yep5z6pc",desktop:"_1yep5z6pd"},defaultClass:"_1yep5z6pb _1yep5z6pc _1yep5z6pd"},"4xl":{conditions:{mobile:"_1yep5z6pe",tablet:"_1yep5z6pf",desktop:"_1yep5z6pg"},defaultClass:"_1yep5z6pe _1yep5z6pf _1yep5z6pg"},"5xl":{conditions:{mobile:"_1yep5z6ph",tablet:"_1yep5z6pi",desktop:"_1yep5z6pj"},defaultClass:"_1yep5z6ph _1yep5z6pi _1yep5z6pj"},"6xl":{conditions:{mobile:"_1yep5z6pk",tablet:"_1yep5z6pl",desktop:"_1yep5z6pm"},defaultClass:"_1yep5z6pk _1yep5z6pl _1yep5z6pm"},"7xl":{conditions:{mobile:"_1yep5z6pn",tablet:"_1yep5z6po",desktop:"_1yep5z6pp"},defaultClass:"_1yep5z6pn _1yep5z6po _1yep5z6pp"},"8xl":{conditions:{mobile:"_1yep5z6pq",tablet:"_1yep5z6pr",desktop:"_1yep5z6ps"},defaultClass:"_1yep5z6pq _1yep5z6pr _1yep5z6ps"},"9xl":{conditions:{mobile:"_1yep5z6pt",tablet:"_1yep5z6pu",desktop:"_1yep5z6pv"},defaultClass:"_1yep5z6pt _1yep5z6pu _1yep5z6pv"},none:{conditions:{mobile:"_1yep5z6pw",tablet:"_1yep5z6px",desktop:"_1yep5z6py"},defaultClass:"_1yep5z6pw _1yep5z6px _1yep5z6py"}},responsiveArray:void 0},marginBlockStart:{values:{xs:{conditions:{mobile:"_1yep5z6pz",tablet:"_1yep5z6q0",desktop:"_1yep5z6q1"},defaultClass:"_1yep5z6pz _1yep5z6q0 _1yep5z6q1"},sm:{conditions:{mobile:"_1yep5z6q2",tablet:"_1yep5z6q3",desktop:"_1yep5z6q4"},defaultClass:"_1yep5z6q2 _1yep5z6q3 _1yep5z6q4"},md:{conditions:{mobile:"_1yep5z6q5",tablet:"_1yep5z6q6",desktop:"_1yep5z6q7"},defaultClass:"_1yep5z6q5 _1yep5z6q6 _1yep5z6q7"},lg:{conditions:{mobile:"_1yep5z6q8",tablet:"_1yep5z6q9",desktop:"_1yep5z6qa"},defaultClass:"_1yep5z6q8 _1yep5z6q9 _1yep5z6qa"},xl:{conditions:{mobile:"_1yep5z6qb",tablet:"_1yep5z6qc",desktop:"_1yep5z6qd"},defaultClass:"_1yep5z6qb _1yep5z6qc _1yep5z6qd"},"2xl":{conditions:{mobile:"_1yep5z6qe",tablet:"_1yep5z6qf",desktop:"_1yep5z6qg"},defaultClass:"_1yep5z6qe _1yep5z6qf _1yep5z6qg"},"3xl":{conditions:{mobile:"_1yep5z6qh",tablet:"_1yep5z6qi",desktop:"_1yep5z6qj"},defaultClass:"_1yep5z6qh _1yep5z6qi _1yep5z6qj"},"4xl":{conditions:{mobile:"_1yep5z6qk",tablet:"_1yep5z6ql",desktop:"_1yep5z6qm"},defaultClass:"_1yep5z6qk _1yep5z6ql _1yep5z6qm"},"5xl":{conditions:{mobile:"_1yep5z6qn",tablet:"_1yep5z6qo",desktop:"_1yep5z6qp"},defaultClass:"_1yep5z6qn _1yep5z6qo _1yep5z6qp"},"6xl":{conditions:{mobile:"_1yep5z6qq",tablet:"_1yep5z6qr",desktop:"_1yep5z6qs"},defaultClass:"_1yep5z6qq _1yep5z6qr _1yep5z6qs"},"7xl":{conditions:{mobile:"_1yep5z6qt",tablet:"_1yep5z6qu",desktop:"_1yep5z6qv"},defaultClass:"_1yep5z6qt _1yep5z6qu _1yep5z6qv"},"8xl":{conditions:{mobile:"_1yep5z6qw",tablet:"_1yep5z6qx",desktop:"_1yep5z6qy"},defaultClass:"_1yep5z6qw _1yep5z6qx _1yep5z6qy"},"9xl":{conditions:{mobile:"_1yep5z6qz",tablet:"_1yep5z6r0",desktop:"_1yep5z6r1"},defaultClass:"_1yep5z6qz _1yep5z6r0 _1yep5z6r1"},none:{conditions:{mobile:"_1yep5z6r2",tablet:"_1yep5z6r3",desktop:"_1yep5z6r4"},defaultClass:"_1yep5z6r2 _1yep5z6r3 _1yep5z6r4"}},responsiveArray:void 0},marginInlineEnd:{values:{xs:{conditions:{mobile:"_1yep5z6r5",tablet:"_1yep5z6r6",desktop:"_1yep5z6r7"},defaultClass:"_1yep5z6r5 _1yep5z6r6 _1yep5z6r7"},sm:{conditions:{mobile:"_1yep5z6r8",tablet:"_1yep5z6r9",desktop:"_1yep5z6ra"},defaultClass:"_1yep5z6r8 _1yep5z6r9 _1yep5z6ra"},md:{conditions:{mobile:"_1yep5z6rb",tablet:"_1yep5z6rc",desktop:"_1yep5z6rd"},defaultClass:"_1yep5z6rb _1yep5z6rc _1yep5z6rd"},lg:{conditions:{mobile:"_1yep5z6re",tablet:"_1yep5z6rf",desktop:"_1yep5z6rg"},defaultClass:"_1yep5z6re _1yep5z6rf _1yep5z6rg"},xl:{conditions:{mobile:"_1yep5z6rh",tablet:"_1yep5z6ri",desktop:"_1yep5z6rj"},defaultClass:"_1yep5z6rh _1yep5z6ri _1yep5z6rj"},"2xl":{conditions:{mobile:"_1yep5z6rk",tablet:"_1yep5z6rl",desktop:"_1yep5z6rm"},defaultClass:"_1yep5z6rk _1yep5z6rl _1yep5z6rm"},"3xl":{conditions:{mobile:"_1yep5z6rn",tablet:"_1yep5z6ro",desktop:"_1yep5z6rp"},defaultClass:"_1yep5z6rn _1yep5z6ro _1yep5z6rp"},"4xl":{conditions:{mobile:"_1yep5z6rq",tablet:"_1yep5z6rr",desktop:"_1yep5z6rs"},defaultClass:"_1yep5z6rq _1yep5z6rr _1yep5z6rs"},"5xl":{conditions:{mobile:"_1yep5z6rt",tablet:"_1yep5z6ru",desktop:"_1yep5z6rv"},defaultClass:"_1yep5z6rt _1yep5z6ru _1yep5z6rv"},"6xl":{conditions:{mobile:"_1yep5z6rw",tablet:"_1yep5z6rx",desktop:"_1yep5z6ry"},defaultClass:"_1yep5z6rw _1yep5z6rx _1yep5z6ry"},"7xl":{conditions:{mobile:"_1yep5z6rz",tablet:"_1yep5z6s0",desktop:"_1yep5z6s1"},defaultClass:"_1yep5z6rz _1yep5z6s0 _1yep5z6s1"},"8xl":{conditions:{mobile:"_1yep5z6s2",tablet:"_1yep5z6s3",desktop:"_1yep5z6s4"},defaultClass:"_1yep5z6s2 _1yep5z6s3 _1yep5z6s4"},"9xl":{conditions:{mobile:"_1yep5z6s5",tablet:"_1yep5z6s6",desktop:"_1yep5z6s7"},defaultClass:"_1yep5z6s5 _1yep5z6s6 _1yep5z6s7"},none:{conditions:{mobile:"_1yep5z6s8",tablet:"_1yep5z6s9",desktop:"_1yep5z6sa"},defaultClass:"_1yep5z6s8 _1yep5z6s9 _1yep5z6sa"}},responsiveArray:void 0},marginBlockEnd:{values:{xs:{conditions:{mobile:"_1yep5z6sb",tablet:"_1yep5z6sc",desktop:"_1yep5z6sd"},defaultClass:"_1yep5z6sb _1yep5z6sc _1yep5z6sd"},sm:{conditions:{mobile:"_1yep5z6se",tablet:"_1yep5z6sf",desktop:"_1yep5z6sg"},defaultClass:"_1yep5z6se _1yep5z6sf _1yep5z6sg"},md:{conditions:{mobile:"_1yep5z6sh",tablet:"_1yep5z6si",desktop:"_1yep5z6sj"},defaultClass:"_1yep5z6sh _1yep5z6si _1yep5z6sj"},lg:{conditions:{mobile:"_1yep5z6sk",tablet:"_1yep5z6sl",desktop:"_1yep5z6sm"},defaultClass:"_1yep5z6sk _1yep5z6sl _1yep5z6sm"},xl:{conditions:{mobile:"_1yep5z6sn",tablet:"_1yep5z6so",desktop:"_1yep5z6sp"},defaultClass:"_1yep5z6sn _1yep5z6so _1yep5z6sp"},"2xl":{conditions:{mobile:"_1yep5z6sq",tablet:"_1yep5z6sr",desktop:"_1yep5z6ss"},defaultClass:"_1yep5z6sq _1yep5z6sr _1yep5z6ss"},"3xl":{conditions:{mobile:"_1yep5z6st",tablet:"_1yep5z6su",desktop:"_1yep5z6sv"},defaultClass:"_1yep5z6st _1yep5z6su _1yep5z6sv"},"4xl":{conditions:{mobile:"_1yep5z6sw",tablet:"_1yep5z6sx",desktop:"_1yep5z6sy"},defaultClass:"_1yep5z6sw _1yep5z6sx _1yep5z6sy"},"5xl":{conditions:{mobile:"_1yep5z6sz",tablet:"_1yep5z6t0",desktop:"_1yep5z6t1"},defaultClass:"_1yep5z6sz _1yep5z6t0 _1yep5z6t1"},"6xl":{conditions:{mobile:"_1yep5z6t2",tablet:"_1yep5z6t3",desktop:"_1yep5z6t4"},defaultClass:"_1yep5z6t2 _1yep5z6t3 _1yep5z6t4"},"7xl":{conditions:{mobile:"_1yep5z6t5",tablet:"_1yep5z6t6",desktop:"_1yep5z6t7"},defaultClass:"_1yep5z6t5 _1yep5z6t6 _1yep5z6t7"},"8xl":{conditions:{mobile:"_1yep5z6t8",tablet:"_1yep5z6t9",desktop:"_1yep5z6ta"},defaultClass:"_1yep5z6t8 _1yep5z6t9 _1yep5z6ta"},"9xl":{conditions:{mobile:"_1yep5z6tb",tablet:"_1yep5z6tc",desktop:"_1yep5z6td"},defaultClass:"_1yep5z6tb _1yep5z6tc _1yep5z6td"},none:{conditions:{mobile:"_1yep5z6te",tablet:"_1yep5z6tf",desktop:"_1yep5z6tg"},defaultClass:"_1yep5z6te _1yep5z6tf _1yep5z6tg"}},responsiveArray:void 0},marginInlineStart:{values:{xs:{conditions:{mobile:"_1yep5z6th",tablet:"_1yep5z6ti",desktop:"_1yep5z6tj"},defaultClass:"_1yep5z6th _1yep5z6ti _1yep5z6tj"},sm:{conditions:{mobile:"_1yep5z6tk",tablet:"_1yep5z6tl",desktop:"_1yep5z6tm"},defaultClass:"_1yep5z6tk _1yep5z6tl _1yep5z6tm"},md:{conditions:{mobile:"_1yep5z6tn",tablet:"_1yep5z6to",desktop:"_1yep5z6tp"},defaultClass:"_1yep5z6tn _1yep5z6to _1yep5z6tp"},lg:{conditions:{mobile:"_1yep5z6tq",tablet:"_1yep5z6tr",desktop:"_1yep5z6ts"},defaultClass:"_1yep5z6tq _1yep5z6tr _1yep5z6ts"},xl:{conditions:{mobile:"_1yep5z6tt",tablet:"_1yep5z6tu",desktop:"_1yep5z6tv"},defaultClass:"_1yep5z6tt _1yep5z6tu _1yep5z6tv"},"2xl":{conditions:{mobile:"_1yep5z6tw",tablet:"_1yep5z6tx",desktop:"_1yep5z6ty"},defaultClass:"_1yep5z6tw _1yep5z6tx _1yep5z6ty"},"3xl":{conditions:{mobile:"_1yep5z6tz",tablet:"_1yep5z6u0",desktop:"_1yep5z6u1"},defaultClass:"_1yep5z6tz _1yep5z6u0 _1yep5z6u1"},"4xl":{conditions:{mobile:"_1yep5z6u2",tablet:"_1yep5z6u3",desktop:"_1yep5z6u4"},defaultClass:"_1yep5z6u2 _1yep5z6u3 _1yep5z6u4"},"5xl":{conditions:{mobile:"_1yep5z6u5",tablet:"_1yep5z6u6",desktop:"_1yep5z6u7"},defaultClass:"_1yep5z6u5 _1yep5z6u6 _1yep5z6u7"},"6xl":{conditions:{mobile:"_1yep5z6u8",tablet:"_1yep5z6u9",desktop:"_1yep5z6ua"},defaultClass:"_1yep5z6u8 _1yep5z6u9 _1yep5z6ua"},"7xl":{conditions:{mobile:"_1yep5z6ub",tablet:"_1yep5z6uc",desktop:"_1yep5z6ud"},defaultClass:"_1yep5z6ub _1yep5z6uc _1yep5z6ud"},"8xl":{conditions:{mobile:"_1yep5z6ue",tablet:"_1yep5z6uf",desktop:"_1yep5z6ug"},defaultClass:"_1yep5z6ue _1yep5z6uf _1yep5z6ug"},"9xl":{conditions:{mobile:"_1yep5z6uh",tablet:"_1yep5z6ui",desktop:"_1yep5z6uj"},defaultClass:"_1yep5z6uh _1yep5z6ui _1yep5z6uj"},none:{conditions:{mobile:"_1yep5z6uk",tablet:"_1yep5z6ul",desktop:"_1yep5z6um"},defaultClass:"_1yep5z6uk _1yep5z6ul _1yep5z6um"}},responsiveArray:void 0},gap:{values:{xs:{conditions:{mobile:"_1yep5z6un",tablet:"_1yep5z6uo",desktop:"_1yep5z6up"},defaultClass:"_1yep5z6un _1yep5z6uo _1yep5z6up"},sm:{conditions:{mobile:"_1yep5z6uq",tablet:"_1yep5z6ur",desktop:"_1yep5z6us"},defaultClass:"_1yep5z6uq _1yep5z6ur _1yep5z6us"},md:{conditions:{mobile:"_1yep5z6ut",tablet:"_1yep5z6uu",desktop:"_1yep5z6uv"},defaultClass:"_1yep5z6ut _1yep5z6uu _1yep5z6uv"},lg:{conditions:{mobile:"_1yep5z6uw",tablet:"_1yep5z6ux",desktop:"_1yep5z6uy"},defaultClass:"_1yep5z6uw _1yep5z6ux _1yep5z6uy"},xl:{conditions:{mobile:"_1yep5z6uz",tablet:"_1yep5z6v0",desktop:"_1yep5z6v1"},defaultClass:"_1yep5z6uz _1yep5z6v0 _1yep5z6v1"},"2xl":{conditions:{mobile:"_1yep5z6v2",tablet:"_1yep5z6v3",desktop:"_1yep5z6v4"},defaultClass:"_1yep5z6v2 _1yep5z6v3 _1yep5z6v4"},"3xl":{conditions:{mobile:"_1yep5z6v5",tablet:"_1yep5z6v6",desktop:"_1yep5z6v7"},defaultClass:"_1yep5z6v5 _1yep5z6v6 _1yep5z6v7"},"4xl":{conditions:{mobile:"_1yep5z6v8",tablet:"_1yep5z6v9",desktop:"_1yep5z6va"},defaultClass:"_1yep5z6v8 _1yep5z6v9 _1yep5z6va"},"5xl":{conditions:{mobile:"_1yep5z6vb",tablet:"_1yep5z6vc",desktop:"_1yep5z6vd"},defaultClass:"_1yep5z6vb _1yep5z6vc _1yep5z6vd"},"6xl":{conditions:{mobile:"_1yep5z6ve",tablet:"_1yep5z6vf",desktop:"_1yep5z6vg"},defaultClass:"_1yep5z6ve _1yep5z6vf _1yep5z6vg"},"7xl":{conditions:{mobile:"_1yep5z6vh",tablet:"_1yep5z6vi",desktop:"_1yep5z6vj"},defaultClass:"_1yep5z6vh _1yep5z6vi _1yep5z6vj"},"8xl":{conditions:{mobile:"_1yep5z6vk",tablet:"_1yep5z6vl",desktop:"_1yep5z6vm"},defaultClass:"_1yep5z6vk _1yep5z6vl _1yep5z6vm"},"9xl":{conditions:{mobile:"_1yep5z6vn",tablet:"_1yep5z6vo",desktop:"_1yep5z6vp"},defaultClass:"_1yep5z6vn _1yep5z6vo _1yep5z6vp"},none:{conditions:{mobile:"_1yep5z6vq",tablet:"_1yep5z6vr",desktop:"_1yep5z6vs"},defaultClass:"_1yep5z6vq _1yep5z6vr _1yep5z6vs"}},responsiveArray:void 0}}};return e.styles.paddingBlockStart.responsiveArray=e.conditions.responsiveArray,e.styles.paddingInlineEnd.responsiveArray=e.conditions.responsiveArray,e.styles.paddingBlockEnd.responsiveArray=e.conditions.responsiveArray,e.styles.paddingInlineStart.responsiveArray=e.conditions.responsiveArray,e.styles.marginBlockStart.responsiveArray=e.conditions.responsiveArray,e.styles.marginInlineEnd.responsiveArray=e.conditions.responsiveArray,e.styles.marginBlockEnd.responsiveArray=e.conditions.responsiveArray,e.styles.marginInlineStart.responsiveArray=e.conditions.responsiveArray,e.styles.gap.responsiveArray=e.conditions.responsiveArray,e}(),function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{borderRadius:{mappings:["borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius"]},borderTopRadius:{mappings:["borderStartStartRadius","borderStartEndRadius"]},borderBottomRadius:{mappings:["borderEndStartRadius","borderEndEndRadius"]},borderLeftRadius:{mappings:["borderStartStartRadius","borderEndStartRadius"]},borderRightRadius:{mappings:["borderStartEndRadius","borderEndEndRadius"]},borderStartStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z6vt",tablet:"_1yep5z6vu",desktop:"_1yep5z6vv"},defaultClass:"_1yep5z6vt _1yep5z6vu _1yep5z6vv"},sm:{conditions:{mobile:"_1yep5z6vw",tablet:"_1yep5z6vx",desktop:"_1yep5z6vy"},defaultClass:"_1yep5z6vw _1yep5z6vx _1yep5z6vy"},md:{conditions:{mobile:"_1yep5z6vz",tablet:"_1yep5z6w0",desktop:"_1yep5z6w1"},defaultClass:"_1yep5z6vz _1yep5z6w0 _1yep5z6w1"},lg:{conditions:{mobile:"_1yep5z6w2",tablet:"_1yep5z6w3",desktop:"_1yep5z6w4"},defaultClass:"_1yep5z6w2 _1yep5z6w3 _1yep5z6w4"},xl:{conditions:{mobile:"_1yep5z6w5",tablet:"_1yep5z6w6",desktop:"_1yep5z6w7"},defaultClass:"_1yep5z6w5 _1yep5z6w6 _1yep5z6w7"},"2xl":{conditions:{mobile:"_1yep5z6w8",tablet:"_1yep5z6w9",desktop:"_1yep5z6wa"},defaultClass:"_1yep5z6w8 _1yep5z6w9 _1yep5z6wa"},full:{conditions:{mobile:"_1yep5z6wb",tablet:"_1yep5z6wc",desktop:"_1yep5z6wd"},defaultClass:"_1yep5z6wb _1yep5z6wc _1yep5z6wd"},none:{conditions:{mobile:"_1yep5z6we",tablet:"_1yep5z6wf",desktop:"_1yep5z6wg"},defaultClass:"_1yep5z6we _1yep5z6wf _1yep5z6wg"}},responsiveArray:void 0},borderStartEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z6wh",tablet:"_1yep5z6wi",desktop:"_1yep5z6wj"},defaultClass:"_1yep5z6wh _1yep5z6wi _1yep5z6wj"},sm:{conditions:{mobile:"_1yep5z6wk",tablet:"_1yep5z6wl",desktop:"_1yep5z6wm"},defaultClass:"_1yep5z6wk _1yep5z6wl _1yep5z6wm"},md:{conditions:{mobile:"_1yep5z6wn",tablet:"_1yep5z6wo",desktop:"_1yep5z6wp"},defaultClass:"_1yep5z6wn _1yep5z6wo _1yep5z6wp"},lg:{conditions:{mobile:"_1yep5z6wq",tablet:"_1yep5z6wr",desktop:"_1yep5z6ws"},defaultClass:"_1yep5z6wq _1yep5z6wr _1yep5z6ws"},xl:{conditions:{mobile:"_1yep5z6wt",tablet:"_1yep5z6wu",desktop:"_1yep5z6wv"},defaultClass:"_1yep5z6wt _1yep5z6wu _1yep5z6wv"},"2xl":{conditions:{mobile:"_1yep5z6ww",tablet:"_1yep5z6wx",desktop:"_1yep5z6wy"},defaultClass:"_1yep5z6ww _1yep5z6wx _1yep5z6wy"},full:{conditions:{mobile:"_1yep5z6wz",tablet:"_1yep5z6x0",desktop:"_1yep5z6x1"},defaultClass:"_1yep5z6wz _1yep5z6x0 _1yep5z6x1"},none:{conditions:{mobile:"_1yep5z6x2",tablet:"_1yep5z6x3",desktop:"_1yep5z6x4"},defaultClass:"_1yep5z6x2 _1yep5z6x3 _1yep5z6x4"}},responsiveArray:void 0},borderEndStartRadius:{values:{xs:{conditions:{mobile:"_1yep5z6x5",tablet:"_1yep5z6x6",desktop:"_1yep5z6x7"},defaultClass:"_1yep5z6x5 _1yep5z6x6 _1yep5z6x7"},sm:{conditions:{mobile:"_1yep5z6x8",tablet:"_1yep5z6x9",desktop:"_1yep5z6xa"},defaultClass:"_1yep5z6x8 _1yep5z6x9 _1yep5z6xa"},md:{conditions:{mobile:"_1yep5z6xb",tablet:"_1yep5z6xc",desktop:"_1yep5z6xd"},defaultClass:"_1yep5z6xb _1yep5z6xc _1yep5z6xd"},lg:{conditions:{mobile:"_1yep5z6xe",tablet:"_1yep5z6xf",desktop:"_1yep5z6xg"},defaultClass:"_1yep5z6xe _1yep5z6xf _1yep5z6xg"},xl:{conditions:{mobile:"_1yep5z6xh",tablet:"_1yep5z6xi",desktop:"_1yep5z6xj"},defaultClass:"_1yep5z6xh _1yep5z6xi _1yep5z6xj"},"2xl":{conditions:{mobile:"_1yep5z6xk",tablet:"_1yep5z6xl",desktop:"_1yep5z6xm"},defaultClass:"_1yep5z6xk _1yep5z6xl _1yep5z6xm"},full:{conditions:{mobile:"_1yep5z6xn",tablet:"_1yep5z6xo",desktop:"_1yep5z6xp"},defaultClass:"_1yep5z6xn _1yep5z6xo _1yep5z6xp"},none:{conditions:{mobile:"_1yep5z6xq",tablet:"_1yep5z6xr",desktop:"_1yep5z6xs"},defaultClass:"_1yep5z6xq _1yep5z6xr _1yep5z6xs"}},responsiveArray:void 0},borderEndEndRadius:{values:{xs:{conditions:{mobile:"_1yep5z6xt",tablet:"_1yep5z6xu",desktop:"_1yep5z6xv"},defaultClass:"_1yep5z6xt _1yep5z6xu _1yep5z6xv"},sm:{conditions:{mobile:"_1yep5z6xw",tablet:"_1yep5z6xx",desktop:"_1yep5z6xy"},defaultClass:"_1yep5z6xw _1yep5z6xx _1yep5z6xy"},md:{conditions:{mobile:"_1yep5z6xz",tablet:"_1yep5z6y0",desktop:"_1yep5z6y1"},defaultClass:"_1yep5z6xz _1yep5z6y0 _1yep5z6y1"},lg:{conditions:{mobile:"_1yep5z6y2",tablet:"_1yep5z6y3",desktop:"_1yep5z6y4"},defaultClass:"_1yep5z6y2 _1yep5z6y3 _1yep5z6y4"},xl:{conditions:{mobile:"_1yep5z6y5",tablet:"_1yep5z6y6",desktop:"_1yep5z6y7"},defaultClass:"_1yep5z6y5 _1yep5z6y6 _1yep5z6y7"},"2xl":{conditions:{mobile:"_1yep5z6y8",tablet:"_1yep5z6y9",desktop:"_1yep5z6ya"},defaultClass:"_1yep5z6y8 _1yep5z6y9 _1yep5z6ya"},full:{conditions:{mobile:"_1yep5z6yb",tablet:"_1yep5z6yc",desktop:"_1yep5z6yd"},defaultClass:"_1yep5z6yb _1yep5z6yc _1yep5z6yd"},none:{conditions:{mobile:"_1yep5z6ye",tablet:"_1yep5z6yf",desktop:"_1yep5z6yg"},defaultClass:"_1yep5z6ye _1yep5z6yf _1yep5z6yg"}},responsiveArray:void 0}}};return e.styles.borderStartStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderStartEndRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndStartRadius.responsiveArray=e.conditions.responsiveArray,e.styles.borderEndEndRadius.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{boxShadow:{values:{low:{defaultClass:"_1yep5z6yh"},medium:{defaultClass:"_1yep5z6yi"}}}}},{conditions:void 0,styles:{opacity:{values:{none:{defaultClass:"_1yep5z6yj"},low:{defaultClass:"_1yep5z6yk"},medium:{defaultClass:"_1yep5z6yl"},high:{defaultClass:"_1yep5z6ym"}}}}},{conditions:void 0,styles:{typography:{values:{"heading.h6.regular":{defaultClass:"_1yep5z6yn"},"heading.h6.medium":{defaultClass:"_1yep5z6yo"},"heading.h6.semibold":{defaultClass:"_1yep5z6yp"},"heading.h5.regular":{defaultClass:"_1yep5z6yq"},"heading.h5.medium":{defaultClass:"_1yep5z6yr"},"heading.h5.semibold":{defaultClass:"_1yep5z6ys"},"heading.h4.regular":{defaultClass:"_1yep5z6yt"},"heading.h4.medium":{defaultClass:"_1yep5z6yu"},"heading.h4.semibold":{defaultClass:"_1yep5z6yv"},"heading.h3.regular":{defaultClass:"_1yep5z6yw"},"heading.h3.medium":{defaultClass:"_1yep5z6yx"},"heading.h3.semibold":{defaultClass:"_1yep5z6yy"},"heading.h2.regular":{defaultClass:"_1yep5z6yz"},"heading.h2.medium":{defaultClass:"_1yep5z6z0"},"heading.h2.semibold":{defaultClass:"_1yep5z6z1"},"heading.h1.regular":{defaultClass:"_1yep5z6z2"},"heading.h1.medium":{defaultClass:"_1yep5z6z3"},"heading.h1.semibold":{defaultClass:"_1yep5z6z4"},"label.sm.regular":{defaultClass:"_1yep5z6z5"},"label.sm.medium":{defaultClass:"_1yep5z6z6"},"label.sm.semibold":{defaultClass:"_1yep5z6z7"},"label.md.regular":{defaultClass:"_1yep5z6z8"},"label.md.medium":{defaultClass:"_1yep5z6z9"},"label.md.semibold":{defaultClass:"_1yep5z6za"},"label.lg.regular":{defaultClass:"_1yep5z6zb"},"label.lg.medium":{defaultClass:"_1yep5z6zc"},"label.lg.semibold":{defaultClass:"_1yep5z6zd"},"body.sm.regular":{defaultClass:"_1yep5z6ze"},"body.sm.medium":{defaultClass:"_1yep5z6zf"},"body.sm.semibold":{defaultClass:"_1yep5z6zg"},"body.md.regular":{defaultClass:"_1yep5z6zh"},"body.md.medium":{defaultClass:"_1yep5z6zi"},"body.md.semibold":{defaultClass:"_1yep5z6zj"},"body.lg.regular":{defaultClass:"_1yep5z6zk"},"body.lg.medium":{defaultClass:"_1yep5z6zl"},"body.lg.semibold":{defaultClass:"_1yep5z6zm"}}}}},{conditions:void 0,styles:{color:{values:{"support.error.subtler":{defaultClass:"_1yep5z6zn"},"support.error.subtle":{defaultClass:"_1yep5z6zo"},"support.error.medium":{defaultClass:"_1yep5z6zp"},"support.error.strong":{defaultClass:"_1yep5z6zq"},"support.success.subtler":{defaultClass:"_1yep5z6zr"},"support.success.subtle":{defaultClass:"_1yep5z6zs"},"support.success.medium":{defaultClass:"_1yep5z6zt"},"support.success.strong":{defaultClass:"_1yep5z6zu"},"support.warning.subtler":{defaultClass:"_1yep5z6zv"},"support.warning.subtle":{defaultClass:"_1yep5z6zw"},"support.warning.medium":{defaultClass:"_1yep5z6zx"},"support.warning.strong":{defaultClass:"_1yep5z6zy"},"support.info.subtler":{defaultClass:"_1yep5z6zz"},"support.info.subtle":{defaultClass:"_1yep5z6100"},"support.info.medium":{defaultClass:"_1yep5z6101"},"support.info.strong":{defaultClass:"_1yep5z6102"},"focused.primary":{defaultClass:"_1yep5z6103"},"focused.inset":{defaultClass:"_1yep5z6104"},"text.primary":{defaultClass:"_1yep5z6105"},"text.secondary":{defaultClass:"_1yep5z6106"},"text.helper":{defaultClass:"_1yep5z6107"},"text.placeholder":{defaultClass:"_1yep5z6108"},"text.disabled":{defaultClass:"_1yep5z6109"},"text.inverse":{defaultClass:"_1yep5z610a"},"icon.primary":{defaultClass:"_1yep5z610b"},"icon.secondary":{defaultClass:"_1yep5z610c"},"icon.disabled":{defaultClass:"_1yep5z610d"},"icon.inverse":{defaultClass:"_1yep5z610e"},"icon.interactive":{defaultClass:"_1yep5z610f"},"interactive.primary":{defaultClass:"_1yep5z610g"},"interactive.hovered":{defaultClass:"_1yep5z610h"},"interactive.active":{defaultClass:"_1yep5z610i"},"interactive.visited":{defaultClass:"_1yep5z610j"},"interactive.disabled":{defaultClass:"_1yep5z610k"}}},backgroundColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z610l"},"support.error.subtle":{defaultClass:"_1yep5z610m"},"support.error.medium":{defaultClass:"_1yep5z610n"},"support.error.strong":{defaultClass:"_1yep5z610o"},"support.success.subtler":{defaultClass:"_1yep5z610p"},"support.success.subtle":{defaultClass:"_1yep5z610q"},"support.success.medium":{defaultClass:"_1yep5z610r"},"support.success.strong":{defaultClass:"_1yep5z610s"},"support.warning.subtler":{defaultClass:"_1yep5z610t"},"support.warning.subtle":{defaultClass:"_1yep5z610u"},"support.warning.medium":{defaultClass:"_1yep5z610v"},"support.warning.strong":{defaultClass:"_1yep5z610w"},"support.info.subtler":{defaultClass:"_1yep5z610x"},"support.info.subtle":{defaultClass:"_1yep5z610y"},"support.info.medium":{defaultClass:"_1yep5z610z"},"support.info.strong":{defaultClass:"_1yep5z6110"},"focused.primary":{defaultClass:"_1yep5z6111"},"focused.inset":{defaultClass:"_1yep5z6112"},"background.primary.subtle":{defaultClass:"_1yep5z6113"},"background.primary.medium":{defaultClass:"_1yep5z6114"},"background.primary.strong":{defaultClass:"_1yep5z6115"},"background.secondary.subtle":{defaultClass:"_1yep5z6116"},"background.secondary.medium":{defaultClass:"_1yep5z6117"},"background.secondary.strong":{defaultClass:"_1yep5z6118"},"background.inverse.subtle":{defaultClass:"_1yep5z6119"},"background.inverse.medium":{defaultClass:"_1yep5z611a"},"background.inverse.strong":{defaultClass:"_1yep5z611b"},"background.overlay.subtle":{defaultClass:"_1yep5z611c"},"background.overlay.medium":{defaultClass:"_1yep5z611d"},"positive.subtle":{defaultClass:"_1yep5z611e"},"positive.medium":{defaultClass:"_1yep5z611f"},"positive.strong":{defaultClass:"_1yep5z611g"},"positive.interactive":{defaultClass:"_1yep5z611h"}}},borderColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z611i"},"support.error.subtle":{defaultClass:"_1yep5z611j"},"support.error.medium":{defaultClass:"_1yep5z611k"},"support.error.strong":{defaultClass:"_1yep5z611l"},"support.success.subtler":{defaultClass:"_1yep5z611m"},"support.success.subtle":{defaultClass:"_1yep5z611n"},"support.success.medium":{defaultClass:"_1yep5z611o"},"support.success.strong":{defaultClass:"_1yep5z611p"},"support.warning.subtler":{defaultClass:"_1yep5z611q"},"support.warning.subtle":{defaultClass:"_1yep5z611r"},"support.warning.medium":{defaultClass:"_1yep5z611s"},"support.warning.strong":{defaultClass:"_1yep5z611t"},"support.info.subtler":{defaultClass:"_1yep5z611u"},"support.info.subtle":{defaultClass:"_1yep5z611v"},"support.info.medium":{defaultClass:"_1yep5z611w"},"support.info.strong":{defaultClass:"_1yep5z611x"},"focused.primary":{defaultClass:"_1yep5z611y"},"focused.inset":{defaultClass:"_1yep5z611z"},"border.subtle":{defaultClass:"_1yep5z6120"},"border.medium":{defaultClass:"_1yep5z6121"},"border.strong":{defaultClass:"_1yep5z6122"},"border.inverse":{defaultClass:"_1yep5z6123"},"border.interactive":{defaultClass:"_1yep5z6124"},"border.disabled":{defaultClass:"_1yep5z6125"},transparent:{defaultClass:"_1yep5z6126"}}},outlineColor:{values:{"support.error.subtler":{defaultClass:"_1yep5z6127"},"support.error.subtle":{defaultClass:"_1yep5z6128"},"support.error.medium":{defaultClass:"_1yep5z6129"},"support.error.strong":{defaultClass:"_1yep5z612a"},"support.success.subtler":{defaultClass:"_1yep5z612b"},"support.success.subtle":{defaultClass:"_1yep5z612c"},"support.success.medium":{defaultClass:"_1yep5z612d"},"support.success.strong":{defaultClass:"_1yep5z612e"},"support.warning.subtler":{defaultClass:"_1yep5z612f"},"support.warning.subtle":{defaultClass:"_1yep5z612g"},"support.warning.medium":{defaultClass:"_1yep5z612h"},"support.warning.strong":{defaultClass:"_1yep5z612i"},"support.info.subtler":{defaultClass:"_1yep5z612j"},"support.info.subtle":{defaultClass:"_1yep5z612k"},"support.info.medium":{defaultClass:"_1yep5z612l"},"support.info.strong":{defaultClass:"_1yep5z612m"},"focused.primary":{defaultClass:"_1yep5z612n"},"focused.inset":{defaultClass:"_1yep5z612o"},"border.subtle":{defaultClass:"_1yep5z612p"},"border.medium":{defaultClass:"_1yep5z612q"},"border.strong":{defaultClass:"_1yep5z612r"},"border.inverse":{defaultClass:"_1yep5z612s"},"border.interactive":{defaultClass:"_1yep5z612t"},"border.disabled":{defaultClass:"_1yep5z612u"},transparent:{defaultClass:"_1yep5z612v"}}}}},function(){var e={conditions:{defaultCondition:["mobile","tablet","desktop"],conditionNames:["mobile","tablet","desktop"],responsiveArray:["mobile","tablet","desktop"]},styles:{position:{values:{relative:{conditions:{mobile:"_1yep5z612w",tablet:"_1yep5z612x",desktop:"_1yep5z612y"},defaultClass:"_1yep5z612w _1yep5z612x _1yep5z612y"},absolute:{conditions:{mobile:"_1yep5z612z",tablet:"_1yep5z6130",desktop:"_1yep5z6131"},defaultClass:"_1yep5z612z _1yep5z6130 _1yep5z6131"},fixed:{conditions:{mobile:"_1yep5z6132",tablet:"_1yep5z6133",desktop:"_1yep5z6134"},defaultClass:"_1yep5z6132 _1yep5z6133 _1yep5z6134"}},responsiveArray:void 0},display:{values:{none:{conditions:{mobile:"_1yep5z6135",tablet:"_1yep5z6136",desktop:"_1yep5z6137"},defaultClass:"_1yep5z6135 _1yep5z6136 _1yep5z6137"},block:{conditions:{mobile:"_1yep5z6138",tablet:"_1yep5z6139",desktop:"_1yep5z613a"},defaultClass:"_1yep5z6138 _1yep5z6139 _1yep5z613a"},flex:{conditions:{mobile:"_1yep5z613b",tablet:"_1yep5z613c",desktop:"_1yep5z613d"},defaultClass:"_1yep5z613b _1yep5z613c _1yep5z613d"},"inline-flex":{conditions:{mobile:"_1yep5z613e",tablet:"_1yep5z613f",desktop:"_1yep5z613g"},defaultClass:"_1yep5z613e _1yep5z613f _1yep5z613g"},grid:{conditions:{mobile:"_1yep5z613h",tablet:"_1yep5z613i",desktop:"_1yep5z613j"},defaultClass:"_1yep5z613h _1yep5z613i _1yep5z613j"}},responsiveArray:void 0},flexDirection:{values:{row:{conditions:{mobile:"_1yep5z613k",tablet:"_1yep5z613l",desktop:"_1yep5z613m"},defaultClass:"_1yep5z613k _1yep5z613l _1yep5z613m"},column:{conditions:{mobile:"_1yep5z613n",tablet:"_1yep5z613o",desktop:"_1yep5z613p"},defaultClass:"_1yep5z613n _1yep5z613o _1yep5z613p"},"row-reverse":{conditions:{mobile:"_1yep5z613q",tablet:"_1yep5z613r",desktop:"_1yep5z613s"},defaultClass:"_1yep5z613q _1yep5z613r _1yep5z613s"},"column-reverse":{conditions:{mobile:"_1yep5z613t",tablet:"_1yep5z613u",desktop:"_1yep5z613v"},defaultClass:"_1yep5z613t _1yep5z613u _1yep5z613v"}},responsiveArray:void 0},alignItems:{values:{stretch:{conditions:{mobile:"_1yep5z613w",tablet:"_1yep5z613x",desktop:"_1yep5z613y"},defaultClass:"_1yep5z613w _1yep5z613x _1yep5z613y"},"flex-start":{conditions:{mobile:"_1yep5z613z",tablet:"_1yep5z6140",desktop:"_1yep5z6141"},defaultClass:"_1yep5z613z _1yep5z6140 _1yep5z6141"},center:{conditions:{mobile:"_1yep5z6142",tablet:"_1yep5z6143",desktop:"_1yep5z6144"},defaultClass:"_1yep5z6142 _1yep5z6143 _1yep5z6144"},"flex-end":{conditions:{mobile:"_1yep5z6145",tablet:"_1yep5z6146",desktop:"_1yep5z6147"},defaultClass:"_1yep5z6145 _1yep5z6146 _1yep5z6147"}},responsiveArray:void 0},alignSelf:{values:{stretch:{conditions:{mobile:"_1yep5z6148",tablet:"_1yep5z6149",desktop:"_1yep5z614a"},defaultClass:"_1yep5z6148 _1yep5z6149 _1yep5z614a"},"flex-start":{conditions:{mobile:"_1yep5z614b",tablet:"_1yep5z614c",desktop:"_1yep5z614d"},defaultClass:"_1yep5z614b _1yep5z614c _1yep5z614d"},center:{conditions:{mobile:"_1yep5z614e",tablet:"_1yep5z614f",desktop:"_1yep5z614g"},defaultClass:"_1yep5z614e _1yep5z614f _1yep5z614g"},"flex-end":{conditions:{mobile:"_1yep5z614h",tablet:"_1yep5z614i",desktop:"_1yep5z614j"},defaultClass:"_1yep5z614h _1yep5z614i _1yep5z614j"}},responsiveArray:void 0},flex:{values:{0:{conditions:{mobile:"_1yep5z614k",tablet:"_1yep5z614l",desktop:"_1yep5z614m"},defaultClass:"_1yep5z614k _1yep5z614l _1yep5z614m"},1:{conditions:{mobile:"_1yep5z614n",tablet:"_1yep5z614o",desktop:"_1yep5z614p"},defaultClass:"_1yep5z614n _1yep5z614o _1yep5z614p"}},responsiveArray:void 0},justifyContent:{values:{stretch:{conditions:{mobile:"_1yep5z614q",tablet:"_1yep5z614r",desktop:"_1yep5z614s"},defaultClass:"_1yep5z614q _1yep5z614r _1yep5z614s"},"flex-start":{conditions:{mobile:"_1yep5z614t",tablet:"_1yep5z614u",desktop:"_1yep5z614v"},defaultClass:"_1yep5z614t _1yep5z614u _1yep5z614v"},center:{conditions:{mobile:"_1yep5z614w",tablet:"_1yep5z614x",desktop:"_1yep5z614y"},defaultClass:"_1yep5z614w _1yep5z614x _1yep5z614y"},"flex-end":{conditions:{mobile:"_1yep5z614z",tablet:"_1yep5z6150",desktop:"_1yep5z6151"},defaultClass:"_1yep5z614z _1yep5z6150 _1yep5z6151"},"space-between":{conditions:{mobile:"_1yep5z6152",tablet:"_1yep5z6153",desktop:"_1yep5z6154"},defaultClass:"_1yep5z6152 _1yep5z6153 _1yep5z6154"}},responsiveArray:void 0},justifySelf:{values:{stretch:{conditions:{mobile:"_1yep5z6155",tablet:"_1yep5z6156",desktop:"_1yep5z6157"},defaultClass:"_1yep5z6155 _1yep5z6156 _1yep5z6157"},"flex-start":{conditions:{mobile:"_1yep5z6158",tablet:"_1yep5z6159",desktop:"_1yep5z615a"},defaultClass:"_1yep5z6158 _1yep5z6159 _1yep5z615a"},center:{conditions:{mobile:"_1yep5z615b",tablet:"_1yep5z615c",desktop:"_1yep5z615d"},defaultClass:"_1yep5z615b _1yep5z615c _1yep5z615d"},"flex-end":{conditions:{mobile:"_1yep5z615e",tablet:"_1yep5z615f",desktop:"_1yep5z615g"},defaultClass:"_1yep5z615e _1yep5z615f _1yep5z615g"}},responsiveArray:void 0},placeItems:{values:{stretch:{conditions:{mobile:"_1yep5z615h",tablet:"_1yep5z615i",desktop:"_1yep5z615j"},defaultClass:"_1yep5z615h _1yep5z615i _1yep5z615j"},"flex-start":{conditions:{mobile:"_1yep5z615k",tablet:"_1yep5z615l",desktop:"_1yep5z615m"},defaultClass:"_1yep5z615k _1yep5z615l _1yep5z615m"},center:{conditions:{mobile:"_1yep5z615n",tablet:"_1yep5z615o",desktop:"_1yep5z615p"},defaultClass:"_1yep5z615n _1yep5z615o _1yep5z615p"},"flex-end":{conditions:{mobile:"_1yep5z615q",tablet:"_1yep5z615r",desktop:"_1yep5z615s"},defaultClass:"_1yep5z615q _1yep5z615r _1yep5z615s"}},responsiveArray:void 0}}};return e.styles.position.responsiveArray=e.conditions.responsiveArray,e.styles.display.responsiveArray=e.conditions.responsiveArray,e.styles.flexDirection.responsiveArray=e.conditions.responsiveArray,e.styles.alignItems.responsiveArray=e.conditions.responsiveArray,e.styles.alignSelf.responsiveArray=e.conditions.responsiveArray,e.styles.flex.responsiveArray=e.conditions.responsiveArray,e.styles.justifyContent.responsiveArray=e.conditions.responsiveArray,e.styles.justifySelf.responsiveArray=e.conditions.responsiveArray,e.styles.placeItems.responsiveArray=e.conditions.responsiveArray,e}(),{conditions:void 0,styles:{transition:{values:{"transition.medium":{defaultClass:"_1yep5z615t"}}},transitionProperty:{values:{transform:{defaultClass:"_1yep5z615u"},opacity:{defaultClass:"_1yep5z615v"},"background-color":{defaultClass:"_1yep5z615w"}}}}},{conditions:void 0,styles:{inset:{mappings:["insetBlockStart","insetBlockEnd","insetInlineEnd","insetInlineStart"]},flexWrap:{values:{wrap:{defaultClass:"_1yep5z615x"},nowrap:{defaultClass:"_1yep5z615y"}}},insetBlockStart:{values:{0:{defaultClass:"_1yep5z615z"}}},insetBlockEnd:{values:{0:{defaultClass:"_1yep5z6160"}}},insetInlineStart:{values:{0:{defaultClass:"_1yep5z6161"}}},insetInlineEnd:{values:{0:{defaultClass:"_1yep5z6162"}}},flexShrink:{values:{0:{defaultClass:"_1yep5z6163"}}},flexGrow:{values:{0:{defaultClass:"_1yep5z6164"},1:{defaultClass:"_1yep5z6165"}}},width:{values:{full:{defaultClass:"_1yep5z6166"}}},height:{values:{full:{defaultClass:"_1yep5z6167"}}},cursor:{values:{pointer:{defaultClass:"_1yep5z6168"}}}}},{conditions:void 0,styles:{outline:{values:{none:{defaultClass:"_1yep5z6169"}}},outlineStyle:{values:{solid:{defaultClass:"_1yep5z616a"}}},outlineWidth:{values:{1:{defaultClass:"_1yep5z616b"},2:{defaultClass:"_1yep5z616c"}}},outlineOffset:{values:{1:{defaultClass:"_1yep5z616f"},2:{defaultClass:"_1yep5z616g"},"-2":{defaultClass:"_1yep5z616d"},"-1":{defaultClass:"_1yep5z616e"}}},border:{values:{none:{defaultClass:"_1yep5z616h"}}},borderStyle:{values:{solid:{defaultClass:"_1yep5z616i"},dashed:{defaultClass:"_1yep5z616j"}}},borderWidth:{values:{1:{defaultClass:"_1yep5z616k"},2:{defaultClass:"_1yep5z616l"}}}}}),m={elevation:{low:"0 0 4px 0 rgba(0, 0, 0, 0.4)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.15)"},opacity:{none:"0",low:"0.1",medium:"0.5",high:"0.9"},rounded:{xs:"2px",sm:"4px",md:"8px",lg:"12px",xl:"16px","2xl":"24px",full:"9999px"},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"12px",xl:"16px","2xl":"24px","3xl":"32px","4xl":"40px","5xl":"48px","6xl":"64px","7xl":"80px","8xl":"96px","9xl":"160px"},color:{support:{error:{subtler:"#ffebe9",subtle:"#ffd4ce",medium:"#c83c29",strong:"#8a2100"},success:{subtler:"#ecfeda",subtle:"#d4fcac",medium:"#4B8017",strong:"#2D4D0E"},warning:{subtler:"#ffecd4",subtle:"#ffd4a1",medium:"#bd5a00",strong:"#9f4c00"},info:{subtler:"#eff4fb",subtle:"#d3dcff",medium:"#4537de",strong:"#2b1cc1"}},focused:{primary:"#4537de",inset:"#ffffff"},background:{primary:{subtle:"#ffffff",medium:"#f6f9fd",strong:"#f0f3f9"},inverse:{subtle:"#717885",medium:"#3d434e",strong:"#2b2e36"},overlay:{subtle:"rgb(100% 100% 100% / 0.25)",medium:"rgb(5.49% 7.06% 9.41% / 0.5)",interactive:"rgb(27.1% 21.6% 87.1% / 0.25)"},secondary:{subtle:"#f0f3f9",medium:"#d7dce4",strong:"#a9aeb7"}},text:{primary:"#2b2e36",secondary:"#4d525d",helper:"#606671",placeholder:"#717885",inverse:"#ffffff",disabled:"rgb(16.9% 18% 21.2% / 0.5)"},icon:{primary:"#2b2e36",secondary:"#606671",inverse:"#ffffff",interactive:"#4537de",disabled:"rgb(16.9% 18% 21.2% / 0.5)"},border:{subtle:"#f0f3f9",medium:"#d7dce4",strong:"#a9aeb7",inverse:"#2b2e36",interactive:"#4537de",disabled:"#a9aeb7"},interactive:{primary:"#4537de",hovered:"#2b1cc1",active:"#190d94",visited:"#190d94",disabled:"#a9aeb7"},positive:{subtle:"#ffffff",medium:"#f6f9fd",strong:"#f0f3f9",interactive:"#4537de"}},typography:{heading:{h6:{regular:{font:'400 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},h5:{regular:{font:'400 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},h4:{regular:{font:'400 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h3:{regular:{font:'400 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h2:{regular:{font:'400 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h1:{regular:{font:'400 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}}},label:{sm:{regular:{font:'400 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},medium:{font:'500 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},semibold:{font:'600 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"}},md:{regular:{font:'400 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},lg:{regular:{font:'400 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}}},body:{sm:{regular:{font:'400 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},medium:{font:'500 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},semibold:{font:'600 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"}},md:{regular:{font:'400 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},lg:{regular:{font:'400 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}}}}},g={elevation:{low:"0 0 4px 0 rgba(0, 0, 0, 0.4)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.15)"},opacity:{none:"0",low:"0.1",medium:"0.5",high:"0.9"},rounded:{xs:"2px",sm:"4px",md:"8px",lg:"12px",xl:"16px","2xl":"24px",full:"9999px"},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"12px",xl:"16px","2xl":"24px","3xl":"32px","4xl":"40px","5xl":"48px","6xl":"64px","7xl":"80px","8xl":"96px","9xl":"160px"},color:{support:{error:{subtler:"#711b00",subtle:"#b53007",medium:"#fe7a68",strong:"#ffd4ce"},success:{subtler:"#223a03",subtle:"#3C6612",medium:"#80CC34",strong:"#ecfeda"},warning:{subtler:"#562800",subtle:"#bd5a00",medium:"#eb7f00",strong:"#ffd4a1"},info:{subtler:"#190d94",subtle:"#4537de",medium:"#777cf0",strong:"#d3dcff"}},focused:{primary:"#a8bbf8",inset:"#2b2e36"},background:{primary:{subtle:"#2b2e36",medium:"#21242c",strong:"#0e1218"},inverse:{subtle:"#717885",medium:"#f0f3f9",strong:"#ffffff"},secondary:{subtle:"#3d434e",medium:"#4d525d",strong:"#606671"},overlay:{subtle:"rgb(100% 100% 100% / 0.25)",medium:"rgb(5.49% 7.06% 9.41% / 0.5)",interactive:"rgb(65.9% 73.3% 97.3% / 0.25)"}},text:{primary:"#ffffff",secondary:"#d7dce4",helper:"#a9aeb7",placeholder:"#717885",inverse:"#2b2e36",disabled:"rgb(100% 100% 100% / 0.5)"},icon:{primary:"#ffffff",secondary:"#a9aeb7",inverse:"#2b2e36",interactive:"#a8bbf8",disabled:"rgb(100% 100% 100% / 0.5)"},border:{subtle:"#3d434e",medium:"#4d525d",strong:"#606671",inverse:"#ffffff",interactive:"#a8bbf8",disabled:"#606671"},interactive:{primary:"#a8bbf8",hovered:"#d3dcff",active:"#eff4fb",visited:"#eff4fb",disabled:"#606671"},positive:{subtle:"#f0f3f9",medium:"#f6f9fd",strong:"#ffffff",interactive:"#4537de"}},typography:{heading:{h6:{regular:{font:'400 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},h5:{regular:{font:'400 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},h4:{regular:{font:'400 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.375rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h3:{regular:{font:'400 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.5rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h2:{regular:{font:'400 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 1.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}},h1:{regular:{font:'400 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},medium:{font:'500 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"},semibold:{font:'600 2rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0"}}},label:{sm:{regular:{font:'400 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},medium:{font:'500 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},semibold:{font:'600 0.688rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"}},md:{regular:{font:'400 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.75rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},lg:{regular:{font:'400 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}}},body:{sm:{regular:{font:'400 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},medium:{font:'500 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"},semibold:{font:'600 0.75rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.05px"}},md:{regular:{font:'400 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 0.875rem/1.375 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}},lg:{regular:{font:'400 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},medium:{font:'500 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"},semibold:{font:'600 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif',letterSpacing:"0.1px"}}}}},v={elevation:{low:"var(--bui-elevation-low)",medium:"var(--bui-elevation-medium)"},opacity:{none:"var(--bui-opacity-none)",low:"var(--bui-opacity-low)",medium:"var(--bui-opacity-medium)",high:"var(--bui-opacity-high)"},rounded:{xs:"var(--bui-rounded-xs)",sm:"var(--bui-rounded-sm)",md:"var(--bui-rounded-md)",lg:"var(--bui-rounded-lg)",xl:"var(--bui-rounded-xl)","2xl":"var(--bui-rounded-2-xl)",full:"var(--bui-rounded-full)"},spacing:{xs:"var(--bui-spacing-xs)",sm:"var(--bui-spacing-sm)",md:"var(--bui-spacing-md)",lg:"var(--bui-spacing-lg)",xl:"var(--bui-spacing-xl)","2xl":"var(--bui-spacing-2-xl)","3xl":"var(--bui-spacing-3-xl)","4xl":"var(--bui-spacing-4-xl)","5xl":"var(--bui-spacing-5-xl)","6xl":"var(--bui-spacing-6-xl)","7xl":"var(--bui-spacing-7-xl)","8xl":"var(--bui-spacing-8-xl)","9xl":"var(--bui-spacing-9-xl)"},color:{support:{error:{subtler:"var(--bui-color-support-error-subtler)",subtle:"var(--bui-color-support-error-subtle)",medium:"var(--bui-color-support-error-medium)",strong:"var(--bui-color-support-error-strong)"},success:{subtler:"var(--bui-color-support-success-subtler)",subtle:"var(--bui-color-support-success-subtle)",medium:"var(--bui-color-support-success-medium)",strong:"var(--bui-color-support-success-strong)"},warning:{subtler:"var(--bui-color-support-warning-subtler)",subtle:"var(--bui-color-support-warning-subtle)",medium:"var(--bui-color-support-warning-medium)",strong:"var(--bui-color-support-warning-strong)"},info:{subtler:"var(--bui-color-support-info-subtler)",subtle:"var(--bui-color-support-info-subtle)",medium:"var(--bui-color-support-info-medium)",strong:"var(--bui-color-support-info-strong)"}},focused:{primary:"var(--bui-color-focused-primary)",inset:"var(--bui-color-focused-inset)"},background:{primary:{subtle:"var(--bui-color-background-primary-subtle)",medium:"var(--bui-color-background-primary-medium)",strong:"var(--bui-color-background-primary-strong)"},inverse:{subtle:"var(--bui-color-background-inverse-subtle)",medium:"var(--bui-color-background-inverse-medium)",strong:"var(--bui-color-background-inverse-strong)"},secondary:{subtle:"var(--bui-color-background-secondary-subtle)",medium:"var(--bui-color-background-secondary-medium)",strong:"var(--bui-color-background-secondary-strong)"},overlay:{subtle:"var(--bui-color-background-overlay-subtle)",medium:"var(--bui-color-background-overlay-medium)",interactive:"var(--bui-color-background-overlay-interactive)"}},text:{primary:"var(--bui-color-text-primary)",secondary:"var(--bui-color-text-secondary)",helper:"var(--bui-color-text-helper)",placeholder:"var(--bui-color-text-placeholder)",inverse:"var(--bui-color-text-inverse)",disabled:"var(--bui-color-text-disabled)"},icon:{primary:"var(--bui-color-icon-primary)",secondary:"var(--bui-color-icon-secondary)",inverse:"var(--bui-color-icon-inverse)",interactive:"var(--bui-color-icon-interactive)",disabled:"var(--bui-color-icon-disabled)"},border:{subtle:"var(--bui-color-border-subtle)",medium:"var(--bui-color-border-medium)",strong:"var(--bui-color-border-strong)",inverse:"var(--bui-color-border-inverse)",interactive:"var(--bui-color-border-interactive)",disabled:"var(--bui-color-border-disabled)"},interactive:{primary:"var(--bui-color-interactive-primary)",hovered:"var(--bui-color-interactive-hovered)",active:"var(--bui-color-interactive-active)",visited:"var(--bui-color-interactive-visited)",disabled:"var(--bui-color-interactive-disabled)"},positive:{subtle:"var(--bui-color-positive-subtle)",medium:"var(--bui-color-positive-medium)",strong:"var(--bui-color-positive-strong)",interactive:"var(--bui-color-positive-interactive)"}},typography:{heading:{h6:{regular:{font:"var(--bui-typography-heading-h-6-regular-font)",letterSpacing:"var(--bui-typography-heading-h-6-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-6-medium-font)",letterSpacing:"var(--bui-typography-heading-h-6-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-6-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-6-semibold-letter-spacing)"}},h5:{regular:{font:"var(--bui-typography-heading-h-5-regular-font)",letterSpacing:"var(--bui-typography-heading-h-5-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-5-medium-font)",letterSpacing:"var(--bui-typography-heading-h-5-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-5-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-5-semibold-letter-spacing)"}},h4:{regular:{font:"var(--bui-typography-heading-h-4-regular-font)",letterSpacing:"var(--bui-typography-heading-h-4-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-4-medium-font)",letterSpacing:"var(--bui-typography-heading-h-4-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-4-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-4-semibold-letter-spacing)"}},h3:{regular:{font:"var(--bui-typography-heading-h-3-regular-font)",letterSpacing:"var(--bui-typography-heading-h-3-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-3-medium-font)",letterSpacing:"var(--bui-typography-heading-h-3-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-3-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-3-semibold-letter-spacing)"}},h2:{regular:{font:"var(--bui-typography-heading-h-2-regular-font)",letterSpacing:"var(--bui-typography-heading-h-2-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-2-medium-font)",letterSpacing:"var(--bui-typography-heading-h-2-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-2-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-2-semibold-letter-spacing)"}},h1:{regular:{font:"var(--bui-typography-heading-h-1-regular-font)",letterSpacing:"var(--bui-typography-heading-h-1-regular-letter-spacing)"},medium:{font:"var(--bui-typography-heading-h-1-medium-font)",letterSpacing:"var(--bui-typography-heading-h-1-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-heading-h-1-semibold-font)",letterSpacing:"var(--bui-typography-heading-h-1-semibold-letter-spacing)"}}},label:{sm:{regular:{font:"var(--bui-typography-label-sm-regular-font)",letterSpacing:"var(--bui-typography-label-sm-regular-letter-spacing)"},medium:{font:"var(--bui-typography-label-sm-medium-font)",letterSpacing:"var(--bui-typography-label-sm-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-label-sm-semibold-font)",letterSpacing:"var(--bui-typography-label-sm-semibold-letter-spacing)"}},md:{regular:{font:"var(--bui-typography-label-md-regular-font)",letterSpacing:"var(--bui-typography-label-md-regular-letter-spacing)"},medium:{font:"var(--bui-typography-label-md-medium-font)",letterSpacing:"var(--bui-typography-label-md-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-label-md-semibold-font)",letterSpacing:"var(--bui-typography-label-md-semibold-letter-spacing)"}},lg:{regular:{font:"var(--bui-typography-label-lg-regular-font)",letterSpacing:"var(--bui-typography-label-lg-regular-letter-spacing)"},medium:{font:"var(--bui-typography-label-lg-medium-font)",letterSpacing:"var(--bui-typography-label-lg-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-label-lg-semibold-font)",letterSpacing:"var(--bui-typography-label-lg-semibold-letter-spacing)"}}},body:{sm:{regular:{font:"var(--bui-typography-body-sm-regular-font)",letterSpacing:"var(--bui-typography-body-sm-regular-letter-spacing)"},medium:{font:"var(--bui-typography-body-sm-medium-font)",letterSpacing:"var(--bui-typography-body-sm-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-body-sm-semibold-font)",letterSpacing:"var(--bui-typography-body-sm-semibold-letter-spacing)"}},md:{regular:{font:"var(--bui-typography-body-md-regular-font)",letterSpacing:"var(--bui-typography-body-md-regular-letter-spacing)"},medium:{font:"var(--bui-typography-body-md-medium-font)",letterSpacing:"var(--bui-typography-body-md-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-body-md-semibold-font)",letterSpacing:"var(--bui-typography-body-md-semibold-letter-spacing)"}},lg:{regular:{font:"var(--bui-typography-body-lg-regular-font)",letterSpacing:"var(--bui-typography-body-lg-regular-letter-spacing)"},medium:{font:"var(--bui-typography-body-lg-medium-font)",letterSpacing:"var(--bui-typography-body-lg-medium-letter-spacing)"},semibold:{font:"var(--bui-typography-body-lg-semibold-font)",letterSpacing:"var(--bui-typography-body-lg-semibold-letter-spacing)"}}}}},y=(0,r.mapValues)((0,r.omit)({mobile:0,tablet:768,desktop:1280},"mobile"),(e=>`screen and (min-width: ${e}px)`)),b=e=>t=>t&&0!==Object.keys(t).length?{[y[e]]:t}:{},w=(b("tablet"),b("desktop"),{dialog:{row:{padding:{vertical:{xs:["xs","sm","sm"],sm:["sm","md","md"],md:["md","lg","lg"],lg:["lg","xl","xl"],xl:["lg","2xl","2xl"]},horizontal:{lg:["lg","2xl","2xl"],md:["sm","xl","xl"],sm:["sm","lg","lg"]}}}}});var x=p;x.base=p,x.variants=f,x.compoundVariants=h},8840:(e,t,n)=>{"use strict";n.d(t,{AK:()=>a,CB:()=>g,SD:()=>s,TI:()=>u,US:()=>d,Zw:()=>l,_t:()=>v,gn:()=>h,kG:()=>i,mS:()=>f,tG:()=>m});var r=n(58197),o=n(20770);function i(e,t){if(!e)throw new Error(t||"Invariant failed")}function a(...e){let t=e.filter(Boolean),n=[];for(let e of t)if(Array.isArray(e))n.push(a(...e));else if("object"==typeof e){let t=Object.keys(e);for(let r of t)e[r]&&n.push(r)}else"string"==typeof e&&n.push(e);return n.join(" ")}function s(e,t){return e?"string"==typeof e?t.querySelector(e):e instanceof HTMLElement?e:"current"in e?e.current:void 0:null}function l({text:e,fontSize:t,fontFamily:n="Arial",fontWeight:r="normal",fontStyle:o="normal"}){let i=document.createElement("canvas").getContext("2d");if(!i)return{width:0,height:0};i.font=`${o} ${r} ${t}px ${n}`;let a=i.measureText(e);return{width:a.width,height:a.actualBoundingBoxAscent+a.actualBoundingBoxDescent}}function u({text:e,maxWidth:t,initialFontSize:n=50,fontFamily:r="Arial",fontWeight:o="normal",fontStyle:i="normal"}){let{width:a}=l({text:e,fontSize:n,fontFamily:r,fontWeight:o,fontStyle:i}),s=n,u=a;for(;u>t;)s-=.5,u=l({text:e,fontSize:s,fontFamily:r,fontWeight:o,fontStyle:i}).width;return Math.max(s,1)}function c(e,t,n,r){return[(e+n)/2,(t+r)/2]}function d(e){if(!e.length)return"";let t=["M",...e[0],"Q"];for(let n=0;n!!e)))}function m(e,t){i(t>=0&&t<=100,"Percent must be between 0 and 100");let n=(0,r.lu)(e),o=n.getChannelValue("red"),a=n.getChannelValue("green"),s=n.getChannelValue("blue"),l=Math.round(o+(255-o)*t/100),u=Math.round(a+(255-a)*t/100),c=Math.round(s+(255-s)*t/100);return`#${l.toString(16)}${u.toString(16)}${c.toString(16)}`}function g(e,t){if((e=e.trim()).includes(" "))return!1;try{return new URL(e),!0}catch{return!!t&&g(`https://${e}`)}}function v(e,t=!1){return(0,o.V5)()?e.replace("Ctrl+",t?"⌘":"Cmd+").replace("Alt+",t?"⌥":"Option+").replace("Shift+",t?"⇧":"Shift+").replace("Enter+",t?"↩":"Enter+").replace("Space+",t?"␣":"Space+").replace("Enter",t?"↩":"Enter"):e}},41473:(e,t,n)=>{"use strict";n.d(t,{CN:()=>i});n(2278);new Map;new Map;const r=["hours","minutes","seconds"];let o=new Map;class i{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map((e=>({...e,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...r.map((e=>({...e,source:"endRange"})))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return function(){null==u&&(u="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle);return u}()&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=s(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find((e=>"hour"===e.type)).value,10),o=parseInt(n.formatToParts(new Date(2020,2,3,23)).find((e=>"hour"===e.type)).value,10);if(0===r&&23===o)return"h23";if(24===r&&23===o)return"h24";if(0===r&&11===o)return"h11";if(12===r&&11===o)return"h12";throw new Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=s(e,t),this.options=t}}const a={true:{ja:"h11"},false:{}};function s(e,t={}){if("boolean"==typeof t.hour12&&function(){null==l&&(l="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0)));return l}()){t={...t};let n=a[String(t.hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=null!=n?n:r,delete t.hour12}let n=e+(t?Object.entries(t).sort(((e,t)=>e[0]{"use strict";n.d(t,{d:()=>c,e:()=>s});let r=new Map,o=!1;try{o="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(e){}let i=!1;try{i="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(e){}const a={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class s{format(e){let t="";if(t=o||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);if("never"===t)return e.format(Math.abs(n));{let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),o=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!==[...o].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(o,"+").replace("!!!",r)}return e.format(n)}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!i){var n;let{unit:e,unitDisplay:r="short",locale:o}=this.resolvedOptions();if(!e)return t;let i=null===(n=a[e])||void 0===n?void 0:n[r];t+=i[o]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t= start date");return`${this.format(e)} – ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map((e=>({...e,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...r.map((e=>({...e,source:"endRange"})))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return o||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),i||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`);if("unit"===t.style&&!i){var o;let{unit:e,unitDisplay:n="short"}=t;if(!e)throw new Error('unit option must be provided with style: "unit"');if(!(null===(o=a[e])||void 0===o?void 0:o[n]))throw new Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let s=e+(t?Object.entries(t).sort(((e,t)=>e[0]e[0]-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new c(this.locale,e).parse(new s(this.locale,e).format(n))}return"accounting"===this.options.currencySign&&l.test(e)&&(n*=-1),n}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=(e=e.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(e=v(e,".",this.symbols.group))),"fr-FR"===this.options.locale&&(e=v(e,".",String.fromCharCode(8239))),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),(!this.symbols.group||!e.startsWith(this.symbols.group))&&(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&(this.symbols.group&&(e=v(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length))}constructor(e,t={}){var n,r;this.locale=e,this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,n,r){var o,i,a,s;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),u=l.formatToParts(-10000.111),c=l.formatToParts(10000.111),d=g.map((e=>l.formatToParts(e)));var p;let h=null!==(p=null===(o=u.find((e=>"minusSign"===e.type)))||void 0===o?void 0:o.value)&&void 0!==p?p:"-",f=null===(i=c.find((e=>"plusSign"===e.type)))||void 0===i?void 0:i.value;f||"exceptZero"!==(null==r?void 0:r.signDisplay)&&"always"!==(null==r?void 0:r.signDisplay)||(f="+");let v=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),b=null===(a=v.find((e=>"decimal"===e.type)))||void 0===a?void 0:a.value,w=null===(s=u.find((e=>"group"===e.type)))||void 0===s?void 0:s.value,x=u.filter((e=>!m.has(e.type))).map((e=>y(e.value))),D=d.flatMap((e=>e.filter((e=>!m.has(e.type))).map((e=>y(e.value))))),C=[...new Set([...x,...D])].sort(((e,t)=>t.length-e.length)),E=0===C.length?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(S.map(((e,t)=>[e,t]))),P=new RegExp(`[${S.join("")}]`,"g");return{minusSign:h,plusSign:f,decimal:b,group:w,literals:E,numeral:P,index:e=>String(_.get(e))}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((null!==(n=this.options.minimumFractionDigits)&&void 0!==n?n:0)>18||(null!==(r=this.options.maximumFractionDigits)&&void 0!==r?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const m=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),g=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function v(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function y(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},46050:(e,t,n)=>{"use strict";n.d(t,{E:()=>u,J:()=>a});const r=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");let i;class a{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw new Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[r];if(void 0===i){let e=window[o];if(!e)return null;i={};for(let n in e)i[n]=new a({[t]:e[n]},t)}let n=null==i?void 0:i[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings={...e},this.defaultLocale=t}}const s=new Map,l=new Map;class u{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let o=this.locale+":"+n,i=s.get(o);return i||(i=new Intl.PluralRules(this.locale,{type:n}),s.set(o,i)),r=t[i.select(e)]||t.other,"function"==typeof r?r():r}number(e){let t=l.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),l.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}},86254:(e,t,n)=>{"use strict";n.d(t,{do:()=>V});var r,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var a,s=function(e){return Object.freeze(e)},l=function(e,t){this.inlineSize=e,this.blockSize=t,s(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,s(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(c(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},p=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},h="undefined"!=typeof window?window:{},f=new WeakMap,m=/auto|scroll/,g=/^tb|vertical/,v=/msie|trident/i.test(h.navigator&&h.navigator.userAgent),y=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new l((n?t:e)||0,(n?e:t)||0)},w=s({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new u(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(d(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),o=!v&&"border-box"===n.boxSizing,i=g.test(n.writingMode||""),a=!r&&m.test(n.overflowY||""),l=!r&&m.test(n.overflowX||""),p=r?0:y(n.paddingTop),h=r?0:y(n.paddingRight),x=r?0:y(n.paddingBottom),D=r?0:y(n.paddingLeft),C=r?0:y(n.borderTopWidth),E=r?0:y(n.borderRightWidth),S=r?0:y(n.borderBottomWidth),_=D+h,P=p+x,k=(r?0:y(n.borderLeftWidth))+E,A=C+S,z=l?e.offsetHeight-A-e.clientHeight:0,T=a?e.offsetWidth-k-e.clientWidth:0,O=o?_+k:0,I=o?P+A:0,F=r?r.width:y(n.width)-O-T,M=r?r.height:y(n.height)-I-z,R=F+_+T+k,j=M+P+z+A,B=s({devicePixelContentBoxSize:b(Math.round(F*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:b(R,j,i),contentBoxSize:b(F,M,i),contentRect:new u(D,p,F,M)});return f.set(e,B),B},D=function(e,t,n){var o=x(e,n),i=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return s;case r.BORDER_BOX:return i;default:return a}},C=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=s([t.borderBoxSize]),this.contentBoxSize=s([t.contentBoxSize]),this.devicePixelContentBoxSize=s([t.devicePixelContentBoxSize])},E=function(e){if(d(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];o.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new C(t.target),o=E(t.target);r.push(n),t.lastReportedSize=D(t.target,t.observedBox),oe?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},P=function(){var e,t=0;for(_(t);o.some((function(e){return e.activeTargets.length>0}));)t=S(),_(t);return o.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:i}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=i),window.dispatchEvent(e)),t>0},k=[],A=function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return k.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent="".concat(t?t--:t++)}}k.push(e),a()},z=0,T={attributes:!0,characterData:!0,childList:!0,subtree:!0},O=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],I=function(e){return void 0===e&&(e=0),Date.now()+e},F=!1,M=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!F){F=!0;var n,r=I(e);n=function(){var n=!1;try{n=P()}finally{if(F=!1,e=r-I(),!z)return;n?t.run(1e3):e>0?t.run(e):t.start()}},A((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,T)};document.body?t():h.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),O.forEach((function(t){return h.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),O.forEach((function(t){return h.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),R=function(e){!z&&e>0&&M.start(),!(z+=e)&&M.stop()},j=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=D(this.target,this.observedBox,!0);return e=this.target,c(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),B=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},N=new WeakMap,L=function(e,t){for(var n=0;n=0&&(i&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),R(-1))},e.disconnect=function(e){var t=this,n=N.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");K.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");K.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");K.unobserve(this,e)},e.prototype.disconnect=function(){K.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},53912:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}n.d(t,{M:()=>r})},21286:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(67294),o=n(47257),i=n(72261),a=n(8145);function s(e){const t=e+"CollectionProvider",[n,s]=(0,o.b)(t),[l,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{const{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return r.createElement(l,{scope:t,itemMap:i,collectionRef:o},n)},d=e+"CollectionSlot",p=r.forwardRef(((e,t)=>{const{scope:n,children:o}=e,s=u(d,n),l=(0,i.e)(t,s.collectionRef);return r.createElement(a.g7,{ref:l},o)})),h=e+"CollectionItemSlot",f="data-radix-collection-item",m=r.forwardRef(((e,t)=>{const{scope:n,children:o,...s}=e,l=r.useRef(null),c=(0,i.e)(t,l),d=u(h,n);return r.useEffect((()=>(d.itemMap.set(l,{ref:l,...s}),()=>{d.itemMap.delete(l)}))),r.createElement(a.g7,{[f]:"",ref:c},o)}));return[{Provider:c,Slot:p,ItemSlot:m},function(t){const n=u(e+"CollectionConsumer",t);return r.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},s]}},72261:(e,t,n)=>{"use strict";n.d(t,{F:()=>o,e:()=>i});var r=n(67294);function o(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function i(...e){return(0,r.useCallback)(o(...e),e)}},47257:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(67294);function o(e,t=[]){let n=[];const o=()=>{const t=n.map((e=>(0,r.createContext)(e)));return function(n){const o=(null==n?void 0:n[e])||t;return(0,r.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:o}})),[n,o])}};return o.scopeName=e,[function(t,o){const i=(0,r.createContext)(o),a=n.length;function s(t){const{scope:n,children:o,...s}=t,l=(null==n?void 0:n[e][a])||i,u=(0,r.useMemo)((()=>s),Object.values(s));return(0,r.createElement)(l.Provider,{value:u},o)}return n=[...n,o],s.displayName=t+"Provider",[s,function(n,s){const l=(null==s?void 0:s[e][a])||i,u=(0,r.useContext)(l);if(u)return u;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},i(o,...t)]}function i(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,r.useMemo)((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return n.scopeName=t.scopeName,n}},69409:(e,t,n)=>{"use strict";n.d(t,{gm:()=>i});var r=n(67294);const o=(0,r.createContext)(void 0);function i(e){const t=(0,r.useContext)(o);return e||t||"ltr"}},48923:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;tf});var o=n(67294),i=n(53912),a=n(84178),s=n(72261),l=n(88751);const u="dismissableLayer.update",c="dismissableLayer.pointerDownOutside",d="dismissableLayer.focusOutside";let p;const h=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=(0,o.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:x,...D}=e,C=(0,o.useContext)(h),[E,S]=(0,o.useState)(null),_=null!==(n=null==E?void 0:E.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,P]=(0,o.useState)({}),k=(0,s.e)(t,(e=>S(e))),A=Array.from(C.layers),[z]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),T=A.indexOf(z),O=E?A.indexOf(E):-1,I=C.layersWithOutsidePointerEventsDisabled.size>0,F=O>=T,M=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),r=(0,o.useRef)(!1),i=(0,o.useRef)((()=>{}));return(0,o.useEffect)((()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){g(c,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}r.current=!1},o=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...C.branches].some((e=>e.contains(t)));F&&!n&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())}),_),R=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),r=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{const e=e=>{if(e.target&&!r.current){g(d,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...C.branches].some((e=>e.contains(t)))||(null==b||b(e),null==w||w(e),e.defaultPrevented||null==x||x())}),_);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e);(0,o.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{O===C.layers.size-1&&(null==v||v(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))}),_),(0,o.useEffect)((()=>{if(E)return f&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(p=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(E)),C.layers.add(E),m(),()=>{f&&1===C.layersWithOutsidePointerEventsDisabled.size&&(_.body.style.pointerEvents=p)}}),[E,_,f,C]),(0,o.useEffect)((()=>()=>{E&&(C.layers.delete(E),C.layersWithOutsidePointerEventsDisabled.delete(E),m())}),[E,C]),(0,o.useEffect)((()=>{const e=()=>P({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}),[]),(0,o.createElement)(a.WV.div,r({},D,{ref:k,style:{pointerEvents:I?F?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,R.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,M.onPointerDownCapture)}))}));function m(){const e=new CustomEvent(u);document.dispatchEvent(e)}function g(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,a.jH)(o,i):o.dispatchEvent(i)}},12921:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;tnt,oC:()=>Je,VY:()=>Ye,ck:()=>Qe,Uv:()=>Xe,Ee:()=>et,Rk:()=>tt,fC:()=>Ge,xz:()=>We});var o=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(16180),u=n(84178);function c(){return c=Object.assign||function(e){for(var t=1;t{var t;const{__scopeMenu:n,open:r=!1,children:i,dir:a,onOpenChange:s,modal:l=!0}=e,u=F(n),[c,d]=(0,o.useState)(null),h=(0,o.useRef)(!1),f=(0,D.W)(s),m=(0,p.gm)(a),g=null!==(t=null==c?void 0:c.ownerDocument)&&void 0!==t?t:document;return(0,o.useEffect)((()=>{const e=()=>{h.current=!0,g.addEventListener("pointerdown",t,{capture:!0,once:!0}),g.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return g.addEventListener("keydown",e,{capture:!0}),()=>{g.removeEventListener("keydown",e,{capture:!0}),g.removeEventListener("pointerdown",t,{capture:!0}),g.removeEventListener("pointermove",t,{capture:!0})}}),[g]),(0,o.createElement)(v.fC,u,(0,o.createElement)(R,{scope:n,open:r,onOpenChange:f,content:c,onContentChange:d},(0,o.createElement)(B,{scope:n,onClose:(0,o.useCallback)((()=>f(!1)),[f]),isUsingKeyboardRef:h,dir:m,modal:l},i)))},K=(0,o.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e,i=F(n);return(0,o.createElement)(v.ee,c({},i,r,{ref:t}))})),V="MenuPortal",[q,H]=O(V,{forceMount:void 0}),Z=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=j(V,t);return(0,o.createElement)(q,{scope:t,forceMount:n},(0,o.createElement)(b.z,{present:n||a.open},(0,o.createElement)(y.h,{asChild:!0,container:i},r)))},U="MenuContent",[$,G]=O(U),W=(0,o.forwardRef)(((e,t)=>{const n=H(U,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=j(U,e.__scopeMenu),s=N(U,e.__scopeMenu);return(0,o.createElement)(A.Provider,{scope:e.__scopeMenu},(0,o.createElement)(b.z,{present:r||a.open},(0,o.createElement)(A.Slot,{scope:e.__scopeMenu},s.modal?(0,o.createElement)(X,c({},i,{ref:t})):(0,o.createElement)(Y,c({},i,{ref:t})))))})),X=(0,o.forwardRef)(((e,t)=>{const n=j(U,e.__scopeMenu),r=(0,o.useRef)(null),s=(0,a.e)(t,r);return(0,o.useEffect)((()=>{const e=r.current;if(e)return(0,C.Ry)(e)}),[]),(0,o.createElement)(Q,c({},e,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),Y=(0,o.forwardRef)(((e,t)=>{const n=j(U,e.__scopeMenu);return(0,o.createElement)(Q,c({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),Q=(0,o.forwardRef)(((e,t)=>{var n,r;const{__scopeMenu:s,loop:l=!1,trapFocus:u,onOpenAutoFocus:d,onCloseAutoFocus:p,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:D,onInteractOutside:C,onDismiss:S,disableOutsideScroll:k,...A}=e,T=j(U,s),O=N(U,s),I=F(s),R=M(s),B=z(s),[L,K]=(0,o.useState)(null),V=(0,o.useRef)(null),q=(0,a.e)(t,V,T.onContentChange),H=(0,o.useRef)(0),Z=(0,o.useRef)(""),G=(0,o.useRef)(0),W=(0,o.useRef)(null),X=(0,o.useRef)("right"),Y=(0,o.useRef)(0),Q=null!==(n=null===(r=V.current)||void 0===r?void 0:r.ownerDocument)&&void 0!==n?n:document,J=k?E.f:o.Fragment,ee=k?{as:x.g7,allowPinchZoom:!0}:void 0,te=e=>{var t,n;const r=Z.current+e,o=B().filter((e=>!e.disabled)),i=Q.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,s=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=(a=e,s=Math.max(o,0),a.map(((e,t)=>a[(s+t)%a.length])));var a,s;1===r.length&&(i=i.filter((e=>e!==n)));const l=i.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return l!==n?l:void 0}(o.map((e=>e.textValue)),r,a),l=null===(n=o.find((e=>e.textValue===s)))||void 0===n?void 0:n.ref.current;!function e(t){var n;Z.current=t;const r=null!==(n=Q.defaultView)&&void 0!==n?n:window;r.clearTimeout(H.current),""!==t&&(H.current=r.setTimeout((()=>e("")),1e3))}(r),l&&setTimeout((()=>l.focus()))};(0,o.useEffect)((()=>()=>{var e;return null===(e=Q.defaultView)||void 0===e?void 0:e.clearTimeout(H.current)}),[Q]),(0,f.EW)(Q);const ne=(0,o.useCallback)((e=>{var t,n;return X.current===(null===(t=W.current)||void 0===t?void 0:t.side)&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;er!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null===(n=W.current)||void 0===n?void 0:n.area)}),[]);return(0,o.createElement)($,{scope:s,searchRef:Z,onItemEnter:(0,o.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),onItemLeave:(0,o.useCallback)((e=>{var t;ne(e)||(null===(t=V.current)||void 0===t||t.focus(),K(null))}),[ne]),onTriggerLeave:(0,o.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),pointerGraceTimerRef:G,onPointerGraceIntentChange:(0,o.useCallback)((e=>{W.current=e}),[])},(0,o.createElement)(J,ee,(0,o.createElement)(m.M,{asChild:!0,trapped:u,onMountAutoFocus:(0,i.M)(d,(e=>{var t;e.preventDefault(),null===(t=V.current)||void 0===t||t.focus()})),onUnmountAutoFocus:p},(0,o.createElement)(h.XB,{asChild:!0,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:D,onInteractOutside:C,onDismiss:S},(0,o.createElement)(w.fC,c({asChild:!0},R,{dir:O.dir,orientation:"vertical",loop:l,currentTabStopId:L,onCurrentTabStopIdChange:K,onEntryFocus:e=>{O.isUsingKeyboardRef.current||e.preventDefault()}}),(0,o.createElement)(v.VY,c({role:"menu","aria-orientation":"vertical","data-state":ye(T.open),"data-radix-menu-content":"",dir:O.dir},I,A,{ref:q,style:{outline:"none",...A.style},onKeyDown:(0,i.M)(A.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&te(e.key));const o=V.current;if(e.target!==o)return;if(!P.includes(e.key))return;e.preventDefault();const i=B().filter((e=>!e.disabled)).map((e=>e.ref.current));_.includes(e.key)&&i.reverse(),function(e,t=document){const n=t.activeElement;for(const r of e){if(r===n)return;if(r.focus(),t.activeElement!==n)return}}(i,Q)})),onBlur:(0,i.M)(e.onBlur,(e=>{var t;e.currentTarget.contains(e.target)||((null!==(t=Q.defaultView)&&void 0!==t?t:window).clearTimeout(H.current),Z.current="")})),onPointerMove:(0,i.M)(e.onPointerMove,xe((e=>{const t=e.target,n=Y.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>Y.current?"right":"left";X.current=t,Y.current=e.clientX}})))})))))))})),J=(0,o.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,o.createElement)(u.WV.div,c({role:"group"},r,{ref:t}))})),ee="MenuItem",te="menu.itemSelect",ne=(0,o.forwardRef)(((e,t)=>{const{disabled:n=!1,onSelect:r,...s}=e,l=(0,o.useRef)(null),d=N(ee,e.__scopeMenu),p=G(ee,e.__scopeMenu),h=(0,a.e)(t,l),f=(0,o.useRef)(!1);return(0,o.createElement)(re,c({},s,{ref:h,disabled:n,onClick:(0,i.M)(e.onClick,(()=>{const e=l.current;if(!n&&e){const t=new CustomEvent(te,{bubbles:!0,cancelable:!0});e.addEventListener(te,(e=>null==r?void 0:r(e)),{once:!0}),(0,u.jH)(e,t),t.defaultPrevented?f.current=!1:d.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),f.current=!0},onPointerUp:(0,i.M)(e.onPointerUp,(e=>{var t;f.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{const t=""!==p.searchRef.current;n||t&&" "===e.key||S.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),re=(0,o.forwardRef)(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:s,...l}=e,d=G(ee,n),p=M(n),h=(0,o.useRef)(null),f=(0,a.e)(t,h),[m,g]=(0,o.useState)(!1),[v,y]=(0,o.useState)("");return(0,o.useEffect)((()=>{const e=h.current;var t;e&&y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[l.children]),(0,o.createElement)(A.ItemSlot,{scope:n,disabled:r,textValue:null!=s?s:v},(0,o.createElement)(w.ck,c({asChild:!0},p,{focusable:!r}),(0,o.createElement)(u.WV.div,c({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},l,{ref:f,onPointerMove:(0,i.M)(e.onPointerMove,xe((e=>{if(r)d.onItemLeave(e);else if(d.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus()}}))),onPointerLeave:(0,i.M)(e.onPointerLeave,xe((e=>d.onItemLeave(e)))),onFocus:(0,i.M)(e.onFocus,(()=>g(!0))),onBlur:(0,i.M)(e.onBlur,(()=>g(!1)))}))))})),oe=(0,o.forwardRef)(((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return(0,o.createElement)(pe,{scope:e.__scopeMenu,checked:n},(0,o.createElement)(ne,c({role:"menuitemcheckbox","aria-checked":be(n)?"mixed":n},a,{ref:t,"data-state":we(n),onSelect:(0,i.M)(a.onSelect,(()=>null==r?void 0:r(!!be(n)||!n)),{checkForDefaultPrevented:!1})})))})),ie="MenuRadioGroup",[ae,se]=O(ie,{value:void 0,onValueChange:()=>{}}),le=(0,o.forwardRef)(((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=(0,D.W)(r);return(0,o.createElement)(ae,{scope:e.__scopeMenu,value:n,onValueChange:a},(0,o.createElement)(J,c({},i,{ref:t})))})),ue="MenuRadioItem",ce=(0,o.forwardRef)(((e,t)=>{const{value:n,...r}=e,a=se(ue,e.__scopeMenu),s=n===a.value;return(0,o.createElement)(pe,{scope:e.__scopeMenu,checked:s},(0,o.createElement)(ne,c({role:"menuitemradio","aria-checked":s},r,{ref:t,"data-state":we(s),onSelect:(0,i.M)(r.onSelect,(()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)}),{checkForDefaultPrevented:!1})})))})),de="MenuItemIndicator",[pe,he]=O(de,{checked:!1}),fe=(0,o.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e,i=F(n);return(0,o.createElement)(v.Eh,c({},i,r,{ref:t}))})),me="MenuSub",[ge,ve]=O(me);function ye(e){return e?"open":"closed"}function be(e){return"indeterminate"===e}function we(e){return be(e)?"indeterminate":e?"checked":"unchecked"}function xe(e){return t=>"mouse"===t.pointerType?e(t):void 0}const De=L,Ce=K,Ee=Z,Se=W,_e=ne,Pe=oe,ke=le,Ae=ce,ze=fe,Te="DropdownMenu",[Oe,Ie]=(0,s.b)(Te,[I]),Fe=I(),[Me,Re]=Oe(Te),je=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:a,defaultOpen:s,onOpenChange:u,modal:c=!0}=e,d=Fe(t),p=(0,o.useRef)(null),[h=!1,f]=(0,l.T)({prop:a,defaultProp:s,onChange:u});return(0,o.createElement)(Me,{scope:t,triggerId:(0,g.M)(),triggerRef:p,contentId:(0,g.M)(),open:h,onOpenChange:f,onOpenToggle:(0,o.useCallback)((()=>f((e=>!e))),[f]),modal:c},(0,o.createElement)(De,r({},d,{open:h,onOpenChange:f,dir:i,modal:c}),n))},Be="DropdownMenuTrigger",Ne=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,disabled:s=!1,...l}=e,c=Re(Be,n),d=Fe(n);return(0,o.createElement)(Ce,r({asChild:!0},d),(0,o.createElement)(u.WV.button,r({type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s},l,{ref:(0,a.F)(t,c.triggerRef),onPointerDown:(0,i.M)(e.onPointerDown,(e=>{s||0!==e.button||!1!==e.ctrlKey||(c.onOpenToggle(),c.open||e.preventDefault())})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{s||(["Enter"," "].includes(e.key)&&c.onOpenToggle(),"ArrowDown"===e.key&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),Le=e=>{const{__scopeDropdownMenu:t,...n}=e,i=Fe(t);return(0,o.createElement)(Ee,r({},i,n))},Ke="DropdownMenuContent",Ve=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...a}=e,s=Re(Ke,n),l=Fe(n),u=(0,o.useRef)(!1);return(0,o.createElement)(Se,r({id:s.contentId,"aria-labelledby":s.triggerId},l,a,{ref:t,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;u.current||null===(t=s.triggerRef.current)||void 0===t||t.focus(),u.current=!1,e.preventDefault()})),onInteractOutside:(0,i.M)(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;s.modal&&!r||(u.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"}}))})),qe=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=Fe(n);return(0,o.createElement)(_e,r({},a,i,{ref:t}))})),He=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=Fe(n);return(0,o.createElement)(Pe,r({},a,i,{ref:t}))})),Ze=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=Fe(n);return(0,o.createElement)(ke,r({},a,i,{ref:t}))})),Ue=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=Fe(n);return(0,o.createElement)(Ae,r({},a,i,{ref:t}))})),$e=(0,o.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=Fe(n);return(0,o.createElement)(ze,r({},a,i,{ref:t}))})),Ge=je,We=Ne,Xe=Le,Ye=Ve,Qe=qe,Je=He,et=Ze,tt=Ue,nt=$e},57279:(e,t,n)=>{"use strict";n.d(t,{EW:()=>i});var r=n(67294);let o=0;function i(e=document){(0,r.useEffect)((()=>{var t,n;const r=e.querySelectorAll("[data-radix-focus-guard]");return e.body.insertAdjacentElement("afterbegin",null!==(t=r[0])&&void 0!==t?t:a()),e.body.insertAdjacentElement("beforeend",null!==(n=r[1])&&void 0!==n?n:a()),o++,()=>{1===o&&e.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),o--}}),[e])}function a(e=document){const t=e.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}},1788:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;td});var o=n(67294),i=n(72261),a=n(84178),s=n(88751);const l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=(0,o.forwardRef)(((e,t)=>{var n;const{loop:d=!1,trapped:f=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...b}=e,[w,x]=(0,o.useState)(null),D=(0,s.W)(v),C=(0,s.W)(y),E=(0,o.useRef)(null),S=null!==(n=null==w?void 0:w.ownerDocument)&&void 0!==n?n:document,_=(0,i.e)(t,(e=>x(e))),P=(0,o.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,o.useEffect)((()=>{if(f){function e(e){if(P.paused||!w)return;const t=e.target;w.contains(t)?E.current=t:m(E.current,{select:!0,ownerDocument:S})}function t(e){!P.paused&&w&&(w.contains(e.relatedTarget)||m(E.current,{select:!0,ownerDocument:S}))}return S.addEventListener("focusin",e),S.addEventListener("focusout",t),()=>{S.removeEventListener("focusin",e),S.removeEventListener("focusout",t)}}}),[f,w,P.paused,S]),(0,o.useEffect)((()=>{if(w){g.add(P);const t=S.activeElement;if(!w.contains(t)){const n=new CustomEvent(l,c);w.addEventListener(l,D),w.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1,ownerDocument:n=document}={}){const r=n.activeElement;for(const o of e)if(m(o,{select:t,ownerDocument:n}),n.activeElement!==r)return}((e=p(w),e.filter((e=>"A"!==e.tagName))),{select:!0,ownerDocument:S}),S.activeElement===t&&m(w,{ownerDocument:S}))}return()=>{w.removeEventListener(l,D),setTimeout((()=>{const e=new CustomEvent(u,c);w.addEventListener(u,C),w.dispatchEvent(e),e.defaultPrevented||m(null!=t?t:S.body,{select:!0,ownerDocument:S}),w.removeEventListener(u,C),g.remove(P)}),0)}}var e}),[w,S,D,C,P]);const k=(0,o.useCallback)((e=>{if(!d&&!f)return;if(P.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=S.activeElement;if(t&&n){const t=e.currentTarget,[r,o]=function(e){const t=p(e),n=h(t,e),r=h(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&m(o,{select:!0,ownerDocument:S})):(e.preventDefault(),d&&m(r,{select:!0,ownerDocument:S})):n===t&&e.preventDefault()}}),[d,f,P.paused,S]);return(0,o.createElement)(a.WV.div,r({tabIndex:-1},b,{ref:_,onKeyDown:k}))}));function p(e){const t=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){for(const n of e)if(!f(n,{upTo:t}))return n}function f(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1,ownerDocument:n=document}={}){if(e&&e.focus){const r=n.activeElement;e.focus({preventScroll:!0}),e!==r&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const g=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=v(e,t),e.unshift(t)},remove(t){var n;e=v(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function v(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}},69448:(e,t,n)=>{"use strict";var r;n.d(t,{M:()=>l});var o=n(67294),i=n(14805);const a=(r||(r=n.t(o,2)))["useId".toString()]||(()=>{});let s=0;function l(e){const[t,n]=o.useState(a());return(0,i.b)((()=>{e||n((e=>null!=e?e:String(s++)))}),[e]),e||(t?`radix-${t}`:"")}},54941:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;tV,VY:()=>Z,h_:()=>H,fC:()=>K,xz:()=>q});var o=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(48923),u=n(57279),c=n(1788),d=n(69448),p=n(74943),h=n(37103),f=n(83583),m=n(84178),g=n(8145),v=n(16180),y=n(23541),b=n(81066);const w="Popover",[x,D]=(0,s.b)(w,[p.D7]),C=(0,p.D7)(),[E,S]=x(w),_=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,l=C(t),u=(0,o.useRef)(null),[c,h]=(0,o.useState)(!1),[f=!1,m]=(0,v.T)({prop:r,defaultProp:i,onChange:a});return(0,o.createElement)(p.fC,l,(0,o.createElement)(E,{scope:t,contentId:(0,d.M)(),triggerRef:u,open:f,onOpenChange:m,onOpenToggle:(0,o.useCallback)((()=>m((e=>!e))),[m]),hasCustomAnchor:c,onCustomAnchorAdd:(0,o.useCallback)((()=>h(!0)),[]),onCustomAnchorRemove:(0,o.useCallback)((()=>h(!1)),[]),modal:s},n))},P="PopoverAnchor",k=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,...i}=e,a=S(P,n),s=C(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=a;return(0,o.useEffect)((()=>(l(),()=>u())),[l,u]),(0,o.createElement)(p.ee,r({},s,i,{ref:t}))})),A="PopoverTrigger",z=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,...s}=e,l=S(A,n),u=C(n),c=(0,a.e)(t,l.triggerRef),d=(0,o.createElement)(m.WV.button,r({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":L(l.open)},s,{ref:c,onClick:(0,i.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?d:(0,o.createElement)(p.ee,r({asChild:!0},u),d)})),T="PopoverPortal",[O,I]=x(T,{forceMount:void 0}),F=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=S(T,t);return(0,o.createElement)(O,{scope:t,forceMount:n},(0,o.createElement)(f.z,{present:n||a.open},(0,o.createElement)(h.h,{asChild:!0,container:i},r)))},M="PopoverContent",R=(0,o.forwardRef)(((e,t)=>{const n=I(M,e.__scopePopover),{forceMount:i=n.forceMount,...a}=e,s=S(M,e.__scopePopover);return(0,o.createElement)(f.z,{present:i||s.open},s.modal?(0,o.createElement)(j,r({},a,{ref:t})):(0,o.createElement)(B,r({},a,{ref:t})))})),j=(0,o.forwardRef)(((e,t)=>{const n=S(M,e.__scopePopover),s=(0,o.useRef)(null),l=(0,a.e)(t,s),u=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{const e=s.current;if(e)return(0,y.Ry)(e)}),[]),(0,o.createElement)(b.f,{as:g.g7,allowPinchZoom:!0},(0,o.createElement)(N,r({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),u.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;u.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})))})),B=(0,o.forwardRef)(((e,t)=>{const n=S(M,e.__scopePopover),i=(0,o.useRef)(!1);return(0,o.createElement)(N,r({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,o;(null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented)||(i.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),t.preventDefault());i.current=!1},onInteractOutside:t=>{var r,o;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0);const a=t.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(a))&&t.preventDefault()}}))})),N=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:d,disableOutsidePointerEvents:h,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:v,...y}=e,b=S(M,n),w=C(n),[x,D]=(0,o.useState)(document),E=(0,a.e)(t,(e=>{var t;return D(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)}));return(0,u.EW)(x),(0,o.createElement)(c.M,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:d},(0,o.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:h,onInteractOutside:v,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g,onDismiss:()=>b.onOpenChange(!1)},(0,o.createElement)(p.VY,r({"data-state":L(b.open),role:"dialog",id:b.contentId},w,y,{ref:E,style:{...y.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))}));function L(e){return e?"open":"closed"}const K=_,V=k,q=z,H=F,Z=R},74943:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;tVe,Eh:()=>He,VY:()=>qe,fC:()=>Ke,D7:()=>De});var o=n(67294);function i(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function s(e){return["top","bottom"].includes(i(e))?"x":"y"}function l(e){return"y"===e?"height":"width"}function u(e,t,n){let{reference:r,floating:o}=e;const u=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,d=s(t),p=l(d),h=r[p]/2-o[p]/2,f="x"===d;let m;switch(i(t)){case"top":m={x:u,y:r.y-o.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:c};break;case"left":m={x:r.x-o.width,y:c};break;default:m={x:r.x,y:r.y}}switch(a(t)){case"start":m[d]-=h*(n&&f?-1:1);break;case"end":m[d]+=h*(n&&f?-1:1)}return m}function c(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function p(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:f=!1,padding:m=0}=t,g=c(m),v=s[f?"floating"===h?"reference":"floating":h],y=d(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:p,strategy:l})),b=d(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===h?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[h]);return{top:y.top-b.top+g.top,bottom:b.bottom-y.bottom+g.bottom,left:y.left-b.left+g.left,right:b.right-y.right+g.right}}const h=Math.min,f=Math.max;function m(e,t,n){return f(e,h(t,n))}const g=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:u,rects:d,platform:p}=t;if(null==n)return{};const h=c(r),f={x:o,y:i},g=s(u),v=a(u),y=l(g),b=await p.getDimensions(n),w="y"===g?"top":"left",x="y"===g?"bottom":"right",D=d.reference[y]+d.reference[g]-f[g]-d.floating[y],C=f[g]-d.reference[g],E=await(null==p.getOffsetParent?void 0:p.getOffsetParent(n));let S=E?"y"===g?E.clientHeight||0:E.clientWidth||0:0;0===S&&(S=d.floating[y]);const _=D/2-C/2,P=h[w],k=S-b[y]-h[x],A=S/2-b[y]/2+_,z=m(P,A,k),T=("start"===v?h[w]:h[x])>0&&A!==z&&d.reference[y]<=d.floating[y];return{[g]:f[g]-(T?Av[e]))}function b(e,t,n){void 0===n&&(n=!1);const r=a(e),o=s(e),i=l(o);let u="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(u=y(u)),{main:u,cross:y(u)}}const w={start:"end",end:"start"};function x(e){return e.replace(/start|end/g,(e=>w[e]))}const D=["top","right","bottom","left"],C=(D.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",flipAlignment:m=!0,...g}=e,v=i(r),w=h||(v!==s&&m?function(e){const t=y(e);return[x(e),t,x(t)]}(s):[y(s)]),D=[s,...w],C=await p(t,g),E=[];let S=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&E.push(C[v]),d){const{main:e,cross:t}=b(r,a,await(null==l.isRTL?void 0:l.isRTL(u.floating)));E.push(C[e],C[t])}if(S=[...S,{placement:r,overflows:E}],!E.every((e=>e<=0))){var _,P;const e=(null!=(_=null==(P=o.flip)?void 0:P.index)?_:0)+1,t=D[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n="bottom";switch(f){case"bestFit":{var k;const e=null==(k=S.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:k[0].placement;e&&(n=e);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}});function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return D.some((t=>e[t]>=0))}const _=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=E(await p(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=E(await p(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},P=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,l=await(null==r.isRTL?void 0:r.isRTL(o.floating)),u=i(n),c=a(n),d="x"===s(n),p=["left","top"].includes(u)?-1:1,h=l&&d?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&"number"==typeof v&&(g="end"===c?-1*v:v),d?{x:g*h,y:m*p}:{x:m*p,y:g*h}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function k(e){return"x"===e?"y":"x"}const A=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,d={x:n,y:r},h=await p(t,c),f=s(i(o)),g=k(f);let v=d[f],y=d[g];if(a){const e="y"===f?"bottom":"right";v=m(v+h["y"===f?"top":"left"],v,v-h[e])}if(l){const e="y"===g?"bottom":"right";y=m(y+h["y"===g?"top":"left"],y,y-h[e])}const b=u.fn({...t,[f]:v,[g]:y});return{...b,data:{x:b.x-n,y:b.y-r}}}}},z=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:l}=t,{offset:u=0,mainAxis:c=!0,crossAxis:d=!0}=e,p={x:n,y:r},h=s(o),f=k(h);let m=p[h],g=p[f];const v="function"==typeof u?u({...a,placement:o}):u,y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+y.mainAxis,n=a.reference[h]+a.reference[e]-y.mainAxis;mn&&(m=n)}if(d){var b,w,x,D;const e="y"===h?"width":"height",t=["top","left"].includes(i(o)),n=a.reference[f]-a.floating[e]+(t&&null!=(b=null==(w=l.offset)?void 0:w[f])?b:0)+(t?0:y.crossAxis),r=a.reference[f]+a.reference[e]+(t?0:null!=(x=null==(D=l.offset)?void 0:D[f])?x:0)-(t?y.crossAxis:0);gr&&(g=r)}return{[h]:m,[f]:g}}}};function T(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function O(e){if(null==e)return window;if(!T(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function I(e){return O(e).getComputedStyle(e)}function F(e){return T(e)?"":e?(e.nodeName||"").toLowerCase():""}function M(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function R(e){return e instanceof O(e).HTMLElement}function j(e){return e instanceof O(e).Element}function B(e){return"undefined"!=typeof ShadowRoot&&(e instanceof O(e).ShadowRoot||e instanceof ShadowRoot)}function N(e){const{overflow:t,overflowX:n,overflowY:r}=I(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function L(e){return["table","td","th"].includes(F(e))}function K(e){const t=/firefox/i.test(M()),n=I(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function V(){return!/^((?!chrome|android).)*safari/i.test(M())}const q=Math.min,H=Math.max,Z=Math.round;function U(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&R(e)&&(l=e.offsetWidth>0&&Z(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Z(s.height)/e.offsetHeight||1);const c=j(e)?O(e):window,d=!V()&&n,p=(s.left+(d&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/l,h=(s.top+(d&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/u,f=s.width/l,m=s.height/u;return{width:f,height:m,top:h,right:p+f,bottom:h+m,left:p,x:p,y:h}}function $(e){return(t=e,(t instanceof O(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function G(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function W(e){return U($(e)).left+G(e).scrollLeft}function X(e,t,n){const r=R(t),o=$(t),i=U(e,r&&function(e){const t=U(e);return Z(t.width)!==e.offsetWidth||Z(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==F(t)||N(o))&&(a=G(t)),R(t)){const e=U(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=W(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Y(e){return"html"===F(e)?e:e.assignedSlot||e.parentNode||(B(e)?e.host:null)||$(e)}function Q(e){return R(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function J(e){const t=O(e);let n=Q(e);for(;n&&L(n)&&"static"===getComputedStyle(n).position;)n=Q(n);return n&&("html"===F(n)||"body"===F(n)&&"static"===getComputedStyle(n).position&&!K(n))?t:n||function(e){let t=Y(e);for(B(t)&&(t=t.host);R(t)&&!["html","body"].includes(F(t));){if(K(t))return t;t=t.parentNode}return null}(e)||t}function ee(e){if(R(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=U(e);return{width:t.width,height:t.height}}function te(e){const t=Y(e);return["html","body","#document"].includes(F(t))?e.ownerDocument.body:R(t)&&N(t)?t:te(t)}function ne(e,t){var n;void 0===t&&(t=[]);const r=te(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=O(r),a=o?[i].concat(i.visualViewport||[],N(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ne(a))}function re(e,t,n){return"viewport"===t?d(function(e,t){const n=O(e),r=$(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=V();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):j(t)?function(e,t){const n=U(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):d(function(e){var t;const n=$(e),r=G(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=H(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+W(e);const l=-r.scrollTop;return"rtl"===I(o||n).direction&&(s+=H(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}($(e)))}function oe(e){const t=ne(e),n=["absolute","fixed"].includes(I(e).position)&&R(e)?J(e):e;return j(n)?t.filter((e=>j(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&B(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==F(e))):[]}const ie={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?oe(t):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=re(t,n,o);return e.top=H(r.top,e.top),e.right=q(r.right,e.right),e.bottom=q(r.bottom,e.bottom),e.left=H(r.left,e.left),e}),re(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=R(n),i=$(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==F(n)||N(i))&&(a=G(n)),R(n))){const e=U(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:j,getDimensions:ee,getOffsetParent:J,getDocumentElement:$,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:X(t,J(n),r),floating:{...ee(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===I(e).direction};function ae(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...j(e)?ne(e):[],...ne(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let d,p=null;if(a){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),j(e)&&!s&&p.observe(e),p.observe(t)}let h=s?U(e):null;return s&&function t(){const r=U(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n(),h=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,s&&cancelAnimationFrame(d)}}const se=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=u(l,r,s),p=r,h={},f=0;for(let n=0;n{t.current=e})),t}(i),u=o.useRef(null),[c,d]=o.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[p,h]=o.useState(t);ce(null==p?void 0:p.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||h(t);const f=o.useCallback((()=>{a.current&&s.current&&se(a.current,s.current,{middleware:p,placement:n,strategy:r}).then((e=>{m.current&&le.flushSync((()=>{d(e)}))}))}),[p,n,r]);ue((()=>{m.current&&f()}),[f]);const m=o.useRef(!1);ue((()=>(m.current=!0,()=>{m.current=!1})),[]);const g=o.useCallback((()=>{if("function"==typeof u.current&&(u.current(),u.current=null),a.current&&s.current)if(l.current){const e=l.current(a.current,s.current,f);u.current=e}else f()}),[f,l]),v=o.useCallback((e=>{a.current=e,g()}),[g]),y=o.useCallback((e=>{s.current=e,g()}),[g]),b=o.useMemo((()=>({reference:a,floating:s})),[]);return o.useMemo((()=>({...c,update:f,refs:b,reference:v,floating:y})),[c,f,b,v,y])}const pe=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return r=t,Object.prototype.hasOwnProperty.call(r,"current")?null!=t.current?g({element:t.current,padding:n}).fn(e):{}:t?g({element:t,padding:n}).fn(e):{};var r}}};function he(){return he=Object.assign||function(e){for(var t=1;t{const{children:n,width:r=10,height:i=5,...a}=e;return(0,o.createElement)(fe.WV.svg,he({},a,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))})),ge=me;var ve=n(72261),ye=n(47257),be=n(14805);const we="Popper",[xe,De]=(0,ye.b)(we),[Ce,Ee]=xe(we),Se=e=>{const{__scopePopper:t,children:n}=e,[r,i]=(0,o.useState)(null);return(0,o.createElement)(Ce,{scope:t,anchor:r,onAnchorChange:i},n)},_e="PopperAnchor",Pe=(0,o.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:i,...a}=e,s=Ee(_e,n),l=(0,o.useRef)(null),u=(0,ve.e)(t,l);return(0,o.useEffect)((()=>{s.onAnchorChange((null==i?void 0:i.current)||l.current)})),i?null:(0,o.createElement)(fe.WV.div,r({},a,{ref:u}))})),ke="PopperContent",[Ae,ze]=xe(ke),[Te,Oe]=xe(ke,{hasParent:!1,positionUpdateFns:new Set}),Ie=(0,o.forwardRef)(((e,t)=>{var n,r,i,a,s,l,u,c;const{__scopePopper:d,side:p="bottom",sideOffset:h=0,align:f="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:w=!1,avoidCollisions:x=!0,...D}=e,E=Ee(ke,d),[S,k]=(0,o.useState)(null),T=(0,ve.e)(t,(e=>k(e))),[O,I]=(0,o.useState)(null),F=function(e){const[t,n]=(0,o.useState)(void 0);return(0,be.b)((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(O),M=null!==(n=null==F?void 0:F.width)&&void 0!==n?n:0,R=null!==(r=null==F?void 0:F.height)&&void 0!==r?r:0,j=p+("center"!==f?"-"+f:""),B="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},N=Array.isArray(v)?v:[v],L=N.length>0,K={padding:B,boundary:N.filter(Be),altBoundary:L},{reference:V,floating:q,strategy:H,x:Z,y:U,placement:$,middlewareData:G,update:W}=de({strategy:"fixed",placement:j,whileElementsMounted:ae,middleware:[P({mainAxis:h+R,alignmentAxis:m}),x?A({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?z():void 0,...K}):void 0,O?pe({element:O,padding:g}):void 0,x?C({...K}):void 0,Ne({arrowWidth:M,arrowHeight:R}),w?_({strategy:"referenceHidden"}):void 0].filter(je)});(0,be.b)((()=>{V(E.anchor)}),[V,E.anchor]);const X=null!==Z&&null!==U,[Y,Q]=Le($),J=null===(i=G.arrow)||void 0===i?void 0:i.x,ee=null===(a=G.arrow)||void 0===a?void 0:a.y,te=0!==(null===(s=G.arrow)||void 0===s?void 0:s.centerOffset),[ne,re]=(0,o.useState)();(0,be.b)((()=>{if(S){var e;const t=null!==(e=S.ownerDocument.defaultView)&&void 0!==e?e:window;re(t.getComputedStyle(S).zIndex)}}),[S]);const{hasParent:oe,positionUpdateFns:ie}=Oe(ke,d),se=!oe;(0,o.useLayoutEffect)((()=>{if(!se)return ie.add(W),()=>{ie.delete(W)}}),[se,ie,W]),(0,o.useLayoutEffect)((()=>{se&&X&&Array.from(ie).reverse().forEach((e=>requestAnimationFrame(e)))}),[se,X,ie]);const le={"data-side":Y,"data-align":Q,...D,ref:T,style:{...D.style,animation:X?void 0:"none",opacity:null!==(l=G.hide)&&void 0!==l&&l.referenceHidden?0:void 0}};return(0,o.createElement)("div",{ref:q,"data-radix-popper-content-wrapper":"",style:{position:H,left:0,top:0,transform:X?`translate3d(${Math.round(Z)}px, ${Math.round(U)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[null===(u=G.transformOrigin)||void 0===u?void 0:u.x,null===(c=G.transformOrigin)||void 0===c?void 0:c.y].join(" ")}},(0,o.createElement)(Ae,{scope:d,placedSide:Y,onArrowChange:I,arrowX:J,arrowY:ee,shouldHideArrow:te},se?(0,o.createElement)(Te,{scope:d,hasParent:!0,positionUpdateFns:ie},(0,o.createElement)(fe.WV.div,le)):(0,o.createElement)(fe.WV.div,le)))})),Fe="PopperArrow",Me={top:"bottom",right:"left",bottom:"top",left:"right"},Re=(0,o.forwardRef)((function(e,t){const{__scopePopper:n,...i}=e,a=ze(Fe,n),s=Me[a.placedSide];return(0,o.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,o.createElement)(ge,r({},i,{ref:t,style:{...i.style,display:"block"}})))}));function je(e){return void 0!==e}function Be(e){return null!==e}const Ne=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,f]=Le(s),m={start:"0%",center:"50%",end:"100%"}[f],g=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,v=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+p/2;let y="",b="";return"bottom"===h?(y=c?m:`${g}px`,b=-p+"px"):"top"===h?(y=c?m:`${g}px`,b=`${l.floating.height+p}px`):"right"===h?(y=-p+"px",b=c?m:`${v}px`):"left"===h&&(y=`${l.floating.width+p}px`,b=c?m:`${v}px`),{data:{x:y,y:b}}}});function Le(e){const[t,n="center"]=e.split("-");return[t,n]}const Ke=Se,Ve=Pe,qe=Ie,He=Re},37103:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;ts});var o=n(67294),i=n(73935),a=n(84178);const s=(0,o.forwardRef)(((e,t)=>{var n;const{container:s=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...l}=e;return s?i.createPortal((0,o.createElement)(a.WV.div,r({},l,{ref:t})),s):null}))},83583:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(67294),o=n(73935),i=n(72261),a=n(14805);const s=e=>{const{present:t,children:n}=e,s=function(e){const[t,n]=(0,r.useState)(),i=(0,r.useRef)({}),s=(0,r.useRef)(e),u=(0,r.useRef)("none"),c=e?"mounted":"unmounted",[d,p]=function(e,t){return(0,r.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,r.useEffect)((()=>{const e=l(i.current);u.current="mounted"===d?e:"none"}),[d]),(0,a.b)((()=>{const t=i.current,n=s.current;if(n!==e){const r=u.current,o=l(t);if(e)p("MOUNT");else if("none"===o||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{const e=r!==o;p(n&&e?"ANIMATION_OUT":"UNMOUNT")}s.current=e}}),[e,p]),(0,a.b)((()=>{if(t){const e=e=>{const n=l(i.current).includes(e.animationName);e.target===t&&n&&(0,o.flushSync)((()=>p("ANIMATION_END")))},n=e=>{e.target===t&&(u.current=l(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")}),[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:(0,r.useCallback)((e=>{e&&(i.current=getComputedStyle(e)),n(e)}),[])}}(t),u="function"==typeof n?n({present:s.isPresent}):r.Children.only(n),c=(0,i.e)(s.ref,u.ref);return"function"==typeof n||s.isPresent?(0,r.cloneElement)(u,{ref:c}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},84178:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;ts,jH:()=>l});var o=n(67294),i=n(73935),a=n(8145);const s=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,o.forwardRef)(((e,n)=>{const{asChild:i,...s}=e,l=i?a.g7:t;return(0,o.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,o.createElement)(l,r({},s,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function l(e,t){e&&(0,i.flushSync)((()=>e.dispatchEvent(t)))}},20026:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;tT,fC:()=>z,Pc:()=>x});var o=n(67294),i=n(53912),a=n(21286),s=n(72261),l=n(47257),u=n(69448),c=n(84178),d=n(88751),p=n(16180),h=n(69409);const f="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.B)(g),[w,x]=(0,l.b)(g,[b]),[D,C]=w(g),E=(0,o.forwardRef)(((e,t)=>(0,o.createElement)(v.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(v.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(S,r({},e,{ref:t})))))),S=(0,o.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:u,currentTabStopId:g,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:b,onEntryFocus:w,...x}=e,C=(0,o.useRef)(null),E=(0,s.e)(t,C),S=(0,h.gm)(u),[_=null,P]=(0,p.T)({prop:g,defaultProp:v,onChange:b}),[k,z]=(0,o.useState)(!1),T=(0,d.W)(w),O=y(n),I=(0,o.useRef)(!1),[F,M]=(0,o.useState)(0),[R,j]=(0,o.useState)(document);return(0,o.useEffect)((()=>{const e=C.current;if(e)return j(e.ownerDocument),e.addEventListener(f,T),()=>e.removeEventListener(f,T)}),[T]),(0,o.createElement)(D,{scope:n,orientation:a,dir:S,loop:l,currentTabStopId:_,onItemFocus:(0,o.useCallback)((e=>P(e)),[P]),onItemShiftTab:(0,o.useCallback)((()=>z(!0)),[]),onFocusableItemAdd:(0,o.useCallback)((()=>M((e=>e+1))),[]),onFocusableItemRemove:(0,o.useCallback)((()=>M((e=>e-1))),[])},(0,o.createElement)(c.WV.div,r({tabIndex:k||0===F?-1:0,"data-orientation":a},x,{ref:E,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,(()=>{I.current=!0})),onFocus:(0,i.M)(e.onFocus,(e=>{const t=!I.current;if(e.target===e.currentTarget&&t&&!k){const t=new CustomEvent(f,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=O().filter((e=>e.focusable));A([e.find((e=>e.active)),e.find((e=>e.id===_)),...e].filter(Boolean).map((e=>e.ref.current)),R)}}I.current=!1})),onBlur:(0,i.M)(e.onBlur,(()=>z(!1)))})))})),_="RovingFocusGroupItem",P=(0,o.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,...d}=e,p=(0,u.M)(),h=C(_,n),f=h.currentTabStopId===p,m=y(n),[g,b]=(0,o.useState)(document),w=(0,s.e)(t,(e=>{var t;return b(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)})),{onFocusableItemAdd:x,onFocusableItemRemove:D}=h;return(0,o.useEffect)((()=>{if(a)return x(),()=>D()}),[a,x,D]),(0,o.createElement)(v.ItemSlot,{scope:n,id:p,focusable:a,active:l},(0,o.createElement)(c.WV.span,r({tabIndex:f?0:-1,"data-orientation":h.orientation},d,{ref:w,onMouseDown:(0,i.M)(e.onMouseDown,(e=>{a?h.onItemFocus(p):e.preventDefault()})),onFocus:(0,i.M)(e.onFocus,(()=>h.onItemFocus(p))),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:k[r]}(e,h.orientation,h.dir);if(void 0!==t){e.preventDefault();let o=m().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)o.reverse();else if("prev"===t||"next"===t){"prev"===t&&o.reverse();const i=o.indexOf(e.currentTarget);o=h.loop?(r=i+1,(n=o).map(((e,t)=>n[(r+t)%n.length]))):o.slice(i+1)}setTimeout((()=>A(o,g)))}var n,r}))})))})),k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e,t=document){const n=t.activeElement;for(const r of e){if(r===n)return;if(r.focus(),t.activeElement!==n)return}}const z=E,T=P},8145:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;ta});var o=n(67294),i=n(72261);const a=(0,o.forwardRef)(((e,t)=>{const{children:n,...i}=e,a=o.Children.toArray(n),l=a.find(u);if(l){const e=l.props.children,n=a.map((t=>t===l?o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null:t));return(0,o.createElement)(s,r({},i,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(s,r({},i,{ref:t}),n)}));a.displayName="Slot";const s=(0,o.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...c(r,n.props),ref:(0,i.F)(t,n.ref)}):o.Children.count(n)>1?o.Children.only(null):null}));s.displayName="SlotClone";const l=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function u(e){return(0,o.isValidElement)(e)&&e.type===l}function c(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}},88751:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(67294);function o(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e})),(0,r.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}},16180:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(67294),o=n(88751);function i({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[i,a]=function({defaultProp:e,onChange:t}){const n=(0,r.useState)(e),[i]=n,a=(0,r.useRef)(i),s=(0,o.W)(t);return(0,r.useEffect)((()=>{a.current!==i&&(s(i),a.current=i)}),[i,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i,u=(0,o.W)(n);return[l,(0,r.useCallback)((t=>{if(s){const n=t,r="function"==typeof t?n(e):t;r!==e&&u(r)}else a(t)}),[s,e,a,u])]}},14805:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(67294);const o=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},88786:(e,t,n)=>{"use strict";n.d(t,{E7:()=>S,Fx:()=>z,MT:()=>c,QL:()=>E,bO:()=>d,cW:()=>w,ex:()=>a,kc:()=>F,pu:()=>M,tB:()=>I});var r=n(20770),o=n(67294),i=n(49987);n(1410);function a(e){const t=(0,r.k3)(e);if("virtual"===(0,i.Jz)()){let n=t.activeElement;(0,r.QB)((()=>{t.activeElement===n&&e.isConnected&&(0,r.Ao)(e)}))}else(0,r.Ao)(e)}function s(e,t){return"#comment"!==e.nodeName&&function(e){const t=(0,r.kR)(e);if(!(e instanceof t.HTMLElement||e instanceof t.SVGElement))return!1;let{display:n,visibility:o}=e.style,i="none"!==n&&"hidden"!==o&&"collapse"!==o;if(i){const{getComputedStyle:t}=e.ownerDocument.defaultView;let{display:n,visibility:r}=t(e);i="none"!==n&&"hidden"!==r&&"collapse"!==r}return i}(e)&&function(e,t){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))}(e,t)&&(!e.parentElement||s(e.parentElement,e))}const l=o.createContext(null);let u=null;function c(e){let{children:t,contain:n,restoreFocus:i,autoFocus:a}=e,s=(0,o.useRef)(null),c=(0,o.useRef)(null),d=(0,o.useRef)([]),{parentNode:p}=(0,o.useContext)(l)||{},h=(0,o.useMemo)((()=>new k({scopeRef:d})),[d]);(0,r.bt)((()=>{let e=p||A.root;if(A.getTreeNode(e.scopeRef)&&u&&!x(u,e.scopeRef)){let t=A.getTreeNode(u);t&&(e=t)}e.addChild(h),A.addNode(h)}),[h,p]),(0,r.bt)((()=>{let e=A.getTreeNode(d);e&&(e.contain=!!n)}),[n]),(0,r.bt)((()=>{var e;let t=null===(e=s.current)||void 0===e?void 0:e.nextSibling,n=[];for(;t&&t!==c.current;)n.push(t),t=t.nextSibling;d.current=n}),[t]),function(e,t,n){(0,r.bt)((()=>{if(t||n)return;let o=e.current;const i=(0,r.k3)(o?o[0]:void 0);let a=t=>{let n=t.target;y(n,e.current)?u=e:v(n)||(u=null)};return i.addEventListener("focusin",a,!1),null==o||o.forEach((e=>e.addEventListener("focusin",a,!1))),()=>{i.removeEventListener("focusin",a,!1),null==o||o.forEach((e=>e.removeEventListener("focusin",a,!1)))}}),[e,t,n])}(d,i,n),function(e,t){let n=(0,o.useRef)(),i=(0,o.useRef)();(0,r.bt)((()=>{let o=e.current;if(!t)return void(i.current&&(cancelAnimationFrame(i.current),i.current=void 0));const a=(0,r.k3)(o?o[0]:void 0);let s=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!g(e)||t.isComposing)return;let n=a.activeElement,r=e.current;if(!r||!y(n,r))return;let o=E(m(r),{tabbable:!0},r);if(!n)return;o.currentNode=n;let i=t.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=t.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=t.shiftKey?o.previousNode():o.nextNode()),t.preventDefault(),i&&D(i,!0)},l=t=>{u&&!x(u,e)||!y(t.target,e.current)?g(e)&&!b(t.target,e)?n.current?n.current.focus():u&&u.current&&C(u.current):g(e)&&(n.current=t.target):(u=e,n.current=t.target)},c=t=>{i.current&&cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{var o;a.activeElement&&g(e)&&!b(a.activeElement,e)&&(u=e,(0,r.Q5)(a).contains(t.target)?(n.current=t.target,null===(o=n.current)||void 0===o||o.focus()):u.current&&C(u.current))}))};return a.addEventListener("keydown",s,!1),a.addEventListener("focusin",l,!1),null==o||o.forEach((e=>e.addEventListener("focusin",l,!1))),null==o||o.forEach((e=>e.addEventListener("focusout",c,!1))),()=>{a.removeEventListener("keydown",s,!1),a.removeEventListener("focusin",l,!1),null==o||o.forEach((e=>e.removeEventListener("focusin",l,!1))),null==o||o.forEach((e=>e.removeEventListener("focusout",c,!1)))}}),[e,t]),(0,r.bt)((()=>()=>{i.current&&cancelAnimationFrame(i.current)}),[i])}(d,n),function(e,t,n){const i=(0,o.useRef)("undefined"!=typeof document?(0,r.r3)(e.current?e.current[0]:void 0).activeElement:null);(0,r.bt)((()=>{let o=e.current;const i=(0,r.k3)(o?o[0]:void 0);if(!t||n)return;let a=()=>{u&&!x(u,e)||!y(i.activeElement,e.current)||(u=e)};return i.addEventListener("focusin",a,!1),null==o||o.forEach((e=>e.addEventListener("focusin",a,!1))),()=>{i.removeEventListener("focusin",a,!1),null==o||o.forEach((e=>e.removeEventListener("focusin",a,!1)))}}),[e,n]),(0,r.bt)((()=>{const o=(0,r.k3)(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!g(e)||t.isComposing)return;let n=o.activeElement;if(!y(n,e.current))return;let i=A.getTreeNode(e);if(!i)return;let a=i.nodeToRestore;const s=(0,r.Q5)(o);let l=E(s,{tabbable:!0});l.currentNode=n;let u=t.shiftKey?l.previousNode():l.nextNode();if(a&&s.contains(a)&&a!==s||(a=void 0,i.nodeToRestore=void 0),(!u||!y(u,e.current))&&a){l.currentNode=a;do{u=t.shiftKey?l.previousNode():l.nextNode()}while(y(u,e.current));t.preventDefault(),t.stopPropagation(),u?D(u,!0):v(a)?D(a,!0):n.blur()}};return n||o.addEventListener("keydown",i,!0),()=>{n||o.removeEventListener("keydown",i,!0)}}),[e,t,n]),(0,r.bt)((()=>{const n=(0,r.k3)(e.current?e.current[0]:void 0),o=(0,r.Q5)(n);if(!t)return;let a=A.getTreeNode(e);var s;return a?(a.nodeToRestore=null!==(s=i.current)&&void 0!==s?s:void 0,()=>{let r=A.getTreeNode(e);if(!r)return;let i=r.nodeToRestore;if(t&&i&&(y(n.activeElement,e.current)||n.activeElement===o&&function(e){let t=A.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=A.clone();requestAnimationFrame((()=>{if(n.activeElement===o){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected)return void D(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&A.getTreeNode(n.scopeRef))return void C(n.scopeRef.current,!0);n=n.parent}}}))}}):void 0}),[e,t])}(d,i,n),function(e,t){const n=o.useRef(t);(0,o.useEffect)((()=>{if(n.current){u=e;!y((0,r.r3)(e.current?e.current[0]:void 0).activeElement,u.current)&&e.current&&C(e.current)}n.current=!1}),[e])}(d,a),(0,o.useEffect)((()=>{const e=(0,r.k3)(d.current?d.current[0]:void 0).activeElement;let t=null;if(y(e,d.current)){for(let n of A.traverse())n.scopeRef&&y(e,n.scopeRef.current)&&(t=n);t===A.getTreeNode(d)&&(u=t.scopeRef)}}),[d]),(0,r.bt)((()=>()=>{var e,t,n;let r=null!==(n=null===(t=A.getTreeNode(d))||void 0===t||null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;d!==u&&!x(d,u)||r&&!A.getTreeNode(r)||(u=r),A.removeTreeNode(d)}),[d]);let f=(0,o.useMemo)((()=>function(e){return{focusNext(t={}){let n=e.current,{from:o,tabbable:i,wrap:a,accept:s}=t,l=o||(0,r.k3)(n[0]).activeElement,u=n[0].previousElementSibling,c=E(m(n),{tabbable:i,accept:s},n);c.currentNode=y(l,n)?l:u;let d=c.nextNode();return!d&&a&&(c.currentNode=u,d=c.nextNode()),d&&D(d,!0),d},focusPrevious(t={}){let n=e.current,{from:o,tabbable:i,wrap:a,accept:s}=t,l=o||(0,r.k3)(n[0]).activeElement,u=n[n.length-1].nextElementSibling,c=E(m(n),{tabbable:i,accept:s},n);c.currentNode=y(l,n)?l:u;let d=c.previousNode();return!d&&a&&(c.currentNode=u,d=c.previousNode()),d&&D(d,!0),d},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=E(m(n),{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let a=i.nextNode();return a&&D(a,!0),a},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=E(m(n),{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let a=i.previousNode();return a&&D(a,!0),a}}}(d)),[]),w=(0,o.useMemo)((()=>({focusManager:f,parentNode:h})),[h,f]);return o.createElement(l.Provider,{value:w},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:c}))}function d(){var e;return null===(e=(0,o.useContext)(l))||void 0===e?void 0:e.focusManager}const p=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],h=p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const f=p.join(':not([hidden]):not([tabindex="-1"]),');function m(e){return e[0].parentElement}function g(e){let t=A.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function v(e){return b(e)}function y(e,t){return!!e&&(!!t&&t.some((t=>t.contains(e))))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of A.traverse(A.getTreeNode(t)))if(n&&y(e,n.current))return!0;return!1}function w(e){return b(e,u)}function x(e,t){var n;let r=null===(n=A.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function D(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{a(e)}catch(e){}}function C(e,t=!0){let n=e[0].previousElementSibling,r=m(e),o=E(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();t&&!i&&(r=m(e),o=E(r,{tabbable:!1},e),o.currentNode=n,i=o.nextNode()),D(i)}function E(e,t,n){let o=(null==t?void 0:t.tabbable)?f:h,i=e instanceof ShadowRoot?e:(0,r.k3)(e),a=(i instanceof ShadowRoot?i.ownerDocument:i).createTreeWalker(e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var r;return(null==t||null===(r=t.from)||void 0===r?void 0:r.contains(e))?NodeFilter.FILTER_REJECT:!e.matches(o)||!s(e)||n&&!y(e,n)||(null==t?void 0:t.accept)&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==t?void 0:t.from)&&(a.currentNode=t.from),a}function S(e,t={}){return{focusNext(n={}){let o=e.current;if(!o)return null;let{from:i,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:l=t.accept}=n,u=i||(0,r.k3)(o).activeElement,c=E(o,{tabbable:a,accept:l});o.contains(u)&&(c.currentNode=u);let d=c.nextNode();return!d&&s&&(c.currentNode=o,d=c.nextNode()),d&&D(d,!0),d},focusPrevious(n=t){let o=e.current;if(!o)return null;let{from:i,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:l=t.accept}=n,u=i||(0,r.k3)(o).activeElement,c=E(o,{tabbable:a,accept:l});if(!o.contains(u)){let e=_(c);return e&&D(e,!0),null!=e?e:null}c.currentNode=u;let d=c.previousNode();if(!d&&s){c.currentNode=o;let e=_(c);if(!e)return null;d=e}return d&&D(d,!0),null!=d?d:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:i=t.accept}=n,a=E(r,{tabbable:o,accept:i}).nextNode();return a&&D(a,!0),a},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:i=t.accept}=n,a=_(E(r,{tabbable:o,accept:i}));return a&&D(a,!0),null!=a?a:null}}}function _(e){let t,n;do{n=e.lastChild(),n&&(t=n)}while(n);return t}class P{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new k({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&y(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach((e=>n&&n.addChild(e)))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new P;var n;for(let r of this.traverse())t.addTreeNode(r.scopeRef,null!==(n=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new k({scopeRef:null}),this.fastMap.set(null,this.root)}}class k{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let A=new P;function z(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,a=(0,o.useRef)({isFocused:!1,isFocusVisible:t||(0,i.E)()}),[s,l]=(0,o.useState)(!1),[u,c]=(0,o.useState)((()=>a.current.isFocused&&a.current.isFocusVisible)),d=(0,o.useCallback)((()=>c(a.current.isFocused&&a.current.isFocusVisible)),[]),p=(0,o.useCallback)((e=>{a.current.isFocused=e,l(e),d()}),[d]);(0,i.mG)((e=>{a.current.isFocusVisible=e,d()}),[],{isTextInput:n});let{focusProps:h}=(0,i.KK)({isDisabled:r,onFocusChange:p}),{focusWithinProps:f}=(0,i.L_)({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:u,focusProps:r?f:h}}let T=o.createContext(null);function O(e,t){let{children:n,...i}=e,a={...i,ref:(0,r.B3)(t)};return o.createElement(T.Provider,{value:a},n)}let I=o.forwardRef(O);function F(e,t){let{focusProps:n}=(0,i.KK)(e),{keyboardProps:s}=(0,i.v5)(e),l=(0,r.dG)(n,s),u=function(e){let t=(0,o.useContext)(T)||{};(0,r.lE)(t,e);let{ref:n,...i}=t;return i}(t),c=e.isDisabled?{}:u,d=(0,o.useRef)(e.autoFocus);return(0,o.useEffect)((()=>{d.current&&t.current&&a(t.current),d.current=!1}),[t]),{focusableProps:(0,r.dG)({...l,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},c)}}function M(e,t){let n=null==t?void 0:t.isDisabled,[i,a]=(0,o.useState)(!1);return(0,r.bt)((()=>{if((null==e?void 0:e.current)&&!n){let t=()=>{if(e.current){let t=E(e.current,{tabbable:!0});a(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}})),!n&&i}},86838:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(67294),o=n(49987),i=n(20770);function a(e,t,n){let{validationBehavior:a,focus:l}=e;(0,i.bt)((()=>{if("native"===a&&(null==n?void 0:n.current)){let r=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(r),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:s(e),validationErrors:e.validationMessage?[e.validationMessage]:[]})}var e}));let u=(0,i.iW)((()=>{t.resetValidation()})),c=(0,i.iW)((e=>{var r;t.displayValidation.isInvalid||t.commitValidation();let i=null==n||null===(r=n.current)||void 0===r?void 0:r.form;var a;!e.defaultPrevented&&n&&i&&function(e){for(let t=0;t{t.commitValidation()}));(0,r.useEffect)((()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form;return e.addEventListener("invalid",c),e.addEventListener("change",d),null==t||t.addEventListener("reset",u),()=>{e.removeEventListener("invalid",c),e.removeEventListener("change",d),null==t||t.removeEventListener("reset",u)}}),[n,c,d,u,a])}function s(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}},18383:(e,t,n)=>{"use strict";n.d(t,{bd:()=>b,Xe:()=>k,aQ:()=>E,L0:()=>A,bU:()=>w,qb:()=>C,hX:()=>at,Ux:()=>_});var r=n(67294),o=n(16021),i=n(46050),a=n(41473),s=n(20770),l=n(96041);const u=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),c=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function d(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return u.has(t.script)}let t=e.split("-")[0];return c.has(t)}const p=Symbol.for("react-aria.i18n.locale");function h(){let e="undefined"!=typeof window&&window[p]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:d(e)?"rtl":"ltr"}}let f=h(),m=new Set;function g(){f=h();for(let e of m)e(f)}function v(){let e=(0,o.Av)(),[t,n]=(0,r.useState)(f);return(0,r.useEffect)((()=>(0===m.size&&window.addEventListener("languagechange",g),m.add(n),()=>{m.delete(n),0===m.size&&window.removeEventListener("languagechange",g)})),[]),e?{locale:"en-US",direction:"ltr"}:t}const y=r.createContext(null);function b(e){let{locale:t,children:n}=e,o=v(),i=t?{locale:t,direction:d(t)?"rtl":"ltr"}:o;return r.createElement(y.Provider,{value:i},n)}function w(){let e=v();return(0,r.useContext)(y)||e}const x=new WeakMap;function D(e,t){return t&&i.J.getGlobalDictionaryForPackage(t)||function(e){let t=x.get(e);return t||(t=new(0,i.J)(e),x.set(e,t)),t}(e)}function C(e,t){let{locale:n}=w(),o=D(e,t);return(0,r.useMemo)((()=>new(0,i.E)(n,o)),[n,o])}function E(e){e=(0,s.vE)(null!=e?e:{},S);let{locale:t}=w();return(0,r.useMemo)((()=>new(0,a.CN)(t,e)),[t,e])}function S(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}function _(e={}){let{locale:t}=w();return(0,r.useMemo)((()=>new(0,l.e)(t,e)),[t,e])}let P=new Map;function k(e){let{locale:t}=w(),n=t+(e?Object.entries(e).sort(((e,t)=>e[0]0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(0,n.length),n))),[t]),o=(0,r.useCallback)(((e,n)=>0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(-n.length),n))),[t]),i=(0,r.useCallback)(((e,n)=>{if(0===n.length)return!0;e=e.normalize("NFC");let r=0,o=(n=n.normalize("NFC")).length;for(;r+o<=e.length;r++){let i=e.slice(r,r+o);if(0===t.compare(n,i))return!0}return!1}),[t]);return(0,r.useMemo)((()=>({startsWith:n,endsWith:o,contains:i})),[n,o,i])}var z=function(e,t){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},z(e,t)};function T(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ee,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(te.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Q.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Q,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=O(O({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=O(O({},t),ne(i)))}else if(J.test(o.stem))t=O(O({},t),ne(o.stem));else{var a=re(o.stem);a&&(t=O(O({},t),a));var s=oe(o.stem);s&&(t=O(O({},t),s))}}return t}var se,le={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ue(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(le[n||""]||le[r||""]||le["".concat(r,"-001")]||le["001"])[0]}var ce=new RegExp("^".concat(G.source,"*")),de=new RegExp("".concat(G.source,"*$"));function pe(e,t){return{start:e,end:t}}var he=!!String.prototype.startsWith&&"_a".startsWith("a",1),fe=!!String.fromCodePoint,me=!!Object.fromEntries,ge=!!String.prototype.codePointAt,ve=!!String.prototype.trimStart,ye=!!String.prototype.trimEnd,be=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},we=!0;try{we="a"===(null===(se=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===se?void 0:se[0])}catch(e){we=!1}var xe,De=he?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ce=fe?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Ee=me?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},_e=ve?function(e){return e.trimStart()}:function(e){return e.replace(ce,"")},Pe=ye?function(e){return e.trimEnd()}:function(e){return e.replace(de,"")};function ke(e,t){return new RegExp(e,t)}if(we){var Ae=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xe=function(e,t){var n;return Ae.lastIndex=t,null!==(n=Ae.exec(e)[1])&&void 0!==n?n:""}}else xe=function(e,t){for(var n=[];;){var r=Se(e,t);if(void 0===r||Oe(r)||Ie(r))break;n.push(r),t+=r>=65536?2:1}return Ce.apply(void 0,n)};var ze=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(F.UNMATCHED_CLOSING_TAG,pe(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Te(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:M.pound,location:pe(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:M.literal,value:"<".concat(r,"/>"),location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:M.tag,value:r,children:i,location:pe(n,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,pe(a,this.clonePosition())))}return this.error(F.UNCLOSED_TAG,pe(n,this.clonePosition()))}return this.error(F.INVALID_TAG,pe(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=pe(n,this.clonePosition());return{val:{type:M.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Ce.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Ce(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(F.EMPTY_ARGUMENT,pe(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(F.MALFORMED_ARGUMENT,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:M.argument,value:r,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(F.MALFORMED_ARGUMENT,pe(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=xe(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:pe(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,pe(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(h=Pe(v.val)).length)return this.error(F.EXPECT_ARGUMENT_STYLE,pe(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:pe(u,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var c=pe(r,this.clonePosition());if(l&&De(null==l?void 0:l.style,"::",0)){var d=_e(l.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?v:{val:{type:M.number,value:n,location:c,style:v.val},err:null};if(0===d.length)return this.error(F.EXPECT_DATE_TIME_SKELETON,c);var p=d;this.locale&&(p=function(e,t){for(var n="",r=0;r>1),l=ue(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===o?"H":o}return n}(d,this.locale));var h={type:R.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?X(p):{}};return{val:{type:"date"===a?M.date:M.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===a?M.number:"date"===a?M.date:M.time,value:n,location:c,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,pe(f,O({},f)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pe(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=v.val}var y,b=this.tryParsePluralOrSelectOptions(e,a,t,m);if(b.err)return b;if((y=this.tryParseArgumentClose(r)).err)return y;var w=pe(r,this.clonePosition());return"select"===a?{val:{type:M.select,value:n,options:Ee(b.val),location:w},err:null}:{val:{type:M.plural,value:n,options:Ee(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:w},err:null};default:return this.error(F.INVALID_ARGUMENT_TYPE,pe(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pe(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Y).filter((function(e){return e.length>0}));n=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=pe(r,this.clonePosition());return o?be(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Se(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(De(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Oe(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Te(e){return e>=97&&e<=122||e>=65&&e<=90}function Oe(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Ie(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Fe(e){e.forEach((function(e){if(delete e.location,V(e)||q(e))for(var t in e.options)delete e.options[t].location,Fe(e.options[t].value);else N(e)&&U(e.style)||(L(e)||K(e))&&$(e.style)?delete e.style.location:Z(e)&&Fe(e.children)}))}function Me(e,t){void 0===t&&(t={}),t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ze(e,t).parse();if(n.err){var r=SyntaxError(F[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Fe(n.val),n.val}function Re(e,t){var n=t&&t.cache?t.cache:He,r=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:Le)(e,{cache:n,serializer:r})}function je(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function Be(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function Ne(e,t,n,r,o){return n.bind(t,e,r,o)}function Le(e,t){return Ne(e,this,1===e.length?je:Be,t.cache.create(),t.serializer)}var Ke=function(){return JSON.stringify(arguments)};function Ve(){this.cache=Object.create(null)}Ve.prototype.get=function(e){return this.cache[e]},Ve.prototype.set=function(e,t){this.cache[e]=t};var qe,He={create:function(){return new Ve}},Ze={variadic:function(e,t){return Ne(e,this,Be,t.cache.create(),t.serializer)},monadic:function(e,t){return Ne(e,this,je,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(qe||(qe={}));var Ue,$e=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return T(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ge=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),qe.INVALID_VALUE,o)||this}return T(t,e),t}($e),We=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),qe.INVALID_VALUE,r)||this}return T(t,e),t}($e),Xe=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),qe.MISSING_VALUE,n)||this}return T(t,e),t}($e);function Ye(e){return"function"==typeof e}function Qe(e,t,n,r,o,i,a){if(1===e.length&&j(e[0]))return[{type:Ue.literal,value:e[0].value}];for(var s=[],l=0,u=e;l0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Me,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const nt=tt;class rt{getStringForLocale(e,t){let n=this.messages[t];n||(n=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(t,this.messages,this.defaultLocale),this.messages[t]=n);let r=n[e];if(!r)throw new Error(`Could not find intl message ${e} in ${t} locale`);return r}constructor(e,t="en-US"){this.messages={...e},this.defaultLocale=t}}class ot{format(e,t){let n,r=this.cache[e];if(!r){let t=this.messages.getStringForLocale(e,this.locale);if(!t)throw new Error(`Could not find intl message ${e} in ${this.locale} locale`);r=new nt(t,this.locale),this.cache[e]=r}return t&&(n=Object.keys(t).reduce(((e,n)=>(e[n]=null!=t[n]&&t[n],e)),{})),r.format(n)}constructor(e,t){this.locale=e,this.messages=t,this.cache={}}}const it=new WeakMap;function at(e){let{locale:t}=w(),n=(0,r.useMemo)((()=>function(e){let t=it.get(e);return t||(t=new rt(e),it.set(e,t)),t}(e)),[e]),o=(0,r.useMemo)((()=>new ot(t,n)),[t,n]);return(0,r.useCallback)(((e,t)=>o.format(e,t)),[o])}},49987:(e,t,n)=>{"use strict";n.d(t,{mk:()=>k,Jz:()=>$,E:()=>U,_w:()=>G,KK:()=>T,mG:()=>Y,L_:()=>Q,XI:()=>oe,Fc:()=>ie,Kf:()=>W,v5:()=>le,TA:()=>pe,r_:()=>ue,r7:()=>y,y0:()=>ce});var r=n(20770),o=n(67294);function i(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var a=n(2278);function s(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,i(e,t,"set"),n),n}var l=n(16021);let u="default",c="",d=new WeakMap;function p(e){if((0,r.gn)()){if("default"===u){const t=(0,r.r3)(e);c=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}u="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(d.set(e,e.style.userSelect),e.style.userSelect="none")}function h(e){if((0,r.gn)()){if("disabled"!==u)return;u="restoring",setTimeout((()=>{(0,r.QB)((()=>{if("restoring"===u){const t=(0,r.r3)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=c||""),c="",u="default"}}))}),300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&d.has(e)){let t=d.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),d.delete(e)}}const f=o.createContext({register:()=>{}});f.displayName="PressResponderContext";var m=new WeakMap;class g{continuePropagation(){s(this,m,!1)}get shouldStopPropagation(){return function(e,t){return t.get?t.get.call(e):t.value}(e=this,i(e,m,"get"));var e}constructor(e,t,n){(0,a._)(this,m,{writable:!0,value:void 0}),s(this,m,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const v=Symbol("linkClicked");function y(e){let{onPress:t,onPressChange:n,onPressStart:i,onPressEnd:a,onPressUp:s,isDisabled:l,isPressed:u,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:m,ref:y,..._}=function(e){let t=(0,o.useContext)(f);if(t){let{register:n,...o}=t;e=(0,r.dG)(o,e),n()}return(0,r.lE)(t,e.ref),e}(e),[P,k]=(0,o.useState)(!1),A=(0,o.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:z,removeAllGlobalListeners:T}=(0,r.xi)(),O=(0,r.iW)(((e,t)=>{let r=A.current;if(l||r.didFirePressStart)return!1;let o=!0;if(r.isTriggeringEvent=!0,i){let n=new g("pressstart",t,e);i(n),o=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,k(!0),o})),I=(0,r.iW)(((e,r,o=!0)=>{let i=A.current;if(!i.didFirePressStart)return!1;i.ignoreClickAfterPress=!0,i.didFirePressStart=!1,i.isTriggeringEvent=!0;let s=!0;if(a){let t=new g("pressend",r,e);a(t),s=t.shouldStopPropagation}if(n&&n(!1),k(!1),t&&o&&!l){let n=new g("press",r,e);t(n),s&&(s=n.shouldStopPropagation)}return i.isTriggeringEvent=!1,s})),F=(0,r.iW)(((e,t)=>{let n=A.current;if(l)return!1;if(s){n.isTriggeringEvent=!0;let r=new g("pressup",t,e);return s(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0})),M=(0,r.iW)((e=>{let t=A.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&I(D(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,T(),m||h(t.target))})),R=(0,r.iW)((e=>{d&&M(e)})),j=(0,o.useMemo)((()=>{let e=A.current,t={onKeyDown(t){if(w(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var o;S(t.target,t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,i=O(t,"keyboard");let o=t.currentTarget,a=t=>{w(t,o)&&!t.repeat&&o.contains(t.target)&&e.target&&F(D(e.target,t),"keyboard")};z((0,r.k3)(t.currentTarget),"keyup",(0,r.tS)(a,n),!0)}i&&t.stopPropagation(),t.metaKey&&(0,r.V5)()&&(null===(o=e.metaKeyEvents)||void 0===o||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!r.nG.isOpening){let n=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,r.Zj)(t.nativeEvent))){l||c||(0,r.Ao)(t.currentTarget);let e=O(t,"virtual"),o=F(t,"virtual"),i=I(t,"virtual");n=e&&o&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n;if(e.isPressed&&e.target&&w(t,e.target)){var o;S(t.target,t.key)&&t.preventDefault();let n=t.target;I(D(e.target,t),"keyboard",e.target.contains(n)),T(),"Enter"!==t.key&&b(e.target)&&e.target.contains(n)&&!t[v]&&(t[v]=!0,(0,r.nG)(e.target,t,!1)),e.isPressed=!1,null===(o=e.metaKeyEvents)||void 0===o||o.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){var i;let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,r.cr)(t.nativeEvent))return void(e.pointerType="virtual");E(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||c||(0,r.Ao)(t.currentTarget),m||p(e.target),a=O(t,e.pointerType),z((0,r.k3)(t.currentTarget),"pointermove",n,!1),z((0,r.k3)(t.currentTarget),"pointerup",o,!1),z((0,r.k3)(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(E(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&C(t,t.currentTarget)&&F(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&C(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,O(D(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,I(D(e.target,t),e.pointerType,!1),R(t)))},o=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(C(t,e.target)&&null!=e.pointerType?I(D(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&I(D(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,T(),m||h(e.target))},i=e=>{M(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&M(e)}}else{t.onMouseDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if(E(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents)return void t.stopPropagation();e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,r.Zj)(t.nativeEvent)?"virtual":"mouse",l||c||(0,r.Ao)(t.currentTarget),O(t,e.pointerType)&&t.stopPropagation(),z((0,r.k3)(t.currentTarget),"mouseup",n,!1)},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=O(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=I(t,e.pointerType,!1),R(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&(e.ignoreEmulatedMouseEvents||0!==t.button||F(t,e.pointerType||"mouse"))};let n=t=>{0===t.button&&(e.isPressed=!1,T(),e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:(e.target&&C(t,e.target)&&null!=e.pointerType?I(D(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&I(D(e.target,t),e.pointerType,!1),e.isOverTarget=!1))};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||c||(0,r.Ao)(t.currentTarget),m||p(e.target),O(t,e.pointerType)&&t.stopPropagation(),z((0,r.kR)(t.currentTarget),"scroll",o,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=x(t.nativeEvent,e.activePointerId),r=!0;n&&C(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=O(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=I(t,e.pointerType,!1),R(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=x(t.nativeEvent,e.activePointerId),r=!0;n&&C(n,t.currentTarget)&&null!=e.pointerType?(F(t,e.pointerType),r=I(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=I(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&h(e.target),T()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&M(t))};let o=t=>{e.isPressed&&t.target.contains(e.target)&&M({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&M(e)}}return t}),[z,l,c,T,m,M,R,I,O,F]);return(0,o.useEffect)((()=>()=>{var e;m||h(null!==(e=A.current.target)&&void 0!==e?e:void 0)}),[m]),{isPressed:u||P,pressProps:(0,r.dG)(_,j)}}function b(e){return"A"===e.tagName&&e.hasAttribute("href")}function w(e,t){const{key:n,code:o}=e,i=t,a=i.getAttribute("role");return!("Enter"!==n&&" "!==n&&"Spacebar"!==n&&"Space"!==o||i instanceof(0,r.kR)(i).HTMLInputElement&&!P(i,n)||i instanceof(0,r.kR)(i).HTMLTextAreaElement||i.isContentEditable||("link"===a||!a&&b(i))&&"Enter"!==n)}function x(e,t){const n=e.changedTouches;for(let e=0;ei.right||i.left>o.right||o.top>i.bottom||i.top>o.bottom);var o,i}function E(e){return!(e instanceof HTMLElement&&e.hasAttribute("draggable"))}function S(e,t){return e instanceof HTMLInputElement?!P(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!b(e)}const _=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function P(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:_.has(e.type)}function k({children:e}){let t=(0,o.useMemo)((()=>({register:()=>{}})),[]);return o.createElement(f.Provider,{value:t},e)}class A{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function z(e){let t=(0,o.useRef)({isFocused:!1,observer:null});(0,r.bt)((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=(0,r.iW)((t=>{null==e||e(t)}));return(0,o.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,o=e=>{t.current.isFocused=!1,r.disabled&&n(new A("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}function T(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:a}=e;const s=(0,o.useCallback)((e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0}),[i,a]),l=z(s),u=(0,o.useCallback)((e=>{const t=(0,r.k3)(e.target),o=t instanceof ShadowRoot?(0,r.Gf)():t.activeElement;e.target===e.currentTarget&&o===e.target&&(n&&n(e),a&&a(!0),l(e))}),[a,n,l]);return{focusProps:{onFocus:!t&&(n||a||i)?u:void 0,onBlur:t||!i&&!a?void 0:s}}}let O=null,I=new Set,F=new Map,M=!1,R=!1;const j={Tab:!0,Escape:!0};function B(e,t){for(let n of I)n(e,t)}function N(e){M=!0,function(e){return!(e.metaKey||!(0,r.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(O="keyboard",B("keyboard",e))}function L(e){O="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(M=!0,B("pointer",e))}function K(e){(0,r.Zj)(e)&&(M=!0,O="virtual")}function V(e){e.target!==window&&e.target!==document&&(M||R||(O="virtual",B("virtual",e)),M=!1,R=!1)}function q(){M=!1,R=!0}function H(e){if("undefined"==typeof window||F.get((0,r.kR)(e)))return;const t=(0,r.kR)(e),n=(0,r.k3)(e);let o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){M=!0,o.apply(this,arguments)},n.addEventListener("keydown",N,!0),n.addEventListener("keyup",N,!0),n.addEventListener("click",K,!0),t.addEventListener("focus",V,!0),t.addEventListener("blur",q,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",L,!0),n.addEventListener("pointermove",L,!0),n.addEventListener("pointerup",L,!0)):(n.addEventListener("mousedown",L,!0),n.addEventListener("mousemove",L,!0),n.addEventListener("mouseup",L,!0)),t.addEventListener("beforeunload",(()=>{Z(e)}),{once:!0}),F.set(t,{focus:o})}const Z=(e,t)=>{const n=(0,r.kR)(e),o=(0,r.k3)(e);t&&o.removeEventListener("DOMContentLoaded",t),F.has(n)&&(n.HTMLElement.prototype.focus=F.get(n).focus,o.removeEventListener("keydown",N,!0),o.removeEventListener("keyup",N,!0),o.removeEventListener("click",K,!0),n.removeEventListener("focus",V,!0),n.removeEventListener("blur",q,!1),"undefined"!=typeof PointerEvent?(o.removeEventListener("pointerdown",L,!0),o.removeEventListener("pointermove",L,!0),o.removeEventListener("pointerup",L,!0)):(o.removeEventListener("mousedown",L,!0),o.removeEventListener("mousemove",L,!0),o.removeEventListener("mouseup",L,!0)),F.delete(n))};function U(){return"pointer"!==O}function $(){return O}function G(e){O=e,B(e,null)}function W(){H();let[e,t]=(0,o.useState)(O);return(0,o.useEffect)((()=>{let e=()=>{t(O)};return I.add(e),()=>{I.delete(e)}}),[]),(0,l.Av)()?null:e}"undefined"!=typeof document&&function(e){const t=(0,r.k3)(e);let n;t instanceof ShadowRoot||"loading"!==t.readyState?H(e):(n=()=>{H(e)},t.addEventListener("DOMContentLoaded",n))}();const X=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y(e,t,n){H(),(0,o.useEffect)((()=>{let t=(t,o)=>{(function(e,t,n){var o;const i="undefined"!=typeof window?(0,r.kR)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,a="undefined"!=typeof window?(0,r.kR)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,r.kR)(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,r.kR)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!X.has(null==n||null===(o=n.target)||void 0===o?void 0:o.type)||(null==n?void 0:n.target)instanceof a||(null==n?void 0:n.target)instanceof s&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!j[n.key])})(!!(null==n?void 0:n.isTextInput),t,o)&&e(U())};return I.add(t),()=>{I.delete(t)}}),t)}function Q(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:a}=e,s=(0,o.useRef)({isFocusWithin:!1}),l=(0,o.useCallback)((e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(e),a&&a(!1))}),[n,a,s]),u=z(l),c=(0,o.useCallback)((e=>{s.current.isFocusWithin||(0,r.Gf)()!==e.target||(i&&i(e),a&&a(!0),s.current.isFocusWithin=!0,u(e))}),[i,a,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}let J=!1,ee=0;function te(){J=!0,setTimeout((()=>{J=!1}),50)}function ne(e){"touch"===e.pointerType&&te()}function re(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ne):document.addEventListener("touchend",te),ee++,()=>{ee--,ee>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ne):document.removeEventListener("touchend",te))}}function oe(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,s]=(0,o.useState)(!1),l=(0,o.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,o.useEffect)(re,[]);let{hoverProps:u,triggerHoverEnd:c}=(0,o.useMemo)((()=>{let e=(e,r)=>{if(l.pointerType=r,i||"touch"===r||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let o=e.currentTarget;l.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),s(!0)},o=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let o=e.currentTarget;r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),s(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{J&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,e.pointerType)}):(a.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||J||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,"mouse")}),{hoverProps:a,triggerHoverEnd:o}}),[t,n,r,i,l]);return(0,o.useEffect)((()=>{i&&c({currentTarget:l.target},l.pointerType)}),[i]),{hoverProps:u,isHovered:a}}function ie(e){let{ref:t,onInteractOutside:n,isDisabled:i,onInteractOutsideStart:a}=e,s=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=(0,r.iW)((e=>{n&&ae(e,t)&&(a&&a(e),s.current.isPointerDown=!0)})),u=(0,r.iW)((e=>{n&&n(e)}));(0,o.useEffect)((()=>{let e=s.current;if(i)return;const n=t.current,o=(0,r.r3)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&ae(n,t)&&u(n),e.isPointerDown=!1};return o.addEventListener("pointerdown",l,!0),o.addEventListener("pointerup",n,!0),()=>{o.removeEventListener("pointerdown",l,!0),o.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&ae(n,t)&&u(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&ae(n,t)&&u(n),e.isPointerDown=!1};return o.addEventListener("mousedown",l,!0),o.addEventListener("mouseup",n,!0),o.addEventListener("touchstart",l,!0),o.addEventListener("touchend",r,!0),()=>{o.removeEventListener("mousedown",l,!0),o.removeEventListener("mouseup",n,!0),o.removeEventListener("touchstart",l,!0),o.removeEventListener("touchend",r,!0)}}}),[t,i,l,u])}function ae(e,t){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}function se(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function le(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:se(e.onKeyDown),onKeyUp:se(e.onKeyUp)}}}function ue(e){let{onMoveStart:t,onMove:n,onMoveEnd:i}=e,a=(0,o.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:s,removeGlobalListener:l}=(0,r.xi)(),u=(0,r.iW)(((e,r,o,i)=>{0===o&&0===i||(a.current.didMove||(a.current.didMove=!0,null==t||t({type:"movestart",pointerType:r,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})),null==n||n({type:"move",pointerType:r,deltaX:o,deltaY:i,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))})),c=(0,r.iW)(((e,t)=>{h(),a.current.didMove&&(null==i||i({type:"moveend",pointerType:t,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))}));return{moveProps:(0,o.useMemo)((()=>{let e={},t=()=>{p(),a.current.didMove=!1};if("undefined"==typeof PointerEvent){let n=e=>{var t,n,r,o;0===e.button&&(u(e,"mouse",e.pageX-(null!==(r=null===(t=a.current.lastPosition)||void 0===t?void 0:t.pageX)&&void 0!==r?r:0),e.pageY-(null!==(o=null===(n=a.current.lastPosition)||void 0===n?void 0:n.pageY)&&void 0!==o?o:0)),a.current.lastPosition={pageX:e.pageX,pageY:e.pageY})},r=e=>{0===e.button&&(c(e,"mouse"),l(window,"mousemove",n,!1),l(window,"mouseup",r,!1))};e.onMouseDown=e=>{0===e.button&&(t(),e.stopPropagation(),e.preventDefault(),a.current.lastPosition={pageX:e.pageX,pageY:e.pageY},s(window,"mousemove",n,!1),s(window,"mouseup",r,!1))};let o=e=>{let t=[...e.changedTouches].findIndex((({identifier:e})=>e===a.current.id));if(t>=0){var n,r;let{pageX:s,pageY:l}=e.changedTouches[t];var o,i;u(e,"touch",s-(null!==(o=null===(n=a.current.lastPosition)||void 0===n?void 0:n.pageX)&&void 0!==o?o:0),l-(null!==(i=null===(r=a.current.lastPosition)||void 0===r?void 0:r.pageY)&&void 0!==i?i:0)),a.current.lastPosition={pageX:s,pageY:l}}},i=e=>{[...e.changedTouches].findIndex((({identifier:e})=>e===a.current.id))>=0&&(c(e,"touch"),a.current.id=null,l(window,"touchmove",o),l(window,"touchend",i),l(window,"touchcancel",i))};e.onTouchStart=e=>{if(0===e.changedTouches.length||null!=a.current.id)return;let{pageX:n,pageY:r,identifier:l}=e.changedTouches[0];t(),e.stopPropagation(),e.preventDefault(),a.current.lastPosition={pageX:n,pageY:r},a.current.id=l,s(window,"touchmove",o,!1),s(window,"touchend",i,!1),s(window,"touchcancel",i,!1)}}else{let n=e=>{if(e.pointerId===a.current.id){var t,n;let i=e.pointerType||"mouse";var r,o;u(e,i,e.pageX-(null!==(r=null===(t=a.current.lastPosition)||void 0===t?void 0:t.pageX)&&void 0!==r?r:0),e.pageY-(null!==(o=null===(n=a.current.lastPosition)||void 0===n?void 0:n.pageY)&&void 0!==o?o:0)),a.current.lastPosition={pageX:e.pageX,pageY:e.pageY}}},r=e=>{if(e.pointerId===a.current.id){let t=e.pointerType||"mouse";c(e,t),a.current.id=null,l(window,"pointermove",n,!1),l(window,"pointerup",r,!1),l(window,"pointercancel",r,!1)}};e.onPointerDown=e=>{0===e.button&&null==a.current.id&&(t(),e.stopPropagation(),e.preventDefault(),a.current.lastPosition={pageX:e.pageX,pageY:e.pageY},a.current.id=e.pointerId,s(window,"pointermove",n,!1),s(window,"pointerup",r,!1),s(window,"pointercancel",r,!1))}}let n=(e,n,r)=>{t(),u(e,"keyboard",n,r),c(e,"keyboard")};return e.onKeyDown=e=>{switch(e.key){case"Left":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),n(e,-1,0);break;case"Right":case"ArrowRight":e.preventDefault(),e.stopPropagation(),n(e,1,0);break;case"Up":case"ArrowUp":e.preventDefault(),e.stopPropagation(),n(e,0,-1);break;case"Down":case"ArrowDown":e.preventDefault(),e.stopPropagation(),n(e,0,1)}},e}),[a,s,l,u,c])}}function ce(e,t){let{onScroll:n,isDisabled:i}=e,a=(0,o.useCallback)((e=>{e.ctrlKey||(e.preventDefault(),e.stopPropagation(),n&&n({deltaX:e.deltaX,deltaY:e.deltaY}))}),[n]);(0,r.zX)(t,"wheel",i?void 0:a)}const de=500;function pe(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:i,onLongPress:a,threshold:s=de,accessibilityDescription:l}=e;const u=(0,o.useRef)();let{addGlobalListener:c,removeGlobalListener:d}=(0,r.xi)(),{pressProps:p}=y({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),u.current=setTimeout((()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...e,type:"longpress"}),u.current=void 0}),s),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};c(e.target,"contextmenu",t,{once:!0}),c(window,"pointerup",(()=>{setTimeout((()=>{d(e.target,"contextmenu",t)}),30)}),{once:!0})}},onPressEnd(e){u.current&&clearTimeout(u.current),!i||"mouse"!==e.pointerType&&"touch"!==e.pointerType||i({...e,type:"longpressend"})}}),h=(0,r.PK)(a&&!t?l:void 0);return{longPressProps:(0,r.dG)(p,h)}}},41217:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,U:()=>i});var r=n(20770);function o(e){let{id:t,label:n,"aria-labelledby":o,"aria-label":i,labelElementType:a="label"}=e;t=(0,r.Me)(t);let s=(0,r.Me)(),l={};return n?(o=o?`${s} ${o}`:s,l={id:s,htmlFor:"label"===a?t:void 0}):o||i||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:l,fieldProps:(0,r.bE)({id:t,"aria-label":i,"aria-labelledby":o})}}function i(e){let{description:t,errorMessage:n,isInvalid:i,validationState:a}=e,{labelProps:s,fieldProps:l}=o(e),u=(0,r.mp)([Boolean(t),Boolean(n),i,a]),c=(0,r.mp)([Boolean(t),Boolean(n),i,a]);return l=(0,r.dG)(l,{"aria-describedby":[u,c,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:s,fieldProps:l,descriptionProps:{id:u},errorMessageProps:{id:c}}}},80602:(e,t,n)=>{"use strict";n.d(t,{gb:()=>i,xQ:()=>o});let r=null;function o(e,t="assertive",n=7e3){r||(r=new a),r.announce(e,t,n)}function i(e){r&&r.clear(e)}class a{createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){if(!this.node)return;let r=document.createElement("div");r.textContent=e,"assertive"===t?this.assertiveLog.appendChild(r):this.politeLog.appendChild(r),""!==e&&setTimeout((()=>{r.remove()}),n)}clear(e){this.node&&(e&&"assertive"!==e||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}},13607:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,p:()=>p});var r=n(20770),o=n(67294),i=n(49987),a=n(41217),s=n(18383),l=n(88786);const u=new WeakMap;function c(e,t){let n=u.get(e);if(!n)throw new Error("Unknown slider state");return`${n.id}-${t}`}function d(e,t,n){let{labelProps:l,fieldProps:d}=(0,a.N)(e),p="vertical"===e.orientation;var h;u.set(t,{id:null!==(h=l.id)&&void 0!==h?h:d.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:f}=(0,s.bU)(),{addGlobalListener:m,removeGlobalListener:g}=(0,r.xi)();const v=(0,o.useRef)(null),y="rtl"===f,b=(0,o.useRef)(null),{moveProps:w}=(0,i.r_)({onMoveStart(){b.current=null},onMove({deltaX:e,deltaY:o}){let{height:i,width:a}=n.current.getBoundingClientRect(),s=p?i:a;null==b.current&&(b.current=t.getThumbPercent(v.current)*s);let l=p?o:e;if((p||y)&&(l=-l),b.current+=l,null!=v.current&&n.current){const e=(0,r.uZ)(b.current/s,0,1);t.setThumbPercent(v.current,e)}},onMoveEnd(){null!=v.current&&(t.setThumbDragging(v.current,!1),v.current=null)}});let x=(0,o.useRef)(void 0),D=(r,o,i,a)=>{if(n.current&&!e.isDisabled&&t.values.every(((e,n)=>!t.isThumbDragging(n)))){let{height:e,width:s,top:l,left:u}=n.current.getBoundingClientRect();let c=((p?a:i)-(p?l:u))/(p?e:s);("rtl"===f||p)&&(c=1-c);let d,h=t.getPercentValue(c),g=t.values.findIndex((e=>h-e<0));if(0===g)d=g;else if(-1===g)d=t.values.length-1;else{let e=t.values[g-1],n=t.values[g];d=Math.abs(e-h)=0&&t.isThumbEditable(d)?(r.preventDefault(),v.current=d,t.setFocusedThumb(d),x.current=o,t.setThumbDragging(v.current,!0),t.setThumbValue(d,h),m(window,"mouseup",C,!1),m(window,"touchend",C,!1),m(window,"pointerup",C,!1)):v.current=null}},C=e=>{var n,r;(null!==(r=e.pointerId)&&void 0!==r?r:null===(n=e.changedTouches)||void 0===n?void 0:n[0].identifier)===x.current&&(null!=v.current&&(t.setThumbDragging(v.current,!1),v.current=null),g(window,"mouseup",C,!1),g(window,"touchend",C,!1),g(window,"pointerup",C,!1))};return"htmlFor"in l&&l.htmlFor&&(delete l.htmlFor,l.onClick=()=>{var e;null===(e=document.getElementById(c(t,0)))||void 0===e||e.focus(),(0,i._w)("keyboard")}),{labelProps:l,groupProps:{role:"group",...d},trackProps:(0,r.dG)({onMouseDown(e){0!==e.button||e.altKey||e.ctrlKey||e.metaKey||D(e,void 0,e.clientX,e.clientY)},onPointerDown(e){"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||D(e,e.pointerId,e.clientX,e.clientY)},onTouchStart(e){D(e,e.changedTouches[0].identifier,e.changedTouches[0].clientX,e.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},w),outputProps:{htmlFor:t.values.map(((e,n)=>c(t,n))).join(" "),"aria-live":"off"}}}function p(e,t){let{index:n=0,isRequired:d,validationState:p,isInvalid:h,trackRef:f,inputRef:m,orientation:g=t.orientation,name:v}=e,y=e.isDisabled||t.isDisabled,b="vertical"===g,{direction:w}=(0,s.bU)(),{addGlobalListener:x,removeGlobalListener:D}=(0,r.xi)(),C=u.get(t);var E;const{labelProps:S,fieldProps:_}=(0,a.N)({...e,id:c(t,n),"aria-labelledby":`${C.id} ${null!==(E=e["aria-labelledby"])&&void 0!==E?E:""}`.trim()}),P=t.values[n],k=(0,o.useCallback)((()=>{m.current&&(0,r.Ao)(m.current)}),[m]),A=t.focusedThumb===n;(0,o.useEffect)((()=>{A&&k()}),[A,k]);let z="rtl"===w,T=(0,o.useRef)(null),{keyboardProps:O}=(0,i.v5)({onKeyDown(e){let{getThumbMaxValue:r,getThumbMinValue:o,decrementThumb:i,incrementThumb:a,setThumbValue:s,setThumbDragging:l,pageSize:u}=t;if(/^(PageUp|PageDown|Home|End)$/.test(e.key)){switch(e.preventDefault(),l(n,!0),e.key){case"PageUp":a(n,u);break;case"PageDown":i(n,u);break;case"Home":s(n,o(n));break;case"End":s(n,r(n))}l(n,!1)}else e.continuePropagation()}}),{moveProps:I}=(0,i.r_)({onMoveStart(){T.current=null,t.setThumbDragging(n,!0)},onMove({deltaX:e,deltaY:o,pointerType:i,shiftKey:a}){const{getThumbPercent:s,setThumbPercent:l,decrementThumb:u,incrementThumb:c,step:d,pageSize:p}=t;let{width:h,height:m}=f.current.getBoundingClientRect(),g=b?m:h;if(null==T.current&&(T.current=s(n)*g),"keyboard"===i)e>0&&z||e<0&&!z||o>0?u(n,a?p:d):c(n,a?p:d);else{let t=b?o:e;(b||z)&&(t=-t),T.current+=t,l(n,(0,r.uZ)(T.current/g,0,1))}},onMoveEnd(){t.setThumbDragging(n,!1)}});t.setThumbEditable(n,!y);const{focusableProps:F}=(0,l.kc)((0,r.dG)(e,{onFocus:()=>t.setFocusedThumb(n),onBlur:()=>t.setFocusedThumb(void 0)}),m);let M=(0,o.useRef)(void 0),R=e=>{k(),M.current=e,t.setThumbDragging(n,!0),x(window,"mouseup",j,!1),x(window,"touchend",j,!1),x(window,"pointerup",j,!1)},j=e=>{var r,o;(null!==(o=e.pointerId)&&void 0!==o?o:null===(r=e.changedTouches)||void 0===r?void 0:r[0].identifier)===M.current&&(k(),t.setThumbDragging(n,!1),D(window,"mouseup",j,!1),D(window,"touchend",j,!1),D(window,"pointerup",j,!1))},B=t.getThumbPercent(n);(b||"rtl"===w)&&(B=1-B);let N=y?{}:(0,r.dG)(O,I,{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||R()},onPointerDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||R(e.pointerId)},onTouchStart:e=>{R(e.changedTouches[0].identifier)}});return(0,r.y$)(m,P,(e=>{t.setThumbValue(n,e)})),{inputProps:(0,r.dG)(F,_,{type:"range",tabIndex:y?void 0:0,min:t.getThumbMinValue(n),max:t.getThumbMaxValue(n),step:t.step,value:P,name:v,disabled:y,"aria-orientation":g,"aria-valuetext":t.getThumbValueLabel(n),"aria-required":d||void 0,"aria-invalid":h||"invalid"===p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[C["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[C["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:e=>{t.setThumbValue(n,parseFloat(e.target.value))}}),thumbProps:{...N,style:{position:"absolute",[b?"top":"left"]:100*B+"%",transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:S,isDragging:t.isThumbDragging(n),isDisabled:y,isFocused:A}}},59292:(e,t,n)=>{"use strict";n.d(t,{G:()=>q});var r;r={Empty:"فارغ"};var o;o={Empty:"Изпразни"};var i;i={Empty:"Prázdné"};var a;a={Empty:"Tom"};var s;s={Empty:"Leer"};var l;l={Empty:"Άδειο"};var u;u={Empty:"Empty"};var c;c={Empty:"Vacío"};var d;d={Empty:"Tühjenda"};var p;p={Empty:"Tyhjä"};var h;h={Empty:"Vide"};var f;f={Empty:"ריק"};var m;m={Empty:"Prazno"};var g;g={Empty:"Üres"};var v;v={Empty:"Vuoto"};var y;y={Empty:"空"};var b;b={Empty:"비어 있음"};var w;w={Empty:"Tuščias"};var x;x={Empty:"Tukšs"};var D;D={Empty:"Tom"};var C;C={Empty:"Leeg"};var E;E={Empty:"Pusty"};var S;S={Empty:"Vazio"};var _;_={Empty:"Vazio"};var P;P={Empty:"Gol"};var k;k={Empty:"Не заполнено"};var A;A={Empty:"Prázdne"};var z;z={Empty:"Prazen"};var T;T={Empty:"Prazno"};var O;O={Empty:"Tomt"};var I;I={Empty:"Boş"};var F;F={Empty:"Пусто"};var M;M={Empty:"空"};var R;R={Empty:"空白"};var j=n(80602),B=n(67294),N=n(20770),L=n(18383);function K(e){return e&&e.__esModule?e.default:e}var V;function q(e){const t=(0,B.useRef)();let{value:n,textValue:r,minValue:o,maxValue:i,isDisabled:a,isReadOnly:s,isRequired:l,onIncrement:u,onIncrementPage:c,onDecrement:d,onDecrementPage:p,onDecrementToMin:h,onIncrementToMax:f}=e;const m=(0,L.qb)(K(V),"@react-aria/spinbutton"),g=()=>clearTimeout(t.current);(0,B.useEffect)((()=>()=>g()),[]);let v=(0,B.useRef)(!1),y=()=>{v.current=!0},b=()=>{v.current=!1},w=""===r?m.format("Empty"):(r||`${n}`).replace("-","−");(0,B.useEffect)((()=>{v.current&&((0,j.gb)("assertive"),(0,j.xQ)(w,"assertive"))}),[w]);const x=(0,N.iW)((e=>{g(),null==u||u(),t.current=window.setTimeout((()=>{(void 0===i||isNaN(i)||void 0===n||isNaN(n)||n{g(),null==d||d(),t.current=window.setTimeout((()=>{(void 0===o||isNaN(o)||void 0===n||isNaN(n)||n>o)&&D(60)}),e)}));let C=e=>{e.preventDefault()},{addGlobalListener:E,removeAllGlobalListeners:S}=(0,N.xi)();return{spinButtonProps:{role:"spinbutton","aria-valuenow":void 0===n||isNaN(n)?void 0:n,"aria-valuetext":w,"aria-valuemin":o,"aria-valuemax":i,"aria-disabled":a||void 0,"aria-readonly":s||void 0,"aria-required":l||void 0,onKeyDown:e=>{if(!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||s))switch(e.key){case"PageUp":if(c){e.preventDefault(),null==c||c();break}case"ArrowUp":case"Up":u&&(e.preventDefault(),null==u||u());break;case"PageDown":if(p){e.preventDefault(),null==p||p();break}case"ArrowDown":case"Down":d&&(e.preventDefault(),null==d||d());break;case"Home":h&&(e.preventDefault(),null==h||h());break;case"End":f&&(e.preventDefault(),null==f||f())}},onFocus:y,onBlur:b},incrementButtonProps:{onPressStart:()=>{x(400),E(window,"contextmenu",C)},onPressEnd:()=>{g(),S()},onFocus:y,onBlur:b},decrementButtonProps:{onPressStart:()=>{D(400),E(window,"contextmenu",C)},onPressEnd:()=>{g(),S()},onFocus:y,onBlur:b}}}V={"ar-AE":r,"bg-BG":o,"cs-CZ":i,"da-DK":a,"de-DE":s,"el-GR":l,"en-US":u,"es-ES":c,"et-EE":d,"fi-FI":p,"fr-FR":h,"he-IL":f,"hr-HR":m,"hu-HU":g,"it-IT":v,"ja-JP":y,"ko-KR":b,"lt-LT":w,"lv-LV":x,"nb-NO":D,"nl-NL":C,"pl-PL":E,"pt-BR":S,"pt-PT":_,"ro-RO":P,"ru-RU":k,"sk-SK":A,"sl-SI":z,"sr-SP":T,"sv-SE":O,"tr-TR":I,"uk-UA":F,"zh-CN":M,"zh-TW":R}},16021:(e,t,n)=>{"use strict";n.d(t,{Av:()=>f,gP:()=>c});var r=n(67294);const o={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(o),a=r.createContext(!1);let s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap;function u(e=!1){let t=(0,r.useContext)(i),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,a;let e=null===(a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a||null===(o=a.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}const c="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(f());return e||`${n?"react-aria":`react-aria${o.prefix}`}-${t}`}:function(e){let t=(0,r.useContext)(i);t!==o||s||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=u(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${n}`};function d(){return!1}function p(){return!0}function h(e){return()=>{}}function f(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(h,d,p):(0,r.useContext)(a)}},91788:(e,t,n)=>{"use strict";n.d(t,{E:()=>c,h:()=>p});var r=n(67294),o=n(20770),i=n(85010),a=n(41217),s=n(88786),l=n(86838),u=n(38947);function c(e,t){let{inputElementType:n="input",isDisabled:c=!1,isRequired:d=!1,isReadOnly:p=!1,type:h="text",validationBehavior:f="aria"}=e,[m,g]=(0,i.zk)(e.value,e.defaultValue||"",e.onChange),{focusableProps:v}=(0,s.kc)(e,t),y=(0,u.Q3)({...e,value:m}),{isInvalid:b,validationErrors:w,validationDetails:x}=y.displayValidation,{labelProps:D,fieldProps:C,descriptionProps:E,errorMessageProps:S}=(0,a.U)({...e,isInvalid:b,errorMessage:e.errorMessage||w}),_=(0,o.zL)(e,{labelable:!0});const P={type:h,pattern:e.pattern};return(0,o.y$)(t,m,g),(0,l.Q)(e,y,t),(0,r.useEffect)((()=>{if(t.current instanceof(0,o.kR)(t.current).HTMLTextAreaElement){let e=t.current;Object.defineProperty(e,"defaultValue",{get:()=>e.value,set:()=>{},configurable:!0})}}),[t]),{labelProps:D,inputProps:(0,o.dG)(_,"input"===n&&P,{disabled:c,readOnly:p,required:d&&"native"===f,"aria-required":d&&"aria"===f||void 0,"aria-invalid":b||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:m,onChange:e=>g(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...v,...C}),descriptionProps:E,errorMessageProps:S,isInvalid:b,validationErrors:w,validationDetails:x}}function d(){return"undefined"!=typeof window&&window.InputEvent&&"function"==typeof InputEvent.prototype.getTargetRanges}function p(e,t,n){let i=(0,o.iW)((e=>{let r,o=n.current;switch(e.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":r=o.value.slice(0,o.selectionStart)+o.value.slice(o.selectionEnd);break;case"deleteContentForward":r=o.selectionEnd===o.selectionStart?o.value.slice(0,o.selectionStart)+o.value.slice(o.selectionEnd+1):o.value.slice(0,o.selectionStart)+o.value.slice(o.selectionEnd);break;case"deleteContentBackward":r=o.selectionEnd===o.selectionStart?o.value.slice(0,o.selectionStart-1)+o.value.slice(o.selectionStart):o.value.slice(0,o.selectionStart)+o.value.slice(o.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":r=o.value.slice(o.selectionStart);break;default:null!=e.data&&(r=o.value.slice(0,o.selectionStart)+e.data+o.value.slice(o.selectionEnd))}null!=r&&t.validate(r)||e.preventDefault()}));(0,r.useEffect)((()=>{if(!d())return;let e=n.current;return e.addEventListener("beforeinput",i,!1),()=>{e.removeEventListener("beforeinput",i,!1)}}),[n,i]);let a=d()?null:e=>{let n=e.target.value.slice(0,e.target.selectionStart)+e.data+e.target.value.slice(e.target.selectionEnd);t.validate(n)||e.preventDefault()},{labelProps:s,inputProps:l,descriptionProps:u,errorMessageProps:p,...h}=c(e,n),f=(0,r.useRef)(null);return{inputProps:(0,o.dG)(l,{onBeforeInput:a,onCompositionStart(){let{value:e,selectionStart:t,selectionEnd:r}=n.current;f.current={value:e,selectionStart:t,selectionEnd:r}},onCompositionEnd(){if(!t.validate(n.current.value)){let{value:e,selectionStart:r,selectionEnd:o}=f.current;n.current.value=e,n.current.setSelectionRange(r,o),t.setInputValue(e)}}}),labelProps:s,descriptionProps:u,errorMessageProps:p,...h}}},20770:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>k,B3:()=>Q,Dt:()=>N,Gf:()=>w,Gt:()=>he,IN:()=>I,Me:()=>p,PK:()=>ue,Pf:()=>j,Q5:()=>b,QB:()=>W,V5:()=>O,Zj:()=>fe,a9:()=>re,ad:()=>R,b0:()=>V,bE:()=>Y,bt:()=>s,cr:()=>me,dG:()=>x,gn:()=>M,i7:()=>B,iW:()=>l,ib:()=>Z,k3:()=>y,kR:()=>v,lE:()=>te,lq:()=>D,mp:()=>f,nG:()=>q,nP:()=>ie,r3:()=>g,rP:()=>ne,rf:()=>J,tS:()=>m,tv:()=>K,uZ:()=>r.uZ,vE:()=>ge,xi:()=>X,y$:()=>ve,yU:()=>ee,zL:()=>P,zT:()=>de,zX:()=>ce,zc:()=>F});var r=n(85010),o=n(67294),i=n(16021),a=n(1410);const s="undefined"!=typeof document?o.useLayoutEffect:()=>{};function l(e){const t=(0,o.useRef)(null);return s((()=>{t.current=e}),[e]),(0,o.useCallback)(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}function u(e){let[t,n]=(0,o.useState)(e),r=(0,o.useRef)(null),i=l((()=>{if(!r.current)return;let e=r.current.next();e.done?r.current=null:t===e.value?i():n(e.value)}));s((()=>{r.current&&i()}));let a=l((e=>{r.current=e(t),i()}));return[t,a]}let c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),d=new Map;function p(e){let[t,n]=(0,o.useState)(e),r=(0,o.useRef)(null),a=(0,i.gP)(t),l=(0,o.useCallback)((e=>{r.current=e}),[]);return c&&d.set(a,l),s((()=>{let e=a;return()=>{d.delete(e)}}),[a]),(0,o.useEffect)((()=>{let e=r.current;e&&(r.current=null,n(e))})),a}function h(e,t){if(e===t)return e;let n=d.get(e);if(n)return n(t),t;let r=d.get(t);return r?(r(e),e):t}function f(e=[]){let t=p(),[n,r]=u(t),i=(0,o.useCallback)((()=>{r((function*(){yield t,yield document.getElementById(t)?t:void 0}))}),[t,r]);return s(i,[t,i,...e]),n}function m(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}const g=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},v=e=>{if(e&&"window"in e&&e.window===e)return e;const t=y(e);return t instanceof ShadowRoot?t.ownerDocument.defaultView||window:t.defaultView||window},y=e=>{if(!e)return document;const t=e.getRootNode?e.getRootNode():document;return t instanceof Document||!e.isConnected?document:t},b=e=>{var t;return e instanceof ShadowRoot?null===(t=e.ownerDocument)||void 0===t?void 0:t.body:e.body},w=()=>{var e,t;let n=document.activeElement;for(;(null==n?void 0:n.shadowRoot)&&(null===(e=n.shadowRoot)||void 0===e?void 0:e.activeElement);)n=null==n||null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement;return n};function x(...e){let t={...e[0]};for(let n=1;n=65&&e.charCodeAt(2)<=90?t[e]=m(n,o):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof n||"string"!=typeof o?"id"===e&&n&&o?t.id=h(n,o):t[e]=void 0!==o?o:n:t[e]=(0,a.Z)(n,o)}}return t}function D(...e){return 1===e.length?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}const C=new Set(["id"]),E=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),S=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),_=/^(data-.*)$/;function P(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(C.has(t)||n&&E.has(t)||r&&S.has(t)||(null==o?void 0:o.has(t))||_.test(t))&&(i[t]=e[t]);return i}function k(e){if(function(){if(null==A){A=!1;try{document.createElement("div").focus({get preventScroll(){return A=!0,!0}})}catch(e){}}return A}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeighte.test(t.brand))))||e.test(window.navigator.userAgent))}function T(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function O(){return T(/^Mac/i)}function I(){return T(/^iPhone/i)}function F(){return T(/^iPad/i)||O()&&navigator.maxTouchPoints>1}function M(){return I()||F()}function R(){return O()||M()}function j(){return z(/AppleWebKit/i)&&!B()}function B(){return z(/Chrome/i)}function N(){return z(/Android/i)}const L=(0,o.createContext)({isNative:!0,open:function(e,t){H(e,(e=>q(e,t)))}});function K(){return(0,o.useContext)(L)}function V(e,t){let n=e.getAttribute("target");return!(n&&"_self"!==n||e.origin!==location.origin||e.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)}function q(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;z(/Firefox/i)&&(null===(o=window.event)||void 0===o||null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(O()?i=!0:a=!0);let u=j()&&O()&&!F()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});q.isOpening=n,k(e),e.dispatchEvent(u),q.isOpening=!1}function H(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function Z(e){return{"data-href":e.href,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}q.isOpening=!1;let U=new Map,$=new Set;function G(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=U.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),U.delete(n.target)),0===U.size)){for(let e of $)e();$.clear()}};document.body.addEventListener("transitionrun",(n=>{if(!e(n)||!n.target)return;let r=U.get(n.target);r||(r=new Set,U.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)})),document.body.addEventListener("transitionend",t)}function W(e){requestAnimationFrame((()=>{0===U.size?e():$.add(e)}))}"undefined"!=typeof document&&("loading"!==document.readyState?G():document.addEventListener("DOMContentLoaded",G));function X(){let e=(0,o.useRef)(new Map),t=(0,o.useCallback)(((t,n,r,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,r,o)}),[]),n=(0,o.useCallback)(((t,n,r,o)=>{var i;let a=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,a,o),e.current.delete(r)}),[]),r=(0,o.useCallback)((()=>{e.current.forEach(((e,t)=>{n(e.eventTarget,e.type,t,e.options)}))}),[n]);return(0,o.useEffect)((()=>r),[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Y(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;if(n=p(n),o&&r){let e=new Set([n,...o.trim().split(/\s+/)]);o=[...e].join(" ")}else o&&(o=o.trim().split(/\s+/).join(" "));return r||o||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function Q(e){const t=(0,o.useRef)(null);return(0,o.useMemo)((()=>({get current(){return t.current},set current(n){t.current=n,"function"==typeof e?e(n):e&&(e.current=n)}})),[e])}function J(e,t){const n=(0,o.useRef)(!0),r=(0,o.useRef)(null);(0,o.useEffect)((()=>(n.current=!0,()=>{n.current=!1})),[]),(0,o.useEffect)((()=>{n.current?n.current=!1:r.current&&!t.some(((e,t)=>!Object.is(e,r[t])))||e(),r.current=t}),t)}function ee(e){const{ref:t,onResize:n}=e;(0,o.useEffect)((()=>{let e=null==t?void 0:t.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{const t=new window.ResizeObserver((e=>{e.length&&n()}));return t.observe(e),()=>{e&&t.unobserve(e)}}}}),[n,t])}function te(e,t){s((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}}))}function ne(e,t){let n=e;for(re(n,t)&&(n=n.parentElement);n&&!re(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function re(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}let oe="undefined"!=typeof document&&window.visualViewport;function ie(){let e=(0,i.Av)(),[t,n]=(0,o.useState)((()=>e?{width:0,height:0}:ae()));return(0,o.useEffect)((()=>{let e=()=>{n((e=>{let t=ae();return t.width===e.width&&t.height===e.height?e:t}))};return oe?oe.addEventListener("resize",e):window.addEventListener("resize",e),()=>{oe?oe.removeEventListener("resize",e):window.removeEventListener("resize",e)}}),[]),t}function ae(){return{width:oe&&(null==oe?void 0:oe.width)||window.innerWidth,height:oe&&(null==oe?void 0:oe.height)||window.innerHeight}}let se=0;const le=new Map;function ue(e){let[t,n]=(0,o.useState)();return s((()=>{if(!e)return;let t=le.get(e);if(t)n(t.element.id);else{let r="react-aria-description-"+se++;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},le.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),le.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}function ce(e,t,n,r){let i=l(n),a=null==n;(0,o.useEffect)((()=>{if(a||!e.current)return;let n=e.current;return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}),[e,t,r,a,i])}function de(e,t){let n=pe(e,t,"left"),r=pe(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),d=e.scrollTop+parseInt(l,10),p=c+e.clientWidth,h=d+e.clientHeight;n<=a?a=n-parseInt(u,10):n+o>p&&(a+=n+o-p),r<=d?s=r-parseInt(l,10):r+i>h&&(s+=r+i-h),e.scrollLeft=a,e.scrollTop=s}function pe(e,t,n){const r="left"===n?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function he(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow){let t=ne(e);for(;e&&t&&e!==a&&t!==a;)de(t,e),t=ne(e=t)}else{var n;let{left:a,top:s}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();var r,o,i;if(Math.abs(a-l)>1||Math.abs(s-u)>1)null==t||null===(o=t.containingElement)||void 0===o||null===(r=o.scrollIntoView)||void 0===r||r.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"})}}}function fe(e){return!(0!==e.mozInputSource||!e.isTrusted)||(N()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function me(e){return!N()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}function ge(e,t){let n=(0,o.useRef)(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function ve(e,t,n){let r=(0,o.useRef)(t),i=l((()=>{n&&n(r.current)}));(0,o.useEffect)((()=>{var t;let n=null==e||null===(t=e.current)||void 0===t?void 0:t.form;return null==n||n.addEventListener("reset",i),()=>{null==n||n.removeEventListener("reset",i)}}),[e,i])}},55387:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,T:()=>l});var r=n(20770),o=n(67294),i=n(49987);const a={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(e={}){let{style:t,isFocusable:n}=e,[r,s]=(0,o.useState)(!1),{focusWithinProps:l}=(0,i.L_)({isDisabled:!n,onFocusWithinChange:e=>s(e)});return{visuallyHiddenProps:{...l,style:(0,o.useMemo)((()=>r?t:t?{...a,...t}:a),[r])}}}function l(e){let{children:t,elementType:n="div",isFocusable:i,style:a,...l}=e,{visuallyHiddenProps:u}=s(e);return o.createElement(n,(0,r.dG)(l,u),t)}},43098:(e,t,n)=>{"use strict";n.d(t,{q:()=>Hn,vc:()=>kt,Z5:()=>be,JZ:()=>Ye,q_:()=>Dn,Yz:()=>Cn});var r=n(67294),o=Object.defineProperty,i={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(i,{assign:()=>B,colors:()=>M,createStringInterpolator:()=>T,skipAnimation:()=>R,to:()=>O,willAdvance:()=>j});var a=D(),s=e=>y(e,a),l=D();s.write=e=>y(e,l);var u=D();s.onStart=e=>y(e,u);var c=D();s.onFrame=e=>y(e,c);var d=D();s.onFinish=e=>y(e,d);var p=[];s.setTimeout=(e,t)=>{const n=s.now()+t,r=()=>{const e=p.findIndex((e=>e.cancel==r));~e&&p.splice(e,1),g-=~e?1:0},o={time:n,handler:e,cancel:r};return p.splice(h(n),0,o),g+=1,b(),o};var h=e=>~(~p.findIndex((t=>t.time>e))||~p.length);s.cancel=e=>{u.delete(e),c.delete(e),d.delete(e),a.delete(e),l.delete(e)},s.sync=e=>{v=!0,s.batchedUpdates(e),v=!1},s.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,s.onStart(n)}return r.handler=e,r.cancel=()=>{u.delete(n),t=null},r};var f="undefined"!=typeof window?window.requestAnimationFrame:()=>{};s.use=e=>f=e,s.now="undefined"!=typeof performance?()=>performance.now():Date.now,s.batchedUpdates=e=>e(),s.catch=console.error,s.frameLoop="always",s.advance=()=>{"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};var m=-1,g=0,v=!1;function y(e,t){v?(t.delete(e),e(0)):(t.add(e),b())}function b(){m<0&&(m=0,"demand"!==s.frameLoop&&f(w))}function w(){~m&&(f(w),s.batchedUpdates(x))}function x(){const e=m;m=s.now();const t=h(m);t&&(C(p.splice(0,t),(e=>e.handler())),g-=t),g?(u.flush(),a.flush(e?Math.min(64,m-e):16.667),c.flush(),l.flush(),d.flush()):m=-1}function D(){let e=new Set,t=e;return{add(n){g+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(g-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,g-=t.size,C(t,(t=>t(n)&&e.add(t))),g+=e.size,t=e)}}}function C(e,t){e.forEach((e=>{try{t(e)}catch(e){s.catch(e)}}))}function E(){}var S={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function _(e,t){if(S.arr(e)){if(!S.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function k(e,t,n){if(S.arr(e))for(let r=0;rS.und(e)?[]:S.arr(e)?e:[e];function z(e,t){if(e.size){const n=Array.from(e);e.clear(),P(n,t)}}var T,O,I=(e,...t)=>z(e,(e=>e(...t))),F=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),M=null,R=!1,j=E,B=e=>{e.to&&(O=e.to),e.now&&(s.now=e.now),void 0!==e.colors&&(M=e.colors),null!=e.skipAnimation&&(R=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&s.use(e.requestAnimationFrame),e.batchedUpdates&&(s.batchedUpdates=e.batchedUpdates),e.willAdvance&&(j=e.willAdvance),e.frameLoop&&(s.frameLoop=e.frameLoop)},N=new Set,L=[],K=[],V=0,q={get idle(){return!N.size&&!L.length},start(e){V>e.priority?(N.add(e),s.onStart(H)):(Z(e),s($))},advance:$,sort(e){if(V)s.onFrame((()=>q.sort(e)));else{const t=L.indexOf(e);~t&&(L.splice(t,1),U(e))}},clear(){L=[],N.clear()}};function H(){N.forEach(Z),N.clear(),s($)}function Z(e){L.includes(e)||U(e)}function U(e){L.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(L,(t=>t.priority>e.priority)),0,e)}function $(e){const t=K;for(let n=0;n0}var G="[-+]?\\d*\\.?\\d+",W=G+"%";function X(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Y=new RegExp("rgb"+X(G,G,G)),Q=new RegExp("rgba"+X(G,G,G,G)),J=new RegExp("hsl"+X(G,W,W)),ee=new RegExp("hsla"+X(G,W,W,G)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,oe=/^#([0-9a-fA-F]{8})$/;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ie(o,r,e+1/3),a=ie(o,r,e),s=ie(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function se(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function le(e){return(parseFloat(e)%360+360)%360/360}function ue(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ce(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function de(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:M&&void 0!==M[e]?M[e]:(t=Y.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|255)>>>0:(t=Q.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|ue(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=oe.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=J.exec(e))?(255|ae(le(t[1]),ce(t[2]),ce(t[3])))>>>0:(t=ee.exec(e))?(ae(le(t[1]),ce(t[2]),ce(t[3]))|ue(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var pe=(e,t,n)=>{if(S.fun(e))return e;if(S.arr(e))return pe({range:e,output:t,extrapolate:n});if(S.str(e.output[0]))return T(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,l){let u=l?l(e):e;if(un){if("identity"===s)return u;"clamp"===s&&(u=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=i(u),r===-1/0?u=-u:o===1/0?u+=r:u=u*(o-r)+r;return u}(e,i[t],i[t+1],o[t],o[t+1],l,a,s,r.map)}};var he=1.70158,fe=1.525*he,me=he+1,ge=2*Math.PI/3,ve=2*Math.PI/4.5,ye=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},be={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>me*e*e*e-he*e*e,easeOutBack:e=>1+me*Math.pow(e-1,3)+he*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-fe)/2:(Math.pow(2*e-2,2)*((fe+1)*(2*e-2)+fe)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ge),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ge)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*ve)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*ve)/2+1,easeInBounce:e=>1-ye(1-e),easeOutBounce:ye,easeInOutBounce:e=>e<.5?(1-ye(1-2*e))/2:(1+ye(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},we=Symbol.for("FluidValue.get"),xe=Symbol.for("FluidValue.observers"),De=e=>Boolean(e&&e[we]),Ce=e=>e&&e[we]?e[we]():e,Ee=e=>e[xe]||null;function Se(e,t){const n=e[xe];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var _e=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Pe(this,e)}},Pe=(e,t)=>Te(e,we,t);function ke(e,t){if(e[we]){let n=e[xe];n||Te(e,xe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Ae(e,t){const n=e[xe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[xe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ze,Te=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ie=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Fe=new RegExp(`(${Oe.source})(%|[a-z]+)`,"i"),Me=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Re=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,je=e=>{const[t,n]=Be(e);if(!t||F())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Re.test(n)?je(n):n||e},Be=e=>{const t=Re.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Ne=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Le=e=>{ze||(ze=M?new RegExp(`(${Object.keys(M).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ce(e).replace(Re,je).replace(Ie,de).replace(ze,de))),n=t.map((e=>e.match(Oe).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>pe({...e,output:t})));return e=>{const n=!Fe.test(t[0])&&t.find((e=>Fe.test(e)))?.replace(Oe,"");let o=0;return t[0].replace(Oe,(()=>`${r[o++](e)}${n||""}`)).replace(Me,Ne)}},Ke="react-spring: ",Ve=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Ke}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},qe=Ve(console.warn);var He=Ve(console.warn);function Ze(e){return S.str(e)&&("#"==e[0]||/\d/.test(e)||!F()&&Re.test(e)||e in(M||{}))}var Ue=F()?r.useEffect:r.useLayoutEffect;function $e(){const e=(0,r.useState)()[1],t=(()=>{const e=(0,r.useRef)(!1);return Ue((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var Ge=e=>(0,r.useEffect)(e,We),We=[];function Xe(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current}var Ye=()=>{const[e,t]=(0,r.useState)(null);return Ue((()=>{const e=window.matchMedia("(prefers-reduced-motion)"),n=e=>{t(e.matches),B({skipAnimation:e.matches})};return n(e),e.addEventListener("change",n),()=>{e.removeEventListener("change",n)}}),[]),e},Qe=Symbol.for("Animated:node"),Je=e=>e&&e[Qe],et=(e,t)=>{return n=e,r=Qe,o=t,Object.defineProperty(n,r,{value:o,writable:!0,configurable:!0});var n,r,o},tt=e=>e&&e[Qe]&&e[Qe].getPayload(),nt=class{constructor(){et(this,this)}getPayload(){return this.payload||[]}},rt=class extends nt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,S.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new rt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return S.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,S.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ot=class extends rt{constructor(e){super(0),this._string=null,this._toString=pe({output:[e,e]})}static create(e){return new ot(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(S.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=pe({output:[this.getValue(),e]})),this._value=0,super.reset()}},it={dependencies:null},at=class extends nt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return k(this.source,((n,r)=>{var o;(o=n)&&o[Qe]===o?t[r]=n.getValue(e):De(n)?t[r]=Ce(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&P(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return k(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){it.dependencies&&De(e)&&it.dependencies.add(e);const t=tt(e);t&&P(t,(e=>this.add(e)))}},st=class extends at{constructor(e){super(e)}static create(e){return new st(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(lt)),!0)}};function lt(e){return(Ze(e)?ot:rt).create(e)}function ut(e){const t=Je(e);return t?t.constructor:S.arr(e)?st:Ze(e)?ot:rt}var ct=(e,t)=>{const n=!S.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,r.forwardRef)(((o,i)=>{const a=(0,r.useRef)(null),l=n&&(0,r.useCallback)((e=>{a.current=function(e,t){e&&(S.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[u,c]=function(e,t){const n=new Set;it.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new at(e),it.dependencies=null,[e,n]}(o,t),d=$e(),p=()=>{const e=a.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))&&d()},h=new dt(p,c),f=(0,r.useRef)();Ue((()=>(f.current=h,P(c,(e=>ke(e,h))),()=>{f.current&&(P(f.current.deps,(e=>Ae(e,f.current))),s.cancel(f.current.update))}))),(0,r.useEffect)(p,[]),Ge((()=>()=>{const e=f.current;P(e.deps,(t=>Ae(t,e)))}));const m=t.getComponentProps(u.getValue());return r.createElement(e,{...m,ref:l})}))},dt=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&s.write(this.update)}};var pt=Symbol.for("AnimatedComponent"),ht=e=>S.str(e)?e:e&&S.str(e.displayName)?e.displayName:S.fun(e)&&e.name||null;function ft(e,...t){return S.fun(e)?e(...t):e}var mt=(e,t)=>!0===e||!!(t&&e&&(S.fun(e)?e(t):A(e).includes(t))),gt=(e,t)=>S.obj(e)?t&&e[t]:e,vt=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,yt=e=>e,bt=(e,t=yt)=>{let n=wt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);S.und(n)||(r[o]=n)}return r},wt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],xt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Dt(e){const t=function(e){const t={};let n=0;if(k(e,((e,r)=>{xt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return k(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function Ct(e){return e=Ce(e),S.arr(e)?e.map(Ct):Ze(e)?i.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Et(e){for(const t in e)return!0;return!1}function St(e){return S.fun(e)||S.arr(e)&&S.obj(e[0])}function _t(e,t){e.ref?.delete(e),t?.delete(e)}function Pt(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var kt={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},At={...kt.default,mass:1,damping:1,easing:be.linear,clamp:!1};function zt(e,t){if(S.und(t.decay)){const n=!S.und(t.tension)||!S.und(t.friction);!n&&S.und(t.frequency)&&S.und(t.damping)&&S.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var Tt=[];function Ot(e,{key:t,props:n,defaultProps:r,state:o,actions:a}){return new Promise(((l,u)=>{let c,d,p=mt(n.cancel??r?.cancel,t);if(p)m();else{S.und(n.pause)||(o.paused=mt(n.pause,t));let e=r?.pause;!0!==e&&(e=o.paused||mt(e,t)),c=ft(n.delay||0,t),e?(o.resumeQueue.add(f),a.pause()):(a.resume(),f())}function h(){o.resumeQueue.add(f),o.timeouts.delete(d),d.cancel(),c=d.time-s.now()}function f(){c>0&&!i.skipAnimation?(o.delayed=!0,d=s.setTimeout(m,c),o.pauseQueue.add(h),o.timeouts.add(d)):m()}function m(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(h),o.timeouts.delete(d),e<=(o.cancelId||0)&&(p=!0);try{a.start({...n,callId:e,cancel:p},l)}catch(e){u(e)}}}))}var It=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Rt(e.get()):t.every((e=>e.noop))?Ft(e.get()):Mt(e.get(),t.every((e=>e.finished))),Ft=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Mt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Rt=e=>({value:e,cancelled:!0,finished:!1});function jt(e,t,n,r){const{callId:o,parentId:a,onRest:l}=t,{asyncTo:u,promise:c}=n;return a||e!==u||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const d=bt(t,((e,t)=>"onRest"===t?void 0:e));let p,h;const f=new Promise(((e,t)=>(p=e,h=t))),m=e=>{const t=o<=(n.cancelId||0)&&Rt(r)||o!==n.asyncId&&Mt(r,!1);if(t)throw e.result=t,h(e),e},g=(e,t)=>{const a=new Nt,s=new Lt;return(async()=>{if(i.skipAnimation)throw Bt(n),s.result=Mt(r,!1),h(s),s;m(a);const l=S.obj(e)?{...e}:{...t,to:e};l.parentId=o,k(d,((e,t)=>{S.und(l[t])&&(l[t]=e)}));const u=await r.start(l);return m(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),u})()};let v;if(i.skipAnimation)return Bt(n),Mt(r,!1);try{let t;t=S.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(p),f]),v=Mt(r.get(),!0,!1)}catch(e){if(e instanceof Nt)v=e.result;else{if(!(e instanceof Lt))throw e;v=e.result}}finally{o==n.asyncId&&(n.asyncId=a,n.asyncTo=a?u:void 0,n.promise=a?c:void 0)}return S.fun(l)&&s.batchedUpdates((()=>{l(v,r,r.item)})),v})():c}function Bt(e,t){z(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Nt=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Lt=class extends Error{constructor(){super("SkipAnimationSignal")}},Kt=e=>e instanceof qt,Vt=1,qt=class extends _e{constructor(){super(...arguments),this.id=Vt++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Je(this);return e&&e.getValue()}to(...e){return i.to(this,e)}interpolate(...e){return qe(`${Ke}The "interpolate" function is deprecated in v9 (use "to" instead)`),i.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Se(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||q.sort(this),Se(this,{type:"priority",parent:this,priority:e})}},Ht=Symbol.for("SpringPhase"),Zt=e=>(1&e[Ht])>0,Ut=e=>(2&e[Ht])>0,$t=e=>(4&e[Ht])>0,Gt=(e,t)=>t?e[Ht]|=3:e[Ht]&=-3,Wt=(e,t)=>t?e[Ht]|=4:e[Ht]&=-5,Xt=class extends qt{constructor(e,t){if(super(),this.animation=new class{constructor(){this.changed=!1,this.values=Tt,this.toValues=null,this.fromValues=Tt,this.config=new class{constructor(){this.velocity=0,Object.assign(this,At)}},this.immediate=!1}},this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!S.und(e)||!S.und(t)){const n=S.obj(e)?{...e}:{...t,from:e};S.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ut(this)||this._state.asyncTo)||$t(this)}get goal(){return Ce(this.animation.to)}get velocity(){const e=Je(this);return e instanceof rt?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Zt(this)}get isAnimating(){return Ut(this)}get isPaused(){return $t(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:i}=r,a=tt(r.to);!a&&De(r.to)&&(o=A(Ce(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const u=s.constructor==ot?1:a?a[l].lastPosition:o[l];let c=r.immediate,d=u;if(!c){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],o=null!=s.v0?s.v0:s.v0=S.arr(i.velocity)?i.velocity[l]:i.velocity;let a;const p=i.precision||(n==u?.005:Math.min(1,.001*Math.abs(u-n)));if(S.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);d=n+o/(1-e)*(1-r),c=Math.abs(s.lastPosition-d)<=p,a=o*r}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.restVelocity||p/10,r=i.clamp?0:i.bounce,l=!S.und(r),h=n==u?s.v0>0:nt,f||(c=Math.abs(u-d)<=p,!c));++e){l&&(m=d==u||d>u==h,m&&(a=-a*r,d=u));a+=(1e-6*-i.tension*(d-u)+.001*-i.friction*a)/i.mass*g,d+=a*g}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+i.easing(r)*(u-n),a=(d-s.lastPosition)/e,c=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?s.done=!0:t=!1,s.setValue(d,i.round)&&(n=!0)}));const s=Je(this),l=s.getValue();if(t){const e=Ce(r.to);l===e&&!n||i.decay?n&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return s.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ut(this)){const{to:e,config:t}=this.animation;s.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return S.und(e)?(n=this.queue||[],this.queue=[]):n=[S.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>It(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Bt(this._state,e&&this._lastCallId),s.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=S.obj(n)?n[t]:n,(null==n||St(n))&&(n=void 0),r=S.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return Zt(this)||(e.reverse&&([n,r]=[r,n]),r=Ce(r),S.und(r)?Je(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,bt(e,((e,t)=>/^on/.test(t)?gt(e,n):e))),rn(this,e,"onProps"),on(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return Ot(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{$t(this)||(Wt(this,!0),I(i.pauseQueue),on(this,"onPause",Mt(this,Yt(this,this.animation.to)),this))},resume:()=>{$t(this)&&(Wt(this,!1),Ut(this)&&this._resume(),I(i.resumeQueue),on(this,"onResume",Mt(this,Yt(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Qt(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Rt(this));const r=!S.und(e.to),o=!S.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(Rt(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:l}=this,{to:u,from:c}=l;let{to:d=u,from:p=c}=e;!o||r||t.default&&!S.und(d)||(d=p),t.reverse&&([d,p]=[p,d]);const h=!_(p,c);h&&(l.from=p),p=Ce(p);const f=!_(d,u);f&&this._focus(d);const m=St(t.to),{config:g}=l,{decay:v,velocity:y}=g;(r||o)&&(g.velocity=0),t.config&&!m&&function(e,t,n){n&&(zt(n={...n},t),t={...n,...t}),zt(e,t),Object.assign(e,t);for(const t in At)null==e[t]&&(e[t]=At[t]);let{frequency:r,damping:o}=e;const{mass:i}=e;S.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*o*i/r)}(g,ft(t.config,i),t.config!==a.config?ft(a.config,i):void 0);let b=Je(this);if(!b||S.und(d))return n(Mt(this,!0));const w=S.und(t.reset)?o&&!t.default:!S.und(p)&&mt(t.reset,i),x=w?p:this.get(),D=Ct(d),C=S.num(D)||S.arr(D)||Ze(D),E=!m&&(!C||mt(a.immediate||t.immediate,i));if(f){const e=ut(d);if(e!==b.constructor){if(!E)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(D)}}const k=b.constructor;let z=De(d),T=!1;if(!z){const e=w||!Zt(this)&&h;(f||e)&&(T=_(Ct(x),D),z=!T),(_(l.immediate,E)||E)&&_(g.decay,v)&&_(g.velocity,y)||(z=!0)}if(T&&Ut(this)&&(l.changed&&!w?z=!0:z||this._stop(u)),!m&&((z||De(u))&&(l.values=b.getPayload(),l.toValues=De(d)?null:k==ot?[1]:A(D)),l.immediate!=E&&(l.immediate=E,E||w||this._set(u)),z)){const{onRest:e}=l;P(nn,(e=>rn(this,t,e)));const r=Mt(this,Yt(this,u));I(this._pendingCalls,r),this._pendingCalls.add(n),l.changed&&s.batchedUpdates((()=>{l.changed=!w,e?.(r,this),w?ft(a.onRest,r):l.onStart?.(r,this)}))}w&&this._set(x),m?n(jt(t.to,t,this._state,this)):z?this._start():Ut(this)&&!f?this._pendingCalls.add(n):n(Ft(x))}_focus(e){const t=this.animation;e!==t.to&&(Ee(this)&&this._detach(),t.to=e,Ee(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;De(t)&&(ke(t,this),Kt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;De(e)&&Ae(e,this)}_set(e,t=!0){const n=Ce(e);if(!S.und(n)){const e=Je(this);if(!e||!_(n,e.getValue())){const r=ut(n);e&&e.constructor==r?e.setValue(n):et(this,r.create(n)),e&&s.batchedUpdates((()=>{this._onChange(n,t)}))}}return Je(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,on(this,"onStart",Mt(this,Yt(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ft(this.animation.onChange,e,this)),ft(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Je(this).reset(Ce(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Ut(this)||(Gt(this,!0),$t(this)||this._resume())}_resume(){i.skipAnimation?this.finish():q.start(this)}_stop(e,t){if(Ut(this)){Gt(this,!1);const n=this.animation;P(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Se(this,{type:"idle",parent:this});const r=t?Rt(this.get()):Mt(this.get(),Yt(this,e??n.to));I(this._pendingCalls,r),n.changed&&(n.changed=!1,on(this,"onRest",r,this))}}};function Yt(e,t){const n=Ct(t);return _(Ct(e.get()),n)}function Qt(e,t=e.loop,n=e.to){const r=ft(t);if(r){const o=!0!==r&&Dt(r),i=(o||e).reverse,a=!o||o.reset;return Jt({...e,loop:t,default:!1,pause:void 0,to:!i||St(n)?n:void 0,from:a?e.from:void 0,reset:a,...o})}}function Jt(e){const{to:t,from:n}=e=Dt(e),r=new Set;return S.obj(t)&&tn(t,r),S.obj(n)&&tn(n,r),e.keys=r.size?Array.from(r):null,e}function en(e){const t=Jt(e);return S.und(t.default)&&(t.default=bt(t)),t}function tn(e,t){k(e,((e,n)=>null!=e&&t.add(n)))}var nn=["onStart","onRest","onChange","onPause","onResume"];function rn(e,t,n){e.animation[n]=t[n]!==vt(t,n)?gt(t[n],e.key):void 0}function on(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var an=["onStart","onChange","onRest"],sn=1,ln=class{constructor(e,t){this.id=sn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];S.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Jt(e)),this}start(e){let{queue:t}=this;return e?t=A(e).map(Jt):this.queue=[],this._flush?this._flush(this,t):(mn(this,t),un(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;P(A(t),(t=>n[t].stop(!!e)))}else Bt(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(S.und(e))this.start({pause:!0});else{const t=this.springs;P(A(e),(e=>t[e].pause()))}return this}resume(e){if(S.und(e))this.start({pause:!1});else{const t=this.springs;P(A(e),(e=>t[e].resume()))}return this}each(e){k(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,z(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&z(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,z(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}s.onFrame(this._onFrame)}};function un(e,t){return Promise.all(t.map((t=>cn(e,t)))).then((t=>It(e,t)))}async function cn(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:l,onResolve:u}=t,c=S.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const d=S.arr(o)||S.fun(o)?o:void 0;d?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):P(an,(n=>{const r=t[n];if(S.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const p=e._state;t.pause===!p.paused?(p.paused=t.pause,I(t.pause?p.pauseQueue:p.resumeQueue)):p.paused&&(t.pause=!0);const h=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),f=!0===t.cancel||!0===vt(t,"cancel");(d||f&&p.asyncId)&&h.push(Ot(++e._lastAsyncId,{props:t,state:p,actions:{pause:E,resume:E,start(t,n){f?(Bt(p,e._lastAsyncId),n(Rt(e))):(t.onRest=l,n(jt(d,t,p,e)))}}})),p.paused&&await new Promise((e=>{p.resumeQueue.add(e)}));const m=It(e,await Promise.all(h));if(a&&m.finished&&(!n||!m.noop)){const n=Qt(t,a,o);if(n)return mn(e,[n]),cn(e,n,!0)}return u&&s.batchedUpdates((()=>u(m,e,e.item))),m}function dn(e,t){const n={...e.springs};return t&&P(A(t),(e=>{S.und(e.keys)&&(e=Jt(e)),S.obj(e.to)||(e={...e,to:void 0}),fn(n,e,(e=>hn(e)))})),pn(e,n),n}function pn(e,t){k(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,ke(t,e))}))}function hn(e,t){const n=new Xt;return n.key=e,t&&ke(n,t),n}function fn(e,t,n){t.keys&&P(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function mn(e,t){P(t,(t=>{fn(e.springs,t,(t=>hn(t,e)))}))}var gn,vn,yn=({children:e,...t})=>{const n=(0,r.useContext)(bn),o=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,r.useState)((()=>({inputs:t,result:e()}))),o=(0,r.useRef)(),i=o.current;let a=i;a?Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{o.current=a,i==n&&(n.inputs=n.result=void 0)}),[a]),a.result}((()=>({pause:o,immediate:i})),[o,i]);const{Provider:a}=bn;return r.createElement(a,{value:t},e)},bn=(gn=yn,vn={},Object.assign(gn,r.createContext(vn)),gn.Provider._context=gn,gn.Consumer._context=gn,gn);yn.Provider=bn.Provider,yn.Consumer=bn.Consumer;var wn=()=>{const e=[],t=function(t){He(`${Ke}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return P(e,((e,o)=>{if(S.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return P(e,(e=>e.pause(...arguments))),this},t.resume=function(){return P(e,(e=>e.resume(...arguments))),this},t.set=function(t){P(e,((e,n)=>{const r=S.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return P(e,((e,r)=>{if(S.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return P(e,(e=>e.stop(...arguments))),this},t.update=function(t){return P(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return S.fun(e)?e(n,t):e};return t._getProps=n,t};function xn(e,t,n){const o=S.fun(t)&&t;o&&!n&&(n=[]);const i=(0,r.useMemo)((()=>o||3==arguments.length?wn():void 0),[]),a=(0,r.useRef)(0),s=$e(),l=(0,r.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=dn(e,t);return a.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?un(e,t):new Promise((r=>{pn(e,n),l.queue.push((()=>{r(un(e,t))})),s()}))}})),[]),u=(0,r.useRef)([...l.ctrls]),c=[],d=Xe(e)||0;function p(e,n){for(let r=e;r{P(u.current.slice(e,d),(e=>{_t(e,i),e.stop(!0)})),u.current.length=e,p(d,e)}),[e]),(0,r.useMemo)((()=>{p(0,Math.min(d,e))}),n);const h=u.current.map(((e,t)=>dn(e,c[t]))),f=(0,r.useContext)(yn),m=Xe(f),g=f!==m&&Et(f);Ue((()=>{a.current++,l.ctrls=u.current;const{queue:e}=l;e.length&&(l.queue=[],P(e,(e=>e()))),P(u.current,((e,t)=>{i?.add(e),g&&e.start({default:f});const n=c[t];n&&(Pt(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Ge((()=>()=>{P(l.ctrls,(e=>e.stop(!0)))}));const v=h.map((e=>({...e})));return i?[v,i]:v}function Dn(e,t){const n=S.fun(e),[[r],o]=xn(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,o]:r}function Cn(e,t,n){const o=S.fun(t)&&t,{reset:i,sort:a,trail:s=0,expires:l=!0,exitBeforeEnter:u=!1,onDestroyed:c,ref:d,config:p}=o?o():t,h=(0,r.useMemo)((()=>o||3==arguments.length?wn():void 0),[]),f=A(e),m=[],g=(0,r.useRef)(null),v=i?null:g.current;Ue((()=>{g.current=m})),Ge((()=>(P(m,(e=>{h?.add(e.ctrl),e.ctrl.ref=h})),()=>{P(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),_t(e.ctrl,h),e.ctrl.stop(!0)}))})));const y=Sn(f,o?o():t,v),b=i&&g.current||[];Ue((()=>P(b,(({ctrl:e,item:t,key:n})=>{_t(e,h),ft(c,t,n)}))));const w=[];if(v&&P(v,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=w[t]=y.indexOf(e.key))&&(m[t]=e)})),P(f,((e,t)=>{m[t]||(m[t]={key:y[t],item:e,phase:"mount",ctrl:new ln},m[t].ctrl.item=e)})),w.length){let e=-1;const{leave:n}=o?o():t;P(w,((t,r)=>{const o=v[r];~t?(e=m.indexOf(o),m[e]={...o,item:f[t]}):n&&m.splice(++e,0,o)}))}S.fun(a)&&m.sort(((e,t)=>a(e.item,t.item)));let x=-s;const D=$e(),C=bt(t),E=new Map,_=(0,r.useRef)(new Map),k=(0,r.useRef)(!1);P(m,((e,n)=>{const r=e.key,i=e.phase,a=o?o():t;let c,h;const f=ft(a.delay||0,r);if("mount"==i)c=a.enter,h="enter";else{const e=y.indexOf(r)<0;if("leave"!=i)if(e)c=a.leave,h="leave";else{if(!(c=a.update))return;h="update"}else{if(e)return;c=a.enter,h="enter"}}if(c=ft(c,e.item,n),c=S.obj(c)?Dt(c):{to:c},!c.config){const t=p||C.config;c.config=ft(t,e.item,n,h)}x+=s;const m={...C,delay:f+x,ref:d,immediate:a.immediate,reset:!1,...c};if("enter"==h&&S.und(m.from)){const r=o?o():t,i=S.und(r.initial)||v?r.from:r.initial;m.from=ft(i,e.item,n)}const{onResolve:b}=m;m.onResolve=e=>{ft(b,e);const t=g.current,n=t.find((e=>e.key===r));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=ft(l,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(D,r)))}}e&&t.some((e=>e.expired))&&(_.current.delete(n),u&&(k.current=!0),D())}};const w=dn(e.ctrl,m);"leave"===h&&u?_.current.set(e,{phase:h,springs:w,payload:m}):E.set(e,{phase:h,springs:w,payload:m})}));const z=(0,r.useContext)(yn),T=Xe(z),O=z!==T&&Et(z);Ue((()=>{O&&P(m,(e=>{e.ctrl.start({default:z})}))}),[z]),P(E,((e,t)=>{if(_.current.size){const e=m.findIndex((e=>e.key===t.key));m.splice(e,1)}})),Ue((()=>{P(_.current.size?_.current:E,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,h?.add(r),O&&"enter"==e&&r.start({default:z}),t&&(Pt(r,t.ref),!r.ref&&!h||k.current?(r.start(t),k.current&&(k.current=!1)):r.update(t))}))}),i?void 0:n);const I=e=>r.createElement(r.Fragment,null,m.map(((t,n)=>{const{springs:o}=E.get(t)||t.ctrl,i=e({...o},t.item,t,n);return i&&i.type?r.createElement(i.type,{...i.props,key:S.str(t.key)||S.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return h?[I,h]:I}var En=1;function Sn(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):En++}))}return S.und(n)?e:S.fun(n)?e.map(n):A(n)}var _n=class extends qt{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=pe(...t);const n=this._get(),r=ut(n);et(this,r.create(n))}advance(e){const t=this._get();_(t,this.get())||(Je(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&kn(this._active)&&An(this)}_get(){const e=S.arr(this.source)?this.source.map(Ce):A(Ce(this.source));return this.calc(...e)}_start(){this.idle&&!kn(this._active)&&(this.idle=!1,P(tt(this),(e=>{e.done=!1})),i.skipAnimation?(s.batchedUpdates((()=>this.advance())),An(this)):q.start(this))}_attach(){let e=1;P(A(this.source),(t=>{De(t)&&ke(t,this),Kt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){P(A(this.source),(e=>{De(e)&&Ae(e,this)})),this._active.clear(),An(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=A(this.source).reduce(((e,t)=>Math.max(e,(Kt(t)?t.priority:0)+1)),0))}};function Pn(e){return!1!==e.idle}function kn(e){return!e.size||Array.from(e).every(Pn)}function An(e){e.idle||(e.idle=!0,P(tt(e),(e=>{e.done=!0})),Se(e,{type:"idle",parent:e}))}i.assign({createStringInterpolator:Le,to:(e,t)=>new _n(e,t)});q.advance;var zn=n(73935),Tn=/^--/;function On(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Tn.test(e)||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}var In={};var Fn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Mn=["Webkit","Ms","Moz","O"];Fn=Object.keys(Fn).reduce(((e,t)=>(Mn.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Fn);var Rn=/^(matrix|translate|scale|rotate|skew)/,jn=/^(translate)/,Bn=/^(rotate|skew)/,Nn=(e,t)=>S.num(e)&&0!==e?e+t:e,Ln=(e,t)=>S.arr(e)?e.every((e=>Ln(e,t))):S.num(e)?e===t:parseFloat(e)===t,Kn=class extends at{constructor({x:e,y:t,z:n,...r}){const o=[],i=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>Nn(e,"px"))).join(",")})`,Ln(e,0)]))),k(r,((e,t)=>{if("transform"===t)o.push([e||""]),i.push((e=>[e,""===e]));else if(Rn.test(t)){if(delete r[t],S.und(e))return;const n=jn.test(t)?"px":Bn.test(t)?"deg":"";o.push(A(e)),i.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${Nn(o,n)})`,Ln(o,0)]:e=>[`${t}(${e.map((e=>Nn(e,n))).join(",")})`,Ln(e,t.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new Vn(o,i)),super(r)}},Vn=class extends _e{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return P(this.inputs,((n,r)=>{const o=Ce(n[0]),[i,a]=this.transforms[r](S.arr(o)?o:n.map(Ce));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&P(this.inputs,(e=>P(e,(e=>De(e)&&ke(e,this)))))}observerRemoved(e){0==e&&P(this.inputs,(e=>P(e,(e=>De(e)&&Ae(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Se(this,e)}};i.assign({batchedUpdates:zn.unstable_batchedUpdates,createStringInterpolator:Le,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var qn=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new at(e)),getComponentProps:r=(e=>e)}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=ht(e)||"Anonymous";return(e=S.str(e)?i[e]||(i[e]=ct(e,o)):e[pt]||(e[pt]=ct(e,o))).displayName=`Animated(${t})`,e};return k(e,((t,n)=>{S.arr(e)&&(n=ht(t)),i[n]=i(t)})),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:o,scrollTop:i,scrollLeft:a,viewBox:s,...l}=t,u=Object.values(l),c=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:In[t]||(In[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(const t in r)if(r.hasOwnProperty(t)){const n=On(t,r[t]);Tn.test(t)?e.style.setProperty(t,n):e.style[t]=n}c.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==i&&(e.scrollTop=i),void 0!==a&&(e.scrollLeft=a),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:e=>new Kn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Hn=qn.animated},45861:(e,t,n)=>{"use strict";n.d(t,{$0:()=>l,Kx:()=>h,_P:()=>f,ck:()=>a,eg:()=>v,is:()=>w,l8:()=>m,s:()=>g});var r=n(67294);function o(e){return null}function i(e){return null!=e.hasChildItems?e.hasChildItems:!!e.childItems||!!(e.title&&r.Children.count(e.children)>0)}o.getCollectionNode=function*(e,t){let{childItems:n,title:o,children:a}=e,s=e.title||e.children,l=e.textValue||("string"==typeof s?s:"")||e["aria-label"]||"";l||(null==t?void 0:t.suppressTextValueWarning)||console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:s,textValue:l,"aria-label":e["aria-label"],hasChildNodes:i(e),*childNodes(){if(n)for(let e of n)yield{type:"item",value:e};else if(o){let e=[];r.Children.forEach(a,(t=>{e.push({type:"item",element:t})})),yield*e}}}};let a=o;function s(e){return null}s.getCollectionNode=function*(e){let{children:t,title:n,items:o}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:n,"aria-label":e["aria-label"],*childNodes(){if("function"==typeof t){if(!o)throw new Error("props.children was a function but props.items is missing");for(let e of o)yield{type:"item",value:e,renderer:t}}else{let e=[];r.Children.forEach(t,(t=>{e.push({type:"item",element:t})})),yield*e}}}};let l=s;class u{build(e,t){return this.context=t,c((()=>this.iterateCollection(e)))}*iterateCollection(e){let{children:t,items:n}=e;if("function"==typeof t){if(!n)throw new Error("props.children was a function but props.items is missing");for(let n of e.items)yield*this.getFullNode({value:n},{renderer:t})}else{let e=[];r.Children.forEach(t,(t=>{e.push(t)}));let n=0;for(let t of e){let e=this.getFullNode({element:t,index:n},{});for(let t of e)n++,yield t}}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let o=t.value;if(null!=o){var i;let e=null!==(i=o.key)&&void 0!==i?i:o.id;if(null==e)throw new Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,o){let i=e.element;if(!i&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context)))return n.index=e.index,n.parentKey=o?o.key:null,void(yield n);i=t.renderer(e.value)}if(r.isValidElement(i)){let r=i.type;if("function"!=typeof r&&"function"!=typeof r.getCollectionNode){let e="function"==typeof i.type?i.type.name:i.type;throw new Error(`Unknown element <${e}> in collection.`)}let a=r.getCollectionNode(i.props,this.context),s=e.index,l=a.next();for(;!l.done&&l.value;){let r=l.value;e.index=s;let u=r.key;u||(u=r.element?null:this.getKey(i,e,t,n));let c=[...this.getFullNode({...r,key:u,index:s,wrapper:d(e.wrapper,r.wrapper)},this.getChildState(t,r),n?`${n}${i.key}`:i.key,o)];for(let t of c){if(t.value=r.value||e.value,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw new Error(`Unsupported type <${p(t.type)}> in <${p(o.type)}>. Only <${p(e.type)}> is supported.`);s++,yield t}l=a.next(c)}return}if(null==e.key)return;let a=this,s={type:e.type,props:e.props,key:e.key,parentKey:o?o.key:null,value:e.value,level:o?o.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:c((function*(){if(!e.hasChildNodes)return;let n=0;for(let r of e.childNodes()){null!=r.key&&(r.key=`${s.key}${r.key}`),r.index=n;let e=a.getFullNode(r,a.getChildState(t,r),s.key,s);for(let t of e)n++,yield t}}))};yield s}constructor(){this.cache=new WeakMap}}function c(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;n||(n=e());for(let e of n)t.push(e),yield e}}}function d(e,t){return e&&t?n=>e(t(n)):e||(t||void 0)}function p(e){return e[0].toUpperCase()+e.slice(1)}function h(e,t,n){let o=(0,r.useMemo)((()=>new u),[]),{children:i,items:a,collection:s}=e;return(0,r.useMemo)((()=>{if(s)return s;let e=o.build({children:i,items:a},n);return t(e)}),[o,i,a,s,n,t])}function f(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function m(e){return function(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}(e,0)}function g(e){let t;for(let n of e)t=n;return t}function v(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...y(e,t),t],o=[...y(e,n),n],i=r.slice(0,o.length).findIndex(((e,t)=>e!==o[t]));return-1!==i?(t=r[i],n=o[i],t.index-n.index):r.findIndex((e=>e===n))>=0?1:(o.findIndex((e=>e===t)),-1)}function y(e,t){let n=[];for(;null!=(null==t?void 0:t.parentKey);)t=e.getItem(t.parentKey),n.unshift(t);return n}const b=new WeakMap;function w(e){let t=b.get(e);if(null!=t)return t;t=0;let n=r=>{for(let o of r)"section"===o.type?n(f(o,e)):t++};return n(e),b.set(e,t),t}},58197:(e,t,n)=>{"use strict";n.d(t,{lu:()=>U,Eg:()=>ne,jF:()=>ue,Y3:()=>re});var r;r={alpha:"ألفا",blue:"أزرق",brightness:"السطوع",green:"أخضر",hue:"درجة اللون",lightness:"الإضاءة",red:"أحمر",saturation:"التشبع"};var o;o={alpha:"Алфа",blue:"Синьо",brightness:"Яркост",green:"Зелено",hue:"Оттенък",lightness:"Лекота",red:"Червено",saturation:"Наситеност"};var i;i={alpha:"Alfa",blue:"Modrá",brightness:"Jas",green:"Zelená",hue:"Odstín",lightness:"Světlost",red:"Červená",saturation:"Sytost"};var a;a={alpha:"Alfa",blue:"Blå",brightness:"Lysstyrke",green:"Grøn",hue:"Tone",lightness:"Lyshed",red:"Rød",saturation:"Farvemætning"};var s;s={alpha:"Alpha",blue:"Blau",brightness:"Helligkeit",green:"Grün",hue:"Farbton",lightness:"Leuchtkraft",red:"Rot",saturation:"Sättigung"};var l;l={alpha:"Άλφα",blue:"Μπλε",brightness:"Φωτεινότητα",green:"Πράσινο",hue:"Τόνος",lightness:"Φωτεινότητα",red:"Κόκκινο",saturation:"Κορεσμός"};var u;u={hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha"};var c;c={alpha:"Alpha",blue:"Azul",brightness:"Brillo",green:"Verde",hue:"Tono",lightness:"Luminosidad",red:"Rojo",saturation:"Saturación"};var d;d={alpha:"Alfa",blue:"Sinine",brightness:"Heledus",green:"Roheline",hue:"Värv",lightness:"Valgus",red:"Punane",saturation:"Küllastus"};var p;p={alpha:"Alpha",blue:"Sininen",brightness:"Kirkkaus",green:"Vihreä",hue:"Sävy",lightness:"Valomäärä",red:"Punainen",saturation:"Värikylläisyys"};var h;h={alpha:"Alpha",blue:"Bleu",brightness:"Luminosité",green:"Vert",hue:"Teinte",lightness:"Luminosité",red:"Rouge",saturation:"Saturation"};var f;f={alpha:"אלפא",blue:"כחול",brightness:"בהירות",green:"ירוק",hue:"גוון",lightness:"כמות אור",red:"אדום",saturation:"רוויה"};var m;m={alpha:"Alfa",blue:"Plava",brightness:"Svjetlina",green:"Zelena",hue:"Nijansa",lightness:"Osvijetljenost",red:"Crvena",saturation:"Zasićenost"};var g;g={alpha:"Alfa",blue:"Kék",brightness:"Fényesség",green:"Zöld",hue:"Színárnyalat",lightness:"Világosság",red:"Piros",saturation:"Telítettség"};var v;v={alpha:"Alfa",blue:"Blu",brightness:"Luminosità",green:"Verde",hue:"Tonalità",lightness:"Luminosità",red:"Rosso",saturation:"Saturazione"};var y;y={alpha:"アルファ",blue:"青",brightness:"明るさ",green:"緑",hue:"色相",lightness:"明度",red:"赤",saturation:"彩度"};var b;b={alpha:"알파",blue:"파랑",brightness:"명도",green:"초록",hue:"색조",lightness:"밝기",red:"빨강",saturation:"채도"};var w;w={alpha:"Alfa",blue:"Mėlyna",brightness:"Ryškumas",green:"Žalia",hue:"Atspalvis",lightness:"Šviesumas",red:"Raudona",saturation:"Įsotinimas"};var x;x={alpha:"Alfa",blue:"Zila",brightness:"Spilgtums",green:"Zaļa",hue:"Nokrāsa",lightness:"Gaišums",red:"Sarkana",saturation:"Piesātinājums"};var D;D={alpha:"Alfa",blue:"Blå",brightness:"Lysstyrke",green:"Grønn",hue:"Fargetone",lightness:"Lyshet",red:"Rød",saturation:"Metning"};var C;C={alpha:"Alfa",blue:"Blauw",brightness:"Helderheid",green:"Groen",hue:"Kleurtoon",lightness:"Lichtsterkte",red:"Rood",saturation:"Verzadiging"};var E;E={alpha:"Alfa",blue:"Niebieski",brightness:"Jasność",green:"Zielony",hue:"Odcień",lightness:"Jaskrawość",red:"Czerwony",saturation:"Nasycenie"};var S;S={alpha:"Alfa",blue:"Azul",brightness:"Brilho",green:"Verde",hue:"Matiz",lightness:"Luminosidade",red:"Vermelho",saturation:"Saturação"};var _;_={alpha:"Alfa",blue:"Azul",brightness:"Luminosidade",green:"Verde",hue:"Tonalidade",lightness:"Claridade",red:"Vermelho",saturation:"Saturação"};var P;P={alpha:"Alfa",blue:"Albastru",brightness:"Luminozitate",green:"Verde",hue:"Nuanță",lightness:"Luminozitate",red:"Roșu",saturation:"Saturație"};var k;k={alpha:"Альфа",blue:"Синий",brightness:"Яркость",green:"Зеленый",hue:"Оттенок",lightness:"Освещенность",red:"Красный",saturation:"Насыщенность"};var A;A={alpha:"Alfa",blue:"Modrá",brightness:"Jas",green:"Zelená",hue:"Odtieň",lightness:"Svetlosť",red:"Červená",saturation:"Sýtosť"};var z;z={alpha:"Alfa",blue:"Modra",brightness:"Svetlost",green:"Zelena",hue:"Barva",lightness:"Lahkost",red:"Rdeča",saturation:"Nasičenost"};var T;T={alpha:"Alfa",blue:"Plava",brightness:"Osvetljenost",green:"Zelena",hue:"Nijansa",lightness:"Osvetljenje",red:"Crvena",saturation:"Zasićenje"};var O;O={alpha:"Alfa",blue:"Blått",brightness:"Ljusstyrka",green:"Grönt",hue:"Nyans",lightness:"Ljushet",red:"Rött",saturation:"Mättnad"};var I;I={alpha:"Alfa",blue:"Mavi",brightness:"Parlaklık",green:"Yeşil",hue:"Ton",lightness:"Canlılık",red:"Kırmızı",saturation:"Doygunluk"};var F;F={alpha:"Альфа",blue:"Синій",brightness:"Яскравість",green:"Зелений",hue:"Тон",lightness:"Освітленість",red:"Червоний",saturation:"Насиченість"};var M;M={alpha:"Alpha",blue:"蓝色",brightness:"亮度",green:"绿色",hue:"色相",lightness:"明亮度",red:"红色",saturation:"饱和度"};var R;R={alpha:"Alpha",blue:"藍色",brightness:"亮度",green:"綠色",hue:"色相",lightness:"明亮",red:"紅色",saturation:"飽和度"};var j=n(85010),B=n(46050),N=n(96041),L=n(67294),K=n(31397),V=n(38947);function q(e){return e&&e.__esModule?e.default:e}var H;H={"ar-AE":r,"bg-BG":o,"cs-CZ":i,"da-DK":a,"de-DE":s,"el-GR":l,"en-US":u,"es-ES":c,"et-EE":d,"fi-FI":p,"fr-FR":h,"he-IL":f,"hr-HR":m,"hu-HU":g,"it-IT":v,"ja-JP":y,"ko-KR":b,"lt-LT":w,"lv-LV":x,"nb-NO":D,"nl-NL":C,"pl-PL":E,"pt-BR":S,"pt-PT":_,"ro-RO":P,"ru-RU":k,"sk-SK":A,"sl-SI":z,"sr-SP":T,"sv-SE":O,"tr-TR":I,"uk-UA":F,"zh-CN":M,"zh-TW":R};let Z=new(0,B.J)(q(H));function U(e){let t=W.parse(e)||Y.parse(e)||ee.parse(e);if(t)return t;throw new Error("Invalid color value: "+e)}function $(e){return"string"==typeof e?U(e):e}class G{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}withChannelValue(e,t){if(e in this){let n=this.clone();return n[e]=t,n}throw new Error("Unsupported color channel: "+e)}getChannelName(e,t){return(B.J.getGlobalDictionaryForPackage("@react-stately/color")||Z).getStringForLocale(e,t)}getColorSpaceAxes(e){let{xChannel:t,yChannel:n}=e,r=t||this.getColorChannels().find((e=>e!==n)),o=n||this.getColorChannels().find((e=>e!==r)),i=this.getColorChannels().find((e=>e!==r&&e!==o));return{xChannel:r,yChannel:o,zChannel:i}}}class W extends G{static parse(e){let t=[];if(/^#[\da-f]+$/i.test(e)&&[4,5,7,9].includes(e.length)){const n=(e.length<6?e.replace(/[^#]/gi,"$&$&"):e).slice(1).split("");for(;n.length>0;)t.push(parseInt(n.splice(0,2).join(""),16));t[3]=void 0!==t[3]?t[3]/255:void 0}const n=e.match(/^rgba?\((.*)\)$/);var r;return(null==n?void 0:n[1])&&(t=n[1].split(",").map((e=>Number(e.trim()))),t=t.map(((e,t)=>(0,j.uZ)(e,0,t<3?255:1)))),t.length<3?void 0:new W(t[0],t[1],t[2],null!==(r=t[3])&&void 0!==r?r:1)}toString(e){switch(e){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(255*this.alpha).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hex":case"hexa":case"rgb":case"rgba":return this;case"hsb":case"hsba":return this.toHSB();case"hsl":case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+e)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const e=this.red/255,t=this.green/255,n=this.blue/255,r=Math.min(e,t,n),o=Math.max(e,t,n),i=o-r,a=0===o?0:i/o;let s=0;if(0!==i){switch(o){case e:s=(t-n)/i+(tNumber(e.trim().replace("%",""))));return new Y(J(e,360),(0,j.uZ)(r,0,100),(0,j.uZ)(o,0,100),(0,j.uZ)(null!=i?i:1,0,1))}}toString(e){switch(e){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${(0,j.lt)(this.saturation,2)}%, ${(0,j.lt)(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${(0,j.lt)(this.saturation,2)}%, ${(0,j.lt)(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsb":case"hsba":return this;case"hsl":case"hsla":return this.toHSL();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+e)}}toHSL(){let e=this.saturation/100,t=this.brightness/100,n=t*(1-e/2);return e=0===n||1===n?0:(t-n)/Math.min(n,1-n),new ee((0,j.lt)(this.hue,2),(0,j.lt)(100*e,2),(0,j.lt)(100*n,2),this.alpha)}toRGB(){let e=this.hue,t=this.saturation/100,n=this.brightness/100,r=(r,o=(r+e/60)%6)=>n-t*n*Math.max(Math.min(o,4-o,1),0);return new W(Math.round(255*r(5)),Math.round(255*r(3)),Math.round(255*r(1)),this.alpha)}clone(){return new Y(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,t){let n,r=this.getChannelValue(e);switch(e){case"hue":n={style:"unit",unit:"degree",unitDisplay:"narrow"};break;case"saturation":case"brightness":n={style:"percent"},r/=100;break;case"alpha":n={style:"percent"};break;default:throw new Error("Unknown color channel: "+e)}return new(0,N.e)(t,n).format(r)}getColorSpace(){return"hsb"}getColorChannels(){return Y.colorChannels}constructor(e,t,n,r){super(),this.hue=e,this.saturation=t,this.brightness=n,this.alpha=r}}Y.colorChannels=["hue","saturation","brightness"];const Q=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;function J(e,t){return(e%t+t)%t}class ee extends G{static parse(e){let t;if(t=e.match(Q)){var n;const[e,r,o,i]=(null!==(n=t[1])&&void 0!==n?n:t[2]).split(",").map((e=>Number(e.trim().replace("%",""))));return new ee(J(e,360),(0,j.uZ)(r,0,100),(0,j.uZ)(o,0,100),(0,j.uZ)(null!=i?i:1,0,1))}}toString(e){switch(e){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${(0,j.lt)(this.saturation,2)}%, ${(0,j.lt)(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${(0,j.lt)(this.saturation,2)}%, ${(0,j.lt)(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsl":case"hsla":return this;case"hsb":case"hsba":return this.toHSB();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+e)}}toHSB(){let e=this.saturation/100,t=this.lightness/100,n=t+e*Math.min(t,1-t);return e=0===n?0:2*(1-t/n),new Y((0,j.lt)(this.hue,2),(0,j.lt)(100*e,2),(0,j.lt)(100*n,2),this.alpha)}toRGB(){let e=this.hue,t=this.saturation/100,n=this.lightness/100,r=t*Math.min(n,1-n),o=(t,o=(t+e/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return new W(Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4)),this.alpha)}clone(){return new ee(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,t){let n,r=this.getChannelValue(e);switch(e){case"hue":n={style:"unit",unit:"degree",unitDisplay:"narrow"};break;case"saturation":case"lightness":n={style:"percent"},r/=100;break;case"alpha":n={style:"percent"};break;default:throw new Error("Unknown color channel: "+e)}return new(0,N.e)(t,n).format(r)}getColorSpace(){return"hsl"}getColorChannels(){return ee.colorChannels}constructor(e,t,n,r){super(),this.hue=e,this.saturation=t,this.lightness=n,this.alpha=r}}ee.colorChannels=["hue","saturation","lightness"];const te=U("#ffffff");function ne(e){let{value:t,defaultValue:n,xChannel:r,yChannel:o,onChange:i,onChangeEnd:a}=e;t||n||(n=te);let[s,l]=(0,j.zk)(t&&$(t),n&&$(n),i),u=(0,L.useRef)(s),c=e=>{u.current=e,l(e)},d=(0,L.useMemo)((()=>s.getColorSpaceAxes({xChannel:r,yChannel:o})),[s,r,o]),p=s.getChannelRange(d.xChannel),h=s.getChannelRange(d.yChannel),{minValue:f,maxValue:m,step:g,pageSize:v}=p,{minValue:y,maxValue:b,step:w,pageSize:x}=h,[D,C]=(0,L.useState)(!1),E=(0,L.useRef)(!1),S=s.getChannelValue(d.xChannel),_=s.getChannelValue(d.yChannel),P=e=>{if(e===S)return;let t=s.withChannelValue(d.xChannel,e);c(t)},k=e=>{if(e===_)return;let t=s.withChannelValue(d.yChannel,e);c(t)};return{channels:d,xChannelStep:g,yChannelStep:w,xChannelPageStep:v,yChannelPageStep:x,value:s,setValue(e){c($(e))},xValue:S,setXValue:P,yValue:_,setYValue:k,setColorFromPoint(e,t){let n,r=f+(0,j.uZ)(e,0,1)*(m-f),o=y+(1-(0,j.uZ)(t,0,1))*(b-y);r!==S&&(r=(0,j.N4)(r,f,m,g),n=s.withChannelValue(d.xChannel,r)),o!==_&&(o=(0,j.N4)(o,y,b,w),n=(n||s).withChannelValue(d.yChannel,o)),n&&c(n)},getThumbPosition:()=>({x:(S-f)/(m-f),y:1-(_-y)/(b-y)}),incrementX(e){P(S+e>m?m:(0,j.N4)(S+e,f,m,g))},incrementY(e){k(_+e>b?b:(0,j.N4)(_+e,y,b,w))},decrementX(e){P((0,j.N4)(S-e,f,m,g))},decrementY(e){k((0,j.N4)(_-e,y,b,w))},setDragging(e){let t=E.current;E.current=e,a&&!e&&t&&a(u.current),C(e)},isDragging:D,getDisplayColor:()=>s.withChannelValue("alpha",1)}}function re(e){let{channel:t,value:n,defaultValue:r,onChange:o,locale:i,...a}=e;if(null==n&&null==r)throw new Error("useColorSliderState requires a value or defaultValue");let[s,l]=(0,j.zk)(n&&$(n),r&&$(r),o),u=(0,K.x)({...s.getChannelRange(t),...a,numberFormatter:null,value:s.getChannelValue(t),onChange(e){l(s.withChannelValue(t,e))},onChangeEnd(n){e.onChangeEnd&&e.onChangeEnd(s.withChannelValue(t,n))}}),{step:c,pageSize:d}=s.getChannelRange(t);return{...u,value:s,setValue(e){l($(e))},getDisplayColor(){switch(t){case"hue":return U(`hsl(${s.getChannelValue("hue")}, 100%, 50%)`);case"lightness":case"brightness":case"saturation":case"red":case"green":case"blue":return s.withChannelValue("alpha",1);case"alpha":return s;default:throw new Error("Unknown color channel: "+t)}},getThumbValueLabel:()=>s.formatChannelValue(t,i),step:c,pageSize:d}}U("hsl(0, 100%, 50%)");function oe(e){return(0,L.useMemo)((()=>{if("string"==typeof e)try{return U(e)}catch(e){return}return e}),[e])}const ie=U("#000000"),ae=U("#FFFFFF"),se=ie.toHexInt(),le=ae.toHexInt();function ue(e){let{value:t,defaultValue:n,onChange:r}=e,{step:o}=ie.getChannelRange("red"),i=oe(t),a=oe(n),[s,l]=(0,j.zk)(i,a,r),[u,c]=(0,L.useState)((()=>(t||n)&&s?s.toString("hex"):"")),d=(0,V.Q3)({...e,value:s}),p=e=>{s&&e&&e.toHexInt()===s.toHexInt()||l(e)},[h,f]=(0,L.useState)(s);h!==s&&(c(s?s.toString("hex"):""),f(s));let m=(0,L.useMemo)((()=>{let e;try{e=U(u.startsWith("#")?u:`#${u}`)}catch(t){e=null}return e}),[u]);return{...d,validate:e=>{var t;return""===e||!!(null===(t=e.match(/^#?[0-9a-f]{0,6}$/i))||void 0===t?void 0:t[0])},colorValue:s,inputValue:u,setInputValue:c,commit:()=>{if(!u.length)return p(null),void c(void 0===t?"":s.toString("hex"));if(null==m)return void c(s?s.toString("hex"):"");p(m);let e="";s&&(e=s.toString("hex")),c(e)},increment:()=>{let e=ce(m,o);e===s&&c(e.toString("hex")),p(e),d.commitValidation()},incrementToMax:()=>p(ae),decrement:()=>{let e=ce(m,-o);e===s&&c(e.toString("hex")),p(e),d.commitValidation()},decrementToMin:()=>p(ie)}}function ce(e,t){let n=e||ie,r=n.toHexInt(),o=Math.min(Math.max(r+t,se),le);if(o!==r){n=U(`#${o.toString(16).padStart(6,"0").toUpperCase()}`)}return n}},62651:(e,t,n)=>{"use strict"},38947:(e,t,n)=>{"use strict";n.d(t,{Q3:()=>u,tL:()=>l});var r=n(67294);const o={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},i={...o,customError:!0,valid:!1},a={isInvalid:!1,validationDetails:o,validationErrors:[]},s=(0,r.createContext)({}),l="__formValidationState"+Date.now();function u(e){if(e[l]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:i}=e[l];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:i}}return function(e){let{isInvalid:t,validationState:n,name:o,value:l,builtinValidation:u,validate:h,validationBehavior:f="aria"}=e;n&&(t||(t="invalid"===n));let m=t?{isInvalid:!0,validationErrors:[],validationDetails:i}:null,g=(0,r.useMemo)((()=>d(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return c(n)}return[]}(h,l))),[h,l]);(null==u?void 0:u.validationDetails.valid)&&(u=null);let v=(0,r.useContext)(s),y=(0,r.useMemo)((()=>o?Array.isArray(o)?o.flatMap((e=>c(v[e]))):c(v[o]):[]),[v,o]),[b,w]=(0,r.useState)(v),[x,D]=(0,r.useState)(!1);v!==b&&(w(v),D(!1));let C=(0,r.useMemo)((()=>d(x?[]:y)),[x,y]),E=(0,r.useRef)(a),[S,_]=(0,r.useState)(a),P=(0,r.useRef)(a),k=()=>{if(!A)return;z(!1);let e=g||u||E.current;p(e,P.current)||(P.current=e,_(e))},[A,z]=(0,r.useState)(!1);return(0,r.useEffect)(k),{realtimeValidation:m||C||g||u||a,displayValidation:"native"===f?m||C||S:m||C||g||u||S,updateValidation(e){"aria"!==f||p(S,e)?E.current=e:_(e)},resetValidation(){let e=a;p(e,P.current)||(P.current=e,_(e)),"native"===f&&z(!1),D(!0)},commitValidation(){"native"===f&&z(!0),D(!0)}}}(e)}function c(e){return e?Array.isArray(e)?e:[e]:[]}function d(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:i}:null}function p(e,t){return e===t||e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every(((e,n)=>e===t.validationErrors[n]))&&Object.entries(e.validationDetails).every((([e,n])=>t.validationDetails[e]===n))}},31397:(e,t,n)=>{"use strict";n.d(t,{x:()=>l});var r=n(85010),o=n(67294);const i=0,a=100,s=1;function l(e){const{isDisabled:t=!1,minValue:n=i,maxValue:l=a,numberFormatter:p,step:h=s,orientation:f="horizontal"}=e;let m=(0,o.useMemo)((()=>{let e=(l-n)/10;return e=(0,r.N4)(e,0,e+h,h),Math.max(e,h)}),[h,l,n]),g=(0,o.useCallback)((e=>null==e?void 0:e.map(((t,o)=>{let i=0===o?n:t[o-1],a=o===e.length-1?l:t[o+1];return(0,r.N4)(t,i,a,h)}))),[n,l,h]),v=(0,o.useMemo)((()=>g(c(e.value))),[e.value]),y=(0,o.useMemo)((()=>{var t;return g(null!==(t=c(e.defaultValue))&&void 0!==t?t:[n])}),[e.defaultValue,n]),b=d(e.value,e.defaultValue,e.onChange),w=d(e.value,e.defaultValue,e.onChangeEnd);const[x,D]=(0,r.zk)(v,y,b),[C,E]=(0,o.useState)(new Array(x.length).fill(!1)),S=(0,o.useRef)(new Array(x.length).fill(!0)),[_,P]=(0,o.useState)(void 0),k=(0,o.useRef)(x),A=(0,o.useRef)(C);function z(e){return(e-n)/(l-n)}function T(e){return 0===e?n:x[e-1]}function O(e){return e===x.length-1?l:x[e+1]}function I(e){return S.current[e]}function F(e,n){if(t||!I(e))return;const o=T(e),i=O(e);n=(0,r.N4)(n,o,i,h),(e=>{k.current=e,D(e)})(u(k.current,e,n))}function M(e){return p.format(e)}function R(e){const t=e*(l-n)+n;return(0,r.uZ)(function(e){return Math.round((e-n)/h)*h+n}(t),n,l)}return{values:x,getThumbValue:e=>x[e],setThumbValue:F,setThumbPercent:function(e,t){F(e,R(t))},isThumbDragging:e=>C[e],setThumbDragging:function(e,n){if(t||!I(e))return;n&&(k.current=x);const r=A.current[e];var o;A.current=u(A.current,e,n),o=A.current,A.current=o,E(o),w&&r&&!A.current.some(Boolean)&&w(k.current)},focusedThumb:_,setFocusedThumb:P,getThumbPercent:e=>z(x[e]),getValuePercent:z,getThumbValueLabel:e=>M(x[e]),getFormattedValue:M,getThumbMinValue:T,getThumbMaxValue:O,getPercentValue:R,isThumbEditable:I,setThumbEditable:function(e,t){S.current[e]=t},incrementThumb:function(e,t=1){let o=Math.max(t,h);F(e,(0,r.N4)(x[e]+o,n,l,h))},decrementThumb:function(e,t=1){let o=Math.max(t,h);F(e,(0,r.N4)(x[e]-o,n,l,h))},step:h,pageSize:m,orientation:f,isDisabled:t}}function u(e,t,n){return e[t]===n?e:[...e.slice(0,t),n,...e.slice(t+1)]}function c(e){if(null!=e)return Array.isArray(e)?e:[e]}function d(e,t,n){return r=>{"number"==typeof e||"number"==typeof t?null==n||n(r[0]):null==n||n(r)}}},21946:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(85010);function o(e={}){let{isReadOnly:t}=e,[n,o]=(0,r.zk)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:n,setSelected:function(e){t||o(e)},toggle:function(){t||o(!n)}}}},85010:(e,t,n)=>{"use strict";n.d(t,{N4:()=>a,lt:()=>s,uZ:()=>i,zk:()=>o});var r=n(67294);function o(e,t,n){let[o,i]=(0,r.useState)(e||t),a=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)((()=>{let e=a.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s}),[s]);let l=s?e:o,u=(0,r.useCallback)(((e,...t)=>{let r=(e,...t)=>{n&&(Object.is(l,e)||n(e,...t)),s||(l=e)};if("function"==typeof e){console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i(((n,...o)=>{let i=e(s?l:n,...o);return r(i,...t),s?n:i}))}else s||i(e),r(e,...t)}),[s,l,n]);return[l,u]}function i(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function a(e,t,n,r){t=Number(t),n=Number(n);let o=(e-(isNaN(t)?0:t))%r,i=2*Math.abs(o)>=r?e+Math.sign(o)*(r-Math.abs(o)):e-o;isNaN(t)?!isNaN(n)&&i>n&&(i=Math.floor(n/r)*r):in&&(i=t+Math.floor((n-t)/r)*r);let a=r.toString(),s=a.indexOf("."),l=s>=0?a.length-s:0;if(l>0){let e=Math.pow(10,l);i=Math.round(i*e)/e}return i}function s(e,t,n=10){const r=Math.pow(n,t);return Math.round(e*r)/r}},27874:(e,t,n)=>{"use strict";n.d(t,{xC:()=>S,oM:()=>z});var r=n(76438),o=n(28623);function i(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var a=e=>Array.isArray(e)?e:[e];function s(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"==typeof e))){const n=e.map((e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function l(e,t){const n=[],{length:r}=e;for(let o=0;o{n={s:0,v:void 0,o:null,p:null},a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function d(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,u={},d=e.pop();"object"==typeof d&&(u=d,d=e.pop()),i(d,`createSelector expects an output function after the inputs, but received: [${typeof d}]`);const p={...n,...u},{memoize:h,memoizeOptions:f=[],argsMemoize:m=c,argsMemoizeOptions:g=[],devModeChecks:v={}}=p,y=a(f),b=a(g),w=s(e),x=h((function(){return r++,d.apply(null,arguments)}),...y);const D=m((function(){o++;const e=l(w,arguments);return t=x.apply(null,e),t}),...b);return Object.assign(D,{resultFunc:d,memoizedResultFunc:x,dependencies:w,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:h,argsMemoize:m})};return Object.assign(r,{withTypes:()=>r}),r}var p=d(c),h=Object.assign(((e,t=p)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map((t=>e[t])),((...e)=>e.reduce(((e,t,r)=>(e[n[r]]=t,e)),{})))}),{withTypes:()=>h});function f(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}var m=f(),g=f,v=(((...e)=>{const t=d(...e)})(c),"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r.qC:r.qC.apply(null,arguments)});"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function y(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw new Error(F(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>(0,r.LG)(t)&&t.type===e,n}var b=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function w(e){return(0,o.o$)(e)?(0,o.Uy)(e,(()=>{})):e}function x(e,t,n){if(e.has(t)){let r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(F(10));const r=n.insert(t,e);return e.set(t,r),r}var D=e=>t=>{setTimeout(t,e)},C="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:D(10),E=e=>function(t){const{autoBatch:n=!0}=t??{};let r=new b(e);return n&&r.push(((e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,a=!1;const s=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?C:"callback"===e.type?e.queueNotification:D(e.timeout),u=()=>{a=!1,i&&(i=!1,s.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){const t=r.subscribe((()=>o&&e()));return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return o=!e?.meta?.RTK_autoBatch,i=!o,i&&(a||(a=!0,l(u))),r.dispatch(e)}finally{o=!0}}})})("object"==typeof n?n:void 0)),r};function S(e){const t=function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:o=!0}=e??{};let i=new b;return t&&("boolean"==typeof t?i.push(m):i.push(g(t.extraArgument))),i},{reducer:n,middleware:o,devTools:i=!0,preloadedState:a,enhancers:s}=e||{};let l,u;if("function"==typeof n)l=n;else{if(!(0,r.PO)(n))throw new Error(F(1));l=(0,r.UY)(n)}u="function"==typeof o?o(t):t();let c=r.qC;i&&(c=v({trace:!1,..."object"==typeof i&&i}));const d=(0,r.md)(...u),p=E(d);let h="function"==typeof s?s(p):p();const f=c(...h);return(0,r.MT)(l,a,f)}function _(e){const t={},n=[];let r;const o={addCase(e,n){const r="string"==typeof e?e:e.type;if(!r)throw new Error(F(28));if(r in t)throw new Error(F(29));return t[r]=n,o},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),o),addDefaultCase:e=>(r=e,o)};return e(o),[t,n,r]}var P=Symbol.for("rtk-slice-createasyncthunk");function k(e,t){return`${e}/${t}`}function A(e,t,n,r){function o(o,...i){let a=n.call(e,o);return void 0===a&&r&&(a=e.getInitialState()),t(a,...i)}return o.unwrapped=t,o}var z=function({creators:e}={}){const t=e?.asyncThunk?.[P];return function(e){const{name:n,reducerPath:r=n}=e;if(!n)throw new Error(F(11));const i=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},a=Object.keys(i),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(e,t){const n="string"==typeof e?e:e.type;if(!n)throw new Error(F(12));if(n in s.sliceCaseReducersByType)throw new Error(F(13));return s.sliceCaseReducersByType[n]=t,l},addMatcher:(e,t)=>(s.sliceMatchers.push({matcher:e,reducer:t}),l),exposeAction:(e,t)=>(s.actionCreators[e]=t,l),exposeCaseReducer:(e,t)=>(s.sliceCaseReducersByName[e]=t,l)};function u(){const[t={},n=[],r]="function"==typeof e.extraReducers?_(e.extraReducers):[e.extraReducers],i={...t,...s.sliceCaseReducersByType};return function(e,t){let n,[r,i,a]=_(t);if("function"==typeof e)n=()=>w(e());else{const t=w(e);n=()=>t}function s(e=n(),t){let s=[r[t.type],...i.filter((({matcher:e})=>e(t))).map((({reducer:e})=>e))];return 0===s.filter((e=>!!e)).length&&(s=[a]),s.reduce(((e,n)=>{if(n){if((0,o.mv)(e)){const r=n(e,t);return void 0===r?e:r}if((0,o.o$)(e))return(0,o.Uy)(e,(e=>n(e,t)));{const r=n(e,t);if(void 0===r){if(null===e)return e;throw new Error(F(9))}return r}}return e}),e)}return s.getInitialState=n,s}(e.initialState,(e=>{for(let t in i)e.addCase(t,i[t]);for(let t of s.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)}))}a.forEach((r=>{const o=i[r],a={reducerName:r,type:k(n,r),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function({type:e,reducerName:t,createNotation:n},r,o){let i,a;if("reducer"in r){if(n&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(F(17));i=r.reducer,a=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?y(e,a):y(e))}(a,o,l):function({type:e,reducerName:t},n,r,o){if(!o)throw new Error(F(18));const{payloadCreator:i,fulfilled:a,pending:s,rejected:l,settled:u,options:c}=n,d=o(e,i,c);r.exposeAction(t,d),a&&r.addCase(d.fulfilled,a);s&&r.addCase(d.pending,s);l&&r.addCase(d.rejected,l);u&&r.addMatcher(d.settled,u);r.exposeCaseReducer(t,{fulfilled:a||T,pending:s||T,rejected:l||T,settled:u||T})}(a,o,l,t)}));const c=e=>e,d=new WeakMap;let p;const h={name:n,reducerPath:r,reducer:(e,t)=>(p||(p=u()),p(e,t)),actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:()=>(p||(p=u()),p.getInitialState()),getSelectors(t=c){const n=x(d,this,{insert:()=>new WeakMap});return x(n,t,{insert:()=>{const n={};for(const[r,o]of Object.entries(e.selectors??{}))n[r]=A(this,o,t,this!==h);return n}})},selectSlice(e){let t=e[this.reducerPath];return void 0===t&&this!==h&&(t=this.getInitialState()),t},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(e,{reducerPath:t,...n}={}){const r=t??this.reducerPath;return e.inject({reducerPath:r,reducer:this.reducer},n),{...this,reducerPath:r}}};return h}}();function T(){}var{assign:O}=Object,I="listenerMiddleware";y(`${I}/add`),y(`${I}/removeAll`),y(`${I}/remove`);Symbol.for("rtk-state-proxy-original");function F(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},2053:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},c={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var n=void 0===t?c:t,r=n.mode,o=void 0===r?"specialChars":r,i=n.numeric,d=void 0===i?"decimal":i,p=n.level;if(!e)return"";var h=u[o],f=s[void 0===p?"all":p].characters,m="hexadecimal"===d;return l(e,h,(function(e){var t=f[e];if(!t){var n=e.length>1?a.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+n.toString(16):"&#"+n)+";"}return t}))};var d={scope:"body",level:"all"},p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,h=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,f={xml:{strict:p,attribute:h,body:o.bodyRegExps.xml},html4:{strict:p,attribute:h,body:o.bodyRegExps.html4},html5:{strict:p,attribute:h,body:o.bodyRegExps.html5}},m=r(r({},f),{all:f.html5}),g=String.fromCharCode,v=g(65533),y={level:"all"};function b(e,t,n,r){var o=e,s=e[e.length-1];if(n&&"="===s)o=e;else if(r&&";"!==s)o=e;else{var l=t[e];if(l)o=l;else if("&"===e[0]&&"#"===e[1]){var u=e[2],c="x"==u||"X"==u?parseInt(e.substr(3),16):parseInt(e.substr(2));o=c>=1114111?v:c>65535?a.fromCodePoint(c):g(i.numericUnicodeMap[c]||c)}}return o}t.decodeEntity=function(e,t){var n=(void 0===t?y:t).level;return e?b(e,s[void 0===n?"all":n].entities,!1,!1):""},t.decode=function(e,t){var n=void 0===t?d:t,r=n.level,o=void 0===r?"all":r,i=n.scope,a=void 0===i?"xml"===o?"strict":"body":i;if(!e)return"";var u=m[o][a],c=s[o].entities,p="attribute"===a,h="strict"===a;return l(e,u,(function(e){return b(e,c,p,h)}))}},97654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"­","­":"­","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","­":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"⁡","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"​","​":"​","​":"​","​":"​","≫":"≫","≪":"≪"," ":"\n","𝔑":"𝔑","⁠":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц"," ":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"​","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"⁡","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"⁣","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"⁢","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"‏","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"­","­":"­","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"‍","‌":"‌"},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","⁡":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","​":"​","\n":" ",𝔑:"𝔑","⁠":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":" ",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","‏":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","­":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","‍":"‍","‌":"‌"}}}},79103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},59339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},23151:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Editor:()=>je,Element:()=>Pe,Location:()=>Be,Node:()=>Te,Operation:()=>Fe,Path:()=>fe,PathRef:()=>oe,Point:()=>Ve,PointRef:()=>ie,Range:()=>Se,RangeRef:()=>ae,Scrubber:()=>He,Span:()=>Ne,Text:()=>Xe,Transforms:()=>At,above:()=>Mt,addMark:()=>Bt,after:()=>Kt,apply:()=>zt,before:()=>Ht,collapse:()=>Qn,createEditor:()=>Dr,deleteBackward:()=>Zt,deleteForward:()=>Ut,deleteFragment:()=>$t,deleteText:()=>Xn,deselect:()=>Jn,edges:()=>Gt,elementReadOnly:()=>Yt,end:()=>Qt,first:()=>Jt,fragment:()=>en,getDirtyPaths:()=>Tt,getFragment:()=>Ot,getVoid:()=>rn,hasBlocks:()=>on,hasInlines:()=>an,hasPath:()=>sn,hasTexts:()=>ln,insertBreak:()=>un,insertFragment:()=>Yn,insertNode:()=>cn,insertNodes:()=>ar,insertSoftBreak:()=>dn,insertText:()=>fn,isBlock:()=>mn,isEdge:()=>gn,isEditor:()=>Re,isEmpty:()=>vn,isEnd:()=>yn,isNormalizing:()=>bn,isStart:()=>wn,last:()=>xn,leaf:()=>Dn,levels:()=>Cn,liftNodes:()=>sr,marks:()=>_n,mergeNodes:()=>dr,move:()=>er,moveNodes:()=>pr,next:()=>Pn,node:()=>kn,nodes:()=>An,normalize:()=>zn,normalizeNode:()=>It,parent:()=>Tn,path:()=>Fn,pathRef:()=>On,pathRefs:()=>In,point:()=>jn,pointRef:()=>Mn,pointRefs:()=>Rn,positions:()=>Bn,previous:()=>Nn,range:()=>Vn,rangeRef:()=>Ln,rangeRefs:()=>Kn,removeMark:()=>Hn,removeNodes:()=>hr,select:()=>tr,setNodes:()=>fr,setNormalizing:()=>Zn,setPoint:()=>or,setSelection:()=>ir,shouldNormalize:()=>Ft,splitNodes:()=>gr,start:()=>Un,string:()=>$n,unhangRange:()=>Gn,unsetNodes:()=>vr,unwrapNodes:()=>yr,withoutNormalizing:()=>Wn,wrapNodes:()=>xr});var r=n(35583);function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:f(e)?3:0}function u(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===l(e)?e.get(t):e[t]}function d(e,t,n){var r=l(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return K&&e instanceof Map}function f(e){return V&&e instanceof Set}function m(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W(e);delete t[U];for(var n=G(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&s(e,(function(e,t){return v(t,!0)}),!0)),e}function y(){o(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=X[e];return t||o(18,e),t}function x(){return N}function D(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){E(e),e.p.forEach(_),e.p=null}function E(e){e===N&&(N=e.l)}function S(e){return N={p:[],l:N,h:e,m:!0,_:0}}function _(e){var t=e[U];0===t.i||1===t.i?t.j():t.O=!0}function P(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||w("ES5").S(t,e,r),r?(n[U].P&&(C(t),o(4)),a(e)&&(e=k(t,e),t.l||z(t,e)),t.u&&w("Patches").M(n[U].t,e,t.u,t.s)):e=k(t,n,[]),C(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,n){if(b(t))return t;var r=t[U];if(!r)return s(t,(function(o,i){return A(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return z(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=g(r.k):r.o;s(3===r.i?new Set(o):o,(function(t,i){return A(e,r,o,t,i,n)})),z(e,o,!1),n&&e.u&&w("Patches").R(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,o,s){if(i(o)){var l=k(e,o,s&&t&&3!==t.i&&!u(t.D,r)?s.concat(r):void 0);if(d(n,r,l),!i(l))return;e.m=!1}if(a(o)&&!b(o)){if(!e.h.F&&e._<1)return;k(e,o),t&&t.A.l||z(e,o)}}function z(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&v(t,n)}function T(e,t){var n=e[U];return(n?m(n):e)[t]}function O(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function F(e){e.o||(e.o=g(e.t))}function M(e,t,n){var r=h(t)?w("MapSet").N(t,n):f(t)?w("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:x(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Y;n&&(o=[r],i=Q);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):w("ES5").J(t,n);return(n?n.A:x()).p.push(r),r}function R(e){return i(e)||o(22,e),function e(t){if(!a(t))return t;var n,r=t[U],o=l(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=j(t,o),r.I=!1}else n=j(t,o);return s(n,(function(t,o){r&&c(r.t,t)===o||d(n,t,e(o))})),3===o?new Set(n):n}(e)}function j(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}var B,N,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),K="undefined"!=typeof Map,V="undefined"!=typeof Set,q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=L?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),Z=L?Symbol.for("immer-draftable"):"__$immer_draftable",U=L?Symbol.for("immer-state"):"__$immer_state",$=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Y={get:function(e,t){if(t===U)return e;var n=m(e);if(!u(n,t))return function(e,t,n){var r,o=O(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!a(r)?r:r===T(e.t,t)?(F(e),e.o[t]=M(e.A.h,r,e)):r},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,n){var r=O(m(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=T(m(e),t),i=null==o?void 0:o[U];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(p(n,o)&&(void 0!==n||u(e.t,t)))return!0;F(e),I(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==T(e.t,t)||t in e.t?(e.D[t]=!1,F(e),I(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=m(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},Q={};s(Y,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return Y.set.call(this,e[0],t,n,e[0])};var J=function(){function e(e){var t=this;this.g=q,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a1?r-1:0),i=1;i=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=w("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),ee=new J,te=ee.produce,ne=(ee.produceWithPatches.bind(ee),ee.setAutoFreeze.bind(ee),ee.setUseProxies.bind(ee),ee.applyPatches.bind(ee),ee.createDraft.bind(ee)),re=ee.finishDraft.bind(ee);var oe={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=fe.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},ie={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Ve.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},ae={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Se.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},se=new WeakMap,le=new WeakMap,ue=new WeakMap,ce=new WeakMap,de=new WeakMap,pe=new WeakMap,he=new WeakMap,fe={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=fe.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;rt[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return fe.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return fe.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return fe.equals(r,o)&&ie.length===t.length&&e.every(((e,n)=>e===t[n])),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===fe.compare(e,t),isAncestor:(e,t)=>e.length-1===fe.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===fe.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===fe.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===fe.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===fe.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&fe.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!fe.isAncestor(t,e)&&!fe.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return null;var r=[...e],{affinity:o="forward"}=n;if(0===e.length)return r;switch(t.type){case"insert_node":var{path:i}=t;(fe.equals(i,r)||fe.endsBefore(i,r)||fe.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(fe.equals(a,r)||fe.isAncestor(a,r))return null;fe.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;fe.equals(s,r)||fe.endsBefore(s,r)?r[s.length-1]-=1:fe.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:u,position:c}=t;if(fe.equals(u,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else fe.endsBefore(u,r)?r[u.length-1]+=1:fe.isAncestor(u,r)&&e[u.length]>=c&&(r[u.length-1]+=1,r[u.length]-=c);break;case"move_node":var{path:d,newPath:p}=t;if(fe.equals(d,p))return r;if(fe.isAncestor(d,r)||fe.equals(d,r)){var h=p.slice();return fe.endsBefore(d,p)&&d.length{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=Te.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,l]of Se.points(t))t[l]=Ve.transform(s,n);break;case"insert_text":var{path:u,offset:c,text:d}=n;if(0===d.length)break;var p=Te.leaf(e,u),h=p.text.slice(0,c),f=p.text.slice(c);if(p.text=h+d+f,t)for(var[m,g]of Se.points(t))t[g]=Ve.transform(m,n);break;case"merge_node":var{path:v}=n,y=Te.get(e,v),b=fe.previous(v),w=Te.get(e,b),x=Te.parent(e,v),D=v[v.length-1];if(Xe.isText(y)&&Xe.isText(w))w.text+=y.text;else{if(Xe.isText(y)||Xe.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interfaces: ").concat(He.stringify(y)," ").concat(He.stringify(w)));w.children.push(...y.children)}if(x.children.splice(D,1),t)for(var[C,E]of Se.points(t))t[E]=Ve.transform(C,n);break;case"move_node":var{path:S,newPath:_}=n;if(fe.isAncestor(S,_))throw new Error("Cannot move a path [".concat(S,"] to new path [").concat(_,"] because the destination is inside itself."));var P=Te.get(e,S),k=Te.parent(e,S),A=S[S.length-1];k.children.splice(A,1);var z=fe.transform(S,n),T=Te.get(e,fe.parent(z)),O=z[z.length-1];if(T.children.splice(O,0,P),t)for(var[I,F]of Se.points(t))t[F]=Ve.transform(I,n);break;case"remove_node":var{path:M}=n,R=M[M.length-1];if(Te.parent(e,M).children.splice(R,1),t)for(var[j,B]of Se.points(t)){var N=Ve.transform(j,n);if(null!=t&&null!=N)t[B]=N;else{var L=void 0,K=void 0;for(var[V,q]of Te.texts(e)){if(-1!==fe.compare(q,M)){K=[V,q];break}L=[V,q]}var H=!1;L&&K&&(H=fe.equals(K[1],M)?!fe.hasPrevious(K[1]):fe.common(L[1],M).length{for(var n in e){var o=e[n],i=t[n];if((0,r.P)(o)&&(0,r.P)(i)){if(!xe(o,i))return!1}else if(Array.isArray(o)&&Array.isArray(i)){if(o.length!==i.length)return!1;for(var a=0;a=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ce=["anchor","focus"];function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Se={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return Se.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=Se.edges(e);return t},equals:(e,t)=>Ve.equals(e.anchor,t.anchor)&&Ve.equals(e.focus,t.focus),includes(e,t){if(Se.isRange(t)){if(Se.includes(e,t.anchor)||Se.includes(e,t.focus))return!0;var[n,r]=Se.edges(e),[o,i]=Se.edges(t);return Ve.isBefore(n,o)&&Ve.isAfter(r,i)}var[a,s]=Se.edges(e),l=!1,u=!1;return Ve.isPoint(t)?(l=Ve.compare(t,a)>=0,u=Ve.compare(t,s)<=0):(l=fe.compare(t,a.path)>=0,u=fe.compare(t,s.path)<=0),l&&u},intersection(e,t){var n=De(e,Ce),[r,o]=Se.edges(e),[i,a]=Se.edges(t),s=Ve.isBefore(r,i)?i:r,l=Ve.isBefore(o,a)?o:a;return Ve.isBefore(l,s)?null:function(e){for(var t=1;t!Se.isCollapsed(e),isForward:e=>!Se.isBackward(e),isRange:e=>(0,r.P)(e)&&Ve.isPoint(e.anchor)&&Ve.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Se.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return te(e,(e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=Se.isCollapsed(e);Se.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?Se.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=Ve.transform(e.anchor,t,{affinity:r}),l=Ve.transform(e.focus,t,{affinity:o});if(!s||!l)return null;e.anchor=s,e.focus=l}))}},_e=e=>(0,r.P)(e)&&Te.isNodeList(e.children)&&!je.isEditor(e),Pe={isAncestor:e=>(0,r.P)(e)&&Te.isNodeList(e.children),isElement:_e,isElementList:e=>Array.isArray(e)&&e.every((e=>Pe.isElement(e))),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return _e(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},ke=["children"],Ae=["text"],ze=new WeakMap,Te={ancestor(e,t){var n=Te.get(e,t);if(Xe.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(He.stringify(n)));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of fe.ancestors(t,n)){var o=[Te.ancestor(e,r),r];yield o}},child(e,t){if(Xe.isText(e))throw new Error("Cannot get the child of a text node: ".concat(He.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(He.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=Te.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Te.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Te.nodes(e,t))Pe.isElement(n)&&(yield[n,r])},extractProps:e=>Pe.isAncestor(e)?De(e,ke):De(e,Ae),first(e,t){for(var n=t.slice(),r=Te.get(e,n);r&&!Xe.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Xe.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(He.stringify(e)));var n=te({children:e.children},(e=>{var[n,r]=Se.edges(t),o=Te.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Se.includes(t,n)}});for(var[,i]of o){if(!Se.includes(t,i)){var a=Te.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(fe.equals(i,r.path)){var l=Te.leaf(e,i);l.text=l.text.slice(0,r.offset)}if(fe.equals(i,n.path)){var u=Te.leaf(e,i);u.text=u.text.slice(n.offset)}}je.isEditor(e)&&(e.selection=null)}));return n.children},get(e,t){for(var n=e,r=0;rXe.isText(e)||Pe.isElement(e)||je.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=ze.get(e);if(void 0!==t)return t;var n=e.every((e=>Te.isNode(e)));return ze.set(e,n),n},last(e,t){for(var n=t.slice(),r=Te.get(e,n);r&&!Xe.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=Te.get(e,t);if(!Xe.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(He.stringify(n)));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of fe.levels(t,n)){var o=Te.get(e,r);yield[o,r]}},matches:(e,t)=>Pe.isElement(e)&&Pe.isElementProps(t)&&Pe.matches(e,t)||Xe.isText(e)&&Xe.isTextProps(t)&&Xe.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!i||!(r?fe.isBefore(s,i):fe.isAfter(s,i));)if(a.has(l)||(yield[l,s]),a.has(l)||Xe.isText(l)||0===l.children.length||null!=n&&!1!==n([l,s])){if(0===s.length)break;if(!r){var u=fe.next(s);if(Te.has(e,u)){s=u,l=Te.get(e,s);continue}}if(r&&0!==s[s.length-1])s=fe.previous(s),l=Te.get(e,s);else s=fe.parent(s),l=Te.get(e,s),a.add(l)}else{a.add(l);var c=r?l.children.length-1:0;fe.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),l=Te.get(e,s)}},parent(e,t){var n=fe.parent(t),r=Te.get(e,n);if(Xe.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Xe.isText(e)?e.text:e.children.map(Te.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Te.nodes(e,t))Xe.isText(n)&&(yield[n,r])}};function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;tFe.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!(0,r.P)(e))return!1;switch(e.type){case"insert_node":case"remove_node":return fe.isPath(e.path)&&Te.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&fe.isPath(e.path);case"merge_node":return"number"==typeof e.position&&fe.isPath(e.path)&&(0,r.P)(e.properties);case"move_node":return fe.isPath(e.path)&&fe.isPath(e.newPath);case"set_node":return fe.isPath(e.path)&&(0,r.P)(e.properties)&&(0,r.P)(e.newProperties);case"set_selection":return null===e.properties&&Se.isRange(e.newProperties)||null===e.newProperties&&Se.isRange(e.properties)||(0,r.P)(e.properties)&&(0,r.P)(e.newProperties);case"split_node":return fe.isPath(e.path)&&"number"==typeof e.position&&(0,r.P)(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every((e=>Fe.isOperation(e))),isSelectionOperation:e=>Fe.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>Fe.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return Ie(Ie({},e),{},{type:"remove_node"});case"insert_text":return Ie(Ie({},e),{},{type:"remove_text"});case"merge_node":return Ie(Ie({},e),{},{type:"split_node",path:fe.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(fe.equals(t,n))return e;if(fe.isSibling(n,t))return Ie(Ie({},e),{},{path:t,newPath:n});var r=fe.transform(n,e),o=fe.transform(fe.next(n),e);return Ie(Ie({},e),{},{path:r,newPath:o});case"remove_node":return Ie(Ie({},e),{},{type:"insert_node"});case"remove_text":return Ie(Ie({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return Ie(Ie({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return Ie(Ie({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return Ie(Ie({},e),{},{type:"merge_node",path:fe.next(e.path)})}}},Me=new WeakMap,Re=e=>{var t=Me.get(e);if(void 0!==t)return t;if(!(0,r.P)(e))return!1;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertSoftBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isElementReadOnly&&"function"==typeof e.isInline&&"function"==typeof e.isSelectable&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||(0,r.P)(e.marks))&&(null===e.selection||Se.isRange(e.selection))&&Te.isNodeList(e.children)&&Fe.isOperationList(e.operations);return Me.set(e,n),n},je={above:(e,t)=>e.above(t),addMark(e,t,n){e.addMark(t,n)},after:(e,t,n)=>e.after(t,n),before:(e,t,n)=>e.before(t,n),deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,n)=>e.isEdge(t,n),isEditor:e=>Re(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,n)=>e.isEnd(t,n),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,n)=>e.isStart(t,n),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,n)=>e.leaf(t,n),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,n)=>e.node(t,n),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,n)=>e.parent(t,n),path:(e,t,n)=>e.path(t,n),pathRef:(e,t,n)=>e.pathRef(t,n),pathRefs:e=>e.pathRefs(),point:(e,t,n)=>e.point(t,n),pointRef:(e,t,n)=>e.pointRef(t,n),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,n)=>e.range(t,n),rangeRef:(e,t,n)=>e.rangeRef(t,n),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,n)=>e.string(t,n),unhangRange:(e,t,n)=>e.unhangRange(t,n),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)}},Be={isLocation:e=>fe.isPath(e)||Ve.isPoint(e)||Se.isRange(e)},Ne={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(fe.isPath)};function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;tt.offset?1:0:n},isAfter:(e,t)=>1===Ve.compare(e,t),isBefore:(e,t)=>-1===Ve.compare(e,t),equals:(e,t)=>e.offset===t.offset&&fe.equals(e.path,t.path),isPoint:e=>(0,r.P)(e)&&"number"==typeof e.offset&&fe.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return te(e,(e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=fe.transform(o,t,n);break;case"insert_text":fe.equals(t.path,o)&&(t.offsetJSON.stringify(e,qe)},Ze=["text"],Ue=["anchor","focus"];function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return De(e,Ze)}return xe(r?o(e):e,r?o(t):t)},isText:e=>(0,r.P)(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every((e=>Xe.isText(e))),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Ge({},e)];for(var r of t){var o=De(r,Ue),[i,a]=Se.edges(r),s=[],l=0,u=i.offset,c=a.offset;for(var d of n){var{length:p}=d.text,h=l;if(l+=p,u<=h&&l<=c)Object.assign(d,o),s.push(d);else if(u!==c&&(u===l||c===h)||u>l||ch){var y=u-h;m=Ge(Ge({},f),{},{text:f.text.slice(0,y)}),f=Ge(Ge({},f),{},{text:f.text.slice(y)})}Object.assign(f,o),m&&s.push(m),s.push(f),g&&s.push(g)}}n=s}return n}},Ye=e=>e.selection?e.selection:e.children.length>0?je.end(e,[]):[0],Qe=(e,t)=>{var[n]=je.node(e,t);return e=>e===n},Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?at(e):e,o=We.None,i=We.None,a=0,s=null;for(var l of r){var u=l.codePointAt(0);if(!u)break;var c=yt(l,u);if([o,i]=n?[i,c]:[c,o],bt(o,We.ZWJ)&&bt(i,We.ExtPict)&&!Ct(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(bt(o,We.RI)&&bt(i,We.RI)&&!(s=null!==s?!s:!!n||St(e.substring(0,e.length-a))))break;if(o!==We.None&&i!==We.None&&xt(o,i))break;a+=l.length}return a||1},et=/\s/,tt=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,nt=/['\u2018\u2019]/,rt=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=Je(e,t),[i,a]=ot(e,o,t);if(it(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n},ot=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},it=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(et.test(t))return!1;if(nt.test(t)){var o=Je(n,r),[i,a]=ot(n,o,r);if(e(i,a,r))return!0}return!tt.test(t)},at=function*(e){for(var t=e.length-1,n=0;ne>=55296&&e<=56319,lt=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(We||(We={}));var ut=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,ct=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,dt=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,pt=/^[\u1100-\u115F\uA960-\uA97C]$/,ht=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,ft=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,mt=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,gt=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,vt=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,yt=(e,t)=>{var n=We.Any;return-1!==e.search(ut)&&(n|=We.Extend),8205===t&&(n|=We.ZWJ),t>=127462&&t<=127487&&(n|=We.RI),-1!==e.search(ct)&&(n|=We.Prepend),-1!==e.search(dt)&&(n|=We.SpacingMark),-1!==e.search(pt)&&(n|=We.L),-1!==e.search(ht)&&(n|=We.V),-1!==e.search(ft)&&(n|=We.T),-1!==e.search(mt)&&(n|=We.LV),-1!==e.search(gt)&&(n|=We.LVT),-1!==e.search(vt)&&(n|=We.ExtPict),n};function bt(e,t){return 0!=(e&t)}var wt=[[We.L,We.L|We.V|We.LV|We.LVT],[We.LV|We.V,We.V|We.T],[We.LVT|We.T,We.T],[We.Any,We.Extend|We.ZWJ],[We.Any,We.SpacingMark],[We.Prepend,We.Any],[We.ZWJ,We.ExtPict],[We.RI,We.RI]];function xt(e,t){return-1===wt.findIndex((n=>bt(e,n[0])&&bt(t,n[1])))}var Dt=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Ct=e=>-1!==e.search(Dt),Et=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,St=e=>{var t=e.match(Et);return null!==t&&t[0].length/2%2==1},_t={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};je.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:o=Ye(e)}=n;if(fe.isPath(o)&&(o=je.range(e,o)),Se.isRange(o))if(Se.isCollapsed(o))o=o.anchor;else{var i=Se.end(o);if(!r&&je.void(e,{at:i}))return;var a=Se.start(o),s=je.pointRef(e,a),l=je.pointRef(e,i);At.delete(e,{at:o,voids:r});var u=s.unref(),c=l.unref();o=u||c,At.setSelection(e,{anchor:o,focus:o})}if(!(!r&&je.void(e,{at:o})||je.elementReadOnly(e,{at:o}))){var{path:d,offset:p}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:p,text:t})}}))}};function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t{for(var n of je.pathRefs(e))oe.transform(n,t);for(var r of je.pointRefs(e))ie.transform(r,t);for(var o of je.rangeRefs(e))ae.transform(o,t);var i,a,s=se.get(e)||[],l=le.get(e)||new Set,u=e=>{if(e){var t=e.join(",");a.has(t)||(a.add(t),i.push(e))}};if(fe.operationCanTransformPath(t))for(var c of(i=[],a=new Set,s)){u(fe.transform(c,t))}else i=s,a=l;var d=e.getDirtyPaths(t);for(var p of d)u(p);se.set(e,i),le.set(e,a),At.transform(e,t),e.operations.push(t),je.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),ue.get(e)||(ue.set(e,!0),Promise.resolve().then((()=>{ue.set(e,!1),e.onChange({operation:t}),e.operations=[]})))},Tt=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:n}=t;return fe.levels(n);case"insert_node":var{node:r,path:o}=t,i=fe.levels(o),a=Xe.isText(r)?[]:Array.from(Te.nodes(r),(e=>{var[,t]=e;return o.concat(t)}));return[...i,...a];case"merge_node":var{path:s}=t;return[...fe.ancestors(s),fe.previous(s)];case"move_node":var{path:l,newPath:u}=t;if(fe.equals(l,u))return[];var c=[],d=[];for(var p of fe.ancestors(l)){var h=fe.transform(p,t);c.push(h)}for(var f of fe.ancestors(u)){var m=fe.transform(f,t);d.push(m)}var g=d[d.length-1],v=u[u.length-1],y=g.concat(v);return[...c,...d,y];case"remove_node":var{path:b}=t;return[...fe.ancestors(b)];case"split_node":var{path:w}=t;return[...fe.levels(w),fe.next(w)];default:return[]}},Ot=e=>{var{selection:t}=e;return t?Te.fragment(e,t):[]},It=(e,t)=>{var[n,r]=t;if(!Xe.isText(n))if(Pe.isElement(n)&&0===n.children.length){At.insertNodes(e,{text:""},{at:r.concat(0),voids:!0})}else for(var o=!je.isEditor(n)&&(Pe.isElement(n)&&(e.isInline(n)||0===n.children.length||Xe.isText(n.children[0])||e.isInline(n.children[0]))),i=0,a=0;a{var{iteration:n,initialDirtyPathsLength:r}=t,o=42*r;if(n>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},Mt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=je.path(e,o),s="lowest"===r;for(var[l,u]of je.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!Xe.isText(l))if(Se.isRange(o)){if(fe.isAncestor(u,o.anchor.path)&&fe.isAncestor(u,o.focus.path))return[l,u]}else if(!fe.equals(a,u))return[l,u]}};function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t{var{selection:r}=e;if(r){var o=(t,n)=>{if(!Xe.isText(t))return!1;var[r,o]=je.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=Se.isExpanded(r),a=!1;if(!i){var[s,l]=je.node(e,r);if(s&&o(s,l)){var[u]=je.parent(e,l);a=u&&e.markableVoid(u)}}if(i||a)At.setNodes(e,{[t]:n},{match:o,split:!0,voids:!0});else{var c=jt(jt({},je.marks(e)||{}),{},{[t]:n});e.marks=c,ue.get(e)||e.onChange()}}};function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},o=je.point(e,t,{edge:"end"}),i=je.end(e,[]),a={anchor:o,focus:i},{distance:s=1}=r,l=0;for(var u of je.positions(e,Lt(Lt({},r),{},{at:a}))){if(l>s)break;0!==l&&(n=u),l++}return n};function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},o=je.start(e,[]),i=je.point(e,t,{edge:"start"}),a={anchor:o,focus:i},{distance:s=1}=r,l=0;for(var u of je.positions(e,qt(qt({},r),{},{at:a,reverse:!0}))){if(l>s)break;0!==l&&(n=u),l++}return n},Zt=(e,t)=>{var{selection:n}=e;n&&Se.isCollapsed(n)&&At.delete(e,{unit:t,reverse:!0})},Ut=(e,t)=>{var{selection:n}=e;n&&Se.isCollapsed(n)&&At.delete(e,{unit:t})},$t=function(e){var{direction:t="forward"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e;n&&Se.isExpanded(n)&&At.delete(e,{reverse:"backward"===t})},Gt=(e,t)=>[je.start(e,t),je.end(e,t)];function Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return je.above(e,Xt(Xt({},t),{},{match:t=>Pe.isElement(t)&&je.isElementReadOnly(e,t)}))},Qt=(e,t)=>je.point(e,t,{edge:"end"}),Jt=(e,t)=>{var n=je.path(e,t,{edge:"start"});return je.node(e,n)},en=(e,t)=>{var n=je.range(e,t);return Te.fragment(e,n)};function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return je.above(e,nn(nn({},t),{},{match:t=>Pe.isElement(t)&&je.isVoid(e,t)}))},on=(e,t)=>t.children.some((t=>Pe.isElement(t)&&je.isBlock(e,t))),an=(e,t)=>t.children.some((t=>Xe.isText(t)||je.isInline(e,t))),sn=(e,t)=>Te.has(e,t),ln=(e,t)=>t.children.every((e=>Xe.isText(e))),un=e=>{At.splitNodes(e,{always:!0})},cn=(e,t,n)=>{At.insertNodes(e,t,n)},dn=e=>{At.splitNodes(e,{always:!0})};function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hn(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{selection:r,marks:o}=e;if(r){if(o){var i=hn({text:t},o);At.insertNodes(e,i,{at:n.at,voids:n.voids})}else At.insertText(e,t,n);e.marks=null}},mn=(e,t)=>!e.isInline(t),gn=(e,t,n)=>je.isStart(e,t,n)||je.isEnd(e,t,n),vn=(e,t)=>{var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&Xe.isText(r)&&""===r.text&&!e.isVoid(t)},yn=(e,t,n)=>{var r=je.end(e,n);return Ve.equals(t,r)},bn=e=>{var t=ce.get(e);return void 0===t||t},wn=(e,t,n)=>{if(0!==t.offset)return!1;var r=je.start(e,n);return Ve.equals(t,r)},xn=(e,t)=>{var n=je.path(e,t,{edge:"end"});return je.node(e,n)},Dn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=je.path(e,t,n),o=Te.leaf(e,r);return[o,r]};function*Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=je.path(e,n);for(var[l,u]of Te.levels(e,s))if(i(l,u)&&(a.push([l,u]),!o&&Pe.isElement(l)&&je.isVoid(e,l)))break;r&&a.reverse(),yield*a}}var En=["text"],Sn=["text"],_n=function(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(Se.isExpanded(n)){var[r]=je.nodes(e,{match:Xe.isText});if(r){var[o]=r;return De(o,En)}return{}}var{anchor:i}=n,{path:a}=i,[s]=je.leaf(e,a);if(0===i.offset){var l=je.previous(e,{at:a,match:Xe.isText}),u=je.above(e,{match:t=>Pe.isElement(t)&&je.isVoid(e,t)&&e.markableVoid(t)});if(!u){var c=je.above(e,{match:t=>Pe.isElement(t)&&je.isBlock(e,t)});if(l&&c){var[d,p]=l,[,h]=c;fe.isAncestor(h,p)&&(s=d)}}}return De(s,Sn)},Pn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=je.after(e,i,{voids:r});if(a){var[,s]=je.last(e,[]),l=[a.path,s];if(fe.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(fe.isPath(i)){var[u]=je.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=je.nodes(e,{at:l,match:o,mode:n,voids:r});return c}}},kn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=je.path(e,t,n),o=Te.get(e,r);return[o,r]};function*An(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t,{match:l}=t;if(l||(l=()=>!0),n){var u,c;if(Ne.isSpan(n))u=n[0],c=n[1];else{var d=je.path(e,n,{edge:"start"}),p=je.path(e,n,{edge:"end"});u=i?p:d,c=i?d:p}var h,f=Te.nodes(e,{reverse:i,from:u,to:c,pass:t=>{var[n]=t;return!!Pe.isElement(n)&&(!(a||!je.isVoid(e,n)&&!je.isElementReadOnly(e,n))||!(!s||je.isSelectable(e,n)))}}),m=[];for(var[g,v]of f)if(!s||!Pe.isElement(g)||je.isSelectable(e,g)){var y=h&&0===fe.compare(v,h[1]);if("highest"!==r||!y)if(l(g,v))if("lowest"===r&&y)h=[g,v];else{var b="lowest"===r?h:[g,v];b&&(o?m.push(b):yield b),h=[g,v]}else if(o&&!y&&Xe.isText(g))return}"lowest"===r&&h&&(o?m.push(h):yield h),o&&(yield*m)}}var zn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>se.get(e)||[],i=e=>le.get(e)||new Set,a=e=>{var t=o(e).pop(),n=t.join(",");return i(e).delete(n),t};if(je.isNormalizing(e)){if(n){var s=Array.from(Te.nodes(e),(e=>{var[,t]=e;return t})),l=new Set(s.map((e=>e.join(","))));se.set(e,s),le.set(e,l)}0!==o(e).length&&je.withoutNormalizing(e,(()=>{for(var t of o(e))if(Te.has(e,t)){var n=je.node(e,t),[i,s]=n;Pe.isElement(i)&&0===i.children.length&&e.normalizeNode(n,{operation:r})}for(var l=o(e),u=l.length,c=0;0!==l.length;){if(!e.shouldNormalize({dirtyPaths:l,iteration:c,initialDirtyPathsLength:u,operation:r}))return;var d=a(e);if(Te.has(e,d)){var p=je.node(e,d);e.normalizeNode(p,{operation:r})}c++,l=o(e)}}))}},Tn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=je.path(e,t,n),o=fe.parent(r),i=je.node(e,o);return i},On=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return je.pathRefs(e).delete(o),o.current=null,t}},i=je.pathRefs(e);return i.add(o),o},In=e=>{var t=de.get(e);return t||(t=new Set,de.set(e,t)),t},Fn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(fe.isPath(t))if("start"===o){var[,i]=Te.first(e,t);t=i}else if("end"===o){var[,a]=Te.last(e,t);t=a}return Se.isRange(t)&&(t="start"===o?Se.start(t):"end"===o?Se.end(t):fe.common(t.anchor.path,t.focus.path)),Ve.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},Mn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return je.pointRefs(e).delete(o),o.current=null,t}},i=je.pointRefs(e);return i.add(o),o},Rn=e=>{var t=pe.get(e);return t||(t=new Set,pe.set(e,t)),t},jn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(fe.isPath(t)){var o;if("end"===r){var[,i]=Te.last(e,t);o=i}else{var[,a]=Te.first(e,t);o=a}var s=Te.get(e,o);if(!Xe.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(Se.isRange(t)){var[l,u]=Se.edges(t);return"start"===r?l:u}return t};function*Bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1,ignoreNonSelectable:a=!1}=t;if(n){var s=je.range(e,n),[l,u]=Se.edges(s),c=o?u:l,d=!1,p="",h=0,f=0,m=0;for(var[g,v]of je.nodes(e,{at:n,reverse:o,voids:i,ignoreNonSelectable:a})){if(Pe.isElement(g)){if(!i&&(e.isVoid(g)||e.isElementReadOnly(g))){yield je.start(e,v);continue}if(e.isInline(g))continue;if(je.hasInlines(e,g)){var y=fe.isAncestor(v,u.path)?u:je.end(e,v),b=fe.isAncestor(v,l.path)?l:je.start(e,v);p=je.string(e,{anchor:b,focus:y},{voids:i}),d=!0}}if(Xe.isText(g)){var w=fe.equals(v,c.path);for(w?(f=o?c.offset:g.text.length-c.offset,m=c.offset):(f=g.text.length,m=o?f:0),(w||d||"offset"===r)&&(yield{path:v,offset:m},d=!1);;){if(0===h){if(""===p)break;h=x(p,r,o),p=ot(p,h,o)[1]}if(m=o?m-h:m+h,(f-=h)<0){h=-f;break}h=0,yield{path:v,offset:m}}}}}function x(e,t,n){return"character"===t?Je(e,n):"word"===t?rt(e,n):"line"===t||"block"===t?e.length:1}}var Nn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=je.before(e,i,{voids:r});if(a){var[,s]=je.first(e,[]),l=[a.path,s];if(fe.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(fe.isPath(i)){var[u]=je.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=je.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return c}}},Ln=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return je.rangeRefs(e).delete(o),o.current=null,t}},i=je.rangeRefs(e);return i.add(o),o},Kn=e=>{var t=he.get(e);return t||(t=new Set,he.set(e,t)),t},Vn=(e,t,n)=>Se.isRange(t)&&!n?t:{anchor:je.start(e,t),focus:je.end(e,n||t)};function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Hn=(e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!Xe.isText(t))return!1;var[r,o]=je.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=Se.isExpanded(n),i=!1;if(!o){var[a,s]=je.node(e,n);if(a&&r(a,s)){var[l]=je.parent(e,s);i=l&&e.markableVoid(l)}}if(o||i)At.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var u=function(e){for(var t=1;t{ce.set(e,t)},Un=(e,t)=>je.point(e,t,{edge:"start"}),$n=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=je.range(e,t),[i,a]=Se.edges(o),s="";for(var[l,u]of je.nodes(e,{at:o,match:Xe.isText,voids:r})){var c=l.text;fe.equals(u,a.path)&&(c=c.slice(0,a.offset)),fe.equals(u,i.path)&&(c=c.slice(i.offset)),s+=c}return s},Gn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=Se.edges(t);if(0!==o.offset||0!==i.offset||Se.isCollapsed(t)||fe.hasPrevious(i.path))return t;var a=je.above(e,{at:i,match:t=>Pe.isElement(t)&&je.isBlock(e,t),voids:r}),s=a?a[1]:[],l=je.start(e,o),u={anchor:l,focus:i},c=!0;for(var[d,p]of je.nodes(e,{at:u,match:Xe.isText,reverse:!0,voids:r}))if(c)c=!1;else if(""!==d.text||fe.isBefore(p,s)){i={path:p,offset:d.text.length};break}return{anchor:o,focus:i}},Wn=(e,t)=>{var n=je.isNormalizing(e);je.setNormalizing(e,!1);try{t()}finally{je.setNormalizing(e,n)}je.normalize(e)},Xn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var n,r,{reverse:o=!1,unit:i="character",distance:a=1,voids:s=!1}=t,{at:l=e.selection,hanging:u=!1}=t;if(l){var c=!1;if(Se.isRange(l)&&Se.isCollapsed(l)&&(c=!0,l=l.anchor),Ve.isPoint(l)){var d=je.void(e,{at:l,mode:"highest"});if(!s&&d){var[,p]=d;l=p}else{var h={unit:i,distance:a};l={anchor:l,focus:o?je.before(e,l,h)||je.start(e,[]):je.after(e,l,h)||je.end(e,[])},u=!0}}if(fe.isPath(l))At.removeNodes(e,{at:l,voids:s});else if(!Se.isCollapsed(l)){if(!u){var[,f]=Se.edges(l),m=je.end(e,[]);Ve.equals(f,m)||(l=je.unhangRange(e,l,{voids:s}))}var[g,v]=Se.edges(l),y=je.above(e,{match:t=>Pe.isElement(t)&&je.isBlock(e,t),at:g,voids:s}),b=je.above(e,{match:t=>Pe.isElement(t)&&je.isBlock(e,t),at:v,voids:s}),w=y&&b&&!fe.equals(y[1],b[1]),x=fe.equals(g.path,v.path),D=s?null:null!==(n=je.void(e,{at:g,mode:"highest"}))&&void 0!==n?n:je.elementReadOnly(e,{at:g,mode:"highest"}),C=s?null:null!==(r=je.void(e,{at:v,mode:"highest"}))&&void 0!==r?r:je.elementReadOnly(e,{at:v,mode:"highest"});if(D){var E=je.before(e,g);E&&y&&fe.isAncestor(y[1],E.path)&&(g=E)}if(C){var S=je.after(e,v);S&&b&&fe.isAncestor(b[1],S.path)&&(v=S)}var _,P=[];for(var k of je.nodes(e,{at:l,voids:s})){var[A,z]=k;_&&0===fe.compare(z,_)||(!s&&Pe.isElement(A)&&(je.isVoid(e,A)||je.isElementReadOnly(e,A))||!fe.isCommon(z,g.path)&&!fe.isCommon(z,v.path))&&(P.push(k),_=z)}var T=Array.from(P,(t=>{var[,n]=t;return je.pathRef(e,n)})),O=je.pointRef(e,g),I=je.pointRef(e,v),F="";if(!x&&!D){var M=O.current,[R]=je.leaf(e,M),{path:j}=M,{offset:B}=g,N=R.text.slice(B);N.length>0&&(e.apply({type:"remove_text",path:j,offset:B,text:N}),F=N)}if(T.reverse().map((e=>e.unref())).filter((e=>null!==e)).forEach((t=>At.removeNodes(e,{at:t,voids:s}))),!C){var L=I.current,[K]=je.leaf(e,L),{path:V}=L,q=x?g.offset:0,H=K.text.slice(q,v.offset);H.length>0&&(e.apply({type:"remove_text",path:V,offset:q,text:H}),F=H)}!x&&w&&I.current&&O.current&&At.mergeNodes(e,{at:I.current,hanging:!0,voids:s}),c&&o&&"character"===i&&F.length>1&&F.match(/[\u0E00-\u0E7F]+/)&&At.insertText(e,F.slice(0,F.length-a));var Z=O.unref(),U=I.unref(),$=o?Z||U:U||Z;null==t.at&&$&&At.select(e,$)}}}))},Yn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};je.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=Ye(e)}=n;if(t.length){if(Se.isRange(i))if(r||(i=je.unhangRange(e,i,{voids:o})),Se.isCollapsed(i))i=i.anchor;else{var[,a]=Se.edges(i);if(!o&&je.void(e,{at:a}))return;var s=je.pointRef(e,a);At.delete(e,{at:i}),i=s.unref()}else fe.isPath(i)&&(i=je.start(e,i));if(o||!je.void(e,{at:i})){var l=je.above(e,{at:i,match:t=>Pe.isElement(t)&&je.isInline(e,t),mode:"highest",voids:o});if(l){var[,u]=l;if(je.isEnd(e,i,u))i=je.after(e,u);else if(je.isStart(e,i,u)){i=je.before(e,u)}}var c=je.above(e,{match:t=>Pe.isElement(t)&&je.isBlock(e,t),at:i,voids:o}),[,d]=c,p=je.isStart(e,i,d),h=je.isEnd(e,i,d),f=p&&h,m=!p||p&&h,g=!h,[,v]=Te.first({children:t},[]),[,y]=Te.last({children:t},[]),b=[],w=t=>{var[n,r]=t;return!(0===r.length)&&(!!f||!(m&&fe.isAncestor(r,v)&&Pe.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(g&&fe.isAncestor(r,y)&&Pe.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var x of Te.nodes({children:t},{pass:w}))w(x)&&b.push(x);var D=[],C=[],E=[],S=!0,_=!1;for(var[P]of b)Pe.isElement(P)&&!e.isInline(P)?(S=!1,_=!0,C.push(P)):S?D.push(P):E.push(P);var[k]=je.nodes(e,{at:i,match:t=>Xe.isText(t)||je.isInline(e,t),mode:"highest",voids:o}),[,A]=k,z=je.isStart(e,i,A),T=je.isEnd(e,i,A),O=je.pathRef(e,h&&!E.length?fe.next(d):d),I=je.pathRef(e,T?fe.next(A):A);At.splitNodes(e,{at:i,match:t=>_?Pe.isElement(t)&&je.isBlock(e,t):Xe.isText(t)||je.isInline(e,t),mode:_?"lowest":"highest",always:_&&(!p||D.length>0)&&(!h||E.length>0),voids:o});var F,M=je.pathRef(e,!z||z&&T?fe.next(A):A);if(At.insertNodes(e,D,{at:M.current,match:t=>Xe.isText(t)||je.isInline(e,t),mode:"highest",voids:o}),f&&!D.length&&C.length&&!E.length&&At.delete(e,{at:d,voids:o}),At.insertNodes(e,C,{at:O.current,match:t=>Pe.isElement(t)&&je.isBlock(e,t),mode:"lowest",voids:o}),At.insertNodes(e,E,{at:I.current,match:t=>Xe.isText(t)||je.isInline(e,t),mode:"highest",voids:o}),!n.at)if(E.length>0&&I.current?F=fe.previous(I.current):C.length>0&&O.current?F=fe.previous(O.current):M.current&&(F=fe.previous(M.current)),F){var R=je.end(e,F);At.select(e,R)}M.unref(),O.unref(),I.unref()}}}))},Qn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)At.select(e,r.anchor);else if("focus"===n)At.select(e,r.focus);else if("start"===n){var[o]=Se.edges(r);At.select(e,o)}else if("end"===n){var[,i]=Se.edges(r);At.select(e,i)}},Jn=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},er=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=Se.isBackward(n)?"focus":"anchor"),"end"===a&&(a=Se.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,u={distance:r,unit:o,ignoreNonSelectable:!0},c={};if(null==a||"anchor"===a){var d=i?je.before(e,s,u):je.after(e,s,u);d&&(c.anchor=d)}if(null==a||"focus"===a){var p=i?je.before(e,l,u):je.after(e,l,u);p&&(c.focus=p)}At.setSelection(e,c)}},tr=(e,t)=>{var{selection:n}=e;if(t=je.range(e,t),n)At.setSelection(e,t);else{if(!Se.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(He.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}};function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rr(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=Se.isBackward(r)?"focus":"anchor"),"end"===o&&(o=Se.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;At.setSelection(e,{["anchor"===o?"anchor":"focus"]:rr(rr({},s),t)})}},ir=(e,t)=>{var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!Ve.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!Ve.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}},ar=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};je.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:l}=n;if(Te.isNode(t)&&(t=[t]),0!==t.length){var[u]=t;if(a||(a=Ye(e),l=!0),null==l&&(l=!1),Se.isRange(a))if(r||(a=je.unhangRange(e,a,{voids:o})),Se.isCollapsed(a))a=a.anchor;else{var[,c]=Se.edges(a),d=je.pointRef(e,c);At.delete(e,{at:a}),a=d.unref()}if(Ve.isPoint(a)){null==s&&(s=Xe.isText(u)?e=>Xe.isText(e):e.isInline(u)?t=>Xe.isText(t)||je.isInline(e,t):t=>Pe.isElement(t)&&je.isBlock(e,t));var[p]=je.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(!p)return;var[,h]=p,f=je.pathRef(e,h),m=je.isEnd(e,a,h);At.splitNodes(e,{at:a,match:s,mode:i,voids:o});var g=f.unref();a=m?fe.next(g):g}var v=fe.parent(a),y=a[a.length-1];if(o||!je.void(e,{at:v})){for(var b of t){var w=v.concat(y);y++,e.apply({type:"insert_node",path:w,node:b}),a=fe.next(a)}if(a=fe.previous(a),l){var x=je.end(e,a);x&&At.select(e,x)}}}}))},sr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=fe.isPath(n)?Qe(e,n):t=>Pe.isElement(t)&&je.isBlock(e,t)),n){var a=je.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,(t=>{var[,n]=t;return je.pathRef(e,n)}));for(var l of s){var u=l.unref();if(u.length<2)throw new Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var c=je.node(e,fe.parent(u)),[d,p]=c,h=u[u.length-1],{length:f}=d.children;if(1===f){var m=fe.next(p);At.moveNodes(e,{at:u,to:m,voids:o}),At.removeNodes(e,{at:p,voids:o})}else if(0===h)At.moveNodes(e,{at:u,to:p,voids:o});else if(h===f-1){var g=fe.next(p);At.moveNodes(e,{at:u,to:g,voids:o})}else{var v=fe.next(u),y=fe.next(p);At.splitNodes(e,{at:v,voids:o}),At.moveNodes(e,{at:u,to:y,voids:o})}}}}))},lr=["text"],ur=["children"],cr=(e,t)=>{if(Pe.isElement(t)){var n=t;return!!je.isVoid(e,t)||1===n.children.length&&cr(e,n.children[0])}return!je.isEditor(t)},dr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(fe.isPath(r)){var[s]=je.parent(e,r);n=e=>s.children.includes(e)}else n=t=>Pe.isElement(t)&&je.isBlock(e,t);if(!o&&Se.isRange(r)&&(r=je.unhangRange(e,r,{voids:i})),Se.isRange(r))if(Se.isCollapsed(r))r=r.anchor;else{var[,l]=Se.edges(r),u=je.pointRef(e,l);At.delete(e,{at:r}),r=u.unref(),null==t.at&&At.select(e,r)}var[c]=je.nodes(e,{at:r,match:n,voids:i,mode:a}),d=je.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&d){var[p,h]=c,[f,m]=d;if(0!==h.length&&0!==m.length){var g,v,y=fe.next(m),b=fe.common(h,m),w=fe.isSibling(h,m),x=Array.from(je.levels(e,{at:h}),(e=>{var[t]=e;return t})).slice(b.length).slice(0,-1),D=je.above(e,{at:h,mode:"highest",match:t=>x.includes(t)&&cr(e,t)}),C=D&&je.pathRef(e,D[1]);if(Xe.isText(p)&&Xe.isText(f)){var E=De(p,lr);v=f.text.length,g=E}else{if(!Pe.isElement(p)||!Pe.isElement(f))throw new Error("Cannot merge the node at path [".concat(h,"] with the previous sibling because it is not the same kind: ").concat(He.stringify(p)," ").concat(He.stringify(f)));E=De(p,ur);v=f.children.length,g=E}w||At.moveNodes(e,{at:h,to:y,voids:i}),C&&At.removeNodes(e,{at:C.current,voids:i}),Pe.isElement(f)&&je.isEmpty(e,f)||Xe.isText(f)&&""===f.text&&0!==m[m.length-1]?At.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:y,position:v,properties:g}),C&&C.unref()}}}}))},pr=(e,t)=>{je.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=fe.isPath(r)?Qe(e,r):t=>Pe.isElement(t)&&je.isBlock(e,t));var s=je.pathRef(e,n),l=je.nodes(e,{at:r,match:a,mode:o,voids:i}),u=Array.from(l,(t=>{var[,n]=t;return je.pathRef(e,n)}));for(var c of u){var d=c.unref(),p=s.current;0!==d.length&&e.apply({type:"move_node",path:d,newPath:p}),s.current&&fe.isSibling(p,d)&&fe.isAfter(p,d)&&(s.current=fe.next(s.current))}s.unref()}}))},hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=fe.isPath(i)?Qe(e,i):t=>Pe.isElement(t)&&je.isBlock(e,t)),!n&&Se.isRange(i)&&(i=je.unhangRange(e,i,{voids:r}));var s=je.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,(t=>{var[,n]=t;return je.pathRef(e,n)}));for(var u of l){var c=u.unref();if(c){var[d]=je.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}}))},fr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};je.withoutNormalizing(e,(()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:l="lowest",split:u=!1,voids:c=!1}=n;if(o){if(null==r&&(r=fe.isPath(o)?Qe(e,o):t=>Pe.isElement(t)&&je.isBlock(e,t)),!s&&Se.isRange(o)&&(o=je.unhangRange(e,o,{voids:c})),u&&Se.isRange(o)){if(Se.isCollapsed(o)&&je.leaf(e,o.anchor)[0].text.length>0)return;var d=je.rangeRef(e,o,{affinity:"inward"}),[p,h]=Se.edges(o),f="lowest"===l?"lowest":"highest",m=je.isEnd(e,h,h.path);At.splitNodes(e,{at:h,match:r,mode:f,voids:c,always:!m});var g=je.isStart(e,p,p.path);At.splitNodes(e,{at:p,match:r,mode:f,voids:c,always:!g}),o=d.unref(),null==n.at&&At.select(e,o)}for(var[v,y]of(i||(i=(e,t)=>e!==t),je.nodes(e,{at:o,match:r,mode:l,voids:c}))){var b={},w={};if(0!==y.length){var x=!1;for(var D in t)"children"!==D&&"text"!==D&&i(t[D],v[D])&&(x=!0,v.hasOwnProperty(D)&&(b[D]=v[D]),a?null!=t[D]&&(w[D]=a(v[D],t[D])):null!=t[D]&&(w[D]=t[D]));x&&e.apply({type:"set_node",path:y,properties:b,newProperties:w})}}}}))},mr=(e,t)=>{if(Se.isCollapsed(t))return t.anchor;var[,n]=Se.edges(t),r=je.pointRef(e,n);return At.delete(e,{at:t}),r.unref()},gr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>Pe.isElement(t)&&je.isBlock(e,t)),Se.isRange(i)&&(i=mr(e,i)),fe.isPath(i)){var l=i,u=je.point(e,l),[c]=je.parent(e,l);o=e=>e===c,a=u.path.length-l.length+1,i=u,s=!0}if(i){var d,p=je.pointRef(e,i,{affinity:"backward"});try{var[h]=je.nodes(e,{at:i,match:o,mode:n,voids:r});if(!h)return;var f=je.void(e,{at:i,mode:"highest"});if(!r&&f){var[m,g]=f;if(Pe.isElement(m)&&e.isInline(m)){var v=je.after(e,g);if(!v){var y=fe.next(g);At.insertNodes(e,{text:""},{at:y,voids:r}),v=je.point(e,y)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}d=je.pointRef(e,i);var b=i.path.length-a,[,w]=h,x=i.path.slice(0,b),D=0===a?i.offset:i.path[b]+0;for(var[C,E]of je.levels(e,{at:x,reverse:!0,voids:r})){var S=!1;if(E.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;At.setNodes(e,r,n)},yr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};je.withoutNormalizing(e,(()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=fe.isPath(i)?Qe(e,i):t=>Pe.isElement(t)&&je.isBlock(e,t)),fe.isPath(i)&&(i=je.range(e,i));var s=Se.isRange(i)?je.rangeRef(e,i):null,l=je.nodes(e,{at:i,match:a,mode:n,voids:o}),u=Array.from(l,(t=>{var[,n]=t;return je.pathRef(e,n)})).reverse(),c=function(t){var n=t.unref(),[i]=je.node(e,n),a=je.range(e,n);r&&s&&(a=Se.intersection(s.current,a)),At.liftNodes(e,{at:a,match:e=>Pe.isAncestor(i)&&i.children.includes(e),voids:o})};for(var d of u)c(d);s&&s.unref()}}))};function br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wr(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};je.withoutNormalizing(e,(()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=fe.isPath(s)?Qe(e,s):e.isInline(t)?t=>Pe.isElement(t)&&je.isInline(e,t)||Xe.isText(t):t=>Pe.isElement(t)&&je.isBlock(e,t)),o&&Se.isRange(s)){var[l,u]=Se.edges(s),c=je.rangeRef(e,s,{affinity:"inward"});At.splitNodes(e,{at:u,match:a,voids:i}),At.splitNodes(e,{at:l,match:a,voids:i}),s=c.unref(),null==n.at&&At.select(e,s)}var d=Array.from(je.nodes(e,{at:s,match:e.isInline(t)?t=>Pe.isElement(t)&&je.isBlock(e,t):e=>je.isEditor(e),mode:"lowest",voids:i}));for(var[,p]of d){var h=Se.isRange(s)?Se.intersection(s,je.range(e,p)):s;if(h){var f=Array.from(je.nodes(e,{at:h,match:a,mode:r,voids:i}));if(f.length>0){var m=function(){var[n]=f,r=f[f.length-1],[,o]=n,[,a]=r;if(0===o.length&&0===a.length)return"continue";var s=fe.equals(o,a)?fe.parent(o):fe.common(o,a),l=je.range(e,o,a),u=je.node(e,s),[c]=u,d=s.length+1,p=fe.next(a.slice(0,d)),h=wr(wr({},t),{},{children:[]});At.insertNodes(e,h,{at:p,voids:i}),At.moveNodes(e,{at:l,match:e=>Pe.isAncestor(c)&&c.children.includes(e),to:p.concat(0),voids:i})}();if("continue"===m)continue}}}}}))},Dr=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var t=arguments.length,n=new Array(t),r=0;r{"use strict";n.r(t),n.d(t,{__assign:()=>i,__asyncDelegator:()=>S,__asyncGenerator:()=>E,__asyncValues:()=>_,__await:()=>C,__awaiter:()=>f,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>s,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>o,__generator:()=>m,__importDefault:()=>z,__importStar:()=>A,__makeTemplateObject:()=>P,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>D,__spreadArrays:()=>x,__values:()=>y});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var m in r)f[m]="access"===m?{}:r[m];for(var m in r.access)f.access[m]=r.access[m];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===l?{get:d.get,set:d.set}:d[u],f);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.push(s)}else(s=a(g))&&("field"===l?o.push(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof C?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:o?o(t):t}:o}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return k(t,e),t}function z(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},83511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(93125).__exportStar(n(57757),t)},18617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(47915),o=n(15191);t.config={markMap:{strikethrough:["s"],bold:["strong"],underline:["u"],italic:["i"],code:["pre","code"]},elementMap:{p:"p",paragraph:"p",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",ul:"ul",ol:"ol",li:"li",blockquote:"blockquote"},elementAttributeTransform:({node:e})=>{if(e.align)return{style:(0,o.styleToString)({"text-align":e.align})}},elementTransforms:{quote:({children:e=[]})=>{const t=[new r.Element("p",{},e)];return new r.Element("blockquote",{},t)},link:({node:e,children:t=[]})=>{const n={};return e.newTab&&(n.target="_blank"),new r.Element("a",Object.assign({href:e.url},n),t)}},encodeEntities:!1,alwaysEncodeBreakingEntities:!0,alwaysEncodeCodeEntities:!1,convertLineBreakToBr:!1}},21222:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(47915),o=n(18617);t.config=Object.assign(Object.assign({},o.config),{elementTransforms:Object.assign(Object.assign({},o.config.elementTransforms),{link:({node:e,children:t=[]})=>{const n={};return e.linkType&&(n["data-link-type"]=e.linkType),e.newTab&&(n.target="_blank"),new r.Element("a",Object.assign({href:e.url},n),t)},upload:({node:e})=>{var t,n,o,i,a,s;if((null===(t=e.value)||void 0===t?void 0:t.mimeType)&&(null===(n=e.value)||void 0===n?void 0:n.url))return(null===(o=e.value)||void 0===o?void 0:o.mimeType.match(/^image/))?new r.Element("img",{src:null===(i=e.value)||void 0===i?void 0:i.url}):new r.Element("a",{href:null===(a=e.value)||void 0===a?void 0:a.url},[new r.Text(null===(s=e.value)||void 0===s?void 0:s.filename)])}}),defaultTag:"p"})},18193:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(15191),o={"block-quote":"blockquote","heading-one":"h1","heading-two":"h2","list-item":"li","numbered-list":"ol","bulleted-list":"ul",paragraph:"p"};t.config={markMap:{strikethrough:["s"],bold:["strong"],underline:["u"],italic:["i"],code:["pre","code"]},elementMap:o,elementTransforms:{},elementAttributeTransform:({node:e})=>{const t=(0,r.styleMapToAttribs)({elementStyleMap:{align:"textAlign"},node:e});return(0,r.isEmptyObject)(t)?{}:t},encodeEntities:!0}},57757:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractCssFromStyle=t.convertSlate=t.slateDemoSlateToDomConfig=t.payloadSlateToDomConfig=t.slateToDomConfig=t.slateToDom=void 0;var r=n(97103);Object.defineProperty(t,"slateToDom",{enumerable:!0,get:function(){return r.slateToDom}});var o=n(18617);Object.defineProperty(t,"slateToDomConfig",{enumerable:!0,get:function(){return o.config}});var i=n(21222);Object.defineProperty(t,"payloadSlateToDomConfig",{enumerable:!0,get:function(){return i.config}});var a=n(18193);Object.defineProperty(t,"slateDemoSlateToDomConfig",{enumerable:!0,get:function(){return a.config}});var s=n(85511);Object.defineProperty(t,"convertSlate",{enumerable:!0,get:function(){return s.convertSlate}});var l=n(28272);Object.defineProperty(t,"extractCssFromStyle",{enumerable:!0,get:function(){return l.extractCssFromStyle}})},97103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slateToDom=void 0;const r=n(47915),o=n(18617),i=n(85511);t.slateToDom=(e,t=o.config)=>{if(!Array.isArray(e))return new r.Document([]);return e.map(((n,r)=>(0,i.convertSlate)({node:n,config:t,isLastNodeInDocument:r===e.length-1})))}},85511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertSlate=void 0;const r=n(47915),o=n(89432),i=n(2053),a=n(23151),s=n(18617),l=n(28272),u=n(15191),c=n(15191);t.convertSlate=({node:e,config:n=s.config,isLastNodeInDocument:d=!1,customElementTransforms:p,transformText:h=(e=>e),transformElement:f=(e=>e),wrapChildren:m=(e=>new r.Document(e))})=>{if(a.Text.isText(e)){const t=n.alwaysEncodeBreakingEntities&&!n.encodeEntities?(0,u.encodeBreakingEntities)(e.text):e.text,a=n.convertLineBreakToBr?t.split("\n"):[t],s=[];return a.forEach(((t,d)=>{const p=[];(0,c.intersection)(n.markTransforms||{},e).forEach((t=>{var r;if(null===(r=n.markTransforms)||void 0===r?void 0:r[t]){const r=n.markTransforms[t]({node:e,attribs:{}});r&&p.push(r)}})),Object.keys(n.markMap).forEach((t=>{if(e[t]){const o=n.markMap[t].map((t=>{var o;return(null===(o=n.markTransforms)||void 0===o?void 0:o[t])?n.markTransforms[t]({node:e,attribs:{}}):new r.Element(t,{},[])})).filter((e=>void 0!==e));p.push(...o)}}));const h=[...p],m=(0,l.nestedMarkElements)(p,new r.Text(t));n.alwaysEncodeCodeEntities&&!n.encodeEntities&&(0,r.isTag)(m)&&"pre"===(0,o.getName)(m)?(n.alwaysEncodeBreakingEntities&&(t=(0,u.decodeBreakingEntities)(t)),s.push((0,l.nestedMarkElements)(h,new r.Text((0,i.encode)(t))))):s.push(m),dh(e))))}const g=e.children?e.children.map((e=>(0,t.convertSlate)({node:e,config:n,customElementTransforms:p,transformText:h,transformElement:f,wrapChildren:m}))):[];let v={};n.elementAttributeTransform&&(v=Object.assign(Object.assign({},v),n.elementAttributeTransform({node:e})));let y=null;return p&&p[e.type]?y=p[e.type]({node:e,attribs:v,children:g}):n.elementTransforms[e.type]&&(y=f(n.elementTransforms[e.type]({node:e,attribs:v,children:g}))),!y&&n.elementMap[e.type]&&(y=f(new r.Element(n.elementMap[e.type],v,g))),y||!n.defaultTag||e.type||(y=f(new r.Element(n.defaultTag,{},g))),y||(n.convertLineBreakToBr&&!d&&g.push(f(new r.Element("br",{}))),m(g))}},28272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractCssFromStyle=t.nestedMarkElements=t.nestedMarkElementsString=void 0;const r=n(89432),o=n(47915),i=n(97220),a=n(15191);t.nestedMarkElementsString=(e,n)=>(0,i.default)((0,t.nestedMarkElements)(e,new o.Text(n)));t.nestedMarkElements=(e,t)=>{if(0===e.length)return t;const n=e.pop();if(n&&(n.children=[t],t=n),!e||0===e.length)return t;const r=e.pop();if(r&&(r.children=[t],t=r),!e||0===e.length)return t;const o=e.pop();if(o&&(o.children=[t],t=o),!e||0===e.length)return t;const i=e.pop();if(i&&(i.children=[t],t=i),!e||0===e.length)return t;const a=e.pop();return a&&(a.children=[t],t=a),e&&e.length,t};t.extractCssFromStyle=(e,t)=>{const n=e&&(0,r.getAttributeValue)(e,"style");if(n){const e=(0,a.parseStyleCssText)(n);if(e[t])return e[t]}return null}},93282:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.attributeRules=void 0;var o=r(n(11073)),i=/[-[\]{}()*+?.,\\^$|#\s]/g;function a(e){return e.replace(i,"\\$&")}var s=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function l(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&s.has(e.name)}t.attributeRules={equals:function(e,t,n){var r=n.adapter,o=t.name,i=t.value;return l(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&e(t)}):function(t){return r.getAttributeValue(t,o)===i&&e(t)}},hyphen:function(e,t,n){var r=n.adapter,o=t.name,i=t.value,a=i.length;return l(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a).toLowerCase()===i&&e(t)}):function(t){var n=r.getAttributeValue(t,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a)===i&&e(t)}},element:function(e,t,n){var r=n.adapter,i=t.name,s=t.value;if(/\s/.test(s))return o.default.falseFunc;var u=new RegExp("(?:^|\\s)".concat(a(s),"(?:$|\\s)"),l(t,n)?"i":"");return function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=s.length&&u.test(n)&&e(t)}},exists:function(e,t,n){var r=t.name,o=n.adapter;return function(t){return o.hasAttrib(t,r)&&e(t)}},start:function(e,t,n){var r=n.adapter,i=t.name,a=t.value,s=a.length;return 0===s?o.default.falseFunc:l(t,n)?(a=a.toLowerCase(),function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=s&&n.substr(0,s).toLowerCase()===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.startsWith(a))&&e(t)}},end:function(e,t,n){var r=n.adapter,i=t.name,a=t.value,s=-a.length;return 0===s?o.default.falseFunc:l(t,n)?(a=a.toLowerCase(),function(t){var n;return(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.substr(s).toLowerCase())===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.endsWith(a))&&e(t)}},any:function(e,t,n){var r=n.adapter,i=t.name,s=t.value;if(""===s)return o.default.falseFunc;if(l(t,n)){var u=new RegExp(a(s),"i");return function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=s.length&&u.test(n)&&e(t)}}return function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.includes(s))&&e(t)}},not:function(e,t,n){var r=n.adapter,o=t.name,i=t.value;return""===i?function(t){return!!r.getAttributeValue(t,o)&&e(t)}:l(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&e(t)}):function(t){return r.getAttributeValue(t,o)!==i&&e(t)}}}},61495:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var s=n(57763),l=a(n(11073)),u=i(n(56415)),c=n(37729),d=n(72283);function p(e,t,n){return v("string"==typeof e?(0,s.parse)(e):e,t,n)}function h(e){return e.type===s.SelectorType.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(h)})))}t.compile=function(e,t,n){var r=p(e,t,n);return(0,d.ensureIsTag)(r,t.adapter)},t.compileUnsafe=p;var f={type:s.SelectorType.Descendant},m={type:"_flexibleDescendant"},g={type:s.SelectorType.Pseudo,name:"scope",data:null};function v(e,t,n){var r;e.forEach(u.default),n=null!==(r=t.context)&&void 0!==r?r:n;var o=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(!1!==t.relativeSelector)!function(e,t,n){for(var r=t.adapter,o=!!(null==n?void 0:n.every((function(e){var t=r.isTag(e)&&r.getParent(e);return e===d.PLACEHOLDER_ELEMENT||t&&r.isTag(t)}))),i=0,a=e;i0&&(0,u.isTraversal)(l[0])&&l[0].type!==s.SelectorType.Descendant);else{if(!o||l.some(h))continue;l.unshift(f)}l.unshift(g)}}(e,t,i);else if(e.some((function(e){return e.length>0&&(0,u.isTraversal)(e[0])})))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var a=!1,p=e.map((function(e){if(e.length>=2){var n=e[0],r=e[1];n.type!==s.SelectorType.Pseudo||"scope"!==n.name||(o&&r.type===s.SelectorType.Descendant?e[1]=m:r.type!==s.SelectorType.Adjacent&&r.type!==s.SelectorType.Sibling||(a=!0))}return function(e,t,n){var r;return e.reduce((function(e,r){return e===l.default.falseFunc?l.default.falseFunc:(0,c.compileGeneralSelector)(e,r,t,n,v)}),null!==(r=t.rootFunc)&&void 0!==r?r:l.default.trueFunc)}(e,t,i)})).reduce(y,l.default.falseFunc);return p.shouldTestNextSiblings=a,p}function y(e,t){return t===l.default.falseFunc||e===l.default.trueFunc?e:e===l.default.falseFunc||t===l.default.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=v},37729:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var r=n(93282),o=n(21607),i=n(57763);function a(e,t){var n=t.getParent(e);return n&&t.isTag(n)?n:null}t.compileGeneralSelector=function(e,t,n,s,l){var u=n.adapter,c=n.equals;switch(t.type){case i.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case i.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case i.SelectorType.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),r.attributeRules[t.action](e,t,n);case i.SelectorType.Pseudo:return(0,o.compilePseudoSelector)(e,t,n,s,l);case i.SelectorType.Tag:if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var d=t.name;return n.xmlMode&&!n.lowerCaseTags||(d=d.toLowerCase()),function(t){return u.getName(t)===d&&e(t)};case i.SelectorType.Descendant:if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var n=t;n=a(n,u);)if(e(n))return!0;return!1};var p=new WeakSet;return function(t){for(var n=t;n=a(n,u);)if(!p.has(n)){if(u.isTag(n)&&e(n))return!0;p.add(n)}return!1};case"_flexibleDescendant":return function(t){var n=t;do{if(e(n))return!0}while(n=a(n,u));return!1};case i.SelectorType.Parent:return function(t){return u.getChildren(t).some((function(t){return u.isTag(t)&&e(t)}))};case i.SelectorType.Child:return function(t){var n=u.getParent(t);return null!=n&&u.isTag(n)&&e(n)};case i.SelectorType.Sibling:return function(t){for(var n=u.getSiblings(t),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=void 0,t.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},45609:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var o=r(n(97540)),i=r(n(11073));function a(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function s(e){return function(t,n,r){var o=r.adapter[e];return"function"!=typeof o?i.default.falseFunc:function(e){return o(e)&&t(e)}}}t.filters={contains:function(e,t,n){var r=n.adapter;return function(n){return e(n)&&r.getText(n).includes(t)}},icontains:function(e,t,n){var r=n.adapter,o=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(o)}},"nth-child":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,o.default)(t);return l===i.default.falseFunc?i.default.falseFunc:l===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=0;i=0&&!s(t,n[i]);i--)r.isTag(n[i])&&o++;return l(o)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,o.default)(t);return l===i.default.falseFunc?i.default.falseFunc:l===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=0;i=0;i--){var a=n[i];if(s(t,a))break;r.isTag(a)&&r.getName(a)===r.getName(t)&&o++}return l(o)&&e(t)}},root:function(e,t,n){var r=n.adapter;return function(t){var n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)}},scope:function(e,n,r,o){var i=r.equals;return o&&0!==o.length?1===o.length?function(t){return i(o[0],t)&&e(t)}:function(t){return o.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:s("isHovered"),visited:s("isVisited"),active:s("isActive")}},21607:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n(57763),o=n(45609);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return o.filters}});var i=n(22593);Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return i.pseudos}});var a=n(26279);Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var s=n(72283);t.compilePseudoSelector=function(e,t,n,l,u){var c,d=t.name,p=t.data;if(Array.isArray(p)){if(!(d in s.subselects))throw new Error("Unknown pseudo-class :".concat(d,"(").concat(p,")"));return s.subselects[d](e,p,n,l,u)}var h=null===(c=n.pseudos)||void 0===c?void 0:c[d],f="string"==typeof h?h:a.aliases[d];if("string"==typeof f){if(null!=p)throw new Error("Pseudo ".concat(d," doesn't have any arguments"));var m=(0,r.parse)(f);return s.subselects.is(e,m,n,l,u)}if("function"==typeof h)return(0,i.verifyPseudoArgs)(h,d,p,1),function(t){return h(t,p)&&e(t)};if(d in o.filters)return o.filters[d](e,p,n,l);if(d in i.pseudos){var g=i.pseudos[d];return(0,i.verifyPseudoArgs)(g,d,p,2),function(t){return g(t,n,p)&&e(t)}}throw new Error("Unknown pseudo-class :".concat(d))}},22593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyPseudoArgs=t.pseudos=void 0,t.pseudos={empty:function(e,t){var n=t.adapter;return!n.getChildren(e).some((function(e){return n.isTag(e)||""!==n.getText(e)}))},"first-child":function(e,t){var n=t.adapter,r=t.equals;if(n.prevElementSibling)return null==n.prevElementSibling(e);var o=n.getSiblings(e).find((function(e){return n.isTag(e)}));return null!=o&&r(e,o)},"last-child":function(e,t){for(var n=t.adapter,r=t.equals,o=n.getSiblings(e),i=o.length-1;i>=0;i--){if(r(e,o[i]))return!0;if(n.isTag(o[i]))break}return!1},"first-of-type":function(e,t){for(var n=t.adapter,r=t.equals,o=n.getSiblings(e),i=n.getName(e),a=0;a=0;a--){var s=o[a];if(r(e,s))return!0;if(n.isTag(s)&&n.getName(s)===i)break}return!1},"only-of-type":function(e,t){var n=t.adapter,r=t.equals,o=n.getName(e);return n.getSiblings(e).every((function(t){return r(e,t)||!n.isTag(t)||n.getName(t)!==o}))},"only-child":function(e,t){var n=t.adapter,r=t.equals;return n.getSiblings(e).every((function(t){return r(e,t)||!n.isTag(t)}))}},t.verifyPseudoArgs=function(e,t,n,r){if(null===n){if(e.length>r)throw new Error("Pseudo-class :".concat(t," requires an argument"))}else if(e.length===r)throw new Error("Pseudo-class :".concat(t," doesn't have any arguments"))}},72283:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=void 0;var r=n(57763),o=new Map([[r.SelectorType.Universal,50],[r.SelectorType.Tag,30],[r.SelectorType.Attribute,1],[r.SelectorType.Pseudo,0]]);t.isTraversal=function(e){return!o.has(e.type)};var i=new Map([[r.AttributeAction.Exists,10],[r.AttributeAction.Equals,8],[r.AttributeAction.Not,7],[r.AttributeAction.Start,6],[r.AttributeAction.End,6],[r.AttributeAction.Any,5]]);function a(e){var t,n,s=null!==(t=o.get(e.type))&&void 0!==t?t:-1;return e.type===r.SelectorType.Attribute?(s=null!==(n=i.get(e.action))&&void 0!==n?n:4,e.action===r.AttributeAction.Equals&&"id"===e.name&&(s=9),e.ignoreCase&&(s>>=1)):e.type===r.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?s=0:Array.isArray(e.data)?(s=Math.min.apply(Math,e.data.map((function(e){return Math.min.apply(Math,e.map(a))}))))<0&&(s=0):s=2:s=3),s}t.default=function(e){for(var t=e.map(a),n=1;n=0&&r=0;)if(r+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var l=null,c=1,d=0,p=e[d];i=48&&m<=57||16===f&&(32|m)>=97&&(32|m)<=102;);if(h!==i){var g=t.substring(h,i),v=parseInt(g,f);if(59===t.charCodeAt(i))i+=1;else if(n)continue;r+=s.default(v),o=i}}return r+t.slice(o)}}function u(e,n,r,o){if(n<=128)return o===n?r:-1;var i=(n&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[r]?r+1:-1;var s=n&a.JUMP_TABLE;if(s){var l=o-t.JUMP_OFFSET_BASE-s;return l<0||l>i?-1:e[r+l]-1}for(var u=r,c=u+i-1;u<=c;){var d=u+c>>>1,p=e[d];if(po))return e[d+i];c=d-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(a=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=u;var c=l(o.default),d=l(i.default);t.decodeHTML=function(e){return c(e,!1)},t.decodeHTMLStrict=function(e){return c(e,!0)},t.decodeXML=function(e){return d(e,!0)}},35102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),r=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":r(null!==(t=n.get(e))&&void 0!==t?t:e)}},81792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])},33727:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])},36415:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=t.getFeed=void 0;var a=i(n(60677)),s=n(73425);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return s.getFeed}});var l=n(63077),u=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return o(t,e),t.prototype.onend=function(){var e=(0,s.getFeed)(this.dom);e?(this.feed=e,this.handleCallback(null)):this.handleCallback(new Error("couldn't find root of feed"))},t}(a.default);t.FeedHandler=u,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new a.default(null,t);return new l.Parser(n,t).end(e),(0,s.getFeed)(n.dom)}},63077:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var o=r(n(71722)),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),u=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",u],["rp",u],["tbody",s],["tfoot",s]]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),f=/\s|\//,m=function(){function e(e,t){var n,r,i,a,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:o.default)(this.options,this),null===(s=(a=this.cbs).onparserinit)||void 0===s||s.call(a,this)}return e.prototype.ontext=function(e){var t,n,r=this.tokenizer.getAbsoluteIndex();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,n,r,o;this.openTagStart=this.startIndex,this.tagname=e;var i=!this.options.xmlMode&&c.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):h.has(e)&&this.foreignContext.push(!1)),null===(o=(r=this.cbs).onopentagname)||void 0===o||o.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,n,r,o,i,a;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||h.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),null===(o=(r=this.cbs).onopentag)||void 0===o||o.call(r,e,{},!0),null===(a=(i=this.cbs).onclosetag)||void 0===a||a.call(i,e,!1));else{var s=this.stack.lastIndexOf(e);if(-1!==s)if(this.cbs.onclosetag)for(var l=this.stack.length-s;l--;)this.cbs.onclosetag(this.stack.pop(),0!==l);else this.stack.length=s;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(f),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,n,r,o;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(o=(r=this.cbs).oncommentend)||void 0===o||o.call(r),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,n,r,o,i,a,s,l,u,c;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(o=(r=this.cbs).ontext)||void 0===o||o.call(r,e),null===(a=(i=this.cbs).oncdataend)||void 0===a||a.call(i)):(null===(l=(s=this.cbs).oncomment)||void 0===l||l.call(s,"[CDATA["+e+"]]"),null===(c=(u=this.cbs).oncommentend)||void 0===c||c.call(u)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=m},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(35102)),i=n(26934);function a(e){return 32===e||10===e||9===e||12===e||13===e}function s(e){return 47===e||62===e||a(e)}function l(e){return e>=48&&e<=57}var u={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},c=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,a=void 0===o||o;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=a,this.entityTrie=r?i.xmlDecodeTree:i.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._indexthis.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?s(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||a(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==u.TitleEnd[2]?this._state=this.xmlMode||t!==u.ScriptEnd[2]?3:22:this.startSpecial(u.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){s(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){a(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||a(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:a(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):a(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||s(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):a(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):a(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){a(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,i.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&i.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&i.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var n=this._index-this.entityExcess-1,r=n+2+(e>>4);if(r!==this._index){n>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,n));var i=this.buffer.substring(r,this._index),a=parseInt(i,e);this.emitPartial((0,o.default)(a)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):l(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!l(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},47125:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n";case s.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case s.CDATA:return function(e){return""}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=u.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&f.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(n){var r,o,i=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(o=u.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==i?n+'="'+(!1!==t.decodeEntities?l.encodeXML(i):i.replace(/"/g,"""))+'"':n})).join(" ")}(e.attribs,t);i&&(o+=" "+i);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=p(e.children,t)),!t.xmlMode&&d.has(e.name)||(o+=""));return o}(e,t);case s.Text:return function(e,t){var n=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(n=l.encodeXML(n));return n}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},58455:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=r(n(88295)),i=r(n(12221)),a=r(n(88016)),s=r(n(93869)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(o.default);var c=function(e,t){return e65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(e))}},87198:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=c(r(n(88016)).default),i=d(o);t.encodeXML=g(o);var a,s,l=c(r(n(88295)).default),u=d(l);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function d(e){for(var t=[],n=[],r=0,o=Object.keys(e);r1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(i.source+"|"+p.source,"g");function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(i,f)}},98613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(58455),o=n(87198);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=n(87198);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=n(58455);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},60677:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(99960),a=n(70834);o(n(70834),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===i.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(i.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=u,t.default=u},70834:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=h;var f=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(h);t.Document=f;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function D(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new c(e.data);else if(b(e))n=new d(e.data);else if(g(e)){var r=t?C(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?C(e.children):[];var s=new h(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?C(e.children):[];var l=new f(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var u=new p(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return D(e,!0)})),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(40378),o=n(6914);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,o.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};c(r,"id","id",n),c(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);var i=u("summary",n)||u("content",n);i&&(r.description=i);var a=u("updated",n);return a&&(r.pubDate=new Date(a)),r}))};c(r,"id","id",n),c(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);c(r,"description","subtitle",n);var a=u("updated",n);a&&(r.updated=new Date(a));return c(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};c(n,"id","guid",t),c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t);var r=u("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};c(i,"title","title",r),c(i,"link","link",r),c(i,"description","description",r);var a=u("lastBuildDate",r);a&&(i.updated=new Date(a));return c(i,"author","managingEditor",r,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,o=i;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(83202);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var i=(0,r.hasChildren)(e)?e:e.parent;i;)n.unshift(i),i=i.parent;for(i=(0,r.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(n.length,o.length),s=0;su.indexOf(d)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return 2&n?-1:4&n?1:0})),e}},73425:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(n(40378),t),o(n(95536),t),o(n(88191),t),o(n(76643),t),o(n(6914),t),o(n(2283),t),o(n(43876),t);var i=n(83202);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})},6914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(83202),o=n(76643),i={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(i,t)?i[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var i=l(e);return i?(0,o.filter)(i,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,o.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_type(e),t,n,r)}},88191:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},76643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(83202);function o(e,t,n,i){for(var a=[],s=0,l=t;s0){var c=o(e,u.children,n,i);if(a.push.apply(a,c),(i-=c.length)<=0)break}}return a}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),o(e,t,n,r)},t.find=o,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,o){void 0===o&&(o=!0);for(var i=null,a=0;a0&&(i=e(t,s.children)))}return i},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,o,i=[],a=t.filter(r.isTag);o=a.shift();){var s=null===(n=o.children)||void 0===n?void 0:n.filter(r.isTag);s&&s.length>0&&a.unshift.apply(a,s),e(o)&&i.push(o)}return i}},40378:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var o=n(83202),i=r(n(47125)),a=n(99960);function s(e,t){return(0,i.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,o.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,o.isCDATA)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&!(0,o.isComment)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,o.isCDATA)(t))?e(t.children):(0,o.isText)(t)?t.data:""}},95536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(83202),o=[];function i(e){var t;return null!==(t=e.children)&&void 0!==t?t:o}function a(e){return e.parent||null}t.getChildren=i,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,o=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=o;)n.push(o),o=o.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},83202:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(99960),a=n(59303);o(n(59303),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},u=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===i.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e;else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(i.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=u,t.default=u},59303:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=h;var f=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(h);t.Document=f;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function g(e){return a.isTag(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function D(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new c(e.data);else if(b(e))n=new d(e.data);else if(g(e)){var r=t?C(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?C(e.children):[];var s=new h(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?C(e.children):[];var l=new f(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!w(e))throw new Error("Not implemented yet: "+e.type);var u=new p(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function C(e){for(var t=e.map((function(e){return D(e,!0)})),n=1;n{"use strict";n.r(t),n.d(t,{__assign:()=>i,__asyncDelegator:()=>S,__asyncGenerator:()=>E,__asyncValues:()=>_,__await:()=>C,__awaiter:()=>f,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>s,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>o,__generator:()=>m,__importDefault:()=>z,__importStar:()=>A,__makeTemplateObject:()=>P,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>D,__spreadArrays:()=>x,__values:()=>y});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var m in r)f[m]="access"===m?{}:r[m];for(var m in r.access)f.access[m]=r.access[m];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===l?{get:d.get,set:d.set}:d[u],f);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.push(s)}else(s=a(g))&&("field"===l?o.push(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof C?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:o?o(t):t}:o}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return k(t,e),t}function z(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},17855:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(68223).__exportStar(n(65297),t)},65297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slateDemoHtmlToSlateConfig=t.payloadHtmlToSlateConfig=t.htmlToSlateConfig=t.slateDemoSlateToHtmlConfig=t.payloadSlateToHtmlConfig=t.slateToHtmlConfig=t.slateToHtml=t.htmlToSlate=void 0;var r=n(20075);Object.defineProperty(t,"htmlToSlate",{enumerable:!0,get:function(){return r.htmlToSlate}});var o=n(65433);Object.defineProperty(t,"slateToHtml",{enumerable:!0,get:function(){return o.slateToHtml}});var i=n(83511);Object.defineProperty(t,"slateToHtmlConfig",{enumerable:!0,get:function(){return i.slateToDomConfig}}),Object.defineProperty(t,"payloadSlateToHtmlConfig",{enumerable:!0,get:function(){return i.payloadSlateToDomConfig}}),Object.defineProperty(t,"slateDemoSlateToHtmlConfig",{enumerable:!0,get:function(){return i.slateDemoSlateToDomConfig}});var a=n(97074);Object.defineProperty(t,"htmlToSlateConfig",{enumerable:!0,get:function(){return a.config}});var s=n(71192);Object.defineProperty(t,"payloadHtmlToSlateConfig",{enumerable:!0,get:function(){return s.config}});var l=n(15641);Object.defineProperty(t,"slateDemoHtmlToSlateConfig",{enumerable:!0,get:function(){return l.config}})},97074:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(89432),o=n(83511);t.config={elementAttributeTransform:({el:e})=>{const t={},n={align:"textAlign"};return Object.keys(n).forEach((r=>{const i=n[r],a=(0,o.extractCssFromStyle)(e,i);a&&(t[r]=a)})),t},elementTags:{a:e=>({type:"link",newTab:e&&"_blank"===(0,r.getAttributeValue)(e,"target"),url:e&&(0,r.getAttributeValue)(e,"href")}),blockquote:()=>({type:"blockquote"}),h1:()=>({type:"h1"}),h2:()=>({type:"h2"}),h3:()=>({type:"h3"}),h4:()=>({type:"h4"}),h5:()=>({type:"h5"}),h6:()=>({type:"h6"}),li:()=>({type:"li"}),ol:()=>({type:"ol"}),p:()=>({type:"p"}),ul:()=>({type:"ul"})},textTags:{code:()=>({code:!0}),pre:()=>({code:!0}),del:()=>({strikethrough:!0}),em:()=>({italic:!0}),i:()=>({italic:!0}),s:()=>({strikethrough:!0}),strong:()=>({bold:!0}),u:()=>({underline:!0})},htmlPreProcessString:e=>e.replace(/]*>/g,"").replace(/<\/pre>/g,""),filterWhitespaceNodes:!0,convertBrToLineBreak:!0,trimWhiteSpace:!0}},71192:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(97074),o=n(89432);t.config=Object.assign(Object.assign({},r.config),{elementTags:Object.assign(Object.assign({},r.config.elementTags),{a:e=>({type:"link",linkType:e&&(0,o.getAttributeValue)(e,"data-link-type"),newTab:e&&"_blank"===(0,o.getAttributeValue)(e,"target"),url:e&&(0,o.getAttributeValue)(e,"href")})})})},15641:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;const r=n(97074);t.config=Object.assign(Object.assign({},r.config),{elementTags:{blockquote:()=>({type:"block-quote"}),h1:()=>({type:"heading-one"}),h2:()=>({type:"heading-two"}),li:()=>({type:"list-item"}),ol:()=>({type:"numbered-list"}),ul:()=>({type:"bulleted-list"}),p:()=>({type:"paragraph"})}})},20075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToSlate=void 0;const r=n(71815),o=n(77479),i=n(47915),a=n(89432),s=n(58480),l=n(97074),u=n(15191),c=n(99357),d=({el:e,config:t=l.config,index:n=0,childrenLength:s=0,context:m=""})=>{var g,v;if(e.type!==o.ElementType.Tag&&e.type!==o.ElementType.Text)return null;const y=e,b=(0,a.getName)(y),w=(0,c.getContext)(b)||m,x=n===s-1;(null===(g=y.prev)||void 0===g?void 0:g.type)===o.ElementType.Text&&(null===(v=y.next)||void 0===v||v.type,o.ElementType.Text);if("br"===b&&t.convertBrToLineBreak&&"preserve"!==m)return[(0,r.jsx)("text",{text:m?"\n":""},[])];const D=y.childNodes?y.childNodes.map(((e,n)=>d({el:e,config:t,index:n,childrenLength:y.childNodes.length,context:w}))).filter((e=>e)).filter((e=>!h(e))).map((e=>f(e))).flat():[];if("body"===(0,a.getName)(y))return(0,r.jsx)("fragment",{},D);if(t.elementTags[b]){let e=t.elementTags[b](y);return t.elementAttributeTransform&&(e=Object.assign(Object.assign({},e),t.elementAttributeTransform({el:y}))),(0,r.jsx)("element",e,D)}if(t.textTags[b]||e.type===o.ElementType.Text){const o=p({el:y,config:t}),l=(0,c.processTextValue)({text:(0,a.textContent)(e),context:w,isInlineStart:0===n,isInlineEnd:Number.isInteger(s)&&x,isNextSiblingBlock:e.next&&(0,i.isTag)(e.next)&&(0,u.isBlock)(e.next.tagName)||!1,shouldTrimWhiteSpace:t.trimWhiteSpace});if(""===l)return null;if((0,c.isAllWhitespace)(l)){if(t.filterWhitespaceNodes&&!w)return null;if(t.convertBrToLineBreak){if(y.prev&&"br"===(0,a.getName)(y.prev))return null;if(y.next&&"br"===(0,a.getName)(y.next))return null}}return[(0,r.jsx)("text",Object.assign(Object.assign({},o),{text:l}),[])]}return D},p=({el:e,config:t=l.config})=>{let n={};const r=(0,a.getChildren)(e);if(r.length)[e,...r.flat()].forEach((e=>{const r=(0,a.getName)(e),o=t.textTags[r]?t.textTags[r](e):{};n=Object.assign(Object.assign({},n),o)})),1===r.length&&(0,a.getChildren)(r[0]).length&&(n=Object.assign(Object.assign({},n),p({el:r[0],config:t})));else{const r=(0,a.getName)(e),o=t.textTags[r]?t.textTags[r](e):{};n=Object.assign({},o)}return n};t.htmlToSlate=(e,t=l.config)=>{let n=[];const r=new i.DomHandler(((e,r)=>{if(e);else{const e=t.htmlUpdaterMap?Object.entries(t.htmlUpdaterMap):[];for(const[t,n]of e)(0,s.selectAll)(t,r).forEach((e=>{if((0,i.isTag)(e)){const t=n(e);null!==t&&t!==e&&("string"==typeof t?(0,a.replaceElement)(e,(0,o.parseDocument)(t)):(0,a.replaceElement)(e,t))}}));n=r.map((e=>d({el:e,config:t}))).filter((e=>e)).map((e=>e.children?e:{children:e})).filter((e=>!h(e))).map((e=>f(e)))}})),u=new o.Parser(r,{decodeEntities:!0});let c=e;return t.htmlPreProcessString instanceof Function&&(c=t.htmlPreProcessString(e)),u.write(c),u.end(),n};const h=e=>{const t=Object.keys(e);return"children"in e&&(0===e.children.length&&1===t.length)},f=e=>{Object.keys(e);return"children"in e?(0===e.children.length&&e.children.push({text:""}),e):e}},99357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContext=t.isAllWhitespace=t.minifyText=t.processTextValue=void 0;const r=n(15191);t.processTextValue=({text:e,context:n="",isInlineStart:r=!1,isInlineEnd:o=!1,isNextSiblingBlock:i=!1,shouldTrimWhiteSpace:a=!0})=>{let s=e;return"preserve"===n||(s=(0,t.minifyText)(s,a),"block"===n&&(r&&(s=s.trimStart()),(o||i)&&(s=s.trimEnd()))),s};t.minifyText=(e,t)=>t?i(o(e)):o(e);const o=e=>e.replace(/(?:\r\n|\r|\n)/g," "),i=e=>e.replace(/ +(?= )/g,"");t.isAllWhitespace=e=>!/[^\t\n\r ]/.test(e);t.getContext=e=>e&&""!==e.trim()?a(e)?"preserve":(0,r.isBlock)(e)?"block":"inline":"";const a=e=>["code","pre","xmp"].includes(e)},65433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slateToHtml=void 0;const r=n(97220),o=n(83511);t.slateToHtml=(e,t=o.slateToDomConfig)=>{const n=(0,o.slateToDom)(e,t);return(0,r.default)(n,{encodeEntities:"encodeEntities"in t&&t.encodeEntities})}},79082:(e,t,n)=>{let r=n(78590),o=n(66685),i=n(90182);e.exports=function(e){let t=r(e);return async e=>{let n=await t.process(e,{parser:i,from:void 0});return o(n)}}},83877:(e,t,n)=>{let r=n(34652),o=n(90182),i=n(79082),a=n(84765);e.exports={objectify:r,parse:o,async:i,sync:a}},34652:(e,t,n)=>{let r=n(40599),o={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function i(e){return void 0===e.nodes||a(e)}function a(e){let t,n={};return e.each((e=>{if("atrule"===e.type)t="@"+e.name,e.params&&(t+=" "+e.params),void 0===n[t]?n[t]=i(e):Array.isArray(n[t])?n[t].push(i(e)):n[t]=[n[t],i(e)];else if("rule"===e.type){let t=a(e);if(n[e.selector])for(let r in t)n[e.selector][r]=t[r];else n[e.selector]=t}else if("decl"===e.type){t="-"===e.prop[0]&&"-"===e.prop[1]||e.parent&&":export"===e.parent.selector?e.prop:r(e.prop);let i=e.value;!isNaN(e.value)&&o[t]&&(i=parseFloat(e.value)),e.important&&(i+=" !important"),void 0===n[t]?n[t]=i:Array.isArray(n[t])?n[t].push(i):n[t]=[n[t],i]}})),n}e.exports=a},90182:(e,t,n)=>{let r=n(78590),o=/\s*!important\s*$/i,i={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function a(e,t,n){!1!==n&&null!==n&&(t.startsWith("--")||(t=t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()),"number"==typeof n&&(0===n||i[t]?n=n.toString():n+="px"),"css-float"===t&&(t="float"),o.test(n)?(n=n.replace(o,""),e.push(r.decl({prop:t,value:n,important:!0}))):e.push(r.decl({prop:t,value:n})))}function s(e,t,n){let o=r.atRule({name:t[1],params:t[3]||""});"object"==typeof n&&(o.nodes=[],l(n,o)),e.push(o)}function l(e,t){let n,o,i;for(n in e)if(o=e[n],null!=o)if("@"===n[0]){let e=n.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(o))for(let n of o)s(t,e,n);else s(t,e,o)}else if(Array.isArray(o))for(let e of o)a(t,n,e);else"object"==typeof o?(i=r.rule({selector:n}),l(o,i),t.push(i)):a(t,n,o)}e.exports=function(e){let t=r.root();return l(e,t),t}},66685:(e,t,n)=>{let r=n(34652);e.exports=function(e){return console&&console.warn&&e.warnings().forEach((e=>{let t=e.plugin||"PostCSS";console.warn(t+": "+e.text)})),r(e.root)}},84765:(e,t,n)=>{let r=n(78590),o=n(66685),i=n(90182);e.exports=function(e){let t=r(e);return e=>{let n=t.process(e,{parser:i,from:void 0});return o(n)}}},39926:(e,t,n)=>{"use strict";let r=n(10795);class o extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=o,o.default=o,r.registerAtRule(o)},37257:(e,t,n)=>{"use strict";let r=n(34421);class o extends r{constructor(e){super(e),this.type="comment"}}e.exports=o,o.default=o},10795:(e,t,n)=>{"use strict";let r,o,i,a,{isClean:s,my:l}=n(16356),u=n(76663),c=n(37257),d=n(34421);function p(e){return e.map((e=>(e.nodes&&(e.nodes=p(e.nodes)),delete e.source,e)))}function h(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)h(t)}class f extends d{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),o=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r(e[l]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&h(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=e=>{r=e},f.registerRule=e=>{o=e},f.registerAtRule=e=>{i=e},f.registerRoot=e=>{a=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,i.prototype):"rule"===e.type?Object.setPrototypeOf(e,o.prototype):"decl"===e.type?Object.setPrototypeOf(e,u.prototype):"comment"===e.type?Object.setPrototypeOf(e,c.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{f.rebuild(e)}))}},36271:(e,t,n)=>{"use strict";let r=n(74241),o=n(75866);class i extends Error{constructor(e,t,n,r,o,a){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),o&&e&&(t=o(t));let n,i,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),u=String(l).length;if(e){let{bold:e,gray:t,red:o}=r.createColors(!0);n=t=>e(o(t)),i=e=>t(e)}else n=i=e=>e;return a.slice(s,l).map(((e,t)=>{let r=s+1+t,o=" "+(" "+r).slice(-u)+" | ";if(r===this.line){let t=i(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+i(o)+e+"\n "+t+n("^")}return" "+i(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=i,i.default=i},76663:(e,t,n)=>{"use strict";let r=n(34421);class o extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=o,o.default=o},76076:(e,t,n)=>{"use strict";let r,o,i=n(10795);class a extends i{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new o,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a},15245:(e,t,n)=>{"use strict";let r=n(76663),o=n(73789),i=n(37257),a=n(39926),s=n(18078),l=n(56593),u=n(39445);function c(e,t){if(Array.isArray(e))return e.map((e=>c(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:o.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>c(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new u(d);if("comment"===d.type)return new i(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=c,c.default=c},18078:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(24456),{fileURLToPath:i,pathToFileURL:a}=n(36216),{isAbsolute:s,resolve:l}=n(32368),{nanoid:u}=n(36394),c=n(75866),d=n(36271),p=n(73789),h=Symbol("fromOffsetCache"),f=Boolean(r&&o),m=Boolean(l&&s);class g{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!m||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=l(t.from)),m&&f){let e=new p(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let o,i,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);i=e.line,s=e.col}else i=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,i,s);return o=l?new d(e,void 0===l.endLine?l.line:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,r.plugin):new d(e,void 0===i?t:{column:n,line:t},void 0===i?n:{column:s,line:i},this.css,this.file,r.plugin),o.input={column:n,endColumn:s,endLine:i,line:t,source:this.css},this.file&&(a&&(o.input.url=a(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,n;if(this[h])n=this[h];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,o=e.length;r=t)r=n.length-1;else{let t,o=n.length-2;for(;r>1),e=n[t+1])){r=t;break}r=t+1}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let o,l,u=this.map.consumer(),c=u.originalPositionFor({column:t,line:e});if(!c.source)return!1;"number"==typeof n&&(o=u.originalPositionFor({column:r,line:n})),l=s(c.source)?a(c.source):new URL(c.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:c.column,endColumn:o&&o.column,endLine:o&&o.line,line:c.line,url:l.toString()};if("file:"===l.protocol){if(!i)throw new Error("file: protocol is not available in this PostCSS build");d.file=i(l)}let p=u.sourceContentFor(c.source);return p&&(d.source=p),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=g,g.default=g,c&&c.registerInput&&c.registerInput(g)},37617:(e,t,n)=>{"use strict";let{isClean:r,my:o}=n(16356),i=n(52741),a=n(9921),s=n(10795),l=n(76076),u=(n(33066),n(73381)),c=n(75994),d=n(56593);const p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,n=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function y(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>y(e))),e}let b={};class w{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof w||t instanceof u)r=y(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=c;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[o]&&s.rebuild(r)}else r=y(t);this.result=new u(e,r,n),this.helpers={...b,postcss:b,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!h[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new i(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(m(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:o}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(o.length>0&&t.visitorIndex{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}w.registerPostcss=e=>{b=e},e.exports=w,w.default=w,d.registerLazyResult(w),l.registerLazyResult(w)},1902:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],o="",i=!1,a=0,s=!1,l="",u=!1;for(let n of e)u?u=!1:"\\"===n?u=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(i=!0),i?(""!==o&&r.push(o.trim()),o="",i=!1):o+=n;return(n||""!==o)&&r.push(o.trim()),r}};e.exports=t,t.default=t},52741:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(24456),{dirname:i,relative:a,resolve:s,sep:l}=n(32368),{pathToFileURL:u}=n(36216),c=n(18078),d=Boolean(r&&o),p=Boolean(i&&s&&a&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),o=e.root||i(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=o.fromSourceMap(e)}else this.map=new o({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile()});let e,t,n=1,r=1,i="",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((o,s,l)=>{if(this.css+=o,s&&"end"!==l&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=o.match(/\n/g),e?(n+=e.length,t=o.lastIndexOf("\n"),r=o.length-t):r+=o.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?i(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=i(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new c(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(u){let t=u(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},15791:(e,t,n)=>{"use strict";let r=n(52741),o=n(9921),i=(n(33066),n(75994));const a=n(73381);class s{constructor(e,t,n){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=o;this.result=new a(this._processor,i,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let u=new r(s,i,this._opts,t);if(u.isMap()){let[e,t]=u.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},34421:(e,t,n)=>{"use strict";let{isClean:r,my:o}=n(16356),i=n(36271),a=n(12983),s=n(9921);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let o=e[r],i=typeof o;"parent"===r&&"object"===i?t&&(n[r]=t):"source"===r?n[r]=o:Array.isArray(o)?n[r]=o.map((e=>l(e,n))):("object"===i&&null!==o&&(o=l(o)),n[r]=o)}return n}class u{constructor(e={}){this.raws={},this[r]=!1,this[o]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new i(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,o=this.source.start.line;for(let t=0;t"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let i=t.get(r.input);null==i&&(i=o,t.set(r.input,o),o++),n[e]={end:r.end,inputId:i,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=u,u.default=u},75994:(e,t,n)=>{"use strict";let r=n(10795),o=n(52438),i=n(18078);function a(e,t){let n=new i(e,t),r=new o(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},52438:(e,t,n)=>{"use strict";let r=n(76663),o=n(1426),i=n(37257),a=n(39926),s=n(56593),l=n(39445);const u={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,r,o=new a;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let i=!1,s=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),i&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let o=t-1;o>=0&&(n=e[o],"space"===n[0]||(r+=1,2!==r));o--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,o=0;for(let[i,a]of e.entries()){if(t=a,n=t[0],"("===n&&(o+=1),")"===n&&(o-=1),0===o&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return i}this.doubleColon(t)}r=t}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(e,t){let n=new r;this.init(n,e[0][2]);let o,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(o=e.shift(),":"===o[0]){n.raws.between+=o[1];break}"word"===o[0]&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(o=e[t],"!important"===o[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===o[1].toLowerCase()){let r=e.slice(0),o="";for(let e=t;e>0;e--){let t=r[e][0];if(0===o.trim().indexOf("!")&&"space"!==t)break;o=r.pop()[1]+o}0===o.trim().indexOf("!")&&(n.important=!0,n.raws.important=o,e=r)}if("space"!==o[0]&&"comment"!==o[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,o=null,i=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)o||(o=l),i.push("("===n?")":"]");else if(a&&r&&"{"===n)o||(o=l),i.push("}");else if(0===i.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let o,i,a,s,l=n.length,c="",d=!0;for(let e=0;ee+t[1]),"");e.raws[t]={raw:r,value:c}}e[t]=c}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r{"use strict";let r=n(36271),o=n(76663),i=n(37617),a=n(10795),s=n(18100),l=n(9921),u=n(15245),c=n(76076),d=n(9150),p=n(37257),h=n(39926),f=n(73381),m=n(18078),g=n(75994),v=n(1902),y=n(39445),b=n(56593),w=n(34421);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,t){let n,r=!1;function o(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...n);return o.postcssPlugin=e,o.postcssVersion=(new s).version,o}return Object.defineProperty(o,"postcss",{get:()=>(n||(n=o()),n)}),o.process=function(e,t,n){return x([o(n)]).process(e,t)},o},x.stringify=l,x.parse=g,x.fromJSON=u,x.list=v,x.comment=e=>new p(e),x.atRule=e=>new h(e),x.decl=e=>new o(e),x.rule=e=>new y(e),x.root=e=>new b(e),x.document=e=>new c(e),x.CssSyntaxError=r,x.Declaration=o,x.Container=a,x.Processor=s,x.Document=c,x.Comment=p,x.Warning=d,x.AtRule=h,x.Result=f,x.Input=m,x.Rule=y,x.Root=b,x.Node=w,i.registerPostcss(x),e.exports=x,x.default=x},73789:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(24456),{existsSync:i,readFileSync:a}=n(66972),{dirname:s,join:l}=n(32368);class u{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),i(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return o.fromSourceMap(t).toString();if(t instanceof o)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=u,u.default=u},18100:(e,t,n)=>{"use strict";let r=n(15791),o=n(37617),i=n(76076),a=n(56593);class s{constructor(e=[]){this.version="8.4.35",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new o(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),i.registerProcessor(s)},73381:(e,t,n)=>{"use strict";let r=n(9150);class o{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=o,o.default=o},56593:(e,t,n)=>{"use strict";let r,o,i=n(10795);class a extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new o,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a,i.registerRoot(a)},39445:(e,t,n)=>{"use strict";let r=n(10795),o=n(1902);class i extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=i,i.default=i,r.registerRule(i)},12983:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,o=0;for(;r&&"root"!==r.type;)o+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r{if(o=e.raws[n],void 0!==o)return!1}))}var s;return void 0===o&&(o=t[r]),a.rawCache[r]=o,o}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},9921:(e,t,n)=>{"use strict";let r=n(12983);function o(e,t){new r(t).stringify(e)}e.exports=o,o.default=o},16356:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1426:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),o="/".charCodeAt(0),i="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),u="\r".charCodeAt(0),c="[".charCodeAt(0),d="]".charCodeAt(0),p="(".charCodeAt(0),h=")".charCodeAt(0),f="{".charCodeAt(0),m="}".charCodeAt(0),g=";".charCodeAt(0),v="*".charCodeAt(0),y=":".charCodeAt(0),b="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,D=/.[\r\n"'(/\\]/,C=/[\da-f]/i;e.exports=function(e,E={}){let S,_,P,k,A,z,T,O,I,F,M=e.css.valueOf(),R=E.ignoreErrors,j=M.length,B=0,N=[],L=[];function K(t){throw e.error("Unclosed "+t,B)}return{back:function(e){L.push(e)},endOfFile:function(){return 0===L.length&&B>=j},nextToken:function(e){if(L.length)return L.pop();if(B>=j)return;let E=!!e&&e.ignoreUnclosed;switch(S=M.charCodeAt(B),S){case i:case a:case l:case u:case s:_=B;do{_+=1,S=M.charCodeAt(_)}while(S===a||S===i||S===l||S===u||S===s);F=["space",M.slice(B,_)],B=_-1;break;case c:case d:case f:case m:case y:case g:case h:{let e=String.fromCharCode(S);F=[e,e,B];break}case p:if(O=N.length?N.pop()[1]:"",I=M.charCodeAt(B+1),"url"===O&&I!==t&&I!==n&&I!==a&&I!==i&&I!==l&&I!==s&&I!==u){_=B;do{if(z=!1,_=M.indexOf(")",_+1),-1===_){if(R||E){_=B;break}K("bracket")}for(T=_;M.charCodeAt(T-1)===r;)T-=1,z=!z}while(z);F=["brackets",M.slice(B,_+1),B,_],B=_}else _=M.indexOf(")",B+1),k=M.slice(B,_+1),-1===_||D.test(k)?F=["(","(",B]:(F=["brackets",k,B,_],B=_);break;case t:case n:P=S===t?"'":'"',_=B;do{if(z=!1,_=M.indexOf(P,_+1),-1===_){if(R||E){_=B+1;break}K("string")}for(T=_;M.charCodeAt(T-1)===r;)T-=1,z=!z}while(z);F=["string",M.slice(B,_+1),B,_],B=_;break;case b:w.lastIndex=B+1,w.test(M),_=0===w.lastIndex?M.length-1:w.lastIndex-2,F=["at-word",M.slice(B,_+1),B,_],B=_;break;case r:for(_=B,A=!0;M.charCodeAt(_+1)===r;)_+=1,A=!A;if(S=M.charCodeAt(_+1),A&&S!==o&&S!==a&&S!==i&&S!==l&&S!==u&&S!==s&&(_+=1,C.test(M.charAt(_)))){for(;C.test(M.charAt(_+1));)_+=1;M.charCodeAt(_+1)===a&&(_+=1)}F=["word",M.slice(B,_+1),B,_],B=_;break;default:S===o&&M.charCodeAt(B+1)===v?(_=M.indexOf("*/",B+2)+1,0===_&&(R||E?_=M.length:K("comment")),F=["comment",M.slice(B,_+1),B,_],B=_):(x.lastIndex=B+1,x.test(M),_=0===x.lastIndex?M.length-1:x.lastIndex-2,F=["word",M.slice(B,_+1),B,_],N.push(F),B=_)}return B++,F},position:function(){return B}}}},33066:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},9150:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},59492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>i,__asyncDelegator:()=>S,__asyncGenerator:()=>E,__asyncValues:()=>_,__await:()=>C,__awaiter:()=>f,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>s,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>o,__generator:()=>m,__importDefault:()=>z,__importStar:()=>A,__makeTemplateObject:()=>P,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>D,__spreadArrays:()=>x,__values:()=>y});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var m in r)f[m]="access"===m?{}:r[m];for(var m in r.access)f.access[m]=r.access[m];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===l?{get:d.get,set:d.set}:d[u],f);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.push(s)}else(s=a(g))&&("field"===l?o.push(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof C?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:o?o(t):t}:o}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return k(t,e),t}function z(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},15191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(59492);r.__exportStar(n(99944),t),r.__exportStar(n(94325),t),r.__exportStar(n(93026),t)},93026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlock=void 0;const n=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"];t.isBlock=e=>n.includes(e)},99944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformStyleStringToObject=t.transformStyleObjectToString=void 0;const r=n(78590),o=n(83877);t.transformStyleObjectToString=e=>{const t={parser:o.parse,from:void 0};return(0,r.default)().process(e,t).css.replace(/(\r\n|\n|\r)/gm," ").replace(/\s\s+/g," ")};t.transformStyleStringToObject=e=>{const t=r.default.parse(e);return(0,o.objectify)(t)}},94325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleMapToAttribs=t.intersection=t.decodeBreakingEntities=t.encodeBreakingEntities=t.getNested=t.removeEmpty=t.isEmptyObject=t.styleToString=t.parseStyleCssText=t.prependSpace=t.hasLineBreak=void 0;t.hasLineBreak=e=>null!==e.match(/[\r\n]+/);t.prependSpace=e=>e&&` ${e.trim()}`;t.parseStyleCssText=e=>{const t={};if(!e)return t;const n=e.split(";");for(const e of n){const n=e.trim();if(n){const e=n.split(":");t[e[0].trim().replace(/(?:^|[-])(\w)/g,((e,t)=>(t="-"===e.substring(0,1)?t.toUpperCase():t)||""))]=e[1].trim()}}return t};t.styleToString=e=>Object.keys(e).reduce(((t,n)=>t+n.split(/(?=[A-Z])/).join("-").toLowerCase()+":"+e[n]+";"),"");t.isEmptyObject=e=>e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype;t.removeEmpty=e=>Object.fromEntries(Object.entries(e).filter((([e,t])=>null!=t)));t.getNested=(e,...t)=>t.reduce(((e,t)=>e&&e[t]),e);t.encodeBreakingEntities=e=>e=e.replace(/[&<>]/g,(e=>(e=>{switch(e){case"&":return"&";case"<":return"<";case">":return">";default:return e}})(e)));t.decodeBreakingEntities=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");t.intersection=(e,t)=>Object.keys(e).concat(Object.keys(t)).sort().reduce(((e,t,n,r)=>(n&&r[n-1]===t&&e.push(t),e)),[]);t.styleMapToAttribs=({elementStyleMap:e,node:n})=>{let r={};const o={};return Object.keys(e).forEach((t=>{const r=e[t],i=n[t];i&&(o[r]=i)})),(0,t.isEmptyObject)(o)||(r=Object.assign(Object.assign({},r),{style:(0,t.styleToString)(o)})),(0,t.isEmptyObject)(r)?{}:r}},2278:(e,t,n)=>{"use strict";function r(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}n.d(t,{_:()=>r})},23541:(e,t,n)=>{"use strict";n.d(t,{Ry:()=>c});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,a={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},u=function(e,t,n,r){var u=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=l(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var c=a[n],d=[],p=new Set,h=new Set(u),f=function(e){e&&!p.has(e)&&(p.add(e),f(e.parentNode))};u.forEach(f);var m=function(e){e&&!h.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(p.has(e))m(e);else{var t=e.getAttribute(r),a=null!==t&&"false"!==t,s=(o.get(e)||0)+1,l=(c.get(e)||0)+1;o.set(e,s),c.set(e,l),d.push(e),1===s&&a&&i.set(e,!0),1===l&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}}))};return m(t),p.clear(),s++,function(){d.forEach((function(e){var t=o.get(e)-1,a=c.get(e)-1;o.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(r),i.delete(e)),a||e.removeAttribute(n)})),--s||(o=new WeakMap,o=new WeakMap,i=new WeakMap,a={})}},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),u(o,i,n,"aria-hidden")):function(){return null}}},4338:(e,t)=>{"use strict";function n(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TouchBackendImpl=void 0;var r,o=n(47930),i=n(96944),a=n(91527),s=n(68953),l=n(68827),u=n(17890),c=n(4338);function d(e,t){for(var n=0;n0){var r=o.moveStartSourceIds;o.actions.beginDrag(r,{clientOffset:o._mouseClientOffset,getSourceClientOffset:o.getSourceClientOffset,publishSource:!1})}}o.waitingForDelay=!1}},this.handleTopMoveStartDelay=function(e){if((0,a.eventShouldStartDrag)(e)){var t=e.type===h.touch.start?o.options.delayTouchStart:o.options.delayMouseStart;o.timeout=setTimeout(o.handleTopMoveStart.bind(o,e),t),o.waitingForDelay=!0}},this.handleTopMoveCapture=function(){o.dragOverTargetIds=[]},this.handleMove=function(e,t){o.dragOverTargetIds&&o.dragOverTargetIds.unshift(t)},this.handleTopMove=function(e){if(o.document&&!o.waitingForDelay){o.timeout&&clearTimeout(o.timeout);var t=o.moveStartSourceIds,n=o.dragOverTargetIds,r=o.options.enableHoverOutsideTarget,i=(0,s.getEventClientOffset)(e,o.lastTargetTouchFallback);if(i)if(o._isScrolling||!o.monitor.isDragging()&&(0,l.inAngleRanges)(o._mouseClientOffset.x||0,o._mouseClientOffset.y||0,i.x,i.y,o.options.scrollAngleRanges))o._isScrolling=!0;else if(!o.monitor.isDragging()&&o._mouseClientOffset.hasOwnProperty("x")&&t&&(0,l.distance)(o._mouseClientOffset.x||0,o._mouseClientOffset.y||0,i.x,i.y)>(o.options.touchSlop?o.options.touchSlop:0)&&(o.moveStartSourceIds=void 0,o.actions.beginDrag(t,{clientOffset:o._mouseClientOffset,getSourceClientOffset:o.getSourceClientOffset,publishSource:!1})),o.monitor.isDragging()){var a=o.sourceNodes.get(o.monitor.getSourceId());o.installSourceNodeRemovalObserver(a),o.actions.publishDragSource(),e.cancelable&&e.preventDefault();var u=(n||[]).map((function(e){return o.targetNodes.get(e)})).filter((function(e){return!!e})),c=o.options.getDropTargetElementsAtPoint?o.options.getDropTargetElementsAtPoint(i.x,i.y,u):o.document.elementsFromPoint(i.x,i.y),d=[];for(var p in c)if(c.hasOwnProperty(p)){var h=c[p];for(d.push(h);h;)(h=h.parentElement)&&-1===d.indexOf(h)&&d.push(h)}var f=d.filter((function(e){return u.indexOf(e)>-1})).map((function(e){return o._getDropTargetId(e)})).filter((function(e){return!!e})).filter((function(e,t,n){return n.indexOf(e)===t}));if(r)for(var m in o.targetNodes){var g=o.targetNodes.get(m);if(a&&g&&g.contains(a)&&-1===f.indexOf(m)){f.unshift(m);break}}if(o.lastDragOverTargetIds=f.reverse(),o.lastClientOffset=i,!o.updateTimer){var v=function e(){o.monitor.isDragging()&&(o.actions.hover(o.lastDragOverTargetIds,{clientOffset:o.lastClientOffset}),o.updateTimer=requestAnimationFrame(e))};o.updateTimer=requestAnimationFrame((function(){v()}))}}}},this._getDropTargetId=function(e){for(var t=o.targetNodes.keys(),n=t.next();!1===n.done;){var r=n.value;if(e===o.targetNodes.get(r))return r;n=t.next()}},this.handleTopMoveEndCapture=function(e){o._isScrolling=!1,o.lastTargetTouchFallback=void 0,(0,a.eventShouldEndDrag)(e)&&(o.monitor.isDragging()&&!o.monitor.didDrop()?(e.cancelable&&e.preventDefault(),o._mouseClientOffset={},o.uninstallSourceNodeRemovalObserver(),o.actions.drop(),o.actions.endDrag(),o.updateTimer&&cancelAnimationFrame(o.updateTimer),o.updateTimer=null):o.moveStartSourceIds=void 0)},this.handleCancelOnEscape=function(e){"Escape"===e.key&&o.monitor.isDragging()&&(o._mouseClientOffset={},o.uninstallSourceNodeRemovalObserver(),o.actions.endDrag())},this.options=new c.OptionsReader(r,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(i.ListenerType.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(i.ListenerType.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(i.ListenerType.keyboard)}var t,n,r;return t=e,(n=[{key:"profile",value:function(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}},{key:"setup",value:function(){this.document&&((0,o.invariant)(!e.isSetUp,"Cannot have two Touch backends at the same time."),e.isSetUp=!0,this.addEventListener(this.document,"start",this.getTopMoveStartHandler()),this.addEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(this.document,"move",this.handleTopMove),this.addEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.addEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(this.document,"keydown",this.handleCancelOnEscape,!0))}},{key:"teardown",value:function(){this.document&&(e.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(this.document,"start",this.handleTopMoveStart),this.removeEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.removeEventListener(this.document,"move",this.handleTopMove),this.removeEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(this.document,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}},{key:"throttle",value:function(e,t){var n=!1;return function(r){n||(e(r),n=!0,setTimeout((function(){n=!1}),t))}}},{key:"addEventListener",value:function(e,t,n,r){var o=u.supportsPassive?{capture:r,passive:!1}:r,i=this.throttle(n,50);this.listenerTypes.forEach((function(n){var r=h[n][t];r&&e.addEventListener(r,i,o)}))}},{key:"removeEventListener",value:function(e,t,n,r){var o=u.supportsPassive?{capture:r,passive:!1}:r;this.listenerTypes.forEach((function(r){var i=h[r][t];i&&e.removeEventListener(i,n,o)}))}},{key:"connectDragSource",value:function(e,t){var n=this,r=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",r),function(){n.sourceNodes.delete(e),n.removeEventListener(t,"start",r)}}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){r.sourcePreviewNodes.delete(e),r.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDropTarget",value:function(e,t){var n=this;if(!this.document)return function(){};var r=function(r){if(n.document&&n.monitor.isDragging()){var o;switch(r.type){case h.mouse.move:o={x:r.clientX,y:r.clientY};break;case h.touch.move:o={x:r.touches[0].clientX,y:r.touches[0].clientY}}var i=null!=o?n.document.elementFromPoint(o.x,o.y):void 0,a=i&&t.contains(i);return i===t||a?n.handleMove(r,e):void 0}};return this.addEventListener(this.document.body,"move",r),this.targetNodes.set(e,t),function(){n.document&&(n.targetNodes.delete(e),n.removeEventListener(n.document.body,"move",r))}}},{key:"getTopMoveStartHandler",value:function(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}},{key:"installSourceNodeRemovalObserver",value:function(e){var t=this;this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver((function(){e&&!e.parentElement&&(t.resurrectSourceNode(),t.uninstallSourceNodeRemovalObserver())})),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}},{key:"resurrectSourceNode",value:function(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}},{key:"uninstallSourceNodeRemovalObserver",value:function(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}},{key:"document",get:function(){return this.options.document}}])&&d(t.prototype,n),r&&d(t,r),e}();t.TouchBackendImpl=f},36623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={TouchBackend:!0};t.TouchBackend=void 0;var o=n(2874);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));t.TouchBackend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new o.TouchBackendImpl(e,t,n)}},96944:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListenerType=void 0,t.ListenerType=n,function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(n||(t.ListenerType=n={}))},68827:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distance=function(e,t,n,r){return Math.sqrt(Math.pow(Math.abs(n-e),2)+Math.pow(Math.abs(r-t),2))},t.inAngleRanges=function(e,t,n,r,o){if(!o)return!1;for(var i=180*Math.atan2(r-t,n-e)/Math.PI+180,a=0;a=o[a].start)&&(null==o[a].end||i<=o[a].end))return!0;return!1}},68953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=function(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}},t.getEventClientTouchOffset=o,t.getEventClientOffset=i;var r=n(91527);function o(e,t){return 1===e.targetTouches.length?i(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?i(e.touches[0]):void 0}function i(e,t){return(0,r.isTouchEvent)(e)?o(e,t):{x:e.clientX,y:e.clientY}}},91527:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventShouldStartDrag=function(e){return void 0===e.button||e.button===r},t.eventShouldEndDrag=function(e){return void 0===e.buttons||0==(e.buttons&n)},t.isTouchEvent=function(e){return!!e.targetTouches};var n=1,r=0},17890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsPassive=void 0;var n=function(){var e=!1;try{addEventListener("test",(function(){}),Object.defineProperty({},"passive",{get:function(){return e=!0,!0}}))}catch(e){}return e}();t.supportsPassive=n},47930:(e,t,n)=>{"use strict";function r(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;or})},169:(e,t,n)=>{"use strict";n.d(t,{WG:()=>Re,c0:()=>lt,f$:()=>ut,LW:()=>ht});var r=n(67294);const o=(0,r.createContext)({dragDropManager:void 0});var i=n(85893);function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",l=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+l(),REPLACE:"@@redux/REPLACE"+l(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+l()}};function c(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function d(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(d)(e,t)}if("function"!=typeof e)throw new Error(a(2));var o=e,i=t,l=[],p=l,h=!1;function f(){p===l&&(p=l.slice())}function m(){if(h)throw new Error(a(3));return i}function g(e){if("function"!=typeof e)throw new Error(a(4));if(h)throw new Error(a(5));var t=!0;return f(),p.push(e),function(){if(t){if(h)throw new Error(a(6));t=!1,f();var n=p.indexOf(e);p.splice(n,1),l=null}}}function v(e){if(!c(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(h)throw new Error(a(9));try{h=!0,i=o(i,e)}finally{h=!1}for(var t=l=p,n=0;n2?n-2:0),o=2;oe&&e[t]?e[t]:n||null),e)}function m(e,t){return e.filter((e=>e!==t))}function g(e){return"object"==typeof e}function v(e,t){const n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);const o=[];return n.forEach(((e,t)=>{1===e&&o.push(t)})),o}const y="dnd-core/INIT_COORDS",b="dnd-core/BEGIN_DRAG",w="dnd-core/PUBLISH_DRAG_SOURCE",x="dnd-core/HOVER",D="dnd-core/DROP",C="dnd-core/END_DRAG";function E(e,t){return{type:y,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const S={type:y,payload:{clientOffset:null,sourceClientOffset:null}};function _(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0};const{publishSource:r=!0,clientOffset:o,getSourceClientOffset:i}=n,a=e.getMonitor(),s=e.getRegistry();e.dispatch(E(o)),P(t,a,s);const l=z(t,a);if(null==l)return void e.dispatch(S);let u=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");k(i),u=i(l)}e.dispatch(E(o,u));const c=s.getSource(l),d=c.beginDrag(a,l);if(null==d)return;A(d),s.pinSource(l);const p=s.getSourceType(l);return{type:b,payload:{itemType:p,item:d,sourceId:l,clientOffset:o||null,sourceClientOffset:u||null,isSourcePublic:!!r}}}}function P(e,t,n){p(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){p(n.getSource(e),"Expected sourceIds to be registered.")}))}function k(e){p("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}function A(e){p(g(e),"Item must be an object.")}function z(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const n=e.getMonitor(),r=e.getRegistry();F(n);const o=R(n);o.forEach(((o,i)=>{const a=M(o,i,r,n),s={type:D,payload:{dropResult:O({},t,a)}};e.dispatch(s)}))}}function F(e){p(e.isDragging(),"Cannot call drop while not dragging."),p(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function M(e,t,n,r){const o=n.getTarget(e);let i=o?o.drop(r,e):void 0;return function(e){p(void 0===e||g(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:r.getDropResult()),i}function R(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function j(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){p(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const r=t.getSourceId();if(null!=r){n.getSource(r,!0).endDrag(t,r),n.unpinSource()}return{type:C}}}function B(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function N(e){return function(t){let{clientOffset:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(t);const r=t.slice(0),o=e.getMonitor(),i=e.getRegistry(),a=o.getItemType();return V(r,i,a),K(r,o,i),q(r,o,i),{type:x,payload:{targetIds:r,clientOffset:n||null}}}}function L(e){p(Array.isArray(e),"Expected targetIds to be an array.")}function K(e,t,n){p(t.isDragging(),"Cannot call hover while not dragging."),p(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t=0;r--){const o=e[r];B(t.getTargetType(o),n)||e.splice(r,1)}}function q(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}function H(e){return function(){if(e.getMonitor().isDragging())return{type:w}}}class Z{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store;const n=function(e){return{beginDrag:_(e),publishDragSource:H(e),hover:N(e),drop:I(e),endDrag:j(e)}}(this);return Object.keys(n).reduce(((r,o)=>{const i=n[o];var a;return r[o]=(a=i,function(){for(var n=arguments.length,r=new Array(n),o=0;o{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function U(e,t){return{x:e.x-t.x,y:e.y-t.y}}const $=[],G=[];$.__IS_NONE__=!0,G.__IS_ALL__=!0;class W{subscribeToStateChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{handlerIds:n}=t;p("function"==typeof e,"listener must be a function."),p(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let r=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),o=t.stateId;try{const i=o===r||o===r+1&&!function(e,t){return e!==$&&(e===G||void 0===t||(n=e,t.filter((e=>n.indexOf(e)>-1))).length>0);var n}(t.dirtyHandlerIds,n);i||e()}finally{r=o}}))}subscribeToOffsetChange(e){p("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const n=this.store.getState().dragOffset;n!==t&&(t=n,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return p(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);if(p(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;return B(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);if(p(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!e)return!1;const{shallow:n}=t;if(!this.isDragging())return!1;const r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!B(r,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return t&&n&&r?U((i=r,{x:(o=t).x+i.x,y:o.y+i.y}),n):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:n}=e;return t&&n?U(t,n):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const X=void 0!==n.g?n.g:self,Y=X.MutationObserver||X.WebKitMutationObserver;function Q(e){return function(){const t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}const J="function"==typeof Y?function(e){let t=1;const n=new Y(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}:Q;class ee{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const te=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.indexthis.capacity){for(let t=0,n=e.length-this.index;t{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=J(this.flush),this.requestErrorThrow=Q((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},ne=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new ee(this.onError,(e=>t[t.length]=e));return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(te.registerPendingError);const re="dnd-core/ADD_SOURCE",oe="dnd-core/ADD_TARGET",ie="dnd-core/REMOVE_SOURCE",ae="dnd-core/REMOVE_TARGET";function se(e,t){t&&Array.isArray(e)?e.forEach((e=>se(e,!1))):p("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var le;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(le||(le={}));let ue=0;function ce(e){const t=(ue++).toString();switch(e){case le.SOURCE:return`S${t}`;case le.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}function de(e){switch(e[0]){case"S":return le.SOURCE;case"T":return le.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function pe(e,t){const n=e.entries();let r=!1;do{const{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}class he{addSource(e,t){se(e),function(e){p("function"==typeof e.canDrag,"Expected canDrag to be a function."),p("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),p("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const n=this.addHandler(le.SOURCE,e,t);return this.store.dispatch(function(e){return{type:re,payload:{sourceId:e}}}(n)),n}addTarget(e,t){se(e,!0),function(e){p("function"==typeof e.canDrop,"Expected canDrop to be a function."),p("function"==typeof e.hover,"Expected hover to be a function."),p("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const n=this.addHandler(le.TARGET,e,t);return this.store.dispatch(function(e){return{type:oe,payload:{targetId:e}}}(n)),n}containsHandler(e){return pe(this.dragSources,e)||pe(this.dropTargets,e)}getSource(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p(this.isSourceId(e),"Expected a valid source ID.");return t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return p(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return p(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return p(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return de(e)===le.SOURCE}isTargetId(e){return de(e)===le.TARGET}removeSource(e){var t;p(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:ie,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},te.enqueueTask(ne.create(t))}removeTarget(e){p(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:ae,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);p(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){p(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){const r=ce(e);return this.types.set(r,t),e===le.SOURCE?this.dragSources.set(r,n):e===le.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const fe=(e,t)=>e===t;function me(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)}function ge(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fe;if(e.length!==t.length)return!1;for(let r=0;r1?arguments[1]:void 0;switch(e.type){case x:break;case re:case oe:case ae:case ie:return $;default:return G}const{targetIds:t=[],prevTargetIds:n=[]}=e.payload,r=v(t,n),o=r.length>0||!ge(t,n);if(!o)return $;const i=n[n.length-1],a=t[t.length-1];return i!==a&&(i&&r.push(i),a&&r.push(a)),r}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:we,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case y:case b:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case x:return me(e.clientOffset,n.clientOffset)?e:be({},e,{clientOffset:n.clientOffset});case C:case D:return we;default:return e}}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case b:return Ce({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case w:return Ce({},e,{isSourcePublic:!0});case x:return Ce({},e,{targetIds:n.targetIds});case ae:return-1===e.targetIds.indexOf(n.targetId)?e:Ce({},e,{targetIds:m(e.targetIds,n.targetId)});case D:return Ce({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case C:return Ce({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function _e(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case re:case oe:return e+1;case ie:case ae:return e-1;default:return e}}function Pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:ve(e.dirtyHandlerIds,{type:t.type,payload:Ae({},t.payload,{prevTargetIds:f(e,"dragOperation.targetIds",[])})}),dragOffset:xe(e.dragOffset,t),refCount:_e(e.refCount,t),dragOperation:Se(e.dragOperation,t),stateId:Pe(e.stateId)}}function Te(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=Oe(r),i=new W(o,new he(o)),a=new Z(o,i),s=e(a,t,n);return a.receiveBackend(s),a}function Oe(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return d(ze,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}function Ie(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}let Fe=0;const Me=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Re=(0,r.memo)((function(e){var{children:t}=e,n=Ie(e,["children"]);const[a,s]=function(e){if("manager"in e){return[{dragDropManager:e.manager},!1]}const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;const o=t;o[Me]||(o[Me]={dragDropManager:Te(e,t,n,r)});return o[Me]}(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[t,n]}(n);return(0,r.useEffect)((()=>{if(s){const e=je();return++Fe,()=>{0==--Fe&&(e[Me]=null)}}}),[]),(0,i.jsx)(o.Provider,{value:a,children:t})}));function je(){return void 0!==n.g?n.g:window}var Be=n(64063),Ne=n.n(Be);const Le="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function Ke(e,t,n){const[o,i]=(0,r.useState)((()=>t(e))),a=(0,r.useCallback)((()=>{const r=t(e);Ne()(o,r)||(i(r),n&&n())}),[o,e,n]);return Le(a),[o,a]}function Ve(e,t,n){return function(e,t,n){const[r,o]=Ke(e,t,n);return Le((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})}),[e,o]),r}(t,e||(()=>({})),(()=>n.reconnect()))}function qe(e,t){const n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),(0,r.useMemo)((()=>"function"==typeof e?e():e),n)}function He(e){return(0,r.useMemo)((()=>e.hooks.dragSource()),[e])}function Ze(e){return(0,r.useMemo)((()=>e.hooks.dragPreview()),[e])}let Ue=!1,$e=!1;class Ge{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){p(!Ue,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ue=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Ue=!1}}isDragging(){if(!this.sourceId)return!1;p(!$e,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return $e=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{$e=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let We=!1;class Xe{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;p(!We,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return We=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{We=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function Ye(e,t,n,r){let o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a, or turn it into a drag source or a drop target itself.`)}function et(e){const t={};return Object.keys(e).forEach((n=>{const o=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{const e=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,r.isValidElement)(t)){const r=t;return e(r,n),r}const o=t;Je(o);return nt(o,n?t=>e(t,n):e)}}(o);t[n]=()=>e}})),t}function tt(e,t){"function"==typeof e?e(t):e.current=t}function nt(e,t){const n=e.ref;return p("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,r.cloneElement)(e,{ref:e=>{tt(n,e),tt(t,e)}}):(0,r.cloneElement)(e,{ref:t})}class rt{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();n&&this.disconnectDragPreview(),this.handlerId&&(t?n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!Ye(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!Ye(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=et({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,Qe(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,Qe(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class ot{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!Ye(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=et({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,Qe(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function it(){const{dragDropManager:e}=(0,r.useContext)(o);return p(null!=e,"Expected drag drop context"),e}class at{beginDrag(){const e=this.spec,t=this.monitor;let n=null;return n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=n?n:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const n=this.spec,r=this.monitor,{isDragging:o}=n;return o?o(r):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,n=this.connector,{end:r}=e;r&&r(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}}function st(e,t,n){const o=it(),i=function(e,t,n){const o=(0,r.useMemo)((()=>new at(e,t,n)),[t,n]);return(0,r.useEffect)((()=>{o.spec=e}),[e]),o}(e,t,n),a=function(e){return(0,r.useMemo)((()=>{const t=e.type;return p(null!=t,"spec.type must be defined"),t}),[e])}(e);Le((function(){if(null!=a){const[e,r]=function(e,t,n){const r=n.getRegistry(),o=r.addSource(e,t);return[o,()=>r.removeSource(o)]}(a,i,o);return t.receiveHandlerId(e),n.receiveHandlerId(e),r}}),[o,t,n,i,a])}function lt(e,t){const n=qe(e,t);p(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const o=function(){const e=it();return(0,r.useMemo)((()=>new Ge(e)),[e])}(),i=function(e,t){const n=it(),o=(0,r.useMemo)((()=>new rt(n.getBackend())),[n]);return Le((()=>(o.dragSourceOptions=e||null,o.reconnect(),()=>o.disconnectDragSource())),[o,e]),Le((()=>(o.dragPreviewOptions=t||null,o.reconnect(),()=>o.disconnectDragPreview())),[o,t]),o}(n.options,n.previewOptions);return st(n,o,i),[Ve(n.collect,o,i),He(i),Ze(i)]}function ut(e){const t=it().getMonitor(),[n,o]=Ke(t,e);return(0,r.useEffect)((()=>t.subscribeToOffsetChange(o))),(0,r.useEffect)((()=>t.subscribeToStateChange(o))),n}function ct(e){return(0,r.useMemo)((()=>e.hooks.dropTarget()),[e])}class dt{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function pt(e,t,n){const o=it(),i=function(e,t){const n=(0,r.useMemo)((()=>new dt(e,t)),[t]);return(0,r.useEffect)((()=>{n.spec=e}),[e]),n}(e,t),a=function(e){const{accept:t}=e;return(0,r.useMemo)((()=>(p(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);Le((function(){const[e,r]=function(e,t,n){const r=n.getRegistry(),o=r.addTarget(e,t);return[o,()=>r.removeTarget(o)]}(a,i,o);return t.receiveHandlerId(e),n.receiveHandlerId(e),r}),[o,t,i,n,a.map((e=>e.toString())).join("|")])}function ht(e,t){const n=qe(e,t),o=function(){const e=it();return(0,r.useMemo)((()=>new Xe(e)),[e])}(),i=function(e){const t=it(),n=(0,r.useMemo)((()=>new ot(t.getBackend())),[t]);return Le((()=>(n.dropTargetOptions=e||null,n.reconnect(),()=>n.disconnectDropTarget())),[e]),n}(n.options);return pt(n,o,i),[Ve(n.collect,o,i),ct(i)]}},35782:(e,t,n)=>{"use strict";n.d(t,{_H:()=>Ut,Pj:()=>Ft,dp:()=>Ot,Sn:()=>Ne,vU:()=>Gt,XN:()=>Et,YB:()=>St});var r=n(70655),o=n(67294),i=n(8679),a=n.n(i);["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map((function(e){return e.slice(e.indexOf("-")+1)}));function s(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}var l=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;new RegExp("^"+l.source),new RegExp(l.source+"$");var u,c,d,p;!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}(0,r.ZT)(t,e)}(Error);function h(e){return e.type===d.literal}function f(e){return e.type===d.argument}function m(e){return e.type===d.number}function g(e){return e.type===d.date}function v(e){return e.type===d.time}function y(e){return e.type===d.select}function b(e){return e.type===d.plural}function w(e){return e.type===d.pound}function x(e){return e.type===d.tag}function D(e){return!(!e||"object"!=typeof e||e.type!==p.number)}function C(e){return!(!e||"object"!=typeof e||e.type!==p.dateTime)}!function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(u||(u={})),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(c||(c={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(d||(d={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var E=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,S=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function _(e){var t={};return e.replace(S,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var P=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var k,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,z=/^(@+)?(\+|#+)?$/g,T=/(\*)(0+)|(#+)(0+)|(0+)/g,O=/^(0+)$/;function I(e){var t={};return e.replace(z,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function F(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!O.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function R(e){var t=F(e);return t||{}}function j(e){for(var t={},n=0,o=e;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(T,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(O.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(A.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(A,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""})),i.options.length&&(t=(0,r.pi)((0,r.pi)({},t),I(i.options[0])))}else if(z.test(i.stem))t=(0,r.pi)((0,r.pi)({},t),I(i.stem));else{var a=F(i.stem);a&&(t=(0,r.pi)((0,r.pi)({},t),a));var s=M(i.stem);s&&(t=(0,r.pi)((0,r.pi)({},t),s))}}return t}var B=new RegExp("^"+E.source+"*"),N=new RegExp(E.source+"*$");function L(e,t){return{start:e,end:t}}var K=!!String.prototype.startsWith,V=!!String.fromCodePoint,q=!!Object.fromEntries,H=!!String.prototype.codePointAt,Z=!!String.prototype.trimStart,U=!!String.prototype.trimEnd,$=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},G=!0;try{G="a"===(null===(k=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===k?void 0:k[0])}catch(e){G=!1}var W,X=K?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Y=V?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Q=q?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},ee=Z?function(e){return e.trimStart()}:function(e){return e.replace(B,"")},te=U?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")};function ne(e,t){return new RegExp(e,t)}if(G){var re=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=function(e,t){var n;return re.lastIndex=t,null!==(n=re.exec(e)[1])&&void 0!==n?n:""}}else W=function(e,t){for(var n=[];;){var r=J(e,t);if(void 0===r||ae(r)||se(r))break;n.push(r),t+=r>=65536?2:1}return Y.apply(void 0,n)};var oe=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(c.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ie(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:d.pound,location:L(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<"+r+"/>",location:L(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:d.tag,value:r,children:i,location:L(n,this.clonePosition())},err:null}:this.error(c.INVALID_TAG,L(a,this.clonePosition())))}return this.error(c.UNCLOSED_TAG,L(n,this.clonePosition()))}return this.error(c.INVALID_TAG,L(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=L(n,this.clonePosition());return{val:{type:d.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ie(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Y.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Y(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(c.EMPTY_ARGUMENT,L(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(c.MALFORMED_ARGUMENT,L(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:r,location:L(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(c.MALFORMED_ARGUMENT,L(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=W(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:L(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,o){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(c.EXPECT_ARGUMENT_TYPE,L(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(g=te(w.val)).length)return this.error(c.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));u={style:g,styleLocation:L(h,this.clonePosition())}}if((x=this.tryParseArgumentClose(o)).err)return x;var f=L(o,this.clonePosition());if(u&&X(null==u?void 0:u.style,"::",0)){var m=ee(u.style.slice(2));if("number"===s)return(w=this.parseNumberSkeletonFromString(m,u.styleLocation)).err?w:{val:{type:d.number,value:n,location:f,style:w.val},err:null};if(0===m.length)return this.error(c.EXPECT_DATE_TIME_SKELETON,f);var g={type:p.dateTime,pattern:m,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?_(m):{}};return{val:{type:"date"===s?d.date:d.time,value:n,location:f,style:g},err:null}}return{val:{type:"number"===s?d.number:"date"===s?d.date:d.time,value:n,location:f,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(c.EXPECT_SELECT_ARGUMENT_OPTIONS,L(v,(0,r.pi)({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),b=0;if("select"!==s&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),y=this.parseIdentifierIfPossible(),b=w.val}var x,D=this.tryParsePluralOrSelectOptions(e,s,t,y);if(D.err)return D;if((x=this.tryParseArgumentClose(o)).err)return x;var C=L(o,this.clonePosition());return"select"===s?{val:{type:d.select,value:n,options:Q(D.val),location:C},err:null}:{val:{type:d.plural,value:n,options:Q(D.val),offset:b,pluralType:"plural"===s?"cardinal":"ordinal",location:C},err:null};default:return this.error(c.INVALID_ARGUMENT_TYPE,L(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,L(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(P).filter((function(e){return e.length>0}));n=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=L(r,this.clonePosition());return o?$(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=J(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(X(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ae(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ie(e){return e>=97&&e<=122||e>=65&&e<=90}function ae(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function se(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function le(e){e.forEach((function(e){if(delete e.location,y(e)||b(e))for(var t in e.options)delete e.options[t].location,le(e.options[t].value);else m(e)&&D(e.style)||(g(e)||v(e))&&C(e.style)?delete e.style.location:x(e)&&le(e.children)}))}function ue(e,t){void 0===t&&(t={}),t=(0,r.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new oe(e,t).parse();if(n.err){var o=SyntaxError(c[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||le(n.val),n.val}function ce(e,t){var n=t&&t.cache?t.cache:ye,r=t&&t.serializer?t.serializer:me;return(t&&t.strategy?t.strategy:fe)(e,{cache:n,serializer:r})}function de(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function pe(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function he(e,t,n,r,o){return n.bind(t,e,r,o)}function fe(e,t){return he(e,this,1===e.length?de:pe,t.cache.create(),t.serializer)}var me=function(){return JSON.stringify(arguments)};function ge(){this.cache=Object.create(null)}ge.prototype.has=function(e){return e in this.cache},ge.prototype.get=function(e){return this.cache[e]},ge.prototype.set=function(e,t){this.cache[e]=t};var ve,ye={create:function(){return new ge}},be={variadic:function(e,t){return he(e,this,pe,t.cache.create(),t.serializer)},monadic:function(e,t){return he(e,this,de,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ve||(ve={}));var we,xe=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,r.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),De=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(r).join('", "')+'"',ve.INVALID_VALUE,o)||this}return(0,r.ZT)(t,e),t}(xe),Ce=function(e){function t(t,n,r){return e.call(this,'Value for "'+t+'" must be of type '+n,ve.INVALID_VALUE,r)||this}return(0,r.ZT)(t,e),t}(xe),Ee=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',ve.MISSING_VALUE,n)||this}return(0,r.ZT)(t,e),t}(xe);function Se(e){return"function"==typeof e}function _e(e,t,n,r,o,i,a){if(1===e.length&&h(e[0]))return[{type:we.literal,value:e[0].value}];for(var s=[],l=0,u=e;l needs to exist in the component ancestry.")}var gt=(0,r.pi)((0,r.pi)({},Be),{textComponent:o.Fragment});function vt(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i=g?a-o:a,u=Math.abs(s-g);return g!==s&&(l=setTimeout((function(){return v(s)}),1e3*u)),e}),[g,i,n]);var y=t||0,b=n;if(Nt(n)&&"number"==typeof g&&i){var w=jt(b=Rt(g));y=Math.round(g/w)}return o.createElement(Lt,(0,r.pi)({value:y,unit:b},a))};Kt.displayName="FormattedRelativeTime",Kt.defaultProps={value:0,unit:"second"};var Vt=function(e){var t=St(),n=t.formatPlural,r=t.textComponent,i=e.value,a=e.other,s=e.children,l=e[n(i,e)]||a;return"function"==typeof s?s(l):r?o.createElement(r,null,l):l};Vt.defaultProps={type:"cardinal"},Vt.displayName="FormattedPlural";function qt(e,t){var n=e.values,o=(0,r._T)(e,["values"]),i=t.values,a=(0,r._T)(t,["values"]);return vt(i,n)&&vt(o,a)}function Ht(e){var t=St(),n=t.formatMessage,r=t.textComponent,i=void 0===r?o.Fragment:r,a=e.id,s=e.description,l=e.defaultMessage,u=e.values,c=e.children,d=e.tagName,p=void 0===d?i:d,h=n({id:a,description:s,defaultMessage:l},u,{ignoreTag:e.ignoreTag});return Array.isArray(h)||(h=[h]),"function"==typeof c?c(h):p?o.createElement(p,null,o.Children.toArray(h)):o.createElement(o.Fragment,null,h)}Ht.displayName="FormattedMessage";var Zt=o.memo(Ht,qt);Zt.displayName="MemoizedFormattedMessage";const Ut=Zt;var $t=function(e){var t=St(),n=e.from,i=e.to,a=e.children,s=(0,r._T)(e,["from","to","children"]),l=t.formatDateTimeRange(n,i,s);if("function"==typeof a)return a(l);var u=t.textComponent||o.Fragment;return o.createElement(u,null,l)};$t.displayName="FormattedDateTimeRange";function Gt(e){return e}kt("formatDate"),kt("formatTime"),kt("formatNumber"),kt("formatList"),kt("formatDisplayName"),Pt("formatDate"),Pt("formatTime")},87463:(e,t,n)=>{"use strict";n.d(t,{sk:()=>L,f:()=>i,X9:()=>c,nb:()=>K});var r={};n.r(r),n.d(r,{renderTile:()=>F});var o={};n.r(o);var i={};n.r(i),n.d(i,{ContentEditor:()=>N,ContentEditorTypes:()=>o,ImageFormat:()=>R,Priority:()=>M,Renderer:()=>r,createContentEditor:()=>B,createServerContext:()=>b,createWASMContext:()=>y,ping:()=>C,withEngine:()=>D,withServerEngine:()=>x,withWASMEngine:()=>w});var a=n(15359);function s(e,t){(0,a.kG)(e,t)}var l=n(96156),u=n(77017);class c extends a.p2{constructor(e){super(e)}}class d extends c{constructor(e,t){super(e),this.code=t}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class h{constructor(e,t){this.jsonCommand=t,this.identifier=(0,u.v4)(),this.coreClient=e}async request(){const e=await this.coreClient.dispatchCommand(JSON.stringify(this.jsonCommand));if(e.success)return e;throw new d(e.message,e.code)}}class f{constructor(e,t){this.requestQueue=e,this.coreClient=t}executeCommand(e,t,n){return K(this.requestQueue.enqueue(new h(this.coreClient,function(e){for(var t=1;te(t)))}}var m=n(51679);class g{constructor(e){this.requestQueue=new m.g(e)}enqueue(e,t){const{promise:n,cancel:r}=this.requestQueue.enqueue(e,t===M.High);return{promise:n,cancel:()=>{(function(e){return"cancel"in e})(e)&&e.cancel(),r()}}}cancelRequests(e){this.requestQueue.cancel(e)}}const v=e=>new g(e),y=e=>{const t=v(2);return{wasmCtx:{engine:new f(t,e)},requestQueue:t}},b=e=>({serverCtx:{info:e},requestQueue:v(10)}),w=(e,t)=>(s(e.wasmCtx),t(e.wasmCtx)),x=(e,t)=>(s(e.serverCtx),t(e.serverCtx)),D=(e,t,n)=>{if(e.wasmCtx)return w(e,t);if(e.serverCtx)return x(e,n);throw new a.p2("No engine found")},C=async e=>D(e,(async e=>{await e.engine.executeCommand("ping",M.Normal,{})}),(async e=>{throw new c("not implemented")}));let E=function(e){return e[e.Windows=0]="Windows",e[e.iOS=1]="iOS",e[e.macOS=2]="macOS",e[e.Android=3]="Android",e[e.Linux=4]="Linux",e}({});const S=function(){var e,t,n,r,o,i;let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=null===(t=globalThis.navigator)||void 0===t?void 0:t.userAgent)&&void 0!==e?e:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(n=null===(r=globalThis.navigator)||void 0===r?void 0:r.platform)&&void 0!==n?n:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null!==(o=null===(i=globalThis.navigator)||void 0===i?void 0:i.maxTouchPoints)&&void 0!==o?o:0;return s.indexOf("MacIntel")>-1&&l>1?E.iOS:a.indexOf("Win")>-1?E.Windows:a.indexOf("iPhone")>-1||a.indexOf("iPad")>-1||"iPad"===s?E.iOS:a.indexOf("Mac")>-1?E.macOS:a.indexOf("Android")>-1?E.Android:a.indexOf("Linux")>-1?E.Linux:null}();let _=function(e){return e[e.Trident=0]="Trident",e[e.Edge=1]="Edge",e[e.Blink=2]="Blink",e[e.Webkit=3]="Webkit",e[e.Gecko=4]="Gecko",e}({});const P=function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=null===(t=globalThis.navigator)||void 0===t?void 0:t.userAgent)&&void 0!==e?e:"";return n.indexOf("Trident/")>-1?_.Trident:n.indexOf("Edge/")>-1?_.Edge:n.indexOf("Chrome/")>-1?_.Blink:n.indexOf("AppleWebKit/")>-1?_.Webkit:n.indexOf("Gecko/")>-1?_.Gecko:null}(),k=16383;const A=e=>{if(e){if(e.includes("image/webp"))return R.WebP;if(e.includes("image/png"))return R.PNG;if(e.includes("image/jpeg"))return R.JPEG}throw new c("Couldn't determine image format")};function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{const l=new L,u=D(e,(async e=>{var a,u,c;o.format=null!==(a=o.format)&&void 0!==a?a:R.Bitmap;const d=function(e,t){let{width:n,height:r}=t;return e===R.WebP&&(n>k||r>k)||e===R.Bitmap&&S===E.iOS&&n*r>16777216?R.PNG:e}(o.format,n),p=i&&(i.annotations.length>0||i.formFieldValues.length>0),{promise:h,cancel:f}=e.engine.executeCommand("render_tile",null!==(u=o.priority)&&void 0!==u?u:M.Normal,{render_annotations:p,print_rendering:o.renderForPrinting,page:t,bitmap_width:r.width,bitmap_height:r.height,bitmap_x:r.left,bitmap_y:r.top,page_width:n.width,page_height:n.height,format:d,render_text:null===(c=o.renderText)||void 0===c||c});l.addCancelFn(f);const m=await h;return s(1==m.values.length,"Should have exactly one image buffer in result."),s(m.values[0]instanceof Uint8Array),{buffer:m.values[0],format:d}}),(async u=>{s(!o.format,"Requesting image format is not supported on server.");const d=`page-${t}-dimensions-${n.width}-${n.height}-tile-${r.left}-${r.top}-${r.width}-${r.height}${o.renderForPrinting?"-print":""}`,p=i?((e,t)=>{const n=new FormData;return n.append("data",JSON.stringify({annotations:e.annotations,formFieldValues:e.formFieldValues,formFields:e.formFields,signatures:e.signatures||[]})),t&&t.length>0&&t.forEach((t=>{const r=e.attachments[t];s(r,`Attachment data '${t}' could not be found.`),s(r.data,`Attachment '${t}' doesn't have any data.`),n.append(t,r.data)})),n})(i,a):void 0,h={method:p?"POST":"GET",body:p,headers:P!=_.Webkit||n.width<=k&&n.height<=k?{Accept:"image/webp,*/*"}:void 0},f=((e,t,n,r,o,i)=>{let a=T(T({},null==i?void 0:i.headers),t.info.headers);switch(o){case O.Token:a=T(T({},a),{},{"X-PSPDFKit-Token":t.info.token});break;case O.ImageToken:a=T(T({},a),{},{"X-PSPDFKit-Image-Token":t.info.imageToken})}return K(e.enqueue(new I(`${t.info.url}i/d/${t.info.documentId}/h/${t.info.layerHandle}/${n}`,T(T({},i),{},{headers:a})),r))})(e.requestQueue,u,d,o.priority,O.ImageToken,h);l.addCancelFn(f.cancel);const m=await f.promise;if(!m.ok){if("application/json"!==m.headers.get("content-type"))throw new c(`The image can not be rendered because of an unknown error (${m.status})`);{const a=await m.json();if(a.attachments_not_found){if(!i)throw new c("Document state is required when attachments are missing");for(const e of a.attachments_not_found)if(!i.attachments[e])throw new c(`Attachment ${e} not found in document state, but required by server.`);const s=F(e,t,n,r,o,i,a.attachments_not_found);return l.addCancelFn((()=>{s.cancel()})),s.promise}if(a.error)throw new c(`The server could not render the requested image (${a.error})`)}}const g=await m.arrayBuffer();return{buffer:new Uint8Array(g),format:A(m.headers.get("content-type"))}}));return K({promise:u,cancel:()=>l.cancel()})};let M=function(e){return e[e.Normal=0]="Normal",e[e.High=1]="High",e}({}),R=function(e){return e.PNG="png",e.JPEG="jpeg",e.WebP="webp",e.Bitmap="bitmap",e}({});const j=async(e,t,n)=>{const r=await e.engine.executeCommand(t,M.High,n);return s(1===r.values.length,`expected only one response for ${t}: ${r.values}`),s(!(r.values[0]instanceof Uint8Array),"expected JSON response: "+r.values),r.values[0]};async function B(e){var t;return s(e.wasmCtx,"wasmCtx is required."),await(null===(t=e.wasmCtx)||void 0===t?void 0:t.engine.executeCommand("content_editing/enter",M.High,{})),new N(e.wasmCtx)}class N{constructor(e){s(e,"wasmCtx is required."),this.wasmCtx=e}async closeContentEditor(){await this.wasmCtx.engine.executeCommand("content_editing/exit",M.High,{})}async getTextBlocks(e){return j(this.wasmCtx,"content_editing/get_text_blocks",{pageIndex:e})}async detectParagraphs(e){return j(this.wasmCtx,"content_editing/detect_paragraphs",{pageIndex:e})}async renderTextBlock(e,t,n){const r=await this.wasmCtx.engine.executeCommand("content_editing/render_text_block",M.High,{textBlockId:e,renderTextBlockParams:t,externalControlState:n});return s(2===r.values.length,"expected only two responses for renderTextBlock. ArrayBuffer and Size info."),s(!(r.values[0]instanceof Uint8Array),`expected JSON response: ${r.values}`),s(r.values[1]instanceof Uint8Array,`expected ArrayBuffer response: ${r.values}`),{imageBuffer:r.values[1],displayRect:r.values[0].displayRect}}async setTextBlockCursor(e,t,n,r){return j(this.wasmCtx,"content_editing/set_cursor",{textBlockId:e,offset:t,selectText:n,externalControlState:r})}async moveTextBlockCursor(e,t,n,r){return j(this.wasmCtx,"content_editing/move_cursor",{textBlockId:e,movement:t,selectText:n,externalControlState:r})}async insertTextBlockString(e,t,n,r){return j(this.wasmCtx,"content_editing/insert_text",{textBlockId:e,cluster:t,text:n,externalControlState:r})}async insertTextBlockContentRef(e,t,n,r){return j(this.wasmCtx,"content_editing/insert_content_ref",{textBlockId:e,cluster:t,contentRef:n,externalControlState:r})}async createTextBlock(e){return j(this.wasmCtx,"content_editing/create_text_block",{pageIndex:e})}async layoutTextBlock(e,t,n,r){return j(this.wasmCtx,"content_editing/layout",{textBlockId:e,cursor:t,selection:n,externalControlState:r})}async deleteTextBlockRange(e,t,n){return j(this.wasmCtx,"content_editing/delete_range",{textBlockId:e,range:t,externalControlState:n})}async deleteTextBlockString(e,t,n){return j(this.wasmCtx,"content_editing/delete_cluster",{textBlockId:e,direction:t,externalControlState:n})}async setTextBlockSelection(e,t,n){return j(this.wasmCtx,"content_editing/set_selection",{textBlockId:e,mode:t,externalControlState:n})}async setTextBlockSelectionRange(e,t,n,r,o){return j(this.wasmCtx,"content_editing/set_selection_range",{textBlockId:e,begin:t,end:n,mode:r,externalControlState:o})}async textBlockUndo(e,t){return j(this.wasmCtx,"content_editing/undo",{textBlockId:e,externalControlState:t})}async textBlockRedo(e,t){return j(this.wasmCtx,"content_editing/redo",{textBlockId:e,externalControlState:t})}async textBlockRestore(e,t,n){return j(this.wasmCtx,"content_editing/restore",{textBlockId:e,version:t,externalControlState:n})}async textBlockApplyFormat(e,t,n,r){return j(this.wasmCtx,"content_editing/apply_format",{textBlockId:e,range:t,formatModifications:n,externalControlState:r})}async save(e,t){try{this.wasmCtx.engine.executeCommand("content_editing/save_to_document",M.High,{path:e,textBlockSaveInfos:t})}catch(t){throw new Error(`Error saving to ${e}: ${t.message}`)}}async getAvailableFaces(){return j(this.wasmCtx,"content_editing/available_faces")}cancelRequests(){this.wasmCtx.engine.cancelRequests((e=>!!e.jsonCommand&&(s("string"==typeof e.jsonCommand.type,"expected string type"),e.jsonCommand.type.startsWith("content_editing/"))))}}class L{constructor(){(0,l.Z)(this,"cancelled",!1),(0,l.Z)(this,"cancelFns",[])}cancel(){for(const e of this.cancelFns)e();this.cancelled=!0}isCancelled(){return this.cancelled}addCancelFn(e){this.cancelFns.push(e)}}const K=e=>({promise:e.promise,cancel:e.cancel,then:(t,n)=>{const r=e.promise.then(t,n);return K({promise:r,cancel:e.cancel})}})},75472:(e,t,n)=>{"use strict";n.d(t,{Xn:()=>h,AO:()=>s,L7:()=>l,$u:()=>f});var r=n(96156),o=n(15359),i=n(96650);const a=()=>{};class s{constructor(){(0,r.Z)(this,"_requests",new Map),(0,r.Z)(this,"_nextRequestId",1),(0,r.Z)(this,"_isLoading",!0),(0,r.Z)(this,"_loadPromise",null),(0,r.Z)(this,"_initPromise",null),(0,r.Z)(this,"_hasOpenedDocument",!1),(0,r.Z)(this,"_hasLoadedCertificates",!1),(0,r.Z)(this,"_handleMessage",(e=>{const t=e.data,n=this._requests.get(t.id);(0,o.kG)(n,`No request was made for id ${t.id}.`);const{resolve:r,reject:i}=n;if(this._requests.delete(t.id),t.error){const e=new o.p2(t.error);e.callArgs=t.callArgs,i(e)}else r(t.result)}))}getNativeModule(){throw new Error("Method not implemented.")}async loadNativeModule(e,t){let{mainThreadOrigin:n,disableWebAssemblyStreaming:r,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a,wasmLoaderPath:s,wasm:l,workerSpawnerFn:u}=t;return(0,o.kG)(!this._hasOpenedDocument,"cannot invoke `loadNativeModule` while an instance is still in use. Please call `recycle` first."),this._loadPromise?this._loadPromise.then((()=>{})):(this._initPromise||(this.workerSpawner||(this.workerSpawner=await u(),this.workerSpawner.setMessageHandler(this._handleMessage)),this._baseCoreUrl=e,this._mainThreadOrigin=n,this._initPromise=this._sendRequest("loadNativeModule",[s&&l?{wasm:l,wasmLoaderPath:s}:e,{mainThreadOrigin:n,disableWebAssemblyStreaming:r,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a}]).then((e=>e)).catch((e=>{throw this._isLoading=!1,this.destroy(),e}))),this._initPromise)}load(e,t,n){let{mainThreadOrigin:r,customFonts:i,dynamicFonts:a,productId:s}=n;return(0,o.kG)(!this._hasOpenedDocument,"cannot invoke `load` while an instance is still in use. Please call `recycle` first."),this._loadPromise||(this._loadPromise=this._sendRequest("load",[e,t,{mainThreadOrigin:r,customFonts:i,dynamicFonts:a,productId:s}]).then((e=>(this._isLoading=!1,e))).catch((e=>{var t;throw this._isLoading=!1,null===(t=this.workerSpawner)||void 0===t||t.terminate(),e}))),this._loadPromise}version(){return this._assertLoaded(),this._sendRequest("version")}openDocument(e,t,n){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openDocument",[e,t,n]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}async getMeasurementScales(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementScales")}async removeMeasurementScale(e){return this._sendRequest("removeMeasurementScale",[e])}async addMeasurementScale(e){return await this._sendRequest("addMeasurementScale",[e])}async getAnnotationsByScale(e){return await this._sendRequest("getAnnotationsByScale",[e])}async openDocumentAt(){throw new Error("Should never be called")}async getAllPageInfos(e){return this._assertLoaded(),this._sendRequest("getAllPageInfos",[e])}async enablePDFJavaScriptSupport(){return this._assertLoaded(),this._sendRequest("enablePDFJavaScriptSupport")}async runPDFFormattingScripts(e,t){return this._assertLoaded(),this._sendRequest("runPDFFormattingScripts",[e,t])}async getSuggestedLineHeightFactor(e,t){return this._assertLoaded(),this._sendRequest("getSuggestedLineHeightFactor",[e,t])}async getAvailableFontFaces(e){return this._assertLoaded(),this._sendRequest("getAvailableFontFaces",[e])}async setFontSubstitutions(e){return this._assertLoaded(),this._sendRequest("setFontSubstitutions",[e])}getBookmarks(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getBookmarks")}getFormJSON(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormJSON")}evalFormValuesActions(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalFormValuesActions",[e])}evalScript(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalScript",[e,t,n])}setFormJSONUpdateBatchMode(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormJSONUpdateBatchMode",[e])}getFormValues(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormValues")}closeDocument(){return this._assertLoaded(),this._hasOpenedDocument=!1,this._sendRequest("closeDocument")}renderAnnotation(e,t,n,r,o,i){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderAnnotation",[e,t,n,r,o,i])}renderPageAnnotations(e,t,n,r,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderPageAnnotations",[e,t,n,r,o])}renderDetachedAnnotation(e,t,n,r,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderDetachedAnnotation",[e,t,n,r,o])}onKeystrokeEvent(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("onKeystrokeEvent",[e])}getAttachment(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getAttachment",[e])}textForPageIndex(e){this._assertLoaded(),this._assertDocumentOpen();return this._sendRequest("textForPageIndex",[e])}contentTreeForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentTreeForPageIndex",[e])}annotationsForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("annotationsForPageIndex",[e])}getTabOrder(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTabOrder",[e])}setTabOrder(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setTabOrder",[e,t])}createAnnotation(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createAnnotation",[e,t])}updateAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateAnnotation",[e])}deleteAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteAnnotation",[e])}createFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createFormField",[e,t])}updateFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateFormField",[e,t])}deleteFormField(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormField",[e])}setFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormFieldValue",[e])}deleteFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormFieldValue",[e])}createBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createBookmark",[e])}updateBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateBookmark",[e])}deleteBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteBookmark",[e])}setDocumentOutline(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setDocumentOutline",[e])}getTextFromRects(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTextFromRects",[e,t])}getClosestSnapPoint(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getClosestSnapPoint",[e,t])}configureSnapper(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("configureSnapper",[e])}search(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.S.TEXT;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("search",[e,t,n,r,o])}getSecondaryMeasurementUnit(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSecondaryMeasurementUnit",[])}compareDocuments(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("compareDocuments",[e])}setSecondaryMeasurementUnit(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setSecondaryMeasurementUnit",[e])}getMeasurementSnappingPoints(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementSnappingPoints",[e])}parseXFDF(e,t){return this._sendRequest("parseXFDF",[e,t])}getEmbeddedFilesList(){return this._sendRequest("getEmbeddedFilesList")}exportFile(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"pdf",o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportFile",[e,t,n,r,o,i,a,s])}importXFDF(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importXFDF",[e,t,n])}exportXFDF(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportXFDF",[e])}importInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importInstantJSON",[e])}exportInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportInstantJSON",[e])}getDocumentOutline(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getDocumentOutline")}getPageGlyphs(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getPageGlyphs",[e])}applyOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyOperations",[e,t])}reloadDocument(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("reloadDocument")}exportPDFWithOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportPDFWithOperations",[e,t])}loadCertificates(e){return this._assertLoaded(),this._assertDocumentOpen(),this._hasLoadedCertificates=Boolean(e.length),this._sendRequest("loadCertificates",[e]).catch((e=>{throw this._hasLoadedCertificates=!1,e}))}getSignaturesInfo(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSignaturesInfo",[])}getComments(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getComments",[])}applyComments(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyComments",[e])}prepareSign(e,t,n,r,o,i){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("prepareSign",[e,t,n,r,o,i])}getTimestampRequest(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTimestampRequest",[e,t])}getRevocationRequests(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getRevocationRequests",[e])}setSignaturesLTV(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setSignaturesLTV",[e])}sign(e,t,n,r,o,i,a,s){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("sign",[e,t,n,r,o,i,a,s])}restoreToOriginalState(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("restoreToOriginalState")}applyRedactions(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyRedactions",[])}readFormJSONObjects(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("readFormJSONObjects")}clearAPStreamCache(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("clearAPStreamCache")}setComparisonDocument(e,t){return this._assertLoaded(),t||this._assertDocumentOpen(),this._sendRequest("setComparisonDocument",[e,t])}openComparisonDocument(e){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openComparisonDocument",[e]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}documentCompareAndOpen(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("documentCompareAndOpen",[e])}persistOpenDocument(e){return this._assertLoaded(),e||this._assertDocumentOpen(),this._sendRequest("persistOpenDocument",[e])}cleanupDocumentComparison(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("cleanupDocumentComparison")}getOCGs(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getOCGs",[])}getOCGVisibilityState(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getOCGVisibilityState",[])}setOCGVisibilityState(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setOCGVisibilityState",[e])}updateButtonIcon(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateButtonIcon",[e,t,n])}dispatchCommand(e){return this._assertLoaded(),this._sendRequest("dispatchCommand",[e])}recycle(){this._hasLoadedCertificates&&this.loadCertificates([]),this._hasOpenedDocument&&this.closeDocument(),this._isLoading||this._requests.forEach(((e,t)=>{this._requests.set(t,{resolve:a,reject:a})}))}destroy(){var e;this._loadPromise=null,null===(e=this.workerSpawner)||void 0===e||e.terminate()}_assertLoaded(){if(this._isLoading)throw new o.p2("CoreClient not yet initialized")}_assertDocumentOpen(){if(!this._hasOpenedDocument)throw new o.p2("This method can not be called since there is no open document. Have you run PSPDFKit.unload()?")}_sendRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,o.kG)(this.workerSpawner,"CoreClient has been destroyed");const n=this.workerSpawner;return new Promise(((r,o)=>{const i=this._assignId(),a=[...t].filter((e=>e instanceof ArrayBuffer));n.postMessage({id:i,action:e,args:t},a),this._requests=this._requests.set(i,{resolve:r,reject:o})}))}_assignId(){const e=this._nextRequestId;return this._nextRequestId=this._nextRequestId+1,e}}class l{constructor(e){(0,r.Z)(this,"size",1),(0,r.Z)(this,"_freeObjects",[]),this._constructor=e}checkOut(){let e;return e=this._freeObjects.length>0?this._freeObjects.shift():new this._constructor,{object:e,checkIn:()=>{this._freeObjects.length>=this.size?e.destroy():(e.recycle(),this._freeObjects.push(e))}}}}n(71856),n(91117),n(35349);var u=n(52923),c=n.n(u);let d;d="object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node?c():function(e){return"object"==typeof window?new Promise(((t,n)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!0,r.onload=()=>t(window.PSPDFModuleInit),r.onerror=n,r.src=e;const{documentElement:i}=document;(0,o.kG)(i),i.appendChild(r)})):(self.importScripts(e),Promise.resolve(self.PSPDFModuleInit))};n(34299),n(79112),n(10983);var p=n(33383);n(74110);n(94161),n(98179),n(72110);const h="/create.pdf";new Set;new Set;p.x.Maui_iOS,p.x.Maui_Android,p.x.Maui_MacCatalyst,p.x.Maui_Windows,p.x.FlutterForWeb;const f=async function(){let e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(t){const{default:t}=await n.e(4132).then(n.t.bind(n,46762,23));e=new t}else e=new Worker(new URL(n.p+n.u(4098),n.b));return{setMessageHandler(t){(0,o.kG)(e,"Worker is null"),e.onmessage=t},postMessage(t,n){var r;null===(r=e)||void 0===r||r.postMessage(t,n)},terminate(){var t;null===(t=e)||void 0===t||t.terminate(),e=null}}}},94161:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(15359);async function o(e){try{const t=await fetch(e).catch((t=>{throw new r.p2(`Error fetching dynamic fonts file ${e}. ${t}`)}));if(200!==t.status)throw new r.p2(`Error fetching dynamic fonts file ${e}. Status code: ${t.status}`);return await t.json().catch((t=>{throw new r.p2(`Error parsing dynamic fonts file ${e}. ${t}`)}))}catch(e){throw e}}},51679:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(35369),o=n(15359);function i(){return!0}class a{constructor(e){this.queue=(0,r.zN)(),this.priorityQueue=(0,r.zN)(),this.inFlightRequests=(0,r.D5)(),this.inflightRequestLimit=e,this.isDestroyed=!1}enqueue(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isDestroyed)return{promise:new Promise((()=>{})),cancel:()=>{}};let n=null,o=null;const i=new Promise(((e,t)=>{n=e,o=t})),a=t?this.priorityQueue:this.queue,s=(0,r.t8)(a,e,{promise:i,resolve:n,reject:o});return t?this.priorityQueue=s:this.queue=s,t?this.next():setTimeout((()=>this.next()),35),{promise:i,cancel:()=>this._cancel(e)}}_cancel(e){this.queue.has(e)&&(this.queue=this.queue.delete(e)),this.priorityQueue.has(e)&&(this.priorityQueue=this.priorityQueue.delete(e)),this.inFlightRequests.has(e)&&(this.inFlightRequests=this.inFlightRequests.delete(e))}cancelAll(){this.queue=(0,r.zN)(),this.priorityQueue=(0,r.zN)(),this.inFlightRequests=(0,r.D5)()}cancel(e){const t=(t,n)=>e(n);this.queue=this.queue.filter(t),this.priorityQueue=this.priorityQueue.filter(t),this.inFlightRequests=this.inFlightRequests.filter(t)}_requestFinished(e,t){if(this.isDestroyed)return;const n=this.inFlightRequests.get(e);n&&(n.resolve(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}_requestFailed(e,t){if(this.isDestroyed)return;const n=this.inFlightRequests.get(e);n&&(n.reject(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}next(){if(!(this.isDestroyed||this.inFlightRequests.size>=this.inflightRequestLimit)){if(this.priorityQueue.size>=1){const e=this.priorityQueue.findLastEntry(i);(0,o.kG)(e);const[t,n]=e;return this.priorityQueue=this.priorityQueue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,n),void t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}if(this.queue.size>=1){const e=this.queue.findEntry(i);(0,o.kG)(e);const[t,n]=e;this.queue=this.queue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,n),t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}}}destroy(){this.isDestroyed=!0}}},82654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(96156);class o{constructor(e){(0,r.Z)(this,"_subscriptions",new Set),this._state=e}getState(){return this._state}setState(e){this._state="function"==typeof e?e(this._state):e;for(const e of this._subscriptions)e(this._state)}subscribe(e){return this._subscriptions.add(e),()=>this.unsubscribe(e)}unsubscribe(e){this._subscriptions.delete(e)}}},17137:(e,t,n)=>{"use strict";n.d(t,{T:()=>i,Z:()=>o});const r=function e(t){let n;return n=t instanceof Error?t:new Error(t),Object.setPrototypeOf(n,e.prototype),n};r.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const o=r;function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=>new r(""===e?t:`${e}: ${t}`)}},73044:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{throw new Error("")}},14736:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,Z:()=>o});const r={keys:[]};function o(e,t){var n;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;if(o={keys:null!=(null===(n=o)||void 0===n?void 0:n.keys)?o.keys:r.keys},Object.is(e,t))return[];let i=o.keys||[];if(0===i.length){i=[...new Set(Object.keys(e).concat(Object.keys(t)))]}const a=i.filter((n=>e[n]!==t[n]));return a.map((n=>({key:n,previous:e[n],current:t[n]})))}function i(e){return e.map((e=>{let{key:t,previous:n,current:r}=e;return`- ${t} was previously ${n}, but is now ${r}`})).join("\n")}},6273:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;ni(e,t)),t[0]);return r||null}n.d(t,{Z:()=>r});const o=new WeakMap;function i(e,t){if(e&&t){const n=o.get(e)||new WeakMap;o.set(e,n);const r=n.get(t)||(n=>{a(e,n),a(t,n)});return n.set(t,r),r}return e||t}function a(e,t){"function"==typeof e?e(t):e.current=t}},38252:(e,t,n)=>{"use strict";function r(e){a(e)}function o(e,t,n){if(n)return r(`The API ${e} has been deprecated and will be removed in the next major release. Please use ${t} instead. Please go to https://pspdfkit.com/api/web/ for more informations`);r(`The function ${e} was deprecated and will be removed in future version. Please use ${t} instead.`)}function i(e){console.log(e)}function a(){console.warn(...arguments)}function s(e){console.error(e)}function l(){console.info(...arguments)}n.d(t,{XV:()=>o,ZK:()=>a,a1:()=>r,cM:()=>i,um:()=>l,vU:()=>s})},23664:(e,t,n)=>{"use strict";n.d(t,{GO:()=>o,cO:()=>r});const r=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");function o(e){return Array.prototype.filter.call(e.querySelectorAll(r),(e=>!(e.inert||e.hasAttribute("inert")||"-1"===e.getAttribute("tabindex")||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))))}},15359:(e,t,n)=>{"use strict";n.d(t,{$O:()=>l.Z,AK:()=>s.Z,FE:()=>d.Z,GB:()=>l.G,H7:()=>p.x,Ou:()=>p.Z,PO:()=>a.Z,Qo:()=>h.Q,Rz:()=>i.Z,Tr:()=>o.T,XV:()=>c.XV,ZK:()=>c.ZK,a1:()=>c.a1,cM:()=>c.cM,kG:()=>r.Z,lH:()=>f.l,p2:()=>o.Z,um:()=>c.um,vU:()=>c.vU,wp:()=>u.w});var r=n(51984),o=n(17137),i=n(73044),a=n(81787),s=n(61904),l=n(14736),u=n(9041),c=n(38252),d=(n(51722),n(23664),n(86849),n(82654),n(6273)),p=n(37131),h=n(28413),f=n(86241);n(1184)},51984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(17137);function o(e,t){if(!e)throw new r.Z(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}},51722:(e,t,n)=>{"use strict";function r(e){return"true"===e.contentEditable||"INPUT"===e.tagName||"TEXTAREA"===e.tagName}n.d(t,{c:()=>r})},81787:(e,t,n)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}n.d(t,{Z:()=>r})},61904:(e,t,n)=>{"use strict";function r(e){const t=new MessageChannel;try{t.port1.postMessage(e)}catch(e){return!1}return!0}n.d(t,{Z:()=>r})},86849:(e,t,n)=>{"use strict";n.d(t,{AV:()=>v,Cp:()=>r,E$:()=>l,MS:()=>p,OC:()=>w,P9:()=>h,b8:()=>i,bs:()=>b,cS:()=>g,d2:()=>y,gs:()=>m,gx:()=>s,iT:()=>a,j4:()=>o,rw:()=>f,tW:()=>c,wG:()=>d,zz:()=>u});const r=48,o=70,i=71,a=80,s=90,l=13,u=27,c=32,d=34,p=33,h=37,f=38,m=39,g=40,v=187,y=189,b=8,w=9},86241:(e,t,n)=>{"use strict";function r(e){return null!=e}n.d(t,{l:()=>r})},9041:(e,t,n)=>{"use strict";function r(e){alert(e)}n.d(t,{w:()=>r})},28413:(e,t,n)=>{"use strict";function r(e,t){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(e.x,e.y);if("caretPositionFromPoint"in t&&"function"==typeof t.caretPositionFromPoint){const n=t.caretPositionFromPoint(e.x,e.y),r=t.createRange();return r.setStart(n.offsetNode,n.offset),r.setEnd(n.offsetNode,n.offset),r}}n.d(t,{Q:()=>r})},1184:()=>{},37131:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,x:()=>i});var r=n(51984);function o(e){(0,r.Z)("object"==typeof e&&null!==e,"instantJSON must be an Object"),(0,r.Z)("https://pspdfkit.com/instant-json/v1"===e.format,"instantJSON has an invalid format, please use 'https://pspdfkit.com/instant-json/v1");const{pdfId:t}=e;t&&(0,r.Z)("object"==typeof t&&null!==t&&("string"==typeof t.permanent&&"string"==typeof t.changing||"string"!=typeof t.permanent&&"string"!=typeof t.changing),"instantJSON has an invalid pdfId"),(0,r.Z)(void 0===e.skippedPdfObjectIds||Array.isArray(e.skippedPdfObjectIds),"instantJSON has invalid skippedPdfObjectIds"),(0,r.Z)(void 0===e.annotations||Array.isArray(e.annotations)&&e.annotations.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid annotations"),(0,r.Z)(void 0===e.formFieldValues||Array.isArray(e.formFieldValues)&&e.formFieldValues.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid form field values"),(0,r.Z)(void 0===e.skippedPdfBookmarkIds||Array.isArray(e.skippedPdfBookmarkIds),"instantJSON has invalid skippedPdfBookmarkIds"),(0,r.Z)(void 0===e.bookmarks||Array.isArray(e.bookmarks)&&e.bookmarks.every((e=>"object"==typeof e&&null!==e)),"instantJSON has invalid bookmarks")}function i(e){const t={};return Object.keys(e).forEach((n=>{Array.isArray(e[n])?t[n]=e[n].filter(Boolean):"object"==typeof e[n]&&null!==e[n]?t[n]=i(e[n]):t[n]=e[n]})),t}},86998:(e,t,n)=>{"use strict";n.d(t,{HJ:()=>Xt,zx:()=>p,hE:()=>h,qe:()=>ft,M5:()=>vt,bK:()=>Kn,FE:()=>Vt,ub:()=>Jr,N9:()=>Qr,nB:()=>eo,D:()=>Br,Hp:()=>Ur,F0:()=>Ut,w6:()=>Zt,z:()=>kn,QO:()=>vn,u_:()=>pn,Ex:()=>wn,Ee:()=>jn,xv:()=>Pn,oi:()=>In,TX:()=>rn,ri:()=>r});var r={};n.r(r),n.d(r,{applyStyle:()=>Ar,cssStringToObject:()=>ar,deserialize:()=>or,escapeHtml:()=>tr,getComputedStyleAll:()=>Er,getInnerHTML:()=>hr,getLastNCharacters:()=>gr,getSelectedNodesColor:()=>Sr,getStyleString:()=>sr,getText:()=>cr,getWrapperTags:()=>pr,isAtStartOfWordOrText:()=>vr,isMarkActive:()=>lr,isRangeSelected:()=>mr,isSelectionUnderlined:()=>zr,parseHTML:()=>dr,prepareHTML:()=>fr,serialize:()=>ir,setStyleOrToggleFormat:()=>xr,toHex:()=>Dr,toggleMark:()=>ur,unwrapNode:()=>kr,wrapNode:()=>Pr});var o=n(22122),i=n(17375),a=n(67294),s=n(9327),l=n.n(s),u=n(37672),c=n.n(u);const d=["className","disabled","inverted","primary","danger","type"],p=e=>{const{className:t,disabled:n,inverted:r,primary:s,danger:u,type:p}=e,h=(0,i.Z)(e,d),f=l()({[c().general]:!0,[c().default]:!s,[c().primary]:s,[c().danger]:u,[c().disabled]:n,[c().inverted]:!n&&r},t);return a.createElement("button",(0,o.Z)({},h,{className:f,disabled:n,type:p||"button"}))},h=e=>{const{className:t,children:n,align:r,style:o}=e;let i=null;return a.createElement("div",{className:l()(c().group,"start"===r&&c().groupAlignStart,"end"===r&&c().groupAlignEnd,t),style:o},a.Children.map(n,(e=>e?i?(i=e,a.createElement(a.Fragment,null,a.createElement("div",{className:c().groupSpacer}),e)):(i=e,e):null)))};function f(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function m(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function g(e){m(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function v(e,t){m(2,arguments);var n=g(e).getTime(),r=f(t);return new Date(n+r)}function y(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}Math.pow(10,8);function b(e){m(1,arguments);var t=g(e);return!isNaN(t)}var w={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function x(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var D={date:x({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:x({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:x({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var C={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function E(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function S(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?P(l,(function(e){return e.test(s)})):_(l,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(u):u,a=n.valueCallback?n.valueCallback(a):a;var c=t.slice(s.length);return{value:a,rest:c}}}function _(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function P(e,t){for(var n=0;n0?"in "+r:r+" ago":r},formatLong:D,formatRelative:function(e,t,n,r){return C[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:E({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:E({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:E({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:E({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:E({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(k={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(k.matchPattern);if(!n)return null;var r=n[0],o=e.match(k.parsePattern);if(!o)return null;var i=k.valueCallback?k.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(r.length);return{value:i,rest:a}}),era:S({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:S({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:S({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:S({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:S({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function z(e,t){m(2,arguments);var n=f(t);return v(e,-n)}function T(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return T("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):T(n+1,2)},d:function(e,t){return T(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return T(e.getUTCHours()%12||12,t.length)},H:function(e,t){return T(e.getUTCHours(),t.length)},m:function(e,t){return T(e.getUTCMinutes(),t.length)},s:function(e,t){return T(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return T(Math.floor(r*Math.pow(10,n-3)),t.length)}};const I=O;var F=864e5;function M(e){m(1,arguments);var t=1,n=g(e),r=n.getUTCDay(),o=(r=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function j(e){m(1,arguments);var t=R(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=M(n);return r}var B=6048e5;function N(e){m(1,arguments);var t=g(e),n=M(t).getTime()-j(t).getTime();return Math.round(n/B)+1}function L(e,t){m(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,i=null==o?0:f(o),a=null==n.weekStartsOn?i:f(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=g(e),l=s.getUTCDay(),u=(l=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(r+1,0,l),u.setUTCHours(0,0,0,0);var c=L(u,t),d=new Date(0);d.setUTCFullYear(r,0,l),d.setUTCHours(0,0,0,0);var p=L(d,t);return n.getTime()>=c.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function V(e,t){m(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,i=null==o?1:f(o),a=null==n.firstWeekContainsDate?i:f(n.firstWeekContainsDate),s=K(e,t),l=new Date(0);l.setUTCFullYear(s,0,a),l.setUTCHours(0,0,0,0);var u=L(l,t);return u}var q=6048e5;function H(e,t){m(1,arguments);var n=g(e),r=L(n,t).getTime()-V(n,t).getTime();return Math.round(r/q)+1}var Z="midnight",U="noon",$="morning",G="afternoon",W="evening",X="night",Y={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return I.y(e,t)},Y:function(e,t,n,r){var o=K(e,r),i=o>0?o:1-o;return"YY"===t?T(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):T(i,t.length)},R:function(e,t){return T(R(e),t.length)},u:function(e,t){return T(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return T(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return T(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return I.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return T(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=H(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):T(o,t.length)},I:function(e,t,n){var r=N(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):T(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):I.d(e,t)},D:function(e,t,n){var r=function(e){m(1,arguments);var t=g(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/F)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):T(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return T(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return T(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return T(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?U:0===o?Z:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?W:o>=12?G:o>=4?$:X,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return I.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):I.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):T(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):T(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):I.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):I.s(e,t)},S:function(e,t){return I.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return J(o);case"XXXX":case"XX":return ee(o);default:return ee(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return J(o);case"xxxx":case"xx":return ee(o);default:return ee(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Q(o,":");default:return"GMT"+ee(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Q(o,":");default:return"GMT"+ee(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return T(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return T((r._originalDate||e).getTime(),t.length)}};function Q(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+T(i,2)}function J(e,t){return e%60==0?(e>0?"-":"+")+T(Math.abs(e)/60,2):ee(e,t)}function ee(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+T(Math.floor(o/60),2)+n+T(o%60,2)}const te=Y;function ne(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function re(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var oe={p:re,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return ne(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ne(o,t)).replace("{{time}}",re(i,t))}};const ie=oe;var ae=["D","DD"],se=["YY","YYYY"];function le(e){return-1!==ae.indexOf(e)}function ue(e){return-1!==se.indexOf(e)}function ce(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var de=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,he=/^'([^]*?)'?$/,fe=/''/g,me=/[a-zA-Z]/;function ge(e,t,n){m(2,arguments);var r=String(t),o=n||{},i=o.locale||A,a=i.options&&i.options.firstWeekContainsDate,s=null==a?1:f(a),l=null==o.firstWeekContainsDate?s:f(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=i.options&&i.options.weekStartsOn,c=null==u?0:f(u),d=null==o.weekStartsOn?c:f(o.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var p=g(e);if(!b(p))throw new RangeError("Invalid time value");var h=y(p),v=z(p,h),w={firstWeekContainsDate:l,weekStartsOn:d,locale:i,_originalDate:p},x=r.match(pe).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,i.formatLong,w):e})).join("").match(de).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return ve(n);var a=te[r];if(a)return!o.useAdditionalWeekYearTokens&&ue(n)&&ce(n,t,e),!o.useAdditionalDayOfYearTokens&&le(n)&&ce(n,t,e),a(v,n,i.localize,w);if(r.match(me))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return x}function ve(e){return e.match(he)[1].replace(fe,"'")}function ye(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function be(e,t,n){m(2,arguments);var r=n||{},o=r.locale,i=o&&o.options&&o.options.weekStartsOn,a=null==i?0:f(i),s=null==r.weekStartsOn?a:f(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=g(e),u=f(t),c=l.getUTCDay(),d=u%7,p=(d+7)%7,h=(p0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}var Ye=[31,28,31,30,31,30,31,31,30,31,30,31],Qe=[31,29,31,30,31,30,31,31,30,31,30,31];function Je(e){return e%400==0||e%4==0&&e%100!=0}var et={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return $e(4,e,o);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return $e(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=e.getUTCFullYear();if(n.isTwoDigitYear){var i=Xe(n.year,o);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return $e(4,e,o);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return $e(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=K(e,r);if(n.isTwoDigitYear){var i=Xe(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),L(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),L(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return Ge("R"===t?4:t.length,e)},set:function(e,t,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),M(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return Ge("u"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return $e(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return $e(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"M":return He(we,e,o);case"MM":return $e(2,e,o);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"L":return He(we,e,o);case"LL":return $e(2,e,o);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return He(Ce,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return L(function(e,t,n){m(2,arguments);var r=g(e),o=f(t),i=H(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return He(Ce,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return M(function(e,t){m(2,arguments);var n=g(e),r=f(t),o=N(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"d":return He(xe,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return $e(t.length,e)}},validate:function(e,t,n){var r=Je(e.getUTCFullYear()),o=e.getUTCMonth();return r?t>=1&&t<=Qe[o]:t>=1&&t<=Ye[o]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"D":case"DD":return He(De,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return $e(t.length,e)}},validate:function(e,t,n){return Je(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=be(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return $e(t.length,e,o);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=be(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return $e(t.length,e,o);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=be(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var o=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return $e(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:o})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,r){return e=function(e,t){m(2,arguments);var n=f(t);n%7==0&&(n-=7);var r=1,o=g(e),i=o.getUTCDay(),a=((n%7+7)%7=1&&t<=12},set:function(e,t,n,r){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):o||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return He(Ee,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return He(_e,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return He(Se,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var o=n<=24?n%24:n;return e.setUTCHours(o,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return He(ke,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return He(Ae,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return $e(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){return $e(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return Ze(Ne,e);case"XX":return Ze(Le,e);case"XXXX":return Ze(Ke,e);case"XXXXX":return Ze(qe,e);default:return Ze(Ve,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return Ze(Ne,e);case"xx":return Ze(Le,e);case"xxxx":return Ze(Ke,e);case"xxxxx":return Ze(qe,e);default:return Ze(Ve,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return Ue(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return Ue(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};const tt=et;var nt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ot=/^'([^]*?)'?$/,it=/''/g,at=/\S/,st=/[a-zA-Z]/;function lt(e,t,n,r){m(3,arguments);var o=String(e),i=String(t),a=r||{},s=a.locale||A;if(!s.match)throw new RangeError("locale must contain match property");var l=s.options&&s.options.firstWeekContainsDate,u=null==l?1:f(l),c=null==a.firstWeekContainsDate?u:f(a.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=s.options&&s.options.weekStartsOn,p=null==d?0:f(d),h=null==a.weekStartsOn?p:f(a.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===i)return""===o?g(n):new Date(NaN);var v,b={firstWeekContainsDate:c,weekStartsOn:h,locale:s},w=[{priority:10,subPriority:-1,set:ut,index:0}],x=i.match(rt).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,s.formatLong,b):e})).join("").match(nt),D=[];for(v=0;v0&&at.test(o))return new Date(NaN);var I=w.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return w.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),F=g(n);if(isNaN(F))return new Date(NaN);var M=z(F,y(F)),R={};for(v=0;v{const n=a.useRef(null),r=a.useRef(null),[o,i]=a.useState(!1);a.useImperativeHandle(t,(()=>n.current));const s=e.format.split("").map((e=>{switch(e){case"m":return"M";case"M":return"m"}return e})).join(""),u=ht.i7||ht.TL||"date"===e.type,c=t=>{const o=n.current,a=r.current;if(!o)return;const s=o.ownerDocument.activeElement;s!==o&&s!==a&&(e.onBlur&&e.onBlur(t),i(!1))},d=t=>{!o&&e.onFocus&&(e.onFocus(t),i(!0)),i(!0)},p=()=>{switch(e.type){case"date":return"yyyy-MM-dd";case"time":return"HH:mm";case"datetime-local":return"yyyy-MM-dd'T'HH:mm"}},h=l()({[pt().picker]:!0,[pt().firefoxDatePicker]:ht.vU});return a.createElement("div",{className:pt().wrapper},a.createElement("input",{"data-testid":"input",ref:n,name:e.name,value:e.value,style:e.style,className:l()(pt().input,e.className,"PSPDFKit-Annotation-Widget-Date-Input"),type:"text",disabled:e.disabled,maxLength:e.maxLength,placeholder:e.format,required:e.required,onChange:t=>{const o=n.current,i=r.current;if(o){const n=lt(o.value,s,new Date);!0===b(n)&&i&&(i.value=ge(n,p())),e.onChange&&e.onChange(t)}},onBlur:c,onFocus:d}),u?a.createElement("div",{style:{opacity:o?1:0},className:pt().pickerWidget},a.createElement("input",{"data-testid":"picker",ref:r,className:h,type:e.type,onChange:t=>{const o=n.current,i=r.current;if(o&&i){var a;if(""===i.value)o.value="";else{const e=lt(i.value,p(),new Date);b(e)&&i&&(o.value=ge(e,s))}null===(a=e.onChange)||void 0===a||a.call(e,t)}},onBlur:c,onFocus:d,disabled:e.disabled})):null)}));ft.defaultProps={};var mt=n(19290),gt=n.n(mt);function vt(e){let{children:t,className:n}=e;return a.createElement("div",{className:l()(gt().center,n)},t)}var yt=n(96156),bt=n(169),wt=n(36623),xt=n(35369),Dt=n(67366),Ct=n(81454),Et=n.n(Ct);const St=e=>{const{onDragOver:t}=e,[,n]=(0,bt.c0)({type:_t,item:()=>(e.onDragStart&&e.onDragStart(e.index),{id:e.index,type:_t}),canDrag:()=>e.draggable||!1,end:()=>{e.onDragEnd&&e.onDragEnd()}}),[,r]=(0,bt.LW)({accept:_t,hover:(n,r)=>{t&&t(e.index,r.getClientOffset())}});return a.createElement("div",{"data-id":e.index,ref:r},a.createElement("div",{ref:n,className:Et().item},a.createElement("div",{className:Et().content},e.children)))},_t="ITEM",Pt=e=>{const{renderItem:t,containerOffset:n}=e,{item:r,isDragging:o,currentOffset:i}=(0,bt.f$)((e=>({item:e.getItem(),currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging()}))),s=a.useMemo((()=>o?a.createElement(St,{index:r.id},t(r.id)):null),[o,r,t]);if(!o||!i)return null;const{x:l,y:u}=i,c={transform:`translate(${l-n.left}px, ${u-n.top}px)`};return a.createElement("div",{className:Et().dragPreview},a.createElement("div",{style:c},s))};var kt=n(67057);function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t{const{scrollY:t=0,onViewportChange:n,initialForcedScrollY:r}=e,[o,i]=a.useState(null),[s,l]=a.useState({height:0,width:0,scrollY:0}),u=a.useRef(null),c=a.useRef(null),d=a.useRef(0);a.useLayoutEffect((()=>{o&&(o.scrollTop=t)}),[o,t]),a.useLayoutEffect((()=>{o&&"number"==typeof r&&(o.scrollTop=r)}),[o,r]);const{currentOffset:p,isDragging:h}=(0,bt.f$)((e=>({isDragging:e.isDragging(),currentOffset:e.getClientOffset()}))),f=a.useCallback((()=>{const{clientWidth:e=0,clientHeight:t=0}=o||{},n=e||0,r=t||0;n===s.width&&r===s.height||l(zt(zt({},s),{},{width:n||0,height:r||0}))}),[o,s]),m=a.useCallback((e=>{const t=e.currentTarget.scrollTop,n=zt(zt({},s),{},{scrollY:t});s.scrollY!==t&&l(n)}),[s]);a.useLayoutEffect((()=>{n(s)}),[n,s]),a.useEffect((()=>{u.current=null==o?void 0:o.getBoundingClientRect(),f()}),[o,f]);const g=a.useCallback((()=>{clearInterval(c.current),c.current=null}),[]),v=a.useCallback((e=>{g(),o&&d.current!==e&&(g(),c.current=setInterval((()=>{o.scrollBy(0,e)}),Rt),d.current=e)}),[o,g]);a.useEffect((()=>{if(!u.current||!p)return void g();const{height:e}=u.current,t=p.ye-Ot,r=p.y,o=e-p.y,i=It+(Ot-(t?r:o))/Ot*(Ft-It);!c.current||t||n?t?v(-Mt*i):n&&v(Mt*i):g()}),[p,v,g]);const y={position:"relative",width:"100%",height:"100%",overflowX:"hidden",overflowY:h&&(0,ht.b1)()?"hidden":"scroll"},b=a.useRef(null);return a.useEffect((()=>{var e;b.current&&(null===(e=b.current)||void 0===e||e.focus({preventScroll:!0}))})),a.createElement("div",{"data-testid":"scroll",ref:e=>i(e),style:y,onScroll:m},a.createElement(kt.Z,{onResize:f}),o?e.renderContent(s,b):null)},Ot=50,It=.5,Ft=1,Mt=10,Rt=1;var jt=n(15359);class Bt{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;(0,yt.Z)(this,"itemWidth",0),(0,yt.Z)(this,"itemHeight",0),(0,yt.Z)(this,"itemPaddingLeft",0),(0,yt.Z)(this,"itemPaddingRight",0),(0,yt.Z)(this,"totalItems",0),(0,jt.kG)(e>0,"You must provide an item width of greater than 0"),(0,jt.kG)(t>0,"You must provide an item height of greater than 0"),(0,jt.kG)(r>=0,"Padding must be greater than 0"),(0,jt.kG)(o>=0,"Padding must be greater than 0"),this.itemWidth=e,this.itemHeight=t,this.totalItems=n,this.itemPaddingLeft=r,this.itemPaddingRight=o}contentHeight(e){const t=this.itemsPerRow(e);return Math.ceil(this.totalItems/t)*this.itemHeight}itemsPerRow(e){return Math.max(Math.floor(e.width/this.itemWidth),1)}layoutAttributesForItemsIn(e){const{scrollY:t,height:n}=e,r=this.itemsPerRow(e),o=Math.ceil(this.totalItems/r),i=t?Math.floor(t/this.itemHeight):0,a=Math.ceil(n/this.itemHeight),s=Math.max(i-Nt,0),l=Math.min(i+a+Nt,o),u=[];for(let t=s*r;t{var t;const{draggingEnabled:n=!1,totalItems:r,itemHeight:o,itemWidth:i,itemPaddingLeft:s,itemPaddingRight:l,selectedItemIndexes:u=(0,xt.l4)(),canInsert:c,renderDragPreview:d,renderInsertionCursor:p,focusedItemIndex:h,containerOffset:f,gridContainerEl:m}=e,[g,v]=a.useState(null),y=a.useRef(null),b=a.useRef(null),w=a.useRef(null),[x,D]=a.useState((0,xt.l4)([])),C=new Bt(i,o,r,s,l),[E,S]=a.useState(0),_=(0,Dt.v9)((e=>e.shadowRoot));a.useLayoutEffect((()=>{0!==u.size&&(e=>{const t=b.current;if(0===e.size)return;if(!t)return;const n=t.height+t.scrollY,r=e=>{const r=e.top+e.height/2;return r>t.scrollY&&re.has(t.index)));if(o.filter(r).length>0)return;let i=o.filter((e=>!r(e)));0===i.length&&(i=e.map((e=>C.layoutAttributeForItemAt(t,e))).toArray()),i=i.sort(((e,t)=>e.index-t.index));const a=i[0];b.current=Kt(Kt({},t),{},{scrollY:a.top}),S(a.top)})(u)}),[u]);const P=e=>{e.preventDefault()},k=e=>u.has(e)||!1,A=()=>{y.current=null,w.current=null,D((0,xt.l4)([]))},z=(0,a.useCallback)(((e,t)=>{if(!m)return y.current=null,void(w.current=null);const n=null==_?void 0:_.elementsFromPoint(e,t),r=null==n?void 0:n.find((e=>m.contains(e)));if(r){const t=r.closest("[data-page-index]")||r,n=t.getAttribute("data-page-index");if("string"==typeof n){const r=parseInt(n,10),o=t.getBoundingClientRect();y.current={index:r,bounds:o};const i=o.left+o.width/2;w.current=e{if(!n)return;const o=y.current;if(g&&t)if(null===o||o.index!==e){const t=g.querySelector(`[data-id="${e}"]`),n=null==t?void 0:t.getBoundingClientRect();if(!n)return void(y.current=null);y.current={index:e,bounds:n}}else{const n=o.bounds.left+o.bounds.width/2,i=t.x{if(!n)return;const t=k(e);D(t?(0,xt.l4)(u):(0,xt.l4)([e]))},I=()=>{if(!n)return;const t=w.current;if(null!==t){const n=Array.from(x);if(x.has(t))return void F();e.onDragEnd&&e.onDragEnd(n,t)}A()},F=()=>{requestAnimationFrame((()=>A()))},M=t=>{if(d)return d(t,Array.from(x));{const n={selected:!1,dragging:!1};return e.renderItem(t,n)}},R=e=>{b.current=e},j=(t,n)=>{if(!p)return null;const r=null!==w.current?w.current:e.insertionIndex;if(null==r)return;const o=t.layoutAttributeForInsertionCursor(n,y.current?y.current.index:null,r),i={position:"absolute",width:o.width,height:o.height,left:o.left,top:o.top,zIndex:100},s=(e=>!c||c(x.isEmpty()&&u?Array.from(u):Array.from(x),e))(o.index);return a.createElement("div",{style:i},p(s,!!o.atRowEnd))},B=(t,s)=>{const l=C.layoutAttributesForItemsIn(t);let u=!1;if(l.length>0){const e=l[0].index,t=l[l.length-1].index;u=null!=h&&(ht)}const c=l.map(((t,c)=>{const{index:d}=t,p={position:"absolute",left:t.left,top:t.top,width:t.width,height:t.height},h=c===Math.floor(l.length/2)&&u;return a.createElement("div",{key:e.itemKey?e.itemKey(d):d,style:p},((t,s)=>{const l={selected:k(t),dragging:x.has(t),itemRef:s},u=!(tv(e)},(()=>{var r;if(!g)return null;const o=g.ownerDocument,i={enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:(null==_?void 0:_.ownerDocument)||o,getDropTargetElementsAtPoint:_&&n?z:void 0},s={width:e.width,height:e.height};return a.createElement(bt.WG,{backend:wt.TouchBackend,options:i},a.createElement("div",{className:Et().container,onContextMenu:P,style:s},n&&(t||(t=a.createElement(Pt,{renderItem:M,containerOffset:f}))),a.createElement(Tt,{onViewportChange:R,renderContent:B,scrollY:(null===(r=b.current)||void 0===r?void 0:r.scrollY)||0,initialForcedScrollY:E})))})())};var qt=n(7764),Ht=n.n(qt);const Zt=e=>{const{children:t,onPress:n,expanded:r,ariaControls:o,className:i,headingRef:s}=e,u=e.headingTag;return a.createElement(u,{className:l()("PSPDFKit-Expando-Control",Ht().control,i),ref:s},a.createElement("button",{className:Ht().controlButton,"aria-expanded":o?r:void 0,"aria-controls":o,onClick:n,autoFocus:e.autoFocus},t))};Zt.defaultProps={headingTag:"div"};const Ut=e=>{const{children:t,expanded:n,id:r}=e;return a.createElement("div",{id:r,className:l()("PSPDFKit-Expando-Content",!n&&Ht().contentHidden,!n&&"PSPDFKit-Expando-Content-Hidden")},t)};var $t=n(51722),Gt=n(86849),Wt=n(23664);class Xt extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"rootRef",a.createRef()),(0,yt.Z)(this,"activeItem",a.createRef()),(0,yt.Z)(this,"state",{activeItemIndex:0,focusReason:"initial"}),(0,yt.Z)(this,"didSetActiveItem",!1),(0,yt.Z)(this,"onActiveItemIndexChange",(()=>{this.props.onActiveItemIndexChange&&this.props.onActiveItemIndexChange(this.state.activeItemIndex)})),(0,yt.Z)(this,"onKeyDown",(e=>{var t;const{ignoreOnKeyPress:n}=this.props;if("function"==typeof n?n(e):e.altKey||e.shiftKey)return;const r=null===(t=e.currentTarget.ownerDocument.defaultView)||void 0===t?void 0:t.HTMLElement;if(!(e.target instanceof r)||(0,$t.c)(e.target))return;const{activeItemIndex:o}=this.state,i=e.ctrlKey||e.metaKey;if(e.which===this.props.prevKey&&o>0&&this.setState({activeItemIndex:i?0:o-1,focusReason:"keyboard"},this.onActiveItemIndexChange),e.which===this.props.nextKey){const e=this.props.items.length-1;o{const t=e.target!==e.currentTarget;let n=this.state.activeItemIndex;const r=e.currentTarget,o=r&&r.parentNode&&r.parentNode.children?Array.prototype.findIndex.call(r.parentNode.children,(e=>e===r)):-1;-1!==o&&(n=o),this.setState({activeItemIndex:n,focusReason:t?"focus_within":"focus"},this.onActiveItemIndexChange)}))}setActiveItem(e){this.didSetActiveItem=!0,this.setState({activeItemIndex:e,focusReason:"focus"})}getActiveItem(){return this.state.activeItemIndex}componentDidMount(){Yt(this.rootRef.current,this.activeItem.current),this.onActiveItemIndexChange()}componentDidUpdate(e,t){(this.didSetActiveItem||e.items.length!==this.props.items.length||t.activeItemIndex!==this.state.activeItemIndex)&&(this.didSetActiveItem=!1,Yt(this.rootRef.current,this.activeItem.current),"focus_within"!==this.state.focusReason&&function(e){if(!e)return;const t=e.children,n=t[0],r=n.matches||n.msMatchesSelector;1===t.length&&r.call(n,Wt.cO)?(e.removeAttribute("tabindex"),n.focus()):e.focus()}(this.activeItem.current))}render(){if("function"==typeof this.props.children){let e=!1,t=!1;const n=this.props.children({activeItemIndex:this.state.activeItemIndex,getContainerProps:()=>(e=!0,{onKeyDown:this.onKeyDown,ref:this.rootRef}),getItemProps:e=>{let{item:n}=e;(0,jt.kG)(n,"getItemProps must be called with `{ item }`");const r=this.props.items.findIndex((e=>e===n));(0,jt.kG)(r>-1,"getItemPropsL: Cannot find `item` in `props.items`");const o=r===this.state.activeItemIndex;return t=!0,{tabIndex:o?0:-1,ref:o?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Wt.cO)||this.setState({activeItemIndex:r,focusReason:"focus"},this.onActiveItemIndexChange)}}}});return(0,jt.kG)(n,"Did not return valid children"),(0,jt.kG)(e,"Did not call getContainerProps"),(0,jt.kG)(t,"Did not call getItemProps"),n}return a.createElement("div",{onKeyDown:this.onKeyDown,ref:this.rootRef,"data-testid":"accessible-collection"},this.props.items.map(((e,t)=>{const n=t===this.state.activeItemIndex;return a.createElement("div",{key:t,tabIndex:n?0:-1,ref:n?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Wt.cO)||this.setState({activeItemIndex:t,focusReason:"focus"},this.onActiveItemIndexChange)}},e)})))}}function Yt(e,t){if(!e||!t)return;(0,Wt.GO)(e).forEach((t=>{t.parentNode!==e&&t.setAttribute("tabindex","-1")})),Array.prototype.forEach.call(t.querySelectorAll('[tabindex="-1"]'),(e=>{e.removeAttribute("tabindex")}))}(0,yt.Z)(Xt,"defaultProps",{prevKey:Gt.rw,nextKey:Gt.cS,ignoreOnKeyPress:null});var Qt=n(67665),Jt=n(19575),en=n(42164),tn=n.n(en);const nn=["className","tag","announce"],rn=a.forwardRef((function(e,t){const{className:n,tag:r,announce:s}=e,u=(0,i.Z)(e,nn),c=s?{role:"status","aria-live":s}:{};return a.createElement(r||"p",(0,o.Z)({},u,{ref:t,className:l()(tn().visuallyHidden,n)},c))}));class on extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"_handleRef",(e=>{this._el=e,this._document=e?e.ownerDocument:null})),(0,yt.Z)(this,"_handleKeyDown",(e=>{const t=this._el,n=this._document;if(e.keyCode===Gt.OC&&t&&n){const r=(0,Wt.GO)(t),o=r.indexOf(n.activeElement);e.shiftKey&&0===o?(r[r.length-1].focus(),e.preventDefault()):e.shiftKey||o!==r.length-1||(r[0].focus(),e.preventDefault())}}))}componentDidMount(){this._document&&this._document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keydown",this._handleKeyDown);const e=this._el;if(e&&!e.querySelector('[autofocus]:not([autofocus="false"])')){const t=(0,Wt.GO)(e)[0]||e.querySelector('[tabindex="-1"]');t&&t.focus()}}componentWillUnmount(){this._document&&this._document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keydown",this._handleKeyDown)}render(){return a.createElement("div",{ref:this._handleRef},this.props.children)}}var an=n(35840),sn=n.n(an);const ln=["children","className","spaced"],un=["className","spaced"],cn=[];function dn(){const e=cn.length-1;cn.forEach(((t,n)=>{t.setState({isOnTop:n==e})}))}class pn extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"descriptionId",this.props.accessibilityDescription?`modal-description-${Jt.Base64.encode(this.props.accessibilityDescription).substr(0,10)}`:null),(0,yt.Z)(this,"restoreOnCloseElement",this.props.restoreOnCloseElement),(0,yt.Z)(this,"useBorderRadius",!1!==this.props.useBorderRadius),(0,yt.Z)(this,"state",{isShaking:!1,isOnTop:!0}),(0,yt.Z)(this,"_preventPropagation",(e=>{e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()})),(0,yt.Z)(this,"_handleClick",(()=>{this.props.onDismiss&&this.props.onDismiss()})),(0,yt.Z)(this,"onMount",(e=>{0===cn.length&&e.setAttribute("aria-hidden","true"),cn.push(this),dn()})),(0,yt.Z)(this,"onUnmount",(e=>{cn.pop(),0===cn.length&&e.removeAttribute("aria-hidden"),dn(),this.restoreOnCloseElement&&this.restoreOnCloseElement.focus()})),(0,yt.Z)(this,"_handleKeyDown",(e=>{e.keyCode!==Gt.E$&&e.keyCode!==Gt.tW||e.nativeEvent.stopImmediatePropagation(),this.props.onEscape&&e.keyCode===Gt.zz&&(this.props.onEscape(),e.preventDefault(),e.target.ownerDocument.addEventListener("keyup",this._preventPropagation,{capture:!0,once:!0})),this.props.onEnter&&e.keyCode===Gt.E$&&(this.props.onEnter(),e.preventDefault())})),(0,yt.Z)(this,"_handleAnimationEnd",(()=>{this.setState({isShaking:!1})}))}shake(){this.setState({isShaking:!0})}componentDidMount(){this.props.innerRef&&(this.props.innerRef.current=this)}componentWillUnmount(){this.props.innerRef&&(this.props.innerRef.current=null)}render(){var e,t;const{isShaking:n,isOnTop:r}=this.state,{className:o,backdropFixed:i}=this.props,s=r?on:a.Fragment,u={position:i?"fixed":"absolute"};return a.createElement(Qt.m,{onMount:this.onMount,onUnmount:this.onUnmount},a.createElement("div",{"aria-hidden":!r},a.createElement(s,null,a.createElement("div",{className:l()(sn().backdropContainer,"PSPDFKit-Modal-Backdrop"),style:u,onClick:this._handleClick,onKeyDown:r?this._handleKeyDown:void 0},a.createElement("div",{role:this.props.role,"aria-label":this.props.accessibilityLabel,"aria-describedby":this.props.accessibilityDescription&&null!==(e=this.descriptionId)&&void 0!==e?e:void 0,className:l()(sn().dialog,o,"PSPDFKit-Modal-Dialog",{[sn().shaking]:n,[sn().squareCorners]:!this.useBorderRadius}),onTouchEndCapture:this._preventPropagation,onMouseUpCapture:this._preventPropagation,onPointerUpCapture:this._preventPropagation,onKeyUpCapture:this._preventPropagation,onAnimationEnd:this._handleAnimationEnd,tabIndex:-1},this.props.children,this.props.accessibilityDescription&&a.createElement(rn,{id:null!==(t=this.descriptionId)&&void 0!==t?t:void 0},this.props.accessibilityDescription))))))}}function hn(e){const{children:t,className:n,spaced:r}=e,s=(0,i.Z)(e,ln),u=l()(sn().section,r&&sn().sectionSpaced,r&&"PSPDFKit-Modal-Section-Spaced",n,"PSPDFKit-Modal-Section");return a.createElement("div",(0,o.Z)({},s,{className:u}),t)}function fn(e){const{className:t,spaced:n}=e,r=(0,i.Z)(e,un),s=l()(sn().divider,n&&sn().dividerSpaced,n&&"PSPDFKit-Modal-Divider-Spaced",t,"PSPDFKit-Modal-Divider");return a.createElement("div",(0,o.Z)({},r,{className:s}))}(0,yt.Z)(pn,"Section",hn),(0,yt.Z)(pn,"Divider",fn),(0,yt.Z)(pn,"defaultProps",{role:"dialog"}),hn.displayName="Modal.Section",hn.defaultProps={spaced:!1},fn.displayName="Modal.Divider",fn.defaultProps={spaced:!0};var mn=n(90315),gn=n.n(mn);const vn=a.forwardRef((function(e,t){const n=a.useRef(null);return a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const e=n.current;return null==e||e.showModal(),()=>{null==e||e.close()}}),[]),a.createElement("dialog",{ref:n,className:l()("PSPDFKit-Modal-Backdrop",gn().wrapper,e.wrapperClass),onClose:e.onDismiss},a.createElement("form",{method:"dialog",className:e.formClass},e.children))}));var yn=n(64550),bn=n.n(yn);const wn=e=>{let{message:t,progress:n,style:r}=e;if(n){const e=Math.floor(100*n);return a.createElement("div",{className:l()("PSPDFKit-Progress",bn().progress),style:r,role:"progressbar","aria-valuenow":e,"aria-label":`${e}% complete`},a.createElement("div",{className:bn().progressBar},a.createElement("div",{className:bn().progressFill,style:{width:`${e}%`}})),t?a.createElement("div",{className:bn().progressText},t):null)}return a.createElement("div",{className:l()("PSPDFKit-Progress",bn().loader),style:r,role:"progressbar","aria-valuenow":0,"aria-label":"0% complete"},a.createElement("div",{className:bn().loaderDot}),a.createElement("div",{className:bn().loaderDot}),a.createElement("div",{className:bn().loaderDot}))};var xn=n(8134),Dn=n.n(xn);const Cn=["className","children"];function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;tt=>{const{className:n,children:r}=t,o=Sn(Sn({},(0,i.Z)(t,Cn)),{},{className:l()(Dn()[e],n)});return a.createElement(e,o,r)},Pn=_n("p");Pn.displayName="Text";const kn=_n("h1");kn.displayName="HeaderText";var An=n(24470),zn=n.n(An);const Tn=["secureTextEntry","error","success","selectTextOnFocus","onBlur","onFocus"],On=(e,t)=>{const n=a.useRef(null);a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const{selectTextOnFocus:t,autoFocus:n}=e;t&&n&&r()}),[]);const r=a.useCallback((()=>{const{selectTextOnFocus:t}=e,{current:r}=n;r&&(t&&r.select(),h&&h())}),[]),{secureTextEntry:s,error:u,success:c,selectTextOnFocus:d,onBlur:p,onFocus:h}=e,f=(0,i.Z)(e,Tn),m=l()({[zn().default]:!u&&!c,[zn().error]:u,[zn().success]:c},e.className),g=s?"password":"text";return a.createElement("input",(0,o.Z)({},f,{className:m,type:g,ref:n,onFocus:r,onBlur:p}))},In=a.memo(a.forwardRef(On));var Fn=n(53261),Mn=n(47963),Rn=n.n(Mn);function jn(e){let{inputName:t,label:n,options:r,onChange:o,selectedOption:i,labelClassNamePrefix:s,disabled:u=!1,showLabel:c,isButton:d,wrapperClasses:p}=e;return a.createElement("div",{className:l()(Rn().radioGroup,{[p]:p}),"aria-label":n,role:"radiogroup"},r.map((e=>{let{value:n,label:r,iconPath:p}=e;const h=n===i,f=l()(Rn().iconLabel,{[Rn().iconLabelIsActive]:h,[`${s}-${n}`]:!0,[`${s}-active`]:h,[Rn().focusedLabelFocusVisible]:h,[Rn().selectedLabel]:h&&d,[Rn().radioGroupLabel]:!h&&d,[Rn().fullWidthRadio]:d});return a.createElement("label",{key:n,className:f},a.createElement(rn,{tag:"span"},r),a.createElement("input",{type:"radio",name:t,value:n,checked:h,onChange:e=>o(e.target.value),"aria-label":r,disabled:u}),d&&h&&a.createElement(Fn.Z,{src:p,className:l()(Rn().icon,{[Rn().radioGroupIcon]:d})}),!d&&a.createElement(Fn.Z,{src:p,className:Rn().icon}),c&&a.createElement("span",null,r))})))}var Bn=n(5612),Nn=n.n(Bn);let Ln=0;function Kn(e){const t=a.useRef(Ln++),{label:n,accessibilityLabel:r,onUpdate:o}=e,i=a.useCallback((e=>{o(e.target.checked)}),[o]);const s=l()(Nn().label,e.styles.label);return a.createElement("div",{className:e.styles.controlWrapper},a.createElement("div",{className:e.styles.control},a.createElement("div",{className:l()("PSPDFKit-Checkbox-Input",e.className,Nn().root)},a.createElement("input",{className:l()(Nn().input,e.styles.input),type:"checkbox",id:`${Nn().label}-${t.current}`,onChange:i,checked:e.value}),e.label?a.createElement("label",{htmlFor:`${Nn().label}-${t.current}`,className:s},n):r?a.createElement("label",{htmlFor:`${Nn().label}-${t.current}`,className:s},a.createElement(rn,{tag:"span"},r)):null)))}var Vn=n(4345),qn=n(80703),Hn=n(35583),Zn={isHistory:e=>(0,Hn.P)(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||qn.OX.isOperationList(e.redos[0].operations))&&(0===e.undos.length||qn.OX.isOperationList(e.undos[0].operations))},Un=(new WeakMap,new WeakMap),$n=new WeakMap,Gn={isHistoryEditor:e=>Zn.isHistory(e.history)&&qn.ML.isEditor(e),isMerging:e=>$n.get(e),isSaving:e=>Un.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Gn.isMerging(e);$n.set(e,!1),t(),$n.set(e,n)},withoutSaving(e,t){var n=Gn.isSaving(e);Un.set(e,!1),t(),Un.set(e,n)}},Wn=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!qn.y$.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!qn.y$.equals(e.path,t.path)),Xn=(e,t)=>"set_selection"!==e.type,Yn=n(23629),Qn=n.n(Yn),Jn=n(71815);const er=/["'&<>]/;function tr(e){const t=""+e,n=er.exec(t);if(!n)return t;let r,o="",i=0,a=0;for(i=n.index;ior(e,n))).flat();switch(0===r.length&&r.push((0,Jn.jsx)("text",n,"")),e.nodeName.toUpperCase()){case"BR":return(0,Jn.jsx)("text",t,"\n");case"SPAN":{const t=function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("data-user-id")}(e);if(t)return(0,Jn.jsx)("element",{type:"mention",userId:t,displayName:cr(ir(r))},r);if(function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("style")}(e)&&!function(e){return"underline"===e.style.textDecoration&&!e.style.color&&!e.style.backgroundColor}(e)){const t=ar(e.getAttribute("style")||""),n=t.color?Dr(t.color):void 0,o=t["background-color"]?Dr(t["background-color"]):void 0;return(0,Jn.jsx)("element",{type:"style",fontColor:n,backgroundColor:o},r)}return r}case"P":return(0,Jn.jsx)("element",{type:"paragraph"},r);case"A":return(0,Jn.jsx)("element",{type:"link",url:e.getAttribute("href")},r);default:return r}}function ir(e){function t(e){var t;if(function(e){return qn.xv.isText(e)}(e)){let t=tr(e.text);return e.bold&&(t=`${t}`),e.italic&&(t=`${t}`),e.underline&&(t=`${t}`),t}const n=null===(t=e.children)||void 0===t?void 0:t.map((e=>ir(e))).join("");switch(e.type){case"paragraph":return`

${n}

`;case"link":return`
${n}`;case"mention":return`${e.displayName}`;case"style":{const t=sr(e);return`${n}`}default:return n}}return Array.isArray(e)?e.map((e=>t(e))).join(""):t(e)}function ar(e){return e?((e=e.trim()).endsWith(";")&&(e=e.slice(0,-1)),e.split(";").map((e=>e.split(":").map((e=>e.trim())))).reduce(((e,t)=>{let[n,r]=t;return rr(rr({},e),{},{[n]:r})}),{})):{}}function sr(e){let t="";return e.fontColor&&(t+=`color: ${e.fontColor};`),e.backgroundColor&&(t+=`background-color: ${e.backgroundColor};`),t}function lr(e,t){const n=qn.ML.marks(e);return!!n&&!0===n[t]}const ur=(e,t)=>{lr(e,t)?qn.ML.removeMark(e,t):qn.ML.addMark(e,t,!0)};function cr(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function dr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(new DOMParser).parseFromString(e,"text/html")}function pr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(e||"").match(/(<[^<>]+>)/g)||[],n={pre:[],post:[]};return t.forEach((e=>{if(e.startsWith("");e.startsWith(""))})),n}function hr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return dr(e).body.innerHTML}function fr(e){let{changeUnderlineCSStoHTML:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=dr(e).body;if(0===n.childNodes.length){const e=document.createElement("p");return n.appendChild(e),n}const r=document.createElement("body");let o=[];return[...n.childNodes].forEach(((e,t)=>{const i=n.childNodes.length-1===t;if("P"===e.nodeName.toUpperCase()||i){if(i&&"P"!==e.nodeName.toUpperCase()&&o.push(e),o.length){const e=document.createElement("p");o.forEach((t=>{e.appendChild(t)})),r.appendChild(e),o=[]}"P"===e.nodeName.toUpperCase()&&r.appendChild(e)}else o.push(e)})),r.childNodes.forEach((e=>{var n,r,o,i,a,s;(null===(n=(r=e).querySelectorAll)||void 0===n||n.call(r,"p").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),null===(o=(i=e).querySelectorAll)||void 0===o||o.call(i,"div").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),t)&&(null===(a=(s=e).querySelectorAll)||void 0===a||a.call(s,"span").forEach((e=>{if("underline"===e.style.textDecoration){const t=document.createElement("u");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML,e.style.textDecoration="",e.style.cssText||(e.removeAttribute("style"),e.attributes.length||e.replaceWith(...e.childNodes))}})))})),r}function mr(e){if(!e)return!1;const{selection:t}=e;return!!t&&qn.e6.isExpanded(t)&&""!==qn.ML.string(e,t)}function gr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const{selection:n}=e;if(n){const[r]=qn.e6.edges(n),o=qn.ML.before(e,r,{distance:t,unit:"character"}),i=o&&qn.ML.range(e,o,r);return{text:i&&qn.ML.string(e,i),range:i}}return null}function vr(e){return e&&(" "===e.text||!e.range)}function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function br(e){for(var t=1;t{let[,t]=e;return void 0!==t})).map((e=>{let[t,n]=e;return`${t}: ${n}`})).join("; ").concat(";")}function xr(e,t,n){const r=fr(e,{changeUnderlineCSStoHTML:!1});function o(e){var t;const n=null===(t=e.closest("p"))||void 0===t?void 0:t.textContent;return e.textContent===n&&!e.closest("span[style]")}return r.querySelectorAll("p").forEach((e=>{const{isBold:r,isUnderlined:i,isItalic:a}=Cr(e);if("fontColor"===t){let t=!1;if(e.querySelectorAll("span[style]").forEach((e=>{o(e)?(t=!0,e.setAttribute("style",wr(e,"fontColor",n))):(e.style.color="",""===e.style.cssText&&e.replaceWith(...e.childNodes))})),!t){const t=document.createElement("span");t.setAttribute("style",wr(t,"fontColor",n)),t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("underline"===t){const t=e.querySelectorAll("span[style]");if(i)t.forEach((e=>{e.style.textDecoration=""}));else{let n=!1;if(t.forEach((e=>{o(e)&&(n=!0,e.style.textDecoration="underline")})),!n){const t=document.createElement("span");t.style.textDecoration="underline",t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}t.forEach((e=>{o(e)?e.style.textDecoration=i?"":"underline":(e.style.textDecoration="",""===e.style.cssText&&e.replaceWith(...e.childNodes))}))}else if("bold"===t){const t=e.querySelectorAll("b");if(r)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("b");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("italic"===t){const t=e.querySelectorAll("i, em");if(a)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("i");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}})),r.innerHTML}function Dr(e){if(!e)return"";if(e.startsWith("rgb")){return`#${e.replace("rgb(","").replace(")","").split(",").map((e=>parseInt(e,10))).map((e=>e.toString(16))).map((e=>1===e.length?`0${e}`:e)).join("")}`}return e.startsWith("#")&&9===e.length?`#${e.substr(3,6)}`:7===e.length&&e.startsWith("#")?e:"#000000"}function Cr(e){const t=e.querySelectorAll("span[style]"),n=Array.from(t).filter((t=>t.textContent===e.textContent)),r=n.filter((e=>e.style.color)),o=n.filter((e=>e.style.backgroundColor)),i=n.filter((e=>"underline"===e.style.textDecoration)),a=e.querySelectorAll("b"),s=Array.from(a).filter((t=>t.textContent===e.textContent)),l=e.querySelectorAll("i, em"),u=Array.from(l).filter((t=>t.textContent===e.textContent));return{fontColor:r.length>0?Dr(r[r.length-1].style.color):null,backgroundColor:o.length>0?Dr(o[o.length-1].style.backgroundColor):null,isUnderlined:i.length>0,isBold:s.length>0,isItalic:u.length>0}}function Er(e){const t=fr(e,{changeUnderlineCSStoHTML:!1}).querySelectorAll("p"),n=Array.from(t).map((e=>Cr(e)));return{fontColor:n.every((e=>{let{fontColor:t}=e;return t&&t===n[0].fontColor}))?n[0].fontColor:null,isUnderlined:n.every((e=>{let{isUnderlined:t}=e;return t&&t===n[0].isUnderlined})),isBold:n.every((e=>{let{isBold:t}=e;return t&&t===n[0].isBold})),isItalic:n.every((e=>{let{isItalic:t}=e;return t&&t===n[0].isItalic})),backgroundColor:n.every((e=>{let{backgroundColor:t}=e;return t&&t===n[0].backgroundColor}))?n[0].backgroundColor:null}}function Sr(e,t){var n;const{selection:r}=e;if(!r)return;const[...o]=Array.from(qn.ML.nodes(e,{at:qn.ML.unhangRange(e,r),match:e=>!qn.ML.isEditor(e)&&_r(e)})),i=o.map((e=>{let[t]=e;return t}));if(!i)return;const a=i.map((e=>Dr(e[t])));return 1===new Set(a).size&&null!==(n=a[0])&&void 0!==n?n:void 0}function _r(e){return"style"===e.type}function Pr(e,t){const{selection:n}=e;n&&qn.e6.isCollapsed(n)?qn.YR.insertNodes(e,t):(qn.YR.wrapNodes(e,t,{split:!0}),qn.YR.collapse(e,{edge:"end"}))}function kr(e,t){qn.YR.unwrapNodes(e,{match:e=>!qn.ML.isEditor(e)&&qn.W_.isElement(e)&&e.type===t})}function Ar(e,t,n){(0,jt.kG)(e,"Editor is not defined.");const[r]=qn.ML.nodes(e,{match:e=>!qn.ML.isEditor(e)&&qn.W_.isElement(e)&&_r(e)});r?qn.YR.setNodes(e,{[t]:n},{match:e=>_r(e),split:!0}):Pr(e,{type:"style",[t]:n,children:[{text:""}]})}function zr(e){var t;const{selection:n}=e;if(!n)return!1;const[...r]=Array.from(qn.ML.nodes(e,{at:qn.ML.unhangRange(e,n),match:e=>!qn.ML.isEditor(e)&&_r(e)})),o=r.map((e=>{let[t]=e;return t}));return!(null==o||null===(t=o[0])||void 0===t||!t.underline)}function Tr(e,t){const n=or(fr(e));qn.YR.insertFragment(t,n)}function Or(e){return"mention"===e.type}const Ir=e=>{const{insertData:t,isInline:n,markableVoid:r,isVoid:o}=e;return e.isInline=e=>"link"===e.type||Or(e)||"style"===e.type||n(e),e.isVoid=e=>Or(e)||o(e),e.markableVoid=e=>Or(e)||r(e),e.insertData=n=>{try{const r=n.getData("text/html");if(r)return void Tr(r,e);t(n)}catch(t){!function(e){let{html:t,editor:n}=e;try{qn.YR.insertNodes(n,{type:"style",contentEditable:!1,fontSize:0,children:[{text:"​"}]}),Tr(t,n)}catch(e){return!1}}({html:n.getData("text/html"),editor:e})}},e};var Fr,Mr;const Rr="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),jr="undefined"!=typeof navigator&&/Chrome/.test(navigator.userAgent),Br=a.forwardRef(((e,t)=>{let{text:n,style:r,updateBoundingBox:o,onValueChange:i,onBlurSave:s,maxLength:u,onStopEditing:c,onEscape:d,lastMousePoint:p,onEditorInit:h,className:f,placeholder:m,onBlur:g,autoFocus:v=!0,onSelectionChange:y,autoOpenKeyboard:b=!0,onKeyDown:w,keepSelectedTool:x,title:D="Rich text editor",shadowRoot:C}=e;const{value:E,wrapperTags:S}=(0,a.useMemo)((()=>({wrapperTags:pr(n),value:hr(n)})),[n]),_=(0,a.useRef)(null),P=a.useRef(E),k=(0,a.useMemo)((()=>Ir((e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&qn.YR.setSelection(t,r.selectionBefore),Gn.withoutSaving(t,(()=>{qn.ML.withoutNormalizing(t,(()=>{for(var e of r.operations)t.apply(e)}))})),e.redos.pop(),e.undos.push(r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];Gn.withoutSaving(t,(()=>{qn.ML.withoutNormalizing(t,(()=>{var e=r.operations.map(qn.OX.inverse).reverse();for(var n of e)t.apply(n);r.selectionBefore&&qn.YR.setSelection(t,r.selectionBefore)}))})),e.redos.push(r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],s=a&&a.operations[a.operations.length-1],l=Gn.isSaving(t),u=Gn.isMerging(t);if(null==l&&(l=Xn(e)),l){if(null==u&&(u=null!=a&&(0!==r.length||Wn(e,s))),a&&u)a.operations.push(e);else{var c={operations:[e],selectionBefore:t.selection};i.push(c)}for(;i.length>100;)i.shift();o.redos=[]}n(e)},t})((0,Vn.BU)((0,qn.Jh)())))),[]),A=(0,a.useCallback)((e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}),[]);(0,a.useEffect)((()=>{const e=_.current;function t(t){var n,r;const o=null==t||null===(n=t.target)||void 0===n?void 0:n.shadowRoot,i=o?null==o||null===(r=o.elementFromPoint)||void 0===r||null===(r=r.call(o,t.x,t.y))||void 0===r?void 0:r.parentElement:t.target,a=!(null==i||!i.closest(".PSPDFKit-Text-Annotation-Toolbar, .PSPDFKit-Input-Dropdown-Items, .PSPDFKit-Input-Dropdown-Button"));null!=e&&e.contains(t.target)||null==s||s({isTextToolbarClicked:a,isNativeBlurEvent:!0})}return null==e||e.ownerDocument.addEventListener("pointerdown",t,{capture:!0}),qn.YR.select(k,qn.ML.end(k,[])),()=>{null==e||e.ownerDocument.removeEventListener("pointerdown",t,{capture:!0})}}),[k,s]);const z=(0,a.useMemo)((()=>or(fr(E))),[E]),T=(0,a.useCallback)((e=>a.createElement(Kr,e)),[]),O=(0,a.useCallback)((e=>a.createElement(Nr,e)),[]);(0,a.useEffect)((()=>(null==h||h(k),()=>{null==h||h(null)})),[k,h]),(0,a.useEffect)((()=>{v&&(Vn.F3.focus(k),x?b||setTimeout((()=>{Vn.F3.blur(k)}),0):setTimeout((()=>{Vn.F3.blur(k),Vn.F3.focus(k),b||Vn.F3.blur(k)}),0))}),[b]),(0,a.useEffect)((()=>{setTimeout((()=>{if(p&&_.current){const e=(0,jt.Qo)(p,_.current.ownerDocument);if(!e)return;const t=Vn.F3.toSlatePoint(k,[e.startContainer,e.startOffset],{exactMatch:!0,suppressThrow:!0});t&&qn.YR.select(k,t)}}),0)}),[k,p,t]);const I=(0,a.useCallback)((e=>{if("Escape"!==e.key)return"Enter"===e.key&&e.shiftKey?(null==c||c(),void e.preventDefault()):void(u&&cr(P.current).length>=u&&e.preventDefault());null==d||d(e)}),[u,d,c]),F=(0,a.useCallback)((()=>{const{selection:e}=k;if(e&&qn.e6.isCollapsed(e)){var t,n,r;const[i]=qn.e6.edges(e),a=gr(k,2);if((null!=a&&null!==(t=a.text)&&void 0!==t&&t.startsWith(" ")||1===(null==a||null===(n=a.text)||void 0===n?void 0:n.length))&&null!=a&&null!==(r=a.text)&&void 0!==r&&r.endsWith("@")){var o;(0,jt.kG)(a,"lastTwoCharacters should be defined");const e=null===(o=gr(k))||void 0===o?void 0:o.range;return e?{query:"",target:e}:null}{const e=qn.ML.before(k,i,{unit:"word"}),t=e&&qn.ML.before(k,e),n=t&&qn.ML.range(k,t,i),r=n&&qn.ML.string(k,n),o=r&&r.match(/^@(\w+)$/),a=qn.ML.after(k,i),s=qn.ML.range(k,i,a),l=qn.ML.string(k,s).match(/^(\s|$)/);return o&&l&&n?{query:o[1],target:n}:null}}return null}),[k]),M=(0,a.useCallback)((e=>{var t;k.operations.every((e=>"set_selection"===e.type))&&(null==y||y(),"onSelectionChange"in k&&"function"==typeof k.onSelectionChange&&k.onSelectionChange());const n=e.map((e=>ir(e))).join("");P.current=n,i(`${S.pre.join("")}${n}${S.post.join("")}`,{activeMention:null!==(t=F())&&void 0!==t?t:null}),null==o||o(),"onValueChange"in k&&"function"==typeof k.onValueChange&&k.onValueChange(n)}),[i,o,S,k,y,F]);return a.createElement("div",{role:"presentation",className:l()(Qn().richTextEditor,"PSPDFKit-Rich-Text-Editor",f),style:r,ref:(0,jt.FE)(t,_),onBlur:()=>{null==s||s({}),null==g||g()},onDragStart:A,onDragEnd:A,onKeyUp:A,onMouseDown:A,onPointerUp:A,onTouchStart:A,onTouchEnd:A,onMouseUp:A},a.createElement(Vn.mH,{onChange:M,editor:k,value:z},a.createElement(Vn.CX,{title:D,placeholder:m,renderLeaf:O,renderElement:T,onInput:o,className:Qn().wrapper,onKeyDown:e=>{w?w(e):(I(e),(e.metaKey||e.ctrlKey)&&"b"===e.key?(e.preventDefault(),ur(k,"bold")):(e.metaKey||e.ctrlKey)&&"i"===e.key?(e.preventDefault(),ur(k,"italic")):(e.metaKey||e.ctrlKey)&&"u"===e.key&&(e.preventDefault(),ur(k,"underline")),Rr&&!Vn.F3.isComposing(k)&&setTimeout(k.onChange,10),ht.vU&&C&&Vn.F3.focus(k))}})))})),Nr=e=>{let{attributes:t,children:n,leaf:r}=e;return r.bold&&(n=a.createElement("strong",null,n)),r.italic&&(n=a.createElement("em",null,n)),r.underline&&(n=a.createElement("u",null,n)),a.createElement("span",t,n)},Lr=()=>a.createElement("span",{contentEditable:!1,style:{fontSize:0}},"$",String.fromCodePoint(160)),Kr=e=>{const{attributes:t,children:n,element:r}=e;switch(r.type){case"link":return a.createElement("a",(0,o.Z)({},t,{href:r.url}),Fr||(Fr=a.createElement(Lr,null)),n,Mr||(Mr=a.createElement(Lr,null)));case"mention":return a.createElement("span",(0,o.Z)({},t,{contentEditable:jr?void 0:t.contentEditable,"data-user-id":r.userId}),n,"@",r.displayName);case"style":return a.createElement("span",(0,o.Z)({},t,{style:{color:r.fontColor,backgroundColor:r.backgroundColor}}),n);default:return a.createElement("p",t,n)}};var Vr=n(87360),qr=n.n(Vr),Hr=n(54941);const Zr=["onMention","users","onValueChange","mentionDropdownClassName","mentionListRenderer","mentionListClassName","onEditorInit","maxMentionSuggestions","onMentionSuggestionsOpenChange"],Ur=a.forwardRef(((e,t)=>{let{onMention:n,users:r,onValueChange:s,mentionDropdownClassName:l,mentionListRenderer:u,mentionListClassName:c,onEditorInit:d,maxMentionSuggestions:p=5,onMentionSuggestionsOpenChange:h}=e,f=(0,i.Z)(e,Zr);const[m,g]=a.useState([]),[v,y]=(0,a.useState)(null),b=(0,a.useRef)(null),[w,x]=(0,a.useState)(null),[D,C]=(0,a.useState)(0),E=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>({startMention:()=>{const e=b.current;(0,jt.kG)(e,"Editor ref is not set");const t=gr(e,1);qn.YR.insertText(e,vr(t)?"@":" @"),Vn.F3.focus(e)}})));const S=(0,a.useCallback)((e=>{null==n||n(e);const t={userId:e.id,displayName:e.displayName||e.name,children:[{text:""}],type:"mention"};(0,jt.kG)(b.current,"Editor ref is not set"),(0,jt.kG)(v,"Target is not set"),qn.YR.select(b.current,v),qn.YR.insertNodes(b.current,t),qn.YR.move(b.current),qn.YR.insertText(b.current," "),C(0),g([]),y(null)}),[n,v]),_=(0,a.useCallback)((e=>{null==d||d(e),b.current=e}),[d]),P=(0,a.useCallback)((e=>{"ArrowDown"===e.key?(e.preventDefault(),C((e=>(e+1)%m.length))):"ArrowUp"===e.key?(e.preventDefault(),C((e=>(e-1+m.length)%m.length))):"Enter"===e.key?(e.preventDefault(),S(m[D])):"Escape"===e.key&&(e.preventDefault(),C(0),g([]),y(null))}),[m,D,S,v]);(0,a.useEffect)((()=>{if(E.current){const e=E.current.querySelector('[data-highlighted="true"]');e&&e.scrollIntoView({block:"nearest"})}}),[D]);const k=!(!v||!m.length);return(0,a.useEffect)((()=>{null==h||h(k)}),[h,k]),a.createElement(Hr.fC,{modal:!1,open:k},a.createElement(Hr.xz,{asChild:!0},a.createElement(Br,(0,o.Z)({},f,{onValueChange:function(e,t){var n;null==s||s(e,t);const{activeMention:o}=t;if(y(null!==(n=null==o?void 0:o.target)&&void 0!==n?n:null),o)if(o.query.length){const e=qr().go(o.query,r,{keys:["name","displayName","description"]});g(e.slice(0,p).map((e=>e.obj)))}else g(r.slice(0,p));else g([]);C(0)},onEditorInit:_,ref:e=>{var t,n;e&&x(null!==(t=null===(n=e.ownerDocument)||void 0===n?void 0:n.body)&&void 0!==t?t:null)},onKeyDown:k?P:void 0}))),a.createElement(Hr.h_,{container:w},a.createElement(Hr.VY,{onOpenAutoFocus:e=>e.preventDefault(),className:l,role:"menu",ref:E,onInteractOutside:()=>{g([]),y(null)}},m.map(((e,t)=>a.createElement("div",{role:"menuitem",tabIndex:t===D?0:-1,"data-highlighted":t===D,key:e.id,className:c,onClick:()=>{S(e)},onMouseEnter:()=>C(t)},(null==u?void 0:u(e))||a.createElement("div",null,e.name)))))))}));var $r=n(12921),Gr=n(95189),Wr=n.n(Gr),Xr=n(58729),Yr=n.n(Xr);function Qr(e){let{label:t,trigger:n,items:r,container:o=document.body,alignContent:i="center",className:s}=e;return a.createElement("div",{className:l()(Yr().wrapper,s)},a.createElement($r.fC,null,a.createElement($r.xz,{asChild:!0},a.createElement("button",{className:Yr().trigger,"aria-label":t},n||a.createElement(Fn.Z,{src:Wr(),className:Yr().triggerIcon}))),a.createElement($r.Uv,{container:o},a.createElement($r.VY,{className:Yr().content,align:i},r.map(((e,t)=>(0,a.isValidElement)(e)?a.createElement(a.Fragment,{key:t},e):a.createElement($r.ck,{key:t,className:Yr().item,onSelect:e.onClick},e.content,e.helperText&&a.createElement("div",{className:Yr().itemHelperText},e.helperText))))))))}function Jr(e){let{checked:t,onCheckedChange:r,children:o}=e;return a.createElement($r.oC,{className:l()(Yr().item,Yr().checkboxItem),checked:t,onCheckedChange:r},t&&a.createElement(Fn.Z,{src:n(79579),className:Yr().itemCheckmark}),a.createElement("span",null,o))}const eo=function(){return a.createElement("div",{role:"separator",className:Yr().separatorItem})}},39236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Ye});var r=n(35369),o=n(15359),i=n(82654),a=n(96156),s=n(69847),l=n(44550),u=n(52163);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t0&&e.width<=ie.Qr?(l=Math.round(e.width),u=Math.round(l*s.height/s.width)):"height"in e&&"number"==typeof e.height&&e.height>0&&e.height<=ie.Qr?(u=Math.round(e.height),l=Math.round(u*s.width/s.height)):se(!1,`Could not calculate cover dimensions. Values must be in the interval \`(0; ${ie.Qr}]\`.`);const c=i.annotations.filter((e=>e.pageIndex===t&&!(e instanceof j.Jn||e instanceof j.On&&i.commentThreads.has(e.id)))).toList(),d=i.formFields.filter((e=>e.annotationIds.some((e=>{const n=i.annotations.get(e);return!(!n||n.pageIndex!==t)})))),p=(0,W.Qg)(d);se(i.backend);const{promise:h}=i.backend.corePDFBridge.renderTile(t,new j.$u({width:l,height:u}),new j.UL({width:l,height:u}),!1,!0,{annotations:c,formFieldValues:p,formFields:d.toList(),attachments:i.attachments,signatures:i.digitalSignatures&&i.digitalSignatures.signatures}),{element:f}=await h;return{element:f,width:l,height:u}}var ue=n(18287),ce=n(13422),de=n(96650),pe=n(5709),he=n(82716);const fe=["search.stateChange","search.termChange"];var me=n(30006);const ge=(0,z.Z)("StampAnnotationTemplates");var ve=n(1990),ye=n(20253),be=n(6197);function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t{e.setFormJSONUpdateBatchMode(!1)})))}var ze=n(49876);const Te=["history.undo","history.redo","history.change","history.willChange","history.clear"];var Oe=n(75287),Ie=n(65652),Fe=n(713);const Me=(0,z.Z)("DocumentEditorFooterItem");var Re=n(3792);const je=["documentComparisonUI.start","documentComparisonUI.end"];var Be=n(8210);var Ne=n(17310),Le=n(58163),Ke=n(44156),Ve=n(2891),qe=n(4526),He=n(55752),Ze=n(11267);const Ue=(0,z.Z)(),$e=["instant.connectedClients.change","page.press","textLine.press","annotationPresets.update","annotationNote.hover","annotationNote.press"],Ge=[function(e,t){Object.defineProperty(t,"editableAnnotationTypes",{enumerable:!0,configurable:!1,get:()=>e.getState().editableAnnotationTypes}),t.setEditableAnnotationTypes=function(t){if(!Array.isArray(t))throw new o.p2("editableAnnotationTypes must be an array of annotation types.");if(!t.every((e=>e&&e.prototype&&(e.prototype instanceof q.Z||e==q.Z))))throw new o.p2("editableAnnotationTypes must be an array of annotation types.");e.dispatch((0,f.ZV)((0,r.l4)(t)))},t.setIsEditableAnnotation=function(t){if("function"!=typeof t)throw new o.p2("The type for isEditableAnnotation is not valid. Must be `function`.");e.dispatch((0,f.R1)(t))}},function(e,t){const n=()=>e.getState().annotationPresets;Object.defineProperty(t,"annotationPresets",{enumerable:!0,configurable:!1,get:()=>n().toObject()}),Object.defineProperty(t,"currentAnnotationPreset",{enumerable:!0,configurable:!1,get:()=>e.getState().currentItemPreset}),t.setAnnotationPresets=function(t){let o=t;"function"==typeof t&&(o=t.call(null,n().toObject())),T("object"==typeof o,`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an object.`),Object.values(o).forEach(A.G);const i=(0,r.D5)(o);n().equals(i)||e.dispatch((0,k.QA)(i))},t.setCurrentAnnotationPreset=function(t){const n=e.getState();"string"==typeof t&&(0,o.kG)(void 0!==n.annotationPresets.get(t),`There is no annotation preset with the supplied 'annotationPresetID' ${t}`),e.dispatch((0,k.Ds)(t))}},function(e,t){const n=()=>[...e.getState().stampAnnotationTemplates];Object.defineProperty(t,"stampAnnotationTemplates",{enumerable:!0,configurable:!1,get:()=>n()}),t.setStampAnnotationTemplates=function(t){let r=t;"function"==typeof r&&(r=r.call(null,n())),ge(Array.isArray(r),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),r.forEach(me.wB);const o=n();JSON.stringify(o)!==JSON.stringify(r)&&e.dispatch((0,k.fx)([...r]))}},Ce.ZP,function(e,t){const n=()=>e.getState().toolbarItems;Object.defineProperty(t,"toolbarItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),t.setToolbarItems=function(t){let i=t;"function"==typeof i&&(i=i.call(null,n().toJS())),De(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`);const{backend:a}=e.getState();i=i.map((e=>"ink-signature"===e.type?((0,o.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),xe(xe({},e),{},{type:"signature"})):e)).filter((e=>"content-editor"!==e.type||"SERVER"!==(null==a?void 0:a.type)||((0,o.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1))),i.forEach(be.G);const s=(0,r.d0)(i);n().equals(s)||e.dispatch((0,ye.De)(s))},t.setAnnotationToolbarItems=t=>{(0,o.kG)("function"==typeof t,"The annotationToolbarItemsCallback argument must be a function."),e.dispatch((0,ye.v1)(t))}},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("annotations.willChange","annotations.change","annotations.willSave","annotations.didSave","annotations.load","annotations.create","annotations.update","annotations.delete","annotations.press","annotations.focus","annotations.blur","annotations.transform","annotations.cut","annotations.copy","annotations.paste","annotations.duplicate");let n=e.getState().annotations;const r=()=>t.emit("annotations.willSave"),o=()=>t.emit("annotations.didSave"),i=e=>t.emit("annotations.load",e),a=e=>t.emit("annotations.create",e),s=e=>t.emit("annotations.update",e),l=e=>t.emit("annotations.delete",e);let u=!1;const c=()=>{if(!u){const{annotationManager:t}=e.getState();t&&(t.eventEmitter.on("willSave",r),t.eventEmitter.on("didSave",o),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),u=!0)}},d=e.subscribe((()=>{const r=e.getState().annotations;n!==r&&(n=r,t.emit("annotations.change")),c()}));return c(),()=>{if(u){const{annotationManager:t}=e.getState();V(t,"AnnotationManager is not present in the state"),t.eventEmitter.off("willSave",r),t.eventEmitter.off("didSave",o),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),u=!1}d()}}(e);return t.getAnnotations=async function(t){V("number"==typeof t,"`pageIndex` must be a number");const{annotationManager:n,totalPages:r}=e.getState();V(t>-1&&te.pageIndex===t)).toList()},t.createAttachment=async function(t){const{hash:n}=await(0,B.uq)(t),r=new j.Pg({data:t});return e.dispatch((0,L.O)({hash:n,attachment:r})),n},t.getAttachment=async function(t){if(!(0,F.F3)(t))throw new o.p2(`${t} is not a valid attachment.`);const n=e.getState(),r=n.attachments.get(t);if(r){if(r.data)return r.data;throw new o.p2(`Attachment ${t} not found.`)}return V(n.backend),n.backend.getAttachment(t)},t.calculateFittingTextAnnotationBoundingBox=function(t){V(t instanceof O.gd,"The annotation in `calculateFittingTextAnnotationBoundingBox(annotation)` must be of type `PSPDFKit.Annotations.TextAnnotation`"),V("number"==typeof t.pageIndex,"`pageIndex` must be a number");const{viewportState:n,shadowRoot:r}=e.getState(),o=n.pageSizes.get(t.pageIndex);return V(o,"`pageIndex` is not a valid page index in the open document"),(0,N.Zv)(t,o,void 0,r)},t.getEmbeddedFiles=async function(){const{backend:t}=e.getState();return V(t),t.getEmbeddedFiles()},t.setOnAnnotationResizeStart=function(t){e.dispatch((0,k.dt)(t))},t.getOverlappingAnnotations=async function(t){V(t instanceof O.q6||t instanceof K.ZP,"Argument must be an annotation or a form field");const{annotationManager:n,annotations:o}=e.getState();if(t instanceof K.ZP){const i=t.annotationIds?t.annotationIds:(0,r.aV)(),a=o.valueSeq().toList().filter((e=>i.includes(e.id)||i.includes(String(e.pdfObjectId)))),s=a.map((e=>e.pageIndex)),l=s.filter(((e,t)=>s.indexOf(e)===t));for(let e=0;ea.some((t=>t.pageIndex===e.pageIndex)))).filter((e=>!(e instanceof O.x_&&e.formFieldName!==t.formFieldName)));let c,d=(0,r.aV)();return u.size>0&&(c=a.map((e=>e.boundingBox)),d=u.filter((e=>c.some((t=>e.boundingBox.isRectOverlapping(t)))))),d}{await(null==n?void 0:n.loadAnnotationsForPageIndex(t.pageIndex));const{annotations:r}=e.getState();return r.filter((e=>!(e.id===t.id))).filter((e=>e.boundingBox.isRectOverlapping(t.boundingBox)&&e.pageIndex===t.pageIndex)).valueSeq().toList()}},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("bookmarks.change","bookmarks.willSave","bookmarks.didSave","bookmarks.load","bookmarks.create","bookmarks.update","bookmarks.delete");const n=()=>t.emit("bookmarks.change"),r=()=>t.emit("bookmarks.willSave"),o=()=>t.emit("bookmarks.didSave"),i=e=>t.emit("bookmarks.load",e),a=e=>t.emit("bookmarks.create",e),s=e=>t.emit("bookmarks.update",e),l=e=>t.emit("bookmarks.delete",e);let u=!1;const c=()=>{if(!u){const{bookmarkManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",r),t.eventEmitter.on("didSave",o),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),u=!0)}},d=e.subscribe(c);return c(),()=>{if(u){const{bookmarkManager:t}=e.getState();t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",r),t.eventEmitter.off("didSave",o),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),u=!1}d()}}(e);return t.getBookmarks=async function(){var t;const n=await(null===(t=e.getState().bookmarkManager)||void 0===t?void 0:t.getBookmarks());return H(n),n.toList()},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("formFieldValues.update","formFieldValues.willSave","formFieldValues.didSave","forms.willSubmit","forms.didSubmit","formFields.change","formFields.willSave","formFields.didSave","formFields.load","formFields.create","formFields.update","formFields.delete");const n=e.getState();let{formFields:r}=n;const o=()=>t.emit("formFieldValues.willSave"),i=()=>t.emit("formFieldValues.didSave"),a=e=>t.emit("formFieldValues.update",e),s=e=>t.emit("forms.willSubmit",e),l=e=>t.emit("forms.didSubmit",e),u=()=>t.emit("formFields.willSave"),c=()=>t.emit("formFields.didSave"),d=e=>t.emit("formFields.load",e),p=e=>t.emit("formFields.create",e),h=e=>t.emit("formFields.update",e),f=e=>t.emit("formFields.delete",e);let m=!1,g=!1;const v=()=>{const t=e.getState();if(!m){const{formFieldValueManager:e}=t;e&&(e.eventEmitter.on("willSave",o),e.eventEmitter.on("didSave",i),e.eventEmitter.on("update",a),e.eventEmitter.on("willSubmit",s),e.eventEmitter.on("didSubmit",l),m=!0)}if(!g){const{formFieldManager:e}=t;e&&(0,b.ix)(t)&&(e.eventEmitter.on("willSave",u),e.eventEmitter.on("didSave",c),e.eventEmitter.on("load",d),e.eventEmitter.on("create",p),e.eventEmitter.on("update",h),e.eventEmitter.on("delete",f),g=!0)}},y=e.subscribe((()=>{const n=e.getState().formFields;r!==n&&(r=n,t.emit("formFields.change")),v()}));return v(),()=>{if(m){const{formFieldValueManager:t}=e.getState();t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",i),t.eventEmitter.off("update",a),t.eventEmitter.off("willSubmit",s),t.eventEmitter.off("didSubmit",l),m=!1}if(g){const{formFieldManager:t}=e.getState();t.eventEmitter.off("willSave",u),t.eventEmitter.off("didSave",c),t.eventEmitter.off("load",d),t.eventEmitter.off("create",p),t.eventEmitter.off("update",h),t.eventEmitter.off("delete",f),g=!1}y()}}(e);return t.getFormFields=async function(){const{features:t,formFieldManager:n,formsEnabled:r}=e.getState();Q(t.includes(l.q.FORMS),M.DR),Q(r,M.BZ),n instanceof X.c&&await n.loadFormFields();const{formFields:o}=e.getState();return o.valueSeq().toList()},t.getFormFieldValues=function(){const{formFields:t,features:n,formsEnabled:o}=e.getState();return Q(n.includes(l.q.FORMS),M.DR),Q(o,M.BZ),(0,W.Qg)(t).reduce(((e,t)=>(e[t.name]=t.value instanceof r.aV?t.value.toJS():t.value,e)),{})},t.setFormFieldValues=async function(t){const{formFieldManager:n,features:o,formsEnabled:i}=e.getState();Q(o.includes(l.q.FORMS),M.DR),Q(i,M.BZ),n instanceof X.c&&await n.loadFormFields();const{formFields:a}=e.getState(),s=Object.keys(t).map((e=>{const n=a.get(e);Q(a.has(e),`Tried to set the form field value for form field \`${e}\` which does not exist.`);const o=Array.isArray(t[e])?(0,r.aV)(t[e]):t[e];return n&&(0,M._1)(n,o),{name:e,value:o,optionIndexes:void 0}}));return new Promise((t=>{e.dispatch((0,Y.xh)(s,t))})).then((()=>{})).catch((e=>{throw e}))},t.setOnWidgetAnnotationCreationStart=function(t){const{features:n}=e.getState();Q("function"==typeof t,"The callback must be a function."),Q(n.includes(l.q.FORMS),M.DR),Q(n.includes(l.q.FORM_DESIGNER),M.RB),e.dispatch((0,Y.r$)(t))},n},ve.Z,function(e,t){function n(){const{selectedAnnotationIds:t,annotations:n}=e.getState();return(0,r.aV)(t.map((e=>{const t=n.get(e);return(0,o.kG)(t),t})))}function i(t,n){if(!t)return void e.dispatch((0,P.fz)());const i=r.aV.isList(t)?t:(0,r.aV)([t]),{annotations:a}=e.getState(),s=e.getState(),u=i.map((t=>{const n=t instanceof O.q6?t.id:t;(0,o.kG)("string"==typeof n,"annotationId must be a string"),(0,o.kG)(a.has(n),"Unknown annotationId. Either the annotation was not yet created or is not yet loaded from the annotation provider.");const r=a.get(n);return(0,o.kG)(r&&(0,F.Fp)(r),"Annotations with the `noView` or `hidden` flag set cannot be selected."),r instanceof O.x_&&!s.formDesignMode?e.dispatch((0,k.vy)(n)):((0,o.kG)(!(r instanceof O.x_)||s.features.includes(l.q.FORM_DESIGNER),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${M.RB}`),(0,o.kG)(!(r instanceof O.x_)||(0,b.k_)(s.backend),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${M.Bl}`)),n}));if(1===u.size){const t=a.get(u.first());e.dispatch((0,P.J4)(u.toSet(),t instanceof O.gd||t instanceof O.Qi?n:I.o.SELECTED))}else e.dispatch((0,P.J4)(u.toSet(),I.o.SELECTED))}t.getSelectedAnnotation=function(){(0,o.XV)("getSelectedAnnotation","getSelectedAnnotations",!1);const e=n();return e.size>0?e.first():null},t.getSelectedAnnotations=function(){const e=n();return e.size>0?e:null},t.setSelectedAnnotation=function(e){(0,o.XV)("setSelectedAnnotation","setSelectedAnnotations",!1),i(e,I.o.SELECTED)},t.setSelectedAnnotations=function(e){i(e,I.o.SELECTED)},t.groupAnnotations=function(t){if(!t||0===(null==t?void 0:t.size))return;const n=null==t?void 0:t.map((e=>e instanceof O.q6?e.id:e));e.dispatch((0,f._R)(n.toSet()))},t.getAnnotationsGroups=function(){const{annotationsGroups:t}=e.getState();return t.size>=1?t:null},t.deleteAnnotationsGroup=function(t){t&&e.dispatch((0,f.UZ)(t))},t.setEditingAnnotation=function(t,n){e.dispatch((0,P.fz)()),!0===n&&e.dispatch((0,P.Y1)()),i(t,I.o.EDITING)};let a=n();const{eventEmitter:s}=e.getState();return s.events.push(...R),e.subscribe((()=>{const e=n();a.every((t=>e.some((e=>e.id===t.id))))&&a.size===e.size?a=e:(a=e,s.emit("annotationSelection.change",e))}))},function(e,t){t.setCustomOverlayItem=function(t){G(t instanceof $.Z,"invalid item. Expected an instance of PSPDFKit.CustomOverlayItem"),(0,$.G)(t),e.dispatch((e=>({type:U.jJ7,item:e}))(t))},t.removeCustomOverlayItem=function(t){G("string"==typeof t,"`id` must be a string"),e.dispatch((e=>({type:U.G8_,id:e}))(t))}},function(e,t){t.setLocale=async function(t){const n=(0,J.z5)(t);await(0,J.sS)(n),e.dispatch((0,f.i_)(n))},Object.defineProperty(t,"locale",{enumerable:!0,configurable:!1,get:()=>e.getState().locale})},function(e,t){const n=()=>e.getState().searchState;t.search=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{backend:r,totalPages:o,searchState:{minSearchQueryLength:i}}=e.getState(),a=null!=n.startPageIndex?n.startPageIndex:0,s=null!=n.endPageIndex?n.endPageIndex:o-1,l=n.searchType||de.S.TEXT,u=n.searchInAnnotations||!1,c="boolean"==typeof n.caseSensitive?n.caseSensitive:l!==de.S.TEXT;return(0,he.k)(Object.values(de.S).includes(l),"searchType is not valid."),l===de.S.PRESET&&(0,he.k)(Object.values(pe.n).includes(t),"search query is not a valid search pattern."),(0,he.k)("number"==typeof a&&"number"==typeof s,"startPageIndex/endPageIndex must be numbers"),(0,he.k)("boolean"==typeof u,"searchInAnnotations should be boolean"),(0,he.k)(void 0===n.caseSensitive||"boolean"==typeof n.caseSensitive,"caseSensitive should be boolean"),(0,he.k)(s>=a,"endPageIndex must be greater than or equal to startPageIndex"),(0,he.k)(t.length>=i,`"${t}" - search query length (${t.length}) shorter than the minimum (${i})`),(0,he.k)(r),await r.search(t,a,s-a+1,c,u,l)},Object.defineProperty(t,"searchState",{enumerable:!0,configurable:!1,get:n}),t.setSearchState=function(t){let i=t;if("function"==typeof i&&(i=i.call(null,n())),!(i instanceof ce.Z)){const e="function"==typeof i?"return value of your update function":"supplied argument";throw new o.p2(`The ${e} is not an instance of PSPDFKit.SearchState.`)}const a=n();i.minSearchQueryLength!==a.minSearchQueryLength&&((0,o.ZK)(`Trying to set readonly property SearchState.minSearchQueryLength from ${a.minSearchQueryLength} to ${i.minSearchQueryLength} failed. For more details please see https://pspdfkit.com/api/web/PSPDFKit.SearchState.html#minSearchQueryLength`),i=i.set("minSearchQueryLength",a.minSearchQueryLength)),function(e){if("boolean"!=typeof e.isFocused)throw new o.p2("`isFocused` must be of type boolean.");if("boolean"!=typeof e.isLoading)throw new o.p2("`isLoading` must be of type boolean.");if("string"!=typeof e.term)throw new o.p2("`term` must be of type string.");if("number"!=typeof e.focusedResultIndex)throw new o.p2("`focusedResultIndex` must be of type number.");if(!(e.results instanceof r.aV))throw new o.p2("`results` must be of type PSPDFKit.Immutable.List.")}(i),function(e,t,n){const{dispatch:r}=e;t!==n&&r((0,ue.j8)(n))}(e,n(),i)},t.startUISearch=function(t){const{dispatch:n,getState:r}=e,{searchProvider:o,eventEmitter:i,searchState:{minSearchQueryLength:a}}=r();let s=!1;i.emit("search.termChange",{term:t,preventDefault:()=>{s=!0}}),s||((0,he.k)(t.length>=a,`"${t}" - search query length (${t.length}) shorter than the minimum (${a})`),n((0,ue.Xe)()),n((0,ue._8)(t)),null==o||o.searchTerm(t))};let i=e.getState();const{eventEmitter:a}=i;return a.events.push(...fe),e.subscribe((()=>{const t=e.getState();i.searchState.equals(t.searchState)||a.emit("search.stateChange",t.searchState),i=t}))},function(e,t){t.renderPageAsArrayBuffer=async function(t,n){const{element:r,width:o,height:i}=await le(t,n,e);let a;if(r instanceof HTMLImageElement){const e=document.createElement("canvas");e.width=o,e.height=i,a=e.getContext("2d"),await(0,ae.sR)(r),a.drawImage(r,0,0,o,i)}else r instanceof HTMLCanvasElement?a=r.getContext("2d"):se(!1,"There was an error while rendering the page. Please try again.");return a.getImageData(0,0,o,i).data.buffer},t.renderPageAsImageURL=async function(t,n){const{element:r}=await le(t,n,e);return r instanceof HTMLImageElement?r.src:r instanceof HTMLCanvasElement?URL.createObjectURL(await(0,ae._c)(r)):void se(!1,"There was an error while generating the image URL. Please try again.")}},function(e,t){async function n(){let{storedSignatures:t}=e.getState().signatureState;if(!t){const n=(0,te.de)();await n(e.dispatch,e.getState),t=e.getState().signatureState.storedSignatures}return t||(0,r.aV)()}async function o(t){let n=e.getState().signatureState.storedSignatures;const o=n instanceof r.aV;n||(n=await e.getState().signatureState.populateStoredSignatures());let i=t;"function"==typeof i&&(i=i.call(null,n)),ne(i instanceof r.aV&&i.every((e=>e instanceof j.Zc||e instanceof j.sK)),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not a PSPDFKit.Immutable.List of PSPDFKit.Annotations.InkAnnotation or PSPDFKit.Annotations.ImageAnnotation`),o&&n.equals(i)||(e.dispatch((0,te.nR)(i)),e.getState().eventEmitter.emit("inkSignatures.update",i),e.getState().eventEmitter.emit("inkSignatures.change"),e.getState().eventEmitter.emit("storedSignatures.update",i),e.getState().eventEmitter.emit("storedSignatures.change"))}e.getState().eventEmitter.events.push(...re,...oe),t.getInkSignatures=async function(){return(0,ee.XV)("instance.getInkSignatures","instance.getStoredSignatures"),n()},t.getStoredSignatures=n,t.setInkSignatures=async function(e){return(0,ee.XV)("instance.setInkSignatures","instance.setStoredSignatures"),o(e)},t.setStoredSignatures=o},Z.Z,function(e,t){t.setIsEditableComment=function(t){(0,o.kG)("function"==typeof t,"The type for isEditableComment is not valid. Must be `function`."),e.dispatch((0,f.Gh)(t))}},Ee.Z,function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("comments.change","comments.willSave","comments.didSave","comments.load","comments.create","comments.update","comments.delete","comments.mention");const n=()=>t.emit("comments.change"),r=()=>t.emit("comments.willSave"),o=()=>t.emit("comments.didSave"),i=e=>t.emit("comments.load",e),a=e=>t.emit("comments.create",e),s=e=>t.emit("comments.update",e),l=e=>t.emit("comments.delete",e);let u=!1;const c=()=>{if(!u){const{commentManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",r),t.eventEmitter.on("didSave",o),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),u=!0)}},d=e.subscribe(c);return c(),()=>{if(u){const{commentManager:t}=e.getState();t&&(t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",r),t.eventEmitter.off("didSave",o),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l)),u=!1}d()}}(e);return t.getComments=async function(){const{comments:t,backend:n}=e.getState(),r=t.filter((e=>!(0,Se.kT)(e))).toList();return r.size||null==n||!n.isUsingInstantProvider()?r:new Promise((t=>{const n=setInterval((()=>{const{hasFetchedInitialRecordsFromInstant:r,comments:o}=e.getState();r&&(clearInterval(n),t(o.filter((e=>!(0,Se.kT)(e))).toList()))}),500)}))},t.setMentionableUsers=function(t){e.dispatch((0,_e.v7)(t))},t.setMaxMentionSuggestions=function(t){e.dispatch((0,_e.aZ)(t))},t.setOnCommentCreationStart=function(t){(0,o.kG)("function"==typeof t,"The callback must be a function."),e.dispatch((0,_e.Rf)(t))},n},Pe.Z,function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("document.saveStateChange");const n=e=>{t.emit("document.saveStateChange",e)};let r=!1;const i=()=>{if(!r){const{changeManager:t}=e.getState();t&&(t.eventEmitter.on("saveStateChange",n),r=!0)}},a=e.subscribe((()=>{i()}));return i(),()=>{if(r){const{changeManager:t}=e.getState();(0,o.kG)(t),t.eventEmitter.off("saveStateChange",n),r=!1}a()}}(e);return t.save=async function(){const{changeManager:t}=e.getState();return(0,o.kG)(t),t.save(!0)},t.hasUnsavedChanges=function(){const{changeManager:t}=e.getState();return(0,o.kG)(t),t.hasUnsavedChanges()},t.syncChanges=async function(){const{backend:n}=e.getState();if((0,o.kG)(n),!n.isUsingInstantProvider())throw new o.p2("You need PSPDFKit Instant to use this method.");return t.save()},t.create=async function(t){const{changeManager:n,backend:r}=e.getState();return(0,o.kG)(n&&r),Ae(r,(()=>n.create(ke(t))))},t.update=async function(t){const{changeManager:n,backend:r}=e.getState();return(0,o.kG)(n&&r),Ae(r,(()=>n.update(ke(t))))},t.delete=async function(t){const{changeManager:n,backend:r}=e.getState();return(0,o.kG)(n&&r),Ae(r,(()=>n.delete(ke(t))))},t.ensureChangesSaved=async function(t){const{changeManager:n,backend:r}=e.getState();return(0,o.kG)(n&&r),"STANDALONE"===(null==r?void 0:r.type)&&await(null==r?void 0:r.setFormJSONUpdateBatchMode(!1)),n.ensureChangesSaved(ke(t))},n},Pe.Z,function(e,t){t.setGroup=function(t){const{backend:n}=e.getState();null!=n&&n.isCollaborationPermissionsEnabled()?e.dispatch((0,f.YK)(t)):(0,o.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")},t.resetGroup=function(){const{backend:t}=e.getState();null!=t&&t.isCollaborationPermissionsEnabled()?e.dispatch((0,f.YK)(t.getDefaultGroup())):(0,o.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")}},function(e,t){const n=()=>e.getState().documentEditorFooterItems,o=()=>e.getState().documentEditorToolbarItems;Object.defineProperty(t,"documentEditorFooterItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),Object.defineProperty(t,"documentEditorToolbarItems",{enumerable:!0,configurable:!1,get:()=>o().toJS()}),t.setDocumentEditorFooterItems=function(t){const{features:o}=e.getState();(0,he.k)(o.includes(l.q.DOCUMENT_EDITING),Z.I);let i=t;"function"==typeof i&&(i=i(n().toJS())),Me(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),i.forEach(Ie.G);const a=(0,r.d0)(i);var s;n().equals(a)||e.dispatch((s=a,{type:U.Kpf,documentEditorFooterItems:s}))},t.setDocumentEditorToolbarItems=function(t){const{features:n}=e.getState();(0,he.k)(n.includes(l.q.DOCUMENT_EDITING),Z.I);let i=t;"function"==typeof i&&(i=i(o().toJS())),Me(Array.isArray(i),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),i.forEach(Fe.G);const a=(0,r.d0)(i);var s;o().equals(a)||e.dispatch((s=a,{type:U.wPI,documentEditorToolbarItems:s}))}},function(e,t){function n(){const{isHistoryEnabled:t,undoActions:n}=e.getState();return t&&n.size>0}function r(){const{isHistoryEnabled:t,redoActions:n}=e.getState();return t&&n.size>0}e.getState().eventEmitter.events.push(...Te),t.history={},t.history.undo=async function(){return!!n()&&(e.dispatch((0,ze.Yw)()),!0)},t.history.redo=async function(){return!!r()&&(e.dispatch((0,ze.KX)()),!0)},t.history.canUndo=function(){return n()},t.history.canRedo=function(){return r()},t.history.clear=function(){e.dispatch((0,ze.QQ)())},t.history.enable=function(){e.dispatch((0,ze.z9)())},t.history.disable=function(){e.dispatch((0,ze.ou)())}},function(e,t){t.parseXFDF=async(t,n)=>{const{backend:r}=e.getState();return(0,o.kG)(r,"backend is null."),(0,o.kG)("STANDALONE"===r.type,"`instance.parseXFDF` only works in standalone mode."),r.parseXFDF(t,null!=n&&n)}},function(e,t){e.getState().eventEmitter.events.push(...je),t.setDocumentComparisonMode=async function(t){const{features:n,backend:r,viewportState:{documentComparisonMode:i}}=e.getState();if((0,o.kG)(n.includes(l.q.DOCUMENT_COMPARISON),u.nN),(0,o.kG)("STANDALONE"===(null==r?void 0:r.type),u.bZ),function(e){if("object"!=typeof e)throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration` must be a `PSPDFKit.DocumentComparisonConfiguration` plain object, or `null`.");if(null===e)return;if("boolean"!=typeof e.autoCompare)throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration.autoCompare` must be a boolean value.");if("object"!=typeof e.documentA||null===e.documentA)throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA` must be a plain object.");if("object"!=typeof e.documentB||null===e.documentB)throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB` must be a plain object.");if(!("string"==typeof e.documentA.source||e.documentA.source instanceof ArrayBuffer||e.documentA.source instanceof Promise))throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(!("string"==typeof e.documentB.source||e.documentB.source instanceof ArrayBuffer||e.documentB.source instanceof Promise))throw new o.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(void 0!==e.documentA.pageIndex&&"number"!=typeof e.documentA.pageIndex)throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentA#pageIndex` must be a number.");if(void 0!==e.documentB.pageIndex&&"number"!=typeof e.documentB.pageIndex)throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentB#pageIndex` must be a number.");if(void 0!==e.blendMode&&!Object.values(Re.b).includes(e.blendMode))throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.blendMode` must be a `PSPDFKit.BlendMode`.");if(void 0!==e.strokeColors&&("object"!=typeof e.strokeColors||null===e.strokeColors))throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors` must be a plain object.");if("object"==typeof e.strokeColors){if(void 0!==e.strokeColors.documentA&&!(e.strokeColors.documentA instanceof j.Il))throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` must be a `PSPDFKit.Color` value.");if(void 0!==e.strokeColors.documentB&&!(e.strokeColors.documentB instanceof j.Il))throw new o.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` must be a `PSPDFKit.Color` value.");e.strokeColors.documentA&&e.strokeColors.documentB&&e.strokeColors.documentA.equals(e.strokeColors.documentB)&&(0,o.ZK)("The values provided for `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` and `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` are identical.")}}(t),t)e.dispatch((0,f.cz)(t));else if(i){const{completion:{end:{promise:t}}}=i;return e.dispatch((0,f.cz)(null)),t}}},function(e,t){t.compareDocuments=async function(t,n){var r;const{backend:i,features:a}=e.getState();if("object"!=typeof t||null===t)throw new o.p2("`comparisonDocuments` must be a plain object.");(0,o.kG)(a.includes(l.q.TEXT_COMPARISON),p),(0,o.kG)("STANDALONE"===(null==i?void 0:i.type),h);const c=await async function(e){return(0,o.kG)(e.originalDocument.filePath),(0,o.kG)(e.changedDocument.filePath),{originalDocument:d(d({},(0,s.c)(e.originalDocument)),{},{arrayBuffer:await(0,u.rh)(e.originalDocument.filePath)}),changedDocument:d(d({},(0,s.c)(e.changedDocument)),{},{arrayBuffer:await(0,u.rh)(e.changedDocument.filePath)})}}(t);return(0,o.kG)(i),(0,o.kG)("STANDALONE"===i.type,"compareDocuments is only supported in the web standalone."),null===(r=i.compareDocuments)||void 0===r?void 0:r.call(i,c,n)}},function(e,t){t.getPageTabOrder=async function(t){const{pages:n,backend:r}=e.getState();if((0,o.kG)(r),"STANDALONE"!==r.type)throw new o.p2("`instance.getTabOrder()` is only available in Standalone mode.");if("number"!=typeof t)throw new o.p2("pageIndex must be a number.");if(t>=n.size||t<0)throw new o.p2(`pageIndex is out of bounds. Please provide a value between 0 and ${n.size-1}.`);const i=n.get(t);if(!i)throw new o.p2(`Cannot retrieve tab order for page: page ${t} does not exist.`);if(i.tabOrder)return i.tabOrder;await r.provider.updateTabOrder(t);const{pages:a}=e.getState(),s=a.get(t);if(!s)throw new o.p2(`Cannot retrieve tab order for page: page ${t} does not exist.`);if(!s.tabOrder)throw new o.p2(`Cannot retrieve tab order for page: page ${t} does not have a tab order.`);return s.tabOrder},t.setPageTabOrder=async function(t,n){if("function"!=typeof n)throw new o.p2("annotationIdsSortCallback must be a function.");const{backend:r,annotations:i,pages:a}=e.getState();if((0,o.kG)(r),"STANDALONE"!==r.type)throw new o.p2("`instance.getTabOrder()` is only available in Standalone mode.");if(!a.get(t))throw new o.p2(`Cannot set tab order for page: page ${t} does not exist.`);const s=n((await this.getPageTabOrder(t)).map((e=>i.get(e))).filter(Boolean));if(!Array.isArray(s))throw new o.p2("annotationIdsSortCallback must return an array of annotation IDs.");const l=s.map((e=>{const t=i.get(e);if(!t)throw new o.p2(`Annotation with ID ${e} does not exist.`);return{id:t.id,pdfObjectId:t.pdfObjectId}}));return e.dispatch((0,k.N1)(t,l)),r.provider.setTabOrder(t,l)}},Oe.ZP],We="You need PSPDFKit Instant to use this method.",Xe="You need to enable clients presence in your configuration (`instant: { clientsPresenceEnabled: true }`) to use this method.";class Ye{constructor(e){let{store:t,backend:n,eventEmitter:a}=e;a.events.push(...$e);let s=!1;const u=Ge.map((e=>e(t,this)));let c=(0,r.D5)();t.dispatch((0,f.lW)((e=>{s||(c=e.map((e=>(0,g.B)(e))),a.emit("instant.connectedClients.change",c))}))),Object.defineProperty(this,"totalPageCount",{enumerable:!0,configurable:!1,get:()=>t.getState().totalPages}),this.pageInfoForIndex=function(e){const n=t.getState().pages.get(e);return n?(0,m.J)(n):null},this.textLinesForPageIndex=async function(e){const{promise:t}=n.textForPageIndex(e);return t},this.toggleClipboardActions=function(e){Ue("boolean"==typeof e,"`toggleClipboardActions` expects a boolean as an argument"),t.dispatch((0,f.UG)(e))},this.setMeasurementSnapping=function(e){Ue("boolean"==typeof e,"`setMeasurementSnapping` expects a boolean as an argument"),Ue(t.getState().features.includes(l.q.MEASUREMENT_TOOLS),Ve.oD),t.dispatch((0,f.Gc)(e))},this.setMeasurementPrecision=function(e){Ue("string"==typeof e,"`setMeasurementPrecision` expects a string as an argument"),Ue(t.getState().features.includes(l.q.MEASUREMENT_TOOLS),Ve.oD),t.dispatch((0,f.M4)(e))},this.setMeasurementScale=function(e){Ue(e instanceof Le.Z,"`setMeasurementScale` expects an instance of `MeasurementScale` as an argument"),Ue(t.getState().features.includes(l.q.MEASUREMENT_TOOLS),Ve.oD),t.dispatch((0,f._b)(e))},this.setMeasurementValueConfiguration=e=>{Ue("function"==typeof e,"The `measurementValueConfigurationCallback` argument must be a function."),Ue(t.getState().features.includes(l.q.MEASUREMENT_TOOLS),Ve.oD),t.dispatch((0,f.QL)(e))},this.getMarkupAnnotationText=async function(e){return Ue(e instanceof v.Z,"annotation must be a PSPDFKit.Annotations.MarkupAnnotation"),n.getTextFromRects(e.pageIndex,e.rects)},this.getTextFromRects=async function(e,t){return Ue("number"==typeof e,"pageIndex must be a number"),Ue(t instanceof r.aV&&t.every((e=>e instanceof E.UL)),"rects must be a PSPDFKit.Immutable.List of PSPDFKit.Geometry.Rect"),n.getTextFromRects(e,t)},this.getDocumentPermissions=async function(){return(0,b.Pt)(t.getState())},Object.defineProperty(this,"currentZoomLevel",{enumerable:!0,configurable:!1,get:()=>t.getState().viewportState.zoomLevel}),Object.defineProperty(this,"annotationCreatorName",{enumerable:!0,configurable:!1,get:()=>t.getState().annotationCreatorName}),Object.defineProperty(this,"maximumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,y.Sm)(e)}}),Object.defineProperty(this,"minimumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,y.Yo)(e)}}),Object.defineProperty(this,"zoomStep",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return e.zoomStep}}),Object.defineProperty(this,"disablePointSnapping",{get(){const{viewportState:e}=t.getState();return e.disablePointSnapping}}),Object.defineProperty(this,"connectedClients",{enumerable:!0,configurable:!1,get:()=>n.isUsingInstantProvider()?n.hasClientsPresence()?c:((0,o.ZK)(Xe),(0,r.D5)()):((0,o.ZK)(We),(0,r.D5)())}),Object.defineProperty(this,"enableAlwaysScrollToZoom",{get(){const{viewportState:e}=t.getState();return e.enableAlwaysScrollToZoom}}),this.addEventListener=function(e,t){Ue("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),We),Ue("instant.connectedClients.change"!==e||n.hasClientsPresence(),Xe),Ue(!e.startsWith("comments.")||(0,b.xr)(n),We);const r=Qe(e);try{a.on(r,t)}catch(e){throw new o.p2(e)}},this.removeEventListener=function(e,t){Ue("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),We),Ue("instant.connectedClients.change"!==e||n.hasClientsPresence(),Xe);const r=Qe(e);try{a.off(r,t)}catch(e){throw new o.p2(e)}},this.jumpToRect=function(e,n){const{totalPages:r}=t.getState();Ue(e>=0&&e=0&&e=0&&n=0&&n=0&&n=0&&n`PSPDFKit.OfficeDocumentFormat.${e}`)).join(", ")}`);return n.exportOffice(e)},this.exportPDF=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=t.getState();if((0,b.RZ)(r)){var i;let t;return e.flattenElectronicSignatures&&"STANDALONE"===n.type&&(t=r.annotations.toList().filter((e=>(e instanceof He.Z||e instanceof qe.Z)&&e.isSignature)).map((e=>({pageIndex:e.pageIndex,id:e.id,pdfObjectId:e.pdfObjectId})))),n.exportPDF(e,null===(i=t)||void 0===i?void 0:i.toArray())}throw new o.p2("This document permissions do not allow exporting.")},this.exportXFDF=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return n.exportXFDF(e)},this.exportInstantJSON=async function(e){return n.exportInstantJSON(e)},this._destroy=function(){u.filter(Boolean).forEach((e=>{null==e||e()})),s=!0},this.print=function(e){const n=t.getState(),{isPrinting:r}=n,i=(0,b.VT)(n);e&&"object"!=typeof e&&(0,o.ZK)("PSPDFKit.Instance.print: options must be an object. If you want to pass the `printMode`, use `{ mode: PSPDFKit.PrintMode.DOM }` instead.");const a="object"==typeof e?e.mode:e;if(!i)throw new o.p2("Tried to start a print job while printing is disabled.");if(r)throw new o.p2("Tried to start a print job while another one was already being processed.\nUse PSPDFKit.Instance#abortPrint to terminate the current print job.\n ");if(a&&!Object.prototype.hasOwnProperty.call(C.X,a))throw new o.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");t.dispatch(_.S0({mode:a,excludeAnnotations:"object"==typeof e&&e.excludeAnnotations}))},this.setAnnotationCreatorName=function(e){const{annotationCreatorNameReadOnly:n}=t.getState();if(n)throw new o.p2("When the annotation creator name is defined on the JWT it can't be overriden.");t.dispatch((0,f.X8)(e))},this.setCustomRenderers=function(e){t.dispatch((0,f.jM)(e))},this.setCustomUIConfiguration=function(e){const{customUIStore:n}=t.getState();if((null==n?void 0:n.getState())===e)return;let r,o;r="function"==typeof e?e((null==n?void 0:n.getState())||null):e,(0,Be.a)(r),n||(o=new i.Z(r),t.dispatch((0,f.W)(o))),(n||o).setState(r)},this.setInlineTextSelectionToolbarItems=e=>{Ue("function"==typeof e,"The inlineTextSelectionToolbarItemsCallback argument must be a function."),t.dispatch((0,P.tu)(e))},this.abortPrint=function(){const e=t.getState(),{isPrinting:n}=e;if(!(0,b.VT)(e))throw new o.p2("Tried to terminate a print job while printing is disabled.");if(!n)throw new o.p2("No print job to abort found.");t.dispatch(_.xF())},this.getDocumentOutline=async function(){const e=t.getState();if(e.documentOutlineState.elements)return e.documentOutlineState.elements;Ue(e.backend);const n=await e.backend.getDocumentOutline();return t.dispatch((0,S.o)(n)),n},this.setDocumentOutline=async function(e){const n=t.getState();Ue(n.backend);try{await n.backend.setDocumentOutline(e)}catch(e){throw new o.p2(`Failed to set the document outline: ${e.message}`,e)}t.dispatch((0,S.o)(e))},this.getPageGlyphs=async function(e){const n=t.getState();return Ue(n.backend),Ue("number"==typeof e&&Number.isInteger(e)&&e>=0&&et.getState().frameWindow}),Object.defineProperty(this,"contentDocument",{enumerable:!0,configurable:!1,get(){var e;return t.getState().shadowRoot||(null===(e=t.getState().frameWindow)||void 0===e?void 0:e.document)}}),Object.defineProperty(this,"licenseFeatures",{enumerable:!0,configurable:!1,get:()=>t.getState().features}),"production"!==(0,x.zj)()&&(this._store=t,this._eventEmitter=a)}}function Qe(e){switch(e){case"annotations.onPress":case"textLine.onPress":case"page.onPress":{const t=e.replace(".onPress",".press");return(0,o.a1)(`The event ${e} was renamed and will be removed in a a future version. Please use ${t} instead.`),t}default:return e}}},7409:(e,t,n)=>{"use strict";n.d(t,{default:()=>Gt});var r=n(96156),o=n(17375);n(41817),n(72443),n(69007),n(83510),n(41840),n(32159),n(84944),n(86535),n(2707),n(33792),n(99244),n(61874),n(9494),n(56977),n(19601),n(38559),n(54678),n(91058),n(88674),n(17727),n(83593),n(24603),n(74916),n(92087),n(39714),n(27852),n(32023),n(4723),n(15306),n(64765),n(23123),n(23157),n(48702),n(55674),n(33105),n(3462),n(33824),n(12974),n(4129),n(33948),n(84633),n(85844),n(60285),n(83753),n(41637);"object"==typeof window&&(window._babelPolyfill=!1);var i=n(35369),a=n(15359),s=n(9948),l=n(86233),u=n(30874),c=n(11267),d=n(4715);function p(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function h(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,p(e,t,"get"))}function f(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,p(e,t,"set"),n),n}var m=n(63727),g=n(39236),v=n(21853);function y(e){if(null==e)throw new a.p2("Expected `PSPDFKit.unload` to be called with an `HTMLElement | string | PSPDFKit.Instance`\ninstead none was provided.");if("string"==typeof e){const t=e;if(null===(e=document.querySelector(t)))throw new a.p2(`Couldn't find a container which matches the provided selector \`${t}\``)}else if(!((0,v.Re)(e)||e instanceof g.Z))throw new a.p2("Expected `PSPDFKit.unload` to be called with a valid `target` argument.\nAllowed values for `target` are: `HTMLElement | string | PSPDFKit.Instance`.\n");let t;return e instanceof g.Z?t=m.ae.current.get(e):m.If.current.has(e)&&(t=m.If.current.get(e)),!!t&&(t(),!0)}var b=n(8898);function w(e,t){D(e,t),t.add(e)}function x(e,t,n){D(e,t),t.set(e,n)}function D(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var E=new WeakMap,S=new WeakMap,_=new WeakMap,P=new WeakMap,k=new WeakMap,A=new WeakMap,z=new WeakMap,T=new WeakMap,O=new WeakMap,I=new WeakSet,F=new WeakSet,M=new WeakSet,R=new WeakSet,j=new WeakSet,B=new WeakSet,N=new WeakSet,L=new WeakSet;class K{constructor(e){w(this,L),w(this,N),w(this,B),w(this,j),w(this,R),w(this,M),w(this,F),w(this,I),x(this,E,{writable:!0,value:void 0}),x(this,S,{writable:!0,value:void 0}),x(this,_,{writable:!0,value:void 0}),x(this,P,{writable:!0,value:void 0}),x(this,k,{writable:!0,value:void 0}),x(this,A,{writable:!0,value:void 0}),x(this,z,{writable:!0,value:void 0}),x(this,T,{writable:!0,value:void 0}),x(this,O,{writable:!0,value:void 0}),f(this,E,e)}annotationFocused(e){h(this,E).invokeMethodAsync(this.annotationFocused.name,e)}async annotationPressed(e){const t=await h(this,E).invokeMethodAsync("annotationsPressed",e.annotation.id,e.selected);e.preventDefault=t}annotationSelected(e){h(this,E).invokeMethodAsync(this.annotationSelected.name,e)}annotationToolbarButtonClicked(e,t){h(this,E).invokeMethodAsync(this.annotationToolbarButtonClicked.name,e,t)}annotationUnfocused(e){h(this,E).invokeMethodAsync(this.annotationUnfocused.name,e)}mainToolbarButtonClicked(e){h(this,E).invokeMethodAsync(this.mainToolbarButtonClicked.name,e)}subscribeToEvent(e,t){switch(e){case"annotations.change":f(this,S,(()=>C(this,I,V).call(this))),t.addEventListener(e,h(this,S));break;case"annotations.create":f(this,_,(e=>C(this,F,q).call(this,e))),t.addEventListener(e,h(this,_));break;case"annotations.delete":f(this,P,(e=>C(this,M,H).call(this,e))),t.addEventListener(e,h(this,P));break;case"annotations.didSave":f(this,k,(()=>C(this,R,Z).call(this))),t.addEventListener(e,h(this,k));break;case"annotations.load":f(this,A,(e=>C(this,j,U).call(this,e))),t.addEventListener(e,h(this,A));break;case"annotations.update":f(this,O,(e=>C(this,B,$).call(this,e))),t.addEventListener(e,h(this,O));break;case"annotations.willChange":f(this,z,(e=>C(this,N,G).call(this,e))),t.addEventListener(e,h(this,z));break;case"annotations.willSave":f(this,T,(()=>C(this,L,W).call(this))),t.addEventListener(e,h(this,T))}}unsubscribeFromEvent(e,t){switch(e){case"annotations.change":t.removeEventListener(e,h(this,S));break;case"annotations.create":t.removeEventListener(e,h(this,_));break;case"annotations.delete":t.removeEventListener(e,h(this,P));break;case"annotations.didSave":t.removeEventListener(e,h(this,k));break;case"annotations.load":t.removeEventListener(e,h(this,A));break;case"annotations.update":t.removeEventListener(e,h(this,O));break;case"annotations.willChange":t.removeEventListener(e,h(this,z));break;case"annotations.willSave":t.removeEventListener(e,h(this,T))}}viewStateUpdated(e,t){const{interactionMode:n,sidebarMode:r}=e;n==t.interactionMode&&r==t.sidebarMode||h(this,E).invokeMethodAsync(this.viewStateUpdated.name,JSON.stringify({interactionMode:n,sidebarMode:r}))}}function V(){h(this,E).invokeMethodAsync("annotationsChanged")}function q(e){h(this,E).invokeMethodAsync("annotationsCreated",JSON.stringify(e))}function H(e){h(this,E).invokeMethodAsync("annotationsDeleted",JSON.stringify(e))}function Z(){h(this,E).invokeMethodAsync("annotationsDidSave")}function U(e){h(this,E).invokeMethodAsync("annotationsLoaded",JSON.stringify(e))}function $(e){h(this,E).invokeMethodAsync("annotationsUpdated",JSON.stringify(e))}function G(e){h(this,E).invokeMethodAsync("annotationsWillChange",JSON.stringify(e.annotations),e.reason)}function W(){h(this,E).invokeMethodAsync("annotationsWillSave")}var X=n(90093),Y=n(11765);function Q(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}var J=new WeakMap;class ee{constructor(e){Q(this,J,{writable:!0,value:void 0}),f(this,J,e)}async applyRedactions(){await h(this,J).applyRedactions()}async createAnnotation(e){const[t]=await h(this,J).create((0,Y.vH)(null,JSON.parse(e)));return t.id}deleteAnnotations(e){h(this,J).delete(JSON.parse(e))}async exportInstantJSON(){return await h(this,J).exportInstantJSON()}async flattenAnnotations(e){h(this,J).applyOperations([{type:"flattenAnnotations",pageIndexes:e}])}async getAnnotations(e){const t=await h(this,J).getAnnotations(e),n=[];return t.forEach((e=>{try{const t=(0,Y.Hs)(e);n.push(t)}catch(e){if("Unsupported annotation type"!==e.message)throw e}})),JSON.stringify(n)}importInstantJSON(e){h(this,J).applyOperations([{type:"applyInstantJson",instantJson:e}])}setSelectedAnnotations(e){h(this,J).setSelectedAnnotations(null==e?null:(0,i.aV)(JSON.parse(e)))}updateAnnotation(e){const t=JSON.parse(e),n=(0,Y.vH)(t.id,t);h(this,J).update(n)}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;th(this,de)?h(this,de):e)),this.currentDocument.setAnnotationToolbarItems(((e,t)=>{let{defaultAnnotationToolbarItems:n}=t;const r=ae(this,ge,De).call(this,e),o=h(this,ce).get(r);return o||n})),ae(this,we,_e).call(this),l){const e={type:"custom",id:"file-picker",title:"Pick document",onPress:()=>{var e,n;(ae(this,ye,Ee).call(this),h(this,fe))||(f(this,fe,document.getElementById("filePicker")),null===(n=h(this,fe))||void 0===n||n.addEventListener("change",(e=>{var n;const r=null==e||null===(n=e.target)||void 0===n?void 0:n.files[0];if(r){const e=new FileReader;e.onload=async e=>{const n=new Uint8Array(e.target.result);this.unload(),await ae(this,me,xe).call(this,n.buffer,t)},e.readAsArrayBuffer(r)}})));null===(e=h(this,fe))||void 0===e||e.click()},icon:''};this.currentDocument.setToolbarItems((t=>[e,...t]))}}function De(e){if(e instanceof d.Zc)return d.Zc.readableName;if(e instanceof d.b3)return d.b3.readableName;if(e instanceof d.Xs)return d.Xs.readableName;if(e instanceof d.o9)return d.o9.readableName;if(e instanceof d.om)return d.om.readableName;if(e instanceof d.Hi)return d.Hi.readableName;if(e instanceof d.Wk)return d.Wk.readableName;if(e instanceof d.On)return d.On.readableName;if(e instanceof d.sK)return d.sK.readableName;if(e instanceof d.GI)return d.GI.readableName;if(e instanceof d.x_)return d.x_.readableName;if(e instanceof d.gd)return d.gd.readableName;if(e instanceof d.Qi)return d.Qi.readableName;if(e instanceof d.R1)return d.R1.readableName;throw"Unknown annotation type"}function Ce(e){return`Maui_${e}`}function Ee(){if(!h(this,pe)){const e=document.getElementById("documentLoadingIndicator");if(!e)return;f(this,pe,e)}h(this,pe).style.visibility="collapse"}function Se(e){const{interactionMode:t,sidebarMode:n,showToolbar:r}=JSON.parse(e);return new X.Z({interactionMode:t,showToolbar:r,sidebarMode:n})}function _e(){this.currentDocument.addEventListener("viewState.change",((e,t)=>{h(this,le).viewStateUpdated(e,t)})),this.currentDocument.addEventListener("annotations.focus",(e=>{h(this,le).annotationFocused(e.annotation.id)})),this.currentDocument.addEventListener("annotations.blur",(e=>{h(this,le).annotationUnfocused(e.annotation.id)})),this.currentDocument.addEventListener("annotationSelection.change",(e=>{e&&h(this,le).annotationSelected(e.id)})),this.currentDocument.addEventListener("annotations.press",(e=>{h(this,le).annotationPressed(e)}))}new class{constructor(){re(this,we),re(this,be),re(this,ye),re(this,ve),re(this,ge),re(this,me),oe(this,se,{writable:!0,value:"#pspdfkit"}),oe(this,le,{writable:!0,value:void 0}),oe(this,ue,{writable:!0,value:void 0}),oe(this,ce,{writable:!0,value:new Map}),oe(this,de,{writable:!0,value:void 0}),oe(this,pe,{writable:!0,value:void 0}),oe(this,he,{writable:!0,value:void 0}),oe(this,fe,{writable:!0,value:void 0})}initialize(e){f(this,le,new K(e))}async addAdvanceAccessScript(e){const t=document.getElementById("advanceAccess");t.src=e;const n=new Promise(((e,n)=>{t.onload=e,t.onerror=n}));await n}async loadDocumentFromPath(e,t){ae(this,ye,Ee).call(this),await ae(this,me,xe).call(this,e,t)}async loadDocumentFromBase64String(e,t){ae(this,ye,Ee).call(this),await ae(this,me,xe).call(this,`data:application/pdf;base64,${e}`,t)}async loadDocumentFromBuffer(e,t){ae(this,ye,Ee).call(this),await ae(this,me,xe).call(this,e.buffer,t)}async exportDocument(e){const t=JSON.parse(e),n=await this.currentDocument.exportPDF(t);return new Uint8Array(n)}setMainToolbarItems(e){var t;const n=JSON.parse(e);f(this,de,n),h(this,de).forEach((e=>{"custom"===e.type&&(e.onPress=(e,t)=>{h(this,le).mainToolbarButtonClicked(t)})})),null===(t=this.currentDocument)||void 0===t||t.setToolbarItems((e=>h(this,de)?h(this,de):e))}setAnnotationToolbarItems(e,t){var n;const r=JSON.parse(t);h(this,ce).set(e,r),h(this,ce).get(e).forEach((t=>{"custom"===t.type&&(t.onPress=(t,n)=>{h(this,le).annotationToolbarButtonClicked(e,n)})})),null===(n=this.currentDocument)||void 0===n||n.setAnnotationToolbarItems(((e,t)=>{let{defaultAnnotationToolbarItems:n}=t;const r=ae(this,ge,De).call(this,e),o=h(this,ce).get(r);return o||n}))}unload(){y("#pspdfkit")}setViewState(e,t){const n=this.currentDocument.viewState.set(e,t);this.currentDocument.setViewState(n)}async applyRedactions(){await h(this,ue).applyRedactions()}async createAnnotation(e){return await h(this,ue).createAnnotation(e)}async exportInstantJSON(){return JSON.stringify(await h(this,ue).exportInstantJSON())}async getAnnotations(e){return h(this,ue).getAnnotations(e)}importInstantJSON(e){h(this,ue).importInstantJSON(JSON.parse(e))}setSelectedAnnotations(e){h(this,ue).setSelectedAnnotations(e)}deleteAnnotations(e){h(this,ue).deleteAnnotations(e)}async flattenAnnotations(e){return await h(this,ue).flattenAnnotations(e)}updateAnnotation(e){h(this,ue).updateAnnotation(e)}subscribeToEvent(e){h(this,le).subscribeToEvent(e,this.currentDocument)}unsubscribeFromEvent(e){h(this,le).unsubscribeFromEvent(e,this.currentDocument)}showDocumentLoadingIndicator(){if(!h(this,pe)){const e=document.getElementById("documentLoadingIndicator");if(!e)return;f(this,pe,e)}h(this,pe).style.visibility="visible"}showGenericProcessingIndicator(){if(!h(this,he)){const e=document.getElementById("genericProcessingIndicator");if(!e)return;f(this,he,e)}h(this,he).style.visibility="visible"}hideGenericProcessingIndicator(){if(!h(this,he)){const e=document.getElementById("genericProcessingIndicator");if(!e)return;f(this,he,e)}h(this,he).style.visibility="collapse"}};var Pe=n(1858),ke=n(96706),Ae=n(2841),ze=n(99745),Te=n(60379),Oe=n(56874),Ie=n(10734),Fe=n(29435),Me=n(33622),Re=n(36828),je=n(34390),Be=n(56207),Ne=n(2282),Le=n(47120),Ke=n(74110),Ve=n(69842),qe=n(68944),He=n(48625),Ze=n(25673),Ue=n(14286),$e=n(59062),Ge=n(87996),We=n(44077),Xe=n(70025),Ye=n(26637),Qe=n(1990),Je=n(2464),et=n(13264),tt=n(91105),nt=n(27122);var rt=n(7202),ot=n(65369),it=n(39684),at=n(97586),st=n(38478),lt=n(81777),ut=n(13349),ct=n(31442),dt=n(38246),pt=n(57712),ht=n(41390),ft=n(73417),mt=n(66013),gt=n(58342),vt=n(21753),yt=n(68804),bt=n(13422),wt=n(5709),xt=n(96650),Dt=n(34923),Ct=n(2549),Et=n(62083),St=n(24126),_t=n(18009),Pt=n(74750),kt=n(93767),At=n(3792),zt=n(3888),Tt=n(42370),Ot=n(35062),It=n(94327),Ft=n(1385),Mt=n(97281),Rt=n(15650),jt=n(33383),Bt=n(58163),Nt=n(5705),Lt=n(74311),Kt=n(45249),Vt=n(33241);const qt=["color"];function Ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;t(0,Y.vH)(null,e),rotate:(e,t,n)=>{const r=(0,Nt.h4)(e,n);return(0,Nt.az)(r.set("rotation",t))}},AnnotationPresets:{toSerializableObject:Y.xT,fromSerializableObject:Y.MR},Comment:Be.ZP,Bookmark:ze.Z,CustomOverlayItem:Oe.Z,OutlineElement:Ie.Z,FormFields:{FormField:Pe.Wi,ButtonFormField:Pe.R0,CheckBoxFormField:Pe.rF,ChoiceFormField:Pe.Dz,ComboBoxFormField:Pe.fB,ListBoxFormField:Pe.Vi,RadioButtonFormField:Pe.XQ,TextFormField:Pe.$o,SignatureFormField:Pe.Yo,toSerializableObject:Y.vD,fromSerializableObject:e=>(0,Y.IN)(String(e.pdfObjectId),e)},FormFieldValue:Pe.KD,FormOption:Fe.Z,Callout:Kt.UW,Color:Te.Z,Instance:g.Z,preloadWorker:$t,load:m.zD,unload:y,convertToOffice:m.py,convertToPDF:m.eQ,populateDocumentTemplate:m.XV,Error:a.p2,SaveError:Ct.V,ViewState:X.Z,PageInfo:Re.Z,TextLine:je.Z,InstantClient:Me.Z,TextSelection:Qe.H,SearchResult:yt.Z,SearchState:bt.Z,AutoSaveMode:Le.u,SignatureSaveMode:at.f,LayoutMode:Ue.X,PrintMode:Xe.X,PrintQuality:Ye.g,ScrollMode:Je.G,ZoomMode:lt.c,InteractionMode:He.A,unstable_InkEraserMode:Ze.b,SidebarMode:nt.f,UIElement:{Sidebar:"Sidebar"},Alignment:kt.v,BlendMode:At.b,BorderStyle:zt.N,LineCap:Tt.u,SidebarPlacement:ot.d,SignatureAppearanceMode:it.H,ShowSignatureValidationStatusMode:ut.W,NoteIcon:$e.Zi,Theme:b.Q,ToolbarPlacement:et.p,ElectronicSignatureCreationMode:tt.M,I18n:vt.ZP,baseUrl:Ut,DocumentIntegrityStatus:Ke.QA,SignatureValidationStatus:Ke.qA,SignatureType:Ke.BG,SignatureContainerType:Ke.FR,PAdESLevel:Ke.hz,CertificateChainValidationStatus:Ke.wk,DocumentValidationStatus:Ve._,AnnotationsWillChangeReason:Ae.f,DocumentComparisonSourceType:rt.b,MeasurementScaleUnitFrom:It.s,MeasurementScaleUnitTo:Ft.K,MeasurementPrecision:Mt.L,MeasurementScale:Bt.Z,ProductId:jt.x,ProcessorEngine:Rt.l,Conformance:Lt.w,DocumentPermissions:Et.X,ComparisonOperation:Kt.Bd,DocumentDescriptor:Kt.ZS,ComparisonOperationType:u.b,OfficeDocumentFormat:c._,viewStateFromOpenParameters:st.s,get defaultElectronicSignatureColorPresets(){return(0,i.d0)(mt.Z).toJS().map((e=>{let{color:t}=e;return Zt(Zt({},(0,o.Z)(e,qt)),{},{color:new Te.Z(t)})}))},get defaultToolbarItems(){return ft.ZP.toJS()},get defaultDocumentEditorFooterItems(){return St.Z.toJS()},get defaultDocumentEditorToolbarItems(){return _t.Z.toJS()},get defaultAnnotationPresets(){return ct.ZP.toObject()},get defaultStampAnnotationTemplates(){return[...ht.ZP]},get defaultAnnotationsSidebarContent(){return Pt.Z.toJS()},defaultEditableAnnotationTypes:dt.Z,defaultElectronicSignatureCreationModes:pt.Z,defaultSigningFonts:gt.Z,Options:Ge.Options,SearchPattern:wt.n,SearchType:xt.S,UIDateTimeElement:Ot.Y,generateInstantId:Dt.C,Font:Ne.Z}},6502:(e,t,n)=>{"use strict";n.d(t,{TU:()=>m,aG:()=>h,gH:()=>g,oo:()=>f});var r=n(15359),o=n(67366),i=n(35369),a=n(77897),s=n(40084),l=n(96706),u=n(97395),c=n(87996),d=n(4087),p=n(66701);const h=e=>(t,n)=>{!function e(c){try{if(c instanceof l.lm){(0,r.kG)("string"==typeof c.uri,"URIAction requires `uri`");const e=n();(!e.onOpenURI||e.onOpenURI(c.uri,!0))&&(0,u.Z)(c.uri)}else if(c instanceof l.Di)(0,r.kG)("number"==typeof c.pageIndex,"GoToAction requires `pageIndex`"),t((0,s.YA)(c.pageIndex));else if(c instanceof l.BO)(0,r.kG)("boolean"==typeof c.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.yM)(c.fields,c.includeExclude));else if(c instanceof l.pl)(0,r.kG)("string"==typeof c.uri,"ResetFormAction requires `uri`"),(0,r.kG)("boolean"==typeof c.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.V6)(c));else{if(!(c instanceof l.ZD))throw new r.p2(`Annotation action not handled: ${c.constructor.name}`);{(0,r.kG)(i.aV.isList(c.annotationReferences),"HideAction must have `annotationReferences`");const{annotations:e,formFields:a}=n(),s=c.annotationReferences.map((e=>"fieldName"in e&&a.get(e.fieldName))),l=c.annotationReferences.map((t=>"pdfObjectId"in t&&"number"==typeof t.pdfObjectId?e.find((e=>e.pdfObjectId===t.pdfObjectId)):null));(0,o.dC)((()=>{l.forEach((e=>{e&&t((0,d.FG)(e.set("hidden",c.hide)))})),s.forEach((n=>{n&&n.annotationIds.forEach((n=>{const r=e.get(n);r&&t((0,d.FG)(r.set("hidden",c.hide)))}))}))}))}}}catch(e){(0,r.ZK)(e.message)}c.subActions&&c.subActions.forEach((t=>{e(t)}))}(e)},f=e=>{const{action:t}=e;return t instanceof l.bp?g(t.script,"onPointerDown",e instanceof p.Z?e.formFieldName:null):h(t)},m=(e,t)=>{const{additionalActions:n,formFieldName:r}=e;return(null==n?void 0:n[t])instanceof l.bp?g(n[t].script,t,e instanceof p.Z?r:null):h(null==n?void 0:n[t])};function g(e,t,n){return async(o,i)=>{const{backend:s}=i();if((0,r.kG)(s),"STANDALONE"!==s.type||!c.Options.PDF_JAVASCRIPT)return;(0,r.kG)("string"==typeof e,"JavaScriptAction requires `script`");const l=await s.evalScript(e,t,n);o((0,a.bt)({changes:l}))}}},4087:(e,t,n)=>{"use strict";n.d(t,{$d:()=>T,$e:()=>k,Ds:()=>R,FG:()=>U,GI:()=>ne,GT:()=>Q,GZ:()=>W,Iv:()=>P,N1:()=>se,QA:()=>j,RK:()=>ee,VX:()=>K,WL:()=>z,XG:()=>J,ZE:()=>L,Zr:()=>I,aF:()=>F,d8:()=>X,dt:()=>oe,fx:()=>Y,gX:()=>M,hQ:()=>G,hX:()=>S,hj:()=>_,i0:()=>te,ip:()=>A,lA:()=>O,mw:()=>ie,pZ:()=>B,sF:()=>N,ug:()=>re,uk:()=>H,vc:()=>E,vy:()=>ae});var r=n(35369),o=n(67366),i=n(15359),a=n(45249),s=n(2841),l=n(44077),u=n(89637),c=n(17078),d=n(66327),p=n(40084),h=n(77897),f=n(35464),m=n(33427),g=n(5619),v=n(20388),y=n(97238),b=n(56573),w=n(35727),x=n(55012),D=n(10983),C=n(31442);const E=(e,t)=>n=>{n((0,u.Ab)()),n({type:x.ILc,annotation:e,pageIndex:t})},S=(e,t)=>n=>{n((0,u.Ab)()),n({type:x.HS7,annotation:e,pageIndex:t})},_=(e,t)=>n=>{n((0,u.Ab)()),n({type:x.jzI,annotation:e,pageIndex:t})},P=async e=>{const{hash:t,dimensions:n}=await(0,b.uq)(e);return{hash:t,dimensions:n,attachment:new a.Pg({data:e})}},k=e=>async(t,n)=>{const{dimensions:i,hash:a,attachment:l}=await P(e),d=(0,m.om)(n(),i,a,e.type,e.name),h={annotations:(0,r.aV)([d]),reason:s.f.SELECT_END},{eventEmitter:f,annotationManager:g}=n();(0,o.dC)((()=>{null==f||f.emit("annotations.willChange",h),t((0,c.O)({hash:a,attachment:l})),t(O((0,r.aV)([d]))),null==g||g.createObject(d,{attachments:(0,r.D5)([[a,l]])}),null==g||g.autoSave(),t((0,u.Df)((0,r.l4)([d.id]),null)),t((0,p.kN)(d.pageIndex,d.boundingBox))}))},A=e=>(t,n)=>{let i;const{imageAttachmentId:c,contentType:d,fileName:h,description:f}=e,g=c&&n().attachments.get(c);if(e instanceof a.GI)t(R("stamp")),i=(0,m.hG)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),e);else{if(!(e instanceof a.sK))return;if(!c)return;t(R("image")),i=(0,m.om)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),c,d||"",h),f&&(i=i.set("description",f))}const v={annotations:(0,r.aV)([i]),reason:s.f.SELECT_END},{eventEmitter:y,annotationManager:b}=n();(0,o.dC)((()=>{null==y||y.emit("annotations.willChange",v),t(O((0,r.aV)([i]))),null==b||b.createObject(i,{attachments:c&&g?(0,r.D5)([[c,g]]):(0,r.D5)()}),null==b||b.autoSave(),t((0,u.Df)((0,r.l4)([i.id]),null)),t((0,p.kN)(i.pageIndex,i.boundingBox))}))},z=e=>(t,n)=>{const{annotationManager:o,backend:a,attachments:s}=n();(0,i.kG)(a),"STANDALONE"===a.type?t(O((0,r.aV)(e.map((e=>e.set("pdfObjectId",null).delete("APStreamCache")))))):t(O((0,r.aV)(e))),null==o||o.createObjects(e,e.map((e=>({attachments:(0,m.Dc)(s,e)}))))},T=e=>(t,n)=>{const a=n();(0,i.kG)(a.backend);const{annotationManager:s,backend:l,attachments:u}=a;(0,o.dC)((()=>{"STANDALONE"===(null==l?void 0:l.type)?t(O((0,r.aV)([e.set("pdfObjectId",null).delete("APStreamCache")]))):t(O((0,r.aV)([e]))),null==s||s.createObject(e,{attachments:(0,m.Dc)(u,e)})}))},O=e=>({type:x.M85,annotations:e}),I=e=>({type:x.R8P,annotations:e}),F=e=>({type:x.gF5,ids:e}),M=e=>(t,n)=>{const r=n(),o=r.currentItemPreset;if(!o)return;const i=r.annotationPresets.get(o);if(!i)return;let a=!1;r.eventEmitter.emit("annotationPresets.update",{preventDefault:()=>a=!0,currentPreset:o,currentPresetProperties:i,newPresetProperties:e}),a||t({type:x.oE1,attributes:e})},R=e=>({type:x.oWy,currentItemPreset:e}),j=e=>({type:x.UiQ,annotationPresets:e}),B=(e,t)=>({type:x.R1i,annotationID:e,annotationPresetID:t}),N=e=>({type:x.x0v,annotationID:e}),L=e=>({type:x.JwD,annotationID:e}),K=(e,t)=>(n,r)=>{n(R(t)),(0,y.PK)(r(),e).forEach((e=>{n(T(e)),!C.AQ[t]&&n(B(e.id,t))}))},V=(e,t)=>{const{annotationManager:n,attachments:r}=e();n.updateObject(t,(0,m.Dc)(r,t))},q={},H=e=>(t,n)=>{const{annotations:o,invalidAPStreams:a,backend:s}=n();if(!o.has(e.id))return void(0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped.");(0,m.tl)({annotations:o,backend:s},(0,r.aV)([e]));let l=e.set("updatedAt",new Date);t(I((0,r.aV)([l]))),l=(0,m.tM)(n(),a,l),q[l.id]||(q[l.id]=(0,g.Z)(V,D.sP)),q[l.id](n,l)};function Z(e,t,n){const{annotations:r,invalidAPStreams:o,backend:s,annotationManager:l,attachments:u}=t;(0,m.tl)({annotations:r,backend:s},n);const c=n.map((e=>r.has(e.id)?(e instanceof a.UX&&e.isMeasurement()&&(e=e.set("note",e.getMeasurementDetails().label)),"STANDALONE"===(null==s?void 0:s.type)?e.delete("APStreamCache").set("updatedAt",new Date):e.set("updatedAt",new Date)):((0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),!1))).filter(Boolean);e(I(c)),c.forEach((e=>{const n=(0,m.tM)(t,o,e);null!==e.pageIndex&&(null==l||l.updateObject(n,{attachments:(0,m.Dc)(u,n)}))}))}const U=e=>(t,n)=>{const i=n();(0,o.dC)((()=>{Z(t,i,(0,r.aV)([e]))}))};function $(e,t,n){const{commentThreads:s,comments:l,annotationManager:u,formFieldValueManager:c}=t;n.forEach((t=>{const n=s.get(t.id);if(n&&1===n.size){const t=l.get(n.first());t&&(0,w.kT)(t)&&((0,i.kG)(t.id),e((0,f.Vn)((0,r.l4)([t.id]))))}})),n.forEach((t=>{(t instanceof a.Jn||t instanceof a.FV||t.isCommentThreadRoot)&&e((0,f.Wn)(t))}));let d=(0,r.aV)();(0,o.dC)((()=>{e(F(n.map((e=>e.id)).toSet())),d=n.map((e=>(0,m.dk)(t,e))),d.forEach((e=>{null==u||u.deleteObject(e)}))})),d.forEach((n=>{if(n instanceof a.x_){const i=n.formFieldName?t.formFields.get(n.formFieldName):null;var o;if(i)if(1!==i.annotationIds.size||i.annotationIds.first()!==n.id&&i.annotationIds.first()!==String(n.pdfObjectId)){if(i.annotationIds.includes(n.id)||i.annotationIds.includes(String(n.pdfObjectId))){const t=i.annotationIds.findIndex((e=>e===n.id||e===String(n.pdfObjectId)));let o=i.set("annotationIds",i.annotationIds.filter((e=>e!==n.id&&e!==String(n.pdfObjectId))));o.options&&(o=o.set("options",i.options.filter(((e,n)=>n!==t)))),e((0,h.vK)(o)),o.options.some((e=>e.value===o.value))||e((0,h.xW)((0,r.aV)([new a.KD({name:o.name,value:null})])))}}else e((0,h.Wh)(i)),null!==(o=t.backend)&&void 0!==o&&o.isUsingInstantProvider()||null==c||c.deleteObject(new a.KD({name:i.name,value:i.value}))}q[n.id]&&delete q[n.id]}))}const G=e=>(t,n)=>{$(t,n(),(0,r.aV)([e]))},W=(e,t)=>(n,r)=>{const i=r(),{annotations:a}=i,s=t.map((e=>a.get(e))).filter(Boolean);(0,o.dC)((()=>{e.size>0&&Z(n,i,e),s.size>0&&$(n,i,s)}))};function X(e){return(t,n)=>{if(e&&!e.isEmpty()){const t=n(),o=e.map((e=>t.annotations.get(e))).filter(Boolean),i={annotations:(0,r.aV)(o),reason:s.f.DELETE_START};t.eventEmitter.emit("annotations.willChange",i)}t({type:x.sCM,annotationsIDs:e})}}const Y=e=>({type:x.qRJ,stampAnnotationTemplates:e}),Q=e=>({type:x.RPc,lineWidth:e});function J(){return(e,t)=>{const n=t();let r=new a.Qi((0,m.lx)(n));const o=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(o);const s=a.UL.getCenteredRect(new l.$u({width:D.SP,height:D.SP}),o.pageSize);r=r.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",s),e((0,d.i9)(null,r)),e(U(r))}}function ee(){return(e,t)=>{const n=t();let r=new a.gd((0,m.lx)(n));const o=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(o);const{pagesRotation:s,currentPageIndex:l}=n.viewportState,u=o.pageSize.scale(.5),c=(0,v.gB)(new a.E9({x:u.width,y:u.height}),s);r=r.set("pageIndex",l).set("boundingBox",c).set("rotation",s),e((0,d.DU)(null,r)),e(U(r))}}const te=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:x.WaW,value:e}},ne=e=>({type:x.ieh,ids:e}),re=e=>({type:x.kVz,ids:e}),oe=e=>({type:x.hw0,callback:e}),ie=(e,t)=>({type:x.Dqw,variant:e,annotationObjectIds:t}),ae=e=>({type:x.uOP,annotationId:e}),se=(e,t)=>({type:x.SHi,pageIndex:e,tabOrder:t})},35464:(e,t,n)=>{"use strict";n.d(t,{$z:()=>T,BY:()=>E,DO:()=>z,Dm:()=>D,GH:()=>O,Jr:()=>S,Rf:()=>I,UM:()=>P,V4:()=>_,Vn:()=>x,Wn:()=>k,aZ:()=>b,cQ:()=>v,fg:()=>m,gk:()=>w,mh:()=>g,v7:()=>y});var r=n(35369),o=n(55012),i=n(10983),a=n(45249),s=n(4087),l=n(89637),u=n(66327),c=n(97238),d=n(35727),p=n(33427),h=n(82716),f=n(89004);const m=e=>t=>{t({type:o.ckI,comments:e}),t(T())},g=e=>t=>{t({type:o.hxO,rootId:e}),t(T())};function v(){return(e,t)=>{const n=(0,c.PK)(t(),a.FV,!0);if(n.size){e((0,l.fz)()),e((0,s.lA)(n));const o=t().annotations.get(n.first().id);(0,h.k)(o),e((0,l.Df)((0,r.l4)([o.id]),null)),e(g(o.id))}}}const y=e=>({type:o.YHT,users:e}),b=e=>({type:o.ZLr,maxSuggestions:e}),w=e=>t=>{t((e=>({type:o.FdD,comments:e}))(e)),t(T())},x=e=>t=>{t({type:o.kg,ids:e}),t(T())};function D(){return(e,t)=>{const n=t(),o=[],i=[];n.selectedAnnotationIds.forEach((e=>{const t=n.commentThreads.get(e);if(!t)return;let r=t.size;t.forEach((e=>{var t;const i=n.comments.get(e);!i||null!=i.pageIndex||null!=(null===(t=i.text)||void 0===t?void 0:t.value)&&""!==(0,f.KY)(i.text.value)||(o.push(e),r--)})),0===r&&i.push(e)})),o.length>0&&e(x((0,r.l4)(o))),i.length>0&&e((0,s.aF)((0,r.l4)(i)))}}function C(e,t){let{oldComment:n,comment:o,action:i}=t;const{comments:a,eventEmitter:s}=e;if("DELETE"===i)(0,h.k)(n),s.emit("comments.mention",{comment:n,modifications:n.getMentionedUserIds().map((e=>({userId:e,action:"REMOVED"}))).toList()});else if("CREATE"===i)(0,h.k)(o),s.emit("comments.mention",{comment:o,modifications:o.getMentionedUserIds().map((e=>({userId:e,action:"ADDED"}))).toList()});else{(0,h.k)(o);const e=n||o.id&&a.get(o.id),t=o.getMentionedUserIds();let i=(0,r.aV)();(0,h.k)(e);const l=e.getMentionedUserIds(),u=l.subtract(t);u.size>0&&(i=i.push(...u.map((e=>({userId:e,action:"REMOVED"}))).toList()));const c=t.subtract(l);c.size>0&&(i=i.push(...c.map((e=>({userId:e,action:"ADDED"}))).toList())),s.emit("comments.mention",{comment:o,modifications:i})}}const E=(e,t)=>(n,o)=>{const i=o();(0,h.k)(e.rootId);const a=i.annotations.get(e.rootId);(0,h.k)(a);const l=new Date,u=e.set("updatedAt",l).set("pageIndex",a.pageIndex);C(i,{comment:u,oldComment:t,action:"UPDATE"}),n(w((0,r.aV)([u])));const c=i.commentThreads.get(e.rootId);if((0,h.k)(null!=c),1===c.size&&(0,d.kT)(e)){var p,f;let e=a.set("isCommentThreadRoot",!0);const t=i.comments.get(c.first());e=e.set("isAnonymous",Boolean(null==t?void 0:t.isAnonymous)),n((0,s.Zr)((0,r.aV)([e]))),null===(p=i.annotationManager)||void 0===p||p.createObject(e),null===(f=i.annotationManager)||void 0===f||f.autoSave()}(0,h.k)(null!=i.commentManager);const m=o(),g=m.comments.toList().filter((e=>!(0,d.kT)(e)));i.commentManager.createObject(u,{comments:g,annotations:m.annotations}),i.commentManager.autoSave()},S=e=>(t,n)=>{const o=new Date,i=e.set("createdAt",o).set("updatedAt",o);t(m((0,r.aV)([i]))),C(n(),{comment:i,action:"CREATE"});const{commentManager:a,annotations:s}=n();(0,h.k)(null!=a);const l=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.createObject(i,{comments:l,annotations:s})},_=e=>(t,n)=>{const o=e.set("updatedAt",new Date);t(w((0,r.aV)([o]))),C(n(),{comment:o,oldComment:e,action:"UPDATE"});const{annotations:i,commentManager:a}=n();(0,h.k)(null!=a);const s=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.updateObject(o,{comments:s,annotations:i})},P=e=>(t,n)=>{const o=n();if((0,h.k)(e.id),C(o,{oldComment:e,action:"DELETE"}),e.rootId){const r=o.commentThreads.get(e.rootId);if(r&&r.first()===e.id){const a=r.toList().get(1);if(a){const r=o.comments.get(a);var i;if(r)A(n,e.rootId,t,null!==(i=r.isAnonymous)&&void 0!==i&&i)}}if(r&&(1===r.size||(0,d._P)(r,o.comments)&&2===r.size)){const n=o.annotations.get(e.rootId);if(n)return void t((0,s.hQ)(n))}}t(x((0,r.l4)([e.id])));const{commentManager:a}=o;(0,h.k)(null!=a);const l=n(),u=l.comments.toList().filter((e=>!(0,d.kT)(e)));a.deleteObject(e,{comments:u,annotations:l.annotations}),a.autoSave()},k=e=>(t,n)=>{var r;const o=n();if((0,h.k)(e),"SERVER"===(null===(r=o.backend)||void 0===r?void 0:r.type))return;const i=o.comments.filter((t=>t.rootId===e.id&&!(0,d.kT)(t))).map((e=>e.id));if(0===i.size)return;t(x(i.toSet())),o.comments.forEach((e=>{C(o,{oldComment:e,action:"DELETE"})}));const{commentManager:a}=o;(0,h.k)(null!=a);const s=n();let l=s.comments.toList().filter((e=>!(0,d.kT)(e)));l.forEach((t=>{t.rootId===e.id&&(a.deleteObject(t,{comments:l,annotations:s.annotations}),l=l.filter((e=>e.id!==t.id)))})),a.autoSave()},A=(e,t,n,o)=>{var i,a;const l=e(),u=l.annotations.get(t);(0,h.k)(null!=u);const c=u.set("isAnonymous",o);n((0,s.Zr)((0,r.aV)([c]))),null===(i=l.annotationManager)||void 0===i||i.updateObject(c),null===(a=l.annotationManager)||void 0===a||a.autoSave()},z=e=>(t,n)=>{const o=n();(0,h.k)(e.id),C(o,{comment:e,oldComment:o.comments.get(e.id),action:"UPDATE"}),t(w((0,r.aV)([e])));const{commentManager:i}=o;(0,h.k)(null!=i),(0,h.k)(e.rootId);const a=o.commentThreads.get(e.rootId);var s;((0,h.k)(null!=a),a.first()===e.id)&&A(n,e.rootId,t,null!==(s=e.isAnonymous)&&void 0!==s&&s);const{annotations:l,comments:u}=n(),c=u.toList().filter((e=>!(0,d.kT)(e)));i.updateObject(e,{comments:c,annotations:l}),i.autoSave()};function T(){return{type:o.NB4}}const O=()=>(e,t)=>{const n=t();let o=new a.Jn((0,p.lx)(n));const l=n.pages.get(n.viewportState.currentPageIndex);(0,h.k)(l);const c=a.UL.getCenteredRect(new a.$u({width:i.zk,height:i.zk}),l.pageSize);o=o.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",c),e((0,u.k6)(o)),e((0,s.Zr)((0,r.aV)([o]))),e(g(o.id))};function I(e){return{type:o.mfU,onCommentCreationStartCallback:e}}},66327:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>ue,A7:()=>ve,BB:()=>m,BR:()=>E,C4:()=>M,Cc:()=>k,Ce:()=>O,Cn:()=>ft,DU:()=>re,Di:()=>lt,EJ:()=>Le,EY:()=>xe,FA:()=>Et,Fs:()=>qe,Ft:()=>vt,GL:()=>Te,Gc:()=>q,Gh:()=>je,HT:()=>yt,Hf:()=>Ne,I:()=>Ft,IU:()=>ce,Ie:()=>We,JN:()=>be,Jn:()=>ie,K_:()=>ye,LE:()=>V,LH:()=>Ve,Lt:()=>ne,M4:()=>Z,M5:()=>dt,MV:()=>A,O4:()=>Mt,Ol:()=>G,Ox:()=>Ue,P4:()=>D,PR:()=>At,P_:()=>ut,Q8:()=>Pe,QL:()=>U,Ql:()=>de,R:()=>f,R1:()=>Me,RN:()=>$,Rx:()=>X,SE:()=>ze,Sn:()=>v,T:()=>Ae,T1:()=>Tt,TR:()=>x,Tu:()=>_e,UF:()=>et,UG:()=>g,UU:()=>ae,UZ:()=>_t,Ug:()=>_,VU:()=>P,W:()=>xt,Wv:()=>te,X2:()=>le,X8:()=>Ye,XX:()=>tt,Xv:()=>bt,YA:()=>me,YF:()=>Ct,YI:()=>Y,YK:()=>Xe,ZV:()=>Fe,Z_:()=>Rt,Zg:()=>se,_$:()=>wt,_P:()=>De,_R:()=>St,_U:()=>ge,_b:()=>H,_z:()=>R,aw:()=>w,bv:()=>Q,c8:()=>pe,cI:()=>Se,cz:()=>ct,d5:()=>y,d9:()=>it,dp:()=>N,ek:()=>Ee,el:()=>Ke,fq:()=>st,hS:()=>S,he:()=>Ot,i9:()=>B,iJ:()=>pt,i_:()=>Ge,iu:()=>J,jJ:()=>zt,jM:()=>ot,jP:()=>F,k4:()=>oe,k6:()=>L,lC:()=>b,lL:()=>Dt,lV:()=>Qe,lW:()=>he,m$:()=>ee,m0:()=>W,m9:()=>It,mu:()=>Ze,oX:()=>Ce,of:()=>Pt,p2:()=>kt,p9:()=>z,pM:()=>j,qB:()=>mt,rL:()=>ht,rd:()=>He,s3:()=>C,sJ:()=>Je,sY:()=>Oe,si:()=>rt,t:()=>I,t6:()=>at,tr:()=>K,u0:()=>ke,vI:()=>$e,vY:()=>we,we:()=>Re,xF:()=>nt,xW:()=>gt,yg:()=>T,z5:()=>fe,ze:()=>Be});var r=n(96156),o=n(15359),i=n(67366),a=n(33056),s=n(55012),l=n(89637),u=n(27122),c=n(40084),d=n(79112);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t({type:s.Dj2}),m=()=>({type:s.G5w}),g=e=>({type:s.kt4,enabled:e}),v=()=>({type:s.GW4}),y=e=>({type:s.mqf,preset:e}),b=()=>({type:s.tLW}),w=e=>({type:s.tS$,preset:e}),x=()=>({type:s.g30}),D=e=>({type:s.GXR,preset:e}),C=()=>({type:s.J7J}),E=e=>({type:s.yPS,preset:e}),S=()=>({type:s.m_C}),_=()=>({type:s.JyO}),P=()=>({type:s.NDs}),k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{signatureRect:null,signaturePageIndex:null,formFieldName:null};return h({type:s.Vu4},e)},A=()=>({type:s.S$y}),z=(e,t)=>()=>T(e,t),T=(e,t,n)=>({type:s.JS9,shapeClass:e,shapeInteractionMode:t,preset:n}),O=()=>({type:s.AIf}),I=e=>({type:s.cbv,preset:e}),F=()=>({type:s.TUA}),M=()=>({type:s.Dzg}),R=()=>({type:s.M3C}),j=()=>({type:s.tie}),B=(e,t)=>({type:s.ZDQ,preset:e,annotation:t}),N=()=>({type:s.B1n}),L=e=>({type:s.dEe,annotation:e}),K=()=>({type:s.iMs});function V(e){return{type:s.IFt,formDesignMode:e}}function q(e){return{type:s.Gkm,measurementSnapping:e}}function H(e){return{type:s.G6t,scale:e}}function Z(e){return{type:s.fwq,measurementPrecision:e}}function U(e){return{type:s.vkF,configurationCallback:e}}function $(e){return{type:s.SdX,scales:e}}function G(){return{type:s.aYj}}function W(){return{type:s.hpj}}function X(){return{type:s.QYP}}function Y(){return{type:s.zKF}}const Q=()=>({type:s.MuN}),J=()=>({type:s.xk1}),ee=()=>({type:s.tYC}),te=()=>({type:s.NAH}),ne=(e,t)=>({type:s.pnu,preset:e,annotation:t,isCallout:!0}),re=(e,t)=>({type:s.pnu,preset:e,annotation:t}),oe=()=>({type:s.KqR}),ie=()=>({type:s.R7l}),ae=()=>({type:s.Vpf}),se=()=>({type:s.eFQ}),le=()=>({type:s.L8n}),ue=e=>({type:s.VNM,editor:e}),ce=e=>({type:s.tPZ,width:e}),de=e=>({type:s.u9b,zoomStep:e}),pe=e=>({type:s.tIQ,disablePointSnapping:e}),he=e=>({type:s.Ce5,callback:e}),fe=e=>({type:s.WtY,transformClientToPage:e});function me(e){return{type:s.rWQ,layoutMode:e}}function ge(e){return{type:s.b0l,scrollMode:e}}function ve(e){return{type:s._TO,showSignatureValidationStatus:e}}function ye(e){return{type:s._n_,scrollElement:e}}function be(e){return{type:s.bxr,spreadSpacing:e}}function we(e){return{type:s._ko,pageSpacing:e}}function xe(e){return{type:s.FHt,keepFirstSpreadAsSinglePage:e}}function De(e){return{type:s.ht3,viewportPadding:e}}function Ce(e){return{type:s.NfO,readOnlyEnabled:e}}function Ee(){return{type:s.Xlm}}function Se(){return{type:s.cyk}}function _e(){return{type:s.KYU}}function Pe(){return{type:s.Nl1}}function ke(){return{type:s.L9g}}function Ae(){return{type:s.Dl4}}function ze(){return{type:s.GfR}}function Te(e){return{type:s.iQZ,features:e}}function Oe(e){return{type:s.JQC,signatureFeatureAvailability:e}}function Ie(e){return t=>{t({type:s.hv0,mode:e}),t((0,l.vR)())}}function Fe(e){return{type:s.ZbY,editableAnnotationTypes:e}}function Me(e){return{type:s.uFU,isEditableAnnotation:e}}function Re(e,t){return{type:s.ArU,editableAnnotationTypes:e,isEditableAnnotation:t}}function je(e){return{type:s.Q2U,isEditableComment:e}}const Be=()=>(e,t)=>{e(Ie(u.f.ANNOTATIONS));const n=t();for(let e=0;easync(e,t)=>{e(Ie(u.f.DOCUMENT_OUTLINE));const n=t();if(n.documentOutlineState.elements)return;(0,o.kG)(n.backend);const r=await n.backend.getDocumentOutline();e((0,a.o)(r))};function Ke(){return Ie(u.f.THUMBNAILS)}function Ve(){return Ie(u.f.SIGNATURES)}function qe(){return Ie(u.f.LAYERS)}function He(){return Ie(u.f.CUSTOM)}function Ze(){return{type:s.hv0,mode:null}}function Ue(e){return{type:s.eI4,placement:e}}function $e(e){return{type:s.bP3,sidebarOptions:e}}function Ge(e){return{type:s.dVW,locale:e}}function We(){return{type:s.RTr}}function Xe(e){return{type:s.heZ,group:e}}function Ye(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:s.hlI,annotationCreatorName:e,immutable:t}}const Qe=()=>({type:s.YIz}),Je=()=>({type:s.K26}),et=e=>({type:s.$VE,interactionMode:e}),tt=()=>({type:s.yrz});function nt(){return{type:s.Hbz}}function rt(){return{type:s.sYK}}const ot=e=>({type:s.fAF,customRenderers:e});function it(){return{type:s.pNz}}function at(){return{type:s.bV3}}function st(){return{type:s.EpY}}function lt(){return{type:s.bui}}function ut(e){return{type:s.vVk,previewRedactionMode:e}}function ct(e){return async(t,n)=>{const{viewportState:r,eventEmitter:a,documentComparisonState:s}=n();if(e){const n={start:{},end:{}};n.start.promise=new Promise(((e,t)=>{n.start.resolve=e,n.start.reject=t})),n.end.promise=new Promise(((e,t)=>{n.end.resolve=e,n.end.reject=t})),(0,i.dC)((()=>{t((0,c.nr)(r.set("documentComparisonMode",h(h({},e),{},{completion:n})))),t(dt({referencePoints:[],autoCompare:e.autoCompare,isResultFetched:!1,currentTab:e.autoCompare?null:d.Q.documentA,documentKey:d.Q.documentA,previousViewportState:{zoomMode:r.zoomMode,zoomLevel:r.zoomLevel,scrollPosition:r.scrollPosition,currentPageIndex:r.currentPageIndex,pageSizes:r.pageSizes}}))})),a.emit("documentComparisonUI.start",e)}else if(r.documentComparisonMode){const{completion:e}=r.documentComparisonMode;try{e.start.resolve(),await e.end.promise,(0,i.dC)((()=>{t((0,c.nr)(r.set("documentComparisonMode",null).merge(s.previousViewportState))),t(dt(null))})),a.emit("documentComparisonUI.end")}catch(e){throw new o.p2(e.message)}}}}function dt(e){return{type:s.KA1,documentComparisonState:e}}function pt(e){return{type:s.D5x,a11yStatusMessage:e}}function ht(){return{type:s.JRS}}function ft(){return{type:s.Gox}}function mt(e){return{type:s.rpU,lastToolbarActionUsedKeyboard:e}}function gt(){return{type:s.MYU}}function vt(){return{type:s.mbD}}function yt(){return{type:s.wog}}function bt(){return{type:s.UL9}}function wt(e){return{type:s.IyB,instance:e}}function xt(e){return{type:s.eJ4,customUIStore:e}}const Dt=()=>({type:s.qKG}),Ct=e=>({type:s.oZW,multiAnnotationsUsingShortcut:e}),Et=()=>({type:s.odo}),St=e=>({type:s.FQb,annotationsIds:e}),_t=e=>({type:s.bzW,groupId:e}),Pt=(e,t)=>({type:s.b4I,annotationId:e,groupId:t}),kt=e=>({type:s.tzG,customFontsReadableNames:e}),At=()=>({type:s.Vje}),zt=()=>({type:s.XTO});function Tt(e){return{type:s.ej0,enableAlwaysScrollToZoom:e}}function Ot(e){return{type:s.QM1,forceRenderWidgetsInAnnotationsOrder:e}}function It(e){return{type:s.ol,evaluation:e}}function Ft(e){return{type:s.wJn,prerenderedPageSpreads:e}}function Mt(e){return{type:s.rq0,configuration:e}}function Rt(e){return{type:s.HXk,showDocumentAssistant:e}}},25384:(e,t,n)=>{"use strict";n.d(t,{Bm:()=>p,qZ:()=>d,rJ:()=>m,sr:()=>h,uT:()=>f});var r=n(67366),o=n(55012),i=n(18287),a=n(77897),s=n(44156),l=n(66327),u=n(70982),c=n(49876);function d(e,t){return{type:o.BS3,reason:e,progress:t}}function p(){return{type:o.nmm}}function h(e){return{type:o.zZV,reason:e}}function f(e){return{type:o.Ty$,resolvePassword:e}}function m(e){let{attemptedUnlockViaModal:t,hasPassword:n,features:d,signatureFeatureAvailability:p,permissions:h,documentInfo:f,formJSON:m,annotationManager:g,bookmarkManager:v,formFieldManager:y,formFieldValueManager:b,commentManager:w,changeManager:x,minSearchQueryLength:D,documentHandle:C,allowedTileScales:E,pageKeys:S}=e;return(e,_)=>{const{searchState:P,documentHandle:k,features:A,signatureFeatureAvailability:z}=_();(0,r.dC)((()=>{E&&e(function(e){return{type:o.iZ1,allowedTileScales:e}}(E)),t&&e({type:o.hC8}),e(function(e){return{type:o.poO,hasPassword:e}}(n)),d&&0===A.size&&e((0,l.GL)(d)),p&&!z&&e((0,l.sY)(p)),e((0,s.at)(h)),k&&k!==C&&e({type:o.obk}),e((0,s.GO)(f,S)),m&&e((0,a.Qi)(m)),e((0,c.QQ)()),e(function(e){return{type:o.rxv,annotationManager:e}}(g)),e(function(e){return{type:o.Hrp,bookmarkManager:e}}(v)),e(function(e){return{type:o.oj5,formFieldManager:e}}(y)),e(function(e){return{type:o.GHc,formFieldValueManager:e}}(b)),null!=w&&e(function(e){return{type:o.UII,commentManager:e}}(w)),e(function(e){return{type:o.gbd,changeManager:e}}(x)),"number"==typeof D&&e((0,i.j8)(P.set("minSearchQueryLength",D))),e((0,u.kE)(C))}))}}},2927:(e,t,n)=>{"use strict";n.d(t,{$t:()=>z,C0:()=>_,FD:()=>y,Hv:()=>R,Ij:()=>k,Mq:()=>T,O2:()=>O,Ow:()=>w,PZ:()=>A,Pq:()=>P,RL:()=>b,SF:()=>S,Yg:()=>E,Zv:()=>D,gY:()=>f,lx:()=>F,qt:()=>v,rO:()=>K,sC:()=>x,u:()=>L,u8:()=>m,um:()=>N,uy:()=>M,v2:()=>g,yy:()=>C});var r=n(67366),o=n(87463),i=n(75472),a=n(55012),s=n(82716),l=n(95431),u=n(77897),c=n(35998),d=n(96988),p=n(89637),h=n(26559);const f=async(e,t)=>{const{backend:n,contentEditorSession:i}=t();i.contentEditor&&await i.contentEditor.closeContentEditor(),(0,s.k)(n);const l=await o.f.createContentEditor(n.corePDFBridge.ctx);(0,r.dC)((()=>{e((0,p.fz)()),e({type:a.MGL,contentEditor:l})}))},m=async(e,t)=>{const{contentEditorSession:n}=t();(0,s.k)(n.contentEditor),await n.contentEditor.closeContentEditor(),(0,r.dC)((()=>{e({type:a.Qm9}),e(E(!1))}))};const g=(e,t,n,r,o)=>B(e,t,(e=>e.setTextBlockCursor(t,n,r,o))),v=(e,t,n,r,o)=>B(e,t,(e=>e.insertTextBlockString(t,n,r,o))),y=(e,t,n,r,o)=>B(e,t,(e=>e.moveTextBlockCursor(t,n,r,o))),b=(e,t,n,r)=>B(e,t,(e=>e.deleteTextBlockString(t,n,r))),w=(e,t,n,r)=>B(e,t,(e=>e.setTextBlockSelection(t,n,r))),x=(e,t,n,r,o,i)=>B(e,t,(e=>e.setTextBlockSelectionRange(t,n,r,o,i))),D=(e,t,n)=>B(e,t,(e=>e.textBlockUndo(t,n))),C=(e,t,n)=>B(e,t,(e=>e.textBlockRedo(t,n))),E=e=>({type:a.bOH,isVisible:e}),S=(e,t)=>({type:a.joZ,pageIndex:e,textBlockId:t}),_=(e,t)=>({type:a.xhM,pageIndex:e,textBlockId:t}),P=e=>{e({type:a.fQw})},k=(e,t)=>{e({type:a.Y4});const n=t().contentEditorSession;e(function(e){return async(t,n)=>{const{backend:r,features:o,annotations:a,isAPStreamRendered:c,contentEditorSession:d}=n();(0,s.k)(r),(0,s.k)(d.contentEditor),r.cancelRequests(),d.contentEditor.cancelRequests(),await d.contentEditor.save(i.Xn,e),await r.contentEditorReload();const p=await r.runPDFFormattingScriptsFromWidgets(a,null,c);await(0,l.jX)(t,n,{features:o}),p.length&&t((0,u.bt)({changes:p}))}}((0,c.Gp)(n))),e(m)},A=e=>{let{fixpointValue:t,newWidth:n}=e;return async(e,r)=>{const o=r(),{contentEditorSession:i}=o;(0,s.k)(i.contentEditor);const{textBlockInteractionState:l}=i;if((null==l?void 0:l.state)!==d.FP.Selected)return;const{pageIndex:u,textBlockId:c}=l;e({type:a.ciU,pageIndex:u,textBlockId:c,fixpointValue:t,newWidth:n});const p=(0,d.aT)(u,c)(r());(0,s.k)(p),await i.contentEditor.layoutTextBlock(c,null,null,(0,h.hH)(p)).then((t=>e({type:a.VOt,pageIndex:u,textBlockId:c,updateInfo:t}))).catch()}},z=e=>{let{anchor:t,pageIndex:n=null,textBlockId:r=null,isKeyboardMove:o}=e;return async(e,i)=>{const l=i(),{contentEditorSession:u}=l;if((0,s.k)(u.contentEditor),null===n||!r){const{textBlockInteractionState:e}=u;if(({pageIndex:n,textBlockId:r}=e),(null==e?void 0:e.state)===d.FP.Active)return}e({type:a.fLm,pageIndex:n,textBlockId:r,anchor:t,isKeyboardMove:o});const c=(0,d.aT)(n,r)(i());(0,s.k)(c),await u.contentEditor.layoutTextBlock(r,null,null,(0,h.hH)(c)).then((t=>e({type:a.VOt,pageIndex:n,textBlockId:r,updateInfo:t}))).catch()}},T=e=>(t,n)=>{const r=n(),{contentEditorSession:o}=r;(0,s.k)(o.contentEditor);const{textBlockInteractionState:i}=o;(0,s.k)((null==i?void 0:i.state)===d.FP.Active);const l=(0,d.aT)(i.pageIndex,i.textBlockId)(r);if(l)if(l.selection)o.contentEditor.textBlockApplyFormat(i.textBlockId,null,e,(0,h.hH)(l)).then((e=>{t({type:a.VOt,pageIndex:i.pageIndex,textBlockId:i.textBlockId,updateInfo:e})}));else{let n=l.modificationsCharacterStyle.fontRef.faceRef;e.family&&(n=n.set("family",e.family)),null!=e.bold&&(n=n.setIn(["variant","bold"],e.bold)),null!=e.italic&&(n=n.setIn(["variant","italic"],e.italic)),t({type:a.Ebp,pageIndex:i.pageIndex,textBlockId:i.textBlockId,faceRef:n,color:e.color,size:e.size})}},O=async(e,t)=>{e(I());const{contentEditorSession:n}=t();(0,s.k)(n.contentEditor);const r=await n.contentEditor.getAvailableFaces();e(j(r))},I=()=>({type:a.U7k}),F=(e,t)=>({type:a.Han,tooltipRect:e,fontFace:t}),M=e=>async t=>{new Promise((n=>{setTimeout((()=>{e.aborted||t({type:a.WmI}),n()}),100)}))},R=e=>({type:a.nI6,abortController:e}),j=e=>({type:a.ZgW,faceList:e}),B=(e,t,n)=>async(r,o)=>{const{contentEditorSession:i}=o();(0,s.k)(i.contentEditor),r({type:a.HYy});const l=await n(i.contentEditor);r({type:a.VOt,pageIndex:e,textBlockId:t,updateInfo:l})},N=async(e,t)=>{const n=t(),{contentEditorSession:o}=n,{textBlockInteractionState:i}=o;(0,s.k)((null==i?void 0:i.state)===d.FP.Selected||(null==i?void 0:i.state)===d.FP.Active);const{pageIndex:l,textBlockId:u}=i,c=(0,d.aT)(l,u)(t());(0,s.k)(c);const p=(0,h.hH)(c);(0,r.dC)((()=>{e(w(l,u,"everything",p)),e(b(l,u,"forward",p)),e({type:a.snK,pageIndex:l,textBlockId:u})}))},L=e=>({type:a.teI,mode:e}),K=(e,t)=>async(n,o)=>{const{contentEditorSession:i}=o();(0,s.k)(i.contentEditor),n({type:a.HYy});const l=await i.contentEditor.createTextBlock(e);l.textBlock.modificationsCharacterStyle.fontRef.size=16;const{id:u,textBlock:{maxWidth:c,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:h}}=l,f=await i.contentEditor.layoutTextBlock(u,null,null,{maxWidth:c,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:h});(0,r.dC)((()=>{n({type:a.uo5,pageIndex:e,initialTextBlock:l,anchor:t.set("y",t.y-f.contentRect.offset.y/2)}),n({type:a.VOt,pageIndex:e,textBlockId:u,updateInfo:f})}))}},56554:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l,e:()=>s});var r=n(15359),o=n(95431),i=n(55012),a=n(77897);function s(e,t,n,i){return async(s,l)=>{const{backend:u,features:c,pages:d}=l();try{(0,r.kG)(u),u.cancelRequests();const n=await u.signDocumentAndReload(e,t);if(await(0,o.jX)(s,l,{features:c,pageKeys:d.map((e=>e.pageKey))}),n&&"STANDALONE"===u.type){const e=await u.runPDFFormattingScripts([n],!1);e.length>0&&s((0,a.bt)({changes:e,isReloading:!0}))}}catch(e){return i(e)}l().eventEmitter.emit("document.change",[]),n()}}function l(e){return{type:i.lRe,digitalSignatures:e}}},70982:(e,t,n)=>{"use strict";n.d(t,{KY:()=>p,NV:()=>h,b_:()=>c,kE:()=>d});var r=n(15359),o=n(95431),i=n(55012),a=n(77897),s=n(11765),l=n(34923),u=n(94732);function c(e,t,n){return async(i,l)=>{const{backend:c,features:d,pages:p,annotations:h,isAPStreamRendered:m}=l();(0,r.kG)(c);try{const t=e.map(s.kg);c.cancelRequests(),await c.applyOperationsAndReload(t);const n=await c.runPDFFormattingScriptsFromWidgets(h,null,m);await(0,o.jX)(i,l,{features:d,pageKeys:f(p.map((e=>e.pageKey)),e,h.filter((e=>e instanceof u.Z)))}),n.length&&i((0,a.bt)({changes:n}))}catch(e){return n(e)}l().eventEmitter.emit("document.change",e),t()}}function d(e){return{type:i.S0t,documentHandle:e}}function p(e){return{type:i.YS$,isDocumentHandleOutdated:e}}function h(e,t){return async(n,i)=>{const{backend:s,features:l,annotations:u,isAPStreamRendered:c}=i();(0,r.kG)(s);try{s.cancelRequests(),await s.reloadDocument();const e=await s.runPDFFormattingScriptsFromWidgets(u,null,c);await(0,o.jX)(n,i,{features:l}),e.length&&n((0,a.bt)({changes:e}))}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function f(e,t,n){return t.reduce(((e,t)=>{switch(t.type){case"addPage":return e.insert("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,(0,l.C)());case"movePages":{const n=e.filter(((e,n)=>t.pageIndexes.includes(n)));return e.map(((e,n)=>t.pageIndexes.includes(n)?null:e)).splice("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,0,...n.toArray()).filter((e=>e))}case"removePages":return e.filter(((e,n)=>!t.pageIndexes.includes(n)));case"keepPages":return e.filter(((e,n)=>t.pageIndexes.includes(n)));case"duplicatePages":return e.flatMap(((e,n)=>t.pageIndexes.includes(n)?[e,(0,l.C)()]:[e]));case"addPageMargins":case"cropPages":case"rotatePages":case"flattenAnnotations":return e.map(((e,n)=>!t.pageIndexes||t.pageIndexes.includes(n)?(0,l.C)():e));case"applyRedactions":{const t=n.map((e=>e.pageIndex)).toSet();return e.map(((e,n)=>t.includes(n)?(0,l.C)():e))}case"updateMetadata":case"setPageLabel":return e;case"importDocument":if(t.treatImportedDocumentAsOnePage){const n="beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1;return e.map(((e,t)=>t(0,l.C)()));default:throw new Error(`Operation ${t} is not implemented`)}}),e)}},33056:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,o:()=>o});var r=n(55012);function o(e){return{type:r.Oh4,outline:e}}function i(e){return{type:r.Whn,level:e}}},77897:(e,t,n)=>{"use strict";n.d(t,{bt:()=>V,kW:()=>q,zq:()=>z,TD:()=>I,Wh:()=>Z,HE:()=>O,M$:()=>M,h4:()=>B,el:()=>j,ul:()=>K,yM:()=>U,_4:()=>W,xW:()=>T,xh:()=>N,Qi:()=>A,r$:()=>R,V6:()=>$,vK:()=>H,C2:()=>F});var r=n(67366),o=n(15359),i=n(35369),a=n(73935),s=n(45249),l=n(55012),u=n(11765),c=n(4087),d=n(690),p=n(97395),h=n(43069),f=n(73900),m=n(46364),g=n(87996),v=n(17766),y=n(96156),b=n(35782),w=n(8514);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t(0,o.wp)(i.formatMessage(t,null==n?void 0:n.reduce(((e,t,n)=>D(D({},e),{},{[`arg${n}`]:t})),{})))),0)}var E=n(66327),S=n(48625),_=n(47120),P=n(33427),k=n(60859);function A(e){return{type:l.iJ2,formJSON:e}}function z(e){return{type:l.Ui_,formFieldValues:e}}function T(e){return{type:l.m3$,formFieldValues:e}}function O(e){return{type:l.u7V,formFieldValuesIds:e}}function I(e){return{type:l.zGM,formFields:e}}function F(e){return{type:l.Wyx,formFields:e}}function M(e){return{type:l.D_w,formFieldsIds:e}}function R(e){return{type:l.TYu,onWidgetCreationStartCallback:e}}function j(){return e=>{e((0,E.LE)(!0)),e((0,E.UF)(S.A.FORM_CREATOR))}}function B(){return e=>{e((0,E.LE)(!1)),e((0,E.XX)())}}function N(e,t){return(n,a)=>{const l=e.map((e=>new s.KD({name:e.name,value:e.value,optionIndexes:e.optionIndexes,isFitting:e.isFitting}))),u=(0,i.aV)(l),{backend:c,formFields:d,formFieldValueManager:p,annotations:f,viewportState:{zoomLevel:m}}=a();if((0,o.kG)(c),(0,o.kG)(p),g.Options.PDF_JAVASCRIPT&&"STANDALONE"===c.type)n(K(u,t));else{const e=[];(0,r.dC)((()=>{u.forEach((t=>{let r;const a=new Promise((e=>{r=e}));e.push(a),(0,h.Ay)({getState:()=>({formFields:d,annotations:f,backend:c}),originalFormFields:(0,i.D5)({[t.name]:d.get(t.name)}),formFieldValues:(0,i.aV)(l),callback:e=>{if(!e.includes(t.name)){const e=d.get(t.name);(0,o.kG)(e);const r=e.annotationIds.reduce(((e,t)=>{const n=f.get(t);return n instanceof s.x_?e.push(n):e}),(0,i.aV)());if(e.multiLine){const o=(0,k.$Z)(r.first(),e.value,m);n(T((0,i.aV)([t.set("isFitting",o)])))}else n(T((0,i.aV)([t])))}},resolve:r}),p.updateObject(t)}))})),Promise.all(e).then((()=>{null==t||t((0,i.aV)())})).catch((e=>{throw e}))}}}let L=Promise.resolve();function K(e,t){return async(n,r)=>{const l=L;let u;L=new Promise((function(e){u=e})),await l;let c=(0,i.aV)();try{const{backend:t}=r();if((0,o.kG)(t),"STANDALONE"!==t.type||!g.Options.PDF_JAVASCRIPT)return;const l=await(0,m.Vs)(t.evalFormValuesActions(e),1e4),p=l.filter((e=>e.change_type===d.zR&&"pspdfkit/form-field-value"===e.object.type)),f=p.map((e=>e.object.name)),v=(0,i.aV)(p.map((e=>new s.KD({name:e.object.name,value:Array.isArray(e.object.value)?(0,i.aV)(e.object.value):e.object.value,optionIndexes:e.object.optionIndexes})))),y=e.map((e=>e.name)).toArray().filter((e=>f.indexOf(e)<0)),{formFields:b}=r(),w=(0,h.Qg)(b.filter(((e,t)=>y.indexOf(t)>=0))),x=b.filter((t=>e.find((e=>e.name===t.name))||w.find((e=>e.name===t.name))||f.includes(t.name))),D=e.map((e=>v.find((t=>t.name===e.name))||e)).concat(v.filter((t=>!e.find((e=>e.name===t.name)))));(0,h.Ay)({getState:r,originalFormFields:x,formFieldValues:D,callback:t=>{e.size>0&&(0,a.flushSync)((function(){n(T(e))})),w.size>0&&(c=w,n(T(w))),n(V({changes:l,unchangedFormFieldValues:t}))}})}catch(e){}finally{u()}null==t||t(c)}}function V(e){let{changes:t,unchangedFormFieldValues:n=[],resolve:a,reject:s,isReloading:m=!1}=e;return(e,g)=>{const y=g(),{annotations:b,formFields:w,formFieldManager:x,backend:D,autoSaveMode:E}=y,S=y.formattedFormFieldValues;let P,k=(0,i.aV)(),A=y.editingFormFieldValues;(0,r.dC)((function(){null==D||D.setFormJSONUpdateBatchMode(!0).catch((e=>{null==s||s(e)})),k=(0,i.aV)().withMutations((n=>{P=S.withMutations((r=>{t.forEach((t=>{let{change_type:i,object:a}=t;switch(i){case d.uV:case d.zR:if("pspdfkit/form-field-value"===a.type){const e=(0,u.u9)(a);n.push(e),"string"==typeof a.formattedValue&&r.set(e.name,a.formattedValue),"string"==typeof a.editingValue&&(A=A.set(e.name,a.editingValue))}else if(a.type.startsWith("pspdfkit/form-field/")){if(!x)return;const t=(0,u.IN)(a.id,a,{permissions:a.permissions,group:a.group});w.has(t.name)?e(H(t)):e(q(t))}else try{const t=(0,u.vH)(a.id,a);b.has(t.id)?e((0,c.FG)(t)):e((0,c.$d)(t))}catch(e){(0,o.ZK)(`Form actions: unable to apply change of type "${i}"\n\n${a}\n\n${e.message}`)}break;case d.co:if(a.type.startsWith("pspdfkit/form-field/")){const t=w.get(a.name);t?e(Z(t)):(0,o.ZK)(`Form actions: unable to find FormField to delete with id "${a.id}".`)}else{const t=b.get(a.id);t?e((0,c.hQ)(t)):(0,o.ZK)(`Form actions: unable to find Annotation to delete with id "${a.id}".`)}break;case d.D2:switch(a.type){case"pspdfkit/javascript/effects/alert":{const{message:e}=a;if(e.startsWith(h.$Y)){const t=e.split("[")[1].split("]"),n=t[1].split(h.as);C(y.locale,v.A.dateValidationBadFormat,[t[0],n[1]])}else if(e.startsWith(h.sh)){const t=e.split("[")[1].split("]");C(y.locale,v.A.numberValidationBadFormat,[t[0]])}else(0,o.wp)(e);break}case"pspdfkit/javascript/effects/print":e((0,f.S0)());break;case"pspdfkit/javascript/effects/launchURL":var s;(null===(s=y.onOpenURI)||void 0===s?void 0:s.call(y,a.url,!1))&&(a.newFrame?(0,p.Z)(a.url):(0,p.l)(a.url));break;case"pspdfkit/javascript/effects/mail":{if(!a.to)break;let e=`mailto:${Array.isArray(a.to)?a.to.join(","):a.to}?`;const t=[];if(a.subject&&t.push(`subject=${encodeURIComponent(a.subject)}`),a.cc){const e=Array.isArray(a.cc)?a.cc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.cc);t.push(`cc=${e}`)}if(a.bcc){const e=Array.isArray(a.bcc)?a.bcc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.bcc);t.push(`bcc=${e}`)}a.message&&t.push(`body=${encodeURIComponent(a.message)}`),e+=t.join("&"),(0,p.Z)(e);break}case"pspdfkit/javascript/effects/importIcon":{const t=b.find((e=>e.pdfObjectId===a.annotationID||e.id===a.id));t?e(W(t)):(0,o.ZK)(`Form actions: unable to find Annotation to import icon for with pdfObjectId "${a.annotationID}".`);break}default:(0,o.ZK)(`Form actions: side effect "${a.type}" not supported.`)}break;case d.Q:break;default:(0,o.ZK)(`Form actions: change type "${i}" not supported.`)}}))}))}))}));const z=null==D?void 0:D.setFormJSONUpdateBatchMode(!1);let O=[];if(k.size>0){e(T(k)),P.size>0&&e(function(e){return{type:l.VK7,formattedFormFieldValues:e}}(P)),A.size>0&&e(function(e){return{type:l.yET,editingFormFieldValues:e}}(A));const{formFieldValueManager:t}=g();(0,o.kG)(t);let r=(0,i.l4)();O=k.filter((e=>!n.includes(e.name))).map((e=>{if(t.updateObject(e),m){const t=w.get(e.name);if(t){const e=t.annotationIds.map((e=>b.get(e))).filter(Boolean);r=r.concat((0,i.l4)(e.map((e=>e.pageIndex))))}}return E===_.u.DISABLED?Promise.resolve():t.ensureObjectSaved(e)})).toArray(),m&&r.size>0&&e({type:l.TG1,pageIndexes:r})}Promise.all([z,...O]).then((()=>{null==a||a()})).catch((e=>{null==s||s(e)}))}}function q(e){return(t,n)=>{const{formFields:r,formFieldManager:a}=n();if(r.get(e.name))throw new o.p2(`Cannot create form field: a form field with the name "${e.name}" already exists. Form field names must be unique.`);t(I((0,i.aV)([e]))),null==a||a.createObject(e)}}function H(e){return(t,n)=>{var a;const{formFields:l,annotations:u,backend:d,formFieldManager:p,annotationManager:h}=n(),f=l.find((t=>t.id===e.id||t.name===e.name));if(!f)return void(0,o.ZK)("A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped.");if(f.readOnly!==e.readOnly){const t=e.annotationIds.map((e=>u.get(e))).filter(Boolean);(0,P.CU)({formFields:l,backend:d},t,e)}const m=e.merge({value:f.value,values:f.values});let g;(0,r.dC)((()=>{if(t(F((0,i.aV)([m]))),f.name!==e.name){const n=u.filter((e=>e instanceof s.x_&&e.formFieldName===f.name)).toList();g=n.map((t=>t.set("formFieldName",e.name))),t((0,c.Zr)(g))}})),null==p||p.updateObject(m),(null===(a=g)||void 0===a?void 0:a.size)>0&&g.forEach((e=>{null==h||h.updateObject(e)}))}}function Z(e){return(t,n)=>{var r;const o=n(),a=e.annotationIds.map((e=>o.annotations.get(e))).filter(Boolean);a.isEmpty()||(t((0,c.aF)(a.map((e=>null==e?void 0:e.id)).toSet())),a.forEach((e=>{var t;null===(t=o.annotationManager)||void 0===t||t.deleteObject(e)}))),t(M((0,i.l4)([e.id]))),null===(r=n().formFieldManager)||void 0===r||r.deleteObject(e)}}function U(e,t){return(n,r)=>{const i=G(r(),e,t).map((e=>{const{name:t}=e;let n;return e instanceof s.$o||e instanceof s.XQ?n=e.defaultValue:e instanceof s.Dz||e instanceof s.rF?n=e.defaultValues:e instanceof s.R0?n=null:(0,o.kG)(!1),new s.KD({name:t,value:n})}));g.Options.PDF_JAVASCRIPT&&n(K(i)),n(T(i)),i.forEach((e=>{var t;null===(t=r().formFieldValueManager)||void 0===t||t.updateObject(e)}))}}function $(e){return(t,n)=>{var r;const a=n();let l,u=!1;if(null===(r=a.formFieldValueManager)||void 0===r||r.eventEmitter.emit("willSubmit",{preventDefault:()=>u=!0}),u)return;const{uri:c,fields:d,includeExclude:p,exportFormat:h,getMethod:f,submitPDF:m,xfdf:g}=e,v=(0,i.D5)(G(a,d,p).filter((e=>!e.noExport)).map((e=>{const{name:t}=e;return[t,e instanceof s.R0?null:void 0===e.value?e.values:e.value]})));if(h){const e=function(e){const t=[];return e.forEach(((e,n)=>{const r=encodeURIComponent(n);"string"==typeof e?t.push(`${r}=${encodeURIComponent(e)}`):null===e?t.push(`${r}=`):e instanceof i.aV&&e.forEach((e=>{t.push(`${r}[]=${encodeURIComponent(e)}`)}))})),t.join("&")}(v);if(f)l=Promise.resolve({uri:`${c}?${e}`,fetchOptions:{method:"GET"}});else{const t={headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"}),method:"POST",body:e};l=Promise.resolve({uri:c,fetchOptions:t})}}else{if(!m)return g?void(0,o.vU)("XFDF Form submission not supported yet."):void(0,o.vU)("FDF Form submission not supported yet.");var y;l=null===(y=a.backend)||void 0===y?void 0:y.exportPDF({flatten:!0,incremental:!1}).then((e=>{const t={headers:new Headers({"Content-Type":"application/pdf"}),method:"POST",body:e};return{uri:c,fetchOptions:t}}))}l.then((e=>{let{uri:t,fetchOptions:n}=e;fetch(t,n).then((e=>{var t;null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{response:e})}))})).catch((e=>{var t;e(`Form submission failed with the following error:\n\n${e}`),null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{error:e})}))}}function G(e,t,n){let r;const o=e.formFields.keySeq().toSet();return r=t?n?o.subtract(t):o.intersect(t):o,e.get("formFields").valueSeq().filter((e=>r.includes(e.name))).toList()}function W(e){return{type:l.zyH,annotation:e}}},49876:(e,t,n)=>{"use strict";n.d(t,{KX:()=>x,QQ:()=>D,Yw:()=>w,ou:()=>E,pB:()=>y,z9:()=>C,zM:()=>b});var r=n(96156),o=n(35369),i=n(15359),a=n(55012),s=n(4087),l=n(48338),u=n(23951),c=n(33427),d=n(76934),p=n(35464),h=n(34923),f=n(77897);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{const{historyChangeContext:o}=r();n(v(e)),t(),n(v(o))}}function b(e){return{type:a.x64,annotationId:e}}function w(){return(e,t)=>{const{undoActions:n,annotations:r,isHistoryEnabled:m}=t();if(!m)throw new i.p2("Cannot undo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot undo: the Undo actions history is empty.");const v=n.last(),b=(0,l.kM)(v,r);e(y(d.j.HISTORY,(()=>{"create"===v.type?e(function(e){return function(t,n){const{historyIdsMap:r,backend:i}=n();let l=e.payload;const u=e.formField;if(e.restoreAPStream&&"STANDALONE"===(null==i?void 0:i.type)&&(l=l.set("APStreamCache",{attach:r.get(l.id)||l.id})),t((0,s.$d)(l)),u&&t((0,f.kW)(u)),l.isCommentThreadRoot&&e.comments){e.comments.map((t=>t.set("rootId",e.payload.id).set("id",(0,h.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}e.restoreAPStream?t((0,s.ug)((0,o.D5)({[l.id]:l.pageIndex}))):t((0,s.GI)((0,o.D5)({[l.id]:l.pageIndex})));const c={type:"delete",payload:{id:l.id}};t({type:a.bVL,nextRedoAction:c})}}(v)):"update"===v.type?e(function(e){return function(t,n){const{annotations:r,historyIdsMap:d,backend:p}=n();let h=r.get(e.payload.id);!h&&e.deletedAnnotation&&(h=e.deletedAnnotation.set("id",(0,c.xc)()),t((0,s.$d)(h))),(0,i.kG)(h instanceof u.Z);let f=h.merge(g(g({},e.payload),{},{pdfObjectId:h.pdfObjectId,id:h.id}));e.restoreAPStream&&"STANDALONE"===(null==p?void 0:p.type)&&(f=f.set("APStreamCache",{attach:d.get(f.id)||f.id})),t((0,s.FG)(f)),e.restoreAPStream&&t((0,s.ug)((0,o.D5)({[f.id]:f.pageIndex})));const m={type:"update",payload:g(g({},(0,l.mZ)(f,h)),{},{id:h.id})};t({type:a.bVL,nextRedoAction:m}),t({type:a.tC1,oldId:d.get(e.payload.id)||e.payload.id,newId:h.id})}}(v)):"delete"===v.type?e(function(e){return function(t,n){const r=n(),{annotations:i,commentThreads:d,comments:p,historyIdsMap:h}=r,m=i.get(e.payload.id);if(!(m instanceof u.Z))return;t((0,s.hQ)(m));const g=(0,c.xc)(),v=(0,l.Yr)(m,g,d,p),y=(0,l.ax)(m,g,r);y&&t((0,f.M$)((0,o.l4)([y.id])));const b={type:"create",payload:m.merge(e.payload).set("id",g),comments:v,formField:y};t({type:a.bVL,nextRedoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:h.get(e.payload.id)||e.payload.id,newId:g})}}(v)):(0,i.Rz)(v.type)})));const{annotations:w,eventEmitter:x}=t(),D=(0,l.FA)(v,w,v.payload.id);x.emit("history.undo",{before:b,after:D}),x.emit("history.change",{before:b,after:D,action:"undo"})}}function x(){return(e,t)=>{const{redoActions:n,annotations:r,isHistoryEnabled:o}=t();if(!o)throw new i.p2("Cannot redo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot redo: the Redo actions history is empty.");const m=n.last(),v=(0,l.kM)(m,r);e(y(d.j.HISTORY,(()=>{"create"===m.type?e(function(e){return t=>{const n=e.payload,r=e.formField;if(t((0,s.$d)(n)),n.isCommentThreadRoot&&e.comments){e.comments.map((e=>e.set("rootId",n.id).set("id",(0,h.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}r&&t((0,f.kW)(r));const o={type:"delete",payload:{id:n.id}};t({type:a.iwn,nextUndoAction:o})}}(m)):"update"===m.type?e(function(e){return(t,n)=>{const{annotations:r}=n(),o=r.get(e.payload.id);(0,i.kG)(o instanceof u.Z);const d=o.merge(g(g({},e.payload),{},{id:o.id})),p=(0,c.pe)(n,o,(()=>{t((0,s.FG)(d))})),h={type:"update",payload:(0,l.mZ)(d,o),restoreAPStream:p};t({type:a.iwn,nextUndoAction:h})}}(m)):"delete"===m.type&&e(function(e){return(t,n)=>{const r=n(),{historyIdsMap:o,annotations:d,commentThreads:p,comments:h}=r,f=d.get(e.payload.id);(0,i.kG)(f instanceof u.Z);const m=(0,c.pe)(n,f,(()=>{t((0,s.hQ)(f))})),g=(0,c.xc)(),v=(0,l.Yr)(f,g,p,h),y=(0,l.ax)(f,g,r),b={type:"create",payload:f.set("id",g),restoreAPStream:m,comments:v,formField:y};t({type:a.iwn,nextUndoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:o.get(e.payload.id)||e.payload.id,newId:g})}}(m))})));const{annotations:b,eventEmitter:w}=t(),x=(0,l.FA)(m,b,m.payload.id);w.emit("history.redo",{before:v,after:x}),w.emit("history.change",{before:v,after:x,action:"redo"})}}function D(){return(e,t)=>{e({type:a._Qf});const{backend:n,eventEmitter:r}=t();"STANDALONE"===(null==n?void 0:n.type)&&n.clearAPStreamCache(),r.emit("history.clear")}}function C(){return{type:a._33}}function E(){return{type:a.wG7}}},14935:(e,t,n)=>{"use strict";n.d(t,{C0:()=>m,Ik:()=>u,Se:()=>d,U7:()=>f,VO:()=>c,Xh:()=>p,eO:()=>l,v9:()=>h});var r=n(15359),o=n(70982),i=n(29152),a=n(66327),s=n(55012);function l(e){return{type:s.$8O,measurementToolState:e}}function u(e){return{type:s.UP4,hintLines:e}}function c(e){return{type:s.Zt9,secondaryMeasurementUnit:e}}function d(e){return{type:s.VNu,activeMeasurementScale:e}}function p(e){return{type:s.wgG,isCalibratingScale:e}}const h=e=>async(t,n)=>{const o=n();(0,r.kG)(o.backend);const{backend:i,secondaryMeasurementUnit:a}=o;try{e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(e)),t(c(e))),a&&!e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(null)),t(c(null)))}catch(e){(0,r.ZK)(`Failed to set secondary measurement unit: ${e}.`),t(c(a))}},f=(e,t)=>async(n,s)=>{const l=s();(0,r.kG)(l.backend);const{backend:u,measurementScales:c}=l,d="STANDALONE"===u.type;(0,r.kG)(c);const{added:p,deleted:h}=(0,i.Rc)(c,e),f=h.map((async e=>{d&&await(null==u?void 0:u.removeMeasurementScale(e));(null==t?void 0:t.find((t=>t.prevScale===e)))||await(0,i.fH)({deletedScale:e,getState:s,dispatch:n})})),m=p.map((async e=>{d&&await(null==u?void 0:u.addMeasurementScale(e))})),g=null==t?void 0:t.map((async t=>{await(0,i.Hg)({scale:e[t.index],oldScale:t.prevScale,getState:s,dispatch:n})}));Promise.all([f,m,g]).then((async()=>{d||(p.length>0?await(null==u?void 0:u.addMeasurementScale(p[0])):h.length>0&&await(null==u?void 0:u.removeMeasurementScale(h[0])),n((0,o.KY)(!0))),n((0,a.RN)(e))}))},m=e=>async(t,n)=>{const o=n();(0,r.kG)(o.backend);const{backend:i,measurementScales:s}=o;await(null==i?void 0:i.addMeasurementScale(e)),t((0,a.RN)(s?[...s,e]:[e]))}},40084:(e,t,n)=>{"use strict";n.d(t,{IT:()=>a,Ic:()=>p,Pt:()=>D,U1:()=>b,YA:()=>s,Yr:()=>x,_R:()=>g,ac:()=>C,du:()=>y,dx:()=>d,fz:()=>i,kN:()=>u,kr:()=>f,lO:()=>v,lt:()=>l,nr:()=>h,vG:()=>m,vP:()=>c,vc:()=>w});var r=n(55012),o=n(35464);const i=()=>({type:r.wtk}),a=()=>({type:r.mE7}),s=e=>({type:r.RxB,pageIndex:e}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:r.mLh,scrollPosition:e,lastScrollUsingKeyboard:t}},u=(e,t)=>({type:r.g4f,pageIndex:e,rect:t}),c=(e,t)=>({type:r.Lyo,pageIndex:e,rect:t});function d(e,t){return n=>{n({type:r.xYE,viewportRect:e,isTriggeredByOrientationChange:t}),n((0,o.$z)())}}const p=(e,t)=>({type:r.syg,zoomLevel:e,scrollPosition:t}),h=e=>({type:r.ZGb,viewportState:e}),f=()=>({type:r.UFs}),m=()=>({type:r.RCc}),g=()=>({type:r.MfE}),v=()=>({type:r.BWS}),y=()=>({type:r.QU3}),b=e=>({type:r.lD1,degCW:e}),w=()=>({type:r.kRo}),x=()=>({type:r.UFK}),D=e=>({type:r.D1d,width:e}),C=e=>({type:r.WsN,shouldDisable:e})},44156:(e,t,n)=>{"use strict";n.d(t,{GO:()=>l,Nx:()=>f,at:()=>d,h1:()=>p,kQ:()=>h,uM:()=>u,wY:()=>c});var r=n(67366),o=n(55012),i=n(79724),a=n(34923);const s=(0,i.Z)();function l(e,t){return{type:o.ME7,payload:e,pageKeys:t}}function u(e){return{type:o.dCo,payload:e}}const c=(e,t)=>({type:o.z_j,pageIndex:e,contentBlocks:t});function d(e){return{type:o.fnw,backendPermissions:e}}const p=e=>({type:o.QYq,OCGLayers:e}),h=e=>({type:o.kQ7,visibleLayerIds:e}),f=e=>async(t,n)=>{(0,r.dC)((async()=>{const{backend:r,pages:i}=n();var l;s(r),t(h(e.visibleLayerIds)),await r.setOCGVisibilityState(e),t((l=i.map((e=>({pageIndex:e.pageIndex,pageKey:(0,a.C)()}))),{type:o.bM3,pageKeysForPages:l}))}))}},73900:(e,t,n)=>{"use strict";n.d(t,{xF:()=>z,WQ:()=>A,S0:()=>O});var r=n(35369),o=n(15359),i=n(10983),a=n(26637),s=n(45249),l=n(98179);const u=l.Ni;function c(e,t,n){const r=i.nJ[n];let o=r>=i.nJ[a.g.LOW]&&u?i.nJ[a.g.MEDIUM]:r;t||(o=i.nJ[a.g.MEDIUM]);let l=e.scale(o).floor();return l.width>i.Qr&&l.width>l.height&&(l=new s.$u({width:i.Qr,height:Math.round(i.Qr*l.height/l.width)})),l.height>i.Qr&&l.height>l.width&&(l=new s.$u({width:Math.round(i.Qr*l.width/l.height),height:i.Qr})),[l,o]}const d=e=>{const t=e.scale(i.Ui);return new s.$u({width:Math.ceil(t.width),height:Math.floor(t.height)})};function p(e,t,n,r){const a=e.ownerDocument,l=a.createElement("div");l.id="print";const u=a.createElement("style");u.textContent=function(e){const t=`\n @page {\n size: ${e.width}pt ${e.height}pt;\n }\n\n \n @page {\n margin: 0;\n }`;return`\n @media print {\n \n * {\n ${h()}\n padding: 0 !important;\n margin: 0 !important;\n box-sizing: initial !important;\n display: none !important;\n visibility: hidden !important;\n }\n\n html, body {\n ${h()}\n height: 100% !important;\n width: 100% !important;\n display: block !important;\n visibility: visible !important;\n }\n\n \n\n body {\n background: transparent none !important;\n }\n\n #print, #print-container {\n ${h()}\n display: block !important;\n visibility: visible !important;\n height: 100% !important;\n }\n\n #print-container > div {\n ${h()}\n display: block !important;\n visibility: visible !important;\n position: relative !important;\n top: 0 !important;\n left: 0 !important;\n width: 1px !important;\n height: 1px !important;\n overflow: visible !important;\n page-break-after: always !important;\n page-break-inside: avoid !important;\n }\n\n #print-container canvas {\n ${h()}\n display: block !important;\n visibility: visible !important;\n }\n\n \n #print-container > .rotate90 {\n ${h()}\n display: block !important;\n visibility: visible !important;\n transform: rotate(90deg) !important;\n }\n\n \n #print-container > .rotateNegative90 {\n ${h()}\n display: block !important;\n visibility: visible !important;\n transform: translateY(${Math.abs(e.height-e.width)}pt) rotate(-90deg) !important;\n }\n\n \n @-moz-document url-prefix() {\n #print-container > .rotateNegative90 , #print-container > .rotate90 {\n margin-bottom: ${Math.abs(e.height-e.width)}pt !important;\n }\n }\n\n\n\n\n ${t}\n `}(function(e){const t=e.first();if(!t)return new s.$u({width:i.zA,height:i._2});let n=!1;const r=e.reduce(((e,t)=>{let{pageSize:r}=t;return r.width{const{rotation:o}=n.get(t)||{},i=a.createElement("div");if(i.classList.add("page"),r){e.width>e.height&&(1===o?i.classList.add("rotateNegative90"):i.classList.add("rotate90"))}i.appendChild(e),c.appendChild(i)})),l.appendChild(u),l.appendChild(c),e.appendChild(l),()=>{e.removeChild(l)}}function h(){return"animation: none 0s ease 0s 1 normal none running !important;\nbackface-visibility: visible !important;\nbackground: transparent none repeat 0 0/auto auto padding-box border-box scroll !important;\nborder: medium none currentColor !important;\nborder-collapse: separate !important;\nborder-image: none !important;\nborder-radius: 0 !important;\nborder-spacing: 0 !important;\nbottom: auto !important;\nbox-shadow: none !important;\nbox-sizing: content-box !important;\ncaption-side: top !important;\nclear: none !important;\nclip: auto !important;\ncolor: #000 !important;\ncolumns: auto !important;\ncolumn-count: auto !important;\ncolumn-fill: balance !important;\ncolumn-gap: normal !important;\ncolumn-rule: medium none currentColor !important;\ncolumn-span: 1 !important;\ncolumn-width: auto !important;\ncontent: normal !important;\ncounter-increment: none !important;\ncounter-reset: none !important;\ncursor: auto !important;\ndirection: ltr !important;\ndisplay: inline !important;\nempty-cells: show !important;\nfloat: none !important;\nfont-family: serif !important;\nfont-size: medium !important;\nfont-style: normal !important;\nfont-variant: normal !important;\nfont-weight: 400 !important;\nfont-stretch: normal !important;\nline-height: normal !important;\nheight: auto !important;\nhyphens: none !important;\nleft: auto !important;\nletter-spacing: normal !important;\nlist-style: disc outside none !important;\nmargin: 0 !important;\nmax-height: none !important;\nmax-width: none !important;\nmin-height: 0 !important;\nmin-width: 0 !important;\nopacity: 1 !important;\norphans: 2 !important;\noutline: medium none invert !important;\noverflow: visible !important;\noverflow-x: visible !important;\noverflow-y: visible !important;\npadding: 0 !important;\npage-break-after: auto !important;\npage-break-before: auto !important;\npage-break-inside: auto !important;\nperspective: none !important;\nperspective-origin: 50% 50% !important;\nposition: static !important;\nright: auto !important;\ntab-size: 8 !important;\ntable-layout: auto !important;\ntext-align: left !important;\ntext-align-last: auto !important;\ntext-decoration: none !important;\ntext-indent: 0 !important;\ntext-shadow: none !important;\ntext-transform: none !important;\ntop: auto !important;\ntransform: none !important;\ntransform-origin: 50% 50% 0 !important;\ntransform-style: flat !important;\ntransition: none 0s ease 0s !important;\nunicode-bidi: normal !important;\nvertical-align: baseline !important;\nvisibility: visible !important;\nwhite-space: normal !important;\nwidows: 2 !important;\nwidth: auto !important;\nword-spacing: normal !important;\nz-index: auto !important;\nall-initial !important;"}var f=n(66327),m=n(43069),g=n(32249),v=n(33427),y=n(70025),b=n(82716);const w={macos:{blink:!0,webkit:!0},windows:{blink:!0,trident:!0},ios:{webkit:!0},android:{},linux:{blink:!0},unknown:{}};let x=null,D=null,C=null,E=null;function S(){C&&(clearTimeout(C),C=null),E&&(clearTimeout(E),E=null),x&&x.parentNode&&(x.parentNode.removeChild(x),x=null),D&&D()}var _=n(55012),P=n(12705);function k(){return{type:_.skc}}function A(){return{type:_.snh}}function z(){return{type:_._uU}}function T(e){const t="number"==typeof e?e:null;return{type:_.qV6,currentPage:t}}function O(){let{mode:e,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(n,r)=>{e||(e=r().printMode);return(e===y.X.DOM?F:M)(n,r,t)}}let I=()=>{};async function F(e,t,n){e((0,f.X2)()),e(T(0)),e(k());const o=[];let i=t(),a=[];function u(){a.forEach((e=>{e()})),a=[]}I(),I=u;for(const{pageIndex:p,pageSize:f}of i.pages){if(!t().isPrinting)return I(),I=()=>{},void e(T(null));const[g,w]=c(f,(0,P.jb)(i),i.printQuality);try{var h;await(null===(h=i.annotationManager)||void 0===h?void 0:h.loadAnnotationsForPageIndex(p)),i=t();const u=i.pages.get(p);let c;if((0,b.k)(u&&i.backend),n)c=i.backend.corePDFBridge.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0).promise;else{var y;const{annotationIds:e}=u,t=e.map((e=>i.annotations.get(e))).filter(Boolean).filter((e=>(0,v.x2)(e)&&(0,v.d)(e)&&!(e instanceof s.Jn||e instanceof s.On&&i.commentThreads.has(e.id)))).toList(),n=i.formFields.filter((e=>e.annotationIds.some((e=>{const t=i.annotations.get(e);return!(!t||t.pageIndex!==p)})))),o=(0,m.Qg)(n),a=t.reduce(((e,t)=>e.merge((0,v.Dc)(i.attachments,t))),(0,r.D5)()),l=null===(y=i.digitalSignatures)||void 0===y||null===(y=y.signatures)||void 0===y?void 0:y.filter((e=>n.some((t=>{let{name:n}=t;return n===e.signatureFormFQN}))));c=i.backend.corePDFBridge.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0,{annotations:t,formFieldValues:o,attachments:a,signatures:l,formFields:n.toList()}).promise}let{element:x,release:D}=await c;if(a.push(D),"IMG"===x.nodeName){const e=x,t=document.createElement("canvas");t.width=g.width,t.height=g.height;const n=t.getContext("2d");(0,b.k)(n),null==n||n.drawImage(e,0,0),x=t}const{renderPageCallback:C}=i;if("function"==typeof C){const e=x.getContext("2d");null==e||e.scale(w,w),C(e,p,f)}const E=l.G6?f:d(f);x.style.cssText=`width: ${E.width}px !important;\nheight: ${E.height}px !important; display: none; filter: none; ${l.vU?"border: 1px solid transparent !important":""}`,o.push(x),e(T(p+1))}catch(e){throw u(),e}}try{(0,b.k)(document.body,"Printing requires a `` tag in the main HTML layout.");const{pages:t}=i,n=function(e){let t;for(const[n,{pageSize:r}]of e.entries()){const e=r.width>r.height?"landscape":"portrait";if(0!==n){if(e!==t)return!0}else t=e}return!1}(t),r=p(document.body,o,t,n);I=()=>{u(),r()},await(w=()=>{if((0,g.il)(),window.focus(),l.b5){let e=!1;const t=()=>{e=!0,window.focus()},n=()=>{e=!1},r=()=>{e||(window.removeEventListener("focus",r),window.removeEventListener("beforeprint",t),window.removeEventListener("afterprint",n),I(),I=()=>{})};window.addEventListener("focus",r),window.addEventListener("beforeprint",t),window.addEventListener("afterprint",n)}window.print()},x=()=>{e((0,f.Zg)()),e(A()),e(T(null))},new Promise((e=>{const t=Date.now();setTimeout((()=>{w(),x();const n=Date.now()-t>500?25:18e4;setTimeout(e,n)}))})))}catch(e){throw e}finally{l.b5||(I(),I=()=>{})}var w,x}async function M(e,t,n){const r=t().backend;if((0,b.k)(r),!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.By,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:navigator.plugins;const r=w[e].hasOwnProperty(t);let o="ios"===e;const i=/pdf/i;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((async(r,o)=>{const i=12e4;S();const a=document.documentElement;(0,b.k)(a,"Could not access document.documentElement");const s=e=>{e.dataset.pspdfkitPrint="true",e.style.position="absolute",e.style.bottom="0px",e.style.left="0px",e.style.width="0px",e.style.height="0px",e.style.border="none",e.setAttribute("type","application/pdf")},{promise:l,revoke:u}=e.generatePDFObjectURL({includeComments:!1,saveForPrinting:!0,excludeAnnotations:n});D=u;const c=await l;if("trident"===t){x=document.createElement("embed"),x.setAttribute("src",c),s(x),a.appendChild(x),x.focus();const e=Date.now();!function t(){const n=document.querySelector("embed[data-pspdfkit-print=true]");(0,b.k)(n,"element not found"),Date.now()-e>3e4&&(u(),o(new Error("timeout")));try{n.print(),r(),C=setTimeout(S,i)}catch(e){E=setTimeout(t,500)}}()}else try{x=document.createElement("iframe"),x.setAttribute("src",c),x.setAttribute("aria-hidden","true"),s(x),x.onload=()=>{(0,b.k)(x,"iframe.onload called without element"),(0,b.k)(x instanceof HTMLIFrameElement,"element must be of type iframe");const e=x.contentWindow;if("webkit"===t){const t=setInterval((()=>{var n;"about:blank"!==(null==e?void 0:e.location.href)&&"complete"===(null==e?void 0:e.document.readyState)&&(clearInterval(t),null===(n=x)||void 0===n||n.focus(),null==e||e.print(),r(),C=setTimeout(S,i))}),100);setTimeout((()=>{clearInterval(t),o("Print failed: the document is taking too long to prepare"),S()}),5e3)}else x.focus(),null==e||e.print(),r(),C=setTimeout(S,i)},a.appendChild(x)}catch(e){o(e),S()}}))}(r,void 0,n),e(A())}catch(t){e(A())}}}},31647:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(15359),o=n(95431),i=n(94732),a=n(34923);function s(e,t){return async(n,i)=>{const{backend:a,features:s}=i();try{(0,r.kG)(a),a.cancelRequests(),await a.applyRedactionsAndReload(),await(0,o.jX)(n,i,{features:s,pageKeys:l(i())})}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function l(e){const{pages:t,annotations:n}=e,r=n.filter((e=>e instanceof i.Z)).map((e=>e.pageIndex)).toSet();return t.map((e=>r.includes(e.pageIndex)?(0,a.C)():e.pageKey))}},18287:(e,t,n)=>{"use strict";n.d(t,{M0:()=>d,Sc:()=>p,Xe:()=>s,_8:()=>o,ct:()=>l,dZ:()=>a,j8:()=>h,jL:()=>i,nJ:()=>c,t2:()=>f,tB:()=>u});var r=n(55012);function o(e){return{type:r.FH6,term:e}}function i(){return{type:r.$Jy}}function a(){return{type:r.gIV}}function s(){return{type:r.$hO}}function l(){return{type:r._AY}}function u(){return{type:r.Ifu}}function c(){return{type:r.nFn}}function d(e){return{type:r.F6q,isLoading:e}}function p(e){return{type:r.qZT,results:e}}function h(e){return{type:r.p1u,state:e}}function f(e){return{type:r.esN,provider:e}}},89637:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>P,BO:()=>_,Df:()=>T,FP:()=>x,IP:()=>M,J4:()=>A,Oc:()=>j,Q2:()=>R,Sb:()=>I,VR:()=>O,Y1:()=>z,_:()=>V,_3:()=>B,d5:()=>C,fz:()=>k,mg:()=>L,mv:()=>N,oX:()=>F,td:()=>E,tu:()=>q,vR:()=>D});var r=n(67366),o=n(35369),i=n(15359),a=n(98179),s=n(45249),l=n(11192),u=n(12705),c=n(33427),d=n(35464),p=n(4087),h=n(31442),f=n(54103),m=n(55012),g=n(97238),v=n(6502),y=n(35727),b=n(67009),w=n(14935);const x=(e,t)=>n=>{n((0,d.Dm)()),n(((e,t)=>({type:m.f3N,textRange:e,inlineTextMarkupToolbar:t}))(e,t))},D=()=>(e,t)=>{(0,l.a7)(t().frameWindow),e({type:m.MOe})},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.l4)(),t=arguments.length>1?arguments[1]:void 0;return{type:m._fK,newSelectedAnnotationsIds:e,annotationClass:t}},E=e=>(t,n)=>{const{annotations:r,selectedAnnotationIds:i}=n(),a=i.reduce(((e,t)=>{const n=r.get(t);return n?e.push(n):e}),(0,o.aV)());t(S(a)),t(C((0,o.l4)(),e))},S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.aV)(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,o.aV)(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,o.aV)();return(r,o)=>{const i=o().currentItemPreset;e.forEach((e=>{e&&r((0,p.hQ)(e)),e&&!h.ZP[i]&&r((0,p.sF)(e.id))})),t.forEach((e=>{r((0,p.$d)(e)),i&&!h.ZP[i]&&r((0,p.pZ)(e.id,i))})),n.forEach((e=>{r((0,p.uk)(e))}))}},_=e=>(t,n)=>{const r=n();if(!r.currentTextSelection)return t(E(e)),void t(D());const i=r.annotations.filter((e=>r.selectedAnnotationIds.has(e.id))).mapEntries((e=>{let[,t]=e;return[null!=t.pageIndex?t.pageIndex:r.viewportState.currentPageIndex,null!=t.pageIndex?t:t.set("pageIndex",r.viewportState.currentPageIndex)]})),a=(0,g.Bx)(r,i,e),s=i.reduce(((e,t)=>a.find((e=>e.id===t.id))?e:e.push(t)),(0,o.aV)()),l=a.filter((e=>!r.selectedAnnotationIds.has(e.id))),u=a.filter((e=>r.selectedAnnotationIds.has(e.id)&&!e.equals(i.get(e.pageIndex))));t(S(s,l,u));const c=(0,o.l4)(a.map((e=>e.id)));t(C(c,e))},P=()=>(e,t)=>{const n=t();n.selectedAnnotationIds.toSeq().map((e=>n.annotations.get(e))).filter(Boolean).filter((e=>e instanceof s.gd?!e.text.value||""===e.text.value:(e instanceof s.Hi||e instanceof s.om)&&(!e.points||e.points.size<=1))).forEach((t=>{e((0,p.hQ)(t))}))},k=()=>(e,t)=>{var n;(0,l.a7)(t().frameWindow),(0,r.dC)((()=>{e((0,d.Dm)()),e(P()),e((0,p.i0)()),e({type:m.MOe}),e({type:m.a33}),e((0,d.$z)()),e(K(null)),e((0,w.Ik)(null))})),null===(n=t().annotationManager)||void 0===n||n.autoSave()},A=(e,t)=>(n,r)=>{const o=r(),a=o.annotations.filter(((t,n)=>e.includes(n))),c=(0,u.ix)(o),p=a.some((e=>e instanceof s.x_));(0,i.kG)(!p||c,"Widget annotations cannot be selected without the corresponding license feature nor without instant enabled.");const h=a.map((e=>e.id)).toSet();n((0,d.Dm)()),(0,l.a7)(o.frameWindow);const f=h.find((e=>o.commentThreads.has(e)));if(f){const e=o.commentThreads.get(f);(0,i.kG)(null!=e);(0,y._P)(e,o.comments)||n((0,d.mh)(f))}n({type:m._Yi,annotations:h,mode:t,selectedAnnotationShouldDrag:null}),n((0,d.$z)())},z=()=>({type:m.RvB}),T=(e,t)=>(n,r)=>{const{commentThreads:a,comments:s,annotationsGroups:l}=r();if(1===e.size){const r=null==l?void 0:l.find((t=>{let{annotationsIds:n}=t;return n.has(e.first())}));if(r)return n(T(r.annotationsIds,t||null)),void n(K(r.groupKey))}e.forEach((e=>{if(a.has(e)){const t=a.get(e);(0,i.kG)(t);(0,y._P)(t,s)||n((0,d.mh)(e))}})),n(((e,t)=>({type:m._Yi,annotations:(0,o.l4)(e),mode:f.o.SELECTED,selectedAnnotationShouldDrag:t}))(e,t)),n((0,d.$z)())},O=e=>({type:m._Yi,annotations:(0,o.l4)([e]),mode:f.o.EDITING});function I(){return{type:m.c3G}}const F=e=>({type:m.TPT,id:e}),M=e=>({type:m.iyZ,id:e}),R=e=>({type:m.qh0,id:e}),j=e=>({type:m.rm,id:e}),B=e=>(t,n)=>{const{eventEmitter:r}=n();if(e){let t=!1;if(r.emit("annotationNote.hover",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:m.yyM,annotationNote:e})},N=e=>(t,n)=>{const{eventEmitter:r}=n();if(e){let t=!1;if(r.emit("annotationNote.press",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:m.vSH,annotationNote:e})},L=function(e,t){let{selectedAnnotationShouldDrag:n,preventDefault:i,stopPropagation:l,ignoreReadOnly:d,isAnnotationPressPrevented:h,clearSelection:f,longPress:m}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{selectedAnnotationShouldDrag:null,preventDefault:!1,stopPropagation:!1,ignoreReadOnly:!1,isAnnotationPressPrevented:void 0,clearSelection:!1,longPress:!1};return(g,y)=>{var w,x;const D=y(),{selectedAnnotationIds:C,annotations:E,activeAnnotationNote:S,collapseSelectedNoteContent:_,interactionsDisabled:P,eventEmitter:A,formDesignMode:z,isMultiSelectionEnabled:O}=D,I=!!e&&(e instanceof s.Qi||(e instanceof s.Jn||e instanceof s.FV)&&e.isCommentThreadRoot);if(null!=e&&e.locked&&!I)return;const F=C.size>1,M=t.shiftKey||a.Ni&&F;if(S&&g(N(null)),_&&g((0,p.i0)()),!d&&(P||e&&(!("action"in e)||!e.action)&&(null===(w=e.additionalActions)||void 0===w||!w.onPointerDown)&&!e.isCommentThreadRoot&&(0,u.lV)(e,D)))return;if(void 0===h&&(h=!!e&&(0,c.TW)({annotation:e,nativeEvent:t.nativeEvent,selected:!1},A)),h)return;if((i||t.hasOwnProperty("type")&&"keypress"===t.type)&&t.preventDefault(),l&&t.stopPropagation(),f&&g(k()),!e)return;if(M){const t=E.get(C.first());if((null==t?void 0:t.pageIndex)!==e.pageIndex)return}const R=C.has(e.id);if("action"in e&&e.action&&!m&&!R&&!M)return void g((0,v.oo)(e));if("additionalActions"in e&&null!==(x=e.additionalActions)&&void 0!==x&&x.onPointerDown)return void g((0,v.TU)(e,"onPointerDown"));const j=!(0,b.Zt)(D,e)&&(!(e instanceof s.x_)||z);if(!j)return;const B=D.annotationsGroups.find((t=>{let{annotationsIds:n}=t;return n.has(e.id)}));if(R||!j||M||B){if(M&&O){if(R)return g(T(C.remove(e.id),n||null)),void g(K(null));if(B)return void(0,r.dC)((()=>{g(T(D.selectedAnnotationIds.merge(B.annotationsIds),n||null)),g(K(null))}));if(!R&&!B)return g(T(C.add(e.id),n||null)),void g(K(null))}if(!M){if(!R&&!B)return void(0,r.dC)((()=>{g(k()),g(T((0,o.l4)([e.id]),n||null))}));R||!B||F||(0,r.dC)((()=>{g(T(B.annotationsIds,n||null)),g(K(B.groupKey))}))}}else(0,r.dC)((()=>{g(k()),g(T((0,o.l4)([e.id]),n||null))}))}},K=e=>({type:m.t$K,groupId:e}),V=e=>({type:m.vBn,pullToRefreshNewState:e}),q=e=>({type:m.L2A,inlineTextSelectionToolbarItemsCallback:e})},21693:(e,t,n)=>{"use strict";n.d(t,{Bm:()=>y,T6:()=>m,Th:()=>f,de:()=>b,l5:()=>g,nR:()=>v});var r=n(35369),o=n(15359),i=n(55012),a=n(54662),s=n(55441),l=n(90569),u=n(13205),c=n(33427),d=n(2841),p=n(17078),h=n(4087);function f(e,t){let{signatureRect:n,signaturePageIndex:p}=t,{hash:h,attachment:f}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t,m)=>{var g,v;null===p&&(p=m().viewportState.currentPageIndex),(0,o.kG)("number"==typeof p,"Page index for a signature should be a number.");const y=m().pages.get(p);(0,o.kG)(y,`Cannot find page at index ${p}`);const b=y.pageSize;let w,x=e.withMutations((e=>{const t=(0,c.lx)(m());Object.keys(t).forEach((n=>{e.set(n,t[n])})),e.set("pageIndex",p),e.set("isSignature",!0)}));if(n){x=x.set("boundingBox",x.boundingBox.set("top",0).set("left",0)),x=(0,s.o)(x,new l.Z({width:n.width,height:n.height}),!0);const{boundingBox:e}=x,t=n.left+(n.width-e.width)/2,r=n.top+(n.height-e.height)/2;w=new u.Z({x:t,y:r})}else if(!x.boundingBox.top&&!x.boundingBox.left){const{boundingBox:e}=x;w=new u.Z({x:b.width/2-e.width/2,y:b.height/2-e.height/2})}w&&(x=(0,a.c)(x,w,b,new u.Z));const D={annotations:(0,r.aV)([x]),reason:d.f.SELECT_END};m().eventEmitter.emit("annotations.willChange",D),t({type:i.mGH,signature:x}),null===(g=m().annotationManager)||void 0===g||g.createObject(x,{attachments:h&&f?(0,r.D5)([[h,f]]):(0,r.D5)()}),null===(v=m().annotationManager)||void 0===v||v.autoSave()}}function m(e,t){return(n,r)=>{const o=e.merge({id:null,name:null,pageIndex:0});t&&n({type:i.W0l,annotation:o}),r().eventEmitter.emit("inkSignatures.create",o),r().eventEmitter.emit("inkSignatures.change"),r().eventEmitter.emit("storedSignatures.create",o),r().eventEmitter.emit("storedSignatures.change")}}function g(e,t,n,r){let{dimensions:o,hash:i,attachment:a,file:s}=e,{signatureRect:l,signaturePageIndex:u}=r;return(e,r)=>{let d;e((0,h.Ds)("image")),d=s instanceof File?(0,c.om)(r(),o,i,s.type,s.name):(0,c.om)(r(),o,i,"image/png"),d=d.set("isSignature",!0),e((0,p.O)({hash:i,attachment:a})),e(f(d,{signatureRect:l,signaturePageIndex:u},{hash:i,attachment:a})),t&&e(m(d,n))}}function v(e){return{type:i.Kw7,annotations:e}}function y(e,t){return(n,r)=>{t&&n({type:i.Kc8,annotation:e}),r().eventEmitter.emit("inkSignatures.delete",e),r().eventEmitter.emit("inkSignatures.change"),r().eventEmitter.emit("storedSignatures.delete",e),r().eventEmitter.emit("storedSignatures.change")}}function b(){return async(e,t)=>{const{populateStoredSignatures:n}=t().signatureState;e(v(await n()))}}},20253:(e,t,n)=>{"use strict";n.d(t,{De:()=>o,LT:()=>a,v1:()=>i});var r=n(55012);const o=e=>({type:r.aWu,toolbarItems:e}),i=e=>({type:r.T3g,annotationToolbarItemsCallback:e}),a=e=>({type:r.A8G,height:e})},739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r=n(96156),o=n(67294),i=n(45249),a=n(40163),s=n(59140),l=n(98179),u=n(21853),c=n(47460),d=n.n(c),p=n(37390),h=n.n(p),f=n(48947),m=n.n(f),g=n(24322),v=n(14935);const y=(0,l.yx)(),b="data:image/svg+xml;base64,"+globalThis.btoa(h()),w="data:image/svg+xml;base64,"+globalThis.btoa(m());class x extends o.Component{constructor(){super(...arguments),(0,r.Z)(this,"shouldComponentUpdate",a.O),(0,r.Z)(this,"position",null),(0,r.Z)(this,"rect",null),(0,r.Z)(this,"state",{isDrawing:!1,isPenUser:!1,explicitScroll:!1,clientX:0,clientY:0,canAutoCloseShape:!1}),(0,r.Z)(this,"_drawingAreaEl",null),(0,r.Z)(this,"lastClickTime",null),(0,r.Z)(this,"_drawingAreaRef",(e=>{var t;(this._drawingAreaEl=e,e&&l.TL)&&(null===(t=this._drawingAreaEl)||void 0===t||t.addEventListener("touchmove",u.PF))})),(0,r.Z)(this,"onUnmount",(()=>{var e;this._drawingAreaEl&&l.TL&&(null===(e=this._drawingAreaEl)||void 0===e||e.removeEventListener("touchmove",u.PF));this._drawingAreaEl=null})),(0,r.Z)(this,"_handlePointerDown",(e=>{let t=!0;if(y&&this.props.canScrollWhileDrawing&&("pen"!==e.pointerType||this.state.isPenUser?"touch"===e.pointerType&&this.state.isPenUser&&(this.setState({explicitScroll:!0,clientX:e.clientX,clientY:e.clientY}),t=!1):this.setState({explicitScroll:!1,isPenUser:!0})),this.state.isDrawing)return void this._handlePointerUp();if(!e.isPrimary)return;if(!this._drawingAreaEl)return;this.rect=this._drawingAreaEl.getBoundingClientRect(),e.stopPropagation();const n=new i.E9({x:e.clientX,y:e.clientY}),r=this.position&&n.distance(this.position)<=10;var o,a;(this.position=n,this._buffer=[],this.setState({isDrawing:!0}),this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&(null===(o=(a=this.props).dispatch)||void 0===o||o.call(a,(0,v.Ik)(null)));const{onDrawStart:s,onDoubleClick:l}=this.props,u=(new Date).getTime();if(this.lastClickTime&&l&&u-this.lastClickTime<500&&r)return l(this._transformPoint(n)),void(this.lastClickTime=null);this.lastClickTime=u,t&&s&&s(this._transformPoint(n),n)})),(0,r.Z)(this,"_buffer",[]),(0,r.Z)(this,"_throttleMove",D()),(0,r.Z)(this,"_throttleUp",D()),(0,r.Z)(this,"_handlePointerMove",(e=>{if(this.state.explicitScroll){const t={x:e.clientX,y:e.clientY},n={x:this.state.clientX,y:this.state.clientY};return requestAnimationFrame((()=>{if(this.props.scrollElement){const e=this.props.scrollElement.scrollTop+(n.y-t.y),r=this.props.scrollElement.scrollLeft+(n.x-t.x);this.props.scrollElement.scrollTop=e,this.props.scrollElement.scrollLeft=r}})),void this.setState({clientX:t.x,clientY:t.y})}this._handleDrawLine(e),this._handleCursorMove(e)})),(0,r.Z)(this,"_handleCursorMove",(e=>{if(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi){if(!this.props.defaultAutoCloseThreshold)return;const a=new i.E9({x:e.clientX,y:e.clientY}),s=this.props.currentAnnotation.points,l=s.last(),u=this._transformPoint(a);var t,n;if(l&&u)null===(t=(n=this.props).dispatch)||void 0===t||t.call(n,(0,v.Ik)({lines:[{start:l,end:u}],pageIndex:this.props.currentAnnotation.pageIndex}));if(s&&s.size<3)return;const c=(0,g.KM)(this.props.currentAnnotation,0,this.props.defaultAutoCloseThreshold,new i.E9({x:u.x,y:u.y}));var r,o;if(-1!==c&&c!==s.size-1)this.setState({canAutoCloseShape:!0}),null===(r=(o=this.props).dispatch)||void 0===r||r.call(o,(0,v.Ik)({lines:[{start:l,end:s.get(c)}],pageIndex:this.props.currentAnnotation.pageIndex}));else this.setState({canAutoCloseShape:!1})}})),(0,r.Z)(this,"_handlePointerUp",(e=>{e&&!e.isPrimary||(e&&e.stopPropagation(),this.setState({isDrawing:!1}),this.state.isPenUser&&"touch"==(null==e?void 0:e.pointerType)?this.setState({explicitScroll:!1}):this._throttleUp((()=>{const{onDrawEnd:e}=this.props;this._drawingAreaEl&&(this.rect=this._drawingAreaEl.getBoundingClientRect(),this._buffer=[],this.position&&e&&e(this._transformPoint(this.position)))})))})),(0,r.Z)(this,"_defaultTransformPoint",(e=>{if(!this.rect)return e;const t=this.props.size.width/this.rect.width,n=this.props.size.height/this.rect.height,r="number"==typeof this.rect.x?this.rect.x:this.rect.left,o="number"==typeof this.rect.y?this.rect.y:this.rect.top;return new i.Wm({x:e.x-r,y:e.y-o}).scale(t,n)})),(0,r.Z)(this,"_transformPoint",(e=>this._clipPointToContainerBounds((this.props.transformPoint||this._defaultTransformPoint)(new i.Wm({x:e.x,y:e.y})))))}render(){return o.createElement(s.Z,{onPointerDown:this._handlePointerDown,onRootPointerMove:this.state.isDrawing?this._handlePointerMove:this._handleCursorMove,onRootPointerUpCapture:this.state.isDrawing?this._handlePointerUp:void 0,interactionMode:this.props.interactionMode},o.createElement("div",{"data-testid":"drawcomponent",role:"application"},o.createElement("div",{className:d().layer,style:(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&!l.G6?{cursor:this.state.canAutoCloseShape?`url(${w}) 6 6, auto`:`url(${b}) 6 6, auto`}:{},ref:this._drawingAreaRef})))}_handleDrawLine(e){e.preventDefault(),e.stopPropagation();const t=new i.E9({x:e.clientX,y:e.clientY});if(t.equals(this.position))return;this.position=t;const{onDrawCoalesced:n}=this.props;if(n){const t=e.getCoalescedEvents();this._buffer=this._buffer.concat(t),this._throttleMove((()=>{const[e,t]=this._buffer.reduce(((e,t)=>{const n=new i.E9({x:t.clientX,y:t.clientY});return e[0].push(this._transformPoint(n)),e[1].push(n),e}),[[],[]]);this._buffer=[],n(e,t)}))}}_clipPointToContainerBounds(e){if(this._isPointWithinContainer(e))return e;const{size:t}=this.props;return e.x>t.width&&(e=e.set("x",t.width)),e.x<0&&(e=e.set("x",0)),e.y>t.height&&(e=e.set("y",t.height)),e.y<0&&(e=e.set("y",0)),e}_isPointWithinContainer(e){const{size:t}=this.props;return new i.UL({width:t.width,height:t.height}).isPointInside(e)}}function D(){let e;return t=>{e||requestAnimationFrame((()=>{const t=e;e=null,t()})),e=t}}},2877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(96156),o=n(15359),i=n(67294),a=n(94184),s=n.n(a),l=n(72322),u=n(21853),c=n(84008),d=n.n(c);class p extends i.PureComponent{constructor(){var e;super(...arguments),e=this,(0,r.Z)(this,"_cancelImagePromise",null),(0,r.Z)(this,"_throttledFetchImage",(0,l.Z)(this._fetchImage,"number"==typeof this.props.throttleTimeout?this.props.throttleTimeout:2e3,!0)),(0,r.Z)(this,"imageRef",i.createRef()),(0,r.Z)(this,"_replaceImage",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.imageRef.current?(e.imageRef.current.appendChild(t.element),setTimeout((()=>t.release()),500),e.imageRef.current&&e.imageRef.current.children.length>1&&e.imageRef.current.removeChild(e.imageRef.current.firstChild),e.props.onRenderFinished&&e.props.onRenderFinished(),n&&e._throttledFetchImage()):t.release()})),(0,r.Z)(this,"_onImageAvailable",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{label:r,visible:i}=e.props,a=t.element;a&&e.imageRef.current&&a!==e.imageRef.current.firstChild&&(a.setAttribute("alt",r||""),i||a.setAttribute("role","presentation"),(0,u.sR)(a).then((()=>requestAnimationFrame((()=>e._replaceImage(t,n))))).catch((t=>{(0,o.vU)(t),e.props.onError&&e.props.onError(t)})))}))}componentDidMount(){this._throttledFetchImage()}refresh(){this._throttledFetchImage()}refreshSkippingThrottle(){this._fetchImage()}async _fetchImage(){let e;this._cancelOutstandingRequests();const{promise:t,isProvisional:n,cancel:r}=this.props.fetchImage();this._cancelImagePromise=r;try{var i,a;if(e=await t,e)this._onImageAvailable(e,n);else null===(i=(a=this.props).onError)||void 0===i||i.call(a)}catch(e){var s,l;(0,o.vU)(e),r(e),null===(s=(l=this.props).onError)||void 0===s||s.call(l,e)}this._cancelImagePromise=null}_cancelOutstandingRequests(){this._cancelImagePromise&&this._cancelImagePromise()}componentWillUnmount(){this._cancelOutstandingRequests()}render(){const{className:e,rectStyle:t}=this.props;return i.createElement("div",{className:s()(d().root,e),style:t,ref:this.imageRef})}}},21655:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(22122),o=n(96156),i=n(86998),a=n(67294),s=n(94184),l=n.n(s),u=n(18390),c=n(86849),d=n(44077),p=n(98179),h=n(16989),f=n.n(h);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n=0;const[r,o]=a.useState(null),[i,s]=a.useState(!1),l=e=>{t||s(e)};function u(){n=Date.now(),l(!1)}return[i,{onTouchStart(){n=Date.now(),l(!0)},onTouchEnd:u,onTouchCancel:u,onMouseEnter(){Date.now()-n>500&&l(!0)},onMouseLeave(){l(!1)},onMouseDown(e){o(e)},onPointerDown(e){o(e)},onClick(t){r&&r.clientX===t.clientX&&r.clientY===t.clientY&&(e(t),o(null))}}]}((()=>{i.dragging||d(t)})),{item:D,label:C,props:E}=o(t,y,b),S=l()(f().thumbnail,n+"-Thumbnails-Page-Image",{[f().thumbnailClickDisabled]:s,[f().thumbnailSelected]:i.selected,[f().thumbnailBeingDragged]:i.dragging});return a.createElement("div",(0,r.Z)({style:w,className:l()(f().column,n+"-Thumbnails-Page",f()[`engine-${p.SR}`],{[n+"-Thumbnails-Page-Selected"]:i.selected}),"data-testid":"grid-column","data-page-index":t},E),a.createElement("div",{style:{width:y,height:y},className:f().columnPreview},e.clickDisabled?a.createElement("div",{className:S},D):a.createElement(u.Z,(0,r.Z)({is:"div",className:S,"aria-label":`Select Page ${C}`,"aria-pressed":i.selected,onKeyPress:e=>{const{charCode:n}=e;n===c.tW&&d(t)},onFocus:()=>h(t),onBlur:()=>h(null),ref:i.itemRef},"object"==typeof x&&x),D)),a.createElement("div",{style:{height:24,maxWidth:y,marginTop:16*v,lineHeight:"24px"},className:l()(f().label,n+"-Thumbnails-Page-Label",{[f().labelSelected]:i.selected})},C))}const y=e=>{const{cssPrefix:t,clickDisabled:n,width:r,moveCursor:o,thumbnailHeight:s,containerOffset:u,gridContainerEl:c}=e;let{itemScale:p}=e;const[h,m]=a.useState(null);p=Math.min(p,(r-15)/(s+32+32)),p=Math.max(p,.01);const g=a.useMemo((function(){return new d.$u({width:p*(s+32+32),height:p*(s+32+24+16)+24})}),[p,s]),y=s*p,b=o?"left"===o.position?o.pageIndex:o.pageIndex+1:void 0;return a.createElement(i.FE,{width:e.width,height:e.height,canInsert:e.canInsert,draggingEnabled:!!e.onItemsMove&&!n,totalItems:e.totalItems,itemWidth:g.width,itemHeight:g.height,itemPaddingLeft:32*p,itemPaddingRight:32*p,renderItem:(r,o)=>a.createElement(v,{selectedItemIndexes:e.selectedItemIndexes,size:g,itemScale:p,pageIndex:r,itemState:o,cssPrefix:t,clickDisabled:n||!1,renderItemCallback:e.renderItemCallback,onItemPress:e.onItemPress,onItemFocus:e=>m(e),thumbnailHeight:s,thumbnailSize:y}),itemKey:e.itemKeyCallback,renderDragPreview:e.renderDragPreviewCallback?(t,n)=>e.renderDragPreviewCallback?e.renderDragPreviewCallback(n,t,y,s):null:void 0,renderInsertionCursor:(e,t)=>{const n={top:32*p+1,height:s*p-1};return a.createElement("div",{style:n,className:l()(f().moveCursor,{[f().moveCursorDisabled]:!e})},null!=(null==o?void 0:o.previewContent)&&a.createElement("div",{className:l()(f().moveCursorPreview,{[f().moveCursorPreviewEnd]:t})},o.previewContent))},onDragEnd:e.onItemsMove,selectedItemIndexes:e.selectedItemIndexes,insertionIndex:b,focusedItemIndex:h,containerOffset:u,gridContainerEl:c})}},53261:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(22122),o=n(17375),i=n(67294);const a=["src"];function s(e){let{src:t}=e,n=(0,o.Z)(e,a);const s=i.useRef(null);return i.useEffect((function(){if(s.current){const e=s.current.childNodes[0];"function"==typeof e.setAttribute&&e.setAttribute("focusable","false")}}),[]),i.createElement("span",(0,r.Z)({},n,{dangerouslySetInnerHTML:{__html:t},ref:s}))}},12559:(e,t,n)=>{"use strict";n.d(t,{O:()=>p});var r=n(96156),o=n(67294);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;to.createElement("polygon",{points:"0.5,2 0.5,0.5 3.5,0.5 3.5,3.5 0.5,3.5 0.5,2",style:a(a({},e),s)}),c=e=>o.createElement("circle",{cx:"2",cy:"2",r:"1.5",style:a(a({},e),s)}),d=e=>o.createElement("line",{x1:"0",y1:"2",x2:"4",y2:"2",style:a(a({},e),l)}),p={none:{startElement:d,endElement:d,width:4},square:{startElement:u,endElement:u,width:3.5},circle:{startElement:c,endElement:c,width:3.5},diamond:{startElement:e=>o.createElement("polygon",{points:"3.5,2 2.25,3.25 1,2 2.25,0.75 3.5,2 4,2",style:a(a({},e),s)}),endElement:e=>o.createElement("polygon",{points:"0.75,2 2,0.75 3.25,2 2,3.25 0.75,2 0.25,2",style:a(a({},e),s)}),width:3.5},openArrow:{startElement:e=>o.createElement("polyline",{points:"4.25,0.5 1.25,2 4.25,3.5 1.25,2 4.75,2",style:a(a({},e),l)}),endElement:e=>o.createElement("polyline",{points:"0.25,0.5 3.25,2 0.25,3.5 3.25,2 -0.25,2",style:a(a({},e),l)}),width:3.75},closedArrow:{startElement:e=>o.createElement("polygon",{points:"3.75,2 3.75,0.75 1.25,2 3.75,3.25 3.75,2 4.75,2",style:a(a({},e),s)}),endElement:e=>o.createElement("polygon",{points:"0.75,2 0.75,0.75 3.25,2 0.75,3.25 0.75,2 -0.75,2",style:a(a({},e),s)}),width:3.75},butt:{startElement:e=>o.createElement("line",{x1:"3.75",y1:"0.5",x2:"3.75",y2:"3.5",style:a(a({},e),l)}),endElement:e=>o.createElement("line",{x1:"0.5",y1:"0.5",x2:"0.5",y2:"3.5",style:a(a({},e),l)}),width:.5},reverseOpenArrow:{startElement:e=>o.createElement("polyline",{points:"1,0.5 4,2 1,3.5",style:a(a({},e),l)}),endElement:e=>o.createElement("polyline",{points:"3.25,0.5 0.25,2 3.25,3.5",style:a(a({},e),l)}),width:3},reverseClosedArrow:{startElement:e=>o.createElement("polygon",{points:"4,2 1.5,3.25 1.5,0.75",style:a(a({},e),s)}),endElement:e=>o.createElement("polygon",{points:"0.25,2 2.75,3.25 2.75,0.75",style:a(a({},e),s)}),width:2.75},slash:{startElement:e=>o.createElement("polyline",{points:"3.25,0.5 2.25,3.75 2.85,2 3.75,2",style:a(a({},e),l)}),endElement:e=>o.createElement("polyline",{points:"1.85,0.5 0.85,3.75 1.25,2 0.35,2",style:a(a({},e),l)}),width:1.5}}},29911:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(67294),o=n(94184),i=n.n(o),a=n(44032),s=n.n(a);function l(e){let{scale:t=1,rotate:n=0}=e;const[o,a]=r.useState(!1);r.useEffect((()=>{const e=setTimeout((()=>{a(!0)}),400);return()=>{clearTimeout(e)}}),[]);const l=`scale(${t})`,u={transform:n?`rotate(${n}deg) ${l}`:l,transformOrigin:"center center"};return r.createElement("div",{style:u,className:i()("PSPDFKit-Loading-Indicator",s().loader,{[s().loaderShown]:o})},r.createElement("div",{className:s().loaderDot}),r.createElement("div",{className:s().loaderDot}),r.createElement("div",{className:s().loaderDot}))}},80444:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(96156),o=n(67366),i=n(67294),a=n(84293),s=n(93113),l=n(11192),u=n(98179),c=n(2464),d=n(40084),p=n(45249),h=n(87849),f=n(82716);const m=(0,h.Yw)(),g={onPinchStart:"pinchstart",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onSwipeLeft:"swipeleft",onSwipeRight:"swiperight",onDoubleTap:"doubletap"};function v(e,t,n){t&&Object.keys(t).forEach((r=>{const o=g[r];!o||"function"!=typeof t[r]||n&&"function"==typeof n[r]&&n[r]===t[r]||e.off(o,t[r])})),n&&(n.enablePinch&&e.get("pinch").set({enable:!0,threshold:.3}),n.onDoubleTap&&e.get("doubletap").set({posThreshold:50}),Object.keys(n).forEach((r=>{const o=g[r];!o||"function"!=typeof n[r]||t&&"function"==typeof n[r]&&n[r]===t[r]||e.on(o,n[r])})))}class y extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"_handleRef",(e=>{e&&((0,f.k)("string"==typeof e.nodeName,"TRC requires a basic HTML element as children. This looks like a custom react component."),this._refElement=e)}))}componentDidMount(){this.initializeHammer(),v(this._hammer,null,this.props)}initializeHammer(){this._hammer=new m(this._refElement,{touchAction:"pan-x pan-y"}),this._refElement.style.msTouchSelect="initial"}componentDidUpdate(e){this._hammer&&v(this._hammer,e,this.props)}componentWillUnmount(){v(this._hammer,this.props,null),this._hammer&&(this._hammer.stop(),this._hammer.destroy()),this._hammer=null}render(){const e=i.Children.only(this.props.children);return(0,f.k)(!e.ref,"TRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(e,{ref:this._handleRef})}}const b=!n(87856).Gn||{passive:!1,capture:!0};class w extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"_trackpadRef",i.createRef()),(0,r.Z)(this,"_hasWheelEventStarted",!1),(0,r.Z)(this,"_currentWheelTimeout",null),(0,r.Z)(this,"_lastScale",1),(0,r.Z)(this,"_handleWheel",(e=>{if(!this.props.enableAlwaysScrollToZoom&&!e.ctrlKey)return;e.preventDefault(),e.stopPropagation(),this._currentWheelTimeout&&clearTimeout(this._currentWheelTimeout),this._currentWheelTimeout=setTimeout((()=>{this.props.onPinchEnd(),this._hasWheelEventStarted=!1,this._lastScale=1}),250);const t=function(e,t){return{center:{x:e.clientX,y:e.clientY},scale:t-e.deltaY/120,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}(e,this._lastScale);let n=1;n=t.scale>1?1.05*this._lastScale:.95*this._lastScale,t.scale=n,n*this.props.zoomLevel>this.props.minZoomLevel&&n*this.props.zoomLevel{e.preventDefault(),this.props.onPinchStart(x(e))})),(0,r.Z)(this,"_handleGestureChange",(e=>{e.preventDefault(),this.props.onPinch(x(e))})),(0,r.Z)(this,"_handleGestureEnd",(e=>{e.preventDefault(),this.props.onPinchEnd(x(e))}))}componentDidMount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.addEventListener("wheel",this._handleWheel,b),"ios"!==u.By&&(t.addEventListener("gesturestart",this._handleGestureStart),t.addEventListener("gesturechange",this._handleGestureChange),t.addEventListener("gestureend",this._handleGestureEnd))}}componentWillUnmount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.removeEventListener("wheel",this._handleWheel,b),"ios"!==u.By&&(t.removeEventListener("gesturestart",this._handleGestureStart),t.removeEventListener("gesturechange",this._handleGestureChange),t.removeEventListener("gestureend",this._handleGestureEnd))}}render(){return i.createElement("div",{ref:this._trackpadRef},this.props.children)}}function x(e){return{center:{x:e.clientX,y:e.clientY},scale:e.scale,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t{if("touch"!==e.pointerType)return;const{viewportState:t}=this.props,{viewportRect:n,zoomLevel:r}=t;this._startZooming();const o=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1)),i=this.props.viewportState.scrollMode===c.G.PER_SPREAD||this.props.viewportState.scrollMode===c.G.DISABLED?(0,a.vw)(t):(0,a.kh)(t),s=r>i?i:1.5*r,l=(0,a.cq)(t,s,{zoomCenter:o});this.setState({nextViewportState:l,shouldAnimate:!0}),this._callEndZoomingAfterTransition(l)})),(0,r.Z)(this,"_handlePinchStart",(e=>{const{viewportState:t}=this.props,{viewportRect:n}=t;this._startZooming(),this._touchZoomCenter=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1))})),(0,r.Z)(this,"_handlePinch",(e=>{this._isZooming&&(this._lastPinchScale=e.scale,this.requestAnimationFrameId||(this.requestAnimationFrameId=window.requestAnimationFrame(this._renderNextFrame)),null!==this._pinchResetTimeoutId&&clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=setTimeout((()=>this._handlePinchEnd()),2e3))})),(0,r.Z)(this,"_handlePinchEnd",(()=>{if(!this._isZooming)return;null!==this._pinchResetTimeoutId&&(clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=null);const{viewportState:e}=this.props,{zoomLevel:t}=e;if(!this._touchZoomCenter)return;this.requestAnimationFrameId&&(window.cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null);const n=t*this._lastPinchScale,r=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter});this.state.nextViewportState&&(0,a.hT)(this.state.nextViewportState)?(this.setState({nextViewportState:r,shouldAnimate:!0}),this._callEndZoomingAfterTransition(r)):this._zoomComplete(r)})),(0,r.Z)(this,"_renderNextFrame",(()=>{const{viewportState:e}=this.props,{zoomLevel:t}=e,n=t*this._lastPinchScale,r=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter,unbounded:!0});this.setState({nextViewportState:r}),this.requestAnimationFrameId=null})),(0,r.Z)(this,"_zoomComplete",(e=>{(0,o.dC)((()=>{this.props.dispatch((0,d.nr)(e)),this._endZooming()}))})),this._touchZoomCenter=new p.E9,this._isZooming=!1,this.state={shouldAnimate:!1,nextViewportState:null},this.requestAnimationFrameId=null}render(){const{children:e,viewportState:t}=this.props,{nextViewportState:n}=this.state,r=(0,s.G4)(t);let o={transformOrigin:"0 0",width:r.width+t.viewportPadding.x,height:r.height+t.viewportPadding.y};if(n){const e=n.scrollPosition.scale(n.zoomLevel).translate(t.scrollPosition.scale(-t.zoomLevel)),r=(0,s.G4)(n).translate(e.scale(-1)),i=n.zoomLevel/t.zoomLevel;o=C(C({},o),{},{transform:`translate(${r.left}px, ${r.top}px)\n scale(${i}, ${i})`,willChange:"transform",transition:this.state.shouldAnimate?"transform 150ms ease-in":""})}else o=C(C({},o),{},{transform:`translate(${Math.ceil(r.left)}px, ${Math.ceil(r.top)}px)`});return i.createElement(w,{onPinchStart:this._handlePinchStart,onPinch:this._handlePinch,onPinchEnd:this._handlePinchEnd,zoomLevel:this.props.viewportState.zoomLevel,minZoomLevel:(0,a.Yo)(this.props.viewportState),maxZoomLevel:(0,a.Sm)(this.props.viewportState),enableAlwaysScrollToZoom:this.props.viewportState.enableAlwaysScrollToZoom},i.createElement(y,{onPinchStart:this._handlePinchStart,onPinchIn:this._handlePinch,onPinchOut:this._handlePinch,onPinchEnd:this._handlePinchEnd,onPinchCancel:this._handlePinchEnd,onDoubleTap:this._handleDoubleTap,enablePinch:!0},i.createElement("div",null,i.createElement("div",{ref:this._zoomLayerRef,style:o,className:"PSPDFKit-Zoom"},e))))}_callEndZoomingAfterTransition(e){this._removeAnimationEventListener();const t=this._zoomComplete.bind(this,e);this._zoomCompleteFn=t,this._zoomLayerRef.current&&this._zoomLayerRef.current.addEventListener("transitionend",this._zoomCompleteFn),setTimeout((()=>{this._zoomCompleteFn&&t===this._zoomCompleteFn&&this._zoomCompleteFn()}),250)}_startZooming(){if(!this._isZooming&&(this._isZooming=!0,"gecko"===u.SR&&"windows"===u.By&&this._zoomLayerRef.current)){const{defaultView:e}=this._zoomLayerRef.current.ownerDocument;(0,l.a7)(e)}}_endZooming(){this._resetState()}_resetState(){this.setState({shouldAnimate:!1,nextViewportState:null}),this._lastPinchScale=1,this._touchZoomCenter=new p.E9,this._isZooming=!1,this._removeAnimationEventListener()}_removeAnimationEventListener(){this._zoomLayerRef.current&&this._zoomLayerRef.current.removeEventListener("transitionend",this._zoomCompleteFn),this._zoomCompleteFn=null}}},3962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ne,getDocumentKeyForReferencePoints:()=>te,messages:()=>re});var r,o,i,a,s,l,u,c,d=n(67294),p=n(73935),h=n(35782),f=n(52163),m=n(79112),g=n(96156),v=n(29911),y=n(22122),b=n(67665),w=n(94184),x=n.n(w),D=n(67366),C=n(80444),E=n(739),S=n(53261),_=n(44077),P=n(68540),k=n(92744),A=n(48625),z=n(15164),T=n(85944),O=n(98179),I=n(28735),F=n.n(I);const M=(0,O.b1)(),R=M?{x:31.25,y:13}:{x:12.5,y:-4},j=e=>{const{viewportState:t,backend:r,scrollElement:o,styles:i,currentDocumentKey:a,referencePoints:s,addReferencePoint:l,page:u,isAutoCompare:c,interactionMode:p}=e,{formatMessage:f}=(0,h.YB)(),g=(0,P.tm)(),[v,y]=d.useState(!1),w=d.useRef(null),O=(0,P.R9)((e=>{M?(v||y(!0),w.current&&clearTimeout(w.current),w.current=setTimeout((()=>{w.current=null,g()&&y(!1)}),300)):e()})),I=a!==m.Q.result?a===m.Q.documentA?s.slice(0,3):s.slice(3,6):[],j=s.length<6&&I.filter(Boolean).length<3&&!c&&p!==A.A.PAN&&(a===m.Q.documentA&&s.length<3||a===m.Q.documentB&&s.length>=3),B={width:u.pageSize.width*t.zoomLevel,height:u.pageSize.height*t.zoomLevel},L=d.useRef(null),K=x()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${t.pagesRotation}-degree`]:!0,[i.page]:!0,[i["deg-"+t.pagesRotation]]:!0}),V=(0,P._x)(),q=(0,D.v9)((e=>e.showToolbar))?T.k3:0,H=(0,P.R9)((()=>{l(V(new _.Wm({x:t.viewportRect.width/2+2,y:t.viewportRect.height/2+q})))})),Z={inViewport:!0,page:u,backend:r,shouldPrerender:!0,zoomLevel:t.zoomLevel,rotation:t.pagesRotation,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,documentHandle:a,viewportRect:t.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:!0,crispTiles:!0,inContentEditorMode:!1},U=(0,D.v9)((e=>e.scrollbarOffset)),$=I.map(((e,n)=>e?d.createElement("div",{className:x()({"PSPDFKit-DocumentComparison-ReferencePoint-Marker":!0,[i.referencePoint]:!0}),style:{left:e.x*t.zoomLevel-R.x+(M?U/2:0),top:e.y*t.zoomLevel-R.y},key:`point_${n}`},d.createElement(N,{touchDevice:M,className:i.comparisonPin},n+1)):null));return d.createElement(d.Fragment,null,d.createElement("div",{className:x()({[i.source]:!M,[i.sourceTouch]:!!M,"PSPDFKit-DocumentComparison-Source":!0,[`PSPDFKit-DocumentComparison-Source-${a}`]:!!a}),style:{cursor:j&&!M?`url('data:image/svg+xml,${F()}') 12 22, crosshair`:"auto"}},j&&M&&d.createElement(b.m,null,d.createElement("div",{className:i.crosshair,ref:L},d.createElement("div",{className:x()(i.selectPoint,{[i.hidden]:v}),onClick:H},f(re.Comparison_selectPoint)),d.createElement(S.Z,{src:n(23874)}))),d.createElement(C.Z,{dispatch:e.dispatch,viewportState:t},d.createElement("section",{className:K,style:B,"data-page-index":u?u.pageIndex:""},d.createElement(z.Z,Z),$,M?null:d.createElement("div",{className:i.pointerLayer},j?d.createElement(E.Z,{size:u.pageSize,onDrawEnd:l,transformPoint:V,interactionMode:p,scrollElement:o}):null)))),o&&!M?d.createElement(k.B,{viewportState:t,scrollElement:o,onScroll:O,className:"PSPDFKit-DocumentComparison-Magnifier",pageIndex:u.pageIndex,pageRendererComponentProps:Z},$):null)},B=M?{width:"100",height:"100",viewBox:"-10 0 90 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"}:{width:"66",height:"66",viewBox:"-10 0 56 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N=e=>{let{children:t,touchDevice:n,className:p}=e;return d.createElement("svg",(0,y.Z)({},B,{className:p}),n?d.createElement("g",{stroke:"#f5281b"},r||(r=d.createElement("path",{d:"M44.0171 43.4142L72.3014 71.6985",strokeWidth:"4"})),o||(o=d.createElement("path",{d:"M12.9043 12.3015L41.1886 40.5858",strokeWidth:"4"})),i||(i=d.createElement("path",{d:"M72.3013 12.3015L44.017 40.5858",strokeWidth:"4"})),a||(a=d.createElement("path",{d:"M41.189 43.4142L12.9047 71.6985",strokeWidth:"4"})),d.createElement("text",{x:"-10",y:"82",fontSize:"28",fill:"#f5281b",dominantBaseline:"central"},t)):d.createElement("g",{stroke:"#f5281b"},s||(s=d.createElement("path",{d:"M26.0083 25.7072L40.1505 39.8493",strokeWidth:"1.99616"})),l||(l=d.createElement("path",{d:"M10.4521 10.1508L24.5943 24.2929",strokeWidth:"1.99616"})),u||(u=d.createElement("path",{d:"M40.1509 10.1508L26.0087 24.2929",strokeWidth:"1.99616"})),c||(c=d.createElement("path",{d:"M24.5952 25.7072L10.453 39.8493",strokeWidth:"1.99616"})),d.createElement("text",{x:"0",y:"44",fontSize:"14",fill:"#f5281b",dominantBaseline:"central"},t)))};var L=n(86998);const K=e=>{const{addSource:t}=e,n=d.useCallback((e=>{(null==e?void 0:e.click)&&e.click()}),[]),r=d.useCallback((e=>{if(e.target.files[0]){const n=new FileReader;n.onload=e=>{var n;t(null===(n=e.target)||void 0===n?void 0:n.result)},n.readAsArrayBuffer(e.target.files[0])}}),[t]);return d.createElement(L.TX,{tag:"div"},d.createElement("input",{ref:n,"aria-label":"","aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, image/tiff, application/pdf",onChange:r,tabIndex:-1}))};var V,q=n(7202),H=n(8271),Z=n(40084),U=n(74751),$=n(2058);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t{const{styles:t,currentDocumentKey:n,referencePoints:r,addReferencePoint:o,settings:i,completionConfiguration:a,setDocumentSources:s,documentSources:l,backend:u,viewportState:c,interactionMode:h,dispatch:g,isAutoCompare:y,renderPagePreview:b}=e,w=(0,P.tm)(),[x,D]=d.useState(null),[C,E]=d.useState(!1),S=(0,P.R9)((()=>{x&&g((0,Z.nr)((0,f.mr)(c,x)))}));d.useEffect((()=>{S()}),[x,S]);const[k,A]=(0,P.dX)();d.useEffect((()=>{A(!1)}),[y,A]);const z=(0,P.R9)((e=>{e&&!l[e]&&i[e].source!==q.b.USE_OPEN_DOCUMENT||async function(){if(C)return;let t;e!==m.Q.result&&e?(x&&D(null),t=await u.openComparisonDocument(e)):(x&&D(null),t=k?await u.openComparisonDocument(m.Q.result):await Y(r,i,u),A(!0));const n=i[m.Q.documentA].pageIndex||0,o=new H.Z(W({pageSize:new _.$u(t.pages[n])},t.pages[n]));w()&&D(o)}()})),T=d.useRef(null);d.useEffect((()=>{T.current!==n&&x&&D(null),T.current=n}),[n,x]),d.useEffect((()=>{x||C||z(n)}),[x,n,z,C,l]);const O=6===r.length||y;d.useEffect((()=>{O&&!y&&z(null)}),[z,O,y]),d.useEffect((()=>{!async function(){try{await a.start.promise,w()&&(0,p.unstable_batchedUpdates)((()=>{E(!0),D(null)}))}catch(e){a.start.reject(e)}}()}),[a,w]),d.useEffect((()=>{C&&async function(){try{await u.cleanupDocumentComparison(),a.end.resolve()}catch(e){a.end.reject(e)}}()}),[C,u,a]);const I=d.useCallback((async e=>{e&&(await u.setComparisonDocument(n,e),w()&&s(W(W({},l),{},{[n]:e})))}),[n,l,s,u,w]);return x?d.createElement(j,{backend:e.backend,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:c,scrollElement:e.scrollElement,styles:t,dispatch:e.dispatch,viewportWidth:e.viewportWidth,currentDocumentKey:n,addReferencePoint:o,referencePoints:r,page:x,isAutoCompare:y,interactionMode:h,renderPagePreview:b}):O||l[n]||i[n].source!==q.b.USE_FILE_DIALOG?d.createElement("div",{className:t.documentComparisonPageLoading},V||(V=d.createElement(v.Z,{scale:2}))):d.createElement(K,{addSource:I})},Y=async(e,t,n)=>{var r,o,i,a,s,l;let u;u=e&&e.length?[[[e[3].x,e[3].y],[e[0].x,e[0].y]],[[e[4].x,e[4].y],[e[1].x,e[1].y]],[[e[5].x,e[5].y],[e[2].x,e[2].y]]]:f.h6;return await n.documentCompareAndOpen({documentA:{pageIndex:t.documentA.pageIndex||0,strokeColor:null!==(r=t.strokeColors)&&void 0!==r&&r.documentA?(0,U.C)(null===(o=t.strokeColors)||void 0===o?void 0:o.documentA):(0,U.C)(null===(i=$.se.strokeColors)||void 0===i?void 0:i.documentA)},documentB:{pageIndex:t.documentB.pageIndex||0,strokeColor:null!==(a=t.strokeColors)&&void 0!==a&&a.documentB?(0,U.C)(null===(s=t.strokeColors)||void 0===s?void 0:s.documentB):(0,U.C)(null===(l=$.se.strokeColors)||void 0===l?void 0:l.documentB)},options:{type:"path",points:u,blendMode:t.blendMode||"darken"}})},Q=e=>{const{onHide:t,styles:r}=e,{formatMessage:o}=(0,h.YB)();return d.createElement("div",{className:r.container},d.createElement("div",{className:r.wrapper},d.createElement(S.Z,{src:n(33413),className:r.icon,style:{color:"#5E5CEB"}}),d.createElement("div",{className:r.header},o(J.UserHint_title)),d.createElement("div",{className:r.hint},o(J.UserHint_description)),d.createElement("div",{className:r.hideButton},d.createElement(L.zx,{onClick:t},o(J.UserHint_dismissMessage)))))},J=(0,h.vU)({UserHint_title:{id:"UserHint_Select",defaultMessage:"Selecting Points",description:"User hint Title. User should select points to compare documents."},UserHint_description:{id:"UserHint_description",defaultMessage:"Select 3 points on both documents for manual alignment. For best results, choose points near corners of the document, and make sure to choose the points in the same order on both documents.",description:"Main body of the user hint. Explains what to do to compare documents"},UserHint_dismissMessage:{id:"UserHint_dismissMessage",defaultMessage:"Dismiss Message",description:"Dismiss user hint message"}}),ee=(0,O.b1)(),te=e=>e.length<3?m.Q.documentA:e.length<6?m.Q.documentB:m.Q.result,ne=e=>{const{interactionMode:t,initialDocumentSources:n,settings:r,backend:o}=e,{styles:i}=e.CSS_HACK,a=(0,P.tm)(),[s,l]=(0,P.nG)(),[u,c]=(0,P.jw)(),[h]=(0,P.$)(),[g,v]=d.useState(!0),y=(0,f.SH)(u),b=(0,P.R9)((e=>{e!==y&&c(e||m.Q.result)})),w=d.useCallback((e=>{const t=[...s,e];(0,p.unstable_batchedUpdates)((()=>{l(t),b(te(t))}))}),[s,b,l]),[x,D]=d.useState(null);return d.useEffect((()=>{!async function(){const[e,t]=await Promise.all([n[m.Q.documentA],n[m.Q.documentB]]);(e&&e.byteLength>0||r[m.Q.documentA].source===q.b.USE_OPEN_DOCUMENT)&&await o.setComparisonDocument(m.Q.documentA,e),(t&&t.byteLength>0||r[m.Q.documentB].source===q.b.USE_OPEN_DOCUMENT)&&await o.setComparisonDocument(m.Q.documentB,t),a()&&D({[m.Q.documentA]:e,[m.Q.documentB]:t,[m.Q.result]:{source:null}})}()}),[n,o,r,a]),d.createElement("div",{className:i.docComparison},x?d.createElement(X,{backend:o,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:e.viewportState,interactionMode:t,scrollElement:e.scrollElement,styles:i,dispatch:e.dispatch,settings:r,completionConfiguration:e.completionConfiguration,documentSources:x,setDocumentSources:D,viewportWidth:e.viewportWidth,currentDocumentKey:y,addReferencePoint:w,referencePoints:s,isAutoCompare:h,renderPagePreview:e.renderPagePreview}):null,!ee&&!(6===s.length)&&!h&&g&&d.createElement(Q,{styles:i.userHintStyles,onHide:()=>v(!1)}))},re=(0,h.vU)({Comparison_documentOld:{id:"Comparison_documentOld",defaultMessage:"Old Document",description:"One of the documents to be compared."},Comparison_documentOldTouch:{id:"Comparison_documentOldTouch",defaultMessage:"Old",description:"The original document used in the comparison."},Comparison_documentNew:{id:"Comparison_documentNew",defaultMessage:"New Document",description:"The new document used in the comparison."},Comparison_documentNewTouch:{id:"Comparison_documentNewTouch",defaultMessage:"New",description:"The new document used in the comparison."},Comparison_result:{id:"Comparison_result",defaultMessage:"Comparison",description:"The compared document."},Comparison_resetButton:{id:"Comparison_resetButton",defaultMessage:"Reset",description:"Reset all placed alignment points."},Comparison_alignButton:{id:"Comparison_alignButton",defaultMessage:"Align Documents",description:"Start the manual document alignment process."},Comparison_alignButtonTouch:{id:"Comparison_alignButtonTouch",defaultMessage:"Align",description:"Start the manual document alignment process."},Comparison_selectPoint:{id:"Comparison_selectPoint",defaultMessage:"Select Point",description:"Select alignment point."}})},2058:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>D,se:()=>y});var r=n(96156),o=n(67294),i=n(29911),a=n(60379),s=n(7202),l=n(52163),u=n(79112),c=n(80389),d=n.n(c),p=n(5871),h=n.n(p);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;tPromise.resolve().then(n.bind(n,3962)))),y={documentA:{source:s.b.USE_OPEN_DOCUMENT,pageIndex:0},documentB:{source:s.b.USE_FILE_DIALOG,pageIndex:0},strokeColors:{documentA:new a.Z({r:245,g:40,b:27}),documentB:new a.Z({r:49,g:193,b:255})},blendMode:"darken",autoCompare:!1},b=o.createElement("div",{className:d().documentComparisonPageLoading,"data-testid":"documentComparisonFallback"},o.createElement(i.Z,{scale:2})),w=(e,t)=>({documentA:m(m({},y.documentA),{},{pageIndex:(null==e?void 0:e.documentA.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentA),documentB:m(m({},y.documentB),{},{pageIndex:(null==e?void 0:e.documentB.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentB),strokeColors:m(m({},y.strokeColors),null==e?void 0:e.strokeColors),blendMode:(null==e?void 0:e.blendMode)||y.blendMode,autoCompare:e.autoCompare}),x=e=>e!==s.b.USE_OPEN_DOCUMENT&&e!==s.b.USE_FILE_DIALOG?(0,l.rh)(e):null,D=e=>{const{backend:t,viewportState:n,interactionMode:r=null,configuration:i}=e,a=o.useMemo((()=>w(i,n.currentPageIndex)),[i,n.currentPageIndex]);o.useEffect((()=>{let e;a[u.Q.documentA].source===s.b.USE_OPEN_DOCUMENT?e=u.Q.documentA:a[u.Q.documentB].source===s.b.USE_OPEN_DOCUMENT&&(e=u.Q.documentB),t.persistOpenDocument(e)}),[t,a]);const l=o.useRef({[u.Q.documentA]:x(a.documentA.source),[u.Q.documentB]:x(a.documentB.source)});return o.createElement(o.Suspense,{fallback:b},o.createElement(v,{backend:e.backend,interactionMode:r,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:n,scrollElement:e.scrollElement,CSS_HACK:g,viewportWidth:e.viewportWidth,dispatch:e.dispatch,settings:a,completionConfiguration:i.completion,initialDocumentSources:l.current,renderPagePreview:e.renderPagePreview}))}},46945:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var r=n(22122),o=n(67294),i=n(86998),a=n(50439),s=n.n(a);function l(e){return o.createElement(i.bK,(0,r.Z)({},e,{styles:{label:s().label,input:s().input}}))}},62477:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var r=n(67294),o=n(86998),i=n(53261),a=n(86378),s=n.n(a);function l(e){let{title:t,children:a}=e;const[l,u]=r.useState(!1),c=(0,r.useCallback)((()=>u((e=>!e))),[]);return r.createElement(r.Fragment,null,r.createElement(o.w6,{expanded:l,onPress:c,className:s().wrapper},r.createElement("div",{className:s().controlContent},r.createElement(i.Z,{src:n(35982)(`./caret-${l?"down":"right"}.svg`),className:s().icon}),r.createElement("span",null,t))),r.createElement(o.F0,{expanded:l},r.createElement("div",{className:s().content},a)))}},62102:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>I,ck:()=>T,zx:()=>z});var r=n(96156),o=n(22122),i=n(67294),a=n(35782),s=n(94184),l=n.n(s),u=n(18390),c=n(67366),d=n(17766),p=n(62477),h=n(53261),f=n(35012),m=n(54707),g=n(46945),v=n(22690),y=n(3888),b=n(71623),w=n(33427),x=n(30549),D=n.n(x),C=n(44170),E=n.n(C),S=n(84691),_=n.n(S);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;tr=>{let{btnComponentProps:a,selectedItem:s}=r;return i.createElement(u.Z,(0,o.Z)({is:"div"},a,{className:l()("PSPDFKit-Input-Dropdown-Button",_().selectBox,D().selectBox,{[_().measurementDropdownText]:"measurement"===t}),style:{minWidth:"measurement"===t?"60px":"100px",columnGap:"measurement"===t?"8px":"",width:n?`${n}px`:""}}),i.createElement("span",null,null!=s&&s.label?A(s.label)?e(A(s.label)):s.label:null),i.createElement("div",null,(0,b.Z)({type:"caret-down",style:{width:12,height:12,flexBasis:12},className:l()(_().dropdownIcon)})))},T=(e,t)=>n=>{let{item:r,state:a,itemComponentProps:s,ref:c}=n;return i.createElement(u.Z,(0,o.Z)({is:"div",className:l()(_().item,{[_().isSelected]:(null==a?void 0:a.includes("selected"))||(null==a?void 0:a.includes("focused")),[_().measurementDropdownText]:"measurement"===t}),name:null==r?void 0:r.value},s,{ref:c}),i.createElement("span",null,null!=r&&r.label?A(r.label)?e(A(r.label)):r.label:null))};const O=(0,a.vU)({borderColor:{id:"borderColor",defaultMessage:"Border Color",description:"Form designer popover style section border color label"},borderWidth:{id:"borderWidth",defaultMessage:"Border Width",description:"Form designer popover style section border width label"},borderStyle:{id:"borderStyle",defaultMessage:"Border Style",description:"Form designer popover style section border style label"},print:{id:"print",defaultMessage:"Print",description:"Form designer popover style section print label"},solid:{id:"solid",defaultMessage:"Solid",description:"Form designer popover style section solid border label"},dashed:{id:"dashed",defaultMessage:"Dashed",description:"Form designer popover style section dashed border label"},beveled:{id:"beveled",defaultMessage:"Beveled",description:"Form designer popover style section beveled border label"},inset:{id:"inset",defaultMessage:"Inset",description:"Form designer popover style section inset border label"},underline:{id:"underline",defaultMessage:"Underline",description:"Form designer popover style section unredline border label"}}),I=function(e){var t;let{annotation:r,updateAnnotation:o,intl:a,frameWindow:s,label:l,pageSize:u}=e;const b=(0,c.v9)((e=>e.shadowRoot)),x=i.useCallback((e=>a.formatMessage(d.Z.numberInPt,{arg0:e.toFixed(0)})),[a]),C=i.useCallback((e=>`${Math.round(e)}%`),[]),S=i.useCallback((e=>o({borderWidth:e})),[o]),_=i.useCallback((e=>{if(!u)return;const t=Number(e);if(90!==Math.abs(t-r.rotation)&&270!==Math.abs(t-r.rotation))o({rotation:t});else{const e=(0,w.eJ)(r,u),n=e.set("rotation",t);o({rotation:n.rotation,boundingBox:e.boundingBox})}}),[u,o,r]),P=i.useMemo((()=>[{label:"none",value:"none"},...Object.keys(y.N).map((e=>({label:e,value:e})))]),[]),I=null!==(t=P.find((e=>{var t;return(null!==(t=r.borderStyle)&&void 0!==t?t:"none")===e.value})))&&void 0!==t?t:null,F=[{label:"0°",value:"0"},{label:"90°",value:"90"},{label:"180°",value:"180"},{label:"270°",value:"270"}];let M=r.rotation?F.find((e=>{let{value:t}=e;return Number(t)===r.rotation})):F[0];void 0===M&&(M=F[0]);const R=i.useCallback(z(a.formatMessage),[a.formatMessage]),j=i.useCallback(T(a.formatMessage),[a.formatMessage]);return i.createElement(p.U,{title:l},i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(92742),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(d.Z.fillColor)),i.createElement(f.Z,{record:r,onChange:o,styles:k(k({},E()),{},{colorSvg:D().colorSvg,colorItem:D().colorItem,controlWrapper:k(k({},E().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(d.Z.fillColor),caretDirection:"down",colorProperty:"backgroundColor",frameWindow:s,className:D().colorDropdown})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(25615),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(O.borderColor)),i.createElement(f.Z,{record:r,onChange:o,styles:k(k({},E()),{},{colorSvg:D().colorSvg,colorItem:D().colorItem,controlWrapper:k(k({},E().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(O.borderColor),caretDirection:"down",colorProperty:"borderColor",frameWindow:s,className:D().colorDropdown})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(20113),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(O.borderStyle)),i.createElement("div",{className:D().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(O.borderStyle),className:"PSPDFKit-Input-Dropdown-Select",value:r.borderStyle||"",onChange:e=>{e.target.value!==P[0].value?void 0!==e.target.value&&o({borderStyle:e.target.value}):o({borderStyle:null})}},P.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label?a.formatMessage(A(e.label)):""))))),i.createElement(v.Z,{items:P,value:I,accessibilityLabel:a.formatMessage(O.borderStyle),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:D().dropdownGroupComponent,menuClassName:D().dropdownGroupMenu,ButtonComponent:R,ItemComponent:j,onSelect:(e,t)=>{t.value!==P[0].value?void 0!==t.value&&o({borderStyle:t.value}):o({borderStyle:null})},frameWindow:s})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(41869),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(O.borderWidth)),i.createElement(m.Z,{onChange:S,value:r.borderWidth||0,name:"borderWidth",caretDirection:"down",min:0,max:40,valueLabel:x,className:D().sliderDropdown,accessibilityLabel:a.formatMessage(O.borderWidth),shadowRoot:b})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(22636),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(d.Z.opacity)),i.createElement(m.Z,{onChange:e=>o({opacity:e/100}),value:100*r.opacity,name:"opacity",caretDirection:"down",valueLabel:C,className:D().sliderDropdown,accessibilityLabel:a.formatMessage(d.Z.opacity),shadowRoot:b})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(3315),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(d.Z.rotation)),i.createElement("div",{className:D().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(d.Z.rotation),className:"PSPDFKit-Input-Dropdown-Select",value:r.rotation||0,onChange:e=>{e.target.value&&_(e.target.value)}},F.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),i.createElement(v.Z,{items:F,value:M,accessibilityLabel:a.formatMessage(d.Z.rotation),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:D().dropdownGroupComponent,menuClassName:D().dropdownGroupMenu,ButtonComponent:R,ItemComponent:j,onSelect:(e,t)=>{t.value&&_(t.value)},frameWindow:s})),i.createElement("div",{className:D().item},i.createElement(h.Z,{src:n(738),className:D().itemIcon,role:"presentation"}),i.createElement("div",{className:D().itemLabel},a.formatMessage(O.print)),i.createElement(g.n,{value:!r.noPrint,onUpdate:e=>o({noPrint:!e}),accessibilityLabel:a.formatMessage(O.print)})))}},46455:(e,t,n)=>{"use strict";n.d(t,{X:()=>h,Z:()=>f});var r=n(67294),o=n(35369),i=n(19181),a=n(54537),s=n(44077),l=n(92537),u=n(33427),c=n(43069),d=n(15743),p=n.n(d);function h(e,t,n,r){const{width:o,height:i}=e,a=Math.min(n/o,n/i),s=Math.min(r/o,r/i),u=Math.ceil(o*s*(0,l.L)()),c=Math.ceil(i*s*(0,l.L)()),d=Math.floor(o*a),p=Math.floor(i*a);let h=d,f=p;90!==t&&270!==t||(h=p,f=d);let m=0,g=0;return 90===t?m=h:180===t?(m=h,g=f):270===t&&(g=f),{ratio:a,tileRatio:s,tileWidth:u,tileHeight:c,containerWidth:d,containerHeight:p,rotatedWidth:h,rotatedHeight:f,translationX:m,translationY:g}}const f=(0,i.x)((function(e,t){const{page:n}=t,{backend:r,annotations:i,attachments:a,formFields:s,showAnnotations:l,renderPageCallback:d}=e,p=l?(0,u.xp)(i,n):void 0,h=l?(0,c.ET)(s,n):void 0,f=l&&h?(0,c.Qg)(h.reduce(((e,t)=>e.set(t.name,t)),(0,o.D5)())):void 0;return{annotations:p,formFields:h,formFieldValues:f,attachments:l?a:void 0,backend:r,renderPageCallback:d,digitalSignatures:e.digitalSignatures}}))((function(e){const{page:{pageSize:t,pageIndex:n,pageKey:o},size:i,maxSize:u,backend:c,annotations:d,attachments:f,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageRef:b}=e,w=e.rotation||0,{ratio:x,tileRatio:D,tileWidth:C,tileHeight:E,rotatedWidth:S,rotatedHeight:_,translationX:P,translationY:k}=h(t,w,i,u),A=r.useMemo((function(){return new s.$u({width:C,height:E})}),[E,C]),z=r.useMemo((function(){return new s.UL({width:C,height:E})}),[E,C]),T={width:S,height:_,transform:`\n translateX(${P}px)\n translateY(${k}px)\n rotate(${w}deg)\n scale(${x/D/(0,l.L)()})\n `,transformOrigin:"top left"};return r.createElement("div",{style:T,ref:b},r.createElement("div",{className:p().tilePlaceholder,style:{width:C,height:E}}),r.createElement(a.Z,{backend:c,pageIndex:n,originalPageSize:t,scaledPageSize:A,rect:z,annotations:d,attachments:f,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageKey:o}))}))},67057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(22122),o=n(96156),i=n(67294),a=n(73935),s=n(40163),l=n(45249),u=n(45639),c=n.n(u);class d extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",s.O),(0,o.Z)(this,"_lastOrientationChange",0),(0,o.Z)(this,"_handleResize",(()=>{const e=this._element&&this._element.getBoundingClientRect();if(!e)return;const t=Date.now()-this._lastOrientationChange<1e3;(0,a.unstable_batchedUpdates)((()=>{this.props.onResize(l.UL.fromClientRect(e),t)}))})),(0,o.Z)(this,"_handleOrientationChange",(()=>{this._lastOrientationChange=Date.now()})),(0,o.Z)(this,"_handleRef",(e=>{var t,n,r;this._element=e,null===(t=(n=this.props).onRefUpdate)||void 0===t||t.call(n,(null==e||null===(r=e.contentDocument)||void 0===r?void 0:r.defaultView)||null)}))}componentDidMount(){const e=this._getIFrameWindow();null==e||e.addEventListener("resize",this._handleResize),null==e||e.addEventListener("orientationchange",this._handleOrientationChange),this._handleResize()}componentWillUnmount(){const e=this._getIFrameWindow();null==e||e.removeEventListener("resize",this._handleResize),null==e||e.removeEventListener("orientationchange",this._handleOrientationChange)}_getIFrameWindow(){var e;return null===(e=this._element)||void 0===e?void 0:e.contentWindow}render(){return i.createElement("iframe",(0,r.Z)({ref:this._handleRef,className:c().root},{inert:""},{"aria-hidden":!0,tabIndex:"-1"}))}}},71623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(67294),o=n(94184),i=n.n(o),a=n(53261),s=n(37253),l=n.n(s),u=n(89004);function c(e){const{icon:t,type:o,style:s=null}=e,c=i()(l().root,e.className,"PSPDFKit-Icon","PSPDFKit-Icon-"+(0,u.in)(o));if(t)return/{"use strict";n.d(t,{Z:()=>p});var r=n(96156),o=n(67294),i=n(45249),a=n(87996),s=n(94732),l=n(33427),u=n(22939),c=n(17766);const d=[i.Xs,i.gd,i.Zc,s.Z,i.FV,i.o9,i.om,i.Hi,i.b3,i.x_];class p extends o.PureComponent{static getDerivedStateFromProps(e){if(e.annotationToolbarColorPresets){const t=e.annotationToolbarColorPresets({propertyName:(()=>{for(const[t,n]of l.fc.entries())if(n===e.colorProperty)return t})(),defaultAnnotationToolbarColorPresets:a.Options.COLOR_PRESETS});if(void 0!==t)return!1===t.showColorPicker?{hasColorPicker:t.showColorPicker,colors:t.presets,isUsingCustomConfig:!0}:{colors:t.presets,hasColorPicker:!0,isUsingCustomConfig:!0}}return e.colors?{colors:e.colors}:{colors:a.Options.COLOR_PRESETS}}constructor(e){super(e),(0,r.Z)(this,"state",{colors:a.Options.COLOR_PRESETS,colorPresets:(0,l.sH)(this.props.colorProperty),creatingColor:void 0,hasColorPicker:!0,isDeleteButtonVisible:void 0,isUsingCustomConfig:!1}),(0,r.Z)(this,"defaultBorderColor","#404040"),(0,r.Z)(this,"_autoFocused",!1),(0,r.Z)(this,"_onChange",(e=>{this.props.onChange({[this.props.colorProperty]:e?e.color:null})})),(0,r.Z)(this,"showCustomPickerForAnnotation",(e=>d.some((t=>e instanceof t)))),(0,r.Z)(this,"_setStoredColors",(e=>localStorage.setItem(`persistedColors${this.props.colorProperty}`,JSON.stringify(e))))}render(){var e;const{record:t}=this.props,n=this.state.hasColorPicker&&(!(t instanceof i.q6)||this.showCustomPickerForAnnotation(t)),r=this.props.record[this.props.colorProperty],a=null!==(e=this.state.colors.find((e=>!(null!=e.color&&!e.color.transparent||null!=r)||null!=e.color&&null!=r&&e.color.equals(r))))&&void 0!==e?e:{color:r,localization:c.Z.color};return o.createElement(u.Z,{colors:this.state.colors,value:a,customColorPresets:this.state.colorPresets,setCustomColorPresets:e=>e?this.setState({colorPresets:e}):null,onChange:this._onChange,className:this.props.className,caretDirection:this.props.caretDirection,removeTransparent:this.props.removeTransparent,opacity:this.props.record.opacity,accessibilityLabel:this.props.accessibilityLabel,keepOpacity:this.props.keepOpacity,frameWindow:this.props.frameWindow,innerRef:this.props.innerRef,lastToolbarActionUsedKeyboard:this.props.lastToolbarActionUsedKeyboard,styles:this.props.styles,setStoredColors:this._setStoredColors,shouldShowCustomColorPicker:n,unavailableItemFallback:{type:"swatch"},isUsingCustomConfig:this.state.isUsingCustomConfig})}}(0,r.Z)(p,"defaultProps",{className:"",removeTransparent:!1,lastToolbarActionUsedKeyboard:!1})},22939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>X});var r=n(22122),o=n(18390),i=n(67294),a=n(77017),s=n(15359),l=n(86998),u=n(94184),c=n.n(u),d=n(35782),p=n(43165),h=n.n(p),f=n(87996),m=n(45249),g=n(44380),v=n.n(g),y=n(84691),b=n.n(y),w=n(17722),x=n.n(w),D=n(94683),C=n.n(D),E=n(17766),S=n(22690),_=n(50331),P=n.n(_),k=n(98179),A=n(21853),z=n(71623),T=n(53261),O=n(775),I=n(74076),F=n.n(I);const M=i.memo((function(e){const{onCreateNewColor:t,onChange:n,disabled:r,isChoosingColor:o}=e,[a,s]=i.useState("#000000"),l={opacity:r?"40%":"100%",backgroundImage:o?"none":F().nativeColorInput.backgroundImage,backgroundColor:o?a:null,border:o?"1px solid var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)":"none",width:o?"18px":"22px",height:o?"18px":"22px"};return i.createElement("label",{htmlFor:"input-color"},i.createElement("div",{className:F().nativeColorInputWrapper},i.createElement(O.DebounceInput,{className:c()(F().nativeColorInput,"PSPDFKit-Custom-Color-Input"),style:l,type:"color",id:"input-color",debounceTimeout:200,value:a,onChange:e=>{const t=e.target.value;t&&(s(t),n(m.Il.fromHex(t)))},onBlur:e=>{const n=e.target.value;n&&t(m.Il.fromHex(n))},disabled:r})))}));var R,j,B,N,L;const K=e=>{var t,n;const r=null!==(t=e.colors)&&void 0!==t?t:f.Options.COLOR_PRESETS,{formatMessage:o}=(0,d.YB)(),{removeTransparent:s=!1,customColorPresets:l=[],setCustomColorPresets:u,setStoredColors:p,lastToolbarActionUsedKeyboard:h=!1,opacity:g=1,innerRef:v,value:y,caretDirection:b,keepOpacity:w,frameWindow:x,accessibilityLabel:D,onChange:C,unavailableItemFallback:E={type:"label"},disabled:_=!1,styles:P,shouldShowCustomColorPicker:A=!1,isUsingCustomConfig:z=!1,menuClassName:T}=e,[O,I]=i.useState(),[F,R]=i.useState(),j=i.useRef(!1),B=i.useCallback((e=>{const t=[...r,...l].find((t=>{var n,r,o,i;return null!==(n=null!=t.color&&null!=(null==e||null===(r=e.value)||void 0===r?void 0:r.color)&&(null===(o=e.value.color)||void 0===o?void 0:o.equals(t.color)))&&void 0!==n?n:null==(null==e||null===(i=e.value)||void 0===i?void 0:i.color)&&null==t.color})),n=[...r,...l].find((e=>t?H(e)===H(t):null));C(null!=n?n:null)}),[r,l,C]),N=i.useCallback((e=>{var t;const n={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}},r=[...l,n];null==p||p(r),u&&(u(r),I(void 0)),null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e)||C(n)}),[l,u,p,C,y]),L=i.useCallback((e=>{var t;const n=l.filter((t=>t.localization.id!==e.localization.id));null==p||p(n),u&&(u(n),I(void 0)),e.color&&null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e.color)&&C(r[0])}),[l,C,u,p,r,y]),K=i.useCallback((e=>{I(e);const t={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}};C(t)}),[C]),q=[...r,...l].filter((e=>!(s&&(null===e.color||e.color.transparent)))).map((e=>({label:e.localization.id,value:e,disabled:!1}))),Z=G({caretDirection:b,colors:r,customColorPresets:l,colorItems:q,disabled:_,innerRef:v,keepOpacity:w,lastToolbarActionUsedKeyboard:h,opacity:g,unavailableItemFallback:E,styles:P,value:y,formatMessage:o,autoFocused:j}),U=W({colors:r,customColorPresets:l,isDeleteButtonVisible:F,setIsDeleteButtonVisible:R,formatMessage:o,handleChange:B,handleDeleteColor:L,keepOpacity:w,opacity:g,styles:P});return i.createElement("div",{className:P.controlWrapper},i.createElement("div",{className:P.control},i.createElement(S.Z,{items:q,value:null!=y&&null!==(n=q.find((e=>H(e.value)===H(y))))&&void 0!==n?n:null,discreteDropdown:!1,isActive:!1,caretDirection:b,className:`${e.className} ${P.colorSelect}`,menuClassName:c()(P.dropdownMenu,P.colorPickerDropdownMenu,T),ButtonComponent:Z,ItemComponent:U,onSelect:(0,k.b1)()?void 0:(e,t)=>{B(t)},frameWindow:x,accessibilityLabel:D,maxCols:6,itemWidth:30,appendAfter:A?{node:V,index:z?r.length-1:r.length-(s?2:1)}:null},A&&i.createElement(M,{onCreateNewColor:N,onChange:K,disabled:l.length>=17,isChoosingColor:O instanceof m.Il}))))},V=()=>{const{formatMessage:e}=(0,d.YB)();return i.createElement("label",{style:{width:"100%",paddingTop:"10px",paddingBottom:"10px",paddingLeft:"5px"}},e(E.Z.custom))};function q(e){let{onClick:t}=e;return i.createElement(o.Z,{onClick:t,is:"button",className:c()(`PSPDFKit-AnnotationToolbar-Custom-Color-Delete-Button ${v().colorDeleteButton}`)},R||(R=i.createElement(T.Z,{src:P(),"aria-hidden":"true"})))}function H(e){return null!=e?null!=e.color?e.color.toCSSValue():"none":"N/A"}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{stroke:"var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)",fill:e?e.toCSSValue():"none",strokeWidth:1,fillOpacity:t?n:1}}const U=()=>i.createElement(i.Fragment,null,i.createElement("defs",null,i.createElement("pattern",{id:"PSPDFKit-Color-Background-Chessboard",width:"0.5",height:"0.5",patternContentUnits:"objectBoundingBox"},i.createElement("rect",{x:"0",y:"0",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}),i.createElement("rect",{x:"0.25",y:"0.25",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:{fill:"url(#PSPDFKit-Color-Background-Chessboard)"}})),$=()=>i.createElement("g",{transform:"translate(5 5)"},i.createElement("line",{x1:"2",x2:"12",y1:"12",y2:"2",style:{stroke:"#F00",strokeWidth:2},strokeLinecap:"round"})),G=e=>t=>{var n,o,a;let{btnComponentProps:s,selectedItem:u}=t,d=!1;if(null!=(null==u||null===(n=u.value)||void 0===n?void 0:n.color)){var p;const t=null===(p=u.value)||void 0===p?void 0:p.color;d=Boolean(!e.colorItems.some((e=>{var n;return null===(n=e.value)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.equals(t)})))}else d=!e.colorItems.some((e=>{var t,n,r;return null==(null===(t=e.value)||void 0===t?void 0:t.color)&&null==(null==u||null===(n=u.value)||void 0===n?void 0:n.color)||(null===(r=e.value)||void 0===r||null===(r=r.color)||void 0===r?void 0:r.transparent)}));const h=[...e.colors,...e.customColorPresets].find((e=>{var t;return u?H(e)===H(u.value):null===(t=e.color)||void 0===t?void 0:t.transparent})),f=h?H(h):null,m=e.formatMessage(h?h.localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}),g=e.value,v=(!g||!h||"transparent"===h.localization.id||!e.keepOpacity&&e.opacity<1)&&(j||(j=i.createElement(U,null)));return i.createElement("button",(0,r.Z)({},s,{className:c()("PSPDFKit-Input-Dropdown-Button","PSPDFKit-Input-Color-Dropdown",e.styles.colorSelectButton,{[x().isDisabled]:e.disabled,[e.styles.controlIsDisabled]:e.disabled}),ref:t=>{s.ref(t),"function"==typeof e.innerRef?e.innerRef(t):e.innerRef&&"object"==typeof e.innerRef&&"current"in e.innerRef&&(e.innerRef.current=t),e.innerRef&&t&&!e.autoFocused.current&&(t.focus(),e.autoFocused.current=!0,e.lastToolbarActionUsedKeyboard&&(t.classList.add(C().focusedFocusVisible),t.addEventListener("blur",A.Cz)))},name:"clickableBox",disabled:e.disabled}),d&&"label"===e.unavailableItemFallback.type?i.createElement("span",null,null!==(o=e.unavailableItemFallback.label)&&void 0!==o?o:"N/A"):i.createElement(i.Fragment,null,i.createElement(l.TX,{tag:"div"},m),i.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24",className:e.styles.colorSvg,key:f},{title:m,value:f},{"aria-hidden":!0}),v,(h&&"transparent"===h.localization.id||!g)&&(B||(B=i.createElement($,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:Z(null!==(a=null==g?void 0:g.color)&&void 0!==a?a:null)}))),i.createElement("div",null,(0,z.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:12,flexBasis:12},className:c()(b().dropdownIcon)})))},W=e=>t=>{var n,a;let{item:u,state:d,itemComponentProps:p}=t;const f=[...e.colors,...e.customColorPresets].find((e=>{var t,n;return null!=e.color&&null!=(null==u||null===(t=u.value)||void 0===t?void 0:t.color)?e.color.equals(null==u?void 0:u.value.color):null==e.color&&null==(null==u||null===(n=u.value)||void 0===n?void 0:n.color)})),m=e.colors.some((e=>{var t,n;return null!=e.color&&null!=(null==u||null===(t=u.value)||void 0===t?void 0:t.color)?e.color.equals(u.value.color):null==e.color&&null==(null==u||null===(n=u.value)||void 0===n?void 0:n.color)}));(0,s.kG)(f,"Couldn't find matching color.");const g=H(f),y=m?e.formatMessage(f.localization):e.formatMessage(E.Z.newColor),w=e.customColorPresets.find((e=>{var t,n;return null!=e.color&&null!=(null==u||null===(t=u.value)||void 0===t?void 0:t.color)?e.color.equals(u.value.color):null==e.color&&null==(null==u||null===(n=u.value)||void 0===n?void 0:n.color)}));let D,C=0;const S=("transparent"===f.localization.id||!e.keepOpacity&&e.opacity<1)&&(N||(N=i.createElement(U,null)));return i.createElement("div",{"data-testid":"color-swatch",className:v().colorItemContainer},w&&(e.isDeleteButtonVisible===g||!(0,k.b1)())&&i.createElement(q,{onClick:()=>e.handleDeleteColor(w)}),i.createElement(o.Z,(0,r.Z)({is:"div",className:c()(h().root,x().root,{[b().isSelected]:(null==d?void 0:d.includes("selected"))||(null==d?void 0:d.includes("focused"))},b().item,e.styles.colorItem),name:null!==(n=null==u||null===(a=u.value)||void 0===a?void 0:a.localization.id)&&void 0!==n?n:""},p,{onPointerDown:(0,k.b1)()?()=>{C=Date.now(),D=setTimeout((()=>{e.setIsDeleteButtonVisible(g)}),300)}:void 0,onPointerUp:(0,k.b1)()?(t=>()=>{Date.now()-C<300&&(window.clearTimeout(D),e.setIsDeleteButtonVisible(void 0),e.handleChange(t))})(u):void 0}),i.createElement(l.TX,{tag:"div"},y),i.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24",className:`PSPDFKit-Input-Dropdown-Item ${e.styles.colorSvg}`,key:g},{title:y,value:g},{"aria-hidden":"true"}),S,"transparent"===f.localization.id&&(L||(L=i.createElement($,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:Z(f.color,e.keepOpacity)}))))},X=i.memo(K)},54707:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(22122),o=n(96156),i=(n(15359),n(67294)),a=n(94184),s=n.n(a),l=n(86998),u=n(53261),c=n(40163),d=n(60210),p=n.n(d);let h=0;class f extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"inputRef",i.createRef()),(0,o.Z)(this,"shouldComponentUpdate",c.O),(0,o.Z)(this,"_guid",h++),(0,o.Z)(this,"triggerChange",(()=>{this.inputRef.current&&this.props.onChange(Number(this.inputRef.current.value))}))}render(){const{label:e,accessibilityLabel:t}=this.props;return i.createElement("div",{className:`PSPDFKit-Input-Slider ${this.props.className} ${p().root}`},this.props.label?i.createElement("label",{htmlFor:`${p().label}-${this._guid}`,className:p().label},this.props.label):this.props.accessibilityLabel?i.createElement(l.TX,{tag:"label",htmlFor:`${p().label}-${this._guid}`},this.props.accessibilityLabel):null,i.createElement("div",{className:p().input},i.createElement("input",{id:`${p().label}-${this._guid}`,type:"range",ref:this.inputRef,className:"PSPDFKit-Input-Slider-Input",min:this.props.min,max:this.props.max,step:this.props.step,value:this.props.value,onChange:this.triggerChange})),!this.props.hideLabel&&i.createElement("label",{className:`PSPDFKit-Input-Slider-Value ${p().value}`},this.props.valueLabel(this.props.value)))}}(0,o.Z)(f,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""});var m=n(65927),g=n.n(m);let v=0;class y extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"controlRef",i.createRef()),(0,o.Z)(this,"state",{isOpen:!1}),(0,o.Z)(this,"_guid",v++),(0,o.Z)(this,"_toggleItems",(()=>{this.state.isOpen?this._hideItems():this._showItems()})),(0,o.Z)(this,"_handleKeyDown",(e=>{"ArrowDown"!==e.key||this.state.isOpen||this._toggleItems()})),(0,o.Z)(this,"_handleBlur",(e=>{e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),setTimeout((()=>{const e=this.controlRef.current,t=this.props.shadowRoot,n=t?t.activeElement:e&&e.ownerDocument&&e.ownerDocument.activeElement,r=e&&e.contains(n);this.state.isOpen&&!r&&this._hideItems()}),0)}))}_showItems(){this.setState({isOpen:!0})}_hideItems(){this.setState({isOpen:!1})}render(){const{label:e,accessibilityLabel:t,caretDirection:r}=this.props;const o=this.props.className?this.props.className:"",a=s()(g().root,this.state.isOpen&&g().show,o,"PSPDFKit-Input-Dropdown",this.state.isOpen&&"PSPDFKit-Input-Dropdown-open");return i.createElement("div",{style:this.props.style,className:a,onBlur:this._handleBlur,ref:this.controlRef,tabIndex:-1},i.createElement("button",{className:`PSPDFKit-Input-Dropdown-Button ${g().button}`,onClick:this._toggleItems,onKeyDown:this._handleKeyDown,"aria-labelledby":`${g().srLabel}-${this._guid} ${g().value}-${this._guid}`,style:{height:32},ref:this.props.innerRef,"aria-expanded":this.state.isOpen,"aria-controls":`${g().dropdownItems}-${this._guid}`,type:"button"},i.createElement("span",{className:`PSPDFKit-Input-Dropdown-FlexContainer ${g().flexContainer}`,"aria-hidden":"true"},i.createElement("span",{className:`PSPDFKit-Input-Slider-Value ${g().value}`,id:`${g().value}-${this._guid}`},this.props.valueLabel(this.props.value))),i.createElement(l.TX,{id:`${g().srLabel}-${this._guid}`},t||null),i.createElement(u.Z,{src:n("down"===r?52904:19201),className:g().toggle,"aria-hidden":"true"})),i.createElement("div",{className:s()("PSPDFKit-Input-Dropdown-Items",g().dropdownItems,g().dropdown,{[g().dropDownItemsUp]:"up"===this.props.caretDirection}),id:`${g().dropdownItems}-${this._guid}`},this.state.isOpen&&this._renderDropdownItems()))}_renderDropdownItems(){return i.createElement("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",width:"auto",padding:"5px 10px"}},i.createElement(f,(0,r.Z)({},this.props,{className:`${this.props.className} ${g().slider}`,hideLabel:!0})))}}(0,o.Z)(y,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""})},92744:(e,t,n)=>{"use strict";n.d(t,{B:()=>C});var r,o=n(22122),i=n(67294),a=n(67665),s=n(94184),l=n.n(s),u=n(93113),c=n(92537),d=n(98179),p=n(68540),h=n(59140),f=n(45249),m=n(15164),g=n(21683),v=n(37922),y=n.n(v);const b=d.G6&&(0,c.L)()>1,w=b?2:1,x=16/w;function D(e,t){const{zoomLevel:n}=e;return Math.round((0,g.e8)(e,(0,g.dF)(e,t))*n)}const C=e=>{const{pageRendererComponentProps:t,contentState:n,pageIndex:s,viewportState:g,onScroll:v,className:C,scrollElement:E,label:S,cursorPosition:_,isMobile:P}=e,[{x:k,y:A},z]=i.useState({x:0,y:0}),[{scrollTop:T,scrollLeft:O},I]=i.useState({scrollLeft:(null==E?void 0:E.scrollLeft)||0,scrollTop:((null==E?void 0:E.scrollTop)||0)-D(g,s)}),F=(0,p.R9)((e=>{_||z({x:e.clientX,y:e.clientY})})),M=(0,p.tm)(),R=(0,p.R9)((()=>{if(!E||!M())return;const e={scrollLeft:E.scrollLeft,scrollTop:E.scrollTop-D(g,s)};v?v((()=>I(e))):I(e)}));i.useEffect((()=>(null==E||E.addEventListener("scroll",R,!1),()=>{null==E||E.removeEventListener("scroll",R,!1)})),[R,E]);const j=P?136:174,B=g.scrollPosition.scale(g.zoomLevel).translate(g.scrollPosition.scale(-g.zoomLevel)),N=(0,u.G4)(g).translate(B.scale(-1)),L=(0,c.L)(),K=Math.floor(L*(((null==_?void 0:_.x)||k)-N.left+O))/L-g.viewportRect.left,V=Math.floor(L*(((null==_?void 0:_.y)||A)-N.top+T))/L-g.viewportRect.top,q=Math.floor(j/2-K),H=Math.floor(j/2-V),Z=L/(w*x/L)+.5/w,U=w*x*.5*L,$=S||`${(g.zoomLevel*x*L/2).toFixed(1).replace(".0","")}x`;return i.createElement(h.Z,{onRootPointerMove:F},i.createElement(a.m,null,i.createElement("div",{className:l()(y().magnifierContainer,{[y().magnifierContainerMobile]:P},C)},i.createElement("div",{className:y().magnifier,style:{transformOrigin:`${K}px ${V}px`,transform:`scale(${x*L/2}) translate(-${Z}px, -${Z}px)`,left:q,top:H}},i.createElement(m.Z,(0,o.Z)({},t,{contentState:n,viewportRect:new f.UL({left:K,top:V,width:j,height:j}),forceDetailView:!0})),e.children),i.createElement("div",{className:y().magnifierGridContainer},i.createElement("svg",{width:j,height:j,viewBox:`0 0 ${j*L} ${j*L}`},i.createElement("defs",null,i.createElement("pattern",{id:"grid",x:P?-3*L:L>1?-.5*L:0,y:P?-3*L:L>1?-.5*L:0,width:U,height:U,patternUnits:"userSpaceOnUse"},i.createElement("polyline",{points:`${U-.5},0 ${U-.5},${U-.5} 0,${U-.5}`,className:y().magnifierGridStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("g",{transform:`translate(-${1+U/2},-${1+U/2})`},r||(r=i.createElement("rect",{fill:"url(#grid)",x:"0",y:"0",width:"100%",height:"100%",strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"})),i.createElement("rect",{x:Math.floor(j*L/2)+L*(b||d.vU&&L>1?0:.5),y:Math.floor(j*L/2)+(b?1:0),width:U,height:U,className:y().magnifierCenterStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}),i.createElement("rect",{x:Math.floor(j*L/2)-1,y:Math.floor(j*L/2)-1,width:U+3,height:U+3,className:y().magnifierCenterOutlineStroke,strokeWidth:2,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("div",{className:y().magnifierLabelBackground}),i.createElement("div",{className:y().magnifierLabelText},$)))))}},92879:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>W,qw:()=>Q,sY:()=>X});var r,o,i,a,s=n(22122),l=n(67294),u=n(94184),c=n.n(u),d=n(35782),p=n(35369),h=n(86998),f=n(15359),m=n(67366),g=n(18390),v=n(70982),y=n(85151),b=n(48625),w=n(89637),x=n(14935),D=n(17766),C=n(11236),E=n(30549),S=n.n(E),_=n(60790),P=n(4087),k=n(53261),A=n(97281),z=n(29152),T=n(98179),O=n(22690),I=n(62102),F=n(2841),M=n(94327),R=n(8643),j=n.n(R),B=n(89107),N=n.n(B),L=n(87301),K=n.n(L),V=n(84691),q=n.n(V),H=n(1385),Z=n(66327),U=n(75124),$=n(79579),G=n.n($);const W=function(e){var t,r,o,i,a,s,u,g,E;let{referenceRect:T,viewportState:R,isHidden:B,annotation:L,frameWindow:V,eventEmitter:q,setModalClosurePreventionError:$}=e;(0,f.kG)(L.measurementPrecision&&L.measurementScale);const{formatMessage:G}=(0,d.YB)(),W=(0,m.I0)(),Y=L.getMeasurementDetails().value,J=(0,m.v9)((e=>e.backend)),ee=(0,m.v9)((e=>e.measurementScales)),te=(0,m.v9)((e=>e.activeMeasurementScale)),[ne,re]=(0,l.useState)(!1),[oe,ie]=(0,l.useState)(!1),ae=te&&!ne?te.precision:L.measurementPrecision,[se,le]=(0,l.useState)((0,p.l4)([])),[ue,ce]=(0,l.useState)(Y.toFixed(z._P[ae])),de=l.useMemo((()=>te&&!ne?{unitFrom:te.scale.unitFrom,unitTo:te.scale.unitTo,fromValue:te.scale.fromValue,toValue:te.scale.toValue}:L.measurementScale),[te,L.measurementScale,ne]),[pe,he]=(0,l.useState)((0,y.sJ)({scale:de,precision:ae}).label),[fe,me]=(0,l.useState)(null==de?void 0:de.fromValue.toString()),[ge,ve]=(0,l.useState)(null==de?void 0:de.toValue.toString()),[ye,be]=(0,l.useState)(!1),we=(0,l.useCallback)((e=>{const t=L.merge(e),n={annotations:(0,p.aV)([t]),reason:F.f.PROPERTY_CHANGE};q.emit("annotations.willChange",n),W((0,P.FG)(t)),re(!0)}),[L,W,q]),xe=l.useCallback((e=>{const t=(0,z.P_)(L,e);we({measurementScale:t}),me(t.fromValue.toString()),ve(t.toValue.toString())}),[L,we]);(0,l.useEffect)((()=>{$({error:_.x.MEASUREMENT_ERROR,annotationId:L.id})}),[L.id]),(0,l.useEffect)((()=>{xe(parseFloat(ue||"1"))}),[ue,de]),(0,l.useEffect)((()=>{W((0,Z.M4)(ae))}),[ae]),(0,l.useEffect)((()=>{oe&&pe||(he((0,y.sJ)({scale:de,precision:ae}).label),le(se.delete("scaleName")));const e=null==ee?void 0:ee.find((e=>{let{scale:t,precision:n}=e;return t.fromValue===Number(null==de?void 0:de.fromValue)&&t.toValue===Number(null==de?void 0:de.toValue)&&t.unitFrom===(null==de?void 0:de.unitFrom)&&t.unitTo===(null==de?void 0:de.unitTo)&&n===ae}));le(e?se.add("duplicate"):se.delete("duplicate"))}),[fe,ge,ue,de,ae]);const De="startPoint"in L&&L.startPoint,Ce="endPoint"in L&&L.endPoint;(0,l.useEffect)((()=>{ce(L.getMeasurementDetails().value.toFixed(z._P[ae]))}),[De,Ce,ae]);const Ee=l.useCallback((0,I.zx)(G,"measurement"),[G]),Se=l.useCallback((0,I.ck)(G),[G]),_e=l.useCallback((()=>{const e={name:pe,scale:{fromValue:parseFloat(fe),toValue:parseFloat(ge),unitFrom:null==de?void 0:de.unitFrom,unitTo:null==de?void 0:de.unitTo},precision:ae};(0,m.dC)((()=>{W((0,x.C0)(e)),W((0,x.Se)(e))})),"SERVER"===(null==J?void 0:J.type)?(0,m.dC)((()=>{W((0,P.hQ)(L)),W((0,w.fz)()),W((0,Z.UF)(b.A.MEASUREMENT)),W((0,x.Xh)(!1)),W((0,v.KY)(!0))})):be(!0)}),[be,W,fe,ae,null==de?void 0:de.unitFrom,null==de?void 0:de.unitTo,pe,ge]),Pe="in"===L.measurementScale.unitTo||"ft"===L.measurementScale.unitTo||"yd"===L.measurementScale.unitTo?z.nK:z.nK.filter((e=>!e.label.includes("/")));return ye?l.createElement(h.u_,{onEscape:()=>{(0,m.dC)((()=>{W((0,P.hQ)(L)),W((0,w.fz)()),W((0,Z.UF)(b.A.MEASUREMENT)),W((0,x.Xh)(!1))}))},background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:K().calibrationSuccessModal},l.createElement("div",{className:K().calibrationSuccessModalContainer},l.createElement("div",{className:K().calibrationSuccessRow},l.createElement(k.Z,{src:n(97468),className:S().itemIcon,role:"presentation",style:{color:"#628D06"}}),l.createElement("div",{onClick:()=>{(0,m.dC)((()=>{W((0,P.hQ)(L)),W((0,w.fz)()),W((0,Z.UF)(b.A.MEASUREMENT)),W((0,x.Xh)(!1))}))}},l.createElement(k.Z,{src:n(66361),className:S().itemIcon,role:"presentation",style:{cursor:"pointer"}}))),l.createElement("div",{className:c()(K().calibrationSuccessRow,K().calibrationSuccessTitle)},l.createElement("p",null,G(X.calibrationScaleSuccess))),l.createElement("div",{className:K().calibrationSuccessRow},l.createElement("p",null,G(X.calibrationScaleSubtitle))))):B?null:l.createElement(C.Z,{referenceRect:T,viewportState:R,className:"PSPDFKit-Measurement-Popover",wrapperClassName:"PSPDFKit-Measurement-Editor",title:G(X.calibrateScale),footer:l.createElement("div",{className:c()(K().footer,K().contentRow,K().spaceBetweenRow)},l.createElement(h.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},l.createElement(h.zx,{autoFocus:!0,onClick:()=>{(0,m.dC)((()=>{W((0,x.Xh)(!1)),W((0,P.hQ)(L)),W((0,w.fz)()),W((0,Z.UF)(b.A.MEASUREMENT))}))},className:c()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",K().button)},G(D.Z.delete)),l.createElement(h.zx,{onClick:()=>_e(),primary:!0,disabled:se.size>0,className:c()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",K().button)},G(D.Z.done))))},l.createElement("div",{className:N().calibration},l.createElement("div",{className:N().calibrationTop},l.createElement(k.Z,{src:n(64772),className:S().itemIcon,role:"presentation"}),l.createElement("div",{className:S().itemLabel},G(X.calibrateLength)),l.createElement("div",{className:N().calibrateRight},l.createElement(h.oi,{type:"number",value:ue,onChange:e=>{if(ce(e.target.value),!function(e){const t=parseFloat(e);return!isNaN(t)&&isFinite(t)&&t>0}(e.target.value))return void le(se.add("calibrationValue"));le(se.delete("calibrationValue"));const t=parseFloat(e.target.value);xe(t)},required:!0,style:{height:32,width:90,borderColor:se.has("calibrationValue")?"#FF0000":void 0},className:c()(j().input,"PSPDFKit-Calibration-Input")}),l.createElement("div",{className:c()(S().nativeDropdown,N().nativeButton)},l.createElement("select",{"aria-label":G(X.calibrate),className:c()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-UnitTo"),value:null!==(t=null===(r=z.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))||void 0===r?void 0:r.value)&&void 0!==t?t:null===(o=L.measurementScale)||void 0===o?void 0:o.unitTo,onChange:e=>{var t;we({measurementScale:null===(t=L.measurementScale)||void 0===t?void 0:t.set("unitTo",e.target.value)})}},Object.keys(H.K).map((e=>l.createElement("option",{key:e,value:H.K[e]},H.K[e]))))),l.createElement(O.Z,{items:z.b5,value:null!==(i=z.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))&&void 0!==i?i:null,accessibilityLabel:G(X.calibrate),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:c()(S().dropdownGroupComponent,"PSPDFKit-Calibration-UnitTo"),menuClassName:S().dropdownGroupMenu,ButtonComponent:Ee,ItemComponent:Se,onSelect:(e,t)=>{var n;we({measurementScale:null===(n=L.measurementScale)||void 0===n?void 0:n.set("unitTo",t.value)})},frameWindow:V})))),l.createElement("span",{className:N().spacer}),l.createElement("div",{className:N().scale},l.createElement("div",{className:N().scaleTop},l.createElement(k.Z,{src:n(45983),className:S().itemIcon,role:"presentation"}),l.createElement("div",{className:S().itemLabel},G(X.measurementScale))),l.createElement("div",{style:{width:"100%"},className:N().itemHeader},l.createElement(h.oi,{type:"text",value:pe,onChange:e=>{e.target.value?le(se.delete("scaleName")):le(se.add("scaleName")),he(e.target.value),oe||ie(!0)},required:!0,style:{height:32,width:"100%",borderColor:se.has("scaleName")?"#FF0000":void 0},className:c()(j().input,"PSPDFKit-Calibration-Name")})),l.createElement("div",{className:N().scaleBottom},l.createElement("div",null,l.createElement(h.oi,{type:"number",value:fe,required:!0,disabled:!0,style:{height:32,width:90,borderColor:se.has("fromValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:c()(j().input,j().disabled)}),l.createElement("div",{className:c()(S().nativeDropdown,N().nativeButton)},l.createElement("select",{"aria-label":G(X.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(a=L.measurementScale)||void 0===a?void 0:a.unitFrom)||"",disabled:!0},Object.keys(M.s).map((e=>l.createElement("option",{key:e,value:M.s[e]},M.s[e]))))),l.createElement(O.Z,{items:z.m_,value:null!==(s=z.m_.find((e=>e.value===(null==de?void 0:de.unitFrom))))&&void 0!==s?s:null,accessibilityLabel:G(X.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:Ee,ItemComponent:Se,disabled:!0,frameWindow:V})),":",l.createElement("div",null,l.createElement(h.oi,{type:"number",value:ge,required:!0,disabled:!0,style:{height:32,width:90,borderColor:se.has("toValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:c()(j().input,j().disabled)}),l.createElement("div",{className:c()(S().nativeDropdown,N().nativeButton)},l.createElement("select",{"aria-label":G(X.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(u=L.measurementScale)||void 0===u?void 0:u.unitTo)||"",disabled:!0},Object.keys(H.K).map((e=>l.createElement("option",{key:e,value:H.K[e]},H.K[e]))))),l.createElement(O.Z,{items:z.b5,value:null!==(g=z.b5.find((e=>e.value===(null==de?void 0:de.unitTo))))&&void 0!==g?g:null,accessibilityLabel:G(X.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:Ee,ItemComponent:Se,disabled:!0,frameWindow:V})))),l.createElement("span",{className:N().spacer}),l.createElement("div",{className:S().item},l.createElement("div",{className:c()(S().itemLabel,N().itemLabel)},G(X.measurementPrecision)),l.createElement("div",{className:c()(S().nativeDropdown,N().nativeButton)},l.createElement("select",{style:{height:30},"aria-label":G(X.measurementPrecision),className:c()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-Precision"),value:L.measurementPrecision||"",onChange:e=>{we({measurementPrecision:e.target.value})}},Object.keys(A.L).map(((e,t)=>l.createElement("option",{key:e,value:A.L[e]},z.W9[t]))))),l.createElement(O.Z,{items:Pe,value:null!==(E=Pe.find((e=>e.value===L.measurementPrecision)))&&void 0!==E?E:null,accessibilityLabel:G(X.measurementPrecision),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:c()(S().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Calibration-Precision"),menuClassName:S().dropdownGroupMenu,ButtonComponent:Ee,ItemComponent:Q,onSelect:(e,t)=>{we({measurementPrecision:t.value}),ce(Y.toFixed(z._P[t.value]).toString())},frameWindow:V})),se.has("duplicate")&&l.createElement("p",{className:K().scaleError},G(U.s.scaleAlreadyAddedWarning)))},X=(0,d.vU)({calibrationScaleSuccess:{id:"calibrationScaleSuccess",defaultMessage:"Scale has been successfully set",description:"Scale has been successfully set"},calibrationScaleSubtitle:{id:"calibrationScaleSubtitle",defaultMessage:"Start measuring by selecting one of the measurement tools.",description:"Start measuring by selecting one of the measurement tools."},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},calibrateLength:{id:"calibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Scale"},calibrateScale:{id:"calibrateScale",defaultMessage:"Calibrate Scale",description:"Calibrate Scale"},calibrate:{id:"calibrate",defaultMessage:"Calibrate",description:"Calibrate"}});const Y=e=>T.G6?l.createElement("span",null,e.label):"1/2"===e.label?r||(r=l.createElement("span",null,"1⁄2 in")):"1/4"===e.label?o||(o=l.createElement("span",null,"1⁄4 in")):"1/8"===e.label?i||(i=l.createElement("span",null,"1⁄8 in")):"1/16"===e.label?a||(a=l.createElement("span",null,"1⁄16 in ")):l.createElement("span",null,e.label),Q=e=>{let{item:t,state:n,itemComponentProps:r,ref:o}=e;return l.createElement(g.Z,(0,s.Z)({is:"div",className:c()(q().item,{[q().isSelected]:(null==n?void 0:n.includes("selected"))||(null==n?void 0:n.includes("focused"))},q().measurementDropdownText),name:null==t?void 0:t.value},r,{ref:o}),null!=n&&n.includes("selected")?l.createElement(k.Z,{src:G(),className:N().icon}):l.createElement("span",{className:N().icon}),l.createElement(Y,{label:null==t?void 0:t.label}))}},38835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T,s:()=>O});var r=n(67294),o=n(35782),i=n(86998),a=n(94184),s=n.n(a),l=n(67366),u=n(15837),c=n(58163),d=n(4087),p=n(89637),h=n(66327),f=n(67260),m=n(75124),g=n(72113),v=n(17766),y=n(87301),b=n.n(y),w=n(46945),x=n(89107),D=n.n(x),C=n(1385),E=n(30549),S=n.n(E),_=n(22690),P=n(62102),k=n(97281),A=n(29152),z=n(14935);const T=function(e){var t,n;let{frameWindow:a}=e;const y=(0,o.YB)(),{formatMessage:x}=(0,o.YB)(),E=(0,l.v9)((e=>e.measurementScales)),T=(0,l.v9)((e=>e.secondaryMeasurementUnit)),[I,F]=r.useState(Boolean(T)),[M,R]=r.useState(null==T?void 0:T.unitTo),[j,B]=r.useState(null==T?void 0:T.precision),[N,L]=r.useState(!1),[K,V]=r.useState([]),[q,H]=r.useState(null),[Z,U]=r.useState(null),[$,G]=r.useState(!1),W=(0,l.v9)((e=>{const{selectedAnnotationIds:t,annotations:n}=e;return t.map((e=>n.get(e)))})),X=(0,l.I0)(),Y=r.useCallback((0,P.zx)(x,"measurement"),[x]),Q=r.useCallback((0,P.ck)(x),[x]),J=r.useCallback((()=>{X((0,h.jJ)()),X((0,p.fz)()),X((0,d.Ds)("measurement")),X((0,h.BR)())}),[X]),ee=r.useCallback((e=>{if(N&&K&&E){const{deleted:t}=(0,A.Rc)(E,K);if(t.filter((e=>!(null==Z?void 0:Z.find((t=>t.prevScale===e))))).length>0&&!e)return void G(!0);(0,l.dC)((()=>{X((0,z.U7)(K,Z)),X((0,z.Se)(q))}))}I&&M&&j&&X((0,z.v9)({unitTo:M,precision:j})),!T||M||j||X((0,z.v9)(null)),W.size>0&&(0,l.dC)((()=>{W.toList().forEach((e=>{const t=e.set("measurementScale",new c.Z({fromValue:Number(null==q?void 0:q.scale.fromValue),toValue:Number(null==q?void 0:q.scale.toValue),unitFrom:null==q?void 0:q.scale.unitFrom,unitTo:null==q?void 0:q.scale.unitTo})).set("measurementPrecision",null==q?void 0:q.precision);X((0,d.FG)(t))}))})),J()}),[q,N,X,Z,E,J,K,T,M,j,I]),te=r.useMemo((()=>!!M&&(0,A.B0)(M)),[M]);return $?r.createElement(f.z,{onConfirm:()=>{ee(!0)},onCancel:()=>{G(!1)},accessibilityLabel:x(O.scaleAnnotationsDeleteWarning),accessibilityDescription:x(O.scaleAnnotationsDeleteWarning),intl:y},r.createElement("p",null,x(O.scaleAnnotationsDeleteWarning))):r.createElement(g.Z,{onEscape:J,background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:s()(b().modal,"PSPDFKit-Modal-Measurement-Settings")},r.createElement("h2",{className:s()(b().title,b().header,b().contentRow)},x(O.setScale)),r.createElement(m.Z,{frameWindow:a,setAreValidScales:L,scalesSetter:V,activeScaleSetter:H,editedScalesSetter:U}),r.createElement("h2",{className:s()(b().contentRow,b().sectionTitle,b().spaceBetweenRow)},x(O.secondaryUnits)),r.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},r.createElement("p",null,x(O.displaySecondaryUnit)),r.createElement(w.n,{value:I,onUpdate:()=>{I?(R(void 0),B(void 0)):(R(C.K.INCHES),B(k.L.WHOLE)),F(!I)},accessibilityLabel:x(O.displaySecondaryUnit)})),I?r.createElement("div",{className:"PSPDFKit-Secondary-Measurement"},r.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},r.createElement("p",null,x(O.unit)),r.createElement("div",{className:s()(b().nativeDropdown,D().nativeButton)},r.createElement("select",{style:{height:30},"aria-label":x(O.measurementScale),value:(null===(t=A.b5.find((e=>e.value===M)))||void 0===t?void 0:t.value)||"",className:"PSPDFKit-Input-Dropdown-Select",onChange:e=>{R(e.target.value)}},Object.keys(C.K).map((e=>r.createElement("option",{key:e,value:C.K[e]},C.K[e]))))),r.createElement(_.Z,{items:A.b5,value:null!==(n=A.b5.find((e=>e.value===M)))&&void 0!==n?n:null,accessibilityLabel:x(O.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:s()(b().dropdownGroupComponent,S().dropdownGroupComponent,"PSPDFKit-Secondary-Measurement-UnitTo"),menuClassName:S().dropdownGroupMenu,ButtonComponent:Y,ItemComponent:Q,onSelect:(e,t)=>{(0,A.B0)(t.value)&&(0,A.zl)(j)&&!te&&B(void 0),R(t.value)},frameWindow:a})),r.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},r.createElement("p",null,x(O.measurementPrecision)),r.createElement(u.Z,{frameWindow:a,unit:M,onPrecisionChange:B,selectedPrecision:j,precisionDropdownClassname:"PSPDFKit-Secondary-Measurement-Precision",accessibilityLabel:x(O.measurementPrecision)}))):null,r.createElement("div",{className:s()(b().footer,b().contentRow,b().spaceBetweenRow)},r.createElement(i.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},r.createElement(i.zx,{autoFocus:!0,onClick:J,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",b().button)},x(v.Z.cancel)),r.createElement(i.zx,{onClick:()=>ee(),primary:!0,disabled:I&&(!M||!j)||!N,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",b().button)},x(v.Z.done)))))},O=(0,o.vU)({distanceMeasurementSettings:{id:"distanceMeasurementSettings",defaultMessage:"Distance Measurement Settings",description:"Distance Measurement Settings"},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},measurementCalibrateLength:{id:"measurementCalibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Measurement Scale"},setScale:{id:"setScale",defaultMessage:"Set Scale",description:"Set Scale"},unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},secondaryUnits:{id:"secondaryUnits",defaultMessage:"Secondary Units",description:"Secondary Units"},displaySecondaryUnit:{id:"displaySecondaryUnit",defaultMessage:"Display Secondary Unit",description:"Display Secondary Unit"},scaleAnnotationsDeleteWarning:{id:"scaleAnnotationsDeleteWarning",defaultMessage:"Deleting the scale will also delete measurements using the scale.",description:"Message displayed in the scales deletion dialog"}})},15837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(94184),o=n.n(r),i=n(67294),a=n(35782),s=n(62102),l=n(92879),u=n(89107),c=n.n(u),d=n(38835),p=n(87301),h=n.n(p),f=n(30549),m=n.n(f),g=n(22690),v=n(97281),y=n(29152);const b=e=>{var t,n;let{unit:r,frameWindow:u,selectedPrecision:p,onPrecisionChange:f,wrapperClass:b,precisionDropdownClassname:w,accessibilityLabel:x,index:D}=e;const{formatMessage:C}=(0,a.YB)(),E=(0,i.useMemo)((()=>!!r&&(0,y.B0)(r)),[r]),S=(0,i.useMemo)((()=>E?y.Qc:y.nK),[E]),_=i.useCallback((0,s.zx)(C,"measurement"),[C]);return i.createElement("div",{className:b||void 0},i.createElement("div",{className:o()(h().nativeDropdown,c().nativeButton)},i.createElement("select",{style:{height:30},"aria-label":C(d.s.measurementPrecision),"data-test-id":void 0!==D?`PSPDFKit-Scale-${D+1}-Precision`:"PSPDFKit-Scale-Precision",value:(null===(t=y.nK.find((e=>e.value===p||e.label===p)))||void 0===t?void 0:t.value)||"",className:o()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Measurement-Precision-Dropdown"),onChange:e=>{f(e.target.value)}},Object.keys(v.L).filter((e=>E?!(0,y.zl)(v.L[e]):e)).map(((e,t)=>i.createElement("option",{key:e,value:v.L[e]},y.W9[t]))))),i.createElement(g.Z,{items:S,value:null!==(n=S.find((e=>e.value===p||e.label===p)))&&void 0!==n?n:null,accessibilityLabel:x,discreteDropdown:!1,isActive:!1,caretDirection:"down",className:o()("PSPDFKit-Input-Dropdown-Select",h().dropdownGroupComponent,"PSPDFKit-Measurement-Precision-Dropdown",w),"data-test-id":void 0!==D?`PSPDFKit-Scale-${D+1}-Precision`:"PSPDFKit-Scale-Precision",menuClassName:m().dropdownGroupMenu,ButtonComponent:_,ItemComponent:l.qw,onSelect:(e,t)=>{f(t.value)},frameWindow:u}))}},75124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j,s:()=>R});var r=n(96156),o=n(86998),i=n(94184),a=n.n(i),s=n(67294),l=n(35782),u=n(67366),c=n(15837),d=n(97281),p=n(62102),h=n(30549),f=n.n(h),m=n(8643),g=n.n(m),v=n(53261),y=n(92879),b=n(89107),w=n.n(b),x=n(17766),D=n(22690),C=n(94327),E=n(1385),S=n(29152),_=n(87301),P=n.n(_);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t0}const R=(0,l.vU)({scaleSelector:{id:"scaleSelector",defaultMessage:"Scale {arg0}",description:"Scale checkbox selector for multiple scale selection accessibility"},scaleName:{id:"scaleName",defaultMessage:"Scale Name",description:"Scale Name"},scaleUnitFrom:{id:"scaleUnitFrom",defaultMessage:"Scale unit from",description:"Scale unit from"},scaleUnitTo:{id:"scaleUnitTo",defaultMessage:"Scale unit to",description:"Scale unit to"},addScale:{id:"addScale",defaultMessage:"Add scale",description:"Add scale"},scaleAlreadyAddedWarning:{id:"scaleAlreadyAddedWarning",defaultMessage:"Scale with these settings has already been defined. Please choose a different scale.",description:"Scale with these settings has already been defined. Please choose a different scale."}}),j=function(e){const{frameWindow:t,setAreValidScales:r,scalesSetter:i,activeScaleSetter:h,editedScalesSetter:m}=e,{formatMessage:b}=(0,l.YB)(),_=(0,u.v9)((e=>e.measurementScales)),k=(0,u.v9)((e=>e.activeMeasurementScale)),[j,B]=(0,s.useState)([]),[N,L]=(0,s.useState)(_),[K,V]=(0,s.useState)(k?null==_?void 0:_.findIndex((e=>(0,S.cd)(e,k))):0),[q,H]=(0,s.useState)([]),[Z,U]=(0,s.useState)([]);s.useEffect((()=>{const e=function(e,t){const n=[];return t.forEach((t=>{const r=e[t],o=[],i=r.scale.fromValue,a=r.scale.toValue,s=r.precision;M(i)||o.push(O),M(a)||o.push(I),s||o.push(F);const l=[];e.forEach(((e,n)=>{n!==t&&(l.push(n),r.name&&r.name===e.name&&!o.includes(T)&&o.push(T),(0,S.cd)(r,e)&&!o.includes(z)&&o.push(z))})),o.length>0&&n.push({index:t,fields:o,conflicts:l})})),n}(N,Z);if(e.length>0){const t=e[e.length-1];B([t])}else B([]),U([]),i(N);r(0===e.length)}),[N,i,r]),s.useEffect((()=>{L(_)}),[_]),s.useEffect((()=>{const e=null==N?void 0:N.find(((e,t)=>t===K));e&&h(e)}),[K,h,N]),s.useEffect((()=>{m(q)}),[q]);const $=(e,t,n)=>{L((r=>{const o=null==r?void 0:r.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return"precision"===t?o[e][t]=n:o[e].scale=A(A({},o[e].scale),{},{[t]:n}),o})),null!=_&&_.find((t=>JSON.stringify(t)===JSON.stringify(null==N?void 0:N[e])))&&q&&!q.find((t=>t===e))&&H([...q,{index:e,prevScale:_[e]}]),Z.includes(e)||U([...Z,e])},G=s.useCallback((0,p.zx)(b,"measurement"),[b]),W=s.useCallback((0,p.ck)(b),[b]);return s.createElement("div",{className:P().scale},null==N?void 0:N.map(((e,r)=>{var i,l;const u=e.name,d=e.scale,p=e.precision,h=null==d?void 0:d.unitFrom,m=null==d?void 0:d.unitTo,k=null==d?void 0:d.fromValue,M=null==d?void 0:d.toValue,B=j.find((e=>e.index===r)),X=null==B?void 0:B.fields.includes(z),Y=null==B?void 0:B.fields.includes(T),Q=null==B?void 0:B.fields.includes(O),J=null==B?void 0:B.fields.includes(I),ee=null==B?void 0:B.fields.includes(F);return s.createElement("div",{key:r,style:{marginBottom:"var(--PSPDFKit-spacing-6)"}},s.createElement("div",{className:a()(P().scaleRow),style:X?{borderBottom:0}:{},"data-test-id":`PSPDFKit-Scale-${r+1}`},s.createElement("input",{key:u,type:"radio",checked:Boolean(K===r&&!X),value:r,id:b(R.scaleSelector,{arg0:r+1}),name:b(R.scaleSelector,{arg0:r+1}),onChange:e=>{e.target.checked&&V(r)},className:a()(P().activeScaleRadio,"PSPDFKit-Active-Scale-Radio-Input")}),s.createElement("div",{className:a()(P().scaleContent,P().scaleMiddleSection)},s.createElement("div",{className:a()(P().scaleRow,P().spaceBetweenRow,P().rowSeparator)},s.createElement(o.oi,{type:"text",value:u,placeholder:b(R.scaleName),onChange:e=>{((e,t)=>{Z.includes(e)||U([...Z,e]),L((n=>{const r=null==n?void 0:n.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return r[e].name=t,r})),null!=_&&_.find((t=>JSON.stringify(t)===JSON.stringify(null==N?void 0:N[e])))&&q&&!q.find((t=>t===e))&&H([...q,{index:e,prevScale:_[e]}])})(r,e.target.value)},required:!0,style:{height:32,width:"100%",borderColor:Y?"#FF0000":void 0},className:a()(g().input),maxLength:40})),s.createElement("div",{className:a()(P().scaleRow,P().rowSeparator)},s.createElement("div",{className:P().scaleRowContent},s.createElement(o.oi,{type:"number",value:""+k,onChange:e=>{$(r,"fromValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:Q||X?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${r+1}-FromValue`,className:a()(g().input)}),s.createElement("div",{className:a()(P().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(R.scaleUnitFrom)} ${r+1}`,className:a()("PSPDFKit-Input-Dropdown-Select"),"data-test-id":`PSPDFKit-Scale-${r+1}-UnitFrom`,value:h||"",onChange:e=>{$(r,"unitFrom",e.target.value)}},Object.keys(C.s).map((e=>s.createElement("option",{key:e,value:C.s[e]},C.s[e]))))),s.createElement(D.Z,{items:S.m_,value:null!==(i=S.m_.find((e=>e.value===h)))&&void 0!==i?i:null,accessibilityLabel:`${b(R.scaleUnitFrom)} ${r+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${r+1}-UnitFrom`,className:a()(P().dropdownGroupComponent,f().dropdownGroupComponent),menuClassName:f().dropdownGroupMenu,ButtonComponent:G,ItemComponent:W,onSelect:(e,t)=>{$(r,"unitFrom",t.value)},frameWindow:t})),"=",s.createElement("div",{className:P().scaleRowContent},s.createElement(o.oi,{type:"number",value:""+M,onChange:e=>{$(r,"toValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:J||X?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${r+1}-ToValue`,className:a()(g().input)}),s.createElement("div",{className:a()(P().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(R.scaleUnitFrom)} ${r+1}`,"data-test-id":`PSPDFKit-Scale-${r+1}-UnitTo`,className:a()("PSPDFKit-Input-Dropdown-Select"),value:m||"",onChange:e=>{$(r,"unitTo",e.target.value)}},Object.keys(E.K).map((e=>s.createElement("option",{key:e,value:E.K[e]},E.K[e]))))),s.createElement(D.Z,{items:S.b5,value:null!==(l=S.b5.find((e=>e.value===m)))&&void 0!==l?l:null,accessibilityLabel:`${b(R.scaleUnitFrom)} ${r+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${r+1}-UnitTo`,className:a()(P().dropdownGroupComponent,f().dropdownGroupComponent),menuClassName:f().dropdownGroupMenu,ButtonComponent:G,ItemComponent:W,onSelect:(e,t)=>{$(r,"unitTo",t.value)},frameWindow:t}))),s.createElement("div",{className:a()(P().scaleRow,P().spaceBetweenRow,P().rowSeparator)},s.createElement("p",{className:f().itemLabel},b(y.sY.measurementPrecision)),s.createElement(c.Z,{frameWindow:t,unit:m,onPrecisionChange:e=>$(r,"precision",e),selectedPrecision:p,wrapperClass:a()({[P().error]:ee}),accessibilityLabel:`${y.sY.measurementScale} ${b(y.sY.measurementPrecision)} ${r+1}`,index:r}))),s.createElement("div",null,s.createElement(o.zx,{"data-test-id":`PSPDFKit-Scale-${r+1}-RemoveScale`,className:a()(P().closeButton,"PSPDFKit-Measurement-Exit-Dialog-Close-Button"),onClick:()=>{(e=>{if(L((t=>{const n=null==t?void 0:t.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return n.splice(e,1),n})),q){const t=q.filter((t=>t.index!==e)).map((e=>A(A({},e),{},{index:e.index-1})));H(t)}if(Z){const t=Z.filter((t=>t!==e)).map((e=>e-1));U(t)}V((e=>e?e-1:0))})(r)},"aria-label":b(x.Z.close),disabled:1===N.length,style:{position:"relative",top:"7px"}},s.createElement(v.Z,{className:P().signatureValidationCloseIcon,src:n(2256)})))),(X||Y)&&s.createElement("p",{className:a()(P().scaleError)},b(R.scaleAlreadyAddedWarning)))})),s.createElement("div",{className:P().addNewScale,onClick:()=>{L((e=>{const t=null==e?void 0:e.map((e=>A(A({},e),{},{scale:A({},e.scale)})));return t.push({name:"",scale:{unitFrom:"cm",unitTo:"cm",fromValue:1,toValue:1},precision:d.L.WHOLE}),t})),U([...Z,null==N?void 0:N.length])}},s.createElement(v.Z,{className:P().signatureValidationCloseIcon,src:n(45632),style:{color:"#4636E3"}}),s.createElement("u",{style:{color:"var(--color-blue600)"}},b(R.addScale))))}},85151:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>N,sJ:()=>j});var r=n(22122),o=n(94184),i=n.n(o),a=n(18390),s=n(85628),l=n.n(s),u=n(67294),c=n(35782),d=n(67366),p=n(79579),h=n.n(p),f=n(29152),m=n(38835),g=n(58163),v=n(48625),y=n(4087),b=n(14935),w=n(62102),x=n(84691),D=n.n(x),C=n(30549),E=n.n(C),S=n(89107),_=n.n(S),P=n(22690),k=n(66327),A=n(53261),z=n(44170),T=n.n(z),O=n(71479),I=n(87301),F=n.n(I),M=n(17766);function R(e,t){const n=Math.round(e*t);return new(l())(n/t).toFraction(!0)}function j(e){if(!e)return{label:"",value:null};let t,n;const r=function(e){switch(e){case"whole":return"1";case"oneDp":return"0.1";case"twoDp":return"0.001";case"threeDp":case"fourDp":return"0.0001";default:return null}}(e.precision)||e.precision;if(["1","0.1","0.01","0.001","0.0001"].includes(r)){const o=function(e){switch(e){case"1":default:return 0;case"0.1":return 1;case"0.01":return 2;case"0.001":return 3;case"0.0001":return 4}}(r);t=Number(e.scale.fromValue).toFixed(o),n=Number(e.scale.toValue).toFixed(o)}else if(["1/2","1/4","1/8","1/16"].includes(r)){const o=Number(r.split("/")[1]);t=R(e.scale.fromValue,o),n=R(e.scale.toValue,o)}return{label:e.name||`${t} ${e.scale.unitFrom} : ${n} ${e.scale.unitTo}`,value:e}}const B=(0,c.vU)({unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},scalesDropdown:{id:"scalesDropdown",defaultMessage:"Scales dropdown",description:"Scales dropdown"},editAddNewScale:{id:"editAddNewScale",defaultMessage:"Edit or add new scale",description:"Edit or add new scale"},useCalibrationTool:{id:"useCalibrationTool",defaultMessage:"Use calibration tool",description:"Use calibration tool"}}),N=function(e){var t;let{frameWindow:r,selectedAnnotation:o,onAnnotationScaleUpdate:a,selectedAnnotations:s}=e;const l=(0,d.v9)((e=>e.measurementScales)),p=(0,d.v9)((e=>e.activeMeasurementScale)),h=(0,d.I0)(),{formatMessage:x}=(0,c.YB)(),C=u.useMemo((()=>function(e,t){if(t&&e)return null==e?void 0:e.find((e=>{var n,r,o,i;const a=e.precision===t.measurementPrecision,s=e.scale.fromValue===(null===(n=t.measurementScale)||void 0===n?void 0:n.fromValue),l=e.scale.toValue===(null===(r=t.measurementScale)||void 0===r?void 0:r.toValue),u=e.scale.unitFrom===(null===(o=t.measurementScale)||void 0===o?void 0:o.unitFrom),c=e.scale.unitTo===(null===(i=t.measurementScale)||void 0===i?void 0:i.unitTo);return a&&s&&l&&u&&c}))}(l,o)||p),[l,o,p]),S=u.useCallback((0,w.zx)(x,"measurement",200),[x]),z=u.useMemo((()=>!!s&&(0,f.mq)(s)),[s]),I=u.useMemo((()=>function(e,t,n){if(!e)return[];const r=e.map((e=>j(e)));return t?[...r,{label:n,value:n}]:r}(l,z,x(M.Z.mixed))),[z,x,l]),R=u.useCallback((e=>{if(e.value!==x(M.Z.mixed))if(o){const{value:t}=e,{precision:n,scale:r}=t,{fromValue:o,toValue:i,unitFrom:s,unitTo:l}=r;null==a||a({measurementPrecision:n,measurementScale:new g.Z({fromValue:Number(o),toValue:Number(i),unitFrom:s,unitTo:l})})}else h((0,b.Se)(e.value))}),[h,x,a,o]);if(!l)return null;if(!C)return u.createElement("div",{className:T().warningButton,onClick:()=>h((0,k.PR)())},u.createElement(A.Z,{src:n(42744),role:"presentation",className:T().warningButtonIcon}),u.createElement("span",{className:T().radioButtonWarningLabel},x(m.s.setScale)));function N(){(0,d.dC)((()=>{h((0,b.Xh)(!0)),h((0,y.Ds)("distance")),h((0,k.yg)(O.Z,v.A.DISTANCE))}))}return u.createElement("div",{className:_().scaleDropdownContainer},u.createElement("div",{className:i()(E().nativeDropdown,_().nativeButton)},u.createElement("select",{"aria-label":x(B.scalesDropdown),value:z?x(M.Z.mixed):null===(t=I.find((e=>JSON.stringify(e.value)===JSON.stringify(C))))||void 0===t?void 0:t.label,className:i()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Scales-Dropdown"),onChange:e=>{const t=e.target.value;"editAddScale"===t?h((0,k.PR)()):"calibrationTool"===t?N():R(I.find((e=>e.label===t)))}},null==I?void 0:I.map((e=>u.createElement("option",{key:e.label,value:e.label},e.label))),u.createElement("option",{key:x(B.editAddNewScale),value:"editAddScale"},x(B.editAddNewScale),"..."),u.createElement("option",{key:x(B.useCalibrationTool),value:"calibrationTool"},x(B.useCalibrationTool),"..."))),u.createElement(P.Z,{items:I,value:z?{label:x(M.Z.mixed),value:x(M.Z.mixed)}:I.find((e=>JSON.stringify(e.value)===JSON.stringify(C))),accessibilityLabel:x(B.scalesDropdown),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:i()(E().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Scales-Dropdown"),menuClassName:i()(E().dropdownGroupMenu,D().measurementDropdownText),ButtonComponent:S,ItemComponent:L,onSelect:(e,t)=>R(t),frameWindow:r},u.createElement("div",{className:F().scalesDropdownItem,onClick:()=>h((0,k.PR)())},x(B.editAddNewScale),"..."),u.createElement("div",{className:F().scalesDropdownItem,onClick:()=>{N()}},x(B.useCalibrationTool),"...")))},L=e=>{let{item:t,state:n,itemComponentProps:r,ref:o}=e;return u.createElement(K,{item:t,state:n,itemComponentProps:r,ref:o})},K=u.forwardRef(((e,t)=>{var n;let{item:o,state:s,itemComponentProps:l,width:c}=e;return u.createElement(a.Z,(0,r.Z)({is:"div",className:i()(D().item,F().item,{[D().isSelected]:(null==s?void 0:s.includes("selected"))||(null==s?void 0:s.includes("focused"))}),name:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,style:{width:c},ref:t},l),null!=s&&s.includes("selected")?u.createElement(A.Z,{src:h(),className:F().icon}):u.createElement("span",{className:F().icon}),null==o?void 0:o.label)}))},17766:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Z:()=>i});var r=n(35782),o=n(60379);const i=(0,r.vU)({color:{id:"color",defaultMessage:"Color",description:"Color"},fillColor:{id:"fillColor",defaultMessage:"Fill Color",description:"Background color"},newColor:{id:"newColor",defaultMessage:"New Color",description:"New Custom Color"},[o.Z.BLACK.toCSSValue()]:{id:"black",defaultMessage:"Black",description:"Black, the color"},[o.Z.WHITE.toCSSValue()]:{id:"white",defaultMessage:"White",description:"White, the color"},[o.Z.BLUE.toCSSValue()]:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"},[o.Z.RED.toCSSValue()]:{id:"red",defaultMessage:"Red",description:"Red, the color"},[o.Z.GREEN.toCSSValue()]:{id:"green",defaultMessage:"Green",description:"Green, the color"},[o.Z.ORANGE.toCSSValue()]:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"},[o.Z.LIGHT_BLUE.toCSSValue()]:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"},[o.Z.LIGHT_RED.toCSSValue()]:{id:"lightRed",defaultMessage:"Light Red",description:"Light Red color"},[o.Z.LIGHT_GREEN.toCSSValue()]:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"},[o.Z.LIGHT_YELLOW.toCSSValue()]:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"},opacity:{id:"opacity",defaultMessage:"Opacity",description:"Opacity"},thickness:{id:"thickness",defaultMessage:"Thickness",description:"Thickness of a line"},"linecaps-dasharray":{id:"linecaps-dasharray",defaultMessage:"Line Style",description:"Select line caps and dash pattern of lines"},linestyle:{id:"dasharray",defaultMessage:"Line style",description:"Select line style"},borderStyle:{id:"borderStyle",defaultMessage:"Border style",description:"Select border style"},borderColor:{id:"borderColor",defaultMessage:"Border color",description:"Select border color"},font:{id:"font",defaultMessage:"Font",description:"Font"},fontSize:{id:"fontSize",defaultMessage:"Font size",description:"Font size selection"},fonts:{id:"fonts",defaultMessage:"Fonts",description:"Fonts"},allFonts:{id:"allFonts",defaultMessage:"All Fonts",description:"Used when presenting a list of fonts"},fontFamilyUnsupported:{id:"fontFamilyUnsupported",defaultMessage:"{arg0} (not supported)",description:"Font family (type) is not supported"},alignment:{id:"alignment",defaultMessage:"Alignment",description:"Alignment (left, center, right, top, middle, bottom)"},alignmentRight:{id:"alignmentRight",defaultMessage:"Right",description:"Right alignment"},alignmentLeft:{id:"alignmentLeft",defaultMessage:"Left",description:"Left alignment"},alignmentCenter:{id:"alignmentCenter",defaultMessage:"center",description:"Center alignment"},verticalAlignment:{id:"verticalAlignment",defaultMessage:"Vertical Alignment",description:"Vertical Alignment (top, center, bottom)"},horizontalAlignment:{id:"horizontalAlignment",defaultMessage:"Horizontal Alignment",description:"Horizontal Alignment (left, center, right)"},size:{id:"size",defaultMessage:"Size",description:"Used to label sizes (eg. font)"},numberInPt:{id:"numberInPt",defaultMessage:"{arg0} pt",description:"A number in pt (points). eg. 10pt"},startLineCap:{id:"startLineCap",defaultMessage:"Line Start",description:'Start line cap marker. eg. "open arrow"'},strokeDashArray:{id:"strokeDashArray",defaultMessage:"Line Style",description:"Line Style"},endLineCap:{id:"endLineCap",defaultMessage:"Line End",description:'End line cap marker. eg. "open arrow"'},edit:{id:"edit",defaultMessage:"Edit",description:"Generic edit label"},save:{id:"save",defaultMessage:"Save",description:"Generic save label"},saveAs:{id:"saveAs",defaultMessage:"Save As...",description:'Generic "save as" label'},export:{id:"export",defaultMessage:"Export",description:'Generic "export" label'},delete:{id:"delete",defaultMessage:"Delete",description:"Generic delete label"},cancel:{id:"cancel",defaultMessage:"Cancel",description:"Cancel"},ok:{id:"ok",defaultMessage:"OK",description:"Ok, usually used to confirm an action"},close:{id:"close",defaultMessage:"Close",description:'Generic, usually to close something. "something" can be inferred from the context in which the message appears'},done:{id:"done",defaultMessage:"Done",description:'Generic "done" message. Usually used in a button.'},annotationsCount:{id:"annotationsCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Annotations}\n one {{arg0} Annotation}\n two {{arg0} Annotations}\n other {{arg0} Annotations}\n }",description:"Amount of annotations."},annotations:{id:"annotations",defaultMessage:"Annotations",description:"PDF Annotations"},bookmark:{id:"bookmark",defaultMessage:"Bookmark",description:"PDF Bookmark"},bookmarks:{id:"bookmarks",defaultMessage:"Bookmarks",description:"PDF Bookmarks"},annotation:{id:"annotation",defaultMessage:"Annotation",description:"Annotation"},selectedAnnotation:{id:"selectedAnnotation",defaultMessage:"selected {arg0}",description:"Selected Annotation"},selectedAnnotationWithText:{id:"selectedAnnotationWithText",defaultMessage:"Selected {arg0} with {arg1} as content",description:"Selected Text or Note Annotation"},noteAnnotation:{id:"noteAnnotation",defaultMessage:"Note",description:"Text Note Annotation"},comment:{id:"comment",defaultMessage:"Comment",description:"Comment"},commentAction:{id:"commentAction",defaultMessage:"Comment",description:"Comment"},comments:{id:"comments",defaultMessage:"Comments",description:"Comments"},textAnnotation:{id:"textAnnotation",defaultMessage:"Text",description:"Free Text Annotation"},calloutAnnotation:{id:"calloutAnnotation",defaultMessage:"Callout",description:"Free Text Annotation (Callout)"},pen:{id:"pen",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},eraser:{id:"eraser",defaultMessage:"Ink Eraser",description:"Ink Eraser tool to remove ink annotations points by hand."},inkAnnotation:{id:"inkAnnotation",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},highlighterAnnotation:{id:"highlighterAnnotation",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content."},highlightAnnotation:{id:"highlightAnnotation",defaultMessage:"Text Highlight",description:"Highlight Annotation used to select and mark text."},underlineAnnotation:{id:"underlineAnnotation",defaultMessage:"Underline",description:"Undeline Annotation used to select and mark text."},squiggleAnnotation:{id:"squiggleAnnotation",defaultMessage:"Squiggle",description:"Squiggle Annotation used to select and mark text."},strikeOutAnnotation:{id:"strikeOutAnnotation",defaultMessage:"Strikethrough",description:"StrikeOut Annotation used to select and mark text."},lineAnnotation:{id:"lineAnnotation",defaultMessage:"Line",description:"Shape Annotation used to draw straight lines."},arrowAnnotation:{id:"arrowAnnotation",defaultMessage:"Arrow",description:"Shape Annotation used to draw an arrow."},rectangleAnnotation:{id:"rectangleAnnotation",defaultMessage:"Rectangle",description:"Shape Annotation used to draw rectangles."},ellipseAnnotation:{id:"ellipseAnnotation",defaultMessage:"Ellipse",description:"Shape Annotation used to draw ellipses."},polygonAnnotation:{id:"polygonAnnotation",defaultMessage:"Polygon",description:"Shape Annotation used to draw polygons."},polylineAnnotation:{id:"polylineAnnotation",defaultMessage:"Polyline",description:"Shape Annotation used to draw polylines."},imageAnnotation:{id:"imageAnnotation",defaultMessage:"Image",description:"Image Annotation"},stampAnnotation:{id:"stampAnnotation",defaultMessage:"Stamp",description:"Stamp Annotation"},redactionAnnotation:{id:"redactionAnnotation",defaultMessage:"Redaction",description:"Redaction Annotation"},unknownAnnotation:{id:"unknownAnnotation",defaultMessage:"Unknown",description:"Unknown Annotation"},arrow:{id:"arrow",defaultMessage:"Line with arrow",description:"Shape Annotation used to draw straight lines with an arrow."},highlighter:{id:"highlighter",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content with freehand drawing."},icon:{id:"icon",defaultMessage:"Icon",description:"Label for when users need to select an icon"},pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator."},pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Page number"},searchDocument:{id:"searchDocument",defaultMessage:"Search Document",description:"Search document (for text)"},sign:{id:"sign",defaultMessage:"Sign",description:"Label for a signature field"},signed:{id:"signed",defaultMessage:"Signed",description:"Label for a signed field"},signatures:{id:"signatures",defaultMessage:"Signatures",description:"Signatures title"},blendMode:{id:"blendMode",defaultMessage:"Blend Mode",description:"Blend Mode"},linesCount:{id:"linesCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Lines}\n one {{arg0} Line}\n two {{arg0} Lines}\n other {{arg0} Lines}\n }",description:"Amount of lines (for example in a ink annotation)."},filePath:{id:"filePath",defaultMessage:"File Path",description:"Location of a file or file name"},useAnExistingStampDesign:{id:"useAnExistingStampDesign",defaultMessage:"Use an existing stamp design",description:"Use an existing stamp design"},customStamp:{id:"customStamp",defaultMessage:"Custom Stamp",description:"Custom Stamp"},stampText:{id:"stampText",defaultMessage:"Stamp Text",description:"Stamp Text"},clear:{id:"clear",defaultMessage:"Clear",description:"Clear"},date:{id:"date",defaultMessage:"Date",description:"Date."},time:{id:"time",defaultMessage:"Time",description:"Time."},sidebar:{id:"sidebar",defaultMessage:"Sidebar",description:"Generic label for a sidebar"},gotoPageX:{id:"gotoPageX",defaultMessage:"Go to Page {arg0}",description:"Go to a page"},name:{id:"name",defaultMessage:"Name",description:"Name field usually."},chooseColor:{id:"chooseColor",defaultMessage:"Choose Color",description:"Choose color from the UI."},textHighlighter:{id:"textHighlighter",defaultMessage:"Text highlighter",description:"Highlighter tool used to highlight selected text."},undo:{id:"undo",defaultMessage:"Undo",description:"Undo last action."},redo:{id:"redo",defaultMessage:"Redo",description:"Redo last undone action."},showMore:{id:"showMore",defaultMessage:"Show More",description:"Show more"},showLess:{id:"showLess",defaultMessage:"Show Less",description:"Show Less"},nMoreComments:{id:"nMoreComments",defaultMessage:"{arg0, plural,\none {{arg0} more comment}\nother {{arg0} more comments}\n}",description:"n more comments"},documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor toolbar label"},areaRedaction:{id:"areaRedaction",defaultMessage:"Area Redaction",description:"Area Redaction toolbar item label"},textRedaction:{id:"textRedaction",defaultMessage:"Text Redaction",description:"Text Redaction toolbar item label"},outlineColor:{id:"outlineColor",defaultMessage:"Outline Color",description:"Outline color"},overlayText:{id:"overlayText",defaultMessage:"Overlay text",description:"Overlay text"},insertOverlayText:{id:"overlayTextPlaceholder",defaultMessage:"Insert overlay text",description:"Overlay Text property placeholder"},repeatText:{id:"repeatText",defaultMessage:"Repeat text",description:"Repeat text placeholder"},preview:{id:"preview",defaultMessage:"Preview",description:"Preview"},markupToolbar:{id:"markupAnnotationToolbar",defaultMessage:"Markup annotation toolbar",description:"Label for the markup annotation toolbar popover"},documentViewport:{id:"documentViewport",defaultMessage:"document viewport",description:"Label for document viewport region"},top:{id:"top",defaultMessage:"Top",description:"Top"},bottom:{id:"bottom",defaultMessage:"Bottom",description:"Bottom"},resize:{id:"resize",defaultMessage:"Resize",description:"Resize action when an annotation is selected."},resizeHandleTop:{id:"resizeHandleTop",defaultMessage:"top",description:"One of the top resize handlers."},resizeHandleBottom:{id:"resizeHandleBottom",defaultMessage:"bottom",description:"One of the bottom resize handlers."},resizeHandleLeft:{id:"resizeHandleLeft",defaultMessage:"left",description:"One of the left resize handlers."},resizeHandleRight:{id:"resizeHandleRight",defaultMessage:"right",description:"One of the right resize handlers."},cropAll:{id:"cropAll",defaultMessage:"Crop All",description:"Crop all pages."},cropAllPages:{id:"cropAllPages",defaultMessage:"Crop All Pages",description:"Crop all pages."},cropCurrent:{id:"cropCurrent",defaultMessage:"Crop Current",description:"Crop current page."},cropCurrentPage:{id:"cropCurrentPage",defaultMessage:"Crop Current Page",description:"Crop current page."},documentCrop:{id:"documentCrop",defaultMessage:"Document Crop",description:"Crop document pages."},documentComparison:{id:"documentComparison",defaultMessage:"Document Comparison",description:"Compare two documents."},rotateCounterclockwise:{id:"rotateCounterclockwise",defaultMessage:"Rotate counterclockwise",description:"Label for the rotate counterclockwise button"},rotateClockwise:{id:"rotateClockwise",defaultMessage:"Rotate clockwise",description:"Label for the rotate clockwise button"},rotation:{id:"rotation",defaultMessage:"Rotate",description:"Label for the rotate button"},applyRedactions:{id:"applyRedactions",defaultMessage:"Apply Redactions",description:"Applies redactions to document"},cloudyRectangleAnnotation:{id:"cloudyRectangleAnnotation",defaultMessage:"Cloudy Rectangle",description:"Cloudy Rectangle"},dashedRectangleAnnotation:{id:"dashedRectangleAnnotation",defaultMessage:"Dashed Rectangle",description:"Dashed Rectangle"},cloudyEllipseAnnotation:{id:"cloudyEllipseAnnotation",defaultMessage:"Cloudy Ellipse",description:"Cloudy Ellipse"},dashedEllipseAnnotation:{id:"dashedEllipseAnnotation",defaultMessage:"Dashed Ellipse",description:"Dashed Ellipse"},cloudyPolygonAnnotation:{id:"cloudyPolygonAnnotation",defaultMessage:"Cloudy Polygon",description:"Cloudy Polygon"},dashedPolygonAnnotation:{id:"dashedPolygonAnnotation",defaultMessage:"Dashed Polygon",description:"Dashed Polygon"},cloudAnnotation:{id:"cloudAnnotation",defaultMessage:"Cloud",description:"Cloud Annotation"},addSignature:{id:"addSignature",defaultMessage:"Add Signature",description:"Add Signature"},storeSignature:{id:"storeSignature",defaultMessage:"Store Signature",description:"Store the signature that is in creation"},clearSignature:{id:"clearSignature",defaultMessage:"Clear Signature",description:"Clear the signature canvas"},button:{id:"button",defaultMessage:"Button Field",description:"Button Field"},textField:{id:"textField",defaultMessage:"Text Field",description:"Text Field"},radioField:{id:"radioField",defaultMessage:"Radio Field",description:"Radio Field"},checkboxField:{id:"checkboxField",defaultMessage:"Checkbox Field",description:"Checkbox Field"},comboBoxField:{id:"comboBoxField",defaultMessage:"Combo Box Field",description:"Combo Box Field"},listBoxField:{id:"listBoxField",defaultMessage:"List Box Field",description:"List Box Field"},signatureField:{id:"signatureField",defaultMessage:"Signature Field",description:"Signature Field"},dateField:{id:"dateField",defaultMessage:"Date Field",description:"Date Field"},formCreator:{id:"formCreator",defaultMessage:"Form Creator",description:"Create, edit or Delete widget annotations."},mediaAnnotation:{id:"mediaAnnotation",defaultMessage:"Media Annotation",description:"Media Annotation"},mediaFormatNotSupported:{id:"mediaFormatNotSupported",defaultMessage:"This browser does not support embedded medias.",description:"The browser does not support embedded medias"},contentEditor:{id:"contentEditor",defaultMessage:"Content Editor",description:"Content Editor"},saveAndClose:{id:"saveAndClose",defaultMessage:"Save & Close",description:"Save changes"},none:{id:"none",defaultMessage:"None",description:"Normal line"},linkAnnotation:{id:"linkAnnotation",defaultMessage:"Link",description:"Link Annotation"},measurement:{id:"measurement",defaultMessage:"Measurement",description:"Measurement"},Snapping:{id:"Snapping",defaultMessage:"Snapping",description:"Snapping"},distanceMeasurement:{id:"distanceMeasurement",defaultMessage:"Distance",description:"Measurement Annotation used to measure distance between 2 points"},multiAnnotationsSelection:{id:"multiAnnotationsSelection",defaultMessage:"Select Multiple Annotations",description:"Multiple annotations selection tool used to enable selection of multiple annotations."},rectangularAreaMeasurement:{id:"rectangularAreaMeasurement",defaultMessage:"Rectangle Area",description:"Measurement Annotation used to measure rectangle areas."},ellipseAreaMeasurement:{id:"ellipseAreaMeasurement",defaultMessage:"Ellipse Area",description:"Measurement Annotation used to measure elliptical areas."},polygonAreaMeasurement:{id:"polygonAreaMeasurement",defaultMessage:"Polygon Area",description:"Measurement Annotation used to measure polygon areas."},perimeterMeasurement:{id:"perimeterMeasurement",defaultMessage:"Perimeter",description:"Measure Annotation used to measure perimeter."},bold:{id:"bold",defaultMessage:"Bold",description:"Bold text"},italic:{id:"italic",defaultMessage:"Italic",description:"Italic text"},underline:{id:"underline",defaultMessage:"Underline",description:"Underline"},discard:{id:"discardChanges",defaultMessage:"Discard Changes",description:"Discard"},anonymous:{id:"anonymous",defaultMessage:"Anonymous",description:"Anonymous"},loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"},group:{id:"group",defaultMessage:"Group",description:"Group annotations."},ungroup:{id:"ungroup",defaultMessage:"Ungroup",description:"Ungroup annotations."},mixedMeasurements:{id:"mixedMeasurements",defaultMessage:"Mixed Measurements",description:"Mixed Measurements"},mixed:{id:"mixed",defaultMessage:"Mixed",description:"Mixed"},back:{id:"back",defaultMessage:"Back",description:"back"},readOnlyAnnotationFlag:{id:"readOnly",defaultMessage:"Read-only",description:"this annotation is read only"},lockedContents:{id:"lockedContents",defaultMessage:"Locked Contents",description:"this annotation has its contents locked"},locked:{id:"locked",defaultMessage:"Locked",description:"this annotation is locked"},selectImage:{id:"selectImage",defaultMessage:"Select image",description:"Selects an image from the local file system"},layers:{id:"layers",defaultMessage:"Layers",description:"OCG layers sidebar header title"},noLayers:{id:"noLayers",defaultMessage:"No Layers",description:"Message shown when there are no OCG layers in the document"},custom:{id:"custom",defaultMessage:"Custom",description:"Custom"},documentAI:{id:"documentAI",defaultMessage:"Document AI",description:"Document AI"}}),a=(0,r.vU)({numberValidationBadFormat:{id:"numberValidationBadFormat",defaultMessage:"The value entered does not match the format of the field [{arg0}]",description:"The number form field value format is wrong."},dateValidationBadFormat:{id:"dateValidationBadFormat",defaultMessage:"Invalid date/time: please ensure that the date/time exists. Field [{arg0}] should match format {arg1}",description:"The date form field value format is wrong."}})},67260:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h,z:()=>p});var r=n(86998),o=n(35782),i=n(67294),a=n(94184),s=n.n(a),l=n(17766),u=n(72113),c=n(91414),d=n.n(c);class p extends i.PureComponent{render(){const{formatMessage:e}=this.props.intl;return i.createElement(u.Z,{role:"alertdialog",onEscape:this.props.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog",accessibilityLabel:this.props.accessibilityLabel||"Confirm Dialog",accessibilityDescription:this.props.accessibilityDescription,restoreOnClose:this.props.restoreOnClose},i.createElement(u.Z.Section,{style:{paddingBottom:0}},i.createElement("div",{className:`${d().content} PSPDFKit-Confirm-Dialog-Content`},this.props.children)),i.createElement(u.Z.Section,null,i.createElement(r.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},i.createElement(r.zx,{autoFocus:!0,onClick:this.props.onCancel,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",d().button)},e(l.Z.cancel)),i.createElement(r.zx,{onClick:this.props.onConfirm,primary:!0,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",d().button)},e(l.Z.delete)))))}}const h=(0,o.XN)(p)},15164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(67294),o=n(29911),i=n(54537),a=n(45249);function s(e){const{backend:t,onInitialRenderFinished:n,pageIndex:o,pageSize:s,pageKey:l,renderPageCallback:u,zoomLevel:c,scaleFactor:d}=e,p=r.useRef(!1),h=r.useCallback((function(){p.current||(p.current=!0,n&&n())}),[n]),f=r.useMemo((function(){return new a.UL({width:Math.ceil(s.width*d),height:Math.ceil(s.height*d)})}),[s,d]),m=e.inContentEditorMode||!1;return r.createElement("div",{style:{transform:`scale(${c/d})`,transformOrigin:"0 0"},key:l,className:"PSPDFKit-PageOverview-Tile"},r.createElement(i.Z,{backend:t,pageIndex:o,scaledPageSize:f,originalPageSize:s,onRenderFinished:h,rect:f,renderPageCallback:u,pageKey:l,hasInitialRenderFinished:p.current,inContentEditorMode:m}))}var l=n(19181),u=n(22122),c=n(93113),d=n(44077),p=n(10983);function h(e){let{backend:t,viewportState:n,page:o,tileSize:a,tileOverlapping:s,scale:l,renderPageCallback:d,tilesRenderedCallback:h,contentState:m,crispTiles:g,inContentEditorMode:v,tilesClassName:y}=e;const{pageIndex:b,pageSize:w,pageKey:x}=o,[D,C]=function(e,t,n,o,i,a,s){const[l,u]=r.useState({}),d=r.useRef([]),h=r.useMemo((function(){return function(e,t,n,r,o,i,a){const{viewportRect:s}=e,l=(0,c.Ek)(e,o),u=s.apply(l).scale(a).round(),d=t.scale(a).ceil(),h={};f(h,u,d,n,r,i,a);const m=s.grow(Math.min(p.pK,n)).apply(l).scale(a).round();return f(h,m,d,n,r,i,a)}(e,t,n,o,i,a,s)}),[i,a,t,s,o,n,e]);r.useLayoutEffect((function(){u((e=>function(e,t,n){const r={};for(const n of t)r[n]=e[n];for(const e in n)r[e]=n[e];return r}(e,d.current,h)))}),[h]);return[r.useMemo((function(){return function(e){const t=[];for(const n in e){const r=e[n],{scale:o}=r;let i=t.find((function(e){return e[0]===o}));if(void 0===i){let e;for(i=[o,[]],e=0;e=t?(d.current=Object.keys(h),u(h)):d.current.push(e)}]}(n,w,a,s,b,x,l);return r.createElement(r.Fragment,null,D.map((e=>{let[a,s]=e;const l=w,c=l.scale(a).ceil();return r.createElement("div",{key:a},s.map((e=>r.createElement(i.Z,(0,u.Z)({key:e.key,rect:e.rect,pageIndex:b,originalPageSize:l,scaledPageSize:c,backend:t,renderPageCallback:d,onRenderFinished:()=>{C(e.key),h()},pageKey:o.pageKey,crisp:g,inContentEditorMode:v},m,{tileScale:n.zoomLevel/a,tilesClassName:y})))))})))}function f(e,t,n,r,o,i,a){for(let s=0;s<=n.height;s+=r){let l=r;if(s+l>n.height&&(l=Math.floor(n.height-s)),s+l<=t.top||s>=t.bottom||l<=0)s-=o;else{for(let u=0;u<=n.width;u+=r){let c=r;if(u+r>n.width&&(c=Math.floor(n.width-u)),u+c<=t.left||u>=t.right||c<=0){u-=o;continue}const p=`${i}-sw${n.width}-sh${n.height}-x${u}-y${s}-w${c}-h${l}`;e[p]={key:p,scale:a,rect:new d.UL({width:c,height:l,left:u,top:s})},u-=o}s-=o}}return e}const m=r.memo(h,(function(e,t){return e.page.pageKey===t.page.pageKey&&!(0,c.pA)(e.viewportState,t.viewportState)&&e.inContentEditorMode===t.inContentEditorMode}));const g=(0,l.x)((function(e){var t;return{viewportState:e.viewportState,backend:e.backend,tileSize:"SERVER"===(null===(t=e.backend)||void 0===t?void 0:t.type)?p.uq:p.Bd,tileOverlapping:p.Dx,renderPageCallback:e.renderPageCallback}}))(m);var v=n(92537),y=n(98179);var b=n(68540),w=n(47460),x=n.n(w);const D=function(e){const{inViewport:t,shouldPrerender:n,rotation:i,backend:a,zoomLevel:l,renderPageCallback:u,page:c,onInitialOverviewRenderFinished:d,allowedTileScales:p,forceDetailView:h,renderPagePreview:f,isPageSizeReal:m,crispTiles:w=!1,inContentEditorMode:D,contentState:C}=e,[E,S]=r.useState(!f),_=r.useCallback((function(){S(!0),d&&d()}),[d]),P=function(e,t,n){var r;let o=(0,v.L)();const i=window.navigator,a=null==i||null===(r=i.connection)||void 0===r?void 0:r.saveData;"STANDALONE"===t.type&&y.Ni&&o>2&&(o=2),"SERVER"===t.type&&a&&(o=1);const s=e*o;return"all"===n?s:n.reduce(((e,t)=>ec.pageSize.floor()),[c.pageSize]),A=r.useMemo((function(){const t=Math.min((0,v.L)(),2);return Math.min(e.viewportRect.width*t/k.width,1)}),[k.width,e.viewportRect.width]),[z,T]=r.useState(!1),O=(0,b.R9)((()=>{z||f||T(!0)})),I=t&&m&&(!f||P>1||h||l>A)?r.createElement("div",{style:{opacity:E?1:0},className:"PSPDFKit-PageTilesContainer"},r.createElement(g,{contentState:C,page:c,scale:P,key:c.pageKey,crispTiles:w,tilesRenderedCallback:O,inContentEditorMode:D,tilesClassName:"PSPDFKit-PageTile"})):null;return r.createElement("div",null,(!E||!m||!z&&!f)&&r.createElement("div",{className:`${x().layer} ${x().deadCenter}`},r.createElement(o.Z,{scale:1.5,rotate:-i})),(t||E||n)&&f&&m&&r.createElement(s,{backend:a,pageIndex:c.pageIndex,pageSize:k,pageKey:c.pageKey,onInitialRenderFinished:_,zoomLevel:l,scaleFactor:A,renderPageCallback:u,inContentEditorMode:D}),I)}},54537:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(96156),o=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(2877),u=n(46364),c=n(33427),d=n(98179),p=n(15743),h=n.n(p);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class m extends o.PureComponent{constructor(){super(...arguments),(0,r.Z)(this,"imageFetcherRef",o.createRef()),(0,r.Z)(this,"_fetchImage",(()=>{const{backend:e,originalPageSize:t,scaledPageSize:n,pageIndex:r,rect:o,attachments:a,renderPageCallback:s,digitalSignatures:l}=this.props,d=(this.props.annotations||(0,i.aV)()).filter(c.bz),p=this.props.formFields||(0,i.aV)(),h=this.props.formFieldValues||(0,i.aV)(),f=l&&l.signatures||[],m=this.props.inContentEditorMode||!1;let g;if((d.size>0||h.size>0)&&(g={annotations:d,formFieldValues:h,formFields:p,attachments:a||(0,i.D5)(),signatures:f}),!n.width||!n.height)return{promise:Promise.resolve(null),cancel:()=>{}};const{cancel:v,promise:y}=e.corePDFBridge.renderTile(r,n,o,!1,!m,g);return(0,u.uZ)(y.then((e=>{let{element:i}=e;if("function"==typeof s){var a,l;let c;if("IMG"===i.nodeName){var u;const e=i,t=document.createElement("canvas");t.width=o.width,t.height=o.height,c=t.getContext("2d"),null===(u=c)||void 0===u||u.drawImage(e,0,0),i=t}c||(c=i.getContext("2d")),null===(a=c)||void 0===a||a.translate(-o.left,-o.top),null===(l=c)||void 0===l||l.scale(n.width/t.width,n.height/t.height),s(c,r,t);const d=document.createElement("img");d.src=i.toDataURL(),e.element=d}return e})),v)}))}componentDidUpdate(e){const{annotations:t,formFieldValues:n}=this.props,{annotations:r,formFieldValues:o}=e;(null!=this.props.hasInitialRenderFinished&&!this.props.hasInitialRenderFinished||!this.props.scaledPageSize.equals(e.scaledPageSize)||!this.props.rect.equals(e.rect)||t&&t!==r&&!t.equals(r)||n&&n!==o&&!n.equals(o)||this.props.pageKey!==e.pageKey||this.props.inContentEditorMode!==e.inContentEditorMode)&&this.imageFetcherRef.current&&this.imageFetcherRef.current.refresh()}render(){const{onRenderFinished:e,rect:t,tileScale:n=1,crisp:i=!1,tilesClassName:a}=this.props,{width:u,height:c,left:p,top:m}=t,g={width:u*n,height:c*n,left:p*n,top:m*n,outline:null},v=s()(function(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>u,j:()=>c});var r=n(67294),o=n(94184),i=n.n(o),a=n(84337),s=n(66645),l=n.n(s);function u(e){let{referenceRect:t,viewportState:n,isHidden:o,children:s,title:u,className:c,wrapperClassName:d,innerWrapperClassName:p,footerClassName:h,footer:f,centeredTitle:m}=e;return r.createElement(a.Z,{referenceRect:t,viewportState:n,className:i()(l().popover,c,{[l().popoverHidden]:o})},r.createElement("div",{className:i()(l().container,d)},r.createElement("div",{className:i()(l().innerContainer,p)},r.createElement("h2",{className:i()(l().title,{[l().centeredTitle]:m})},u),s&&r.createElement("div",{className:l().content},s),f&&r.createElement("div",{className:i()(l().footer,h)},f))," "))}function c(e){let{children:t,className:n,onClick:o}=e;return r.createElement("button",{className:i()(l().footerButton,n),onClick:o},t)}},84337:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(96156),o=n(67294),i=n(94184),a=n.n(i),s=n(59140),l=n(67057),u=n(44077),c=n(89004),d=n(54146),p=n.n(d);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{if(!p)return;const e=r.translate(i);if(!e.isRectInside(n)&&!e.isRectOverlapping(n))return;const t=function(e){let{viewportRect:t,referenceRect:n,contentRect:r,scroll:o,onPositionConflict:i}=e,a=n.left+n.width/2-r.width/2;const s=new u.E9({x:a,y:n.top-r.height}),l=new u.E9({x:a,y:n.bottom});let c=n.top+n.height/2-r.height/2;const d=new u.E9({x:n.left-r.width,y:c}),p=new u.E9({x:n.right,y:c});let{position:h,direction:f}=m(t,r,{top:s,right:p,bottom:l,left:d});h||(at.width+t.left&&(a=t.width+t.left-r.width),ct.height+t.top&&(c=t.height+t.top-r.height),({position:h,direction:f}=m(t,r,{top:s.set("x",a),right:p.set("y",c),bottom:l.set("x",a),left:d.set("y",c)}))),h||("function"==typeof i?({position:h,direction:f}=i({referenceRect:n,viewportRect:t,contentRect:r,scroll:o,attempts:{top:s,right:p,bottom:l,left:d}})):t.isRectOverlapping(n)&&(h=new u.E9({x:t.left+t.width/2-r.width/2,y:t.top+t.height/2-r.height/2}),f="center"));return{direction:f,position:h}}({viewportRect:e,referenceRect:n,contentRect:p,scroll:i,onPositionConflict:s});t.position&&d(t)}),[r,n,p,s,i]),o.useEffect((()=>{a&&a(c)}),[c,a]);const{direction:g}=c,v=c.position&&c.position.translate(r.getLocation().scale(-1)),y=f(f({position:"absolute"},v?{top:v.y,left:v.x}:{top:-1e5,left:-1e5}),{},{visibility:v?void 0:"hidden"}),b=e=>{(e.height||e.width||e.top||e.left)&&h(e)};return"function"==typeof t?t({style:y,direction:g,onResize:b}):o.createElement("div",{style:y},o.createElement(l.Z,{onResize:b}),t)}const v=function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()};function y(e){let{children:t,referenceRect:n,color:r,baseColor:i,className:d,arrowClassName:h,viewportState:m,onPositionInfoChange:y,arrowSize:b=5,customZIndex:w}=e;const{viewportRect:x,zoomLevel:D,scrollPosition:C}=m;return o.createElement(g,{referenceRect:n.grow(b),viewportRect:x,scroll:C.scale(D),onPositionInfoChange:y},(e=>{let{style:m,direction:g,onResize:y}=e;const D=g&&(0,c.kC)(g),C=g&&"center"!==g?function(e){let t,n,{referenceRect:r,viewportRect:o,size:i,direction:a}=e;switch("top"===a||"bottom"===a?n=r.left+r.width/2-i:t=r.top+r.height/2-i,a){case"top":t=r.top-i;break;case"bottom":t=r.top+r.height;break;case"left":n=r.left-i;break;case"right":n=r.left+r.width;break;default:throw new Error("invalid direction")}return new u.E9({y:t,x:n}).translate(o.getLocation().scale(-1))}({referenceRect:n,viewportRect:x,size:b,direction:g}):null,E={};let S;if(r){switch(g){case"top":E.color=r[r.length-1].toCSSValue();break;case"bottom":E.color=r[0].toCSSValue();break;default:E.color=r[Math.floor((r.length-1)/2)].toCSSValue()}const e=r.map(((e,t)=>`${e.toCSSValue()} ${100*t/(r.length-1)}%`)).join(", ");i&&(m=f(f({},m),{},{backgroundColor:i.toCSSValue()}),S={color:i.toCSSValue()}),m=f(f({},m),{},{backgroundImage:`linear-gradient(to bottom, ${e})`,zIndex:w})}return o.createElement(s.Z,{onPointerUp:v},o.createElement("div",{className:d},C&&o.createElement("span",{style:f(f({},S),{},{zIndex:w})},o.createElement("div",{style:f({position:"absolute",top:C.y,left:C.x,width:b,height:b,zIndex:w},E),className:a()(p().arrow,h,D&&p()[`arrow${D}`],"PSPDFKit-Popover-Arrow",D&&"PSPDFKit-Popover-Arrow-"+D)})),o.createElement("div",{style:m,className:a()(p().root,"PSPDFKit-Popover",D&&"PSPDFKit-Popover-"+D)},t,o.createElement(l.Z,{onResize:y}))))}))}},67040:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(15359),o=n(1175);const i=e=>t=>e(function(e){const t=e.nativeEvent||e;let n=!1,i=0,a=0;const s=t.shiftKey;let l=t.pointerType||"mouse";const u=(void 0!==e.touches||void 0!==e.changedTouches)&&void 0===e.width;u?(l="touch",n=1==t.touches.length||"touchend"===e.type,n&&t.changedTouches.length&&(i=t.changedTouches[0].clientX,a=t.changedTouches[0].clientY)):(n=e.isPrimary||(0,o.I)(e),i=e.clientX,a=e.clientY);let c={clientX:i,clientY:a,isPrimary:n,pointerType:l,shiftKey:s,metaKey:t.metaKey,ctrlKey:t.ctrlKey,getCoalescedEvents:"function"==typeof t.getCoalescedEvents?()=>{const e=t.getCoalescedEvents.call(t);return e.length?e:[c]}:()=>[c],stopPropagation:()=>{e.stopPropagation(),t.stopImmediatePropagation()},preventDefault:()=>{e.preventDefault()},get target(){if(u&&void 0!==e.target.ownerDocument){const t=e.target.ownerDocument;return t&&t.elementFromPoint?t.elementFromPoint(i,a):e.target}return e.target},nativeEvent:t,get buttons(){return u?(0,r.ZK)("TouchEvent do not have the method buttons"):e.buttons}};return c}(t))},59140:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(22122),o=n(96156),i=n(67294),a=n(15359),s=n(67040),l=n(87856),u=n(98179);const c=l.Gn?{passive:!1}:void 0,d=!l.Gn||{passive:!1,capture:!0},p=1e3;let h=0,f=0;function m(e){return e?function(){if(h=Date.now(),!(Date.now()-f{this.props.onDOMElement&&this.props.onDOMElement(e),e&&((0,a.kG)("string"==typeof e.nodeName,"PRC requires a basic HTML element as children (so that we can find the proper `ownerDocument`)."),this._refDocument=e.ownerDocument)}))}componentDidMount(){this._updateRootListeners(this.props)}componentDidUpdate(){this._updateRootListeners(this.props)}componentWillUnmount(){this._removeAllRootListeners()}_updateListener(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this._refDocument;let o=null,i=null;const a=this._attachedListeners[e][n?1:0];if(a&&([o,i]=a),i!==t&&(o&&(r.removeEventListener(e,o,n?d:c),this._attachedListeners[e][n?1:0]=null),"function"==typeof t)){const o=(0,s.S)(t);r.addEventListener(e,o,n?d:c),this._attachedListeners[e][n?1:0]=[o,t]}}_removeAllRootListeners(){const e=this._refDocument;Object.entries(this._attachedListeners).forEach((t=>{let[n,r]=t;const[o,i]=r;o&&e.removeEventListener(n,o[0],c),i&&e.removeEventListener(n,i[0],d)}))}_updateRootListeners(e){Object.entries(e).forEach((e=>{let[t,n]=e;switch(t){case"onRootPointerDown":this._updateListener("touchstart",m(n)),this.disablePointerEvents||this._updateListener("pointerdown",v(n)),this._updateListener("mousedown",g(n));break;case"onRootPointerDownCapture":this._updateListener("touchstart",m(n),!0),this.disablePointerEvents||this._updateListener("pointerdown",v(n),!0),this._updateListener("mousedown",g(n),!0);break;case"onRootPointerMove":this._updateListener("touchmove",m(n)),this.disablePointerEvents||this._updateListener("pointermove",v(n)),this._updateListener("mousemove",g(n));break;case"onRootPointerMoveCapture":this._updateListener("touchmove",m(n),!0),this.disablePointerEvents||this._updateListener("pointermove",v(n),!0),this._updateListener("mousemove",g(n),!0);break;case"onRootPointerUp":this._updateListener("touchend",m(n)),this.disablePointerEvents||this._updateListener("pointerup",v(n)),this._updateListener("mouseup",g(n));break;case"onRootPointerEnter":this.disablePointerEvents||this._updateListener("pointerenter",v(n)),this._updateListener("mouseenter",g(n));break;case"onRootPointerLeave":this.disablePointerEvents||this._updateListener("pointerleave",v(n)),this._updateListener("mouseleave",g(n));break;case"onRootPointerUpCapture":this._updateListener("touchend",m(n),!0),this.disablePointerEvents||this._updateListener("pointerup",v(n),!0),this._updateListener("mouseup",g(n),!0);break;case"onRootPointerEnterCapture":this.disablePointerEvents||this._updateListener("pointerenter",v(n),!0),this._updateListener("mouseenter",g(n),!0);break;case"onRootPointerLeaveCapture":this.disablePointerEvents||this._updateListener("pointerleave",v(n),!0),this._updateListener("mouseleave",g(n),!0);break;case"onRootPointerCancel":this.disablePointerEvents||this._updateListener("pointercancel",v(n)),this._updateListener("touchcancel",m(n));break;case"onRootPointerCancelCapture":this.disablePointerEvents||this._updateListener("pointercancel",v(n),!0),this._updateListener("touchcancel",m(n),!0)}}))}render(){const e={};let t=!1;if(this.disablePointerEvents="INK"!==this.props.interactionMode&&(0,u.yx)(),Object.entries(this.props).forEach((n=>{let[r,o]=n;if("function"==typeof o)switch(r){case"onPointerDown":e.onTouchStart=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerDown=v((0,s.S)(o))),e.onMouseDown=g((0,s.S)(o)),t=!0;break;case"onPointerDownCapture":e.onTouchStartCapture=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerDownCapture=v((0,s.S)(o))),e.onMouseDownCapture=g((0,s.S)(o)),t=!0;break;case"onPointerMove":e.onTouchMove=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerMove=v((0,s.S)(o))),e.onMouseMove=g((0,s.S)(o)),t=!0;break;case"onPointerMoveCapture":e.onTouchMoveCapture=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerMoveCapture=v((0,s.S)(o))),e.onMouseMoveCapture=g((0,s.S)(o)),t=!0;break;case"onPointerUp":e.onTouchEnd=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerUp=v((0,s.S)(o))),e.onMouseUp=g((0,s.S)(o)),t=!0;break;case"onPointerUpCapture":e.onTouchEndCapture=m((0,s.S)(o)),this.disablePointerEvents||(e.onPointerUpCapture=v((0,s.S)(o))),e.onMouseUpCapture=g((0,s.S)(o)),t=!0;break;case"onPointerEnter":this.disablePointerEvents||(e.onPointerEnter=v((0,s.S)(o))),e.onMouseEnter=g((0,s.S)(o)),t=!0;break;case"onPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnterCapture=v((0,s.S)(o))),e.onMouseEnterCapture=g((0,s.S)(o)),t=!0;break;case"onPointerLeave":this.disablePointerEvents||(e.onPointerLeave=v((0,s.S)(o))),e.onMouseLeave=g((0,s.S)(o)),t=!0;break;case"onPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeaveCapture=v((0,s.S)(o))),e.onMouseLeaveCapture=g((0,s.S)(o)),t=!0;break;case"onPointerCancel":this.disablePointerEvents||(e.onPointerCancel=v((0,s.S)(o))),e.onTouchCancel=m((0,s.S)(o)),t=!0;break;case"onPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancelCapture=v((0,s.S)(o))),e.onTouchCancelCapture=m((0,s.S)(o)),t=!0;break;case"onRootPointerDown":case"onRootPointerDownCapture":e.onTouchStart=e.onTouchStart||y,this.disablePointerEvents||(e.onPointerDown=e.onPointerDown||y),e.onMouseDown=e.onMouseDown||y;break;case"onRootPointerMove":case"onRootPointerMoveCapture":e.onTouchMove=e.onTouchMove||y,this.disablePointerEvents||(e.onPointerMove=e.onPointerMove||y),e.onMouseMove=e.onMouseMove||y;break;case"onRootPointerUp":case"onRootPointerUpCapture":e.onTouchEnd=e.onTouchEnd||y,this.disablePointerEvents||(e.onPointerUp=e.onPointerUp||y),e.onMouseUp=e.onMouseUp||y;break;case"onRootPointerEnter":case"onRootPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnter=e.onPointerEnter||y),e.onMouseEnter=e.onMouseEnter||y;break;case"onRootPointerLeave":case"onRootPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeave=e.onPointerLeave||y),e.onMouseLeave=e.onMouseLeave||y;break;case"onRootPointerCancel":case"onRootPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancel=e.onPointerCancel||y),e.onTouchCancel=e.onTouchCancel||y}})),!t)return i.createElement("div",(0,r.Z)({ref:this._handleRef},e),this.props.children);const n=i.Children.only(this.props.children);return e.ref=this._handleRef,(0,a.kG)(!n.ref,"PRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(n,e)}}},54130:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(22122),o=n(67294),i=n(94184),a=n.n(i),s=(n(43165),n(80422)),l=n(17722),u=n.n(l);const c=o.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()(u().root,n&&u().isActive,i&&u().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Button",n&&"PSPDFKit-Toolbar-Button-active",i&&"PSPDFKit-Toolbar-Button-disabled");return o.createElement(s.Z,(0,r.Z)({},e,{className:l,iconClassName:"PSPDFKit-Toolbar-Button-Icon",ref:t,itemComponentProps:e.itemComponentProps}))}))},85944:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Oe,k3:()=>Pe});var r=n(96156),o=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(30845),u=n(35782),c=n(86998),d=n(86849),p=n(67366),h=n(40163),f=n(22122),m=n(67665),g=n(41756),v=n(26353),y=n(84013),b=n(98260),w=n(2464),x=n(66327),D=n(46302),C=n(84691),E=n.n(C),S=n(2030),_=n.n(S),P=n(54130),k=n(13608),A=n.n(k),z=n(14286),T=n(40084),O=n(89637),I=n(53328),F=n.n(I),M=n(71623);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;te.shadowRoot)),c=o.useMemo((()=>u?(0,b.ke)(u,window):e.frameWindow),[]);return o.createElement(g.ZP,{onSelect:function(e){if(e)switch(e.type){case"layout":t((0,x.YA)(e.mode));break;case"scroll":t((0,x._U)(e.mode));break;case"rotate":t((0,T.U1)(e.mode))}},itemToString:e=>null===e?"":`${e.type} ${e.mode}`,stateReducer:L,environment:c},(u=>{let{getToggleButtonProps:c,getMenuProps:d,getItemProps:p,isOpen:h,highlightedIndex:g,setHighlightedIndex:b}=u,x=!1;const C=d({onMouseDown:()=>{x=!0},onTouchStart:()=>{x=!0}},{suppressRefError:!0}),S=c(),k="down"===e.caretDirection;return o.createElement("div",{className:s()(h&&"PSPDFKit-Input-Dropdown-open")},o.createElement("div",(0,f.Z)({ref:l},j(j({},S),e.disabled?{onClick:null}:null),{onBlur:function(e){if(x&&(x=!1,e.nativeEvent.preventDownshiftDefault=!0,l.current)){const e=l.current.querySelector("button");e&&e.focus()}S.onBlur(e)}}),o.createElement(P.Z,{type:"layout-config",selected:h,title:a(V.pageLayout),icon:e.icon,className:s()(A().toolbarButton,"PSPDFKit-Toolbar-Button-Layout-Config",e.className),onPress:e=>{e.target.focus&&e.target.focus(),h||t((0,O.fz)())},disabled:i})),o.createElement(m.m,null,o.createElement(y.Z,null,h&&o.createElement(v.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(F().scaleInEnter,{[F().scaleInEnterTop]:k,[F().scaleInEnterBottom]:!k}),enterActive:F().scaleInEnterActive,exit:s()(F().scaleInExit,{[F().scaleInExitTop]:k,[F().scaleInExitBottom]:!k}),exitActive:s()(F().scaleInExitActive,{[F().scaleInExitActiveTop]:k,[F().scaleInExitActiveBottom]:!k})}},o.createElement(D.Z,{referenceElement:l.current,horizontalAlignment:"center"},o.createElement("div",(0,f.Z)({},C,{className:s()(E().root,_().dropdownMenu,"PSPDFKit-Dropdown-Layout-Config",{[_().dropdownMenuUp]:!k}),style:{padding:0},onMouseLeave:()=>b(null)}),o.createElement("table",{className:s()(_().table,"PSPDFKit-Layout-Config")},o.createElement("tbody",null,o.createElement("tr",null,o.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(V.pageMode)),o.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},o.createElement(B,{itemProps:p({item:N[0]}),isActive:n===z.X.SINGLE,isHighlighted:0===g,type:z.X.SINGLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Single",title:a(V.pageModeSingle)}),o.createElement(B,{itemProps:p({item:N[1]}),isActive:n===z.X.DOUBLE,isHighlighted:1===g,type:z.X.DOUBLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Double",title:a(V.pageModeDouble)}),o.createElement(B,{itemProps:p({item:N[2]}),isActive:n===z.X.AUTO,isHighlighted:2===g,type:z.X.AUTO,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Auto",title:a(V.pageModeAutomatic)}))),o.createElement("tr",null,o.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(V.pageTransition)),o.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},o.createElement(B,{itemProps:p({item:N[3]}),isActive:r===w.G.CONTINUOUS,isHighlighted:3===g,type:w.G.CONTINUOUS,className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Continuous",title:a(V.pageTransitionContinuous)}),o.createElement(B,{itemProps:p({item:N[4]}),isActive:r===w.G.PER_SPREAD,isHighlighted:4===g,type:"single",className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Per-Spread",title:a(V.pageTransitionJump)}))),o.createElement("tr",null,o.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(V.pageRotation)),o.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},o.createElement(B,{itemProps:p({item:N[5]}),type:"view_rotate_left",title:a(V.pageRotationLeft),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Left",isHighlighted:5===g,isActive:!1}),o.createElement(B,{itemProps:p({item:N[6]}),type:"view_rotate_right",title:a(V.pageRotationRight),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Right",isHighlighted:6===g,isActive:!1})))))))))),!h&&o.createElement("div",C),o.createElement(m.m,null,o.createElement(y.Z,null,h&&o.createElement(v.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(F().scaleInEnter,{[F().scaleInEnterTop]:k,[F().scaleInEnterBottom]:!k}),enterActive:F().scaleInEnterActive,exit:s()(F().scaleInExit,{[F().scaleInExitTop]:k,[F().scaleInExitBottom]:!k}),exitActive:s()(F().scaleInExitActive,{[F().scaleInExitActiveTop]:k,[F().scaleInExitActiveBottom]:!k})}},o.createElement(D.Z,{referenceElement:l.current,horizontalAlignment:"center"},o.createElement(o.Fragment,null,o.createElement("div",{className:s()(_().arrow,{[_().arrowUp]:!k})},o.createElement("div",{className:s()({[_().arrowFill]:k,[_().arrowFillUp]:!k})}))))))))}))}));const V=(0,u.vU)({pageLayout:{id:"pageLayout",defaultMessage:"Page Layout",description:'Button to open the "change page layout" menu'},pageMode:{id:"pageMode",defaultMessage:"Page Mode",description:"Label for the page mode configuration"},pageModeSingle:{id:"pageModeSingle",defaultMessage:"Single",description:"Single page mode"},pageModeDouble:{id:"pageModeDouble",defaultMessage:"Double",description:"Double page mode"},pageModeAutomatic:{id:"pageModeAutomatic",defaultMessage:"Automatic",description:"Automatic page mode"},pageTransition:{id:"pageTransition",defaultMessage:"Page Transition",description:"Label for the page transition mode"},pageTransitionContinuous:{id:"pageTransitionContinuous",defaultMessage:"Continuous",description:"Continuous page transition mode"},pageTransitionJump:{id:"pageTransitionJump",defaultMessage:"Jump",description:"Jump-ing page transition mode (one page at the time)"},pageRotation:{id:"pageRotation",defaultMessage:"Page Rotation",description:"Label for the page rotation mode (left, right)"},pageRotationLeft:{id:"pageRotationLeft",defaultMessage:"Rotate Left",description:"Button to rotate the page to the left of 90°"},pageRotationRight:{id:"pageRotationRight",defaultMessage:"Rotate Right",description:"Button to rotate the page to the right of 90°"}});var q=n(15359),H=n(53261),Z=n(61533),U=n.n(Z);const $=e=>{["-","+",".","e","E"].some((t=>e.key===t))&&e.preventDefault()},G=e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},W=e=>{e.currentTarget.select()},X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{withParens:!1};return t=>o.createElement("div",{className:U().desktop},e.withParens&&"(",t.map(((e,t)=>o.createElement("span",{key:t},e))),e.withParens&&")")};const Y=(0,u.XN)((function(e){const t=e.pages.get(e.currentPageNumber-1);(0,q.kG)(null!=t,`Couldn't get page number ${e.currentPageNumber}`);const r=o.useMemo((()=>e.pages.some((e=>e.pageLabel!==(e.pageIndex+1).toString()))),[e.pages]),[i,a]=o.useState(null==t?void 0:t.pageLabel);o.useEffect((()=>{a(null==t?void 0:t.pageLabel)}),[null==t?void 0:t.pageLabel]);const l=n=>{if(r){const t=e.pages.findIndex((e=>e.pageLabel===n));if(t>=0&&!e.readOnly)return void e.dispatch((0,T.YA)(t))}const o=parseInt(n);1<=o&&o<=e.totalPages&&!e.readOnly?e.dispatch((0,T.YA)(o-1)):a(t.pageLabel)},{formatMessage:c}=e.intl,d=s()({"PSPDFKit-Page-Indicator-Prev":!0,[U().prev]:!0,"PSPDFKit-Page-Indicator-Prev-disabled":1===e.currentPageNumber}),p=s()({"PSPDFKit-Page-Indicator-Next":!0,[U().next]:!0,"PSPDFKit-Page-Indicator-Next-disabled":e.currentPageNumber===e.totalPages}),h=o.createElement("div",{className:U().control},o.createElement("button",{className:d,title:c(Q.prevPage),onClick:()=>e.dispatch((0,T.IT)()),disabled:1===e.currentPageNumber||e.readOnly},o.createElement(H.Z,{src:n(10190),className:U().icon})),o.createElement("label",{className:U().inputLabel,htmlFor:U().input},c(Q.goToPage)),o.createElement("input",(0,f.Z)({id:U().input,type:r?"text":"number",value:i,className:`PSPDFKit-Page-Indicator-Input ${U().input}`,onMouseDown:G,onFocus:W,onChange:t=>{e.readOnly||a(t.currentTarget.value)},onBlur:e=>{l(e.currentTarget.value)},onKeyPress:e=>{"Enter"===e.key&&l(e.currentTarget.value)},disabled:e.readOnly},r?{}:{min:1,max:e.totalPages,onKeyDown:$,pattern:"[0-9]"})),o.createElement("button",{className:p,onClick:()=>e.dispatch((0,T.fz)()),title:c(Q.nextPage),disabled:e.currentPageNumber===e.totalPages||e.readOnly},o.createElement(H.Z,{src:n(92122),className:U().icon})));return o.createElement("div",{className:`PSPDFKit-Page-Indicator ${U().root}`},r?o.createElement(o.Fragment,null,o.createElement(u._H,{id:"pageX",defaultMessage:"Page {arg0}",description:"Page indicator prefix",values:{arg0:h},children:X()}),o.createElement(u._H,{id:"XofY",defaultMessage:"{arg0} of {arg1}",description:"Page indicator label",values:{arg0:e.currentPageNumber,arg1:e.totalPages},children:X({withParens:!0})})):o.createElement(u._H,{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator control. arg0 is an interactive widget to select pages.",values:{arg0:h,arg1:e.totalPages},children:X()}),o.createElement("div",{className:U().mobile},o.createElement("label",{className:U().label},o.createElement("strong",null,e.currentPageNumber)," ","/"," ",e.totalPages)))})),Q=(0,u.vU)({prevPage:{id:"prevPage",defaultMessage:"Previous Page",description:"Button to go to the previous page"},nextPage:{id:"nextPage",defaultMessage:"Next Page",description:"Button to go to the next page"},goToPage:{id:"goToPage",defaultMessage:"Go to Page",description:"label for the go to page selector"}}),J=(0,p.$j)((e=>({currentPageNumber:e.viewportState.currentPageIndex+1})))(Y);var ee=n(80292),te=n(76465),ne=n(3324),re=n(45249),oe=n(94732),ie=n(2841),ae=n(2927),se=n(4087),le=n(35464),ue=n(5283),ce=n(73900),de=n(18287),pe=n(98179);function he(e,t){const n=document.createElement("a");n.href=e,n.style.display="none",n.download=t,n.setAttribute("download",t);const r=document.body;return r?(r.appendChild(n),n.click(),()=>{const e=document.body;e&&e.removeChild(n)}):()=>{}}var fe=n(87996),me=n(48625),ge=n(27122),ve=n(81777),ye=n(20063),be=n(13264),we=n(17766),xe=n(49876),De=n(2058),Ce=n(43069),Ee=n(77897);function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.PAN?t((0,T.Yr)()):t((0,T.vc)())})),(0,r.Z)(this,"handleFormDesignerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),(0,Ce.fF)(e)?t((0,Ee.h4)()):t((0,Ee.el)())})),(0,r.Z)(this,"_handleZoomOutTap",(()=>{this.props.dispatch((0,T.vG)())})),(0,r.Z)(this,"_handleZoomInTap",(()=>{this.props.dispatch((0,T.kr)())})),(0,r.Z)(this,"_handleUndoTap",(()=>{this.props.canUndo&&this.props.dispatch((0,xe.Yw)())})),(0,r.Z)(this,"_handleRedoTap",(()=>{this.props.canRedo&&this.props.dispatch((0,xe.KX)())})),(0,r.Z)(this,"_handleMarqueeZoomTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.MARQUEE_ZOOM?t((0,x.si)()):t((0,x.xF)())})),(0,r.Z)(this,"_handleFitToWidthTap",(()=>{this.props.dispatch((0,T.du)())})),(0,r.Z)(this,"_handleFitToBothTap",(()=>{this.props.dispatch((0,T.lO)())})),(0,r.Z)(this,"handleCalloutTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.CALLOUT&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.k4)())):(o((0,se.Ds)(n)),o((0,x.Lt)()))})),(0,r.Z)(this,"_handleTextTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.TEXT&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.k4)())):(o((0,se.Ds)(n)),o((0,x.DU)()))})),(0,r.Z)(this,"_handleTextKeyPress",(()=>{const{dispatch:e}=this.props;e((0,O.fz)()),e((0,se.RK)())})),(0,r.Z)(this,"_handleTextHighlighterTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?o((0,x.lC)()):o((0,x.d5)(n))})),(0,r.Z)(this,"_handleLinkTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.LINK&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.UU)())):(o((0,se.Ds)(n)),o((0,x.Jn)()))})),(0,r.Z)(this,"_handleInkTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.INK&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.s3)())):(o((0,se.Ds)(n)),o((0,x.P4)()))})),(0,r.Z)(this,"_handleMeasurementTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.MEASUREMENT&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.hS)())):(o((0,se.Ds)(n)),o((0,x.BR)()))})),(0,r.Z)(this,"_handleInkEraserTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.INK_ERASER?(o((0,se.Ds)(null)),o((0,x.VU)())):(o((0,se.Ds)(n)),o((0,x.Ug)()))})),(0,r.Z)(this,"_handleLineTap",((e,t,n)=>this._handleShapeTap(re.o9,me.A.SHAPE_LINE,n))),(0,r.Z)(this,"_handleRectangleTap",((e,t,n)=>this._handleShapeTap(re.b3,me.A.SHAPE_RECTANGLE,n))),(0,r.Z)(this,"_handleEllipseTap",((e,t,n)=>this._handleShapeTap(re.Xs,me.A.SHAPE_ELLIPSE,n))),(0,r.Z)(this,"_handlePolygonTap",((e,t,n)=>this._handleShapeTap(re.Hi,me.A.SHAPE_POLYGON,n))),(0,r.Z)(this,"_handlePolylineTap",((e,t,n)=>this._handleShapeTap(re.om,me.A.SHAPE_POLYLINE,n))),(0,r.Z)(this,"_handleShapeTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===t&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.Ce)())):(o((0,se.Ds)(n)),o((0,x.yg)(e,t)))})),(0,r.Z)(this,"_handleNoteTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.NOTE&&n===this.props.currentItemPreset?(o((0,se.Ds)(null)),o((0,x.dp)())):(o((0,se.Ds)(n)),o((0,x.i9)()))})),(0,r.Z)(this,"_handleNoteKeyPress",(()=>{const{dispatch:e}=this.props;e((0,O.fz)()),e((0,se.XG)())})),(0,r.Z)(this,"_handleCommentMarkerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.COMMENT_MARKER?t((0,x.tr)()):t((0,x.k6)())})),(0,r.Z)(this,"_handleCommentMarkerKeyPress",(()=>{const{dispatch:e}=this.props;e((0,O.fz)()),e((0,le.GH)())})),(0,r.Z)(this,"_handleSignatureTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.INK_SIGNATURE||r===me.A.SIGNATURE?(o((0,se.Ds)(null)),o((0,x.MV)())):(o((0,se.Ds)(n)),o((0,x.Cc)()))})),(0,r.Z)(this,"_handleStampTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.STAMP_PICKER?t((0,x.pM)()):t((0,x.C4)())})),(0,r.Z)(this,"_handleRedactRectangleTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.REDACT_SHAPE_RECTANGLE&&n===this.props.currentItemPreset?o((0,x.jP)()):o((0,x.t)(n))})),(0,r.Z)(this,"_handleRedactTextHighlighterTap",((e,t,n)=>{const{interactionMode:r,dispatch:o}=this.props;o((0,O.fz)()),r===me.A.REDACT_TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?o((0,x.TR)()):o((0,x.aw)(n))})),(0,r.Z)(this,"_handleResponsiveGroupTap",(e=>{this.setState({activeResponsiveGroup:e}),e&&this.setState({prevActiveGroup:e})})),(0,r.Z)(this,"_handleAnnotateResponsiveGroupTap",(()=>this._handleResponsiveGroupTap("annotate"))),(0,r.Z)(this,"_handlePrintTap",(()=>{this.props.printingEnabled&&this.props.dispatch((0,ce.S0)())})),(0,r.Z)(this,"_handleSearchTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.SEARCH?t((0,de.ct)()):t((0,de.Xe)())})),(0,r.Z)(this,"handleCropTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,O.fz)()),e===me.A.DOCUMENT_CROP?t((0,x.Cn)()):t((0,x.rL)())})),(0,r.Z)(this,"handleDocumentComparisonTap",(()=>{const{currentDocumentComparisonMode:e,dispatch:t}=this.props;t((0,O.fz)()),t(e?(0,x.cz)(null):(0,x.cz)(De.se))})),(0,r.Z)(this,"_handleExportPDFTap",(async()=>{this.props.exportEnabled&&this.props.dispatch(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,n)=>{const{backend:r,annotations:o}=n(),i=e.flattenElectronicSignatures?o.toList().filter((e=>(e instanceof re.Zc||e instanceof re.sK)&&e.isSignature)).map((e=>({pageIndex:e.pageIndex,id:e.id,pdfObjectId:e.pdfObjectId}))):void 0;(0,q.kG)(r);const a=HTMLAnchorElement.prototype.hasOwnProperty("download"),s=await r.exportPDF(e,null==i?void 0:i.toArray()),l=s.mimeType||"application/pdf",u=s.extension||"pdf",c=new Blob([s],{type:l}),d=`${(await r.documentInfo()).title||"document"}.${u}`;let p=()=>{};if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(c,d);else if(a){const e=window.URL.createObjectURL(c),t=he(e,d);p=()=>{t(),window.URL.revokeObjectURL(e)}}else{const e=new FileReader;e.onloadend=()=>{p=he(e.result,u)},e.readAsDataURL(c)}window.setTimeout(p,1e3)}}())})),(0,r.Z)(this,"_handleDebugTap",(()=>{this.props.dispatch((0,x.BB)())})),(0,r.Z)(this,"_handleThumbnailsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.THUMBNAILS?t((0,x.mu)()):t((0,x.el)())})),(0,r.Z)(this,"_handleDocumentOutlineSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.DOCUMENT_OUTLINE?t((0,x.mu)()):t((0,x.EJ)())})),(0,r.Z)(this,"_handleDocumentEditorTap",(()=>{const{dispatch:e}=this.props;e((0,x.lV)())})),(0,r.Z)(this,"_handleAnnotationsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.ANNOTATIONS?t((0,x.mu)()):t((0,x.ze)())})),(0,r.Z)(this,"_handleBookmarksSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.BOOKMARKS?t((0,x.mu)()):t((0,x.Hf)())})),(0,r.Z)(this,"_handleSignaturesSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.SIGNATURES?t((0,x.mu)()):t((0,x.LH)())})),(0,r.Z)(this,"_handleOCGsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===ge.f.LAYERS?t((0,x.mu)()):t((0,x.Fs)())})),(0,r.Z)(this,"_handleImageTap",(()=>{const e={annotations:(0,i.aV)([new re.sK({pageIndex:this.state.currentPageIndex})]),reason:ie.f.SELECT_START};this.props.eventEmitter.emit("annotations.willChange",e);const t=this.imagePickerRef&&this.imagePickerRef.current;if(t)try{const{formatMessage:e}=this.props.intl;this.props.dispatch((0,x.iJ)(e(Ie.selectAFileForImage))),t.removeAttribute("aria-hidden"),t.click()}catch(e){t.setAttribute("aria-hidden","true");const n={annotations:(0,i.aV)(),reason:ie.f.SELECT_END};this.props.eventEmitter.emit("annotations.willChange",n)}})),(0,r.Z)(this,"_handleImageSelect",(e=>{if(e.target.setAttribute("aria-hidden","true"),!e.target.files[0])return;this.props.dispatch((0,O.fz)()),this.props.dispatch((0,se.Ds)("image")),this.props.dispatch((0,se.$e)(e.target.files[0]));const{formatMessage:t}=this.props.intl;this.props.dispatch((0,x.iJ)(t(Ie.newAnnotationCreated,{arg0:"image"}))),e.target.value=""})),(0,r.Z)(this,"_handleResponsiveGroupClose",(()=>{this.props.dispatch((0,O.fz)()),this._handleResponsiveGroupTap(null)})),(0,r.Z)(this,"_handleContentEditorTap",(()=>{const{interactionMode:e,dispatch:t,isContentEditorSessionDirty:n}=this.props;e===me.A.CONTENT_EDITOR?t(n?(0,ae.Yg)(!0):ae.u8):t(ae.gY)})),(0,r.Z)(this,"_handleMultiAnnotationsSelectionTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;e===me.A.MULTI_ANNOTATIONS_SELECTION?t((0,x.FA)()):t((0,x.YF)())})),(0,r.Z)(this,"_handleDocumentAssistantTap",(()=>{const{showDocumentAssistant:e,dispatch:t}=this.props;t(e?(0,x.Z_)(!1):(0,x.Z_)(!0))})),(0,r.Z)(this,"_getBuiltInDefaults",(0,l.Z)(((e,t,n,r,o,i,a,s,l,u,c,d,p,h,f,m,g,v,y)=>{const{formatMessage:b}=e,w=n===me.A.CONTENT_EDITOR;return{debug:{className:"",onPress:this._handleDebugTap,title:"Debug Info",forceHide:!t},image:{className:"PSPDFKit-Toolbar-Button-Image-Annotation",title:b(we.Z.imageAnnotation),forceHide:r(re.sK),responsiveGroup:"annotate",preset:"image",onPress:this._handleImageTap,dropdownGroup:"image",disabled:w},stamp:{className:"PSPDFKit-Toolbar-Button-Stamp-Annotation",selected:n===me.A.STAMP_PICKER||n===me.A.STAMP_CUSTOM,onPress:this._handleStampTap,title:b(we.Z.stampAnnotation),forceHide:r(re.GI),responsiveGroup:"annotate",preset:"stamp",dropdownGroup:"image",disabled:w},link:{className:"PSPDFKit-Toolbar-Button-Link-Annotation",selected:n===me.A.LINK&&"link"===this.state.lastSelectedToolbarItemType,onPress:this._handleLinkTap,title:b(we.Z.linkAnnotation),forceHide:r(re.R1),responsiveGroup:"annotate",preset:"link",dropdownGroup:"image",disabled:w},ink:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation",selected:n===me.A.INK&&"ink"===f,onPress:this._handleInkTap,title:b(we.Z.pen),forceHide:r(re.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:w},"ink-eraser":{className:"PSPDFKit-Toolbar-Button-Ink-Eraser",selected:n===me.A.INK_ERASER&&"ink-eraser"===f,onPress:this._handleInkEraserTap,title:b(we.Z.eraser),forceHide:r(re.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:w},highlighter:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation PSPDFKit-Toolbar-Button-Variant-Highlighter",selected:n===me.A.INK&&"highlighter"===f,onPress:this._handleInkTap,title:b(we.Z.highlighter),forceHide:r(re.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"highlighter",disabled:w},"text-highlighter":{className:"PSPDFKit-Toolbar-Button-TextHighlighter-Annotation",selected:n===me.A.TEXT_HIGHLIGHTER&&"text-highlighter"===f,onPress:this._handleTextHighlighterTap,title:b(we.Z.textHighlighter),forceHide:r(re.FV),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"text-highlighter",disabled:w},line:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation",selected:n===me.A.SHAPE_LINE&&"line"===f,onPress:this._handleLineTap,title:b(we.Z.lineAnnotation),forceHide:r(re.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"line",disabled:w},arrow:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation PSPDFKit-Toolbar-Button-Variant-Arrow",selected:n===me.A.SHAPE_LINE&&"arrow"===f,onPress:this._handleLineTap,title:b(we.Z.arrow),forceHide:r(re.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"arrow",disabled:w},rectangle:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation",selected:n===me.A.SHAPE_RECTANGLE&&"rectangle"===f,onPress:this._handleRectangleTap,title:b(we.Z.rectangleAnnotation),forceHide:r(re.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"rectangle",disabled:w},"cloudy-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyRectangle",selected:n===me.A.SHAPE_RECTANGLE&&"cloudy-rectangle"===f,onPress:this._handleRectangleTap,title:b(we.Z.cloudyRectangleAnnotation),forceHide:r(re.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-rectangle",disabled:w},"dashed-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-DashedRectangle",selected:n===me.A.SHAPE_RECTANGLE&&"dashed-rectangle"===f,onPress:this._handleRectangleTap,title:b(we.Z.dashedRectangleAnnotation),forceHide:r(re.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-rectangle",disabled:w},ellipse:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation",selected:n===me.A.SHAPE_ELLIPSE&&"ellipse"===f,onPress:this._handleEllipseTap,title:b(we.Z.ellipseAnnotation),forceHide:r(re.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"ellipse",disabled:w},"cloudy-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyEllipse",selected:n===me.A.SHAPE_ELLIPSE&&"cloudy-ellipse"===f,onPress:this._handleEllipseTap,title:b(we.Z.cloudyEllipseAnnotation),forceHide:r(re.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-ellipse",disabled:w},"dashed-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-DashedEllipse",selected:n===me.A.SHAPE_ELLIPSE&&"dashed-ellipse"===f,onPress:this._handleEllipseTap,title:b(we.Z.dashedEllipseAnnotation),forceHide:r(re.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-ellipse",disabled:w},polygon:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation",selected:n===me.A.SHAPE_POLYGON&&"polygon"===f,onPress:this._handlePolygonTap,title:b(we.Z.polygonAnnotation),forceHide:r(re.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polygon",disabled:w},"cloudy-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyPolygon",selected:n===me.A.SHAPE_POLYGON&&"cloudy-polygon"===f,onPress:this._handlePolygonTap,title:Te("cloudy-",this.props.items)?b(we.Z.cloudAnnotation):b(we.Z.cloudyPolygonAnnotation),forceHide:r(re.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-polygon",disabled:w},"dashed-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-DashedPolygon",selected:n===me.A.SHAPE_POLYGON&&"dashed-polygon"===f,onPress:this._handlePolygonTap,title:b(we.Z.dashedPolygonAnnotation),forceHide:r(re.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-polygon",disabled:w},polyline:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polyline-Annotation",selected:n===me.A.SHAPE_POLYLINE&&"polyline"===f,onPress:this._handlePolylineTap,title:b(we.Z.polylineAnnotation),forceHide:r(re.om),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polyline",disabled:w},note:{className:"PSPDFKit-Toolbar-Button-Note-Annotation",selected:n===me.A.NOTE&&"note"===f,onPress:this._handleNoteTap,onKeyPress:this._handleNoteKeyPress,title:b(we.Z.noteAnnotation),forceHide:r(re.Qi),responsiveGroup:"annotate",preset:"note",disabled:w},comment:{className:"PSPDFKit-Toolbar-Button-Comment-Marker-Annotation",selected:n===me.A.COMMENT_MARKER,title:b(we.Z.comment),onPress:this._handleCommentMarkerTap,onKeyPress:this._handleCommentMarkerKeyPress,forceHide:r(re.Jn),responsiveGroup:"annotate",disabled:w},signature:{className:"PSPDFKit-Toolbar-Button-InkSignature-Annotation PSPDFKit-Toolbar-Button-Signature",selected:n===me.A.INK_SIGNATURE||n===me.A.SIGNATURE,onPress:this._handleSignatureTap,title:b(we.Z.sign),forceHide:s===ye.H.NONE||a||r(re.Zc)&&s!==ye.H.ELECTRONIC_SIGNATURES,responsiveGroup:"annotate",preset:s===ye.H.ELECTRONIC_SIGNATURES?"es-signature":"ink-signature",disabled:w},"redact-text-highlighter":{className:"PSPDFKit-Toolbar-Button-RedactTextHighlighter-Annotation",selected:n===me.A.REDACT_TEXT_HIGHLIGHTER,onPress:this._handleRedactTextHighlighterTap,title:b(we.Z.textRedaction),forceHide:r(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:w},"redact-rectangle":{className:"PSPDFKit-Toolbar-Button-Redaction-Annotation PSPDFKit-Toolbar-Button-Rectangle-Redaction-Annotation",selected:n===me.A.REDACT_SHAPE_RECTANGLE,onPress:this._handleRedactRectangleTap,title:b(we.Z.areaRedaction),forceHide:r(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:w},"form-creator":{className:"PSPDFKit-Toolbar-Button-Form-Creator",selected:(0,Ce.fF)(n),onPress:this.handleFormDesignerTap,title:b(we.Z.formCreator),forceHide:r(re.x_),disabled:w},pan:{className:"PSPDFKit-Toolbar-Button-Pan",selected:n===me.A.PAN,onPress:this._handlePanTap,title:b(Ie.panMode),forceHide:pe.Ni,disabled:w},print:{className:"PSPDFKit-Toolbar-Button-Print",onPress:this._handlePrintTap,title:b(Ie.print),disabled:!l||w},"document-editor":{className:"PSPDFKit-Toolbar-Button-Document-Editor",onPress:this._handleDocumentEditorTap,title:b(we.Z.documentEditor),dropdownGroup:"editor",disabled:w},"document-crop":{className:"PSPDFKit-Toolbar-Button-Document-Crop",onPress:this.handleCropTap,title:b(we.Z.documentCrop),dropdownGroup:"editor",selected:n===me.A.DOCUMENT_CROP,disabled:w},"document-comparison":{className:"PSPDFKit-Toolbar-Button-Document-Comparison",onPress:this.handleDocumentComparisonTap,title:b(we.Z.documentComparison),dropdownGroup:"editor",forceHide:!o,selected:i,disabled:w},search:{className:"PSPDFKit-Toolbar-Button-Search",selected:n===me.A.SEARCH,onPress:this._handleSearchTap,title:b(we.Z.searchDocument),disabled:w},text:{className:"PSPDFKit-Toolbar-Button-Text-Annotation",selected:n===me.A.TEXT&&"text"===this.state.lastSelectedToolbarItemType,onPress:this._handleTextTap,onKeyPress:this._handleTextKeyPress,title:b(we.Z.textAnnotation),forceHide:r(re.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"text",disabled:w},callout:{className:"PSPDFKit-Toolbar-Button-Callout-Annotation",selected:n===me.A.CALLOUT&&"callout"===this.state.lastSelectedToolbarItemType,onPress:this.handleCalloutTap,title:b(we.Z.calloutAnnotation),forceHide:r(re.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"callout",disabled:w},"zoom-mode":_e({mediaQueries:[pe.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},c===ve.c.FIT_TO_VIEWPORT?{className:"PSPDFKit-Toolbar-Button-Fit-To-Width",onPress:this._handleFitToWidthTap,title:b(Ie.fitWidth),type:"fit-width",disabled:w}:{className:"PSPDFKit-Toolbar-Button-Fit-To-Page",onPress:this._handleFitToBothTap,title:b(Ie.fitPage),type:"fit-page",disabled:w}),"zoom-out":{className:"PSPDFKit-Toolbar-Button-Zoom-Out",disabled:p,onPress:this._handleZoomOutTap,title:b(Ie.zoomOut),mediaQueries:[pe.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},"zoom-in":{className:"PSPDFKit-Toolbar-Button-Zoom-In",disabled:d,onPress:this._handleZoomInTap,title:b(Ie.zoomIn),mediaQueries:[pe.Ni?`(min-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},undo:{className:"PSPDFKit-Toolbar-Button-Undo",disabled:!m||w,onPress:this._handleUndoTap,title:b(Ie.undo),forceHide:a,responsiveGroup:"annotate"},redo:{className:"PSPDFKit-Toolbar-Button-Redo",disabled:!g||w,onPress:this._handleRedoTap,title:b(Ie.redo),forceHide:a,responsiveGroup:"annotate"},"marquee-zoom":{className:"PSPDFKit-Toolbar-Button-Marquee-Zoom",selected:n===me.A.MARQUEE_ZOOM,onPress:this._handleMarqueeZoomTap,title:b(Ie.marqueeZoom),disabled:w},spacer:{},pager:{disabled:w},"layout-config":{mediaQueries:[`(min-width: ${fe.Options.BREAKPOINT_SM_TOOLBAR+1}px)`],disabled:w},"multi-annotations-selection":{className:"PSPDFKit-Toolbar-Button-Multiple-Annotations-Selection",selected:n===me.A.MULTI_ANNOTATIONS_SELECTION,onPress:this._handleMultiAnnotationsSelectionTap,title:b(we.Z.multiAnnotationsSelection),disabled:!v||w},annotate:{className:"PSPDFKit-Toolbar-Button-Annotate",onPress:this._handleAnnotateResponsiveGroupTap,title:b(we.Z.annotations),forceHide:r(re.q6),mediaQueries:[`(max-width: ${fe.Options.BREAKPOINT_MD_TOOLBAR}px)`],disabled:w},measure:{className:"PSPDFKit-Toolbar-Button-Measurement-Annotation",selected:n===me.A.MEASUREMENT||n===me.A.DISTANCE||n===me.A.PERIMETER||n===me.A.RECTANGLE_AREA||n===me.A.POLYGON_AREA||n===me.A.ELLIPSE_AREA,onPress:this._handleMeasurementTap,title:b(we.Z.measurement),forceHide:r(re.q6),responsiveGroup:"annotate",preset:"measurement",disabled:w},"responsive-group":{onPress:(e,t)=>this._handleResponsiveGroupTap(t),disabled:w},"sidebar-thumbnails":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Thumbnails",title:b(Ie.thumbnails),onPress:this._handleThumbnailsSidebarTap,selected:h===ge.f.THUMBNAILS,dropdownGroup:"sidebar",disabled:w},"sidebar-document-outline":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Document-Outline",title:b(Ie.outline),onPress:this._handleDocumentOutlineSidebarTap,selected:h===ge.f.DOCUMENT_OUTLINE,dropdownGroup:"sidebar",disabled:w},"sidebar-annotations":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Annotations",title:b(we.Z.annotations),onPress:this._handleAnnotationsSidebarTap,selected:h===ge.f.ANNOTATIONS,dropdownGroup:"sidebar",disabled:w},"sidebar-bookmarks":{className:"PSPDFKit-Toolbar-Button-Bookmarks PSPDFKit-Toolbar-Button-Sidebar-Bookmarks",title:b(we.Z.bookmarks),onPress:this._handleBookmarksSidebarTap,selected:h===ge.f.BOOKMARKS,dropdownGroup:"sidebar",disabled:w},"sidebar-signatures":{className:"PSPDFKit-Toolbar-Button-Signatures PSPDFKit-Toolbar-Button-Sidebar-Signatures",title:b(we.Z.signatures),onPress:this._handleSignaturesSidebarTap,selected:h===ge.f.SIGNATURES,dropdownGroup:"sidebar",disabled:w},"sidebar-layers":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Layers",title:b(we.Z.layers),onPress:this._handleOCGsSidebarTap,selected:h===ge.f.LAYERS,forceHide:this.props.shouldHideOCGsSidebar,dropdownGroup:"sidebar",disabled:w},"export-pdf":{className:"PSPDFKit-Toolbar-Button-Export-PDF",title:b(we.Z.export),onPress:this._handleExportPDFTap,disabled:!u||w,selected:!1},"content-editor":{className:"PSPDFKit-Toolbar-Button-Content-Editor",onPress:this._handleContentEditorTap,title:b(we.Z.contentEditor),selected:n===me.A.CONTENT_EDITOR},"document-assistant":{className:"PSPDFKit-Toolbar-Button-Document-Assistant",onPress:this._handleDocumentAssistantTap,title:b(we.Z.documentAI),selected:y}}}))),(0,r.Z)(this,"_prepareToolbarItems",(0,l.Z)(((e,t,n,r,o,i,a,s,l,u,c,d,p,h,f,m,g,v,y,b,w,x,D,C,E)=>{const S=this._getBuiltInDefaults(e,t,n,o,i,a,r,s,l,u,c,d,p,h,b,w,x,D,E),_=a?f:(0,ue.q1)(f,S,C?g:m),P=(0,ue.DQ)(_,S),k=a?function(e){return e.filter((e=>ze.includes(e.get("type"))))}(P):P,A=(0,ue.Ut)((0,ue.hJ)(k)),z=(0,ue.Ut)(k,!0,v);return{items:A,groupedItems:this.getDropdownGroupGroupedItems(A),groupedResponsiveItems:this.getDropdownGroupGroupedItems(z)}}))),(0,r.Z)(this,"_onMediaQueryUpdate",(()=>{var e;null!==(e=this.props.frameWindow)&&void 0!==e&&e.matchMedia("print").matches||this.setState({mediaQueryDidUpdate:{}})})),(0,r.Z)(this,"_updateMediaQueryListener",(()=>{const{intl:e,debugMode:t,interactionMode:n,isAnnotationTypeReadOnly:r,isDocumentComparisonAvailable:o,currentDocumentComparisonMode:i,isDocumentReadOnly:a,signatureFeatureAvailability:s,printingEnabled:l,exportEnabled:u,zoomMode:c,maxZoomReached:d,minZoomReached:p,sidebarMode:h,items:f,canUndo:m,canRedo:g,isMultiSelectionEnabled:v,showDocumentAssistant:y}=this.props,b=this._getBuiltInDefaults(e,t,n,r,o,!!i,a,s,l,u,c,d,p,h,this.state.lastSelectedToolbarItemType,m,g,v,y),w=(0,ue.se)(f,b),x=this.props.shadowRoot?this.props.resizeWatchFrameWindow:this.props.frameWindow;x&&(w.forEach((e=>{if(this._mediaListeners.hasOwnProperty(e))return;const t=null==x?void 0:x.matchMedia(e);t&&(t.addListener(this._onMediaQueryUpdate),this._mediaListeners[e]=t)})),Object.keys(this._mediaListeners).filter((e=>!w.includes(e))).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]})))})),(0,r.Z)(this,"_handleKeyPress",(e=>{e.keyCode===d.zz&&this.state.activeResponsiveGroup&&this._handleResponsiveGroupClose()})),(0,r.Z)(this,"_handleOnPress",(function(t,n,r,o,i){let a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0;(0,ue.Li)(o)&&e.setState({lastSelectedToolbarItemType:o}),(0,p.dC)((()=>{a&&s?s(n,r,i,a):t(n,r,i,a),e.props.dispatch((0,x.qB)(a))}))})),(0,r.Z)(this,"DropdownItemComponent",o.forwardRef(((e,t)=>{if(!e.item)return null;const n=e.item.item,r=e.item.index,{isSelectedItem:o,state:i,itemComponentProps:a}=e;return Ae(this.props,_e(_e({},n),{},{className:s()(n.className,{[A().dropdownButtonSelected]:null==i?void 0:i.includes("selected"),[A().dropdownButtonDisabled]:null==i?void 0:i.includes("disabled"),[A().dropdownButtonFocused]:null==i?void 0:i.includes("focused")}),onPress:o?n.onPress:void 0}),r,this._handleOnPress,!o,t,a)}))),(0,r.Z)(this,"_renderGroupedItems",(e=>{let{groupedItems:t,classNamePartial:n}=e;return t.map(((e,t)=>Array.isArray(e)?e.length<2?Ae(this.props,e[0].item,e[0].index,this._handleOnPress,!1,0===t?this.itemToFocusRef:void 0):o.createElement(ne.Z,{frameWindow:this.props.frameWindow,items:e,disabled:e.every((e=>e.item.disabled)),ItemComponent:this.DropdownItemComponent,role:"menu",onSelect:(t,n)=>{const{onPress:r,id:o,type:i,preset:a,disabled:s}=n.item;if(!s&&(e.forEach((e=>{delete e.item.selected})),r)){const e="keydown"===t.type;this._handleOnPress(r,t,o,i,a,e)}},isActive:e.some((e=>e.item.selected)),key:`toolbar-items-group-${t}-${n}`,caretDirection:this.props.toolbarPlacement===be.p.TOP?"down":"up",ref:0===t?this.itemToFocusRef:void 0}):Ae(this.props,e.item,e.index,this._handleOnPress,!1,0===t||e.item.type===this.state.prevActiveGroup?this.itemToFocusRef:void 0)))}))}static getDerivedStateFromProps(e,t){let n=null;if(e.interactionMode&&e.interactionMode in ue.FO){const t=ue.FO[e.interactionMode];Array.isArray(t)?n=e.currentItemPreset&&t.includes(e.currentItemPreset)?e.currentItemPreset:t[0]:"string"==typeof t&&(n=t)}return n!==t.lastSelectedToolbarItemType?{lastSelectedToolbarItemType:n,currentPageIndex:e.currentPageIndex}:{currentPageIndex:e.currentPageIndex}}getDropdownGroupGroupedItems(e){let t=(0,i.aV)();const n={};return e.forEach(((e,r)=>{const o=(0,i.D5)({index:r,item:e}),a=e.get("dropdownGroup");a?void 0!==n[a]?t=t.update(n[a],(e=>e instanceof i.aV?e.push(o):e)):(n[a]=t.size,t=t.push((0,i.aV)([o]))):t=t.push(o)})),t.toJS()}componentDidUpdate(e,t){this._updateMediaQueryListener();const n=t&&!t.activeResponsiveGroup&&this.state.activeResponsiveGroup,r=t&&t.activeResponsiveGroup&&!this.state.activeResponsiveGroup;(n||r)&&this.itemToFocusRef.current&&this.itemToFocusRef.current.focus()}componentDidMount(){this._updateMediaQueryListener()}componentWillUnmount(){Object.keys(this._mediaListeners).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]}))}shouldComponentUpdate(e,t){const n=_e(_e({},e),{},{currentPageIndex:this.props.currentPageIndex}),r=_e(_e({},t),{},{currentPageIndex:this.state.currentPageIndex});return h.O.bind(this)(n,r)}render(){const{props:e}=this,{intl:t,debugMode:n,interactionMode:r,isDocumentReadOnly:i,isAnnotationTypeReadOnly:a,isDocumentComparisonAvailable:s,currentDocumentComparisonMode:l,signatureFeatureAvailability:u,printingEnabled:d,exportEnabled:p,zoomMode:h,maxZoomReached:f,minZoomReached:m,sidebarMode:g,items:v,frameWindow:y,resizeWatchFrameWindow:b,toolbarPlacement:w,canUndo:x,canRedo:D,isMultiSelectionEnabled:C,shadowRoot:E,showDocumentAssistant:S}=e,{formatMessage:_}=t,{activeResponsiveGroup:P,mediaQueryDidUpdate:k,lastSelectedToolbarItemType:z}=this.state,{groupedItems:T,groupedResponsiveItems:O}=this._prepareToolbarItems(t,n,r,i,a,s,!!l,u,d,p,h,f,m,g,v,y,b,P,k,z,x,D,C,E,S),I=P&&O.length,F=I?this._renderGroupedItems({groupedItems:O,classNamePartial:"groupedResponsiveItems"}):this._renderGroupedItems({groupedItems:T,classNamePartial:"groupedItems"}),M=I&&T.filter((e=>!Array.isArray(e))).find((e=>e.item.id===P)),R=M&&M.item?M.item.title:void 0,j=v.some((e=>"image"===e.get("type")));return o.createElement("div",{className:`PSPDFKit-Toolbar ${A().root}`,onKeyDown:this._handleKeyPress},I?null:F,o.createElement(te.Z,{onClose:this._handleResponsiveGroupClose,isPrimary:!0,position:w===be.p.TOP?"top":"bottom",accessibilityLabel:R},I?F:null),j&&o.createElement(c.TX,{tag:"div"},o.createElement("input",{ref:this.imagePickerRef,"aria-label":_(Ie.selectImage),"aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, application/pdf",onChange:this._handleImageSelect,tabIndex:-1})))}}function Ae(e,t,n,r,i,a,l){switch(t.type){case"spacer":return o.createElement("div",{style:{flex:1},key:`spacer-${n}`});case"pager":return o.createElement(J,{dispatch:e.dispatch,pages:e.pages,totalPages:e.totalPages,key:e.currentPageIndex.toString(),readOnly:e.scrollMode===w.G.DISABLED});case"layout-config":var u;return o.createElement(K,{dispatch:e.dispatch,key:"layout-config",className:t.className,icon:t.icon,layoutMode:e.layoutMode,scrollMode:e.scrollMode,caretDirection:e.toolbarPlacement===be.p.TOP?"down":"up",frameWindow:e.frameWindow,disabled:null!==(u=t.disabled)&&void 0!==u&&u});default:{const{type:e,id:u,className:c,disabled:d,selected:p,icon:h,title:f,onPress:m,preset:g,onKeyPress:v}=t;return"custom"===e&&t.node?o.createElement(ee.Z,{node:t.node,className:c,onPress:m?t=>r(m,t,u,e,g):void 0,title:f,disabled:d,selected:p,ref:a,itemComponentProps:l,key:`custom-node-${n}`}):o.createElement(P.Z,{type:e,className:s()(c,i?A().dropdownButton:A().toolbarButton),disabled:d,selected:p,icon:h,title:f,onPress:m?(t,n)=>r(m,t,u,e,g,n,v):void 0,key:`${e}-${n}`,children:i?f:void 0,role:i?"menuitem":void 0,ref:a,itemComponentProps:l,doNotAutoFocusOnFirstItem:!0})}}}const ze=["pan","zoom-in","zoom-out","fit-page","fit-width","spacer","export-pdf","document-comparison"];function Te(e,t){return 1===t.filter((t=>{var n;return null===(n=t.get("type"))||void 0===n?void 0:n.startsWith(e)})).size}const Oe=(0,u.XN)(ke),Ie=(0,u.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Show or hide the thumbnails sidebar"},outline:{id:"outline",defaultMessage:"Outline",description:"Show or hide the document outline sidebar"},panMode:{id:"panMode",defaultMessage:"Pan Mode",description:"Activate and deactivate the pan mode (the hand cursor to move the page)"},zoomIn:{id:"zoomIn",defaultMessage:"Zoom In",description:"Zoom in the document"},zoomOut:{id:"zoomOut",defaultMessage:"Zoom Out",description:"Zoom out the document"},undo:{id:"undo",defaultMessage:"Undo",description:"Undo a previous annotation operation"},redo:{id:"redo",defaultMessage:"Redo",description:"Redo a previous annotation operation"},marqueeZoom:{id:"marqueeZoom",defaultMessage:"Marquee Zoom",description:"Enables Marquee Zoom mode which allows to zoom to a rectangle"},fitPage:{id:"fitPage",defaultMessage:"Fit Page",description:"Fit the page in the viewer based on the bigger dimension"},fitWidth:{id:"fitWidth",defaultMessage:"Fit Width",description:"Fit the page in the document based on its width"},print:{id:"print",defaultMessage:"Print",description:"print"},selectImage:{id:"selectImage",defaultMessage:"Select Image",description:"Label for the select image field"},unsupportedImageFormat:{id:"unsupportedImageFormat",defaultMessage:"Unsupported type for image annotation: {arg0}. Please use a JPEG, PNG or PDF.",description:"Unsupported image type error."},newAnnotationCreated:{id:"newAnnotationCreated",defaultMessage:"New {arg0} annotation created.",description:"A new annotation was created."},selectAFileForImage:{id:"selectAFileForImage",defaultMessage:"Select a file for the new image annotation.",description:"Select a file from the file dialog for the new image annotation."}})},22690:(e,t,n)=>{"use strict";n.d(t,{Z:()=>z});var r=n(22122),o=n(96156),i=n(67294),a=n(94184),s=n.n(a),l=n(35782),u=n(41756),c=n(67665),d=n(86849),p=n(86998),h=n(35369),f=n(67366),m=n(98260),g=n(98179),v=n(71623),y=n(46302),b=n(10983),w=n(17722),x=n.n(w),D=n(84691),C=n.n(D),E=n(94683),S=n.n(E),_=n(18920);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;te.shadowRoot)),M=(0,f.v9)((e=>e.containerRect)),R=i.useRef(null),j=i.useCallback((e=>{let{selectedItem:t}=e;E&&E(R.current||(0,_._t)("click"),t),R.current=null}),[E]),B=i.useRef(),N=null!==(n=i.useMemo((()=>w.find((e=>e.value===(null==D?void 0:D.value)))),[w,D]))&&void 0!==n?n:D,L=e.ItemComponent,K={root:s()("PSPDFKit-Input-Dropdown",e.isActive&&!e.disabled&&"PSPDFKit-Input-Dropdown-active","PSPDFKit-Toolbar-Dropdown",e.className,x().withDropdown,!e.isActive&&x().withDropdownIdle,e.disabled&&x().withDropdownDisabled,N&&"string"==typeof N.icon?N.icon:void 0),button:s()("PSPDFKit-Input-Dropdown-Button",x().dropdown,e.isActive&&!e.disabled&&x().isActive,{[x().discreteDropdown]:e.discreteDropdown,[x().isDisabled]:e.disabled}),menu:s()("PSPDFKit-Input-Dropdown-Items",C().root,e.menuClassName)},[V,q]=i.useState(!1),H=F?(0,m.ke)(F,window):e.frameWindow,{getToggleButtonProps:Z,getMenuProps:U,getItemProps:$,getLabelProps:G,isOpen:W,selectedItem:X,highlightedIndex:Y,setHighlightedIndex:Q}=(0,u.L7)(k(k({},e.frameWindow?k({},H?{environment:H}:null):null),{},{items:w,itemToString:T,selectedItem:N,onHighlightedIndexChange:e=>{switch(e.type){case u.L7.stateChangeTypes.MenuKeyDownArrowDown:case u.L7.stateChangeTypes.MenuKeyDownArrowUp:case u.L7.stateChangeTypes.MenuKeyDownEscape:case u.L7.stateChangeTypes.MenuKeyDownHome:case u.L7.stateChangeTypes.MenuKeyDownEnd:case u.L7.stateChangeTypes.MenuKeyDownEnter:case u.L7.stateChangeTypes.MenuKeyDownSpaceButton:case u.L7.stateChangeTypes.MenuKeyDownCharacter:case u.L7.stateChangeTypes.FunctionSetHighlightedIndex:!V&&q(!0);break;default:V&&q(!1)}},onSelectedItemChange:t=>{"menu"!==e.role&&j(t)},circularNavigation:!e.hasOwnProperty("circularNavigation")||e.circularNavigation,getA11yStatusMessage(){},getA11ySelectionMessage(){}})),J=Z({onKeyDown:e=>{let{nativeEvent:t,key:n}=e;"Enter"===n&&(R.current=t)},onClick:e=>{e.target.focus&&e.target.focus()},"aria-haspopup":"menu"===e.role?"true":"listbox"}),ee=U({onKeyDown:t=>{if(t.keyCode===d.zz&&W&&!e.propagateEscPress)t.stopPropagation();else if((t.keyCode===d.E$||t.keyCode===d.tW)&&Y>-1&&"menu"===e.role&&W&&!w[Y].disabled)R.current=t.nativeEvent,j({selectedItem:w[Y]});else if(t.keyCode===d.P9&&oe>1)Q(0===Y?w.length:Y-1);else if(t.keyCode===d.gs&&oe>1)Q(Y===w.length-1?0:Y+1);else if(t.keyCode===d.OC&&B.current){const e=B.current.querySelector(`#${J.id}`);e&&e.focus()}}},{suppressRefError:!0}),te=G(),ne=e.ButtonComponent,re="menu"===e.role?{role:void 0,"aria-labelledby":void 0,"aria-haspopup":void 0,"aria-expanded":void 0}:{},oe=Math.min(w.length,e.maxCols||1),ie={display:"flex",flexDirection:oe>1?"row":"column",flexWrap:"wrap",width:e.itemWidth?oe*e.itemWidth:"auto",boxSizing:"content-box"},ae=null!=e.icon?e.icon:{};return i.createElement("div",(0,r.Z)({className:s()(W&&"PSPDFKit-Input-Dropdown-open",K.root)},re,{"data-test-id":e["data-test-id"]}),i.createElement(p.TX,{tag:"div"},i.createElement("span",te,e.accessibilityLabel)),i.createElement("div",{ref:B,className:s()(x().wrapper,(null==X?void 0:X.className)||"",{[x().disabledWrapper]:e.disabled,[x().isDisabled]:e.disabled})},ne?ne({btnComponentProps:J,selectedItem:X,ref:t,caretDirection:e.caretDirection,disabled:null!==(o=e.disabled)&&void 0!==o&&o,isOpen:W}):i.createElement(i.Fragment,null,L({item:X,isSelectedItem:!0,state:null,ref:t}),i.createElement("button",(0,r.Z)({},k(k({},J),e.disabled?{onClick:null}:null),{className:K.button,style:{minWidth:0},type:"button"}),i.createElement(v.Z,(0,r.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:"100%"},className:s()("PSPDFKit-Toolbar-Button-Icon",x().dropdownIcon,{[x().disabledDropdownIcon]:e.disabled})},ae)),i.createElement(p.TX,{tag:"div"},i.createElement("span",null,null==X?void 0:X.label))))),i.createElement(c.m,null,i.createElement(y.Z,{referenceElement:B.current,measure:W,offsets:z},(t=>{let{ref:n,style:o}=t;const l="down"===e.caretDirection;let u;u=(e.frameWindow?e.frameWindow.innerWidth:F?M.width:B.current.ownerDocument.defaultView.innerWidth)>=b.Fg?B.current.offsetWidth:"auto";const c=o.top,d={maxHeight:l&&"auto"!==c?M.height-B.current.offsetHeight-c+"px":void 0,overflowY:"auto"};return i.createElement("div",{ref:n,style:k({minWidth:u},o)},i.createElement("div",(0,r.Z)({},ee,{className:`${K.menu} ${s()({[C().hiddenMenu]:!W})}`,style:k(k({},d),ie),onMouseLeave:()=>Q(null),role:"menu"===e.role?"menu":"listbox","aria-labelledby":J["aria-label"]?void 0:ee["aria-labelledby"],"aria-label":J["aria-label"],"aria-hidden":!W}),W&&w.map(((t,n)=>{var r;const o=!!X&&(X.value||t.label)===(t.value||t.label),l=function(e,t,n){return t.indexOf(e)===n}(t,w,Y);let u=(0,h.l4)();t.disabled&&(u=u.add("disabled")),l&&(u=u.add("focused")),o&&(u=u.add("selected")),t.disabled||l||o||(u=u.add("default"));const c=s()("PSPDFKit-Input-Dropdown-Item",t.className||"",{"PSPDFKit-Input-Dropdown-Item-disabled":t.disabled,"PSPDFKit-Input-Dropdown-Item-focused":!t.disabled&&l,"PSPDFKit-Input-Dropdown-Item-selected":!t.disabled&&o,"PSPDFKit-Input-Dropdown-Item-default":!t.disabled&&!o&&!l,[S().focusVisible]:l&&V}),d=$(k({item:t,index:n,disabled:null!==(r=t.disabled)&&void 0!==r&&r,onClick:n=>{let{nativeEvent:r}=n;t.disabled||(R.current=r,"menu"===e.role&&W&&j({selectedItem:t}))}},"menu"===e.role?{"aria-selected":void 0,role:void 0}:g.G6?{}:{"aria-selected":void 0,"aria-label":o?I(O.selectedItem,{arg0:t.label}):void 0}));return i.createElement(i.Fragment,{key:`${T(t)}${n}`},i.createElement("div",{className:c},L({item:t,isSelectedItem:!1,state:u,itemComponentProps:d})),null!=A&&(null==A?void 0:A.index)===n&&(a||(a=i.createElement(A.node,null))))})),P))}))))}const z=(0,i.memo)(i.forwardRef(A));function T(e){return null!=e&&e.label?null==e?void 0:e.label:(null!=(null==e?void 0:e.value)&&"object"==typeof e.value&&"toString"in e.value&&"function"==typeof e.value.toString&&e.value.toString(),null!=(null==e?void 0:e.value)&&"string"==typeof e.value?e.value:"N/A")}const O=(0,l.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},3324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(22122),o=n(17375),i=n(35782),a=n(67294),s=n(94184),l=n.n(s),u=n(17722),c=n.n(u),d=n(22690),p=n(82716);const h=["item"],f=["selectedItem"],m=a.memo(a.forwardRef((function(e,t){const{items:n,noInitialSelection:s,ItemComponent:u,ButtonComponent:m}=e,[b,w]=a.useState(null),{formatMessage:x}=(0,i.YB)(),D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Toolbar";return e.charAt(0).toUpperCase()+e.substr(1)}(n[0].item.dropdownGroup),C=a.useMemo((()=>n.find((e=>e.item.selected))||b||(s?null:n[0])),[n,s,b]),E=l()("PSPDFKit-Toolbar-DropdownGroup",D&&"PSPDFKit-Toolbar-DropdownGroup-"+D,e.className,C?"string"==typeof C.item.icon?C.item.icon:"string"==typeof C.item.type&&"custom"!==C.item.type?c().withDropdownIcon:void 0:void 0),S=e.items.map(g),_=C?g(C):null,P=a.useCallback((e=>{const{item:i}=e,s=(0,o.Z)(e,h),l=n.find((e=>null!=i?v(i,e):null));return a.createElement(u,(0,r.Z)({item:l},s,{ref:t}))}),[n,u,t]),k=a.useCallback((e=>{const{selectedItem:t}=e,i=(0,o.Z)(e,f),s=n.find((e=>null!=t?v(t,e):null));return(0,p.k)(s,"A dropdown item must be present for the button"),(0,p.k)(m,"A button must be available to render dropdown"),a.createElement(m,(0,r.Z)({selectedItem:s},i))}),[m,n]);return a.createElement(d.Z,{onSelect:(t,n)=>{const r=e.items.find((e=>v(n,e)));var o;null!=r&&(null===(o=e.onSelect)||void 0===o||o.call(e,t,r));if(b!==e.items.find((e=>v(n,e)))){const t=e.items.find((e=>v(n,e)));t&&w(t)}},items:S,value:_,ItemComponent:P,ButtonComponent:m?k:void 0,isActive:e.isActive,className:E,menuClassName:e.menuClassName,icon:e.icon,discreteDropdown:e.discreteDropdown,caretDirection:e.caretDirection,frameWindow:e.frameWindow,role:e.role,ref:t,accessibilityLabel:e.accessibilityLabel||x(y.accessibilityLabelDropdownGroupToggle,{arg0:D}),noInitialSelection:e.noInitialSelection,maxCols:e.maxCols,itemWidth:e.itemWidth,circularNavigation:e.circularNavigation,propagateEscPress:e.propagateEscPress,appendAfter:e.appendAfter,disabled:e.disabled},e.children)})));function g(e){var t,n,r,o;return{value:null!==(t=null!==(n=null!==(r=e.item.id)&&void 0!==r?r:e.item.title)&&void 0!==n?n:e.item.type)&&void 0!==t?t:"",icon:e.item.icon,label:null!==(o=e.item.title)&&void 0!==o?o:"",disabled:e.item.disabled}}function v(e,t){return t.item.id===e.value||t.item.title===e.value||t.item.type===e.value}const y=(0,i.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},80292:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(22122),o=n(67294),i=n(94184),a=n.n(i),s=n(60101);const l=o.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()("string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Node",n&&"PSPDFKit-Toolbar-Node-active",i&&"PSPDFKit-Toolbar-Node-disabled");return o.createElement(s.Z,(0,r.Z)({},e,{className:l,ref:t,itemComponentProps:e.itemComponentProps}))}))},76465:(e,t,n)=>{"use strict";n.d(t,{B:()=>h,Z:()=>f});var r=n(67294),o=n(35782),i=n(26353),a=n(84013),s=n(94184),l=n.n(s),u=n(13524),c=n.n(u),d=n(17766),p=n(54130);function h(e){let{children:t,onClose:n,isPrimary:o,position:s,intl:u,accessibilityLabel:h,onEntered:f,className:m}=e;const{formatMessage:g}=u,v=r.Children.count(t)>0;return r.createElement(a.Z,null,v&&r.createElement(i.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:150,exit:window["PSPDFKit-disable-animations"]?0:120},classNames:{enter:c().slideRightEnter,enterActive:c().slideRightEnterActive,enterDone:c().slideRightEnterDone,exit:c().slideRightExit,exitActive:c().slideRightExitActive},onEntered:f},r.createElement("div",{className:l()({[c().responsiveGroup]:!0,[c().primary]:o,[c().secondary]:!o,[c().stickToBottom]:"bottom"===s,"PSPDFKit-Toolbar-Responsive-Group":!0},m),role:"dialog","aria-label":h},r.createElement(p.Z,{type:"custom",title:g(d.Z.close),className:c().button,onPress:n},r.createElement("div",{className:c().animatedArrow})),r.createElement("div",{style:{flex:1}}),r.createElement("div",{className:c().items},t))))}const f=(0,o.XN)(h)},80422:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(22122),o=n(67294),i=n(94184),a=n.n(i),s=n(71623),l=n(43165),u=n.n(l);const c=o.memo(o.forwardRef((function(e,t){const{type:n,selected:i,disabled:l,onPress:c,icon:d,role:p,title:h,doNotAutoFocusOnFirstItem:f=!1}=e,m=o.useRef(!1),g=o.useCallback((function(e){e.preventDefault(),!l&&c&&c(e.nativeEvent,m.current)}),[c,l]),v=o.useCallback((function(){m.current=!0}),[]),y=o.useCallback((function(){m.current=!1}),[]),b=(0,s.Z)({icon:d,type:n,className:a()(void 0!==e.children&&u().withLabel,"PSPDFKit-Tool-Button-Icon",e.iconClassName)}),w=e.children||(b?null:h),x=a()(u().root,i&&u().isActive,l&&u().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Tool-Button",i&&"PSPDFKit-Tool-Button-active",l&&"PSPDFKit-Tool-Button-disabled");o.useEffect((()=>{!e.presentational&&t&&t.current&&!f&&t.current.focus()}),[e.presentational,t,f]);const D=o.createElement("button",(0,r.Z)({className:x,title:h,"aria-label":h,disabled:l,onClick:c?g:void 0,onKeyDown:c?v:void 0,onPointerUp:c?y:void 0,"aria-pressed":"annotate"!==n&&"responsive-group"!==n&&void 0!==i?i:void 0},e.itemComponentProps,{role:p||(e.itemComponentProps?e.itemComponentProps.role:void 0),type:"button",ref:t}),b,null!=w&&o.createElement("span",null,w));return e.presentational?o.createElement("div",null,o.createElement("div",{className:x,title:h,"aria-hidden":"true",role:"presentation"},b)):e.disabled?o.createElement("div",{className:a()({[u().disabledWrapper]:e.disabled})},D):D})))},60101:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(22122),o=n(67294),i=n(94184),a=n.n(i),s=n(13099),l=n.n(s);const u=o.memo(o.forwardRef((function(e,t){const{node:n,title:i,selected:s,disabled:u}=e,c=o.useRef();o.useImperativeHandle(t,(()=>({focus:()=>{n instanceof n.ownerDocument.defaultView.HTMLElement&&n.focus()}}))),o.useLayoutEffect((()=>{const e=c&&c.current;e&&(e.innerHTML="",e.appendChild(n))}),[n]);const d=a()("PSPDFKit-Tool-Node",{"PSPDFKit-Tool-Node-active":s,"PSPDFKit-Tool-Node-disabled":u},e.className,l().root,{[l().disabled]:u,[l().annotationToolbar]:"annotationToolbar"===e.variant}),p=e.onPress?t=>{let{nativeEvent:n}=t;e.onPress&&e.onPress(n)}:void 0;return o.createElement("div",(0,r.Z)({onClick:p,className:d,title:i,"aria-label":i,tabIndex:u?-1:void 0,"aria-disabled":!!u||void 0},e.itemComponentProps,{ref:c}))})))},87996:(e,t,n)=>{"use strict";n.d(t,{Options:()=>m,W:()=>h,n:()=>v});var r=n(96156),o=n(79724),i=n(97586),a=n(60379),s=n(16602),l=n(18726),u=n(17766),c=n(42370),d=n(10983);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const h=s.Z.filter((e=>e.color!==a.Z.DARK_BLUE)),f={MIN_TEXT_ANNOTATION_SIZE:5,MIN_INK_ANNOTATION_SIZE:16,MIN_SHAPE_ANNOTATION_SIZE:16,MIN_IMAGE_ANNOTATION_SIZE:5,MIN_STAMP_ANNOTATION_SIZE:15,MIN_WIDGET_ANNOTATION_SIZE:3,ENABLE_INK_SMOOTH_LINES:!0,INK_EPSILON_RANGE_OPTIMIZATION:10,SIGNATURE_SAVE_MODE:i.f.USING_UI,INITIAL_DESKTOP_SIDEBAR_WIDTH:300,IGNORE_DOCUMENT_PERMISSIONS:!1,SELECTION_OUTLINE_PADDING:function(e){return e.width>d.y$?10:13},RESIZE_ANCHOR_RADIUS:function(e){return e.width>d.y$?7:10},SELECTION_STROKE_WIDTH:2,TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT:!0,TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT:!0,DISABLE_KEYBOARD_SHORTCUTS:!1,DEFAULT_INK_ERASER_CURSOR_WIDTH:12.5,COLOR_PRESETS:h,LINE_CAP_PRESETS:["none"].concat(c.a),LINE_WIDTH_PRESETS:null,HIGHLIGHT_COLOR_PRESETS:[a.Z.LIGHT_YELLOW,a.Z.LIGHT_BLUE,a.Z.LIGHT_GREEN,a.Z.LIGHT_RED].map((e=>({color:e,localization:u.Z[e.toCSSValue()]}))),TEXT_MARKUP_COLOR_PRESETS:s.Z.filter((e=>[a.Z.BLACK,a.Z.BLUE,a.Z.RED,a.Z.GREEN].includes(e.color))),NOTE_COLOR_PRESETS:l.W,PDF_JAVASCRIPT:!0,BREAKPOINT_MD_TOOLBAR:1070,BREAKPOINT_SM_TOOLBAR:768},m=Object.preventExtensions(function(e){for(var t=1;t{for(const t in e)g(void 0!==f[t],`Option \`${t}\` is not available in the \`Options\` object`),g(typeof f[t]==typeof e[t],`Option \`${t}\` is of incorrect type \`${typeof e[t]}\`, should be \`${typeof f[t]}\``)}},55012:(e,t,n)=>{"use strict";n.d(t,{$8O:()=>Dr,$Jy:()=>At,$VE:()=>ft,$hO:()=>Tt,A8G:()=>De,AIf:()=>et,ArU:()=>Vn,B1n:()=>nt,BS3:()=>r,BWS:()=>se,Ce5:()=>g,D1d:()=>nr,D5x:()=>qn,D_w:()=>Gt,Dj2:()=>ce,Dl4:()=>$,Dqw:()=>cr,Dzg:()=>it,Ebp:()=>Tr,EpY:()=>_n,F6q:()=>Mt,FH6:()=>kt,FHt:()=>I,FQb:()=>Hr,FdD:()=>yt,G5w:()=>de,G6t:()=>br,G8_:()=>Qt,GHc:()=>l,GW4:()=>pe,GXR:()=>$e,GfR:()=>G,Gkm:()=>vr,Gox:()=>Un,HS7:()=>Ct,HXk:()=>xo,HYy:()=>Mr,Han:()=>Nr,Hbz:()=>pt,Hrp:()=>s,IFt:()=>fn,ILc:()=>Dt,Ifu:()=>It,IyB:()=>er,J7J:()=>Ge,JQC:()=>J,JRS:()=>Zn,JS9:()=>Je,JwD:()=>ke,JyO:()=>We,K26:()=>dt,KA1:()=>Gn,KYU:()=>H,Kc8:()=>rn,Kpf:()=>Ln,KqR:()=>ot,Kw7:()=>nn,L2A:()=>ur,L8n:()=>ut,L9g:()=>U,Lyo:()=>C,M3C:()=>at,M85:()=>xt,ME7:()=>y,MGL:()=>dr,MOe:()=>Oe,MYU:()=>Wn,MfE:()=>ae,MuN:()=>he,NAH:()=>ge,NB4:()=>wt,NDs:()=>Xe,NfO:()=>K,Nl1:()=>Z,Oh4:()=>Wt,Q2U:()=>hn,QM1:()=>ho,QU3:()=>le,QYP:()=>N,QYq:()=>go,Qm9:()=>pr,R1i:()=>Pe,R7l:()=>fr,R8P:()=>St,RCc:()=>ie,RPc:()=>mn,RTr:()=>f,RvB:()=>Ne,RxB:()=>P,S$y:()=>Qe,S0t:()=>vn,SHi:()=>bo,SdX:()=>xr,T3g:()=>ir,TG1:()=>Qr,TPT:()=>Ie,TUA:()=>Ue,TYu:()=>sr,Ty$:()=>an,U7k:()=>Rr,UFK:()=>R,UFs:()=>oe,UII:()=>c,UL9:()=>Jn,UP4:()=>Cr,UX$:()=>Yn,UiQ:()=>_e,Ui_:()=>Lt,VK7:()=>Vt,VNM:()=>Wr,VNu:()=>so,VOt:()=>zr,Vje:()=>oo,Vpf:()=>mr,Vu4:()=>Ye,W0l:()=>tn,WaW:()=>An,Whn:()=>Xt,WmI:()=>Lr,WsN:()=>eo,WtY:()=>v,Wyx:()=>Ut,XTO:()=>io,Xlm:()=>V,Y4:()=>Fr,YHT:()=>d,YIz:()=>ct,YS$:()=>yn,ZDQ:()=>tt,ZGb:()=>z,ZLr:()=>p,ZbY:()=>pn,ZgW:()=>jr,Zt9:()=>ao,_33:()=>Bn,_AY:()=>Ot,_Qf:()=>Rn,_TO:()=>En,_Yi:()=>je,_fK:()=>cn,_ko:()=>O,_n_:()=>we,_uU:()=>ne,a33:()=>ze,aWu:()=>Ce,aYj:()=>j,b0l:()=>be,b4I:()=>$r,bM3:()=>uo,bOH:()=>Br,bP3:()=>Q,bV3:()=>Cn,bVL:()=>On,bui:()=>Pn,bxr:()=>T,bzW:()=>Ur,c3G:()=>Be,cbv:()=>Ze,ciU:()=>Or,ckI:()=>gt,cyk:()=>q,dCo:()=>b,dEe:()=>wn,dVW:()=>Jt,eFQ:()=>lt,eI4:()=>Y,eJ4:()=>tr,ej0:()=>po,esN:()=>Bt,f3N:()=>Te,fAF:()=>bn,fDl:()=>$t,fLm:()=>Ir,fQw:()=>Pr,faS:()=>Fn,fnw:()=>w,fwq:()=>yr,g30:()=>He,g4f:()=>D,gF5:()=>_t,gIV:()=>zt,gbd:()=>h,hC8:()=>ln,heZ:()=>m,hlI:()=>xe,hpj:()=>B,ht3:()=>F,hv0:()=>X,hw0:()=>$n,hxO:()=>vt,iJ2:()=>Nt,iMs:()=>xn,iQZ:()=>W,iZ1:()=>un,ieh:()=>zn,iwn:()=>In,iyZ:()=>Fe,jJ7:()=>Yt,joZ:()=>_r,jzI:()=>Et,kD6:()=>Sr,kQ7:()=>vo,kRo:()=>M,kVz:()=>Tn,kg:()=>bt,kt4:()=>ar,l$y:()=>Er,lD1:()=>ue,lRe:()=>Sn,m3$:()=>Kt,mE7:()=>_,mGH:()=>en,mLh:()=>x,m_C:()=>ro,mbD:()=>Xn,mfU:()=>Yr,mqf:()=>Ke,nFn:()=>Ft,nI6:()=>Kr,nmm:()=>o,oE1:()=>Ee,oWy:()=>Se,oZW:()=>Vr,obk:()=>gn,odo:()=>qr,oj5:()=>u,ol:()=>fo,p1u:()=>jt,pNz:()=>Dn,pnu:()=>rt,poO:()=>sn,qKG:()=>gr,qRJ:()=>on,qV6:()=>re,qZT:()=>Rt,qh0:()=>rr,rWQ:()=>ye,rm:()=>or,rpU:()=>Hn,rq0:()=>wo,rxv:()=>a,sCM:()=>Pt,sYK:()=>ht,skc:()=>ee,snK:()=>Jr,snh:()=>te,syg:()=>k,t$K:()=>Zr,tC1:()=>Mn,tIQ:()=>co,tLW:()=>Ve,tPZ:()=>ve,tS$:()=>qe,tYC:()=>me,teI:()=>hr,tie:()=>st,tzG:()=>to,u7V:()=>Ht,u9b:()=>A,uFU:()=>dn,uOP:()=>Xr,uo5:()=>Ar,vBn:()=>Gr,vSH:()=>Re,vVk:()=>kn,vgx:()=>lr,vkF:()=>wr,wG7:()=>Nn,wJn:()=>yo,wPI:()=>Kn,wgG:()=>lo,wog:()=>Qn,wtk:()=>S,x0v:()=>Ae,x64:()=>jn,xYE:()=>E,xhM:()=>kr,xk1:()=>fe,yET:()=>qt,yPS:()=>no,yrz:()=>mt,yyM:()=>Me,zGM:()=>Zt,zKF:()=>L,zZV:()=>i,z_j:()=>Le,zyH:()=>mo});const r="CONNECTING",o="CONNECTED",i="CONNECTION_FAILED",a="SET_ANNOTATION_MANAGER",s="SET_BOOKMARK_MANAGER",l="SET_FORM_FIELD_VALUE_MANAGER",u="SET_FORM_FIELD_MANAGER",c="SET_COMMENT_MANAGER",d="SET_MENTIONABLE_USERS",p="SET_MAX_MENTION_SUGGESTIONS",h="SET_CHANGE_MANAGER",f="SET_HAS_FETCHED_INITIAL_RECORDS_FROM_INSTANT",m="SET_GROUP",g="SET_CLIENTS_UPDATE_CALLBACK",v="SET_TRANSFORM_CLIENT_TO_PAGE",y="FETCH_DOCUMENT_SUCCESS",b="FETCH_PAGES_SUCCESS",w="SET_BACKEND_PERMISSIONS",x="SCROLLED",D="JUMP_TO_RECT",C="JUMP_AND_ZOOM_TO_RECT",E="RESIZED",S="NEXT_PAGE",_="PREVIOUS_PAGE",P="SET_PAGE",k="SET_ZOOM_LEVEL",A="SET_ZOOM_STEP",z="SET_VIEWPORT_STATE",T="SET_SPREAD_SPACING",O="SET_PAGE_SPACING",I="SET_FIRST_PAGE_ALWAYS_SINGLE",F="SET_VIEWPORT_PADDING",M="ENABLE_PANNING",R="DISABLE_PANNING",j="ENABLE_PRINTING",B="DISABLE_PRINTING",N="ENABLE_EXPORT",L="DISABLE_EXPORT",K="ENABLE_READ_ONLY",V="DISABLE_READ_ONLY",q="SHOW_ANNOTATIONS",H="HIDE_ANNOTATIONS",Z="SHOW_COMMENTS",U="HIDE_COMMENTS",$="SHOW_ANNOTATION_NOTES",G="HIDE_ANNOTATION_NOTES",W="SET_FEATURES",X="SET_SIDEBAR_MODE",Y="SET_SIDEBAR_PLACEMENT",Q="SET_SIDEBAR_OPTIONS",J="SET_SIGNATURE_FEATURE_AVAILABILITY",ee="START_PRINTING",te="END_PRINTING",ne="ABORT_PRINTING",re="UPDATE_PRINT_LOADING_INDICATOR",oe="ZOOM_IN",ie="ZOOM_OUT",ae="ZOOM_TO_AUTO",se="ZOOM_TO_FIT_TO_VIEWPORT",le="ZOOM_TO_FIT_TO_WIDTH",ue="ROTATE",ce="ENABLE_DEBUG_MODE",de="SHOW_DEBUG_CONSOLE",pe="HIDE_DEBUG_CONSOLE",he="SHOW_TOOLBAR",fe="HIDE_TOOLBAR",me="ENABLE_ANNOTATION_TOOLBAR",ge="DISABLE_ANNOTATION_TOOLBAR",ve="SET_SCROLLBAR_OFFSET",ye="SET_LAYOUT_MODE",be="SET_SCROLL_MODE",we="SET_SCROLL_ELEMENT",xe="SET_ANNOTATION_CREATOR",De="SET_ANNOTATION_TOOLBAR_HEIGHT",Ce="UPDATE_TOOLBAR_ITEMS",Ee="UPDATE_CURRENT_PRESET",Se="SET_CURRENT_ITEM_PRESET",_e="UPDATE_ANNOTATION_PRESETS",Pe="ADD_ANNOTATION_PRESET_ID",ke="SET_CURRENT_ITEM_PRESET_FROM_ANNOTATION",Ae="REMOVE_ANNOTATION_PRESET_ID",ze="DESELECT",Te="TEXT_SELECTED",Oe="TEXT_DESELECTED",Ie="SET_ANNOTATION_HOVER",Fe="UNSET_ANNOTATION_HOVER",Me="SET_ANNOTATION_NOTE_HOVER",Re="SET_ACTIVE_ANNOTATION_NOTE",je="SET_SELECTED_ANNOTATIONS",Be="UNSET_SELECTED_ANNOTATION_SHOULD_DRAG",Ne="SET_SELECTED_TEXT_ON_EDIT",Le="FETCH_CONTENT_BLOCKS_SUCCESS",Ke="ENABLE_TEXT_HIGHLIGHTER_MODE",Ve="DISABLE_TEXT_HIGHLIGHTER_MODE",qe="ENABLE_REDACT_TEXT_HIGHLIGHTER_MODE",He="DISABLE_REDACT_TEXT_HIGHLIGHTER_MODE",Ze="ENABLE_REDACT_SHAPE_RECTANGLE_MODE",Ue="DISABLE_REDACT_SHAPE_RECTANGLE_MODE",$e="ENABLE_INK_MODE",Ge="DISABLE_INK_MODE",We="ENABLE_INK_ERASER_MODE",Xe="DISABLE_INK_ERASER_MODE",Ye="ENABLE_SIGNATURE_MODE",Qe="DISABLE_SIGNATURE_MODE",Je="ENABLE_SHAPE_MODE",et="DISABLE_SHAPE_MODE",tt="ENABLE_NOTE_MODE",nt="DISABLE_NOTE_MODE",rt="ENABLE_TEXT_MODE",ot="DISABLE_TEXT_MODE",it="ENABLE_STAMP_PICKER_MODE",at="ENABLE_STAMP_CUSTOM_MODE",st="DISABLE_STAMP_MODE",lt="ENABLE_INTERACTIONS",ut="DISABLE_INTERACTIONS",ct="SHOW_DOCUMENT_EDITOR",dt="HIDE_DOCUMENT_EDITOR",pt="ENABLE_MARQUEE_ZOOM",ht="DISABLE_MARQUEE_ZOOM",ft="SET_INTERACTION_MODE",mt="RESET_INTERACTION_MODE",gt="CREATE_COMMENTS",vt="CREATE_COMMENT_DRAFT",yt="UPDATE_COMMENTS",bt="DELETE_COMMENTS",wt="COMPUTE_COMMENT_MODE",xt="CREATE_ANNOTATIONS",Dt="CREATE_INK_ANNOTATION_ON_NEW_PAGE",Ct="CREATE_SHAPE_ANNOTATION_ON_NEW_PAGE",Et="CREATE_REDACTION_ANNOTATION_ON_NEW_PAGE",St="UPDATE_ANNOTATIONS",_t="DELETE_ANNOTATIONS",Pt="SET_ANNOTATIONS_TO_DELETE",kt="SEARCH_FOR_TERM",At="FOCUS_NEXT_SEARCH_HIGHLIGHT",zt="FOCUS_PREVIOUS_SEARCH_HIGHLIGHT",Tt="SHOW_SEARCH",Ot="HIDE_SEARCH",It="FOCUS_SEARCH",Ft="BLUR_SEARCH",Mt="SET_SEARCH_IS_LOADING",Rt="SET_SEARCH_RESULTS",jt="SET_SEARCH_STATE",Bt="SET_SEARCH_PROVIDER",Nt="SET_FORM_JSON",Lt="CREATE_FORM_FIELD_VALUES",Kt="SET_FORM_FIELD_VALUES",Vt="SET_FORMATTED_FORM_FIELD_VALUES",qt="SET_EDITING_FORM_FIELD_VALUES",Ht="DELETE_FORM_FIELD_VALUES",Zt="CREATE_FORM_FIELDS",Ut="UPDATE_FORM_FIELDS",$t="REPLACE_FORM_FIELD",Gt="DELETE_FORM_FIELDS",Wt="SET_DOCUMENT_OUTLINE",Xt="TOGGLE_DOCUMENT_OUTLINE_ELEMENT",Yt="SET_CUSTOM_OVERLAY_ITEM",Qt="REMOVE_CUSTOM_OVERLAY_ITEM",Jt="I18N_SET_LOCALE",en="CREATE_SIGNATURE",tn="STORE_SIGNATURE",nn="SET_STORED_SIGNATURES",rn="DELETE_STORED_SIGNATURE",on="UPDATE_STAMP_ANNOTATION_TEMPLATES",an="SHOW_PASSWORD_PROMPT",sn="SET_HAS_PASSWORD",ln="UNLOCKED_VIA_MODAL",un="SET_ALLOWED_TILE_SCALES",cn="UPDATE_SELECTED_MARKUP_ANNOTATIONS",dn="SET_IS_EDITABLE_ANNOTATION",pn="SET_EDITABLE_ANNOTATION_TYPES",hn="SET_IS_EDITABLE_COMMENT",fn="SET_FORM_DESIGN_MODE",mn="SET_INK_ERASER_WIDTH",gn="RESET_DOCUMENT_STATE",vn="SET_DOCUMENT_HANDLE",yn="SET_DOCUMENT_HANDLE_OUTDATED",bn="UPDATE_CUSTOM_RENDERERS",wn="ENABLE_COMMENT_MARKER",xn="DISABLE_COMMENT_MARKER",Dn="START_DIGITAL_SIGNATURE",Cn="END_DIGITAL_SIGNATURE",En="SET_SHOW_SIGNATURE_VALIDATION_STATUS_MODE",Sn="SET_DIGITAL_SIGNATURES",_n="START_REDACTION",Pn="END_REDACTION",kn="SET_PREVIEW_REDACTION_MODE",An="SET_COLLAPSE_SELECTED_NOTE_CONTENT",zn="INVALIDATE_AP_STREAMS",Tn="VALIDATE_AP_STREAMS",On="HISTORY_UPDATE_FROM_UNDO",In="HISTORY_UPDATE_FROM_REDO",Fn="SET_HISTORY_CHANGE_CONTEXT",Mn="HISTORY_IDS_MAP_ADD",Rn="CLEAR_HISTORY",jn="REMOVE_ANNOTATION_FROM_HISTORY",Bn="ENABLE_HISTORY",Nn="DISABLE_HISTORY",Ln="UPDATE_DOCUMENT_EDITOR_FOOTER_ITEMS",Kn="UPDATE_DOCUMENT_EDITOR_TOOLBAR_ITEMS",Vn="SET_EDITABLE_ANNOTATION_STATE",qn="SET_A11Y_STATUS_MESSAGE",Hn="SET_LAST_TOOLBAR_ACTION_USED_KEYBOARD",Zn="ENABLE_DOCUMENT_CROP_MODE",Un="DISABLE_DOCUMENT_CROP_MODE",$n="SET_ON_ANNOTATION_RESIZE_START",Gn="SET_DOCUMENT_COMPARISON_STATE",Wn="ENABLE_SCROLL_WHILE_DRAWING",Xn="DISABLE_SCROLL_WHILE_DRAWING",Yn="SET_REUSE_STATE",Qn="ENABLE_KEEP_SELECTED_TOOL",Jn="DISABLE_KEEP_SELECTED_TOOL",er="SET_INSTANCE",tr="SET_CUSTOM_UI_STORE",nr="SET_SIDEBAR_WIDTH",rr="SET_READ_ONLY_ANNOTATION_FOCUS",or="UNSET_READ_ONLY_ANNOTATION_FOCUS",ir="SET_ANNOTATION_TOOLBAR_ITEMS_CALLBACK",ar="TOGGLE_CLIPBOARD_ACTIONS",sr="SET_ON_WIDGET_CREATION_START_CALLBACK",lr="SET_FORM_DESIGNER_LOCAL_WIDGET_ANNOTATION",ur="SET_INLINE_TOOLBAR_ITEMS_CALLBACK",cr="ADD_ANNOTATION_VARIANTS",dr="ENABLE_CONTENT_EDITOR",pr="DISABLE_CONTENT_EDITOR",hr="CHANGE_CONTENT_EDITOR_SESSION_MODE",fr="ENABLE_LINK_MODE",mr="DISABLE_LINK_MODE",gr="DISABLE_DRAWING_LINK_ANNOTATION_MODE",vr="SET_MEASUREMENT_SNAPPING",yr="SET_MEASUREMENT_PRECISION",br="SET_MEASUREMENT_SCALE",wr="SET_MEASUREMENT_VALUE_CONFIGURATION_CALLBACK",xr="SET_MEASUREMENT_SCALES",Dr="SET_MEASUREMENT_TOOL_STATE",Cr="SET_HINT_LINES",Er="CONTENT_EDITOR/PAGE/LOADING",Sr="CONTENT_EDITOR/PAGE/LOADED",_r="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/ACTIVE",Pr="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/TOGGLE",kr="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/SELECT",Ar="CONTENT_EDITOR/TEXT_BLOCK/CREATE",zr="CONTENT_EDITOR/TEXT_BLOCK/UPDATE_INFO",Tr="CONTENT_EDITOR/TEXT_BLOCK/SET_FORMAT",Or="CONTENT_EDITOR_/TEXT_BLOCK/RESIZE",Ir="CONTENT_EDITOR_/TEXT_BLOCK/MOVE",Fr="CONTENT_EDITOR/SAVING",Mr="CONTENT_EDITOR/SET_DIRTY",Rr="CONTENT_EDITOR/FACE_LIST/LOADING",jr="CONTENT_EDITOR/FACE_LIST/SET",Br="CONTENT_EDITOR_SET_EXIT_DIALOG",Nr="CONTENT_EDITOR_SHOW_FONT_MISMATCH_TOOLTIP",Lr="CONTENT_EDITOR_HIDE_FONT_MISMATCH_TOOLTIP",Kr="CONTENT_EDITOR_FONT_MISMATCH_TOOLTIP_ABORT_CONTROLLER",Vr="ENABLE_MULTI_ANNOTATIONS_SELECTION_MODE",qr="DISABLE_MULTI_ANNOTATIONS_SELECTION_MODE",Hr="CREATE_ANNOTATION_GROUP",Zr="SET_SELECTED_GROUP",Ur="DELETE_ANNOTATION_GROUP",$r="REMOVE_ANNOTATION_FROM_GROUP",Gr="SET_PULL_TO_REFRESH_STATE",Wr="SET_RICH_EDITOR_REF",Xr="FOCUS_WIDGET_ANNOTATION",Yr="SET_ON_COMMENT_CREATION_START_CALLBACK",Qr="INVALIDATE_PAGE_KEYS",Jr="CONTENT_EDITOR_ACTIVE_TEXT_BLOCK_DELETE",eo="CHANGE_SCROLL_STATE",to="SET_CUSTOM_FONTS_READABLE_NAMES",no="ENABLE_MEASUREMENT_MODE",ro="DISABLE_MEASUREMENT_MODE",oo="SHOW_MEASUREMENT_SETTINGS",io="HIDE_MEASUREMENT_SETTINGS",ao="SET_SECONDARY_MEASUREMENT_UNIT",so="SET_ACTIVE_MEASUREMENT_SCALE",lo="SET_CALIBRATION_MODE",uo="UPDATE_PAGE_KEYS",co="SET_DISABLE_POINT_SNAPPING",po="SET_ENABLE_ALWAYS_SCROLL_TO_ZOOM",ho="SET_FORCE_RENDER_WIDGETS_IN_ANNOTATIONS_ORDER",fo="SET_EVALUATION",mo="SELECT_IMPORT_ICON_IMAGE",go="SET_OCG_LAYERS",vo="SET_OCG_VISIBILITY",yo="SET_PRERENDERED_PAGE_SPREADS",bo="SET_PAGE_TAB_ORDER",wo="SET_DOCUMENT_ASSISTANT_CONFIGURATION",xo="SET_SHOW_DOCUMENT_ASSISTANT"},10983:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>S,Bs:()=>L,D4:()=>c,Dx:()=>k,Fg:()=>i,GI:()=>o,Hr:()=>E,J8:()=>F,Kk:()=>D,M5:()=>R,QS:()=>m,Qc:()=>W,Qq:()=>r,Qr:()=>B,RI:()=>s,SP:()=>O,Sk:()=>x,St:()=>$,Ui:()=>j,V4:()=>A,W3:()=>Y,XU:()=>h,XZ:()=>v,YJ:()=>w,_2:()=>V,c1:()=>C,cY:()=>f,fV:()=>T,g3:()=>u,gZ:()=>b,h8:()=>p,i1:()=>G,mM:()=>H,mc:()=>J,nJ:()=>N,oW:()=>M,pK:()=>P,pt:()=>X,rB:()=>Z,rT:()=>Q,re:()=>z,rm:()=>l,sP:()=>U,uq:()=>_,wK:()=>y,xD:()=>d,y$:()=>a,zA:()=>K,zT:()=>q,zh:()=>g,zk:()=>I});const r=1200,o=1070,i=768,a=480,s=32768,l=18,u=50,c=a,d=a,p=320,h=250,f=.5,m=10,g=1.25,v=5,y=30,b=2,w=20,x=0,D=20,C=5,E=1,S=1536,_=512,P=512,k=5,A=1.25,z="PSPDFKit-Root",T="PSPDFKit-Shadow-Portal",O=36,I=32,F=5,M=0,R=1,j=96/72,B=5e3,N={LOW:75/72,MEDIUM:150/72,HIGH:300/72},L=2/3,K=595,V=842,q=50,H=96,Z=300,U=1e3,$=4.25,G=2,W=10,X=16383,Y=4,Q=250,J={thumbnailMinSize:Q/2,thumbnailMaxSize:Q+1.5*Q,thumbnailDefaultSize:Q}},31442:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>d,ZP:()=>g,hD:()=>m});var r=n(96156),o=n(35369),i=n(60379),a=n(4715),s=n(42370);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;tObject.keys(e).filter((t=>!h.includes(t)&&null!=e[t])).reduce(((t,n)=>(t[n]=e[n],t)),{});for(const e in d){const t=c[e];Object.getPrototypeOf(t)===a.UX?d[e]=f(u(u({},a.UX.defaultValues),t.defaultValues)):Object.getPrototypeOf(t)===a.On?d[e]=f(u(u({},a.On.defaultValues),t.defaultValues)):d[e]=f(t.defaultValues)}for(const e in p){const t=c[e];Object.getPrototypeOf(t)===a.UX?p[e]=f(u(u(u({},a.UX.defaultValues),t.defaultValues),p[e])):Object.getPrototypeOf(t)===a.On?p[e]=f(u(u(u({},a.On.defaultValues),t.defaultValues),p[e])):p[e]=f(u(u({},t.defaultValues),p[e]))}const m=(0,o.D5)([[a.FV,"highlight"],[a.xu,"underline"],[a.hL,"squiggle"],[a.R9,"strikeout"]]),g=(0,o.D5)(u(u({},d),p))},74750:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,Z:()=>a});var r=n(35369),o=n(4715);const i=[o.Xs,o.FV,o.sK,o.Zc,o.o9,o.Qi,o.Hi,o.om,o.b3,o.hL,o.GI,o.R9,o.gd,o.xu,o.x_],a=(0,r.d0)(i)},24126:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>o});var r=n(35369);const o=[{type:"cancel"},{type:"selected-pages"},{type:"spacer"},{type:"loading-indicator"},{type:"save-as"},{type:"save"}],i=(0,r.d0)(o)},18009:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,Z:()=>i});var r=n(35369);const o=[{type:"add"},{type:"remove"},{type:"duplicate"},{type:"rotate-left"},{type:"rotate-right"},{type:"move"},{type:"move-left"},{type:"move-right"},{type:"import-document"},{type:"extract-pages"},{type:"spacer"},{type:"undo"},{type:"redo"},{type:"select-all"},{type:"select-none"},{type:"zoom-out"},{type:"zoom-in"}],i=(0,r.d0)(o)},38246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4715);const o=Object.freeze([r.Xs,r.FV,r.sK,r.Zc,r.o9,r.Qi,r.Hi,r.om,r.b3,r.Wk,r.hL,r.GI,r.R9,r.gd,r.x_,r.xu,r.Jn,r.R1].filter(Boolean))},66013:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(60379);const o=new r.Z({r:70,g:54,b:227}),i={color:r.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},a=[{color:r.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}},i,{color:o,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}}]},57712:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(91105);const o=Object.freeze([r.M.DRAW,r.M.IMAGE,r.M.TYPE])},58342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2282);const o=Object.freeze([new r.Z({name:"Caveat"}),new r.Z({name:"Pacifico"}),new r.Z({name:"Marck Script"}),new r.Z({name:"Meddon"})])},41390:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(4715),o=n(36691);const i=n(98179).Ni?396:240,a=new o.Z({width:i,height:i/3,left:0,top:0}),s=new o.Z({width:i,height:i,left:0,top:0}),l=Object.freeze([["Approved",a],["NotApproved",a],["Draft",a],["Final",a],["Completed",a],["Confidential",a],["ForPublicRelease",a],["NotForPublicRelease",a],["ForComment",a],["Void",a],["PreliminaryResults",a],["InformationOnly",a],["Rejected",s],["Accepted",s],["InitialHere",a],["SignHere",a],["Witness",a],["AsIs",a],["Departmental",a],["Experimental",a],["Expired",a],["Sold",a],["TopSecret",a],["Revised",a],["RejectedWithText",a]].map((e=>{let[t,n]=e;return new r.GI({stampType:t,boundingBox:n})})))},73417:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o,_o:()=>i});const r=[{type:"sidebar-thumbnails"},{type:"sidebar-document-outline"},{type:"sidebar-annotations"},{type:"sidebar-bookmarks"},{type:"sidebar-signatures"},{type:"sidebar-layers"},{type:"pager"},{type:"multi-annotations-selection"},{type:"pan"},{type:"zoom-out"},{type:"zoom-in"},{type:"zoom-mode"},{type:"spacer"},{type:"annotate"},{type:"ink"},{type:"highlighter"},{type:"text-highlighter"},{type:"ink-eraser"},{type:"signature"},{type:"image"},{type:"stamp"},{type:"note"},{type:"text"},{type:"callout"},{type:"line"},{type:"link"},{type:"arrow"},{type:"rectangle"},{type:"ellipse"},{type:"polygon"},{type:"cloudy-polygon"},{type:"polyline"},{type:"print"},{type:"document-editor"},{type:"document-crop"},{type:"search"},{type:"export-pdf"},{type:"debug"}],o=(0,n(35369).d0)(r),i=[...r.map((e=>e.type)),"layout-config","marquee-zoom","custom","responsive-group","comment","redact-text-highlighter","redact-rectangle","cloudy-rectangle","dashed-rectangle","cloudy-ellipse","dashed-ellipse","dashed-polygon","document-comparison","measure","undo","redo","form-creator","content-editor","distance","perimeter","rectangle-area","ellipse-area","polygon-area","document-assistant"]},59980:(e,t,n)=>{"use strict";n.d(t,{m:()=>v});var r=n(42731),o=n(67294),i=n(33241),a=n(22122),s=n(86233),l=n(67366),u=n(10983);const c=e=>{let{children:t,modalProps:n,modalContentProps:r,dialogProps:i}=e;const c=(0,l.v9)((e=>e.frameWindow)),d=(0,l.v9)((e=>e.shadowRoot));return o.createElement(s.Modal,(0,a.Z)({isOpen:!0},n),o.createElement(s.ModalContent,(0,a.Z)({portalContainer:(null==d?void 0:d.querySelector(`.${u.fV}`))||(null==c?void 0:c.document.body)||void 0},r),o.createElement(s.Dialog,(0,a.Z)({variant:"ghost"},i,{className:"PSPDFKit-Modal-Dialog"}),t)))};var d,p=n(85816),h=n(56479);const f={enableDrawer:!0},m={from:{opacity:0,transform:"translateX(10px)"},enter:{opacity:1,transform:"translateX(0px)"},leave:{opacity:0,transform:"translateX(10px)"}},g=e=>{let{titleId:t,onCloseRequest:n,children:r,toolbarsHeight:i,isOpen:a}=e;const{formatMessage:l}=(0,s.useI18n)(),u=(0,s.useDevice)(),g=(0,o.useMemo)((()=>({"aria-labelledby":t})),[t]),v=(0,o.useMemo)((()=>({onOpenChange:n})),[n]);return"mobile"===u?o.createElement(c,{dialogProps:g,modalProps:v,modalContentProps:f},r):o.createElement(s.Transition,{isMounted:a,transitions:m,className:(0,p.Kj)({borderRadius:"md",borderColor:"border.medium",backgroundColor:"background.primary.subtle",borderStyle:"solid",borderWidth:1,boxShadow:"medium",position:"absolute",display:"flex",flexDirection:"column"}),style:{width:320,top:`calc(${null!=i?i:0}px + ${p.themeVars.spacing.xl})`,bottom:p.themeVars.spacing.xl,right:p.themeVars.spacing.xl,zIndex:1}},o.createElement(s.Box,{width:"full",display:"flex",alignItems:"center",paddingLeft:"lg",paddingRight:"sm",paddingY:"sm"},o.createElement(s.Text,{type:"title",size:"sm",id:t},l("chat")),d||(d=o.createElement(s.Box,{flex:1})),o.createElement(s.ActionIconButton,{icon:h.aM,size:"md",variant:"secondary",onPress:n,"aria-label":l("close")})),o.createElement(s.Separator,{style:{backgroundColor:p.themeVars.color.border.medium}}),r)},v={[i.x.SignaturesList]:e=>({content:o.createElement(r.$H,e.props),decorator:t=>{const n=(0,o.useMemo)((()=>({size:"lg","aria-labelledby":e.props.titleId})),[]),r=(0,o.useMemo)((()=>({onOpenChange:e.props.onCancel})),[]);return o.createElement(c,{dialogProps:n,modalProps:r},t)}}),[i.x.CreateSignature]:e=>({content:o.createElement(r.lQ,e.props),decorator:t=>{const n=(0,o.useMemo)((()=>({size:"lg","aria-labelledby":e.props.titleId})),[]),r=(0,o.useMemo)((()=>({onOpenChange:e.props.onCloseRequest})),[]);return o.createElement(c,{dialogProps:n,modalProps:r},t)}}),[i.x.StampsList]:e=>({content:o.createElement(r.Sq,e.props),decorator:t=>{const n=(0,o.useMemo)((()=>({"aria-labelledby":e.props.titleId})),[]),r=(0,o.useMemo)((()=>({onOpenChange:e.props.onCancel})),[]),i=(0,o.useMemo)((()=>({disableAnimation:!0})),[]);return o.createElement(c,{dialogProps:n,modalProps:r,modalContentProps:i},t)}}),[i.x.CreateStamp]:e=>({content:o.createElement(r.t7,e.props),decorator:t=>{const n=(0,o.useMemo)((()=>({"aria-labelledby":e.props.titleId})),[]),r=(0,o.useMemo)((()=>({onOpenChange:e.props.onCloseRequest})),[]),i=(0,o.useMemo)((()=>({disableAnimation:!0})),[]);return o.createElement(c,{dialogProps:n,modalProps:r,modalContentProps:i},t)}}),[i.x.ChatDialog]:e=>({content:o.createElement(r.VY,e.props),decorator:t=>{const{onCloseRequest:n,toolbarsHeight:r,titleId:i,isOpen:a}=e.props;return o.createElement(g,{isOpen:a,titleId:i,onCloseRequest:n,toolbarsHeight:r},t)}})}},72113:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(67366),o=n(86998);const i=(0,r.$j)((function(e,t){var n;let{restoreOnClose:r=!0}=t;const o=null===(n=e.frameWindow)||void 0===n?void 0:n.document;return{restoreOnCloseElement:r?null!=o&&o.hasFocus()?o.activeElement&&"function"==typeof o.activeElement.focus?o.activeElement:o.body:document.activeElement:null}}))(o.u_)},46302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(67366),o=n(96156),i=n(67294);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class s extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"elRef",i.createRef()),(0,o.Z)(this,"state",{styles:this._calculatePositionStyles()})}_calculatePositionStyles(){var e,t;const{referenceElement:n,horizontalAlignment:r,isRTL:o}=this.props,{containerRect:i,offsets:a}=this.props,s=null!==(e=null==a?void 0:a.top)&&void 0!==e?e:0,l=this.elRef.current,u=n?n.getBoundingClientRect():null,c=l?l.getBoundingClientRect():null,d=null===(t=this.elRef.current)||void 0===t?void 0:t.getRootNode(),p=d instanceof ShadowRoot?d.host.getBoundingClientRect():{top:0,left:0};let h=u?u.top+u.height-p.top:0;if(c&&u&&u.top+u.height+c.height>i.height+i.top&&(h=u.top-p.top>0?Math.max(0,u.top-c.height-p.top):u.top-p.top+u.height),!l||!u)return{top:h+s,left:"auto",right:"auto"};if(l.offsetWidth>i.width)return{top:h+s,left:0,right:0};const f=o?"right":"left",m=o?"left":"right";let g="left"===f?u.left-p.left:u.right-p.left;switch(r){case"center":g-=(l.offsetWidth-u.width)/2;break;case"end":g-=l.offsetWidth-u.width}return g<0?{top:h+s,[f]:0,[m]:"auto"}:g+l.offsetWidth>i.width?{top:h+s,[m]:0,[f]:"auto"}:"auto"===r&&g>i.width/2?{top:h+s,[f]:g-l.offsetWidth+u.width,[m]:"auto"}:{top:h+s,[f]:g,[m]:"auto"}}componentDidUpdate(e){(e.containerRect!==this.props.containerRect||this.props.measure&&!e.measure)&&this.setState({styles:this._calculatePositionStyles()})}componentDidMount(){this.setState({styles:this._calculatePositionStyles()})}render(){const{children:e}=this.props,t=function(e){for(var t=1;t({containerRect:e.containerRect})))(s)},93767:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});const r={START:"START",END:"END"}},47120:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});const r={IMMEDIATE:"IMMEDIATE",INTELLIGENT:"INTELLIGENT",DISABLED:"DISABLED"}},3792:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r={normal:"normal",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten",colorDodge:"colorDodge",colorBurn:"colorBurn",hardLight:"hardLight",softLight:"softLight",difference:"difference",exclusion:"exclusion"}},3888:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});const r={solid:"solid",dashed:"dashed",beveled:"beveled",inset:"inset",underline:"underline"}},60679:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});const r={SIDEBAR:"SIDEBAR",PANE:"PANE"}},30874:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r={TEXT:"text"}},14178:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});const r={PASSWORD_REQUIRED:"PASSWORD_REQUIRED",CONNECTING:"CONNECTING",CONNECTED:"CONNECTED",CONNECTION_FAILED:"CONNECTION_FAILED"}},79112:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r={documentA:"documentA",documentB:"documentB",result:"result"}},7202:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r={USE_OPEN_DOCUMENT:"USE_OPEN_DOCUMENT",USE_FILE_DIALOG:"USE_FILE_DIALOG"}},62083:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,Z:()=>u});var r=n(96156),o=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;ta(a({},e),{},{[t]:!0})),{});class u extends((0,o.WV)(l)){}},91105:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r={DRAW:"DRAW",IMAGE:"IMAGE",TYPE:"TYPE"}},76934:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r={DEFAULT:"DEFAULT",EXTERNAL:"EXTERNAL",HISTORY:"HISTORY"}},25673:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r={POINT:"POINT",STROKE:"STROKE"}},48625:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={TEXT_HIGHLIGHTER:"TEXT_HIGHLIGHTER",INK:"INK",INK_SIGNATURE:"INK_SIGNATURE",SIGNATURE:"SIGNATURE",STAMP_PICKER:"STAMP_PICKER",STAMP_CUSTOM:"STAMP_CUSTOM",SHAPE_LINE:"SHAPE_LINE",SHAPE_RECTANGLE:"SHAPE_RECTANGLE",SHAPE_ELLIPSE:"SHAPE_ELLIPSE",SHAPE_POLYGON:"SHAPE_POLYGON",SHAPE_POLYLINE:"SHAPE_POLYLINE",INK_ERASER:"INK_ERASER",NOTE:"NOTE",COMMENT_MARKER:"COMMENT_MARKER",TEXT:"TEXT",CALLOUT:"CALLOUT",PAN:"PAN",SEARCH:"SEARCH",DOCUMENT_EDITOR:"DOCUMENT_EDITOR",MARQUEE_ZOOM:"MARQUEE_ZOOM",REDACT_TEXT_HIGHLIGHTER:"REDACT_TEXT_HIGHLIGHTER",REDACT_SHAPE_RECTANGLE:"REDACT_SHAPE_RECTANGLE",DOCUMENT_CROP:"DOCUMENT_CROP",BUTTON_WIDGET:"BUTTON_WIDGET",TEXT_WIDGET:"TEXT_WIDGET",RADIO_BUTTON_WIDGET:"RADIO_BUTTON_WIDGET",CHECKBOX_WIDGET:"CHECKBOX_WIDGET",COMBO_BOX_WIDGET:"COMBO_BOX_WIDGET",LIST_BOX_WIDGET:"LIST_BOX_WIDGET",SIGNATURE_WIDGET:"SIGNATURE_WIDGET",DATE_WIDGET:"DATE_WIDGET",FORM_CREATOR:"FORM_CREATOR",LINK:"LINK",DISTANCE:"DISTANCE",PERIMETER:"PERIMETER",RECTANGLE_AREA:"RECTANGLE_AREA",ELLIPSE_AREA:"ELLIPSE_AREA",POLYGON_AREA:"POLYGON_AREA",CONTENT_EDITOR:"CONTENT_EDITOR",MULTI_ANNOTATIONS_SELECTION:"MULTI_ANNOTATIONS_SELECTION",MEASUREMENT:"MEASUREMENT",MEASUREMENT_SETTINGS:"MEASUREMENT_SETTINGS"}},14286:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r={SINGLE:"SINGLE",DOUBLE:"DOUBLE",AUTO:"AUTO"}},44550:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r={ANNOTATION_EDITING:"annotation_editing",FORMS:"acro_forms",DIGITAL_SIGNATURES:"digital_signatures",DOCUMENT_COMPARISON:"comparison",DOCUMENT_EDITING:"document_editing",WEB_VIEWER:"web:viewer",WEB_ANNOTATION_EDITING:"web:annotation_editing",INSTANT:"instant",SERVER_OPT_OUT_ANALYTICS:"server:disable-analytics",UI:"user_interface",TEXT_SELECTION:"text_selection",ELECTRON:"web:electron",FORM_DESIGNER:"editable_forms",COMMENTS:"comments",REDACTIONS:"redaction",ELECTRONIC_SIGNATURES:"electronic_signatures",CONTENT_EDITING:"content_editing",MEASUREMENT_TOOLS:"measurement_tools",TEXT_COMPARISON:"text_comparison",IMAGE_DOCUMENT:"image_document",OCR:"ocr",PDF_A:"pdfa",COMPRESSION:"compression",IMAGE_CINVERSION:"image_conversion",LIBREOFFICE_WORD:"libreoffice_word",LINEARIZATION:"linearization",PDF_GENERATION:"pdf_generation",DOCUMENT_ASSISTANT:"document_assistant"}},42370:(e,t,n)=>{"use strict";n.d(t,{a:()=>o,u:()=>r});const r={square:"square",circle:"circle",diamond:"diamond",openArrow:"openArrow",closedArrow:"closedArrow",butt:"butt",reverseOpenArrow:"reverseOpenArrow",reverseClosedArrow:"reverseClosedArrow",slash:"slash"},o=Object.values(r)},97281:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r={WHOLE:"whole",ONE:"oneDp",TWO:"twoDp",THREE:"threeDp",FOUR:"fourDp",HALVES:"1/2",QUARTERS:"1/4",EIGHTHS:"1/8",SIXTEENTHS:"1/16"}},94327:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt"}},1385:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});const r={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt",FEET:"ft",METERS:"m",YARDS:"yd",KILOMETERS:"km",MILES:"mi"}},60790:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});const r={FORM_DESIGNER_ERROR:"FORM_DESIGNER_ERROR",MEASUREMENT_ERROR:"MEASUREMENT_ERROR"}},59062:(e,t,n)=>{"use strict";n.d(t,{V9:()=>i,Y4:()=>o,Zi:()=>r});const r={COMMENT:"COMMENT",RIGHT_POINTER:"RIGHT_POINTER",RIGHT_ARROW:"RIGHT_ARROW",CHECK:"CHECK",CIRCLE:"CIRCLE",CROSS:"CROSS",INSERT:"INSERT",NEW_PARAGRAPH:"NEW_PARAGRAPH",NOTE:"NOTE",PARAGRAPH:"PARAGRAPH",HELP:"HELP",STAR:"STAR",KEY:"KEY"},o={[r.COMMENT]:"comment",[r.RIGHT_POINTER]:"rightPointer",[r.RIGHT_ARROW]:"rightArrow",[r.CHECK]:"check",[r.CIRCLE]:"circle",[r.CROSS]:"cross",[r.INSERT]:"insert",[r.NEW_PARAGRAPH]:"newParagraph",[r.NOTE]:"note",[r.PARAGRAPH]:"paragraph",[r.HELP]:"help",[r.STAR]:"star",[r.KEY]:"key"},i=Object.keys(o).reduce(((e,t)=>(e[o[t]]=t,e)),{})},11267:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});const r={docx:"docx",xlsx:"xlsx",pptx:"pptx"}},74311:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});const r={PDFA_1A:"pdfa-1a",PDFA_1B:"pdfa-1b",PDFA_2A:"pdfa-2a",PDFA_2U:"pdfa-2u",PDFA_2B:"pdfa-2b",PDFA_3A:"pdfa-3a",PDFA_3U:"pdfa-3u",PDFA_3B:"pdfa-3b",PDFA_4:"pdfa-4",PDFA_4E:"pdfa-4e",PDFA_4F:"pdfa-4f"}},70025:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r={DOM:"DOM",EXPORT_PDF:"EXPORT_PDF"}},26637:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});const r={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"}},15650:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r={smallerSize:"smallerSize",fasterProcessing:"fasterProcessing"}},33383:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});const r={SharePoint:"SharePoint",Salesforce:"Salesforce",Maui_Android:"Maui_Android",Maui_iOS:"Maui_iOS",Maui_MacCatalyst:"Maui_MacCatalyst",Maui_Windows:"Maui_Windows",FlutterForWeb:"FlutterForWeb",Electron:"Electron"}},28233:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});let r=function(e){return e.NO="NO",e.VIA_VIEW_STATE="VIA_VIEW_STATE",e.VIA_BACKEND_PERMISSIONS="VIA_BACKEND_PERMISSIONS",e.LICENSE_RESTRICTED="LICENSE_RESTRICTED",e}({})},33241:(e,t,n)=>{"use strict";n.d(t,{l:()=>o,x:()=>i});var r=n(42731);const o={SignaturesList:r.$H,CreateSignature:r.lQ,StampsList:r.Sq,CreateStamp:r.t7,ChatDialog:r.VY},i=Object.fromEntries(Object.entries(o).map((e=>{let[t]=e;return[t,t]})))},74814:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r={TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT",BOTTOM_RIGHT:"BOTTOM_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT"}},2464:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={CONTINUOUS:"CONTINUOUS",PER_SPREAD:"PER_SPREAD",DISABLED:"DISABLED"}},5709:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});const r={CREDIT_CARD_NUMBER:"credit_card_number",DATE:"date",TIME:"time",EMAIL_ADDRESS:"email_address",INTERNATIONAL_PHONE_NUMBER:"international_phone_number",IP_V4:"ipv4",IP_V6:"ipv6",MAC_ADDRESS:"mac_address",NORTH_AMERICAN_PHONE_NUMBER:"north_american_phone_number",SOCIAL_SECURITY_NUMBER:"social_security_number",URL:"url",US_ZIP_CODE:"us_zip_code",VIN:"vin"}},96650:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r={TEXT:"text",PRESET:"preset",REGEX:"regex"}},54103:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});const r={SELECTED:"SELECTED",EDITING:"EDITING"}},13349:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r={IF_SIGNED:"IF_SIGNED",HAS_WARNINGS:"HAS_WARNINGS",HAS_ERRORS:"HAS_ERRORS",NEVER:"NEVER"}},27122:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r={ANNOTATIONS:"ANNOTATIONS",BOOKMARKS:"BOOKMARKS",DOCUMENT_OUTLINE:"DOCUMENT_OUTLINE",THUMBNAILS:"THUMBNAILS",SIGNATURES:"SIGNATURES",LAYERS:"LAYERS",CUSTOM:"CUSTOM"}},65369:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={START:"START",END:"END"}},39684:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});const r={signatureOnly:"signatureOnly",signatureAndDescription:"signatureAndDescription",descriptionOnly:"descriptionOnly"}},20063:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});const r={ELECTRONIC_SIGNATURES:"electronic_signatures",LEGACY_SIGNATURES:"legacy_signatures",NONE:"none"}},97586:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r={ALWAYS:"ALWAYS",NEVER:"NEVER",USING_UI:"USING_UI"}},8898:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r={LIGHT:"LIGHT",DARK:"DARK",AUTO:"AUTO"}},13264:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r={TOP:"TOP",BOTTOM:"BOTTOM"}},35062:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});const r={COMMENT_THREAD:"COMMENT_THREAD",ANNOTATIONS_SIDEBAR:"ANNOTATIONS_SIDEBAR"}},81777:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={AUTO:"AUTO",FIT_TO_WIDTH:"FIT_TO_WIDTH",FIT_TO_VIEWPORT:"FIT_TO_VIEWPORT",CUSTOM:"CUSTOM"}},21753:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>h,sS:()=>p,z5:()=>d});var r=n(79724),o=n(9792),i=n.n(o),a=n(86105),s=n(68944),l=n(94809);const u=(0,r.Z)("I18n"),c=e=>e.split("-")[0],d=e=>{let t=e;return i().includes(t)||(t=c(t),u(i().includes(t),`The "${t}" locale is not supported. Available locales are: ${i().join(", ")}. You can also add "${t}" as a custom one with PSPDFKit.I18n.locales.push('${t}')`)),t};async function p(e){await(0,a.EV)(e),await(0,a.wP)(c(e))}const h={locales:i(),messages:a.ZP,preloadLocalizationData:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t.baseUrl&&(0,l.Pn)(t.baseUrl);const r=t.baseUrl||(0,s.SV)(window.document);n.p=r;const o=d(e);await p(o)}}},9792:e=>{e.exports=["cs","cy","da","de","el","en-GB","en","es","fi","fr-CA","fr","hr","id","it","ja","ko","ms","nb-NO","nl","pl","pt-PT","pt","ru","sk","sl","sv","th","tr","uk","zh-Hans","zh-Hant"]},86105:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,wP:()=>c,EV:()=>u});var r=n(79724),o=n(8514);const i={cs:()=>n.e(3005).then(n.t.bind(n,74531,23)),cy:()=>n.e(7050).then(n.t.bind(n,42673,23)),da:()=>n.e(752).then(n.t.bind(n,27645,23)),de:()=>n.e(8869).then(n.t.bind(n,18675,23)),el:()=>n.e(1882).then(n.t.bind(n,67657,23)),en:()=>n.e(5014).then(n.t.bind(n,39818,23)),es:()=>n.e(1252).then(n.t.bind(n,56927,23)),fi:()=>n.e(5528).then(n.t.bind(n,24521,23)),fr:()=>n.e(1145).then(n.t.bind(n,18712,23)),hr:()=>n.e(9677).then(n.t.bind(n,2471,23)),id:()=>n.e(5192).then(n.t.bind(n,73772,23)),it:()=>n.e(3424).then(n.t.bind(n,3340,23)),ja:()=>n.e(4728).then(n.t.bind(n,88245,23)),ko:()=>n.e(1089).then(n.t.bind(n,9077,23)),ms:()=>n.e(1518).then(n.t.bind(n,49939,23)),nb:()=>n.e(2279).then(n.t.bind(n,12788,23)),nl:()=>n.e(9486).then(n.t.bind(n,93550,23)),pl:()=>n.e(6523).then(n.t.bind(n,46751,23)),pt:()=>n.e(4932).then(n.t.bind(n,67822,23)),ru:()=>n.e(1385).then(n.t.bind(n,93258,23)),sk:()=>n.e(1077).then(n.t.bind(n,67726,23)),sl:()=>n.e(1277).then(n.t.bind(n,71817,23)),sv:()=>n.e(2727).then(n.t.bind(n,85361,23)),th:()=>n.e(1063).then(n.t.bind(n,74418,23)),tr:()=>n.e(9384).then(n.t.bind(n,27097,23)),uk:()=>n.e(1843).then(n.t.bind(n,98621,23)),zh:()=>n.e(4072).then(n.t.bind(n,99577,23))},a=(0,r.Z)("I18n"),s={},l=s;async function u(e){if(!(e in s))try{const t=await o.o[e]();s[e]=t.default}catch(t){a(!1,`Cannot find translations for "${e}". Please retry or add them manually to PSPDFKit.I18n.messages["${e}"]`)}return s[e]}async function c(e){if(i[e])try{await i[e]()}catch(t){a(!1,`Cannot find locale data for "${e}". Please retry or contact support for further assistance.`)}}},8514:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});const r={cs:()=>n.e(3579).then(n.t.bind(n,46984,19)),cy:()=>n.e(7578).then(n.t.bind(n,50706,19)),da:()=>n.e(1139).then(n.t.bind(n,32156,19)),de:()=>n.e(1009).then(n.t.bind(n,47875,19)),el:()=>n.e(1323).then(n.t.bind(n,87908,19)),"en-GB":()=>n.e(6045).then(n.t.bind(n,29207,19)),en:()=>n.e(1874).then(n.t.bind(n,70840,19)),es:()=>n.e(473).then(n.t.bind(n,59657,19)),fi:()=>n.e(9390).then(n.t.bind(n,5317,19)),"fr-CA":()=>n.e(2916).then(n.t.bind(n,76215,19)),fr:()=>n.e(3360).then(n.t.bind(n,28435,19)),hr:()=>n.e(157).then(n.t.bind(n,24733,19)),id:()=>n.e(9726).then(n.t.bind(n,33615,19)),it:()=>n.e(8839).then(n.t.bind(n,24068,19)),ja:()=>n.e(3463).then(n.t.bind(n,87854,19)),ko:()=>n.e(1168).then(n.t.bind(n,23980,19)),ms:()=>n.e(1391).then(n.t.bind(n,48853,19)),"nb-NO":()=>n.e(4966).then(n.t.bind(n,16844,19)),nl:()=>n.e(5677).then(n.t.bind(n,14314,19)),pl:()=>n.e(4899).then(n.t.bind(n,16365,19)),"pt-PT":()=>n.e(5431).then(n.t.bind(n,55910,19)),pt:()=>n.e(517).then(n.t.bind(n,7638,19)),ru:()=>n.e(8057).then(n.t.bind(n,21652,19)),sk:()=>n.e(9971).then(n.t.bind(n,57298,19)),sl:()=>n.e(5595).then(n.t.bind(n,33943,19)),sv:()=>n.e(6530).then(n.t.bind(n,99649,19)),th:()=>n.e(5666).then(n.t.bind(n,81446,19)),tr:()=>n.e(407).then(n.t.bind(n,18141,19)),uk:()=>n.e(3095).then(n.t.bind(n,76911,19)),"zh-Hans":()=>n.e(6678).then(n.t.bind(n,47224,19)),"zh-Hant":()=>n.e(7579).then(n.t.bind(n,58372,19))}},88221:(e,t,n)=>{e.exports=n(7409).default},79685:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});class r{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.events=e,this.listeners={}}on(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)}off(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);const n=this.listeners[e]||[];n.forEach(((e,r)=>{e===t&&n.splice(r,1)})),0===n.length&&delete this.listeners[e]}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{e.call(null,...n)}))}supportsEvent(e){return 0===this.events.length||-1!==this.events.indexOf(e)}}},28018:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(96156),o=n(35369),i=n(7654),a=n(47120),s=n(96326);class l{constructor(e,t){(0,r.Z)(this,"localFormFieldsMapping",(0,o.D5)()),(0,r.Z)(this,"onCreate",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.set(e.id,e.name)})),(0,r.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,r.Z)(this,"onDelete",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.delete(e.id)})),this.formFieldProvider=e,this.localFormFieldCallbacks=t}createBackendObject(e){return this.formFieldProvider.createFormField(e)}updateBackendObject(e){return this.formFieldProvider.updateFormField(e)}deleteBackendObject(e){return this.formFieldProvider.deleteFormField(e)}createStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.createFormFields(e)}updateStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.updateFormFields(e)}deleteStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localFormFieldCallbacks.deleteFormFields(e)}validateObject(e){if(!e.name||"string"!=typeof e.name||!e.id||"string"!=typeof e.id)return!1;try{return(0,i.Gu)(e),!0}catch(e){return!1}}getObjectById(e){const t=this.localFormFieldsMapping.get(e);return t?this.localFormFieldCallbacks.getFormFieldByName(t):null}getObjectId(e){return e.id}refresh(){this.localFormFieldCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldProvider.syncChanges()}}class u extends s.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new l(e,t),n,o),(0,r.Z)(this,"loadFormFields",function(){let e=null;return async function(){e||(e=this.formFieldProvider.loadFormFields()),await e}}()),this.formFieldProvider=e}}},9933:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,V:()=>s});var r=n(96156),o=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{Object.defineProperty(n,e,{get(){return this.get(e)},set(t){this.set(e,t)}})}))}class l extends((0,o.WV)({})){constructor(e){super(e)}}},32249:(e,t,n)=>{"use strict";n.d(t,{mH:()=>h,ZP:()=>v,il:()=>g});var r=n(96156),o=n(35369),i=n(77017),a=n(15359);function s(e,t){const n=t.record_rev,r=e.stagedRecordsChanges;if((0,a.kG)("number"==typeof n&&n>=0,"Tried to apply changes but the server responded with no `record_rev`"),(0,a.kG)(n>=e.localRecordsRev,"The server revision number is lower than the current one."),n<=e.localRecordsRev)return e;(0,a.kG)("number"==typeof t.previous_record_rev,"The payload must have a `previous_record_rev`"),(0,a.kG)(t.previous_record_rev>=e.localRecordsRev,"The payload's `previous_record_rev` is unknown to us, this means we missed out on changes.");let i=0;const s=e.requiredAttachmentIds;let l=(0,o.l4)(),u=(0,o.aV)();const c=[],d=e.localRecordsContents.withMutations((e=>{let n;n={accepted:{created:t=>{let{id:n,permissions:o,group:s,isAnonymous:l}=t;(0,a.kG)(!e.has(n),"There's already a record with the newly created record id");const u=r.find((e=>e.id===n));if(!u)return;u.resolve(null);const{content:c}=u;e.set(n,{content:c,permissions:o,group:s,isAnonymous:l}),i++},updated:t=>{let{id:n,permissions:o,group:s,isAnonymous:l}=t;(0,a.kG)(e.has(n),"Tried to update a record that is not present");const u=r.find((e=>e.id===n));if(!u)return;u.resolve(!0);const{content:c}=u;e.set(n,{content:c,permissions:o,group:s,isAnonymous:l}),i++},deleted:t=>{(0,a.kG)(e.has(t),"Tried to delete a record that is not present");const n=r.find((e=>e.id===t));n&&(n.resolve(!0),e.delete(t),i++)}},rejected:(e,t)=>{let[n,o]=t;const d=r.find((e=>e.id===n));if(d)switch(i++,o){case"conflict":d.reject(new a.p2("The server rejected the change due to a conflict")),"created"!==e&&c.push(n);break;case"attachment_not_found":{const e=Object.keys(d.attachments),t=!s.intersect(e).isEmpty();if(d.attachments&&!t&&Object.keys(d.attachments).length>0){l=l.union(Object.keys(d.attachments)),u=u.push(d);break}}default:d.reject(new a.p2("The server rejected the change")),"created"!==e&&c.push(n)}},changes:{created:t=>{(0,a.kG)(!e.has(t.id),"The change set tried to add a record that is already present");const{content:n,permissions:r,group:o,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:r,group:o,isAnonymous:i})},updated:t=>{(0,a.kG)(e.has(t.id),`The change set tried to update a record with id ${t.id} that was not present`);const{content:n,permissions:r,group:o,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:r,group:o,isAnonymous:i}),c.push(t.id)},deleted:t=>{(0,a.kG)(e.has(t),`The change set you tried to delete a record with id ${t} that was not present`),e.delete(t),c.push(t)}}},t.accepted.created.forEach(n.accepted.created),t.accepted.updated.forEach(n.accepted.updated),t.accepted.deleted.forEach(n.accepted.deleted),["created","updated","deleted"].forEach((e=>{Object.entries(t.rejected[e]).forEach((t=>{let r=t[1];"conflict"!==r&&"attachment_not_found"!==r&&(r=null),n.rejected(e,[t[0],r])}))})),t.changes.created.forEach(n.changes.created),t.changes.updated.forEach(n.changes.updated),t.changes.deleted.forEach(n.changes.deleted)}));(0,a.kG)(i===r.size,"Some changes were not processed by the server");const p=function(e,t){const n=e.localRecordsChanges.filter((e=>"created"===e.type||!t.includes(e.id)||(e.reject(new a.p2("Request was cleared because a newer revision arrived.")),!1)));return e.set("localRecordsChanges",n)}(e,(0,o.aV)(c));return p.withMutations((e=>e.set("requiredAttachmentIds",l).update("localRecordsChanges",(e=>e.merge(u))).set("stagedRecordsChanges",(0,o.aV)()).set("localRecordsContents",d).set("localRecordsRev",n)))}class l{constructor(e,t){(0,r.Z)(this,"_currentDelay",0),this._initialDelay=e,this._delayGrowthCap=t,this._currentDelay=e}schedule(e){const t=this._currentDelay;this.cancel(),te()),t)}cancel(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}reset(){this._currentDelay=this._initialDelay,this.cancel()}}var u=n(96723),c=n(74496);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{e._currentRequest&&!e._currentRequestHasChanges&&(e._abortCurrentRequest(),setTimeout((()=>e.nextCycle().catch(console.log)),0))}))}class v{constructor(e){let{getState:t,setState:n,onChanges:o,onAcceptedRecords:i,longPollingTimeout:a=h,backoffTimer:s=new l(1e3,6e4),RequestClass:c=u.Z}=e;(0,r.Z)(this,"onDocumentHandleConflictCallback",(()=>{})),(0,r.Z)(this,"_lastAbortedRequest",null),(0,r.Z)(this,"_handleBeforeUnload",(()=>{this._abortCurrentRequest()})),this._currentRequestHasChanges=!1,this._isDestroyed=!1,this.getState=t,this.setState=n,this.onChangesCallback=o||(()=>{}),this.onAcceptedRecordsCallback=i||(()=>{}),this.RequestClass=c,this._longPollingTimeout=a,this._backoffTimer=s,window.addEventListener("beforeunload",this._handleBeforeUnload),m.add(this)}async nextCycle(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._longPollingTimeout;if(this._isDestroyed)return;if(this._currentRequest&&this._currentRequestHasChanges)return(0,a.kG)(this._currentRequestPromise,"Expected to have request running but no one was ever made."),this._currentRequestPromise;this._currentRequest&&(this._abortCurrentRequest(),this._backoffTimer&&this._backoffTimer.cancel());const r=this.getState(),l=r.localRecordsChanges;this.setState(r.set("localRecordsChanges",(0,o.aV)()).set("stagedRecordsChanges",l));const u=this._createSyncRequest(),d=!l.isEmpty(),h=new Promise(((n,r)=>{e=n,t=r})),m=(0,i.v4)(),g={request_id:m,record_rev:r.localRecordsRev,changes:{created:l.filter((e=>"created"===e.type)).map((e=>{let{id:t,content:n,group:r,isAnonymous:o}=e;const i=n&&"isAnonymous"in n?n.isAnonymous:o;return p(p(p({id:t},"boolean"==typeof i&&{isAnonymous:i}),n&&{content:n}),r&&{group:r})})).toJS(),updated:l.filter((e=>"updated"===e.type)).map((e=>{let{id:t,content:n,group:r,isAnonymous:o}=e;const i=n&&"isAnonymous"in n?n.isAnonymous:o;return p(p(p({id:t},"boolean"==typeof i&&{isAnonymous:i}),n&&{content:n}),r&&{group:r})})).toJS(),deleted:l.filter((e=>"deleted"===e.type)).map((e=>e.id)).toJS()},timeout:d?0:n},v=r.requiredAttachmentIds.isEmpty()?g:function(e,t){const n=new FormData;return n.append("sync",JSON.stringify(e)),t.requiredAttachmentIds.forEach((e=>{var r;n.append(e,null===(r=t.localRecordsChanges.find((t=>t.attachments.hasOwnProperty(e))))||void 0===r?void 0:r.attachments[e])})),n}(g,r);return u.request({method:"POST",data:v}).then((t=>{void 0!==t.request_id&&(0,a.kG)(t.request_id===m,"The response doesn't match the client request ID"),(0,a.kG)(u!==this._lastAbortedRequest,"A manually aborted request still managed to resolve."),(0,a.kG)(u===this._currentRequest,"Expected the resolved request to be the latest created request."),(0,a.kG)(!this._isDestroyed,"The instance is destroyed yet the request managed to resolve.");const n=this.getState(),r=s(n,p(p({},t),{},{previous_record_rev:n.localRecordsRev}));this.setState(r),this._currentRequestHasChanges=!1,this._currentRequest=null,f-=1,e();try{t.record_rev>n.localRecordsRev&&(this.onAcceptedRecordsCallback(t.accepted),this.onChangesCallback(t.changes)),this._scheduleNextCycle(!1,(()=>!r.localRecordsChanges.isEmpty()))}catch(e){throw f+=1,e}})).catch((e=>{if("Outdated layer handle"===e.message&&!this._isDestroyed)return this.onDocumentHandleConflictCallback(),this.destroy(),t();u===this._lastAbortedRequest?t(new a.p2("A manually aborted request still managed to reject.")):u!==this._currentRequest?t(new a.p2("Expected the reject request to be the latest created request.")):this._isDestroyed?t(new a.p2("The instance is destroyed yet the request managed to reject.")):t(new a.p2("Pushing changes failed"+(e&&e.message?`: ${e.message}`:"")));const n=(0,c.n)({oldChanges:l,newChanges:this.getState().localRecordsChanges});this.setState(r.set("localRecordsChanges",n).set("stagedRecordsChanges",(0,o.aV)())),this._currentRequestHasChanges=!1,this._currentRequest=null,f-=1,this._scheduleNextCycle(!0)})),f+=1,f>3&&(0,a.ZK)(`PSPDFKit: detected ${f} open sync requests. This might be due to multiple PSPDFKit for Web instances running in parallel, did you forget to \`unload\` any of them? Due to the browser limit of maximum number of default simultaneous persistent connections per server, this might cause subsequent requests to be queued and processed later which might result in a slowdown for your app.`),this._currentRequest=u,this._currentRequestHasChanges=d,this._currentRequestPromise=h,h}setOnDocumentHandleConflictCallback(e){this.onDocumentHandleConflictCallback=e}destroy(){this._abortCurrentRequest(),window.removeEventListener("beforeunload",this._handleBeforeUnload),this._isDestroyed=!0,m.delete(this)}log(e){(0,a.cM)(e)}_scheduleNextCycle(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0;const n=()=>{this.nextCycle().catch(this.log)};e?this._backoffTimer.schedule(n):(this._backoffTimer.reset(),(this._longPollingTimeout>0||t())&&n())}_createSyncRequest(){const{serverURL:e,authPayload:t}=this.getState().requestInfo;return(0,a.kG)("string"==typeof e,"Cannot call request without serverURL"),(0,a.kG)(t&&"string"==typeof t.auth_token,"Cannot call request without authPayload"),new this.RequestClass(e,t.auth_token)}_abortCurrentRequest(){this._currentRequest&&(f-=1,this._lastAbortedRequest=this._currentRequest,this._currentRequest.abort(),this._currentRequest=null)}}},74496:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(15359);function o(){let{oldChanges:e,newChanges:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e;return t.forEach((e=>{n=i({oldChanges:n,newChange:e})})),n}function i(){let{oldChanges:e,newChange:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t,o=e.filter((e=>{if(e.id===t.id){switch(t.type){case"updated":if("created"===e.type){n=a(e,t.set("type","created"));break}if("updated"===e.type){n=a(e,t);break}case"deleted":if("created"===e.type){e.resolve(),t.resolve(),n=null;break}if("updated"===e.type){n=a(e,t);break}default:e.reject(new r.p2("Request was cleared because a more recent update was queued."))}return!1}return!0}));return n&&(o=o.push(n)),o}function a(e,t){const n=e.resolve,r=t.resolve,o=e.reject,i=t.reject;return t.set("resolve",(e=>{n(e),r(e)})).set("reject",(e=>{o(e),i(e)}))}},2549:(e,t,n)=>{"use strict";n.d(t,{V:()=>o,h:()=>i});var r=n(15359);function o(e,t){let n;return n=e instanceof Error?e:new Error(e),Object.setPrototypeOf(n,o.prototype),n.reason=t,n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new o(n?`Some changes could not be ${t?"synced":"saved"} to backend: ${n}`:`Some changes could not be ${t?"synced":"saved"} to backend.`,e)}o.prototype=Object.create(r.p2.prototype,{name:{value:"PSPDFKitSaveError",enumerable:!1}})},24382:(e,t,n)=>{"use strict";n.d(t,{y:()=>r,z:()=>o});const r=1,o=2},69867:(e,t,n)=>{"use strict";n.d(t,{f:()=>u});var r=n(96156),o=n(35369),i=n(15359),a=n(44077);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;if(this.examples=t,this.customStyles=n,this.document=a?a.ownerDocument:e,this.wrapper=e.createElement("div"),this.wrapper.setAttribute("aria-hidden","true"),this.wrapper.className=r,this._setStyles(this.wrapper,l(l({},u.defaultWrapperStyles),n)),t instanceof o.aV)t.forEach((t=>{const n="string"==typeof t?t:"",r=e.createElement("span");r.setAttribute("aria-hidden","true"),r.style.display="inline-block",r.style.whiteSpace="pre-wrap",r.innerText=n,this.wrapper.appendChild(r)}));else{const e="string"==typeof t?t:"";this.wrapper.innerHTML=e}const s=a||this.document.documentElement;(0,i.kG)(s,"documentElement must not be null"),s.appendChild(this.wrapper)}measure(){const e=a.UL.fromClientRect(this.wrapper.getBoundingClientRect()),t=e.getLocation().scale(-1);return this.examples instanceof o.aV?this.examples.map(((e,n)=>{const r=this.wrapper.childNodes[n];return a.UL.fromClientRect(r.getBoundingClientRect()).translate(t)})):(0,o.aV)([e.translate(t)])}remove(){this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper),this.wrapper=null,this.examples=null}_setStyles(e,t){for(const n in t)e.style[n]=t[n]}}(0,r.Z)(u,"defaultWrapperStyles",Object.freeze({maxWidth:"none",display:"inline-block",position:"absolute",height:"auto",width:"auto",margin:"0",padding:"0",whiteSpace:"nowrap",top:"-10000px",left:"-10000px",fontSize:"80px",fontWeight:"normal"}))},2891:(e,t,n)=>{"use strict";n.d(t,{GA:()=>T,Nk:()=>z,oD:()=>A});var r=n(15359),o=n(35369),i=n(67366),a=n(27856),s=n.n(a),l=n(4715),u=n(45249),c=n(94732),d=n(79724),p=n(41172),h=n(33427),f=n(4087),m=n(51065),g=n(29977),v=n(20993),y=n(5130),b=n(12705),w=n(1858),x=n(72127),D=n(27922),C=n(3888),E=n(21713),S=n(44550);const _=(0,d.Z)("Annotations"),P="The API you're trying to use requires a annotation editing license. Annotation Editing is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/",k="WidgetAnnotation can only be modified if you are using Standalone setup or with Instant turned on. If you are using server backed setup, make sure `instant` is set to `true` in configuration.",A="The API you're trying to use requires a measurement license. Measurement is a component of PSPDFKit for Web and sold separately.";class z extends v.I{constructor(e,t){super(t().annotationManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),o=e.map((e=>{O(n,e,"create");const o=e.id;if("string"==typeof o&&_(!n.annotations.has(o),`Annotation id (${o}) is already used.`),e instanceof l.x_&&t){T(n,e)||_(t.some((t=>t instanceof w.Wi&&t.name===e.formFieldName)),`Widget orphan: The widget annotation can't be created because no form field was found with the name '${e.formFieldName}'. Please ensure that you create the corresponding form field together with the widget via instance.create([widget, formField]).`)}const{annotationCreatorName:i,annotationCreatorNameReadOnly:a}=n;if(e.creatorName&&e.creatorName!==i&&a)throw new r.p2("The annotation creator name is different from the one set on the JWT.");M(e);let s=e.withMutations((t=>{t.merge((0,h.lx)(n.set("currentItemPreset",null))),["name","id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));if(e instanceof l.x_&&e.group)throw new r.p2("If you want to define the `group` of this widget annotation, pass it to the corresponding form field instead. Widget annotations inherit the `group` from their form field.");if(s instanceof l.x_&&(s=s.delete("group")),e instanceof l.x_){const n=this.getState;if((null==t?void 0:t.some((t=>t instanceof w.Wi&&t.name===e.formFieldName)))&&!!T(n(),e))throw new r.p2(`The widget annotation can't be created because the form field it'll be created with has a duplicated form field name '${e.formFieldName}'. Please ensure the form field name is unique.`);setTimeout((()=>{_(s instanceof l.x_,"Expected widget annotation");null==T(n(),s)&&(this.dispatch((0,f.hQ)(s)),(0,r.ZK)(`Widget orphan: The widget annotation has been deleted because no form was field found with the name ${s.formFieldName} after 500ms. Please ensure that once instance.create() resolves, a corresponding form field is created with instance.create(). (See: https://pspdfkit.com/api/web/PSPDFKit.Instance.html#create)`))}),500)}return s=R(s),s}));return this.dispatch((0,f.WL)(o.filter((e=>!(e instanceof Error))))),this.autoSave(),(0,E.s)(o)}async update(e){const t=this.getState(),n=e.map((e=>{var n;O(t,e,"update"),_("string"==typeof e.id,"The annotation you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const o=t.annotations.get(e.id);_(o,"An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),_(!(e instanceof l.sK&&e.imageAttachmentId!==(null===(n=t.annotations.get(e.id))||void 0===n?void 0:n.imageAttachmentId)),"Changing the imageAttachmentId of an annotation is not allowed."),_(t.backend),t.backend.isCollaborationPermissionsEnabled()||e.group===o.group&&e.isEditable===o.isEditable&&e.isDeletable===o.isDeletable&&e.canSetGroup===o.canSetGroup||(e=e.set("group",o.group).set("isEditable",o.isEditable).set("isDeletable",o.isDeletable).set("canSetGroup",o.canSetGroup),(0,r.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(o.delete("group"))&&!(0,x.CM)(o,t))throw new r.p2("You don't have permission to update this annotation.");if(e instanceof l.x_&&e.group!==o.group)throw new r.p2("The `group` property of widget annotations is read only and can't be updated directly. If you want to do that you should update the `group` property of the connected form field and this annotation will inherit that `group`.");if(e.group!==o.group&&!(0,x.uW)(o,t))throw new r.p2("You don't have permission to update the `group` of this annotation.");if(e.isEditable!==o.isEditable||e.isDeletable!==o.isDeletable||e.canSetGroup!==o.canSetGroup)throw new r.p2("You can't update `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==o.creatorName&&t.annotationCreatorNameReadOnly)throw new r.p2("You can't change the creatorName of an annotation if it was already set on the JWT.");const i=(e=R(e)).set("updatedAt",new Date);return M(i),i}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,f.FG)(e))})),this.autoSave()})),(0,E.s)(n)}async delete(e){const t=this.getState(),n=e.map((e=>{O(t,e,"delete");const n=t.annotations.get(e.id);if(_(n,`No annotation with id ${e.id} found.`),!(0,x.Kd)(n,t))throw new r.p2("You don't have permission to delete this annotation.");return e}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,f.hQ)(e))})),this.autoSave()})),(0,E.s)(n)}async ensureChangesSaved(e){_("string"==typeof e.id,"The annotation you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{annotationManager:t}=this.getState();return _(t),await t.ensureObjectSaved(e)}async getObjectById(e){_("string"==typeof e,"The supplied id is not a valid id.");const{annotations:t,features:n}=this.getState();return(0,b.Vz)(n)?t.get(e):null}}function T(e,t){const n=e.annotations.get(t.id);let r=t.formFieldName;return null!=n&&null!=n.formFieldName&&(r=n.formFieldName),null!=r?e.formFields.get(r):null}function O(e,t,n){const{features:o}=e;if(!(0,b.Vz)(o)){if(!(t instanceof u.Zc||t instanceof l.sK))throw new r.p2(`Annotations: ${P}`);if(!0===t.isSignature&&!o.includes(S.q.ELECTRONIC_SIGNATURES))throw new r.p2("Annotations: The API you're trying to use requires either an electronic signatures or annotation editing license. Electronic Signatures and Annotation Editing are components of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/");if(!t.isSignature||!o.includes(S.q.ELECTRONIC_SIGNATURES))throw new r.p2(`Annotations: ${P}`)}let i="";t.id&&(i=` with id "${t.id}"`),t instanceof l.x_&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n}=e;_(n.includes(S.q.FORM_DESIGNER),(t||"")+y.RB),_((0,b.k_)(e.backend),k)}(e,`Tried to ${n} a widget annotation${i}. Widget annotations are part of forms. `),_(!(t instanceof c.Z)||o.includes(S.q.REDACTIONS),`Tried to ${n} a redaction annotation${i}. ${p.q}`),_(!(t instanceof u.UX&&t.isMeasurement())||o.includes(S.q.MEASUREMENT_TOOLS),`Tried to ${n} a measurement annotation${i}. ${A}`)}function I(e){_(e instanceof u.UL,"`boundingBox` must be an instance of PSPDFKit.Geometry.Rect");for(const[t,n]of e)_("number"==typeof n,`invalid value \`${n}\` for \`boundingBox.${t}\``)}function F(e){_(e instanceof u.E9,"`startPoint` and `endPoint` must be instances of PSPDFKit.Geometry.Point");for(const[t,n]of e)_("number"==typeof n,`invalid value \`${n}\` for \`point.${t}\``)}function M(e){if(_(e instanceof l.q6,"Invalid annotation"),_("number"==typeof e.pageIndex,"`pageIndex` must be a number"),_("number"==typeof e.opacity,"`opacity` must be a number"),_("boolean"==typeof e.noView,"`noView` must be a boolean"),_("boolean"==typeof e.noPrint,"`noPrint` must be a boolean"),_("boolean"==typeof e.noZoom,"`noZoom` must be a boolean"),_("boolean"==typeof e.hidden,"`hidden` must be a boolean"),_(null==e.customData||(0,r.PO)(e.customData)&&(0,r.AK)(e.customData),"`customData` must be a serializable object"),I(e.boundingBox),"text"in e&&null!=e.text&&(_("object"==typeof e.text&&null!==e.text,"`text` is not an object with properties `format` and `value`"),_("plain"===e.text.format||"xhtml"===e.text.format,"Invalid text format"),_("string"==typeof e.text.value,"`text.value` must be a string")),e instanceof u.Qi&&_("plain"===e.text.format,"Invalid text format. Only `plain` format is supported"),e instanceof l.x_){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))_("onBlur"===t||"onFocus"===t||"onInput"===t||"onFormat"===t||"onChange"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onBlur\`, \`onFocus\`, \`onInput\`, \`onFormat\`, \`onChange\``),_(n instanceof D.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);_("string"==typeof e.formFieldName&&e.formFieldName.length>0,"Annotation attribute `formFieldName` must be of type `string` and larger than 0 characters")}if((e instanceof l.x_||e instanceof l.gd)&&(null!=e.isItalic&&_("boolean"==typeof e.isItalic,"Annotation attribute `isItalic` must be of type `boolean`"),null!=e.isBold&&_("boolean"==typeof e.isBold,"Annotation attribute `isBold` must be of type `boolean`"),null!=e.verticalAlign&&_("string"==typeof e.verticalAlign&&("top"===e.verticalAlign||"center"===e.verticalAlign||"bottom"===e.verticalAlign),"Annotation attribute `verticalAlign` must be of type `string` and either `top`, `center`, or `bottom`"),null!=e.horizontalAlign&&_("string"==typeof e.horizontalAlign&&("left"===e.horizontalAlign||"center"===e.horizontalAlign||"right"===e.horizontalAlign),"Annotation attribute `horizontalAlign` must be of type `string` and either `left`, `center`, or `right`"),null!=e.borderWidth&&_("number"==typeof e.borderWidth,"Annotation attribute `borderWidth` must be of type `number`"),null!=e.borderStyle&&_(e.borderStyle===C.N.solid||e.borderStyle===C.N.dashed||e.borderStyle===C.N.beveled||e.borderStyle===C.N.inset||e.borderStyle===C.N.underline,"Annotation attribute `borderStyle` must be one of `solid`, `dashed`, `beveled`, `inset`, `underline`"),null!=e.font&&_("string"==typeof e.font&&e.font.length>0,"Annotation attribute `font` must be of type `string` and larger than 0 characters."),null!=e.fontSize&&_("number"==typeof e.fontSize||"auto"===e.fontSize,"Annotation attribute `fontSize` must be of type `number` or the string `auto`")),["fillColor","backgroundColor","fontColor","color","borderColor","strokeColor"].forEach((t=>{e.has(t)&&null!==e.get(t)&&_(e.get(t)instanceof u.Il,`\`${t}\` must be an instance of PSPDFKit.Color`)})),e.has("lines")&&(_("lines"in e&&e.lines instanceof o.aV,"lines must be an instance of PSPDFKit.Immutable.List"),e.lines.forEach(((e,t)=>{_(e instanceof o.aV,"line must be an instance of PSPDFKit.Immutable.List"),e.some(((e,n)=>{_(e instanceof m.Z,`found an invalid DrawingPoint at index ${n} for line ${t}`)}))}))),e instanceof l.On&&_(e.has("rects"),"Text markup annotations must have `rects`"),e instanceof l.GI&&_(g.pY[e.stampType],`Unknown stamp annotation stampType: \`${e.stampType}\``),e.has("rects")&&(_("rects"in e&&e.rects instanceof o.aV,"rects must be an instance of `PSPDFKit.Immutable.List`"),_(e.rects.size>0,"rects must be contain at least one rect"),e.rects.forEach(I)),e.has("startPoint")&&(_("startPoint"in e&&e.startPoint instanceof u.E9,"startPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.startPoint)),e.has("endPoint")&&(_("endPoint"in e&&e.endPoint instanceof u.E9,"endPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.endPoint)),e.has("rotation")){const t=e.rotation;e instanceof l.x_?_(0===t||90===t||180===t||270===t,"`rotation` must be of type `number` and one of 0, 90, 180, or 270."):(e instanceof l.gd||e instanceof l.GI||e instanceof l.sK)&&_(Math.abs(t)%1==0,"`rotation` must be an integer")}}function R(e){let t=e;if(e instanceof l.gd&&"xhtml"===e.text.format){let n,o,i;_(t instanceof l.gd,"Expected TextAnnotation");try{n=(new DOMParser).parseFromString(e.text.value,"text/html")}catch(e){throw new r.p2("TextAnnotation text value must be a valid xhtml string.")}if(n=n.firstChild,"parsererror"===n.nodeName)throw new r.p2("TextAnnotation text value must contain a valid xhtml string.");"#comment"===n.nodeName.toLowerCase()&&(n=n.nextSibling),"html"===n.nodeName.toLowerCase()&&(n=n.firstChild),"head"===n.nodeName.toLowerCase()&&(n=n.nextSibling),"body"===n.nodeName.toLowerCase()&&(n=n.firstChild),"div"===n.nodeName.toLowerCase()&&(n=n.firstChild,o=document.createElement("div")),"p"!==n.nodeName.toLowerCase()?((0,r.ZK)("TextAnnotation text value must be wrapped in

tags if the format is `xhtml`."),i=document.createElement("p"),i.appendChild(n),o?o.appendChild(i):o=i):o=n,t=t.set("text",{format:"xhtml",value:s().sanitize(o.outerHTML)}),e.fontColor&&((0,r.ZK)('TextAnnotation fontColor is not supported for xhtml formatted text. You should add inline span element to the text value instead.\n\n Example:

your text

'),t=t.set("fontColor",null)),e.text.value||(t=t.set("text",{format:"xhtml",value:'

'}))}return t}},20993:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(15359);class o{constructor(e){this._objectManager=e}create(e,t){return Promise.reject(new r.p2("create() is not implemented"))}update(e,t){return Promise.reject(new r.p2("update() is not implemented"))}delete(e){return Promise.reject(new r.p2("delete() is not implemented"))}getObjectById(e){return Promise.resolve(null)}ensureChangesSaved(e){throw new r.p2("ensureChangesSaved() is not implemented")}hasUnsavedChanges(){return!!this._objectManager&&this._objectManager.hasUnsavedChanges()}manualSave(e){return this._objectManager?this._objectManager.manualSave(e):Promise.resolve()}autoSave(){this._objectManager&&this._objectManager.autoSave()}getEventEmitter(){return this._objectManager?this._objectManager.eventEmitter:null}lockSave(){return this._objectManager?this._objectManager.lockSave():()=>{}}}},5130:(e,t,n)=>{"use strict";n.d(t,{BZ:()=>D,Bl:()=>x,DR:()=>b,RB:()=>w,_1:()=>P,fu:()=>E});var r=n(34997),o=n(35369),i=n(15359),a=n(67366),s=n(79724),l=n(43069),u=n(12705),c=n(77897),d=n(48169),p=n(20993),h=n(72127),f=n(27922),m=n(21713),g=n(45249),v=n(1858),y=n(44550);const b="The API you're trying to use requires a forms license. Forms is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",w="The API you're trying to use requires a license that includes the Form Designer component on standalone mode or with PSPDFKit Instant. This is a separate component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",x="The API you're trying to use is only available when using the standalone mode or with PSPDFKit Instant.",D="The API you're trying to use is not available when `disableForms` is set to `true`.",C=(0,s.Z)("Forms");class E extends p.I{constructor(e,t){super(t().formFieldManager),this.dispatch=e,this.getState=t}async create(e,t){const n=[],i=this.getState();S(i,"Tried to create a form field. ");const s=e.map((e=>{try{const o=e.id;"string"==typeof o&&C(!(0,l.CL)(i,o),`Form field id (${o}) is already used.`),_(e,i,t);let a="string"==typeof o?e:e.set("id",(0,r.SK)());if(C(i.backend),C(i.formFieldValueManager),i.backend.isCollaborationPermissionsEnabled()&&!e.group&&i.group!==i.backend.getDefaultGroup()&&(a=a.set("group",i.group)),void 0!==e.value||void 0!==e.values){const t=new d.Z({name:e.name,value:void 0!==e.value?e.value:e.values});n.push(t)}return a}catch(e){return e}}));return(0,a.dC)((()=>{s.forEach((e=>{e instanceof Error||(this.dispatch((0,c.kW)(e)),this.autoSave())}))})),n.forEach((e=>{this.dispatch((0,c.xW)((0,o.aV)([e]))),C(i.formFieldValueManager),i.formFieldValueManager.createObject(e),i.formFieldValueManager.autoSave()})),(0,m.s)(s)}async update(e,t){const n=this.getState();C(n.formFieldValueManager);const r=e.map((e=>{try{S(n,"Tried to update a form field. "),C("string"==typeof e.id,"The form field you passed to Instance.update() has no id.\n Please use Instance.create() first to assign an id."),_(e,n,t);const r=(0,l.CL)(n,e.id);C(r,"A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped."),C(n.backend),n.backend.isCollaborationPermissionsEnabled()||e.group===r.group&&e.isEditable===r.isEditable&&e.isDeletable===r.isDeletable&&e.canSetGroup===r.canSetGroup&&e.isFillable===r.isFillable||(e=e.set("group",r.group).set("isEditable",r.isEditable).set("isDeletable",r.isDeletable).set("canSetGroup",r.canSetGroup).set("isFillable",r.isFillable),(0,i.ZK)("`group`, `isEditable`, `isDeletable`, `isFillable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(r.delete("group"))&&!(0,h.iR)(r,n))throw new i.p2("You don't have permission to update this form field.");if(e.group!==r.group&&!(0,h.uW)(r,n))throw new i.p2("You don't have permission to update the `group` of this form field.");if(e.isEditable!==r.isEditable||e.isDeletable!==r.isDeletable||e.canSetGroup!==r.canSetGroup||e.isFillable!==r.isFillable)throw new i.p2("You can't update `isFillable`, `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");return e}catch(e){return e}}));return(0,a.dC)((()=>{r.forEach((e=>{e instanceof Error||(this.dispatch((0,c.vK)(e)),this.autoSave())}))})),(0,m.s)(r)}async delete(e){const t=this.getState();S(t,"Tried to delete a form field. ");const n=e.map((e=>{try{const r=(0,l.CL)(t,e.id);if(C(r,`There is no form field with id '${e.id}'`),C(t.formFieldValueManager),!(0,h.ev)(r,t))throw new i.p2("You don't have permission to delete this form field.");var n;if(void 0!==r.value||void 0!==r.values)null===(n=t.formFieldValueManager)||void 0===n||n.deleteObject(new d.Z({name:r.name,value:void 0!==r.value?r.value:r.values})),t.formFieldValueManager.autoSave();return e}catch(e){return e}}));return(0,a.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,c.Wh)(e)),this.autoSave())}))})),(0,m.s)(n)}async ensureChangesSaved(e){C("string"==typeof e.id,"The form field you passed to Instance.ensureSaved() has no id.\n Please use Instance.create() first to assign an id.");const{formFieldManager:t}=this.getState();return C(t),await t.ensureObjectSaved(e)}async getObjectById(e){return C("string"==typeof e,"The supplied id is not a valid id."),(0,l.CL)(this.getState(),e)}}function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n,formsEnabled:r}=e;C(n.includes(y.q.FORMS),(t||"")+b),C(r,(t||"")+D),C(n.includes(y.q.FORM_DESIGNER),(t||"")+w),C((0,u.k_)(e.backend),x)}function _(e,t,n){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))C("onCalculate"===t||"onChange"===t||"onFormat"===t||"onInput"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onCalculate\`, \`onChange\`, \`onFormat\`, \`onInput\``),C(n instanceof f.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);e.annotationIds&&(C(e.annotationIds instanceof o.aV,"Invalid form field `annotationIds` attribute. `annotationIds` must be of type `PSPDFKit.Immutable.List`"),C(e.annotationIds.every((e=>"string"==typeof e)),"Invalid form field `annotationIds` attribute. `annotationIds` should only contain string values."),e.annotationIds.forEach((e=>{!function(e,t,n){const r=e.get("annotations");if(!(((null==t?void 0:t.find((e=>e instanceof g.q6&&e.id===n)))||r.get(n)||r.find((e=>{var t;return(null==e||null===(t=e.pdfObjectId)||void 0===t?void 0:t.toString())===n})))instanceof g.x_))throw new i.p2("Invalid form field `annotationIds` attribute. `annotationIds` should only contain references to widget annotations.")}(t,n,e)}))),null!=e.id&&C("string"==typeof e.id&&e.id.length>0,"Invalid form field `id` attribute. `id` must be of type `string` and larger than 0 characters."),null!=e.label&&C("string"==typeof e.label,"Invalid form field `label` attribute. `label` must be of type `string`"),C("string"==typeof e.name&&e.name.length>0,"Invalid form field `name` attribute. `name` must be of type `string` and larger than 0 characters."),null!=e.noExport&&C("boolean"==typeof e.noExport,"Invalid form field `noExport` attribute. `noExport` must be of type `boolean`"),null!=e.pdfObjectId&&C("number"==typeof e.pdfObjectId,"Invalid form field `pdfObjectId` attribute. `pdfObjectId` must be of type `number`"),null!=e.readOnly&&C("boolean"==typeof e.readOnly,"Invalid form field `readOnly` attribute. `readOnly` must be of type `boolean`"),null!=e.required&&C("boolean"==typeof e.required,"Invalid form field `required` attribute. `required` must be of type `boolean`")}function P(e,t){e instanceof v.$o?C("string"==typeof(t=t||""),`The type of action value for a TextFormField ${e.name} is ${typeof t}, but has to be a string`):e instanceof v.Dz||e instanceof v.rF?C(t instanceof o.aV,`The type of action value for the ${e instanceof v.Dz?"ChoiceFormField":"CheckBoxFormField"} ${e.name} is ${typeof t}, but has to be a List of strings`):e instanceof v.XQ?C("string"==typeof t||null===t,`The type of action value for a RadioButtonFormField ${e.name} is ${typeof t}, but has to either be a string or null`):e instanceof v.R0||e instanceof v.Yo||C(!1,`Cannot set form field value for ${e.name}: unknown form field type`)}},60209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});class r{constructor(e,t){this.element=e,this.release=t}}},96326:(e,t,n)=>{"use strict";n.d(t,{a:()=>w});var r=n(96156),o=n(35369),i=n(15359),a=n(47120);const s="CREATED",l="UPDATED",u="DELETED";var c=n(46364),d=n(79685),p=n(79724),h=n(34997);class f{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};(0,r.Z)(this,"_locks",(0,o.l4)()),this._onUnlockCallback=e}lock(){const e=(0,h.SK)();return this._locks=this._locks.add(e),()=>{this._locks=this._locks.remove(e),this._locks.isEmpty()&&this._onUnlockCallback()}}isLocked(){return!this._locks.isEmpty()}}var m=n(2549);const g=(0,p.Z)("SaveModeQueue");class v{constructor(e){let{autoSaveMode:t,flushCreateObject:n,flushUpdateObject:i,flushDeleteObject:s,validateObject:l,getObjectId:u,syncChanges:c=(async()=>{})}=e;(0,r.Z)(this,"eventEmitter",new d.Z(["willSave","didSave","saveStateChange"])),(0,r.Z)(this,"_modifications",(0,o.D5)()),(0,r.Z)(this,"_inFlightModifications",(0,o.D5)()),(0,r.Z)(this,"_savedObjects",(0,o.l4)()),(0,r.Z)(this,"_ensureSavedRequests",(0,o.D5)()),(0,r.Z)(this,"_prevHasUnsavedObjects",!1),(0,r.Z)(this,"_saveLock",new f((()=>{if(this._autoSaveMode===a.u.IMMEDIATE||!this._saveRequests.isEmpty()){const e=this._autoSaveMode===a.u.IMMEDIATE||this._saveRequests.some((e=>e.syncChanges)),t=this._saveRequests.some((e=>e.manualSave)),n=this._saveRequests;this._saveRequests=this._saveRequests.clear(),this._save(e,t).then((()=>{n.forEach((e=>{e.resolve()}))})).catch((e=>{n.forEach((t=>{t.reject(e)}))}))}}))),(0,r.Z)(this,"_saveRequests",(0,o.aV)()),this._autoSaveMode=t,this._flushCreateObject=n,this._flushUpdateObject=i,this._flushDeleteObject=s,this._validateObject=l,this._getObjectId=u,this._syncChanges=c}lockSave(){return this._saveLock.lock()}assertSaveLocked(){g(this._saveLock.isLocked(),"This method can't be used without active save lock, use saveLock() to acquire the lock.")}createObject(e){this.assertSaveLocked();const t=this._getObjectId(e);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:s}))}updateObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t),r=n&&n.type===s&&!this._inFlightModifications.has(t);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:r?s:l}))}deleteObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t);n&&n.type===s?this._setModificationsAndNotifyChange(this._modifications.delete(t)):this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:u}))}enqueueInFlightModification(e){const t=this._getObjectId(e.object);return this._inFlightModifications.has(t)?this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.push(e))):this._inFlightModifications=this._inFlightModifications.set(t,(0,o.aV)([e])),this._notifySaveStateChange(),()=>{this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.filter((t=>t!==e))));const n=this._inFlightModifications.get(t);n&&0===n.size&&(this._inFlightModifications=this._inFlightModifications.delete(t)),this._notifySaveStateChange()}}clearQueueForObject(e){this._setModificationsAndNotifyChange(this._modifications.delete(e))}queuedObjectType(e){const t=this._inFlightModifications.get(e);if(t&&t.size>0)return t.last().type;{const t=this._modifications.get(e);return t?t.type:null}}hasUnsavedObjects(){return this._modifications.size>0||this._inFlightModifications.size>0}autoSave(){this._autoSaveMode===a.u.INTELLIGENT&&this.manualSave(!0).catch((()=>{}))}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._save(e,!0)}_save(e,t){return new Promise(((n,r)=>{if(this._saveLock.isLocked())this._saveRequests=this._saveRequests.push({resolve:n,reject:r,syncChanges:e,manualSave:t});else{const a=this._modifications.filter((e=>{let{type:t}=e;return t!==u})).filter((e=>{let{object:t}=e;return!this._validateObject(t)}));t&&a.forEach((e=>{(0,i.ZK)(`Can not save invalid object with ID: ${this._getObjectId(e.object)}.\n Make sure to remove or update this object, before trying to save again.`)}));let d=(0,o.aV)();const p=this._modifications.filter(((e,t)=>!a.has(t))),h=p.map((e=>{let{object:t,type:n}=e;const r={object:t,type:n};let o;switch(d=d.push(this.enqueueInFlightModification(r)),n){case s:o=this._flushCreateObject(t);break;case l:o=this._flushUpdateObject(t);break;default:o=this._flushDeleteObject(t)}return o.then((()=>{this._markModificationAsSaved(r)})).catch((e=>{throw y(e),e}))})).valueSeq().toArray();if(this._setModificationsAndNotifyChange(a,!1),e&&h.length>0&&h.push(this._syncChanges().catch((e=>{throw y(e),e}))),this.eventEmitter.emit("willSave"),0===h.length)return this.eventEmitter.emit("didSave"),void n();let f;(0,c.jK)(h).catch((t=>{const n=p.toList(),r=e?t.pop():null,i=t.map(((e,t)=>{const r=n.get(t);if(e&&r)return{error:e,object:r.object,modificationType:r.type}})).filter(Boolean);throw f=(0,o.aV)(i),(0,m.h)(i,Boolean(r),r?r.message:null)})).finally((()=>{d.forEach((e=>{e()}));let e=p;f&&(e=e.withMutations((e=>{g(f),f.forEach((t=>{const n=this._getObjectId(t.object);e.remove(n)}))}))),this._resolveEnsureSavedRequests(e.map((e=>e.object)).valueSeq().toArray()),f&&this._rejectEnsureSavedRequests(f.toArray()),this.eventEmitter.emit("didSave")})).then((()=>{n()})).catch(r)}}))}markObjectsAsSaved(e){this._savedObjects=this._savedObjects.union(e)}isSaved(e){return this._savedObjects.has(e)&&null==this.queuedObjectType(e)}ensureObjectSaved(e){return new Promise(((t,n)=>{const r=this._getObjectId(e);this.isSaved(r)?t(e):this._ensureSavedRequests=this._ensureSavedRequests.withMutations((e=>{const i=e.get(r);i?e.set(r,i.push({resolve:t,reject:n})):e.set(r,(0,o.aV)([{resolve:t,reject:n}]))}))}))}_resolveEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e),r=t.get(n);r&&this.isSaved(n)&&(r.forEach((t=>{let{resolve:n}=t;n(e)})),t.delete(n))}))}))}_rejectEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e.object),r=t.get(n);r&&(r.forEach((t=>{let{reject:n}=t;n(e.error)})),t.delete(n))}))}))}_markModificationAsSaved(e){const t=this._getObjectId(e.object);switch(e.type){case"CREATED":case"UPDATED":this._savedObjects=this._savedObjects.add(t);break;case"DELETED":this._savedObjects=this._savedObjects.remove(t)}}_setModificationsAndNotifyChange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._modifications=e,t&&this._notifySaveStateChange()}_notifySaveStateChange(){const e=this.hasUnsavedObjects();this._prevHasUnsavedObjects!==e&&(this._prevHasUnsavedObjects=e,this.eventEmitter.emit("saveStateChange",e))}}function y(e){(0,i.vU)(e)}var b=n(24382);class w{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.u.IMMEDIATE,n=arguments.length>2?arguments[2]:void 0;(0,r.Z)(this,"eventEmitter",new d.Z(this._getSupportedEvents())),(0,r.Z)(this,"_createdObjects",(0,o.D5)()),(0,r.Z)(this,"_updatedObjects",(0,o.D5)()),(0,r.Z)(this,"_deletedObjects",(0,o.D5)()),(0,r.Z)(this,"_crudEventsLock",new f((()=>{(this._createdObjects.size||this._updatedObjects.size||this._deletedObjects.size)&&this.eventEmitter.emit("change"),this._createdObjects.size&&(this.eventEmitter.emit("create",(0,o.aV)(this._createdObjects.values())),this._createdObjects=this._createdObjects.clear()),this._updatedObjects.size&&(this.eventEmitter.emit("update",(0,o.aV)(this._updatedObjects.values())),this._updatedObjects=this._updatedObjects.clear()),this._deletedObjects.size&&(this.eventEmitter.emit("delete",(0,o.aV)(this._deletedObjects.values())),this._deletedObjects=this._deletedObjects.clear())}))),this._callbacks=e,this._autoSaveMode=t,null!=n&&(this.eventEmitter=n),this._saveModeQueue=new v({autoSaveMode:t,flushCreateObject:async e=>{try{await this._callbacks.createBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.deleteStoreObjects((0,o.l4)([e.id])),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",(0,o.aV)([e.object])),t}this._callbacks.refresh()},flushUpdateObject:async e=>{await this._callbacks.updateBackendObject(e.object,e.additionalFields),this._callbacks.refresh()},flushDeleteObject:async e=>{try{await this._callbacks.deleteBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.createStoreObjects((0,o.aV)([e.object])),this.eventEmitter.emit("change"),this.eventEmitter.emit("create",(0,o.aV)([e.object])),t}this._callbacks.refresh()},validateObject:e=>this._callbacks.validateObject(e.object),getObjectId:e=>e.id,syncChanges:()=>this._callbacks.syncChanges()}),this._saveModeQueue.eventEmitter.on("willSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("willSave")})),this._saveModeQueue.eventEmitter.on("didSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("didSave")})),this._saveModeQueue.eventEmitter.on("saveStateChange",(e=>this.eventEmitter.emit("saveStateChange",e)))}autoSave(){this._saveModeQueue.autoSave()}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._saveModeQueue.manualSave(e).catch((e=>{throw(0,i.kG)(e instanceof m.V),e.reason&&(e.reason=e.reason.map((e=>({error:e.error,modificationType:e.modificationType,object:e.object.object})))),e}))}ensureObjectSaved(e){return this._saveModeQueue.ensureObjectSaved(this._createSaveQueueObject(this._callbacks.getObjectId(e),e)).then((e=>e.object))}hasUnsavedChanges(){return this._saveModeQueue.hasUnsavedObjects()}lockSave(){const e=this._crudEventsLock.lock(),t=this._saveModeQueue.lockSave();return()=>{t(),e()}}createObject(e,t){const n=this.lockSave();try{const r=this._callbacks.getObjectId(e);(0,i.kG)(r);const o=this._saveModeQueue.queuedObjectType(r),a=this._saveModeQueue.isSaved(r)||o===l,u=o===s;a||u?(this._callbacks.onUpdate&&this._callbacks.onUpdate(e,t),this._saveModeQueue.updateObject(this._createSaveQueueObject(r,e,t)),this._updatedObjects=this._updatedObjects.set(r,e)):(this._callbacks.onCreate&&this._callbacks.onCreate(e,t),this._saveModeQueue.createObject(this._createSaveQueueObject(r,e,t)),this._createdObjects=this._createdObjects.set(r,e))}finally{n()}}createObjects(e,t){const n=this.lockSave();try{e.forEach(((e,n)=>{const r=this._callbacks.getObjectId(e);(0,i.kG)(r);const o=this._saveModeQueue.queuedObjectType(r);this._saveModeQueue.isSaved(r)||o===l||o===s?(this._callbacks.onUpdate&&this._callbacks.onUpdate(e,t[n]),this._saveModeQueue.updateObject(this._createSaveQueueObject(r,e,t[n])),this._updatedObjects=this._updatedObjects.set(r,e)):(this._callbacks.onCreate&&this._callbacks.onCreate(e,t[n]),this._saveModeQueue.createObject(this._createSaveQueueObject(r,e,t[n])),this._createdObjects=this._createdObjects.set(r,e))}))}finally{n()}}updateObject(e,t){this.createObject(e,t)}deleteObject(e,t){const n=this.lockSave();try{const r=this._callbacks.getObjectId(e);(0,i.kG)(r);const o=this._saveModeQueue.queuedObjectType(r),a=this._saveModeQueue.isSaved(r)||o===l,u=o===s;this._callbacks.onDelete&&this._callbacks.onDelete(e,t),(a||u)&&this._saveModeQueue.deleteObject(this._createSaveQueueObject(r,e,t)),this._deletedObjects=this._deletedObjects.set(r,e)}finally{n()}}backendObjectsCreated(e,t,n){const r=t===b.y,o=e.map((e=>this._callbacks.getObjectId(e))).toArray();this._saveModeQueue.markObjectsAsSaved(o),this._callbacks.createStoreObjects(e,n),this.eventEmitter.emit("change"),this.eventEmitter.emit(r?"load":"create",e),o.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),!r&&this._callbacks.refresh()}backendObjectsUpdated(e,t){this._callbacks.updateStoreObjects(e),t||(this.eventEmitter.emit("change"),this.eventEmitter.emit("update",e));e.map((e=>this._callbacks.getObjectId(e))).toArray().forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this._callbacks.refresh()}backendObjectsDeleted(e){const t=e.map((e=>this._callbacks.getObjectById(e))).filter(Boolean).toList();this._callbacks.deleteStoreObjects(e),e.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",t),this._callbacks.refresh()}_getSupportedEvents(){return["change","willSave","didSave","load","create","update","delete","saveStateChange"]}_createSaveQueueObject(e,t,n){return void 0===n?{id:e,object:t}:{id:e,object:t,additionalFields:n}}}},96723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(94809),o=n(68944);class i{constructor(e,t){this.identifier=this.url=e,this.token=t,this.aborted=!1}request(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{method:"GET"};const{method:t,data:n=null}=e,i=new XMLHttpRequest;return i.open(t,this.url,!0),i.setRequestHeader("X-PSPDFKit-Token",this.token),i.setRequestHeader("PSPDFKit-Platform","web"),i.setRequestHeader("PSPDFKit-Version",(0,o.oM)()),new Promise(((e,t)=>{i.onreadystatechange=()=>{this.aborted||4===i.readyState&&((0,r.vu)(i.status)?e(JSON.parse(i.responseText)):t({message:i.responseText}))},this.httpRequest=i,i.send(n instanceof FormData?n:"object"==typeof n?JSON.stringify(n):void 0)}))}abort(){this.httpRequest&&(this.aborted=!0,this.httpRequest.abort(),this.httpRequest=null)}}},55696:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(96156),o=n(15359),i=n(96029),a=n(98492),s=n(84610);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{this.annotation[t]&&e.push(t)})),e.length?e:null}}(0,r.Z)(c,"VERSION",2)},40071:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,Z:()=>p});var r=n(96156),o=n(35369),i=n(55696),a=n(4715),s=n(98492),l=n(82716);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t(0,s.u)(e))).toJS()})}static fromJSON(e,t,n){return(0,l.k)("object"==typeof t.rects,"Missing `rects` field"),c(c({},super.fromJSON(e,t,n)),{},{rects:(0,o.aV)(t.rects).map((e=>(0,s.k)(e)))})}}},88133:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,i:()=>s});var r=n(15359),o=n(96029),i=n(99745);function a(e){return{id:e.id,v:1,pdfBookmarkId:e.pdfBookmarkId,type:"pspdfkit/bookmark",name:e.name,sortKey:e.sortKey,action:e.action&&(0,o.vP)(e.action)}}function s(e,t){let n;(0,r.kG)(null==e||"string"==typeof e,"`id` must be null or of type `string`"),(0,r.kG)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,r.kG)(null==t.sortKey||"number"==typeof t.sortKey,"`sortKey` must be of type `number`"),(0,r.kG)("object"==typeof t.action,"Missing `action` field");try{n=(0,o.lk)(t.action)}catch(e){(0,r.ZK)(`PDF Action not supported:\n\n${t.action}`)}return new i.Z({id:e,pdfBookmarkId:t.pdfBookmarkId||null,name:t.name,sortKey:t.sortKey,action:n})}},92310:(e,t,n)=>{"use strict";n.d(t,{o:()=>u,z:()=>c});var r=n(96156),o=n(15359),i=n(45249),a=n(84610);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{T8:()=>i,X$:()=>r,hH:()=>a,uE:()=>o});const r=e=>e.toJS(),o=e=>e.toJS(),i=(e,t)=>{return{maxWidth:e.maxWidth,alignment:e.alignment,lineSpacingFactor:e.lineSpacingFactor,modificationsCharacterStyle:(n=t,n.toJS())};var n},a=e=>i(e.layout,e.modificationsCharacterStyle)},69847:(e,t,n)=>{"use strict";function r(e){var t;return{type:e.type,options:{numberOfContextWords:null===(t=e.options)||void 0===t?void 0:t.numberOfContextWords}}}function o(e){return{filePath:e.filePath,password:e.password,pageIndexes:e.pageIndexes,jwt:e.jwt}}n.d(t,{c:()=>o,j:()=>r})},32751:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(96156),o=n(15359),i=n(74751),a=n(94732),s=n(82197),l=n(40071);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>f,q:()=>h});var r=n(96156),o=n(35369),i=n(74751),a=n(55696),s=n(85513),l=n(82716),u=n(58163),c=n(97281);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t(0,s.K)(e))).toJS()}static _JSONToPoints(e){return(0,o.aV)(e.map((e=>(0,s.W)(e))))}static _JSONLinesToPoints(e){return(0,o.aV)(e.points[0].map(s.W))}}function m(e){return new u.Z({unitFrom:e.unitFrom,unitTo:e.unitTo,fromValue:e.from,toValue:e.to})}},72251:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(96156),o=n(15359),i=n(3888),a=n(74751),s=n(45249),l=n(55696),u=n(96029),c=n(11765),d=n(82197);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{GI:()=>h,eb:()=>p,lk:()=>c,vP:()=>u});var r=n(96156),o=n(35369),i=n(15359),a=n(96706);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;te(t))).toArray()});if(t instanceof a.lm)return l({type:"uri",uri:t.uri},n);if(t instanceof a.Di)return l({type:"goTo",pageIndex:t.pageIndex},n);if(t instanceof a.Qr)return l({type:"goToEmbedded",newWindow:t.newWindow,relativePath:t.relativePath,targetType:t.targetType},n);if(t instanceof a._6)return l({type:"goToRemote",relativePath:t.relativePath,namedDestination:t.namedDestination},n);if(t instanceof a.ZD)return l({type:"hide",hide:t.hide,annotationReferences:t.annotationReferences.toJS()},n);if(t instanceof a.bp)return l({type:"javaScript",script:t.script},n);if(t instanceof a.b)return l({type:"launch",filePath:t.filePath},n);if(t instanceof a.oH)return l({type:"named",action:t.action},n);if(t instanceof a.BO)return l({type:"resetForm",fields:t.fields?t.fields.toArray():null,flags:t.includeExclude?"includeExclude":null},n);if(t instanceof a.pl)return l({type:"submitForm",uri:t.uri,fields:t.fields?t.fields.toArray():null,flags:d(t)},n);throw new Error(`Unknown action type: ${t.constructor.name}`)}(e)}function c(e){return function e(t){let n=null;switch(t.subactions&&(n={subActions:(0,o.aV)(t.subactions.map((t=>e(t))))}),t.type){case"uri":return(0,i.kG)("string"==typeof t.uri,"URI action must have a `uri`"),new a.lm(l({uri:t.uri},n));case"goTo":return(0,i.kG)("number"==typeof t.pageIndex,"Goto action must have a `pageIndex`"),new a.Di(l({pageIndex:t.pageIndex},n));case"goToEmbedded":return(0,i.kG)("boolean"==typeof t.newWindow,"GoToEmbeddedAction must have `newWindow`"),(0,i.kG)("parent"===t.targetType||"child"===t.targetType,"GoToEmbeddedAction must have a valid `targetType`"),new a.Qr(l({newWindow:t.newWindow,relativePath:t.relativePath||"",targetType:t.targetType||""},n));case"goToRemote":return new a._6(l({relativePath:t.relativePath||"",namedDestination:t.namedDestination||""},n));case"hide":return(0,i.kG)(Array.isArray(t.annotationReferences),"HideAction must have `annotationReferences`"),new a.ZD(l({hide:!!t.hide,annotationReferences:(0,o.aV)(t.annotationReferences)},n));case"javaScript":return new a.bp(l({script:t.script||""},n));case"launch":return new a.b(l({filePath:t.filePath||""},n));case"named":return new a.oH(l({action:t.action||""},n));case"resetForm":{(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of ResetForm Action has to be an array or undefined"),(0,i.kG)("string"==typeof t.flags||void 0===t.flags,"The value of the `flags` field of ResetForm Action has to be a string or undefined");const e="includeExclude"===t.flags;return new a.BO(l({fields:t.fields?(0,o.aV)(t.fields):void 0,includeExclude:e},n))}case"submitForm":return(0,i.kG)("string"==typeof t.uri,"The value of the `uri` field of SubmitForm Action has to be a string"),(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of SubmitForm Action has to be an array or undefined"),(0,i.kG)(t.flags instanceof Array||void 0===t.flags,"The value of the `flags` field of SubmitForm Action has to be a array or undefined"),t.flags||(t.flags=[]),new a.pl(l({fields:t.fields?(0,o.aV)(t.fields):void 0,uri:t.uri,includeExclude:t.flags.includes("includeExclude"),includeNoValueFields:t.flags.includes("includeNoValueFields"),exportFormat:t.flags.includes("exportFormat"),getMethod:t.flags.includes("getMethod"),submitCoordinated:t.flags.includes("submitCoordinated"),xfdf:t.flags.includes("xfdf"),includeAppendSaves:t.flags.includes("includeAppendSaves"),includeAnnotations:t.flags.includes("includeAnnotations"),submitPDF:t.flags.includes("submitPDF"),canonicalFormat:t.flags.includes("canonicalFormat"),excludeNonUserAnnotations:t.flags.includes("excludeNonUserAnnotations"),excludeFKey:t.flags.includes("excludeFKey"),embedForm:t.flags.includes("embedForm")},n));default:throw new Error(`Unknown action: ${t}`)}}(e)}function d(e){const t=[];return["includeExclude","includeNoValueFields","exportFormat","getMethod","submitCoordinated","xfdf","includeAppendSaves","includeAnnotations","submitPDF","canonicalFormat","excludeNonUserAnnotations","excludeFKey","embedForm"].forEach((n=>{e[n]&&t.push(n)})),t.length?t:null}function p(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return r&&(t[n]=c(r)),t}),{})}function h(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return r instanceof a.aU&&(t[n]=u(r)),t}),{})}},84610:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,Ut:()=>u,a5:()=>l});var r=n(96156),o=n(15359);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;(0,o.kG)(void 0===t||"string"==typeof t||null===t,"`group` should be `undefined` or `string`."),(0,o.kG)(void 0===n||(0,o.PO)(n),"`permissions` should be `undefined` or an `object`."),(0,o.PO)(n)&&((0,o.kG)("boolean"==typeof n.edit,"`permissions.edit` should be `boolean`."),(0,o.kG)("boolean"==typeof n.delete,"`permissions.delete` should be `boolean`."),(0,o.kG)("boolean"==typeof n.setGroup,"`permissions.setGroup` should be `boolean`."),void 0!==n.fill&&(0,o.kG)("boolean"==typeof n.fill,"`permissions.fill` should be `boolean`."),void 0!==n.reply&&(0,o.kG)("boolean"==typeof n.reply,"`permissions.reply` should be `boolean`."))}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;let r={group:t};return(0,o.PO)(n)&&(r=a(a({},r),{},{canSetGroup:n.setGroup,isEditable:n.edit,isDeletable:n.delete}),"boolean"==typeof n.fill&&(r.isFillable=n.fill),"boolean"==typeof n.reply&&(r.canReply=n.reply)),r}function u(e){const t="boolean"==typeof e.isEditable&&"boolean"==typeof e.canSetGroup&&"boolean"==typeof e.isDeletable;let n={group:e.group};return t&&((0,o.kG)("boolean"==typeof e.isEditable),(0,o.kG)("boolean"==typeof e.isDeletable),(0,o.kG)("boolean"==typeof e.canSetGroup),n=a(a({},n),{},{permissions:{edit:e.isEditable,delete:e.isDeletable,setGroup:e.canSetGroup}}),"boolean"==typeof e.isFillable&&(n.permissions=a(a({},n.permissions),{},{fill:e.isFillable})),"boolean"==typeof e.canReply&&(n.permissions=a(a({},n.permissions),{},{reply:e.canReply}))),n}},74751:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,b:()=>a});var r=n(15359),o=n(45249);function i(e){return e.toHex()}function a(e){if((0,r.kG)(7===e.length||9===e.length,"Tried to deserialize color that does not have 7 or 9 characters"),"#00000000"===e)return o.Il.TRANSPARENT;const t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),i=parseInt(e.substring(5,7),16);return new o.Il({r:t,g:n,b:i})}},17310:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,r:()=>a});var r=n(15359),o=n(45249);function i(e){return[e.left,e.top,e.right,e.bottom]}function a(e){return(0,r.kG)(4===e.length,"Tried to deserialize inset that does not have 4 entries"),new o.eB({left:e[0],top:e[1],right:e[2],bottom:e[3]})}},85513:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,W:()=>a});var r=n(15359),o=n(45249);function i(e){return[e.x,e.y]}function a(e){return(0,r.kG)(2===e.length,"Tried to deserialize point that does not have 2 entries"),new o.E9({x:e[0],y:e[1]})}},98492:(e,t,n)=>{"use strict";n.d(t,{k:()=>a,u:()=>i});var r=n(15359),o=n(45249);function i(e){return[e.left,e.top,e.width,e.height]}function a(e){return(0,r.kG)(4===e.length,"Tried to deserialize rect that does not have 4 entries"),new o.UL({left:e[0],top:e[1],width:e[2],height:e[3]})}},11765:(e,t,n)=>{"use strict";n.d(t,{Lw:()=>We,vH:()=>Ie,Mu:()=>Re,IN:()=>Fe,u9:()=>Ne,Vl:()=>st,rS:()=>Le,XH:()=>rt,l9:()=>Je,Fd:()=>et,_o:()=>nt,_Q:()=>$e,Qp:()=>Ge,$T:()=>tt,Hs:()=>Oe,jA:()=>je,kg:()=>ot,vD:()=>Me,kr:()=>Be,xT:()=>Ye,sr:()=>Ze,_D:()=>Ve,eE:()=>qe,_L:()=>Ue,YA:()=>at,MR:()=>Qe});var r=n(17375),o=n(96156),i=n(15359),a=n(35369),s=n(45249),l=n(94732),u=n(96726),c=n(74751),d=n(85513),p=n(55696);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.map((e=>(0,d.K)(e))))).toJS(),intensities:this.annotation.lines.map((e=>e.map((e=>e.intensity)))).toJS()}}static _JSONToLines(e){return(0,a.aV)(e.points).map(((t,n)=>{const r=e.intensities[n];return(0,a.aV)(t).map(((e,t)=>{const n=r[t],o=(0,d.W)(e);return new s.Wm({x:o.x,y:o.y,intensity:n})}))}))}}var g=n(10552),v=n(82716);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t{Object.keys(e).forEach((t=>{null==e[t]||e[t]instanceof Array&&0===e[t].length?delete e[t]:"object"!=typeof e[t]||e[t]instanceof Array||Te(e[t])}))};function Oe(e){const t=new(function(e){switch(e){case s.Zc:return m;case s.o9:return w;case s.b3:return S;case s.Xs:return k;case s.Hi:return T;case s.om:return F;case s.R1:return j;case s.FV:case s.R9:case s.xu:case s.hL:return Y;case l.Z:return pe.Z;case s.gd:return $;case s.Qi:return K;case s.sK:return re;case s.GI:return se;case s.x_:return le.Z;case s.Jn:return de;case s.Ih:return ee;case u.Z:return me;default:throw new Error("Unsupported annotation type")}}(e.constructor))(e).toJSON();return Te(t),t}function Ie(e,t,n){return Xe(t.type).fromJSON(e,t,n)}function Fe(e,t,n){return function(e,t,n){(0,v.k)(1===t.v,"Version Unknown"),(0,v.k)("string"==typeof e,"`id` must be of type `string`"),(0,v.k)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,v.k)("string"==typeof t.type&&t.type.startsWith("pspdfkit/form-field/")&&3===t.type.split("/").length,`Invalid type for form field '${t.type}'`),(0,we.G)(n);const r=t.type.split("/")[2],o=t.flags?t.flags.reduce(((e,t)=>(e[t]=!0,e)),{}):{},s=De({id:e,pdfObjectId:t.pdfObjectId||null,name:t.name,annotationIds:(0,a.aV)(t.annotationIds),label:t.label,readOnly:o.readOnly,required:o.required,noExport:o.noExport,additionalActions:t.additionalActions?(0,be.eb)(t.additionalActions):null},(0,we.a5)(n));switch(t.type){case"pspdfkit/form-field/button":return new ge.R0(De(De({},s),{},{buttonLabel:t.buttonLabel}));case"pspdfkit/form-field/checkbox":return new ge.rF(De(De({},s),{},{defaultValues:(0,a.aV)(t.defaultValues),options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/combobox":return new ge.fB(De(De({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues),edit:t.edit,doNotSpellCheck:t.doNotSpellCheck}));case"pspdfkit/form-field/listbox":return new ge.Vi(De(De({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues)}));case"pspdfkit/form-field/radio":return new ge.XQ(De(De({},s),{},{noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison,defaultValue:t.defaultValue,options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/text":return new ge.$o(De(De({},s),{},{defaultValue:t.defaultValue,password:t.password,maxLength:t.maxLength,doNotSpellCheck:t.doNotSpellCheck,doNotScroll:t.doNotScroll,multiLine:t.multiLine,comb:t.comb}));case"pspdfkit/form-field/signature":return new ge.Yo(s);default:throw new i.p2(`Form field type not deserializable: ${r}`)}}(e,t,n)}function Me(e){return function(e){const t=ye.Mr.filter((t=>e[t])),n=De(De({id:e.id,v:1,pdfObjectId:e.pdfObjectId,name:e.name,annotationIds:e.annotationIds.toArray(),label:e.label,additionalActions:e.additionalActions&&(0,be.GI)(e.additionalActions)},(0,we.Ut)(e)),(null==t?void 0:t.length)&&{flags:t});if(e instanceof ge.R0)return De(De({},n),{},{type:"pspdfkit/form-field/button",buttonLabel:e.buttonLabel});if(e instanceof ge.rF)return De(De({},n),{},{type:"pspdfkit/form-field/checkbox",defaultValues:e.defaultValues.toArray(),options:e.options.toJS()});if(e instanceof ge.fB)return De(De({},n),{},{type:"pspdfkit/form-field/combobox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray(),edit:e.edit,doNotSpellCheck:e.doNotSpellCheck});if(e instanceof ge.Vi)return De(De({},n),{},{type:"pspdfkit/form-field/listbox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray()});if(e instanceof ge.XQ)return De(De({},n),{},{type:"pspdfkit/form-field/radio",options:e.options.toJS(),noToggleToOff:e.noToggleToOff,radiosInUnison:e.radiosInUnison,defaultValue:e.defaultValue});if(e instanceof ge.$o)return De(De({},n),{},{type:"pspdfkit/form-field/text",password:e.password,maxLength:e.maxLength,doNotSpellcheck:e.doNotSpellCheck,doNotScroll:e.doNotScroll,multiLine:e.multiLine,comb:e.comb,defaultValue:e.defaultValue});if(e instanceof ge.Yo)return De(De({},n),{},{type:"pspdfkit/form-field/signature"});throw new i.p2("Form field type not serializable")}(e)}function Re(e,t,n){return(0,Se.z)(e,t,n)}function je(e,t){return(0,Se.o)(e,t)}function Be(e){const t=a.aV.isList(e.value)?e.value.toArray():null==e.value?void 0:e.value;return ze(ze({v:1,type:"pspdfkit/form-field-value",name:e.name,value:t},e.optionIndexes&&e.optionIndexes.size>=1?{optionIndexes:e.optionIndexes.toArray()}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting})}function Ne(e){(0,i.kG)("pspdfkit/form-field-value"===e.type,"Invalid `type` for form field value."),(0,i.kG)(1===e.v,"Invalid `version` for form field value."),(0,i.kG)("string"==typeof e.name,"Invalid `name` for form field value. Must be of type `string`."),(0,i.kG)(void 0===e.value||null===e.value||"string"==typeof e.value||Array.isArray(e.value),"Invalid `value` for form field value. Must be of type `undefined`, `null`, `string`, or `Array`."),(0,i.kG)(void 0===e.optionIndexes||Array.isArray(e.optionIndexes)&&e.optionIndexes.every(Number.isInteger),"Invalid `optionIndexes` value for form field value. Must be an Array of integers."),(0,i.kG)(void 0===(null==e?void 0:e.isFitting)||"boolean"==typeof e.isFitting,"Invalid `isFitting` value for form field value. Must be a boolean.");const t=e.value instanceof Array?(0,a.aV)(e.value):e.value,n=e.name;return new ge.KD(ze(ze({name:n,value:t},e.optionIndexes&&e.optionIndexes.length>=1?{optionIndexes:(0,a.aV)(e.optionIndexes)}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting}))}function Le(e){if(!Object.values(Ee._).includes(e.status))throw new i.p2("Invalid `status` for signatures info. Must be one of the `PSPDFKit.DocumentValidationStatus` values");if("string"!=typeof e.checkedAt)throw new i.p2("Invalid `checkedAt` for signatures info. Must be of type `string`.");if(void 0!==e.signatures&&!Array.isArray(e.signatures))throw new i.p2("Invalid `signatures` for signatures info. Must be of type `undefined` or `Array`.");if(!["undefined","boolean"].includes(typeof e.documentModifiedSinceSignature))throw new i.p2("Invalid `documentModifiedSinceSignature` for signatures info. Must be of type `undefined` or `boolean`.");const{checkedAt:t,signatures:n,documentModifiedSinceSignature:r}=e;return ze(ze({status:Ee._[e.status],checkedAt:new Date(t)},n?{signatures:Ke(n)}:null),"boolean"==typeof r?{documentModifiedSinceSignature:r}:null)}function Ke(e){return e.map((e=>{if("pspdfkit/signature-info"!==e.type)throw new i.p2("Invalid `type` for signature info.");if(["signerName","creationDate","signatureReason","signatureLocation"].forEach((t=>{if(!["undefined","string"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`undefined\` or \`string\`.`)})),["isTrusted","isSelfSigned","isExpired","documentModifiedSinceSignature"].forEach((t=>{if(!["boolean"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`boolean\``)})),!["string"].includes(typeof e.signatureFormFQN))throw new i.p2("Invalid `signatureFormFQN` for signature info. Must be a `string`.");if(!Object.values(Ce.QA).includes(e.documentIntegrityStatus))throw new i.p2("Invalid `documentIntegrityStatus` for signature info. Must be one of the `PSPDFKit.DocumentIntegrityStatus` values");if(e.signatureType&&!Object.values(Ce.Xl).includes(e.signatureType))throw new i.p2(`Invalid \`signatureType\` for signature info: ${e.signatureType}. Must be 'cms' or 'cades' if present`);if(!Object.values(Ce.wk).includes(e.certificateChainValidationStatus))throw new i.p2("Invalid `certificateChainValidationStatus` for signature info. Must be one of the `PSPDFKit.CertificateChainValidationStatus` values");if(!Object.values(Ce.qA).includes(e.signatureValidationStatus))throw new i.p2("Invalid `signatureValidationStatus` for signature info. Must be one of the `PSPDFKit.SignatureValidationStatus` values");return ze(ze({type:e.type},e.signatureType?{signatureType:it[e.signatureType]}:null),{},{documentIntegrityStatus:Ce.QA[e.documentIntegrityStatus],certificateChainValidationStatus:Ce.wk[e.certificateChainValidationStatus],signatureValidationStatus:Ce.qA[e.signatureValidationStatus],isTrusted:e.isTrusted,isSelfSigned:e.isSelfSigned,isExpired:e.isExpired,documentModifiedSinceSignature:e.documentModifiedSinceSignature,signerName:e.signerName,signatureReason:e.signatureReason,signatureLocation:e.signatureLocation,creationDate:e.creationDate?new Date(e.creationDate):void 0,signatureFormFQN:e.signatureFormFQN,PAdESSignatureLevel:e.PAdESSignatureLevel,validFrom:e.validFrom,validUntil:e.validUntil,timestampInfo:e.timestampInfo,ltv:e.ltv})}))}function Ve(e){return ze({type:"pspdfkit/signature-metadata"},e)}function qe(e){return e?{type:"pspdfkit/signature-position",pageIndex:e.pageIndex,rect:(0,D.u)(e.boundingBox)}:null}function He(e){return new Promise(((t,n)=>{if("function"==typeof e.arrayBuffer)t(e.arrayBuffer());else if(e instanceof window.Blob){const r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=n,r.readAsArrayBuffer(e)}else n(new Error("The input is not a Blob or File."))}))}async function Ze(e){if(!e)return null;const{watermarkImage:t,graphicImage:n}=e,o=(0,r.Z)(e,Pe);let i,a,s,l;return t&&(i=await He(t),a=t.type),n&&(s=await He(n),l=n.type),ze(ze(ze(ze(ze({type:"pspdfkit/signature-appearance"},o),i?{watermark:(0,_e.sM)(i)}:{}),a?{watermarkContentType:a}:{}),s?{graphic:(0,_e.sM)(s)}:{}),l?{graphicContentType:l}:{})}function Ue(e){const t=e||{},{signatureType:n,certificates:o}=t,i=(0,r.Z)(t,ke);return ze({type:"pspdfkit/signer-data-source",certificates:o||[],signatureType:at[n||(o&&o.length>0?Ce.BG.CAdES:Ce.BG.CMS)]||Ce.Xl.cms},i)}function $e(e){return"string"==typeof e.type&&e.type.startsWith("pspdfkit/form-field/")}function Ge(e){return"pspdfkit/form-field-value"===e.type}function We(e){return e.map((e=>e.data)).toJS()}const Xe=e=>{switch(e){case"pspdfkit/ink":return m;case"pspdfkit/shape/line":return w;case"pspdfkit/shape/rectangle":return S;case"pspdfkit/shape/ellipse":return k;case"pspdfkit/shape/polygon":return T;case"pspdfkit/shape/polyline":return F;case"pspdfkit/link":return j;case"pspdfkit/markup/highlight":case"pspdfkit/markup/squiggly":case"pspdfkit/markup/strikeout":case"pspdfkit/markup/underline":return Y;case"pspdfkit/markup/redaction":return pe.Z;case"pspdfkit/text":return $;case"pspdfkit/note":return K;case"pspdfkit/image":return re;case"pspdfkit/stamp":return se;case"pspdfkit/widget":return le.Z;case"pspdfkit/comment-marker":return de;case"pspdfkit/media":return me;default:return ee}};function Ye(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,r]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=r&&(0,c.C)(r);break;case"startPoint":case"endPoint":e[n]=r&&(0,d.K)(r);break;case"icon":e.icon=B.Y4[r];break;case"points":e.points=r&&r.map((e=>(0,d.K)(e))).toJS();break;case"lines":e.lines=r&&{points:r.map((e=>e.map((e=>(0,d.K)(e))))).toJS(),intensities:r.map((e=>e.map((e=>e.intensity)))).toJS()};break;case"isBold":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("bold"):["bold"];break;case"isItalic":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("italic"):["italic"];break;case"callout":e.callout=r&&{start:(0,d.K)(r.start),knee:r.knee&&(0,d.K)(r.knee),end:(0,d.K)(r.end),cap:r.cap};break;case"boundingBox":e.bbox=r&&(0,D.u)(r);break;case"cloudyBorderInset":e.cloudyBorderInset=r&&(0,x.B)(r);break;case"strokeDashArray":case"borderDashArray":e.strokeDashArray=r;break;case"action":e.action=r&&(0,be.vP)(r);break;case"createdAt":case"updatedAt":e[n]=r&&r.toISOString();break;case"noPrint":case"noZoom":case"noRotate":case"noView":case"hidden":!0===r&&(e.flags=Array.isArray(e.flags)?e.flags.concat(n):[n]);break;default:e[n]=r}return e}),{});return Te(t),t}function Qe(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,r]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=null!=r?(0,c.b)(r):null;break;case"startPoint":case"endPoint":e[n]=r&&(0,d.W)(r);break;case"icon":e.icon=B.V9[r];break;case"points":e.points=r&&(0,a.aV)(r.map((e=>(0,d.W)(e))));break;case"lines":e.lines=r&&(0,a.aV)(r.points).map(((e,t)=>{const n=r.intensities[t];return(0,a.aV)(e).map(((e,t)=>{const r=n[t],o=(0,d.W)(e);return new s.Wm({x:o.x,y:o.y,intensity:r})}))}));break;case"fontStyle":e.isBold=r&&r.includes("bold"),e.isItalic=r&&r.includes("italic");break;case"callout":e.callout=r&&{start:(0,d.W)(r.start),knee:r.knee&&(0,d.W)(r.knee),end:(0,d.W)(r.end),cap:r.cap};break;case"bbox":e.boundingBox=r&&(0,D.k)(r);break;case"cloudyBorderInset":e.cloudyBorderInset=r&&(0,x.r)(r);break;case"strokeDashArray":e.strokeDashArray=r;break;case"action":e.action=r&&(0,be.lk)(r);break;case"createdAt":case"updatedAt":e[n]=new Date(r);break;case"flags":r&&(e.noPrint=r.includes("noPrint"),e.noZoom=r.includes("noZoom"),e.noRotate=r.includes("noRotate"),e.noView=r.includes("noView"),e.hidden=r.includes("hidden"));break;default:e[n]=r}return e}),{});return Te(t),t}function Je(e){return"pspdfkit/bookmark"===e.type}function et(e){return"pspdfkit/comment"===e.type}function tt(e){return"pspdfkit/signature-info"===e.type}function nt(e){return"pspdfkit/embedded-file"===e.type}function rt(e){const t=[];return e.isBold&&t.push("bold"),e.isItalic&&t.push("italic"),t.length>0?t:null}function ot(e){if("addPage"===e.type){if("afterPageIndex"in e&&"number"==typeof e.afterPageIndex)return ze({type:e.type,afterPageIndex:e.afterPageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,D.u)(e.insets)});if("beforePageIndex"in e&&"number"==typeof e.beforePageIndex)return ze({type:e.type,beforePageIndex:e.beforePageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,D.u)(e.insets)});throw new i.p2("The `addPage` operation is missing either the `afterPageIndex` or the `beforePageIndex` property")}return"cropPages"===e.type?{type:e.type,cropBox:(0,D.u)(e.cropBox),pageIndexes:e.pageIndexes}:"addPageMargins"===e.type?{type:e.type,margins:(0,x.B)(e.margins),pageIndexes:e.pageIndexes}:e}const it={cms:"CMS",cades:"CAdES",documentTimestamp:"documentTimestamp"},at={CMS:"cms",CAdES:"cades",documentTimestamp:"documentTimestamp"};function st(e){return(0,a.aV)(e.map((e=>({c:e.c,rect:(0,D.k)(e.r)}))))}},63727:(e,t,n)=>{"use strict";n.d(t,{py:()=>bS,eQ:()=>yS,xE:()=>oS,Un:()=>wS,zD:()=>dS,ae:()=>WE,XV:()=>xS,n_:()=>cS,Nt:()=>iS,If:()=>GE});var r={};n.r(r),n.d(r,{Decoder:()=>BC,Encoder:()=>RC,PacketType:()=>MC,protocol:()=>FC});var o=n(96156),i=n(86998),a=n(67665),s=n(35369),l=n(67366),u=n(15359),c=n(73935),d=n(67294),p=n(94184),h=n.n(p),f=n(82654),m=n(38252),g=n(87153),v=n.n(g),y=n(98260);class b{constructor(){this.ranges=[],this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}getRangeAt(e){return this.ranges[e]}addRange(e){this.ranges.push(e)}removeAllRanges(){this.ranges=[]}setBaseAndExtent(e,t,n,r){const o=document.createRange();o.setStart(e,t),o.setEnd(n,r),this.removeAllRanges(),this.addRange(o),this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}isEmptySelection(){return 0===this.ranges.length}get isCollapsed(){return 0===this.ranges.length||1===this.ranges.length&&this.ranges[0].collapsed}collapse(e,t){const n=document.createRange();n.collapse(!0),n.setStart(e,t),n.setEnd(e,t),this.removeAllRanges(),this.addRange(n),this.anchorNode=e,this.anchorOffset=t,this.focusNode=e,this.focusOffset=t}extend(e,t){if(0===this.ranges.length)throw new Error("No ranges to extend");this.ranges[this.ranges.length-1].setEnd(e,t),this.focusNode=e,this.focusOffset=t}get rangeCount(){return this.ranges.length}toString(){return this.ranges.map((e=>e.toString())).join("")}}class w{constructor(e){(0,o.Z)(this,"selection",new b),(0,o.Z)(this,"isSelecting",!1),(0,o.Z)(this,"initialPoint",null),(0,o.Z)(this,"currentPoint",null),(0,o.Z)(this,"clickCount",0),(0,o.Z)(this,"clickTimer",null),(0,o.Z)(this,"processing",!1),this.boundHandleMouseDown=this.handleMouseDown.bind(this),this.boundHandleMouseMove=this.handleMouseMove.bind(this),this.boundHandleMouseUp=this.handleMouseUp.bind(this),this.boundSelectionChange=this.windowSelectionChange.bind(this),this.boundBeforeInput=this.handleBeforeInput.bind(this),this.setupEventListeners(e),window.ShadowRoot.prototype.getSelection=()=>{const e=x();return(0,y.W1)(e)?document.getSelection():this.selection}}setupEventListeners(e){e.addEventListener("mousedown",this.boundHandleMouseDown),e.addEventListener("mousemove",this.boundHandleMouseMove),document.addEventListener("mouseup",this.boundHandleMouseUp),window.addEventListener("selectionchange",this.boundSelectionChange,!0),window.addEventListener("beforeinput",this.boundBeforeInput,!0)}cleanupEventListeners(e){e.removeEventListener("mousedown",this.boundHandleMouseDown),e.removeEventListener("mousemove",this.boundHandleMouseMove),document.removeEventListener("mouseup",this.boundHandleMouseUp),window.removeEventListener("selectionchange",this.boundSelectionChange,!0),window.removeEventListener("beforeinput",this.boundBeforeInput,!0)}windowSelectionChange(){if(!this.processing){this.processing=!0;const e=x();e&&"true"===e.getAttribute("contenteditable")&&document.execCommand("indent"),this.processing=!1}}handleBeforeInput(e){const t=e;if(this.processing){const e=t.getTargetRanges()[0],n=new Range;n.setStart(e.startContainer,e.startOffset),n.setEnd(e.endContainer,e.endOffset),this.selection.removeAllRanges(),this.selection.addRange(n),t.preventDefault(),t.stopImmediatePropagation()}}handleMouseDown(e){const t=e,n=e.composedPath()[0];return this.clickCount++,2===this.clickCount?(this.handleDoubleClick(t),void this.resetClickCountAfterDelay()):3===this.clickCount?(this.handleTripleClick(t),void(this.clickCount=0)):(1!==this.clickCount||this.selection.isEmptySelection()||this.selection.removeAllRanges(),this.setupInitialSelectionPoint({e:t,target:n}),void this.resetClickCountAfterDelay())}handleMouseMove(e){const t=e;if(!this.isSelecting)return;const n=t.composedPath()[0],r=(0,y.m_)(n,t.clientX,t.clientY);let o=0;if(r&&r.nodeType===Node.TEXT_NODE&&(o=(0,y.QC)(r,t.clientX,t.clientY)),this.currentPoint={node:r,offset:o},this.initialPoint&&this.currentPoint){const{node:e,offset:t}=this.initialPoint,{node:n,offset:r}=this.currentPoint;e&&n&&this.updateSelection(e,t,n,r)}}handleMouseUp(){if(this.isSelecting=!1,setTimeout((()=>{1===this.clickCount&&(this.currentPoint||this.initialPoint&&null!==this.initialPoint.node||this.selection.removeAllRanges(),this.clickCount=0)}),400),this.initialPoint&&this.currentPoint){const e=this.initialPoint.node,t=this.currentPoint.node;if(e&&t){const e=(0,y.g)(this.initialPoint,this.currentPoint);this.updateSelection(e.startNode,e.startOffset,e.endNode,e.endOffset)}}this.initialPoint=null,this.currentPoint=null}setupInitialSelectionPoint(e){let{e:t,target:n}=e;const r=(0,y.m_)(n,t.clientX,t.clientY),o=r&&r.nodeType===Node.TEXT_NODE?(0,y.QC)(r,t.clientX,t.clientY):0;this.initialPoint={node:r,offset:o},this.isSelecting=!0}resetClickCountAfterDelay(){clearTimeout(this.clickTimer),this.clickTimer=setTimeout((()=>{this.clickCount=0}),400)}handleDoubleClick(e){const t=e.composedPath()[0],n=(0,y.m_)(t,e.clientX,e.clientY);if(n&&n.nodeType===Node.TEXT_NODE){const t=(0,y.xA)(n,e.clientX,e.clientY);t&&(this.selection.removeAllRanges(),this.selection.addRange(t))}}handleTripleClick(e){clearTimeout(this.clickTimer),this.clickCount=0;const t=e.composedPath()[0],n=(0,y.S9)(t);n&&(this.selection.removeAllRanges(),this.selection.addRange(n))}updateSelection(e,t,n,r){const o=new Range;o.setStart(e,t),o.setEnd(n,r),this.selection.removeAllRanges(),this.selection.addRange(o)}}function x(){let e=document.activeElement;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}var D=n(72110);function C(e){return(0,u.kG)(Array.isArray(e),"fontSubstitutions must be an array of FontSubstitution objects."),e.every((e=>"string"==typeof(null==e?void 0:e.pattern)&&""!==(null==e?void 0:e.pattern.trim())&&"string"==typeof(null==e?void 0:e.target)&&""!==e.target.trim()))}var E=n(90093),S=n(44077),_=n(45249),P=n(47120),k=n(46364),A=n(27874),z=n(29152),T=n(1385),O=n(94327),I=n(79724),F=n(38852);const M=(0,I.Z)("MeasurementValueConfiguration");function R(e){let t=!1;e.forEach(((n,r)=>{var o;o=n,M((0,u.PO)(o)&&!!o,"Expected item to be an object"),M((0,u.PO)(o.scale)&&!!o.scale,"Expected scale to be an object"),M(void 0!==o.scale.unitFrom&&Object.values(O.s).includes(o.scale.unitFrom),`Scale ${o.name} does not have a valid 'unitFrom' value.`),M(void 0!==o.scale.unitTo&&Object.values(T.K).includes(o.scale.unitTo),`Scale ${o.name} does not have a valid 'unitTo' value.`),M(void 0!==o.scale.fromValue&&(0,F.hj)(Number(o.scale.fromValue)),`Scale ${o.name} does not have a valid 'fromValue' value.`),M(void 0!==o.scale.toValue&&(0,F.hj)(Number(o.scale.toValue)),`Scale ${o.name} does not have a valid 'toValue' value.`),M("string"==typeof o.precision||void 0===o.precision,"`measurementValueConfiguration.measurementPrecision` must be a string.");for(let t=r+1;te.withMutations((e=>{t.annotations.forEach((t=>{(0,j.ud)(e,t)}))})),[K.ILc]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,j.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,s.l4)([n.id])),e.set("interactionMode",B.A.INK),e.set("selectedAnnotationMode",N.o.EDITING),(0,j.ud)(e,n)}))},[K.RPc]:(e,t)=>e.set("inkEraserCursorWidth",t.lineWidth),[K.HS7]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,j.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,s.l4)([n.id])),e.set("interactionMode",(0,L.R4)(t.annotation.constructor)),e.set("selectedAnnotationMode",N.o.EDITING),(0,j.ud)(e,n)}))},[K.jzI]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,j.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,s.l4)([n.id])),e.set("interactionMode",B.A.REDACT_SHAPE_RECTANGLE),e.set("selectedAnnotationMode",N.o.EDITING),(0,j.ud)(e,n)}))},[K.oE1]:(e,t)=>{let{attributes:n}=t;const{currentItemPreset:r}=e;return r?e.hasIn(["annotationPresets"],r)?e.mergeIn(["annotationPresets",r],n):e.setIn(["annotationPresets",r],n):e},[K.oWy]:(e,t)=>{let{currentItemPreset:n}=t;return e.set("currentItemPreset",n)},[K.UiQ]:(e,t)=>{let{annotationPresets:n}=t;return e.set("annotationPresets",n)},[K.R1i]:(e,t)=>{let{annotationID:n,annotationPresetID:r}=t;return e.setIn(["annotationPresetIds",n],r)},[K.x0v]:(e,t)=>{let{annotationID:n}=t;return e.delete("annotationPresetIds",n)},[K.JwD]:(e,t)=>{let{annotationID:n}=t;const r=e.annotationPresetIds.has(n)?e.annotationPresetIds.get(n):(0,j.X5)(e,n);return e.set("currentItemPreset",r)},[K.R8P]:(e,t)=>e.withMutations((e=>{t.annotations.forEach((t=>{(0,j._E)(e,t)}))})),[K.gF5]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,j.Dl)(e,t)}))})),[K.sCM]:(e,t)=>{let{annotationsIDs:n}=t;return e.set("annotationsIdsToDelete",n)},[K.qRJ]:(e,t)=>{let{stampAnnotationTemplates:n}=t;return e.set("stampAnnotationTemplates",n)},[K.WaW]:(e,t)=>e.set("collapseSelectedNoteContent",t.value),[K.ieh]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)||e.set("invalidAPStreams",e.invalidAPStreams.set(t,(0,s.l4)()));const r=e.invalidAPStreams.get(t);r&&e.set("invalidAPStreams",e.invalidAPStreams.set(t,r.add(n)))}))})),[K.kVz]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)&&e.deleteIn(["invalidAPStreams",t],n)}))})),[K.hw0]:(e,t)=>e.set("onAnnotationResizeStart",t.callback),[K.$8O]:(e,t)=>{let{measurementToolState:n}=t;return e.set("measurementToolState",n?q(q({},e.measurementToolState),n):null)},[K.UP4]:(e,t)=>{let{hintLines:n}=t;return e.set("hintLines",n)},[K.vkF]:(e,t)=>{let{configurationCallback:n}=t;return e.set("measurementValueConfiguration",n)},[K.SdX]:(e,t)=>{var n,r;let{scales:o}=t;const i=null!==(n=null===(r=e.measurementValueConfiguration)||void 0===r?void 0:r.call(e,o))&&void 0!==n?n:o;i&&R(i);const a=e.activeMeasurementScale||i.find((e=>e.selected))||i[0];return e.withMutations((e=>{e.set("measurementScales",i),a&&e.set("activeMeasurementScale",a)}))},[K.Zt9]:(e,t)=>e.set("secondaryMeasurementUnit",t.secondaryMeasurementUnit),[K.VNu]:(e,t)=>e.set("activeMeasurementScale",t.activeMeasurementScale),[K.wgG]:(e,t)=>e.set("isCalibratingScale",t.isCalibratingScale),[K.Dqw]:(e,t)=>e.withMutations((e=>{"down"===t.variant?e.updateIn(["APStreamVariantsDown"],(e=>e.concat(t.annotationObjectIds))):"rollover"===t.variant&&e.updateIn(["APStreamVariantsRollover"],(e=>e.concat(t.annotationObjectIds)))})),[K.uOP]:(e,t)=>e.set("widgetAnnotationToFocus",t.annotationId),[K.SHi]:(e,t)=>{const{annotations:n,formFields:r}=e,o=[],i=t.tabOrder.reduce(((e,i)=>{const a=n.find((e=>"number"==typeof e.pdfObjectId?i.pdfObjectId===e.pdfObjectId:i.id===e.id));let s;if(a instanceof _.x_){if(s=r.get(a.formFieldName),!s)return e;if(s instanceof _.XQ){if(o.includes(s.name))return e;const r=n.filter((e=>e instanceof _.x_&&e.formFieldName===s.name)),i=t.tabOrder.filter((e=>r.some((t=>"number"==typeof e.pdfObjectId?e.pdfObjectId===t.pdfObjectId:e.id===t.id)))).map((e=>e.id));return o.push(s.name),e.concat(i)}}return e.concat([null==a?void 0:a.id])}),[]).filter(Boolean);return e.setIn(["pages",t.pageIndex,"tabOrder"],i)}};function U(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H,t=arguments.length>1?arguments[1]:void 0;const n=Z[t.type];return n?n(e,t):e}var $=n(17078),G=n(93113),W=n(94732),X=n(31442),Y=n(38246),Q=n(39934),J=n(2841),ee=n(44550),te=n(28233),ne=n(17375);function re(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t()=>{};function se(){const e=d.createContext(ae);class t extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{instances:{}}),(0,o.Z)(this,"refCreator",((e,t,n)=>r=>{this.setState((o=>{let{instances:i}=o;const a=i[e]||{node:null,portalTarget:document.createElement("div"),target:null};return n&&(a.portalTarget.className=n),a.portalTarget.parentNode!==r&&r&&r.appendChild(a.portalTarget),a.node===t&&a.target===r?null:{instances:ie(ie({},i),{},{[e]:ie(ie({},a),{},{node:t,target:r})})}}),(()=>{if(null===r){null===this.state.instances[e].target&&this.setState((t=>{let{instances:n}=t;const{[e]:r}=n;return{instances:(0,ne.Z)(n,[e].map(re))}}))}}))}))}render(){const t=Object.entries(this.state.instances).map((e=>{let[t,{node:n,portalTarget:r}]=e;return c.createPortal(void 0===n?null:n,r,t)}));return d.createElement(e.Provider,{value:this.refCreator},this.props.children,t)}}return{Provider:t,Reparent:function(t){let{id:n,children:r,className:o}=t;return d.createElement(e.Consumer,null,(e=>d.createElement("div",{ref:e(n,r,o)})))}}}const le=se(),ue=se();se();var ce=n(22122),de=n(4715);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t{if(a&&n&&n!==a.firstChild){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(n)}return()=>{const e=l.current;e&&e(n)}}),[n,a]),d.useLayoutEffect((()=>{l.current=i}),[i]),d.createElement("div",{style:{position:"relative"}},t&&r,n&&d.createElement("div",{ref:s,style:o}))}function me(e,t){return!e&&!t}const ge={node:"object",append:"boolean",noZoom:"boolean",onDisappear:"function"};const ve=(0,l.$j)((e=>({customRenderers:e.customRenderers})))((function(e){const{children:t,customRenderers:n,renderer:r,zoomLevel:o,notCSSScaled:i=!1}=e;if(!n||!n[r])return t;const a=d.Children.only(t),s=a.props,l=ye[r],c=n[r];(0,u.kG)(null!=c);const p=c(l(s));if(!p)return t;!function(e){(0,u.kG)(e.node,"Custom renderers must return an object with a node property.");for(const t in e)e.hasOwnProperty(t)&&((0,u.kG)(void 0!==ge[t],`Render configuration '${t}' property is not supported`),(0,u.kG)(typeof e[t]===ge[t],`Render configuration ${t} property has wrong '${typeof e[t]}' type, should be '${ge[t]}'`))}(p);const{node:h,append:f,noZoom:m=!1,onDisappear:g}=p,v=be[r];(0,u.kG)("boolean"==typeof m);const y=he({pointerEvents:f?"none":"all"},v?v(s,m,i,o):null);return d.createElement(fe,{node:h,append:f,onDisappear:g,rendererStyles:y},a)})),ye={Annotation:e=>({annotation:e.annotation}),CommentAvatar:e=>({comment:e.comment})},be={Annotation:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(e&&e.annotation&&e.annotation.boundingBox){const{left:o,top:i,width:a,height:s}=e.annotation.boundingBox;return he({position:"absolute",left:o*r,top:i*r,width:n?a*r:a,height:n?s*r:s},me(t,n)?{transform:`scale(${r})`,transformOrigin:"0 0"}:null)}return{}},CommentAvatar:null};var we=n(18390),xe=n(35782),De=n(82716);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class Ee extends d.PureComponent{render(){const{applyZoom:e,children:t,position:n,zoomLevel:r,noRotate:i,currentPagesRotation:a,disablePointerEvents:s,additionalStyle:l={},isMultiAnnotationsSelected:u}=this.props;(0,De.k)(!i||"number"==typeof a);const c=(e?`scale(${r}) `:"")+(i?`rotate(-${String(a)}deg)`:""),p=function(e){for(var t=1;t{e.isPrimary&&(!this.props.isReadOnly&&e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)}))}render(){const{annotation:e,zoomLevel:t,rotation:n,active:r,intl:{formatMessage:o}}=this.props,{width:i,height:a}=e.boundingBox,s=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},l=h()("PSPDFKit-Annotation","PSPDFKit-Comment-Marker-Annotation",r&&!this.props.isDisabled&&"PSPDFKit-Annotation-Selected",r&&!this.props.isDisabled&&"PSPDFKit-Comment-Marker-Annotation-Selected",ze().annotation);return d.createElement(Ee,{position:e.boundingBox.getLocation(),zoomLevel:t,currentPagesRotation:n,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},d.createElement(we.Z,(0,ce.Z)({},s,{onClick:this._handleClick,disabled:this.props.isDisabled,style:{width:i,height:a,transformOrigin:"top left",transform:`translate(${i*t/2-i/2}px, ${a*t/2-a/2}px)`},className:l,"data-annotation-id":e.id,"aria-controls":`CommentThread-${e.id}`,"aria-label":`${o(Pe.Z.annotation)}: ${o(Pe.Z.comment)}`,tabIndex:-1}),d.createElement(ke.Z,{style:{width:20,height:20},className:h()(ze().icon,r&&ze().iconActive),type:"comment-indicator"})))}}const Oe=(0,xe.XN)(Te,{forwardRef:!0});var Ie,Fe=n(56573),Me=n(2877),Re=n(53261),je=n(29911),Be=n(10983),Ne=n(66361),Le=n.n(Ne),Ke=n(98179),Ve=n(43069),qe=n(5705),He=n(82197),Ze=n(11471),Ue=n.n(Ze);function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t{e&&!this._fetchImageComponentInstance&&(this._fetchImageComponentInstance=e)})),(0,o.Z)(this,"_fetchImageComponentInstance",null),(0,o.Z)(this,"state",{loadingState:"LOADING",showLoadingIndicator:!1,renderedAnnotation:null}),(0,o.Z)(this,"_fetchImage",(()=>{const{backend:e,attachment:t,zoomLevel:n,isDetachedAnnotation:r}=this.props;let o=this.props.annotation;r&&(o=o.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0))));const i=this._lastZoomLevelUsed{var e,t;this.isAlive&&(this.props.annotation instanceof _.GI&&this.setState({renderedAnnotation:this.props.annotation}),this._shouldShowIndicators&&this.setState({loadingState:"LOADED"}),null===(e=(t=this.props).onRenderFinished)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showError",(()=>{var e,t;this.isAlive&&(this.props.annotation instanceof _.GI||this.props.annotation instanceof _.sK||this.props.annotation instanceof _.Ih?this._shouldShowIndicators&&this.setState({loadingState:"ERROR"}):null===(e=(t=this.props).onError)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.isAlive&&this._shouldShowIndicators&&this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){!this.props.isDragging&&this.isAlive&&Qe(e,this.props)&&(this._fetchImageComponentInstance&&this.props.annotation.rotation!==e.annotation.rotation?this._fetchImageComponentInstance.refreshSkippingThrottle():this._fetchImageComponentInstance&&this._fetchImageComponentInstance.refresh())}componentDidMount(){this._shouldShowIndicators&&setTimeout(this._showLoadingIndicator,Be.rB)}componentWillUnmount(){this.isAlive=!1;const{annotation:e,backend:t}=this.props;"imageAttachmentId"in e&&e.imageAttachmentId&&(t.attachmentsCache=t.attachmentsCache.delete((0,Fe.UW)(e)))}render(){var e;const{annotation:t,attachment:n,formField:r,label:o,zoomLevel:a}=this.props,s=t instanceof _.GI&&(null===(e=this.state.renderedAnnotation)||void 0===e?void 0:e.opacity)!==t.opacity,l=Ge(Ge(Ge({},Xe),function(e){let{annotation:t,attachment:n,zoomLevel:r}=e;if(t instanceof _.x_){return Ge({position:"absolute",top:0},90===(0,He.Lv)(t.rotation)||270===(0,He.Lv)(t.rotation)?{width:t.boundingBox.width*r,height:t.boundingBox.height*r}:null)}if(t instanceof _.R1)return{position:"absolute",top:0};if(t instanceof _.UX||t instanceof _.Zc)return{padding:Ke.Ni?Be.wK:Be.XZ};if(t instanceof _.GI&&(0,qe.kv)(t)){const e=(0,qe.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*r,o=(t.boundingBox.height-e.boundingBox.height)/2*r;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-o}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*r,height:t.boundingBox.height*r}}if(t instanceof _.gd&&(0,qe.kv)(t)){const e=(0,qe.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*r,o=(t.boundingBox.height-e.boundingBox.height)/2*r;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-o}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*r,height:t.boundingBox.height*r}}if(t instanceof _.sK&&n&&t.opacity<1)return{opacity:t.opacity};if(t instanceof _.R1||t instanceof _.gd||t instanceof _.On||t instanceof _.Qi||t instanceof _.Ih||t instanceof _.sK||t instanceof _.GI)return{};(0,u.Rz)(t.constructor)}({annotation:this.state.renderedAnnotation||t,attachment:n,zoomLevel:a})),s?{opacity:t.opacity}:null),c=h()(Ue().wrapper,"PSPDFKit-APStream-Wrapper",{[Ue().loading]:this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[Ue().error]:this._shouldShowIndicators&&"ERROR"===this.state.loadingState}),p=h()(t instanceof _.GI&&Ue().stampAnnotation,t instanceof _.x_&&Ue().widgetAnnotation,"PSPDFKit-APStream"),f=t instanceof _.GI||t instanceof _.sK||t instanceof _.Ih||t instanceof _.x_&&r instanceof _.Yo?null:0;return d.createElement("figure",{style:l,className:c,"data-name":null==r?void 0:r.name},d.createElement(Me.Z,{className:p,fetchImage:this._fetchImage,label:o,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,throttleTimeout:f,rectStyle:Ye,ref:this._imageFetcherRef}),"description"in t&&t.description&&d.createElement(i.TX,{tag:"figcaption"},t.description),this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?d.createElement("div",{className:Ue().placeholder},Ie||(Ie=d.createElement(je.Z,null))):this._shouldShowIndicators&&"ERROR"===this.state.loadingState?d.createElement("div",{className:Ue().placeholder},d.createElement(Re.Z,{src:Le(),className:Ue().errorIcon})):null)}}const Xe={position:"relative",overflow:"hidden",margin:0,pointerEvents:"none",width:"100%",height:"100%"},Ye={pointerEvents:"none",width:"100%",height:"100%"};function Qe(e,t){return function(e,t){return!(0,j.ix)(t.annotation,t.zoomLevel)&&t.zoomLevel>e.zoomLevel}(e,t)||(0,j.AC)(e.annotation,t.annotation)||(0,j.TL)(e.formField,t.formField)||t.formField&&e.formField&&t.formField.formattedValue!==e.formField.formattedValue||!(0,Ve.BT)(t.formField,e.formField)||e.variant!==t.variant||e.isDigitallySigned!==t.isDigitallySigned}var Je=n(59140),et=n(74038),tt=n.n(et);class nt extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}render(){const{annotation:e,attachment:t,backend:n,onRenderFinished:r,zoomLevel:o,isSelectable:i,isDisabled:a,isDragging:s,intl:{formatMessage:l}}=this.props,{boundingBox:u,id:c}=e,p={cursor:(0,j.B7)(e,{isSelectable:i}),overflow:"hidden",width:u.width*o,height:u.height*o,display:"block",outline:this.props.isFocused?j.A8:null};return d.createElement(le.Reparent,{id:`annotation-image-${c}`},d.createElement(Ee,{position:u.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},d.createElement(Je.Z,{onPointerUp:this._handlePointerUp,onPointerEnter:()=>{this.props.dispatch((0,Se.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(e.id))}},d.createElement(we.Z,{disabled:a,onPointerDown:this._handlePointerDown,onClick:this._handleClick,style:p,className:h()("PSPDFKit-Annotation PSPDFKit-Image-Annotation",{[tt().readOnlyOutline]:e.readOnly||e.locked}),"data-annotation-id":e.id,"aria-label":`${l(Pe.Z.annotation)}: ${l(Pe.Z.imageAnnotation)}`,innerRef:this._innerRef,tabIndex:-1},d.createElement(We,{annotation:e,attachment:t,backend:n,onRenderFinished:r,zoomLevel:o,label:l(Pe.Z.imageAnnotation),isDragging:s,onError:this.props.onError})))))}}const rt=(0,xe.XN)(nt,{forwardRef:!0});var ot=n(55441),it=n(87996),at=n(89407),st=n.n(at);function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e){for(var t=1;t{e.persist(),e.isPrimary&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.precision=(0,ot.HB)(this.props.zoomLevel),this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null)}render(){const{annotation:e,intl:{formatMessage:t},isSelectable:n,pathDataFromFragments:r,backend:o,zoomLevel:i,isDragging:a=!1,shouldKeepRenderingAPStream:s=!1}=this.props,{boundingBox:l,blendMode:u}=e,c=l.grow(Ke.Ni?Be.wK:Be.XZ),p=(0,j.B7)(e,{isSelectable:n}),f=ut(ut({},c.toJS()),{},{cursor:p}),m=u&&"normal"!==u?ut({mixBlendMode:(0,j.vk)(u)},Ke.G6?{transform:"translate3d(0,0,0)"}:null):{};return d.createElement("div",{style:m},d.createElement(Ee,{zoomLevel:this.props.zoomLevel,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},d.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,Se.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(e.id))}},d.createElement(we.Z,{disabled:this.props.isDisabled,onPointerUp:s?this._handlePointerUp:void 0,className:h()(st().container,{[st().cursorNotAllowed]:e.readOnly||e.locked},"PSPDFKit-Ink-Annotation PSPDFKit-Annotation"),style:f,"data-annotation-id":e.id,"aria-label":`${t(Pe.Z.annotation)}: ${t(Pe.Z.inkAnnotation)}`,tabIndex:-1},d.createElement(pt,{annotation:e,onPointerDown:this._handlePointerDown,isSelectable:this.props.isSelectable,viewBox:c,pathDataFromFragments:r,renderInvisibleClickPath:s,precision:this.precision}),s&&o&&d.createElement(le.Reparent,{id:`annotation-ink-${e.id}`},d.createElement(We,{annotation:e,backend:o,zoomLevel:i,label:t(Pe.Z.inkAnnotation),isDragging:a,onError:this.props.onError}))))))}}const dt=(0,xe.XN)(ct,{forwardRef:!0}),pt=function(e){let{annotation:t,isSelectable:n,viewBox:r,pathDataFromFragments:o=(()=>null),onPointerDown:i,renderInvisibleClickPath:a=!1,precision:l=(0,ot.HB)(1)}=e;const{ENABLE_INK_SMOOTH_LINES:u}=it.Options,c=d.useMemo((()=>u?e=>(0,ot.vR)(e,l):ot.$U),[l,u]),p=d.useRef([]),f=d.useCallback(((e,n,r)=>o(t.id,n,r)||(0,ot.IQ)(e).map(c).flat()),[o,c,t]);p.current=d.useMemo((()=>{t.lines.size!==p.current.length&&(p.current=[]);const e=[];return t.lines.forEach((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,s.aV)(),n=arguments.length>1?arguments[1]:void 0;e.push(f(t,n,p.current[n]))})),e}),[t,f]);const m=d.useMemo((()=>{const{strokeColor:e,lineWidth:r,lines:o}=t,s={stroke:(null==e?void 0:e.toCSSValue())||"transparent",strokeWidth:r,pointerEvents:"none"},l={strokeWidth:n?Math.max(Ke.Ni?Be.wK:Be.XZ,r):0},c=h()({[st().path]:!0,[st().selectable]:!t.readOnly&&!t.locked,"PSPDFKit-Smooth-Lines":u}),f=o.map(((e,t)=>{const r=(0,ot.u8)(p.current[t]);return d.createElement("g",{key:t},!a&&d.createElement("path",{className:c,style:s,d:r,"data-testid":"ink-path"}),n&&d.createElement("path",{onPointerDown:i,className:c,style:l,stroke:"transparent",d:r,"data-testid":"clickable-path"}))}));return d.createElement("g",null,f)}),[t,n,i,u,a]),g=d.useMemo((()=>{const{backgroundColor:e,boundingBox:n}=t,r=h()({[st().rect]:!0,[st().selectable]:!!e}),o={fill:(null==e?void 0:e.toCSSValue())||"transparent"},{width:a,height:s,top:l,left:u}=n;return d.createElement("rect",{onPointerDown:i,x:u,y:l,width:a,height:s,className:r,style:o})}),[i,t,a]),v=`${r.left} ${r.top} ${r.width} ${r.height}`,y={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"};return d.createElement("svg",{viewBox:v,style:y,className:st().svg,focusable:!1,"data-testid":"ink-svg"},g,m)};var ht=n(18661),ft=n.n(ht),mt=n(96706);const gt=d.memo((function(e){const{annotation:t,isDisabled:n,annotation:{boundingBox:r},zoomLevel:o,isFocused:i,shouldKeepRenderingAPStream:a,dispatch:s,backend:l,isDragging:c=!1,isMultiAnnotationsSelected:p=!1}=e,{formatMessage:f}=(0,xe.YB)(),m=(0,d.useRef)(null),g=h()(ft().annotationRect,"PSPDFKit-Link-Annotation","PSPDFKit-Annotation"),{borderColor:v,borderStyle:y,borderWidth:b,opacity:w}=t,x={width:r.width*o,height:r.height*o,outline:i?j.A8:null},D=(0,j.B7)(t),C={width:r.width*o,height:r.height*o,borderWidth:b||0,borderColor:v?v.toCSSValue():"transparent",borderStyle:y||void 0,opacity:w,cursor:D},E=d.useMemo((()=>function(e){var t;switch((null===(t=e.action)||void 0===t?void 0:t.constructor)||null){case mt.lm:{const t=e.action;return(0,u.kG)("string"==typeof t.uri,"URIAction requires `uri`"),{type:"a",props:{href:t.uri,"aria-label":t.uri,title:e.note}}}case mt.Di:{const t=e.action;(0,u.kG)("number"==typeof t.pageIndex,"GoToAction requires `pageIndex`");const n=`#page=${t.pageIndex}`;return{type:"a",props:{href:n,"aria-label":n,title:e.note}}}case mt.BO:{const t=e.action;return(0,u.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"reset","aria-label":`Reset${t.fields?t.fields.join(" "):""}`}}}case mt.pl:{const t=e.action;return(0,u.kG)("string"==typeof t.uri,"ResetFormAction requires `uri`"),(0,u.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"submit","aria-label":`Submit to ${t.uri}`}}}default:return{type:"div",props:{}}}}(t)),[t]);return d.createElement(Ee,{position:r.getLocation(),zoomLevel:o,disablePointerEvents:!0,isMultiAnnotationsSelected:p},d.createElement(we.Z,{disabled:n,className:h()(`PSPDFKit-${t.constructor.readableName}-Annotation PSPDFKit-Annotation`),style:x,onPointerUp:a?function(e){e.stopPropagation()}:void 0,"data-annotation-id":t.id,"aria-label":f(Pe.Z.linkAnnotation),innerRef:m,onMouseEnter:()=>{s((0,Se.oX)(t.id))},onMouseLeave:()=>{s((0,Se.IP)(t.id))},tabIndex:-1},d.createElement(E.type,(0,ce.Z)({},E.props,{className:g,style:C,"data-annotation-id":t.id,tabIndex:n?-1:0,"aria-disabled":n?"true":"false"})),a&&l&&d.createElement(le.Reparent,{id:`annotation-link-${t.id}`},d.createElement(We,{annotation:t,backend:l,zoomLevel:o,label:f(Pe.Z.linkAnnotation),isDragging:c,onError:e.onError}))))}));const vt=gt;var yt=n(4087),bt=n(59062),wt=n(64131),xt=n.n(wt);class Dt extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"onClick",(()=>{this.props.dispatch((0,yt.i0)()),window.setTimeout((()=>{this.props.dispatch((0,Se.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_onPointerDownUp",(e=>{e.isPrimary&&(this.props.isReadOnly||e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null),this.props.isOpen||this.props.dispatch((0,Se.IP)(this.props.annotation.id)),e.stopPropagation())})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_onMouseEnter",(()=>{this.props.dispatch((0,Se.oX)(this.props.annotation.id))})),(0,o.Z)(this,"_onMouseLeave",(()=>{this.props.dispatch((0,Se.IP)(this.props.annotation.id))}))}render(){const{intl:{formatMessage:e},backend:t,shouldKeepRenderingAPStream:r,isFocused:o,isSelectable:a}=this.props,s=!this.props.isOpen&&!this.props.isFullscreen&&!Ke.Ni,{annotation:l,zoomLevel:u,rotation:c}=this.props,{boundingBox:p,color:f,icon:m}=l,{width:g,height:v}=p,y=(0,j.B7)(l,{isSelectable:a}),b={width:g,height:v,transformOrigin:"top left",transform:`translate(${g*u/2-g/2}px, ${v*u/2-v/2}px)`,color:f.toCSSValue(),opacity:l.opacity,outline:o?j.A8:null,cursor:y},w=bt.Y4[m]||bt.Y4[bt.Zi.COMMENT],x=(0,F.Oe)(w);let D;try{D=n(36403)(`./${w}.svg`)}catch(e){}const C=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},E=h()({"PSPDFKit-Annotation":!0,"PSPDFKit-Note-Annotation":!0,[`PSPDFKit-Note-Annotation-Icon-${x}`]:!0,[xt().annotation]:!0,[xt().noteIconInPage]:!0});return d.createElement(d.Fragment,null,d.createElement(Ee,{position:p.getLocation(),zoomLevel:u,currentPagesRotation:c,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},d.createElement(we.Z,(0,ce.Z)({},C,{onClick:this._handleClick,disabled:this.props.isDisabled,style:b,className:E,onPointerEnter:s?this._onMouseEnter:void 0,onPointerLeave:s?this._onMouseLeave:void 0,"data-annotation-id":l.id,"aria-label":`${e(Pe.Z.annotation)}: ${e(Pe.Z.noteAnnotation)}`,"aria-controls":`NoteAnnotationContent-${l.id}`,innerRef:this._innerRef,tabIndex:-1}),r?d.createElement(le.Reparent,{id:`annotation-note-${l.id}`},d.createElement(We,{annotation:l,zoomLevel:u,backend:t,label:e(Pe.Z.noteAnnotation),onError:this.props.onError})):D?d.createElement(Re.Z,{src:D,className:xt().icon,role:"presentation"}):w)),!this.props.isOpen&&d.createElement(i.TX,{id:`NoteAnnotationContent-${l.id}`}))}}const Ct=(0,xe.XN)(Dt,{forwardRef:!0});const Et=(0,l.$j)((function(e,t){let{annotation:n}=t;return{annotation:n,isFullscreen:e.viewportState.viewportRect.width<=Be.D4,rotation:e.viewportState.pagesRotation,isOpen:e.selectedAnnotationIds.has(n.id)&&"number"==typeof n.pageIndex}}),null,null,{forwardRef:!0})(Ct),St=Et;var _t=n(34997),Pt=n(12559);function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t{let{lineCap:t,style:n,id:r,position:o,strokeWidth:i,capAtMaxStroke:a=!1}=e;const{markerScale:s,strokeScale:l}=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=5;if(eL.RR-2)return{markerScale:n,strokeScale:L.RR};return{markerScale:n,strokeScale:1}}(i,a);return d.createElement("marker",{id:r,style:n,markerWidth:s,markerHeight:s,refX:"start"===o?3.75:.5,refY:"2",orient:"auto",viewBox:"0 0 5 5"},Pt.O[t][`${o}Element`](At(At({},n),{},{strokeWidth:l})))};var Tt=n(99721),Ot=n.n(Tt);const It=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:r,strokeColor:o,strokeWidth:i,startPoint:a,endPoint:l,lineCaps:u,fillColor:c,pageIndex:p,id:f=(0,_t.SK)(),locked:m,readOnly:g},renderInvisibleClickPath:v=!1}=e;if(null===p||0===i&&!v)return null;const y={stroke:(null==o?void 0:o.toCSSValue())||"transparent",strokeWidth:i,fill:"transparent"},b=h()({[Ot().visible]:!0}),w=t?Ke.Ni?Math.max(Be.wK,i):Math.max(Be.XZ,i):0,x=h()({[Ot().selectable]:!g&&!m}),D={stroke:(null==o?void 0:o.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==c?void 0:c.toCSSValue())||"transparent",strokeWidth:1},C=`${f}-StartLineCap`,E=`${f}-EndLineCap`,S=(0,L.CW)((0,s.aV)([a,l]),i,u||{}),_=S.first(),P=S.get(1),k={x1:void 0!==_?_.x:a.x,y1:void 0!==_?_.y:a.y,x2:void 0!==P?P.x:l.x,y2:void 0!==P?P.y:l.y},A=k.x1!==a.x||k.y1!==a.y,z=k.x2!==l.x||k.y2!==l.y,T=u&&A?`url(#${C})`:void 0,O=u&&z?`url(#${E})`:void 0;return d.createElement("g",{style:{strokeWidth:i}},(A||z)&&d.createElement("defs",null,u&&A&&u.start&&d.createElement(zt,{style:D,lineCap:u.start,id:C,strokeWidth:i,position:"start"}),u&&z&&u.end&&d.createElement(zt,{style:D,lineCap:u.end,id:E,strokeWidth:i,position:"end"})),!v&&d.createElement("line",{className:b,style:y,x1:k.x1,y1:k.y1,x2:k.x2,y2:k.y2,strokeDasharray:r?r.map((e=>e*i)).join(","):"",markerStart:T,markerEnd:O,strokeLinecap:"butt"}),t&&d.createElement("line",{onPointerDown:n,className:x,stroke:"transparent",style:{fill:"none",strokeWidth:w},x1:a.x,y1:a.y,x2:l.x,y2:l.y}))},Ft=e=>{let{isSelectable:t,onPointerDown:n,annotation:r,renderInvisibleClickPath:o=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,boundingBox:c,cloudyBorderIntensity:p,cloudyBorderInset:f}=r,m=Number(p);if(null===u||0===s&&!l&&!o)return null;const{width:g,height:v,top:y,left:b}=c,w={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},x=h()({[Ot().visible]:!0,[Ot().cloudy]:!!m,[Ot().strokeDashArray]:!!i}),D=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,C={fill:l&&!l.equals(_.Il.TRANSPARENT)?"transparent":"none",strokeWidth:D},E=h()({[Ot().selectable]:!r.readOnly&&!r.locked,[Ot().cloudy]:!!m}),S=g>s?g-s:g/4,P=v>s?v-s:v/4,k=i?i.map((e=>e*s)).join(","):"",A=m>0,z=A?Mt(m,f,c):"";return d.createElement(d.Fragment,null,!o&&(A?d.createElement("path",{d:z,className:x,style:w,strokeDasharray:k}):d.createElement("rect",{className:x,style:w,strokeDasharray:k,x:b+s/2,y:y+s/2,width:S,height:P})),t&&(A?d.createElement("path",{onPointerDown:n,d:z,className:E,style:C,stroke:"transparent"}):d.createElement("rect",{onPointerDown:n,className:E,stroke:"transparent",style:C,x:b+s/2,y:y+s/2,width:S,height:P})))},Mt=(e,t,n)=>{const{left:r,top:o,width:i,height:a}=t instanceof _.eB?_.eB.applyToRect(t,n):n;return(0,L.rr)({points:[[r,o],[r+i,o],[r+i,o+a],[r,o+a]],intensity:e})},Rt=e=>{let{isSelectable:t,onPointerDown:n,annotation:r,renderInvisibleClickPath:o=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,boundingBox:c,cloudyBorderIntensity:p,cloudyBorderInset:f}=r,m=Number(p);if(null===u||0===s&&!l&&!o)return null;const{width:g,height:v,top:y,left:b}=c,w={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},x=h()({[Ot().visible]:!0,[Ot().cloudy]:!!m,[Ot().strokeDashArray]:!!i}),D=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,C={fill:l&&!l.equals(_.Il.TRANSPARENT)?"transparent":"none",strokeWidth:D},E=h()({[Ot().selectable]:!r.readOnly&&!r.locked,[Ot().cloudy]:!!m}),S=g>2*s?(g-s)/2:g/4,P=v>2*s?(v-s)/2:v/4,k=i?i.map((e=>e*s)).join(","):"",A=m>0,z=A?(0,L.Hz)({boundingBox:c,cloudyBorderIntensity:m,cloudyBorderInset:f}):"";return d.createElement(d.Fragment,null,!o&&(A?d.createElement("path",{className:x,style:w,strokeDasharray:k,d:z}):d.createElement("ellipse",{className:x,style:w,strokeDasharray:k,cx:b+g/2,cy:y+v/2,rx:S,ry:P})),t&&(A?d.createElement("path",{onPointerDown:n,className:E,style:C,d:z,stroke:"transparent"}):d.createElement("ellipse",{onPointerDown:n,className:E,stroke:"transparent",style:C,cx:b+g/2,cy:y+v/2,rx:S,ry:P})))},jt=e=>{let{isSelectable:t,onPointerDown:n,annotation:r,renderInvisibleClickPath:o=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:u,points:c,cloudyBorderIntensity:p}=r,f=Number(p);if(null===u||0===c.size||0===s&&(!l||l.equals(_.Il.TRANSPARENT))&&!o)return null;const m={stroke:a?a.toCSSValue():"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},g=h()({[Ot().visible]:!0,[Ot().cloudy]:!!f,[Ot().strokeDashArray]:!!i}),v=t?Ke.Ni?Math.max(Be.wK,s):Math.max(Be.XZ,s):0,y={fill:l&&!l.equals(_.Il.TRANSPARENT)?"transparent":"none",strokeWidth:v},b=h()({[Ot().selectable]:!r.readOnly&&!r.locked,[Ot().cloudy]:!!f}),w=c.first();if(void 0===w)return null;const x=1===c.size||2===c.size?c.push(w):c,D=i?i.map((e=>e*s)).join(","):"",C=f>0&&x.size>2,E=C?Bt({annotation:r,intensity:f}):`${x.map((e=>`${e.x},${e.y}`)).join(" ")}`;return d.createElement(d.Fragment,null,!o&&(C?d.createElement("path",{className:g,style:m,strokeDasharray:D,d:E}):d.createElement("polygon",{className:g,style:m,strokeDasharray:D,points:E})),t&&(C?d.createElement("path",{onPointerDown:n,className:b,style:y,stroke:"transparent",d:E}):d.createElement("polygon",{onPointerDown:n,className:b,stroke:"transparent",style:y,points:E})))},Bt=e=>{let{intensity:t,annotation:n}=e;return(0,L.rr)({points:n.points.map((e=>[e.x,e.y])).toArray(),intensity:t})},Nt=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:r,strokeColor:o,strokeWidth:i,lineCaps:a,fillColor:s,pageIndex:l,points:u,id:c=(0,_t.SK)(),locked:p,readOnly:f},renderInvisibleClickPath:m=!1}=e;if(null===l||void 0===u||0===u.size||0===i&&!m)return null;const g=u.first(),v=u.last();if(!g||!v)return null;const y={stroke:(null==o?void 0:o.toCSSValue())||"transparent",strokeWidth:i,fill:"transparent"},b=h()({[Ot().visible]:!0}),w=t?Ke.Ni?Math.max(Be.wK,i):Math.max(Be.XZ,i):0,x=h()({[Ot().selectable]:!f&&!p}),D={stroke:(null==o?void 0:o.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==s?void 0:s.toCSSValue())||"transparent",strokeWidth:1},C=`${c}-StartLineCap`,E=`${c}-EndLineCap`,S=1===u.size?` ${g.x},${g.y}`:"",_=(0,L.CW)(u,i,a||{}),P=_.first(),k=_.last();if(!P||!k)return null;const A=a&&(P.x!==g.x||P.y!==g.y),z=a&&(k.x!==v.x||k.y!==v.y),T=`${_.map((e=>`${e.x},${e.y}`)).join(" ")}${S}`,O=a&&A?`url(#${C})`:void 0,I=a&&z?`url(#${E})`:void 0;return d.createElement("g",{style:{strokeWidth:i}},(A||z)&&d.createElement("defs",null,a&&A&&a.start&&d.createElement(zt,{style:D,lineCap:a.start,strokeWidth:i,id:C,position:"start"}),a&&z&&a.end&&d.createElement(zt,{style:D,lineCap:a.end,strokeWidth:i,id:E,position:"end"})),!m&&d.createElement("polyline",{className:b,style:y,points:T,strokeDasharray:r?r.map((e=>e*i)).join(","):"",markerStart:O,markerEnd:I}),t&&d.createElement("polyline",{onPointerDown:n,className:x,stroke:"transparent",style:{fill:"none",strokeWidth:w},points:T}))},Lt=e=>{const{annotation:t,viewBox:n,isSelectable:r,onPointerDown:o,renderInvisibleClickPath:i=!1}=e,a=`${n.left} ${n.top} ${n.width} ${n.height}`,s={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"},l=(e=>{switch(e){case _.o9:return It;case _.b3:return Ft;case _.Xs:return Rt;case _.Hi:return jt;case _.om:return Nt;default:throw new Error("Unexpected shape annotation type")}})(t.constructor);return d.createElement("svg",{viewBox:a,style:s,className:Ot().svg,focusable:!1},d.createElement(l,{isSelectable:r,onPointerDown:o,annotation:t,renderInvisibleClickPath:i}))};var Kt=n(739),Vt=n(66327);function qt(e,t){return e.distance(t)>Be.c1}var Ht=n(14935),Zt=n(24322);function Ut(e){const{pageIndex:t,currentAnnotation:n,onAnnotationUpdate:r,keepSelectedTool:o,interactionMode:i,defaultAutoCloseThreshold:a,backend:u,disablePointSnapping:c}=e,p=d.useRef(null),h=(0,l.v9)((e=>e.eventEmitter)),f=(0,l.I0)(),[m,g]=d.useState(!1),[v,y]=d.useState(null),b=d.useMemo((()=>(0,L.sS)(n.constructor)),[n.constructor]),w=d.useCallback((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];f((0,yt.FG)(e)),t&&(f((0,Vt.Ce)()),f((0,Se.Df)((0,s.l4)([e.id]),null)),f((0,yt.ZE)(e.id)),f((0,Ht.eO)(null)))}),[f]),x=d.useCallback((()=>{(n instanceof _.om||n instanceof _.Hi)&&w(n,!0)}),[n,w]),D=d.useCallback(((e,o)=>{var i,a;(0,Zt.mE)(u,n,c)&&u.configureSnapper(t);let l=n;const d={annotations:(0,s.aV)([l]),reason:J.f.DRAW_START};h.emit("annotations.willChange",d);const m=new _.E9({x:e.x,y:e.y});if(l instanceof _.o9)l=l.merge({startPoint:m,endPoint:m});else if(l instanceof _.b3||l instanceof _.Xs){p.current=m;const e=l.cloudyBorderIntensity*Be.St+l.strokeWidth/2;l=l.merge({boundingBox:new _.UL({left:m.x,top:m.y,width:0,height:0}),cloudyBorderInset:l.cloudyBorderIntensity?l.cloudyBorderInset||_.eB.fromValue(e):null})}else if(l instanceof W.Z){p.current=m;const e=new _.UL({left:m.x,top:m.y,width:0,height:0});l=l.merge({boundingBox:e,rects:(0,s.aV)([e])})}else(l instanceof _.Hi||l instanceof _.om)&&(l=l.update("points",(e=>e.push(m))));l=l.set("boundingBox",b(l));const g=l.pageIndex;if(null===g)l=l.set("pageIndex",t);else if(g!==t){l=l.set("pageIndex",t);const e=l instanceof W.Z?yt.hj:yt.hX;f(e(l,t))}l instanceof _.Xs||!("isMeasurement"in l)||null===(i=(a=l).isMeasurement)||void 0===i||!i.call(a)||f((0,Ht.eO)({magnifierLabel:l.getMeasurementDetails().label,drawnAnnotationID:l.id,drawnAnnotationPageIndex:l.pageIndex,magnifierCursorPosition:o})),r(l)}),[n,f,h,t,r,b]),C=d.useCallback((async(e,t)=>{var o,i;let l=n,d=e[e.length-1];const h=t[t.length-1];if((0,Zt.mE)(u,l,c)){const e=await u.getClosestSnapPoint(new _.E9({x:d.x,y:d.y}));d=d.set("x",e.x).set("y",e.y)}const x=new _.E9({x:d.x,y:d.y});if(l instanceof _.o9)l=l.set("endPoint",x);else if(l instanceof _.b3||l instanceof _.Xs){(0,De.k)(null!=p.current);const e=p.current,t=new _.UL({left:Math.min(e.x,x.x),top:Math.min(e.y,x.y),width:Math.abs(x.x-e.x),height:Math.abs(x.y-e.y)});l=l.merge({boundingBox:t})}else if(l instanceof W.Z){(0,De.k)(null!=p.current);const e=p.current,t=new _.UL({left:Math.min(e.x,x.x),top:Math.min(e.y,x.y),width:Math.abs(x.x-e.x),height:Math.abs(x.y-e.y)});l=l.merge({boundingBox:t,rects:(0,s.aV)([t])})}else if(l instanceof _.Hi||l instanceof _.om){const e=l.points.size-1;if(v&&qt(v,x))g(!1),y(null);else if(!m){const t=(0,Zt.KM)(l,e,a),n=-1!==t;l=$t(l,x,n,t),n&&(w(l),g(!0),y(l.points.get(e)))}l.isMeasurement()&&"isMeasurement"in l&&f((0,Ht.eO)({magnifierLabel:l.getMeasurementDetails().label,drawnAnnotationID:l.id,drawnAnnotationPageIndex:l.pageIndex,magnifierCursorPosition:h}))}l=l.set("boundingBox",b(l)),r(l),l instanceof _.Xs||l instanceof _.om||l instanceof _.Hi||!("isMeasurement"in l)||null===(o=(i=l).isMeasurement)||void 0===o||!o.call(i)||f((0,Ht.eO)({magnifierLabel:l.getMeasurementDetails().label,magnifierCursorPosition:t[t.length-1]}))}),[n,b,r,v,m,a,w,f]),E=d.useCallback((()=>{var e,t;let l=n;const{left:u,top:c,width:d,height:p}=l.boundingBox,m={annotations:(0,s.aV)([l]),reason:J.f.DRAW_END};if(h.emit("annotations.willChange",m),l instanceof _.Xs||!("isMeasurement"in l)||null===(e=(t=l).isMeasurement)||void 0===e||!e.call(t)||f((0,Ht.eO)(null)),l instanceof _.o9)qt(l.startPoint,l.endPoint)?(f((0,yt.FG)(l)),f((0,Vt.Ce)()),f((0,Se.Df)((0,s.l4)([l.id]),null)),f((0,yt.ZE)(l.id)),o&&f((0,Vt.yg)(l.constructor,i))):(l=l.merge({startPoint:new _.E9,endPoint:new _.E9,boundingBox:new _.UL}),r(l));else if(l instanceof _.b3||l instanceof _.Xs||l instanceof W.Z)if(qt(new _.E9({x:u,y:c}),new _.E9({x:u+d,y:c+p})))f((0,yt.FG)(l)),f((0,Se.Df)((0,s.l4)([l.id]),null)),l instanceof W.Z||f((0,Vt.Ce)()),f((0,yt.ZE)(l.id)),l instanceof W.Z&&o&&f((0,Vt.t)()),o&&l instanceof _.UX&&f((0,Vt.yg)(l.constructor,i));else{const e=new _.UL;l=l instanceof W.Z?l.merge({boundingBox:e,rects:(0,s.aV)([e])}):l.merge({boundingBox:e}),r(l)}else if(l instanceof _.Hi||l instanceof _.om){const e=l.points.size-1,t=(0,Zt.KM)(l,e,a),n=-1!==t,r=$t(l,l.points.last(),n,t);n?w(r):f((0,yt.FG)(r))}else f((0,yt.FG)(l))}),[n,r,f,h,o,i]),S=(0,l.v9)((e=>(0,G.zi)(e,t))),P=d.useCallback((e=>e.apply(S)),[S]);return d.createElement(Kt.Z,{size:e.pageSize,onDrawStart:D,onDrawCoalesced:C,onDrawEnd:E,transformPoint:P,interactionMode:i,scrollElement:e.scrollElement,onDoubleClick:x,currentAnnotation:n,defaultAutoCloseThreshold:a,dispatch:f})}const $t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;if(n){var o;const t=null===(o=e.get("points"))||void 0===o?void 0:o.get(r);return e.update("points",(e=>e.set(e.size-1,t)))}return e.update("points",(e=>e.set(e.size-1,t)))};function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t{this.setState({currentShapeAnnotation:e,isDrawing:!0})}))}static getDerivedStateFromProps(e,t){return(0,s.is)(t.shapeAnnotationFromCurrentProps,e.shapeAnnotation)||(0,s.is)(t.currentShapeAnnotation,e.shapeAnnotation)?null:Xt(e)}componentDidMount(){this.props.dispatch((0,Vt.X2)())}componentWillUnmount(){this.props.dispatch((0,Vt.Zg)())}render(){const e=this.state.currentShapeAnnotation,{pageSize:t,viewportState:{zoomLevel:n}}=this.props,{boundingBox:r}=e,o=h()({[Ot().canvas]:!0});return d.createElement("div",{className:o},d.createElement(Ee,{zoomLevel:n,applyZoom:!0},e.isMeasurement()&&this.state.isDrawing?d.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,z.KI)(e)},d.createElement(Jt,{value:e.getMeasurementDetails().label})):null,d.createElement("div",{style:Wt(Wt({},r.toJS()),{},{position:"absolute"})},d.createElement(Lt,{isSelectable:!1,annotation:e,viewBox:r}))),d.createElement(Ut,{pageSize:t,pageIndex:this.props.pageIndex,currentAnnotation:e,onAnnotationUpdate:this._handleAnnotationUpdate,keepSelectedTool:this.props.keepSelectedTool,interactionMode:this.props.interactionMode,scrollElement:this.props.scrollElement,defaultAutoCloseThreshold:this.props.defaultAutoCloseThreshold,backend:this.props.backend,disablePointSnapping:this.props.disablePointSnapping}))}}const Qt=(0,l.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,G.zi)(e,n),eventEmitter:e.eventEmitter,keepSelectedTool:e.keepSelectedTool,interactionMode:e.interactionMode,scrollElement:e.scrollElement,defaultAutoCloseThreshold:e.defaultAutoCloseThreshold}}))(Yt),Jt=e=>{let{value:t,isSecondaryMeasurement:n}=e;if(n&&t.includes("/")){const e=t.split("/");return d.createElement("span",null,"  (",d.createElement("span",null,e[0],d.createElement(d.Fragment,null,"⁄"),e[1]),")")}if(n&&!t.includes("/"))return d.createElement("span",null,"  (",d.createElement("span",null,t),")");if(!n&&t.includes("/")){const e=t.split("/");return d.createElement("span",null,e[0],d.createElement(d.Fragment,null,"⁄"),e[1],";")}return d.createElement("span",null,t)};function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this.handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"handlePress",((e,t)=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"innerRef",(e=>{this.el=e}))}render(){const{annotation:e,intl:{formatMessage:t},zoomLevel:n,backend:r,isDragging:o,shouldKeepRenderingAPStream:i}=this.props,{boundingBox:a}=e;let s;s=!!((0,z.S6)(e)&&!e.measurementBBox&&(a.width<100||a.height<100)||e.isMeasurement()&&!i);const l=a.grow(Ke.Ni?Be.wK:Be.XZ),u=l.toJS(),c=(0,j.B7)(e),p=tn(tn({},u),{},{cursor:c}),f=e.constructor.readableName,m=f&&Pe.Z[`${f.charAt(0).toLowerCase()+f.slice(1)}Annotation`],g=(0,j.vk)(e.blendMode),v=g?{mixBlendMode:g}:{},y=e.isMeasurement()&&this.props.secondaryMeasurementUnit&&(0,z.Rw)(e,this.props.secondaryMeasurementUnit);return d.createElement(Ee,{zoomLevel:n,additionalStyle:v,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},e.isMeasurement()&&s&&d.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,z.KI)(e,!!y)},d.createElement(Jt,{value:e.getMeasurementDetails().label}),y?d.createElement(Jt,{value:y.label,isSecondaryMeasurement:!0}):null),d.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,Se.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(e.id))}},d.createElement(we.Z,{disabled:this.props.isDisabled,className:h()(Ot().container,`PSPDFKit-${rn(e)}-Annotation`,"PSPDFKit-Shape-Annotation","PSPDFKit-Annotation",{[Ot().cursorNotAllowed]:e.readOnly||e.locked}),style:p,onPointerUp:i?this.handlePointerUp:void 0,"data-annotation-id":e.id,"aria-label":`${t(Pe.Z.annotation)}${f&&m?`: ${t(m)}`:""}`,innerRef:this.innerRef,tabIndex:-1},d.createElement(Lt,{annotation:e,onPointerDown:this.handlePointerDown,isSelectable:this.props.isSelectable,viewBox:l,renderInvisibleClickPath:i}),i&&d.createElement(le.Reparent,{id:`annotation-shape-${e.id}`},d.createElement(We,{annotation:e,zoomLevel:n,backend:r,label:t(f&&m?m:Pe.Z.annotation),isDragging:o,onError:this.props.onError})))))}}function rn(e){const t=e.constructor.readableName;return e.isMeasurement()?"Line"===t?"Distance":"Polyline"===t?"Perimeter":"Polygon"===t?"Polygon-Area":"Rectangle"===t?"Rectangle-Area":"Ellipse"===t?"Ellipse-Area":void 0:t}const on=(0,xe.XN)(nn,{forwardRef:!0});function an(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class sn extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e}))}render(){const{annotation:e,globalAnnotation:t,onRenderFinished:n,zoomLevel:r,backend:i,isSelectable:a,isDisabled:s,isDragging:l,cursor:u,intl:{formatMessage:c}}=this.props,{boundingBox:p,id:f}=e,m=(0,j.WX)(e,r),g=p.width*m,v=p.height*m,y=function(e){for(var t=1;t{this.props.dispatch((0,Se.oX)(e.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(e.id))}},d.createElement(we.Z,{disabled:s,onPointerDown:this._handlePointerDown,onClick:this._handleClick,style:y,className:h()("PSPDFKit-Annotation PSPDFKit-Stamp-Annotation",{[tt().readOnlyOutline]:e.readOnly||e.locked}),"data-annotation-id":e.id,"aria-label":`${c(Pe.Z.annotation)}: ${c(Pe.Z.stampAnnotation)}`,innerRef:this._innerRef,tabIndex:-1},d.createElement(We,{annotation:w,zoomLevel:m,backend:i,onRenderFinished:n,label:c(Pe.Z.stampAnnotation),isDragging:l,isDetachedAnnotation:b,onError:this.props.onError})))))}}const ln=(0,xe.XN)(sn,{forwardRef:!0});var un=n(27856),cn=n.n(un),dn=n(30845),pn=n(20388),hn=n(50647),fn=n.n(hn),mn=n(45071),gn=n(89004);function vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const yn=d.forwardRef(((e,t)=>{var n;let{annotation:{callout:r,borderWidth:i,borderStyle:a,boundingBox:c,borderColor:p,id:h,backgroundColor:f,verticalAlign:m,fontSize:g,font:v},annotation:y,children:b,isEditing:w}=e;const x=(0,l.I0)(),D=d.useRef(null),C=(0,l.v9)((e=>e.viewportState.zoomLevel));(0,u.kG)(r,"CalloutTextComponent: callout is undefined");const E=(0,d.useRef)(!0);(0,mn.useGranularLayoutEffect)((()=>{if(E.current)E.current=!1;else{var e;const t=null===(e=D.current)||void 0===e?void 0:e.getBoundingClientRect();if(!t)return;const n=(0,gn.Vq)({annotation:y,rect:t,zoomLevel:C,callout:y.callout,text:y.text});n&&x((0,yt.FG)(y.merge(n)))}}),[g,v],[y,C]);const S=null===(n=r.innerRectInset)||void 0===n?void 0:n.setScale(C),P=function(e){for(var t=1;t((0,u.kG)(e,"CalloutTextComponent: point is undefined"),function(e,t,n){return new _.E9({x:(e.x-t.left)*n,y:(e.y-t.top)*n})}(e,c,C))))),O=(0,L.CW)(T,i||1,{start:r.cap,end:null}).map((e=>`${e.x},${e.y}`)).join(" ");return d.createElement(d.Fragment,null,d.createElement("svg",{style:{position:"absolute",inset:0},width:A.width,height:A.height,stroke:null==p?void 0:p.toCSSValue(),viewBox:`0 0 ${A.width} ${A.height}`,focusable:!1},d.createElement("g",null,r.cap&&d.createElement("defs",null,d.createElement(zt,{lineCap:r.cap,style:z,strokeWidth:i||1,id:k,position:"start",capAtMaxStroke:!0})),d.createElement("polyline",{fill:"none",points:O,stroke:(null==p?void 0:p.toCSSValue())||"black",strokeWidth:i||void 0,markerStart:`url(#${k})`}))),d.createElement("div",{style:P,ref:t,className:"Callout"},d.createElement("div",{style:{verticalAlign:"center"===m?"middle":m,display:"inline-block"},ref:D},b)))}));const bn=["backgroundColor"];function wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xn(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"memoizedCalculateFittingFontSize",(0,dn.Z)(pn.MF)),(0,o.Z)(this,"onClick",(e=>{if("function"==typeof this.props.onClick){if(this.props.annotation.lockedContents)return;this.props.onClick(e)}window.setTimeout((()=>{this.props.dispatch((0,Se.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{"function"==typeof this.props.onClick||this.props.annotation.locked?this.onClick(e):this.props.dispatch((0,Se.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}render(){const{annotation:{boundingBox:e},annotation:t,globalAnnotation:n,zoomLevel:r,isDisabled:o,isSelectable:i,intl:{formatMessage:a},backend:s,isDragging:l,cursor:u,shouldKeepRenderingAPStream:c,isMultiAnnotationsSelected:p}=this.props,f=(0,j.WX)(t,r),m=(0,j.B7)(t,{isSelectable:i,cursor:u});l||(this._lastFittingFontSizeAnnotation=this.memoizedCalculateFittingFontSize(t,f));const g=xn(xn({},(0,pn.z1)(t.isFitting?this._lastFittingFontSizeAnnotation:t,f,c)),{},{cursor:m},(0,qe.kv)(t)&&c?{transformOrigin:"50% 50%",transform:`rotate(${String(-t.rotation)}deg)`}:null),{backgroundColor:v}=g,y=(0,ne.Z)(g,bn),b="xhtml"===t.text.format;let w;var x,D;c||(w=b?d.createElement("div",{dangerouslySetInnerHTML:{__html:null===(x=t.text)||void 0===x?void 0:x.value}}):cn().sanitize((0,pn.hr)(null===(D=t.text)||void 0===D?void 0:D.value)),b&&(y.color=void 0));return d.createElement(Ee,{position:e.getLocation(),zoomLevel:r,isMultiAnnotationsSelected:p},d.createElement(Je.Z,{onPointerUp:c?this._handlePointerUp:void 0,onPointerEnter:()=>{this.props.dispatch((0,Se.oX)(t.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(t.id))}},d.createElement(we.Z,{disabled:o,onPointerDown:this._handlePointerDown,style:xn(xn({},y),{},{backgroundColor:(0,j.Vc)(t)?void 0:v}),className:h()(fn().annotation,{[fn().readOnlyOutline]:t.readOnly||t.locked},"PSPDFKit-Text-Annotation PSPDFKit-Annotation"),"data-annotation-id":t.id,"aria-label":`${a(Pe.Z.annotation)}: ${a(Pe.Z.textAnnotation)}`,innerRef:this._innerRef,tabIndex:-1},c?d.createElement(le.Reparent,{id:`annotation-text-${t.id}`},d.createElement(We,{annotation:n,zoomLevel:f,backend:s,label:a(Pe.Z.textAnnotation),isDragging:l,onError:this.props.onError})):t.callout?d.createElement(yn,{annotation:t},w):w)))}}const Cn=(0,xe.XN)(Dn,{forwardRef:!0});var En=n(54670),Sn=n(29211),_n=n.n(Sn);function Pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kn(e){for(var t=1;t{if(n&&t.overlayText&&t.repeatOverlayText){const e=new En.default(`${l}px Helvetica, sans-serif`),{width:n}=e.measureText(t.overlayText);s(n),e.clean()}}),[n,t.overlayText,t.repeatOverlayText,l,s]);const p=d.useMemo((()=>t.overlayText&&!t.repeatOverlayText?t.rects.sortBy({0:e=>[e.top,e.left],90:e=>[e.left,-e.top],180:e=>[-e.top,-e.left],270:e=>[-e.left,e.top]}[t.rotation||"0"],_e.b).first():null),[t.overlayText,t.repeatOverlayText,t.rects,t.rotation]),f=t.rects.map(((e,s)=>{const u=e.scale(r),{overlayText:f,textHeight:m}=function(e,t,n,r,o,i){let a=e.overlayText,s=r;if(t&&a&&e.repeatOverlayText&&n){const e=i.width/n,t=Math.max(1,Math.floor(i.height/r)),l=Math.ceil(e*t);s=r*t,s+o<=i.height&&(s+=o),a=a.repeat(l)}return{overlayText:a,textHeight:s}}(t,n,a,c,l,u),g={fontSize:l,lineHeight:`${c}px`,height:t.repeatOverlayText?m:"100%"};if((0,qe.kv)(t)){const e=90===t.rotation||270===t.rotation;g.transformOrigin="50% 50%",g.transform=(e?`translate(${Math.round(u.width/2-u.height/2)}px, ${-Math.round(u.width/2-u.height/2)}px) `:"")+`rotate(${String(-t.rotation)}deg)`,e&&(g.width=u.height,g.height=u.width)}const v=(0,j.B7)(t,{isSelectable:o}),y={top:(e.top-i.top)*r,left:(e.left-i.left)*r,width:u.width,height:u.height,cursor:v,backgroundColor:n?"white":void 0},b={width:u.width,height:u.height},w=kn(kn({},b),{},{border:t.outlineColor instanceof _.Il?`2px solid ${t.outlineColor.toCSSValue()}`:void 0,opacity:t.opacity}),x=kn(kn({},b),{},{border:0,color:t.color instanceof _.Il?t.color.toCSSValue():void 0,backgroundColor:t.fillColor instanceof _.Il?t.fillColor.toCSSValue():"black",opacity:t.opacity}),D=h()({[_n().textContainer]:!0,[_n().selectable]:!0});return d.createElement("div",{key:s,className:_n().rectContainer,style:y},d.createElement("div",{className:D,style:n?x:w},n&&(t.repeatOverlayText||e.equals(p))&&d.createElement("span",{className:_n().textSpan,style:g},f)))}));return d.createElement(d.Fragment,null,f)}const zn=function(e){const{isSelectable:t,dispatch:n,annotation:r,zoomLevel:o,active:i,isMultiAnnotationsSelected:a}=e,{boundingBox:s}=r,u=d.useCallback((e=>{n((0,Se.mg)(r,e))}),[n,r]),c=d.useRef(null),p=(0,l.v9)((e=>e.previewRedactionMode)),f={width:s.width*o,height:s.height*o,cursor:t?"pointer":"auto"};return d.createElement(Ee,{zoomLevel:e.zoomLevel,position:s.getLocation(),className:_n().wrapper,disablePointerEvents:!0,isMultiAnnotationsSelected:a},d.createElement(Je.Z,{onPointerEnter:()=>{e.dispatch((0,Se.oX)(r.id))},onPointerLeave:()=>{e.dispatch((0,Se.IP)(r.id))}},d.createElement(we.Z,{is:"div",disabled:Boolean(e.isDisabled),className:h()(_n().container,"PSPDFKit-Redaction-Annotation PSPDFKit-Annotation",i&&!e.isDisabled&&"PSPDFKit-Annotation-Selected",i&&!e.isDisabled&&"PSPDFKit-Redaction-Annotation-Selected"),style:f,"data-annotation-id":r.id,onClick:u,innerRef:c,tabIndex:-1},e.active?d.createElement("div",{className:_n().active}):null,d.createElement(An,{annotation:r,previewRedactionMode:p,isSelectable:t,zoomLevel:o}))))};var Tn,On=n(90255),In=n.n(On);class Fn extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O)}render(){const{color:e,markupStyle:t,zoomLevel:n,pageRotation:r}=this.props,o=(0,_t.SK)(),i=0!==r?{transform:`rotate(${90*r}deg)`}:{};return d.createElement("svg",{className:In().markup,style:t,focusable:!1},d.createElement("defs",null,d.createElement("pattern",{id:o,width:"8",height:"3",patternUnits:"userSpaceOnUse",fill:e instanceof _.Il?e.toCSSValue():"transparent",style:i},Tn||(Tn=d.createElement("path",{d:"M8 2.9C7.2 2.9 6.7 2.3 6.5 1.9 6.2 1.5 6.1 1.4 6 1.4 5.9 1.4 5.8 1.5 5.5 1.9 5.3 2.3 4.8 2.9 4 2.9 3.2 2.9 2.7 2.3 2.5 1.9 2.2 1.5 2.1 1.4 2 1.4 1.9 1.4 1.8 1.5 1.5 1.9 1.3 2.3 0.8 2.9 0 2.9L0 1.6C0.1 1.6 0.2 1.5 0.5 1.1 0.7 0.7 1.2 0.1 2 0.1 2.8 0.1 3.3 0.7 3.5 1.1 3.8 1.5 3.9 1.6 4 1.6 4.1 1.6 4.2 1.5 4.5 1.1 4.7 0.7 5.2 0.1 6 0.1 6.8 0.1 7.3 0.7 7.5 1.1 7.8 1.5 7.9 1.6 8 1.6L8 2.9 8 2.9Z"})))),d.createElement("rect",{fill:`url(#${o})`,width:"100%",height:"100%",transform:`scale(${n<1?`1, ${n}`:`${n}`})`}))}}function Mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rn(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"_handlePress",(e=>{this.props.dispatch((0,Se.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleCommentIconPress",(e=>{this._handlePress(e),e.stopPropagation()}))}render(){const{active:e,annotation:t,zoomLevel:n,isSelectable:r,intl:{formatMessage:o},backend:i,shouldKeepRenderingAPStream:a,pageRotation:s}=this.props,l=t instanceof _.FV,c=(0,j.B7)(t,{isSelectable:r}),{boundingBox:p}=t,f=t.rects.map(((r,o)=>{const i=h()({[In().annotationRect]:!0,[In()[t.constructor.className]]:!0}),a={top:(r.top-p.top)*n,left:(r.left-p.left)*n,width:r.width*n,height:r.height*n,opacity:t.opacity,cursor:c},u=function(e){let{annotation:t,rect:n,zoomLevel:r,pageRotation:o}=e;const i=(0,j.B7)(t),a={width:n.width*r,height:n.height*r,backgroundColor:t.color instanceof _.Il?t.color.toCSSValue():"transparent",cursor:i};if(t instanceof _.R9)switch(o){case 0:return Rn(Rn({},a),{},{height:Math.max(1,Math.floor(2*r)),marginTop:Math.max(1,Math.floor(-1*r))});case 1:return Rn(Rn({},a),{},{width:Math.max(1,Math.floor(2*r)),left:"auto",right:"50%",top:0,marginRight:Math.max(1,Math.floor(-1*r))});case 2:return Rn(Rn({},a),{},{height:Math.max(1,Math.floor(2*r)),top:"auto",bottom:"50%",marginBottom:Math.max(1,Math.floor(-1*r))});case 3:return Rn(Rn({},a),{},{width:Math.max(1,Math.floor(2*r)),right:"auto",left:"50%",top:0,marginLeft:Math.max(1,Math.floor(-1*r))})}else if(t instanceof _.xu)switch(o){case 0:return Rn(Rn({},a),{},{marginTop:Math.max(1,Math.floor(2*r)),height:Math.max(1,Math.floor(2*r))});case 1:return Rn(Rn({},a),{},{marginRight:Math.max(1,Math.floor(2*r)),width:Math.max(1,Math.floor(2*r))});case 2:return Rn(Rn({},a),{},{marginBottom:Math.max(1,Math.floor(2*r)),height:Math.max(1,Math.floor(2*r)),top:0});case 3:return Rn(Rn({},a),{},{width:Math.max(1,Math.floor(2*r)),left:"auto",marginLeft:Math.max(1,Math.floor(2*r))})}else if(t instanceof _.hL)switch(o){case 0:return Rn(Rn({},a),{},{height:3*r,overflow:"hidden"});case 1:return Rn(Rn({},a),{},{width:3*r,overflow:"hidden"});case 2:return Rn(Rn({},a),{},{height:3*r,top:0,overflow:"hidden"});case 3:return Rn(Rn({},a),{},{width:3*r,left:"auto",overflow:"hidden"})}return a}({annotation:t,rect:r,zoomLevel:n,pageRotation:s}),f={backgroundColor:t.color instanceof _.Il?t.color.toCSSValue():"transparent"};return d.createElement("div",{key:o,className:i,style:a},e?d.createElement("div",{className:h()({[In().active]:!l}),style:f}):null,t instanceof _.hL?d.createElement(Fn,{markupStyle:u,color:t.color,zoomLevel:n,pageRotation:s}):d.createElement("div",{className:In().markup,style:u}))})).toArray(),m=(0,j.vk)(t.blendMode),g=m?{mixBlendMode:m}:void 0,v=Rn({width:p.width*n,height:p.height*n,cursor:c},Ke.G6?null:g),y=function(e){switch(e.constructor){case _.FV:return"Highlight";case _.R9:return"StrikeOut";case _.xu:return"Underline";case _.hL:return"Squiggle";default:throw new u.p2(`Unknown text markup annotation type of annotation: ${JSON.stringify(e.toJS())}`)}}(t),b=Pe.Z[`${y.charAt(0).toLowerCase()+y.slice(1)}Annotation`],w=h()(In().annotation,"PSPDFKit-Annotation","PSPDFKit-Text-Markup-Annotation",`PSPDFKit-${y}-Annotation`,{[In().activeTextMarkup]:e&&l,[In().highlight]:l,"PSPDFKit-Text-Markup-Annotation-selected":e,"PSPDFKit-Text-Markup-Comment-Annotation":t.isCommentThreadRoot}),x={};return e&&(x["data-testid"]="selected annotation"),d.createElement(Ee,{position:p.getLocation(),zoomLevel:n,disablePointerEvents:!t.readOnly,additionalStyle:Ke.G6?g:void 0},d.createElement(Je.Z,{onPointerEnter:()=>{this.props.dispatch((0,Se.oX)(t.id))},onPointerLeave:()=>{this.props.dispatch((0,Se.IP)(t.id))}},d.createElement(we.Z,(0,ce.Z)({is:"div",style:v,className:w,onClick:this._handlePress,disabled:!!this.props.isDisabled,"data-annotation-id":t.id,"aria-label":`${o(Pe.Z.annotation)}: ${o(b)}`,innerRef:this._innerRef},x,{tabIndex:-1}),d.createElement(d.Fragment,null,a&&d.createElement(We,{annotation:t,zoomLevel:n,backend:i,label:o(b),onError:this.props.onError}),(!a||e)&&f))))}}(0,o.Z)(jn,"defaultProps",{active:!1});const Bn=(0,xe.XN)(jn,{forwardRef:!0});var Nn=n(39213),Ln=n.n(Nn);function Kn(e){let{annotation:t,zoomLevel:n,isDisabled:r,backend:o,isFocused:i,isMultiAnnotationsSelected:a}=e;const s=d.useRef(null),{formatMessage:l}=(0,xe.YB)(),{boundingBox:u}=t,c={width:u.width*n,height:u.height*n};return d.useEffect((()=>{i&&s.current&&s.current.focus()}),[i]),d.createElement(Ee,{position:u.getLocation(),zoomLevel:n,applyZoom:!0,isMultiAnnotationsSelected:a},d.createElement(we.Z,{disabled:r,className:h()(Ln().annotation,"PSPDFKit-Annotation-Unknown PSPDFKit-Annotation-Unsupported PSPDFKit-Annotation"),style:c,"data-annotation-id":t.id,"aria-label":l(Pe.Z.annotation),innerRef:s,tabIndex:-1},o&&d.createElement(We,{annotation:t,backend:o,zoomLevel:n,label:l(Pe.Z.annotation)})))}var Vn=n(12705),qn=n(19181),Hn=n(561),Zn=n.n(Hn),Un=n(2928),$n=n.n(Un);function Gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wn(e){for(var t=1;t{this.props.dispatch((0,Se.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:r}=this.props;r===n.id&&this.props.dispatch((0,yt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var r;n!==t&&this.props.annotation.id===t&&(null===(r=this._inputRef.current)||void 0===r||r.focus())}render(){const{annotation:e,formField:{name:t,readOnly:n,buttonLabel:r,label:o},zoomLevel:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,u="number"==typeof e.fontSize?e.fontSize:12,c=Wn({width:Math.ceil(e.boundingBox.width*i),height:Math.ceil(e.boundingBox.height*i)},s?{opacity:0}:Wn(Wn({},(0,Ve.i2)(e,i)),{},{fontSize:Math.ceil(u*i),justifyContent:e.verticalAlign&&Qn[e.verticalAlign]||"center",alignItems:e.horizontalAlign&&Jn[e.horizontalAlign]||"center"})),p=l&&!n,f=!p||a,m=h()({[Zn().widget]:!0,[Zn().onFocus]:!0,[Zn().readOnly]:!p,[Zn().flexText]:!0,[$n().btn]:!f,[$n().btnFormDesigner]:a,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!p});return d.createElement("button",{ref:this._inputRef,className:m,disabled:f,name:t,type:Yn(e),style:c,onClick:this._handleClickAction,onFocus:this._handleFocus,onBlur:this._handleBlur},r||o||"")}}function Yn(e){const{action:t}=e;if(!t)return"button";switch(t.constructor){case mt.BO:return"reset";case mt.pl:return"submit";default:return"button"}}const Qn={top:"flex-start",center:"center",bottom:"flex-end"},Jn={left:"flex-start",center:"center",right:"flex-end"};var er=n(77897),tr=n(36401),nr=n.n(tr);function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class or extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"state",{checked:(0,Ve.CK)(this.props.formField,this.props.annotation)}),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values.equals(this.props.formField.values)||this.setState({checked:(0,Ve.CK)(e.formField,e.annotation)})})),(0,o.Z)(this,"_inputRef",d.createRef()),(0,o.Z)(this,"_onChange",(()=>{const{formField:e,annotation:t}=this.props,n=(0,Ve.l_)(e,t),r=this.state.checked?(0,s.aV)(["Off"]):(0,s.aV)([n]),o=(0,Ve.g6)(e,t,!this.state.checked);this.setState({checked:!this.state.checked}),this.props.dispatch((0,er.xh)([{name:e.name,value:r,optionIndexes:o}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;null==t||t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,yt.vy)(null)),null==t||t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var r;n!==t&&this.props.annotation.id===t&&(null===(r=this._inputRef.current)||void 0===r||r.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:r,formField:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,{readOnly:u}=i,c=(0,Ve.l_)(i,t),p=function(e){for(var t=1;t=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),n=t.offset+t.size,r=this.lastMeasuredIndex+1;r<=e;r++){var o=this.itemSizeGetter(r);if(null==o||isNaN(o))throw Error("Invalid size returned for index "+r+" of value "+o);this.itemSizeAndPositionData[r]={offset:n,size:o},n+=o}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},e.prototype.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},e.prototype.getTotalSize=function(){var e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},e.prototype.getUpdatedOffsetForIndex=function(e){var t=e.align,n=void 0===t?hr:t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,s=this.getSizeAndPositionForIndex(i),l=s.offset,u=l-r+s.size;switch(n){case"end":a=u;break;case fr:a=l-(r-s.size)/2;break;case hr:a=l;break;default:a=Math.max(u,Math.min(l,o))}var c=this.getTotalSize();return Math.max(0,Math.min(c-r,a))},e.prototype.getVisibleRange=function(e){var t=e.containerSize,n=e.offset,r=e.overscanCount;if(0===this.getTotalSize())return{};var o=n+t,i=this.findNearestItem(n);if(void 0===i)throw Error("Invalid offset "+n+" specified");var a=this.getSizeAndPositionForIndex(i);n=a.offset+a.size;for(var s=i;n=e?this.binarySearch({high:n,low:0,offset:e}):this.exponentialSearch({index:n,offset:e})},e.prototype.binarySearch=function(e){for(var t=e.low,n=e.high,r=e.offset,o=0,i=0;t<=n;){if(o=t+Math.floor((n-t)/2),(i=this.getSizeAndPositionForIndex(o).offset)===r)return o;ir&&(n=o-1)}return t>0?t-1:0},e.prototype.exponentialSearch=function(e){for(var t=e.index,n=e.offset,r=1;t=n)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[wr[o]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},t.prototype.getSize=function(e){var t=this.props.itemSize;return"function"==typeof t?t(e):Array.isArray(t)?t[e]:t},t.prototype.getStyle=function(e){var t=this.styleCache[e];if(t)return t;var n,r=this.props.scrollDirection,o=void 0===r?mr:r,i=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),a=i.size,s=i.offset;return this.styleCache[e]=ur({},Sr,((n={})[wr[o]]=a,n[xr[o]]=s,n))},t.prototype.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},t.prototype.render=function(){var e,t=this.props,n=(t.estimatedItemSize,t.height),r=t.overscanCount,o=void 0===r?3:r,i=t.renderItem,a=(t.itemCount,t.itemSize,t.onItemsRendered),s=(t.onScroll,t.scrollDirection),l=void 0===s?mr:s,u=(t.scrollOffset,t.scrollToIndex,t.scrollToAlignment,t.style),c=t.width,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{if(e.isEmpty())return"";{const t=this.props.formField.options.find((t=>t.get("value")===e.first()));return t?t.label:e.first()||""}})),(0,o.Z)(this,"state",{initialValue:this._getInput(this.props.formField.values),value:this._getInput(this.props.formField.values),values:this.props.formField.values,isOpen:!1,isFocused:!1,textSelected:!1}),(0,o.Z)(this,"_getSelectedLabel",(()=>{const{options:e}=this.props.formField,t=this.state.values.first(),n=e.find((e=>e.value===t));return n&&n.label||t})),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values!==this.props.formField.values&&this.setState({values:e.formField.values})})),(0,o.Z)(this,"_onChange",(e=>{const t=e.currentTarget,{value:n}=t,{backend:r,formField:o,annotation:i}=this.props;if(!(0,Ve.sC)(r,i,o))return void this.setState({value:n,textSelected:!1});const{selectionStart:a,selectionEnd:s}=t,l=(0,F.QE)(this.state.initialValue,n,a);this.latestKeystrokeDiff=l;const c={change:l.change,value:l.prev,returnCode:!0,name:this.props.formField.name,selStart:a,selEnd:s};this.setState({value:n,textSelected:!1}),r.onKeystrokeEvent(c).then((e=>{if(l!==this.latestKeystrokeDiff||0===e.length)return;const n=e[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,textSelected:!1});const r=(0,F.F6)(l,n.change),o=e.slice(1);o.length&&this.props.dispatch((0,er.bt)({changes:o})),this.setState({value:r,initialValue:r,textSelected:!1},(function(){n.selStart!==t.selectionStart&&(t.selectionStart=n.selStart),n.selEnd!==t.selectionEnd&&(t.selectionEnd=n.selEnd)}))})).catch(u.vU)})),(0,o.Z)(this,"_onSelect",(e=>{if(!e){const e=this.state;return this.setState({values:e.values,isOpen:!1,value:e.value,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,void(this._button&&this._button.focus())}const t=(0,s.aV)([e.value]);this.setState({values:t,isOpen:!1,value:e.label,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,this.props.formField.commitOnChange&&(this.props.formField.values.equals(t)||this.props.dispatch((0,er.xh)([{name:this.props.formField.name,value:t}],(e=>{e.some((e=>e.name===this.props.formField.name))&&this.setState({value:this.state.initialValue,textSelected:!1})})))),this._button&&this._button.focus()})),(0,o.Z)(this,"_handleBlur",(e=>{e.persist();const{currentTarget:t}=e;this.props.dispatch((0,yt.vy)(null)),this.latestKeystrokeDiff=null,setTimeout((()=>{const n=this.props.shadowRoot?this.props.shadowRoot.activeElement:this.props.frameWindow.document.activeElement;if(!t.contains(n)){const t=this._getInput(this.state.values);this.setState({isOpen:!1,isFocused:!1,value:t,initialValue:t},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,er.xh)([{name:this.props.formField.name,value:this.state.values}],(e=>{e.some((e=>e.name===this.props.formField.name))&&this.setState({value:this.state.initialValue,textSelected:!1})})));const{onBlur:n,annotation:r}=this.props;n&&n(r,e)}}),0)})),(0,o.Z)(this,"calculateFilteredOptions",(()=>{const e=this.state.isOpen,{formField:{options:t,edit:n}}=this.props,r=e?t.toSeq().filter((e=>this.state.textSelected||!this.state.value||e.label.toLowerCase().includes(this.state.value.toLowerCase()))).toList():(0,s.aV)();return n?r.some((e=>this.state.value.includes(e.label)))?r:r.unshift(new _.mv({label:this.state.value,value:this.state.value})):r})),(0,o.Z)(this,"_renderComboBoxTop",((e,t,r,o)=>{const{name:i,readOnly:a}=this.props.formField,s=this.props.formDesignMode,l=this.props.canFillFormFieldCP&&!a,u=h()({[zr().comboBoxTop]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!l}),c=this._getSelectedLabel();return d.createElement("div",{className:u,onClick:this._openDropdownClick,ref:o},d.createElement("button",{"aria-controls":`PSPDFKit-dd-${this.props.formField.name}-menu`,"aria-expanded":r,"aria-haspopup":"true",tabIndex:r?-1:0,style:e,disabled:!l||s,className:zr().valueBtn,onFocus:e=>{this.setState({isFocused:!0});const{onFocus:t,annotation:n}=this.props;t&&(e.persist(),t(n,e))},ref:e=>this._button=e,name:i,value:c},c),d.createElement("div",(0,ce.Z)({"aria-hidden":!r,className:zr().arrowBtn},t),d.createElement(Re.Z,{src:n(52904)})))})),(0,o.Z)(this,"_openDropdownClick",(()=>{this.props.formField.readOnly||this.props.formField.formDesignMode||!this.props.canFillFormFieldCP||this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),(()=>{this._inputRef.current&&(this._inputRef.current.select(),this.setState({textSelected:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})))}))})),(0,o.Z)(this,"_setContentElementRect",(e=>{this.props.handleComboxBoxRect(e)})),(0,o.Z)(this,"_downShiftRenderFn",(e=>{let{getInputProps:t,getItemProps:n,getToggleButtonProps:r,isOpen:o,highlightedIndex:i}=e;const{annotation:{boundingBox:{width:a,height:s}},annotation:l,formField:{doNotSpellCheck:u,readOnly:c,required:p},formDesignMode:f,isRenderingAPStream:m,canFillFormFieldCP:g,viewportState:v}=this.props,{zoomLevel:y}=v,b=this.calculateFilteredOptions(),w=b.size>5?5:b.size,x={fontSize:10*y,padding:2*y},D=c||f||!g,C=t({ref:this._inputRef,value:this.state.value,onFocus:()=>this.setState({isOpen:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),spellCheck:!u,onChange:this._onChange}),E=r(),S=h()({[zr().comboBox]:!0,[zr().expanded]:o,[Zn().widget]:!0,[Zn().focusedWidget]:o||this.state.isFocused,[Zn().readOnly]:D,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ComboBox":!0,"PSPDFKit-Annotation-Widget-ComboBox-isOpen":o,"PSPDFKit-Annotation-Widget-Required":p}),_=Math.max(4,Math.min(.7*s,12))*y,P=90===l.rotation||270===l.rotation,k=this._memoizedCalculateFontSize(this._getSelectedLabel(),a,s,l.fontSize,!1,0,this._inputRef.current),A=Ir({width:Math.ceil(l.boundingBox.width*y),height:Math.ceil(l.boundingBox.height*y)},m?{opacity:0}:(0,Ve.i2)(l,y,!1)),{height:z,width:T,opacity:O}=A,I=(0,ne.Z)(A,Tr),F=Ir(Ir({},(0,Ve.VY)(l,y)),{},{borderWidth:Math.max(1,y),fontSize:_,opacity:O,[P?"height":"width"]:T,[P?"width":"height"]:z}),M=Ir(Ir({},I),{},{cursor:D?"default":"pointer",padding:`0 ${kr.DI*y}px`,fontSize:k*y,[P?"width":"height"]:z,[P?"height":"width"]:T}),R=h()({[zr().menu]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Menu":!0});return d.createElement("div",{className:S,style:Ir(Ir({},F),o?{position:"fixed"}:void 0),tabIndex:-1,onBlur:this._handleBlur},d.createElement(Mr,{viewportRect:v.viewportRect,isVertical:90===l.rotation||270===l.rotation,setContentElementRect:this._setContentElementRect},(e=>{let{referenceRef:t,contentRef:r,style:a}=e;return d.createElement(d.Fragment,null,this._renderComboBoxTop(M,E,o,t),o&&d.createElement("div",{className:R,ref:r,style:a},d.createElement("input",(0,ce.Z)({},C,{className:h()(zr().comboBoxInput,"PSPDFKit-Annotation-Widget-ComboBox-SearchInput"),style:{textAlign:"center"},tabIndex:-1,required:p})),d.createElement("div",{className:h()(zr().comboBoxList,"PSPDFKit-Annotation-Widget-ComboBox-List"),id:`PSPDFKit-dd-${this.props.formField.name}-menu`},b.isEmpty()?d.createElement("div",{className:zr().comboBoxListItem,style:x},"No results found"):d.createElement(Pr,{scrollToIndex:i||0,scrollToAlignment:"auto",width:"100%",height:Math.ceil(20*w*y),itemCount:b.size,itemSize:Math.ceil(20*y),renderItem:e=>{let{index:t,style:r}=e;const o=b.get(t),a=i===t;(0,De.k)(o);const s=this.state.values.includes(o.get("value")),l=h()({[zr().comboBoxListItem]:!0,[zr().comboBoxListItemActive]:a,[zr().comboBoxListItemSelected]:s});let u;return u=0===t&&this.props.formField.edit&&!this.props.formField.options.includes(o)?o.label.length?`Create "${o.label}"`:d.createElement("span",{className:zr().empty},"(empty)"):o.label,d.createElement("div",(0,ce.Z)({className:h()(l,"PSPDFKit-Annotation-Widget-ComboBox-ListItem",{"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Active":a,"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Selected":s}),title:o.label},n({key:o.value,index:t,item:o,style:Ir(Ir({},r),x)})),u)}}))))})))})),(0,o.Z)(this,"_itemToString",(e=>e?e.label:""))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;n!==t&&this.props.annotation.id===t&&this._openDropdownClick()}componentWillUnmount(){this.latestKeystrokeDiff=null}render(){const{frameWindow:e}=this.props;return d.createElement(ir.ZP,{environment:e,onSelect:this._onSelect,itemToString:this._itemToString,isOpen:this.state.isOpen,defaultHighlightedIndex:0},this._downShiftRenderFn)}}const Mr=function(e){const{children:t,viewportRect:n,isVertical:r,setContentElementRect:o}=e,[i,a]=d.useState(null),[s,l]=d.useState(null),[u,c]=d.useState(null),p=d.useCallback((()=>{const e=s?s.getBoundingClientRect():null,t=i?i.getBoundingClientRect():null,a=r?"left":"top",l=r?"width":"height";let u=e?e[l]:0;null!==t&&null!==e&&e[a]+e[l]+t[l]>n[l]&&0!==e[a]&&(u=-t[l]),o&&o(t),c({top:u})}),[i,s,n,r]);d.useLayoutEffect((()=>{p()}),[p]);return t({referenceRef:e=>l(e),contentRef:e=>a(e),style:Ir(Ir({position:"absolute"},u),{},{width:"100%"},s&&i?null:{opacity:0})})};var Rr=n(55338),jr=n.n(Rr);function Br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nr(e){for(var t=1;t{e.formField.values.equals(this.props.formField.values)||this.setState({values:e.formField.values})})),(0,o.Z)(this,"_inputRef",d.createRef()),(0,o.Z)(this,"_onChange",(e=>{const t=e.target.options,n=(0,s.dM)([...t]).filter((e=>e.selected)).map((e=>e.value)).toList();this.setState({values:n}),this.props.formField.commitOnChange&&(this.props.formField.values.equals(n)||this.props.dispatch((0,er.xh)([{name:this.props.formField.name,value:n}])))})),(0,o.Z)(this,"_onBlur",(e=>{this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,yt.vy)(null)),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,er.xh)([{name:this.props.formField.name,value:this.state.values}]));const{onBlur:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_onFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var r;n!==t&&this.props.annotation.id===t&&(null===(r=this._inputRef.current)||void 0===r||r.focus())}render(){const{annotation:e,formField:{options:t,name:n,multiSelect:r,readOnly:o,required:i},zoomLevel:a,formDesignMode:s,isRenderingAPStream:l,canFillFormFieldCP:u}=this.props,c=u&&!o,p=Nr({width:Math.ceil(e.boundingBox.width*a),height:Math.ceil(e.boundingBox.height*a)},l?{opacity:0}:Nr(Nr({},(0,Ve.i2)(e,a)),{},{fontSize:Math.ceil(12*a),textAlign:e.horizontalAlign})),f=h()({[jr().listBox]:!0,[Zn().widget]:!0,[Zn().onFocus]:!0,[Zn().readOnly]:!c,[jr().listBoxRotated]:!!e.rotation,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ListBox":!0,"PSPDFKit-Annotation-Widget-read-only":!c,"PSPDFKit-Annotation-Widget-Required":i}),m=r?this.state.values.toArray():this.state.values.size>0?this.state.values.get(0):void 0;return d.createElement("select",{ref:this._inputRef,disabled:!c||s,style:p,size:t.size,className:f,name:n,onChange:this._onChange,multiple:r,onBlur:this._onBlur,onFocus:this._onFocus,value:m,required:i},t.map((e=>d.createElement("option",{key:e.value,value:e.value},e.label))))}}var Kr=n(86849);const Vr=["borderColor","borderWidth","borderStyle","height","width","opacity","backgroundColor"];function qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hr(e){for(var t=1;t{const t=(0,Ve.CK)(e.formField,e.annotation);this.setState({checked:t})})),(0,o.Z)(this,"_inputRef",d.createRef()),(0,o.Z)(this,"handleChange",(()=>{const{dispatch:e,formField:t,annotation:n}=this.props;if(this.state.checked&&t.noToggleToOff)return;const r=(0,Ve.g6)(t,n,!this.state.checked);e((0,er.xh)([{name:t.name,value:this.state.checked?null:(0,Ve.l_)(t,n),optionIndexes:r}])),this.setState((e=>{let{checked:t}=e;return{checked:!t}}))})),(0,o.Z)(this,"uncheck",(e=>{const{formField:t,dispatch:n,annotation:r}=this.props;if(t.readOnly||t.noToggleToOff||!this.state.checked||"keydown"===e.type&&e.keyCode!==Kr.tW)return;"keydown"===e.type&&e.preventDefault();const o=(0,Ve.g6)(t,r,!1);n((0,er.xh)([{name:t.name,value:null,optionIndexes:o}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:r}=this.props;r===n.id&&this.props.dispatch((0,yt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var r;n!==t&&this.props.annotation.id===t&&(null===(r=this._inputRef.current)||void 0===r||r.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:n,formField:r,formDesignMode:o,isRenderingAPStream:i,canFillFormFieldCP:a}=this.props,{checked:s}=this.state,l=Hr({width:Math.ceil(t.boundingBox.width*n),height:Math.ceil(t.boundingBox.height*n)},i?{opacity:0}:(0,Ve.i2)(t,n,!1)),{borderColor:u,borderWidth:c,borderStyle:p,height:f,width:m,opacity:g,backgroundColor:v}=l,y=(0,ne.Z)(l,Vr),{transform:b,transformOrigin:w}=(0,Ve.i2)(t,n);let x={width:m,height:f,opacity:g};(0,qe.kv)(t)&&(x=Hr(Hr({},x),{},{transform:b,transformOrigin:w}));const D=a&&!r.readOnly,C=h()({[nr().input]:!0,[nr().inputRadio]:!0,[Zn().widget]:!0,[Zn().readOnly]:!D,"PSPDFKit-Annotation-Widget-RadioButton-Control":!0}),E=h()({[nr().checkradio]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-RadioButton":!0,"PSPDFKit-Annotation-Widget-read-only":!D});return d.createElement("label",{style:x,className:E},d.createElement("input",{ref:this._inputRef,type:"radio",name:r.name,disabled:!D||o,key:e,defaultChecked:s,value:(0,Ve.l_)(r,t),className:s?nr().checked:null,onChange:D?this.handleChange:void 0,onClick:this.uncheck,onKeyDown:this.uncheck,onFocus:this._handleFocus,onBlur:this._handleBlur,style:y}),d.createElement("span",{className:C,style:{borderColor:u,borderWidth:null!=c?c:Math.max(1,n),borderStyle:p,backgroundColor:v}}))}}var Ur=n(70101),$r=n.n(Ur),Gr=n(20063);function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xr(e){for(var t=1;t{this._focusableElement=e})),(0,o.Z)(this,"_handlePress",(e=>{e.stopPropagation(),e.preventDefault();const t=this.props.features.includes(ee.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature",n=this.props.isAnnotationPressPrevented({annotation:this.props.annotation,nativeEvent:e.nativeEvent,selected:!1});if(!e.isPrimary||n||this.props.isDigitallySigned)return;const{overlappingAnnotation:r}=this.state;r?this.props.dispatch((0,Se.mg)(r,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null})):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,yt.Ds)(t)),this.props.dispatch((0,Vt.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:r}=this.props;r===n.id&&this.props.dispatch((0,yt.vy)(null)),t&&t(n,e)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}static getDerivedStateFromProps(e){const t=e.inkAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)))||e.imageAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)));return{overlappingAnnotation:t||null}}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;if(n!==t&&this.props.annotation.id===t&&!this.props.isDigitallySigned){const{overlappingAnnotation:e}=this.state,t=this.props.features.includes(ee.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature";e?this.props.dispatch((0,Se.Df)((0,s.l4)([e.id]),null)):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,yt.Ds)(t)),this.props.dispatch((0,Vt.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))}}render(){const{formatMessage:e}=this.props.intl,{annotation:t,annotation:{boundingBox:n,id:r},formField:{readOnly:o,name:a},zoomLevel:s,formDesignMode:l,isDigitallySigned:u,hasSignatureLicenseComponent:c,backend:p,isDragging:f,canFillFormFieldCP:m,signatureFeatureAvailability:g,isRenderingAPStream:v}=this.props,y=Math.ceil(n.height*s),b=Xr(Xr({},(0,Ve.i2)(t,s,!1)),{},{fontSize:(20e instanceof de.Zc)).toList(),u=s.filter((e=>e instanceof de.sK)).toList();return{isDigitallySigned:(0,Jr.Zt)(e,n),inkAnnotations:l,imageAnnotations:u,isAnnotationPressPrevented:t=>(0,j.TW)(t,e.eventEmitter),backend:e.backend,features:i,signatureFeatureAvailability:a,hasSignatureLicenseComponent:i.includes(ee.q.DIGITAL_SIGNATURES)||i.includes(ee.q.ELECTRONIC_SIGNATURES)}}))(Qr),to=eo;function no(e,t){return no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},no(e,t)}function ro(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}var oo=n(69867),io=n(21853),ao=n(18920);function so(){so=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,o){var i=new RegExp(e,r);return t.set(i,o||t.get(e)),no(i,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){var o=r[n];if("number"==typeof o)t[n]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof o){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},so.apply(this,arguments)}function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uo(e){for(var t=1;t{const e=this._inputRef.current;(0,u.kG)(e);const{value:t}=e,{comb:n,doNotScroll:r,multiLine:o}=this.props.formField,i=t.length{if(f!==this._latestKeystrokeDiff||0===t.length)return;const n=t[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,editingValue:this.state.initialEditingValue});const r=(0,F.F6)(f,n.change),o=t.slice(1);o.length&&this.props.dispatch((0,er.bt)({changes:o})),this.setState({value:r,initialValue:r,editingValue:r,initialEditingValue:r},(function(){n.selStart!==e.selectionStart&&(e.selectionStart=n.selStart),n.selEnd!==f.endCursorPosition&&(e.selectionEnd=n.selEnd)}))})).catch(u.vU)})),(0,o.Z)(this,"_onFocus",(e=>{const t=this._inputRef.current;this.setState({isFocused:!0,shouldRecalculateWhenOverflow:!!t&&t.clientHeight{this.setState({isFocused:!1}),this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,yt.vy)(null)),this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:t}=this.props;t&&(e.persist(),t(this.props.annotation,e.nativeEvent))}))}static getDerivedStateFromProps(e,t){return t.valueFromCurrentProps!==e.formField.value||t.readOnlyFromCurrentProps!==e.formField.readOnly?ho(e,t):null}componentWillUnmount(){this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:e,annotation:t}=this.props;e&&e(t,(0,ao.My)("blur"))}_commitChanges(){this.props.formField.value!==this.state.value&&this.props.dispatch((0,er.xh)([uo({name:this.props.formField.name,value:this.state.value},this.props.formField.multiLine&&{isFitting:(0,kr.$Z)(this.props.annotation,this.state.value,this.props.zoomLevel)})],(e=>{e.some((e=>e.name===this.props.formField.name))&&this.setState({value:this.state.initialValue,editingValue:this.state.initialEditingValue})})))}_dateFormat(){var e;const{annotation:t}=this.props,n=null===(e=t.additionalActions)||void 0===e||null===(e=e.onFormat)||void 0===e?void 0:e.script;if(!n)return null;const r=so(/(AFTime|AFDate)_([FormatEx]*)\("*([0-9]+|[\w\d\s:\-/]*)"*\)/,{name:1,type:2,argument:3}),o=n.match(r);if(!o)return null;const{argument:i,type:a,name:s}=o.groups;if("FormatEx"===a){const e=i.match(/[d|y|m]/);return"AFDate"===s&&e||"AFTime"===s&&!e?i:null}switch(s){case"AFDate":return co[i];case"AFTime":return po[i]}return null}_dateInputType(e){if(e){const t=e.match(/[d|y|m]/),n=e.match(/[H|h|M|t]/);if(t&&n)return"datetime-local";if(n)return"time"}return"date"}_getReusableRealm(){return this._reusableRealm?this._reusableRealm.window.document.body.innerHTML="":this._reusableRealm=(0,io.Aw)(this.props.frameWindow),this._reusableRealmRemoveTimeout&&clearTimeout(this._reusableRealmRemoveTimeout),this._reusableRealmRemoveTimeout=setTimeout((()=>{this._reusableRealm&&this._reusableRealm.remove(),this._reusableRealm=null,this._reusableRealmRemoveTimeout=null}),200),(0,u.kG)(this._reusableRealm),this._reusableRealm}componentDidMount(){this.props.formField.multiLine&&!this.props.formField.password&&"number"!=typeof this.props.annotation.lineHeightFactor&&this.props.backend.getSuggestedLineHeightFactor(this.props.annotation).then((e=>{this.props.dispatch((0,yt.Zr)((0,s.aV)([this.props.annotation.set("lineHeightFactor",e)])))})).catch(u.vU)}componentDidUpdate(e){var t;e.annotationToFocus!==this.props.annotationToFocus&&this.props.annotationToFocus===this.props.annotation.id&&(null===(t=this._inputRef.current)||void 0===t||t.focus())}render(){const{annotation:{boundingBox:{width:e,height:t},lineHeightFactor:n},annotation:r,formField:{name:o,password:a,maxLength:s,doNotSpellCheck:l,doNotScroll:u,multiLine:c,readOnly:p,comb:f,required:m},zoomLevel:g,formDesignMode:v,formattedValue:y,frameWindow:b,isRenderingAPStream:w,canFillFormFieldCP:x}=this.props,D=function(e,t){return e.isFocused||null==t?e.isFocused&&null!=e.editingValue?e.editingValue:e.value:t}(this.state,y),C=this._memoizedCalculateFontSize(D,e,t,r.fontSize,c,r.borderWidth||0,this._inputRef.current),E=uo({width:r.boundingBox.width*g,height:r.boundingBox.height*g,fontSize:C*g},w?{opacity:0}:uo(uo({},(0,Ve.i2)(r,g)),{},{overflow:u?"hidden":"auto",paddingTop:0,paddingBottom:0,paddingLeft:c?kr.DI*g:0,paddingRight:c?kr.DI*g:0}));if(r.horizontalAlign&&(E.textAlign=r.horizontalAlign),r.verticalAlign&&!c&&("bottom"===r.verticalAlign?E.paddingTop=E.height-E.fontSize-2*E.borderWidth:"top"===r.verticalAlign&&(E.paddingBottom=E.height-E.fontSize-2*E.borderWidth)),f&&"number"==typeof s&&!c){const t=this._memoizedCalculateCombLetterSpacing(C,e,s,b.document,this._inputRef.current)*g;E.fontFamily="monospace",E.letterSpacing=t,E.paddingLeft=t/2,E.paddingRight=0}const S=a?"password":"text",_=x&&!p,P=h()({[Zn().readOnly]:!_,[Zn().widget]:!0,[Zn().combNoPaddingLeftOnFocus]:f&&s,[Zn().onFocus]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Text":!0,"PSPDFKit-Annotation-Widget-read-only":!_,"PSPDFKit-Annotation-Widget-Required":m}),k=!_||v;if(!a&&c){let e=kr.n*g;const t=E.height-E.fontSize;t-2*e<0&&(e=t>0?t/2:0);const i=Math.min(E.fontSize*(null!=n?n:1),E.height),a=E.height/i<2?0:Math.min(.4*C*g,5*g),u=uo(uo({},E),{},{resize:"none",paddingTop:a,paddingLeft:kr.DI*g,paddingRight:kr.DI*g,lineHeight:`${i}px`});if(r.verticalAlign&&"top"!==r.verticalAlign){this._usedHeight=this._memoizedGetTextareaUsedHeight(D||" ",r.boundingBox.width,g,C,this._getReusableRealm());const t=u.height-(this._usedHeight||u.fontSize);"bottom"===r.verticalAlign?u.paddingTop=u.height>this._usedHeight?t-e-2*u.borderWidth:0:"center"===r.verticalAlign&&(u.paddingTop=u.height>this._usedHeight?t/2-u.borderWidth:0,u.paddingBottom=u.height>this._usedHeight?t/2-e-u.borderWidth:0)}return d.createElement("textarea",{ref:this._inputRef,className:P,name:o,disabled:k,value:D,style:u,maxLength:s,spellCheck:!l,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:m})}const A=this._dateFormat(),z=this._dateInputType(A);return A&&z?d.createElement(i.qe,{ref:this._inputRef,style:E,className:P,name:o,value:D,disabled:k,type:z,maxLength:s,format:A,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:m}):d.createElement("input",{ref:this._inputRef,className:P,type:S,disabled:k,maxLength:s,name:o,value:D,style:E,spellCheck:!l,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:m})}}function mo(e,t,n,r,o){let i,a=e/2;try{i=new oo.f(r,(0,s.aV)(["_"]),{fontSize:`${e}px`,width:`${t}px`,wordWrap:"break-word",whiteSpace:"pre-wrap",fontFamily:"monospace"},Zn().widget,o&&o.parentNode);const n=i.measure().first();(0,u.kG)(n),a=n.width}finally{i&&i.remove()}const l=t/n-a;return Math.max(l,0)}function go(e,t,n,r,o){let i;try{const a={width:`${Math.ceil(t*n)}px`,fontSize:r*n+"px",padding:`0 ${kr.DI*n}px`,whiteSpace:"pre-wrap",overflowWrap:"break-word",maxWidth:t*n+"px",border:`${Math.max(1,n)}px solid transparent`,boxSizing:"border-box",display:"block",fontFamily:"Helvetica, sans-serif",margin:"0",outline:"0"};return i=new oo.f(o.window.document,e,a),i.wrapper?i.wrapper.scrollHeight:0}finally{i&&i.remove()}}var vo=n(6502);function yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t{this._pointerRecognizer=e})),(0,o.Z)(this,"onFocus",((e,t)=>{const{onFocus:n,dispatch:r,annotation:{additionalActions:o,formFieldName:i}}=this.props;o&&o.onFocus&&r((0,vo.gH)(o.onFocus.script,"onFocus",i)),n&&n(e,t),this.setState({isFocused:!0})})),(0,o.Z)(this,"onBlur",((e,t)=>{const{onBlur:n,dispatch:r,annotation:{additionalActions:o,formFieldName:i}}=this.props;o&&o.onBlur&&r((0,vo.gH)(o.onBlur.script,"onBlur",i)),n&&n(e,t),this.setState({isFocused:!1})})),(0,o.Z)(this,"onPointerUp",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerUp&&this.props.dispatch((0,vo.TU)(this.props.annotation,"onPointerUp")),this.state.isDown&&this.setState({isDown:!1})})),(0,o.Z)(this,"onPointerEnter",(()=>{var e,t;this._elementBoundingBox=null===(e=this._pointerRecognizer)||void 0===e?void 0:e.getBoundingClientRect(),null!==(t=this.props.annotation.additionalActions)&&void 0!==t&&t.onPointerEnter&&this.props.dispatch((0,vo.TU)(this.props.annotation,"onPointerEnter")),this.props.hasRolloverVariantAPStream&&this.setState({isRollover:!0})})),(0,o.Z)(this,"onPointerLeave",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerLeave&&this.props.dispatch((0,vo.TU)(this.props.annotation,"onPointerLeave")),this.state.isRollover&&this.setState({isRollover:!1,isDown:!1})})),(0,o.Z)(this,"onRootPointerMove",(e=>{var t,n,r,o;this._elementBoundingBox&&this.state.isRollover&&(e.clientX<(null===(t=this._elementBoundingBox)||void 0===t?void 0:t.left)||e.clientX>(null===(n=this._elementBoundingBox)||void 0===n?void 0:n.right)||e.clientY<(null===(r=this._elementBoundingBox)||void 0===r?void 0:r.top)||e.clientY>(null===(o=this._elementBoundingBox)||void 0===o?void 0:o.bottom))&&this.onPointerLeave()})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"handleOpenStateChange",(e=>{var t,n;(this.setState({isComboboxOpen:e}),this.props.isComboBoxOpen&&this.props.isComboBoxOpen(e),e)||(null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,null))})),(0,o.Z)(this,"handleComboBoxRect",(e=>{var t,n;null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,e)})),(0,o.Z)(this,"handlePointerDown",(e=>{if(e.isPrimary&&this.props.isSelectable&&this.props.hasDownVariantAPStream&&this.setState({isDown:!0}),!e.isPrimary||!this.props.isSelectable||this.props.formField instanceof _.R0&&!this.props.formDesignMode)return;const t={selectedAnnotationShouldDrag:"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!0};this.props.dispatch((0,Se.mg)(this.props.annotation,e,t))}))}renderWidgetComponent(e){const{formField:t,canFillFormFieldCP:n,frameWindow:r,shadowRoot:o}=this.props;(0,u.kG)(t),(0,u.kG)(r);const i={dispatch:this.props.dispatch,annotation:this.props.annotation,zoomLevel:this.props.zoomLevel,frameWindow:r,onFocus:this.onFocus,onBlur:this.onBlur,onPointerUp:e?this.handlePointerUp:void 0,formDesignMode:this.props.formDesignMode,backend:this.props.backend,formattedValue:this.props.formattedValue,editingValue:this.props.editingValue,isRenderingAPStream:e,canFillFormFieldCP:n,viewportState:this.props.viewportState,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected,annotationToFocus:this.props.annotationToFocus,shadowRoot:o};if(t instanceof _.$o)return d.createElement(fo,(0,ce.Z)({},i,{formField:t}));if(t instanceof _.Vi)return d.createElement(Lr,(0,ce.Z)({},i,{formField:t}));if(t instanceof _.rF)return d.createElement(or,(0,ce.Z)({},i,{formField:t}));if(t instanceof _.fB)return d.createElement(Fr,(0,ce.Z)({},i,{handleComboxBoxRect:this.handleComboBoxRect,onOpenStateChange:this.handleOpenStateChange,formField:t}));if(t instanceof _.XQ)return d.createElement(Zr,(0,ce.Z)({},i,{formField:t}));if(t instanceof _.R0)return d.createElement(Xn,(0,ce.Z)({},i,{formField:t}));if(t instanceof _.Yo)return d.createElement(to,(0,ce.Z)({},i,{isDragging:this.props.isDragging,formField:t}));throw new Error("Unsupported type for FormField.")}renderWidgetMaybeWithAPStream(){const{annotation:e,zoomLevel:t,backend:n,formField:r,isDragging:o,shouldKeepRenderingAPStream:i,intl:{formatMessage:a}}=this.props,s=i&&!this.state.isComboboxOpen&&(!this.state.isFocused||r instanceof _.rF||r instanceof _.XQ||r instanceof _.R0),l=(0,j.vk)(e.blendMode),u=l?{mixBlendMode:l}:{};let c;return this.state.isRollover&&(c="rollover"),this.state.isDown&&(c="down"),d.createElement("div",{style:u},this.renderWidgetComponent(s),!s||r instanceof _.Yo?null:d.createElement(le.Reparent,{id:`annotation-widget-${e.id}`,className:Ue().APStreamParent},d.createElement(We,{annotation:e,variant:c,zoomLevel:t,backend:n,formField:r,label:a(Pe.Z.annotation),isDragging:o})))}render(){const{annotation:{rotation:e,boundingBox:t,id:n},zoomLevel:r,formDesignMode:o,formField:i,isSelectable:a}=this.props;if(!i)return null;const s=90===(0,He.Lv)(e)||270===(0,He.Lv)(e);let l=Do,u=Co;return s&&(l=bo(bo({},l),{},{transformOrigin:"50% 50%",transform:(0,Ve.G8)({width:Math.ceil(t.width*r),height:Math.ceil(t.height*r),rotation:(0,He.Lv)(e)})}),u=bo(bo({},u),{},{transformOrigin:"50% 50%",transform:(0,Ve.G8)({width:Math.ceil(t.width*r),height:Math.ceil(t.height*r),rotation:(0,He.Lv)(e),reverse:!0})})),d.createElement(Ee,{position:t.getLocation(),zoomLevel:r,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},d.createElement(Je.Z,{onPointerDown:this.handlePointerDown,onPointerUp:this.onPointerUp,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave,onRootPointerMove:this.onRootPointerMove,onDOMElement:this._pointerRecognizerRef},o&&a?d.createElement("div",{style:l,className:"PSPDFKit-Annotation","data-annotation-id":n},d.createElement("div",{style:u},this.renderWidgetMaybeWithAPStream())):d.createElement("div",{className:"PSPDFKit-Annotation","data-annotation-id":n},this.renderWidgetMaybeWithAPStream())))}}const xo=(0,xe.XN)(wo,{forwardRef:!0}),Do={cursor:"pointer"},Co={pointerEvents:"none"};var Eo=n(72127);const So=(0,qn.x)((function(e,t){let{annotation:n}=t;const r=e.formFields.get(n.formFieldName),o=r&&e.formattedFormFieldValues.get(r.name),i=r&&e.editingFormFieldValues.get(r.name);return{annotation:n,formField:(null==r?void 0:r.set("readOnly",(0,Vn.VY)(r,n,e)))||null,frameWindow:e.frameWindow,formDesignMode:e.formDesignMode,backend:e.backend,formattedValue:o,editingValue:i,canFillFormFieldCP:!!r&&(0,Eo.os)(r,e),viewportState:e.viewportState,hasDownVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsDown.has(n.pdfObjectId)),hasRolloverVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsRollover.has(n.pdfObjectId)),annotationToFocus:e.widgetAnnotationToFocus,shadowRoot:e.shadowRoot}}),{forwardRef:!0})(xo),_o=So;var Po=n(93408),ko=n.n(Po),Ao=n(81026);const zo=Ao.p1;const To=function(e){var t;const{annotation:n,dispatch:r,zoomLevel:o,isAnnotationSelected:i,activeAnnotationNote:a,visible:s}=e,l=a&&(null===(t=a.parentAnnotation)||void 0===t?void 0:t.id)===n.id,u=n.isCommentThreadRoot,c=d.useMemo((()=>l&&a?a:(0,Ao.Yu)(n,u?24:zo,u?24:zo)),[n,l,u,a]),p=c.position,f=(u||n.note||l)&&function(e){return!(e instanceof de.Qi||e instanceof de.gd||e instanceof de.Jn||e instanceof de.x_||e instanceof de.R1||function(e){return e.creatorName&&/AutoCAD SHX Text/i.test(e.creatorName)}(e))}(n),m=!Ke.Ni&&!u,{width:g,height:v}=c.boundingBox,y={width:g,height:v,transformOrigin:"top left",transform:`translate(${g*o/2-g/2}px, ${v*o/2-v/2}px)`,cursor:(0,j.B7)(n,{isAnnotationNote:!0})},b=n.constructor.readableName,w=(0,j.B7)(n);return d.createElement(d.Fragment,null,f&&d.createElement(Ee,{position:p,zoomLevel:o},d.createElement(Je.Z,{onPointerUp:e=>{u?r((0,Se.mg)(n,e)):(i||r((0,Se.mg)(c.parentAnnotation,e)),r((0,Se.mv)(c))),e&&e.stopPropagation()}},d.createElement("div",{className:h()({"PSPDFKit-Annotation-Note":!0,[ko().noteIndicator]:!0,[ko().noteIndicatorActive]:i||l,[`PSPDFKit-Annotation-Note-${b}Annotation`]:!!b}),onMouseEnter:m?e=>{r((0,Se._3)(c)),e&&e.stopPropagation()}:void 0,onMouseLeave:m?e=>{r((0,Se._3)(null)),e&&e.stopPropagation()}:void 0,style:{cursor:w}},s?d.createElement(ke.Z,{style:y,className:h()(ko().icon,l&&ko().iconActive),type:u?"comment-indicator":"note-indicator"}):d.createElement("div",{style:y})))))},Oo=d.memo((function(e){const{annotation:t,annotation:{boundingBox:n},zoomLevel:r,backend:o,isMultiAnnotationsSelected:i}=e,{formatMessage:a}=(0,xe.YB)(),s={width:n.width*r,height:n.height*r},[l,c]=d.useState(void 0),[p,f]=d.useState(void 0);d.useEffect((()=>{o.cachedRenderAnnotation(t,void 0,s.width,s.height).promise.then((e=>{if((null==e?void 0:e.element)instanceof HTMLImageElement)return f(e.element.src)})).catch((e=>{throw new u.p2(`Could not render the media annotation: ${e.message}`)}))}),[t,o,s.width,s.height]),d.useEffect((()=>{o.getAttachment(t.mediaAttachmentId).then((e=>c(e))).catch((()=>{throw new u.p2("Could not get media attachment for "+t.id)}))}),[t.mediaAttachmentId,o,t.id]);const m=d.useMemo((()=>l?URL.createObjectURL(l):""),[l]);return d.useEffect((()=>function(){m&&URL.revokeObjectURL(m)}),[m]),m?d.createElement(Ee,{position:n.getLocation(),zoomLevel:r,isMultiAnnotationsSelected:i},d.createElement("div",{className:h()("PSPDFKit-MediaAnnotation","PSPDFKit-Annotation"),"data-annotation-id":t.id},d.createElement("video",{src:m,controls:!0,width:s.width,height:s.height,poster:p,"aria-label":`${a(Pe.Z.annotation)}: ${a(Pe.Z.mediaAnnotation)} ${t.fileName}`},a(Pe.Z.mediaFormatNotSupported)))):null})),Io=Oo;var Fo=n(68540);const Mo=d.forwardRef((function(e,t){let{annotation:n,globalAnnotation:r,attachments:o,backend:i,dispatch:a,isAnnotationReadOnly:s,isDisabled:u,isHover:c,isFocused:p,onBlur:h,onFocus:f,pageSize:m,zoomLevel:g,rotation:v,pageRotation:y,isSelected:b,showAnnotationNotes:w,activeAnnotationNote:x,onClick:D,isResizing:C=!1,isModifying:E=!1,isDragging:S=!1,isRotating:_=!1,cursor:P,shouldRenderAPStream:k,isMultiAnnotationsSelected:A=!1,isComboBoxOpen:z,handleComboBoxRect:T}=e;const[O,I]=d.useState(!1),F=d.useCallback((()=>I(!0)),[]),M=(0,l.v9)((e=>"formFieldName"in n?e.formFields.get(n.formFieldName):void 0)),R=(0,l.v9)((e=>(0,Jr.Zt)(e,n))),B=(0,Fo.jC)({annotation:n,formField:M,zoomLevel:g,isDigitallySignedWidget:R});d.useEffect((()=>{B&&Qe({annotation:n,formField:M,zoomLevel:g,isDigitallySigned:R},B)&&I(!1)}),[n,M,g,R]);const N=s(n),L={backend:i,dispatch:a,isDisabled:u,isSelectable:!N,onBlur:h,onFocus:f,ref:t,zoomLevel:g,rotation:v,isDragging:S,shouldKeepRenderingAPStream:k&&!C&&!E&&!_&&!O,isFocused:p,isMultiAnnotationsSelected:A,cursor:P,isComboBoxOpen:z,handleComboBoxRect:T,onError:F},K=(0,l.v9)((e=>e.secondaryMeasurementUnit));let V=null;return n instanceof de.Hu&&(V=d.createElement(Io,(0,ce.Z)({},L,{annotation:n}))),n instanceof de.sK?V=d.createElement(rt,(0,ce.Z)({},L,{attachment:n.imageAttachmentId?o.get(n.imageAttachmentId):null,annotation:n})):n instanceof de.Zc?V=d.createElement(dt,(0,ce.Z)({},L,{annotation:n})):n instanceof de.R1?V=d.createElement(vt,(0,ce.Z)({},L,{isHover:c,annotation:n})):n instanceof de.Qi?V=d.createElement(St,(0,ce.Z)({},L,{isReadOnly:N,annotation:n})):n instanceof de.UX?V=d.createElement(on,(0,ce.Z)({},L,{annotation:n,secondaryMeasurementUnit:K})):n instanceof de.GI?V=d.createElement(ln,(0,ce.Z)({},L,{annotation:n,globalAnnotation:r})):n instanceof de.gd?V=d.createElement(Cn,(0,ce.Z)({},L,{pageSize:m,onClick:D,annotation:n,globalAnnotation:r})):n instanceof de.Wk?V=d.createElement(zn,(0,ce.Z)({},L,{active:b,annotation:n})):n instanceof de.On?V=d.createElement(Bn,(0,ce.Z)({},L,{active:b,pageRotation:y,annotation:n})):n instanceof de.Ih?V=d.createElement(Kn,(0,ce.Z)({},L,{annotation:n})):n instanceof de.x_?V=d.createElement(_o,(0,ce.Z)({},L,{annotation:n})):n instanceof de.Jn&&(V=d.createElement(Oe,(0,ce.Z)({},L,{isReadOnly:N,active:b,annotation:n}))),d.createElement(ve,{key:n.id,zoomLevel:g,renderer:"Annotation",notCSSScaled:n instanceof de.x_},d.createElement(jo,{annotation:n},V,w&&(0,j.YV)(n)&&d.createElement(To,{dispatch:a,annotation:n,zoomLevel:g,isAnnotationSelected:b,activeAnnotationNote:x,visible:!0})))})),Ro=Mo;function jo(e){let{children:t}=e;return d.createElement("div",null,t)}const Bo=(0,l.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,transformClientToPage:function(t){return e.transformClientToPage(t,n)}}})),No=(0,l.$j)((e=>({transformClientToPage:e.transformClientToPage})));var Lo=n(35464),Ko=n(51491),Vo=n.n(Ko);class qo extends d.PureComponent{constructor(e){let t,n,r;if(super(e),(0,o.Z)(this,"layerRef",d.createRef()),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const n=this._fitRectInPage(new _.UL({left:t.x-this.sizes.width/2,top:t.y-this.sizes.height/2,width:this.sizes.width,height:this.sizes.height}),this.props.pageSize),r=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",n);e.stopPropagation(),r instanceof _.Qi?this.props.dispatch((0,yt.FG)(r)):r instanceof _.Jn&&(this.props.dispatch((0,yt.Zr)((0,s.aV)([r]))),this.props.dispatch((0,Lo.mh)(r.id)))})),e.annotation instanceof _.Qi)t=n=r=Be.SP,this.cursor="context-menu";else{if(!(e.annotation instanceof _.Jn))throw Error("Annotation type not supported.");t=n=r=Be.zk,this.cursor="context-menu"}this.sizes={width:t,height:n,minWidth:r}}_getNormalizedMousePosition(e){const{target:t}=e;if(this.layerRef.current){const{defaultView:n}=this.layerRef.current.ownerDocument;if(t instanceof n.HTMLDivElement)return this.props.transformClientToPage(new _.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}}_fitRectInPage(e,t){const{width:n,height:r}=t,o=this.sizes.minWidth||this.sizes.width;return e.top+e.height>r&&(e=e.set("top",r-e.height)),e.left+o>n&&(e=e.set("left",n-o)),e}render(){return d.createElement(Je.Z,{onPointerUp:this._handlePointerUp},d.createElement("div",{"data-testid":"create-annotation-layer"},d.createElement("div",{className:Vo().layer,style:{cursor:this.cursor||"auto"},ref:this.layerRef})))}}const Ho=No(qo);var Zo=n(80054),Uo=n.n(Zo);class $o extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{currentSelectableAnnotation:null}),(0,o.Z)(this,"_handlePointerDownCapture",(e=>{this._pointerDownTime=Date.now();const t=this._transformToPagePoint(e);this._selectableAnnotation=this.findSelectableAnnotation(t);const n=(0,j.Jy)(this.props.selectedAnnotations,this.props.zoomLevel);!Ke.Ni||!this.props.isMultiAnnotationsSelected||null!=n&&n.isPointInside(t)||this.checkAnnotationAtPoint(t)||this.props.dispatch((0,Se.fz)());const r=this._selectableAnnotation instanceof _.R1;var o,i,a,s;(r&&(this._selectedAnnotationOnDown=this.findSelectedAnnotationAtPoint(t)),this._isInterestedInUpCapture=r&&!this._selectedAnnotationOnDown,e.metaKey||e.ctrlKey&&this.props.isMultiSelectionEnabled)?(null===(o=(i=this.props).setMultiAnnsInitialEvent)||void 0===o||o.call(i,e.nativeEvent),this.props.dispatch((0,Vt.YF)(!0))):null===(a=(s=this.props).setMultiAnnsInitialEvent)||void 0===a||a.call(s,void 0)})),(0,o.Z)(this,"_handlePointerUpCapture",(e=>{if(!this._selectableAnnotation||!this._isInterestedInUpCapture||!this.getSelection().isCollapsed)return;const t=Date.now()-this._pointerDownTime>300,n=this._selectableAnnotation,r=n instanceof _.R1;if(t&&!r)return void(this._selectableAnnotation=null);const o=n instanceof _.On||r,i=!this._selectedAnnotationOnDown&&Boolean(this.findSelectedAnnotationAtPoint(this._transformToPagePoint(e)));this.props.dispatch((0,Se.mg)(n,e,{preventDefault:o,stopPropagation:o,clearSelection:i,longPress:t&&r}))})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.getSelection().isCollapsed||!this._selectableAnnotation||this._selectedAnnotationOnDown)return;const t=this._selectableAnnotation,n=t instanceof _.On;this.props.dispatch((0,Se.mg)(t,e,{preventDefault:n,stopPropagation:n}))})),(0,o.Z)(this,"_handlePointerMove",(e=>{if("mouse"!==e.pointerType)return;const{currentSelectableAnnotation:t}=this.state,n=this._transformToPagePoint(e),r=this.findSelectableAnnotation(n);!(0,s.is)(r,t)&&(t&&this.props.hoverAnnotationIds.has(t.id)&&this.props.dispatch((0,Se.IP)(t.id)),!r||this.props.hoverAnnotationIds.has(r.id)||this.checkifHoverPointIsDefferedRegion(new _.E9({x:e.clientX,y:e.clientY}))||this.props.dispatch((0,Se.oX)(r.id)),this.setState({currentSelectableAnnotation:r}))}))}checkifHoverPointIsDefferedRegion(e){if(this.props.hitCaptureDeferredRect&&this.props.hitCaptureDeferredRect.length>0)for(const t of this.props.hitCaptureDeferredRect){if(e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom)return!0}return!1}_transformToPagePoint(e){return this.props.transformClientToPage(new _.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}_boundingBoxHitTest(e){const t=Ke.Ni?Be.wK:Be.XZ;return n=>n instanceof _.R1?n.boundingBox.isPointInside(e):n.boundingBox.grow(t).isPointInside(e)}_findSelectableLinkAnnotation(e){return this.props.selectableLinkAnnotations.filter(j.Fp).findLast(this._boundingBoxHitTest(e))}_findSelectableTextMarkupAnnotation(e){return this.props.selectableTextMarkupAnnotations.filter(j.Fp).findLast((t=>t.rects.find((t=>t.grow(Ke.Ni?Be.wK:Be.XZ).isPointInside(e)))))}findSelectableAnnotation(e){const t=this._findSelectableLinkAnnotation(e),n=this._findSelectableTextMarkupAnnotation(e);return t||n}findSelectedAnnotationAtPoint(e){return this.props.selectedAnnotations.findLast(this._boundingBoxHitTest(e))}checkAnnotationAtPoint(e){var t,n;return null!==(t=null===(n=this.props.currentPageAnnotations)||void 0===n?void 0:n.some((t=>{var n;return null===(n=t.boundingBox)||void 0===n?void 0:n.isPointInside(e)})))&&void 0!==t&&t}getSelection(){return this.props.window.getSelection()}render(){const e=!!this.state.currentSelectableAnnotation,t=h()({[Uo().layer]:!0,[Uo().cursorText]:this.props.keepSelectedTool&&"TEXT"===this.props.interactionMode,[Uo().cursorPointer]:e,"PSPDFKit-CursorPointer":e});return d.createElement(Je.Z,{onPointerMove:this._handlePointerMove,onPointerUp:this._handlePointerUp,onPointerDownCapture:this.props.isHitCaptureDeferred?void 0:this._handlePointerDownCapture,onPointerDown:this.props.isHitCaptureDeferred?this._handlePointerDownCapture:void 0,onPointerUpCapture:this._handlePointerUpCapture},d.createElement("div",{className:t},this.props.children))}}const Go=No($o);var Wo=n(92537);class Xo extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"precision",(0,ot.HB)(this.props.zoomLevel)),(0,o.Z)(this,"pointsToPathArray",it.Options.ENABLE_INK_SMOOTH_LINES?e=>(0,ot.vR)(e,this.precision):ot.$U),(0,o.Z)(this,"_pathDataFromFragments",((e,t,n)=>{if(!n||n.length<3)return null;const r=this.props.annotation.lines.get(t);return!r||r.size{let{annotation:t,onDrawStart:n}=this.props;this.precision=(0,ot.HB)(this.props.zoomLevel),t=t.update("lines",(t=>t.push((0,s.aV)([e,new _.Wm({x:e.x,y:e.y,intensity:e.intensity})])))),t=t.set("boundingBox",(0,ot.gz)(t)),n(t)})),(0,o.Z)(this,"_onDraw",(e=>{let{annotation:t,onDraw:n}=this.props,r=t.lines.last();(0,u.kG)(r),r=e.reduce(((e,t)=>(0,ot.H9)(e,t,this.props.distanceBetweenPoints)?e.push(t):e),r.pop()).push(e[e.length-1]),t=t.setIn(["lines",this.props.annotation.lines.size-1],r),t=t.set("boundingBox",function(e,t){const{boundingBox:n,lineWidth:r}=e;let{left:o,top:i,width:a,height:s}=n,l=Math.floor(o),u=Math.floor(i),c=Math.ceil(o+a),d=Math.ceil(i+s);return t.forEach((e=>{l=Math.floor(Math.min(o,e.x-r/2)),u=Math.floor(Math.min(i,e.y-r/2)),c=Math.ceil(Math.max(o+a,e.x+r/2)),d=Math.ceil(Math.max(i+s,e.y+r/2)),o=l,i=u,a=c-l,s=d-u})),new _.UL({left:o,top:i,width:a,height:s})}(t,r)),n(t)})),(0,o.Z)(this,"_onDrawEnd",(()=>{let{annotation:e,onDrawEnd:t}=this.props;const n=e.lines.last();if((0,u.kG)(n),n.size>1){const t=n.get(n.size-2);t&&0===n.last().distance(t)&&(e=e.updateIn(["lines",e.lines.size-1],(e=>e.pop())))}t(e)}))}render(){const{annotation:e,canvasSize:t,zoomLevel:n}=this.props,{boundingBox:r}=e;return d.createElement("div",{className:st().canvas,style:{cursor:this.props.cursor,mixBlendMode:(0,j.vk)(e.blendMode)},"data-testid":"ink-canvas-outer-div"},d.createElement(Ee,{zoomLevel:n,applyZoom:!0},d.createElement("div",{style:{position:"absolute",top:r.top,left:r.left,width:r.width,height:r.height}},d.createElement(pt,{isSelectable:!1,annotation:e,viewBox:r,pathDataFromFragments:this._pathDataFromFragments,precision:this.precision}))),d.createElement(Kt.Z,{scrollElement:this.props.scrollElement,size:t,onDrawStart:this._onDrawStart,onDrawCoalesced:this._onDraw,onDrawEnd:this._onDrawEnd,transformPoint:this.props.transformPoint,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing}))}}(0,o.Z)(Xo,"defaultProps",{canvasSize:new _.$u({width:300,height:200}),distanceBetweenPoints:0,cursor:"default",zoomLevel:1});const Yo=(0,dn.Z)(ot.Vv);function Qo(e){const t=e.inkAnnotation.lineWidth/2*e.viewportState.zoomLevel;return{currentInkAnnotation:e.inkAnnotation,cursor:Yo(t),zoomLevel:e.viewportState.zoomLevel,inkAnnotationFromCurrentProps:e.inkAnnotation}}class Jo extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",Qo(this.props)),(0,o.Z)(this,"lastEndDrawingTime",Date.now()),(0,o.Z)(this,"_transformClientToPage",(e=>e.apply(this.props.clientToPageTransformation))),(0,o.Z)(this,"_onDrawStart",(e=>{const t=e.pageIndex,n={annotations:(0,s.aV)([e]),reason:J.f.DRAW_START};this.props.eventEmitter.emit("annotations.willChange",n),null===t?e=e.set("pageIndex",this.props.pageIndex):t!==this.props.pageIndex?(e=e.set("pageIndex",this.props.pageIndex),this.props.dispatch((0,yt.vc)(e,this.props.pageIndex))):(0,ot.Ip)(e,this.props.pageSize,this.lastEndDrawingTime)||(e=(e=e.update("lines",(e=>(0,s.aV)([e.last()])))).set("boundingBox",(0,ot.gz)(e)),this.props.dispatch((0,yt.vc)(e,this.props.pageIndex))),this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDraw",(e=>{this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDrawEnd",(e=>{const t={annotations:(0,s.aV)([e]),reason:J.f.DRAW_END};this.props.eventEmitter.emit("annotations.willChange",t),this.lastEndDrawingTime=Date.now(),this.setState({currentInkAnnotation:e},(()=>{this.state.currentInkAnnotation.lines.size&&this.props.dispatch((0,yt.FG)(this.state.currentInkAnnotation))}))}))}static getDerivedStateFromProps(e,t){return(0,s.is)(t.inkAnnotationFromCurrentProps,e.inkAnnotation)||(0,s.is)(t.currentInkAnnotation,e.inkAnnotation)&&e.viewportState.zoomLevel===t.zoomLevel?null:Qo(e)}componentDidMount(){this.props.dispatch((0,Vt.X2)())}componentWillUnmount(){this.props.dispatch((0,Vt.Zg)())}render(){const e=this.state.currentInkAnnotation,{pageSize:t}=this.props,{INK_EPSILON_RANGE_OPTIMIZATION:n}=it.Options;return d.createElement(Xo,{scrollElement:this.props.scrollElement,annotation:e,canvasSize:t,onDrawStart:this._onDrawStart,onDrawEnd:this._onDrawEnd,onDraw:this._onDraw,transformPoint:this._transformClientToPage,distanceBetweenPoints:n/(this.props.viewportState.zoomLevel*(0,Wo.L)()),cursor:this.state.cursor,zoomLevel:this.props.viewportState.zoomLevel,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing})}}const ei=(0,l.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,G.zi)(e,n),eventEmitter:e.eventEmitter,interactionMode:e.interactionMode,canScrollWhileDrawing:e.canScrollWhileDrawing}}))(Jo);var ti=n(13205);const ni=100;function ri(e,t){const n=Math.floor(e.x/ni);return Math.floor(e.y/ni)*t+n}function oi(e,t,n,r){const{lineWidth:o,id:i}=e,a=Math.ceil(r.width/ni),s=t/2;return e.lines.forEach(((e,t)=>{e.forEach(((e,r)=>{if(null==e)return;const l=Math.floor(e.x/ni),u=Math.floor(e.y/ni),c={point:e,annotationId:i,lineIndex:t,pointIndex:r,strokeRadius:o/2},d=Math.ceil((s+c.strokeRadius)/ni);for(let t=u-d;t<=u+d;t++)for(let r=l-d;r<=l+d;r++)if(r>-1&&t>-1){if(new ti.Z({x:rt.x+n||e.y+rt.y+n)&&e.distance(t){let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,G.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new _.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:r,dispatch:o,inkAnnotations:i,clientToPageTransformation:a}=e,l=d.useMemo((function(){return(0,ot.Vv)(n/2*r)}),[n,r]),[u,c]=d.useState({localAnnotations:i,lastErasedPointsPaths:[]}),p=d.useRef(null),h=d.useCallback((e=>e.apply(a)),[a]);d.useEffect((()=>{p.current=i.reduce(((e,r)=>oi(r,n,e,t)),[]),c({localAnnotations:i,lastErasedPointsPaths:[]})}),[i,n,t]);const f=d.useCallback((e=>{c(function(e,t,n,r,o,i){const a=Math.ceil(i.width/ni),s={};return t.forEach((e=>{const t=ri(e,a);r[t]&&r[t].forEach((t=>{t&&t.point&&ii(t.point,e,n/2,t.strokeRadius)&&(t.point=null,o.push([t.annotationId,t.lineIndex,t.pointIndex]),s[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>s[e.id]?e.withMutations((t=>{o.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1],e[2]],null)}))})):e)),lastErasedPointsPaths:o}}(u.localAnnotations,Array.isArray(e)?e:[e],n,p.current,[],t))}),[u.localAnnotations,n,t]),m=d.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.withMutations((e=>{e.update("lines",(e=>e.reduce(((e,t)=>e.concat(t.reduce(((e,t)=>null==t?e.push((0,s.aV)()):e.update(-1,(e=>e.push(t)))),(0,s.aV)([(0,s.aV)()])).filter((e=>e.size>0)))),(0,s.aV)()).filter((e=>e.size>0))))}))).set("boundingBox",(0,ot.gz)(e))))}(u.localAnnotations,i);o((0,yt.GZ)(e.filter((e=>e.lines&&e.lines.size>0)),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[u.localAnnotations,o,i]);d.useEffect((()=>(o((0,Vt.X2)()),()=>{o((0,Vt.Zg)())})),[o]);const g=d.useCallback(((e,t,n)=>{var r;if(!n)return null;const{lastErasedPointsPaths:o,localAnnotations:i}=u;if(0===o.length)return n;const a=null==i||null===(r=i.find((t=>t.id===e)))||void 0===r?void 0:r.lines.get(t);return a&&a.size===n.length?o.reduce(((n,r)=>{if(function(e,t,n,r){return e[0]===n&&e[1]===r&&"M 0,0"!==t[e[2]]}(r,n,e,t)){n[r[2]]="M 0,0";const e=n[r[2]+1],t=a.get(r[2]+1);if(t&&si(e)){const e=n[r[2]+2];n[r[2]+1]=`${si(e)?"M":"L"} ${t.x},${t.y}`}const o=n[r[2]-1],i=a.get(r[2]-1),s=i?`L ${i.x},${i.y}`:"";if(si(o)){const e=n[r[2]-2];i&&li(e)&&(n[r[2]-1]=s)}else i&&li(o)&&(n[r[2]-1]=s);return n}return n}),n):null}),[u]);return d.createElement("div",{className:st().canvas,style:{cursor:l}},u.localAnnotations.map((e=>d.createElement(dt,{dispatch:o,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:r,key:e.id,pathDataFromFragments:g}))),d.createElement(Kt.Z,{size:t,onDrawStart:f,onDrawCoalesced:f,onDrawEnd:m,transformPoint:h,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));function si(e){return"string"==typeof e&&e.startsWith("C")}function li(e){return"string"==typeof e&&e.startsWith("M")}const ui=(0,l.$j)(((e,t)=>{let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,G.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new _.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:r,dispatch:o,inkAnnotations:i,clientToPageTransformation:a}=e,l=d.useMemo((function(){return(0,ot.Vv)(n/2*r)}),[n,r]),[u,c]=d.useState({localAnnotations:i,lastErasedLinesPaths:[]}),p=d.useRef(null),h=d.useCallback((e=>e.apply(a)),[a]);d.useEffect((()=>{p.current=i.reduce(((e,r)=>oi(r,n,e,t)),[]),c({localAnnotations:i,lastErasedLinesPaths:[]})}),[i,n,t]);const f=d.useCallback((e=>{c(function(e,t,n,r,o,i){const a=Math.ceil(i.width/ni),l={};return t.forEach((e=>{const t=ri(e,a);r[t]&&r[t].forEach((t=>{t&&t.point&&ii(t.point,e,n/2,t.strokeRadius)&&(t.point=null,o.push([t.annotationId,t.lineIndex]),l[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>l[e.id]?e.withMutations((t=>{o.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1]],(0,s.aV)([]))}))})):e)),lastErasedLinesPaths:o}}(u.localAnnotations,Array.isArray(e)?e:[e],n,p.current,[],t))}),[u.localAnnotations,n,t]),m=d.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.update("lines",(e=>e.filter(Boolean).filter((e=>e.size>0))))).set("boundingBox",(0,ot.gz)(e))))}(u.localAnnotations,i);o((0,yt.GZ)(e.filter((e=>{var t;return(null===(t=e.lines)||void 0===t?void 0:t.size)>0})),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[u.localAnnotations,o,i]);return d.useEffect((()=>(o((0,Vt.X2)()),()=>{o((0,Vt.Zg)())})),[o]),d.createElement("div",{className:st().canvas,style:{cursor:l}},u.localAnnotations.map((e=>d.createElement(dt,{dispatch:o,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:r,key:e.id}))),d.createElement(Kt.Z,{size:t,onDrawStart:f,onDrawCoalesced:f,onDrawEnd:m,transformPoint:h,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));class ci extends d.Component{constructor(e){super(e),(0,o.Z)(this,"_handledBlur",!1),(0,o.Z)(this,"editor",d.createRef()),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"clearText",(()=>{const{current:e}=this.editor;if(!e)return"";e.innerText="",setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0),this.focus()})),(0,o.Z)(this,"focus",(()=>{const{current:e}=this.editor;e&&(e.focus(),setTimeout((()=>{const{current:e}=this.editor;e&&("webkit"!==Ke.SR&&(this._handledBlur=!0,e.blur()),e.focus())}),0),this.setInitialSelection())})),(0,o.Z)(this,"_createRangeAndSelect",(e=>{const{current:t}=this.editor;if(!t)return;const{ownerDocument:n,childNodes:r}=t,o=r[r.length-1];if(!o)return;if(void 0===n.createRange)return;const i=n.createRange();let a;a="gecko"===Ke.SR?o.length-1:o.length,i.setStart(o,e?0:a),i.setEnd(o,a),this.setSelection(i)})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_handleKeyDown",(e=>{if(e.keyCode!==Kr.zz){if(e.keyCode===Kr.E$&&e.shiftKey)return this.props.onStopEditing(),void e.preventDefault();if(this.getPlainText().length>=this.props.maxLength)e.preventDefault();else if("blink"===Ke.SR&&e.keyCode===Kr.E$){const{current:n}=this.editor;if(!n)return;const{defaultView:r}=n.ownerDocument;(0,u.kG)(r,"defaultView is null");const o=r.getSelection();if(null!=o&&o.anchorNode&&"#text"===(null==o?void 0:o.anchorNode.nodeName)){var t;const n=di(o);if(null===(t=o.anchorNode.parentNode)||void 0===t||t.normalize(),o.anchorNode&&"#text"===o.anchorNode.nodeName){const t=o.anchorOffset;"Range"===o.type&&o.deleteFromDocument();const r=o.anchorNode.nodeValue;(0,u.kG)(r,"currentText is null");const i=n&&r.replace(/\n/,"").length>0;o.anchorNode.nodeValue=r.substr(0,o.anchorOffset)+"\n"+(i?"\n":"")+r.substr(o.anchorOffset),o.collapse(o.anchorNode,t+1),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}else if("gecko"===Ke.SR&&e.keyCode===Kr.E$){const{current:t}=this.editor;if(!t)return;const{defaultView:r}=t.ownerDocument;(0,u.kG)(r,"defaultView is null");const o=r.getSelection();if(null!=o&&o.anchorNode&&"#text"===(null==o?void 0:o.anchorNode.nodeName)&&(function(e){let{anchorNode:t,anchorOffset:n}=e;return null!=t&&("#text"===t.nodeName&&(0===n||t.nodeValue.length>n&&"\n"===t.nodeValue.charAt(n-1))||"DIV"===t.nodeName&&t.hasChildNodes()&&t.childNodes.length>0&&"BR"===t.childNodes[0].nodeName)}(o)||di(o))){var n;const t=di(o);if(null===(n=o.anchorNode.parentNode)||void 0===n||n.normalize(),o.anchorNode&&"#text"===o.anchorNode.nodeName){const n=o.anchorOffset;"Range"===o.type&&o.deleteFromDocument();const r=o.anchorNode.nodeValue;(0,u.kG)(r,"currentText is null");const i=t&&r.replace(/\n/,"").length>0;o.anchorNode.nodeValue=r.substr(0,o.anchorOffset)+"\n"+(i?"\n":"")+r.substr(o.anchorOffset),o.collapse(o.anchorNode,n+1+(i?1:0)),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}}else this.props.onEscape(e)})),(0,o.Z)(this,"_handleInput",(()=>{const{current:e}=this.editor;if(e){if("gecko"===Ke.SR){const{innerText:t}=e,n=t.charAt(t.length-1);if(" "===n){const t=e.childNodes[e.childNodes.length-1];t.nodeValue===n&&(t.nodeValue="\n")}}this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handlePaste",(e=>{var t,n;if(!this.editor.current)return;const r=this.editor.current.ownerDocument;e.preventDefault();const o=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text/plain");this.getPlainText().length+o.length>=this.props.maxLength||r.execCommand("insertText",!1,cn().sanitize(null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain")))})),(0,o.Z)(this,"_handleDrop",(e=>{if(!this.editor.current)return;const t=this.editor.current.ownerDocument;if(e.preventDefault(),e.dataTransfer){const n=e.dataTransfer.getData("text/plain");if(this.getPlainText.length+n.length>=this.props.maxLength)return;t.execCommand("insertText",!1,n),this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handleScroll",(e=>{const{current:t}=this.editor;t&&(t.scrollTop=0,t.scrollLeft=0,e.stopPropagation(),e.preventDefault())})),(0,o.Z)(this,"_handlePointerDown",(e=>{this.editor.current&&((0,ao.pr)({event:e,element:this.editor.current})||this._handleBlur())})),(0,o.Z)(this,"_handleBlur",(()=>{this._handledBlur||(this._handledBlur=!0,this.props.onBlur())})),(0,o.Z)(this,"_handleFocus",(()=>{this._handledBlur=!1,this.props.onFocus&&this.props.onFocus()})),this.innerText=this.props.defaultValue+"\n"}componentDidMount(){this.editor.current&&(this.props.autoFocus||this.props.autoSelect)&&this.focus()}getElement(){return this.editor.current}getEditorBoundingClientRect(){const{current:e}=this.editor;return(0,u.kG)(e),_.UL.fromClientRect(e.getBoundingClientRect())}getPlainText(){const{current:e}=this.editor;return e?void 0===e.innerText?"":e.innerText.replace(/\n$/,""):""}setSelection(e){const{current:t}=this.editor;if(!t)return;const n=t.ownerDocument.getSelection();null==n||n.removeAllRanges(),null==n||n.addRange(e)}blur(){this.editor.current&&this.editor.current.blur()}setInitialSelection(){if(this.props.autoSelect)return void this.autoSelectText();const{lastMousePoint:e}=this.props;let t,n=!1;if(e){if(!this.editor.current)return;const{ownerDocument:r}=this.editor.current;t=(0,u.Qo)(e,r),n=!!t&&(t.commonAncestorContainer===this.editor.current||t.commonAncestorContainer.parentElement===this.editor.current)}t&&n?this.setSelection(t):this.moveFocusToEnd()}moveFocusToEnd(){this._createRangeAndSelect(!1)}autoSelectText(){this._createRangeAndSelect(!0)}render(){return d.createElement(d.Fragment,null,d.createElement("div",{style:this.props.style,className:fn().editor,onInput:this._handleInput,onBlur:this._handleBlur,onFocus:this._handleFocus,onMouseUp:this._preventDeselect,onPointerUp:this._preventDeselect,onKeyDown:this._handleKeyDown,onKeyUp:this._preventDeselect,onTouchStart:this._preventDeselect,onTouchEnd:this._preventDeselect,onPaste:this._handlePaste,onDrop:this._handleDrop,onScroll:this._handleScroll,ref:this.editor,contentEditable:!0,suppressContentEditableWarning:!0,spellCheck:"false","data-testid":"content-editable-component"},cn().sanitize(this.innerText)),d.createElement(Je.Z,{onRootPointerDownCapture:this._handlePointerDown}))}}function di(e){return null!=e.anchorNode&&null==e.anchorNode.nextSibling&&("#text"===e.anchorNode.nodeName&&e.anchorOffset===e.anchorNode.nodeValue.length||"DIV"===e.anchorNode.nodeName&&e.anchorNode.hasChildNodes()&&e.anchorNode.childNodes.length>0&&"BR"===e.anchorNode.childNodes[0].nodeName)}(0,o.Z)(ci,"defaultProps",{autoFocus:!0,autoSelect:!1});var pi=n(74814),hi=n(89939),fi=n.n(hi),mi=n(23301);function gi(e){let{x:t,y:n,direction:r,startResizing:o,endResizing:i,onFitToSide:a,viewportSize:s,title:l,cursor:u}=e;const c=(0,mi.cL)(pi.V[r]),p=h()({[fi().resizeAnchor]:!0,[fi().nwseCursor]:r===pi.V.TOP_LEFT||r===pi.V.BOTTOM_RIGHT,[fi().neswCursor]:r===pi.V.TOP_RIGHT||r===pi.V.BOTTOM_LEFT,[fi().ewCursor]:r===pi.V.LEFT||r===pi.V.RIGHT,[fi().nsCursor]:r===pi.V.TOP||r===pi.V.BOTTOM,"PSPDFKit-Resize-Anchor":!0,[`PSPDFKit-Resize-Anchor-${c}`]:!0}),{RESIZE_ANCHOR_RADIUS:f}=it.Options,m=f(s),g=u?{cursor:u}:void 0;return d.createElement(Je.Z,{onPointerDown:o,onPointerUp:i},d.createElement("circle",{cx:t,cy:n,r:m-Be.Hr/2,strokeWidth:Be.Hr,className:p,onDoubleClick:a,style:g},l?d.createElement("title",null,l):null))}function vi(e){let{x:t,y:n,startModifying:r,endModifying:o,pointIndex:i,viewportSize:a,title:s,cursor:l}=e;const u=h()({[fi().resizeAnchor]:!0}),{RESIZE_ANCHOR_RADIUS:c}=it.Options,p=c(a),f=l?{cursor:l}:void 0;return d.createElement(Je.Z,{onPointerDown:r,onPointerUp:o},d.createElement("circle",(0,ce.Z)({cx:t,cy:n,r:p-Be.Hr/2,strokeWidth:Be.Hr,className:u,id:`pointIndex${i}`,style:f},{title:s})))}function yi(e){let{width:t,startRotating:n,endRotating:r,viewportSize:o,rotationHandleLength:i,rotation:a=0,title:s}=e;const{RESIZE_ANCHOR_RADIUS:l,SELECTION_STROKE_WIDTH:u}=it.Options,c=h()({"PSPDFKit-Annotations-Rotation-Anchor":!0,[fi().rotateAnchor]:!0}),p=l(o);return d.createElement("svg",{"data-testid":"rotation-handle-ui",className:h()(fi().rotationHandleSvg,"PSPDFKit-Annotations-Rotation-Handle")},d.createElement("line",{className:h()(fi().rotationLine,"PSPDFKit-Annotations-Rotation-Line"),x1:t/2,y1:0,x2:t/2,y2:i,style:{strokeWidth:u}}),d.createElement(Je.Z,{onPointerDown:n,onPointerUp:r},d.createElement("circle",{cx:t/2,cy:i,r:p-Be.Hr/2,strokeWidth:Be.Hr,className:c,style:{cursor:(0,qe.Mg)(a,"grab")}},s?d.createElement("title",null,s):null)))}var bi=n(4325);function wi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xi(e){for(var t=1;te.selectedAnnotationIds)),r=(0,l.v9)((e=>e.isMultiSelectionEnabled));function o(n,r,o){const i=Ci(o),a=Ci(o+e.pagesRotation),s=`${t(Pe.Z.resize)}, ${Ei[a].split(",").map((e=>t(Pe.Z[`resizeHandle${e.trim()}`]))).join(", ")}`;return d.createElement(gi,{key:o,x:n,y:r,direction:a,title:s,startResizing:t=>{e.startResizing&&e.startResizing(t,i)},endResizing:Si,onFitToSide:()=>{e.onFitToSide&&e.onFitToSide(a)},viewportSize:e.viewportSize,cursor:e.cursor})}const{zoomLevel:i,annotation:a,annotationBoundingBox:s,viewportSize:u,customZIndex:c,cursor:p}=e,{RESIZE_ANCHOR_RADIUS:f,SELECTION_STROKE_WIDTH:m}=it.Options,g=(0,bi.q)(s.scale(i),u),{SELECTION_OUTLINE_PADDING:v}=it.Options,y=v(u),b=f(u),w=a?(0,mi.G8)(a)+2*(0,bi.K)(u):0,x=Math.min(2*b,w),D=Math.max(g.width,x),C=Math.max(g.height,x),E=Math.max(b+m/2,m),S=2*E,P=Math.max(b,m/2),k=(0,j.fk)(a,s,i,u,E),A=h()({[fi().selectionRect]:!0,[fi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Rect":!0}),z=!a||(0,j.vj)(a)?xi({strokeWidth:m},p?{cursor:p}:null):{stroke:"transparent",cursor:(0,j.B7)(a,{cursor:p,isSelected:!0})},T=h()({[fi().draggingRect]:!0,[fi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Border":!0}),O=a?a.rotation:e.annotationRotation,I=35*(a?(0,j.WX)(a,i):i),F=d.useRef(g),M=a?(0,j.B7)(a,{cursor:p,isSelected:!0}):void 0,R=xi(xi({left:g.left-E,top:g.top-E,width:D+S,height:C+S,overflow:"visible"},a||"number"!=typeof O||0===O?null:{transformOrigin:`${y+F.current.width/2}px ${y+F.current.height/2}px`}),{},{transform:"number"!=typeof O||0===O||a instanceof _.x_||a instanceof _.sK?void 0:`rotate(${-O}deg)`,zIndex:null!=c?c:0,cursor:M}),B=i*(f(u)-Be.Hr/2),N={left:R.left+R.width/2-B,top:R.top+R.height,width:2*B,height:I+B,overflow:"visible",transformOrigin:`center -${R.height/2}px`,transform:"number"==typeof O&&0!==O?`rotate(${-O}deg)`:void 0};return d.createElement(d.Fragment,null,d.createElement("svg",{style:R,className:fi().svg,focusable:!1},a instanceof _.o9?d.createElement("line",{className:A,x1:k[0].x,y1:k[0].y,x2:k[1].x,y2:k[1].y,style:xi(xi({},z),{},{strokeWidth:Ke.Ni?Math.max(Be.wK,a.strokeWidth)*i:Math.max(Be.XZ,a.strokeWidth)*i,pointerEvents:"all"})}):d.createElement("rect",{className:A,style:z,x:E-m/2,y:E-m/2,width:D+m,height:C+m})),e.children||null,d.createElement("svg",{style:R,className:fi().svg,focusable:!1},d.createElement(Je.Z,{onPointerDown:function(t){const o=r&&n.size>1&&Ke.Ni,i=e.deselectAnnotation&&(t.shiftKey||o);e.isEditableCP&&2!==t.buttons&&(i&&e.deselectAnnotation?e.deselectAnnotation(t):(t.stopPropagation(),null!=e.startDragging&&e.startDragging(t)))}},a instanceof _.o9?d.createElement("line",{className:T,x1:k[0].x,y1:k[0].y,x2:k[1].x,y2:k[1].y,style:xi(xi({},z),{},{strokeWidth:Ke.Ni?Math.max(Be.wK,a.strokeWidth)*i:Math.max(Be.XZ,a.strokeWidth)*i,pointerEvents:"all"})}):d.createElement("rect",{x:E-m/2,y:E-m/2,width:D+m,height:C+m,className:T,style:z})),e.startResizing&&e.isResizable?[o(R.width/2,P,0),o(R.width-P,P,45),o(R.width-P,R.height/2,90),o(R.width-P,R.height-P,135),o(R.width/2,R.height-P,180),o(P,R.height-P,225),o(P,R.height/2,270),o(P,P,315)]:null,e.startModifying&&e.isModifiable?k.map(((t,n)=>function(t,n,r,o){return d.createElement(vi,{key:`modifyAnchor${r}`,x:t,y:n,pointIndex:r,title:o,startModifying:t=>{e.startModifying&&e.startModifying(t,r)},endModifying:Si,viewportSize:e.viewportSize,cursor:e.cursor})}(t.x,t.y,n,"Modify point"))):null),e.startRotating&&e.isRotatable?d.createElement("svg",{style:N,className:fi().svg,focusable:!1},d.createElement(yi,{key:"rotateAnchor",width:N.width,startRotating:t=>{var n;return null===(n=e.startRotating)||void 0===n?void 0:n.call(e,t)},endRotating:Si,viewportSize:e.viewportSize,rotationHandleLength:I,rotation:O,title:t(Pe.Z.rotation)})):null)}function Ci(e){switch((0,u.kG)(e%45==0,"Only multiples of 45° allowed."),e%360){case 0:return pi.V.TOP;case 45:return pi.V.TOP_RIGHT;case 90:return pi.V.RIGHT;case 135:return pi.V.BOTTOM_RIGHT;case 180:return pi.V.BOTTOM;case 225:return pi.V.BOTTOM_LEFT;case 270:return pi.V.LEFT;case 315:return pi.V.TOP_LEFT;default:throw new Error("Unsupported resize degrees")}}const Ei={[pi.V.TOP]:"Top",[pi.V.TOP_RIGHT]:"Top, Right",[pi.V.RIGHT]:"Right",[pi.V.BOTTOM_RIGHT]:"Bottom, Right",[pi.V.BOTTOM]:"Bottom",[pi.V.BOTTOM_LEFT]:"Bottom, Left",[pi.V.LEFT]:"Left",[pi.V.TOP_LEFT]:"Top, Left"};function Si(e){e.stopPropagation()}var _i=n(49876);function Pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t{const e=this._getNormalizedEditorBoundingBox(),t=it.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?e:this.state.selectionBoundingBox.set("left",e.left).set("top",e.top),n=this.props.annotation.set("boundingBox",t),r=(0,j.WX)(n,this.props.viewportState.zoomLevel);var o,i;_.UL.areRectsCloserThan((0,qe.h4)(n).boundingBox,(0,qe.h4)(n.set("boundingBox",this.state.selectionBoundingBox)).boundingBox,r)||(this.setState({selectionBoundingBox:n.boundingBox}),null===(o=(i=this.props).onChange)||void 0===o||o.call(i,n.boundingBox,this.getText()))})),(0,o.Z)(this,"shouldCleanupAnnotation",(()=>!((0,j.Vc)(this.props.annotation)||!(0,j.Ie)(this.props.annotation))&&("xhtml"===this.props.annotation.text.format?""===(0,gn.KY)(this.state.richTextContent):""===this.getText().value))),(0,o.Z)(this,"handleEscape",(()=>{this.props.dispatch((0,Se.fz)()),this.props.onEditingDone()})),(0,o.Z)(this,"handleBlur",(e=>{null!=e&&e.isNativeBlurEvent&&this._triggerOnEditingDone(void 0,null==e?void 0:e.isTextToolbarClicked,this.shouldCleanupAnnotation())})),(0,o.Z)(this,"onStopEditing",(()=>{this._triggerOnEditingDone(!0)})),(0,o.Z)(this,"onRichEditorInit",(e=>{this.props.dispatch((0,Vt.$Q)(e))}));const{annotation:r}=e;this.lastSavedAnnotation=r,this.initialOutlineBoundingBox=this.getInitialBoundingBox(r);let a=!1,s=(0,pn.hr)(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"";var l,u,c;if(e.enableRichText(e.annotation)){if(a=!0,"plain"===(null===(l=e.annotation.text)||void 0===l?void 0:l.format)){var p;const t=(null===(p=e.annotation.fontColor)||void 0===p?void 0:p.toHex())||"",n=i.ri.prepareHTML(e.annotation.text.value);s=i.ri.setStyleOrToggleFormat(i.ri.serialize(i.ri.deserialize(n)),"fontColor",t)}}else"xhtml"===(null===(u=e.annotation.text)||void 0===u?void 0:u.format)&&(s=i.ri.getText((null===(c=e.annotation.text)||void 0===c?void 0:c.value)||""));this.state={selectionBoundingBox:this.initialOutlineBoundingBox,annotation:r,richTextContent:null===(n=e.annotation.text)||void 0===n?void 0:n.value,useRichText:a,text:s}}getInitialBoundingBox(e){let t=e.boundingBox;return(0,j.U7)(t)||(t=t.set("width",it.Options.MIN_TEXT_ANNOTATION_SIZE).set("height",e.fontSize)),t}componentDidUpdate(e){this.updateSelectionBoundingBox(),e&&!e.annotation.equals(this.props.annotation)&&(this.initialOutlineBoundingBox=this.getInitialBoundingBox(this.props.annotation),this.setState((e=>ki(ki({},e),{},{annotation:this.props.annotation},e.useRichText?{richTextContent:this.props.annotation.text.value}:null))))}_getNormalizedEditorBoundingBox(){const{current:e}=this.editorRef,{current:t}=this.richTextEditorRef;return t?this.props.transformClientToPage(_.UL.fromClientRect(Ti(t))):e?this.props.transformClientToPage(_.UL.fromClientRect(Ti(e.getElement()))):new _.UL}getText(){const{current:e}=this.editorRef;return e||this.state.useRichText?e?{value:e.getPlainText(),format:"plain"}:{value:this.state.richTextContent,format:"xhtml"}:{value:"",format:"plain"}}_triggerOnEditingDone(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{current:o}=this.editorRef,i=this.getText(),{annotation:a,onChange:s}=this.props,l=(0,j.WX)(a,this.props.viewportState.zoomLevel);if((0,j.Vc)(a))return void(null==s||s(this.state.selectionBoundingBox,i));if(!o&&!this.state.useRichText)return;let u=(null===(e=this.props.annotation.text)||void 0===e?void 0:e.value)!==i.value?this.props.annotation.set("text",i).set("boundingBox",this.state.selectionBoundingBox):this.props.annotation;if("xhtml"===i.format&&this.props.annotation.fontColor?u=u.set("fontColor",null):"plain"!==i.format||this.props.annotation.fontColor||(u=u.set("fontColor",_.Il.BLACK)),it.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT){const e=this._getNormalizedEditorBoundingBox(),t=u.boundingBox;!e.getSize().equals(t.getSize())&&(u=u.set("boundingBox",e)),(0,j.ix)(u,this.props.viewportState.zoomLevel)&&(u=u.setIn(["boundingBox","width"],u.boundingBox.width*this.props.viewportState.zoomLevel).setIn(["boundingBox","height"],u.boundingBox.height*this.props.viewportState.zoomLevel)),u=(0,pn.XA)(u,l)}this.lastSavedAnnotation.equals(u)||(this.lastSavedAnnotation=u,this.props.onEditingDone((0,mi.er)(u,this.props.annotation.boundingBox),t,n,r))}componentWillUnmount(){this.shouldCleanupAnnotation()&&(this.props.dispatch((0,yt.aF)((0,s.l4)([this.props.annotation.id]))),this.props.dispatch((0,_i.zM)(this.props.annotation.id)))}render(){var e;const t=this.props.annotation,{zoomLevel:n}=this.props.viewportState,r=t.boundingBox,o=this.props.pageSize.width,a=this.props.pageSize.height,s=(0,j.WX)(t,n),l=(0,pn.z1)(t.set("rotation",0),s,!1);let u,c;const p=Math.floor(r.left*n),h=Math.floor(r.top*n);switch(t.rotation){case 0:u=o*n-p,c=a*n-h;break;case 90:u=r.bottom*n,c=o*n-p;break;case 180:u=r.right*n,c=r.bottom*n;break;case 270:u=a*n-h,c=r.right*n}const f=(0,j.Vc)(t),m=ki(ki({},!f&&{left:p,top:h}),{},{minWidth:it.Options.MIN_TEXT_ANNOTATION_SIZE*s,minHeight:t.fontSize*s,maxWidth:u,maxHeight:c}),g=it.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?m:ki(ki({},l),m);delete l.width,delete l.height,delete l.overflow;const v=Math.ceil(t.boundingBox.width*s),y=Math.ceil(t.boundingBox.height*s);switch(g.transformOrigin="0 0",t.rotation){case 90:g.transform=`translate(0, ${y}px) rotate(${-t.rotation}deg)`;break;case 180:g.transform=`translate(${v}px, ${y}px) rotate(${-t.rotation}deg)`;break;case 270:g.transform=`translate(${v}px, 0) rotate(${-t.rotation}deg)`;break;default:(0,qe.kv)(t)&&(g.transformOrigin=`${n*this.initialOutlineBoundingBox.width/2}px ${n*this.initialOutlineBoundingBox.height/2}px`,g.transform=`rotate(${String(-t.rotation)}deg)`)}return this.state.useRichText||"xhtml"!==(null===(e=this.props.annotation.text)||void 0===e?void 0:e.format)||(g.color=_.Il.BLACK.toHex()),d.createElement(d.Fragment,null,!f&&d.createElement(Di,{zoomLevel:n,pagesRotation:this.props.viewportState.pagesRotation,annotationBoundingBox:this.state.selectionBoundingBox,annotationRotation:t.rotation,isResizable:!0,isModifiable:!1,isRotatable:!0,isEditableCP:!0,viewportSize:this.props.viewportState.viewportRect.getSize()}),d.createElement("div",{style:ki(ki({},l),!this.state.useRichText&&{wordBreak:f?void 0:l.wordBreak,overflowWrap:f?"break-word":l.overflowWrap}),className:fn().editorWrapper},this.state.useRichText?d.createElement(i.D,{text:this.state.text,style:ki(ki({},g),{},{color:_.Il.BLACK.toHex()}),updateBoundingBox:this.updateSelectionBoundingBox,ref:this.richTextEditorRef,onValueChange:e=>{this.setState({richTextContent:e})},onBlurSave:this.handleBlur,onStopEditing:this.onStopEditing,onEscape:this.handleEscape,maxLength:Be.RI,lastMousePoint:this.props.lastMousePoint,onEditorInit:this.onRichEditorInit,className:!f&&fn().richEditor,autoFocus:!0,keepSelectedTool:this.props.keepSelectedTool,shadowRoot:this.props.shadowRoot}):d.createElement(ci,{style:ki(ki({},g),{position:f?"static":g.position}),valueDidUpdate:this.updateSelectionBoundingBox,onBlur:()=>this.handleBlur({isNativeBlurEvent:!0}),onStopEditing:this.onStopEditing,onEscape:this.handleEscape,ref:this.editorRef,maxLength:Be.RI,defaultValue:this.state.text,lastMousePoint:this.props.lastMousePoint,autoSelect:this.props.autoSelect})))}}(0,o.Z)(Ai,"defaultProps",{autoSelect:!1});const zi=Bo(Ai);function Ti(e){var t;const n=e.cloneNode(!0);n.style.transform="none",n.style.visibility="hidden",n.style.pointerEvents="none",null===(t=e.parentElement)||void 0===t||t.append(n);const r=n.getBoundingClientRect();return n.remove(),r}const Oi=e=>{let{annotation:t,children:n}=e;const r=(0,l.v9)((e=>e.viewportState.zoomLevel)),o=(0,d.useRef)(null),i=(0,l.I0)(),a=t.boundingBox.scale(r),s=(0,d.useCallback)(((e,n)=>{var a;const s=null===(a=o.current)||void 0===a?void 0:a.getBoundingClientRect();if(!s)return;const{callout:l}=t,u=(0,gn.Vq)({rect:s,annotation:t,zoomLevel:r,text:n,callout:l});u&&i((0,yt.FG)(t.merge(u)))}),[t,r,i]),u=(0,d.useRef)(t);return u.current=t,(0,d.useEffect)((()=>()=>{("xhtml"===u.current.text.format?(0,gn.KY)(u.current.text.value):u.current.text.value)||"xhtml"!==u.current.text.format||i((0,yt.hQ)(u.current))}),[i]),d.createElement("div",{style:{position:"absolute",left:a.left,top:a.top,minHeight:a.height,width:a.width}},d.createElement(yn,{annotation:t,isEditing:!0,ref:o},n(s)))};class Ii extends d.PureComponent{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"_onEditingDone",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=t&&(0,qe.az)(t),a=i?(0,s.aV)([i]):(0,s.aV)([]),l={annotations:a,reason:J.f.TEXT_EDIT_END};e.props.eventEmitter.emit("annotations.willChange",l),i&&(o||e.props.dispatch((0,yt.FG)(i)),n&&e.props.dispatch((0,Se.Df)((0,s.l4)([e.props.annotation.id]),null)),e.props.keepSelectedTool&&!r&&e.props.dispatch((0,Vt.DU)()))}))}componentDidMount(){const e={annotations:(0,s.aV)([this.props.annotation]),reason:J.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Vt.X2)())}componentWillUnmount(){this.props.dispatch((0,Vt.Zg)())}render(){const{annotation:e,autoSelect:t,dispatch:n,pageSize:r,lastMousePoint:o,pageIndex:i,enableRichText:a}=this.props,s=s=>d.createElement(zi,{dispatch:n,annotation:(0,qe.h4)(e),lastMousePoint:o,pageSize:r,pageIndex:i,onEditingDone:this._onEditingDone,autoSelect:t,enableRichText:a,onChange:s,keepSelectedTool:this.props.keepSelectedTool,shadowRoot:this.props.shadowRoot});return(0,j.Vc)(e)?d.createElement(Oi,{annotation:e},(e=>s(e))):s()}}(0,o.Z)(Ii,"defaultProps",{autoSelect:!1});class Fi extends d.Component{constructor(e){super(e),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const{pagesRotation:n}=this.props.viewportState,r=(0,j.ix)(this.props.annotation,this.props.zoomLevel)?this.props.annotation.fontSize/this.props.zoomLevel:this.props.annotation.fontSize,o=new _.E9({x:t.x,y:Math.max(t.y-r/2,0)}),i=(0,pn.gB)(o,n),a=this._fitRectInPage(i,this.props.pageSize);this.setState({bindPointerUpEvent:!1});let l=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",a).set("rotation",n);this.props.interactionMode===B.A.CALLOUT&&(l=function(e,t,n){const r=function(e,t){let n="top-right";const{width:r}=t;e.x+100>r&&(n=n.replace("right","left"));e.y-120<0&&(n=n.replace("top","bottom"));return n}(e,t),o=new _.E9({x:e.x,y:e.y}),i=new _.E9({x:r.includes("right")?e.x+50:e.x-50,y:r.includes("top")?e.y-50:e.y+50}),a=new _.E9({x:r.includes("right")?e.x+50:e.x-50,y:r.includes("top")?e.y-Mi:e.y+Mi}),s=new _.eB({top:r.includes("top")?0:Mi,right:r.includes("right")?0:42,bottom:r.includes("top")?Mi:0,left:r.includes("right")?42:0}),l=new _.UW({start:o,knee:i,end:a,innerRectInset:s,cap:"openArrow"}),u=new _.UL({top:r.includes("top")?e.y-100:e.y,left:r.includes("right")?e.x:e.x-85,width:85,height:100});return n.set("callout",l).set("boundingBox",u).set("borderWidth",n.borderWidth||2).set("borderStyle",n.borderStyle||"solid").set("borderColor",n.borderColor||_.Il.BLACK)}(t,this.props.pageSize,l)),this.props.dispatch((0,yt.Zr)((0,s.aV)([l]))),e.stopPropagation()})),this.state={bindPointerUpEvent:!0}}_getNormalizedMousePosition(e){const{target:t}=e;if("DIV"==t.tagName)return this.props.transformClientToPage(new _.E9({x:e.clientX,y:e.clientY}))}_fitRectInPage(e,t){const{width:n,height:r}=t,{MIN_TEXT_ANNOTATION_SIZE:o}=it.Options;return e.top+e.height>r&&(e=e.set("top",r-e.height)),e.left+o>n&&(e=e.set("left",n-o)),e}render(){const e=h()({[fn().layer]:!0,"PSPDFKit-Text-Canvas":!0});return d.createElement(Je.Z,{onPointerUpCapture:this.state.bindPointerUpEvent?this._handlePointerUp:void 0},d.createElement("div",{className:e,style:{cursor:"text"}}))}}(0,o.Z)(Fi,"defaultProps",{autoSelect:!1});const Mi=80;const Ri=Bo(Fi);var ji=n(54662);const Bi={ArrowUp:0,ArrowRight:90,ArrowDown:180,ArrowLeft:270};function Ni(e){switch(e){case 0:return new S.E9({x:0,y:-1});case 90:return new S.E9({x:1,y:0});case 180:return new S.E9({x:0,y:1});case 270:return new S.E9({x:-1,y:0});default:throw Error()}}var Li=n(11192);function Ki(e){var t;null!==(t=e.getSelection())&&void 0!==t&&t.isCollapsed||(0,Li.a7)(e)}function Vi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qi(e){for(var t=1;t{let e;return(0,z.S6)(t)&&t.measurementBBox?(e=t.set("boundingBox",t.measurementBBox),e):t}),[t]),[L,K]=(0,Fo.Ah)(N),V=(0,l.v9)((e=>e.shadowRoot)),[q,H]=d.useState(null),[Z,U]=function(e,t,n){const r=d.useRef(null);return[d.useCallback((function(e){const{current:t}=r;if(!t)return;const o="function"==typeof t.getWrappedInstance?t.getWrappedInstance():t;o&&"function"==typeof o.onClick&&!n&&o.onClick(e)}),[n]),r]}(0,0,R.current);(0,d.useEffect)((()=>{L&&P.emit("annotations.transform",{annotation:L})}),[L,P]);const $=d.useMemo((()=>(0,G.cr)(e.viewportState,t.pageIndex)),[e.viewportState,t.pageIndex]),W=d.useMemo((()=>(0,j.SY)(L,r,i)),[L,r,i]),X=d.useCallback((function(e){return e.scale(1/r).rotate(i)}),[r,i]),Y=d.useCallback((e=>{H(e),O(e)}),[O]),Q=d.useCallback((function(e){const t=(0,qe.az)(e),n=(0,j.SY)(t,r,i);if(C&&k){if(!new _.UL({left:0,top:0,width:C.width,height:C.height}).isRectInside(n))return}x((0,yt.FG)(t))}),[x,C,k,r,i]),{isDragging:ee,cancelDrag:te,startDraggingWithEvent:ne,startDraggingAtPoint:re,dragListener:oe}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotation:r,setTransformedAnnotation:o,setGlobalAnnotation:i,annotation:a,interactionsDisabled:l,dispatch:c,frameWindow:p,pageSize:h,onClick:f,transformDeltaFromClientToPage:m,eventEmitter:g,restrictAnnotationToPageBounds:v,isEditableCP:y,zoomLevel:b}=e;const[w,x]=d.useReducer(Zi,Hi),{isListening:D,isDragging:C}=w,E=d.useCallback((function(){return new _.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);d.useEffect((()=>()=>{C&&l&&c((0,Vt.Zg)())}),[c,l,C]);const S=d.useRef(null),P=d.useCallback((function(e){S.current=E();const t=n(e).translate(a.boundingBox.getLocation().scale(-1)),r=m(e);x({type:"start",mousePosition:r,initialClickWithinAnnotation:t})}),[E,n,m,a.boundingBox]),k=d.useCallback((function(e){e.isPrimary&&P(new _.E9({x:e.clientX,y:e.clientY}))}),[P]),A=d.useCallback((function(){x({type:"stop"}),Ki(p),c((0,Vt.Zg)())}),[p,c]),T=d.useCallback((function(e){if((C||Ui(e))&&e.stopPropagation(),r.equals(a)?w.initialDragCompleted&&f(e):i(r),x({type:"stop"}),C){const e={annotations:(0,s.aV)([r]),reason:J.f.MOVE_END};g.emit("annotations.willChange",e)}Ki(p),c((0,Vt.Zg)())}),[a,p,c,C,f,w.initialDragCompleted,r,g,i]),O=d.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),C&&0===e.buttons)return void T(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:r}=w;(0,u.kG)(t),(0,u.kG)(n);const i=m(new _.E9({x:e.clientX,y:e.clientY})),d=qt(n,t);!l&&d&&c((0,Vt.X2)());const f=i.translate(t.scale(-1)),y=r.translate(f),D=(0,ji.c)(a,y,h,n,v,b),E=(0,z.S6)(D)?D.set("measurementBBox",D.boundingBox):D;if(o(E),x({type:"drag",mousePosition:i,translation:y}),Ki(p),!C){const e={annotations:(0,s.aV)([a]),reason:J.f.MOVE_START};g.emit("annotations.willChange",e)}}),[a,p,c,l,h,o,w,C,m,g,T,v,b]),I=d.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=E(),r=S.current;(0,u.kG)(r);const i=m(n.translate(r.scale(-1))),s=w.translation.translate(i);let l=w.initialClickWithinAnnotation;l||(l=new _.E9);const c=(0,ji.c)(a,s,h,l,!1,b);o(c),x({type:"scroll",translation:s}),S.current=n,Ki(p)}),[a,p,t,E,h,o,w.initialClickWithinAnnotation,w.translation,m,b]);(0,Fo.wA)(D,t,I);const F=D&&d.createElement(Je.Z,{onRootPointerDownCapture:T,onRootPointerMoveCapture:y&&!a.locked?O:void 0,onRootPointerUpCapture:T});return{isDragging:C,cancelDrag:A,startDraggingWithEvent:k,startDraggingAtPoint:P,dragListener:F}}({getScrollElement:v,transformClientToPage:y,transformedAnnotation:L,setTransformedAnnotation:K,setGlobalAnnotation:Q,annotation:t,interactionsDisabled:w,dispatch:x,frameWindow:b,pageSize:C,onClick:Z,transformDeltaFromClientToPage:X,eventEmitter:P,restrictAnnotationToPageBounds:k,isEditableCP:A,zoomLevel:r}),{startResizing:ie,resizeListener:ae,isResizing:se}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:r,annotation:o,dispatch:i,frameWindow:a,transformDeltaFromClientToPage:l,eventEmitter:c,pageSize:p,restrictAnnotationToPageBounds:h,shouldConstrainAspectRatio:f,annotationDimensions:m,clientTransformationMatrix:g,interactionsDisabled:v,backend:y,disablePointSnapping:b}=e;const[w,x]=d.useState(Xi),[D,C]=d.useState(!1),E=d.useRef(void 0),S=d.useRef(null),P=d.useRef(!1);d.useEffect((()=>()=>{D&&v&&i((0,Vt.Zg)())}),[i,v,D]);const k=d.useCallback((function(e,n){var r;if(!e.isPrimary)return;(0,Zt.mE)(y,o,b)&&y.configureSnapper(o.pageIndex);const a=new _.E9({x:e.clientX,y:e.clientY}),d=l(a);x({startingMousePosition:d,startingResizeAnchor:n,isListening:!0}),C(!0);const p={annotations:(0,s.aV)([o]),reason:J.f.RESIZE_START};c.emit("annotations.willChange",p),o instanceof _.b3&&![pi.V.TOP,pi.V.RIGHT,pi.V.BOTTOM,pi.V.LEFT].includes(n)&&null!==(r=o.isMeasurement)&&void 0!==r&&r.call(o)&&((0,u.kG)(t instanceof _.b3),i((0,Ht.eO)({magnifierLabel:t.getMeasurementDetails().label,drawnAnnotationID:t.id,drawnAnnotationPageIndex:t.pageIndex,magnifierCursorPosition:Yi(o,g,n)}))),i((0,Vt.X2)())}),[t,i,l,o,c,g]),A=d.useCallback((async function(e){var t;e.preventDefault();const r=new _.E9({x:e.clientX,y:e.clientY});let s=l(r);if((0,Zt.mE)(y,o,b)){const e=await y.getClosestSnapPoint(new _.E9({x:s.x,y:s.y}));s=s.set("x",e.x).set("y",e.y)}const{startingMousePosition:c,startingResizeAnchor:d}=w;(0,u.kG)(c),(0,u.kG)(d);const v={annotation:o,resizeAnchor:d,isShiftPressed:e.shiftKey},x=S.current;null!==x&&x.annotation.id===v.annotation.id&&x.isShiftPressed===v.isShiftPressed&&x.resizeAnchor===v.resizeAnchor||(P.current=f(v),E.current=m(v)),S.current=v;const D=s.translate(c.scale(-1)),C=(0,mi.D7)(o,D,d,P.current,void 0,p,h,E.current),k=(0,z.S6)(C)?C.set("measurementBBox",C.boundingBox):C;n(k),Ki(a),o instanceof _.b3&&![pi.V.TOP,pi.V.RIGHT,pi.V.BOTTOM,pi.V.LEFT].includes(d)&&null!==(t=o.isMeasurement)&&void 0!==t&&t.call(o)&&((0,u.kG)(C instanceof _.b3),i((0,Ht.eO)({magnifierLabel:C.getMeasurementDetails().label,magnifierCursorPosition:Yi(C,g,d)})))}),[i,o,a,n,g,f,w,l,p,h]),T=d.useCallback((function(e){var n;e.stopPropagation(),C(!1),x(Xi),r(t),i((0,Vt.Zg)()),Ki(a);const l={annotations:(0,s.aV)([t]),reason:J.f.RESIZE_END};c.emit("annotations.willChange",l),o instanceof _.b3&&null!==(n=o.isMeasurement)&&void 0!==n&&n.call(o)&&i((0,Ht.eO)(null))}),[o,a,i,r,t,c]);return{startResizing:k,resizeListener:w.isListening&&d.createElement(Je.Z,{onRootPointerMoveCapture:A,onRootPointerUpCapture:T}),isResizing:D}}({transformedAnnotation:L,setTransformedAnnotation:K,setGlobalAnnotation:Q,annotation:t,dispatch:x,frameWindow:b,transformDeltaFromClientToPage:X,eventEmitter:P,pageSize:C,restrictAnnotationToPageBounds:k,shouldConstrainAspectRatio:T,annotationDimensions:I,clientTransformationMatrix:$,interactionsDisabled:w,backend:F,disablePointSnapping:M}),{startRotating:le,rotateListener:ue,isRotating:ce}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:r,annotation:o,dispatch:i,frameWindow:a,transformClientToPage:l,eventEmitter:u,pageSize:c,restrictAnnotationToPageBounds:p,centerPoint:h,interactionsDisabled:f,setLocalAndGlobalCursor:m,zoomLevel:g}=e;const[v,y]=d.useState(!1),[b,w]=d.useState(!1);d.useEffect((()=>()=>{b&&f&&i((0,Vt.Zg)())}),[i,f,b]);const x=d.useCallback((e=>{const t=new _.E9({x:e.clientX,y:e.clientY}),n=l(t),r=h.x-n.x,o=n.y-h.y,i=-Math.atan2(r,o);return Math.round(i*(180/Math.PI))}),[h,l]),D=d.useCallback((function(e){if(!e.isPrimary)return;y(!0),w(!0);const t={annotations:(0,s.aV)([o]),reason:J.f.ROTATE_START};u.emit("annotations.willChange",t),i((0,Vt.X2)()),m((0,qe.Mg)(x(e),"grabbing"))}),[i,o,u,x,m]),C=d.useCallback((function(e){const r=x(e),o=(0,qe.sw)(t,r,c,p,g);n(o),Ki(a),m((0,qe.Mg)(r,"grabbing"))}),[t,a,n,x,m,c,p,g]),E=d.useCallback((function(e){e.stopPropagation(),w(!1),y(!1);const t=x(e),n=(0,qe.sw)(o,t,c,p,g);r(n),i((0,Vt.Zg)()),Ki(a),m("");const l={annotations:(0,s.aV)([n]),reason:J.f.ROTATE_END};u.emit("annotations.willChange",l)}),[a,i,r,o,x,u,c,p,m,g]);return{startRotating:D,rotateListener:v&&d.createElement(Je.Z,{onRootPointerMoveCapture:C,onRootPointerUpCapture:E}),isRotating:b}}({transformedAnnotation:L,setTransformedAnnotation:K,setGlobalAnnotation:Q,annotation:t,dispatch:x,frameWindow:b,transformClientToPage:y,eventEmitter:P,pageSize:C,restrictAnnotationToPageBounds:k,centerPoint:W.getCenter(),interactionsDisabled:w,setLocalAndGlobalCursor:Y,zoomLevel:r}),de=(0,Fo.lB)(t,C,r,x),{startModifying:pe,modifyListener:he,isModifying:fe}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:r,annotation:o,dispatch:i,frameWindow:a,transformDeltaFromClientToPage:c,eventEmitter:p,clientTransformationMatrix:h,pageSize:f,restrictAnnotationToPageBounds:m,backend:g,disablePointSnapping:v,zoomLevel:y}=e;const[b,w]=d.useState(Gi),[x,D]=d.useState(!1),C=(0,l.v9)((e=>e.defaultAutoCloseThreshold)),E=d.useCallback((async function(e,t){var n;if(!e.isPrimary)return;const r=new _.E9({x:e.clientX,y:e.clientY}),a=c(r);(0,Zt.mE)(g,o,v)&&await g.configureSnapper(o.pageIndex),w({pointIndex:t,startingMousePosition:a,isListening:!0}),D(!0);const l={annotations:(0,s.aV)([o]),reason:J.f.RESIZE_START};p.emit("annotations.willChange",l),o instanceof _.UX&&null!==(n=o.isMeasurement)&&void 0!==n&&n.call(o)&&i((0,Ht.eO)({magnifierLabel:o.getMeasurementDetails().label,drawnAnnotationID:o.id,drawnAnnotationPageIndex:o.pageIndex,magnifierCursorPosition:Wi(o,t,h)})),i((0,Vt.X2)())}),[i,c,o,p,h]),P=d.useCallback((async function(e){var t,r;e.preventDefault();const s=new _.E9({x:e.clientX,y:e.clientY}),l=c(s),{startingMousePosition:d,pointIndex:p}=b;(0,u.kG)(d),(0,u.kG)(null!==p);const f=l.translate(d.scale(-1));let m=(0,$i.Sy)(o,f,p);if((0,u.kG)(m),(0,Zt.mE)(g,o,v)){let e=new _.E9({x:0,y:0});m instanceof _.o9?e=m.get(["startPoint","endPoint"][p]):(m instanceof _.om||m instanceof _.Hi)&&(e=m.points.get(p));const t=await g.getClosestSnapPoint(new _.E9({x:e.x,y:e.y}));e=e.set("x",t.x).set("y",t.y),m instanceof _.o9?m=m.set(["startPoint","endPoint"][p],e):(m instanceof _.om||m instanceof _.Hi)&&(m=m.set("points",m.points.set(p,e)))}if(m instanceof _.om||m instanceof _.Hi){const e=(0,Zt.KM)(m,p,C);-1!==e&&(m=(0,Zt.dg)(m,p,e))}n(m),Ki(a),"isMeasurement"in m&&null!==(t=(r=m).isMeasurement)&&void 0!==t&&t.call(r)&&i((0,Ht.eO)({magnifierLabel:m.getMeasurementDetails().label,magnifierCursorPosition:Wi(m,p,h)}))}),[i,o,a,n,b,c,h]),k=d.useCallback((function(e){var n;if(e.stopPropagation(),D(!1),w(Gi),f&&m){const e=new S.UL({left:0,top:0,width:f.width,height:f.height}),t=(0,j.SY)(o,y);if(!e.isRectInside(t))return}r(t),i((0,Vt.Zg)()),Ki(a);const l={annotations:(0,s.aV)([t]),reason:J.f.RESIZE_END};p.emit("annotations.willChange",l),"isMeasurement"in o&&null!==(n=o.isMeasurement)&&void 0!==n&&n.call(o)&&i((0,Ht.eO)(null))}),[o,a,i,t,p,r,f,m,y]);return{startModifying:E,modifyListener:b.isListening&&d.createElement(Je.Z,{onRootPointerMoveCapture:P,onRootPointerUpCapture:k}),isModifying:x}}({transformedAnnotation:L,setTransformedAnnotation:K,setGlobalAnnotation:Q,annotation:t,dispatch:x,frameWindow:b,transformDeltaFromClientToPage:X,eventEmitter:P,clientTransformationMatrix:$,pageSize:C,restrictAnnotationToPageBounds:k,backend:F,disablePointSnapping:M,zoomLevel:r});(0,Fo.Sv)(D,x,re);const me=function(e,t){return d.Children.map(e,(e=>d.cloneElement(e,Ji(Ji({},t),{},{isDisabled:!0}))))}(a,Ji({annotation:L,globalAnnotation:n,ref:U,isResizing:se,isModifying:fe,isDragging:ee,isRotating:ce},q?{cursor:q}:null)),ge=d.useRef(null);ge.current=function(e){g&&g(t,e)};const ve=(0,Fo.wL)(v);d.useEffect((function(){const{current:e}=ve;return function(){if(e&&e===(null==e?void 0:e.ownerDocument.activeElement)){const e=ge.current;e&&e((0,ao.My)("blur"))}}}),[]),d.useLayoutEffect((function(){ee&&te()}),[r,te]),function(e,t,n,r,o,i,a,l,c){let p=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,h=arguments.length>10?arguments[10]:void 0;const[f,m]=d.useState(!1),g=d.useRef(!1),v=d.useCallback((function(t){const o=t.composedPath()[0];if((0,u.kG)(o),!(0,io.eR)(o))switch(t.key){case"Enter":case" ":case"Spacebar":if((0,io.gC)(o)||(0,io.N1)(o))return;e(t),t.preventDefault();break;case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":{if((0,io.N1)(o))return;t.preventDefault();const e=t.shiftKey?10:1,u=(0,He.n5)(Bi[t.key]-a),d=Ni(u),p=0===u||270===u?new S.E9:new S.E9({x:n.boundingBox.width,y:n.boundingBox.height}),f=(0,ji.c)(n,d.scale(e),i,p,c,h);if(r(f),!g.current){const e={annotations:(0,s.aV)([n]),reason:J.f.MOVE_START};l.emit("annotations.willChange",e),g.current=!0}m(!0)}}}),[e,a,n,i,c,r,l,h]),y=d.useCallback((function(e){const t=e.composedPath()[0];if((0,u.kG)(t),!(0,io.eR)(t)&&(("Spacebar"!==e.key&&" "!==e.key||!(0,io.gC)(t))&&e.preventDefault(),f&&o(n),g.current)){const e={annotations:(0,s.aV)([n]),reason:J.f.MOVE_END};l.emit("annotations.willChange",e),g.current=!1}}),[f,o,n,l]);d.useLayoutEffect((function(){const e=p?p.ownerDocument:t.document;return e.addEventListener("keydown",v),e.addEventListener("keyup",y),function(){e.removeEventListener("keydown",v),e.removeEventListener("keyup",y)}}),[t.document,v,y,p])}(Z,b,L,K,Q,C,i,P,k,V,r);const ye=(0,j._k)(L,B);return d.createElement(Je.Z,{onPointerDownCapture:function(e){e.isPrimary&&(R.current=E({annotation:t,nativeEvent:e.nativeEvent,selected:!0},P),R.current||x((0,Se.mg)(L,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new _.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!1,isAnnotationPressPrevented:!1})))},onPointerUp:ta},d.createElement("div",{style:{touchAction:"none"},role:"application"},d.createElement(Di,{zoomLevel:r,viewportSize:o.getSize(),startModifying:pe,startResizing:ie,startDragging:ne,startRotating:le,onFitToSide:de,isDragging:ee,pagesRotation:i,annotation:L,isResizable:c&&A,isModifiable:p&&A,isRotatable:f&&A,isEditableCP:A,annotationBoundingBox:W,window:b,cursor:q},d.createElement("div",{tabIndex:0,ref:ve,role:"button","aria-label":L instanceof _.x_?B(Pe.Z.selectedAnnotation,{arg0:ye}):L instanceof _.gd||L instanceof _.Qi?B(Pe.Z.selectedAnnotationWithText,{arg0:ye,arg1:L.text.value}):B(Pe.Z.selectedAnnotation,{arg0:ye}),"data-testid":"selected annotation",onFocus:function(e){m&&m(t,e)},onBlur:ge.current,className:h()("PSPDFKit-Annotation-Selected",L.constructor.readableName&&`PSPDFKit-${L.constructor.readableName}-Annotation-Selected`)},me)),oe,ae,he,ue))}));function ta(e){e.stopPropagation()}const na=(0,l.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,isAnnotationPressPrevented:t=>(0,j.TW)(t,e.eventEmitter),eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,Eo.CM)(n,e),shouldConstrainAspectRatio:t=>(0,j.xU)(t,e),annotationDimensions:t=>(0,j.aI)(t,e)}}))(ea),ra={isListening:!1,isDragging:!1,previousMousePosition:null,initialClickWithinAnnotation:null,translation:new _.E9,initialDragCompleted:!1};function oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ia(e){for(var t=1;t{const t=(0,qe.az)(e),n=(0,j.SY)(t,i,l);if(v&&b){if(!new _.UL({left:0,top:0,width:v.width,height:v.height}).isRectInside(n))return null}return t===e?null:t})).filter(Boolean);o((0,yt.GZ)(t,(0,s.aV)()))}),[o,v,b,i,l]),{isDragging:T,cancelDrag:O,startDraggingWithEvent:I,startDraggingAtPoint:F,dragListener:M}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotations:r,setTransformedAnnotations:o,setGlobalAnnotations:i,interactionsDisabled:a,dispatch:s,frameWindow:l,pageSize:c,transformDeltaFromClientToPage:p,eventEmitter:h,restrictAnnotationToPageBounds:f,isEditableCP:m,selectedAnnotationsBoundingBox:g,selectedAnnotations:v,zoomLevel:y}=e;const[b,w]=d.useReducer(Zi,ra),{isListening:x,isDragging:D}=b,C=d.useCallback((function(){return new _.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);d.useEffect((()=>()=>{D&&a&&s((0,Vt.Zg)())}),[s,a,D]);const E=d.useRef(null),S=d.useCallback((function(e){E.current=C();const t=n(e).translate(g.getLocation().scale(-1)),r=p(e);w({type:"start",mousePosition:r,initialClickWithinAnnotation:t})}),[C,n,p,g]),P=d.useCallback((function(e){e.isPrimary&&S(new _.E9({x:e.clientX,y:e.clientY}))}),[S]),k=d.useCallback((function(){w({type:"stop"}),Ki(l),s((0,Vt.Zg)())}),[l,s]),A=d.useCallback((function(e){if((D||Ui(e))&&e.stopPropagation(),r&&i(r),w({type:"stop"}),D){const e={annotations:r,reason:J.f.MOVE_END};h.emit("annotations.willChange",e)}Ki(l),s((0,Vt.Zg)())}),[l,s,D,r,h,i]),z=d.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),D&&0===e.buttons)return void A(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:r}=b;(0,u.kG)(t),(0,u.kG)(n);const i=p(new _.E9({x:e.clientX,y:e.clientY})),d=qt(n,t);!a&&d&&s((0,Vt.X2)());const m=i.translate(t.scale(-1)),g=r.translate(m),x=v.map((e=>(0,ji.c)(e,g,c,n,f,y)));if(function(e,t){return e.left<=0||e.top<=0||e.left+e.width>=t.width||e.top+e.height>=t.height}((0,j.Jy)(x,y),c)||(o(x),w({type:"drag",mousePosition:i,translation:g})),Ki(l),!D){const e={annotations:x,reason:J.f.MOVE_START};h.emit("annotations.willChange",e)}}),[l,s,a,c,o,b,D,p,h,A,f,v,y]),T=d.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=C(),r=E.current;(0,u.kG)(r);const i=p(n.translate(r.scale(-1))),a=b.translation.translate(i),s=b.initialClickWithinAnnotation||new _.E9,d=v.map((e=>(0,ji.c)(e,a,c,s,!1,y)));o(d),w({type:"scroll",translation:a}),E.current=n,Ki(l)}),[l,t,C,c,o,b.initialClickWithinAnnotation,b.translation,p,v,y]);(0,Fo.wA)(x,t,T);const O=x&&d.createElement(Je.Z,{onRootPointerDownCapture:A,onRootPointerMoveCapture:m?z:void 0,onRootPointerUpCapture:A});return{isDragging:D,cancelDrag:k,startDraggingWithEvent:P,startDraggingAtPoint:S,dragListener:O}}({getScrollElement:p,transformClientToPage:f,transformedAnnotations:E,setTransformedAnnotations:S,setGlobalAnnotations:z,interactionsDisabled:g,dispatch:o,frameWindow:m,pageSize:v,transformDeltaFromClientToPage:A,eventEmitter:y,restrictAnnotationToPageBounds:b,isEditableCP:c,selectedAnnotationsBoundingBox:k,selectedAnnotations:n,zoomLevel:i}),R=d.Children.toArray(t).map((e=>d.isValidElement(e)?function(e,t){return d.cloneElement(e,ia(ia({},t),{},{isDisabled:!0}))}(e,{annotation:E.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),globalAnnotation:r.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),isDragging:T}):e));(0,Fo.Sv)(w,o,F),d.useLayoutEffect((function(){T&&O()}),[i,O]);const B=d.useRef(null);B.current=function(e,t){D&&D(e,t)};const N=R.filter((e=>Boolean(e.props.annotation))).length>1;return d.createElement(Je.Z,{onPointerDownCapture:function(e){e.isPrimary},onPointerUp:sa},d.createElement("div",{style:{touchAction:"none",zIndex:1}},d.createElement(Di,{zoomLevel:i,viewportSize:a.getSize(),startDragging:I,isDragging:T,pagesRotation:l,isResizable:!1,isModifiable:!1,isEditableCP:c,annotationBoundingBox:k,isRotatable:!1},R.filter((e=>Boolean(e.props.annotation))).map(((e,t)=>{const n=e.props.annotation,r=(0,j._k)(n,C);return d.createElement(Di,{key:n.id,zoomLevel:i,viewportSize:a.getSize(),startDragging:I,isDragging:T,pagesRotation:l,isResizable:!1,isModifiable:!1,isRotatable:!1,isEditableCP:c,annotationBoundingBox:(0,j.SY)(n,i,l),deselectAnnotation:e=>{o((0,Se.mg)(n,e))},annotationRotation:n.rotation,customZIndex:2},d.createElement("div",{tabIndex:t,"aria-label":n instanceof de.x_?C(Pe.Z.selectedAnnotation,{arg0:r}):n instanceof de.gd||n instanceof de.Qi?C(Pe.Z.selectedAnnotationWithText,{arg0:r,arg1:n.text.value}):C(Pe.Z.selectedAnnotation,{arg0:r}),ref:N?void 0:P,role:"button","data-testid":`selected annotation ${t}`,onFocus:e=>{return t=n,r=e,void(x&&x(t,r));var t,r},onBlur:e=>{var t;return null===(t=B.current)||void 0===t?void 0:t.call(B,n,e)},className:h()(`PSPDFKit-Annotation-Selected-${t}`,"PSPDFKit-Annotation-Selected",n.constructor.readableName&&`PSPDFKit-${n.constructor.readableName}-Annotation-Selected`)},e))}))),M))}));function sa(e){e.stopPropagation()}const la=(0,l.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,Eo.CM)(n,e),shouldConstrainAspectRatio:t=>(0,j.xU)(t,e)}}))(aa);function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ca(e){for(var t=1;t(i((0,Vt.X2)()),()=>{i((0,Vt.Zg)())})),[i]);const{pageIndex:c}=e,p=(0,l.v9)((e=>e.viewportState.zoomLevel)),f=h()([_n().canvas],"PSPDFKit-Redaction-Canvas"),{boundingBox:m}=r,g=(0,l.v9)((e=>e.scrollElement));return d.createElement("div",{className:f},d.createElement(Ee,{zoomLevel:p,applyZoom:!0},d.createElement("div",{style:ca(ca({},m.toJS()),{},{position:"absolute"})},d.createElement(An,{annotation:r,zoomLevel:1,previewRedactionMode:!1,isSelectable:!1}))),d.createElement(Ut,{pageSize:a,pageIndex:c,currentAnnotation:r,onAnnotationUpdate:o,keepSelectedTool:u,scrollElement:g}))}var pa=n(25673),ha=n(61193),fa=n.n(ha),ma=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ga=function(){return ga=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:1;return e.scale(1/t)}function Va(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}let qa=function(e){return e[e.NOT_CREATED=0]="NOT_CREATED",e[e.CREATING=1]="CREATING",e[e.CREATED=2]="CREATED",e}({});const Ha=e=>{let{page:t,viewportState:n,onAreaChangeComplete:r,frameWindow:o,onAreaChangeStart:i,initialDraggingEvent:a}=e;const{zoomLevel:s}=n,c=(0,l.v9)((e=>e.shadowRoot)),[p,f]=(0,d.useState)(s),m=(0,d.useRef)(null),[g,v]=(0,d.useState)({left:0,top:0,height:0,width:0}),[y,b]=(0,d.useState)(!1),[w,x]=(0,d.useState)(null),[D,C]=(0,d.useState)(qa.NOT_CREATED),[E,S]=(0,d.useState)(!1),[P,k]=(0,d.useState)(void 0),[A,z]=(0,d.useState)(!1),T=(0,d.useRef)(null),O=(0,l.v9)((e=>e.scrollElement));(0,d.useEffect)((()=>{(0,io.Re)(O)&&(O.style.overflow=E?"hidden":"auto",c?c.host.ownerDocument.body.style.overscrollBehavior=E?"contain":"auto":o.document.body.style.overscrollBehavior=E?"contain":"auto")}),[o.document,E,c,O]),(0,d.useEffect)((()=>{function e(e){"Shift"===e.key&&z(!0)}function t(e){"Shift"===e.key&&z(!1)}const n=c||o.document;return n.addEventListener("keydown",e),n.addEventListener("keyup",t),()=>{n.removeEventListener("keydown",e),n.removeEventListener("keyup",t)}}),[o.document,c]),(0,d.useEffect)((()=>{if(P&&s!==p){const e=P.scale(s/p);k(e),f(s),D===qa.CREATING&&(C(qa.CREATED),null==r||r(Ka(e,s)))}}),[p,s,P]);const I=(0,d.useCallback)(((e,t,n,r)=>{k((e=>{var n,o;(0,u.kG)(e);let i=new _.UL({left:e.left,top:e.top,width:(null===(n=T.current)||void 0===n?void 0:n.width)+r.width,height:(null===(o=T.current)||void 0===o?void 0:o.height)+r.height});return e&&t.toLowerCase().includes("top")&&(i=i.set("top",e.top-(i.height-e.height))),e&&t.toLowerCase().includes("left")&&(i=i.set("left",e.left-(i.width-e.width))),i}))}),[k,t.pageSize,s,g]);function F(e){const t=e.composedPath().find((e=>{var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("PSPDFKit-Page")}));return t?parseInt(t.getAttribute("data-page-index"),10):null}const M=(0,Fo.R9)((e=>{"touches"in e&&2===e.touches.length&&b(!0);const n=F(e);if(t.pageIndex!==n)return;e.stopImmediatePropagation(),(0,u.kG)(m.current);const r=m.current.getBoundingClientRect(),{clientY:o,clientX:i}=Va(e);v(r),x(new _.E9({x:i-r.left,y:o-r.top}))}));(0,d.useEffect)((()=>{a&&M(a)}),[a,M]);const R=(0,Fo.R9)((e=>{if(!w||D===qa.CREATED)return;const{clientX:t,clientY:n}=Va(e);if(w.x!==t||w.y!==t){e.stopImmediatePropagation(),S(!0);const r=t-g.left,o=n-g.top,a=new _.UL({left:Math.max(0,Math.min(r,w.x)),top:Math.max(0,Math.min(o,w.y)),width:r{if(D===qa.CREATED)return;b(!1);const n=F(e);t.pageIndex===n&&e.stopImmediatePropagation(),S(!1),x(null),P?(null==r||r(Ka(P,s)),C(qa.CREATED)):C(qa.NOT_CREATED)}));(0,d.useEffect)((()=>{const e=c||o.document;return e.addEventListener("pointerdown",M),e.addEventListener("pointermove",R),e.addEventListener("pointerup",j,{capture:!0}),e.addEventListener("touchstart",M),e.addEventListener("touchmove",R),e.addEventListener("touchend",j),()=>{e.removeEventListener("pointerdown",M),e.removeEventListener("pointermove",R),e.removeEventListener("pointerup",j,{capture:!0}),e.removeEventListener("touchstart",M),e.removeEventListener("touchmove",R),e.removeEventListener("touchend",j)}}),[M,R,j]);const B=P&&{x:P.left,y:P.top,width:P.width,height:P.height};return d.createElement("div",{ref:m,className:ja().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},D!==qa.NOT_CREATED&&d.createElement(d.Fragment,null,D===qa.CREATED&&function(e){const t={position:"absolute",backgroundColor:"rgba(0,0,0,0.2)"};return e?d.createElement(d.Fragment,null,d.createElement("div",{style:Na(Na({},t),{},{left:0,top:0,bottom:0,width:e.left})}),d.createElement("div",{style:Na(Na({},t),{},{left:e.left,top:0,right:0,height:e.top})}),d.createElement("div",{style:Na(Na({},t),{},{left:e.left+e.width,top:e.top,right:0,bottom:0})}),d.createElement("div",{style:Na(Na({},t),{},{left:e.left,top:e.top+e.height,bottom:0,width:e.width})})):null}(P),d.createElement(fa(),{position:B,onStart:()=>{(0,u.kG)(P),null==i||i(Ka(P,s))},onDrag:(e,t)=>{if(y)return!1;k((e=>((0,u.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,u.kG)(P),null==r||r(Ka(P,s))},defaultPosition:B,cancel:`.${ja().handles}`,bounds:"parent"},d.createElement(Ma,{size:P?{width:P.width,height:P.height}:void 0,onResizeStart:()=>{S(!0),(0,u.kG)(m.current&&P),null==i||i(Ka(P,s)),v(m.current.getBoundingClientRect()),T.current=P},onResize:I,onResizeStop:()=>{S(!1),(0,u.kG)(P),null==r||r(Ka(P,s)),T.current=null},handleClasses:La,bounds:"parent",boundsByDirection:!0,lockAspectRatio:A},d.createElement("div",{style:P?{width:P.width,height:P.height}:void 0,className:h()(ja().cropBox,"PSPDFKit-Document-Crop-Box")})))))};function Za(e){const{dispatch:t,linkAnnotation:n,pageIndex:r}=e;d.useEffect((()=>()=>{t((0,Vt.lL)())}),[]);const o=h()({[_n().canvas]:!0});return d.createElement("div",{className:o},d.createElement(Ha,{viewportState:e.viewportState,page:e.page,onAreaChangeComplete:function(e){const o=n.set("pageIndex",r).set("boundingBox",e);window.setTimeout((()=>{(0,l.dC)((()=>{t((0,yt.FG)(o)),t((0,Vt.UU)()),t((0,Se.Df)((0,s.l4)([o.id]),null)),t((0,yt.ZE)(o.id)),t((0,Vt.lL)())}))}),10)},frameWindow:e.window}))}var Ua=n(98891),$a=n.n(Ua);const Ga=e=>{let{viewportState:t,onAreaChangeComplete:n,frameWindow:r,onAreaChangeStart:o,initialDraggingEvent:i}=e;const a=(0,l.I0)(),{zoomLevel:s}=t,c=(0,d.useRef)(null),[p,f]=(0,d.useState)({left:0,top:0,height:0,width:0}),[m,g]=(0,d.useState)(!1),[v,y]=(0,d.useState)(null),[b,w]=(0,d.useState)(qa.NOT_CREATED),[x,D]=(0,d.useState)(void 0),C=(0,Fo.R9)((e=>{"touches"in e&&2===e.touches.length&&g(!0),a((0,Se._)(!0)),e.stopImmediatePropagation(),(0,u.kG)(c.current);const t=c.current.getBoundingClientRect(),{clientY:n,clientX:r}=Va(e);f(t),y(new _.E9({x:r-t.left,y:n-t.top}))}));(0,d.useEffect)((()=>{i&&C(i)}),[i,C]);const E=(0,Fo.R9)((e=>{if(!v||b===qa.CREATED)return;const{clientX:t,clientY:n}=Va(e);if(v.x!==t||v.y!==t){e.stopImmediatePropagation();const r=t-p.left,i=n-p.top,a=new _.UL({left:Math.max(0,Math.min(r,v.x)),top:Math.max(0,Math.min(i,v.y)),width:r{b!==qa.CREATED&&(g(!1),a((0,Se._)(!1)),y(null),x&&S()?(null==n||n(Ka(x,s)),w(qa.CREATED)):w(qa.NOT_CREATED))}));(0,d.useEffect)((()=>(r.document.addEventListener("pointerdown",C),r.document.addEventListener("pointermove",E),r.document.addEventListener("pointerup",P,{capture:!0}),r.document.addEventListener("touchstart",C),r.document.addEventListener("touchmove",E),r.document.addEventListener("touchend",P,{capture:!0}),()=>{r.document.removeEventListener("pointerdown",C),r.document.removeEventListener("pointermove",E),r.document.removeEventListener("pointerup",P,{capture:!0}),r.document.removeEventListener("touchstart",C),r.document.removeEventListener("touchmove",E),r.document.removeEventListener("touchend",P,{capture:!0})})),[C,E,P]);const k=x&&{x:x.left,y:x.top,width:x.width,height:x.height};return d.createElement("div",{ref:c,className:$a().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},b!==qa.NOT_CREATED&&d.createElement(d.Fragment,null,d.createElement(fa(),{position:k,onStart:()=>{(0,u.kG)(x),null==o||o(Ka(x,s))},onDrag:(e,t)=>{if(m)return!1;D((e=>((0,u.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,u.kG)(x),null==n||n(Ka(x,s))},defaultPosition:k,bounds:"parent"},d.createElement("div",{style:x?{width:x.width,height:x.height}:void 0,className:h()($a().selectionBox,"PSPDFKit-Multiple-Selection-Box")}))))};function Wa(e){const t=(0,l.I0)(),n=(0,l.v9)((e=>e.annotations)),r=(0,l.v9)((e=>e.selectedAnnotationIds)),{pageIndex:o,viewportState:i,window:a,initialDraggingEvent:u,multiAnnotationsUsingShortcut:c}=e;return Ke.Ni&&r.size>0?null:d.createElement("div",{className:_n().canvas},d.createElement(Ga,{viewportState:i,onAreaChangeComplete:function(e){const r=n.filter((e=>e.pageIndex===o)).toArray(),i=[];r.forEach((t=>{let[n,r]=t;const o=r.boundingBox;e.isRectOverlapping(o)&&i.push(n)})),i.length?a.setTimeout((()=>{(0,l.dC)((()=>{Ke.Ni||t((0,Se.fz)()),t((0,Se.Df)((0,s.l4)(i),null))}))}),5):t((0,Vt.FA)())},frameWindow:a,initialDraggingEvent:c?u:void 0}))}var Xa=n(30006);function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const Qa=function(e){const{annotation:t,zoomLevel:n,isDisabled:r,isFocused:i,isSelected:a,onFocus:s,onBlur:u}=e,c=(0,xe.YB)(),{formatMessage:p}=c,h=(0,l.I0)(),f=d.useCallback((e=>{if(t instanceof de.gd&&t.locked){if(t.lockedContents)return;setTimeout((()=>{h((0,Se.VR)(t.id))}),0)}else t instanceof de.Qi||t instanceof de.Jn?h((0,Se.mg)(t,e,{selectedAnnotationShouldDrag:null,stopPropagation:!0,ignoreReadOnly:!0})):t instanceof de.On&&t.isCommentThreadRoot?h((0,Se.mg)(t,e)):h((0,Se.mg)(t,e,{selectedAnnotationShouldDrag:null,stopPropagation:!0}))}),[h,t]),m=d.useCallback((e=>{(0,j.So)(t)&&(null==s||s(t,e),(0,j.yj)(t,e)&&h((0,Se.Q2)(t.id)))}),[h,s,t]),g=d.useCallback((e=>{null==u||u(t,e),(0,j.yj)(t,e)&&h((0,Se.Oc)(t.id))}),[h,u,t]);let v="";t instanceof de.Jn&&(v=`CommentThread-${t.id}`);const y=d.useRef(null),b=function(e,t){return t&&(e instanceof de.GI||e instanceof de.Zc||e instanceof de.UX||e instanceof de.gd||e instanceof de.On)}(t,i);d.useEffect((()=>{var e;b&&(null===(e=y.current)||void 0===e||e.focus())}),[b]);const w=(0,Fo.jC)(e),x=null==w?void 0:w.isSelected,D=null==w?void 0:w.isDisabled;d.useEffect((()=>{var e;y.current&&y.current.ownerDocument.activeElement!==y.current&&void 0!==x&&void 0!==D&&(t instanceof de.On&&!x&&a?null===(e=y.current)||void 0===e||e.focus():x&&!a&&r&&g((0,ao.My)("blur")))}),[t,g,a,r,x,D]);const C=(0,j.WX)(t,n),E=function(e){for(var t=1;te.set("debugMode",!0),[K.RTr]:e=>e.set("hasFetchedInitialRecordsFromInstant",!0),[K.kt4]:(e,t)=>{let{enabled:n}=t;return e.set("areClipboardActionsEnabled",n)},[K.heZ]:(e,t)=>{let{group:n}=t;return e.set("group",n)},[K.G5w]:e=>e.set("isDebugConsoleVisible",!0),[K.GW4]:e=>e.set("isDebugConsoleVisible",!1),[K.mqf]:(e,t)=>{let{preset:n="text-highlighter"}=t;const r=new _.FV((0,j.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",B.A.TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,s.l4)([r.id])),e.set("selectedAnnotationMode",N.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",r.id],n),e.setIn(["annotations",r.id],r)}))},[K.tLW]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===B.A.TEXT_HIGHLIGHTER&&(0,j.Xu)(t),t.set("selectedAnnotationIds",(0,s.l4)())})),[K.tS$]:(e,t)=>{let{preset:n="redaction"}=t;const r=new W.Z((0,j.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",B.A.REDACT_TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,s.l4)([r.id])),e.set("selectedAnnotationMode",N.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",r.id],n),e.setIn(["annotations",r.id],r)}))},[K.g30]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===B.A.REDACT_TEXT_HIGHLIGHTER&&(0,j.Xu)(t),t.set("selectedAnnotationIds",(0,s.l4)())})),[K.VNM]:(e,t)=>{let{editor:n}=t;return e.set("richTextEditorRef",n)},[K.yPS]:(e,t)=>{let{preset:n}=t;return e.withMutations((e=>{e.set("interactionMode",B.A.MEASUREMENT),void 0!==n&&e.set("currentItemPreset",n)}))},[K.m_C]:e=>e.set("interactionMode",null),[K.GXR]:(e,t)=>{let{preset:n}=t;const r=new _.Zc((0,j.lx)(e));return e.withMutations((t=>{t.set("interactionMode",B.A.INK),t.set("interactionsDisabled",!0),t.set("selectedAnnotationIds",(0,s.l4)([r.id])),t.set("selectedAnnotationMode",N.o.EDITING),void 0!==n&&t.set("currentItemPreset",n);const o=void 0!==n?n:e.currentItemPreset;o&&!X.AQ[o]&&t.setIn(["annotationPresetIds",r.id],o),t.setIn(["annotations",r.id],r)}))},[K.J7J]:e=>e.set("interactionMode",null),[K.JyO]:e=>e.withMutations((e=>{e.set("interactionMode",B.A.INK_ERASER),e.set("selectedAnnotationIds",(0,s.l4)()),e.set("interactionsDisabled",!0)})),[K.NDs]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("interactionsDisabled",!1)})),[K.Vu4]:(e,t)=>{let{signatureRect:n,signaturePageIndex:r,formFieldName:o}=t;null!==r&&(0,u.kG)("number"==typeof r&&r>=0&&r{e.set("interactionMode",B.A.SIGNATURE),e.setIn(["signatureState","signatureRect"],n),e.setIn(["signatureState","signaturePageIndex"],r),e.setIn(["signatureState","formFieldName"],o)}))},[K.S$y]:e=>e.withMutations((e=>{e.set("widgetAnnotationToFocus",null),e.set("interactionMode",null),e.set("currentItemPreset",null),e.setIn(["signatureState","formFieldName"],null),e.setIn(["signatureState","signatureRect"],null),e.setIn(["signatureState","signaturePageIndex"],null)})),[K.Dzg]:e=>{const t={annotations:(0,s.aV)([new _.GI({pageIndex:e.viewportState.currentPageIndex})]),reason:J.f.SELECT_START};return e.eventEmitter.emit("annotations.willChange",t),e.withMutations((e=>{e.set("interactionMode",B.A.STAMP_PICKER),e.set("currentItemPreset",null)}))},[K.M3C]:e=>e.withMutations((e=>{e.set("interactionMode",B.A.STAMP_CUSTOM),e.set("currentItemPreset",null)})),[K.tie]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[K.JS9]:(e,t)=>{const n=es.includes(t.shapeInteractionMode),r=(0,j.lx)(e),{activeMeasurementScale:o,isCalibratingScale:i}=e;n&&(r.measurementScale=null!=o&&o.scale?new ns.Z({fromValue:Number(o.scale.fromValue),toValue:Number(o.scale.toValue),unitFrom:o.scale.unitFrom,unitTo:o.scale.unitTo}):e.measurementScale,r.measurementPrecision=null!=o&&o.precision?o.precision:e.measurementPrecision,i&&(r.strokeColor=_.Il.BLUE));const a=new t.shapeClass(r);return e.withMutations((n=>{n.set("interactionMode",t.shapeInteractionMode),n.set("interactionsDisabled",!0),n.set("selectedAnnotationIds",(0,s.l4)([a.id])),n.set("selectedAnnotationMode",N.o.EDITING),void 0!==t.preset&&n.set("currentItemPreset",t.preset);const r=void 0!==t.preset?t.preset:e.currentItemPreset;r&&!X.AQ[r]&&n.setIn(["annotationPresetIds",a.id],r),n.setIn(["annotations",a.id],a)}))},[K.AIf]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[K.cbv]:(e,t)=>{let{preset:n="redaction"}=t;const r=new W.Z((0,j.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",B.A.REDACT_SHAPE_RECTANGLE),e.set("interactionsDisabled",!0),e.set("selectedAnnotationIds",(0,s.l4)([r.id])),e.set("selectedAnnotationMode",N.o.EDITING),n&&!(n in X.AQ)&&e.setIn(["annotationPresetIds",r.id],n),e.setIn(["annotations",r.id],r)}))},[K.TUA]:e=>e.withMutations((t=>{t.set("interactionMode",null),t.set("currentItemPreset",null),e.interactionMode===B.A.REDACT_SHAPE_RECTANGLE&&(0,j.Xu)(t),t.set("selectedAnnotationIds",(0,s.l4)())})),[K.ZDQ]:(e,t)=>{const{annotation:n,preset:r}=t,o=n||new _.Qi((0,j.lx)(e));return e.withMutations((t=>{t.set("interactionMode",B.A.NOTE),t.set("selectedAnnotationIds",(0,s.l4)([o.id])),t.set("selectedAnnotationMode",N.o.EDITING),void 0!==r&&t.set("currentItemPreset",r);const n=void 0!==r?r:e.currentItemPreset;n&&!X.AQ[n]&&t.setIn(["annotationPresetIds",o.id],n),t.setIn(["annotations",o.id],o)}))},[K.B1n]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[K.dEe]:(e,t)=>{const n=t.annotation?t.annotation:new _.Jn((0,j.lx)(e));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,s.l4)([n.id])),e.set("selectedAnnotationMode",N.o.EDITING),e.setIn(["annotations",n.id],n),e.set("interactionMode",B.A.COMMENT_MARKER),e.set("currentItemPreset",null)}))},[K.iMs]:e=>e.set("interactionMode",null),[K.pnu]:(e,t)=>{const{annotation:n,preset:r}=t;let o=n;if(!o&&(o=new _.gd((0,j.lx)(e)),e.enableRichText(o))){var a;const e=i.ri.setStyleOrToggleFormat(o.text.value||"","fontColor",(null===(a=o.fontColor)||void 0===a?void 0:a.toHex())||"");o=o.set("fontColor",null).set("text",{format:"xhtml",value:e})}const l=o.id;return e.withMutations((n=>{n.set("interactionMode",t.isCallout?B.A.CALLOUT:B.A.TEXT),void 0!==r&&n.set("currentItemPreset",r);const i=void 0!==r?r:e.currentItemPreset;i&&!X.AQ[i]&&n.setIn(["annotationPresetIds",l],i),n.setIn(["annotations",l],o),n.set("selectedAnnotationIds",(0,s.l4)([l])),n.set("selectedAnnotationMode",N.o.EDITING)}))},[K.KqR]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[K.JRS]:e=>e.withMutations((e=>{e.set("interactionMode",B.A.DOCUMENT_CROP),e.set("interactionsDisabled",!0),e.set("currentItemPreset",null)})),[K.Gox]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("interactionsDisabled",!1)})),[K.eFQ]:e=>e.set("interactionsDisabled",!1),[K.L8n]:e=>e.set("interactionsDisabled",!0),[K.MuN]:e=>e.set("showToolbar",!0),[K.xk1]:e=>e.set("showToolbar",!1),[K.tYC]:e=>e.set("enableAnnotationToolbar",!0),[K.NAH]:e=>e.set("enableAnnotationToolbar",!1),[K.Ce5]:(e,t)=>e.set("clientsChangeCallback",t.callback),[K.WtY]:(e,t)=>e.set("transformClientToPage",t.transformClientToPage),[K.tPZ]:(e,t)=>{const n=t.width>0?Math.abs(t.width-e.scrollbarOffset):-1*e.scrollbarOffset,r=(0,G.a$)(e.viewportState,e.viewportState.viewportRect,!1,n);return e.merge({viewportState:r,scrollbarOffset:t.width})},[K.rWQ]:(e,t)=>{let{layoutMode:n}=t;return e.update("viewportState",(e=>(0,G.YA)(e,n)))},[K.b0l]:(e,t)=>{let{scrollMode:n}=t;return e.update("viewportState",(e=>(0,G._U)(e,n)))},[K._n_]:(e,t)=>{let{scrollElement:n}=t;return e.set("scrollElement",n)},[K.bxr]:(e,t)=>{let{spreadSpacing:n}=t;return e.set("viewportState",(0,G.JN)(e.viewportState,n))},[K._ko]:(e,t)=>{let{pageSpacing:n}=t;return e.set("viewportState",(0,G.vY)(e.viewportState,n))},[K.FHt]:(e,t)=>{let{keepFirstSpreadAsSinglePage:n}=t;return e.set("viewportState",(0,G.EY)(e.viewportState,n))},[K.ht3]:(e,t)=>{let{viewportPadding:n}=t;return e.set("viewportState",(0,G._P)(e.viewportState,n))},[K.aYj]:e=>e.set("printingEnabled",!0),[K.hpj]:e=>e.set("printingEnabled",!1),[K.QYP]:e=>e.set("exportEnabled",!0),[K.zKF]:e=>e.set("exportEnabled",!1),[K.NfO]:(e,t)=>{let{readOnlyEnabled:n}=t;return e.set("readOnlyEnabled",n)},[K.cyk]:e=>e.set("showAnnotations",!0),[K.KYU]:e=>e.set("showAnnotations",!1),[K.Nl1]:e=>e.set("showComments",!0),[K.L9g]:e=>e.set("showComments",!1),[K.Dl4]:e=>e.set("showAnnotationNotes",!0),[K.GfR]:e=>e.set("showAnnotationNotes",!1),[K.Xlm]:e=>((0,u.kG)(!e.backendPermissions.readOnly,"Can not disable read only mode."),e.set("readOnlyEnabled",te.J.NO)),[K.iQZ]:(e,t)=>{let{features:n}=t;return(0,u.kG)(0===e.features.size,"Cannot alterate the supported features list after initialization."),n.includes(ee.q.FORMS)||(e=e.set("formsEnabled",!1)),(0,Vn.Vz)(n)||n.includes(ee.q.ELECTRONIC_SIGNATURES)||(e=(e=e.set("readOnlyEnabled",te.J.LICENSE_RESTRICTED)).setIn(["backendPermissions","readOnly"],!0)),e.set("features",n)},[K.JQC]:(e,t)=>{let{signatureFeatureAvailability:n}=t;return(0,u.kG)(!e.signatureFeatureAvailability,"Cannot alterate the signature feature availability after initialization."),e.set("signatureFeatureAvailability",n)},[K.hv0]:(e,t)=>{let{mode:n}=t;return e.set("sidebarMode",n)},[K.eI4]:(e,t)=>{let{placement:n}=t;return e.set("sidebarPlacement",n)},[K.bP3]:(e,t)=>{let{sidebarOptions:n}=t;return e.set("sidebarOptions",n)},[K._TO]:(e,t)=>{let{showSignatureValidationStatus:n}=t;return e.set("showSignatureValidationStatus",n)},[K.dVW]:(e,t)=>{let{locale:n}=t;return e.set("locale",n)},[K.hlI]:(e,t)=>{let{annotationCreatorName:n,immutable:r}=t;return e.set("annotationCreatorName",n).set("annotationCreatorNameReadOnly",r)},[K.ZbY]:(e,t)=>{let{editableAnnotationTypes:n}=t;return e.set("editableAnnotationTypes",n).set("isEditableAnnotation",null)},[K.uFU]:(e,t)=>{let{isEditableAnnotation:n}=t;return e.set("isEditableAnnotation",n).set("editableAnnotationTypes",(0,s.l4)(Y.Z))},[K.ArU]:(e,t)=>{let{editableAnnotationTypes:n,isEditableAnnotation:r}=t;return e.set("isEditableAnnotation",r).set("editableAnnotationTypes",n)},[K.Q2U]:(e,t)=>{let{isEditableComment:n}=t;return e.set("isEditableComment",n)},[K.IFt]:(e,t)=>{let{formDesignMode:n}=t;return e.withMutations((t=>{t.set("formDesignMode",n),!1===n&&t.set("selectedAnnotationIds",e.selectedAnnotationIds.filter((t=>e.annotations.get(t)&&!(e.annotations.get(t)instanceof _.x_))))}))},[K.YIz]:e=>e.set("interactionMode",B.A.DOCUMENT_EDITOR),[K.Gkm]:(e,t)=>{let{measurementSnapping:n}=t;return e.set("measurementSnapping",n)},[K.fwq]:(e,t)=>{let{measurementPrecision:n}=t;return e.set("measurementPrecision",n)},[K.G6t]:(e,t)=>{let{scale:n}=t;return e.set("measurementScale",n)},[K.K26]:e=>e.set("interactionMode",null),[K.Hbz]:e=>e.set("interactionMode",B.A.MARQUEE_ZOOM),[K.$VE]:(e,t)=>{let{interactionMode:n}=t;return e.set("interactionMode",n)},[K.yrz]:e=>e.set("interactionMode",null),[K.sYK]:e=>e.set("interactionMode",null),[K.fAF]:(e,t)=>e.set("customRenderers",t.customRenderers),[K.pNz]:e=>e.withMutations((e=>{e.set("isSigning",!0),e.set("interactionsDisabled",!0)})),[K.bV3]:e=>e.withMutations((e=>{e.set("isSigning",!1),e.set("interactionsDisabled",!1)})),[K.EpY]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!0),e.set("interactionsDisabled",!0)})),[K.bui]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!1),e.set("interactionsDisabled",!1)})),[K.vVk]:(e,t)=>{let{previewRedactionMode:n}=t;return e.set("previewRedactionMode",n)},[K.D5x]:(e,t)=>e.set("a11yStatusMessage",t.a11yStatusMessage),[K.rpU]:(e,t)=>{let{lastToolbarActionUsedKeyboard:n}=t;return e.set("lastToolbarActionUsedKeyboard",n)},[K.KA1]:(e,t)=>{let{documentComparisonState:n}=t;return e.set("documentComparisonState",n?os(os({},e.documentComparisonState),n):null)},[K.MYU]:e=>e.set("canScrollWhileDrawing",!0),[K.mbD]:e=>e.set("canScrollWhileDrawing",!1),[K.wog]:e=>e.set("keepSelectedTool",!0),[K.UL9]:e=>e.set("keepSelectedTool",!1),[K.tIQ]:(e,t)=>{const n=e.viewportState.set("disablePointSnapping",t.disablePointSnapping);return e.set("viewportState",n)},[K.IyB]:(e,t)=>{let{instance:n}=t;return e.set("instance",n)},[K.eJ4]:(e,t)=>{let{customUIStore:n}=t;return e.set("customUIStore",n)},[K.R7l]:e=>{const t=new _.R1((0,j.lx)(e)),n="link";return e.withMutations((e=>{e.set("linkAnnotationMode",!0),e.set("interactionMode",B.A.LINK),e.set("selectedAnnotationIds",(0,s.l4)([t.id])),e.set("selectedAnnotationMode",N.o.EDITING),e.setIn(["annotations",t.id],t),e.set("currentItemPreset",n);const r=n;!X.AQ.link&&e.setIn(["annotationPresetIds",t.id],r)}))},[K.qKG]:e=>e.withMutations((e=>{e.set("linkAnnotationMode",!1)})),[K.oZW]:(e,t)=>{let{multiAnnotationsUsingShortcut:n}=t;return e.withMutations((t=>{e.isMultiSelectionEnabled&&(t.set("interactionMode",B.A.MULTI_ANNOTATIONS_SELECTION),t.set("selectedAnnotationIds",(0,s.l4)()),t.set("selectedAnnotationMode",N.o.SELECTED),t.set("multiAnnotationsUsingShortcut",n))}))},[K.odo]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("multiAnnotationsUsingShortcut",null)})),[K.Vje]:e=>e.set("interactionMode",B.A.MEASUREMENT_SETTINGS),[K.XTO]:e=>e.set("interactionMode",null),[K.FQb]:(e,t)=>{let{annotationsIds:n}=t;return e.withMutations((e=>{var t;const{annotationsGroups:r,annotations:o}=e,i=null===(t=o.find((e=>e.get("id")===n.first())))||void 0===t?void 0:t.get("pageIndex");n.forEach((e=>{const t=o.find((t=>t.id===e));(0,u.kG)(t,`Annotation with id ${e} couldn't be found.`),(0,u.kG)(i===t.get("pageIndex"),"Annotations can't be grouped if they are not on the same page")}));const a=r.map((e=>{const t=e.annotationsIds;return e.annotationsIds=t.filter((e=>!n.includes(e))),e})).filter((e=>e.annotationsIds.size>0)),l=(0,ts.C)();e.set("annotationsGroups",a.set(l,{groupKey:l,annotationsIds:(0,s.l4)(n)})),e.set("selectedGroupId",l)}))},[K.t$K]:(e,t)=>{let{groupId:n}=t;return e.set("selectedGroupId",n)},[K.vBn]:(e,t)=>{let{pullToRefreshNewState:n}=t;return e.set("disablePullToRefresh",n)},[K.bzW]:(e,t)=>{let{groupId:n}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e;e.set("annotationsGroups",t.delete(n)),e.set("selectedGroupId",null)}))},[K.b4I]:(e,t)=>{let{annotationId:n,groupId:r}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e,o=t.get(r);o&&(e.set("annotationsGroups",t.set(r,{groupKey:r,annotationsIds:o.annotationsIds.delete(n)})),e.set("selectedGroupId",null))}))},[K.tzG]:(e,t)=>{let{customFontsReadableNames:n}=t;return e.set("customFontsReadableNames",n)},[K.ej0]:(e,t)=>{const n=e.viewportState.set("enableAlwaysScrollToZoom",t.enableAlwaysScrollToZoom);return e.set("viewportState",n)},[K.QM1]:(e,t)=>{const n=e.viewportState.set("forceRenderWidgetsInAnnotationsOrder",t.forceRenderWidgetsInAnnotationsOrder);return e.set("viewportState",n)},[K.ol]:(e,t)=>e.set("evaluation",t.evaluation),[K.wJn]:(e,t)=>{const n=e.viewportState.set("prerenderedPageSpreads",t.prerenderedPageSpreads);return e.set("viewportState",n)},[K.rq0]:(e,t)=>e.setIn(["documentAssistant","configuration"],t.configuration),[K.HXk]:(e,t)=>e.setIn(["documentAssistant","show"],t.showDocumentAssistant)};function ss(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:is,t=arguments.length>1?arguments[1]:void 0;const n=as[t.type];return n?n(e,t):e}var ls=n(14178);const us=new _.ZM,cs={[K.BS3]:(e,t)=>e.set("connectionState",new _.em({name:ls.F.CONNECTING,reason:t.reason,progress:t.progress})),[K.nmm]:e=>e.set("connectionState",new _.em({name:ls.F.CONNECTED})),[K.zZV]:(e,t)=>e.set("connectionState",new _.em({name:ls.F.CONNECTION_FAILED,reason:t.reason})),[K.rxv]:(e,t)=>e.set("annotationManager",t.annotationManager),[K.Hrp]:(e,t)=>e.set("bookmarkManager",t.bookmarkManager),[K.GHc]:(e,t)=>e.set("formFieldValueManager",t.formFieldValueManager),[K.oj5]:(e,t)=>e.set("formFieldManager",t.formFieldManager),[K.UII]:(e,t)=>e.set("commentManager",t.commentManager),[K.gbd]:(e,t)=>e.set("changeManager",t.changeManager),[K.Ty$]:(e,t)=>e.set("connectionState",new _.em({name:ls.F.PASSWORD_REQUIRED})).set("resolvePassword",t.resolvePassword),[K.hC8]:e=>e.set("isUnlockedViaModal",!0).set("resolvePassword",null),[K.poO]:(e,t)=>e.set("hasPassword",t.hasPassword),[K.iZ1]:(e,t)=>e.set("allowedTileScales",t.allowedTileScales)};function ds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:us,t=arguments.length>1?arguments[1]:void 0;const n=cs[t.type];return n?n(e,t):e}const ps=new _.ZM,hs={[K.jJ7]:(e,t)=>{const{item:n}=t;return(0,De.k)(e.pages.get(n.pageIndex),`Trying to insert a CustomOverlayItem at pageIndex ${n.pageIndex}. But such a page does not exist.`),e.withMutations((e=>{e.updateIn(["pages",n.pageIndex,"customOverlayItemIds"],(e=>e.add(n.id))).setIn(["customOverlayItems",n.id],n)}))},[K.G8_]:(e,t)=>{const n=e.customOverlayItems.get(t.id);return(0,De.k)(n,"CustomOverlayItem not found"),e.withMutations((e=>{e.deleteIn(["pages",n.pageIndex,"customOverlayItemIds",n.id]).deleteIn(["customOverlayItems",n.id])}))}};function fs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ps,t=arguments.length>1?arguments[1]:void 0;const n=hs[t.type];return n?n(e,t):e}const ms=new _.ZM,gs={[K.lRe]:(e,t)=>e.set("digitalSignatures",t.digitalSignatures)};function vs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ms,t=arguments.length>1?arguments[1]:void 0;const n=gs[t.type];return n?n(e,t):e}const ys=new Q.Z,bs={[K.Oh4]:(e,t)=>{let{outline:n}=t;return e.withMutations((e=>{e.setIn(["documentOutlineState","elements"],n),e.setIn(["documentOutlineState","expanded"],xs((0,s.D5)(),n,"0"))}))},[K.Whn]:(e,t)=>{let{level:n}=t;return e.updateIn(["documentOutlineState","expanded",n],(e=>!e))}};function ws(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ys,t=arguments.length>1?arguments[1]:void 0;const n=bs[t.type];return n?n(e,t):e}function xs(e,t,n){return t.reduce(((e,t,r)=>{if(0===t.size)return e;const o=`${n}-${r}`;return xs(e.set(o,t.isExpanded),t.children,o)}),e)}var Ds=n(21683),Cs=n(23248),Es=n(84293),Ss=n(81777);const _s=new _.ZM,Ps={[K.wtk]:e=>{const{viewportState:t}=e,n=(0,Ds.dF)(t,t.currentPageIndex),r=(0,Ds.kd)(t),o=n>=r-1?r-1:n+1,i=(0,Ds.P1)(t,o)[0];return(0,u.kG)("number"==typeof i,"Can not find the next pageIndex."),e.withMutations((t=>{t.set("viewportState",(0,Cs.eb)(e.viewportState,i)),t.set("hoverAnnotationIds",(0,s.l4)())}))},[K.mE7]:e=>{const{viewportState:t}=e,n=(0,Ds.dF)(t,t.currentPageIndex),r=n<=0?0:n-1,o=(0,Ds.P1)(t,r)[0];return(0,u.kG)("number"==typeof o,"Can not find the next pageIndex."),e.withMutations((n=>{n.set("viewportState",(0,Cs.eb)(e.viewportState,o)),o!==t.currentPageIndex&&n.set("hoverAnnotationIds",(0,s.l4)())}))},[K.RxB]:(e,t)=>{const{pageIndex:n}=t;return(0,u.kG)(n>=0&&n{t.set("viewportState",(0,Cs.eb)(e.viewportState,n)),n!==e.viewportState.currentPageIndex&&t.set("hoverAnnotationIds",(0,s.l4)())}))},[K.mLh]:(e,t)=>{const{scrollPosition:n,lastScrollUsingKeyboard:r=!1}=t;return e.set("viewportState",(0,Cs.hu)(e.viewportState,n).set("lastScrollUsingKeyboard",r))},[K.g4f]:(e,t)=>{let{pageIndex:n,rect:r}=t;return e.set("viewportState",(0,Cs.kN)(e.viewportState,n,r))},[K.Lyo]:(e,t)=>{let{pageIndex:n,rect:r}=t;return e.set("viewportState",(0,Cs.vP)(e.viewportState,n,r))},[K.xYE]:(e,t)=>{var n;let{viewportRect:r,isTriggeredByOrientationChange:o}=t;const i=_.UL.fromClientRect(null===(n=e.rootElement)||void 0===n?void 0:n.getBoundingClientRect()),a=(0,G.a$)(e.viewportState,r,o,e.scrollbarOffset);return e.withMutations((e=>{e.set("containerRect",i),e.set("viewportState",a)}))},[K.syg]:(e,t)=>{let n=(0,Es.cq)(e.viewportState,t.zoomLevel);return t.scrollPosition&&(n=n.set("scrollPosition",t.scrollPosition)),e.set("viewportState",n)},[K.u9b]:(e,t)=>{const n=e.viewportState.set("zoomStep",t.zoomStep);return e.set("viewportState",n)},[K.ZGb]:(e,t)=>e.set("viewportState",t.viewportState),[K.UFs]:e=>e.set("viewportState",(0,Es.cq)(e.viewportState,e.viewportState.zoomLevel*e.viewportState.zoomStep)),[K.RCc]:e=>e.set("viewportState",(0,Es.cq)(e.viewportState,e.viewportState.zoomLevel/e.viewportState.zoomStep)),[K.MfE]:e=>e.set("viewportState",(0,Es.cq)(e.viewportState,Ss.c.AUTO)),[K.BWS]:e=>e.set("viewportState",(0,Es.cq)(e.viewportState,Ss.c.FIT_TO_VIEWPORT)),[K.QU3]:e=>e.set("viewportState",(0,Es.cq)(e.viewportState,Ss.c.FIT_TO_WIDTH)),[K.lD1]:(e,t)=>{let{degCW:n}=t;return e.update("viewportState",(e=>(0,He.U1)(e,n)))},[K.kRo]:e=>e.set("interactionMode",B.A.PAN),[K.UFK]:e=>e.set("interactionMode",null),[K.D1d]:(e,t)=>{let{width:n}=t;return e.set("sidebarWidth",n)},[K.WsN]:(e,t)=>{let{shouldDisable:n}=t;return e.set("scrollDisabled",n)}};function ks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_s,t=arguments.length>1?arguments[1]:void 0;const n=Ps[t.type];return n?n(e,t):e}var As=n(62083),zs=n(2464),Ts=n(65160),Os=n(13422),Is=n(85944);function Fs(e){return(0,u.kG)(6===e.length,"Tried to deserialize matrix that does not have 6 entries"),new S.sl({a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]})}var Ms=n(98492),Rs=n(26564),js=n.n(Rs);function Bs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ns(e){for(var t=1;t{const n=e.pages.map((e=>e.pageKey)),r=(0,s.aV)(t.payload).map((t=>{var r;const o=new _.$u({width:t.width,height:t.height}),i=n.get(t.pageIndex)||(0,ts.C)(),a=(null===(r=e.pages.get(t.pageIndex))||void 0===r?void 0:r.annotationIds)||(0,s.hU)();return new _.T3(Ns(Ns({},t),{},{matrix:Fs(t.matrix),reverseMatrix:Fs(t.reverseMatrix),untransformedRect:(0,Ms.k)(t.untransformedBBox),transformedRect:(0,Ms.k)(t.transformedBBox),rawPdfBoxes:t.rawPdfBoxes,pageKey:i,pageSize:o,annotationIds:a}))})),o=r.map((e=>e.pageSize));return e.withMutations((e=>{const t=e.viewportState.set("pageSizes",o);e.set("pages",r),e.set("viewportState",t),e.set("arePageSizesLoaded",!0)}))},[K.ME7]:(e,t)=>{const n=(0,s.aV)(t.payload.pages).map((e=>{var n;const r=new _.$u({width:e.width,height:e.height}),o=(null===(n=t.pageKeys)||void 0===n?void 0:n.get(e.pageIndex))||(0,ts.C)();return new _.T3(Ns(Ns({},e),{},{matrix:Fs(e.matrix),reverseMatrix:Fs(e.reverseMatrix),untransformedRect:(0,Ms.k)(e.untransformedBBox),transformedRect:(0,Ms.k)(e.transformedBBox),rawPdfBoxes:e.rawPdfBoxes,pageKey:o,pageSize:r}))})),r=n.map((e=>e.pageSize));return e.withMutations((o=>{let i=o.viewportState.set("pageSizes",r);if(o.set("pages",n),o.set("totalPages",n.size),o.set("documentPermissions",new As.Z(it.Options.IGNORE_DOCUMENT_PERMISSIONS?void 0:t.payload.permissions)),i.currentPageIndex>=n.size&&(i=i.set("currentPageIndex",0)),i.zoomMode===Ss.c.CUSTOM){const e=(0,Es.Yo)(i),t=(0,Es.Sm)(i);(i.zoomLevelt)&&(i=i.set("zoomMode",Ss.c.AUTO))}if(i=i.zoomMode===Ss.c.CUSTOM?i.merge({zoomLevel:(0,Es.X9)(i,i.zoomLevel)}):i.merge({zoomLevel:(0,Es.X9)(i,i.zoomMode)}),i.scrollMode===zs.G.PER_SPREAD&&(i=(0,G._U)(i.set("scrollMode",zs.G.CONTINUOUS),zs.G.PER_SPREAD)),i.scrollMode===zs.G.DISABLED&&(i=(0,G._U)(i.set("scrollMode",zs.G.CONTINUOUS),zs.G.DISABLED)),i.currentPageIndex>0){if(0===i.viewportRect.width||0===i.viewportRect.height){let t=e.containerRect;e.showToolbar&&(t=t.set("top",Is.k3).set("height",t.height-Is.k3)),i=i.set("viewportRect",t)}i=(0,Cs.eb)(i.set("currentPageIndex",0),i.currentPageIndex)}o.set("viewportState",i)}))},[K.z_j]:(e,t)=>{const n=(0,s.D5)().withMutations((n=>{const r={};function o(t){t.textLines.forEach((t=>{var n;t.id&&(r[t.id]={measurement:new oo.f(null===(n=e.frameWindow)||void 0===n?void 0:n.document,(0,s.aV)([(0,Ts.LD)((0,Vn.HI)(e),t)]),{},js().line,e.shadowRoot),textLine:t})})),t.contentBlocks.forEach((e=>{o(e)}))}t.contentBlocks.forEach((e=>{o(e)}));for(const e in r){const{measurement:t,textLine:o}=r[e],i=t.measure().get(0);(0,De.k)(i),n.set(parseInt(e),{scaleX:o.boundingBox.width/i.width,scaleY:o.boundingBox.height/i.height})}for(const e in r){const{measurement:t}=r[e];t.remove()}}));return e.setIn(["pages",t.pageIndex,"contentBlocks"],t.contentBlocks).setIn(["pages",t.pageIndex,"textLineScales"],n)},[K.fnw]:(e,t)=>{let{backendPermissions:n}=t;return e.withMutations((e=>{n.readOnly&&e.set("readOnlyEnabled",te.J.VIA_BACKEND_PERMISSIONS),n.downloadingAllowed||(e.set("exportEnabled",!1),e.set("printingEnabled",!1)),e.set("backendPermissions",n)}))},[K.obk]:e=>e.withMutations((e=>{e.set("annotations",(0,s.D5)()),e.set("attachments",(0,s.D5)()),e.set("formFields",(0,s.D5)()),e.set("currentTextSelection",null),e.set("interactionMode",null),e.set("selectedAnnotationIds",(0,s.l4)()),e.set("selectedAnnotationShouldDrag",null),e.set("selectedAnnotationMode",null),e.set("activeAnnotationNote",null),e.set("interactionsDisabled",!1),e.set("annotationPresetIds",(0,s.D5)()),e.set("documentOutlineState",new _.S),e.set("comments",(0,s.D5)()),e.set("commentThreads",(0,s.D5)()),e.set("invalidAPStreams",(0,s.D5)()),e.set("searchState",new Os.Z)})),[K.S0t]:(e,t)=>e.set("documentHandle",t.documentHandle).set("isDocumentHandleOutdated",!1),[K.YS$]:(e,t)=>e.set("isDocumentHandleOutdated",t.isDocumentHandleOutdated),[K.UX$]:(e,t)=>e.set("reuseState",t.state?new Q.w(t.state):null),[K.TG1]:(e,t)=>e.withMutations((e=>{t.pageIndexes.forEach((t=>{e.setIn(["pages",t,"pageKey"],(0,ts.C)())}))})),[K.bM3]:(e,t)=>e.withMutations((e=>{t.pageKeysForPages.forEach((t=>{e.setIn(["pages",t.pageIndex,"pageKey"],t.pageKey)}))})),[K.QYq]:(e,t)=>e.set("OCGLayers",t.OCGLayers),[K.kQ7]:(e,t)=>e.set("visibleOCGLayers",t.visibleLayerIds)};function Vs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,t=arguments.length>1?arguments[1]:void 0;const n=Ks[t.type];return n?n(e,t):e}const qs=new Q.Z,Hs={[K.skc]:e=>e.set("isPrinting",!0),[K.snh]:e=>e.set("isPrinting",!1),[K._uU]:e=>e.set("isPrinting",!1),[K.qV6]:(e,t)=>{let{currentPage:n}=t;return e.set("printLoadingIndicatorProgress",n)}};function Zs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qs,t=arguments.length>1?arguments[1]:void 0;const n=Hs[t.type];return n?n(e,t):e}function Us(e,t){const{focusedResultIndex:n}=e.searchState,r=e.searchState.results.size;if(r<=0)return e;let o=n+t;o<0&&(o+=r);const i=Math.abs(o%r),a=e.searchState.results.get(i);(0,De.k)(a);const s=(0,Cs.kN)(e.viewportState,a.pageIndex,_.UL.union(null==a?void 0:a.rectsOnPage));return e.setIn(["searchState","focusedResultIndex"],i).set("viewportState",s)}const $s={[K.FH6]:(e,t)=>t.term.length>=e.searchState.minSearchQueryLength?e.setIn(["searchState","term"],t.term):e.setIn(["searchState","term"],t.term).setIn(["searchState","focusedResultIndex"],-1).setIn(["searchState","results"],(0,s.aV)()).setIn(["searchState","isLoading"],!1),[K.$Jy]:e=>Us(e,1),[K.gIV]:e=>Us(e,-1),[K.$hO]:e=>e.set("interactionMode",B.A.SEARCH).setIn(["searchState","isFocused"],!0),[K._AY]:e=>e.set("interactionMode",null).mergeIn(["searchState"],{isFocused:!1,term:"",results:(0,s.aV)(),focusedResultIndex:-1}),[K.Ifu]:e=>e.setIn(["searchState","isFocused"],!0),[K.nFn]:e=>e.setIn(["searchState","isFocused"],!1),[K.F6q]:(e,t)=>{let{isLoading:n}=t;return e.setIn(["searchState","isLoading"],n)},[K.qZT]:(e,t)=>{let{results:n}=t,r=e.viewportState,o=-1;if(-1!==e.searchState.focusedResultIndex){const t=e.searchState.results.get(e.searchState.focusedResultIndex);(0,De.k)(t);const{pageIndex:r}=t,i=t.rectsOnPage.first();(0,De.k)(i);const{top:a,left:s}=i;o=n.findIndex((e=>{const t=e.rectsOnPage.first();return(0,De.k)(t),e.pageIndex===r&&t.top===a&&t.left===s}))}if(-1===o&&n.size>0){o=n.findIndex((t=>t.pageIndex>=e.viewportState.currentPageIndex)),-1===o&&(o=0);const t=n.get(o);(0,De.k)(t),r=(0,Cs.kN)(e.viewportState,t.pageIndex,_.UL.union(t.rectsOnPage))}return e.setIn(["searchState","results"],n).setIn(["searchState","focusedResultIndex"],o).set("viewportState",r)},[K.p1u]:(e,t)=>{let{state:n}=t;return e.set("searchState",n)},[K.esN]:(e,t)=>{let{provider:n}=t;return e.set("searchProvider",n)}};function Gs(e,t){const n=$s[t.type];return n?n(e,t):e}const Ws=new _.ZM,Xs={[K.f3N]:(e,t)=>{const n=t.textRange.startAndEndIds();if(!n)return e;const{startTextLineId:r,endTextLineId:o,startNestedContentBlockId:i,endNestedContentBlockId:a,startPageIndex:l,endPageIndex:u}=n,c=new _.Bs({textRange:t.textRange,startTextLineId:r,endTextLineId:o,startNestedContentBlockId:i,endNestedContentBlockId:a,startPageIndex:l,endPageIndex:u}),d=e.withMutations((t=>{t.set("currentTextSelection",c),e.interactionMode!==B.A.TEXT_HIGHLIGHTER&&e.interactionMode!==B.A.REDACT_TEXT_HIGHLIGHTER&&t.set("selectedAnnotationIds",(0,s.l4)())}));return(0,Vn.j$)(_.On,e)?d:d.withMutations((e=>{e.set("inlineTextMarkupToolbar",t.inlineTextMarkupToolbar)}))},[K.MOe]:e=>e.delete("currentTextSelection"),[K.a33]:e=>e.withMutations((t=>{t.delete("selectedAnnotationMode"),t.set("currentItemPreset",null),e.interactionMode===B.A.TEXT_HIGHLIGHTER&&(0,j.Xu)(t),t.set("selectedAnnotationIds",(0,s.l4)()),t.set("widgetAnnotationToFocus",null),t.set("interactionMode",e.interactionMode===B.A.PAN||e.interactionMode===B.A.FORM_CREATOR?e.interactionMode:null),t.set("selectedTextOnEdit",!1),t.set("activeAnnotationNote",null),e.interactionMode===B.A.DISTANCE&&e.isCalibratingScale&&t.set("isCalibratingScale",!1)})),[K._Yi]:(e,t)=>{let n=null;const r=t.annotations.filter((t=>{const r=e.annotations.get(t);return n=e.annotationPresetIds.get(t)||null,r&&(r instanceof _.Qi||r.isCommentThreadRoot||!(0,Vn.lV)(r,e))}));return 0===r.size?e:e.withMutations((o=>{o.set("selectedAnnotationIds",r),o.set("currentItemPreset",n),o.set("selectedAnnotationMode",t.mode),o.set("selectedAnnotationShouldDrag",t.selectedAnnotationShouldDrag),o.delete("currentTextSelection"),Ke.Ni&&1===r.size&&e.interactionMode===B.A.MULTI_ANNOTATIONS_SELECTION&&o.set("interactionMode",null)}))},[K.c3G]:e=>e.set("selectedAnnotationShouldDrag",null),[K.RvB]:e=>e.set("selectedTextOnEdit",!0),[K.qh0]:(e,t)=>((0,u.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.add(t.id))):e),[K.rm]:(e,t)=>((0,u.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.delete(t.id))):e),[K.TPT]:(e,t)=>{(0,u.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===te.J.NO||n instanceof _.Qi?e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e:e.add(t.id))):e},[K.iyZ]:(e,t)=>{(0,u.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===te.J.NO||n instanceof _.Qi?e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e.delete(t.id):e)):e},[K.yyM]:(e,t)=>{const n=t.annotationNote;return e.set("hoverAnnotationNote",n)},[K.vSH]:(e,t)=>e.set("activeAnnotationNote",t.annotationNote),[K._fK]:(e,t)=>e.withMutations((n=>{if(t.newSelectedAnnotationsIds.size>0)n.set("selectedAnnotationIds",t.newSelectedAnnotationsIds);else{const r=1===e.selectedAnnotationIds.size&&e.annotations.get(e.selectedAnnotationIds.first());if(!r||null!=r.pageIndex){const r=new t.annotationClass((0,j.lx)(e));n.setIn(["annotations",r.id],r),n.set("selectedAnnotationIds",(0,s.l4)([r.id])),null!=e.currentItemPreset&&n.setIn(["annotationPresetIds",r.id],e.currentItemPreset)}}})),[K.L2A]:(e,t)=>e.set("inlineTextSelectionToolbarItems",t.inlineTextSelectionToolbarItemsCallback)};function Ys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ws,t=arguments.length>1?arguments[1]:void 0;const n=Xs[t.type];return n?n(e,t):e}const Qs=new _.ZM,Js={[K.mGH]:(e,t)=>{let{signature:n}=t;return e.withMutations((e=>{(0,j.ud)(e,n)}))},[K.W0l]:(e,t)=>{let{annotation:n}=t;return e.signatureState.formFieldName&&(0,u.kG)(!e.signatureState.formFieldsNotSavingSignatures.includes(e.signatureState.formFieldName),`Cannot save signature for the form field \`${e.signatureState.formFieldName}\` because this field is in formFieldsNotSavingSignatures`),e.updateIn(["signatureState","storedSignatures"],(e=>e.push(n)))},[K.Kw7]:(e,t)=>{let{annotations:n}=t;return e.setIn(["signatureState","storedSignatures"],n)},[K.Kc8]:(e,t)=>{let{annotation:n}=t;return e.updateIn(["signatureState","storedSignatures"],(e=>e.filter((e=>!e.equals(n)))))}};function el(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qs,t=arguments.length>1?arguments[1]:void 0;const n=Js[t.type];return n?n(e,t):e}const tl=new _.ZM,nl={[K.aWu]:(e,t)=>e.set("toolbarItems",t.toolbarItems),[K.T3g]:(e,t)=>e.set("annotationToolbarItems",t.annotationToolbarItemsCallback),[K.A8G]:(e,t)=>e.set("annotationToolbarHeight",t.height)};function rl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl,t=arguments.length>1?arguments[1]:void 0;const n=nl[t.type];return n?n(e,t):e}const ol=new _.ZM,il={[K.iJ2]:(e,t)=>{let{formJSON:n}=t;(0,u.kG)("pspdfkit/form"==n.type,"Invalid type for form JSON."),(0,u.kG)(1==n.v,"Invalid version for form JSON."),(0,u.kG)(n.fields instanceof Array,"Invalid type for `fields` in form JSON.");const r=(0,Ve.U_)(n.fields),o=(0,Ve.hT)(n.annotations);return e.withMutations((e=>{e.set("formFields",r),o.forEach((t=>{const{id:n}=t;e.setIn(["annotations",n],t),(0,u.kG)(e.pages.has(t.pageIndex),"Invalid `pageIndex` of widget annotation: "+t.pageIndex),e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(n)))}))}))},[K.zGM]:(e,t)=>e.withMutations((e=>{t.formFields.forEach((t=>{e.setIn(["formFields",t.name],t)}))})),[K.Wyx]:(e,t)=>e.withMutations((n=>{t.formFields.forEach((t=>{const r=e.formFields.valueSeq().find((e=>e.id===t.id));(0,u.kG)(r,"Invalid form field ID: "+t.id);const o=r.name!==t.name;if(t instanceof _.XQ){const n=e.formFields.find((e=>e.name===t.name)),r=null==n?void 0:n.annotationIds;if(r&&n.id!==t.id){let e=r,o=n.options;[...t.annotationIds].forEach(((n,r)=>{e.includes(n)||(e=e.push(n),o=o.push(t.options.get(r)))})),t=t.set("annotationIds",e).set("options",o)}}if(o){t.annotationIds.forEach((e=>{n.annotations.get(e)&&n.setIn(["annotations",e,"formFieldName"],t.name)})),n.deleteIn(["formFields",r.name])}n.setIn(["formFields",t.name],t),(0,Ve.r_)(r,e,n)}))})),[K.fDl]:(e,t)=>{const n=e.formFields.find((e=>e.id===t.formField.id));return e.withMutations((r=>{r.deleteIn(["formFields",null==n?void 0:n.name]),r.setIn(["formFields",t.formField.name],t.formField),(0,Ve.r_)(e.formFields.get(t.formField.name),e,r)}))},[K.D_w]:(e,t)=>e.withMutations((n=>{t.formFieldsIds.forEach((t=>{const r=(0,Ve.CL)(e,t);r&&n.deleteIn(["formFields",r.name])}))})),[K.Ui_]:(e,t)=>e.withMutations((n=>{(0,Ve.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!0})})),[K.m3$]:(e,t)=>e.withMutations((n=>{(0,Ve.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!1})})),[K.VK7]:(e,t)=>{let{formattedFormFieldValues:n}=t;return e.set("formattedFormFieldValues",e.formattedFormFieldValues.merge(n))},[K.yET]:(e,t)=>{let{editingFormFieldValues:n}=t;return e.set("editingFormFieldValues",e.editingFormFieldValues.merge(n))},[K.u7V]:(e,t)=>e.withMutations((n=>{t.formFieldValuesIds.forEach((t=>{const r=t.split("/")[1],o=e.formFields.get(r);o&&(o instanceof _.$o?n.setIn(["formFields",r,"value"],""):o instanceof _.XQ?n.setIn(["formFields",r,"value"],null):o instanceof _.Dz||o instanceof _.rF?n.setIn(["formFields",r,"values"],(0,s.aV)()):o instanceof _.R0||o instanceof _.Yo||(0,u.kG)(!1,`DELETE_FORM_FIELD_VALUE not implemented for ${r}`))}))})),[K.TYu]:(e,t)=>{let{onWidgetCreationStartCallback:n}=t;return e.set("onWidgetAnnotationCreationStart",n)},[K.vgx]:(e,t)=>{let{annotationId:n}=t;return e.set("formDesignerUnsavedWidgetAnnotation",n)},[K.zyH]:(e,t)=>{let{annotation:n}=t;return e.set("buttonToImportIconFor",n)}};function al(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ol,t=arguments.length>1?arguments[1]:void 0;const n=il[t.type];return n?n(e,t):e}var sl=n(35727);const ll=new _.ZM,ul={[K.ckI]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{if((0,De.k)(t.id&&!e.comments.has(t.id),`Comment with ID ${t.id} already exists.`),t.pageIndex<0||t.pageIndex>=e.pages.size)(0,u.ZK)(`Tried to add a comment with ID ${t.id} with an out of bounds page index (${t.pageIndex}). This comment was skipped.`);else if(e.setIn(["comments",t.id],t),(0,De.k)(t.rootId&&t.id),e.commentThreads.has(t.rootId)){const n=e.commentThreads.get(t.rootId);(0,De.k)(n),e.setIn(["commentThreads",t.rootId],n.add(t.id).sortBy((t=>{const n=e.comments.get(t);(0,De.k)(n);const r=n.createdAt.getTime();return[(0,sl.kT)(n)?1:0,r]}),_e.b))}else e.setIn(["commentThreads",t.rootId],(0,s.hU)([t.id]))}))})),[K.hxO]:(e,t)=>{const n=t.rootId,r=e.annotations.get(n),o=new Date;let i=new _.sv({id:(0,ts.C)(),rootId:n,creatorName:e.annotationCreatorName||null,createdAt:o,updatedAt:o,text:{format:"plain",value:""}});if(e.onCommentCreationStart){const t=e.onCommentCreationStart(i);(0,De.k)(t instanceof _.sv,"`onCommentCreationStart` should return an instance of `Comment`"),i=t}(0,De.k)(e.backend),e.backend.isCollaborationPermissionsEnabled()&&e.group!==e.backend.getDefaultGroup()&&(i=i.set("group",e.group));return!(0,Vn.Ez)(i,e)&&r&&(0,Eo.mi)(r,e)?e.withMutations((e=>{e.setIn(["comments",i.id],i),e.commentThreads.has(n)?e.updateIn(["commentThreads",n],(e=>e.add(i.id))):e.setIn(["commentThreads",n],(0,s.hU)([i.id]))})):e.set("interactionMode",null)},[K.FdD]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{(0,De.k)(t.id&&e.comments.has(t.id),`Comment with missing ID ${t.id} not found and thus cannot be updated.`),e.setIn(["comments",t.id],t)}))})),[K.kg]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,De.k)(e.comments.has(t),`Comment with ID ${t} not found, so it cannot be deleted.`);const n=e.comments.get(t);(0,De.k)(null!=n,`Attempted to delete non-existent comment with ID ${t}`),(0,De.k)(n.rootId);const r=e.commentThreads.get(n.rootId);if((0,De.k)(null!=r,`Comment with ID ${t} has no corresponding thread with matching root ID ${n.rootId}`),(0,De.k)(n.id&&r.has(n.id),`Comment with ID ${n.id} is missing from its thread.`),1===r.size)e.removeIn(["commentThreads",n.rootId]);else{const t=r.remove(n.id);if(e.setIn(["commentThreads",n.rootId],t),1===t.size){const r=e.comments.get(t.first());(0,De.k)(null!=r),(0,sl.kT)(r)&&(e.removeIn(["commentThreads",n.rootId]),e.removeIn(["comments",r.id]))}}e.removeIn(["comments",t])}))})),[K.NB4]:e=>e.setIn(["viewportState","commentMode"],(0,sl.dq)(e)),[K.YHT]:(e,t)=>e.set("mentionableUsers",t.users),[K.ZLr]:(e,t)=>e.set("maxMentionSuggestions",t.maxSuggestions),[K.mfU]:(e,t)=>{let{onCommentCreationStartCallback:n}=t;return e.set("onCommentCreationStart",n)}};function cl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ll,t=arguments.length>1?arguments[1]:void 0;const n=ul[t.type];return n?n(e,t):e}const dl=new _.ZM,pl={[K.Kpf]:(e,t)=>e.set("documentEditorFooterItems",t.documentEditorFooterItems),[K.wPI]:(e,t)=>e.set("documentEditorToolbarItems",t.documentEditorToolbarItems)};function hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dl,t=arguments.length>1?arguments[1]:void 0;const n=pl[t.type];return n?n(e,t):e}function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ml(e){for(var t=1;te.withMutations((n=>{n.set("redoActions",e.redoActions.push(t.nextRedoAction));const r=t.oldId;if(r){n.update("redoActions",(e=>e.map((e=>e.payload.id===t.oldId?ml(ml({},e),{},{payload:ml(ml({},e.payload),{},{id:t.nextRedoAction.payload.id})}):e))));const o=t.nextRedoAction.payload.pageIndex,i="number"==typeof o&&e.invalidAPStreams.has(o)?e.invalidAPStreams.get(o):null;i&&i.has(r)&&n.setIn(["invalidAPStreams",o],i.add(t.nextRedoAction.payload.id).delete(r))}n.set("undoActions",e.undoActions.pop())})),[K.iwn]:(e,t)=>e.withMutations((n=>{n.set("undoActions",e.undoActions.push(t.nextUndoAction));const r=t.oldId;if(r){n.update("undoActions",(e=>e.map((e=>e.payload.id===t.oldId?ml(ml({},e),{},{payload:ml(ml({},e.payload),{},{id:t.nextUndoAction.payload.id})}):e))));const o=t.nextUndoAction.payload.pageIndex,i="number"==typeof o&&e.invalidAPStreams.has(o)?e.invalidAPStreams.get(o):null;i&&i.has(r)&&n.setIn(["invalidAPStreams",o],i.add(t.nextUndoAction.payload.id).delete(r))}n.set("redoActions",e.redoActions.pop())})),[K.faS]:(e,t)=>e.set("historyChangeContext",t.historyChangeContext),[K.tC1]:(e,t)=>e.set("historyIdsMap",e.historyIdsMap.set(t.newId,t.oldId)),[K.x64]:(e,t)=>{let{annotationId:n}=t;const r=e.historyIdsMap.findKey((e=>e===n));return e.withMutations((t=>{t.set("undoActions",e.undoActions.filter((e=>e.payload.id!==r))),t.set("redoActions",e.redoActions.filter((e=>e.payload.id!==r)))}))},[K._Qf]:e=>e.withMutations((t=>{t.set("undoActions",e.undoActions.clear()),t.set("redoActions",e.redoActions.clear()),t.set("historyIdsMap",e.historyIdsMap.clear())})),[K._33]:e=>e.set("isHistoryEnabled",!0),[K.wG7]:e=>e.set("isHistoryEnabled",!1)};function yl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gl,t=arguments.length>1?arguments[1]:void 0;const n=vl[t.type];return n?n(e,t):e}var bl=n(96988);const wl=e=>new bl.Sg(e),xl=e=>new bl.UL({offset:wl(e.offset),size:wl(e.size)}),Dl=e=>new bl.W4(e),Cl=e=>{let t=s.l4.of();for(const n of e)t=t.add(Dl(n));return t},El=e=>new bl.I5({family:e.family,variants:Cl(e.variants)}),Sl=e=>new bl.yO({family:e.family,variant:Dl(e.variant)}),_l=e=>new bl.IA({faceRef:Sl(e.faceRef),size:e.size}),Pl=e=>new bl.mZ(e),kl=e=>new bl.vz({fontRef:_l(e.fontRef),color:e.color,effects:Pl(e.effects)}),Al=e=>new bl.JR(e),zl=e=>new bl.yJ({family:e.family,faceMismatch:e.faceMismatch?Al(e.faceMismatch):null,bold:e.bold,italic:e.italic,xScale:e.xScale,skew:e.skew,color:e.color,size:e.size}),Tl=e=>new bl.a2(e),Ol=e=>new bl.DN(e),Il=e=>new bl.FQ({cluster:e.cluster,offset:wl(e.offset),advance:wl(e.advance),text:e.text,control:e.control,lastOfSegment:e.lastOfSegment,beginOfWord:e.beginOfWord,endOfWord:e.endOfWord}),Fl=e=>new bl.tW({offset:wl(e.offset),lineSpacing:Tl(e.lineSpacing),elements:s.aV.of(...e.elements.map(Il))});var Ml=n(35998);const Rl=new Q.Z,jl=(e,t)=>{let n=!1;const r=xl(t.contentRect);(0,s.is)(r,e.contentRect)||(e=e.set("contentRect",r)),(0,s.is)(t.version,e.version)||(e=e.set("version",t.version),n=!0);const o=(i=t.cursor,new bl.CF({offset:wl(i.offset),lineSpacing:Tl(i.lineSpacing)}));var i;(0,s.is)(o,e.cursor)||(e=e.set("cursor",o),n=!0);const a=t.selection?(e=>new bl.Y1(e))(t.selection):null;(0,s.is)(a,e.selection)||(e=e.set("selection",a),n=!0);const l=(e=>new bl.Ts({lines:s.aV.of(...e.lines.map(Fl))}))(t.layoutView);(0,s.is)(l,e.layoutView)||(e=e.set("layoutView",l));const u=(e=>new bl.tk({selectionStyleInfo:e.selectionStyleInfo?zl(e.selectionStyleInfo):null,modificationsCharacterStyle:e.modificationsCharacterStyle?kl(e.modificationsCharacterStyle):null,modificationsCharacterStyleFaceMismatch:e.modificationsCharacterStyleFaceMismatch?Al(e.modificationsCharacterStyleFaceMismatch):null}))(t.detectedStyle);if((0,s.is)(u,e.detectedStyle)||(e=e.set("detectedStyle",u)),u.modificationsCharacterStyle){let t=u.modificationsCharacterStyle;t=t.setIn(["effects"],new bl.mZ({})),n&&!(0,s.is)(t,e.modificationsCharacterStyle)&&(e=e.set("modificationsCharacterStyle",t))}return e},Bl={[K.MGL]:(e,t)=>e.withMutations((e=>{const n=e.contentEditorSession.sessionId+1;e.set("contentEditorSession",new bl.aN({sessionId:n,active:!0,contentEditor:t.contentEditor})).set("interactionMode",B.A.CONTENT_EDITOR)})),[K.Qm9]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","active"],!1).setIn(["contentEditorSession","contentEditor"],null).set("interactionMode",null)})),[K.l$y]:(e,t)=>e.withMutations((e=>{(0,De.k)(!e.contentEditorSession.pageStates.has(t.pageIndex)),e.setIn(["contentEditorSession","pageStates",t.pageIndex],new bl.nv({loading:!0}))})),[K.kD6]:(e,t)=>e.withMutations((e=>{var n;(0,De.k)(null===(n=e.contentEditorSession.pageStates.get(t.pageIndex))||void 0===n?void 0:n.loading);let r=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(r);const o=t.initialTextBlocks.map((e=>{const t=e.textBlock,n=wl(t.anchor),r=Ol(t.globalEffects),o=new bl.Ar({maxWidth:t.maxWidth,alignment:t.alignment,lineSpacingFactor:t.lineSpacingFactor}),i=new bl.Q7({id:e.id,initialAnchor:n,initialGlobalEffects:r,initialLayout:o,anchor:n,globalEffects:r,layout:o,modificationsCharacterStyle:kl(t.modificationsCharacterStyle)});return jl(i,e.updateInfo)})),i=s.aV.of(...o);r=r.set("textBlocks",i),r=r.set("initialTextBlocks",i),r=r.set("loading",!1),e.setIn(["contentEditorSession","pageStates",t.pageIndex],r)})),[K.joZ]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new bl._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:bl.FP.Active}))})),[K.fQw]:e=>e.withMutations((e=>{const t=e.contentEditorSession.textBlockInteractionState;if(t.state===bl.FP.Active){let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>!(e.justCreated&&0===e.contentRect.size.x))).map((e=>e.id===t.textBlockId&&e.justCreated?e=e.set("justCreated",!1).set("layout",e.layout.set("maxWidth",Math.max(e.contentRect.size.x,10))):e))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)}e.setIn(["contentEditorSession","textBlockInteractionState"],e.contentEditorSession.textBlockInteractionState.state===bl.FP.Active?e.contentEditorSession.textBlockInteractionState.set("state",bl.FP.Selected):new bl._h)})),[K.VOt]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),n=((e,t,n)=>{const r=e.textBlocks.map((e=>e.id!=t?e:jl(e,n)));return e.set("textBlocks",r)})(n,t.textBlockId,t.updateInfo),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[K.U7k]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","availableFaces","loading"],!0)})),[K.ZgW]:(e,t)=>e.withMutations((e=>{const n=(r=t.faceList,s.aV.of(...r.map(El)));var r;e.setIn(["contentEditorSession","availableFaces"],new bl.t9({faceList:n,loading:!1}))})),[K.Y4]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","saving"],!0)})),[K.HYy]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","dirty"],!0)})),[K.bOH]:(e,t)=>e.set("showExitContentEditorDialog",t.isVisible),[K.Han]:(e,t)=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",new bl.xb({fontFace:t.fontFace,rect:t.tooltipRect}))),[K.WmI]:e=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",null)),[K.nI6]:(e,t)=>e.contentEditorSession.fontMismatchTooltip?e.setIn(["contentEditorSession","fontMismatchTooltip","dismissAbortController"],t.abortController):e,[K.Ebp]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;let n=e.modificationsCharacterStyle;return t.faceRef&&!(0,s.is)(t.faceRef,n.fontRef.faceRef)&&(n=n.setIn(["fontRef","faceRef"],t.faceRef)),t.size&&!(0,s.is)(t.size,n.fontRef.size)&&(n=n.setIn(["fontRef","size"],t.size)),t.color&&!(0,s.is)(t.color,n.color)&&(n=n.set("color",t.color)),e=e.set("modificationsCharacterStyle",n)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[K.ciU]:(e,t)=>e.withMutations((e=>{e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;const{fixpointValue:n,newWidth:r}=t,{layout:o,globalEffects:i,anchor:a}=e;(0,De.k)(o.maxWidth);const s=(0,Ml.uB)(o.alignment,i,n,r-o.maxWidth);return e=(e=e.set("anchor",new bl.Sg({x:a.x+s.x,y:a.y+s.y}))).setIn(["layout","maxWidth"],r)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[K.fLm]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0),t.isKeyboardMove||e.contentEditorSession.textBlockInteractionState.state===bl.FP.Moving||e.setIn(["contentEditorSession","textBlockInteractionState"],new bl._h({state:bl.FP.Moving,pageIndex:t.pageIndex,textBlockId:t.textBlockId})),n=n.set("textBlocks",n.textBlocks.map((e=>e.id!=t.textBlockId?e:e=e.set("anchor",new bl.Sg({x:t.anchor.x,y:t.anchor.y}))))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[K.xhM]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new bl._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:bl.FP.Selected}))})),[K.snK]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new bl._h);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,De.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>e.id!==t.textBlockId))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n),e.setIn(["contentEditorSession","mode"],bl.wR.Edit)})),[K.teI]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","mode"],t.mode)})),[K.uo5]:(e,t)=>e.withMutations((e=>{var n;let r=e.contentEditorSession.pageStates.get(t.pageIndex);const o=null===(n=e.pages.get(t.pageIndex))||void 0===n||null===(n=n.pageSize)||void 0===n?void 0:n.width;(0,De.k)(r),(0,De.k)(o);const{pageIndex:i,initialTextBlock:a}=t,s=a.textBlock,l=Ol(s.globalEffects),u=new bl.Ar({maxWidth:o-t.anchor.x,alignment:s.alignment,lineSpacingFactor:s.lineSpacingFactor});let c=new bl.Q7({id:a.id,initialAnchor:t.anchor,initialGlobalEffects:l,initialLayout:u,anchor:t.anchor,globalEffects:l,layout:u,justCreated:!0,modificationsCharacterStyle:kl(s.modificationsCharacterStyle)});return c=jl(c,a.updateInfo),r=r.set("textBlocks",r.textBlocks.push(c)),e.setIn(["contentEditorSession","pageStates",i],r).setIn(["contentEditorSession","mode"],bl.wR.Edit).setIn(["contentEditorSession","textBlockInteractionState"],new bl._h({pageIndex:i,textBlockId:a.id,state:bl.FP.Active}))}))};function Nl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl,t=arguments.length>1?arguments[1]:void 0;const n=Bl[t.type];return n?n(e,t):e}function Ll(e,t){return[U,$.Z,ss,ds,fs,vs,ws,ks,Vs,Zs,Gs,Ys,el,rl,al,cl,hl,yl,Nl].reduce(((e,n)=>n(e,t)),e)}function Kl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,A.xC)({reducer:Ll,preloadedState:new Q.Z(e),middleware:e=>e({serializableCheck:!1,immutableCheck:!1})})}var Vl=n(25384),ql=n(11765),Hl=n(95431),Zl=n(44156);async function Ul(e){let t,{backend:n,dispatch:r,getState:o,maxPasswordRetries:i,password:a,formFieldValuesJSON:l,customFonts:c,stylesheetPromise:d}=e;await d;try{let e=!1;const{features:d,signatureFeatureAvailability:p,hasPassword:h,minSearchQueryLength:f,allowedTileScales:m,creatorName:g,defaultGroup:v,evaluation:y}=await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=null,i=0;for(;!o;){try{o=await n(e)}catch(n){const o=in.load({password:t,progressCallback:(t,n)=>{e||r((0,Vl.qZ)(t,n))},isPDFJavaScriptEnabled:it.Options.PDF_JAVASCRIPT})),(()=>(e=!0,new Promise((e=>r((0,Vl.uT)(e))))))),{frameWindow:b}=o();let w=(0,s.l4)();if(c&&b){const e=await n.getAvailableFontFaces(c);for(const t of c){const n=e.find((e=>e.name===t.name)),r=(null==n?void 0:n.readableName)||t.name;b.document.fonts.add(new FontFace((0,pn.hm)(r),await t.data.arrayBuffer())),w=w.add(r)}w.size>0&&r((0,Vt.p2)(w))}await(0,Hl.jX)(r,o,{attemptedUnlockViaModal:e,features:d,signatureFeatureAvailability:p,hasPassword:h,minSearchQueryLength:f,allowedTileScales:m,evaluation:y});const{annotations:x,isAPStreamRendered:D,formFields:C}=o();n.isUsingInstantProvider()&&r((0,Vt.Ie)()),n.isCollaborationPermissionsEnabled()&&r((0,Vt.YK)(v));const E=await n.runPDFFormattingScriptsFromWidgets(x,C,D);if(E.length){const{formFieldManager:e}=o();let n,i;null!==e&&await e.loadFormFields(),t=new Promise(((e,t)=>{n=e,i=t})),r((0,er.bt)({changes:E,resolve:n,reject:i}))}if("STANDALONE"===n.type&&it.Options.PDF_JAVASCRIPT&&l&&r((0,er.ul)((0,s.aV)(l.map(ql.u9)))),"STANDALONE"===n.type){const e=await n.getOCGs(),t=await n.getOCGVisibilityState();r((0,Zl.h1)(e)),r((0,Zl.kQ)(t.visibleLayerIds))}r((0,Vl.Bm)()),g&&r((0,Vt.X8)(g,!0))}catch(e){(0,u.vU)("An error occurred while initializing PSPDFKit for Web.\n\n Please contact our customer support, if you're having troubles setting up PSPDFKit for Web or the PSPDFKit Document Engine: https://pspdfkit.com/guides/web/current/pspdfkit-for-web/troubleshooting/");const t=e instanceof u.p2?e:new u.p2(e);throw-1!==t.message.indexOf("File not in PDF format or corrupted")?r((0,Vl.sr)(t.message)):r((0,Vl.sr)()),t}return t}var $l=n(68944),Gl=n(21753);function Wl(e){try{e.querySelector(":focus-visible");const t=e.documentElement||e;return void(t&&t.setAttribute("data-focusvisible-supported","true"))}catch(e){}const t="data-focusvisible-polyfill";let n=!0,r=!1,o=null;const i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(t){return!!(t&&t!==e&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function s(e){e.hasAttribute(t)||e.setAttribute(t,!0)}function l(e){e.removeAttribute(t)}function u(){!0===n&&function(){const t=e.querySelectorAll("[data-focusvisible-polyfill]");for(let e=0;e0;){"SERVER"===e.backend.type&&(t=nu[n],n+=n>=nu.length-1?0:1);let r=t;l<1.5*t&&(r=l);const a=await e.backend.search(this.term,s,r,!1);if(i=i.concat(a),!this._activeSearches[o])return;this.dispatch((0,eu.Sc)(i)),l-=r,s+=r}}this.dispatch((0,eu.M0)(!1))}_cancelSearchRequests(e){for(const t of this._activeSearches.keys())null!=e&&t===e||(this._activeSearches[t]=!1)}}var ou=n(53416),iu=n(6197),au=n(50898),su=n(65652),lu=n(713),uu=n(38705),cu=n(38478),du=n(23951),pu=n(2282),hu=n(26353),fu=n(84013),mu=n(86233),gu=n(92879);const vu=(0,d.createContext)((()=>{throw new Error}));var yu=n(40084),bu=n(27122),wu=n(65369),xu=n(97586),Du=n(13264),Cu=n(35062),Eu=n(59003),Su=n.n(Eu);const _u=function(e){var t,r;const{formatMessage:o}=(0,xe.YB)(),i=d.useCallback((e=>e.stopPropagation()),[]),a=h()("PSPDFKit-Sidebar-Annotations-Item",e.layoutClassName,Su().layout,{[Su().selected]:e.isSelectedItem,[Su().layoutNavigationDisabled]:e.navigationDisabled,"PSPDFKit-Sidebar-Annotations-Item-Selected":e.isSelectedItem});return d.createElement("div",{ref:e.itemRef},d.createElement(Je.Z,{onPointerUpCapture:i},d.createElement(d.Fragment,null,d.createElement("div",(0,ce.Z)({className:a,onClick:e.onPress},e.itemWrapperProps),e.icon,d.createElement("div",{className:Su().layoutContent},e.children,(null===(t=e.showFooter)||void 0===t||t)&&(e.author||e.formattedDate)&&d.createElement("footer",{className:h()(Su().footer,"PSPDFKit-Sidebar-Annotations-Footer")},d.createElement("p",null,e.author&&d.createElement("span",null,e.author,e.formattedDate?", ":""),e.formattedDate&&d.createElement("time",{dateTime:null===(r=e.date)||void 0===r?void 0:r.toISOString()},e.formattedDate)),e.additionalFooter)),e.isDeletable&&d.createElement("button",{className:h()(Su().delete,"PSPDFKit-Sidebar-Annotations-Delete"),onClick:e.onDelete,"aria-label":o(Pe.Z.delete)},d.createElement(Re.Z,{src:n(63949),role:"presentation"}))),d.createElement("div",{className:Su().flagsContainer},e.isReadOnly&&d.createElement("div",{className:Su().flagWrapper},d.createElement("div",{className:h()(Su().lock,"PSPDFKit-Sidebar-Annotations-ReadOnly")},d.createElement(Re.Z,{src:n(50308),role:"presentation"})),d.createElement("div",{className:Su().label,"aria-label":o(Pe.Z.readOnlyAnnotationFlag)},o(Pe.Z.readOnlyAnnotationFlag))),e.isLocked&&d.createElement("div",{className:Su().flagWrapper},d.createElement("span",{className:h()(Su().lock,"PSPDFKit-Sidebar-Annotations-Locked")},d.createElement(Re.Z,{src:n(50308),role:"presentation"})),d.createElement("span",{className:Su().label,"aria-label":o(Pe.Z.locked)},o(Pe.Z.locked))),e.hasLockedContents&&d.createElement("div",{className:Su().flagWrapper},d.createElement("span",{className:h()(Su().lock,"PSPDFKit-Sidebar-Annotations-LockedContents")},d.createElement(Re.Z,{src:n(50308),role:"presentation"})),d.createElement("span",{className:Su().label,"aria-label":o(Pe.Z.lockedContents)},o(Pe.Z.lockedContents)))))))},Pu={highlighter:"highlighter",arrow:"arrow",callout:"textAnnotation","cloudy-rectangle":"cloudyRectangleAnnotation","dashed-rectangle":"dashedRectangleAnnotation","cloudy-ellipse":"cloudyEllipseAnnotation","dashed-ellipse":"dashedEllipseAnnotation","cloudy-polygon":"cloudyPolygonAnnotation","dashed-polygon":"dashedPolygonAnnotation","ellipse-area":"ellipseAreaMeasurement","rectangle-area":"rectangularAreaMeasurement","polygon-area":"polygonAreaMeasurement",distance:"distanceMeasurement",perimeter:"perimeterMeasurement"},ku=e=>{const{formatMessage:t}=e.intl,n=Pu[e.type]||`${e.type}Annotation`;return d.createElement(d.Fragment,null,d.createElement("button",{autoFocus:e.autoFocus},t(Pe.Z[n])),","," ",t(Pe.Z.linesCount,{arg0:e.annotation.lines.size}))},Au=e=>{const t=e.annotation.text.value||"";let n=(0,F.aF)("xhtml"===e.annotation.text.format?(0,gn.KY)(t):t);const r=Pu[e.type]||"textAnnotation";return 0===n.length&&(n=e.intl.formatMessage(Pe.Z[r])),d.createElement("button",{autoFocus:e.autoFocus},n)},zu=e=>d.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Pe.Z[`${e.type}Annotation`])),Tu=e=>{const t=Pu[e.type]||`${e.type}Annotation`;return d.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Pe.Z[t]))},Ou=e=>d.createElement("button",{autoFocus:e.autoFocus},e.annotation.formFieldName),Iu={text:Au,callout:Au,ink:ku,highlighter:ku,note:e=>{let t=(0,F.aF)(e.annotation.text.value||"");return 0===t.length&&(t=e.intl.formatMessage(Pe.Z.noteAnnotation)),d.createElement("button",{autoFocus:e.autoFocus},t)},highlight:zu,underline:zu,strikeOut:zu,squiggle:zu,link:e=>{var t;return d.createElement("button",{autoFocus:e.autoFocus},(null===(t=e.annotation.action)||void 0===t?void 0:t.uri)||e.intl.formatMessage(Pe.Z.linkAnnotation))},rectangle:Tu,"cloudy-rectangle":Tu,"dashed-rectangle":Tu,ellipse:Tu,"cloudy-ellipse":Tu,"dashed-ellipse":Tu,polygon:Tu,"cloudy-polygon":Tu,"dashed-polygon":Tu,polyline:Tu,line:Tu,arrow:Tu,image:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,r=(0,F.aF)(e.annotation.description||"");return d.createElement(d.Fragment,null,d.createElement("button",{autoFocus:e.autoFocus},t(Pe.Z[`${e.type}Annotation`])),n&&!r&&d.createElement("div",{title:t(Pe.Z.filePath)+`: ${n}`},n),r&&d.createElement("div",null,r))},stamp:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,r=(0,F.aF)((0,Xa.vW)({annotation:e.annotation,intl:e.intl})||"");return d.createElement(d.Fragment,null,d.createElement("button",{autoFocus:e.autoFocus},t(Pe.Z[`${e.type}Annotation`])),n&&!r&&d.createElement("div",{title:`${t(Pe.Z.stampText)}: ${t(Pe.Z[e.annotation.stampType])}`},`${t(Pe.Z.stampText)}: ${t(Pe.Z[e.annotation.stampType])}`),r&&d.createElement("div",null,r))},"form-text":Ou,"form-checkbox":Ou,"form-button":Ou,"form-signature":Ou,redaction:e=>d.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Pe.Z[`${e.type}Annotation`])),media:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,r=(0,F.aF)(e.annotation.description||"");return d.createElement(d.Fragment,null,d.createElement("button",{autoFocus:e.autoFocus},t(Pe.Z[`${e.type}Annotation`])),n&&!r&&d.createElement("div",{title:t(Pe.Z.filePath)+`: ${n}`},n),r&&d.createElement("div",null,r))},perimeter:Tu,distance:Tu,"ellipse-area":Tu,"rectangle-area":Tu,"polygon-area":Tu};class Fu extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_itemRef",(e=>{var t,n;e&&(this._el=e,null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,e,this.props.annotation))})),(0,o.Z)(this,"onPress",(()=>{const{annotation:e,dispatch:t,onPress:n}=this.props;if(!this.props.navigationDisabled){if(t((0,yu.kN)(e.pageIndex,e.boundingBox)),this.props.isAnnotationReadOnly(e)||!(this.props.annotation instanceof de.x_)&&(this.props.annotation.readOnly||this.props.annotation.lockedContents||this.props.annotation.locked)){var r;if(this.props.focusedAnnotationIds&&this.props.focusedAnnotationIds.size>0)t((0,Se.Oc)(null===(r=this.props.focusedAnnotationIds)||void 0===r?void 0:r.first()));return setTimeout((()=>{t((0,Se.Q2)(e.id))}),100)}e instanceof de.x_?t((0,Se.fz)()):Ke.Ni&&e instanceof de.Qi?t((0,Se.VR)(e.id)):t((0,Se.Df)((0,s.l4)([e.id]),null)),n&&n()}})),(0,o.Z)(this,"onDelete",(()=>{const{annotation:e,dispatch:t,navigationDisabled:n}=this.props;n||t((0,yu.kN)(e.pageIndex,e.boundingBox)),t((0,yt.d8)((0,s.l4)([e.id])))})),(0,o.Z)(this,"preventDeselect",(e=>e.stopPropagation()))}componentDidUpdate(e){var t,n;this._el&&e.onRenderItemCallback!==this.props.onRenderItemCallback&&(null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,this._el,this.props.annotation))}render(){const{annotation:e,intl:t,isSelectedAnnotation:n,annotationType:r,isAnnotationReadOnly:o,autoFocus:i,canDeleteAnnotationCP:a,dateTimeStringCallback:s}=this.props,{formatDate:l}=t,u=e.creatorName;let c=null;e.updatedAt.getTime()&&(s&&(c=s({dateTime:e.updatedAt,element:Cu.Y.ANNOTATIONS_SIDEBAR,object:e})),null==c&&(c=l(e.updatedAt)));const p=Iu[r],f=h()("PSPDFKit-Sidebar-Annotations-Annotation",`PSPDFKit-Sidebar-Annotations-Annotation-${(0,gn.in)(r)}`,{"PSPDFKit-Sidebar-Annotations-Annotation-Selected":n}),m=!(e instanceof de.x_)&&!(e instanceof de.Hu)&&!e.locked&&!o(e)&&!Ke.Ni&&a(e),g=(0,ke.Z)({type:r.toLowerCase(),className:h()(Su().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return d.createElement(_u,{itemRef:this._itemRef,layoutClassName:f,isSelectedItem:n,navigationDisabled:this.props.navigationDisabled,onPress:this.onPress,onDelete:this.onDelete,isDeletable:m,itemWrapperProps:{"data-annotation-id":e.id},icon:g,showFooter:!(e instanceof de.x_),author:u,formattedDate:c,date:e.updatedAt,isReadOnly:e.readOnly,isLocked:e.locked,hasLockedContents:e.lockedContents},d.createElement(p,{intl:t,annotation:e,type:r,autoFocus:i}))}}const Mu=(0,xe.XN)(Fu);var Ru=n(1858),ju=n(67260);const Bu=(0,xe.vU)({commentOptions:{id:"commentOptions",defaultMessage:"Comment Options",description:"Comment Options"},editContent:{id:"editContent",defaultMessage:"Edit Content",description:"Edit Content"},deleteCommentConfirmMessage:{id:"deleteCommentConfirmMessage",defaultMessage:"Are you sure you want to delete this comment?",description:'Message displayed in the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityLabel:{id:"deleteCommentConfirmAccessibilityLabel",defaultMessage:"Confirm comment deletion",description:'Accessibility label (title) for the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityDescription:{id:"deleteCommentConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the comment",description:'Accessibility description for the "Delete Comment" confirm dialog'},moreComments:{id:"moreComments",defaultMessage:"More comments",description:"More comments indicator in comments popover"}});const Nu=function(e){var t;const n=d.useRef(),{rootComment:r,commentsCount:o,onRenderItemCallback:i,annotation:a,onPress:u,navigationDisabled:c,isCommentReadOnly:p,dateTimeStringCallback:f,isSelectedAnnotation:m,canDeleteCommentCP:g}=e,v=(0,l.I0)(),{formatMessage:y,formatDate:b}=(0,xe.YB)(),[w,x]=d.useState(!1),D=d.useCallback((e=>{e&&(n.current=e,null==i||i(e,a))}),[a,i]),C=(0,Fo.R9)((()=>{if(!c){if(v((0,yu.kN)(a.pageIndex,a.boundingBox)),p(r))return setTimeout((()=>{v((0,Se.Q2)(a.id))}),100);v((0,Se.Df)((0,s.l4)([a.id]),null)),u&&u()}})),E=(0,Fo.R9)((()=>{c||v((0,yu.kN)(a.pageIndex,a.boundingBox)),x(!0)})),S=d.useCallback((()=>{v((0,Lo.UM)(r)),x(!1)}),[r,v]),_=r.isAnonymous?y(Pe.Z.anonymous):null!==(t=r.creatorName)&&void 0!==t?t:y(Pe.Z.anonymous);let P=null;r.createdAt.getTime()&&(f&&(P=f({dateTime:r.createdAt,element:Cu.Y.ANNOTATIONS_SIDEBAR,object:r})),null==P&&(P=b(r.createdAt,a.isCommentThreadRoot&&r?{hour12:!0,hour:"numeric",minute:"numeric",month:"numeric",day:"numeric",year:"numeric"}:void 0)));let k=null;o&&o>1&&(k=y(Pe.Z.nMoreComments,{arg0:o-1}));const A=h()("PSPDFKit-Sidebar-Annotations-Comment",{"PSPDFKit-Sidebar-Annotations-Comment-Selected":m}),z=!p(r)&&!Ke.Ni&&g(r),T=(0,ke.Z)({type:"comment",className:h()(Su().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return d.createElement(d.Fragment,null,d.createElement(_u,{itemRef:D,layoutClassName:A,isSelectedItem:m,navigationDisabled:c,onPress:C,onDelete:E,isDeletable:z,itemWrapperProps:{"data-annotation-id":a.id},icon:T,showFooter:!0,author:_,formattedDate:P,date:a.updatedAt,additionalFooter:a.isCommentThreadRoot&&k?d.createElement("span",null,k):null,isReadOnly:a.readOnly,isLocked:a.locked,hasLockedContents:a.lockedContents},d.createElement("button",{autoFocus:e.autoFocus},(0,F.aF)((0,gn.KY)((null==r?void 0:r.text.value)||"")))),w&&d.createElement(ju.Z,{onConfirm:S,onCancel:()=>{x(!1)},accessibilityLabel:y(Bu.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:y(Bu.deleteCommentConfirmAccessibilityDescription)},d.createElement("p",null,y(Bu.deleteCommentConfirmMessage))))},Lu=d.memo((function(e){let{closeOnPress:t=!1,navigationDisabled:n,annotations:r,comments:o,commentThreads:i,formFields:a,pages:u,isAnnotationReadOnly:c,isCommentReadOnly:p,selectedAnnotationIds:f,canDeleteAnnotationCP:m,canDeleteCommentCP:g,sidebarOptions:v,focusedAnnotationIds:y}=e;const[b,w]=d.useState(null),{includeContent:x}=v;d.useEffect((()=>{null==b||b.focus()}),[b]);const{formatMessage:D}=(0,xe.YB)(),C=(0,l.I0)(),E=(0,l.v9)((e=>e.dateTimeString)),S=(0,Fo.R9)((()=>{n||t&&C((0,Vt.mu)())})),P=x.some((e=>e===_.sv)),k=h()(Su().container,"PSPDFKit-Sidebar-Annotations"),A=d.useMemo((()=>r.filter((e=>null!==e.pageIndex&&(P&&e.isCommentThreadRoot||!e.isCommentThreadRoot&&null!==Ku(e,a)&&x.some((t=>e instanceof t)))))),[r,a,x,P]),z=d.useMemo((()=>u.reduce(((e,t)=>{const n=function(e){let t=e.filter((e=>e.isCommentThreadRoot)).sortBy((e=>e.boundingBox.top));return e.map((e=>{if(!e.isCommentThreadRoot)return e;const n=t.first();return t=t.shift(),n}))}((0,j.xp)(A,t));return 0===n.size?e:e.push(n)}),(0,s.aV)())),[u,A]),T=(0,Fo.Bo)(b,z),O=(null==z?void 0:z.reduce(((e,t)=>e+t.size),0))||0,I=(0,Fo.mP)(T,(e=>e.id),(e=>A.get(e)));return d.createElement("div",{className:k,role:"region","aria-label":D(Pe.Z.annotations),ref:w},d.createElement("div",{className:"PSPDFKit-Sidebar-Header"},O>0?d.createElement("div",{className:h()(Su().annotationCounter,"PSPDFKit-Sidebar-Annotations-Annotation-Counter")},D(Pe.Z.annotationsCount,{arg0:O})):null),O>0&&z?d.createElement(d.Fragment,null,z.map(((e,t)=>{const r=e.first().pageIndex,s=u.get(r);(0,De.k)(s);const l=s.get("pageLabel");return d.createElement("section",{key:`Annotations-Sidebar-Page-${r}`},d.createElement("h1",{className:h()(Su().pageNumber,"PSPDFKit-Sidebar-Annotations-Page-Number")},D(Pe.Z.pageX,{arg0:l||r+1})),d.createElement("div",{className:h()(Su().content,Su().annotations,"PSPDFKit-Sidebar-Annotations-Container")},e.map(((e,r)=>{if(e.isCommentThreadRoot&&P){const a=i.get(e.id),s=null==a?void 0:a.first(),l=null==a?void 0:a.last();if(a&&l&&s){const i=o.get(l);if(i){const l=!(0,sl.kT)(i)&&(null==i?void 0:i.text.value).length>0?null==a?void 0:a.size:(null==a?void 0:a.size)-1,u=o.get(s);return d.createElement(Nu,{annotation:e,rootComment:u,commentsCount:l,onPress:S,isCommentReadOnly:p,isSelectedAnnotation:f.has(e.id),navigationDisabled:n,autoFocus:0===r&&0===t,canDeleteCommentCP:g,key:`Annotation-Info-${e.id}`,onRenderItemCallback:I,dateTimeStringCallback:E})}}}const s=Ku(e,a);return null!=s?d.createElement(Mu,{dispatch:C,annotation:e,annotationType:s,onPress:S,isAnnotationReadOnly:c,isSelectedAnnotation:f.has(e.id),navigationDisabled:n,autoFocus:0===r&&0===t,canDeleteAnnotationCP:m,key:`Annotation-Info-${e.id}`,onRenderItemCallback:I,dateTimeStringCallback:E,focusedAnnotationIds:y}):null}))))}))):d.createElement("div",{className:h()(Su().container,Su().empty,"PSPDFKit-Sidebar-Empty"),role:"region","aria-label":D(Pe.Z.annotations)},D(Vu.noAnnotations)))}));function Ku(e,t){var n;let r;const o=Number(e.cloudyBorderIntensity)>0,i=null===(n=e.strokeDashArray)||void 0===n?void 0:n.length;return e instanceof de.Zc?function(e){return"normal"===e.blendMode?0===e.opacity||e.lineWidth/e.opacity>40?"highlighter":"ink":e.lineWidth>15?"highlighter":"ink"}(e):e instanceof de.gd?e.callout?"callout":"text":e instanceof de.Qi?"note":e instanceof de.sK?"image":e instanceof de.GI?"stamp":e instanceof de.FV?"highlight":e instanceof de.xu?"underline":e instanceof de.R9?"strikeOut":e instanceof de.hL?"squiggle":e instanceof de.R1?"link":e instanceof de.b3?e.isMeasurement()?"rectangle-area":o?"cloudy-rectangle":i?"dashed-rectangle":"rectangle":e instanceof de.Xs?e.isMeasurement()?"ellipse-area":o?"cloudy-ellipse":i?"dashed-ellipse":"ellipse":e instanceof de.Hi?e.isMeasurement()?"polygon-area":o?"cloudy-polygon":i?"dashed-polygon":"polygon":e instanceof de.om?e.isMeasurement()?"perimeter":"polyline":e instanceof de.o9?function(e){if(e.isMeasurement())return"distance";if(!e.lineCaps)return"line";const t="openArrow"===e.lineCaps.start||"closedArrow"===e.lineCaps.start||"reverseOpenArrow"===e.lineCaps.start||"reverseClosedArrow"===e.lineCaps.start,n="openArrow"===e.lineCaps.end||"closedArrow"===e.lineCaps.end||"reverseOpenArrow"===e.lineCaps.end||"reverseClosedArrow"===e.lineCaps.end;return t||n?"arrow":"line"}(e):e instanceof de.x_?((0,De.k)(t),r=t.get(e.formFieldName),r instanceof Ru.$o||r instanceof Ru.Vi||r instanceof Ru.fB?"form-text":r instanceof Ru.rF?"form-checkbox":r instanceof Ru.XQ||r instanceof Ru.R0?"form-button":r instanceof Ru.Yo?"form-signature":null):e instanceof W.Z?"redaction":e instanceof de.Hu?"media":null}const Vu=(0,xe.vU)({noAnnotations:{id:"noAnnotations",defaultMessage:"No Annotations",description:"Message shown when there is no annotations"}});var qu,Hu=n(42370),Zu=n(9470),Uu=n(22690),$u=n(17722),Gu=n.n($u),Wu=n(43165),Xu=n.n(Wu),Yu=n(84691),Qu=n.n(Yu);function Ju(e){return oc[e]||Pe.Z[e]}function ec(e){let{itemId:t,label:n,isEnd:r}=e;return d.createElement(d.Fragment,null,d.createElement(i.TX,{tag:"div"},n),d.createElement("svg",{viewBox:"0 0 8 4",style:{height:16,width:32}},d.createElement("g",{transform:r?"rotate(180 4,2)":void 0},Pt.O[t].startElement({fill:"transparent"}),qu||(qu=d.createElement("line",{x1:"3.5",y1:"2",x2:"8",y2:"2"})))))}function tc(e){let{itemId:t,label:n}=e;const r=Zu.x.find((e=>e.id===t));return d.createElement(d.Fragment,null,d.createElement(i.TX,{tag:"div"},n),d.createElement("svg",{viewBox:"0 0 16 4",style:{width:54,height:16}},d.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:r?r.dashArray:void 0,fill:"transparent"})))}class nc extends d.PureComponent{constructor(){for(var e,t=arguments.length,n=new Array(t),r=0;r{const{annotation:t}=this.props,n={};return"none"!==e&&(n.start=e),"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.end&&(n.end=t.lineCaps.end),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"_onChangeDashArray",(e=>{const t=Zu.x.find((t=>t.id===e));return this.props.updateAnnotation({strokeDashArray:void 0!==t?t.dashArray:null})})),(0,o.Z)(this,"_onChangeEndLineCap",(e=>{const{annotation:t}=this.props,n={};return"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.start&&(n.start=t.lineCaps.start),"none"!==e&&(n.end=e),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"LineCapSelectButton",(function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0;return i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;const u=null!==(a=null==l?void 0:l.label)&&void 0!==a?a:"",c=t(Ju(u));return d.createElement(we.Z,(0,ce.Z)({is:"div"},s,{className:h()("PSPDFKit-Input-Dropdown-Button",Qu().selectBox,e.props.styles.startLineCapSelect),name:"clickableBox",ref:e=>{s.ref(e),"function"==typeof o?o(e):o&&(o.current=e)}}),d.createElement(ec,{itemId:u,isEnd:r,label:c}),d.createElement("div",null,(0,ke.Z)({type:"caret-"+n,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:h()(Qu().dropdownIcon)})))}})),(0,o.Z)(this,"LineCapItem",(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{var r;let{item:o,state:i,itemComponentProps:a,ref:s}=n;const l=null!==(r=null==o?void 0:o.label)&&void 0!==r?r:"",u=e(Ju(l));return d.createElement(we.Z,(0,ce.Z)({is:"div",className:h()(Xu().root,Gu().root,(null==i?void 0:i.includes("selected"))&&Qu().isSelected,(null==i?void 0:i.includes("focused"))&&Qu().isSelected)},a,{ref:s}),d.createElement(ec,{label:u,isEnd:t,itemId:l}))}})),(0,o.Z)(this,"DashArrayButton",((e,t)=>n=>{var r;let{btnComponentProps:o,selectedItem:i}=n;const a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:"",s=e(Ju(a));return d.createElement(we.Z,(0,ce.Z)({is:"div"},o,{ref:o.ref,className:h()("PSPDFKit-Input-Dropdown-Button",Qu().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox"}),d.createElement(tc,{label:s,itemId:a}),d.createElement("div",null,(0,ke.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:h()(Qu().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>t=>{var n;let{item:r,state:o,itemComponentProps:i,ref:a}=t;const s=null!==(n=null==r?void 0:r.label)&&void 0!==n?n:"",l=e(Ju(s));return d.createElement(we.Z,(0,ce.Z)({is:"div",className:h()(Xu().root,Gu().root,(null==o?void 0:o.includes("selected"))&&Qu().isSelected,(null==o?void 0:o.includes("focused"))&&Qu().isSelected),ref:a},i),d.createElement(tc,{label:l,itemId:s}))})),(0,o.Z)(this,"_startButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!1,this.props.innerRef)),(0,o.Z)(this,"_endButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!0)),(0,o.Z)(this,"_startItem",this.LineCapItem(this.props.intl.formatMessage)),(0,o.Z)(this,"_endItem",this.LineCapItem(this.props.intl.formatMessage,!0)),(0,o.Z)(this,"_dashArrayButton",this.DashArrayButton(this.props.intl.formatMessage,this.props.caretDirection)),(0,o.Z)(this,"_dashArrayItem",this.DashArrayItem(this.props.intl.formatMessage))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,caretDirection:r}=this.props,{strokeDashArray:o}=n,i=it.Options.LINE_CAP_PRESETS,a={start:"none",end:"none"};"lineCaps"in n&&n.lineCaps&&(Hu.a.includes(n.lineCaps.start)&&(a.start=n.lineCaps.start),Hu.a.includes(n.lineCaps.end)&&(a.end=n.lineCaps.end)),i.includes(a.start)||(a.start="N/A"),i.includes(a.end)||(a.end="N/A");const s=i.map((e=>({value:e,label:e,className:`PSPDFKit-LineCap-${e.replace(" ","")}`}))),l=o instanceof Array&&2===o.length?Zu.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===o[0]&&e.dashArray[1]===o[1])):Zu.x[0],u=Zu.x.map((e=>({value:e.id,label:e.id,className:`PSPDFKit-DashArray-${e.id.replace(" ","")}`})));return d.createElement("div",{className:t.controlWrapper},d.createElement("div",{className:t.control},d.createElement(Uu.Z,{items:s,value:{value:a.start,label:a.start},discreteDropdown:!1,isActive:!1,caretDirection:r,accessibilityLabel:e(Pe.Z.startLineCap),className:h()("PSPDFKit-Annotation-Toolbar-StartLineCap",t.startLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:h()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._startButton,ItemComponent:this._startItem,onSelect:(e,t)=>{t.value&&this._onChangeStartLineCap(t.value)},frameWindow:this.props.frameWindow}),d.createElement(Uu.Z,{items:u,value:l?{label:l.id,value:l.id}:{label:"solid",value:"solid"},discreteDropdown:!1,isActive:!1,caretDirection:r,accessibilityLabel:e(Pe.Z.strokeDashArray),className:h()("PSPDFKit-Annotation-Toolbar-DashArray",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:h()(t.dropdownMenu,t.lineCapsDashArrayMenu),itemWidth:76,ButtonComponent:this._dashArrayButton,ItemComponent:this._dashArrayItem,onSelect:(e,t)=>{t.value&&this._onChangeDashArray(t.value)},frameWindow:this.props.frameWindow}),d.createElement(Uu.Z,{items:s,value:{label:a.end,value:a.end},discreteDropdown:!1,isActive:!1,caretDirection:r,accessibilityLabel:e(Pe.Z.endLineCap),className:h()("PSPDFKit-Annotation-Toolbar-EndLineCap",t.endLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:h()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._endButton,ItemComponent:this._endItem,onSelect:(e,t)=>{t.value&&this._onChangeEndLineCap(t.value)},frameWindow:this.props.frameWindow})))}}const rc=nc,oc=(0,xe.vU)({square:{id:"square",defaultMessage:"Square",description:"Square line cap"},circle:{id:"circle",defaultMessage:"Circle",description:"Circle line cap"},diamond:{id:"diamond",defaultMessage:"Diamond",description:"Diamond line cap"},openArrow:{id:"openArrow",defaultMessage:"Open Arrow",description:"Open arrow line cap"},closedArrow:{id:"closedArrow",defaultMessage:"Closed Arrow",description:"Closed arrow line cap"},butt:{id:"butt",defaultMessage:"Butt",description:"Butt line cap"},reverseOpenArrow:{id:"reverseOpenArrow",defaultMessage:"Reverse Open Arrow",description:"Reverse open arrow line cap"},reverseClosedArrow:{id:"reverseClosedArrow",defaultMessage:"Reverse Closed Arrow",description:"Reverse closed arrow line cap"},slash:{id:"slash",defaultMessage:"Slash",description:"Slash line cap"},solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"}});var ic;const ac=74,sc={width:54,height:13.5,fill:"transparent"};const lc=Be.i1*Be.St;function uc(e){let{label:t,element:n}=e;return d.createElement(d.Fragment,null,d.createElement(i.TX,{tag:"div"},t),n)}class cc extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{calculateShapeBoundingBox:(0,L.sS)(this.props.annotation.constructor)}),(0,o.Z)(this,"DashArrayButton",(e=>{var t;let{btnComponentProps:n,selectedItem:r}=e;const o=null!==(t=null==r?void 0:r.label)&&void 0!==t?t:"solid",i=this.props.intl.formatMessage(pc[o]),a=this._lineStyleOptions.get(o);return d.createElement(we.Z,(0,ce.Z)({is:"div"},n,{className:h()("PSPDFKit-Input-Dropdown-Button",Qu().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox",ref:e=>{n.ref(e),"function"==typeof this.props.innerRef?this.props.innerRef(e):this.props.innerRef&&(this.props.innerRef.current=e)}}),d.createElement(uc,{label:i,element:a}),d.createElement("div",null,(0,ke.Z)({type:"caret-"+this.props.caretDirection,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:h()(Qu().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>{var t;let{item:n,state:r,itemComponentProps:o,ref:i}=e;const a=null!==(t=null==n?void 0:n.label)&&void 0!==t?t:"solid",s=this.props.intl.formatMessage(pc[a]),l=this._lineStyleOptions.get(a);return d.createElement(we.Z,(0,ce.Z)({is:"div",className:h()(Xu().root,Gu().root,(null==r?void 0:r.includes("selected"))&&Qu().isSelected,(null==r?void 0:r.includes("focused"))&&Qu().isSelected)},o,{ref:i}),d.createElement(uc,{label:s,element:l}))})),(0,o.Z)(this,"_onChange",((e,t)=>{const{value:n}=t,{annotation:r}=this.props,o="cloudy"===n?Be.i1:0,i=Zu.x.find((e=>e.id===n)),a=((e,t,n)=>{if(e.constructor===de.Xs||e.constructor===de.b3){if(t>0&&!e.cloudyBorderIntensity)return e.boundingBox.grow(lc+e.strokeWidth/2);if(!t&&e.cloudyBorderIntensity>0)return e.boundingBox.grow(-(lc+e.strokeWidth/2))}return e.constructor===de.Hi?n(e.set("cloudyBorderIntensity",t)):n(e)})(r,o,this.state.calculateShapeBoundingBox);return this.props.updateAnnotation({strokeDashArray:void 0!==i&&Array.isArray(i.dashArray)&&2===i.dashArray.length?i.dashArray:null,cloudyBorderIntensity:o,cloudyBorderInset:o?_.eB.fromValue(lc+r.strokeWidth/2):r.cloudyBorderInset,boundingBox:a})})),(0,o.Z)(this,"_lineStyleOptions",function(){const e=new Map;return Zu.x.forEach((t=>{e.set(t.id,d.createElement("svg",{viewBox:"0 0 16 4",style:sc,key:t.id},d.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:t.dashArray})))})),e.set("cloudy",ic||(ic=d.createElement("svg",{viewBox:"0 0 16 4",style:sc,key:"cloudy"},d.createElement("path",{d:"M 1 2.23 A 2.125 2.125 0 0 1 4.67 1.68 A 2.125 2.125 0 0 0 4.35 2.23 A 2.125 2.125 0 0 1 8 1.68 A 2.125 2.125 0 0 0 7.68 2.23 A 2.125 2.125 0 0 1 11.33 1.68 A 2.125 2.125 0 0 0 11.02 2.23 A 2.125 2.125 0 1 1 14.14 4.80 A 2.125 2.125 0 0 0 13.55 4.54"})))),e}(this.props.intl.formatMessage))}static getDerivedStateFromProps(e){return{calculateShapeBoundingBox:(0,L.sS)(e.annotation.constructor)}}render(){const{intl:{formatMessage:e},styles:t,annotation:n,frameWindow:r}=this.props,{strokeDashArray:o,cloudyBorderIntensity:i}=n,a=Array.isArray(o)&&2===o.length&&Zu.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===o[0]&&e.dashArray[1]===o[1])),s=i>0?a||i!==Be.i1?"":"cloudy":a?a.id:o?"":"solid",l=Array.from(this._lineStyleOptions.keys()).map((e=>({label:e,value:e,className:`PSPDFKit-LineStyle-${pc[null!=e?e:"solid"].id}`})));return d.createElement("div",{className:t.controlWrapper},d.createElement("div",{className:t.control},d.createElement(Uu.Z,{items:l,value:{label:s||"solid",value:s||"solid"},discreteDropdown:!1,isActive:!1,caretDirection:this.props.caretDirection,accessibilityLabel:e(Pe.Z.strokeDashArray),className:h()("PSPDFKit-Annotation-Toolbar-LineStyle",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:h()(t.dropdownMenu,t.strokeDashArrayMenu),maxCols:1,itemWidth:ac,ButtonComponent:this.DashArrayButton,ItemComponent:this.DashArrayItem,onSelect:this._onChange,frameWindow:r})))}}const dc=cc,pc=(0,xe.vU)({solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"},cloudy:{id:"cloudy",defaultMessage:"Cloudy border",description:"Cloudy border effect"}});var hc=n(54707);function fc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const mc=d.forwardRef(((e,t)=>{const n=(0,l.v9)((e=>e.shadowRoot));let r=[],i=!1;Array.isArray(it.Options.LINE_WIDTH_PRESETS)&&(r=it.Options.LINE_WIDTH_PRESETS,i=!0);let a=!1,s=!1;e.annotation instanceof _.Zc&&(a=!0),e.annotation instanceof _.R1&&(s=!0);const{intl:{formatMessage:u},styles:c,annotation:p,type:f,caretDirection:m}=e,g=f?`PSPDFKit-${f}-Annotation-Toolbar-StrokeWidth`:"",v=h()("PSPDFKit-Annotation-Toolbar-StrokeWidth",f&&g);let y=1,b=40,w=a?p.lineWidth:s?p.borderWidth:p.strokeWidth;return i&&(y=0,b=r.length-1,w=r.indexOf(w)),d.createElement("div",{className:c.controlWrapper},d.createElement("div",{className:c.control},d.createElement(hc.Z,{name:"lineWidth",accessibilityLabel:e.accessibilityLabel||u(Pe.Z.size),className:v,value:w,valueLabel:t=>{let n=t;if(i){if(-1===t)return"N/A";n=r[t]}return e.intl.formatMessage(Pe.Z.numberInPt,{arg0:n.toFixed(0)})},min:y,max:b,step:1,onChange:t=>{let n=t;if(i&&(n=r[t]),a)return e.updateAnnotation({lineWidth:n});if(s)return e.updateAnnotation({borderWidth:n});if(e.annotation instanceof _.b3||e.annotation instanceof _.Xs){const t=n/2-e.annotation.strokeWidth/2,r=e.annotation.cloudyBorderInset?new _.eB({left:e.annotation.cloudyBorderInset.left+t,top:e.annotation.cloudyBorderInset.top+t,right:e.annotation.cloudyBorderInset.right+t,bottom:e.annotation.cloudyBorderInset.bottom+t}):null;return e.updateAnnotation(function(e){for(var t=1;tthis.props.updateAnnotation({opacity:e/100}))),(0,o.Z)(this,"valueLabel",(e=>`${Math.round(e)}%`))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,type:r,caretDirection:o}=this.props,i=r?`PSPDFKit-${r}-Annotation-Toolbar-Opacity`:"",a=h()("PSPDFKit-Annotation-Toolbar-Opacity",r&&i);return d.createElement("div",{className:t.controlWrapper},d.createElement("div",{className:t.control},d.createElement(hc.Z,{name:"opacity",accessibilityLabel:e(Pe.Z.opacity),className:a,value:100*n.opacity,valueLabel:this.valueLabel,min:10,max:100,step:1,onChange:this.updateAnnotation,caretDirection:o,innerRef:this.props.innerRef,shadowRoot:this.props.shadowRoot})))}}const yc={LineCapsDashArrayComponent:rc,LineStyleComponent:dc,StrokeWidthComponent:gc,OpacityComponent:vc};var bc=n(54130),wc=n(35012),xc=n(16165),Dc=n.n(xc);let Cc=0;const Ec=d.forwardRef((function(e,t){const n=d.useRef(Cc++),{label:r,accessibilityLabel:o,onUpdate:a,onBlur:s,onFocus:l,onKeyDown:u,textStyles:c,disabled:p=!1,autoFocus:f=!0,name:m="name"}=e,g=d.useCallback((e=>{a&&a(e.target.value)}),[a]);return d.createElement("div",{className:e.styles.controlWrapper},d.createElement("div",{className:e.styles.control},d.createElement("div",{className:`PSPDFKit-Text-Input ${e.className||""} ${Dc().root}`},e.label?d.createElement("label",{htmlFor:`${Dc().root}-${n.current}`,className:Dc().label},r):o?d.createElement(i.TX,{tag:"label",htmlFor:`${Dc().root}-${n.current}`},o):null,d.createElement(i.oi,{className:h()(Dc().input,e.styles.input),value:e.value,onChange:g,onBlur:s,onFocus:l,onKeyDown:u,autoFocus:f,selectTextOnFocus:!0,name:m,placeholder:e.placeholder,autoComplete:"off",id:`${Dc().root}-${n.current}`,ref:t,style:c,disabled:p}))))}));var Sc=n(44170),_c=n.n(Sc);const Pc=d.forwardRef((function(e,t){const{intl:n,isEditing:r,showAnnotationNotes:o,isAnnotationNoteActive:i,hasAnnotationNote:a,onAnnotationNotePress:s,disabled:l}=e,{formatMessage:u}=n;return d.createElement(d.Fragment,null,o&&!r?d.createElement(bc.Z,{type:a||i?"note":"note-add",title:u(Pe.Z.noteAnnotation),className:h()(_c().button,_c().annotationNoteButton,{[_c().disableEditing]:l}),onPress:l?void 0:s,selected:i,ref:t}):null)}));var kc=n(31647),Ac=n(80292),zc=n(76465);function Tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oc(e){for(var t=1;t{let{annotationToolbarItems:t,builtInItems:n,btnFocusRefIfFocusedItem:r,onGroupExpansion:o,builtInToolbarProps:i={},expandedGroup:a,hasDesktopLayout:s,onGroupTransitionEnded:l,position:u,typeMap:c}=e;const p=(0,d.useMemo)((()=>t.every((e=>{if(Ic(e))return!1;if("spacer"===e.type)return!0;{const t=n.find((t=>t.type===e.type));return!(null==t||!t.hidden)}}))),[n,t]),f=a?n.find((e=>Fc(e)===a))||t.filter(Ic).find((e=>Fc(e)===a)):void 0,m=(0,d.useMemo)((()=>((e,t,n)=>{if(n)return e.map((e=>{const n=!Ic(e)&&t.find((t=>t.type===e.type));return Oc(Oc({},e),n&&{group:n.group,node:n.node,title:e.title||n.title,onPress:(t,r)=>{var o,i;null===(o=n.onPress)||void 0===o||o.call(n,t.nativeEvent,e.id),null===(i=e.onPress)||void 0===i||i.call(e,t.nativeEvent,r)},disabled:n.disabled&&e.disabled,className:h()(n.className,e.className)})})).find((e=>n===Fc(e)))})(t,n,a)),[t,a,n]);if(m)return d.createElement("div",{className:_c().right},d.createElement(zc.Z,{onClose:()=>o(null),isPrimary:!1,position:u,onEntered:l,accessibilityLabel:m?m.title:void 0,className:_c().expanded},(0,io.Re)(m.node)?d.createElement(Ac.Z,{node:m.node,className:m.className,onPress:m.onPress,title:m.title,disabled:m.disabled}):d.createElement("div",{className:m.className,onClick:e=>{var t;return null===(t=m.onPress)||void 0===t?void 0:t.call(m,e.nativeEvent,m.id)},title:m.title},m.node)));if(p)return null;const g=t.find((e=>{var t;return"spacer"!==e.type&&!(null!==(t=n.find((t=>t.type===e.type)))&&void 0!==t&&t.hidden)}));return d.createElement("form",{className:_c().form,onSubmit:io.PF},t.map(((e,t)=>{if("spacer"===e.type)return d.createElement("div",{key:e.type,className:h()("PSPDFKit-Annotation-Toolbar-Spacer",e.className),style:{display:"flex",flex:1},onClick:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t.nativeEvent,e.id)}});const l=n.find((t=>t.type===e.type)),u=(null==g?void 0:g.id)===e.id&&(null==g?void 0:g.type)===e.type;if(Ic(e)){const n="node"in e&&!!e.node&&d.createElement("div",{role:"button",ref:r(Fc(e),f,0===t&&!a),key:e.id},d.createElement(Ac.Z,{node:e.node,className:e.className,onPress:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled,variant:"annotationToolbar"})),i="icon"in e&&!!e.icon&&d.createElement("div",{role:"button",key:e.id,className:h()(_c().button,Gu().root,Xu().root,`${e.className}-Icon`),onClick:t=>{var n;"custom"===e.type&&e.node&&o(`custom-${e.id}`),null===(n=e.onPress)||void 0===n||n.call(e,t,e.id)},ref:r(Fc(e),f,u&&!a),title:e.title},(e=>"icon"in e?"string"==typeof e.icon?/{var n;return null===(n=e.onIconPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled}):void 0:null)(e));return s?n||i:i||n}if(!l||l.hidden)return null;const p=(null==c?void 0:c[e.type])||e.type,m="function"==typeof i?i(l):i;return l.group?d.createElement(d.Fragment,{key:l.type},d.createElement("div",{className:h()(l.className,{[_c().disableEditing]:l.disabled})},d.createElement(bc.Z,(0,ce.Z)({type:p,icon:e.icon,title:e.title||l.title,onPress:t=>{var n,r;(o(l.group||null),s)?null===(n=e.onPress)||void 0===n||n.call(e,t,e.id):null===(r=e.onIconPress)||void 0===r||r.call(e,t,e.id)}},m,{className:h()(m.className,e.className),ref:r(Fc(l),f,u&&!a)})),l.node),!l.hideSeparator&&d.createElement("div",{className:_c().separator})):d.createElement("div",{className:h()(l.className,{[_c().disableEditing]:l.disabled},e.className),key:l.type,onClick:t=>{var n;null===(n=e.onPress)||void 0===n||n.call(e,t.nativeEvent,e.id)},title:e.title||l.title},l.node)})))};var Rc=n(5283);function jc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bc(e){for(var t=1;te.shadowRoot)),v=(0,Fo.R9)((i=>{o&&(t.rects.size>0&&n?(r((0,yt.gX)(i)),r((0,Vt.aw)()),r((0,Se.vR)())):e.updateAnnotation(i,"redaction"))})),y=(0,Fo.R9)((()=>(r((0,Vt.fq)()),new Promise(((e,t)=>(r((0,kc.g)((()=>{r((0,Vt.Di)()),e()}),(e=>{r((0,Vt.Di)()),t(e)}))),e)))))),{position:b,intl:w}=e,{formatMessage:x}=w,D={updateAnnotation:v,annotation:t,styles:_c(),intl:w,caretDirection:"bottom"===b?"up":"down"},C=[{node:d.createElement(wc.Z,(0,ce.Z)({},D,{record:t,colorProperty:"fillColor",onChange:v,className:"PSPDFKit-Redaction-Annotation-Toolbar-Fill-Color",accessibilityLabel:x(Pe.Z.fillColor),removeTransparent:!0,keepOpacity:!0,frameWindow:e.frameWindow,innerRef:u("fillColor",!s),lastToolbarActionUsedKeyboard:p,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:x(Pe.Z.fillColor),type:"fill-color",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Fill-Color"),group:"fillColor",disabled:!o,hideSeparator:!0},{node:d.createElement("div",{style:{display:"flex"}},d.createElement(Ec,{accessibilityLabel:x(Pe.Z.overlayText),placeholder:x(Pe.Z.insertOverlayText),className:_c().overlayTextInput,value:t.overlayText||"",onUpdate:e=>{v({overlayText:e})},styles:Bc(Bc({},_c()),{},{controlWrapper:_c().controlWrapperAutoWidth,input:_c().overlayInput}),ref:u("overlayText")}),d.createElement(wc.Z,(0,ce.Z)({},D,{record:t,colorProperty:"color",onChange:v,className:"PSPDFKit-Redaction-Annotation-Toolbar-Color",removeTransparent:!0,accessibilityLabel:x(Pe.Z.color),keepOpacity:!0,styles:Bc(Bc({},_c()),{},{controlWrapper:_c().controlWrapperAutoWidth}),frameWindow:e.frameWindow,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),d.createElement(i.bK,{label:x(Pe.Z.repeatText),value:Boolean(t.repeatOverlayText),onUpdate:e=>{v({repeatOverlayText:e})},styles:Bc(Bc({},_c()),{},{controlWrapper:_c().controlWrapperAutoWidth})})),title:x(Pe.Z.overlayText),group:"overlayText",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Overlay-Text",_c().overlayTextMargin),disabled:!e.canEditAnnotationCP,type:"overlay-text"},{node:d.createElement(wc.Z,(0,ce.Z)({},D,{record:t,colorProperty:"outlineColor",onChange:v,className:"PSPDFKit-Redaction-Annotation-Toolbar-Outline-Color",accessibilityLabel:x(Pe.Z.outlineColor),frameWindow:e.frameWindow,innerRef:u("outlineColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:x(Pe.Z.outlineColor),group:"outlineColor",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Outline-Color"),disabled:!e.canEditAnnotationCP,type:"outline-color"},{node:d.createElement(yc.OpacityComponent,(0,ce.Z)({},D,{innerRef:u("opacity"),shadowRoot:g})),title:x(Pe.Z.opacity),group:"opacity",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),disabled:!e.canEditAnnotationCP,type:"opacity"},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(f),title:x(Pe.Z.delete),className:h()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!a}),onPress:a?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===t.pageIndex||!!s||m},{node:d.createElement("div",{className:h()(_c().applyRedactionsWrapper)},d.createElement(bc.Z,{type:"applyRedaction",title:x(Pe.Z.applyRedactions),className:h()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Apply-Redactions",_c().button,_c().buttonNoBorder,_c().applyRedactionsButton),onPress:y})),type:"apply-redactions",hidden:null===t.pageIndex||!!s||m},{node:d.createElement(Pc,{intl:w,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),disabled:!e.canEditAnnotationCP,hidden:!e.showAnnotationNotes||n,type:"annotation-note"}],E={"overlay-text":t.repeatOverlayText?"redaction-text-repeating":"redaction-text-single","outline-color":"border-color"},S={presentational:e.viewportWidth>Be.GI,disabled:Boolean(s),className:h()(_c().button,_c().buttonNoBorder)};return d.createElement("div",{className:h()("PSPDFKit-Redaction-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:f,builtInItems:C,btnFocusRefIfFocusedItem:c,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:S,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:s,onGroupTransitionEnded:e.onGroupTransitionEnded,position:b,typeMap:E}))}));const Lc=Nc,Kc=d.memo((function(e){const{annotation:t,intl:n,position:r,expandedGroup:o,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:u}=e,c=(0,l.v9)((e=>e.shadowRoot)),p=(0,Fo.R9)((t=>e.updateAnnotation(t,"stamp"))),{formatMessage:f}=n,m=[{node:d.createElement(yc.OpacityComponent,{intl:n,type:"Image",styles:_c(),annotation:t,updateAnnotation:p,caretDirection:"bottom"===r?"up":"down",innerRef:i("opacity",!o),shadowRoot:c}),title:f(Pe.Z.opacity),type:"opacity",disabled:!e.canEditAnnotationCP,group:"opacity",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(u),title:f(Pe.Z.delete),className:h()("PSPDFKit-Stamp-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",disabled:null===e.annotation.pageIndex},{node:d.createElement(Pc,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",disabled:!e.showAnnotationNotes}];return d.createElement("div",{className:h()("PSPDFKit-Stamp-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:u,builtInItems:m,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:_c().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:o,onGroupTransitionEnded:e.onGroupTransitionEnded,position:r}))}));const Vc=Kc,qc=d.memo((function(e){const{annotation:t,intl:n,position:r,expandedGroup:o,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:u}=e,c=(0,l.v9)((e=>e.shadowRoot)),p=(0,Fo.R9)((t=>e.updateAnnotation(t,"image"))),{formatMessage:f}=n,m=[{node:d.createElement(yc.OpacityComponent,{intl:n,type:"Image",styles:_c(),annotation:t,updateAnnotation:p,caretDirection:"bottom"===r?"up":"down",innerRef:i("opacity",!o),shadowRoot:c}),title:f(Pe.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement(bc.Z,{type:"counterclockwise",title:f(Pe.Z.rotateCounterclockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Counterclockwise ${_c().button} ${_c().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,j.eJ)(e.annotation,e.selectedAnnotationPageSize,j.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:d.createElement(bc.Z,{type:"clockwise",title:f(Pe.Z.rotateClockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Clockwise ${_c().button} ${_c().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,j.eJ)(e.annotation,e.selectedAnnotationPageSize,j.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(u),title:f(Pe.Z.delete),className:h()("PSPDFKit-Image-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!o},{node:d.createElement(Pc,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.areOnlyElectronicSignaturesEnabled}];return d.createElement("div",{className:h()("PSPDFKit-Image-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:u,builtInItems:m,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:_c().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:o,onGroupTransitionEnded:e.onGroupTransitionEnded,position:r}))}));const Hc=qc;var Zc=n(68938),Uc=n.n(Zc);const $c=["Tab","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"];class Gc extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{keyboardFocus:!!this.props.lastToolbarActionUsedKeyboard}),(0,o.Z)(this,"_handleKeyUp",(e=>{$c.includes(e.key)&&this.setState({keyboardFocus:!0})})),(0,o.Z)(this,"_handlePointerUp",(()=>{this.setState({keyboardFocus:!1})})),(0,o.Z)(this,"shouldComponentUpdate",_e.O)}componentDidMount(){var e;const t=null===(e=this.props.innerRef)||void 0===e||null===(e=e.current)||void 0===e?void 0:e.parentNode;t&&t.focus()}render(){const{colorPresets:e,activeColor:t,innerRef:n}=this.props,{formatMessage:r}=this.props.intl;return this.props.colorPresets.length<2?null:d.createElement("div",{className:h()("PSPDFKit-Input-ColorPicker",this.props.className,Uc().root),role:"radiogroup","aria-label":this.props.accessibilityLabel,onKeyUp:this._handleKeyUp,onPointerUp:this._handlePointerUp,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||this.setState({keyboardFocus:!1})}},e.map(((e,o)=>{const a=e.color===t||e.color&&t&&e.color.equals(t),s=h()({[Uc().input]:!0,[Uc().inputIsActive]:a,"PSPDFKit-Input-ColorPicker-Label":!0,"PSPDFKit-Input-ColorPicker-Label-active":a,[Uc().focusRing]:this.state.keyboardFocus&&a}),l=h()({[Uc().swatch]:!0,[Uc().swatchIsTransparent]:!e.color,[Uc().swatchIsWhite]:!e.color||e.color.equals(_.Il.WHITE),"PSPDFKit-Input-ColorPicker-Swatch":!0}),u=e.color?e.color.toCSSValue():null;let c=e.localization.defaultMessage;null!=u&&(e.localization.id?c=r(e.localization):null!=Pe.Z[u]&&(c=r(Pe.Z[u])));const p=e.color&&e.color.toCSSValue();return d.createElement("label",{className:s,key:o,title:c,"aria-label":c},d.createElement("span",{className:l,style:{backgroundColor:p||"transparent"}}),d.createElement(i.TX,null," ",c," "),d.createElement(i.TX,{tag:"input",type:"radio",name:Uc().root,value:o,checked:!!a,onChange:t=>{t.target.checked&&this.props.onClick(e.color)},ref:a&&n?n:void 0}))})))}}(0,o.Z)(Gc,"defaultProps",{className:""});const Wc=(0,xe.XN)(Gc);var Xc=n(3792);const Yc=d.forwardRef((function(e,t){let{value:n="normal",onChange:r,className:o,caretDirection:i,frameWindow:a}=e;const{formatMessage:s}=(0,xe.YB)(),l=Object.keys(Xc.b).map((e=>({value:e,label:e}))),u=d.useCallback(Qc(s,i),[s,i]),c=d.useCallback(Jc(s),[s]);return d.createElement(d.Fragment,null,d.createElement(Uu.Z,{items:l,value:{label:n,value:n},discreteDropdown:!1,isActive:!1,caretDirection:i,accessibilityLabel:s(Pe.Z.blendMode),className:h()(_c().blendModeSelect,o,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:_c().dropdownMenu,ButtonComponent:u,ItemComponent:c,onSelect:(e,t)=>{if(t.value){const e=Xc.b[t.value];r(e)}},frameWindow:a,ref:t}),d.createElement("div",{className:h()(_c().fontSizeNativeFlexbox)},d.createElement("div",{className:_c().nativeDropdown},d.createElement("select",{"aria-label":s(Pe.Z.blendMode),className:"PSPDFKit-Input-Dropdown-Select",value:n,onChange:e=>{if(void 0!==e.target.value){const t=Xc.b[e.target.value];r(t)}},ref:t},l.map((e=>d.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},s(ed[e.label]))))))))})),Qc=(e,t)=>n=>{let{btnComponentProps:r,selectedItem:o}=n;return d.createElement(we.Z,(0,ce.Z)({is:"div"},r,{ref:r.ref,className:h()("PSPDFKit-Input-Dropdown-Button ",Qu().selectBox,_c().selectBox),style:{minWidth:"100px"}}),d.createElement("span",null,null!=o&&o.label?e(ed[o.label]):null),d.createElement("div",null,(0,ke.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12},className:h()(Qu().dropdownIcon)})))},Jc=e=>t=>{let{item:n,state:r,itemComponentProps:o,ref:i}=t;return d.createElement(we.Z,(0,ce.Z)({is:"div",ref:i,className:h()(Qu().item,{[Qu().isSelected]:(null==r?void 0:r.includes("selected"))||(null==r?void 0:r.includes("focused"))}),name:null==n?void 0:n.label},o),null!=n&&n.label?e(ed[n.label]):null)},ed=(0,xe.vU)({normal:{id:"normal",defaultMessage:"Normal",description:"Blend Mode Normal"},multiply:{id:"multiply",defaultMessage:"Multiply",description:"Blend Mode Multiply"},screen:{id:"screenBlend",defaultMessage:"Screen",description:"Blend Mode Screen"},overlay:{id:"overlay",defaultMessage:"Overlay",description:"Blend Mode Overlay"},darken:{id:"darken",defaultMessage:"Darken",description:"Blend Mode Darken"},lighten:{id:"lighten",defaultMessage:"Lighten",description:"Blend Mode Lighten"},colorDodge:{id:"colorDodge",defaultMessage:"Color Dodge",description:"Blend Mode Color Dodge"},colorBurn:{id:"colorBurn",defaultMessage:"Color Burn",description:"Blend Mode Color Burn"},hardLight:{id:"hardLight",defaultMessage:"Hard Light",description:"Blend Mode Hard Light"},softLight:{id:"softLight",defaultMessage:"Soft Light",description:"Blend Mode Soft Light"},difference:{id:"difference",defaultMessage:"Difference",description:"Blend Mode Difference"},exclusion:{id:"exclusion",defaultMessage:"Exclusion",description:"Blend Mode Exclusion"},hue:{id:"hue",defaultMessage:"Hue",description:"Blend Mode Hue"},saturation:{id:"saturation",defaultMessage:"Saturation",description:"Blend Mode Saturation"},color:{id:"color",defaultMessage:"Color",description:"Blend Mode Color"},luminosity:{id:"luminosity",defaultMessage:"Luminosity",description:"Blend Mode Luminosity"}}),td=d.memo((function(e){const t=(0,Fo.R9)((t=>{const{annotation:n,isEditing:r,dispatch:o,variantAnnotationPresetID:i,canEditAnnotationCP:a}=e;if(a)if(n.rects.size>0&&r)o((0,yt.gX)(t)),o((0,Vt.d5)()),o((0,Se.vR)());else{const r=i||X.hD.get(n.constructor);e.updateAnnotation(t,r)}})),{position:n,annotation:r,expandedGroup:o,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,lastToolbarActionUsedKeyboard:u,annotationToolbarItems:c}=e,p=(0,l.v9)((e=>e.shadowRoot)),{formatMessage:f}=e.intl,m=it.Options.TEXT_MARKUP_COLOR_PRESETS,g=it.Options.HIGHLIGHT_COLOR_PRESETS,v=r instanceof _.FV?g:m,y=[{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(Wc,{className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Color",accessibilityLabel:f(Pe.Z.color),colorPresets:v,activeColor:r.color,onClick:e=>t({color:e}),innerRef:i("color",!o),lastToolbarActionUsedKeyboard:u}))),title:f(Pe.Z.color),group:"color",type:"color",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Color")},{node:d.createElement(yc.OpacityComponent,{intl:e.intl,type:"Text-Markup",styles:_c(),annotation:r,updateAnnotation:e=>t(e),caretDirection:"bottom"===n?"up":"down",innerRef:i("opacity"),shadowRoot:p}),title:f(Pe.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(Yc,{value:r.blendMode,className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===n?"up":"down",frameWindow:e.frameWindow,ref:i("blendMode")}))),title:f(Pe.Z.blendMode),group:"blendMode",type:"blend-mode",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode")},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(c),title:f(Pe.Z.delete),className:h()("PSPDFKit-Text-Markup-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!o||e.isEditing},{node:d.createElement(Pc,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],b={className:_c().button,presentational:e.viewportWidth>=Be.GI,disabled:!!o};return d.createElement("div",{className:h()("PSPDFKit-Text-Markup-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:c,builtInItems:y,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:b,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:o,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:{color:"border-color"}}))}));const nd=td;var rd=n(4345),od=n(8968),id=n(13538),ad=n(8087),sd=n.n(ad),ld=n(79579),ud=n.n(ld);const cd=e=>{let{item:t,state:n,itemComponentProps:r,ref:o}=e;return d.createElement(dd,{item:t,state:n,fontFamily:void 0,itemComponentProps:r,ref:o})},dd=d.forwardRef(((e,t)=>{var n;let{item:r,state:o,fontFamily:i,itemComponentProps:a,width:s}=e;return d.createElement(we.Z,(0,ce.Z)({is:"div",className:h()(Qu().item,sd().item,{[Qu().isSelected]:(null==o?void 0:o.includes("selected"))||(null==o?void 0:o.includes("focused"))}),name:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,style:{fontFamily:i,width:s},ref:t},a),null!=o&&o.includes("selected")?d.createElement(Re.Z,{src:ud(),className:sd().icon}):d.createElement("span",{className:sd().icon}),null==r?void 0:r.label)})),pd=e=>function(t){var n;let{btnComponentProps:r,selectedItem:o,caretDirection:a,disabled:s,isOpen:l}=t;const u=d.useRef(),{formatMessage:c}=(0,xe.YB)();d.useLayoutEffect((()=>{u.current&&(u.current.value=(null==o?void 0:o.label)||"")}),[o]);const p=d.useCallback((()=>{var t;const n=null===(t=u.current)||void 0===t?void 0:t.value;if(n&&u.current&&n!==(null==o?void 0:o.label)){const t=parseFloat(n);var r,i,a;if(Number.isNaN(t))u.current.value=null!==(r=null==o?void 0:o.label)&&void 0!==r?r:"";else e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!1})}}),[null==o?void 0:o.label]);return d.createElement("div",{className:h()(sd().wrapper)},d.createElement(Ec,{accessibilityLabel:c(Pe.Z.fontSize),className:sd().textInput,onBlur:p,onKeyDown:t=>{var n,r;const o=null!==(n=null===(r=u.current)||void 0===r?void 0:r.value)&&void 0!==n?n:"0";if("ArrowUp"===t.key){var i,a;const t=parseFloat(o)+1;e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!0})}else if("ArrowDown"===t.key){var s,l;const t=Math.max(0,parseFloat(o)-1);e({selectedItem:{label:null!==(s=t.toString())&&void 0!==s?s:"",value:null!==(l=t.toString())&&void 0!==l?l:""},preventFocusShift:!0})}else"Enter"===t.key&&(t.preventDefault(),p())},onFocus:()=>{Ke.G6&&setTimeout((()=>{u.current&&u.current.setSelectionRange(0,u.current.value.length)}),100)},name:"fontSize",styles:{input:h()({[sd().inputDisabled]:s},sd().textInputField)},disabled:s,ref:u,autoFocus:!1}),d.createElement("button",(0,ce.Z)({},r,{ref:r.ref,key:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,className:h()("PSPDFKit-Input-Dropdown-Button",Qu().selectBox,sd().arrowDropdownBtn,sd().fontSizeDropdownBtn,{[sd().inputDisabled]:s,[Qu().disabled]:s}),disabled:s}),d.createElement(i.TX,null,c(Pe.Z.fontSize)),d.createElement("div",null,(0,ke.Z)({type:`caret-${a}`,style:{width:12,height:12,flexBasis:12},className:h()(Qu().dropdownIcon,{[Qu().isOpen]:l})}))))},hd=function(e){const{disabled:t=!1}=e;return d.createElement(Uu.Z,{frameWindow:e.frameWindow,items:e.items,value:e.value,className:e.className,maxCols:1,isActive:!1,caretDirection:e.caretDirection,disabled:t,menuClassName:h()(e.menuClass,sd().dropdownMenu),ButtonComponent:pd(e.onSelect),ItemComponent:cd,onSelect:(t,n)=>{e.onSelect({selectedItem:n,preventFocusShift:!1})},menuPositionOffsets:{top:-1}})},fd=d.forwardRef((function(e,t){var r,o;const{caretDirection:a,onChange:s,frameWindow:l,intl:u,styles:c,fontSizes:p,fontFamilyItems:f,isBold:m=!1,isItalic:g=!1,isUnderline:v=!1,currentFontFamily:y,currentFontSize:b,currentHorizontalAlign:w,currentVerticalAlign:x,showAlignmentOptions:D,showFontStyleOptions:C,disabled:E=!1,showUnderline:S=!1}=e,{formatMessage:_}=u,P=d.useCallback(vd(150,a,c,E,c.fontFamily),[a,c,E]),k=p.map((e=>({label:e.toString(),value:e.toString(),disabled:!1}))),A=f.map((e=>{var t,n;return d.createElement("option",{key:null!==(t=e.value)&&void 0!==t?t:e.label,value:null!==(n=e.value)&&void 0!==n?n:e.label,disabled:e.disabled},e.label)}));return d.createElement("div",{className:c.controlWrapper},d.createElement("div",{className:h()(c.control,c.textFormatControls)},d.createElement("div",{className:h()(c.fontFamilyNativeFlexbox)},d.createElement("div",{className:c.nativeDropdown},d.createElement("select",{"aria-label":_(Pe.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:null!=y?y:"",onChange:e=>{void 0!==e.target.value&&s({modification:{font:e.target.value}})},ref:t,disabled:E},A,f.some((e=>e.value===y))?null:d.createElement("option",{style:{display:"none"}},y)))),d.createElement(Uu.Z,{items:f,value:y?{label:y,value:y}:null,accessibilityLabel:_(Pe.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:a,className:h()(e.fontFamilyClasses,c.fontFamilySelect),menuClassName:h()(c.dropdownMenu,e.fontFamilyMenuClasses),ButtonComponent:P,ItemComponent:gd,onSelect:(e,t)=>{null!=t.value&&s({modification:{font:t.value}})},frameWindow:l,disabled:E}),d.createElement(hd,{items:k,value:{label:b?b.toString():"",value:(null!=b?b:"").toString()||""},frameWindow:l,className:h()(c.fontSizeSelect,e.fontSizeClasses),menuClass:h()(e.fontSizeMenuClasses),caretDirection:a,disabled:E,onSelect:e=>{let{selectedItem:t,preventFocusShift:n}=e;null!=t.value&&s({modification:{fontSize:Number(t.value)},preventFocusShift:n})}}),C?d.createElement(d.Fragment,null,d.createElement(i.zx,{className:h()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:m}),style:{marginRight:8},title:_(Pe.Z.bold),onClick:()=>{s({modification:{bold:!m}})},disabled:E,"aria-pressed":m},d.createElement(Re.Z,{src:n(6274)}),d.createElement(i.TX,null,_(Pe.Z.bold))),d.createElement(i.zx,{className:h()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:g}),onClick:()=>{s({modification:{italic:!g}})},disabled:E,title:_(Pe.Z.italic),"aria-pressed":g},d.createElement(Re.Z,{src:n(66311)}),d.createElement(i.TX,null,_(Pe.Z.italic))),S&&d.createElement(i.zx,{className:h()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:v}),style:{marginLeft:8},onClick:()=>{s({modification:{underline:!v}})},disabled:E,title:_(Pe.Z.underline),"aria-pressed":v},d.createElement(Re.Z,{src:n(1438)}),d.createElement(i.TX,null,_(Pe.Z.underline)))):null,D?d.createElement(d.Fragment,null,d.createElement("span",{className:c.radioGroupWrapper},d.createElement(i.Ee,{inputName:"horizontalAlign",label:_(Pe.Z.horizontalAlignment),selectedOption:null!=w?w:"",labelClassNamePrefix:null!==(r=e.horizontalAlignClasses)&&void 0!==r?r:"",options:["left","center","right"].map((e=>({value:e,label:_(Pe.Z[`alignment${(0,gn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:e=>s({modification:{horizontalAlign:e}}),disabled:E})),d.createElement(i.Ee,{inputName:"verticalAlign",label:_(Pe.Z.verticalAlignment),selectedOption:null!=x?x:"",labelClassNamePrefix:null!==(o=e.verticalAlignClasses)&&void 0!==o?o:"",options:["top","center","bottom"].map((e=>({value:e,label:_(Pe.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:e=>s({modification:{verticalAlign:e}}),disabled:E})):null))})),md=d.forwardRef(((e,t)=>{var n;let{item:r,state:o,fontFamily:i,itemComponentProps:a,width:s}=e;return d.createElement(we.Z,(0,ce.Z)({is:"div",className:h()(Qu().item,{[Qu().isSelected]:(null==o?void 0:o.includes("selected"))||(null==o?void 0:o.includes("focused"))}),name:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,style:{fontFamily:i,width:s},ref:t},a),null==r?void 0:r.label)})),gd=e=>{let{item:t,state:n,itemComponentProps:r}=e;return d.createElement(md,{item:t,state:n,fontFamily:null==t?void 0:t.label,itemComponentProps:r})},vd=(e,t,n,r,o)=>i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;return d.createElement("button",(0,ce.Z)({},s,{ref:s.ref,key:null!==(a=null==l?void 0:l.value)&&void 0!==a?a:null==l?void 0:l.label,className:h()("PSPDFKit-Input-Dropdown-Button",Qu().selectBox,n.selectBox,{[Gu().isDisabled]:r,[n.controlIsDisabled]:r,[Qu().disabled]:r}),style:{width:e},disabled:r}),d.createElement("span",{className:o},null==l?void 0:l.label),d.createElement("div",null,(0,ke.Z)({type:`caret-${t}`,style:{width:12,height:12,flexBasis:12},className:h()(Qu().dropdownIcon)})))};var yd=n(17448),bd=n.n(yd);function wd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xd(e){for(var t=1;te-t)):p,m=od.vt.toArray().map((e=>({label:e,value:e}))),g=m.concat(u.toArray().map((e=>({label:e,value:e}))).filter((e=>!m.some((t=>t.value===e.value)))));if(!od.vt.has(n.font)&&!u.has(n.font)&&""!==n.font.trim()){const e=c(Pe.Z.fontFamilyUnsupported,{arg0:n.font});g.push({label:e,value:e,disabled:!0})}return d.createElement(fd,{onChange:e=>{let{modification:t}=e;return o(t)},caretDirection:r,frameWindow:i,ref:t,intl:a,styles:xd(xd({},s),{},{fontStyleBtn:bd().fontStyleBtn,fontStyleBtnBorderless:bd().fontStyleBtnBorderless,activeFontStyleBtn:bd().activeFontStyleBtn}),fontSizes:f,fontFamilyItems:g,showAlignmentOptions:!0,showFontStyleOptions:l,showUnderline:l,isBold:e.selectedIsBold,isItalic:e.selectedIsItalic,isUnderline:e.selectedIsUnderline,currentFontFamily:n.font,currentFontSize:h,currentHorizontalAlign:n.horizontalAlign,currentVerticalAlign:n.verticalAlign,fontFamilyClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Family",fontSizeClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Size",horizontalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Vertical-Alignment",inlineStyleClasses:"PSPDFKit-Text-Annotation-Toolbar-Inline-Style"})}));function Cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ed(e){for(var t=1;te.shadowRoot)),o="xhtml"===e.annotation.text.format,a=(0,Fo.R9)((t=>{if(!e.canEditAnnotationCP)return;let n=e.annotation.merge(t);if((0,j.Vc)(n))e.updateAnnotation(t);else if(e.selectedAnnotationPageSize&&(t.fontSize||t.font||t.text&&"xhtml"===t.text.format)){const{rotation:o}=n;let i=(0,qe.h4)(n);const a=i.boundingBox.getCenter();i=(0,pn.Zv)(i.set("rotation",0),e.selectedAnnotationPageSize,e.zoomLevel,r),i=(0,pn.XA)(i,e.zoomLevel);const s=new _.E9({x:i.boundingBox.getCenter().x-a.x,y:i.boundingBox.getCenter().y-a.y}),l=s.rotate(o),u=new _.E9({x:l.x-s.x,y:l.y-s.y});i=i.update("boundingBox",(e=>null==e?void 0:e.translate(u))),n=(0,qe.az)(i.set("rotation",o)),e.updateAnnotation(Pd(Pd({},t),{},{isFitting:n.isFitting,boundingBox:n.boundingBox}))}else{const{isFitting:r}=(0,pn.XA)((0,qe.h4)(n).set("rotation",0),e.zoomLevel);e.updateAnnotation(Pd(Pd({},t),{},{isFitting:r}))}e.richTextEditorRef&&rd.F3.focus(e.richTextEditorRef)})),{activeTextStyle:s,updateAnnotationOrEditorText:u,selectedIsUnderline:c,selectedIsBold:p,selectedIsItalic:f}=function(e){let{editor:t,frameWindow:n,updateAnnotation:r,text:o,isRichText:a}=e;const[s,l]=(0,d.useState)(null),[u,c]=(0,d.useState)(!1),[p,h]=(0,d.useState)(!1),[f,m]=(0,d.useState)(!1),g=(0,d.useCallback)((()=>{t&&(c(i.ri.isMarkActive(t,"bold")),h(i.ri.isMarkActive(t,"italic")),m(i.ri.isMarkActive(t,"underline")))}),[t]),v=(0,d.useCallback)((()=>{if(!t||!a)return;const e=(0,gn.BK)(i.ri.getSelectedNodesColor(t,"fontColor")),n=(0,gn.BK)(i.ri.getSelectedNodesColor(t,"backgroundColor"));l({fontColor:e?_.Il.fromHex(e):Sd,backgroundColor:n?_.Il.fromHex(n):null}),g()}),[t,g,a]);t&&(t.onSelectionChange=v,t.onValueChange=()=>{g(),v()}),(0,d.useEffect)((()=>{var e;if(a&&t)return null===(e=n.document)||void 0===e||e.addEventListener("keydown",r),()=>{var e;null===(e=n.document)||void 0===e||e.removeEventListener("keydown",r)};function r(e){t&&(!e.ctrlKey&&!e.metaKey||"u"!==e.key&&"i"!==e.key&&"b"!==e.key||g())}}),[t,n,a,g]);const y=(0,d.useCallback)((e=>{const a=new Map(Object.entries(e)),s=a.has("fontColor")||a.has("backgroundColor"),u=a.has("bold")||a.has("italic")||a.has("underline");if(s){const a=e.fontColor?"fontColor":"backgroundColor";var d,p;if(i.ri.isRangeSelected(t))i.ri.applyStyle(t,a,!e[a]||null!==(d=e[a])&&void 0!==d&&d.equals(_.Il.TRANSPARENT)?null:e[a].toHex()),r({text:{format:"xhtml",value:i.ri.serialize(null==t?void 0:t.children[0])}}),l((t=>Ed(Ed({},t),{},{[a]:e[a]}))),null===(p=n.getSelection())||void 0===p||p.removeAllRanges();else if("fontColor"===a){const t=i.ri.setStyleOrToggleFormat(o,a,e[a].toHex());r({text:{format:"xhtml",value:t},fontColor:e.fontColor})}else l({backgroundColor:e.backgroundColor}),r(e)}else if(u){const n=Object.keys(e)[0];if(t&&i.ri.isRangeSelected(t)){switch(i.ri.toggleMark(t,n),n){case"bold":c(e.bold);break;case"italic":h(e.italic);break;case"underline":m(e.underline)}r({text:{format:"xhtml",value:i.ri.serialize(null==t?void 0:t.children[0])}})}else{const e=i.ri.setStyleOrToggleFormat(o,n);r({text:{format:"xhtml",value:e}})}}else r(e)}),[r,o,t,n]);if(a){if(t)return{activeTextStyle:s,updateAnnotationOrEditorText:y,selectedIsBold:u,selectedIsItalic:p,selectedIsUnderline:f};{const{fontColor:e,isUnderlined:t,isItalic:n,isBold:r}=i.ri.getComputedStyleAll(o);return{activeTextStyle:{fontColor:e?_.Il.fromHex(e):void 0,backgroundColor:null==s?void 0:s.backgroundColor},updateAnnotationOrEditorText:y,selectedIsBold:r,selectedIsItalic:n,selectedIsUnderline:t}}}return{updateAnnotationOrEditorText:r}}({editor:e.richTextEditorRef,frameWindow:e.frameWindow,updateAnnotation:a,text:(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"",isRichText:o}),{annotation:m,position:g,intl:v,expandedGroup:y,btnFocusRefIfFocusedGroup:b,canDeleteSelectedAnnotationCP:w,keepSelectedTool:x,interactionMode:D,annotationToolbarColorPresets:C}=e,{formatMessage:E}=v,S="bottom"===g?"up":"down",P={onChange:u,annotation:m,styles:_c(),intl:v,caretDirection:S},k=x&&D===B.A.TEXT,A=[{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},P,{record:o?Pd(Pd({},s),{},{opacity:m.opacity}):m,colorProperty:"fontColor",className:"PSPDFKit-Text-Annotation-Toolbar-Font-Color",removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:E(Pe.Z.color),innerRef:b("color"),annotationToolbarColorPresets:C})))),title:E(Pe.Z.color),type:"color",group:"color",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},P,{record:o?Pd(Pd({},s),{},{opacity:m.opacity},!e.richTextEditorRef&&{backgroundColor:m.backgroundColor}):m,colorProperty:"backgroundColor",className:"PSPDFKit-Text-Annotation-Toolbar-Background-Color",frameWindow:e.frameWindow,accessibilityLabel:E(Pe.Z.fillColor),innerRef:b("backgroundColor"),annotationToolbarColorPresets:C})))),title:E(Pe.Z.fillColor),type:"background-color",group:"backgroundColor",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},D===B.A.CALLOUT||(0,j.Vc)(m)?{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},P,{record:m,colorProperty:"borderColor",className:"PSPDFKit-Text-Annotation-Toolbar-Border-Color",frameWindow:e.frameWindow,accessibilityLabel:E(Pe.Z.borderColor),innerRef:b("borderColor"),annotationToolbarColorPresets:C})))),title:E(Pe.Z.borderColor),type:"border-color",group:"borderColor",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BorderColor")}:null,{node:d.createElement(yc.OpacityComponent,{intl:e.intl,type:"Text",styles:_c(),annotation:m,updateAnnotation:a,caretDirection:S,innerRef:b("opacity"),shadowRoot:r}),title:E(Pe.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement(Dd,(0,ce.Z)({},P,{frameWindow:e.frameWindow,ref:b("font"),selectedIsBold:p,selectedIsItalic:f,selectedIsUnderline:c,showInlineFontStyles:o,customFontsReadableNames:e.customFontsReadableNames})),title:E(Pe.Z.font),type:"font",group:"font",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(e.annotationToolbarItems),title:E(Pe.Z.delete),className:h()("PSPDFKit-Text-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!w}),onPress:w?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:k||null===e.annotation.pageIndex||!!y,disabled:!e.canDeleteSelectedAnnotationCP}].filter(Boolean),z={className:_c().button,presentational:e.viewportWidth>Be.GI,disabled:!!y};return d.createElement("div",{ref:n,className:h()("PSPDFKit-Text-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:A,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,builtInToolbarProps:z,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position,typeMap:{color:"text-color","background-color":"fill-color","border-color":"stroke-color"}}))}));const Ad=kd,zd=d.forwardRef((function(e,t){const{annotation:n,updateAnnotation:r,intl:o}=e,{formatMessage:a}=o,[s,l]=d.useState(!1),u=d.useCallback((e=>{"Tab"===e.key&&l(!0)}),[l]),c=d.useCallback((()=>{l(!1)}),[l]);return d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:`${_c().control} PSPDFKit-Note-Annotation-Toolbar-Icons`,role:"radiogroup","aria-label":a(Pe.Z.icon),onKeyUp:u,onPointerUp:c,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||l(!1)}},Object.keys(bt.Zi).map(((e,o)=>{const l=bt.Y4[e],u=(0,F.Oe)(l),c=n.icon===e,p=h()(Xu().root,_c().noteIconLabel,_c().button,_c().icon,"PSPDFKit-Tool-Button",c&&"PSPDFKit-Tool-Button-active",`PSPDFKit-Note-Annotation-Icon-${u}`,{[_c().isActive]:c,[_c().focusRing]:c&&s});return d.createElement("label",{"aria-label":a(Td[`icon${(0,gn.kC)(l)}`]),className:p,key:`NoteAnnotationToolbarIcon-${e}`},d.createElement(ke.Z,{type:`note/${l}`}),d.createElement(i.TX,{tag:"input",type:"radio",name:_c().radioInput,value:o,checked:c,onChange:t=>{t.target.checked&&r({icon:e})},ref:c&&t?t:void 0}))}))))})),Td=(0,xe.vU)({iconRightPointer:{id:"iconRightPointer",defaultMessage:"Right Pointer",description:"Icon Right Pointer"},iconRightArrow:{id:"iconRightArrow",defaultMessage:"Right Arrow",description:"Icon Right Arrow"},iconCheck:{id:"iconCheck",defaultMessage:"Checkmark",description:"Icon Checkmark"},iconCircle:{id:"iconCircle",defaultMessage:"Circle",description:"Icon Circle"},iconCross:{id:"iconCross",defaultMessage:"Cross",description:"Icon Cross"},iconInsert:{id:"iconInsert",defaultMessage:"Insert Text",description:"Icon Insert Text"},iconNewParagraph:{id:"iconNewParagraph",defaultMessage:"New Paragraph",description:"Icon New Paragraph"},iconNote:{id:"iconNote",defaultMessage:"Text Note",description:"Icon Text Note"},iconComment:{id:"iconComment",defaultMessage:"Comment",description:"Icon Comment"},iconParagraph:{id:"iconParagraph",defaultMessage:"Paragraph",description:"Icon Paragraph"},iconHelp:{id:"iconHelp",defaultMessage:"Help",description:"Icon Help"},iconStar:{id:"iconStar",defaultMessage:"Star",description:"Icon Star"},iconKey:{id:"iconKey",defaultMessage:"Key",description:"Icon Key"}}),Od=d.memo((function(e){let{annotation:t,intl:n,updateAnnotation:r,isAnnotationReadOnly:o,deleteAnnotation:i,position:a,viewportWidth:s,expandedGroup:l,btnFocusRefIfFocusedGroup:u,btnFocusRefIfFocusedItem:c,canEditAnnotationCP:p,canDeleteSelectedAnnotationCP:f,keepSelectedTool:m,interactionMode:g,annotationToolbarItems:v,onGroupExpansion:y,hasDesktopLayout:b,onGroupTransitionEnded:w}=e;const{formatMessage:x}=n,D=it.Options.NOTE_COLOR_PRESETS,C=o(t)||t.locked,E=C||t instanceof Ao.FN,S=null!==t.pageIndex&&!C,_=m&&g===B.A.NOTE,P=[{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(Wc,{className:"PSPDFKit-Note-Annotation-Toolbar-Color",accessibilityLabel:x(Pe.Z.color),colorPresets:D,activeColor:t.color,onClick:e=>r({color:e}),innerRef:u("color")}))),title:x(Pe.Z.color),className:`${_c().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor`,hidden:E,disabled:!p,onPress:()=>{},type:"color",group:"color",hideSeparator:!0},{node:d.createElement(zd,{annotation:t,updateAnnotation:r,intl:n,ref:u("note")}),title:x(Pe.Z.icon),hidden:E,onPress:()=>{},disabled:!p,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-NoteIcon"),type:"note-icon",group:"note"},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(v),title:x(Pe.Z.delete),className:h()("PSPDFKit-Note-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!f}),onPress:f?()=>i():()=>{}}),disabled:!f,hidden:_||!(S&&"note"!==l&&"color"!==l),type:"delete",onPress:()=>{},className:""}],k={className:_c().button,presentational:s>Be.GI,disabled:!!l};return d.createElement("div",{className:h()("PSPDFKit-Note-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:v,builtInItems:P,btnFocusRefIfFocusedItem:c,onGroupExpansion:y,builtInToolbarProps:()=>k,hasDesktopLayout:b,expandedGroup:l,onGroupTransitionEnded:w,position:a,typeMap:{"note-icon":"note",color:"fill-color"}}))}));const Id=Od,Fd=["boundingBox"],Md=d.memo((function(e){const t=(0,Fo.R9)((t=>{const{annotation:n,isEditing:r,dispatch:o,canEditAnnotationCP:i}=e;if(i)if(n.lines.size>0&&r){const{boundingBox:e}=t,n=(0,ne.Z)(t,Fd);o((0,yt.gX)(n)),o((0,Vt.P4)())}else t.lineWidth&&n.lines.size>0&&(t.boundingBox=n.boundingBox.grow((t.lineWidth-n.lineWidth)/2)),e.updateAnnotation(t)})),{annotation:n,intl:r,position:o,isEditing:i,expandedGroup:a,canDeleteSelectedAnnotationCP:s,btnFocusRefIfFocusedGroup:u,lastToolbarActionUsedKeyboard:c,annotationToolbarItems:p,btnFocusRefIfFocusedItem:f}=e,m=(0,l.v9)((e=>e.shadowRoot)),{formatMessage:g}=r,v={onChange:t,record:n,styles:_c(),intl:r,caretDirection:"bottom"===o?"up":"down",frameWindow:e.frameWindow},y=e.areOnlyElectronicSignaturesEnabled&&e.annotation.isSignature,b=[{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},v,{className:"PSPDFKit-Ink-Annotation-Toolbar-Stroke-Color",colorProperty:"strokeColor",removeTransparent:!0,accessibilityLabel:g(Pe.Z.color),innerRef:u("color",!a),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:g(Pe.Z.color),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-StrokeColor"),hidden:y,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},v,{accessibilityLabel:g(Pe.Z.fillColor),className:"PSPDFKit-Ink-Annotation-Toolbar-Background-Color",colorProperty:"backgroundColor",innerRef:u("backgroundColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:g(Pe.Z.fillColor),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor"),hidden:y,disabled:!e.canEditAnnotationCP,type:"fill-color",group:"backgroundColor"},{node:d.createElement(yc.OpacityComponent,{intl:e.intl,type:"Ink",styles:_c(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===o?"up":"down",innerRef:u("opacity"),shadowRoot:m}),title:g(Pe.Z.opacity),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:y,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:d.createElement(yc.StrokeWidthComponent,{intl:e.intl,type:"Ink",styles:_c(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===o?"up":"down",accessibilityLabel:g(Pe.Z.thickness),ref:u("lineWidth")}),title:g(Pe.Z.thickness),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:y,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(Yc,{value:n.blendMode,className:"PSPDFKit-Ink-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===o?"up":"down",frameWindow:e.frameWindow,ref:u("blendMode")}))),title:g(Pe.Z.blendMode),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode"),hidden:y,disabled:!e.canEditAnnotationCP,type:"blend-mode",group:"blendMode"},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(p),title:g(Pe.Z.delete),className:h()("PSPDFKit-Ink-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),disabled:!s,hidden:!(null!=e.annotation.pageIndex&&!i),type:"delete"},{node:d.createElement(Pc,{intl:r,isEditing:i,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),hidden:e.areOnlyElectronicSignaturesEnabled||!e.showAnnotationNotes||i,disabled:!e.canEditAnnotationCP,type:"annotation-note"}],w={className:_c().button,presentational:e.viewportWidth>Be.GI,disabled:!!a};return d.createElement("div",{className:h()("PSPDFKit-Ink-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:p,builtInItems:b,btnFocusRefIfFocusedItem:f,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:w,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:a,onGroupTransitionEnded:e.onGroupTransitionEnded,position:o}))}));const Rd=Md;var jd=n(20253),Bd=n(67057);const Nd=["icon"];function Ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kd(e){for(var t=1;te.shadowRoot)),g=(0,Fo.R9)((t=>{const{annotation:n,canEditAnnotationCP:r}=e;r&&(t.strokeWidth&&(t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)),e.updateAnnotation(t))})),v=r instanceof _.b3||r instanceof _.Xs?e.updateAnnotation:g,y=r instanceof _.o9||r instanceof _.om,{formatMessage:b}=t,w={updateAnnotation:v,annotation:r,styles:_c(),intl:t,caretDirection:"bottom"===n?"up":"down"},x=[{node:d.createElement(wc.Z,(0,ce.Z)({},w,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${p}-Annotation-Toolbar-Stroke-Color`,removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:b(Pe.Z.color),innerRef:u("color",!o),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:b(Pe.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!y,"PSPDFKit-Toolbox-StrokeColor":y})},{node:d.createElement(wc.Z,(0,ce.Z)({},w,{record:r,colorProperty:"fillColor",onChange:e.updateAnnotation,className:`PSPDFKit-${p}-Annotation-Toolbar-Fill-Color`,frameWindow:e.frameWindow,accessibilityLabel:b(Pe.Z.fillColor),innerRef:u("fillColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:b(Pe.Z.fillColor),group:"fillColor",type:"fill-color",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},{node:d.createElement(yc.OpacityComponent,(0,ce.Z)({},w,{type:p,innerRef:u("opacity"),shadowRoot:m})),title:b(Pe.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement(yc.StrokeWidthComponent,(0,ce.Z)({},w,{type:p,accessibilityLabel:b(Pe.Z.thickness),ref:u("line-width")})),title:b(Pe.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},...r instanceof _.o9||r instanceof _.om?[{node:d.createElement(yc.LineCapsDashArrayComponent,(0,ce.Z)({},w,{frameWindow:e.frameWindow,innerRef:u("linecaps-dasharray")})),title:b(Pe.Z["linecaps-dasharray"]),group:"linecaps-dasharray",type:"linecaps-dasharray",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineCaps-DashArray")}]:[{node:d.createElement(yc.LineStyleComponent,(0,ce.Z)({},w,{frameWindow:e.frameWindow,innerRef:u("linestyle")})),title:b(Pe.Z.linestyle),group:"linestyle",type:"line-style",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineStyle")}],{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(a),title:b(Pe.Z.delete),className:h()(`PSPDFKit-${p}-Annotation-Toolbar-Button-Delete`,_c().button,_c().deleteButton,{[_c().disabledButton]:!f}),onPress:f?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!o},{node:d.createElement(Pc,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],D={className:_c().button,presentational:e.viewportWidth>Be.GI,disabled:!!o},C={"line-style":"linestyle"};return r instanceof _.o9||r instanceof _.om||(C["stroke-color"]="border-color"),d.createElement("div",{className:h()(`PSPDFKit-${p}-Annotation-Toolbar`,_c().content)},d.createElement(Mc,{annotationToolbarItems:a,builtInItems:x,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:D,hasDesktopLayout:s,expandedGroup:o,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:C}))},Ud=d.memo((function(e){const{formatMessage:t}=e.intl,n=[{node:d.createElement(bc.Z,{type:"widget_ccw",title:t(Pe.Z.rotateCounterclockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate-Counterclockwise ${_c().button} ${_c().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,j.eJ)(e.annotation,e.selectedAnnotationPageSize,j.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP},{node:d.createElement(bc.Z,{type:"widget_cw",title:t(Pe.Z.rotateClockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Toolbar-Button-Rotate-Clockwise ${_c().button} ${_c().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,j.eJ)(e.annotation,e.selectedAnnotationPageSize,j.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(e.annotationToolbarItems),title:t(Pe.Z.delete),className:h()("PSPDFKit-Widget-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!e.canDeleteSelectedAnnotationCP}),onPress:e.canDeleteSelectedAnnotationCP?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex}];return d.createElement("div",{className:`PSPDFKit-Widget-Annotation-Toolbar ${_c().content}`},d.createElement(Mc,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:n,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position}))}));var $d=n(3888);function Gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wd(e){for(var t=1;te.shadowRoot)),r=(0,Fo.R9)((t=>{const{canEditAnnotationCP:n}=e;if(!n)return;const r=function(e,t){if(!t.borderStyle&&("number"==typeof e.borderWidth||e.borderColor instanceof _.Il))return Wd(Wd({},e),{},{borderStyle:$d.N.solid});return e}(t,e.annotation);e.updateAnnotation(r)})),{annotation:o,position:i,expandedGroup:a,canDeleteSelectedAnnotationCP:s,btnFocusRefIfFocusedGroup:u,annotationToolbarItems:c,btnFocusRefIfFocusedItem:p,lastToolbarActionUsedKeyboard:f}=e,m={onChange:r,record:o,styles:_c(),intl:t,caretDirection:"bottom"===i?"up":"down",frameWindow:e.frameWindow},g=e.annotation.isSignature,v=[{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(wc.Z,(0,ce.Z)({},m,{className:"PSPDFKit-Link-Annotation-Toolbar-Border-Color",colorProperty:"borderColor",accessibilityLabel:t.formatMessage(Pe.Z.color),innerRef:u("color",!a),lastToolbarActionUsedKeyboard:f,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:t.formatMessage(Pe.Z.borderColor),className:h()(_c().formGroup,"PSPDFKit-Toolbox","PSPDFKit-Toolbox-BorderColor"),hidden:g,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:d.createElement(yc.OpacityComponent,{intl:e.intl,type:"Link",styles:_c(),annotation:o,updateAnnotation:r,caretDirection:"bottom"===i?"up":"down",innerRef:u("opacity"),shadowRoot:n}),title:t.formatMessage(Pe.Z.opacity),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:g,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:d.createElement(yc.StrokeWidthComponent,{intl:e.intl,type:"Link",styles:_c(),annotation:o,updateAnnotation:r,caretDirection:"bottom"===i?"up":"down",accessibilityLabel:t.formatMessage(Pe.Z.thickness),ref:u("lineWidth")}),title:t.formatMessage(Pe.Z.thickness),className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:g,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(c),title:t.formatMessage(Pe.Z.delete),className:h()("PSPDFKit-Link-Annotation-Toolbar-Button-Delete",_c().button,_c().deleteButton,{[_c().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),disabled:!s,hidden:null===e.annotation.pageIndex||!!a,type:"delete"}],y={className:_c().button,presentational:e.viewportWidth>Be.GI,disabled:!!a};return d.createElement("div",{className:h()("PSPDFKit-Link-Annotation-Toolbar",_c().content)},d.createElement(Mc,{annotationToolbarItems:c,builtInItems:v,btnFocusRefIfFocusedItem:p,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:y,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:a,onGroupTransitionEnded:e.onGroupTransitionEnded,position:i}))}));const Yd=Xd;var Qd=n(70964),Jd=n(85151),ep=n(40775),tp=n.n(ep),np=n(80422);const rp=function(e){const{intl:t,position:n,annotation:r,expandedGroup:o,btnFocusRefIfFocusedItem:i,annotationToolbarItems:a,hasDesktopLayout:s,btnFocusRefIfFocusedGroup:u,lastToolbarActionUsedKeyboard:c,canDeleteSelectedAnnotationCP:p,selectedAnnotations:f}=e,m=(0,l.I0)(),g=(0,l.v9)((e=>e.shadowRoot)),v=(0,l.v9)((e=>e.secondaryMeasurementUnit)),y=d.useMemo((()=>e.selectedAnnotations&&e.selectedAnnotations.size>1),[e.selectedAnnotations]),b=d.useMemo((()=>!!f&&(0,z.xA)(f)),[f]),w=d.useMemo((()=>(0,z.bs)(r)),[r]),x=(0,Fo.R9)((t=>{const{annotation:n,canEditAnnotationCP:r}=e;if(r){if(t.strokeWidth){if(y&&f){const r=[];return f.forEach((e=>{r.push({boundingBox:e.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2),strokeWidth:t.strokeWidth})})),void e.updateAnnotation(r)}t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)}e.updateAnnotation(t)}})),D=r instanceof _.b3||r instanceof _.Xs?e.updateAnnotation:x,C=r instanceof _.o9||r instanceof _.om,{formatMessage:E}=t,S={updateAnnotation:D,annotation:r,styles:_c(),intl:t,caretDirection:"bottom"===n?"up":"down"},P=z.Di.find((e=>e.title===w)),k=d.useMemo((()=>(0,z.Rw)(r,v)),[r,v]),A=[{node:d.createElement(bc.Z,{type:"back",title:E(Pe.Z.back),className:h()(`PSPDFKit-${w}-Annotation-Toolbar-Button-Back`,_c().button,_c().measurementBackButton),onPress:()=>{(0,l.dC)((()=>{m((0,Se.fz)()),m((0,yt.Ds)("measurement")),m((0,Vt.BR)())}))}}),type:"back"},{node:b?d.createElement(np.Z,{key:E(Pe.Z.mixedMeasurements),type:"measure",title:E(Pe.Z.mixedMeasurements),className:h()(P.className,tp().measurementValue,_c().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},r&&null!=r&&r.note?d.createElement(d.Fragment,null,E(Pe.Z.mixedMeasurements)):null):d.createElement(np.Z,{key:P.interactionMode,type:P.icon,title:E(Pe.Z[P.localeKey]),className:h()(P.className,tp().measurementValue,_c().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},r&&null!=r&&r.note?y?d.createElement(d.Fragment,null,P.title):d.createElement(d.Fragment,null,P.title,":"," ",d.createElement("b",null,r.note,k?` (${k.label})`:"")):null),title:E(Pe.Z[P.localeKey]),type:"measurementType",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementType")},{node:d.createElement(d.Fragment,null,d.createElement(np.Z,{key:"scale",type:"scale",title:E(gu.sY.measurementScale),className:h()(_c().measurementToolbarButton)}),d.createElement(Jd.ZP,{frameWindow:e.frameWindow,selectedAnnotation:r,onAnnotationScaleUpdate:e.updateAnnotation,selectedAnnotations:e.selectedAnnotations})),title:E(gu.sY.measurementScale),type:"measurementScale",className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementScale")},{node:d.createElement(wc.Z,(0,ce.Z)({},S,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${w}-Annotation-Toolbar-Stroke-Color`,frameWindow:e.frameWindow,accessibilityLabel:E(Pe.Z.color),innerRef:u("color",!o),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:E(Pe.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!C,"PSPDFKit-Toolbox-StrokeColor":C})},{node:d.createElement(yc.OpacityComponent,(0,ce.Z)({},S,{type:w,innerRef:u("opacity"),shadowRoot:g})),title:E(Pe.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:d.createElement(yc.StrokeWidthComponent,(0,ce.Z)({},S,{type:w,accessibilityLabel:E(Pe.Z.thickness),ref:u("line-width")})),title:E(Pe.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:h()(_c().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},{node:d.createElement(bc.Z,{type:"delete",icon:(0,Rc.KT)(a),title:E(Pe.Z.delete),className:h()(`PSPDFKit-${w}-Annotation-Toolbar-Button-Delete`,_c().button,_c().deleteButton,{[_c().disabledButton]:!p}),onPress:p?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!o},{node:d.createElement(Pc,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP||y}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],T={className:_c().button,presentational:e.viewportWidth>Be.GI,disabled:!!o},O={"line-style":"linestyle"};return r instanceof _.o9||r instanceof _.om||(O["stroke-color"]="border-color"),d.createElement("div",{className:h()(`PSPDFKit-${w}-Annotation-Toolbar`,_c().content,_c().measurementToolbar)},d.createElement(Mc,{annotationToolbarItems:a,builtInItems:A,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:T,hasDesktopLayout:s,expandedGroup:o,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:O}))},op=["text"];class ip extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{showConfirmDelete:!1,expandedGroup:null,transitionFinished:!1,prevActiveGroup:null}),(0,o.Z)(this,"focusRef",d.createRef()),(0,o.Z)(this,"deleteAnnotation",(()=>{var e;const t=this.props.annotation,n=this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1;t&&!n?this.props.dispatch((0,yt.d8)((0,s.l4)([t.id]))):n&&this.props.selectedAnnotations&&this.props.dispatch((0,yt.d8)(this.props.selectedAnnotations.map((e=>e.id))))})),(0,o.Z)(this,"handleEntered",(()=>{this.setState({transitionFinished:!0})})),(0,o.Z)(this,"handleGroupExpansion",(e=>{e?this.setState({prevActiveGroup:e,expandedGroup:e}):this.setState({expandedGroup:e,transitionFinished:!1})})),(0,o.Z)(this,"_handleKeyPress",(e=>{e.keyCode===Kr.zz&&this.state.expandedGroup&&this.handleGroupExpansion()})),(0,o.Z)(this,"updateAnnotation",((e,t,n)=>{if(!e||!this.props.canEditAnnotationCP)return;e=e.merge(t);const r={annotations:(0,s.aV)([e]),reason:J.f.PROPERTY_CHANGE};this.props.eventEmitter.emit("annotations.willChange",r),n&&this.props.dispatch((0,yt.Ds)(n));const{text:o}=t,i=(0,ne.Z)(t,op);this.props.dispatch((0,yt.gX)(i)),this.props.dispatch((0,yt.FG)(e))})),(0,o.Z)(this,"updateSingleAnnotation",((e,t)=>{const n=this.props.annotation;this.updateAnnotation(n,e,t)})),(0,o.Z)(this,"updateAnnotations",((e,t)=>{const{selectedAnnotations:n}=this.props;n&&(null==n?void 0:n.size)>1&&(0,l.dC)((()=>{var n;null===(n=this.props.selectedAnnotations)||void 0===n||n.toList().forEach(((n,r)=>{Array.isArray(e)?this.updateAnnotation(n,e[r],t):this.updateAnnotation(n,e,t)}))}))})),(0,o.Z)(this,"onAnnotationNotePress",(()=>{const e=this.props.annotation;if(this.isActiveAnnotationNote())this.closeAnnotationNote();else if(e){const t=(0,Ao.Yu)(e);this.props.dispatch((0,Se.mv)(t))}})),(0,o.Z)(this,"deleteAnnotationNote",(()=>{const e=this.props.annotation;e&&(this.props.dispatch((0,yt.FG)(e.delete("note"))),this.closeAnnotationNote())})),(0,o.Z)(this,"closeAnnotationNote",(()=>{this.props.dispatch((0,Se.mv)(null))})),(0,o.Z)(this,"_handleResize",(e=>{this.props.dispatch((0,jd.LT)(e.height))}))}isActiveAnnotationNote(){var e;const{activeAnnotationNote:t,annotation:n}=this.props;return Boolean(t&&n&&(null===(e=t.parentAnnotation)||void 0===e?void 0:e.id)===n.id)}defaultToolbarItems(){var e;const{annotation:t,annotationToolbarItems:n,viewportWidth:r}=this.props;if((0,u.kG)(t),!qd.get(sp(t)))return(0,s.aV)();const o=r>Be.GI,i=null===(e=qd.get(sp(t)))||void 0===e||null===(e=e.get(o?"desktop":"mobile"))||void 0===e?void 0:e.map((e=>({type:e})));if((0,u.kG)(i,`No default toolbar items found for annotation type: ${sp(t)}`),n){const e=n(t,{hasDesktopLayout:o,defaultAnnotationToolbarItems:i.toJS()});if(e)return e.forEach((e=>{!function(e,t){var n,r,o,i;const a=qd.get(t);Hd(a,"There are no built-in annotation toolbar items for this annotation type");const s=new Set([...null!==(n=null===(r=a.get("mobile"))||void 0===r?void 0:r.toJS())&&void 0!==n?n:[],...null!==(o=null===(i=a.get("desktop"))||void 0===i?void 0:i.toJS())&&void 0!==o?o:[]]);Hd((0,u.PO)(e)&&!!e,"Expected item to be an object"),e.icon&&"custom"!==e.type?Hd((0,F.HD)(e.icon),"Expected icon to be a string"):e.icon&&Hd((0,F.HD)(e.icon)||e.icon instanceof Node,"Expected icon to be a string or a Node");const{icon:l}=e,c=(0,ne.Z)(e,Nd);(0,au.G)(Kd(Kd({},c),{},{type:"custom"})),Hd("type"in e&&(0,F.HD)(e.type)&&[...s,"spacer","custom"].includes(e.type),`Expected item.type to one of ${[...s,"spacer","custom"].join(", ")}`),"custom"===e.type&&(Hd("id"in e&&(0,F.HD)(e.id),"Expected item.id to be a string"),Hd("node"in e||"icon"in e,"Expected item to have either a `node` or `icon` property for custom element"))}(e,sp(t))})),(0,s.aV)(e)}return i}renderContent(){var e,t=this;const{annotation:n,variantAnnotationPresetID:r,position:o,viewportWidth:i,frameWindow:a,intl:s,showAnnotationNotes:l,canEditAnnotationCP:c,canDeleteSelectedAnnotationCP:p,lastToolbarActionUsedKeyboard:h,interactionMode:f,keepSelectedTool:m,annotationToolbarColorPresets:g,richTextEditorRef:v,customFontsReadableNames:y,isCalibratingScale:b}=this.props;if(!n)return null;const w={deleteAnnotation:this.deleteAnnotation,updateAnnotation:this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1?this.updateAnnotations:this.updateSingleAnnotation,intl:s,position:o,viewportWidth:i,onGroupTransitionEnded:this.handleEntered,onGroupExpansion:this.handleGroupExpansion,expandedGroup:this.state.expandedGroup,btnFocusRefIfFocusedGroup:function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Rc.CN)(e,t.state.expandedGroup)||n&&null!==f&&i>Be.GI?t.focusRef:void 0},btnFocusRefIfFocusedItem:function(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,Rc.Kt)(e,n,t.state.prevActiveGroup)||r&&null!==f&&iBe.GI,customFontsReadableNames:this.props.customFontsReadableNames},x={onAnnotationNotePress:this.onAnnotationNotePress,showAnnotationNotes:l&&!n.isCommentThreadRoot,hasAnnotationNote:Boolean(n.note),isAnnotationNoteActive:this.isActiveAnnotationNote()};return n instanceof W.Z?d.createElement(Lc,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,dispatch:this.props.dispatch,keepSelectedTool:m})):n instanceof _.R1?d.createElement(Yd,(0,ce.Z)({},w,x,{annotation:n})):n instanceof _.On?d.createElement(nd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,dispatch:this.props.dispatch,variantAnnotationPresetID:r})):n instanceof _.Zc?d.createElement(Rd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,dispatch:this.props.dispatch,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled})):n instanceof Qd.Z&&n.isMeasurement()?b?null:d.createElement(rp,(0,ce.Z)({},w,x,{annotation:n,dispatch:this.props.dispatch,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,selectedAnnotations:this.props.selectedAnnotations})):n instanceof _.o9?d.createElement(Zd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,name:"Line"})):n instanceof _.b3?d.createElement(Zd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,name:"Rectangle"})):n instanceof _.Xs?d.createElement(Zd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,name:"Ellipse"})):n instanceof _.Hi?d.createElement(Zd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,name:"Polygon"})):n instanceof _.om?d.createElement(Zd,(0,ce.Z)({},w,x,{annotation:n,isEditing:this.props.selectedAnnotationMode===N.o.EDITING,name:"Polyline"})):n instanceof _.gd?d.createElement(Ad,(0,ce.Z)({},w,{annotation:n,richTextEditorRef:v,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize,zoomLevel:this.props.zoomLevel||1,keepSelectedTool:m,interactionMode:f,customFontsReadableNames:y})):n instanceof _.Qi?d.createElement(Id,(0,ce.Z)({},w,{annotation:n,dispatch:this.props.dispatch,isAnnotationReadOnly:this.props.isAnnotationReadOnly,keepSelectedTool:m,interactionMode:f})):n instanceof _.sK?d.createElement(Hc,(0,ce.Z)({},w,x,{annotation:n,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof _.GI?d.createElement(Vc,(0,ce.Z)({},w,x,{annotation:n})):n instanceof _.x_?d.createElement(Ud,(0,ce.Z)({},w,{annotation:n,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof _.Jn?null:void(0,u.kG)(!1,"Annotation type not handled")}componentDidUpdate(e,t){const n=this.state.expandedGroup&&this.state.transitionFinished&&!t.transitionFinished,r=!this.state.expandedGroup&&t.expandedGroup&&this.state.prevActiveGroup;(n||r)&&this.focusRef.current&&this.focusRef.current.focus()}render(){return d.createElement("div",{className:h()("PSPDFKit-Annotation-Toolbar",_c().root,{[_c().stickToBottom]:"bottom"===this.props.position}),onKeyDown:this._handleKeyPress},d.createElement(Bd.Z,{onResize:this._handleResize}),this.renderContent())}}const ap=(0,xe.XN)(ip);function sp(e){var t;return"isMeasurement"in e&&null!==(t=e.isMeasurement)&&void 0!==t&&t.call(e)?"Measurement":qd.get(e.constructor.readableName)?e.constructor.readableName:e instanceof _.On?_.On.readableName:e instanceof _.x_?_.x_.readableName:void new u.p2("AnnotationToolbarComponent: getReadableName: Annotation type not handled")}function lp(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const up=d.memo((function(e){let{intl:t,dispatch:n,inkEraserCursorWidth:r,position:o,viewportWidth:i}=e;const a=(0,l.v9)((e=>e.shadowRoot)),{handleGroupExpansion:s,handleEntered:u,expandedGroup:c,prevActiveGroup:p,btnFocusRef:f}=(0,Fo.Tp)(),[m,g]=d.useState(r);d.useEffect((()=>{n((0,yt.GT)(m))}),[m,n]),d.useEffect((()=>{g(r)}),[r]);const v=d.useCallback((e=>{n((0,yt.gX)({inkEraserWidth:e})),g(e)}),[n]),y=d.useCallback((e=>{e.keyCode===Kr.zz&&c&&s()}),[c,s]),{formatMessage:b}=t,w={lineWidth:{node:d.createElement("div",{className:_c().controlWrapper},d.createElement("div",{className:_c().control},d.createElement(hc.Z,{name:"lineWidth",accessibilityLabel:b(Pe.Z.size),className:"PSPDFKit-Ink-Eraser-Toolbar-Line-Width",value:m,valueLabel:e=>b(Pe.Z.numberInPt,{arg0:e.toFixed(0)}),min:1,max:40,step:1,onChange:v,caretDirection:"bottom"===o?"up":"down",innerRef:(0,Rc.CN)("lineWidth",c)?f:void 0,shadowRoot:a}))),title:b(Pe.Z.thickness)}};return d.createElement("div",{className:h()("PSPDFKit-Annotation-Toolbar",_c().root,{[_c().stickToBottom]:"bottom"===o}),onMouseUp:lp,onTouchEnd:lp,onPointerUp:lp,onKeyDown:y},d.createElement("div",{className:`\n PSPDFKit-Ink-Eraser-Toolbar\n ${_c().content}\n\n `},d.createElement("div",{className:_c().left},d.createElement("form",{className:_c().form,onSubmit:io.PF},d.createElement("div",{className:`${_c().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth`},d.createElement(bc.Z,{type:"line-width",title:w.lineWidth.title,className:_c().button,onPress:()=>s("lineWidth"),disabled:Boolean(c),presentational:i>Be.GI,ref:(0,Rc.Kt)("lineWidth",c,p)?f:void 0}),w.lineWidth.node))),d.createElement("div",{className:_c().right},d.createElement(zc.Z,{position:o,onClose:()=>s(null),isPrimary:!1,onEntered:u,accessibilityLabel:c?w[c].title:void 0},c?w[c].node:void 0))))})),cp=(0,xe.XN)(up);var dp=n(46632),pp=n.n(dp);const hp=(0,l.$j)((e=>({connectionFailureReason:e.connectionFailureReason})),(()=>({})))((e=>d.createElement("div",{className:`PSPDFKit-Error ${pp().root}`},d.createElement("div",{className:`PSPDFKit-Error-Box ${pp().box}`},d.createElement("div",{className:pp().error},d.createElement(Re.Z,{src:n(66361),className:pp().icon})),d.createElement("div",{className:`PSPDFKit-Error-Message ${pp().errorMessage}`},d.createElement("p",null,null!=e.connectionFailureReason?e.connectionFailureReason:d.createElement(d.Fragment,null,"An error occurred while loading the document. Try"," ",d.createElement("a",{href:"#",onClick:()=>window.location.reload()},"reloading the page"),".")))))));var fp,mp=n(72113),gp=n(83181),vp=n.n(gp);const yp={timeout:300,classNames:{enter:vp().unlockEnter,enterActive:vp().unlockEnterActive,exit:vp().unlockExit,exitActive:vp().unlockExitActive}};class bp extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"_modalRef",d.createRef()),(0,o.Z)(this,"_inputRef",d.createRef()),(0,o.Z)(this,"state",{value:"",isIncorrectPassword:!1,inputShowError:!1}),(0,o.Z)(this,"_onConfirm",(()=>{this.props.resolvePassword&&this.props.resolvePassword(this.state.value)})),(0,o.Z)(this,"_onChange",(e=>{const{value:t}=e.currentTarget;this.setState({value:t,inputShowError:!1})}))}componentDidUpdate(e){e.resolvePassword===this.props.resolvePassword||this.props.unlocked||(this._modalRef.current&&this._modalRef.current.shake(),this._inputRef.current&&this._inputRef.current.focus(),this.setState({isIncorrectPassword:!0,inputShowError:!0}))}render(){const{unlocked:e}=this.props,{isIncorrectPassword:t,inputShowError:r}=this.state,{formatMessage:o}=this.props.intl;return d.createElement(mp.Z,{role:"dialog",onEnter:this._onConfirm,background:"rgba(0,0,0,.1)",className:h()("PSPDFKit-Password-Dialog",vp().container),accessibilityLabel:o(wp.password),accessibilityDescription:o(wp.passwordAccessibilityDescription),innerRef:this._modalRef},d.createElement("div",{className:"PSPDFKit-Password-Dialog-Content"},d.createElement(mp.Z.Section,null,d.createElement(i.M5,null,d.createElement("div",{className:vp().iconBox},d.createElement(fu.Z,null,e?d.createElement(hu.Z,(0,ce.Z)({},yp,{key:"unlock"}),d.createElement(Re.Z,{src:n(80790),className:h()(vp().icon,vp()["icon-success"])})):d.createElement(hu.Z,(0,ce.Z)({},yp,{key:"lock"}),d.createElement(Re.Z,{src:n(50308),className:h()({[vp().icon]:!0,[vp()["icon-regular"]]:!t,[vp()["icon-error"]]:t})})))))),d.createElement(i.z,null,o(wp.passwordRequired)),d.createElement(mp.Z.Section,null,d.createElement(i.xv,null,o(wp.unlockDocumentDescription))),d.createElement(i.oi,{name:"password",value:this.state.value,onChange:this._onChange,"aria-label":o(wp.password),autoFocus:!0,selectTextOnFocus:!0,disabled:e,secureTextEntry:!0,error:r,success:e,ref:this._inputRef})),t&&!e?d.createElement(mp.Z.Section,{className:vp().alert,spaced:!0},o(wp.incorrectPassword)):fp||(fp=d.createElement(mp.Z.Divider,null)),d.createElement("div",{className:h()("PSPDFKit-Password-Dialog-Buttons",vp().dialogButtons)},d.createElement(i.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons"},d.createElement(i.zx,{onClick:this._onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},o(wp.unlock)))))}}const wp=(0,xe.vU)({password:{id:"password",defaultMessage:"Password",description:"Text on a label"},passwordAccessibilityDescription:{id:"passwordAccessibilityDescription",defaultMessage:"Dialog prompting for a password to unlock the document",description:"Accessibility description for password modal"},passwordRequired:{id:"passwordRequired",defaultMessage:"Password Required",description:"Title of the modal to indicate a password is required"},unlockDocumentDescription:{id:"unlockDocumentDescription",defaultMessage:"You have to unlock this document to view it. Please enter the password in the field below.",description:"Label of the password prompt"},incorrectPassword:{id:"incorrectPassword",defaultMessage:"The password you entered isn't correct. Please try again.",description:"Error message when an incorrect password was entered"},unlock:{id:"unlock",defaultMessage:"Unlock",description:"Button to unlock a password protected PDF"}}),xp=(0,xe.XN)(bp);var Dp,Cp=n(69462),Ep=n.n(Cp);class Sp extends d.Component{render(){const{resolvePassword:e,children:t,intl:n}=this.props,{formatMessage:r}=n,{name:o,progress:a,reason:s}=this.props.connectionState;switch(o){case ls.F.CONNECTING:{var l;const e=s?null!==(l=_p[s])&&void 0!==l?l:s:null,t=e?r(e):"";return d.createElement("div",{className:Ep().loader},d.createElement(i.Ex,{message:t,progress:null!=a?a:0}))}case ls.F.CONNECTION_FAILED:return Dp||(Dp=d.createElement(hp,null));case ls.F.PASSWORD_REQUIRED:return d.createElement(xp,{resolvePassword:e,unlocked:this.props.isUnlockedViaModal});default:return void 0===t?null:t}}}const _p=(0,xe.vU)({loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"}}),Pp=(0,xe.XN)(Sp),kp=(0,dn.Z)(((e,t,n)=>{const r=(0,j.xp)(e,t);return n?r.sort(Fp):r.sort(Ip)}));const Ap=(0,qn.x)((function(e,t){let{page:n}=t;const r=!!e.reuseState,o=kp(e.annotations,n,e.viewportState.forceRenderWidgetsInAnnotationsOrder);let i=(0,s.aV)(),a=null;switch(e.selectedAnnotationMode){case N.o.SELECTED:i=o.filter((t=>e.selectedAnnotationIds.has(t.id)));break;case N.o.EDITING:a=e.selectedAnnotationIds.map((t=>{const n=e.annotations.get(t);return(0,u.kG)(n),n})).first(),(a instanceof _.Qi||a instanceof _.Jn)&&a.pageIndex===n.pageIndex&&(i=(0,s.aV)([a]))}return{backend:e.backend,hoverAnnotationIds:e.hoverAnnotationIds,interactionMode:e.interactionMode,isAnnotationReadOnly:t=>(0,Vn.lV)(t,e),selectedAnnotationIds:e.selectedAnnotationIds,activeAnnotationNote:e.activeAnnotationNote,selectedTextOnEdit:e.selectedTextOnEdit,showAnnotations:e.showAnnotations,window:e.frameWindow,zoomLevel:e.viewportState.zoomLevel,rotation:e.viewportState.pagesRotation,onFocusAnnotation:Tp(e.eventEmitter),onBlurAnnotation:Op(e.eventEmitter),formDesignMode:e.formDesignMode,annotations:o,isReloadingDocument:r,attachments:e.attachments,selectedAnnotations:i,editingAnnotation:a,showComments:(0,sl.Y7)(e),showAnnotationNotes:e.showAnnotationNotes,eventEmitter:e.eventEmitter,isAPStreamRendered:e.isAPStreamRendered,pageInvalidAPStreams:e.invalidAPStreams.get(n.pageIndex),canEditAnnotationCP:t=>(0,Eo.CM)(t,e),canDeleteAnnotationCP:t=>(0,Eo.Kd)(t,e),keepSelectedTool:e.keepSelectedTool,scrollElement:e.scrollElement,focusedAnnotationIds:e.focusedAnnotationIds,inkEraserMode:e.inkEraserMode,viewportState:e.viewportState,page:n,enableRichText:e.enableRichText,multiAnnotationsUsingShortcut:e.multiAnnotationsUsingShortcut,isMultiSelectionEnabled:e.isMultiSelectionEnabled,comments:e.comments}}))((function(e){const{annotations:t,isReloadingDocument:n,showAnnotations:r,zoomLevel:o,rotation:i,attachments:a,backend:c,dispatch:p,hoverAnnotationIds:h,page:f,isAnnotationReadOnly:m,canEditAnnotationCP:g,canDeleteAnnotationCP:v,getScrollElement:y,onFocusAnnotation:b,onBlurAnnotation:w,formDesignMode:x,selectedTextOnEdit:D,selectedAnnotationIds:C,selectedAnnotations:E,activeAnnotationNote:S,interactionMode:P,editingAnnotation:k,window:A,children:z,showComments:T,showAnnotationNotes:O,eventEmitter:I,isAPStreamRendered:F,pageInvalidAPStreams:M=(0,s.l4)(),keepSelectedTool:R,focusedAnnotationIds:N,inkEraserMode:K,enableRichText:V,multiAnnotationsUsingShortcut:q,setGlobalCursor:H,isMultiSelectionEnabled:Z,comments:U}=e;(0,u.kG)(M);const{pageSize:$,pageIndex:G}=f,X=d.useCallback((e=>e instanceof _.Jn?!!U.some((t=>t.rootId===e.id))&&T:!(e instanceof _.On&&e.isCommentThreadRoot)||T),[T,U]),[Y,Q]=d.useState(null),[J,ee]=d.useState(void 0),[te,ne]=d.useState(!1),[re,oe]=d.useState(Array()),ie=(0,l.v9)((e=>e.shadowRoot)),ae=d.useCallback((function(e){"number"==typeof e.clientX&&"number"==typeof e.clientY&&Q(new _.E9({x:e.clientX,y:e.clientY}))}),[]),se=C.size>0,ue=t.filter((e=>e instanceof _.On&&(e.isCommentThreadRoot||!m(e)))),ce=d.useMemo((()=>t.filter((e=>e instanceof _.R1))),[t]),de=d.useMemo((()=>t.filter((e=>e instanceof _.Zc))),[t]),pe=(0,Fo.R9)((e=>e instanceof _.Zc&&(0,j.Fp)(e)&&!m(e)&&g(e)&&v(e))),he=d.useMemo((()=>de.filter(pe)),[de,pe]);function fe(e){const t=C.has(e.id);return e instanceof W.Z?t&&P!==B.A.REDACT_TEXT_HIGHLIGHTER:t}function me(e){oe(e?[...re,e]:[])}const ge=k instanceof _.Zc?k:null,ve=k instanceof _.UX?k:null,ye=k instanceof _.gd&&null===k.pageIndex?k:null,be=k instanceof _.gd&&k.pageIndex===G?k:null,we=k instanceof _.Qi&&null===k.pageIndex?k:null,xe=k instanceof _.Jn&&null===k.pageIndex?k:null,De=k instanceof W.Z&&null===k.pageIndex?k:null,Ce=k instanceof _.R1&&null===k.pageIndex?k:null,[Ee,Se]=d.useState(!1),_e=d.useRef(!1),Pe=e=>(Ee&&(0,j.eD)(e)||"number"==typeof e.buttonIconUpdatedAt)&&!(null!=M&&M.has(e.id))&&(0,j.U7)(e.boundingBox)&&F(e),ke=d.useRef(o),Ae=d.useRef(G),ze=(0,Fo.tm)();d.useEffect((()=>{if(n)return void(_e.current=!1);(o>ke.current||Ae.current!==G)&&(_e.current=!1,Ae.current=G),ke.current=o;const e=t.filter((e=>!(null!=M&&M.has(e.id))&&(0,j.eD)(e)&&(0,j.U7)(e.boundingBox)&&F(e)));e.size>0&&!_e.current&&(_e.current=!0,c.renderPageAnnotations(G,e,o*(0,Wo.L)()).then((()=>{ze()&&Se(!0)})))}),[G,o,F,c,M,t,Se,Ee,n,ze]),d.useEffect((()=>{Ee&&c.clearPageAPStreams(G,M)}),[Ee,c,G,M]),d.useEffect((()=>{if(Ee)return()=>{c.clearAllPageAPStreams(G)}}),[c,G,Ee]);const Te=(0,Fo.jC)({zoomLevel:o}),Oe=!(null==Te||!Te.zoomLevel)&&Te.zoomLevel{Oe&&c.clearAllPageAPStreams(G)}));const Ie=K===pa.b.POINT?ai:ui,Fe=E.filter((e=>X(e)&&(0,j.Fp)(e)&&(0,j.yU)(e)&&(!m(e)||e instanceof _.Qi)&&(!(e instanceof _.Jn)||null==k))),Me=Fe.size>1,Re=t.filter((e=>X(e)&&(0,j.Fp)(e)&&function(e){return!(P===B.A.INK_ERASER&&pe(e))}(e)&&(!fe(e)||!(0,j.yU)(e)||m(e)||e instanceof _.Jn&&k&&k.equals(e))&&!function(e){return e instanceof _.x_&&fe(e)&&x}(e))),je=Re.filter((e=>(0,j.OR)(e))),Be=Re.filter((e=>!(0,j.OR)(e)));return d.createElement(le.Provider,null,d.createElement(Go,{dispatch:p,selectableTextMarkupAnnotations:ue,selectableLinkAnnotations:ce,hoverAnnotationIds:h,zoomLevel:o,window:A,pageIndex:G,selectedAnnotations:E,keepSelectedTool:R,interactionMode:P,setMultiAnnsInitialEvent:ee,isMultiSelectionEnabled:Z,isHitCaptureDeferred:te,hitCaptureDeferredRect:re,currentPageAnnotations:t,isMultiAnnotationsSelected:Me},z,r?d.createElement("div",null,Be.map((e=>e instanceof _.x_?null:d.createElement(Ro,{key:e.id,annotation:(0,qe.h4)(e),globalAnnotation:e,attachments:a,backend:c,dispatch:p,isAnnotationReadOnly:m,isDisabled:se&&!fe(e),isHover:h.has(e.id),isSelected:fe(e),activeAnnotationNote:S,showAnnotationNotes:O,onBlur:w,onFocus:b,pageSize:$,zoomLevel:o,rotation:i,pageRotation:f.rotation,shouldRenderAPStream:Pe(e),isFocused:N.has(e.id),isMultiAnnotationsSelected:Me,isComboBoxOpen:ne,handleComboBoxRect:me}))),Be.sort(((e,t)=>{if(!f.tabOrder||"string"!=typeof e.id||"string"!=typeof t.id)return 0;const n=f.tabOrder.indexOf(e.id),r=f.tabOrder.indexOf(t.id);return-1===n&&-1===r?0:-1===n?1:-1===r?-1:n-r})).map((e=>e instanceof _.x_?d.createElement(Ro,{key:e.id,annotation:(0,qe.h4)(e),globalAnnotation:e,attachments:a,backend:c,dispatch:p,isAnnotationReadOnly:m,isDisabled:se&&!fe(e),isHover:h.has(e.id),isSelected:fe(e),activeAnnotationNote:S,showAnnotationNotes:O,onBlur:w,onFocus:b,pageSize:$,zoomLevel:o,rotation:i,pageRotation:f.rotation,shouldRenderAPStream:Pe(e),isFocused:N.has(e.id),isMultiAnnotationsSelected:Me,isComboBoxOpen:ne,handleComboBoxRect:me}):d.createElement(Qa,{annotation:e,isDisabled:se&&!fe(e),zoomLevel:o,key:e.id,onBlur:w,onFocus:b,isFocused:N.has(e.id),isSelected:fe(e)}))),je.map((e=>d.createElement(Ro,{key:e.id,annotation:(0,qe.h4)(e),globalAnnotation:e,attachments:a,backend:c,dispatch:p,isAnnotationReadOnly:m,isDisabled:se&&!fe(e),isHover:h.has(e.id),isSelected:fe(e),activeAnnotationNote:S,showAnnotationNotes:O,onBlur:w,onFocus:b,pageSize:$,zoomLevel:o,rotation:i,pageRotation:f.rotation,shouldRenderAPStream:Pe(e),isFocused:N.has(e.id),isMultiAnnotationsSelected:Me,isComboBoxOpen:ne,handleComboBoxRect:me}))),Me&&d.createElement(d.Fragment,{key:"multi-annotations-selection"},d.createElement(la,{dispatch:p,pageIndex:G,pageSize:$,window:A,getScrollElement:y,selectedAnnotations:Fe.map((e=>(0,qe.h4)(e))),selectedGlobalAnnotations:Fe},Fe.map((e=>d.createElement(Ro,{key:e.id,annotation:(0,qe.h4)(e),globalAnnotation:e,attachments:a,backend:c,dispatch:p,isAnnotationReadOnly:m,isDisabled:!1,isHover:h.has(e.id),isSelected:!0,activeAnnotationNote:S,showAnnotationNotes:O,onBlur:w,onFocus:b,pageSize:$,zoomLevel:o,rotation:i,pageRotation:f.rotation,onClick:e instanceof _.gd?ae:void 0,shouldRenderAPStream:Pe(e),isFocused:!1,isComboBoxOpen:ne,handleComboBoxRect:me}))))),!Me&&Fe.map((t=>d.createElement(d.Fragment,{key:t.id},d.createElement(na,{pageIndex:G,pageSize:$,annotation:(0,qe.h4)(t),globalAnnotation:t,window:A,getScrollElement:y,onFocus:b,onBlur:w,isResizable:(0,j.IO)(t),isModifiable:(0,j.Km)(t),isRotatable:(0,j.a$)(t),setGlobalCursor:H,backend:c,disablePointSnapping:e.viewportState.disablePointSnapping,isAnnotationLocked:t.locked},d.createElement(Ro,{annotation:(0,qe.h4)(t),globalAnnotation:t,attachments:a,backend:c,dispatch:p,isAnnotationReadOnly:m,isDisabled:!1,isHover:h.has(t.id),isSelected:!0,isFocused:!1,activeAnnotationNote:S,showAnnotationNotes:O,onBlur:w,onFocus:b,pageSize:$,zoomLevel:o,rotation:i,pageRotation:f.rotation,onClick:t instanceof _.gd?ae:void 0,shouldRenderAPStream:Pe(t),isComboBoxOpen:ne,handleComboBoxRect:me})),O&&(0,j.YV)(t)&&d.createElement(To,{dispatch:p,annotation:t,zoomLevel:o,isAnnotationSelected:!0,activeAnnotationNote:S,visible:!1}))))):null),P===B.A.INK&&null!==ge&&(0,j.Fp)(ge)?d.createElement(ei,{dispatch:p,pageSize:$,pageIndex:G,inkAnnotation:ge.pageIndex===G?ge:ge.delete("lines").delete("boundingBox"),scrollElement:e.scrollElement}):null,P===B.A.INK_ERASER&&de.size>0?d.createElement(Ie,{inkAnnotations:he,canvasSize:$,pageIndex:G}):null,ve&&[...Ja,...es].includes(P)&&(0,j.Fp)(ve)?d.createElement(Qt,{dispatch:p,pageSize:$,pageIndex:G,shapeAnnotation:ve.pageIndex===G?ve:(0,L.Hx)(ve),isAnnotationMeasurement:[...es].includes(P),backend:c,disablePointSnapping:e.viewportState.disablePointSnapping}):null,P!==B.A.TEXT&&P!==B.A.CALLOUT||!ye?null:d.createElement(Ri,{annotation:ye,interactionMode:P,dispatch:p,pageSize:$,pageIndex:G,autoSelect:D,eventEmitter:I,zoomLevel:o}),be&&(0,j.Fp)(be)?d.createElement(Ii,{dispatch:p,annotation:be,pageIndex:G,pageSize:$,autoSelect:D,lastMousePoint:null===Y?void 0:Y,eventEmitter:I,keepSelectedTool:R,enableRichText:V,shadowRoot:ie}):null,(we||xe)&&d.createElement(Ho,{dispatch:p,annotation:we||xe,pageSize:$,pageIndex:G,zoomLevel:o}),De&&P===B.A.REDACT_SHAPE_RECTANGLE&&(0,j.Fp)(De)?d.createElement(da,{dispatch:p,pageSize:$,pageIndex:G,redactionAnnotation:De.pageIndex===G?De:De.delete("boundingBox"),keepSelectedTool:R}):null,P===B.A.LINK&&Ce?d.createElement(Za,{dispatch:p,linkAnnotation:Ce,viewportState:e.viewportState,page:e.page,window:e.window,pageIndex:G,keepSelectedTool:R}):null,P===B.A.MULTI_ANNOTATIONS_SELECTION?d.createElement(Wa,{viewportState:e.viewportState,window:e.window,pageIndex:G,initialDraggingEvent:J,multiAnnotationsUsingShortcut:q}):null)})),zp=Ap,Tp=(0,dn.Z)((e=>(t,n)=>{e.emit("annotations.focus",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})})),Op=(0,dn.Z)((e=>(t,n)=>{e.emit("annotations.blur",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})}));function Ip(e,t){const n=Mp(e),r=Mp(t);return n>r?1:nr?1:n{const t=this._hostElement.current;if(!t)return;const n=t.ownerDocument.defaultView.getSelection()||{},{anchorNode:r,extentNode:o,focusNode:i,isCollapsed:a}=n;if(r&&t.contains(r)||o&&t.contains(o)||i&&t.contains(i)){if(a)return;e.stopPropagation(),e.stopImmediatePropagation()}}))}_appendNode(){const e=this._hostElement.current;if(!e)return;const{node:t,onAppear:n}=this.props.item;e.innerHTML="",e.appendChild(t),"function"!=typeof n||this._onAppearInvoked||(this._onAppearInvoked=!0,n())}componentDidMount(){const e=this._hostElement.current;if(e){const t=e.ownerDocument;Np.forEach((e=>{t.addEventListener(e,this._preventTextSelection,!0)}))}this._appendNode()}componentDidUpdate(e){this.props.item.node!==e.item.node&&this._appendNode()}componentWillUnmount(){const e=this._hostElement.current;if(!e)return;const t=e.ownerDocument;Np.forEach((e=>{t.removeEventListener(e,this._preventTextSelection,!0)})),this._onAppearInvoked=!1;const{onDisappear:n}=this.props.item;"function"==typeof n&&n()}render(){return d.createElement(Ee,{applyZoom:!this.props.item.disableAutoZoom,position:this.props.item.position,noRotate:this.props.item.noRotate,currentPagesRotation:this.props.rotation,zoomLevel:this.props.zoomLevel},d.createElement("div",{className:Bp().selectable,ref:this._hostElement}))}}var Kp=n(15164);class Vp extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerUp",(e=>{const{transformClientToPage:t,onEmit:n,pageIndex:r}=this.props;n(e,t(new S.E9({x:e.clientX,y:e.clientY}),r))}))}render(){return d.createElement(Je.Z,{onPointerUp:this._handlePointerUp},d.createElement(this.props.element,{},this.props.children))}}const qp=No(Vp);var Hp=n(63124),Zp=n.n(Hp);function Up(e){let{focused:t,searchResult:n,zoomLevel:r}=e;const o=h()({[Zp().highlight]:!0,[Zp().focused]:t,"PSPDFKit-Search-Highlight":!0,"PSPDFKit-Search-Highlight-focused":t});return d.createElement("div",{"data-testid":"SearchHighlight","aria-live":"polite"},t?d.createElement(i.TX,{announce:"polite"},"Search Result: ",n.previewText):null,n.rectsOnPage.map(((e,t)=>d.createElement("div",{key:t,style:{top:Math.floor(e.top*r),left:Math.floor(e.left*r),width:Math.ceil(e.width*r),height:Math.ceil(e.height*r)},className:o}))).toArray())}const $p=(0,l.$j)((function(e,t){const{searchState:n}=e;return{searchResults:n.results.filter((e=>e.pageIndex===t.pageIndex)),focusedResult:n.results.get(n.focusedResultIndex)}}))((function(e){let{searchResults:t,focusedResult:n,zoomLevel:r}=e;return d.createElement("div",{className:Zp().layer,"data-testid":"SearchHighlightLayer"},t.map(((e,t)=>d.createElement(Up,{focused:e===n,key:t,searchResult:e,zoomLevel:r}))))})),Gp=e=>{let{textLine:t,eventEmitter:n,enableTextSelection:r,scaling:o,vertical:i,isTextCopyingAllowed:a,isPanModeEnabled:s,contentBlockId:u,pageIndex:c,parentBoundingBoxes:p}=e;const f=(0,Fo.R9)((0,dn.Z)(j.a5)),m=d.useCallback(((e,r)=>{const o={textLine:t,point:r,nativeEvent:e.nativeEvent};n.emit("textLine.press",o)}),[n,t]),g=(0,l.I0)(),v=d.useCallback((()=>{g((0,Se.vR)())}),[]),y=h()({[js().line]:!0,[js().lineTextCursor]:!s,[js().debug]:!1,[js().enableTextSelection]:r,"PSPDFKit-Text":!0,[js().vertical]:!!i}),{left:b,top:w}=p.reduce(((e,t)=>({left:e.left-t.left,top:e.top-t.top})),{left:t.boundingBox.left,top:t.boundingBox.top}),x={left:b,top:w,transform:o&&o.scaleX>0&&o.scaleY>0?`scale(${o.scaleX}, ${o.scaleY})`:""},D=(0,Ts.LD)(a,t),C=(0,l.v9)((e=>f(e.annotations,t.pageIndex))),E=C.find((e=>e.boundingBox.isRectInside(t.boundingBox)));return d.createElement(qp,{pageIndex:c,onEmit:m,element:"span"},!Ke.vU&&d.createElement("span",{className:h()({[js().linePadding]:!0,[js().preventUserSelect]:Ke.G6||Ke.b5}),style:{top:w,left:b-20,transform:"none"},onClick:Ke.G6||Ke.b5?v:void 0}),d.createElement("span",{className:y,style:x,key:t.id||void 0},d.createElement("span",(0,ce.Z)({"data-contentblock-id":u,"data-textline-id":t.id,"data-page-index":c,className:js().selectableText},E&&E.note?{title:E.note}:void 0),D)))},Wp=d.memo(Gp);var Xp=n(65739),Yp=n(40573),Qp=n.n(Yp);function Jp(e){const{contentElement:t,pageIndex:n,contentBlockId:r,alt:o,parentBoundingBoxes:i}=e,{boundingBox:a}=t,{left:s,top:l}=i.reduce(((e,t)=>({left:e.left-t.left,top:e.top-t.top})),{left:a.left,top:a.top}),u={top:l,left:s,width:a.width,height:a.height};return"image"===t.elementType?d.createElement("img",{src:Fe.wc,alt:o,title:o,style:u,"data-contentblock-id":r,"data-contentelement-id":t.id,"data-page-index":n,className:Qp().element,onDragStart:()=>!1}):d.createElement("span",{style:u,"data-contentblock-id":r,"data-contentelement-id":t.id,"data-page-index":n,title:o})}var eh=n(1079),th=n.n(eh);function nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rh(e){for(var t=1;t({left:e.left-t.left,top:e.top-t.top})),{left:o.boundingBox.left,top:o.boundingBox.top}),t={left:e.left,top:e.top,width:o.boundingBox.width,height:o.boundingBox.height};p.style=rh(rh({},t),{},{position:"absolute"}),h=h.push(new _.UL(t))}if(c&&c in Xp.m){var f,m;if(u=a?Xp.m[c]:"span",0===o.contentElements.size&&0===o.textLines.size&&null!==(f=o.contentTreeElementMetadata)&&void 0!==f&&f.alt)p.title=null===(m=o.contentTreeElementMetadata)||void 0===m?void 0:m.alt;"span"===u&&Xp.j[c]&&(p.role=Xp.j[c]),p.style=rh(rh({},p.style),(0,Ts.wj)(u))}return d.createElement(u,(0,ce.Z)({className:o.boundingBox&&"Figure"===c?th().blockContainer:void 0},p),o.contentBlocks.map((n=>d.createElement(e,{dispatch:t.dispatch,enableTextSelection:t.enableTextSelection,key:n.id,pageIndex:t.pageIndex,textLineScales:i,contentBlock:n,nestedContentBlockId:(null!=l?l:"")+o.id+".",vertical:r,eventEmitter:t.eventEmitter,isTextCopyingAllowed:t.isTextCopyingAllowed,isPanModeEnabled:t.isPanModeEnabled,areBlockTypeChildrenAllowed:a&&o.allowsBlockTypeChildren,parentBoundingBoxes:h}))),o.textLines.map((e=>d.createElement(Wp,{enableTextSelection:t.enableTextSelection,key:e.id,pageIndex:t.pageIndex,scaling:i&&i.get(e.id),textLine:e,contentBlockId:(null!=l?l:"")+o.id,vertical:r,eventEmitter:t.eventEmitter,isTextCopyingAllowed:t.isTextCopyingAllowed,isPanModeEnabled:t.isPanModeEnabled,parentBoundingBoxes:h}))),o.contentElements.map((e=>{var n;return d.createElement(Jp,{key:e.id,pageIndex:t.pageIndex,contentBlockId:(null!=l?l:"")+o.id,contentElement:e,alt:null===(n=o.contentTreeElementMetadata)||void 0===n?void 0:n.alt,parentBoundingBoxes:h})})))};var ih;class ah extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"layerRef",d.createRef()),(0,o.Z)(this,"state",{needsTextSelectionOverlay:"gecko"===Ke.SR,overlayHeight:0}),(0,o.Z)(this,"handleMouseDown",(e=>{if(this.state.needsTextSelectionOverlay&&this.layerRef.current){const t=this.layerRef.current.getBoundingClientRect();if(e.clientY){const n=Math.max(0,e.clientY-t.top);this.setState({overlayHeight:n/this.props.zoomLevel})}}})),(0,o.Z)(this,"handleMouseUp",(()=>{this.state.needsTextSelectionOverlay&&this.setState({overlayHeight:0})}))}render(){const{enableTextSelection:e,zoomLevel:t,rotation:n,eventEmitter:r,contentBlocks:o,pageIndex:i,textLineScales:a,pageSize:l}=this.props;return d.createElement("div",{className:h()(js().layer,"PSPDFKit-Content-Layer"),onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,style:{transform:`scale(${t})`,transformOrigin:"0 0"},ref:this.layerRef,role:"webkit"===Ke.SR?"text":void 0},ih||(ih=d.createElement("div",null)),null==o?void 0:o.map((t=>d.createElement(oh,{dispatch:this.props.dispatch,enableTextSelection:e,key:t.id,pageIndex:i,textLineScales:a,contentBlock:t,vertical:90===n||270===n,eventEmitter:r,isTextCopyingAllowed:this.props.isTextCopyingAllowed,isPanModeEnabled:this.props.isPanModeEnabled,nestedContentBlockId:"",areBlockTypeChildrenAllowed:!0,parentBoundingBoxes:(0,s.aV)([new S.UL(l)])}))),this.state.needsTextSelectionOverlay&&this.state.overlayHeight>0?d.createElement("div",{className:js().overlay,style:{top:this.state.overlayHeight}}):null)}}var sh=n(2998),lh=n.n(sh);function uh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ch(e){for(var t=1;te.apply(r)),[r]);d.useEffect((function(){return t((0,Vt.X2)()),function(){t((0,Vt.Zg)())}}),[t]);const{rect:u}=a;return d.createElement("div",{className:lh().canvas},null!==u?d.createElement("svg",{className:lh().svg,style:{left:u.left*i,top:u.top*i,width:u.width*i,height:u.height*i},focusable:!1},d.createElement("rect",{className:lh().rect,height:u.height*i,width:u.width*i,x:0,y:0}),d.createElement("rect",{className:lh().rectStrokeBetween,height:u.height*i,width:u.width*i,x:0,y:0})):null,d.createElement(Kt.Z,{size:n,onDrawStart:function(e){s((t=>ch(ch({},t),{},{startingPoint:e})))},onDrawCoalesced:function(e){const{startingPoint:t}=a;(0,De.k)(t);const n=e[e.length-1];s((e=>ch(ch({},e),{},{rect:hh(t,n)})))},onDrawEnd:function(){const{rect:e}=a,n=5/i;null===e||e.widthe.shadowRoot));return(0,d.useEffect)((()=>{if((0,Ke.b1)())return;function e(e){const{pageX:t,pageY:n}=e,o=e.target.closest(".PSPDFKit-Page");if(!o)return void m(!1);const i=o.getAttribute("data-page-index");if((0,u.kG)("string"==typeof i,"Page number is not a string"),+i===a){m(!0),(0,u.kG)(r.current);const{left:e,top:o}=r.current.getBoundingClientRect();p([t-e,n-o])}else m(!1)}const n=g||t;return n.addEventListener("mousemove",e),()=>{(0,Ke.b1)()||n.removeEventListener("mousemove",e)}}),[r,t,a,g]),f?d.createElement("div",{className:h()({[mh().wrapper]:(0,Ke.b1)()},"PSPDFKit-Form-Creator-Guides"),onPointerUp:i,role:"application"},!(0,Ke.b1)()&&d.createElement(d.Fragment,null,d.createElement("div",{className:mh().hGuide,style:{transform:`translate(0, ${c[1]}px)`}}),d.createElement("div",{className:mh().vGuide,style:{transform:`translate(${c[0]}px,0)`}}),d.createElement("div",{className:h()({[mh().buttonWidget]:o===B.A.BUTTON_WIDGET,[mh().textWidget]:o===B.A.TEXT_WIDGET,[mh().radioWidget]:o===B.A.RADIO_BUTTON_WIDGET,[mh().checkboxWidget]:o===B.A.CHECKBOX_WIDGET,[mh().signWidget]:o===B.A.SIGNATURE_WIDGET,[mh().listBoxWidget]:o===B.A.LIST_BOX_WIDGET,[mh().comboBoxWidget]:o===B.A.COMBO_BOX_WIDGET,[mh().dateWidget]:o===B.A.DATE_WIDGET}),style:{transform:`translate(${c[0]}px,${c[1]}px)`}},d.createElement("div",null,s.formatMessage(Pe.Z.sign)),d.createElement(Re.Z,{src:n(52904)})))):null}var vh=n(26559);function yh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bh(e){for(var t=1;t{const{page:t,textBlockId:n,anchor:r,zoomLevel:o,textBlockState:i,isActive:a,contentEditor:s}=e,l=d.useRef(null),c=d.useRef({offset:{x:0,y:0},size:{x:-1,y:-1}}),p=d.useCallback((0,tu.k)(((e,t)=>((0,u.kG)(s),s.renderTextBlock(n,e,t))),20),[]),h=i.layout,f=i.globalEffects,m=i.modificationsCharacterStyle;d.useEffect((()=>{!async function(){const e=(0,vh.T8)(h,m),n=(0,Wo.L)(),i=await p({pixelAnchor:{x:r.x*o*n,y:r.y*o*n},globalEffects:(0,vh.uE)(f),pixelPageSize:{x:t.pageSize.width*o*n,y:t.pageSize.height*o*n},pixelViewport:{offset:{x:0,y:0},size:{x:t.pageSize.width*o*n,y:t.pageSize.height*o*n}},cursor:null,selection:a?{color:"#b5d7ff"}:null},e),s=i.displayRect,u=l.current;if(!u)return;const d=c.current;d.offset.x!=s.offset.x&&(u.style.left=s.offset.x/n+"px"),d.offset.y!=s.offset.y&&(u.style.top=s.offset.y/n+"px"),d.size.x!=s.size.x&&(u.style.width=s.size.x/(Ke.G6?1:n)+"px",u.width=s.size.x),d.size.y!=s.size.y&&(u.style.height=s.size.y/(Ke.G6?1:n)+"px",u.height=s.size.y);const g=u.getContext("2d");if(g){if(g.clearRect(0,0,s.size.x,s.size.y),s.size.x&&s.size.y){const e=new ImageData(new Uint8ClampedArray(i.imageBuffer),s.size.x,s.size.y);g.putImageData(e,0,0)}c.current=s}}()}));const g=Ke.G6?{transformOrigin:"top left",transform:`scale(${1/devicePixelRatio})`}:{};return d.createElement("canvas",{ref:l,style:bh({position:"absolute",left:0,top:0},g)})},xh=d.memo(wh);var Dh=n(2927);const Ch={on(e,t){document.addEventListener(e,(e=>t(e.detail)))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};var Eh=n(89306),Sh=n.n(Eh),_h=n(72322);const Ph=(0,xe.vU)({fontMismatch:{id:"ceFontMismatch",defaultMessage:"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.",description:"Message to show when there is a mismatch"},toggleFontMismatchTooltip:{id:"ceToggleFontMismatchTooltip",defaultMessage:"Toggle font mismatch tooltip",description:"Message to show for the button that displays the font mismatch tooltip"},deleteTextBlockConfirmMessage:{id:"deleteTextBlockConfirmMessage",defaultMessage:"Are you sure you want to delete this text box?",description:"Message for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityLabel:{id:"deleteTextBlockConfirmAccessibilityLabel",defaultMessage:"Confirm text box deletion",description:"Accessibility label for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityDescription:{id:"deleteTextBlockConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the text box",description:"Accessibility description for the delete annotation confirm dialog"}});function kh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ah(e){for(var t=1;t{const e=S.sl.IDENTITY.rotateRad(m.rotation).scale(1,m.flipY?-1:1),t=r.offset.x+u.width,n=new _.E9({x:t+5*a,y:r.offset.y}).apply(e),o=n.x+s.x*a+(m.rotation<0?r.offset.x:0),i=n.y+s.y*a+(m.rotation<0?r.offset.y:0);return new _.E9({x:o,y:i})}),[u.width,a,m.flipY,m.rotation,s.x,s.y,r.offset.x,r.offset.y]),y=Ah(Ah({},c),{},{position:"fixed",left:v.x,top:v.y,width:Math.max(12,Math.round(16*a)),height:Math.max(12,Math.round(16*a)),zIndex:3});return d.createElement("button",{style:y,className:Sh().tooltipButton,onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerDown:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerOver:()=>{var e;const n=r.offset.x+f.size.x,o=r.offset.y,i=new _.E9({x:n,y:o}),l=S.sl.IDENTITY.rotateRad(m.rotation).scale(1,m.flipY?-1:1),u=i.apply(l);h((0,Dh.lx)(new _.UL({left:s.x+(null!==(e=g.maxWidth)&&void 0!==e?e:u.x),top:v.y/a,width:16,height:16}),t))},onPointerLeave:()=>{if(!Ke.Ni){const e=new AbortController;h((0,Dh.Hv)(e)),h((0,Dh.uy)(e.signal))}}},d.createElement(Re.Z,{src:n(69241),className:Sh().tooltipSVG}),d.createElement(i.TX,null,p(Ph.toggleFontMismatchTooltip)))}function Th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oh(e){for(var t=1;t{var t,n;const{page:{pageSize:r,pageIndex:o},textBlockId:i,anchor:a,zoomLevel:s,textBlockState:u,isActive:c,frameWindow:p}=e,f=(0,l.I0)(),m=u.contentRect,g=u.globalEffects,v=u.detectedStyle,y=u.cursor,b=d.useRef(!1),[w,x]=d.useState(!1),D=d.useRef(!1),C=(0,l.v9)((e=>(0,bl.G_)(o,i)(e))),E=(0,l.v9)((e=>(0,bl.QC)(o,i)(e)));d.useEffect((()=>{if(!c){const e=new AbortController;f((0,Dh.Hv)(e)),f((0,Dh.uy)(e.signal))}}),[c,f]);const S=d.useRef(null),P=d.useMemo((()=>{var e,t,n;return c?null!=(null===(e=v.selectionStyleInfo)||void 0===e?void 0:e.faceMismatch)?v.selectionStyleInfo.faceMismatch.unavailableFaceName:null!==(t=null===(n=v.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName)&&void 0!==t?t:null:null}),[null===(t=v.selectionStyleInfo)||void 0===t?void 0:t.faceMismatch,null===(n=v.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName,c]),k=d.useRef(null),A=d.useRef(null),z=e=>{var t,n;(0,De.k)(e.currentTarget);return new _.E9({x:(null!==(t=e.nativeEvent.offsetX)&&void 0!==t?t:0)/s+m.offset.x,y:(null!==(n=e.nativeEvent.offsetY)&&void 0!==n?n:0)/s+m.offset.y})},T=()=>(0,vh.T8)(u.layout,u.modificationsCharacterStyle),O=function(e){let{textAreaRef:t,textBlockId:n,pageIndex:r,makeExternalState:o}=e;const i=d.useRef(!1),a=(0,l.I0)(),s=e=>{t.current&&null!=e&&e.length&&a((0,Dh.qt)(r,n,null,e,o()))},u=Ke.Dt||Ke.TL;return{onChange:e=>{i.current||s("insertLineBreak"===e.nativeEvent.inputType?"\n":e.nativeEvent.data)},onCompositionStart:()=>{u||(i.current=!0)},onCompositionEnd:e=>{u||(i.current=!1,s(e.data))}}}({textAreaRef:S,textBlockId:i,pageIndex:o,makeExternalState:T}),I=function(e){let{textBlockState:t,textBlockId:n,pageIndex:r,makeExternalState:o}=e;const i=(0,l.I0)();return{onCopy:e=>{e.preventDefault(),t.selection&&e.clipboardData.setData("text/plain",t.selection.text)},onCut:e=>{e.preventDefault(),t.selection&&(e.clipboardData.setData("text/plain",t.selection.text),i((0,Dh.qt)(r,n,null,"",o())))},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");i((0,Dh.qt)(r,n,null,t,o()))}}}({textBlockId:i,pageIndex:o,textBlockState:u,makeExternalState:T}),F=function(e){let{textBlockId:t,makeExternalState:n,textBlockState:r,pageSize:o,pageIndex:i,isSelected:a,isActive:s}=e;const u=(0,l.I0)();return e=>{const l=Ke.V5&&e.altKey||!Ke.V5&&e.ctrlKey;if(s)switch(e.key){case"ArrowRight":u((0,Dh.FD)(i,t,l?"forwardWord":"forward",e.shiftKey,n()));break;case"ArrowLeft":u((0,Dh.FD)(i,t,l?"backwardWord":"backward",e.shiftKey,n()));break;case"ArrowDown":u((0,Dh.FD)(i,t,"nextLine",e.shiftKey,n()));break;case"ArrowUp":u((0,Dh.FD)(i,t,"previousLine",e.shiftKey,n()));break;case"Home":u((0,Dh.FD)(i,t,"first",e.shiftKey,n()));break;case"End":u((0,Dh.FD)(i,t,"last",e.shiftKey,n()));break;case"Backspace":u((0,Dh.RL)(i,t,"backward",n()));break;case"Delete":u((0,Dh.RL)(i,t,"forward",n()));break;case"a":case"A":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;u((0,Dh.Ow)(i,t,"everything",n()));break;case"z":case"Z":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;e.shiftKey?u((0,Dh.yy)(i,t,n())):u((0,Dh.Zv)(i,t,n()));break;case"y":case"Y":if(!(Ke.V5&&e.metaKey||!Ke.V5&&e.ctrlKey))break;u((0,Dh.yy)(i,t,n()));break;case"Escape":u(Dh.Pq),e.preventDefault()}else if(a){let n=1;switch(e.shiftKey&&(n=10),e.key){case"ArrowRight":{e.preventDefault();const t=new _.E9({x:r.anchor.x+n,y:r.anchor.y});if(t.x+r.contentRect.offset.x+r.contentRect.size.x>=o.width)break;u((0,Dh.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowLeft":{e.preventDefault();const t=new _.E9({x:r.anchor.x-n,y:r.anchor.y});if(t.x+r.contentRect.offset.x<=0)break;u((0,Dh.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowDown":{e.preventDefault();const t=new _.E9({x:r.anchor.x,y:r.anchor.y+n});if(t.y+r.contentRect.offset.y+r.contentRect.size.y>=o.height)break;u((0,Dh.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowUp":{e.preventDefault();const t=new _.E9({x:r.anchor.x,y:r.anchor.y-n});if(t.y+r.contentRect.offset.y<=0)break;u((0,Dh.$t)({anchor:t,isKeyboardMove:!0}));break}case"Enter":u((0,Dh.SF)(i,t)),e.preventDefault();break;case"Escape":u(Dh.Pq),e.preventDefault();break;case"Backspace":case"Delete":case"Del":u((0,Dh.u)(bl.wR.Delete)),e.preventDefault(),e.stopPropagation();break;default:e.preventDefault()}}else switch(e.key){case"Enter":u((0,Dh.C0)(i,t)),e.preventDefault();break;case"Escape":u(Dh.Pq),e.preventDefault()}}}({textBlockId:i,textBlockState:u,makeExternalState:T,pageSize:r,pageIndex:o,isActive:c,isSelected:C});function M(e){var t;const n=z(e),r={x:n.x,y:n.y};null===(t=S.current)||void 0===t||t.focus(),f((0,Dh.v2)(o,i,r,e.shiftKey,T())),k.current={mode:"characters",begin:r}}function R(e){e.stopPropagation(),e.stopImmediatePropagation();const t={x:e.clientX,y:e.clientY};if(!A.current)return[null,null];const n=new _.UL({width:r.width,height:r.height});let o=new _.E9(t);const i=A.current;if(o=o.apply(i.transformation),!n.isPointInside(o))return[null,null];return[(t.x-i.start.x)*i.scale/i.zoomLevel,(t.y-i.start.y)*i.scale/i.zoomLevel]}d.useEffect((()=>{D.current&&C&&(D.current=!1)}),[C]);const j=d.useCallback((0,_h.Z)((e=>{const[t,n]=R(e);if(null===t||null===n||!A.current)return;const r=new _.E9({x:A.current.anchor.x+t,y:A.current.anchor.y+n});A.current.changed=!0,f((0,Dh.$t)({anchor:r,pageIndex:o,textBlockId:i}))}),20),[]),B=d.useCallback((()=>{var e;p.document.removeEventListener("pointermove",j,{capture:!0}),p.document.removeEventListener("pointerup",B,{capture:!0}),f((0,yu.ac)(!1)),null!==(e=A.current)&&void 0!==e&&e.changed&&(A.current.previousInteractionState===bl.FP.Selected?f((0,Dh.C0)(o,i)):f(Dh.Pq)),A.current=null}),[]);d.useEffect((()=>{var e;c&&u.justCreated&&(null===(e=S.current)||void 0===e||e.focus())}),[c,u.justCreated]);const N=()=>{var e;return c&&(null===(e=S.current)||void 0===e?void 0:e.focus())};d.useEffect((()=>(Ch.on("content-editing:re-focus",N),()=>Ch.remove("content-editing:re-focus",N))));const L=u.layout;(0,De.k)(null!==L.maxWidth);const K={offset:{x:(0,Ml._v)(L.alignment,Ml.Im,L.maxWidth),y:m.offset.y},size:{x:L.maxWidth,y:m.size.y}},V=(0,Ml.sz)(xl(K),s),q=(0,Ml.yK)(V,a,s),H={position:"absolute",left:q.offset.x,top:q.offset.y},Z=Oh(Oh({},H),{},{width:q.size.x,height:q.size.y,transformOrigin:`${-V.offset.x}px ${-V.offset.y}px`,transform:`rotate(${g.rotation}rad) scaleY(${g.flipY?-1:1})`});u.justCreated&&(Z.width=Math.max(m.size.x,10)*s);const U=(0,l.v9)((e=>(0,G.zi)(e,o))),$=(e,t)=>n=>{n.stopPropagation(),n.isPrimary&&0===n.button&&(n.nativeEvent.stopImmediatePropagation(),n.preventDefault(),p.document.addEventListener("pointermove",W,{passive:!0,capture:!0}),p.document.addEventListener("pointerup",X,{passive:!0,capture:!0}),f((0,yu.ac)(!0)),C||c||f((0,Dh.SF)(o,i)),(0,De.k)(null!==L.maxWidth),A.current={fixpoint:e,scale:t,zoomLevel:s,start:{x:n.clientX,y:n.clientY},anchor:u.anchor,maxWidth:L.maxWidth,transformation:U,previousInteractionState:C?bl.FP.Selected:bl.FP.None})},W=d.useCallback((0,_h.Z)((e=>{const[t]=R(e);null!==t&&A.current&&f((0,Dh.PZ)({fixpointValue:A.current.fixpoint,newWidth:A.current.maxWidth+t}))}),20),[]),X=d.useCallback((()=>{A.current=null,p.document.removeEventListener("pointermove",W,{capture:!0}),p.document.removeEventListener("pointerup",X,{capture:!0}),f((0,yu.ac)(!1))}),[]);return d.createElement(d.Fragment,null,P?d.createElement(zh,{faceMismatch:P,relativePixelContentRect:V,textBlockState:u,zoomLevel:s,anchor:a,geometricStyleAttributes:Z,positionAttributes:H}):null,d.createElement("div",{style:Oh(Oh({},Z),{},{position:"fixed",zIndex:2}),className:h()(Sh().textBlock,{[Sh().selectedTextBlock]:C,[Sh().movingTextBlock]:E,[Sh().activeTextBlock]:c,[Sh().focusIn]:w}),onFocus:()=>{b.current=!0},onBlur:()=>{b.current=!1,x(!1)},onKeyUp:e=>{const t=e.target.ownerDocument.defaultView&&e.target instanceof e.target.ownerDocument.defaultView.HTMLTextAreaElement;b.current&&"Tab"===e.key&&t&&(x(!0),f((0,Dh.FD)(o,i,"first",!1,T())))}},d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`${m.offset.x*s} ${V.offset.y} ${V.size.x} ${V.size.y}`,style:Oh(Oh({},Z),{},{width:q.size.x,position:"absolute",left:0,top:0,transform:void 0,transformOrigin:void 0,display:c?"block":"none"}),className:Sh().blinkingCaret},d.createElement("line",{stroke:"currentColor",x1:y.offset.x*s,y1:(y.offset.y+y.lineSpacing.bottom)*s,x2:y.offset.x*s,y2:(y.offset.y-y.lineSpacing.top)*s})),d.createElement("textarea",(0,ce.Z)({ref:S,onPointerDown:e=>{e.stopPropagation(),c?M(e):(e.preventDefault(),e.isPrimary&&(p.document.addEventListener("pointermove",j,{passive:!0,capture:!0}),p.document.addEventListener("pointerup",B,{passive:!0,capture:!0}),f((0,yu.ac)(!0)),(0,De.k)(null!==L.maxWidth),A.current={fixpoint:0,scale:1,zoomLevel:s,start:{x:e.clientX,y:e.clientY},anchor:u.anchor,maxWidth:L.maxWidth,transformation:U,previousInteractionState:C?bl.FP.Selected:bl.FP.None}))},onPointerMove:e=>{if(A.current)return;if(e.preventDefault(),!(c&&1&e.buttons))return;e.stopPropagation();const t=z(e),n={x:t.x,y:t.y},r=k.current;(0,De.k)(r),f((0,Dh.sC)(o,i,r.begin,n,r.mode,T()))},onPointerUp:e=>{var t;null!==(t=A.current)&&void 0!==t&&t.changed||(e.preventDefault(),e.stopPropagation(),C||c?c||(f((0,Dh.SF)(o,i)),M(e)):(f((0,Dh.C0)(o,i)),D.current=!0))},onMouseUp:e=>{if(e.detail>=2){e.preventDefault(),e.stopPropagation();const t=z(e),n={x:t.x,y:t.y};k.current={mode:"words",begin:n},f((0,Dh.sC)(o,i,n,n,"words",T())),e.detail>=3&&f((0,Dh.Ow)(o,i,"everything",T()))}},onClick:e=>{e.preventDefault(),e.stopPropagation()},onKeyDown:F},O,I,{onContextMenu:io.PF,style:Oh(Oh({},Z),{},{resize:"none",opacity:0,touchAction:"none",left:0,top:0,transform:void 0,transformOrigin:void 0}),defaultValue:u.layoutView.lines.map((e=>(0,Ml.z8)(e.elements))).join(" ")})),C?d.createElement(d.Fragment,null,d.createElement("div",{draggable:!0,onPointerDown:$(Ml.Tl,-1),className:h()(Sh().resizeHandle,Sh().resizeHandleLeft)},d.createElement("div",{className:Sh().resizeHandleCircle})),d.createElement("div",{draggable:!0,onPointerDown:$(Ml.Im,1),className:h()(Sh().resizeHandle,Sh().resizeHandleRight)},d.createElement("div",{className:Sh().resizeHandleCircle}))):null))},Fh=d.memo(Ih),Mh=e=>{const{page:t,textBlockId:n,zoomLevel:r,frameWindow:o}=e,i=(0,l.v9)((e=>{const r=(0,bl.aT)(t.pageIndex,n)(e);return(0,De.k)(r),r.anchor})),a=(0,l.v9)((e=>(0,bl.aT)(t.pageIndex,n)(e)));(0,De.k)(a);const s=(0,l.v9)((e=>(0,bl.Dn)(t.pageIndex,n)(e))),u=(0,l.v9)((e=>e.contentEditorSession.contentEditor));return d.createElement("div",{className:"PSPDFKit-Content-Editing-Text-Block"},d.createElement(xh,{page:t,textBlockId:n,anchor:i,zoomLevel:r,textBlockState:a,isActive:s,contentEditor:u}),d.createElement(Fh,{page:t,textBlockId:n,anchor:i,zoomLevel:r,isActive:s,textBlockState:a,frameWindow:o}))},Rh=d.memo(Mh);function jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bh(e){for(var t=1;t{const t=(0,l.I0)(),{formatMessage:n}=(0,xe.YB)(),{page:r,zoomLevel:o,backend:i,frameWindow:a}=e;d.useEffect((()=>{var e;t((e=r.pageIndex,async(t,n)=>{if((0,bl.Cd)(e)(n())!=bl.R1.Uninitialized)return;t({type:K.l$y,pageIndex:e});const r=n().contentEditorSession;(0,u.kG)(r.contentEditor);const o=await r.contentEditor.detectParagraphs(e);t({type:K.kD6,pageIndex:e,initialTextBlocks:o})}))}),[t,r.pageIndex]);const s=r.pageSize.height*o,c=r.pageSize.width*o,p=(0,l.v9)((0,bl.jI)(r.pageIndex),l.wU),h=(0,l.v9)((e=>e.contentEditorSession.mode)),f=h===bl.wR.Create,m=h===bl.wR.Delete,g=(0,l.v9)((e=>(0,G.zi)(e,r.pageIndex))),v=(0,l.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),y=v===bl.FP.Active,b=v===bl.FP.Moving;return d.createElement("div",{tabIndex:0,onPointerDown:e=>{if(f){const n=new _.E9({x:e.clientX,y:e.clientY}).apply(g),o=new bl.Sg({x:n.x,y:n.y});t((0,Dh.rO)(r.pageIndex,o))}else m||(y&&(e.preventDefault(),e.stopPropagation()),t(Dh.Pq))},className:"content-editing-overlay",style:Bh({position:"absolute",top:0,left:0,touchAction:b?"none":"auto",height:s,width:c,zIndex:1},f?{cursor:"text"}:{})},m&&d.createElement(ju.Z,{onConfirm:()=>t(Dh.um),onCancel:()=>t((0,Dh.u)(bl.wR.Edit)),accessibilityLabel:n(Ph.deleteTextBlockConfirmAccessibilityLabel),accessibilityDescription:n(Ph.deleteTextBlockConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},d.createElement("p",null,n(Ph.deleteTextBlockConfirmMessage))),p.map((e=>d.createElement(Rh,{key:e,backend:i,textBlockId:e,page:r,zoomLevel:o,frameWindow:a}))))},Lh=d.memo(Nh);function Kh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vh(e){for(var t=1;t{let{pageSize:t}=e;const n=(0,l.v9)((e=>e.hintLines));return n?d.createElement("svg",{id:"hint-lines",viewBox:`0 0 ${t.width} ${t.height}`,className:Gh().hintLineSvg},n.lines.map(((e,t)=>d.createElement("line",{key:t,x1:e.start.x,y1:e.start.y,x2:e.end.x,y2:e.end.y,className:Gh().line})))):null};class Xh extends d.Component{constructor(e){super(e),(0,o.Z)(this,"pageRef",d.createRef()),(0,o.Z)(this,"_handleOverviewRenderFinished",(()=>{this.setState({isOverviewRendered:!0}),this.props.onInitialOverviewRenderFinished&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex)})),(0,o.Z)(this,"_handleScroll",(e=>{this.pageRef.current&&(this.pageRef.current.scrollTop=0,this.pageRef.current.scrollLeft=0),e.stopPropagation(),e.preventDefault()})),(0,o.Z)(this,"_handleOnPressEmit",((e,t)=>{const n={pageIndex:this.props.page.pageIndex,point:t,nativeEvent:e.nativeEvent};this.props.eventEmitter.emit("page.press",n)})),(0,o.Z)(this,"onCropAreaChangeComplete",(e=>{const t=(0,He.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStop",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"onCropAreaChangeStart",(e=>{const t=(0,He.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStart",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"createWidgetAnnotation",(e=>{var t,n,r;e.stopPropagation(),this.props.dispatch((t=this.props.page.pageIndex,n=[e.pageX,e.pageY],r=this.props.intl,async(e,o)=>{const{interactionMode:i,viewportState:a,onWidgetAnnotationCreationStart:l,changeManager:c}=o();Hh++;const d=(0,G.Ek)(a,t),p=(0,j.xc)();(0,u.kG)(i,"interactionMode is not defined");const h=qh[i],f=new Date;let m,g=new _.x_(Vh(Vh({id:p,formFieldName:`${i}_${(0,ts.C)()}`,boundingBox:new _.UL({left:n[0],top:n[1],width:h[0],height:h[1]}).apply(d),pageIndex:t,createdAt:f,updatedAt:f,fontSize:12},i===B.A.BUTTON_WIDGET?{backgroundColor:_.Il.BLUE,fontColor:_.Il.WHITE}:{}),i===B.A.DATE_WIDGET?{additionalActions:{onFormat:new _.bp({script:'AFDate_FormatEx("yyyy-mm-dd")'})}}:{}));switch(i){case B.A.BUTTON_WIDGET:m=new _.R0({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName,buttonLabel:"Button"});break;case B.A.TEXT_WIDGET:case B.A.DATE_WIDGET:m=new _.$o({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName});break;case B.A.RADIO_BUTTON_WIDGET:m=new _.XQ({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName,options:(0,s.aV)([new _.mv({label:r.formatMessage(Qh.labelX,{arg0:1}),value:`Value ${Hh}`})])});break;case B.A.CHECKBOX_WIDGET:m=new _.rF({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName,options:(0,s.aV)([new _.mv({label:r.formatMessage(Qh.labelX,{arg0:1}),value:`Value ${Hh}`})])});break;case B.A.SIGNATURE_WIDGET:m=new _.Yo({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName});break;case B.A.LIST_BOX_WIDGET:m=new _.Vi({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName,options:(0,s.aV)([new _.mv({label:"Option 1",value:`Value ${Hh}`})])});break;case B.A.COMBO_BOX_WIDGET:m=new _.fB({annotationIds:(0,s.aV)([g.id]),name:g.formFieldName,options:(0,s.aV)([new _.mv({label:"Option 1",value:"Option 1"}),new _.mv({label:"Option 2",value:"Option 2"})])});break;default:throw new Error(`Unknown interaction mode: ${i}`)}if(m=m.set("id",(0,ts.C)()),l){const e=l(g,m);g=e.annotation||g,m=e.formField||m,(0,u.kG)(g instanceof _.x_,"widgetAnnotation must be an instance of WidgetAnnotation"),(0,u.kG)(m instanceof _.Wi,"formField must be an instance of FormField"),(0,u.kG)(g.formFieldName===m.name,"widgetAnnotation.formFieldName must be equal to formField.name"),(0,u.kG)(t===g.pageIndex,"You are not allowed to change the pageIndex")}e({type:K.vgx,annotationId:g.id}),null==c||c.create([g,m]),e((0,er.el)()),e((0,Se.J4)((0,s.l4)([g.id]),N.o.SELECTED))}))})),this._contentBlocksPromise=null,this._cancelTextPromise=null,this.state={hasBeenInViewport:e.inViewport,isOverviewRendered:!e.renderPagePreview}}shouldComponentUpdate(e,t){return!!e.page&&(this.props.isReused!==e.isReused||(this.props.page.pageIndex!==e.page.pageIndex||(!(!e.inViewport||this.props.inViewport)||(!(e.inViewport||!this.props.inViewport)||(e.shouldPrerender!==this.props.shouldPrerender||(e.inViewport?_e.O.call(this,e,t):this.props.interactionMode===B.A.CONTENT_EDITOR&&e.interactionMode!==B.A.CONTENT_EDITOR||this.props.viewportState.zoomLevel!==e.viewportState.zoomLevel))))))}UNSAFE_componentWillReceiveProps(e){e.inViewport&&!this.state.hasBeenInViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillMount(){(this.props.inViewport||this.props.shouldPrerender)&&this.componentWillEnterViewport(this.props),this.props.inViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillUpdate(e){this.props.isReused?(this._resetTextLines(),this._fetchPageContent(e)):!this.props.inViewport&&e.inViewport||e.shouldPrerender?this.componentWillEnterViewport(e):this.props.inViewport&&!e.inViewport&&this.componentWillExitViewport()}componentDidUpdate(e){this.state.isOverviewRendered&&this.props.onInitialOverviewRenderFinished&&this.props.parent!==e.parent&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex),e.page.pageKey!==this.props.page.pageKey&&(this._resetTextLines(),this.fetchTextLinesForProps(this.props))}componentWillEnterViewport(e){this._fetchPageContent(e)}_fetchPageContent(e){e.annotationManager.loadAnnotationsForPageIndex(e.page.pageIndex),null==e.page.contentBlocks&&null==this._contentBlocksPromise&&this.fetchTextLinesForProps(e)}componentWillExitViewport(){this._resetTextLines()}_resetTextLines(){this._contentBlocksPromise&&this._cancelTextPromise&&(this._cancelTextPromise(),this._contentBlocksPromise=null)}async fetchTextLinesForProps(e){if(!this.props.enableTextLoading||this.props.interactionMode===B.A.CONTENT_EDITOR)return void e.dispatch((0,Zl.wY)(e.page.pageIndex,(0,s.aV)()));const{promise:t,cancel:n}=e.backend.getContentTreeForPageIndex(e.page.pageIndex);this._contentBlocksPromise=t,this._cancelTextPromise=n;try{const t=await this._contentBlocksPromise;e.dispatch((0,Zl.wY)(e.page.pageIndex,t))}catch(e){if(e&&!e.aborted)throw e}}isWithinRange(){const{page:{pageIndex:e},viewportState:{currentPageIndex:t}}=this.props;return e>=Math.min(0,t-2)&&e<=t+2}render(){const{props:e}=this,{page:t,intl:n,innerRef:r,viewportState:o,frameWindow:a,cropInfo:s}=e,{formatMessage:l}=n,u={width:t.pageSize.width*o.zoomLevel,height:t.pageSize.height*o.zoomLevel};let c={height:u.height,width:u.width,transform:S.sl.IDENTITY.rotate(-o.pagesRotation).toCssValue()};if(90===o.pagesRotation||270===o.pagesRotation){const e=(u.height-u.width)/2;c={height:u.width,width:u.height,transform:S.sl.IDENTITY.rotate(o.pagesRotation).translate({x:-e,y:e}).toCssValue()}}const p=h()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${o.pagesRotation}-degree`]:!0,[Uh().root]:!0,[Uh()["deg-"+o.pagesRotation]]:!0,[Uh().textHighlighterMode]:e.interactionMode===B.A.TEXT_HIGHLIGHTER||e.interactionMode===B.A.REDACT_TEXT_HIGHLIGHTER,[Uh().hideCursor]:(0,Ve.o6)(e.interactionMode)});return t?d.createElement("section",{className:p,style:u,ref:this.pageRef,"data-page-index":t.pageIndex,"data-page-is-loaded":null!==t.contentBlocks&&this.state.isOverviewRendered,onScroll:this._handleScroll,key:t.pageKey,"aria-label":l(Qh.pageX,{arg0:t.pageLabel||t.pageIndex+1})},d.createElement("div",{tabIndex:e.documentHasActiveAnnotation?-1:0,className:Uh().focusPage,ref:r}),this.state.hasBeenInViewport&&this.state.isOverviewRendered&&t.contentBlocks?null:d.createElement(i.TX,null,l(Pe.Z.loading)),d.createElement(qp,{pageIndex:t.pageIndex,onEmit:this._handleOnPressEmit,element:"div"},(this.state.hasBeenInViewport||this.state.isOverviewRendered||e.shouldPrerender)&&d.createElement(Kp.Z,{inViewport:e.inViewport,shouldPrerender:!e.inViewport&&e.shouldPrerender,page:t,backend:e.backend,zoomLevel:o.zoomLevel,rotation:o.pagesRotation,renderPageCallback:e.renderPageCallback,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,allowedTileScales:e.allowedTileScales,viewportRect:o.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.isPageSizeReal,inContentEditorMode:e.interactionMode===B.A.CONTENT_EDITOR}),e.interactionMode===B.A.CONTENT_EDITOR&&e.inViewport&&d.createElement(Lh,{backend:e.backend,zoomLevel:o.zoomLevel,page:t,frameWindow:a}),this.props.hintLinesPageIndex===t.pageIndex?d.createElement(Wh,{pageSize:t.pageSize}):null,this.state.hasBeenInViewport&&this.state.isOverviewRendered&&d.createElement(d.Fragment,null,d.createElement($p,{pageIndex:t.pageIndex,zoomLevel:o.zoomLevel}),d.createElement(vu.Consumer,null,(n=>d.createElement(zp,{page:t,getScrollElement:n,setGlobalCursor:this.props.setGlobalCursor},t.contentBlocks?d.createElement(ah,{dispatch:e.dispatch,enableTextSelection:e.enableTextSelection,zoomLevel:o.zoomLevel,rotation:o.pagesRotation,eventEmitter:e.eventEmitter,isTextCopyingAllowed:e.isTextCopyingAllowed,isPanModeEnabled:e.isPanModeEnabled,pageIndex:t.pageIndex,contentBlocks:t.contentBlocks,textLineScales:t.textLineScales,pageSize:t.pageSize}):null))),e.interactionMode===B.A.MARQUEE_ZOOM?d.createElement(ph,{pageIndex:t.pageIndex,pageSize:t.pageSize,scrollElement:e.scrollElement}):null,e.customOverlayItems.size>0&&d.createElement("div",null,e.customOverlayItems.map((e=>d.createElement(Lp,{key:e.id,item:e,rotation:o.pagesRotation,zoomLevel:o.zoomLevel})))))),e.interactionMode===B.A.DOCUMENT_CROP&&(null===s&&this.isWithinRange()||(null==s?void 0:s.pageIndex)===t.pageIndex)&&d.createElement("div",{style:c},d.createElement(Ha,{viewportState:o,page:this.props.page,onAreaChangeComplete:this.onCropAreaChangeComplete,frameWindow:a,onAreaChangeStart:this.onCropAreaChangeStart})),(0,Ve.o6)(e.interactionMode)&&d.createElement("div",{style:c},d.createElement(gh,{frameWindow:a,pageRef:this.pageRef,interactionMode:e.interactionMode,pageIndex:t.pageIndex,onCreate:this.createWidgetAnnotation,intl:e.intl}))):null}}const Yh=(0,xe.XN)(Xh),Qh=(0,xe.vU)({pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Current page"},labelX:{id:"labelX",defaultMessage:"Label {arg0}",description:"Label"}});const Jh=(0,qn.x)((function(e,t){var n;const r=e.pages.get(t.pageIndex),o=(null==r?void 0:r.customOverlayItemIds.map((t=>e.customOverlayItems.get(t))).toList())||null;return{frameWindow:e.frameWindow,enableTextLoading:(0,Vn.$Q)(e),enableTextSelection:e.interactionMode!==B.A.PAN,annotationManager:e.annotationManager,backend:e.backend,customOverlayItems:o,eventEmitter:e.eventEmitter,page:r,isTextCopyingAllowed:(0,Vn.HI)(e),renderPageCallback:e.renderPageCallback,interactionMode:e.interactionMode,documentHasActiveAnnotation:e.selectedAnnotationIds.size>0,allowedTileScales:e.allowedTileScales,isPanModeEnabled:e.interactionMode===B.A.PAN&&!Ke.Ni,viewportState:e.viewportState,scrollElement:e.scrollElement,isReused:!!e.reuseState,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.firstCurrentPageIndex===t.pageIndex||e.arePageSizesLoaded,hintLinesPageIndex:null===(n=e.hintLines)||void 0===n?void 0:n.pageIndex}}))(Yh);class ef extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"spreadRef",d.createRef()),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"pageIndexesWaitingForRender",(0,Ds.P1)(this.props.viewportState,this.props.spreadIndex)),(0,o.Z)(this,"_handleOverviewRenderFinished",(e=>{if(this.props.onOverviewRenderFinished){const t=this.pageIndexesWaitingForRender.indexOf(e);t>-1&&this.pageIndexesWaitingForRender.splice(t,1),0===this.pageIndexesWaitingForRender.length&&this.props.onOverviewRenderFinished&&this.props.onOverviewRenderFinished(this.props.spreadIndex)}}))}render(){const{spreadIndex:e,viewportState:t,inViewport:n,shouldPrerender:r,onCropChange:o,cropInfo:i}=this.props,a=(0,Ds.Xk)(t,e);return d.createElement("div",{style:{width:a.width*t.zoomLevel,height:a.height*t.zoomLevel},hidden:this.props.hidden},(0,Ds.P1)(t,e).map((a=>{const s=(0,G.DB)(S.sl.IDENTITY,t,a,e,t.zoomLevel),l=this.props.pageKeys.get(a);return d.createElement("div",{key:l,style:{transform:s.toCssValue(!0),transformOrigin:"0 0",position:"absolute"}},d.createElement(ue.Reparent,{id:`page-${l}`},d.createElement(Jh,{pageIndex:a,inViewport:n,shouldPrerender:r,viewportRect:t.viewportRect,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,innerRef:this.props.innerRef,parent:this.spreadRef,onCropChange:o,cropInfo:i,setGlobalCursor:this.props.setGlobalCursor})))})))}}var tf=n(80444),nf=n(14286);const rf=d.memo((function(e){const{viewportState:t}=e,{lastScrollUsingKeyboard:n}=t,r=d.useRef(null),o=(0,Ds.dF)(t,t.currentPageIndex),[i,a]=(0,Ds.wU)(t,o);return d.useEffect((()=>{var e;const i=(0,Ds.kd)(t),a=null!==(e=t.prerenderedPageSpreads)&&void 0!==e?e:i;o-a>0&&r.current&&n&&r.current.focus({preventScroll:!0})}),[o,n,t]),0===t.viewportRect.width||0===t.viewportRect.height?null:d.createElement(tf.Z,{dispatch:e.dispatch,viewportState:t},d.createElement("div",null,function(){const{viewportState:t,viewportState:{viewportRect:n,scrollPosition:s,zoomLevel:l},onCropChange:u,cropInfo:c}=e,p=(0,Ds.kd)(t),h=s.y,f=s.y+n.height/l,m=(0,Ds.Ad)(t);let g=0,v=0;const y=[];for(let n=0;nh,x=(m-s.width)/2,D=new S.UL({left:x,top:g,width:s.width,height:s.height}).scale(l),C={left:D.left,top:D.top,width:D.width,height:D.height,position:"absolute"};v+=t.spreadSpacing,g=v;const E=null!==(b=t.prerenderedPageSpreads)&&void 0!==b?b:p;if((0,Ds.wX)(n,o,E)){const s=n===o,l=(0,Ds.nw)(t)===nf.X.DOUBLE?n.toString():e.pageKeys.get(n);y.push(d.createElement("div",{key:l,className:"PSPDFKit-Spread",style:C,"data-spread-index":n},d.createElement(ef,{spreadIndex:n,viewportState:t,inViewport:w,shouldPrerender:!s&&"number"==typeof i&&o===i,onOverviewRenderFinished:a,innerRef:s?r:void 0,onCropChange:u,cropInfo:c,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor})))}}return y}()))}));var of=n(60679);function af(){return af=Object.assign||function(e){for(var t=1;t{const{decorative:n,orientation:r=pf,...o}=e,i=mf(r)?r:pf,a=n?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"};return(0,d.createElement)(cf.WV.div,df({"data-orientation":i},a,o,{ref:t}))}));function mf(e){return hf.includes(e)}ff.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!mf(r)?new Error(function(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \`${pf}\`.`}(o,n)):null}};const gf=ff;function vf(){return vf=Object.assign||function(e){for(var t=1;t{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...i}=e,[a=!1,s]=(0,bf.T)({prop:n,onChange:o,defaultProp:r});return(0,d.createElement)(cf.WV.button,yf({type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0},i,{ref:t,onClick:(0,sf.M)(e.onClick,(()=>{e.disabled||s(!a)}))}))}));var xf=n(69409);const Df="ToggleGroup",[Cf,Ef]=(0,lf.b)(Df,[uf.Pc]),Sf=(0,uf.Pc)(),_f=d.forwardRef(((e,t)=>{const{type:n,...r}=e;if("single"===n){const e=r;return d.createElement(Af,vf({},e,{ref:t}))}if("multiple"===n){const e=r;return d.createElement(zf,vf({},e,{ref:t}))}throw new Error("Missing prop `type` expected on `ToggleGroup`")})),[Pf,kf]=Cf(Df),Af=d.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=(()=>{}),...i}=e,[a,s]=(0,bf.T)({prop:n,defaultProp:r,onChange:o});return d.createElement(Pf,{scope:e.__scopeToggleGroup,type:"single",value:a?[a]:[],onItemActivate:s,onItemDeactivate:d.useCallback((()=>s("")),[s])},d.createElement(If,vf({},i,{ref:t})))})),zf=d.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=(()=>{}),...i}=e,[a=[],s]=(0,bf.T)({prop:n,defaultProp:r,onChange:o}),l=d.useCallback((e=>s(((t=[])=>[...t,e]))),[s]),u=d.useCallback((e=>s(((t=[])=>t.filter((t=>t!==e))))),[s]);return d.createElement(Pf,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:l,onItemDeactivate:u},d.createElement(If,vf({},i,{ref:t})))})),[Tf,Of]=Cf(Df),If=d.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:i,dir:a,loop:s=!0,...l}=e,u=Sf(n),c=(0,xf.gm)(a),p={role:"group",dir:c,...l};return d.createElement(Tf,{scope:n,rovingFocus:o,disabled:r},o?d.createElement(uf.fC,vf({asChild:!0},u,{orientation:i,dir:c,loop:s}),d.createElement(cf.WV.div,vf({},p,{ref:t}))):d.createElement(cf.WV.div,vf({},p,{ref:t})))})),Ff="ToggleGroupItem",Mf=d.forwardRef(((e,t)=>{const n=kf(Ff,e.__scopeToggleGroup),r=Of(Ff,e.__scopeToggleGroup),o=Sf(e.__scopeToggleGroup),i=n.value.includes(e.value),a=r.disabled||e.disabled,s={...e,pressed:i,disabled:a},l=d.useRef(null);return r.rovingFocus?d.createElement(uf.ck,vf({asChild:!0},o,{focusable:!a,active:i,ref:l}),d.createElement(Rf,vf({},s,{ref:t}))):d.createElement(Rf,vf({},s,{ref:t}))})),Rf=d.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,i=kf(Ff,n),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===i.type?a:void 0;return d.createElement(wf,vf({},s,o,{ref:t,onPressedChange:e=>{e?i.onItemActivate(r):i.onItemDeactivate(r)}}))})),jf=_f,Bf=Mf,Nf="Toolbar",[Lf,Kf]=(0,lf.b)(Nf,[uf.Pc,Ef]),Vf=(0,uf.Pc)(),qf=Ef(),[Hf,Zf]=Lf(Nf),Uf=(0,d.forwardRef)(((e,t)=>{const{__scopeToolbar:n,orientation:r="horizontal",dir:o,loop:i=!0,...a}=e,s=Vf(n),l=(0,xf.gm)(o);return(0,d.createElement)(Hf,{scope:n,orientation:r,dir:l},(0,d.createElement)(uf.fC,af({asChild:!0},s,{orientation:r,dir:l,loop:i}),(0,d.createElement)(cf.WV.div,af({role:"toolbar","aria-orientation":r,dir:l},a,{ref:t}))))})),$f="ToolbarSeparator",Gf=(0,d.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...r}=e,o=Zf($f,n);return(0,d.createElement)(gf,af({orientation:"horizontal"===o.orientation?"vertical":"horizontal"},r,{ref:t}))})),Wf=(0,d.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...r}=e,o=Vf(n);return(0,d.createElement)(uf.ck,af({asChild:!0},o,{focusable:!e.disabled}),(0,d.createElement)(cf.WV.button,af({type:"button"},r,{ref:t})))})),Xf="ToolbarToggleGroup",Yf=(0,d.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...r}=e,o=Zf(Xf,n),i=qf(n);return(0,d.createElement)(jf,af({"data-orientation":o.orientation,dir:o.dir},i,r,{ref:t,rovingFocus:!1}))})),Qf=(0,d.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...r}=e,o=qf(n),i={__scopeToolbar:e.__scopeToolbar};return(0,d.createElement)(Wf,af({asChild:!0},i),(0,d.createElement)(Bf,af({},o,r,{ref:t})))})),Jf=Uf,em=Gf,tm=Wf,nm=Yf,rm=Qf;var om,im=n(12921),am=n(54941);const sm=e=>{let{rect:t,onInteractOutside:n,onEscapeKeyDown:r,children:o,onOpenAutoFocus:i,contentClassName:a,container:s}=e;return d.createElement(am.fC,{open:!!t},d.createElement(am.ee,{style:{position:"absolute",left:null==t?void 0:t.left,top:null==t?void 0:t.top,width:null==t?void 0:t.width,height:null==t?void 0:t.height,visibility:"hidden"}},om||(om=d.createElement("div",null,"Demo"))),d.createElement(am.h_,{container:s},d.createElement(am.VY,{sideOffset:10,onInteractOutside:n,onOpenAutoFocus:i,onEscapeKeyDown:r,className:a},o)))};var lm=n(76504),um=n.n(lm),cm=n(80703),dm=n(11147),pm=n.n(dm),hm=n(8643),fm=n.n(hm);const mm=["label","errorMessage","inputClassName","className","disablePadding"];function gm(e){let{label:t,errorMessage:n,inputClassName:r,className:o,disablePadding:a}=e,s=(0,ne.Z)(e,mm);return d.createElement("div",{className:h()(!a&&fm().wrapper,o)},d.createElement("label",{className:h()(fm().label,"PSPDFKit-Form-Creator-Editor-Text-Input-Label")},t,s.required&&"*",d.createElement(i.oi,(0,ce.Z)({},s,{className:h()(fm().input,{[fm().inputError]:!!n},r)}))),n&&d.createElement("span",{className:fm().errorLabel},n))}var vm=n(11236);const ym={uri:"uri",page:"page"},bm="edit",wm="hover",xm="open";function Dm(e){if(!e.action)return null;const t=e.action;return t instanceof _.lm?t.uri:t.pageIndex+1}function Cm(e){return d.createElement("div",{className:h()(pm().container)},d.createElement("div",{className:pm().innerContainer},d.createElement("div",{className:pm().content},d.createElement(Em,e))))}function Em(e){var t,r;let{pages:o,dispatch:a,annotation:s}=e;const l=(0,xe.YB)(),u=s.action instanceof _.Di,c=s.action instanceof _.lm;let p;u&&(p=s.action),c&&(p=s.action);const h=(0,d.useMemo)((()=>!c&&!u||c?ym.uri:ym.page),[u,c]),[f,m]=(0,d.useState)(h),[g,v]=(0,d.useState)((null===(t=p)||void 0===t?void 0:t.uri)||""),[y,b]=(0,d.useState)((null===(r=p)||void 0===r?void 0:r.pageIndex)+1||""),[w,x]=(0,d.useState)(""),D=f===ym.uri,C=(0,d.useCallback)((e=>o.get(e-1)),[o]),E=(0,d.useCallback)((()=>{const e=Number(y);if(e)if(C(e)){const t=new _.Di({pageIndex:e-1}),n=s.set("action",t);a((0,yt.FG)(n))}else x(l.formatMessage(_m.invalidPageNumber));else x(l.formatMessage(_m.invalidPageNumber))}),[s,a,y,C]),S=(0,d.useCallback)((()=>{if(!g)return void x(l.formatMessage(_m.invalidPageLink));const e=new _.lm({uri:g}),t=s.set("action",e);a((0,yt.FG)(t))}),[s,a,g]),P=(0,d.useCallback)((()=>{if(D)return d.createElement(gm,{label:l.formatMessage(Pe.Z.linkAnnotation),value:g,onChange:e=>{v(e.target.value),x("")},onBlur:S,errorMessage:w,placeholder:"www.example.com",disablePadding:!0})}),[w,l,D,g,S]),k=(0,d.useCallback)((()=>{if(!D)return d.createElement(gm,{disablePadding:!0,label:l.formatMessage(_m.targetPageLink),value:y,onChange:e=>{b(e.target.value),w&&x("")},onBlur:E,placeholder:"1",errorMessage:w})}),[w,l,D,y,E]);return d.createElement(d.Fragment,null,d.createElement("label",{className:pm().label},l.formatMessage(_m.linkTo),d.createElement(i.Ee,{inputName:"LinkTo",label:l.formatMessage(Pe.Z.horizontalAlignment),selectedOption:f,labelClassNamePrefix:"PSPDFKit-Link-Popover-Editor-LinkTo",wrapperClasses:pm().radioGroupWrapper,options:Object.keys(ym).map((e=>({value:e,label:l.formatMessage(_m[`${e}Link`]),iconPath:n(46154)}))),onChange:e=>{m(ym[e]),w&&x("")},isButton:!0,showLabel:!0})),P(),k())}function Sm(e){const{viewportState:t,isHidden:n,annotation:r,isHover:o,dispatch:a}=e,s=(0,xe.YB)(),[l,u]=(0,d.useState)(!1),c=(0,d.useMemo)((()=>(0,bi.q)((0,j.Wj)(r,t.pagesRotation,t.viewportRect.getSize(),t.zoomLevel).apply((0,G.cr)(t,r.pageIndex).translate(t.scrollPosition.scale(t.zoomLevel))),t.viewportRect.getSize())),[r,t]),p=(0,d.useMemo)((()=>r&&o?wm:r&&!r.action||l?bm:xm),[r,o,l]),f=(null==r?void 0:r.action)instanceof _.lm,m=(0,d.useMemo)((()=>p===bm?s.formatMessage(_m.linkSettingsPopoverTitle):f?Dm(r):`${s.formatMessage(_m.linkToPage,{arg0:Dm(r)})}: ${Dm(r)}`),[r,p,s]),g=(0,d.useCallback)((t=>{if(t){const e=r.action instanceof _.lm;return d.createElement("div",{className:h()(pm().container)},d.createElement("div",{className:pm().contentRow},d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Edit-Button"),onClick:()=>u(!0)},s.formatMessage(Pe.Z.edit)),d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Open-Button"),onClick:()=>{a((0,Se.fz)()),a((0,vo.oo)(r))},primary:!0},s.formatMessage(e?_m.openLink:_m.goToPageLink))))}return d.createElement(Cm,e)}),[r,a,s,e]),v=(0,d.useCallback)((()=>{switch(p){case bm:return g();case xm:return g(!0);default:return null}}),[p,g]);return d.createElement(vm.Z,{referenceRect:c,viewportState:t,isHidden:n,className:"PSPDFKit-Link-Editor-Popover",wrapperClassName:"PSPDFKit-Link-Editor",title:m,centeredTitle:p!==bm},v())}const _m=(0,xe.vU)({linkSettingsPopoverTitle:{id:"linkSettingsPopoverTitle",defaultMessage:"Link Settings",description:"Link settings popover title"},linkTo:{id:"linkTo",defaultMessage:"Link To",description:"Link to popover option"},linkToPage:{id:"linkToPage",defaultMessage:"Link to Page",description:"Link to page action"},targetPageLink:{id:"targetPageLink",defaultMessage:"Page Number",description:"Link settings popover target link"},linkSettings:{id:"linkSettings",defaultMessage:"Link Settings",description:"Link Settings"},uriLink:{id:"uriLink",defaultMessage:"Website",description:"Link to uri"},pageLink:{id:"pageLink",defaultMessage:"Page",description:"Link to a page"},openLink:{id:"openLink",defaultMessage:"Open Link",description:"Open link to a page"},goToPageLink:{id:"goToPageLink",defaultMessage:"Go to Page",description:"Go to a page link"},invalidPageNumber:{id:"invalidPageNumber",defaultMessage:"Enter a valid page number.",description:"Invalid page number"},invalidPageLink:{id:"invalidPageLink",defaultMessage:"Enter a valid page link.",description:"Invalid page link"}}),Pm=e=>{var t,r;let{editor:o,closeInlineToolbar:a,container:s}=e;const l=(0,d.useCallback)((e=>{const[t]=cm.ML.nodes(e,{match:e=>!cm.ML.isEditor(e)&&cm.W_.isElement(e)&&"link"===e.type});return t}),[]),c=(0,d.useRef)(o&&(null===(t=l(o))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.url)),[p,f]=d.useState(o?null===(r=l(o))||void 0===r||null===(r=r[0])||void 0===r?void 0:r.url:""),[m,g]=d.useState(!1),[v,y]=d.useState(!1),{formatMessage:b}=(0,xe.YB)(),w=d.useCallback((e=>{f(e.target.value)}),[f]),x=(0,d.useCallback)((e=>{cm.YR.unwrapNodes(e,{match:e=>!cm.ML.isEditor(e)&&cm.W_.isElement(e)&&"link"===e.type})}),[]),D=(0,d.useCallback)((e=>{if(!o)return;l(o)&&i.ri.unwrapNode(o,"link");const{selection:t}=o,n=t&&cm.e6.isCollapsed(t);i.ri.wrapNode(o,{type:"link",url:e,children:n?[{text:e,type:"text"}]:[]})}),[o,l]),C=d.useCallback((()=>{(0,u.kG)(o),p?D(p):x(o),a()}),[o,p,a,x,D]),E=d.useCallback((()=>{(0,u.kG)(o),x(o),a()}),[o,x,a]),S=d.useCallback((()=>!c.current||v?d.createElement("div",null,d.createElement("label",{htmlFor:"linkUrl"},b(Pe.Z.linkAnnotation)),d.createElement("input",{id:"linkUrl",placeholder:"https://yourdomain.com",value:p,type:"url",onChange:w,onKeyPress:e=>{"Enter"===e.key&&C()}})):d.createElement("div",{className:h()(um().linkEditorMenu)},d.createElement("div",{className:h()(um().linkEditorRow,um().linkEditorCenteredRow)},d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Edit-Button",um().linkEditorFullWidthButton),onClick:()=>y(!0)},b(Pe.Z.edit)),d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Open-Button",um().linkEditorFullWidthButton),onClick:E,primary:!0},b(km.removeLink))))),[b,w,v,p,E]),_=d.useCallback((()=>c.current&&!v?null:v?d.createElement("div",{className:h()(um().linkSaveContainer,um().linkEditorMenu)},d.createElement("div",{className:h()(um().linkEditorRow,um().linkEditorEndAlignedRow)},d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Edit-Button",um().linkEditorFooterButton),onClick:()=>y(!1)},b(Pe.Z.cancel)),d.createElement(i.zx,{className:h()("PSPDFKit-Link-Popover-Editor-Open-Button",um().linkEditorFooterButton),onClick:C,primary:!0},b(Pe.Z.save)))):d.createElement("button",{className:um().removeLink,disabled:!p&&!c.current||c.current&&c.current===p&&!p,onClick:C},c.current?p&&c.current!==p?b(km.editLink):b(km.removeLink):b(km.addLink))),[b,C,v,p]);return o?d.createElement(im.fC,{open:m,modal:!1},d.createElement(im.xz,{asChild:!0},d.createElement(tm,{onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),g(!m))},onClick:()=>g(!m),className:h()(um().inlineToolbarButton,{[um().linkActive]:!!l(o)}),title:b(km.addLink),"aria-label":b(km.addLink)},d.createElement(Re.Z,{src:n(22243)}))),d.createElement(im.Uv,{container:s},d.createElement(im.VY,{onPointerDownOutside:()=>g(!1),className:h()(um().linkEditor,"PSPDFKit-Rich-Link-Editor-Dropdown")},d.createElement("h4",{className:h()(um().linkEditorHeader,{[um().centeredLinkEditorHeader]:!(v||!c.current)})},v||!c.current?b(_m.linkSettings):c.current),S(),_(),d.createElement(im.Eh,{className:um().linkEditorArrow})))):null},km=(0,xe.vU)({addLink:{id:"addLink",defaultMessage:"Add Link",description:"Add Link"},removeLink:{id:"removeLink",defaultMessage:"Remove Link",description:"Remove Link"},editLink:{id:"editLink",defaultMessage:"Edit Link",description:"Edit Link"}});var Am;function zm(e){"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||e.nativeEvent.stopImmediatePropagation()}const Tm=(0,xe.vU)({commentEditorLabel:{id:"commentEditorLabel",defaultMessage:"Add your comment…",description:"Label for comment area textarea"},reply:{id:"reply",defaultMessage:"Reply",description:"Button text for adding a comment reply"}}),Om=e=>{let{name:t,avatarUrl:r,description:o}=e;return d.createElement("div",{className:h()(um().mentionDropdownList,{[um().mentionDropdownListWithoutDescription]:!o})},r?d.createElement("img",{className:um().mentionImg,src:r,alt:t}):d.createElement(Re.Z,{className:um().mentionImg,src:n(24544)}),d.createElement("span",{className:um().mentionName},t),!!o&&d.createElement("span",{className:um().mentionDescription},o))},Im=e=>{let{color:t,onValueChange:n,children:r,includeTransparent:o,label:i,container:a}=e;const s=it.Options.COLOR_PRESETS,{formatMessage:l}=(0,xe.YB)(),[c,p]=d.useState(!1);return d.createElement(im.fC,{open:c,modal:!1},d.createElement(im.xz,{asChild:!0},d.createElement(tm,{"aria-label":i,title:i,onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),p(!c))},onClick:()=>p(!c),className:um().inlineToolbarButton},r)),d.createElement(im.Uv,{container:a},d.createElement(im.VY,{align:"start",className:h()(um().colorPickerContent,"PSPDFKit-Color-Picker-Dropdown"),asChild:!0,onPointerDownOutside:()=>p(!1),defaultValue:null!=t?t:"transparent"},d.createElement(im.Ee,{value:null!=t?t:"transparent",onValueChange:n},s.filter((e=>!!e.color&&!e.color.equals(_.Il.TRANSPARENT))).map((e=>{(0,u.kG)(e.color);const t=e.color.toHex();return d.createElement(im.Rk,{className:um().colorPickerItem,value:t,key:t,"aria-label":l(e.localization),title:l(e.localization),asChild:!0},d.createElement("div",{style:{backgroundColor:t}}))})),o&&d.createElement(im.Rk,{className:um().colorPickerItem,value:"transparent",asChild:!0},d.createElement("div",{className:um().colorPickerCheckered},Am||(Am=d.createElement("div",null))))))))},Fm=e=>{let{comment:t,dispatch:r,isFirstComment:o,keepSelectedTool:a,onEditorInit:c,frameWindow:p,anonymousComments:f,isEditing:m,onChangeDone:g,className:v,mentionableUsers:b,maxMentionSuggestions:w}=e;const x=(0,d.useRef)(t),{formatMessage:D}=(0,xe.YB)(),C=(0,l.v9)((e=>e.shadowRoot)),[E,S]=d.useState(t.text.value&&i.ri.getText(t.text.value).length>0),[_,P]=d.useState(t.text.value||""),k=d.useRef(null),[A,z]=d.useState(null),T=d.useRef(null),[O,I]=d.useState(!1),[F,M]=(0,d.useState)(null),R=(0,d.useRef)(null),j=d.useCallback((()=>{if(m)return;if(_===t.text.value)return;const e=t.set("text",{format:"xhtml",value:_.trim()});r((0,Lo.gk)((0,s.aV)([e])))}),[r,t,_,m]),B=d.useCallback((()=>{if(!E)return;let e=t;m&&(e=e.set("text",{format:"xhtml",value:_.trim()})),r((0,Lo.BY)(e,x.current));const n=e.rootId;(0,u.kG)(n),m||r((0,Lo.mh)(n)),o&&r((0,Se.Df)((0,s.l4)([n]),null)),a&&r((0,Vt.k6)()),null==g||g()}),[r,t,o,E,m,_,a,g]),N=d.useCallback((()=>{const e=t.set("isAnonymous",!t.isAnonymous);r((0,Lo.gk)((0,s.aV)([e])))}),[t,r]),L=d.useCallback((e=>{O&&!e||((0,u.kG)(k.current),z(null),M(null),k.current.selection=null,rd.F3.focus(k.current))}),[k.current,O]),K=(0,d.useCallback)((()=>{var e;const t=k.current,n=C?(0,y.HY)(C).selection:p.getSelection();if(!(C||null!==(e=T.current)&&void 0!==e&&e.contains(null==n?void 0:n.anchorNode)))return;if(null==t||!t.selection||!T.current)return;if(!i.ri.isRangeSelected(t))return z(null),void M(null);const r=rd.F3.toDOMRange(t,t.selection).getBoundingClientRect(),o=T.current.getBoundingClientRect();M({fontColor:(0,gn.BK)(i.ri.getSelectedNodesColor(t,"fontColor")),backgroundColor:(0,gn.BK)(i.ri.getSelectedNodesColor(t,"backgroundColor")),inlineFormat:["bold","italic","underline"].map((e=>"underline"===e?i.ri.isSelectionUnderlined(t):i.ri.isMarkActive(t,e)?e:null)).filter(Boolean)}),z({height:r.height,width:r.width,top:r.top-o.top,left:r.left-o.left})}),[p,C]);(0,d.useEffect)((()=>{var e,t,n;const r=k.current;if(!r)return;function o(e){"Escape"===e.key?(L(!0),i.ri.isRangeSelected(r)&&(e.preventDefault(),e.stopPropagation())):"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())}function a(e){"keyup"===e.type&&I(!0)}const s=(0,tu.Z)(K,50),l=C||p.document;return l.addEventListener("selectionchange",a),l.addEventListener("keyup",o,{capture:!0}),null===(e=T.current)||void 0===e||e.addEventListener("pointerup",K),null===(t=T.current)||void 0===t||t.addEventListener("keyup",s),null===(n=T.current)||void 0===n||n.addEventListener("dblclick",s),()=>{var e,t,n;l.removeEventListener("selectionchange",a),l.removeEventListener("keyup",o,{capture:!0}),null===(e=T.current)||void 0===e||e.removeEventListener("pointerup",K),null===(t=T.current)||void 0===t||t.removeEventListener("keyup",s),null===(n=T.current)||void 0===n||n.removeEventListener("dblclick",s)}}),[L,p.document,K,C]);const V=d.useCallback((e=>{null==c||c(e),k.current=e}),[c]),q=e=>{const t=k.current;(0,u.kG)(t),i.ri.toggleMark(t,e),L()},H=d.useCallback((e=>{P(e),S(i.ri.getText(e).length>0)}),[P,S]),Z=C||p.document.body;return d.createElement("div",{className:h()(um().commentWrapper,v,"PSPDFKit-Comment-Editor")},d.createElement("div",{ref:T,style:{position:"relative"},onBlur:j},d.createElement(i.Hp,{title:D(Tm.commentEditorLabel),users:b,autoFocus:!!o,text:t.text.value||"",onMentionSuggestionsOpenChange:j,onEditorInit:V,onValueChange:H,placeholder:D(Tm.commentEditorLabel),className:h()(um().commentEditorInput,"PSPDFKit-Comment-Editor-Input"),autoOpenKeyboard:!Ke.TL&&!Ke.Dt,mentionListRenderer:Om,mentionDropdownClassName:um().mentionDropdown,mentionListClassName:um().mentionDropdownListWrapper,ref:R,maxMentionSuggestions:w,shadowRoot:C}),d.createElement(sm,{rect:A,onInteractOutside:L,container:Z,onOpenAutoFocus:e=>e.preventDefault(),contentClassName:"PSPDFKit-Comment-Editor-Inline-Toolbar"},d.createElement(Jf,{className:um().inlineToolbar},d.createElement(Im,{color:null==F?void 0:F.fontColor,onValueChange:e=>{i.ri.applyStyle(k.current,"fontColor",e),L()},container:Z,label:D(Pe.Z.color)},d.createElement("div",{role:"button",className:um().inlineToolbarButton},d.createElement(Re.Z,{src:n(34057)}),d.createElement(Re.Z,{className:um().caret,src:n(42451)}))),d.createElement(em,{className:um().inlineToolbarSeparator}),d.createElement(Im,{color:null==F?void 0:F.backgroundColor,onValueChange:e=>{i.ri.applyStyle(k.current,"backgroundColor",e),L()},includeTransparent:!0,label:D(Pe.Z.fillColor),container:Z},d.createElement("div",{role:"button",className:um().inlineToolbarButton},d.createElement(Re.Z,{src:n(92742)}),d.createElement(Re.Z,{className:um().caret,src:n(42451)}))),d.createElement(em,{className:um().inlineToolbarSeparator}),d.createElement(nm,{type:"multiple",value:null==F?void 0:F.inlineFormat,className:um().inlineToolbarGroup},d.createElement(rm,{onClick:()=>{q("bold")},value:"bold",className:um().inlineToolbarButton,"aria-label":D(Pe.Z.bold),title:D(Pe.Z.bold)},d.createElement(Re.Z,{role:"presentation",src:n(6274)})),d.createElement(rm,{onClick:()=>q("italic"),value:"italic",className:um().inlineToolbarButton,"aria-label":D(Pe.Z.italic),title:D(Pe.Z.italic)},d.createElement(Re.Z,{role:"presentation",src:n(66311)})),d.createElement(rm,{onClick:()=>q("underline"),value:"underline",className:um().inlineToolbarButton,"aria-label":D(Pe.Z.underline),title:D(Pe.Z.underline)},d.createElement(Re.Z,{role:"presentation",src:n(1438)}))),d.createElement(em,{className:um().inlineToolbarSeparator}),d.createElement(Pm,{container:C||p.document.body,editor:k.current,closeInlineToolbar:L})))),d.createElement("div",{className:um().commentEditorActions},d.createElement("div",{className:um().commentActionsFooter},!!b.length&&d.createElement("button",{className:um().commentEditorAction,onClick:()=>{var e;null===(e=R.current)||void 0===e||e.startMention()},title:D(Pe.Z.anonymous),"aria-label":D(Pe.Z.anonymous)},d.createElement(Re.Z,{role:"presentation",src:n(10017)})),!!f&&d.createElement("button",{className:h()(um().commentEditorAction,{[um().commentEditorAnonymityActive]:t.isAnonymous}),onClick:N,"aria-checked":!!t.isAnonymous,role:"checkbox",title:D(Pe.Z.anonymous),"aria-label":D(Pe.Z.anonymous)},d.createElement(Re.Z,{role:"presentation",src:n(33751)}))),d.createElement("div",{className:um().editingCommentText},m?d.createElement(d.Fragment,null,d.createElement("button",{type:"button",title:D(Pe.Z.discard),"aria-label":D(Pe.Z.discard),onClick:g,className:h()(um().editingCommentActionButton,um().editingCommentActionCancel)},d.createElement(Re.Z,{src:n(2256)})),d.createElement("button",{title:D(Pe.Z.edit),"aria-label":D(Pe.Z.edit),type:"submit",className:h()(um().editingCommentActionButton,um().editingCommentActionSave),onClick:B},d.createElement(Re.Z,{src:n(97468)}))):d.createElement("button",{title:D(o?Pe.Z.commentAction:Tm.reply),"aria-label":D(o?Pe.Z.commentAction:Tm.reply),className:h()(um().editingCommentActionButton,um().editingCommentActionSaveNew,"PSPDFKit-Comment-Editor-Save-Button"),disabled:!E,"aria-disabled":!E,onKeyDown:zm,onClick:B},d.createElement(Re.Z,{src:n(96421)})))))};var Mm,Rm,jm=n(97395);const Bm=e=>e.children;const Nm=(0,l.$j)((function(e,t){return{isReadOnly:(0,Vn.Ez)(t.comment,e),canDeleteCommentCP:!!(0,Eo.Ss)(t.comment,e),canEditCommentCP:!!(0,Eo.kR)(t.comment,e),dateTimeStringCallback:e.dateTimeString,frameWindow:e.frameWindow,anonymousComments:e.anonymousComments,mentionableUsers:e.mentionableUsers,shadowRoot:e.shadowRoot}}))((function(e){const{comment:t,onToggleContent:n,dispatch:r,isGrouped:o,isExpanded:a,isReadOnly:s,canDeleteCommentCP:u,canEditCommentCP:c,dateTimeStringCallback:p,frameWindow:f,anonymousComments:m,mentionableUsers:g,maxMentionSuggestions:v,rootAnnotationIsReadOnly:y,rootAnnotationHasLockedContents:b,rootAnnotationIsLocked:w}=e,{text:x,isAnonymous:D}=t,C=a&&!s&&u,E=a&&!s&&c,[S,_]=d.useState(!1),[P,k]=d.useState(!1);d.useEffect((()=>{!a&&P&&k(!1)}),[a,P]);const A=(0,gn.KY)(x.value||"").length>120,[z,T]=d.useState(!A),O=`Comment-${t.id}`,I=d.useCallback((e=>{A&&(e.stopPropagation(),T(!z),n&&n(!z))}),[z,A,T,n]),F=d.useCallback((()=>{r((0,Lo.UM)(t))}),[t,r]),{formatDate:M,formatMessage:R}=(0,xe.YB)();let j="?";null==t.creatorName||t.isAnonymous||(j=t.creatorName.split(" ").map((e=>e[0])).join(" "));const B=R(z?Pe.Z.showLess:Pe.Z.showMore);let N=null;p&&(N=p({dateTime:t.createdAt,element:Cu.Y.COMMENT_THREAD,object:t})),null==N&&(N=M(t.createdAt,{hour12:!0,hour:"numeric",minute:"numeric",month:"short",day:"numeric"}));const L=d.useCallback((e=>{const n=t.set("isAnonymous",!!e);r((0,Lo.DO)(n)),k(!1)}),[t,r]),K=d.useMemo((()=>{const e=[];return E&&e.push({content:R(Bu.editContent),onClick:()=>{k(!0)}}),C&&e.push({content:R(Pe.Z.delete),onClick:()=>{_(!0)}}),E&&m&&e.push(Mm||(Mm=d.createElement(i.nB,null)),d.createElement(i.ub,{checked:!!D,onCheckedChange:L},R(Pe.Z.anonymous))),e}),[D,C,R,E,L]),V=(0,ke.Z)({type:"lock",style:{width:12,height:12,flexBasis:12,marginRight:5},className:um().icon}),q=(0,l.v9)((e=>e.shadowRoot));return d.createElement("div",{className:h()(um().comment,"PSPDFKit-Comment")},d.createElement("div",{className:h()(um().header,"PSPDFKit-Comment-Header")},d.createElement("div",{className:um().wrapper},!o&&d.createElement("div",{className:h()(um().avatar,"PSPDFKit-Comment-Avatar")},d.createElement(ve,{key:t.creatorName,renderer:"CommentAvatar"},d.createElement(Bm,{comment:t},d.createElement("span",{title:t.isAnonymous?R(Pe.Z.anonymous):t.creatorName||void 0},j)))),d.createElement("div",{className:um().nameAndDate},!o&&d.createElement("div",{className:h()(um().creatorName,"PSPDFKit-Comment-CreatorName")},D?R(Pe.Z.anonymous):t.creatorName||R(Pe.Z.anonymous)),d.createElement("time",{dateTime:t.createdAt.toISOString(),className:h()(um().commentDate,"PSPDFKit-Comment-CommentDate")},N)),(y||w||b)&&d.createElement("div",{className:um().flagWrapper},V,d.createElement("div",{className:um().label,"aria-label":R(Pe.Z.locked)},R(Pe.Z.locked))),!!K.length&&d.createElement(i.N9,{container:q||(null==f?void 0:f.document.body),label:R(Bu.commentOptions),items:K,alignContent:"end",className:um().dropdownWrapper}))),P?d.createElement(Fm,{maxMentionSuggestions:v,mentionableUsers:g,className:um().editingCommentWrapper,comment:t,isEditing:!0,frameWindow:f,anonymousComments:m,dispatch:r,keepSelectedTool:!1,onChangeDone:()=>k(!1)}):d.createElement("div",{className:h()(um().commentText,"PSPDFKit-Comment-Text")},d.createElement("div",{onClick:e=>{"A"===e.target.nodeName&&((0,jm.l)(e.target.href,!0),e.stopPropagation(),e.preventDefault())},className:z?void 0:um().notExpanded,id:O,dangerouslySetInnerHTML:{__html:x.value||""}})),(C||A)&&d.createElement("div",{className:h()(um().commentActions,"PSPDFKit-Comment-Actions")},A?d.createElement(i.w6,{ariaControls:O,onPress:A?I:void 0,expanded:z,className:h()(um().commentToggle,"PSPDFKit-Comment-Toggle")},d.createElement("span",{className:um().showMore,title:B},B)):Rm||(Rm=d.createElement("div",null)),C&&S&&d.createElement(ju.Z,{onConfirm:F,onCancel:()=>{_(!1)},accessibilityLabel:R(Bu.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:R(Bu.deleteCommentConfirmAccessibilityDescription)},d.createElement("p",null,R(Bu.deleteCommentConfirmMessage)))))})),Lm=Nm,Km=d.forwardRef((function(e,t){const{comments:n,rootId:r,isExpanded:o,dispatch:i,commentThread:a,onUpdate:s,isSelected:l,keepSelectedTool:c,frameWindow:p,anonymousComments:f,mentionableUsers:m,maxMentionSuggestions:g,annotations:v}=e,{formatMessage:y}=(0,xe.YB)(),b=d.useRef(null),w=null==v?void 0:v.get(r),x=d.useRef(l);d.useEffect((()=>{const e=x.current,t=setTimeout((()=>{e&&l&&b.current&&rd.F3.focus(b.current)}),150);return x.current=!1,()=>{t&&clearTimeout(t)}}),[l]);const D=d.useCallback((e=>{null!=s&&s(r,o,e)}),[o,s,r]);return d.createElement("div",{className:h()("PSPDFKit-Comment-Thread",um().commentThread,{"PSPDFKit-Comment-Thread-Selected":l,"PSPDFKit-Comment-Thread-Expanded":o}),ref:t},n.map(((t,r)=>{(0,u.kG)(null!==t,"Comment must not be null");const s=0===r;if((0,sl.kT)(t))return d.createElement("div",{className:h()(um().commentFooter,um().commentFooterEditor),key:`draft-${t.id}`,onFocus:()=>{x.current=!0}},d.createElement(Fm,{maxMentionSuggestions:g,mentionableUsers:m,isFirstComment:s,comment:t,dispatch:e.dispatch,onEditorInit:e=>b.current=e,keepSelectedTool:c,frameWindow:p,anonymousComments:f}));const l=r>0&&n.get(r-1),v=!!l&&(l.creatorName!==t.creatorName||t.isAnonymous||l.isAnonymous);return d.createElement(d.Fragment,{key:t.id||void 0},o&&a.size>1&&r>0?d.createElement("div",{className:v?um().separatorDifferentAuthor:um().separatorSameAuthor}):null,d.createElement(Lm,{maxMentionSuggestions:g,isExpanded:o,comment:t,onToggleContent:()=>D(s),isGrouped:0!==r&&!v,dispatch:i,rootAnnotationIsReadOnly:null==w?void 0:w.readOnly,rootAnnotationIsLocked:null==w?void 0:w.locked,rootAnnotationHasLockedContents:null==w?void 0:w.lockedContents}))})),a.size>1&&!o&&d.createElement("div",{className:h()(um().commentFooter,um().moreComments)},d.createElement("div",null,y(Pe.Z.nMoreComments,{arg0:a.size-1})),d.createElement(we.Z,{className:um().showMore},y(Pe.Z.showMore))))}));var Vm=n(67041);function qm(e){let{selectedAnnotation:t,viewportState:r,keepSelectedTool:o,anonymousComments:i,frameWindow:a,commentThread:c,comments:p,maxMentionSuggestions:f,mentionableUsers:m}=e;const{formatMessage:g}=(0,xe.YB)(),v=(0,l.I0)(),[y,b]=(0,Fo.U5)({threshold:.2}),w=d.useRef(null);let x,D;x=t instanceof Vm.Z?(0,bi.q)((0,j.Wj)(t,r.pagesRotation,r.viewportRect.getSize(),r.zoomLevel).apply((0,G.cr)(r,t.pageIndex).translate(r.scrollPosition.scale(r.zoomLevel))),r.viewportRect.getSize()):t.boundingBox.apply((0,G.cr)(r,t.pageIndex).translate(r.scrollPosition.scale(r.zoomLevel)));const C=c.reduce(((e,t)=>{const n=p.get(t);return(0,u.kG)(n),(0,sl.kT)(n)?D=n:e=e.push(n),e}),(0,s.aV)());return d.createElement(vm.Z,{referenceRect:x,viewportState:r,className:"PSPDFKit-Comment-Thread-Popover",wrapperClassName:h()(um().commentThreadPopover,"PSPDFKit-Comment-Thread"),footerClassName:h()(um().commentThreadPopoverFooter,{[um().commentThreadPopoverFooterEmpty]:0===C.size}),innerWrapperClassName:um().innerWrapper,title:g(Pe.Z.comment),footer:d.createElement("div",{className:h()(um().commentFooter,um().commentFooterEditor),key:D.id},d.createElement(Fm,{isFirstComment:0===C.size,comment:D,dispatch:v,keepSelectedTool:o,frameWindow:a,anonymousComments:i,maxMentionSuggestions:f,mentionableUsers:m}))},d.createElement("div",{className:um().commentThread},C.map(((e,t)=>{const n=t>0&&C.get(t-1),r=!!n&&(n.creatorName!==e.creatorName||e.isAnonymous||n.isAnonymous);return d.createElement(d.Fragment,{key:e.id||void 0},c.size>1&&t>0?d.createElement("div",{ref:t===C.size-1?y:null,className:r?um().separatorDifferentAuthor:um().separatorSameAuthor}):null,d.createElement("div",{ref:C.size-1===t?e=>{w.current=e,y(e)}:null},d.createElement(Lm,{isExpanded:!0,comment:e,isGrouped:0!==t&&!r,dispatch:v,maxMentionSuggestions:f})))})),!1===b.isIntersecting&&d.createElement("div",{className:um().moreCommentsContainer},d.createElement("div",{className:um().moreCommentsContent,role:"button",onClick:()=>{w.current&&w.current.scrollIntoView({block:"nearest",inline:"nearest"})}},d.createElement(Re.Z,{className:um().moreCommentsIcon,src:n(96421)}),g(Bu.moreComments)))))}const Hm=d.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:r,commentThreads:o,viewportState:i,dispatch:a,keepSelectedTool:l,frameWindow:c,anonymousComments:p,mentionableUsers:h,maxMentionSuggestions:f}=e;const m=d.useCallback(((e,t)=>{Wm(e),n&&n.id===t.id||(a((0,Lo.Dm)()),a((0,Se.Df)((0,s.l4)([t.id]),null)))}),[a,n]);if(i.commentMode===of._.PANE){(0,u.kG)(n);const e=o.get(n.id);return e?d.createElement(Um,{maxMentionSuggestions:f,mentionableUsers:h,comments:r,commentThread:e,id:n.id,viewportState:i,onThreadClick:Wm,dispatch:a,keepSelectedTool:l,frameWindow:c,anonymousComments:p}):null}if(i.zoomMode===Ss.c.FIT_TO_WIDTH){if(!n)return null;const e=o.get(n.id);return e?d.createElement(qm,{selectedAnnotation:n,comments:r,commentThread:e,anonymousComments:p,viewportState:i,keepSelectedTool:l,frameWindow:c,mentionableUsers:h,maxMentionSuggestions:f}):null}return d.createElement(Zm,{maxMentionSuggestions:f,mentionableUsers:h,annotations:t,selectedAnnotation:n,comments:r,commentThreads:o,viewportState:i,onThreadClick:m,dispatch:a,keepSelectedTool:l,frameWindow:c,anonymousComments:p})})),Zm=d.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:r,commentThreads:o,viewportState:i,onThreadClick:a,dispatch:s,keepSelectedTool:l,frameWindow:c,anonymousComments:p,mentionableUsers:f,maxMentionSuggestions:m}=e;const g=function(e,t,n){const{scrollMode:r,layoutMode:o,currentPageIndex:i}=n,a=r===zs.G.PER_SPREAD||r===zs.G.DISABLED?i:null,s=d.useMemo((()=>n),[o,r,a]),l=d.useMemo((()=>{if(s.scrollMode===zs.G.PER_SPREAD||s.scrollMode===zs.G.DISABLED){const n=(0,Ds.P1)(s,(0,Ds.dF)(s,s.currentPageIndex));return t.filter(((t,r)=>{const o=e.get(r);return o&&n.includes(o.pageIndex)}))}return t}),[s,e,t]);return d.useMemo((()=>l.sortBy(((t,n)=>{const r=e.get(n);if(!r)return[0,0];return[(0,Ds.dF)(s,r.pageIndex),r.boundingBox.top]}),_e.b)),[s,l,e])}(t,o,i),{selectedOffset:v,threadElements:y,totalHeight:b}=function(e,t,n,r,o,i,a,s,l,c,p,f){const{currentPageIndex:m,viewportRect:g,layoutMode:v}=o,y=g.height,b=v===nf.X.SINGLE?4:8,w=d.useCallback(((e,t,n)=>{n&&delete $m[Gm(e,!1)],delete $m[Gm(e,t)],C({})}),[]),x=d.useMemo((()=>r.map(((t,n)=>{const r=e.get(n);return r&&"number"==typeof r.pageIndex?(0,sl.nN)(r,o):-1}))),[e,r,o]),[D,C]=d.useState({}),{formatMessage:E}=(0,xe.YB)();return d.useMemo((()=>{let o=0,g=0,v=null,D=null,S=0;const _=r.map(((r,_,P)=>{var k,A;const z=e.get(_);if(!z||"number"!=typeof z.pageIndex)return null;let T=!1;if((0,sl._P)(r,n)){const e=r.last();(0,u.kG)(null!=e);const t=n.get(e);(0,u.kG)(null!=t),T=t.text.value.length>0}const O=Boolean(t&&t.id===z.id),I=Boolean(O||T);let F=$m[Gm(_,I)];if(null!=F){const e=!I&&F.threadCommentIds.first()!==r.first(),t=!I&&(r.size>=2&&F.threadCommentIds.size<=1||r.size<=1&&F.threadCommentIds.size>=2),n=I&&!r.equals(F.threadCommentIds);(e||t||n)&&(delete $m[Gm(_,I)],F=null)}const M=F&&F.height||(I?.4*y:80);let R=x.get(_),j="number"==typeof R&&-1!==R?R:M;R=j,jm+b))return null;const N=!F;let L;N&&(S++,L=function(e){e&&($m[Gm(_,I)]={height:e.offsetHeight,threadCommentIds:r},S--,0===S&&C({}))}),O&&(g=j-R,v=j,D=P);const K=(I?r:r.take(1)).map((e=>{const t=n.get(e);return(0,u.kG)(null!=t),t})).toList(),V=I?E(Xm.commentThread):E(Xm.commentDialogClosed,{arg0:null===(k=K.first())||void 0===k?void 0:k.creatorName,arg1:null===(A=K.first())||void 0===A?void 0:A.text.value});return d.createElement(Je.Z,{key:_,onPointerUp:Wm},d.createElement("div",{onClick:Wm,style:{transform:`translate(${O&&!N?-40:0}px, ${j}px)`,visibility:N?"hidden":void 0,width:Be.h8,height:N?"auto":M},className:h()(um().commentThreadWrapper,"PSPDFKit-Comment-Thread-Wrapper",{"PSPDFKit-Comment-Thread-Wrapper-Expanded":I,"PSPDFKit-Comment-Thread-Wrapper-Selected":O,[um().commentThreadWrapperExpanded]:I})},d.createElement(we.Z,{is:"div",disabled:O,onClick:e=>i(e.nativeEvent,z),role:O?"dialog":"button","aria-label":V,"aria-disabled":void 0},d.createElement(Km,{maxMentionSuggestions:p,mentionableUsers:c,comments:K,commentThread:r,rootId:z.id,dispatch:a,onUpdate:w,ref:L,isExpanded:I,isSelected:O,keepSelectedTool:s,frameWindow:l,anonymousComments:f,annotations:e}))))})).valueSeq();return{selectedIndex:D,selectedOffset:g,selectedTop:v,threadElements:_,totalHeight:o}}),[n,r,e,x,t,m,y,b,i,a,D])}(t,n,r,g,i,a,s,l,c,f,m,p),{formatMessage:w}=(0,xe.YB)(),x=d.useMemo((()=>{const e=(0,G.G4)(i);return Math.ceil(e.left)+e.width+i.viewportPadding.x}),[i]);return d.createElement("aside",{style:{height:b+2*i.viewportPadding.y,flex:`0 0 ${Be.h8}px`,transform:`translate(${x}px, -${v}px)`,width:Be.h8},className:h()(um().commentThreads,"PSPDFKit-Comment-Threads"),"aria-label":w(Pe.Z.comments)},y)})),Um=d.memo((function(e){let{id:t,comments:n,commentThread:r,dispatch:o,viewportState:i,onThreadClick:s,keepSelectedTool:l,frameWindow:c,anonymousComments:p,mentionableUsers:f,maxMentionSuggestions:m}=e;const{formatMessage:g}=(0,xe.YB)(),v=d.useMemo((()=>r.map((e=>{const t=n.get(e);return(0,u.kG)(t),t})).toList()),[r,n]);return d.createElement(a.m,null,d.createElement(Je.Z,{onPointerUp:s},d.createElement("aside",{style:{height:i.viewportRect.height/2},className:h()(um().commentThreads,um().commentThreadsSmall,"PSPDFKit-Comment-Threads"),"aria-label":g(Pe.Z.comments)},d.createElement("div",{className:"PSPDFKit-Comment-Thread PSPDFKit-Comment-Thread-Expanded"},d.createElement(Km,{maxMentionSuggestions:m,mentionableUsers:f,comments:v,commentThread:r,rootId:t,dispatch:o,isExpanded:!0,isSelected:!0,keepSelectedTool:l,frameWindow:c,anonymousComments:p})))))}));const $m={};function Gm(e,t){return`${e}-${t?"expanded":"collapsed"}`}function Wm(e){e.stopPropagation()}const Xm=(0,xe.vU)({commentDialogClosed:{id:"commentDialogClosed",defaultMessage:"Open comment thread started by {arg0}: “{arg1}”",description:"With the dialog closed, show the author of the comment and the number of replies."},commentThread:{id:"commentThread",defaultMessage:"Comment Thread",description:"Comment thread."}});var Ym,Qm,Jm=n(93162),eg=n.n(Jm),tg=n(87161),ng=n.n(tg);class rg extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"rootRef",d.createRef()),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"_handleOnClose",(()=>{this.props.dispatch((0,Vt.Sn)())})),(0,o.Z)(this,"_download",(()=>{eg().saveAs(this._getBlob(),`PSPDFKit-for-Web-Debug-Output-${Date.now()}.txt`)}))}_getDebugOutput(){const e=document.documentElement;if((0,u.kG)(e,"externalDocumentElement must not be null"),this.rootRef.current){const t=this.rootRef.current.ownerDocument.documentElement;return(0,u.kG)(t,"internalDocumentElement must not be null"),`-----BEGIN VERSION-----\n PSPDFKit for Web Version: 2024.3.2 (e33ad1856d)\n PSPDFKit Document Engine Version: 2024.3.2\n -----END VERSION-----\n\n -----BEGIN CLIENT INFO-----\n User Agent: ${navigator.userAgent}\n Language: ${navigator.language}\n Engine: ${Ke.SR}\n System: ${Ke.By}\n Pixel ratio: ${(0,Wo.L)()}\n -----END CLIENT INFO-----\n\n -----BEGIN EXTERNAL HTML-----\n ${e.innerHTML}\n -----END EXTERNAL HTML-----\n\n -----BEGIN INTERNAL HTML-----\n ${t.innerHTML}\n -----END INTERNAL HTML-----\n `}}_getBlob(){return new Blob([this._getDebugOutput()],{type:"text/plain;charset=utf-8"})}render(){return d.createElement(mp.Z,{onDismiss:this._handleOnClose},d.createElement("div",{className:ng().root,ref:this.rootRef},d.createElement("div",{className:ng().header},Ym||(Ym=d.createElement("h2",null,"Debug Output")),Qm||(Qm=d.createElement("p",null,"When reporting an issue to support, please provide the debug output. The output contains the PSPDFKit for Web version, information about your device, a snapshot of the current DOM. Please submit new support requests via our"," ",d.createElement("a",{target:"_blank",href:"https://pspdfkit.com/support/request"},"support form"),".")),d.createElement(i.zx,{onClick:this._download},"Download Debug Output"))))}}class og extends d.Component{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"onConfirm",(()=>{if(this.props.setA11yStatusMessage){const{formatMessage:e}=this.props.intl;this.props.setA11yStatusMessage(e(ag.annotationDeleted))}const e={annotations:(0,s.aV)(this.props.annotations),reason:J.f.DELETE_END};this.props.eventEmitter.emit("annotations.willChange",e),this.props.annotations.forEach((e=>{this.props.dispatch((0,yt.hQ)(e))})),this.onCancel(!1),this.props.dispatch((0,Se.fz)())})),(0,o.Z)(this,"onCancel",(function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e.props.dispatch((0,yt.d8)(null)),t){const t={annotations:(0,s.aV)(),reason:J.f.DELETE_END};e.props.eventEmitter.emit("annotations.willChange",t)}}))}render(){const{formatMessage:e}=this.props.intl;return d.createElement(ju.Z,{onConfirm:this.onConfirm,onCancel:this.onCancel,accessibilityLabel:e(ag.deleteAnnotationConfirmAccessibilityLabel),accessibilityDescription:e(ag.deleteAnnotationConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},d.createElement("p",null,e(ag.deleteAnnotationConfirmMessage)))}}const ig=(0,xe.XN)(og),ag=(0,xe.vU)({deleteAnnotationConfirmMessage:{id:"deleteAnnotationConfirmMessage",defaultMessage:"Are you sure you want to delete this annotation?",description:'Message displayed in the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityLabel:{id:"deleteAnnotationConfirmAccessibilityLabel",defaultMessage:"Confirm annotation deletion",description:'Accessibility label (title) for the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityDescription:{id:"deleteAnnotationConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the annotation",description:'Accessibility description for the "Delete Annotation" confirm dialog'},annotationDeleted:{id:"annotationDeleted",defaultMessage:"Annotation deleted.",description:"An annotation has been deleted."}});function sg(e){let{locale:t}=e;const n=(0,d.useRef)(null);return(0,d.useEffect)((function(){const e=n.current;if(!e)return;const r=e.ownerDocument.documentElement;r&&(r.lang=t)}),[t]),d.createElement("div",{ref:n})}var lg=n(33056),ug=n(93952),cg=n.n(ug);function dg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pg(e){for(var t=1;t{const{isBold:a,isItalic:s,children:l,action:u,color:c}=e,p=`${this.props.parentLevel}-${o}`;let f=t.get(p);"boolean"!=typeof f&&(f=e.isExpanded);const m=l.size>0,g=d.createElement("span",{className:h()(cg().controlContainer,{[cg().controlContainerNoIcon]:!m,[cg().controlContainerNavigationDisabled]:!m&&n})},m&&d.createElement("span",{onClick:e=>{e.stopPropagation(),this.props.onPress(p,null,m)}},d.createElement(ke.Z,{type:"caret",className:h()(cg().icon,f&&cg().iconExpanded),style:{width:24,height:24}})),d.createElement("span",{className:cg().control,style:pg({fontWeight:a?"bold":void 0,fontStyle:s?"italic":void 0},c?{color:c.toCSSValue()}:null)},e.title)),v=()=>{this.props.onPress(p,u,m)},y=r?t=>r(t,e):void 0;if(!m||!f)return d.createElement(i.w6,{key:p,onPress:v,expanded:!1,autoFocus:0===o&&"0"===this.props.parentLevel,headingRef:y},g);const b=`outline-control-${p}`;return d.createElement("div",{key:p,ref:y},d.createElement(i.w6,{onPress:v,expanded:f,ariaControls:b,autoFocus:0===o&&"0"===this.props.parentLevel},g),d.createElement(i.F0,{expanded:f,id:b},d.createElement("div",{className:cg().content},d.createElement(hg,{parentLevel:p,onPress:this.props.onPress,outlineElements:l,expanded:t,navigationDisabled:n,onRenderItemCallback:r}))))}))}}(0,o.Z)(hg,"defaultProps",{parentLevel:"0"});var fg,mg=n(25217),gg=n.n(mg),vg=n(78055),yg=n.n(vg);const bg=d.memo((function(e){const{outlineElements:t,expanded:n,backend:r,documentHandle:o,navigationDisabled:i,closeOnPress:a=!1}=e,[s,c]=d.useState(null);d.useEffect((()=>{null==s||s.focus()}),[s]);const p=(0,l.I0)();d.useEffect((()=>{t||((0,u.kG)(r),r.getDocumentOutline().then((e=>{p((0,lg.o)(e))})))}),[]);const f=(0,Fo.jC)(e);d.useEffect((()=>{o===(null==f?void 0:f.documentHandle)||t||((0,u.kG)(r),r.getDocumentOutline().then((e=>{p((0,lg.o)(e))})))}));const m=(0,Fo.R9)(((e,t,n)=>{n&&p((0,lg.Q)(e)),i||(setTimeout((()=>{t&&p((0,vo.aG)(t))})),a&&!n&&p((0,Vt.mu)()))})),g=t||null,v=(0,Fo.Bo)(s,g),y=(0,Fo.mP)(v,(e=>e.title),(e=>null==g?void 0:g.find((t=>t.title===e)))),b=h()(cg().container,!t&&cg().empty+" PSPDFKit-Sidebar-Loading",t&&0===t.size&&cg().empty+" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Document-Outline"),{formatMessage:w}=(0,xe.YB)();return g?0===g.size?d.createElement("div",{className:b,ref:c},w(wg.noOutline)):d.createElement("div",{className:b,role:"region","aria-label":w(wg.outline),ref:c},d.createElement("div",{className:yg().sidebarHeader},d.createElement("h2",{"aria-hidden":"true",className:h()(gg().heading,"PSPDFKit-Sidebar-Document-Outline-Heading")},d.createElement("span",null,w(wg.outline)))),d.createElement(hg,{outlineElements:g,expanded:n,onPress:m,navigationDisabled:i,onRenderItemCallback:y})):d.createElement("div",{className:b,ref:c},fg||(fg=d.createElement(je.Z,null)))})),wg=(0,xe.vU)({noOutline:{id:"noOutline",defaultMessage:"No Outline",description:"Message shown when there is no document outline / table of contents"},outline:{id:"outline",defaultMessage:"Outline",description:"Outline"}});class xg extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"_handleKeydown",(e=>{var t;const n=(null===(t=this.props.shadowRoot)||void 0===t?void 0:t.activeElement)||this.props.document.activeElement;this.props.hasSelectedAnnotations||n&&"BODY"!==n.tagName&&(0,io.Qu)(n)||e.shiftKey||e.metaKey||e.ctrlKey||e.alt||(e.keyCode===Kr.P9&&this._handleKeyLeft(),e.keyCode===Kr.gs&&this._handleKeyRight())})),(0,o.Z)(this,"_handleKeyRight",(()=>{const e=(0,Cs.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,yu.fz)())})),(0,o.Z)(this,"_handleKeyLeft",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,yu.IT)())}))}componentDidMount(){var e;((null===(e=this.props.shadowRoot)||void 0===e?void 0:e.ownerDocument)||this.props.document).addEventListener("keydown",this._handleKeydown)}componentWillUnmount(){var e;((null===(e=this.props.shadowRoot)||void 0===e?void 0:e.ownerDocument)||this.props.document).removeEventListener("keydown",this._handleKeydown)}render(){const{children:e}=this.props;return void 0===e?null:e}}var Dg=n(51722),Cg=n(73900);function Eg(e,t,n){return async(r,o)=>{const{viewportState:{currentPageIndex:i},formFields:a}=o(),l=[],c=[];for(const t of e){const{annotation:e,formField:o,attachmentBlobPromise:d}=t,p="COPY"===n&&t.annotation.pageIndex===i?new _.E9({x:20,y:20}):t.offset;if(e instanceof _.x_){const t=a.get(e.formFieldName)||o;(0,u.kG)(t,`Form field with name "${e.formFieldName}" not found`);const d=(0,j.xc)(),h="CUT"===n?e.formFieldName:`${null==t?void 0:t.name} copy`,f=e.id===e.name;let m=e.set("id",d).set("formFieldName",h).set("boundingBox",p?e.boundingBox.translate(p):e.boundingBox).delete("group").delete("pdfObjectId");n&&(m=m.set("pageIndex",i)),f&&(m=m.set("name",d));let g=t.set("name",h).set("annotationIds",(0,s.aV)([d])).set("id",(0,ts.C)()).delete("group").delete("pdfObjectId");t.options&&"CUT"!==n&&(g=g.set("options",(0,s.aV)([t.options.get(0).set("value",`${t.options.get(0).value}_1`)])).set("annotationIds",(0,s.aV)([d]))),l.push(m),r((0,yt.$d)(m)),r((0,er.kW)(g)),c.push(g)}else{const t=(0,j.xc)(),o=e.id===e.name;let a=e.set("id",t).delete("pdfObjectId");if(p&&(a=(0,ji.n)(a,p)),n&&(a=a.set("pageIndex",i)),o&&(a=a.set("name",t)),"imageAttachmentId"in e&&e.imageAttachmentId&&d){let e;try{e=await d}catch(e){throw new u.p2(`Could not retrieve attachment data: ${e.message}`)}(0,u.kG)(e,"Attachment not found");const{hash:t}=await(0,Fe.uq)(e),n=new _.Pg({data:e});r((0,$.O)({hash:t,attachment:n})),a=a.set("imageAttachmentId",t)}l.push(a),r((0,yt.$d)(a))}}const d={annotations:l,formFields:c,previousAction:n,originalAnnotations:e.map((e=>e.annotation)),originalFormFields:a};t(d)}}function Sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _g(e){for(var t=1;t{const{annotations:e,selectedAnnotationsIds:t,backend:n}=this.props,r=null==e?void 0:e.filter((e=>null==t?void 0:t.has(e.id))).valueSeq().toArray();return null==r?void 0:r.map((e=>{let t;return e instanceof _.sK&&e.imageAttachmentId&&(t=null==n?void 0:n.getAttachment(e.imageAttachmentId)),{annotation:e,attachmentBlobPromise:t}}))})),(0,o.Z)(this,"handleKeyDown",(async e=>{const{dispatch:t,selectedAnnotationsIds:n,commentThreads:r,isPrinting:o,printingEnabled:i,canDeleteSelectedAnnotationCP:a,selectedAnnotation:c,eventEmitter:d,backend:p,formFields:h,areClipboardActionsEnabled:f,modalClosurePreventionError:m,setModalClosurePreventionError:g,annotations:v,isMultiSelectionEnabled:y,contentEditorSession:b,interactionMode:w}=this.props;(0,u.kG)(p,"backend is required");const x=e.composedPath()[0];if(e.metaKey&&e.ctrlKey)return;if(this.props.canUndo&&(e.metaKey||e.ctrlKey)&&!e.shiftKey&&e.keyCode===Kr.gx&&!(0,io.eR)(x))return t((0,_i.Yw)()),void e.preventDefault();if(this.props.canRedo&&!(0,io.eR)(x)&&(e.metaKey||e.ctrlKey)&&e.shiftKey&&e.keyCode===Kr.gx)return t((0,_i.KX)()),void e.preventDefault();if(f&&(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.b8&&e.shiftKey&&n&&n.size>0&&(e.preventDefault(),this.props.selectedGroupId?t((0,Vt.UZ)(this.props.selectedGroupId)):(0,l.dC)((()=>{n.forEach((e=>{var n;const r=null===(n=this.props.annotationsGroups)||void 0===n?void 0:n.find((t=>{let{annotationsIds:n}=t;return n.has(e)}));r&&t((0,Vt.of)(e,r.groupKey))}))}))),e.shiftKey)return;f&&(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.b8&&n&&n.size>0&&(e.preventDefault(),t((0,Vt._R)(n))),(e.ctrlKey&&e.keyCode===Kr.j4||e.metaKey&&e.keyCode===Kr.j4)&&(t((0,Se.fz)()),t((0,eu.Xe)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.iT&&(!o&&i&&t((0,Cg.S0)()),e.preventDefault(),e.stopImmediatePropagation()),(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.AV&&(t((0,yu.kr)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.d2&&(t((0,yu.vG)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Kr.Cp&&(t((0,yu._R)()),e.preventDefault());const{copiedOrCutAnnotations:D}=this.state;var C,E;if(f&&(e.ctrlKey||e.metaKey)&&D&&"v"===e.key&&(e.preventDefault(),e.stopPropagation(),t((C=D,(e,t)=>{var n;const{eventEmitter:r}=t();e(Eg(C,(e=>{r.emit("annotations.paste",e)}),null==C||null===(n=C[0])||void 0===n||null===(n=n.previousAction)||void 0===n?void 0:n.toUpperCase()))})),this.setState({copiedOrCutAnnotations:null})),f&&y&&(e.ctrlKey||e.metaKey)&&"a"===e.key){var S;const n=x&&(0,io.eR)(x),r=null===(S=window.top)||void 0===S?void 0:S.document.activeElement,o=r&&(0,io.eR)(r);if(n||o)return;e.preventDefault(),e.stopPropagation();const i=null==v?void 0:v.filter((e=>e.pageIndex===this.props.currentPageIndex)).map((e=>e.id));i&&(0,l.dC)((()=>{t((0,Se.fz)()),t((0,Se.Df)(i.toSet(),null))}))}if(b.active&&b.textBlockInteractionState.state===bl.FP.Selected&&["Del","Delete","Backspace"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),t((0,Dh.u)(bl.wR.Delete))),n&&n.size>0&&!(0,io.eR)(x))if(!["Del","Delete","Backspace"].includes(e.key)||r&&n.some((e=>r.has(e)))||!a){if(f&&(e.ctrlKey||e.metaKey)&&c&&"c"===e.key){var P;e.preventDefault(),e.stopPropagation();const t=null===(P=this.getSelectedAnnotations())||void 0===P?void 0:P.map((e=>_g(_g({},e),{},{previousAction:"copy"})));this.setState({copiedOrCutAnnotations:t}),d.emit("annotations.copy",{annotation:c})}else if(f&&(e.ctrlKey||e.metaKey)&&c&&"x"===e.key){var k;if(!t((E=c,(e,t)=>(0,Eo.Kd)(E,t()))))return;e.preventDefault(),e.stopPropagation();const n=null===(k=this.getSelectedAnnotations())||void 0===k?void 0:k.map((e=>{const t=e.annotation;return _g(_g({},e),{},{formField:t instanceof _.x_?null==h?void 0:h.get(t.formFieldName):void 0,previousAction:"cut"})}));this.setState({copiedOrCutAnnotations:n}),d.emit("annotations.cut",{annotation:c}),(0,l.dC)((()=>{n.forEach((e=>{t((0,yt.hQ)(e.annotation))}))}))}else if(f&&(e.ctrlKey||e.metaKey)&&c&&"d"===e.key){e.preventDefault(),e.stopPropagation();const n=this.getSelectedAnnotations();t(function(e){return(t,n)=>{const{eventEmitter:r}=n();t(Eg(e,(e=>{r.emit("annotations.duplicate",e)}))),t((0,Se.J4)((0,s.l4)(e.map((e=>e.annotation.id))),N.o.SELECTED))}}(n)),this.setState({copiedOrCutAnnotations:null})}else if(!("Esc"!==e.key&&"Escape"!==e.key||(0,io.N1)(x)||(0,io.fp)(x)||m&&m.annotationId===(null==c?void 0:c.id))){e.preventDefault(),e.stopPropagation(),t((0,Se.fz)());const r=n.first(),o=this.props.getScrollElement();if(o&&r){const e=o.querySelector(`[data-annotation-id="${r}"]`);e&&(0,io._s)(o,e)}}}else(null==m?void 0:m.annotationId)===(null==c?void 0:c.id)&&g(null),e.preventDefault(),e.stopPropagation(),t((0,yt.d8)(n));"Esc"!==e.key&&"Escape"!==e.key||w!==B.A.MEASUREMENT||(0,l.dC)((()=>{t((0,yt.Ds)(null)),t((0,Vt.hS)())})),e.keyCode!==Kr.bs||(0,io.eR)(x)||(e.preventDefault(),e.stopPropagation())})),(0,o.Z)(this,"_handleRef",(e=>{this.props.shadowRoot?this._document=this.props.shadowRoot.ownerDocument:e&&!this.props.shadowRoot&&(this._document=e.ownerDocument)}))}componentDidMount(){this._document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.addEventListener("copy",kg)}componentWillUnmount(){this._document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.removeEventListener("copy",kg)}render(){return d.createElement("div",{ref:this._handleRef})}}function kg(e){const{target:t}=e;(0,Dg.c)(t)||e.preventDefault()}const Ag=["highlight","strikeout","underline","squiggle","redact-text-highlighter","comment","document-assistant"],zg=(0,I.Z)("InlineTextSelectionToolbarItem ");var Tg=n(23514),Og=n.n(Tg);function Ig(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fg(e){for(var t=1;t{n((0,yt.VX)(e,t)),n((0,Se.fz)())}),[n]),m=d.useCallback((()=>{n((0,Lo.cQ)())}),[n]),g=d.useCallback((()=>{n((0,Vt.Z_)(!0))}),[n]),v=h()({[Og().button]:!s},{[_c().button]:s}),y=d.useMemo((()=>{const e=[{type:"highlight",title:p(Pe.Z.highlightAnnotation),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Highlight",v),onPress:()=>{f(_.FV,"highlight")}},{type:"strikeout",title:p(Pe.Z.strikeOutAnnotation),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Strike-Out",v),onPress:()=>{f(_.R9,"strikeout")}},{type:"underline",title:p(Pe.Z.underlineAnnotation),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Underline",v),onPress:()=>{f(_.xu,"underline")}},{type:"squiggle",title:p(Pe.Z.squiggleAnnotation),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Squiggle",v),onPress:()=>{f(_.hL,"squiggle")}}];return o&&e.push({type:"comment",title:p(Pe.Z.comment),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Comment",v),onPress:()=>{m()}}),i&&e.push({type:"redact-text-highlighter",title:p(Pe.Z.redactionAnnotation),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Redaction",v),onPress:()=>{f(W.Z,"redaction")}}),a&&e.unshift({type:"document-assistant",title:p(Pe.Z.documentAI),className:h()("PSPDFKit-Text-Markup-Inline-Toolbar-Document-Assistant",v),onPress:()=>{g()}}),e}),[f,v,p,m,o,i,a,g]),b=d.useMemo((()=>{if(l){if(!c)return[];const e=l({defaultItems:y,hasDesktopLayout:!s},c);e.forEach((e=>{!function(e){zg((0,u.PO)(e)&&!!e,"Expected item to be an object");const{type:t,id:n,title:r,icon:o,className:i,onPress:a,disabled:s}=e;zg("type"in e&&(0,F.HD)(t)&&[...Ag,"custom"].includes(t),`Expected item.type to be one of ${[...Ag,"custom"].join(", ")}`),r&&zg((0,F.HD)(r),"Expected `title` to be a string"),o&&zg((0,F.HD)(o),"Expected `icon` to be a string"),n&&zg((0,F.HD)(n),"Expected `id` to be a string"),i&&zg((0,F.HD)(i),"Expected `className` to be a string"),a&&zg("function"==typeof a,"`onPress` must be a `function`"),"disabled"in e&&zg("boolean"==typeof s,"`disabled` must be a `boolean`"),e.node&&zg(au.a.includes(e.node.nodeType),"`node.nodeType` is invalid. Expected one of "+au.a.join(", "))}(e)}));return e.map((e=>"custom"===e.type&&null!==e.onPress?Fg(Fg({},e),{},{onPress:()=>{e.onPress(),n((0,Se.fz)())}}):e)).map((e=>({node:Rg(e),type:e.type})))}return y.map((e=>({node:Rg(e),type:e.type})))}),[y,c,s,l,Rg,n]),w=h()({[_c().content]:s,[_c().mobileTextMarkup]:s,[Og().inner]:!s});return d.createElement("div",{className:h()("PSPDFKit-Text-Markup-Inline-Toolbar",{[Og().root]:!s}),role:"dialog","aria-label":p(Pe.Z.markupToolbar)},d.createElement("div",{className:w},b.map(((e,t)=>"custom"!==e.type&&"document-assistant"!==e.type&&r(Mg.get(e.type))?null:"custom"===e.type?d.createElement("div",{key:`custom-${t}`},e.node):d.createElement("div",{key:e.type},e.node)))))}class Bg extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O)}render(){const{position:e,dispatch:t,showComments:n,showRedactions:r,currentTextSelection:o,isAnnotationTypeReadOnly:i,inlineTextSelectionToolbarItems:a,showDocumentAssistant:s}=this.props;return d.createElement("div",{className:h()("PSPDFKit-Annotation-Toolbar",_c().root,{[_c().stickToBottom]:"bottom"===e})},d.createElement(jg,{dispatch:t,isAnnotationTypeReadOnly:i,showComments:n,showRedactions:r,hasMobileLayout:!0,inlineTextSelectionToolbarItems:a,currentTextSelection:o,showDocumentAssistant:s}))}}var Ng=n(67040),Lg=n(18726),Kg=n(60101),Vg=n(39270),qg=n.n(Vg);const Hg=d.memo((function(e){const t=e.items.map(((t,n)=>{const{className:r,disabled:o,selected:i,icon:a,title:s,onPress:l}=t;return t.node?d.createElement(Kg.Z,{node:t.node,className:h()("PSPDFKit-Annotation-Tool-Node",e.itemClassName,r,qg().node),onPress:l,title:s,disabled:o,selected:i,key:`AnnotationTools-tool-${n}`}):d.createElement(np.Z,{type:"custom",className:h()("PSPDFKit-Annotation-Tool-Button",e.itemClassName,r,qg().button),disabled:o,selected:i,icon:a,title:s,onPress:l,key:`AnnotationTools-tool-${n}`})}));return d.createElement("div",{role:"toolbar",className:h()(qg().root,e.rootClassName)},t)})),Zg=["children","fullScreen","hover","tools","intl","closeNote","clearNote","isLocked","isReadOnly","hasLockedContents"];function Ug(e){e.stopPropagation()}const $g=(0,xe.XN)((e=>{const{children:t,fullScreen:n,hover:r,tools:o,intl:i,closeNote:a,clearNote:s,isLocked:l,isReadOnly:u,hasLockedContents:c}=e,p=(0,ne.Z)(e,Zg),{formatMessage:f}=i,m=d.useRef(null);d.useEffect((function(){const e=m.current;if(e)return e.addEventListener("wheel",Ug,!0),()=>e.removeEventListener("wheel",Ug,!0)}),[]);const g=(0,ke.Z)({type:"close"}),v=(0,ke.Z)({type:"delete"}),y=(0,ke.Z)({type:"lock",style:{width:12,height:12,flexBasis:12},className:xt().icon}),b=[u?f(Pe.Z.readOnlyAnnotationFlag):"",l?f(Pe.Z.locked):"",c?f(Pe.Z.lockedContents):""].filter((e=>""!==e)).join(", ");return d.createElement("div",(0,ce.Z)({className:`PSPDFKit-Note-Annotation-Content ${xt().wrapper}${n?" "+xt().fullScreen:""}`},p,{ref:m}),d.createElement("div",{className:xt().header},d.createElement("h3",{className:xt().title},f(Pe.Z.noteAnnotation)),d.createElement("button",{className:h()(xt().button,r?xt().hidden:null),title:f(Pe.Z.close),"aria-label":f(Pe.Z.close),onClick:a||void 0,role:"button",type:"button"},g)),d.createElement("div",{className:xt().content},t),s&&d.createElement("button",{className:h()(xt().button,r?xt().hidden:null),title:f(Pe.Z.clear),"aria-label":f(Pe.Z.clear),onClick:s,role:"button",type:"button"},v),o&&!n&&d.createElement("div",{className:xt().tools},d.createElement(Hg,{items:o,rootClassName:xt().tools,itemClassName:xt().tool})),d.createElement("div",{className:xt().footer},(l||u||c)&&d.createElement(d.Fragment,null,y,d.createElement("div",{className:xt().label,"aria-label":b},b))))}));function Gg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wg(e){for(var t=1;t{this._isFocused||(this._isFocused=!0,this._editor&&this._editor.focus())})),(0,o.Z)(this,"clearText",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_isFocused",!1),(0,o.Z)(this,"_lastSavedAnnotation",this.props.annotation),(0,o.Z)(this,"_onRef",(e=>{this._editor=e})),(0,o.Z)(this,"_valueDidUpdate",(()=>{this._didUpdate=!0})),(0,o.Z)(this,"_updateAnnotation",(()=>{if(this._didUpdate){var e;const n=this.props.annotation.set("text",{format:"plain",value:null===(e=this._editor)||void 0===e?void 0:e.getPlainText()});if(this._lastSavedAnnotation.text.value!==n.text.value||this._lastSavedAnnotation.text.format!==n.text.format)if(this._lastSavedAnnotation=n,n instanceof Ao.FN){var t;const e=null===(t=n.parentAnnotation)||void 0===t?void 0:t.set("note",n.text.value);(0,u.kG)(e),this.props.dispatch((0,yt.FG)(e))}else this.props.dispatch((0,yt.FG)(n)),this.props.keepSelectedTool&&this.props.dispatch((0,Vt.i9)())}else this.props.keepSelectedTool&&this.props.dispatch((0,Vt.i9)())})),(0,o.Z)(this,"_onBlur",(()=>{this._updateAnnotation()})),(0,o.Z)(this,"_onStopEditing",(()=>{this._updateAnnotation(),this.props.dispatch((0,yt.i0)(!0))})),(0,o.Z)(this,"_onEscape",(()=>{this.props.dispatch((0,Se.fz)()),this._updateAnnotation()})),(0,o.Z)(this,"_handleEditorFocus",(()=>{if(!this._didEditorFocus){const e={annotations:(0,s.aV)([this.props.annotation]),reason:J.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e)}this._didEditorFocus=!0}))}UNSAFE_componentWillReceiveProps(e){e.annotation.equals(this.props.annotation)||this.setState({value:e.annotation.text.value})}componentWillUnmount(){if(this._didEditorFocus){const e={annotations:(0,s.aV)([this.props.annotation]),reason:J.f.TEXT_EDIT_END};this.props.eventEmitter.emit("annotations.willChange",e)}this._updateAnnotation()}render(){return d.createElement(ci,{autoFocus:!1,autoSelect:this.props.autoSelect,onBlur:this._onBlur,onStopEditing:this._onStopEditing,onEscape:this._onEscape,ref:this._onRef,maxLength:Be.RI,defaultValue:this.state.value,lastMousePoint:this.props.lastMousePoint,style:Wg(Wg({},Xg),{},{cursor:this.props.uneditableContentCursor||"inherit"}),valueDidUpdate:this._valueDidUpdate,onFocus:this._handleEditorFocus,key:this.state.value})}}(0,o.Z)(Yg,"defaultProps",{autoSelect:!1});var Qg=n(84337);class Jg extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{}),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"_closeNote",(()=>{this.props.noteAnnotation instanceof Ao.FN?this.props.dispatch((0,Se.mv)(null)):this.props.dispatch((0,Se.fz)())})),(0,o.Z)(this,"_clearNote",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_makeHandleMouseUpAndTouchEnd",(e=>(0,Ng.S)((t=>{this.setState({lastMousePoint:new _.E9({x:t.clientX,y:t.clientY})},(()=>{this.props.dispatch((0,Se.VR)(e))}))})))),(0,o.Z)(this,"_onRef",(e=>{this._editor=e,this.props.isFullscreen&&this._editor&&this._editor.focus()})),(0,o.Z)(this,"_getGradient",(0,dn.Z)((e=>{let t=e.lighter(30);const n=Math.min(t.r,t.g,t.b);for(let e=0;e<10&&t.contrastRatio(_.Il.BLACK)<4.5;e++)t=t.lighter((255-n)/25.5);return{top:t.lighter(30),bottom:t}}))),(0,o.Z)(this,"isPopoverPositioned",!1),(0,o.Z)(this,"onPopoverPositioned",(()=>{!this.isPopoverPositioned&&this._editor&&(this.isPopoverPositioned=!0,this._editor.focus())}))}render(){const{dispatch:e,noteAnnotation:t,noteAnnotationToModify:n,viewportState:r,isFullscreen:o,collapseSelectedNoteContent:i}=this.props;if(null==t.pageIndex||i)return null;const a=n&&t.id===n.id,s=t instanceof Ao.FN,{color:l}=t,c=tv[l.toCSSValue()]||this._getGradient(l.saturate(60)),p=this.props.isAnnotationReadOnly(t),h=p||t.lockedContents;if(o){if(!a&&!p)return null;const n=l.toCSSValue(),o=`linear-gradient(to bottom, ${c.top.toCSSValue()} 0%, ${c.bottom.toCSSValue()} 100%)`,i=r.viewportRect.height-(this.props.annotationToolbarHeight((0,u.kG)(e),e.merge({left:e.left+(e.width-e.width/r.zoomLevel)/2,top:e.top+(e.height-e.height/r.zoomLevel)/2,width:e.width/r.zoomLevel,height:e.height/r.zoomLevel})))),y=(0,j.B7)(t,{isExpandedNote:!0});return d.createElement(Qg.Z,{referenceRect:(0,j.SY)(v,r.zoomLevel,r.pagesRotation).apply(g),viewportState:r,onPositionInfoChange:this.onPopoverPositioned,baseColor:l,color:[c.top,c.bottom],className:"PSPDFKit-Popover-Note-Annotation",customZIndex:1001},d.createElement($g,{onMouseUp:f,onTouchEnd:m,tools:this.props.tools,closeNote:this._closeNote,clearNote:a&&!h&&s?this._clearNote:void 0,hover:this.props.isHover,id:`NoteAnnotationContent-${t.id}`,style:{cursor:y},isLocked:t.locked,isReadOnly:t.readOnly,hasLockedContents:t.lockedContents},h?t.text.value:d.createElement(Yg,{annotation:t,dispatch:e,ref:a?this._onRef:void 0,lastMousePoint:this.state.lastMousePoint,autoSelect:this.props.autoSelect,eventEmitter:this.props.eventEmitter,keepSelectedTool:this.props.keepSelectedTool,uneditableContentCursor:y})))}}(0,o.Z)(Jg,"defaultProps",{autoSelect:!1});const ev={yellow:{top:new _.Il({r:245,g:240,b:158}),bottom:new _.Il({r:250,g:247,b:106})},orange:{top:new _.Il({r:250,g:213,b:161}),bottom:new _.Il({r:255,g:184,b:112})},red:{top:new _.Il({r:255,g:181,b:178}),bottom:new _.Il({r:255,g:134,b:126})},fuchsia:{top:new _.Il({r:255,g:186,b:255}),bottom:new _.Il({r:240,g:139,b:233})},blue:{top:new _.Il({r:164,g:211,b:255}),bottom:new _.Il({r:113,g:166,b:244})},green:{top:new _.Il({r:190,g:255,b:161}),bottom:new _.Il({r:130,g:227,b:111})}},tv={};for(const e of Lg.W)null!=e.color&&null!=e.localization.id&&(tv[e.color.toCSSValue()]=ev[e.localization.id]);var nv=n(1175),rv=n(98861),ov=n.n(rv);class iv extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"elementRef",d.createRef()),(0,o.Z)(this,"state",{isPanning:!1}),(0,o.Z)(this,"initialPosition",null),(0,o.Z)(this,"previousPosition",null),(0,o.Z)(this,"_handleDragStart",(e=>{this.props.enabled&&(0,nv.I)(e)&&(this.initialPosition=this.previousPosition=new S.E9({x:e.clientX,y:e.clientY}),this.setState({isPanning:!0}),this._addEventListeners())})),(0,o.Z)(this,"_handleDragMove",(e=>{if(!(0,nv.W)(e))return void this._handleDragEnd(e);if(!this.props.enabled||!this.previousPosition)return;const t=new S.E9({x:e.clientX,y:e.clientY}),n=this.previousPosition.translate(t.scale(-1)),r=this._getScrollElement(),{scrollLeft:o,scrollTop:i}=r;r.scrollLeft=o+n.x,r.scrollTop=i+n.y,this.previousPosition=t,e.stopPropagation()})),(0,o.Z)(this,"_handleDragEnd",(e=>{this.initialPosition&&this.previousPosition&&(qt(this.initialPosition,this.previousPosition)&&(e.stopPropagation(),e.stopImmediatePropagation()),this.previousPosition=null,this.setState({isPanning:!1}),this._removeEventListeners())}))}componentDidMount(){this.elementRef.current&&this.elementRef.current.addEventListener("mousedown",this._handleDragStart)}componentWillUnmount(){this.elementRef.current&&this.elementRef.current.removeEventListener("mousedown",this._handleDragStart),this._removeEventListeners()}render(){const{enabled:e}=this.props,{isPanning:t}=this.state,n=h()({[ov().layer]:e,[ov().isPanning]:t});return d.createElement("div",{className:n,ref:this.elementRef},this.props.children)}_addEventListeners(){const{defaultView:e}=this._getScrollElement().ownerDocument;null==e||e.addEventListener("mouseup",this._handleDragEnd,!0),null==e||e.addEventListener("mousemove",this._handleDragMove)}_removeEventListeners(){const e=this._getScrollElement();if(!e)return;const{defaultView:t}=e.ownerDocument;t&&(t.removeEventListener("mouseup",this._handleDragEnd,!0),t.removeEventListener("mousemove",this._handleDragMove))}_getScrollElement(){return this.context()}}(0,o.Z)(iv,"contextType",vu);const av=d.memo((function(e){const{dispatch:t,viewportState:n,interactionMode:r,spreadIndex:o,onCropChange:i,cropInfo:a}=e,s=d.useRef(null);d.useEffect((()=>{null!==s.current&&s.current!==o&&(r===B.A.SEARCH?t((0,Se.vR)()):t((0,Se.fz)())),s.current=o}),[t,o,r]);const[l,u]=(0,Ds.wU)(n,o);if(0===n.viewportRect.width||0===n.viewportRect.height)return null;function c(t,r,o){const s={transform:(0,G.vs)(S.sl.IDENTITY,n,t).toCssValue(),transformOrigin:"0 0"},l=(0,Ds.nw)(n)===nf.X.DOUBLE?t.toString():e.pageKeys.get(t);return d.createElement("div",{key:l,className:"PSPDFKit-Spread",style:s,"data-spread-index":t},d.createElement(ef,{key:l,spreadIndex:t,viewportState:n,inViewport:r,shouldPrerender:o,hidden:!r,onOverviewRenderFinished:u,onCropChange:i,cropInfo:a,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor}))}return d.createElement(tf.Z,{dispatch:e.dispatch,viewportState:n},d.createElement("div",null,function(e){var t;const r=[];if(r.push(c(e,!0,!1)),n.scrollMode===zs.G.DISABLED)return r;const o=(0,Ds.kd)(n),i=null!==(t=n.prerenderedPageSpreads)&&void 0!==t?t:o,a=Math.max(e-i,0),s=Math.min(e+i,o-1);for(let t=a;t<=s;t++)t!==e&&r.push(c(t,!1,"number"==typeof l&&e===l));return r}(o)))}));var sv=n(87856),lv=n(14883),uv=n.n(lv);const cv=!(!sv.Gn||"edge"==Ke.SR)&&{passive:!0};class dv extends d.Component{constructor(){super(),(0,o.Z)(this,"_elementRef",d.createRef()),(0,o.Z)(this,"_handleWheel",(e=>{const{viewportState:t,scrollElement:n}=this.props,r=t.zoomLevel<=(0,Es.Mq)(t);let o=!0;if(n){const{clientHeight:e,scrollHeight:r}=n;o=t.commentMode!==of._.SIDEBAR||t.scrollMode!==zs.G.PER_SPREAD||t.scrollPosition.y+e>=r}if(!(r&&o))return;const i=(0,G.G4)(t);e.clientX>Math.ceil(i.left)+i.width+t.viewportPadding.x||(e.deltaY<0?this.props.dispatch((0,yu.IT)()):e.deltaY>0&&this.props.dispatch((0,yu.fz)()))})),(0,o.Z)(this,"_handleSwipeLeft",(()=>{const e=(0,Cs.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,yu.fz)())})),(0,o.Z)(this,"_handleSwipeRight",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,yu.IT)())})),(0,o.Z)(this,"_handleTouchStart",(e=>{const t=this._elementRef.current;t&&null===this._touchStart&&(0,Xl.sX)(e)&&(this._touchStart=fv(e),t.ownerDocument.addEventListener("touchend",this._handleTouchEnd,!0))})),(0,o.Z)(this,"_handleTouchEnd",(e=>{const t=this._elementRef.current;if(!t)return;const n=this._touchStart;if(!n)return;const r=fv(e),o=r.x-n.x,i=r.y-n.y,a=function(e,t,n){const r=t/e||0,o=n/e||0;return Math.abs(r)>Math.abs(o)?r:o}(r.timestamp-n.timestamp,o,i),s=function(e,t){const n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}(n,r),l=function(e,t){if(e===t)return 0;if(Math.abs(e)>=Math.abs(t))return e<0?pv:hv;return t<0?3:4}(o,i);if(s>10&&Math.abs(a)>.3&&!this.props.interactionsDisabled)switch(l){case pv:this._handleSwipeLeft();break;case hv:this._handleSwipeRight()}t.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0),this._touchStart=null})),(0,o.Z)(this,"_handleClick",(e=>{const t=this._elementRef.current;if(!t||this.props.hasSelection||t.ownerDocument.defaultView&&e.target instanceof t.ownerDocument.defaultView.HTMLElement&&(0,Dg.c)(e.target))return;const n=t.getBoundingClientRect(),r=(e.clientX-n.left)/n.width;r<.3?this._handleSwipeRight():r>.7&&this._handleSwipeLeft()})),this._handleWheel=(0,_h.Z)(this._handleWheel,250),this._touchStart=null}componentDidMount(){const e=this._elementRef.current;e&&(e.addEventListener("touchstart",this._handleTouchStart),e.addEventListener("wheel",this._handleWheel,cv))}componentWillUnmount(){const e=this._elementRef.current;e&&(e.removeEventListener("touchstart",this._handleTouchStart),e.removeEventListener("wheel",this._handleWheel,cv),e.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0))}render(){return d.createElement("div",{className:uv().root,onClick:this._handleClick,ref:this._elementRef},this.props.children)}}const pv=1,hv=2;function fv(e){const t=e.touches[0]||e.changedTouches[0];return{x:t.clientX,y:t.clientY,timestamp:Date.now()}}var mv=n(16085),gv=n.n(mv);const vv=function(e){let{progress:t,totalPages:n}=e;const{formatMessage:r}=(0,xe.YB)(),o=(0,l.I0)(),a=d.useCallback((()=>{(0,l.dC)((()=>{o((0,Vt.Zg)()),o((0,Cg.WQ)())}))}),[o]);return d.createElement(mp.Z,{onEscape:a,accessibilityLabel:r(yv.printProgressModal),accessibilityDescription:r(yv.printProgressModalDesc)},d.createElement("div",{className:gv().root},d.createElement("div",null,r(yv.printPrepare)),"number"==typeof t&&d.createElement(d.Fragment,null,d.createElement("div",{className:gv().progressWrapper},d.createElement("div",{className:gv().progress,"aria-label":`${t}% complete`,role:"progressbar","aria-valuenow":t},d.createElement("div",{className:gv().progressBar,style:{width:`${Math.floor(100*t/n)}%`}})),d.createElement("div",{className:gv().progressText},r(yv.pageXofY,{arg0:t,arg1:n}))),d.createElement(i.zx,{title:r(Pe.Z.cancel),onClick:a},r(Pe.Z.cancel)))))},yv=(0,xe.vU)({pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Printing processing progress"},printPrepare:{id:"printPrepare",defaultMessage:"Preparing document for printing…",description:"Shown while the printing process is preparing the pages for printing"},printProgressModal:{id:"printProgressModal",defaultMessage:"Printing in progress",description:"Printing in progress modal"},printProgressModalDesc:{id:"printProgressModalDesc",defaultMessage:"Indicates that a document is being prepared for printing",description:"Description for the Printing in progress modal"}});var bv,wv=n(22945),xv=n.n(wv);const Dv=function(){const{formatMessage:e}=(0,xe.YB)();return d.createElement(mp.Z,{accessibilityLabel:e(Cv.signingModal),accessibilityDescription:e(Cv.signingModalDescription)},d.createElement("div",{className:xv().root},d.createElement(Re.Z,{src:n(65936),className:xv().icon,role:"presentation"}),d.createElement("div",{className:xv().message},e(Cv.signing),bv||(bv=d.createElement(je.Z,null)))))},Cv=(0,xe.vU)({signing:{id:"signing",defaultMessage:"Signing...",description:"Shown while the digital signature flow is in progress"},signingModal:{id:"signingInProgress",defaultMessage:"Signing in progress",description:"Signing in progress modal"},signingModalDescription:{id:"signingModalDesc",defaultMessage:"Indicates that the current document is being signed",description:"Description of the Signing in progress modal"}});var Ev,Sv=n(57193),_v=n.n(Sv);function Pv(){const{formatMessage:e}=(0,xe.YB)();return d.createElement(mp.Z,{accessibilityLabel:e(kv.redactionsModal),accessibilityDescription:e(kv.redactionModalDescription)},d.createElement("div",{className:_v().root},d.createElement(Re.Z,{src:n(20377),className:_v().icon,role:"presentation"}),d.createElement("div",{className:_v().message},e(kv.applyingRedactions),Ev||(Ev=d.createElement(je.Z,null)))))}const kv=(0,xe.vU)({applyingRedactions:{id:"applyingRedactions",defaultMessage:"Applying redactions...",description:"Shown while the redactions flow is in progress"},redactionsModal:{id:"redactionInProgress",defaultMessage:"Redaction in progress",description:"Redaction in progress modal"},redactionModalDescription:{id:"redactionModalDesc",defaultMessage:"Indicates that the current document is being redacted",description:"Description of the Redacted in progress modal"}});var Av=n(58288),zv=n.n(Av);function Tv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ov(e){for(var t=1;t{Fv.indexOf(e.keyCode)>=0&&!this.usingNavigationKeys&&(this.usingNavigationKeys=!0)})),(0,o.Z)(this,"handleKeyUp",(e=>{Fv.indexOf(e.keyCode)>=0&&this.usingNavigationKeys&&(this.usingNavigationKeys=!1)})),(0,o.Z)(this,"_handleRef",(e=>{e&&(this.element=e,this.props.onScrollElementChange(e))})),this.previousKnownScrollPosition=new _.E9,this.previousKnownZoomLevel=1}updateScrollbarOffset(e){const t=this.element.offsetWidth-this.element.clientWidth,n="hidden"!==this.element.style.overflow;"number"==typeof t&&e!=t&&n&&this.props.dispatch((0,Vt.IU)(t))}componentDidUpdate(e){requestAnimationFrame((()=>this.updateScrollbarOffset(e.scrollbarOffset))),this.updateScrollPosition()}componentDidMount(){this.updateScrollbarOffset(),this.updateScrollPosition(),this.props.dispatch((0,Vt.K_)(this.element)),this.element.ownerDocument.addEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.addEventListener("keyup",this.handleKeyUp)}componentWillUnmount(){this.props.dispatch((0,Vt.K_)(null)),this.element.ownerDocument.removeEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.removeEventListener("keyup",this.handleKeyUp)}updateScrollPosition(){const{viewportState:e}=this.props;if(0===e.viewportRect.width)return;if(this.previousKnownScrollPosition.equals(e.scrollPosition)&&this.previousKnownZoomLevel===e.zoomLevel)return;const t=this.element,n=Math.round(e.scrollPosition.x*e.zoomLevel),r=Math.round(e.scrollPosition.y*e.zoomLevel);t.scrollTop!==r&&(t.scrollTop=r),t.scrollLeft!==n&&(t.scrollLeft=n),this.previousKnownScrollPosition=e.scrollPosition,this.previousKnownZoomLevel=e.zoomLevel}handleScroll(){const{dispatch:e,viewportState:t}=this.props,{scrollPosition:n,zoomLevel:r}=t;if(0===t.viewportRect.width)return;const o=this.element;if(void 0===o.scrollTop||void 0===o.scrollLeft)return;const i=new _.E9({x:o.scrollLeft/r,y:o.scrollTop/r}),a=function(e,t,n){const r=1/n;return Math.abs(e.x-t.x)>r||Math.abs(e.y-t.y)>r}(n,i,r);a&&(this.previousKnownScrollPosition=i,this.previousKnownZoomLevel=r,e((0,yu.lt)(i,this.usingNavigationKeys)))}render(){const{children:e,scrollDisabled:t}=this.props;return d.createElement("div",{ref:this._handleRef,className:`PSPDFKit-Scroll ${zv().root}`,style:Ov(Ov({},Iv),{},{overflow:t?"hidden":"auto"}),onScroll:this.handleScroll},e)}}var Rv,jv=n(76438),Bv=n(99135),Nv=n.n(Bv);const Lv=(0,xe.XN)((function(e){const{formatMessage:t}=e.intl,n=t(Kv.searchResultOf,{arg0:e.searchResultsSize>0?e.focusedResultIndex+1:0,arg1:e.searchResultsSize}),r=d.createElement("div",{role:"status",className:Nv().searchPosition,"aria-live":"polite","aria-label":Ke.vU?n:void 0},n);return d.createElement(d.Fragment,null,e.isLoading&&d.createElement("div",{className:Nv().loader},Rv||(Rv=d.createElement(je.Z,null))),r)})),Kv=(0,xe.vU)({searchResultOf:{id:"searchResultOf",defaultMessage:"{arg0} of {arg1}",description:"Shows the current search result number. E.g. 1 of 10"}});var Vv=n(48731),qv=n.n(Vv);const Hv=(0,xe.vU)({searchPreviousMatch:{id:"searchPreviousMatch",defaultMessage:"Previous",description:"Go to the previous search result"},searchNextMatch:{id:"searchNextMatch",defaultMessage:"Next",description:"Go to the next search result"}}),Zv=(0,xe.XN)((e=>{const t=d.useRef(null);d.useEffect((()=>{(()=>{const n=t.current;(0,De.k)(null!=n),n.ownerDocument.activeElement!==n&&e.isFocused?n.focus():n.ownerDocument.activeElement!==n||e.isFocused||n.blur()})()}));const{formatMessage:r}=e.intl,o=h()({[qv().previous]:!0,"PSPDFKit-Search-Control-Prev":!0,"PSPDFKit-Search-Control-Prev-disabled":e.searchResultsSize<=0}),i=h()({[qv().next]:!0,"PSPDFKit-Search-Control-Next":!0,"PSPDFKit-Search-Control-Next-disabled":e.searchResultsSize<=0}),a=0===e.term.length,s=h()({[qv().results]:!0,[qv().resultsDisabled]:a,"PSPDFKit-Search-Form-Result":!0}),l=r(Pe.Z.searchDocument);return d.createElement("div",{className:h()("PSPDFKit-Search",qv().root,{[qv().noToolbar]:!e.showToolbar||e.toolbarPlacement!==Du.p.TOP}),"data-testid":"pspdfkit-search-form-component-root"},d.createElement("div",{className:`PSPDFKit-Search-Form ${qv().searchBox}`},d.createElement("input",{type:"text",name:"search",ref:t,autoComplete:"off",placeholder:l,"aria-label":l,value:e.term,onChange:()=>{const n=t.current;(0,De.k)(null!=n);const r=n.value;let o=!1;e.eventEmitter.emit("search.termChange",{term:r,preventDefault:()=>{o=!0}}),o||(e.searchForTerm(n.value),e.searchProvider.searchTerm(n.value))},onKeyDown:t=>{t.shiftKey&&(t.keyCode===Kr.E$||t.metaKey&&t.keyCode===Kr.b8)?(t.preventDefault(),e.focusPreviousSearchHighlight()):t.keyCode===Kr.E$||t.metaKey&&t.keyCode===Kr.b8?(t.preventDefault(),e.focusNextSearchHighlight()):t.keyCode===Kr.zz&&(t.preventDefault(),e.searchProvider.cancelSearch())},onFocus:()=>{e.focusSearch()},onBlur:()=>{e.blurSearch()},className:`PSPDFKit-Search-Form-Input ${qv().input}`}),d.createElement("div",{className:s},!a&&d.createElement(Lv,{isLoading:e.isLoading,searchResultsSize:e.searchResultsSize,focusedResultIndex:e.focusedResultIndex})),d.createElement("div",{className:`PSPDFKit-Search-Control ${qv().control}`},d.createElement("button",{className:o,title:r(Hv.searchPreviousMatch),disabled:e.searchResultsSize<=1,onClick:e.focusPreviousSearchHighlight},d.createElement(Re.Z,{src:n(10190),className:`${qv().icon} ${qv().iconLeft}`})),d.createElement("button",{className:i,title:r(Hv.searchNextMatch),disabled:e.searchResultsSize<=1,onClick:e.focusNextSearchHighlight},d.createElement(Re.Z,{src:n(92122),className:`${qv().icon} ${qv().iconRight}`})))),d.createElement("button",{className:`PSPDFKit-Search-Button-Close ${qv().button}`,onClick:()=>e.searchProvider.cancelSearch()},r(Pe.Z.close)))}));const Uv=(0,l.$j)((function(e){return{isFocused:e.searchState.isFocused,isLoading:e.searchState.isLoading,term:e.searchState.term,searchResultsSize:e.searchState.results.size,focusedResultIndex:e.searchState.focusedResultIndex,searchProvider:e.searchProvider,eventEmitter:e.eventEmitter,locale:e.locale,showToolbar:e.showToolbar,toolbarPlacement:e.toolbarPlacement}}),(function(e){return(0,jv.DE)({searchForTerm:eu._8,focusNextSearchHighlight:eu.jL,focusPreviousSearchHighlight:eu.dZ,focusSearch:eu.tB,blurSearch:eu.nJ},e)}))(Zv);class $v{constructor(e,t,n){var r;const o=e.getRangeAt(0);let i=new _.SV;if(this.selection=e,this.className=n,this.rootElement=t,this.isShadowRoot=t instanceof ShadowRoot,this.window=this.isShadowRoot?window:t.ownerDocument.defaultView,this.commonAncestorContainer=o.commonAncestorContainer,e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);o.setEnd(t.endContainer,t.endOffset)}const a=!(null!=t&&t.contains(o.startContainer)),s=!(null!=t&&t.contains(o.endContainer));(0,u.kG)(t);const l=!(null!==(r=this.commonAncestorContainer)&&void 0!==r&&r.contains(t));if(a&&s&&l)this.textRange=null;else{if(o.startContainer instanceof this.window.Text&&null!=t&&t.contains(o.startContainer)&&this._parentsMatchClass(o.startContainer))i=i.set("startNode",o.startContainer).set("startOffset",o.startOffset);else if(o.startContainer instanceof this.window.Element||o.startContainer instanceof this.window.Text){let e;if(e=o.startContainer.hasChildNodes()?this._nextTextNode(o.startContainer.childNodes[o.startOffset]):this._nextTextNode(o.startContainer),null==e)return void(this.textRange=null);i=i.set("startNode",e).set("startOffset",0)}else(0,u.kG)(!1,"Selected start container is neither DOM Element nor Text");if(o.endContainer instanceof this.window.Text&&null!=t&&t.contains(o.endContainer)&&this._parentsMatchClass(o.endContainer))i=i.set("endNode",o.endContainer).set("endOffset",o.endOffset);else if(o.endContainer instanceof this.window.Element||o.endContainer instanceof this.window.Text){let e;if(o.endContainer.hasChildNodes())if(o.endOffset>=o.endContainer.childNodes.length){let t=this._nextCrossSibling(o.endContainer);t||(t=o.endContainer.childNodes[o.endContainer.childNodes.length-1]),e=this._previousTextNode(t)}else e=this._previousTextNode(o.endContainer.childNodes[o.endOffset]);else e=this._previousTextNode(o.endContainer);if(null==e)return void(this.textRange=null);i=i.set("endNode",e).set("endOffset",e.length)}else(0,u.kG)(!1,"Selected start container is neither DOM Element nor Text");if(i.startNode==i.endNode&&i.startOffset>=i.endOffset)return void(this.textRange=null);if(!this._isBeforeOrSame(i.startNode,i.endNode))return void(this.textRange=null);this.textRange=i}}getTextRange(){return this.textRange}_nextTextNode(e){let t=this._findNextSpanNodeInTree(e);if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._nextCrossSibling(n),null==n)return null;t=this._findNextSpanNodeInTree(n)}return t.firstChild}_previousTextNode(e){let t=null;if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._previousCrossSibling(n),null==n)return null;t=this._findLastSpanNodeInTree(n)}return t.firstChild}_nextCrossSibling(e){if(!e)return null;if(null!=e.nextSibling)return e.nextSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!=t.nextSibling?t.nextSibling:this._nextCrossSibling(t)}_previousCrossSibling(e){if(null!==e.previousSibling)return e.previousSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!==t.previousSibling?t.previousSibling:this._previousCrossSibling(t)}_findNextSpanNodeInTree(e){if(e instanceof this.window.HTMLElement&&e.classList.contains(this.className))return e;if(e instanceof this.window.HTMLElement)for(let t=0;t=0;t--){const n=e.childNodes[t],r=this._findLastSpanNodeInTree(n);if(null!==r)return r}return null}_parentsMatchClass(e){let t=e.parentNode;for(;t;){if(t instanceof this.window.HTMLElement&&t.classList.contains(this.className))return!0;if(t instanceof this.window.ShadowRoot)break;t=t.parentNode}return!1}_isBeforeOrSame(e,t){const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=0==e.compareDocumentPosition(t);return n||r}_getSelectedTextWithNL(){if(!this.textRange)return this.selection.toString();const{startNode:e,endNode:t,startOffset:n,endOffset:r}=this.textRange;if(!e||!t)return this.selection.toString();if(e===t)return e.textContent?e.textContent.substring(n,r):"";let o=e,i=o.textContent?o.textContent.substring(n)+"\n":"";for(;o&&o!==t;)o=this._nextTextNode(o),o&&o.textContent&&(i+=o!==t?o.textContent+"\n":o.textContent.substring(0,r));return i}}var Gv=n(66645),Wv=n.n(Gv);let Xv=null,Yv=null;const Qv=(e,t)=>e.container===t.container&&e.offset===t.offset,Jv={Left:!0,ArrowLeft:!0,Top:!0,ArrowTop:!0,Right:!0,ArrowRight:!0,Bottom:!0,ArrowBottom:!0,Home:!0,End:!0,PageDown:!0,PageUp:!0,Esc:!0,Escape:!0};class ey extends d.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"isMouseSelection",!1),(0,o.Z)(this,"pointerMadeSelection",!1),(0,o.Z)(this,"isShiftPressed",!1),(0,o.Z)(this,"isPrimaryPointerGesture",!1),(0,o.Z)(this,"isSelecting",!1),(0,o.Z)(this,"selectionRange",document.createRange()),(0,o.Z)(this,"_handleSelectStart",(()=>{this.props.interactionMode!==B.A.TEXT_HIGHLIGHTER&&this.props.interactionMode!==B.A.REDACT_TEXT_HIGHLIGHTER||(this.isShiftPressed?this._processTextSelection(Ke.Ni?"touch":"mouse"):this.props.dispatch((0,Se.d5)((0,s.l4)(),this.props.interactionMode===B.A.TEXT_HIGHLIGHTER?_.FV:W.Z)))})),(0,o.Z)(this,"_handleSelectionChange",(()=>{const{interactionMode:e,shadowRoot:t,rootElement:n}=this.props,{defaultView:r}=n.ownerDocument;let o,i;if(Ke.G6&&t)o=null==t?void 0:t.getSelection();else{const{selection:e,isFalseCollapse:n}=t?(0,y.HY)(t):(0,y.sD)(r);o=e,i=n}!this.pointerMadeSelection&&(e=>{if(e.rangeCount<=0)return!1;if(e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);t.setEnd(t.endContainer,t.endOffset)}const t=e.getRangeAt(0),{startContainer:n,endContainer:r,startOffset:o,endOffset:i}=t,a={container:n,offset:o},s={container:r,offset:i};let l;return l=null===Xv||null===Yv||!(Qv(Xv,a)||Qv(Yv,s)||Qv(Xv,s)||Qv(Yv,a)),Xv=a,Yv=s,l})(o)&&(this._handleSelectStart(),this.pointerMadeSelection=!0),this.isMouseSelection&&e!==B.A.TEXT_HIGHLIGHTER&&e!==B.A.REDACT_TEXT_HIGHLIGHTER||(o&&!o.isCollapsed||i)&&this._processTextSelection(Ke.Ni?"touch":"mouse")})),(0,o.Z)(this,"_handlePointerUp",(e=>{let{pointerType:t,shiftKey:n,target:r}=e;if(!this.isPrimaryPointerGesture)return;"mouse"===t&&(this.isMouseSelection=!1);const o=r;if(null!=o&&o.classList&&o.classList.contains("PSPDFKit-Scroll"))return;this.pointerMadeSelection=!1,this.isShiftPressed=n;const i=this.props.selectedAnnotationIds.size>1;this.isShiftPressed||Ke.Ni&&i||window.setTimeout((()=>{this._checkForTextSelection(t)}),0)})),(0,o.Z)(this,"_handlePointerDown",(e=>{let{pointerType:t,shiftKey:n,isPrimary:r}=e;this.isPrimaryPointerGesture=r,"mouse"===t&&(this.isMouseSelection=!0,this.isShiftPressed=n)})),(0,o.Z)(this,"_handleKeyUp",(e=>{const{rootElement:t,shadowRoot:n}=this.props;if(t){const r=n?n.ownerDocument.defaultView:t.ownerDocument.defaultView;this.isShiftPressed=e.shiftKey;const o=e.composedPath()[0];if(!Jv.hasOwnProperty(e.key)||r&&o instanceof r.HTMLElement&&((0,io.eR)(o,r)||(0,io.N1)(o)||(0,io.gC)(o)))return;window.setTimeout((()=>{e.defaultPrevented||this._checkForTextSelection("mouse")}),0)}}))}componentDidMount(){const{rootElement:e,shadowRoot:t}=this.props,n=(null==t?void 0:t.ownerDocument)||e.ownerDocument,r=t||e.ownerDocument;n&&(r.addEventListener("keyup",this._handleKeyUp),n.addEventListener("selectionchange",this._handleSelectionChange))}componentWillUnmount(){const{rootElement:e,shadowRoot:t}=this.props,n=(null==t?void 0:t.ownerDocument)||e.ownerDocument,r=t||e.ownerDocument;n&&(r.removeEventListener("keyup",this._handleKeyUp),n.removeEventListener("selectionchange",this._handleSelectionChange)),Xv=null,Yv=null}_checkForTextSelection(e){const{dispatch:t,currentTextSelection:n,selectedAnnotationIds:r,activeAnnotationNote:o,rootElement:i,interactionMode:a,shadowRoot:s}=this.props,{defaultView:l}=i.ownerDocument,u=s||i.ownerDocument;if(this.props.modalClosurePreventionError&&r.includes(this.props.modalClosurePreventionError.annotationId)){const e=u.querySelector(".PSPDFKit-Form-Creator-Popover > .PSPDFKit-Popover");return null==e||e.classList.add(Wv().shakeEffect),void setTimeout((()=>{null==e||e.classList.remove(Wv().shakeEffect)}),200)}if(!l)return;const{selection:c,isFalseCollapse:d}=s?(0,y.HY)(s):(0,y.sD)(l);c&&(!c.isCollapsed||d?this._processTextSelection(e):(n||r.size>0||o)&&(a===B.A.TEXT_HIGHLIGHTER||a===B.A.REDACT_TEXT_HIGHLIGHTER||a===B.A.CONTENT_EDITOR?(this.isShiftPressed&&t((0,Se.td)(a===B.A.TEXT_HIGHLIGHTER?_.FV:W.Z)),t((0,Se.vR)())):t((0,Se.fz)())))}_processTextSelection(e){const{dispatch:t,rootElement:n,interactionMode:r,shadowRoot:o}=this.props,{defaultView:i}=n.ownerDocument;if(!i&&!o)return;let a;if(Ke.G6&&o)a=o.getSelection();else{const{selection:e}=o?(0,y.HY)(o):(0,y.sD)(i);a=e}if(!a)return;const s=a.rangeCount>0?((e,t,n)=>new $v(e,t,n).getTextRange())(a,o||n,js().selectableText):null;null!=s&&(0,l.dC)((()=>{t((0,Se.FP)(s,"mouse"===e&&r!==B.A.TEXT_HIGHLIGHTER&&r!==B.A.REDACT_TEXT_HIGHLIGHTER)),r===B.A.TEXT_HIGHLIGHTER?t((0,Se.BO)(_.FV)):r===B.A.REDACT_TEXT_HIGHLIGHTER&&t((0,Se.BO)(W.Z))}))}render(){return d.createElement(Je.Z,{onPointerUp:this._handlePointerUp,onPointerDown:this._handlePointerDown},d.createElement("div",null,this.props.children))}}var ty=n(47859);function ny(e,t){return e>t?t/1.5:e}class ry extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"sidebarRef",d.createRef()),(0,o.Z)(this,"state",{size:Math.min(this.props.initialSize,this.props.maxWidth),prevSize:Math.min(this.props.initialSize,this.props.maxWidth)}),(0,o.Z)(this,"onResize",(e=>{const{size:t}=this.state,{onResize:n}=this.props,r=this.sidebarRef.current&&this.sidebarRef.current.getBoundingClientRect();r&&(null==n||n({sidebarRect:r,isDragging:e,size:t}))})),(0,o.Z)(this,"onResizeFinish",(e=>{e!==this.props.initialSize&&this.props.dispatch((0,yu.Pt)(e))})),(0,o.Z)(this,"onDrag",((e,t)=>{const{minWidth:n,maxWidth:r}=this.props;this.setState((t=>{let{size:o}=t;return er||r-e<10?{size:r,prevSize:o}:{size:e,prevSize:o}}),(()=>{this.onResize(t)}))})),(0,o.Z)(this,"onDoubleClick",(()=>{const{maxWidth:e}=this.props;this.setState((t=>{let{size:n,prevSize:r}=t;return n===e?{size:ny(r,e)}:{size:e,prevSize:n}}),(()=>this.onResize(!1)))}))}componentDidMount(){this.onResize(!1)}componentDidUpdate(e){const{size:t,prevSize:n}=this.state,{maxWidth:r}=this.props;r!==e.maxWidth&&(t===e.maxWidth||t>r)?this.setState({size:r,prevSize:ny(n,r)}):this.props.initialSize!==e.initialSize&&this.setState({size:this.props.initialSize})}componentWillUnmount(){this.onResize(!1)}render(){const{size:e}=this.state,{draggerSize:t,isRTL:n,maxWidth:r,minWidth:o}=this.props;return d.createElement("div",{ref:this.sidebarRef},d.createElement(oy,{size:e,onDrag:this.onDrag,onDoubleClick:this.onDoubleClick,onResizeFinish:this.onResizeFinish,draggerSize:t,isRTL:n,currentValue:Math.round((e-o)/(r-o)*100),shadowRoot:this.props.shadowRoot},d.createElement(ty.ZP,null,this.props.children(e-t,t))))}}class oy extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{isDragging:!1,previousPosition:null}),(0,o.Z)(this,"_handlePointerDown",(e=>{const{isPrimary:t}=e;if(!t)return;const n=new S.E9({x:e.clientX,y:e.clientY});this.setState({isDragging:!0,previousPosition:n})})),(0,o.Z)(this,"_handlePointerMove",(e=>{if(!this.state.isDragging)return;const t=new S.E9({x:e.clientX,y:e.clientY});this._handleDrag(t)})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.state.isDragging)return;this.setState({isDragging:!1});const{previousPosition:t}=this.state;if(!t)return;const n=new S.E9({x:e.clientX,y:e.clientY}),r=this.props.size+(this.props.isRTL?t.x-n.x:n.x-t.x);this.props.onResizeFinish(r)})),(0,o.Z)(this,"_handleDoubleClick",(()=>{this.props.onDoubleClick()})),(0,o.Z)(this,"_handleKeyDown",(e=>{const{size:t,isRTL:n,onDrag:r,onDoubleClick:o}=this.props;"ArrowRight"===e.key?r(n?t-2:t+2,!1):"ArrowLeft"===e.key?r(n?t+2:t-2,!1):"Enter"===e.key&&o()})),(0,o.Z)(this,"_handleDrag",(e=>{const{previousPosition:t}=this.state;if(!t)return;const n=this.props.size+(this.props.isRTL?t.x-e.x:e.x-t.x);this.props.onDrag(n,!1),this.setState({previousPosition:e})}))}render(){const{isRTL:e,draggerSize:t,currentValue:n}=this.props;return d.createElement("div",{className:`${yg().sidebar} PSPDFKit-Sidebar`,style:{width:this.props.size,position:"relative",overflow:"hidden",[e?"paddingLeft":"paddingRight"]:t}},this.props.children,d.createElement("div",{onDoubleClick:this._handleDoubleClick},d.createElement(Je.Z,{onPointerDown:this._handlePointerDown,onRootPointerMoveCapture:this._handlePointerMove,onRootPointerUpCapture:this._handlePointerUp},d.createElement("div",{style:{[e?"left":"right"]:0,width:t},className:`${yg().dragger} PSPDFKit-Sidebar-Dragger`},d.createElement("div",{tabIndex:0,role:"separator","aria-label":"Resizer handle","aria-orientation":"vertical","aria-valuenow":n,onKeyDown:this._handleKeyDown,style:this.props.shadowRoot?{}:{[e?"right":"left"]:this.props.size-t},className:`${yg().draggerHandle} PSPDFKit-Sidebar-DraggerHandle`})))))}}class iy extends d.PureComponent{render(){const{formatMessage:e}=this.props.intl;return d.createElement(mp.Z,{role:"dialog",onEscape:this.props.onEscape,background:"rgba(0,0,0,.1)",className:$r().modal,accessibilityLabel:e(ay.signatureDialog),accessibilityDescription:e(ay.signatureDialogDescription)},this.props.children)}}const ay={signatureDialog:{id:"signatureDialog",defaultMessage:"Signature",description:"Signature Dialog"},signatureDialogDescription:{id:"signatureDialogDesc",defaultMessage:"This dialog lets you select an ink signature to insert into the document. If you do not have stored signatures, you can create one using the canvas view.",description:"Signature Dialog description"}},sy=(0,xe.XN)(iy);var ly=n(60379),uy=n(16602),cy=n(55752);function dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function py(e){for(var t=1;t[ly.Z.BLACK,ly.Z.BLUE,ly.Z.RED].includes(e.color)));class fy extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O),(0,o.Z)(this,"state",{annotation:new cy.Z(py(py({},this.props.preset),{},{isSignature:!0})),zoomLevel:1}),(0,o.Z)(this,"_onAnnotationColorChange",(e=>{const t=this.state.annotation.withMutations((t=>{t.set("strokeColor",e)}));this._onChange(t)})),(0,o.Z)(this,"_clear",(()=>{this.setState({annotation:new cy.Z(py(py({},this.props.preset),{},{isSignature:!0}))},this._callOnChange)})),(0,o.Z)(this,"_onChange",(e=>{this.setState({annotation:e},this._callOnChange)})),(0,o.Z)(this,"_callOnChange",(()=>{const{onChange:e}=this.props;if(!e)return;e((0,ji.c)(this.state.annotation,this.state.annotation.boundingBox.getLocation().scale(-1),this.props.canvasSize,new S.E9))})),(0,o.Z)(this,"_onResize",(e=>{this.setState({zoomLevel:e.width/this.props.canvasSize.width})}))}render(){const{annotation:e}=this.state,{canvasSize:t}=this.props,{formatMessage:n}=this.props.intl,r=e.lines.isEmpty();return d.createElement(d.Fragment,null,d.createElement("div",{className:$r().header},d.createElement(Wc,{colorPresets:hy,activeColor:e.strokeColor,onClick:this._onAnnotationColorChange,className:h()($r().colorPicker,"PSPDFKit-Signature-Dialog-Color-Picker")}),d.createElement(i.zx,{onClick:this._clear,inverted:!0,disabled:r,className:h()($r().button,"PSPDFKit-Signature-Dialog-Clear-Signature-Button")},n(Pe.Z.clearSignature))),d.createElement("div",{className:$r().editorCanvasContainer},d.createElement("div",{className:h()($r().editorCanvas,"PSPDFKit-Signature-Dialog-Canvas","PSPDFKit-Signature-Canvas","interactions-disabled")},d.createElement(Bd.Z,{onResize:this._onResize}),d.createElement("div",{className:h()($r().signHere,"PSPDFKit-Signature-Dialog-Sign-Here-Label",{[$r().signHereHidden]:!e.lines.isEmpty()})},n(my.pleaseSignHere)),d.createElement(Xo,{annotation:e,canvasSize:t,onDrawStart:this._onChange,onDraw:this._onChange,onDrawEnd:this._onChange,zoomLevel:this.state.zoomLevel,cursor:"crosshair"}))))}}(0,o.Z)(fy,"defaultProps",{canvasSize:new S.$u({width:600,height:260}),preset:{}});const my=(0,xe.vU)({pleaseSignHere:{id:"pleaseSignHere",defaultMessage:"Please sign here",description:"Message on the signature canvas"}}),gy=(0,xe.XN)(fy);var vy,yy=n(16522),by=n.n(yy);function wy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xy(e){for(var t=1;t{const{backend:e,attachment:t,templateWidth:n}=this.props;let r=this.props.annotation.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0))),{boundingBox:o}=r;const i=Math.max(o.width,o.height);return i{this.unmounted||(this.setState({loadingState:"LOADED"}),this.props.onRenderFinished&&this.props.onRenderFinished(e))})),(0,o.Z)(this,"_showError",(()=>{this.setState({loadingState:"ERROR"})})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){if(!(0,s.is)((0,j.ip)(this.props.annotation),(0,j.ip)(e.annotation))||e.annotation.imageAttachmentId!==this.props.annotation.imageAttachmentId||e.templateWidth0&&a>0?i/a:1,l=s>1?by().wideImg:by().highImg,u=h()(e instanceof _.sK?by().imageAnnotation:by().stampAnnotation,r?by().containedImg:by().notContainedImg,l),c=h()(by().wrapper,{[by()["imageAnnotation-loading"]]:"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[by()["imageAnnotation-error"]]:"ERROR"===this.state.loadingState}),p={opacity:o,position:"relative",width:r?0===t||s>=1?"100%":t:"auto"},f=xy(xy({},p),{},{height:0===t?"100%":s>1?t:t*s});return d.createElement("div",{style:p,className:c},d.createElement(Me.Z,{className:u,fetchImage:this._fetchImage,label:n,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,rectStyle:f,ref:this.imageFetcherRef}),"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?d.createElement("div",{className:by().placeHolder},vy||(vy=d.createElement(je.Z,null))):"ERROR"===this.state.loadingState?d.createElement("div",{className:by().placeHolder},d.createElement(Re.Z,{src:Le(),className:by().errorIcon})):null)}}class Cy extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",_e.O)}render(){const{formatMessage:e}=this.props.intl,t=null==this.props.showDeleteBtn||this.props.showDeleteBtn;return d.createElement("ul",{className:h()($r().signaturePickerList,"PSPDFKit-Signature-Dialog-Picker","PSPDFKit-Signature-Picker")},this.props.signatures.map(((r,o)=>d.createElement("li",{key:o,className:h()($r().signaturePickerListItem,"PSPDFKit-Signature-Dialog-Picker-Item"),"data-signature":o},d.createElement(i.zx,{className:h()($r().selectSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Button",{[$r().imageAnnotation]:r instanceof _.sK}),onClick:()=>{this.props.onSelect(r)},autoFocus:0===o},r instanceof _.Zc?d.createElement(pt,{isSelectable:!1,annotation:r,viewBox:r.boundingBox}):d.createElement(Dy,{annotation:r,backend:this.props.backend,label:r.description||e(Pe.Z.imageAnnotation),attachment:r.imageAttachmentId?this.props.attachments.get(r.imageAttachmentId):null,templateWidth:153.5})),t?d.createElement("button",{className:h()($r().deleteSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Delete-Button"),onClick:()=>{this.props.onDelete(r)},"aria-label":e(Pe.Z.delete)},d.createElement(Re.Z,{src:n(63949)})):null))))}}const Ey=(0,xe.XN)(Cy);var Sy;function _y(e){let{children:t,hasDivider:n}=e;return n?d.createElement(d.Fragment,null,Sy||(Sy=d.createElement(i.u_.Divider,{spaced:!1})),d.createElement(i.u_.Section,null,t)):d.createElement("div",{className:$r().footer},t)}class Py extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{annotation:null,hideSignaturePicker:!1,storeSignature:!!this.props.canStoreSignature}),(0,o.Z)(this,"_hideSignaturePicker",(()=>{this.setState({hideSignaturePicker:!0,annotation:null})})),(0,o.Z)(this,"_onSignatureChange",(e=>{this.setState({annotation:e})})),(0,o.Z)(this,"_onDone",(()=>{const{onCreate:e,onCancel:t}=this.props,{annotation:n,storeSignature:r}=this.state;n?null==e||e(n,r,!0):null==t||t()})),(0,o.Z)(this,"_toggleStoreSignature",(()=>{this.setState((e=>({storeSignature:!e.storeSignature})))}))}render(){const{onCreate:e,onDelete:t,storedSignatures:n,preset:r}=this.props,o=!!this.props.canStoreSignature,a=!this.state.hideSignaturePicker&&o&&Boolean(n&&n.size>0),{formatMessage:l}=this.props.intl,{annotation:u,storeSignature:c}=this.state,p=null!==u&&u.lines instanceof s.aV&&!u.lines.isEmpty(),{SIGNATURE_SAVE_MODE:f}=it.Options,m=f===xu.f.USING_UI;return d.createElement("div",{className:h()($r().viewRoot,"PSPDFKit-Signature-Dialog",{[$r().viewSignaturePicker]:a})},a&&n?d.createElement(d.Fragment,null,d.createElement("div",{className:$r().header},d.createElement("div",{className:h()($r().title,"PSPDFKit-Signature-Dialog-Signature-Heading"),role:"heading","aria-level":"1"},l(Pe.Z.signatures)),d.createElement(i.zx,{className:"PSPDFKit-Signature-Dialog-Add-Signature-Button",onClick:this._hideSignaturePicker,inverted:!0},l(Pe.Z.addSignature))),d.createElement("div",{className:$r().signaturePickerContainer},d.createElement(Ey,{signatures:n,onSelect:t=>{e(t,!1,!0)},onDelete:e=>{t(e,!0)},backend:this.props.backend,attachments:this.props.attachments,viewportWidth:this.props.viewportWidth}))):d.createElement(gy,{onChange:this._onSignatureChange,preset:r}),d.createElement(_y,{hasDivider:a&&o},!a&&o&&m&&d.createElement("label",{className:h()($r().checkbox,"PSPDFKit-Signature-Dialog-Store-Signature-Checkbox")},d.createElement("input",{type:"checkbox",name:"store",checked:c,onChange:this._toggleStoreSignature}),d.createElement("span",{className:$r().checkboxLabel},l(Pe.Z.storeSignature))),d.createElement(i.hE,{className:$r().group,align:"end"},d.createElement(i.zx,{onClick:this.props.onCancel,className:h()($r().button,"PSPDFKit-Signature-Dialog-Cancel-Button"),autoFocus:!a},l(Pe.Z.cancel)),!a&&d.createElement(i.zx,{primary:!0,disabled:!p,onClick:p?this._onDone:null,className:h()($r().button,"PSPDFKit-Signature-Dialog-Done-Button")},l(Pe.Z.done)))))}}(0,o.Z)(Py,"defaultProps",{canStoreSignature:!0});const ky=(0,xe.XN)(Py);var Ay=n(21655),zy=n(46455),Ty=n(36828);const Oy=(0,xe.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Thumbnails"}});const Iy=(0,qn.x)((function(e){const{pages:t,backend:n,viewportState:{viewportRect:r},annotations:o,attachments:i,showAnnotations:a,formFields:l,renderPageCallback:u}=e,c=(0,Ve.Qg)(l);let d={left:0,top:0,x:0,y:0};return e.shadowRoot instanceof ShadowRoot&&(d=e.shadowRoot.host.getBoundingClientRect()),{annotations:a?o:(0,s.D5)(),attachments:i,backend:n,formFields:l,formFieldValues:c,height:r.height,pages:t,renderPageCallback:u,containerOffset:d}}))((function(e){const{pages:t,closeOnPress:n,selectedPageIndex:r,navigationDisabled:o,containerOffset:i}=e,[a,u]=d.useState(null);d.useEffect((()=>{null==a||a.focus()}),[a]);const c=d.useMemo((()=>t.map(Ty.J)),[t]),{formatMessage:p}=(0,xe.YB)(),h=(0,Fo.Bo)(a,c),f=(0,Fo.mP)(h,(e=>String(e.index)),(e=>null==c?void 0:c.find((t=>String(t.index)===String(e))))),m=(0,l.I0)(),g=d.useCallback((function(e){o||(n?(m((0,yu.YA)(e)),m((0,Vt.mu)())):e!==r&&m((0,yu.YA)(e)))}),[n,m,r,o]),v=d.useCallback((function(e,n,r){const o=t.find((t=>t.pageIndex===e));if(!o)return{item:null,label:e+1+""};const i=f?e=>{f(e,(0,Ty.J)(o))}:void 0;return{item:d.createElement(zy.Z,{key:o.pageKey,page:o,size:n,maxSize:r,pageRef:i}),label:o.pageLabel||e+1+""}}),[t,f]),y=d.useCallback((function(e){const n=t.find((t=>t.pageIndex===e));return(null==n?void 0:n.pageKey)||`${e}`}),[t]);return d.createElement("div",{role:"region","aria-label":p(Oy.thumbnails),tabIndex:-1,ref:u,className:"PSPDFKit-Sidebar-Thumbnails"},c?d.createElement(Ay.Z,{width:e.width,height:e.height,totalItems:c.size,renderItemCallback:v,itemKeyCallback:y,itemScale:e.scale,onItemPress:g,selectedItemIndexes:(0,s.l4)([r]),cssPrefix:"PSPDFKit-Sidebar",clickDisabled:o,thumbnailHeight:Be.rT,containerOffset:i}):null)}));var Fy=n(27895),My=n.n(Fy);function Ry(e){let{position:t,children:n}=e;return d.createElement("div",null,d.createElement("div",{className:h()("PSPDFKit-Toolbars",My().root,{[My().stickToBottom]:"bottom"===t})},n))}var jy=n(69842),By=n(5017),Ny=n.n(By);function Ly(e){const[t,r]=d.useState(!1),[o,a]=d.useState(!1),s=d.useRef(e.digitalSignatures);d.useEffect((()=>{e.digitalSignatures!==s.current&&r(!1),s.current=e.digitalSignatures}),[e.digitalSignatures]),d.useEffect((()=>{!async function(){const t=(0,Jr.jI)(e.digitalSignatures,e.showSignatureValidationStatus);a(t)}()}),[e.showSignatureValidationStatus,e.digitalSignatures]);const{formatMessage:l}=(0,xe.YB)(),{status:u,messageId:c,iconPath:p}=e.digitalSignatures?function(e){let{documentModifiedSinceSignature:t,status:n}=e;if(n===jy._.valid)return t?{status:"warning",messageId:"digitalSignaturesDocModified",iconPath:"warning-2.svg"}:{status:"valid",messageId:"digitalSignaturesAllValid",iconPath:"digital-signatures/signature-valid.svg"};if(n===jy._.warning)return{status:"warning",messageId:t?"digitalSignaturesSignatureWarningDocModified":"digitalSignaturesSignatureWarning",iconPath:"warning-2.svg"};if(n===jy._.error)return{status:"error",messageId:t?"digitalSignaturesSignatureErrorDocModified":"digitalSignaturesSignatureError",iconPath:"digital-signatures/signature-error.svg"};return{status:null,messageId:null,iconPath:null}}(e.digitalSignatures):{status:null,messageId:null,iconPath:null};if(null==u||null==c||t)return null;const f=h()(Ny().root,Ny()[`status-${u}`],"PSPDFKit-Digital-Signatures-Status",`PSPDFKit-Digital-Signatures-Status-${(0,gn.kC)(u)}`),m=h()(Ny().signatureValidationStatusIcon,Ny()[`status-${u}-icon`],"PSPDFKit-Digital-Signatures-Status-Icon");return o?d.createElement("div",{className:f},d.createElement("div",{className:Ny().signatureInfoContainer},d.createElement("div",{className:Ny().signatureValidationStatusIconContainer},d.createElement(Re.Z,{className:m,src:n(79230)(`./${p}`)})),d.createElement("span",{className:h()(Ny().signatureValidationStatusText,"PSPDFKit-Digital-Signatures-Status-Text")},l(Ky[c]))),d.createElement(i.zx,{className:h()(Ny().signatureValidationCloseButton,"PSPDFKit-Digital-Signatures-Status-Close-Button"),onClick:()=>{r(!0)},"aria-label":"Close digital signatures status bar"},d.createElement(Re.Z,{className:Ny().signatureValidationCloseIcon,src:n(2256)}))):null}const Ky=(0,xe.vU)({digitalSignaturesDocModified:{id:"digitalSignaturesDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed.",description:"Message when document is valid but has been modified since it was signed."},digitalSignaturesAllValid:{id:"digitalSignaturesAllValid",defaultMessage:"The document has been digitally signed and all signatures are valid.",description:"Message when document is valid."},digitalSignaturesSignatureWarningDocModified:{id:"digitalSignaturesSignatureWarningDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.",description:'Message when the document is in a "warning" status and the document has been modified since signing.'},digitalSignaturesSignatureWarning:{id:"digitalSignaturesSignatureWarning",defaultMessage:"The document has been digitally signed, but at least one signature has problems.",description:'Message when the document is in a "warning" status.'},digitalSignaturesSignatureErrorDocModified:{id:"digitalSignaturesSignatureErrorDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.",description:'Message when the document is in a "error" status and the document has been modified since signing.'},digitalSignaturesSignatureError:{id:"digitalSignaturesSignatureError",defaultMessage:"The document has been digitally signed, but at least one signature is invalid.",description:'Message when the document is in a "error" status.'}});var Vy=n(99879),qy=n.n(Vy);const Hy=d.memo((function(e){return d.createElement(Hg,{itemClassName:qy().item,rootClassName:h()("PSPDFKit-Annotation-Tooltip",qy().root),items:e.items})}));var Zy=n(98416),Uy=n.n(Zy);function $y(e){let{viewportState:{viewportRect:t,commentMode:n},children:r,scrollbarOffset:o}=e;const i={width:t.width+o,height:n===of._.PANE?t.height/2:t.height};return d.createElement("div",{className:`PSPDFKit-Viewport ${Uy().root}`,style:i},r)}var Gy=n(91414),Wy=n.n(Gy);const Xy=(0,xe.XN)((function(e){const{formatMessage:t}=e.intl;return d.createElement(mp.Z,{role:"alertdialog",onEscape:e.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog PSPDFKit-Reload-Document-Confirm-Dialog",accessibilityLabel:t(Yy.reloadDocumentDialog),accessibilityDescription:t(Yy.reloadDocumentDialogDesc)},d.createElement(mp.Z.Section,{style:{paddingBottom:0}},d.createElement("div",{className:`${Wy().content} PSPDFKit-Confirm-Dialog-Content`},d.createElement("div",null,t(Yy.instantModifiedWarning)))),d.createElement(mp.Z.Section,null,d.createElement(i.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},d.createElement(i.zx,{autoFocus:!0,onClick:e.onCancel,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Cancel"},t(Pe.Z.cancel)),d.createElement(i.zx,{onClick:e.onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},t(Yy.reloadDocument)))))})),Yy=(0,xe.vU)({instantModifiedWarning:{id:"instantModifiedWarning",defaultMessage:"Reload document confirm dialog message",description:"The document was modified and is now in read-only mode. Reload the page to fix this."},reloadDocument:{id:"reloadDocument",defaultMessage:"Reload Document",description:"Reload"},reloadDocumentDialog:{id:"reloadDocumentDialog",defaultMessage:"Confirm document reload",description:"Reload Document Confirm Dialog"},reloadDocumentDialogDesc:{id:"reloadDocumentDialogDesc",defaultMessage:"Dialog prompting the user to confirm reloading the document.",description:"Description for the Reload Document Dialog"}});var Qy=n(56554),Jy=n(13349),eb=n(36572),tb=n.n(eb),nb=n(3324),rb=n(13608),ob=n(65575),ib=n.n(ob);function ab(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sb(e){for(var t=1;tn.e(4572).then(n.bind(n,29332)))),cb=d.createElement("div",{className:ib().fallback,"data-testid":"fallback"},d.createElement("div",{className:ib().fallbackToolbar}),d.createElement("div",{className:ib().fallbackPagesView},d.createElement(je.Z,{scale:2})),d.createElement("div",{className:ib().fallbackToolbar})),db={documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor"},documentEditorDesc:{id:"documentEditorDesc",defaultMessage:"Make changes to the current document",description:"Description of the Document Editor modal"}},pb=e=>{const{formatMessage:t}=(0,xe.YB)(),[n,r]=(0,d.useState)(!0),o=(0,d.useCallback)((e=>{r(!e)}),[]),i=(0,d.useCallback)((()=>{n&&e.onCancel()}),[n,e]);return d.createElement(mp.Z,{onEscape:i,useBorderRadius:!1,className:ib().modal,accessibilityLabel:t(db.documentEditor),accessibilityDescription:t(db.documentEditorDesc)},d.createElement(d.Suspense,{fallback:cb},d.createElement(ub,{onCancel:e.onCancel,scale:e.scale,CSS_HACK:lb,onDialog:o,usesShadowDOM:e.usesShadowDOM})))};function hb(){const[e,t]=d.useState(null),n=(0,l.v9)((e=>e.instance)),[r,o]=d.useState(!1);d.useEffect((()=>{o(!!n)}),[n]),d.useEffect((()=>{null==e||e.focus()}),[e]),(0,Fo.Bo)(e,null);const i=h()(yg().container,"PSPDFKit-Sidebar-Custom");return r?d.createElement("div",{role:"region",tabIndex:-1,ref:t,className:i}):null}var fb,mb=n(74792),gb=n(22284);function vb(e){const{formatMessage:t}=(0,xe.YB)();return d.createElement("form",{onSubmit:e.onSave,className:h()(gg().editor,"PSPDFKit-Sidebar-Bookmarks-Editor"),onKeyUp:t=>{t.which===Kr.zz&&e.onCancel()}},e.title&&d.createElement("h2",{className:h()(gg().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")},e.title),d.createElement("label",null,d.createElement(i.oi,{value:e.value,onChange:e.onChange,autoFocus:!0,selectTextOnFocus:!0,name:"name",placeholder:t(Pe.Z.name),autoComplete:"off",style:{fontSize:"inherit",fontWeight:"normal",padding:"calc(0.8125em/ 2) 0.8125em"}})),d.createElement("div",{className:h()(gg().buttonContainer,"PSPDFKit-Sidebar-Bookmarks-Button-Container")},e.onDelete&&d.createElement(i.zx,{onClick:e.onDelete,inverted:!0,danger:!0,className:h()("PSPDFKit-Sidebar-Bookmarks-Button-Delete",gg().bookmarkDeleteButton)},t(Pe.Z.delete)),d.createElement("div",{className:gg().bookmarkSaveCancelButtonsContainer},d.createElement(i.zx,{onClick:e.onCancel,className:"PSPDFKit-Sidebar-Bookmarks-Button-Cancel"},t(Pe.Z.cancel)),d.createElement(i.zx,{primary:!0,type:"submit",className:"PSPDFKit-Sidebar-Bookmarks-Button-Save"},t(Pe.Z.save)))))}function yb(e){var t;const{bookmarks:r,pages:o,currentPageIndex:a,bookmarkManager:u}=e,[c,p]=d.useState(null);d.useEffect((()=>{null==c||c.focus()}),[c]);const[f,m]=d.useState(null),[g,v]=d.useState(null),[y,b]=d.useState(!1),[w,x]=d.useState(null),D=(0,l.I0)(),C=d.useRef(),E=d.useRef(null),S=d.useRef(!1),[P,k]=d.useState(new Set),{formatMessage:A}=(0,xe.YB)(),z=(0,Fo.R9)((()=>{m(null),v(null),b(!1)})),T=(0,Fo.R9)((e=>{v(e.currentTarget.value)})),O=(0,Fo.R9)((()=>{f&&f.id&&(S.current=!0),z(),x(A(xb.cancelledEditingBookmark))})),I=(0,Fo.R9)((e=>{if(e.persist(),e.preventDefault(),f&&g!==f.name){let e=f.set("name",g).setIn(["action","pageIndex"],a);e.id?u.updateObject(e):(e=e.set("id",(0,gb.A)()),E.current=e.id,u.createObject(e)),u.autoSave(),x(A(xb.bookmarkEdited))}else x(A(xb.bookmarkCreated));z()})),F=(0,Fo.R9)((()=>{f&&(u.deleteObject(f),u.autoSave()),z(),x(A(xb.bookmarkDeleted))})),M=(0,Fo.R9)((()=>{b(!1)})),R=(0,Fo.R9)((()=>{b(!0)})),j=(0,Fo.R9)((e=>{m(e),v(e.name||"")})),B=(0,Fo.R9)((()=>{m(new _.rp({action:new _.Di({pageIndex:e.currentPageIndex})})),v("")}));d.useEffect((()=>{null!=c&&c.hasAttribute("aria-label")&&c.focus()}),[c]);const N=(0,Fo.jC)(e);d.useEffect((()=>{if(C.current&&null!=N&&N.bookmarks&&r&&(N.bookmarks!==r||S.current)){var e;const t=null!==(e=wb(r).findIndex((e=>e.id===E.current)))&&void 0!==e?e:-1;t>-1&&C.current.setActiveItem(t),S.current=!1}}));const L=r?(0,s.aV)(wb(r)):r,K=(0,Fo.Bo)(c,L),V={className:h()(gg().container,!L&&gg().loading+" PSPDFKit-Sidebar-Loading",L&&0===L.size&&" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Bookmarks"),ref:p,style:{width:e.width},role:"region","aria-label":A(Pe.Z.bookmarks)},q=(0,Fo.mP)(K,(e=>e.id),(e=>null==L?void 0:L.find((t=>t.id===e))));if(!L)return d.createElement("div",(0,ce.Z)({},V,{tabIndex:0}),d.createElement(i.TX,{"aria-live":"polite"},A(xb.loadingBookmarks)),fb||(fb=d.createElement(je.Z,null)));const H=o.get(a),Z=H&&H.get("pageLabel");return d.createElement("div",V,d.createElement(i.TX,{"aria-live":"polite"},A(Pe.Z.bookmarks)),f&&!f.id?d.createElement(vb,{onChange:T,onSave:I,onCancel:O,value:g,title:A(Pe.Z.pageX,{arg0:Z||e.currentPageIndex+1})+": "+A(xb.newBookmark)}):d.createElement("div",{style:{width:"100%"}},d.createElement("div",{className:yg().sidebarHeader},d.createElement("h2",{"aria-hidden":"true",className:h()(gg().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")}," ",d.createElement("span",null,A(Pe.Z.bookmarks))),d.createElement(i.zx,{primary:!0,onClick:B,className:h()("PSPDFKit-Sidebar-Bookmarks-Button-Add"),autoFocus:!0},A(xb.newBookmark)))),L&&L.size>0&&d.createElement(i.HJ,{onActiveItemIndexChange:e=>{const t=L.get(e);t&&t.id&&(E.current=t.id)},ref:C,items:L.toArray().map(((r,i)=>{const s=r.action,l=s.pageIndex===a,u=h()({[gg().layout]:!0,[gg().layoutWidth]:!0,[gg().layoutEditing]:r===f,[gg().layoutNarrow]:e.closeOnPress,[gg().selected]:l,"PSPDFKit-Sidebar-Bookmarks-Bookmark":!0,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Selected":l,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Editing":r===f}),c=h()([gg().name],{[gg().nameEllipsis]:!P.has(i)},"PSPDFKit-Sidebar-Bookmarks-Name"),p=o.get(s.pageIndex),m=p&&p.pageLabel,v=r.action instanceof _.Di?A(Pe.Z.pageX,{arg0:m||s.pageIndex+1}):null,y=r.action instanceof _.Di?m||s.pageIndex+1:null,b=v||A(Pe.Z.bookmark),w=d.createElement(d.Fragment,null,d.createElement("div",{onClick:()=>(e=>{k((t=>(t.has(e)?t.delete(e):t.add(e),new Set(t))))})(i),className:c},r.name||A(Pe.Z.bookmark)),!!y&&d.createElement("span",{className:h()(gg().pageNumber)},y));r.name;const x=q?e=>{q(e,r)}:void 0;return d.createElement("div",{key:"bookmark-item-"+r.id,ref:x,className:h()(gg().wrapper,gg().container)},r===f?t||(t=d.createElement(vb,{onChange:T,onSave:I,onCancel:O,onDelete:R,value:g})):d.createElement("div",{className:h()(gg().wrapper,gg().fullWidth)},d.createElement("div",{className:u,"aria-label":b,onClick:t=>{t.preventDefault(),D((0,vo.aG)(r.action)),e.closeOnPress&&D((0,Vt.mu)())}},d.createElement("button",{type:"button",className:gg().layoutSmallWidth,"aria-label":r.action instanceof _.Di?A(Pe.Z.gotoPageX,{arg0:m||r.action.pageIndex+1}):r.name||void 0},d.createElement("span",{className:gg().wrapper},w)),d.createElement("button",{title:b+": "+A(Pe.Z.edit),className:h()(gg().edit,e.closeOnPress&&gg().editVisible,"PSPDFKit-Sidebar-Bookmarks-Button-Edit"),onClick:e=>{e.stopPropagation(),j(r)}},d.createElement(Re.Z,{src:n(61802),role:"presentation"})))))}))}),d.createElement(i.TX,{announce:"polite"},w),L&&L.size>0&&y&&d.createElement(ju.Z,{onCancel:M,onConfirm:F,accessibilityLabel:A(xb.deleteBookmarkConfirmAccessibilityLabel),accessibilityDescription:A(xb.deleteBookmarkConfirmAccessibilityDescription)},A(xb.deleteBookmarkConfirmMessage)))}const bb=(0,mb.createSubscription)({getCurrentValue:()=>{},subscribe:(e,t)=>{let n=function(){};const r=()=>{const n=e.getBookmarks();return n.then(t),n};return r().then((()=>{e.eventEmitter.on("change",r),n=()=>{e.eventEmitter.off("change",r)}})),()=>n()}}),wb=(0,dn.Z)((e=>e.valueSeq().toArray().sort(((e,t)=>{const n=e.action.pageIndex,r=t.action.pageIndex,o=!isNaN(n),i=!isNaN(r);return o&&i?n===r?0:n{let{position:t,onCropApply:r,onCropCancel:o,isCropAreaSelected:i,frameWindow:a,intl:{formatMessage:s}}=e;return d.useEffect((()=>{function e(e){"Enter"===e.key?i&&r(!1):"Escape"===e.key&&o()}return a.document.addEventListener("keydown",e),()=>{a.document.removeEventListener("keydown",e)}}),[i]),d.createElement("div",{className:h()("PSPDFKit-Annotation-Toolbar","PSPDFKit-Document-Crop-Toolbar",_c().root,Sb().container,{[_c().stickToBottom]:"bottom"===t}),onMouseUp:Pb,onTouchEnd:Pb,onPointerUp:Pb},d.createElement("div",{className:Sb().buttonContainer},d.createElement("div",{role:"button",className:h()(Sb().cropButton,{[Sb().cropButtonDisabled]:!i}),onClick:i?()=>r(!1):void 0,title:s(Pe.Z.cropCurrentPage),"aria-disabled":!i},d.createElement(Re.Z,{src:n(23717)})," ",d.createElement("span",{className:Sb().desktopButtonText},s(Pe.Z.cropCurrentPage)),d.createElement("span",{className:Sb().mobileButtonText},s(Pe.Z.cropCurrent))),d.createElement("div",{role:"button",className:h()(Sb().cropButton,{[Sb().cropButtonDisabled]:!i}),onClick:i?()=>r(!0):void 0,title:s(Pe.Z.cropAllPages),"aria-disabled":!i},d.createElement(Re.Z,{src:n(41725)}),d.createElement("span",{className:Sb().desktopButtonText},s(Pe.Z.cropAllPages)),d.createElement("span",{className:Sb().mobileButtonText},s(Pe.Z.cropAll)))),d.createElement("div",{role:"button",className:`${Sb().cancelButton} ${Sb().cancelDesktop}`,onClick:()=>o(),title:s(Pe.Z.cancel)},d.createElement("span",null,s(Pe.Z.cancel))),d.createElement("div",{role:"button",className:`${Sb().cropButton} ${Sb().cancelMobile}`,onClick:()=>o(),title:s(Pe.Z.cancel)},d.createElement(Re.Z,{src:n(66361)})))}));function Pb(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}var kb=n(22939);const Ab=Ml.AK,zb=e=>{var t,r,o,i;const a=(0,xe.YB)(),{formatMessage:s}=a,u=(0,l.I0)(),{frameWindow:c,position:p,viewportWidth:f,creationMode:m}=e,g=(0,l.v9)(bl.YG),{handleGroupExpansion:v,handleEntered:y,expandedGroup:b,prevActiveGroup:w,btnFocusRef:x}=(0,Fo.Tp)(),D=(0,l.v9)(bl.lK),C=(0,l.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),E=(0,l.v9)((e=>e.contentEditorSession.dirty)),S=null===D||C!==bl.FP.Active;d.useEffect((()=>{g.faceList||g.loading||u(Dh.O2)}),[g.faceList,g.loading,u]);const P=[...(g.faceList||[new bl.I5({family:""})]).map((e=>({label:e.family,value:e.family})))],k=d.useCallback((e=>{let{modification:t,preventFocusShift:n=!1}=e;const[[r,o]]=Object.entries(t);switch(r){case"fontSize":u((0,Dh.Mq)({size:o})),n||Ch.dispatch("content-editing:re-focus",null);break;case"font":u((0,Dh.Mq)({family:o})),n||Ch.dispatch("content-editing:re-focus",null);break;case"bold":u((0,Dh.Mq)({bold:o})),n||Ch.dispatch("content-editing:re-focus",null);break;case"italic":u((0,Dh.Mq)({italic:o})),n||Ch.dispatch("content-editing:re-focus",null)}}),[u]),A=d.useCallback((()=>u((0,Dh.u)(m?bl.wR.Edit:bl.wR.Create))),[u,m]),z=d.useCallback((()=>{u((0,Dh.u)(bl.wR.Delete))}),[u]),T=D?(e=>{if(e.detectedStyle.selectionStyleInfo){const{family:t,bold:n,italic:r,color:o,size:i}=e.detectedStyle.selectionStyleInfo;return{family:t,bold:n,italic:r,color:o?_.Il.fromHex(o):null,size:i}}const{family:t,variant:{bold:n,italic:r}}=e.modificationsCharacterStyle.fontRef.faceRef,{color:o,fontRef:{size:i}}=e.modificationsCharacterStyle;return{family:t,bold:n,italic:r,color:_.Il.fromHex(o),size:i}})(D):null,O=null!==(t=null==T?void 0:T.family)&&void 0!==t?t:void 0,I=null!==(r=null==T?void 0:T.size)&&void 0!==r?r:void 0,F=null==T?void 0:T.bold,M=null==T?void 0:T.italic;let R=null;if(null!=(null==T?void 0:T.color)){var j;const e=T.color;R=null!==(j=it.Options.COLOR_PRESETS.find((t=>{var n;return null===(n=t.color)||void 0===n?void 0:n.equals(e)})))&&void 0!==j?j:{color:e,localization:Pe.Z.color}}const B=Boolean((null==D?void 0:D.detectedStyle.selectionStyleInfo)&&null==R),N={"text-color":{node:d.createElement(kb.Z,{onChange:e=>{var t;e&&u((0,Dh.Mq)({color:null===(t=e.color)||void 0===t?void 0:t.toHex()}));Ch.dispatch("content-editing:re-focus",null)},styles:bd(),value:null!==(o=R)&&void 0!==o?o:B?null:null!==(i=it.Options.COLOR_PRESETS.find((e=>e.color===_.Il.BLACK)))&&void 0!==i?i:null,caretDirection:"down",className:"PSPDFKit-Content-Editing-Toolbar-Font-Color",menuClassName:"PSPDFKit-Content-Editing-Toolbar-Font-Color-Menu",removeTransparent:!0,frameWindow:c,colors:it.Options.COLOR_PRESETS,innerRef:(0,Rc.CN)("text-color",b)?x:void 0,unavailableItemFallback:B?{type:"label",label:""}:{type:"swatch"},disabled:S,accessibilityLabel:s(Pe.Z.color)}),title:s(Pe.Z.color)},font:{node:d.createElement(fd,{onChange:k,caretDirection:"down",frameWindow:c,intl:a,styles:bd(),fontSizes:Ab,fontFamilyItems:P,showAlignmentOptions:!1,showFontStyleOptions:!0,currentFontFamily:O,currentFontSize:I,isBold:F,isItalic:M,fontFamilyClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family",fontFamilyMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family-Menu",fontSizeClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size",fontSizeMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size-Menu",horizontalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Vertical-Alignment",disabled:S,ref:(0,Rc.CN)("font",b)?x:void 0}),title:s(Pe.Z.font)}};return d.createElement("div",{className:h()("PSPDFKit-Content-Editing-Toolbar",bd().root,{[bd().stickToBottom]:"bottom"===p})},d.createElement("div",{className:bd().content},b?d.createElement("div",{className:bd().right},d.createElement(zc.B,{position:p,onClose:()=>v(null),isPrimary:!1,onEntered:y,intl:a,className:bd().expanded},b?N[b].node:void 0)):d.createElement("form",{className:bd().form,onSubmit:io.PF},d.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("div",{className:h()(bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Add-Text")},d.createElement(bc.Z,{type:"add-text-box",icon:n(33150),title:s(Tb.addTextBox),className:h()("PSPDFKit-Content-Editing-Toolbar-Add-Text-Box",bd().iconButton,{[bd().iconButtonActive]:m}),onPress:A,selected:m})),d.createElement("div",{className:h()(bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},d.createElement(bc.Z,{type:"text-color",title:N["text-color"].title,className:bd().button,onPress:()=>v("text-color"),disabled:Boolean(b)||S,presentational:f>Be.GI,ref:(0,Rc.Kt)("text-color",b,w)?x:void 0}),N["text-color"].node),d.createElement("div",{className:h()(bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},d.createElement(bc.Z,{type:"font",title:N.font.title,className:bd().button,onPress:()=>v("font"),disabled:S,presentational:f>Be.GI,ref:(0,Rc.Kt)("font",b,w)?x:void 0}),N.font.node)),d.createElement("div",{className:"PSPDFKit-Toolbar-Spacer",style:{display:"flex",flex:1}}),f>=Be.GI?d.createElement("div",{className:bd().buttonContainer},d.createElement(bc.Z,{type:"delete",title:a.formatMessage(Pe.Z.delete),className:h()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",bd().iconButton),onPress:z,disabled:!D}),d.createElement("button",{className:bd().contentEditorButton,type:"button",onClick:()=>u(Dh.u8),title:a.formatMessage(Pe.Z.cancel)},d.createElement("span",null,a.formatMessage(Pe.Z.cancel))),d.createElement("button",{className:h()(bd().contentEditorButton,bd().saveButton,{[bd().disabledButton]:!E}),type:"button",onClick:()=>u(Dh.Ij),title:a.formatMessage(Pe.Z.saveAndClose),disabled:!E},d.createElement("span",null,a.formatMessage(Pe.Z.saveAndClose)))):d.createElement(d.Fragment,null,d.createElement(bc.Z,{type:"delete",title:a.formatMessage(Pe.Z.delete),className:h()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",bd().iconButton),onPress:z,disabled:!D}),d.createElement(bc.Z,{type:"close",title:a.formatMessage(Pe.Z.close),className:bd().button,onPress:()=>{u(E?(0,Dh.Yg)(!0):Dh.u8)}})))))},Tb=(0,xe.vU)({addTextBox:{id:"addTextBox",defaultMessage:"Add Text Box",description:"Label for the add text box button"}});var Ob,Ib,Fb,Mb=n(52163),Rb=n(2058),jb=n(3962),Bb=n(79112),Nb=n(92294),Lb=n.n(Nb);function Kb(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const Vb={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qb=(0,Ke.b1)(),Hb=d.memo((function(e){let{position:t}=e;const{formatMessage:n}=(0,xe.YB)(),[r,o]=(0,Fo.$)(),[i,a]=(0,Fo.nG)(),s=(0,Fo.R9)((()=>{(0,c.unstable_batchedUpdates)((()=>{a([]),p===Bb.Q.result&&f(Bb.Q.documentA)}))})),[l,u]=(0,Fo.jw)(),p=(0,Mb.SH)(l),f=(0,Fo.R9)((e=>{e!==p&&u(e||Bb.Q.result)})),m=()=>{(0,c.unstable_batchedUpdates)((()=>{a([]),o(!1),f(Bb.Q.documentA)}))},[,g]=(0,Fo.dX)(),v=(0,Fo.R9)((()=>{s(),f(Bb.Q.documentA),g(!1)}));return d.createElement("div",{className:h()(Lb().root,{"PSPDFKit-DocumentComparison-Toolbar":!0,[Lb().stickToBottom]:"bottom"===t}),onMouseUp:Kb,onTouchEnd:Kb,onPointerUp:Kb},d.createElement("div",{className:Lb().content},d.createElement("div",{className:Lb().left},d.createElement("form",{className:Lb().form,onSubmit:io.PF},d.createElement("div",{className:Lb().tabsContainer},d.createElement("div",{className:h()(Lb().documentTab,{[Lb().documentTabActive]:p===Bb.Q.documentA,[Lb().autoCompareTab]:r,[Lb().mobileTab]:qb}),onPointerUp:()=>f(Bb.Q.documentA),onTouchEnd:()=>f(Bb.Q.documentA)},d.createElement("span",{className:h()(Lb().documentText,{[Lb().mobileText]:!!qb,[Lb().documentTabActiveText]:p===Bb.Q.documentA})},n(qb?jb.messages.Comparison_documentOldTouch:jb.messages.Comparison_documentOld)),!r&&i.length<3&&d.createElement(Zb,{referencePoints:i,startIndex:0,styles:Lb(),touchDevice:qb}),!r&&i.length>=3&&d.createElement("span",{className:h()([Lb().toolbarReferencePoints,Lb().toolbarReferencePointsSet])},d.createElement("div",{className:Lb().toolbarReferencePoint},d.createElement("svg",(0,ce.Z)({},Vb,{className:Lb().documentCheckMark}),Ob||(Ob=d.createElement("circle",{cx:"10",cy:"10",r:"10"})),$b)))),d.createElement("div",{className:h()(Lb().documentTab,{[Lb().documentTabActive]:p===Bb.Q.documentB,[Lb().autoCompareTab]:r,[Lb().mobileTab]:qb}),onPointerUp:()=>f(Bb.Q.documentB),onTouchEnd:()=>f(Bb.Q.documentB)},d.createElement("span",{className:h()(Lb().documentText,{[Lb().mobileText]:!!qb,[Lb().documentTabActiveText]:p===Bb.Q.documentB})},n(qb?jb.messages.Comparison_documentNewTouch:jb.messages.Comparison_documentNew)),!r&&i.length<6&&d.createElement(Zb,{referencePoints:i,startIndex:3,styles:Lb(),touchDevice:qb}),!r&&6===i.length&&d.createElement("span",{className:h()([Lb().toolbarReferencePoints,Lb().toolbarReferencePointsSet])},d.createElement("div",{className:Lb().toolbarReferencePoint},d.createElement("svg",(0,ce.Z)({},Vb,{className:Lb().documentCheckMark}),Ib||(Ib=d.createElement("circle",{cx:"10",cy:"10",r:"10"})),$b)))),(r||6===i.length)&&d.createElement("div",{className:h()(Lb().documentTab,Lb().resultTab,{[Lb().documentTabActive]:p===Bb.Q.result,[Lb().autoCompareTab]:r}),onPointerUp:()=>f(null),onTouchEnd:()=>f(null)},d.createElement("span",{className:h()(Lb().documentText,{[Lb().mobileText]:!!qb,[Lb().documentTabActiveText]:p===Bb.Q.result})},n(jb.messages.Comparison_result)))),d.createElement("div",{className:Lb().controlButtonContainer},!r&&i.length>0&&d.createElement("div",{className:h()(Lb().buttonReset,Lb().buttonResetActive,{[Lb().mobileButton]:qb}),onPointerUp:v,onTouchEnd:v},n(jb.messages.Comparison_resetButton)),r&&d.createElement("div",{className:h()({[Lb().buttonAlignDocuments]:!0,[Lb().mobileButton]:qb}),onPointerUp:m,onTouchEnd:m},n(qb?jb.messages.Comparison_alignButtonTouch:jb.messages.Comparison_alignButton)))))))}));const Zb=e=>{const{styles:t,referencePoints:n,startIndex:r,touchDevice:o}=e,i=n.slice(r,r+3),a=Array.from({length:3-i.length});return d.createElement("span",{className:h()(t.toolbarReferencePoints,{[t.toolbarReferencePointMobile]:!!o,[t.second]:3===r})},i.concat(a).map(((e,o,i)=>{const a=e?"set":0===o&&n.length===r||i[o-1]?"current":"empty";return d.createElement("div",{className:h()(t.referencePointParent,"PSPDFKit-DocumentComparison-ReferencePoint-State",`PSPDFKit-DocumentComparison-ReferencePoint-State-${(0,gn.kC)(a)}`),key:`point_${o+r}`},o>0?d.createElement("div",{className:t.separator}):null,d.createElement("div",{className:t.toolbarReferencePoint},d.createElement("svg",(0,ce.Z)({},Vb,{className:t[Ub[a]]}),Fb||(Fb=d.createElement("circle",{cx:"10",cy:"10",r:"10"})),e?$b:d.createElement(Gb,null,o+1))))})))},Ub={set:"checkMark",current:"referencePointSet",empty:"referencePoint"},$b=d.createElement("path",{d:"M5.45508 10.1125L8.53758 12.94L14.5451 6.25",strokeWidth:"1.875",strokeMiterlimit:"10",strokeLinecap:"round"}),Gb=e=>{let{children:t}=e;return d.createElement("text",{x:"10",y:"11",textAnchor:"middle",dominantBaseline:"middle",dy:""},t)};var Wb=n(72313),Xb=n.n(Wb),Yb=n(53328),Qb=n.n(Yb),Jb=n(24987);const ew=[{interactionMode:B.A.BUTTON_WIDGET,icon:"form-button",title:"Create Button Widget",className:"PSPDFKit-Form-Creator-Toolbar-ButtonWidget"},{interactionMode:B.A.TEXT_WIDGET,icon:"form-text",title:"Create Text Widget",className:"PSPDFKit-Form-Creator-Toolbar-TextWidget"},{interactionMode:B.A.RADIO_BUTTON_WIDGET,icon:"form-radio",title:"Create Radio Widget",className:"PSPDFKit-Form-Creator-Toolbar-RadioWidget"},{interactionMode:B.A.CHECKBOX_WIDGET,icon:"form-checkbox",title:"Create Checkbox Widget",className:"PSPDFKit-Form-Creator-Toolbar-CheckboxWidget"},{interactionMode:B.A.COMBO_BOX_WIDGET,icon:"form-combobox",title:"Create Combobox widget",className:"PSPDFKit-Form-Creator-Toolbar-ComboboxWidget"},{interactionMode:B.A.LIST_BOX_WIDGET,icon:"form-listbox",title:"Create List Box Widget",className:"PSPDFKit-Form-Creator-Toolbar-ListBoxWidget"},{interactionMode:B.A.SIGNATURE_WIDGET,icon:"form-signature",title:"Create Signature Widget",className:"PSPDFKit-Form-Creator-Toolbar-SignatureWidget"},{interactionMode:B.A.DATE_WIDGET,icon:"form-date",title:"Create Date Widget",className:"PSPDFKit-Form-Creator-Toolbar-DateWidget"}];var tw=n(60790);const nw=e=>{let{position:t,dispatch:n,interactionMode:r,frameWindow:o,modalClosurePreventionError:i,selectedAnnotation:a}=e;return d.useEffect((()=>{function e(e){"Escape"!==e.key||i&&(null==i?void 0:i.error)===tw.x.FORM_DESIGNER_ERROR||a||n((0,Vt.XX)())}return o.document.addEventListener("keydown",e),()=>{o.document.removeEventListener("keydown",e)}}),[n,i,a]),d.createElement("div",{className:h()("PSPDFKit-Form-Creator-Toolbar",_c().root,tp().formDesignerContainer,{[_c().stickToBottom]:"bottom"===t}),onMouseUp:Pb,onTouchEnd:Pb,onPointerUp:Pb},d.createElement("div",null,ew.map((e=>d.createElement(np.Z,{key:e.interactionMode,type:e.icon,title:e.title,className:h()(tp().formDesignerButton,{[tp().formDesignerButtonActive]:r===e.interactionMode},e.className),onPress:()=>{r===e.interactionMode?n((0,er.el)()):(n((0,er.h4)()),n((0,Vt.UF)(e.interactionMode)))},selected:r===e.interactionMode})))),d.createElement("div",{className:tp().spacer}))};var rw=n(62102),ow=n(62477),iw=n(30549),aw=n.n(iw);function sw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lw(e){for(var t=1;t({label:e,value:e}))),g=m.concat(f.toArray().map((e=>({label:e,value:e}))).filter((e=>!m.some((t=>t.value===e.value)))));if(l.font&&!od.vt.has(l.font||"")&&!f.some((e=>e===l.font))&&""!==l.font.trim()){const e=c.formatMessage(Pe.Z.fontFamilyUnsupported,{arg0:l.font});g.push({label:e,value:e,disabled:!0})}const v=["auto",4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200].map((e=>({value:e,label:e.toString()}))),y=d.useCallback((e=>u({horizontalAlign:e})),[u]),b=d.useCallback((e=>u({verticalAlign:e})),[u]);return d.createElement(ow.U,{title:c.formatMessage(hw.textStyle)},d.createElement("div",{className:aw().item},d.createElement(Re.Z,{src:n(81741),className:aw().itemIcon,role:"presentation"}),d.createElement("div",{className:aw().itemLabel},c.formatMessage(Pe.Z.font)),d.createElement("div",{className:aw().nativeDropdown},d.createElement("select",{"aria-label":c.formatMessage(Pe.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:l.font||"",onChange:e=>{void 0!==e.target.value&&u({font:e.target.value})}},g.map((e=>d.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),d.createElement(Uu.Z,{items:g,value:{label:null!==(t=l.font)&&void 0!==t?t:g[0].label,value:null!==(r=l.font)&&void 0!==r?r:g[0].value},accessibilityLabel:c.formatMessage(Pe.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:aw().dropdownGroupComponent,menuClassName:aw().dropdownGroupMenu,ButtonComponent:uw,ItemComponent:cw,onSelect:(e,t)=>{void 0!==t.value&&u({font:t.value})},frameWindow:p})),d.createElement("div",{className:aw().item},d.createElement(Re.Z,{src:n(14379),className:aw().itemIcon,role:"presentation"}),d.createElement("div",{className:aw().itemLabel},c.formatMessage(hw.fontSize)),d.createElement("div",{className:aw().nativeDropdown},d.createElement("select",{"aria-label":c.formatMessage(hw.fontSize),className:"PSPDFKit-Input-Dropdown-Select",value:l.fontSize||"",onChange:e=>{u({fontSize:"auto"===e.target.value?"auto":parseFloat(e.target.value)})}},v.map((e=>d.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),d.createElement(Uu.Z,{items:v,value:(null!==(o=v.find((e=>e.value===Math.round(l.fontSize||0))))&&void 0!==o?o:null!=l.fontSize)?{value:l.fontSize,label:null!==(a=null===(s=l.fontSize)||void 0===s?void 0:s.toString())&&void 0!==a?a:""}:null,accessibilityLabel:c.formatMessage(hw.fontSize),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:aw().dropdownGroupComponent,menuClassName:aw().dropdownGroupMenu,ButtonComponent:uw,ItemComponent:cw,onSelect:(e,t)=>{null==t.value||"auto"!==t.value&&isNaN(t.value)||u({fontSize:t.value})},frameWindow:p})),d.createElement("div",{className:aw().item},d.createElement(Re.Z,{src:n(92742),className:aw().itemIcon,role:"presentation"}),d.createElement("div",{className:aw().itemLabel},c.formatMessage(Pe.Z.color)),d.createElement(wc.Z,{record:l,onChange:u,styles:lw(lw({},_c()),{},{colorSvg:aw().colorSvg,colorItem:aw().colorItem,dropdownMenu:aw().colorDropdownMenu,controlWrapper:lw(lw({},_c().controlWrapper),{},{width:"auto"})}),accessibilityLabel:c.formatMessage(Pe.Z.fillColor),caretDirection:"down",colorProperty:"fontColor",frameWindow:p,className:aw().colorDropdown})),d.createElement("div",{className:aw().item},d.createElement(Re.Z,{src:n(9984),className:aw().itemIcon,role:"presentation"}),d.createElement("div",{className:aw().itemLabel},c.formatMessage(Pe.Z.horizontalAlignment)),d.createElement(i.Ee,{inputName:"horizontalAlign",label:c.formatMessage(Pe.Z.horizontalAlignment),selectedOption:dw(l,h),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Horizontal-Alignment",options:["left","center","right"].map((e=>({value:e,label:c.formatMessage(Pe.Z[`alignment${(0,gn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:y})),!(h instanceof _.Vi)&&d.createElement("div",{className:aw().item},d.createElement(Re.Z,{src:n(68715),className:aw().itemIcon,role:"presentation"}),d.createElement("div",{className:aw().itemLabel},c.formatMessage(Pe.Z.verticalAlignment)),d.createElement(i.Ee,{inputName:"verticalAlign",label:c.formatMessage(Pe.Z.verticalAlignment),selectedOption:pw(l,h),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Vertical-Alignment",options:["top","center","bottom"].map((e=>({value:e,label:c.formatMessage(Pe.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:b})))};var mw=n(46945);const gw=(0,xe.vU)({advanced:{id:"advanced",defaultMessage:"Advanced",description:"Form designer popover advanced section title"},creatorName:{id:"creatorName",defaultMessage:"Creator Name",description:"Form designer popover advanced section creator name label"},note:{id:"note",defaultMessage:"Note",description:"Form designer popover advanced section note label"},customData:{id:"customData",defaultMessage:"Custom data",description:"Form designer popover advanced section custom data label"},required:{id:"required",defaultMessage:"Required",description:"Form designer popover advanced section required label"},readOnly:{id:"readOnly",defaultMessage:"Read Only",description:"Form designer popover advanced section read only label"},multiSelect:{id:"multiSelect",defaultMessage:"Multi Select",description:"Form designer popover advanced section multi select label"},createdAt:{id:"createdAt",defaultMessage:"Created at",description:"Form designer popover advanced section created at label"},updatedAt:{id:"updatedAt",defaultMessage:"Updated at",description:"Form designer popover advanced section updated at label"},customDataErrorMessage:{id:"customDataErrorMessage",defaultMessage:"Must be a plain JSON-serializable object",description:"Form designer popover advanced section custom data error"},multiLine:{id:"multiLine",defaultMessage:"Multi Line",description:"Form designer popover multiline input label"}}),vw=function(e){let{intl:t,annotation:n,updateAnnotation:r,formField:o,updateFormField:i,locale:a,onCustomDataError:s}=e;const[l,u]=d.useState({value:JSON.stringify(n.customData),error:""}),c=d.useRef(l),p=d.useCallback((e=>r({creatorName:e.target.value})),[r]),h=d.useCallback((e=>r({note:e.target.value})),[r]),f=d.useCallback((e=>{let n="";try{JSON.parse(e.target.value),s(!1)}catch(e){n=t.formatMessage(gw.customDataErrorMessage),s(!0)}u({value:e.target.value,error:n})}),[t,s]),m=d.useCallback((()=>{if(!l.error&&l.value!==c.current.value)try{const e=JSON.parse(l.value);r({customData:e})}catch(e){}}),[r,l]);(0,Fo.L8)((()=>{if(!l.error&&l.value!==c.current.value)try{const e=JSON.parse(l.value);r({customData:e})}catch(e){}}),[r,l]);const g=d.useCallback((e=>i({required:e})),[i]),v=d.useCallback((e=>i({readOnly:e})),[i]),y=d.useCallback((e=>i({multiSelect:e})),[i]),b=d.useCallback((e=>i({multiLine:e})),[i]);return d.createElement("div",{className:"PSPDFKit-Form-Creator-Editor-Advanved-Section"},d.createElement(ow.U,{title:t.formatMessage(gw.advanced)},d.createElement(gm,{label:t.formatMessage(gw.creatorName),value:n.creatorName||"",onChange:p}),d.createElement(gm,{label:t.formatMessage(gw.note),value:n.note||"",onChange:h}),d.createElement(gm,{label:t.formatMessage(gw.customData),value:l.value,onChange:f,onBlur:m,errorMessage:l.error,className:aw().lastInputField}),d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.required)),d.createElement(mw.n,{value:!(null==o||!o.required),onUpdate:g,accessibilityLabel:t.formatMessage(gw.required)})),d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.readOnly)),d.createElement(mw.n,{value:!(null==o||!o.readOnly),onUpdate:v,accessibilityLabel:t.formatMessage(gw.readOnly)})),o instanceof _.Dz&&d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.multiSelect)),d.createElement(mw.n,{value:!(null==o||!o.multiSelect),onUpdate:y,accessibilityLabel:t.formatMessage(gw.multiSelect)})),o instanceof _.$o&&d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.multiLine)),d.createElement(mw.n,{value:!(null==o||!o.multiLine),onUpdate:b,accessibilityLabel:t.formatMessage(gw.multiLine)})),d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},"ID"),d.createElement("div",{className:aw().advancedItemValue},n.id)),d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.createdAt)),d.createElement("div",{className:aw().advancedItemValue},n.createdAt.toLocaleDateString(a))),d.createElement("div",{className:aw().advancedItem},d.createElement("div",{className:aw().advancedItemLabel},t.formatMessage(gw.updatedAt)),d.createElement("div",{className:aw().advancedItemValue},n.updatedAt.toLocaleDateString(a)))))};var yw=n(169),bw=n(36623),ww=n(17777),xw=n.n(ww),Dw=function(){var e,t,n=(0,yw.f$)((function(e){return{currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem()}}));return n.isDragging&&null!==n.currentOffset?{display:!0,itemType:n.itemType,item:n.item,style:(e=n.currentOffset,t="translate(".concat(e.x,"px, ").concat(e.y,"px)"),{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t})}:{display:!1}};sr().func,sr().oneOfType([sr().node,sr().func]);function Cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ew(e){for(var t=1;t{let{id:t,index:r,moveCard:o,option:i,onDelete:a}=e;const s=(0,d.useRef)(null),l=(0,d.useRef)(null),[{handlerId:u},c]=(0,yw.LW)({accept:"CARD",collect:e=>({handlerId:e.getHandlerId()}),hover(e,t){var n;if(!l.current)return;const i=e.index,a=r;if(i===a)return;const s=null===(n=l.current)||void 0===n?void 0:n.getBoundingClientRect(),u=(s.bottom-s.top)/2,c=t.getClientOffset().y-s.top;ia&&c>u||(o(i,a),e.index=a)}}),{display:p,style:f}=Dw(),[{isDragging:m,id:g},v]=(0,yw.c0)({type:"CARD",item:()=>({id:t,index:r}),collect:e=>{var t;return{isDragging:e.isDragging(),id:null===(t=e.getItem())||void 0===t?void 0:t.id}}}),y=m?.5:1;v(c(s));const b=e=>d.createElement("div",{style:e?Ew(Ew({},f),{width:332}):{opacity:y},className:h()(xw().option,{[xw().preview]:e}),ref:e?void 0:l},d.createElement("button",(0,ce.Z)({type:"button",className:xw().hamburger},e?void 0:{ref:s,"data-handler-id":u}),d.createElement(Re.Z,{src:n(60967),role:"presentation"})),d.createElement("div",{className:xw().optionContent},i.label),d.createElement("button",{className:h()(xw().button,xw().deleteButton),type:"button",onClick:()=>a(r)},d.createElement(Re.Z,{src:n(2256),className:h()(xw().icon,xw().deleteIcon),role:"presentation"})));return d.createElement(d.Fragment,null,b(!1),p&&g===t&&b(!0))};const _w=(0,xe.vU)({options:{id:"options",defaultMessage:"Options",description:"Options control label"},enterDescriptionHere:{id:"enterDescriptionHere",defaultMessage:"Enter description here",description:"New option input placeholder"},addOption:{id:"addOption",defaultMessage:"Add option",description:"New option button text"},emptyInput:{id:"emptyInput",defaultMessage:"Please fill in this field",description:"New option empty input label"}}),Pw=(0,xe.XN)((function(e){let{intl:t,options:n,onChange:r,ownerDocument:o}=e;const{formatMessage:i}=t,[a,s]=d.useState(!0);return d.createElement(yw.WG,{backend:bw.TouchBackend,options:{enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:o}},d.createElement("form",{className:xw().wrapper,onSubmit:e=>{e.preventDefault();const t=e.target,{value:o}=t.newOption;o?(t.reset(),r(n.push(new _.mv({value:o,label:o})))):s(!1)}},d.createElement("div",{className:xw().title},i(_w.options)),d.createElement("div",null,n.map(((e,t)=>d.createElement(Sw,{key:e.value,index:t,moveCard:(e,t)=>{const o=n.get(t);(0,u.kG)(o,"Item not found"),r(n.delete(t).insert(e,o))},option:e,id:e.value,onDelete:e=>r(n.delete(e))}))),d.createElement("div",{className:h()(xw().option,xw().addOptionInputWrapper,{[xw().addOptionInputWrapperInvalid]:!a})},d.createElement("input",{autoFocus:!0,className:h()(xw().optionContent,xw().addOptionInput),name:"newOption",type:"text",placeholder:i(_w.enterDescriptionHere),onBlur:()=>s(!0),onChange:e=>{!a&&e.target.value.trim()&&s(!0)}}))),!a&&d.createElement("div",{className:xw().invalidOptionInput},t.formatMessage(_w.emptyInput)),d.createElement("button",{className:h()(xw().button,xw().addOptionButton),type:"submit"},i(_w.addOption))))}));var kw,Aw,zw,Tw,Ow;function Iw(e,t){return t?Pe.Z.dateField:e instanceof _.R0?Pe.Z.button:e instanceof _.$o?Pe.Z.textField:e instanceof _.XQ?Pe.Z.radioField:e instanceof _.rF?Pe.Z.checkboxField:e instanceof _.fB?Pe.Z.comboBoxField:e instanceof _.Vi?Pe.Z.listBoxField:Pe.Z.signatureField}const Fw=(0,xe.vU)({formDesignerPopoverTitle:{id:"formDesignerPopoverTitle",defaultMessage:"{formFieldType} properties",description:"Form designer popover title"},styleSectionLabel:{id:"styleSectionLabel",defaultMessage:"{formFieldType} style",description:"Form designer style section"},formFieldName:{id:"formFieldName",defaultMessage:"Form field name",description:"Form designer popover form field name input label"},format:{id:"format",defaultMessage:"Format",description:"Format"},buttonText:{id:"buttonText",defaultMessage:"Button Text",description:"Form designer popover button text input label"},defaultValue:{id:"defaultValue",defaultMessage:"Default Value",description:"Form designer popover default value input label"},multiline:{id:"multiline",defaultMessage:"Multiline",description:"Form designer popover multiline input label"},radioButtonFormFieldNameWarning:{id:"radioButtonFormFieldNameWarning",defaultMessage:"To group the radio buttons, make sure they have the same form field names.",description:"Form designer popover radio button form field name warning message"},formFieldNameExists:{id:"formFieldNameExists",defaultMessage:"A form field named {formFieldName} already exists. Please choose a different name.",description:"Change form field name if it already exists."},formFieldNameNotEmpty:{id:"formFieldNameNotEmpty",defaultMessage:"Form Field Name cannot be left empty.",description:"Form Field Name cannot be left empty."},label:{id:"label",defaultMessage:"Label",description:"Label"},value:{id:"value",defaultMessage:"Value",description:"Value"}}),Mw=(0,xe.XN)((function(e){var t;let{referenceRect:r,viewportState:o,isHidden:i,intl:a,formFields:l,dispatch:c,annotation:p,frameWindow:f,eventEmitter:m,locale:g,isUnsavedAnnotation:v,setModalClosurePreventionError:y,modalClosurePreventionError:b,pageSize:w,customFontsReadableNames:x}=e;const D=(0,d.useMemo)((()=>{const e=l.get(p.formFieldName);return(0,u.kG)(e,"Form field not found"),e}),[p,l]),C=(0,d.useMemo)((()=>{if(D instanceof _.XQ||D instanceof _.rF)return D.annotationIds.findIndex((0,j.oF)(p))}),[D,p]),[E,S]=(0,d.useState)(D.name),[P,k]=(0,d.useState)(),[A,z]=d.useState(!1),T=d.useCallback((e=>{let t=p;if(!t)return;t=t.merge(e);const n={annotations:(0,s.aV)([t]),reason:J.f.PROPERTY_CHANGE};m.emit("annotations.willChange",n),c((0,yt.FG)(t))}),[m,c,p]),O=d.useCallback((e=>{let t=D;t&&(t=t.merge(e),c((0,er.vK)(t)))}),[D,c]);(0,mn.useGranularEffect)((()=>{S(D.name),k(void 0)}),[p.id],[D.name]);const I=d.useCallback((e=>{const t=e.target.value;S(t),null!=t&&t.trim()?!l.has(t)||p.formFieldName===t||D instanceof _.XQ?(k(void 0),A||y(null)):(k(a.formatMessage(Fw.formFieldNameExists,{formFieldName:t})),y({annotationId:p.id,error:tw.x.FORM_DESIGNER_ERROR})):(k(a.formatMessage(Fw.formFieldNameNotEmpty)),y({annotationId:p.id,error:tw.x.FORM_DESIGNER_ERROR}))}),[a,p,D,l,y,A]),F=d.useCallback((e=>O({buttonLabel:e.target.value})),[O]),M=d.useCallback((e=>O({options:e})),[O]),R=(0,d.useCallback)((e=>{const t=e.target.value;(0,u.kG)(void 0!==C);const n=D.options.get(C),r=D.options.set(C,n.set("label",t));O({options:r})}),[O,D,C]),B=d.useCallback((e=>{z(e),e?y({annotationId:p.id,error:tw.x.FORM_DESIGNER_ERROR}):b&&!P&&y(null)}),[y,b,P,p]),N=(0,d.useCallback)((e=>{const t=e.target.value;(0,u.kG)(void 0!==C);const n=D.options.get(C),r=D.options.set(C,n.set("value",t));O({options:r})}),[O,D,C]),L=d.useMemo((()=>{return D instanceof _.R0?d.createElement(gm,{label:a.formatMessage(Fw.buttonText),value:(null==D?void 0:D.buttonLabel)||"",onChange:F,className:aw().lastInputField}):D instanceof _.XQ?((0,u.kG)(void 0!==C),d.createElement(d.Fragment,null,d.createElement("div",{className:aw().radioButtonWarning},d.createElement(Re.Z,{src:n(21619),role:"presentation",className:aw().radioButtonWarningIcon,style:{color:"#EB7F00"}}),d.createElement("span",{className:aw().radioButtonWarningLabel},a.formatMessage(Fw.radioButtonFormFieldNameWarning))),d.createElement(gm,{label:a.formatMessage(Fw.label),value:(null==D||null===(e=D.options.get(C))||void 0===e?void 0:e.label)||"",onChange:R,required:!0}),d.createElement(gm,{label:a.formatMessage(Fw.value),value:(null==D||null===(t=D.options.get(C))||void 0===t?void 0:t.value)||"",onChange:N,required:!0,className:aw().lastInputField}))):D instanceof _.rF?((0,u.kG)(void 0!==C),d.createElement(d.Fragment,null,d.createElement(gm,{label:a.formatMessage(Fw.label),value:(null==D||null===(r=D.options.get(C))||void 0===r?void 0:r.label)||"",onChange:R,required:!0}),d.createElement(gm,{label:a.formatMessage(Fw.value),value:(null==D||null===(o=D.options.get(C))||void 0===o?void 0:o.value)||"",onChange:N,required:!0,className:aw().lastInputField}))):D instanceof _.Vi||D instanceof _.fB?d.createElement(Pw,{options:D.options,onChange:M,ownerDocument:f.document}):null;var e,t,r,o}),[f.document,D,a,F,M,R,N,C]),K=D instanceof _.$o&&!(null===(t=p.additionalActions)||void 0===t||!t.onFormat);return d.createElement(vm.Z,{referenceRect:r,viewportState:o,isHidden:i||!D,className:"PSPDFKit-Form-Creator-Popover",wrapperClassName:"PSPDFKit-Form-Creator-Editor",title:a.formatMessage(Fw.formDesignerPopoverTitle,{formFieldType:D?a.formatMessage(Iw(D,K)):""}),footer:d.createElement(d.Fragment,null,d.createElement(vm.j,{className:h()(aw().footerButton,aw().deleteButton,"PSPDFKit-Form-Creator-Editor-Delete"),onClick:()=>{y(null),c((0,yt.d8)((0,s.l4)([p.id])))}},a.formatMessage(Pe.Z.delete)),d.createElement(vm.j,{className:h()(aw().footerButton,aw().doneButton,"PSPDFKit-Form-Creator-Editor-Done"),onClick:()=>{b||c((0,Se.fz)())}},a.formatMessage(Pe.Z.done)))},d.createElement(d.Fragment,null,d.createElement("div",{className:v?void 0:aw().formFieldNameReadOnly},d.createElement("div",null,d.createElement(gm,{label:a.formatMessage(Fw.formFieldName),value:E,onChange:I,onKeyDown:e=>e.stopPropagation(),required:!0,errorMessage:P,className:h()({[aw().lastInputField]:!L&&!K}),inputClassName:"PSPDFKit-Form-Creator-Editor-Form-Field-Name",onBlur:()=>{P||O({name:E})}})),L),K&&d.createElement("div",{className:h()(fm().wrapper,aw().lastInputField)},d.createElement("label",{className:fm().label,htmlFor:"dateTimeFormat"},"Format",d.createElement("div",{className:fm().formatSelectWrapper,role:"button"},d.createElement("select",{className:fm().dateSelect,name:"dateTimeFormat",id:"dateTimeFormat",onChange:e=>{const t=e.target.value;T({additionalActions:{onFormat:new _.bp({script:`AFDate_FormatEx("${t}")`})}})}},kw||(kw=d.createElement("option",{value:"yyyy-mm-dd"},"yyyy-mm-dd")),Aw||(Aw=d.createElement("option",{value:"mm/dd/yyyy"},"mm/dd/yyyy")),zw||(zw=d.createElement("option",{value:"dd/mm/yyyy"},"dd/mm/yyyy")),Tw||(Tw=d.createElement("option",{value:"m/d/yyyy HH:MM"},"m/d/yyyy HH:MM")),Ow||(Ow=d.createElement("option",{value:"d/m/yyyy HH:MM"},"d/m/yyyy HH:MM")))))),d.createElement(rw.ZP,{intl:a,annotation:p,label:a.formatMessage(Fw.styleSectionLabel,{formFieldType:D?a.formatMessage(Iw(D,K)):""}),updateAnnotation:T,frameWindow:f,pageSize:w}),!(D instanceof _.Yo)&&!(D instanceof _.XQ)&&!(D instanceof _.rF)&&d.createElement(fw,{intl:a,annotation:p,updateAnnotation:T,frameWindow:f,formField:D,customFontsReadableNames:x}),d.createElement(vw,{key:p.id,intl:a,annotation:p,updateAnnotation:T,formField:D,updateFormField:O,locale:g,onCustomDataError:B})))}));var Rw,jw,Bw=n(29538),Nw=n.n(Bw);const Lw=Ke.Ni?()=>{const e=(0,l.I0)();return d.createElement(i.QO,{wrapperClass:h()(Nw().mobileWrapper,"PSPDFKit-ContentEditor-Exit-Dialog"),formClass:Nw().formWrapper,onDismiss:()=>{e((0,Dh.Yg)(!1))}},jw||(jw=d.createElement(Kw,null)))}:()=>{const{formatMessage:e}=(0,xe.YB)(),t=(0,l.I0)();return d.createElement(mp.Z,{role:"alertdialog",background:"rgba(0,0,0,.1)",className:h()(Nw().modalRoot,"PSPDFKit-ContentEditor-Exit-Dialog"),accessibilityLabel:e(Vw.contentEditorSavePromptAccessibilityLabel),accessibilityDescription:e(Vw.contentEditorSavePromptAccessibilityDescription),restoreOnClose:!0,onEscape:()=>{t((0,Dh.Yg)(!1))}},Rw||(Rw=d.createElement(Kw,null)))},Kw=()=>{const{formatMessage:e}=(0,xe.YB)(),t=(0,l.I0)();return d.createElement(d.Fragment,null,d.createElement(mp.Z.Section,{className:h()(Nw().dropdownSection,Nw().mainSection)},d.createElement(i.zx,{className:h()(Nw().closeButton,"PSPDFKit-ContentEditor-Exit-Dialog-Close-Button"),onClick:()=>{t((0,Dh.Yg)(!1))},"aria-label":e(Pe.Z.close)},d.createElement(Re.Z,{className:Nw().closeIcon,src:n(2256)})),d.createElement("div",{className:h()(Nw().container,"PSPDFKit-ContentEditor-Exit-Dialog-Content")},d.createElement(Re.Z,{className:Nw().warningIcon,src:n(94072)}),d.createElement("h2",{className:Nw().heading},e(Vw.contentEditorSavePromptHeading)),d.createElement("p",{className:Nw().description},e(Vw.contentEditorSavePromptMessage)))),d.createElement(mp.Z.Section,{className:h()(Nw().buttonsGroupSection,Nw().dropdownSection)},d.createElement(i.hE,{className:h()(Nw().buttonsGroup,"PSPDFKit-ContentEditor-Exit-Dialog-Buttons"),align:"end"},d.createElement(i.zx,{autoFocus:!0,onClick:()=>{t(Dh.u8)},className:h()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Discard-Changes",Nw().button)},"Don't Save"),d.createElement(i.zx,{onClick:()=>{t(Dh.Ij)},primary:!0,className:h()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Save-Changes",Nw().button)},"Save"))))},Vw=(0,xe.vU)({contentEditorSavePromptHeading:{id:"contentEditorSavePromptHeading",defaultMessage:"Save changes before exiting?",description:'Heading displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptMessage:{id:"contentEditorSavePromptMessage",defaultMessage:"If you don’t save your changes to the document, your changes will be lost.",description:'Message displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptAccessibilityLabel:{id:"contentEditorSavePromptAccessibilityLabel",defaultMessage:"Confirm content editing exit dialog",description:'Accessibility description for the "Delete Annotation" confirm dialog'},contentEditorSavePromptAccessibilityDescription:{id:"contentEditorSavePromptAccessibilityDescription",defaultMessage:"A content editing session is about to be dismissed and data could be loss. This dialog serves as a confirmation to whether continue with this action or not.",description:'Accessibility description for the "Exit Content Editing Mode" confirm dialog'}});var qw=n(92744),Hw=n(74268),Zw=n.n(Hw);const Uw=function(e){const{referenceRect:t,viewportState:n,activeTextBlock:r,fontFace:o}=e,i=(0,l.I0)(),{formatMessage:a}=(0,xe.YB)(),s=(0,l.v9)((e=>{var t,n;return null!==(t=null===(n=e.contentEditorSession.fontMismatchTooltip)||void 0===n?void 0:n.dismissAbortController)&&void 0!==t?t:null}));return d.createElement(Qg.Z,{referenceRect:t.apply((0,G.cr)(n,r.pageIndex)).translate(n.scrollPosition.scale(n.zoomLevel)),viewportState:n,className:h()(Zw().container,"PSPDFKit-Font-Mismatch-Notification-Container"),color:[new _.Il({r:255,g:199,b:143})],arrowSize:0,arrowClassName:Zw().arrow},d.createElement("div",{className:h()(Zw().wrapper,"PSPDFKit-Font-Mismatch-Notification"),onPointerOver:()=>{s&&s.abort()},onPointerLeave:()=>{const e=new AbortController;i((0,Dh.Hv)(e)),i((0,Dh.uy)(e.signal))}},d.createElement("span",{className:Zw().tooltipFont},a(Ph.fontMismatch,{arg0:o}))))},$w=d.memo((function(e){const t=(0,xe.YB)(),n=(0,l.I0)(),r=(0,l.v9)((e=>e.selectedGroupId)),{selectedAnnotationIds:o}=e;return d.createElement("div",{className:h()("PSPDFKit-Multi-Annotations-Selection-Toolbar",_c().root,_c().content,_c().reverseRow)},d.createElement(bc.Z,{type:"delete",title:t.formatMessage(Pe.Z.delete),className:_c().button,onPress:()=>{n((0,yt.d8)(o))}}),r?null:d.createElement(bc.Z,{type:"group",title:t.formatMessage(Pe.Z.group),className:_c().button,onPress:()=>{n((0,Vt._R)(o))}}),r?d.createElement(bc.Z,{type:"ungroup",title:t.formatMessage(Pe.Z.ungroup),className:_c().button,onPress:()=>{n((0,Vt.UZ)(r))}}):null)}));const Gw=$w,Ww=e=>{const t=(0,l.I0)(),{formatMessage:n}=(0,xe.YB)(),{interactionMode:r,currentItemPreset:o,frameWindow:i,backend:a}=e;function s(e,n,i){t((0,Se.fz)()),r===n&&i===o?(0,l.dC)((()=>{t((0,yt.Ds)(null)),t((0,Vt.Ce)())})):(0,l.dC)((()=>{t((0,yt.Ds)(i)),t((0,Vt.yg)(e,n))}))}return d.createElement("div",{className:h()("PSPDFKit-Measurement-Toolbar",_c().root,_c().content,_c().measurementToolbar),onMouseUp:Pb,onTouchEnd:Pb,onPointerUp:Pb},z.Di.map((e=>d.createElement(np.Z,{key:e.interactionMode,type:e.icon,title:n(Pe.Z[e.localeKey]),className:h()(tp().formDesignerButton,{[tp().formDesignerButtonActive]:r===e.interactionMode},e.className),onPress:()=>{s(e.class,e.interactionMode,e.preset)},selected:r===e.interactionMode}))),d.createElement("div",{className:tp().spacer}),d.createElement("div",{className:_c().right},d.createElement(Jd.ZP,{frameWindow:i}),d.createElement(np.Z,{key:"scale",type:"scale",title:n(gu.sY.measurementScale),className:h()(_c().measurementToolbarButton)}),d.createElement(np.Z,{key:"calibrate",type:"calibrate",title:n(gu.sY.calibrate),className:h()(tp().formDesignerButton,"PSPDFKit-Scale-Calibration"),onPress:()=>{const e=z.Di.find((e=>e.interactionMode===B.A.DISTANCE));e&&(t((0,Ht.Xh)(!0)),s(e.class,e.interactionMode,e.preset))}}),"STANDALONE"===(null==a?void 0:a.type)&&d.createElement("button",{className:h()(_c().pointSnappingToggleButtonWrapper,"PSPDFKit-Measurement-Snapping-Toggle")},d.createElement("div",{className:h()(_c().pointSnappingToggleButton)},d.createElement("label",{className:h()(_c().checkbox)},d.createElement("input",{type:"checkbox",name:"toggle-point-snapping",checked:!e.disablePointSnapping,onChange:()=>{t((0,Vt.c8)(!e.disablePointSnapping))}}),d.createElement("span",{className:_c().checkboxLabel},n(Pe.Z.Snapping)))))))};var Xw=n(38835),Yw=n(89359),Qw=n.n(Yw);const Jw=function(e){const{referenceRect:t,viewportState:n,isReadOnly:r,isLocked:o,hasLockedContents:i}=e,{formatMessage:a}=(0,xe.YB)(),s=[r?a(Pe.Z.readOnlyAnnotationFlag):"",o?a(Pe.Z.locked):"",i?a(Pe.Z.lockedContents):""].filter((e=>""!==e)).join(", "),l=t.grow(10);return d.createElement(Qg.Z,{referenceRect:l,viewportState:n,className:"PSPDFKit-Annotation-Flags-Popover",arrowClassName:Qw().arrow},d.createElement("span",{className:Qw().tooltip,"aria-label":s},s))},ex=e=>{let{showComments:t,showRedactions:n,showDocumentAssistant:r}=e;const o=[{type:"highlight"},{type:"strikeout"},{type:"underline"},{type:"squiggle"}];return t&&o.push({type:"comment"}),n&&o.push({type:"redact-text-highlighter"}),r&&o.push({type:"document-assistant"}),o};var tx=n(25534),nx=n.n(tx);function rx(e){let{text:t,anchorClassName:n,textClassName:r,tag:o}=e;return d.createElement(o||"p",{className:r},t.split(" ").map(((e,t)=>{let r="",o=e;return(e.endsWith(".")||e.endsWith(","))&&(r=e.slice(-1),o=e.slice(0,-1)),URL.canParse(o)&&new URL(o).protocol.startsWith("http")?d.createElement(d.Fragment,null,d.createElement("a",{key:t,href:o,target:"_blank",rel:"noopener noreferrer",className:n},o),r):e})).reduce(((e,t,n)=>e.concat([n>0?" ":"",t])),[]))}function ox(e){const t=d.useCallback((()=>{e.evaluationUrl&&(window.location.href=e.evaluationUrl)}),[e.evaluationUrl]);return d.createElement(mp.Z,{role:"alertdialog",restoreOnClose:!1,className:h()("PSPDFKit-NoLicenseTimeout-Dialog",nx().noLicenseTimeoutModal),accessibilityDescription:"Dialog that pops up after some time when no trial or commercial license is provided.",accessibilityLabel:"No trial license provided warning dialog."},d.createElement(mp.Z.Section,{className:nx().topSection},d.createElement(Re.Z,{src:n(99939),className:nx().icon}),d.createElement("h2",{className:nx().header},"Evaluation time is up"),d.createElement("hr",{className:nx().modalSeparator}),d.createElement(rx,{tag:"p",text:e.evaluationMessage||"",textClassName:nx().text,anchorClassName:nx().link})),d.createElement(mp.Z.Section,{className:nx().bottomSection},d.createElement(i.zx,{autoFocus:!0,onClick:t,className:h()("PSPDFKit-NoLicenseTimeout-Dialog-Button",nx().button,nx().signUpButton),primary:!0},"Sign Up for Trial")))}var ix=n(97838),ax=n.n(ix);const sx=(0,d.memo)((function(e){let{closeOnPress:t=!1,formFields:n,signaturesInfo:r,annotations:o,navigationDisabled:i}=e;const[a,u]=(0,d.useState)(null);(0,d.useEffect)((()=>{null==a||a.focus()}),[a]);const{formatMessage:c}=(0,xe.YB)(),p=(0,l.I0)(),f=(0,Fo.R9)((e=>{const n=o.find((t=>t instanceof de.x_&&t.formFieldName===e));(0,De.k)(n),p((0,yu.kN)(n.pageIndex,n.boundingBox)),t&&p((0,Vt.mu)())})),m=(0,d.useMemo)((()=>{var e;return o.filter((e=>{if(e instanceof de.x_){(0,De.k)(n);const o=n.get(e.formFieldName);var t;if(o instanceof Ru.Yo)return!(null!=r&&null!==(t=r.signatures)&&void 0!==t&&t.some((e=>e.signatureFormFQN===o.name)))}return!1})).sortBy((e=>[e.pageIndex,e.boundingBox.top]),_e.b).reduce(((e,t)=>e.push({type:"unsigned-signature-field",annotation:t})),(0,s.aV)((null==r||null===(e=r.signatures)||void 0===e?void 0:e.map((e=>({type:"signature",signature:e}))))||[]))}),[o,n,r]),g=(0,Fo.Bo)(a,m),v=(0,Fo.mP)(g,(e=>"signature"===e.type?e.signature.signatureFormFQN:e.annotation.formFieldName),(e=>m.find((t=>"unsigned-signature-field"===t.type?t.annotation.formFieldName===e:t.signature.signatureFormFQN===e))));return d.createElement("div",{className:h()(ax().container,"PSPDFKit-Sidebar-Signatures"),role:"region","aria-label":c(Pe.Z.signatures),ref:u},d.createElement("div",{className:h()(ax().header,"PSPDFKit-Sidebar-Header")},c(Pe.Z.signatures)),m.size>0?d.createElement("ul",{className:h()(ax().itemList,"PSPDFKit-Sidebar-Signatures-Container")},m.map((e=>{var t,n,r,o;const a=(0,ke.Z)({type:`${e.type}${"signature"===e.type?`-${null===(t=e.signature)||void 0===t?void 0:t.signatureValidationStatus}`:""}`,className:h()(ax().icon,"signature"===e.type?ax().iconSigned:ax().iconUnsigned,{[ax().iconValid]:"signature"===e.type&&"valid"===(null===(n=e.signature)||void 0===n?void 0:n.signatureValidationStatus),[ax().iconWarning]:"signature"===e.type&&"warning"===(null===(r=e.signature)||void 0===r?void 0:r.signatureValidationStatus),[ax().iconError]:"signature"===e.type&&"error"===(null===(o=e.signature)||void 0===o?void 0:o.signatureValidationStatus)},"PSPDFKit-Sidebar-Signatures-Icon")}),s="signature"===e.type?e.signature.signatureFormFQN:e.annotation.formFieldName,l="signature"===e.type&&e.signature.signerName||s;return d.createElement("li",{ref:v?t=>{v&&t&&v(t,e)}:void 0,onClick:()=>{i||f(s)},key:`${e.type}-${s}`,className:h()(ax().item,"PSPDFKit-Sidebar-Signatures-Item")},a,d.createElement("span",{className:h()(ax().title,"PSPDFKit-Sidebar-Signatures-Title"),title:l},l))}))):d.createElement("div",{className:h()(ax().container,ax().empty,"PSPDFKit-Sidebar-Empty"),role:"region","aria-label":c(Pe.Z.signatures)},c(lx.noSignatures)))})),lx=(0,xe.vU)({noSignatures:{id:"noSignatures",defaultMessage:"No Signatures",description:"Message shown when there are no signatures"}});function ux(e){let{onSelectImage:t}=e;const n=d.useCallback((e=>{e&&(e.click(),function(e,t){(0,Ke.eJ)(16.4)?(e.addEventListener("blur",(()=>{e.addEventListener("blur",(()=>{t()}),{once:!0})}),{once:!0}),e.focus()):e.addEventListener("cancel",t,{once:!0})}(e,(()=>t(null))))}),[t]),{formatMessage:r}=(0,xe.YB)();return d.createElement(i.TX,{tag:"div"},d.createElement("input",{"aria-label":r(Pe.Z.selectImage),"aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, application/pdf",onChange:e=>{var n;const r=null===(n=e.target.files)||void 0===n?void 0:n[0];t(r||null)},tabIndex:-1,ref:n}))}var cx=n(70799);n(2278);new Map;new Map;const dx=["hours","minutes","seconds"];new Map;const px={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0};(0,d.createContext)({}),Date.now();function hx(e){return null}function fx(e){return null!=e.hasChildItems?e.hasChildItems:!!e.childItems||!!(e.title&&d.Children.count(e.children)>0)}hx.getCollectionNode=function*(e,t){let{childItems:n,title:r,children:o}=e,i=e.title||e.children,a=e.textValue||("string"==typeof i?i:"")||e["aria-label"]||"";a||(null==t?void 0:t.suppressTextValueWarning)||console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:i,textValue:a,"aria-label":e["aria-label"],hasChildNodes:fx(e),*childNodes(){if(n)for(let e of n)yield{type:"item",value:e};else if(r){let e=[];d.Children.forEach(o,(t=>{e.push({type:"item",element:t})})),yield*e}}}};function mx(e){return null}mx.getCollectionNode=function*(e){let{children:t,title:n,items:r}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:n,"aria-label":e["aria-label"],*childNodes(){if("function"==typeof t){if(!r)throw new Error("props.children was a function but props.items is missing");for(let e of r)yield{type:"item",value:e,renderer:t}}else{let e=[];d.Children.forEach(t,(t=>{e.push({type:"item",element:t})})),yield*e}}}};new WeakMap;class gx{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){this.keyMap=new Map,this.iterable=e;let t,n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=0;for(let[e,n]of this.keyMap)t?(t.nextKey=e,n.prevKey=t.key):(this.firstKey=e,n.prevKey=void 0),"item"===n.type&&(n.index=r++),n,t.nextKey=void 0;this.lastKey=null==t?void 0:t.key}}class vx{getStringForLocale(e,t){let n=this.strings[t];n||(n=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(t,this.strings,this.defaultLocale),this.strings[t]=n);let r=n[e];if(!r)throw new Error(`Could not find intl message ${e} in ${t} locale`);return r}constructor(e,t="en-US"){this.strings={...e},this.defaultLocale=t}}new Map,new Map;function yx(e){return e&&e.__esModule?e.default:e}new vx(yx({"ar-AE":{rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."},"bg-BG":{rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."},"cs-CZ":{rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."},"da-DK":{rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."},"el-GR":{rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."},"fr-FR":{rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."},"he-IL":{rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"},"ko-KR":{rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."},"lt-LT":{rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."},"ru-RU":{rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."},"sk-SK":{rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."},"tr-TR":{rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."},"uk-UA":{rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."},"zh-CN":{rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"},"zh-TW":{rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"}}));new vx({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function bx(e){let{initialItems:t=[],initialSelectedKeys:n,getKey:r=(e=>e.id||e.key),getChildren:o=(e=>e.children)}=e,i=(0,d.useMemo)((()=>new Map),[]),a=(0,d.useMemo)((()=>p(t)),[]),[s,l]=(0,d.useState)(a),[u,c]=(0,d.useState)(new Set(n||[]));function p(e=[],t){return e.map((e=>{let n={key:r(e),parentKey:t,value:e,children:null};return n.children=p(o(e),n.key),i.set(n.key,n),n}))}function h(e,t,n){let r=i.get(t);if(!r)return e;let o=n(r);for(null==o?m(r):f(o);r.parentKey;){let e=i.get(r.parentKey),t={key:e.key,parentKey:e.parentKey,value:e.value,children:null},n=e.children;null==o&&(n=n.filter((e=>e!==r))),t.children=n.map((e=>e===r?o:e)),i.set(t.key,t),o=t,r=e}return null==o&&(e=e.filter((e=>e!==r))),e.map((e=>e===r?o:e))}function f(e){i.set(e.key,e);for(let t of e.children)f(t)}function m(e){i.delete(e.key);for(let t of e.children)m(t)}return{items:s,selectedKeys:u,setSelectedKeys:c,getItem:e=>i.get(e),insert(e,t,...n){l((r=>{let o=p(n,e);return null==e?[...r.slice(0,t),...o,...r.slice(t)]:h(r,e,(e=>({key:e.key,parentKey:e.parentKey,value:e.value,children:[...e.children.slice(0,t),...o,...e.children.slice(t)]})))}))},insertBefore(e,...t){let n=i.get(e);if(!n)return;let r=i.get(n.parentKey),o=(r?r.children:s).indexOf(n);this.insert(null==r?void 0:r.key,o,...t)},insertAfter(e,...t){let n=i.get(e);if(!n)return;let r=i.get(n.parentKey),o=(r?r.children:s).indexOf(n);this.insert(null==r?void 0:r.key,o+1,...t)},prepend(e,...t){this.insert(e,0,...t)},append(e,...t){if(null==e)this.insert(null,s.length,...t);else{let n=i.get(e);if(!n)return;this.insert(e,n.children.length,...t)}},remove(...e){let t=s;for(let n of e)t=h(t,n,(()=>null));l(t);let n=new Set(u);for(let e of u)i.has(e)||n.delete(e);c(n)},removeSelectedItems(){this.remove(...u)},move(e,t,n){l((r=>{let o=i.get(e);if(!o)return r;r=h(r,e,(()=>null));const a={...o,parentKey:t};return null==t?[...r.slice(0,n),a,...r.slice(n)]:h(r,t,(e=>({key:e.key,parentKey:e.parentKey,value:e.value,children:[...e.children.slice(0,n),a,...e.children.slice(n)]})))}))},update(e,t){l((n=>h(n,e,(e=>{let n={key:e.key,parentKey:e.parentKey,value:t,children:null};return n.children=p(o(t),n.key),n}))))}}}new Map;let wx=!1;try{wx="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(e){}let xx=!1;try{xx="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(e){}new Map;new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);Math.round(1e10*Math.random());class Dx{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===[...this.rows][0]||void 0===e?void 0:e.key}getLastKey(){var e;let t=[...this.rows];return null===t[t.length-1]||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=null==e?void 0:e.columnCount,this.rows=[];let t,n=t=>{let o=this.keyMap.get(t.key);e.visitNode&&e.visitNode(t),this.keyMap.set(t.key,t);let i,a=new Set;for(let e of t.childNodes)"cell"===e.type&&null==e.parentKey&&(e.parentKey=t.key),a.add(e.key),i?(i.nextKey=e.key,e.prevKey=i.key):e.prevKey=null,n(e),e;if(i&&(i.nextKey=null),o)for(let e of o.childNodes)a.has(e.key)||r(e)},r=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&r(t)};e.items.forEach(((e,r)=>{let o={level:0,key:"row-"+r,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...e.childNodes],rendered:void 0,textValue:void 0,...e};t?(t.nextKey=o.key,o.prevKey=t.key):o.prevKey=null,this.rows.push(o),n(o),o})),t&&(t.nextKey=null)}}const Cx="row-header-column-"+Math.random().toString(36).slice(2);let Ex="row-header-column-"+Math.random().toString(36).slice(2);for(;Cx===Ex;)Ex="row-header-column-"+Math.random().toString(36).slice(2);class Sx extends Dx{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===$c5a24bc478652b5f$export$fbdeaa6a76694f71(this.body.childNodes)||void 0===e?void 0:e.key}getLastKey(){var e;return null===$c5a24bc478652b5f$export$7475b2c64539e4cf(this.body.childNodes)||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(" ")}return""}constructor(e,t,n){let r,o=new Set,i=[];if(null==n?void 0:n.showSelectionCheckboxes){let e={type:"column",key:Cx,value:null,textValue:"",level:0,index:(null==n?void 0:n.showDragButtons)?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(e)}if(null==n?void 0:n.showDragButtons){let e={type:"column",key:Ex,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(e)}let a=[],s=new Map,l=e=>{switch(e.type){case"body":e;break;case"column":s.set(e.key,e),e.hasChildNodes||(i.push(e),e.props.isRowHeader&&o.add(e.key));break;case"item":return void a.push(e)}for(let t of e.childNodes)l(t)};for(let t of e)l(t);let u=function(e,t){if(0===t.length)return[];let n=[],r=new Map;for(let o of t){let t=o.parentKey,i=[o];for(;t;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colspan++;let{column:e,index:t}=r.get(n);if(t>i.length)break;for(let n=t;ne.length))),i=Array(o).fill(0).map((()=>[])),a=0;for(let e of n){let t=o-1;for(let n of e){if(n){let e=i[t],r=e.reduce(((e,t)=>e+t.colspan),0);if(r0&&(e[e.length-1].nextKey=o.key,o.prevKey=e[e.length-1].key),e.push(o)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=a,e.push(n)}0}0}let s=0;for(let e of i){let n=e.reduce(((e,t)=>e+t.colspan),0);if(n({type:"headerrow",key:"headerrow-"+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:null})))}(s,i);u.forEach(((e,t)=>a.splice(t,0,e))),super({columnCount:i.length,items:a,visitNode:e=>(e.column=i[e.index],e)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=o,this.body=r,this.headerRows=u,this._size=[...r.childNodes].length,0===this.rowHeaderColumnKeys.size&&((null==n?void 0:n.showSelectionCheckboxes)?(null==n?void 0:n.showDragButtons)?this.rowHeaderColumnKeys.add(this.columns[2].key):this.rowHeaderColumnKeys.add(this.columns[1].key):this.rowHeaderColumnKeys.add(this.columns[0].key))}}function _x(e){return null}_x.getCollectionNode=function*(e,t){let{children:n,columns:r}=e;if(t.columns=[],"function"==typeof n){if(!r)throw new Error("props.children was a function but props.columns is missing");for(let e of r)yield{type:"column",value:e,renderer:n}}else{let e=[];d.Children.forEach(n,(t=>{e.push({type:"column",element:t})})),yield*e}};function Px(e){return null}Px.getCollectionNode=function*(e){let{children:t,items:n}=e;yield{type:"body",hasChildNodes:!0,props:e,*childNodes(){if("function"==typeof t){if(!n)throw new Error("props.children was a function but props.items is missing");for(let e of n)yield{type:"item",value:e,renderer:t}}else{let e=[];d.Children.forEach(t,(t=>{e.push({type:"item",element:t})})),yield*e}}}};function kx(e){return null}kx.getCollectionNode=function*(e,t){let{title:n,children:r,childColumns:o}=e,i=n||r,a=e.textValue||("string"==typeof i?i:"")||e["aria-label"],s=yield{type:"column",hasChildNodes:!!o||n&&d.Children.count(r)>0,rendered:i,textValue:a,props:e,*childNodes(){if(o)for(let e of o)yield{type:"column",value:e};else if(n){let e=[];d.Children.forEach(r,(t=>{e.push({type:"column",element:t})})),yield*e}},shouldInvalidate:e=>(l(e),!1)},l=e=>{for(let t of s)t.hasChildNodes||e.columns.push(t)};l(t)};function Ax(e){return null}Ax.getCollectionNode=function*(e,t){let{children:n,textValue:r,UNSTABLE_childItems:o}=e;yield{type:"item",props:e,textValue:r,"aria-label":e["aria-label"],hasChildNodes:!0,*childNodes(){if(t.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),t.showSelectionCheckboxes&&"none"!==t.selectionMode&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),"function"==typeof n){for(let e of t.columns)yield{type:"cell",element:n(e.key),key:e.key};if(o)for(let e of o)yield{type:"item",value:e}}else{let e=[],r=[];if(d.Children.forEach(n,(n=>{if(n.type===Ax){if(e.lengthe.columns.length!==t.columns.length||e.columns.some(((e,n)=>e.key!==t.columns[n].key))||e.showSelectionCheckboxes!==t.showSelectionCheckboxes||e.showDragButtons!==t.showDragButtons||e.selectionMode!==t.selectionMode}};function zx(e){return null}zx.getCollectionNode=function*(e){let{children:t}=e,n=e.textValue||("string"==typeof t?t:"")||e["aria-label"]||"";yield{type:"cell",props:e,rendered:t,textValue:n,"aria-label":e["aria-label"],hasChildNodes:!1}};class Tx{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.iterable=e,t||new Set;let n,r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)r(t)};for(let t of e)r(t);let o=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),t,n.nextKey=void 0;this.lastKey=null==n?void 0:n.key}}var Ox=n(9327),Ix=n.n(Ox),Fx=n(93767),Mx=n(92619),Rx=n.n(Mx);const jx=n(71623).Z,Bx=e=>{let{isExpanded:t,title:n,id:r,isSelected:o=!1,isVisible:i,onAction:a,radioGroupsIDs:s,lockedOCGs:l,hasChildren:u,level:c,indentUnit:p,isAncestorHidden:h,isAncestorLocked:f,componentClassName:m,iconsAlignment:g}=e;const{pressProps:v}=(0,cx.r7)({onPress:()=>{null==a||a({action:"toggleSelection",key:r})}}),{pressProps:y}=(0,cx.r7)({onPress:()=>{null==a||a({action:"toggleExpanded",key:r})}}),{pressProps:b}=(0,cx.r7)({onPress:()=>{D||f||S||null==a||a({action:"toggleVisibility",key:r})}}),{pressProps:w}=(0,cx.r7)({onPress:()=>{f||null==a||a({action:"toggleLock",key:r})}}),x=t?"chevron-down-filled":"chevron-right-filled",D=(null==l?void 0:l.includes(Number(r)))||!1,C=r.startsWith("noid-"),E=(null==s?void 0:s.includes(Number(r)))||!1,S=!D&&E&&(null==s?void 0:s.some((e=>null==l?void 0:l.includes(e)))),_=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e)return"ancestor-hidden";if(r)return null;if(t&&!n)return"eye-open";if(t&&n)return"checked-radio-group";if(!t&&!n)return"eye-close";if(!t&&n)return"unchecked-radio-group";return null}(h,i,E,C),P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e||n)return"ancestor-locked";if(t)return"ocg-lock";return"ocg-unlock"}(f,D,S),k=!i&&!C,A=d.createElement(d.Fragment,null,C?d.createElement(Nx,{indentUnit:p,level:1,className:`${m}-TreeItem-Spacer`}):d.createElement("div",(0,ce.Z)({role:"button"},w),d.createElement(jx,{type:P,className:Ix()(Rx().icon,Rx().iconContainer,`${m}-TreeItem-LockIcon`,`${m}-TreeItem-LockIcon-${P}`,{[Rx().notLocked]:!D&&!f&&!S})})),_?d.createElement("div",(0,ce.Z)({role:"button"},b),d.createElement(jx,{type:_,className:Ix()(Rx().icon,Rx().iconContainer,Rx()[`icon-${_}`],`${m}-TreeItem-VisibilityIcon`,`${m}-TreeItem-VisibilityIcon-${_}`,{[Rx().visibilityIconLocked]:(D||f)&&!k})})):d.createElement(Nx,{indentUnit:p,level:1,className:`${m}-TreeItem-Spacer`}));return d.createElement("div",{className:Ix()(Rx().treeItem,`${m}-TreeItem`,{[Rx().hidden]:k,[Rx().selected]:o,[Rx().locked]:D})},g===Fx.v.START&&A,u?d.createElement("div",y,d.createElement(jx,{type:x,className:Ix()(Rx().arrowIcon,Rx().iconContainer,`${m}-TreeItem-ExpandIcon`)})):d.createElement(Nx,{indentUnit:p,level:c}),d.createElement("p",(0,ce.Z)({},v,{className:Ix()(Rx().treeItem,Rx().visibilityIcon,Rx().title,`${m}-TreeItem-Title`,{[Rx().noOcgId]:C}),style:{width:`calc(100% - ${(c+2)*p}px)`}}),d.createElement("span",{className:Rx().textWithOverflowEllipsis},n)),g===Fx.v.END&&A)};function Nx(e){let{level:t,indentUnit:n,className:r}=e;return d.createElement("div",{className:Ix()(Rx().noChildrenSpacer,r),style:{width:t*n}})}Bx.displayName="TreeItem";const Lx=["tree","onAction","defaultExpandedKeys","visibleOCGs","lockedOCGs","radioGroupsIDs","indentUnit","componentClassName","iconsAlignment"],Kx=d.forwardRef(((e,t)=>{let{tree:n,onAction:r,defaultExpandedKeys:o,visibleOCGs:i,lockedOCGs:a,radioGroupsIDs:l,indentUnit:c,componentClassName:p,iconsAlignment:h}=e,f=(0,ne.Z)(e,Lx);const m=(0,cx.Me)(),g=(0,cx.bO)();(0,u.kG)(g);const[v,y]=d.useState((0,s.l4)(o||[])),[b,w]=d.useState(null),{focusWithinProps:x}=(0,cx.L_)({onFocusWithin:()=>{null===b&&(g.focusFirst(),w(n.items[0].key))}}),{keyboardProps:D}=(0,cx.v5)({onKeyDown:e=>{const t=e.target,o=t.dataset.key,i=n.getItem(o),a=i.children.length>0;switch(e.key){case"Home":{const e=g.focusFirst();w((null==e?void 0:e.dataset.key)||b);break}case"End":{const e=g.focusLast();w((null==e?void 0:e.dataset.key)||b);break}case"ArrowDown":{const e=g.focusNext({from:t,wrap:!0});w((null==e?void 0:e.dataset.key)||b);break}case"ArrowUp":{const e=g.focusPrevious({from:t,wrap:!0});w((null==e?void 0:e.dataset.key)||b);break}case"ArrowRight":if(o&&a)if(v.has(o)){const e=g.focusNext({from:t});w((null==e?void 0:e.dataset.key)||b)}else y((e=>(0,s.l4)(e.add(o))));break;case"ArrowLeft":if(o)if(v.has(o)&&a)y((e=>(0,s.l4)([...e].filter((e=>e!==o)))));else if(i.parentKey){var l;const e=g.focusNext({from:null===(l=t.closest("ul"))||void 0===l?void 0:l.closest("li")});w((null==e?void 0:e.dataset.key)||b)}break;case"Enter":case" ":o&&(null==r||r({action:"toggleVisibility",key:o}))}}}),C=(0,d.useCallback)((e=>{v.has(e)?y((t=>(0,s.l4)([...t].filter((t=>t!==e))))):y((t=>(0,s.l4)(t.add(e))))}),[y,v]),E=(0,d.useCallback)((e=>{let{action:t,key:n}=e;"toggleExpanded"===t?C(n):"toggleSelection"===t&&w(b===n?null:n),null==r||r({action:t,key:n})}),[r,C,b,w]),S=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.items,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{isAncestorHidden:r,isAncestorLocked:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.map((e=>{const n=e.key.startsWith("noid-"),s=(null==i?void 0:i.includes(e.key))||n,u=b===e.key,f=v.has(e.key),g=(null==a?void 0:a.includes(Number(e.key)))||!1,y=`${m}-${e.key}`;return e.children.length?d.createElement("li",{key:e.key,className:Ix()(Rx().list,Rx().parentArrow,Rx().treeItemContainer,Rx().itemContentContainer,{[Rx().selected]:u,[Rx().locked]:g}),role:"treeitem","aria-selected":u,tabIndex:0,"data-key":e.key,"aria-expanded":f,"aria-owns":y},d.createElement(Bx,{id:e.key,title:e.value.title,isExpanded:v.has(e.key),isFocused:null===b||b===e.key,isSelected:b===e.key,onAction:E,isVisible:s,lockedOCGs:a,hasChildren:e.children.length>0,level:t,indentUnit:c,isAncestorHidden:r,isAncestorLocked:o,componentClassName:p,iconsAlignment:h}),d.createElement("ul",{className:Ix()(Rx().childRoot,{[Rx().hiddenChildRoot]:!v.has(e.key)}),id:y,role:"group"},S(e.children,t+1,{isAncestorHidden:!s,isAncestorLocked:g}))):d.createElement("li",{key:e.key,className:Ix()(Rx().treeItemContainer,Rx().list,Rx().itemWithNoChildren,{[Rx().selected]:u}),role:"treeitem","aria-selected":u,tabIndex:0,"data-key":e.key,"aria-expanded":f,"aria-owns":y},d.createElement(Bx,{id:e.key,title:e.value.title,isFocused:null===b||b===e.key,isSelected:!1,onAction:E,isVisible:s,radioGroupsIDs:l,lockedOCGs:a,level:t,indentUnit:c,isAncestorHidden:r,isAncestorLocked:o,componentClassName:p,iconsAlignment:h}))}))}),[n,v,b,i,m,a,l,c,E,p,h]),_=d.useMemo((()=>S()),[S]);return d.createElement("ul",(0,ce.Z)({},(0,cx.dG)(D,x,f),{role:"tree",ref:t,className:Rx().treeView}),_)}));Kx.displayName="TreeViewBase";const Vx=["items","defaultExpandedKeys","visibleOCGs","lockedOCGs","radioGroupsIDs","componentClassName"],qx=d.forwardRef(((e,t)=>{let{items:n,defaultExpandedKeys:r,visibleOCGs:o,lockedOCGs:i,radioGroupsIDs:a,componentClassName:s}=e,l=(0,ne.Z)(e,Vx);const u=bx({initialItems:n,getKey:e=>e.id,getChildren:e=>e.children||[]}),c=(0,d.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(const n of e)t.push(n.key),c(n.children,t);return t}),[]),p=d.useMemo((()=>"all"===r?c(u.items):Array.isArray(r)?r:void 0),[u,r,c]);return d.createElement(cx.MT,null,d.createElement(Kx,(0,ce.Z)({},l,{defaultExpandedKeys:p,tree:u,visibleOCGs:o,ref:t,radioGroupsIDs:a,lockedOCGs:i,componentClassName:s||"TreeView"})))}));qx.displayName="TreeView";var Hx,Zx=n(14578),Ux=n.n(Zx);function $x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gx(e){for(var t=1;te.toString())))),[v,y]=d.useState(a);d.useEffect((()=>{(function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{const e=(0,s.l4)(o.map((e=>e.toString())));m.equals(e)||g(e)}),[o]);const b=(null!==(t=null==i?void 0:i.filter((e=>!rD(e)&&"number"==typeof e.radioGroup)))&&void 0!==t?t:[]).map((e=>e.ocgId)).filter((e=>"number"==typeof e)),w=d.useCallback((e=>{let{action:t,key:o}=e;if("toggleVisibility"===t){(0,u.kG)(i),(0,u.kG)(m);const e=iD(i,Number(o));if(!e)return;const t=m.toArray();if(m.includes(o))if(e&&rD(e)){const t=Qx(e,o,m,a);p((0,Zl.Nx)({visibleLayerIds:t.toArray().map((e=>Number(e)))}))}else{const{currentVisibleOCGs:e}=Jx(t,o);p((0,Zl.Nx)(e));const n=m.delete(o);g(n)}else if(e&&rD(e)){const{currentVisibleOCGs:t,newVisibleOCGs:n}=eD(e,o,m,i);g(n),p((0,Zl.Nx)(t))}else if(null!=b&&b.includes(Number(o))){const{currentVisibleOCGs:e,newVisibleOCGs:t}=nD(o,b,m);g(t),p((0,Zl.Nx)(e))}else{const e=tD(i,Number(o)),n=m.add(o).union(e);g(n),t.push(o);const r={visibleLayerIds:t.concat(e).map((e=>Number(e)))};p((0,Zl.Nx)(r))}}else if("toggleLock"===t){const e=v.includes(Number(o))?v.filter((e=>e!==Number(o))):v.concat(Number(o));r(Gx(Gx({},n),{},{lockedLayers:e}))}}),[i,m,p,a,n,b,v,r]);if(!i)return d.createElement("div",{className:h()(Ux().OCGsContainer,"PSPDFKit-Sidebar-Layers")},Hx||(Hx=d.createElement(je.Z,null)));if(0===i.length)return d.createElement("div",{className:h()(Ux().OCGsContainer,"PSPDFKit-Sidebar-Layers")},d.createElement("div",{className:h()("PSPDFKit-Sidebar-Layers-Header")},d.createElement("div",{className:h()(Eu.empty,"PSPDFKit-Sidebar-Empty")},f(Pe.Z.noLayers))));const x=Xx(i);return d.createElement("div",{className:h()(Ux().OCGsContainer,"PSPDFKit-Sidebar-Layers")},d.createElement("div",{className:h()(Ux().title,"PSPDFKit-Sidebar-Layers-Header")},f(Pe.Z.layers)),d.createElement(qx,{items:x,visibleOCGs:m,onAction:w,lockedOCGs:v,radioGroupsIDs:b,indentUnit:32,componentClassName:"PSPDFKit-Layers",iconsAlignment:c}))}const Xx=e=>e.map((e=>Yx(e)));function Yx(e){var t;return{id:(null===(t=e.ocgId)||void 0===t?void 0:t.toString())||`noid-${(0,ts.C)()}`,title:e.name||"",description:e.name,children:rD(e)?e.layers.map((e=>Yx(e))):[]}}const Qx=(e,t,n,r)=>{const o=[...null==e?void 0:e.layers.filter((e=>!r.includes(e.ocgId))).map((e=>e.ocgId)),Number(t)].map((e=>e.toString())),i=n.filter((e=>!o.includes(e)));return i},Jx=(e,t)=>({currentVisibleOCGs:{visibleLayerIds:e.map((e=>Number(e))).filter((e=>e!==Number(t)))}}),eD=(e,t,n,r)=>{const o=[...null==e?void 0:e.layers.map((e=>{var t;return null===(t=e.ocgId)||void 0===t?void 0:t.toString()})),t],i=(0,s.l4)([...o,...n,...tD(r,Number(t))]);return{currentVisibleOCGs:oD(i),newVisibleOCGs:i}},tD=(e,t)=>{if(!e)return[];const n=[];return e.forEach((e=>{rD(e)&&("number"==typeof e.ocgId&&e.layers.some((e=>e.ocgId===t))?n.push(e.ocgId.toString()):n.push(...tD(e.layers,t)))})),n},nD=(e,t,n)=>{const r=n.find((e=>t.includes(Number(e)))),o=r?n.add(e).delete(r):n.add(e);return{currentVisibleOCGs:oD(o),newVisibleOCGs:o}};function rD(e){return"layers"in e}const oD=e=>({visibleLayerIds:e.toArray().map((e=>Number(e)))});function iD(e,t){const n=e.find((e=>e.ocgId===t));if(n)return n;for(const n of e)if(rD(n)){const e=iD(n.layers,t);if(e)return e}return null}var aD=n(8898),sD=n(8840),lD=n(33241),uD=n(59980);function cD(e,t,n,r){const{content:o,decorator:i}=uD.m[e]({props:n,instance:r});(0,sD.kG)(o,"defaultContent is required"),(0,sD.kG)(i,"defaultDecorator is required");const{content:a,decorator:s}=t({props:n,instance:r}),l=a||o,u=l instanceof Node?d.createElement(mu.DomNodeRenderer,{node:l}):l,c=s?s(u):i(u);return c instanceof Node?d.createElement(mu.DomNodeRenderer,{node:c}):c}const dD=e=>{let{onCreate:t,onDelete:n,onCancel:r,storedSignatures:o,backend:i,attachments:a,setIsSignaturePickerHidden:s}=e;const u=(0,cx.Me)(),{formatMessage:c}=(0,xe.YB)(),p=(0,l.v9)((e=>e.ui[lD.x.SignaturesList])),h=(0,l.v9)((e=>e.instance)),f=(0,d.useMemo)((()=>(null==o?void 0:o.map((e=>({svgSrc:e instanceof de.Zc?d.createElement(pt,{isSelectable:!1,annotation:e,viewBox:e.boundingBox}):d.createElement(Dy,{annotation:e,backend:i,label:e.description||c(Pe.Z.imageAnnotation),attachment:e.imageAttachmentId?a.get(e.imageAttachmentId):null,templateWidth:200}),id:e.id}))).toArray())||[]),[o,c,i,a]),m=(0,d.useCallback)((e=>{const n=null==o?void 0:o.find((t=>t.id===e));(0,sD.kG)(n,"Signature not found"),t(n,!1,!1)}),[t,o]),g=(0,d.useCallback)((e=>{const t=null==o?void 0:o.find((t=>t.id===e));(0,sD.kG)(t,"Signature not found"),n(t,!1)}),[n,o]),v=(0,d.useMemo)((()=>({titleId:u,items:f,onAddFromPreview:m,onRemoveFromPreview:g,onAdd:()=>s(!0),onCancel:r})),[u,f,m,g,r,s]);return cD(lD.x.SignaturesList,p,v,h)};var pD=n(42731);function hD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fD(e){for(var t=1;t{let{onCreate:t,preset:n,onCancel:r,colorPresets:o,frameWindow:i,signingFonts:a,hasSignaturesCreationListener:u,creationModes:c}=e;const p=(0,cx.Me)(),h=(0,l.I0)(),f=(0,l.v9)((e=>{var t;return null===(t=e.ui)||void 0===t?void 0:t[lD.x.CreateSignature]})),m=(0,l.v9)((e=>e.instance)),{formatMessage:g}=(0,xe.YB)();d.useEffect((()=>{null!=i&&i.document.fonts&&(0,od.GE)(a,i.document.fonts)}),[a,null==i?void 0:i.document.fonts]);const v=(0,l.v9)((e=>{var t;return(null===(t=e.electronicSignatureDefaultTextCallback)||void 0===t?void 0:t.call(e))||""})),y=d.useCallback((e=>{(async(r,o)=>{if((null===(r=e.signature)||void 0===r?void 0:r.type)===pD.BL.DRAW){(0,sD.kG)(e.signature.value,"Signature value is required");const r=(0,s.aV)(e.signature.value.map((e=>(0,s.aV)(e.map((e=>{let[t,n,r]=e;return new S.Wm({x:t,y:n,intensity:r})}))))));let o=new de.Zc(fD(fD({},n),{},{lines:r,isSignature:!0,strokeColor:_.Il.fromHex(e.color)}));o=o.set("boundingBox",(0,ot.gz)(o));const i=(0,ji.c)(o,o.boundingBox.getLocation().scale(-1),new S.$u(e.canvasSize),new S.E9);t(i,e.shouldStoreSignature,!1)}else if((null===(o=e.signature)||void 0===o?void 0:o.type)===pD.BL.IMAGE)(0,sD.kG)(e.signature.value,"Signature value is required"),t(e.signature.value,e.shouldStoreSignature,!1);else{var a;const r=new de.gd(fD(fD({},n),{},{font:e.selectedFont,fontSize:16,text:{format:"plain",value:(null===(a=e.signature)||void 0===a?void 0:a.value)||v},fontColor:_.Il.fromHex(e.color)})),o=await(0,Fe.Y)(r.text.value,{font:r.font,fontColor:r.fontColor},i);h((0,yt.gX)({fontColor:r.fontColor,font:r.font})),t(o,e.shouldStoreSignature,!1)}})()}),[t,n,h,i,v]),b=(0,d.useMemo)((()=>({titleId:p,colorPresets:o.map((e=>{var t;return{color:(null===(t=e.color)||void 0===t?void 0:t.toHex())||"",label:g(e.localization)}})),allowStoringSignature:u,allowedTabs:c.toArray(),fonts:a.map((e=>e.name)).toJS(),onCloseRequest:r,initialState:{shouldStoreSignature:u,text:v},onAdd:y})),[p,o,v,u,c,a,r,y,g]);return cD(lD.x.CreateSignature,f,b,m)},gD=["storedSignatures"],vD=e=>{let{storedSignatures:t}=e,n=(0,ne.Z)(e,gD);const[r,o]=d.useState(!1);return!r&&Boolean(t&&t.size>0)?d.createElement(dD,(0,ce.Z)({},n,{setIsSignaturePickerHidden:o,storedSignatures:t})):d.createElement(mD,n)};var yD=n(29977);var bD=n(85816),wD=n(4280);function xD(e){let{onCancel:t,onCreate:n,dispatch:r,backend:o,stampAnnotationTemplates:i,viewportWidth:a,attachments:s}=e;const u=(0,cx.Me)(),c=(0,l.v9)((e=>e.ui[lD.x.StampsList])),p=(0,l.v9)((e=>e.instance)),h=function(e){let{stampAnnotationTemplates:t}=e;const n=(0,xe.YB)();return(0,d.useMemo)((()=>{const e=t.map((e=>(e instanceof _.GI&&(null==e.title&&(e=e.set("title",(0,Xa.vW)({annotation:e,intl:n}))),e.subtitle&&"Custom"===e.stampType||(e=e.set("subtitle",(0,Xa.Cq)(yD.pY[e.stampType],new Date,n))),void 0!==yD.a$[e.stampType]&&(e=e.set("stampType",yD.a$[e.stampType]))),e)));return Object.fromEntries(e.map((e=>[(0,j.xc)(),e])))}),[n,t])}({stampAnnotationTemplates:i}),f=function(e){let{viewportWidth:t,backend:n,attachments:r,annotations:o}=e;const i=(0,xe.YB)();return(0,d.useMemo)((()=>{const{formatMessage:e}=i;return Object.entries(o).map((t=>{let[o,a]=t;return{id:o,"aria-label":(0,Xa.vW)({annotation:a,intl:i}),svgSrc:d.createElement("div",{key:o,className:(0,bD.Kj)({display:"flex",justifyContent:"center",backgroundColor:"background.primary.medium",paddingX:"xl",height:"full",flex:1})},d.createElement(Dy,{annotation:a,backend:n,label:a instanceof _.sK?e(Pe.Z.imageAnnotation):a.title||e(wD.Z[(0,F.LE)((0,yD.k1)(a.stampType))]),attachment:a.imageAttachmentId?r.get(a.imageAttachmentId):null,templateWidth:0,contain:!0}))}}))}),[i,n,o,t,r])}({viewportWidth:a,backend:o,attachments:s,annotations:h}),m=(0,d.useCallback)((e=>{const t=h[e];t&&n(t)}),[h,n]),g=(0,d.useMemo)((()=>({titleId:u,items:f,onCustomStampPress:()=>{r((0,Vt._z)())},onCancel:t,onAdd:m})),[u,f,t,m,r]);return cD(lD.x.StampsList,c,g,p)}function DD(e){let{onCancel:t,onCreate:n,dispatch:r}=e;const o=(0,cx.Me)(),i=(0,l.v9)((e=>e.ui[lD.x.CreateStamp])),a=(0,l.v9)((e=>e.instance)),s=(0,d.useCallback)((e=>{let{text:t,subText:r,color:o,width:i}=e;const a=new _.GI({stampType:"Custom",title:null!=t?t:"",subtitle:r,color:_.Il.fromHex(o),boundingBox:new _.UL({left:0,top:0,width:i,height:Be.mM})});n(a)}),[n]),u=(0,d.useMemo)((()=>({titleId:o,colorPresets:Xa.s3,onCreate:s,onCloseRequest:t,getLighterVariant:e=>_.Il.fromHex(e).lighter(Be.zT).toHex(),onExistingStampPress:()=>{r((0,Vt.C4)())}})),[o,t,r,s]);return cD(lD.x.CreateStamp,i,u,a)}function CD(e){let{onCancel:t,onCreate:n,mode:r,dispatch:o,backend:i,stampAnnotationTemplates:a,viewportWidth:s,attachments:l}=e;return d.createElement(d.Fragment,null,r===B.A.STAMP_PICKER&&d.createElement(xD,{attachments:l,onCreate:n,onCancel:t,stampAnnotationTemplates:a,backend:i,dispatch:o,viewportWidth:s}),r===B.A.STAMP_CUSTOM&&d.createElement(DD,{onCreate:n,onCancel:t,dispatch:o}))}var ED=n(77017);const SD=new Map,_D=Object.create(null);_D.open="0",_D.close="1",_D.ping="2",_D.pong="3",_D.message="4",_D.upgrade="5",_D.noop="6";const PD=Object.create(null);Object.keys(_D).forEach((e=>{PD[_D[e]]=e}));const kD={type:"error",data:"parser error"},AD="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),zD="function"==typeof ArrayBuffer,TD=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,OD=({type:e,data:t},n,r)=>AD&&t instanceof Blob?n?r(t):ID(t,r):zD&&(t instanceof ArrayBuffer||TD(t))?n?r(t):ID(new Blob([t]),r):r(_D[e]+(t||"")),ID=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function FD(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let MD;const RD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jD="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e{if("string"!=typeof e)return{type:"message",data:KD(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:LD(e.substring(1),t)};return PD[n]?e.length>1?{type:PD[n],data:e.substring(1)}:{type:PD[n]}:kD},LD=(e,t)=>{if(BD){const n=(e=>{let t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const u=new ArrayBuffer(a),c=new Uint8Array(u);for(t=0;t>4,c[l++]=(15&r)<<4|o>>2,c[l++]=(3&o)<<6|63&i;return u})(e);return KD(n,t)}return{base64:!0,data:e}},KD=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,VD=String.fromCharCode(30);function qD(){return new TransformStream({transform(e,t){!function(e,t){AD&&e.data instanceof Blob?e.data.arrayBuffer().then(FD).then(t):zD&&(e.data instanceof ArrayBuffer||TD(e.data))?t(FD(e.data)):OD(e,!1,(e=>{MD||(MD=new TextEncoder),t(MD.encode(e))}))}(e,(n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&"string"!=typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(n)}))}})}let HD;function ZD(e){return e.reduce(((e,t)=>e+t.length),0)}function UD(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const XD=GD.setTimeout,YD=GD.clearTimeout;function QD(e,t){t.useNativeTimers?(e.setTimeoutFn=XD.bind(GD),e.clearTimeoutFn=YD.bind(GD)):(e.setTimeoutFn=GD.setTimeout.bind(GD),e.clearTimeoutFn=GD.clearTimeout.bind(GD))}class JD extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class eC extends $D{constructor(e){super(),this.writable=!1,QD(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new JD(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=ND(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}const tC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),nC={};let rC,oC=0,iC=0;function aC(e){let t="";do{t=tC[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function sC(){const e=aC(+new Date);return e!==rC?(oC=0,rC=e):e+"."+aC(oC++)}for(;iC<64;iC++)nC[tC[iC]]=iC;let lC=!1;try{lC="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}const uC=lC;function cC(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||uC))return new XMLHttpRequest}catch(e){}if(!t)try{return new(GD[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}function dC(){}const pC=null!=new cC({xdomain:!1}).responseType;class hC extends $D{constructor(e,t){super(),QD(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var e;const t=WD(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new cC(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=hC.requestsCount++,hC.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=dC,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete hC.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(hC.requestsCount=0,hC.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",fC);else if("function"==typeof addEventListener){addEventListener("onpagehide"in GD?"pagehide":"unload",fC,!1)}function fC(){for(let e in hC.requests)hC.requests.hasOwnProperty(e)&&hC.requests[e].abort()}const mC="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),gC=GD.WebSocket||GD.MozWebSocket,vC="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const yC={websocket:class extends eC{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=vC?{}:WD(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=vC?new gC(e,t,n):t?new gC(e,t):new gC(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{try{this.ws.send(e)}catch(e){}r&&mC((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=sC()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!gC}},webtransport:class extends eC{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){HD||(HD=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(a,s){for(n.push(a);;){if(0===r){if(ZD(n)<1)break;const e=UD(n,1);i=128==(128&e[0]),o=127&e[0],r=o<126?3:126===o?1:2}else if(1===r){if(ZD(n)<2)break;const e=UD(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(ZD(n)<8)break;const e=UD(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>Math.pow(2,21)-1){s.enqueue(kD);break}o=i*Math.pow(2,32)+t.getUint32(4),r=3}else{if(ZD(n)e){s.enqueue(kD);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=qD();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const o=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),o())})).catch((e=>{}))};o();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this.writer.write(i).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t{r&&mC((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends eC{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=pC&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(VD),r=[];for(let e=0;e{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach(((e,i)=>{OD(e,!1,(e=>{r[i]=e,++o===n&&t(r.join(VD))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=sC()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new hC(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},bC=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,wC=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function xC(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=bC.exec(e||""),i={},a=14;for(;a--;)i[wC[a]]=o[a]||"";return-1!=n&&-1!=r&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=function(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,i.path),i.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,i.query),i}class DC extends $D{constructor(e,t={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=xC(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=xC(t.host).host),QD(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new yC[e](n)}open(){let e;if(this.opts.rememberUpgrade&&DC.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;DC.priorWebsocketSuccess=!1;const r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;DC.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function o(){n||(n=!0,u(),t.close(),t=null)}const i=e=>{const n=new Error("probe error: "+e);n.transport=t.name,o(),this.emitReserved("upgradeError",n)};function a(){i("transport closed")}function s(){i("socket closed")}function l(e){t&&e.name!==t.name&&o()}const u=()=>{t.removeListener("open",r),t.removeListener("error",i),t.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",i),t.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",DC.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){DC.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||SC&&e instanceof Blob||_C&&e instanceof File}function kC(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t=0&&e.num{delete this.acks[e];for(let t=0;t{this.io.clearTimeoutFn(o),t.apply(this,e)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...t){return new Promise(((n,r)=>{const o=(e,t)=>e?r(e):n(t);o.withError=!0,t.push(o),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n!==this._queue[0])return;return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:MC.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach((e=>{if(!this.sendBuffer.some((t=>String(t.id)===e))){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case MC.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case MC.EVENT:case MC.BINARY_EVENT:this.onevent(e);break;case MC.ACK:case MC.BINARY_ACK:this.onack(e);break;case MC.DISCONNECT:this.ondisconnect();break;case MC.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:MC.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:MC.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}qC.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},qC.prototype.reset=function(){this.attempts=0},qC.prototype.setMin=function(e){this.ms=e},qC.prototype.setMax=function(e){this.max=e},qC.prototype.setJitter=function(e){this.jitter=e};class HC extends $D{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,QD(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new qC({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const o=t.parser||r;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new DC(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=LC(t,"open",(function(){n.onopen(),e&&e()})),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},i=LC(t,"error",o);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),o(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(LC(e,"ping",this.onping.bind(this)),LC(e,"data",this.ondata.bind(this)),LC(e,"error",this.onerror.bind(this)),LC(e,"close",this.onclose.bind(this)),LC(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){mC((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new VC(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t){if(this.nsps[e].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;ne())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const ZC={};function UC(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=xC(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,o=n.id,i=n.path,a=ZC[o]&&i in ZC[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new HC(r,t):(ZC[o]||(ZC[o]=new HC(r,t)),s=ZC[o]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}Object.assign(UC,{Manager:HC,Socket:VC,io:UC,connect:UC});const $C=["requestId","chunk","index","end"];function GC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WC(e){let{socket:t,listener:n}=e;(0,d.useEffect)((()=>{if(t)return t.on("chat-block",e),()=>{t.off("chat-block",e)};function e(e){let{requestId:t,chunk:r="",index:i,end:a}=e,s=(0,ne.Z)(e,$C);const l=SD.get(t);if((0,u.kG)(l),a)SD.delete(t);else{if(null!==l.lastChunkIndex&&i!==l.lastChunkIndex+1){const e={chunk:r,index:i},t=l.outOfOrderChunks,n=function(e,t){let n=0,r=e.length;for(;n>>1;e[o].index{const e=UC(`${n}/socket/v1/document-assistant`,{reconnectionDelay:3e3,reconnection:!0,reconnectionAttempts:2,transports:["websocket"],agent:!1,upgrade:!1,rejectUnauthorized:!1,auth:{token:t}});return e.on("connect",(()=>{a(e)})),()=>{e.disconnect()}}),[n,t]),(0,d.useEffect)((()=>{if(i)return i.on("disconnect",(()=>{null==r||r()})),()=>{i.off("disconnect"),SD.clear()}}),[i,r]),(0,d.useEffect)((()=>{if(i)return i.io.on("reconnect_failed",(()=>{a(null),null==o||o()})),()=>{i.io.off("reconnect_failed")}}),[i,o]),i}((0,d.useMemo)((()=>({backendUrl:t,jwt:o,onDisconnect:()=>p(!0),onReconnectionFailed:()=>{p(!1),g((e=>[...e,{type:nE,id:"error",text:"",error:{title:"Connection error",description:"Failed to connect to the server. Please try again later."},sender:"AI",isComplete:!0}]))}})),[t,o])),y=(0,Fo.R9)((e=>{if((0,u.kG)(v),!v.connected||h)return;const t=(0,ED.v4)();SD.set(t,{lastChunkIndex:null,outOfOrderChunks:[]}),f(!0),g((n=>[...n,{type:JC,id:`request-${t}`,text:e,sender:"You",isComplete:!0},{type:JC,id:`response-${t}`,text:"",sender:"AI",isComplete:!1}])),null==i||i(),v.emit("agent-completion",{agent:"DocumentQA",issuer:"user",requestId:t,parameters:{userInput:e},documentId:s,chatId:n})})),b=(0,d.useCallback)(((e,t)=>QC(QC({},t),{},{type:tE,links:e.map((e=>{let{text:t,href:n}=e;if(n.startsWith("document://")){const[e]=n.replace("document://","").split(".");return{text:t,onPress:()=>null==l?void 0:l.jumpToRect(parseInt(e),new _.UL)}}return{text:t,onPress:()=>window.location.assign(n)}})),actionsText:"",actions:[]})),[l]),w=(0,d.useCallback)(((e,t)=>QC(QC({},t),{},{type:eE,suggestions:e.map((e=>{let{text:t}=e;return{onPress:()=>y(t),text:t}}))})),[y]),x=(0,d.useCallback)((e=>e.map((e=>{var t,n;let{text:r,sender:o}=e,i=(0,ne.Z)(e,XC);const a={type:JC,id:(0,ED.v4)(),text:r,sender:"ai"===o?"AI":"You",isComplete:!0};return"actions"in i&&Array.isArray(i.actions)&&(null===(t=i.actions)||void 0===t?void 0:t.length)>0&&null!==(n=i.actions)&&void 0!==n&&n.every((e=>{let{type:t}=e;return"prompt"===t}))?w(i.actions,a):"links"in i&&Array.isArray(i.links)&&i.links.length>0?b(i.links,a):a}))),[w,b]);!function(e){let{socket:t,jwt:n,backendUrl:r,chatSessionId:o,documentId:i,userId:a,documentHandle:s,onBeforeInitialize:l,onChatHistoryReceived:u}=e;(0,d.useEffect)((()=>{!async function(){t&&(l(),await fetch(`${r}/api/v1/users/${a}/documents/${i}/handle/${s}`,{headers:{Authorization:`Token token=${n}`}}),t.on("document-assistant-ready",(async()=>{const e=await fetch(`${r}/api/v1/users/${a}/sessions/${o}`,{headers:{Authorization:`Token token=${n}`}}),t=await e.json();u(t)})),t.emit("initialize",{userId:a,documentId:i,documentHandle:s,sessionId:o}))}()}),[t,n,r,o,i,a,s,l,u])}((0,d.useMemo)((()=>({socket:v,jwt:o,backendUrl:t,chatSessionId:n,documentId:s,userId:r,documentHandle:a,onBeforeInitialize:()=>p(!0),onChatHistoryReceived:e=>{if(v)if(0===e.length){const e=(0,ED.v4)();SD.set(e,{lastChunkIndex:null,outOfOrderChunks:[]}),v.emit("agent-completion",{agent:"SuggestedQuestions",issuer:"system",requestId:e,parameters:{userInput:""},documentId:s,chatId:n}),g((t=>[...t,{type:eE,suggestions:[],id:`response-${e}`,text:"",sender:"AI",isComplete:!1}])),p(!1)}else g(x(e)),p(!1)}})),[v,o,n,s,r,a,t,x]));const D=(0,d.useMemo)((()=>({socket:v,listener:e=>{let{requestId:t,end:n,chunk:r,actions:o,links:i}=e;n&&f(!1),g((e=>e.map((e=>{if(e.id===`response-${t}`){const t=QC(QC({},e),{},{text:e.text+r,isComplete:n});return Array.isArray(o)&&o.every((e=>{let{type:t}=e;return"prompt"===t}))?w(o,t):Array.isArray(i)&&i.length>0?b(i,t):t}return e}))))}})),[v,w,b]);WC(D);return function(e){let{socket:t,listener:n}=e;(0,d.useEffect)((()=>{if(t)return t.on("error",e),()=>{t.off("error",e)};function e(e){let{requestId:t,message:r,code:o}=e;const i=SD.get(t);(0,sD.kG)(i),SD.delete(t),n({requestId:t,message:r,code:o})}}),[t,n])}((0,d.useMemo)((()=>({socket:v,listener:e=>{let{requestId:t,message:n,code:r}=e;g((e=>e.map((e=>e.id===`response-${t}`?QC(QC({},e),{},{type:nE,error:{title:r,description:n},isComplete:!0}):e))))}})),[v])),{messages:m,onSendMessage:y,isLoading:c,isConnected:!(null==v||!v.connected),isGenerating:h}}function oE(e){let{toolbarsHeight:t,configuration:n,documentHandle:r,documentId:o,isOpen:i}=e;const a=(0,cx.Me)(),s=(0,l.v9)((e=>e.instance)),{messages:u,onSendMessage:c,isLoading:p,isConnected:h,isGenerating:f}=rE({configuration:n,documentHandle:r,documentId:o,instance:s}),[m,g]=(0,d.useState)(""),v=(0,l.I0)(),y=(0,d.useCallback)((()=>{v((0,Vt.Z_)(!1))}),[v]),b=(0,l.v9)((e=>e.ui[lD.x.ChatDialog])),w=(0,d.useCallback)((e=>{c(e),g("")}),[c]),x=(0,d.useMemo)((()=>({isOpen:i,isLoading:p,isDisabled:!h||f,messages:u,onMessageSubmit:w,onInputChanged:g,titleId:a,style:{height:"calc(100% - 49px)",minHeight:"40vh"},onCloseRequest:y,inputValue:m,toolbarsHeight:t})),[f,h,i,a,y,m,g,t,w,p,u]);return cD(lD.x.ChatDialog,b,x,s)}function iE(e){let{isOpen:t,configuration:n,toolbarsHeight:r,documentId:o,documentHandle:i}=e;const a=function(e){let{isMounted:t,delay:n}=e;const[r,o]=(0,d.useState)(!1);return(0,d.useEffect)((()=>{let e;return t&&!r?o(!0):!t&&r&&(e=setTimeout((()=>o(!1)),n)),()=>clearTimeout(e)}),[t,n,r]),r}({isMounted:t,delay:200});return a?d.createElement(oE,{configuration:n,toolbarsHeight:r,documentId:o,documentHandle:i,isOpen:t}):null}var aE,sE,lE,uE,cE;function dE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pE(e){for(var t=1;t(0,Vn.j$)(e,this.props.state,t))),crop:null,modalClosurePreventionError:null,noLicenseKeyTimeoutFinished:!1,resizeWatchFrameWindow:null,theme:fE(this.props.state)}),(0,o.Z)(this,"_memoizedMapPagesToPageKeys",(0,dn.Z)((e=>e.map((e=>e.pageKey))))),(0,o.Z)(this,"handleScrollElementChange",(e=>{this.setState({scrollElement:e})})),(0,o.Z)(this,"getScrollElement",(()=>{const{scrollElement:e}=this.state;return(0,u.kG)(e),e})),(0,o.Z)(this,"setGlobalCursor",(e=>{this.getScrollElement().style.cursor=e})),(0,o.Z)(this,"getThumbnailScale",(()=>this.props.state.containerRect.width<=Be.Fg?.55:1)),(0,o.Z)(this,"isAnnotationReadOnly",(e=>(0,Vn.lV)(e,this.props.state)||!(0,Eo.CM)(e,this.props.state))),(0,o.Z)(this,"isCommentReadOnly",(e=>(0,Vn.Ez)(e,this.props.state)||!(0,Eo.kR)(e,this.props.state))),(0,o.Z)(this,"reloadDocument",(()=>{const e=this.props.state.documentHandle;this.props.dispatch((0,Db.NV)((()=>this.closeReloadDocumentModal(e)),(e=>{throw e})))})),(0,o.Z)(this,"closeReloadDocumentModal",(e=>{this.setState({silenceOutdatedDocumentPromptForHandle:e})})),(0,o.Z)(this,"_canDeleteAnnotationCP",(e=>(0,Eo.Kd)(e,this.props.state))),(0,o.Z)(this,"_canDeleteCommentCP",(e=>(0,Eo.Ss)(e,this.props.state))),(0,o.Z)(this,"renderSidebar",((e,t)=>{const n=this.props.state,r=this.props.state.containerRect.width-e<=t,o=n.viewportState.scrollMode===zs.G.DISABLED,i=n.sidebarOptions;if(e<=0)return null;switch(n.sidebarMode){case bu.f.THUMBNAILS:return d.createElement(Iy,{scale:this.getThumbnailScale(),width:e,selectedPageIndex:n.viewportState.currentPageIndex,closeOnPress:r,navigationDisabled:o});case bu.f.DOCUMENT_OUTLINE:return d.createElement(bg,{outlineElements:n.documentOutlineState.elements,expanded:n.documentOutlineState.expanded,closeOnPress:r,backend:n.backend,documentHandle:n.documentHandle,navigationDisabled:o});case bu.f.ANNOTATIONS:return d.createElement(Lu,{pages:n.pages,annotations:n.annotations,comments:n.comments,commentThreads:n.commentThreads,formFields:n.formFields,isAnnotationReadOnly:this.isAnnotationReadOnly,isCommentReadOnly:this.isCommentReadOnly,selectedAnnotationIds:n.selectedAnnotationIds,sidebarOptions:i[bu.f.ANNOTATIONS],closeOnPress:r,navigationDisabled:o,canDeleteAnnotationCP:this._canDeleteAnnotationCP,canDeleteCommentCP:this._canDeleteCommentCP,focusedAnnotationIds:n.focusedAnnotationIds});case bu.f.BOOKMARKS:return d.createElement(bb,{source:n.bookmarkManager},(t=>d.createElement(yb,{bookmarks:t,bookmarkManager:n.bookmarkManager,currentPageIndex:n.viewportState.currentPageIndex,pages:n.pages,width:e,closeOnPress:r})));case bu.f.SIGNATURES:return d.createElement(sx,{annotations:n.annotations,formFields:n.formFields,signaturesInfo:n.digitalSignatures,closeOnPress:r,navigationDisabled:o});case bu.f.LAYERS:return d.createElement(Wx,{sidebarOptions:i[bu.f.LAYERS],setSidebarOptions:e=>this.setSidebarOptions(bu.f.LAYERS,e),OCGLayers:n.OCGLayers,visibleLayers:n.visibleOCGLayers});case bu.f.CUSTOM:return aE||(aE=d.createElement(hb,null));default:return null}})),(0,o.Z)(this,"_viewportEl",null),(0,o.Z)(this,"_viewportRef",(e=>{"gecko"===Ke.SR&&(e?(this._viewportEl=e,this._viewportEl.addEventListener("copy",this._copyEventHandler)):this._viewportEl&&(this._viewportEl.removeEventListener("copy",this._copyEventHandler),this._viewportEl=null))})),(0,o.Z)(this,"_copyEventHandler",(e=>{var t;if(!this._viewportEl)return;if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;const n=(r=this._viewportEl,new $v(null===(o=r.ownerDocument.defaultView)||void 0===o?void 0:o.getSelection(),r,js().selectableText)._getSelectedTextWithNL());var r,o;null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",n),e.preventDefault()})),(0,o.Z)(this,"renderViewport",(e=>{var t,n;const{selectedAnnotation:r,state:o,dispatch:i}=this.props,{viewportState:a}=o,s=r&&null!==r.pageIndex&&"function"==typeof o.annotationTooltipCallback&&!o.interactionsDisabled?o.annotationTooltipCallback(r):[];return d.createElement(ey,{dispatch:this.props.dispatch,currentTextSelection:this.props.state.currentTextSelection,selectedAnnotationIds:this.props.state.selectedAnnotationIds,activeAnnotationNote:this.props.state.activeAnnotationNote,rootElement:null===(t=this.props.state.frameWindow)||void 0===t?void 0:t.document.documentElement,interactionMode:this.props.state.interactionMode,modalClosurePreventionError:this.state.modalClosurePreventionError,shadowRoot:this.props.state.shadowRoot},d.createElement("div",{style:{position:"relative",height:"100%"}},d.createElement($y,{viewportState:a,scrollbarOffset:o.scrollbarOffset},d.createElement(hE,{dispatch:i,viewportState:a,hasSelectedAnnotations:this.props.state.selectedAnnotationIds.size>0,document:null===(n=o.frameWindow)||void 0===n?void 0:n.document,shadowRoot:o.shadowRoot},d.createElement(ue.Provider,null,a.scrollMode===zs.G.PER_SPREAD?d.createElement(dv,{dispatch:i,viewportState:a,hasSelection:this.props.state.selectedAnnotationIds.size>0||null!==this.props.state.currentTextSelection,scrollElement:this.state.scrollElement,interactionsDisabled:o.interactionsDisabled},this.renderViewportContent(s,e)):this.renderViewportContent(s,e))),this._isFullscreen&&this.renderExpandendNoteAnnotations(s))))})),(0,o.Z)(this,"_handleDocumentEditorCancel",(()=>{this.props.dispatch((0,Vt.sJ)())})),(0,o.Z)(this,"_closeSignatureModal",(()=>{const e={annotations:(0,s.aV)(),reason:J.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Vt.MV)())})),(0,o.Z)(this,"_createSignatureFromAnnotation",((e,t,n)=>{e instanceof de.Zc&&this.props.dispatch((0,yt.gX)({strokeColor:e.strokeColor}));const{signatureRect:r,signaturePageIndex:o}=this.props.state.signatureState,{attachments:i}=this.props.state;let a;if("imageAttachmentId"in e&&e.imageAttachmentId&&i.has(e.imageAttachmentId)){const t=i.get(e.imageAttachmentId);(0,u.kG)(t),a={hash:e.imageAttachmentId,attachment:t}}this.props.dispatch((0,Cb.Th)(e,{signatureRect:r,signaturePageIndex:o},a)),t&&this.props.dispatch((0,Cb.T6)(e,n)),this.props.dispatch((0,Vt.MV)())})),(0,o.Z)(this,"_createSignatureFromFile",(async(e,t,n)=>{const{signatureRect:r,signaturePageIndex:o}=this.props.state.signatureState;this.props.dispatch((0,Vt.MV)());const{hash:i,dimensions:a,attachment:s}=await(0,yt.Iv)(e);this.props.dispatch((0,Cb.l5)({hash:i,dimensions:a,attachment:s,file:e},t,n,{signatureRect:r,signaturePageIndex:o}))})),(0,o.Z)(this,"_createSignature",((e,t,n)=>{e instanceof de.q6?this._createSignatureFromAnnotation(e,t,n):this._createSignatureFromFile(e,t,n)})),(0,o.Z)(this,"_deleteStoredSignature",((e,t)=>{this.props.dispatch((0,Cb.Bm)(e,t))})),(0,o.Z)(this,"_closeStampModal",(()=>{const e={annotations:(0,s.aV)(),reason:J.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,Vt.pM)())})),(0,o.Z)(this,"_createAnnotationFromTemplate",(e=>{this.props.dispatch((0,Vt.pM)()),this.props.dispatch((0,yt.ip)(e))})),(0,o.Z)(this,"_getAttachments",(()=>this.props.state.attachments)),(0,o.Z)(this,"_fetchDigitalSignaturesInfo",(()=>{var e;null===(e=this.props.state.backend)||void 0===e||e.getSignaturesInfo().then((e=>{this.props.dispatch((0,Qy.Y)(e))})).catch(u.vU)})),(0,o.Z)(this,"_setA11yStatusMessage",(e=>{this.props.dispatch((0,Vt.iJ)("")),window.setTimeout((()=>{this.props.dispatch((0,Vt.iJ)(e))}),200)})),(0,o.Z)(this,"isDocumentComparisonAvailable",(()=>(0,Mb.RG)(this.props.state))),(0,o.Z)(this,"handleCrop",(e=>{(0,u.kG)(this.state.crop),this.props.dispatch((0,Db.b_)([{type:"cropPages",cropBox:this.state.crop.area,pageIndexes:e?void 0:[this.state.crop.pageIndex]}],(()=>{}),(()=>{}))),this.props.dispatch((0,Vt.Cn)())})),(0,o.Z)(this,"setCropDetails",((e,t)=>{this.setState({crop:{area:e,pageIndex:t}})})),(0,o.Z)(this,"onCropCancel",(()=>{const{dispatch:e}=this.props;e((0,Vt.Cn)())})),(0,o.Z)(this,"onSelectButtonImportIconImage",(e=>{const{dispatch:t,state:n}=this.props,{backend:r}=n;if((0,u.kG)(r),!e)return void this.props.dispatch((0,er._4)(null));const o=new FileReader;o.onload=async()=>{const n=this.props.state.buttonToImportIconFor;await r.updateButtonIcon(n,o.result,e.type),t((0,er._4)(null)),r.clearPageAPStreams(null==n?void 0:n.pageIndex,(0,s.l4)([n.id])),t((0,yt.Zr)((0,s.aV)([n.set("buttonIconUpdatedAt",Date.now())])))},o.readAsArrayBuffer(e)})),(0,o.Z)(this,"getToolbarComponent",(()=>{const{selectedAnnotation:e,activeAnnotationNote:t,state:n,currentTextSelection:r}=this.props,{viewportState:o,selectedAnnotationIds:i}=n,a=n.toolbarPlacement===Du.p.TOP?"top":"bottom",s=n.selectedAnnotationIds.every((e=>{const t=n.annotations.get(e);return!!t&&("isMeasurement"in t&&t.isMeasurement())}));if(n.selectedAnnotationIds.size>1&&!s)return d.createElement(Gw,{selectedAnnotationIds:i});if(e&&!(0,Ve.fF)(n.interactionMode)||t){const r=e?n.pages.get(e.pageIndex):null,a=r&&r.pageSize,s=e&&n.annotationPresetIds.get(e.id),l=!(!e||!(0,Eo.CM)(e,n)),u=(0,Vn.aE)(this.props.state),c=!(!e||!(0,Eo.Kd)(e,n)),p=i.map((e=>n.annotations.get(e)));return d.createElement(ap,{dispatch:this.props.dispatch,annotation:e,selectedAnnotationPageSize:a,isAnnotationReadOnly:this.isAnnotationReadOnly,variantAnnotationPresetID:s,selectedAnnotationMode:this.props.state.selectedAnnotationMode,zoomLevel:o.zoomLevel,position:n.toolbarPlacement===Du.p.TOP?"top":"bottom",eventEmitter:n.eventEmitter,frameWindow:n.frameWindow,viewportWidth:n.containerRect.width,activeAnnotationNote:t,showAnnotationNotes:this.props.state.showAnnotationNotes,canEditAnnotationCP:l,canDeleteSelectedAnnotationCP:c,areOnlyElectronicSignaturesEnabled:u,lastToolbarActionUsedKeyboard:n.lastToolbarActionUsedKeyboard,interactionMode:n.interactionMode,keepSelectedTool:this.props.state.keepSelectedTool,annotationToolbarColorPresets:n.annotationToolbarColorPresets,annotationToolbarItems:n.annotationToolbarItems,richTextEditorRef:n.richTextEditorRef,customFontsReadableNames:n.customFontsReadableNames,isCalibratingScale:n.isCalibratingScale,selectedAnnotations:p})}var l,u;return n.interactionMode===B.A.INK_ERASER?d.createElement(cp,{dispatch:this.props.dispatch,inkEraserCursorWidth:null!==(l=null===(u=n.annotationPresets.get("ink"))||void 0===u?void 0:u.inkEraserWidth)&&void 0!==l?l:it.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH,position:a,viewportWidth:n.containerRect.width}):n.interactionMode===B.A.DOCUMENT_CROP?d.createElement(_b,{onCropApply:this.handleCrop,onCropCancel:this.onCropCancel,position:a,isCropAreaSelected:!!this.state.crop,frameWindow:n.frameWindow}):(0,Ve.fF)(n.interactionMode)?d.createElement(nw,{position:a,interactionMode:n.interactionMode,dispatch:this.props.dispatch,frameWindow:n.frameWindow,modalClosurePreventionError:this.state.modalClosurePreventionError,selectedAnnotation:!!n.selectedAnnotationIds.size}):n.interactionMode===B.A.CONTENT_EDITOR?d.createElement(zb,{position:a,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow,creationMode:n.contentEditorSession.mode===bl.wR.Create}):n.interactionMode===B.A.MEASUREMENT?d.createElement(Ww,{position:a,interactionMode:n.interactionMode,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow,disablePointSnapping:n.viewportState.disablePointSnapping,backend:n.backend}):d.createElement(Bg,{dispatch:this.props.dispatch,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,position:n.toolbarPlacement===Du.p.TOP?"top":"bottom",showComments:(0,sl.oK)(n),showRedactions:this.props.state.features.includes(ee.q.REDACTIONS),showDocumentAssistant:this.props.state.features.includes(ee.q.DOCUMENT_ASSISTANT)&&!!this.props.state.documentAssistant.configuration,inlineTextSelectionToolbarItems:n.inlineTextSelectionToolbarItems,currentTextSelection:r})})),(0,o.Z)(this,"handleSidebarResize",(e=>{let{sidebarRect:t,isDragging:n,size:r}=e;const o=(0,Jb.p)(this.props.state,t,r);this.props.dispatch((0,yu.dx)(o,!1)),this.setState({isResizingSidebar:n})})),(0,o.Z)(this,"handleResizeHelperResize",((e,t)=>{const n=this.props.state,r=e.width,o=n.shadowRoot?e.left:0,i=n.containerRect.width===n.sidebarWidth,a=!i&&r-n.sidebarWidth<200;let s;n.sidebarMode&&!a?i?(s=e.set("width",r).set("left",o),this.props.dispatch((0,yu.Pt)(r))):s=e.set("width",r-n.sidebarWidth).set("left",(n.sidebarPlacement===wu.d.START?n.sidebarWidth:0)+o):(s=e,n.sidebarMode&&a&&this.props.dispatch((0,Vt.mu)())),this.props.dispatch((0,yu.dx)(s,t))})),(0,o.Z)(this,"_updateResizeWatchFrameWindow",(e=>{this.setState({resizeWatchFrameWindow:e})}))}setSidebarOptions(e,t){const{state:n}=this.props;this.props.dispatch((0,Vt.vI)(pE(pE({},n.sidebarOptions),{},{[e]:t})))}renderViewportContent(e,t){const{selectedAnnotation:n,state:r,dispatch:o,currentTextSelection:i}=this.props,{viewportState:a,interactionsDisabled:l,interactionMode:u,formFields:c,frameWindow:p,eventEmitter:h,locale:f,scrollElement:m,measurementToolState:g,contentEditorSession:{fontMismatchTooltip:v,textBlockInteractionState:y},selectedAnnotationIds:b}=r;let w=null;if(r.interactionMode!==B.A.TEXT_HIGHLIGHTER&&!r.interactionsDisabled&&i&&!t(de.On)&&r.inlineTextMarkupToolbar){const e=(0,sl.oK)(this.props.state),n=this.props.state.features.includes(ee.q.REDACTIONS),s=this.props.state.features.includes(ee.q.DOCUMENT_ASSISTANT)&&!!this.props.state.documentAssistant.configuration,l=this.props.state.inlineTextSelectionToolbarItems?this.props.state.inlineTextSelectionToolbarItems({defaultItems:ex({showComments:e,showRedactions:n,showDocumentAssistant:s}),hasDesktopLayout:!1},i):ex({showComments:e,showRedactions:n,showDocumentAssistant:s}),u=(0,Li.U2)(r,i.textRange);w=l.length>0&&u?d.createElement(Qg.Z,{referenceRect:u,viewportState:a,className:"PSPDFKit-Popover-Text-Markup-Toolbar"},d.createElement(jg,{dispatch:o,isAnnotationTypeReadOnly:t,showComments:e,showRedactions:n,showDocumentAssistant:s,inlineTextSelectionToolbarItems:this.props.state.inlineTextSelectionToolbarItems,currentTextSelection:i})):null}let x=null;const D=r.annotations.filter((e=>e.readOnly||e.locked||e.lockedContents)),C=r.hoverAnnotationIds.find((e=>D.has(e))),E=r.focusedAnnotationIds.find((e=>D.has(e))),S=C?D.get(C):void 0,P=E?D.get(E):void 0;let k=(0,s.aV)();const A=!!S&&(S instanceof _.Qi||(S instanceof de.Jn||S instanceof de.FV)&&S.isCommentThreadRoot);let z,T;if(S&&!A&&(k=k.push(S)),P&&(k=k.push(P)),k.size>0&&k.map((e=>{const t=(0,j.SY)(e,a.zoomLevel,a.pagesRotation).apply((0,G.cr)(a,e.pageIndex).translate(a.scrollPosition.scale(a.zoomLevel)));return x=d.createElement(Jw,{referenceRect:t,viewportState:a,isReadOnly:e.readOnly,isLocked:e.locked,hasLockedContents:e.lockedContents})})),z=r.viewportState.documentComparisonMode&&r.backend?d.createElement(Rb.ZP,{renderPageCallback:r.renderPageCallback,backend:r.backend,allowedTileScales:r.allowedTileScales,viewportState:r.viewportState,interactionMode:r.interactionMode,scrollElement:r.scrollElement,dispatch:o,configuration:r.viewportState.documentComparisonMode,viewportWidth:r.containerRect.width,renderPagePreview:r.renderPagePreview}):a.scrollMode===zs.G.PER_SPREAD||a.scrollMode===zs.G.DISABLED?d.createElement(av,{onCropChange:this.setCropDetails,dispatch:o,spreadIndex:(0,Ds.dF)(a,a.currentPageIndex),viewportState:a,interactionMode:r.interactionMode,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(r.pages),setGlobalCursor:this.setGlobalCursor}):d.createElement(rf,{onCropChange:this.setCropDetails,dispatch:o,viewportState:a,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(r.pages),setGlobalCursor:this.setGlobalCursor}),g&&r.backend&&(0,F.hj)(g.drawnAnnotationPageIndex)){var O;const e={inViewport:!0,page:r.pages.get(g.drawnAnnotationPageIndex),backend:r.backend,shouldPrerender:!0,zoomLevel:a.zoomLevel,rotation:a.pagesRotation,renderPageCallback:r.renderPageCallback,allowedTileScales:"all",documentHandle:r.documentHandle,viewportRect:a.viewportRect,forceDetailView:!1,renderPagePreview:r.renderPagePreview,isPageSizeReal:!!r.arePageSizesLoaded,inContentEditorMode:!1};let t=g.magnifierCursorPosition;const n=(0,Ds.Ad)(a),o=(0,Ds.dF)(a,g.drawnAnnotationPageIndex),i=(0,Ds.Xk)(a,o);let s=(n-i.width)/2*a.zoomLevel;r.sidebarMode&&(s+=r.sidebarWidth);let l=0;if((0,Ds.nw)(a)===nf.X.DOUBLE){const e=(0,Ds.hK)(a,g.drawnAnnotationPageIndex);if(i.height!==e.height&&(l=(i.height-e.height)/2*a.zoomLevel),g.drawnAnnotationPageIndex%2!=0){s+=(0,Ds.hK)(a,g.drawnAnnotationPageIndex-1).width*a.zoomLevel}}t=null===(O=g.magnifierCursorPosition)||void 0===O?void 0:O.merge({x:g.magnifierCursorPosition.x-s,y:g.magnifierCursorPosition.y-l}),T=d.createElement(qw.B,{pageRendererComponentProps:e,viewportState:a,scrollElement:m,className:"PSPDFKit-Measurement-Magnifier",label:g.magnifierLabel,pageIndex:g.drawnAnnotationPageIndex,cursorPosition:t,isMobile:r.containerRect.width<=Be.Fg})}const I=n?r.pages.get(n.pageIndex):null,M=I&&I.pageSize;return d.createElement(Mv,{dispatch:o,viewportState:a,scrollbarOffset:r.scrollbarOffset,onScrollElementChange:this.handleScrollElementChange,scrollDisabled:r.scrollDisabled},d.createElement(iv,{enabled:r.interactionMode===B.A.PAN&&!Ke.Ni&&!r.interactionsDisabled&&!!r.scrollElement},d.createElement("div",{className:Xb().viewportContent,ref:this._viewportRef,"data-testid":"viewport"},z,(0,sl.Y7)(r)&&a.commentMode&&d.createElement(Hm,{maxMentionSuggestions:r.maxMentionSuggestions,mentionableUsers:r.mentionableUsers,annotations:this.props.state.annotations,viewportState:a,selectedAnnotation:this.props.selectedAnnotation,comments:this.props.state.comments,commentThreads:this.props.state.commentThreads,dispatch:o,keepSelectedTool:this.props.state.keepSelectedTool,frameWindow:this.props.state.frameWindow,anonymousComments:this.props.state.anonymousComments})),w,x,n&&!(n instanceof _.Qi)&&e.length>0&&!this.props.noteAnnotationToModify&&d.createElement(Qg.Z,{referenceRect:(0,bi.q)((0,j.Wj)(n,a.pagesRotation,a.viewportRect.getSize(),a.zoomLevel).apply((0,G.cr)(a,n.pageIndex).translate(a.scrollPosition.scale(a.zoomLevel))),a.viewportRect.getSize()),viewportState:a,className:"PSPDFKit-Popover-Annotation-Tooltip"},d.createElement(Hy,{items:e})),n&&null!==n.pageIndex&&n instanceof _.UX&&n.isMeasurement()&&r.isCalibratingScale&&d.createElement(gu.ZP,{annotation:n,isHidden:l,referenceRect:(0,bi.q)((0,j.Wj)(n,a.pagesRotation,a.viewportRect.getSize(),a.zoomLevel).apply((0,G.cr)(a,n.pageIndex).translate(a.scrollPosition.scale(a.zoomLevel))),a.viewportRect.getSize()),viewportState:a,eventEmitter:h,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),frameWindow:p,locale:f}),n&&1===b.size&&(0,Ve.fF)(u)&&n instanceof _.x_&&d.createElement(Mw,{modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),annotation:n,isHidden:l,referenceRect:(0,bi.q)((0,j.Wj)(n,a.pagesRotation,a.viewportRect.getSize(),a.zoomLevel).apply((0,G.cr)(a,n.pageIndex).translate(a.scrollPosition.scale(a.zoomLevel))),a.viewportRect.getSize()),viewportState:a,formFields:c,dispatch:o,frameWindow:p,eventEmitter:h,locale:f,isUnsavedAnnotation:n.id===this.props.state.formDesignerUnsavedWidgetAnnotation,pageSize:M,customFontsReadableNames:this.props.state.customFontsReadableNames||(0,s.l4)()}),this.renderLinkAnnotationPopover(),T,this.renderAnimatedExpandendNoteAnnotations(e),null!=v&&v.fontFace&&(null==y?void 0:y.state)===bl.FP.Active&&null!=v&&v.rect?d.createElement(Uw,{referenceRect:v.rect,fontFace:v.fontFace,viewportState:a,activeTextBlock:y}):null))}getSnapshotBeforeUpdate(e){const t=e.selectedNoteAnnotations&&this.props.selectedNoteAnnotations&&0!==e.selectedNoteAnnotations.size&&e.selectedNoteAnnotations.size===this.props.selectedNoteAnnotations.size;return this._animateNoteAnnotation=!window["PSPDFKit-disable-animations"]&&!t,null}renderAnimatedExpandendNoteAnnotations(e){const t=this._isFullscreen?null:this.renderExpandendNoteAnnotations(e);return this._animateNoteAnnotation&&null!==t?d.createElement(fu.Z,null,t.map((e=>d.createElement(hu.Z,{key:`NoteAnnotationPopopver-${e.props.noteAnnotation.id}`,timeout:{enter:window["PSPDFKit-disable-animations"]?0:100,exit:window["PSPDFKit-disable-animations"]?0:150},classNames:{enter:Qb().fadeEnter,enterActive:Qb().fadeEnterActive,exit:Qb().fadeExit,exitActive:Qb().fadeExitActive}},e)))):d.createElement("div",null,t)}renderExpandendNoteAnnotations(e){var t,n,r,o;if(!this.props.state.showAnnotations||this.props.state.interactionsDisabled&&!this._isFullscreen||this.props.state.selectedAnnotationIds.size>1)return(0,s.l4)();const i=[];if(this.props.activeAnnotationNote&&(0,j.YV)(null===(t=this.props.activeAnnotationNote)||void 0===t?void 0:t.parentAnnotation)){const e=this.props.activeAnnotationNote;i.push(d.createElement(Jg,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:e,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}if(this.props.hoverAnnotationNote&&(0,j.YV)(null===(n=this.props.hoverAnnotationNote)||void 0===n?void 0:n.parentAnnotation)&&(!this.props.activeAnnotationNote||(null===(r=this.props.hoverAnnotationNote)||void 0===r||null===(r=r.parentAnnotation)||void 0===r?void 0:r.id)!==(null===(o=this.props.activeAnnotationNote)||void 0===o||null===(o=o.parentAnnotation)||void 0===o?void 0:o.id))){const e=this.props.hoverAnnotationNote;i.push(d.createElement(Jg,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:null,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!0,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}return this.props.selectedNoteAnnotations&&0!==this.props.selectedNoteAnnotations.size?this.props.selectedNoteAnnotations.filter((e=>null!==e.pageIndex)).map((t=>{const n=!!this.props.selectedAnnotation&&t.id===this.props.selectedAnnotation.id;return d.createElement(Jg,{key:`NoteAnnotationPopopver-${t.id}`,noteAnnotation:t,noteAnnotationToModify:this.props.noteAnnotationToModify,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!n,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,tools:n?e:[],collapseSelectedNoteContent:this.props.state.collapseSelectedNoteContent,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool})})).concat(i):(0,s.l4)(i)}renderLinkAnnotationPopover(){const{selectedAnnotation:e,state:t,dispatch:n,hoveredLinkAnnotation:r}=this.props,{viewportState:o,frameWindow:i,locale:a,pages:s,linkAnnotationMode:l}=t,u=e&&e instanceof de.R1&&!l,c=!(null==r||!r.action||u);if(!c&&!u)return null;const p=c?r:e;return d.createElement(Sm,{annotation:p,viewportState:o,dispatch:n,frameWindow:i,locale:a,pages:s,isHover:c})}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._noLicenseTimeout&&(clearTimeout(this._noLicenseTimeout),this._noLicenseTimeout=null),this._isMounted=!1}componentDidUpdate(e){this.props.state.interactionMode!==B.A.DOCUMENT_CROP&&e.state.interactionMode===B.A.DOCUMENT_CROP&&this.setState({crop:null}),(0,Ve.fF)(e.state.interactionMode)&&!(0,Ve.fF)(this.props.state.interactionMode)&&this.props.dispatch((0,Vt.LE)(!1)),this.props.state.interactionMode!==B.A.INK_SIGNATURE&&this.props.state.interactionMode!==B.A.SIGNATURE||this.props.state.signatureState.storedSignatures||this.props.dispatch((0,Cb.de)());var t,n;((this.props.state.features.includes(ee.q.DIGITAL_SIGNATURES)&&!this.props.state.digitalSignatures&&this.props.state.connectionState.name===ls.F.CONNECTED||(e.state.documentHandle!==this.props.state.documentHandle||!this.props.state.digitalSignatures)&&this.props.state.connectionState.name===ls.F.CONNECTED&&this.props.state.features.includes(ee.q.DIGITAL_SIGNATURES))&&this._fetchDigitalSignaturesInfo(),e.state.features.equals(this.props.state.features)&&e.state.backend===this.props.state.backend&&e.state.backendPermissions.equals(this.props.state.backendPermissions)&&e.state.documentPermissions.equals(this.props.state.documentPermissions)&&e.state.readOnlyEnabled===this.props.state.readOnlyEnabled&&e.state.editableAnnotationTypes.equals(this.props.state.editableAnnotationTypes)&&e.state.toolbarItems.equals(this.props.state.toolbarItems)&&e.state.showComments===this.props.state.showComments||this.setState({isAnnotationTypeReadOnlyMemoized:(0,dn.Z)((e=>(0,Vn.j$)(e,this.props.state))),filteredItems:(0,Rc.I4)(this.props.state)}),this.props.selectedAnnotation&&this.props.dispatch((0,Se.IP)(this.props.selectedAnnotation.id)),e.state.evaluation!==this.props.state.evaluation)&&(this.props.state.noLicenseKey&&"STANDALONE"===(null===(t=this.props.state.backend)||void 0===t?void 0:t.type)&&this.props.state.evaluation&&(this._noLicenseTimeout=setTimeout((()=>{this._isMounted&&this.setState({noLicenseKeyTimeoutFinished:!0})}),60*(null===(n=this.props.state.evaluation)||void 0===n?void 0:n.timeInMinutes)*1e3)))}render(){var e,t,n;const{selectedAnnotation:r,activeAnnotationNote:o,state:i}=this.props,{viewportState:a,isDocumentHandleOutdated:s}=i;this._isFullscreen=a.viewportRect.width<=Be.D4;const l=i.containerRect.width<=Be.Fg?i.containerRect.width:200,u=r instanceof _.Qi&&this.isAnnotationReadOnly(r)&&!this._isFullscreen,c=i.currentItemPreset&&i.annotationPresets.get(i.currentItemPreset)||{},{SIGNATURE_SAVE_MODE:p,DISABLE_KEYBOARD_SHORTCUTS:f}=it.Options,m=i.sidebarMode&&d.createElement(ry,{initialSize:i.sidebarWidth,minWidth:l,maxWidth:i.containerRect.width,draggerSize:i.containerRect.width<=Be.Fg?0:6,onResize:this.handleSidebarResize,isRTL:i.sidebarPlacement===wu.d.END,dispatch:this.props.dispatch,shadowRoot:i.shadowRoot},this.renderSidebar),g=(r||o)&&!u||!i.interactionsDisabled&&(i.currentTextSelection||i.interactionMode===B.A.TEXT_HIGHLIGHTER)&&!i.inlineTextMarkupToolbar||i.interactionMode===B.A.INK_ERASER||i.interactionMode===B.A.DOCUMENT_CROP||i.interactionMode===B.A.CONTENT_EDITOR||i.interactionMode===B.A.MEASUREMENT||(0,Ve.fF)(i.interactionMode),v=!(!r||!(0,Eo.Kd)(r,i)),y=a.documentComparisonMode&&d.createElement(Hb,{position:i.toolbarPlacement===Du.p.TOP?"top":"bottom"}),b=!y&&i.enableAnnotationToolbar&&!(r&&this.props.state.commentThreads.has(r.id))&&d.createElement(fu.Z,null,g?d.createElement(hu.Z,{timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:i.toolbarPlacement===Du.p.TOP?{enter:Qb().slideDownEnter,enterActive:Qb().slideDownEnterActive,exit:Qb().slideDownExit,exitActive:Qb().slideDownExitActive}:{enter:Qb().slideUpEnter,enterActive:Qb().slideUpEnterActive,exit:Qb().slideUpExit,exitActive:Qb().slideUpExitActive}},this.getToolbarComponent()):null),w=i.digitalSignatures&&i.showSignatureValidationStatus!==Jy.W.NEVER?d.createElement(hu.Z,{in:!!g,timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:i.toolbarPlacement===Du.p.TOP?{enter:Qb().moveDownSignatureBarEnter,enterActive:Qb().moveDownSignatureBarEnterActive,exit:Qb().moveDownExit,exitActive:Qb().moveDownSignatureBarExitActive}:{enter:Qb().moveUpSignatureBarEnter,enterActive:Qb().moveUpSignatureBarEnterActive,exit:Qb().moveUpSignatureBarExit,exitActive:Qb().moveUpSignatureBarExitActive}},d.createElement(Ly,{digitalSignatures:i.digitalSignatures,showSignatureValidationStatus:i.showSignatureValidationStatus})):null,x=i.signatureFeatureAvailability,D=(0,Vn.bp)(i),C="SERVER"===(null===(e=i.backend)||void 0===e?void 0:e.type),E=d.createElement(d.Fragment,null,i.showToolbar&&d.createElement(Is.ZP,{sidebarMode:i.sidebarMode,currentPageIndex:a.currentPageIndex,debugMode:i.debugMode,dispatch:this.props.dispatch,eventEmitter:this.props.state.eventEmitter,frameWindow:i.frameWindow,resizeWatchFrameWindow:this.state.resizeWatchFrameWindow,interactionMode:i.interactionMode,items:this.state.filteredItems,layoutMode:a.layoutMode,maxZoomReached:a.zoomLevel>=(0,Es.Sm)(a),minZoomReached:a.zoomLevel<=(0,Es.Yo)(a),printingEnabled:(0,Vn.VT)(i),exportEnabled:(0,Vn.RZ)(i),isDocumentReadOnly:D,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,isDocumentComparisonAvailable:this.isDocumentComparisonAvailable(),signatureFeatureAvailability:x,scrollMode:a.scrollMode,pages:i.pages,totalPages:i.totalPages,zoomMode:a.zoomMode,currentItemPreset:i.currentItemPreset,toolbarPlacement:i.toolbarPlacement,documentEditorEnabled:(0,Vn.Xr)(i),canUndo:i.isHistoryEnabled&&i.undoActions.size>0,canRedo:i.isHistoryEnabled&&i.redoActions.size>0,currentDocumentComparisonMode:a.documentComparisonMode,isContentEditorSessionDirty:i.contentEditorSession.dirty,isMultiSelectionEnabled:i.isMultiSelectionEnabled,shouldHideOCGsSidebar:C,shadowRoot:i.shadowRoot,showDocumentAssistant:i.documentAssistant.show}),d.createElement(Ry,{position:i.toolbarPlacement===Du.p.TOP?"top":"bottom"},i.toolbarPlacement===Du.p.TOP?d.createElement(d.Fragment,null,y||b,w):d.createElement(d.Fragment,null,w,y||b)));return d.createElement(vu.Provider,{value:this.getScrollElement},d.createElement(mu.ThemeProvider,{theme:this.state.theme},d.createElement(mu.I18nProvider,{locale:i.locale,messages:Gl.ZP.messages},d.createElement("div",{className:`PSPDFKit-Container PSPDFKit-browser-engine-${Ke.SR} PSPDFKit-browser-system-${Ke.By} ${Ke.Ni?"PSPDFKit-mobile-os":""} PSPDFKit-${(0,Ds.s)(i.containerRect)} ${Xb().root} ${i.interactionsDisabled?"interactions-disabled":""} ${null!=i.backend?"PSPDFKit-backend-"+("STANDALONE"===i.backend.type?"standalone":"server"):""} ${i.disablePullToRefresh?"overscrollDisabled":""}`},i.isDebugConsoleVisible&&d.createElement(rg,{dispatch:this.props.dispatch}),(i.interactionMode===B.A.STAMP_PICKER||i.interactionMode===B.A.STAMP_CUSTOM)&&d.createElement(CD,{onCreate:this._createAnnotationFromTemplate,backend:i.backend,onCancel:this._closeStampModal,stampAnnotationTemplates:i.stampAnnotationTemplates,dispatch:this.props.dispatch,mode:i.interactionMode,attachments:i.attachments,viewportWidth:i.containerRect.width}),(i.interactionMode===B.A.INK_SIGNATURE||i.interactionMode===B.A.SIGNATURE)&&i.signatureState.storedSignatures&&x===Gr.H.LEGACY_SIGNATURES&&d.createElement(sy,{onEscape:this._closeSignatureModal},d.createElement(ky,{onCancel:this._closeSignatureModal,onCreate:this._createSignatureFromAnnotation,onDelete:this._deleteStoredSignature,storedSignatures:i.signatureState.storedSignatures,preset:c,canStoreSignature:(null==i.signatureState.formFieldName||!i.signatureState.formFieldsNotSavingSignatures.includes(i.signatureState.formFieldName))&&p!==xu.f.NEVER,backend:i.backend,attachments:i.attachments,viewportWidth:i.containerRect.width})),!(i.interactionMode!==B.A.INK_SIGNATURE&&i.interactionMode!==B.A.SIGNATURE||!i.signatureState.storedSignatures||x!==Gr.H.ELECTRONIC_SIGNATURES)&&d.createElement(vD,{preset:c,colorPresets:this.props.state.electronicSignatureColorPresets,frameWindow:i.frameWindow,onCreate:this._createSignature,onDelete:this._deleteStoredSignature,onCancel:this._closeSignatureModal,storedSignatures:i.signatureState.storedSignatures,hasSignaturesCreationListener:Object.keys(i.eventEmitter.listeners).includes("storedSignatures.create")||Object.keys(i.eventEmitter.listeners).includes("inkSignatures.create"),hasSignaturesDeletionListener:Object.keys(i.eventEmitter.listeners).includes("storedSignatures.delete")||Object.keys(i.eventEmitter.listeners).includes("inkSignatures.delete"),backend:i.backend,attachments:i.attachments,viewportWidth:i.containerRect.width,creationModes:i.electronicSignatureCreationModes,signingFonts:i.signingFonts}),i.interactionMode===B.A.MEASUREMENT_SETTINGS&&d.createElement(Xw.Z,{frameWindow:i.frameWindow}),i.interactionMode===B.A.DOCUMENT_EDITOR&&d.createElement(pb,{onCancel:this._handleDocumentEditorCancel,scale:this.getThumbnailScale(),usesShadowDOM:!!i.shadowRoot}),i.isPrinting&&d.createElement(vv,{progress:i.printLoadingIndicatorProgress,totalPages:i.totalPages}),i.features.includes(ee.q.DOCUMENT_ASSISTANT)&&!!i.documentAssistant.configuration&&d.createElement(iE,{isOpen:i.documentAssistant.show,configuration:i.documentAssistant.configuration,toolbarsHeight:i.annotationToolbarHeight+Is.k3,documentHandle:i.documentHandle,documentId:i.documentId}),i.isSigning&&(sE||(sE=d.createElement(Dv,null))),i.isApplyingRedactions&&(lE||(lE=d.createElement(Pv,null))),d.createElement(Pp,{connectionState:i.connectionState,resolvePassword:i.resolvePassword,isUnlockedViaModal:i.isUnlockedViaModal},i.toolbarPlacement===Du.p.TOP&&E,i.interactionMode===B.A.SEARCH&&(uE||(uE=d.createElement(Uv,null))),d.createElement("div",{className:Xb().main},!m&&d.createElement(Bd.Z,{onResize:this.handleResizeHelperResize,onRefUpdate:this._updateResizeWatchFrameWindow}),i.sidebarPlacement===wu.d.START&&m,d.createElement("div",{className:h()(Xb().mainContent,this.state.isResizingSidebar&&Xb().mainContentResizing)},this.renderViewport(this.state.isAnnotationTypeReadOnlyMemoized)),i.sidebarPlacement===wu.d.END&&m,m&&d.createElement(Bd.Z,{onResize:this.handleResizeHelperResize,onRefUpdate:this._updateResizeWatchFrameWindow})),i.toolbarPlacement===Du.p.BOTTOM&&E,i.annotationsIdsToDelete&&d.createElement(ig,{dispatch:this.props.dispatch,annotations:i.annotationsIdsToDelete.map((e=>i.annotations.get(e))).filter(Boolean),eventEmitter:i.eventEmitter,setA11yStatusMessage:this._setA11yStatusMessage}),i.showExitContentEditorDialog&&(cE||(cE=d.createElement(Lw,null))),!f&&d.createElement(Pg,{dispatch:this.props.dispatch,printingEnabled:(0,Vn.VT)(i),isPrinting:i.isPrinting,isTextCopyingAllowed:(0,Vn.HI)(i),selectedAnnotationsIds:this.props.editableSelectedAnnotationIds,commentThreads:this.props.state.commentThreads,getScrollElement:this.getScrollElement,canDeleteSelectedAnnotationCP:v,canUndo:i.isHistoryEnabled&&i.undoActions.size>0,canRedo:i.isHistoryEnabled&&i.redoActions.size>0,selectedAnnotation:this.props.selectedAnnotation,currentPageIndex:a.currentPageIndex,eventEmitter:i.eventEmitter,backend:i.backend,formFields:i.formFields,areClipboardActionsEnabled:i.areClipboardActionsEnabled,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>{this.setState({modalClosurePreventionError:e})},annotations:i.annotations,selectedGroupId:i.selectedGroupId,annotationsGroups:i.annotationsGroups,isMultiSelectionEnabled:i.isMultiSelectionEnabled,contentEditorSession:i.contentEditorSession,interactionMode:i.interactionMode,shadowRoot:i.shadowRoot}),s&&this.state.silenceOutdatedDocumentPromptForHandle!==i.documentHandle&&d.createElement(Xy,{onConfirm:this.reloadDocument,onCancel:()=>this.closeReloadDocumentModal(i.documentHandle)})),d.createElement(sg,{locale:i.locale}),d.createElement(gE,{message:i.a11yStatusMessage}),this.state.noLicenseKeyTimeoutFinished&&this.props.state.noLicenseKey&&d.createElement(ox,{evaluationMessage:null===(t=this.props.state.evaluation)||void 0===t?void 0:t.message,evaluationUrl:null===(n=this.props.state.evaluation)||void 0===n?void 0:n.url}),i.buttonToImportIconFor&&d.createElement(ux,{onSelectImage:this.onSelectButtonImportIconImage})))))}}const gE=d.memo((e=>d.createElement(i.TX,{announce:"polite",role:"status",tag:"div"},d.createElement("div",null,e.message)))),vE=(0,l.$j)((e=>{const{annotations:t,hoverAnnotationIds:n,hoverAnnotationNote:r,activeAnnotationNote:o,selectedAnnotationIds:i}=e,a=i.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof _.Qi)),s=n.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof _.R1)).first(),l=a.first(),u=l&&e.selectedAnnotationMode===N.o.EDITING?l:null,c=e.selectedAnnotationIds.size>0?e.annotations.get(e.selectedAnnotationIds.first()):null;return{state:e,selectedNoteAnnotations:a,noteAnnotationToModify:u,selectedAnnotation:c,activeAnnotationNote:o,hoverAnnotationNote:r,editableSelectedAnnotationIds:i.filter((t=>{const n=e.annotations.get(t);return n&&!(0,Vn.lV)(n,e)})),currentTextSelection:e.currentTextSelection,hoveredLinkAnnotation:s}}))(mE);var yE=n(41390),bE=n(58342),wE=n(73417),xE=n(24126),DE=n(79685),CE=n(39236),EE=n(86105);const SE=(0,l.$j)((function(e){return{locale:e.locale,messages:EE.ZP[e.locale]}}))(xe.Pj),_E=["Annotation","CommentAvatar"];var PE=n(8210),kE=n(4480),AE=n(86037),zE=n(94809),TE=n(91105),OE=n(57712),IE=n(18009),FE=n(66013),ME=n(5130),RE=n(2891),jE=(n(78599),n(70118),n(56207)),BE=n(33383),NE=n(74311),LE=n(2427);var KE,VE,qE=n(11267),HE=n(75287),ZE=n(25435);function UE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $E(e){for(var t=1;t\nbody, html, .${Be.re} {\n margin: 0;\n padding: 0;\n overflow: hidden;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n}\n\n`,JE=["baseUrl","baseCoreUrl","baseProcessorEngineUrl","licenseKey","disableWebAssemblyStreaming","enableAutomaticLinkExtraction","overrideMemoryLimit","customFonts","isSharePoint","isSalesforce","productId","processorEngine"];let eS,tS=null,nS=null,rS=null;function oS(){return eS}function iS(e){eS=e}function aS(e){n.p=e}function sS(e){var t;return e.baseUrl?e.baseUrl:"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(t=e.authPayload)||void 0===t?void 0:t.accessToken)?"https://cdn.cloud.pspdfkit.com/pspdfkit-web@2024.3.2/":(0,$l.SV)(window.document)}function lS(e){return e.baseCoreUrl?e.baseCoreUrl:sS(e)}function uS(e){return e.baseProcessorEngineUrl?e.baseProcessorEngineUrl:sS(e)}async function cS(e){if((0,u.kG)((null==e.document||"string"==typeof e.document||e.document instanceof ArrayBuffer)&&null==e.documentId,"Preloading is only supported for Standalone mode using WASM"),tS instanceof Promise)try{return void await tS}catch(t){if(nS&&0===(0,u.$O)(e,nS).length)throw t;nS=null}nS=e,"string"==typeof e.baseUrl&&(0,zE.Pn)(e.baseUrl);aS(sS(e));const t=e.appName||e.electronAppName||(0,D.$u)()||window.location.origin,r=uS(e);e.processorEngine&&(eS=wS({baseUrl:r,mainThreadOrigin:t,licenseKey:e.licenseKey,processorEngine:e.processorEngine,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,inlineWorkers:e.inlineWorkers})),tS=async function(e){const t=sS(e),r=lS(e),o=uS(e),i=$E($E({},e),{},{baseUrl:t,baseCoreUrl:r,baseProcessorEngineUrl:o});aS(t),rS||(rS=await Promise.all([n.e(4267),n.e(3610)]).then(n.bind(n,74846)));const{corePool:a,validateStandaloneConfiguration:s,normalizeCoreOptions:l,loadModule:u}=rS;s(i);const c=l(i),{object:d,checkIn:p}=a.checkOut();await u(d,c),p()}(e),await Promise.all([tS,eS])}async function dS(e){Ke.fq&&new u.p2("Starting 2022.5.0, we no longer support Internet Explorer 11."),Ke.rO&&new u.p2("Starting 2023.2.0, we no longer support Microsoft Edge 18."),"disableWebAssembly"in e&&e.disableWebAssembly&&(0,u.a1)("The 'disableWebAssembly' option is deprecated. It will be removed in a future release as we are removing support for ASM.js.");const t={current:!0};let r=null;if(!0!==e.headless){r=fS(e),(0,u.kG)(!GE.current.has(r),"Configuration#container is already used to mount a PSPDFKit for Web instance. \n\nEither use PSPDFKit.unload(container) before loading again or use a different container.");const n=r;GE.current=GE.current.set(r,(function(){t.current=!1,GE.current=GE.current.delete(n)}))}try{var o,p,g,y,b;if(tS instanceof Promise)try{await tS}catch(t){if(nS&&0===(0,u.$O)(e,nS).length)throw t;nS=null}else tS=Promise.resolve();let r;const T=sS(e);if(aS(T),!t.current)return XE;if("document"in e&&e.document){var x,A;if(!e.processorEngine&&null!==(x=nS)&&void 0!==x&&x.processorEngine&&(e.processorEngine=Yl.l.fasterProcessing),null!=nS){const t=(0,u.$O)(nS,e,{keys:JE});(0,u.kG)(0===t.length,"The configuration object passed to PSPDFKit is different from the one given previously\n"+(0,u.GB)(t))}nS=e,rS||(rS=await Promise.all([n.e(4267),n.e(3610)]).then(n.bind(n,74846)));const t=null===(A=rS)||void 0===A?void 0:A.default;r=new t($E($E({},e),{},{baseCoreUrl:lS(e)})),e.autoSaveMode||(e.autoSaveMode=P.u.IMMEDIATE),(e.appName&&(0,D.d)()||e.electronAppName)&&(e.electronAppName&&((0,u.ZK)("The `Configuration.electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,u.kG)((0,D.d)(),"`electronAppName` should only be set when using Electron.")),(0,LE.t0)(e.appName||e.electronAppName,e.productId))}if("documentId"in e&&e.documentId||"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(o=e.authPayload)||void 0===o?void 0:o.accessToken)){const t=(await Promise.all([n.e(4267),n.e(6377)]).then(n.bind(n,22425))).default;r=new t(e),e.autoSaveMode||(e.autoSaveMode=e.instant?P.u.IMMEDIATE:P.u.INTELLIGENT)}if(!t.current)return r&&r.destroy(),XE;if(!r)throw new u.p2("Backend could not be inferred. Please add one of the following properties to the configuration:\n - `document` to load document and render the document client-side.\n - `documentId` to connect to PSPDFKit Document Engine and render the document server-side.\n");if(e.autoSaveMode&&e.autoSaveMode!==P.u.INTELLIGENT&&e.autoSaveMode!==P.u.IMMEDIATE&&e.autoSaveMode!==P.u.DISABLED)throw new u.p2("The supplied autoSaveMode is not valid.\nValid `autoSaveMode`s are: PSPDFKit.AutoSaveMode.INTELLIGENT, PSPDFKit.AutoSaveMode.IMMEDIATE or PSPDFKit.AutoSaveMode.DISABLED");if(e.printOptions||(e.printOptions={}),e.printOptions&&e.printOptions.mode&&!Object.prototype.hasOwnProperty.call(Ql.X,e.printOptions.mode))throw new u.p2("The supplied mode in printOptions is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");if(e.printOptions&&e.printOptions.quality&&!Object.prototype.hasOwnProperty.call(Jl.g,e.printOptions.quality))throw new u.p2("The supplied quality in printOptions is not valid.\nValid `printOptions.quality`s are: PSPDFKit.PrintQuality.LOW, PSPDFKit.PrintQuality.MEDIUM, PSPDFKit.PrintQuality.HIGH");if(e.printMode&&(0,u.ZK)("Configuration.printMode has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),e.printMode&&!e.printOptions.mode){if(!Object.prototype.hasOwnProperty.call(Ql.X,e.printMode))throw new u.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");e.printOptions.mode=e.printMode}"disableHighQualityPrinting"in e&&((0,u.ZK)("Configuration.disableHighQualityPrinting has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),pS(e,"disableHighQualityPrinting"),e.disableHighQualityPrinting&&"boolean"==typeof e.disableHighQualityPrinting&&!e.printOptions.quality&&("STANDALONE"!==r.type||"ios"!==Ke.By&&"android"!==Ke.By?e.printOptions.quality=e.disableHighQualityPrinting?Jl.g.MEDIUM:Jl.g.HIGH:e.printOptions.quality=Jl.g.MEDIUM));let O,I=null;if(e.electronicSignatures){if(e.electronicSignatures.creationModes){if(!Array.isArray(e.electronicSignatures.creationModes)||!e.electronicSignatures.creationModes.length)throw new u.p2("PSPDFKit.Configuration.electronicSignatures#creationModes must be a non-empty array if specified.");if(e.electronicSignatures.creationModes.some((e=>!Object.keys(TE.M).includes(e))))throw new u.p2("PSPDFKit.Configuration.electronicSignatures#creationModes only accepts PSPDFKit.ElectronicSignatureCreationMode values.")}if(e.electronicSignatures.fonts){if(!Array.isArray(e.electronicSignatures.fonts)||!e.electronicSignatures.fonts.length)throw new u.p2("PSPDFKit.Configuration.electronicSignatures#fonts must be a non-empty array if specified.");if(e.electronicSignatures.fonts.some((e=>!(e instanceof pu.Z))))throw new u.p2("PSPDFKit.Configuration.electronicSignatures#fonts only accepts PSPDFKit.Font values.")}if(e.electronicSignatures.forceLegacySignaturesFeature&&"boolean"!=typeof e.electronicSignatures.forceLegacySignaturesFeature)throw new u.p2("PSPDFKit.Configuration.electronicSignatures#forceLegacySignaturesFeature only accepts boolean values.");if(void 0!==e.electronicSignatures.setDefaultTypeText)if("function"==typeof e.electronicSignatures.setDefaultTypeText)I=e.electronicSignatures.setDefaultTypeText;else{if("string"!=typeof e.electronicSignatures.setDefaultTypeText)throw new u.p2("PSPDFKit.Configuration.electronicSignatures#setDefaultTypeText must be a function or a string if provided.");{const t=e.electronicSignatures.setDefaultTypeText;I=()=>t}}}pS(e,"disableForms"),hS(e,"annotationTooltipCallback"),pS(e,"disableTextSelection"),pS(e,"preventTextCopy"),hS(e,"renderPageCallback"),function(e,t){if(e[t]){if(!Array.isArray(e[t]))throw new u.p2(`${t} must be an array of annotation types.`);if(!e[t].every((e=>e&&e.prototype&&(e.prototype instanceof du.Z||e==du.Z))))throw new u.p2(`${t} must be an array of annotation types.`)}}(e,"editableAnnotationTypes"),hS(e,"isEditableAnnotation"),hS(e,"isEditableComment"),hS(e,"dateTimeString"),hS(e,"annotationToolbarColorPresets"),hS(e,"annotationToolbarItems"),hS(e,"onWidgetAnnotationCreationStart"),hS(e,"inlineTextSelectionToolbarItems"),hS(e,"onCommentCreationStart"),hS(e,"measurementValueConfiguration"),"mentionableUsers"in e&&((0,u.kG)(Array.isArray(e.mentionableUsers),"mentionableUsers must be an array"),e.mentionableUsers.forEach(jE.vQ)),(0,u.um)(`PSPDFKit for ${(0,D.d)()?"Electron":"Web"} 2024.3.2 (https://pspdfkit.com/web)`);try{O=(0,Gl.z5)(e.locale||navigator.language)}catch(e){O="en"}if(e.populateInkSignatures&&"function"!=typeof e.populateInkSignatures)throw new u.p2("populateInkSignatures must be a function.");if(e.populateStoredSignatures&&"function"!=typeof e.populateStoredSignatures)throw new u.p2("populateStoredSignatures must be a function.");if(null!=e.maxPasswordRetries&&"number"!=typeof e.maxPasswordRetries)throw new u.p2("maxPasswordRetries must be a number.");if(e.formFieldsNotSavingSignatures&&(!Array.isArray(e.formFieldsNotSavingSignatures)||e.formFieldsNotSavingSignatures.some((e=>"string"!=typeof e))))throw new u.p2("formFieldsNotSavingSignatures must be an array of strings.");let F,M,R,j=new E.Z;e.disableOpenParameters||(j=(0,cu.s)(j)),e.initialViewState&&(j=e.initialViewState,j=(0,uu.F3)(j,null)),e.customRenderers&&(F=function(e){for(const t in e)e.hasOwnProperty(t)&&((0,u.kG)(_E.includes(t),`'${t}' is not a custom renderable entity. Custom renderable entities are: ${_E.join(", ")}`),(0,u.kG)("function"==typeof e[t],`'${t}' custom renderer must be a function.`));return e}(e.customRenderers)),e.customUI&&(M=(0,PE.a)(e.customUI)),(0,u.kG)("number"==typeof it.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH&&it.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH>=0,"PSPDFKit.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH must be set to a positive number."),(0,u.kG)(!e.isAPStreamRendered||"function"==typeof e.isAPStreamRendered,"When provided, `configuration.isAPStreamRendered` must be a function."),(0,u.kG)(!e.enableRichText||"function"==typeof e.enableRichText,"When provided, `configuration.enableRichText` must be a function."),(0,u.kG)("boolean"==typeof e.enableHistory||void 0===e.enableHistory,"When provided, `configuration.enableHistory` must be a boolean value."),(0,u.kG)("boolean"==typeof e.enableClipboardActions||void 0===e.enableClipboardActions,"When provided, `configuration.enableClipboardOperations` must be a boolean value."),e.unstable_inkEraserMode&&((0,u.kG)(Object.keys(pa.b).includes(e.unstable_inkEraserMode),"`unstable_inkEraserMode` must be one of: `PSPDFKit.unstable_InkEraserMode.POINT` or `PSPDFKit.unstable_InkEraserMode.STROKE`"),R=e.unstable_inkEraserMode),(0,u.kG)("boolean"==typeof e.measurementSnapping||void 0===e.measurementSnapping,"When provided, `configuration.measurementSnapping` must be a boolean value."),(0,u.kG)("string"==typeof e.measurementPrecision||void 0===e.measurementPrecision,"When provided, `configuration.measurementPrecision` must be a string."),(0,u.kG)(e.measurementScale instanceof ns.Z||void 0===e.measurementScale,"When provided, `configuration.measurementScale` must be an instance of `MeasurementScale`."),(0,u.kG)("boolean"==typeof e.anonymousComments||void 0===e.anonymousComments||!0===e.anonymousComments&&"STANDALONE"!==r.type,"When provided, `configuration.anonymousComments` must be used only with PSPDFKit Document Engine and be a boolean value."),(0,u.kG)("boolean"==typeof e.disableMultiSelection||void 0===e.disableMultiSelection,"When provided, `configuration.disableMultiSelection` must be a boolean value."),(0,u.kG)("number"==typeof e.autoCloseThreshold||void 0===e.autoCloseThreshold,"When provided, `configuration.autoCloseThreshold` must be a number."),e.ui&&function(e){(0,sD.kG)("object"==typeof e,"The provided UI must be an object.");for(const[t,n]of Object.entries(e))(0,sD.kG)(Object.keys(lD.x).includes(t),`'${t}' is not a valid UI element. Valid UI elements are: ${Object.keys(lD.x).join(", ")}`),(0,sD.kG)("function"==typeof n,`The provided UI for "${t}" must be a function.`)}(e.ui),(0,u.kG)("boolean"==typeof e.useIframe||void 0===e.useIframe,"When provided, `configuration.useIframe` must be a boolean value.");const N=$E($E({backend:r,autoSaveMode:e.autoSaveMode,printMode:null===(p=e.printOptions)||void 0===p?void 0:p.mode,printQuality:null===(g=e.printOptions)||void 0===g?void 0:g.quality,showComments:!!j.showComments,showAnnotationNotes:!!j.showAnnotationNotes,printingEnabled:j.allowPrinting,exportEnabled:j.allowExport,readOnlyEnabled:j.readOnly?te.J.VIA_VIEW_STATE:te.J.NO,formsEnabled:!e.disableForms,formDesignMode:!e.disableForms&&j.formDesignMode,showAnnotations:j.showAnnotations,eventEmitter:new DE.Z,locale:O,clientPermissions:new _.uh({extract:!e.disableTextSelection,preventTextCopy:!!e.preventTextCopy,printHighQuality:(null===(y=e.printOptions)||void 0===y?void 0:y.quality)===Jl.g.HIGH}),signatureState:new _.dp({populateStoredSignatures:e.populateStoredSignatures||e.populateInkSignatures,formFieldsNotSavingSignatures:(0,s.l4)(e.formFieldsNotSavingSignatures||[])}),renderPageCallback:e.renderPageCallback,annotationTooltipCallback:e.annotationTooltipCallback?t=>{var n;const r=null===(n=e.annotationTooltipCallback)||void 0===n?void 0:n.call(e,t);return null==r||r.forEach((e=>{(0,au.G)(e)})),r}:null,sidebarMode:j.sidebarMode,sidebarOptions:j.sidebarOptions,sidebarPlacement:j.sidebarPlacement,isEditableAnnotation:e.isEditableAnnotation,isEditableComment:e.isEditableComment,customRenderers:F},M?{customUIStore:new f.Z(M)}:null),{},{toolbarPlacement:e.toolbarPlacement,showSignatureValidationStatus:j.showSignatureValidationStatus||Jy.W.NEVER,previewRedactionMode:j.previewRedactionMode,keepSelectedTool:j.keepSelectedTool,isAPStreamRendered:e.isAPStreamRendered,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,electronicSignatureCreationModes:(0,s.hU)(e.electronicSignatures&&e.electronicSignatures.creationModes||OE.Z),signingFonts:(0,s.hU)(e.electronicSignatures&&e.electronicSignatures.fonts||bE.Z),isHistoryEnabled:!!e.enableHistory,areClipboardActionsEnabled:!!e.enableClipboardActions,onOpenURI:e.onOpenURI,onAnnotationResizeStart:e.onAnnotationResizeStart,canScrollWhileDrawing:j.canScrollWhileDrawing,dateTimeString:e.dateTimeString,annotationToolbarColorPresets:e.annotationToolbarColorPresets,annotationToolbarItems:e.annotationToolbarItems,onWidgetAnnotationCreationStart:e.onWidgetAnnotationCreationStart,inkEraserMode:R,firstCurrentPageIndex:j.currentPageIndex,arePageSizesLoaded:"STANDALONE"!==r.type,inlineTextSelectionToolbarItems:e.inlineTextSelectionToolbarItems,measurementSnapping:e.measurementSnapping,measurementPrecision:e.measurementPrecision,measurementScale:e.measurementScale,measurementValueConfiguration:e.measurementValueConfiguration,anonymousComments:e.anonymousComments,enableRichText:e.enableRichText,maxMentionSuggestions:"maxMentionSuggestions"in e&&e.maxMentionSuggestions||void 0,mentionableUsers:"mentionableUsers"in e&&e.mentionableUsers||[],isMultiSelectionEnabled:!e.disableMultiSelection,defaultAutoCloseThreshold:e.autoCloseThreshold,onCommentCreationStart:e.onCommentCreationStart,electronicSignatureDefaultTextCallback:I,noLicenseKey:!e.licenseKey&&"STANDALONE"===r.type,ui:e.ui?$E($E({},uD.m),e.ui):void 0,documentAssistant:new ZE.Z({configuration:e.documentAssistant,show:j.showDocumentAssistant}),documentId:"STANDALONE"===r.type?null:e.documentId});let L,V,q=Promise.resolve();if(!0===e.headless)L=Kl($E($E({},N),{},{frameWindow:window}));else if([L,q,V]=await async function(e,t,n,r,o){var p,f,g,y;const b=fS(r);if(b.childNodes.length>0)throw new u.p2('`Configuration#container` is expected to be an empty element but instead it contains child nodes.\nTo fix this, please make sure that the container is empty (e.g. by using an empty div `
`');if(r.styleSheets&&!(r.styleSheets instanceof Array))throw new u.p2("styleSheets must either be an Array of strings");let x=[];const D=window.getComputedStyle(b).getPropertyValue("width"),C=window.getComputedStyle(b).getPropertyValue("height");if(!D||D&&"0px"===D)throw new u.p2("The mounting container has no width.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(!C||C&&"0px"===C)throw new u.p2("The mounting container has no height.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(r.theme){if("string"!=typeof r.theme||!aD.Q[r.theme])throw new u.p2("Invalid theme. Configuration#theme must be a valid PSPDFKit.Theme");(r.theme===aD.Q.DARK||r.theme===aD.Q.AUTO&&window.matchMedia("(prefers-color-scheme: dark)").matches)&&x.push(`${t}pspdfkit-lib/dark-${v()}.css`)}r.styleSheets&&(x=x.concat(r.styleSheets));let E=Be.cY;null!=r.minDefaultZoomLevel&&((0,u.kG)("number"==typeof r.minDefaultZoomLevel&&r.minDefaultZoomLevel>0,"minDefaultZoomLevel must be a number greater than 0"),E=r.minDefaultZoomLevel);let P=Be.QS;null!=r.maxDefaultZoomLevel&&((0,u.kG)("number"==typeof r.maxDefaultZoomLevel&&r.maxDefaultZoomLevel>0,"maxDefaultZoomLevel must be a number greater than 0"),P=r.maxDefaultZoomLevel);(0,u.kG)(P>=E,`maxDefaultZoomLevel (${P}) must be greater than or equal to minDefaultZoomLevel (${E}). If you didn't set one of those values, then the default value was used.`);const A=S.UL.fromClientRect(b.getBoundingClientRect()).setLocation(new S.E9),z=new _.Vk({currentPageIndex:o.currentPageIndex,disablePointSnapping:o.disablePointSnapping,zoomLevel:"number"==typeof o.zoom?o.zoom:1,zoomMode:"number"==typeof o.zoom?Ss.c.CUSTOM:o.zoom,pagesRotation:(0,He.n5)(o.pagesRotation),layoutMode:o.layoutMode,scrollMode:o.scrollMode,pageSpacing:o.pageSpacing,spreadSpacing:o.spreadSpacing,keepFirstSpreadAsSinglePage:o.keepFirstSpreadAsSinglePage,viewportPadding:new S.E9({x:o.viewportPadding.horizontal,y:o.viewportPadding.vertical}),minDefaultZoomLevel:E,maxDefaultZoomLevel:P,enableAlwaysScrollToZoom:o.enableAlwaysScrollToZoom,forceRenderWidgetsInAnnotationsOrder:o.forceRenderWidgetsInAnnotationsOrder,prerenderedPageSpreads:o.prerenderedPageSpreads});let T=wE.ZP.toJS();r.toolbarItems&&(T=r.toolbarItems,T=T.map((e=>"ink-signature"===e.type?((0,u.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),$E($E({},e),{},{type:"signature"})):e)).filter((e=>{var t;return"content-editor"!==e.type||"SERVER"!==(null===(t=n.backend)||void 0===t?void 0:t.type)||((0,u.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1)})),T.forEach(iu.G));let O=xE.Z.toJS();r.documentEditorFooterItems&&(O=r.documentEditorFooterItems,O.forEach(su.G));let I=IE.Z.toJS();r.documentEditorToolbarItems&&(I=r.documentEditorToolbarItems,I.forEach(lu.G));if(r.documentAssistant){var F;if("SERVER"!==(null===(F=n.backend)||void 0===F?void 0:F.type))throw new u.p2("Document Assistant is only available with the PSPDFKit Document Engine");if(!r.documentAssistant.backendUrl||"string"!=typeof r.documentAssistant.backendUrl)throw new u.p2("documentAssistant.backendUrl is required and must be a string");if(!r.documentAssistant.chatSessionId||"string"!=typeof r.documentAssistant.chatSessionId)throw new u.p2("documentAssistant.chatSessionId is required and must be a string");if(!r.documentAssistant.jwt||"string"!=typeof r.documentAssistant.jwt)throw new u.p2("documentAssistant.jwt is required and must be a string");if(!r.documentAssistant.userId||"string"!=typeof r.documentAssistant.userId)throw new u.p2("documentAssistant.userId is required and must be a string");if(r.documentAssistant.onMessageSubmit&&"function"!=typeof r.documentAssistant.onMessageSubmit)throw new u.p2("documentAssistant.onMessageSubmit must be a function")}let M=Be.mc;if(r.documentEditorConfiguration){const{thumbnailMinSize:e,thumbnailMaxSize:t,thumbnailDefaultSize:n}=r.documentEditorConfiguration;null!=n&&(0,u.kG)("number"==typeof n&&n>0,"documentEditor.thumbnailDefaultSize must be a number greater than 0"),null!=t&&((0,u.kG)("number"==typeof t&&t>0,"documentEditor.thumbnailMaxSize must be a number greater than 0"),(0,u.kG)(t>e,"documentEditor.thumbnailMaxSize must be bigger than documentEditor.thumbnailMinSize")),null!=e&&((0,u.kG)("number"==typeof e&&e>0,"documentEditor.thumbnailMinSize must be a number greater than 0"),(0,u.kG)(e0,"maxMentionSuggestions must be a number greater than 0");Object.isFrozen(it.Options)||(it.W!==it.Options.COLOR_PRESETS&&(0,m.XV)("Options.COLOR_PRESETS","PSPDFKit#Customisation.AnnotationToolbarColorPresets",!0),(0,it.n)(it.Options),Object.freeze(it.Options));const B=function(){const e=document.createElement("div");return e.className="PSPDFKit-Container",e.style.width="100%",e.style.height="100%",e}();b.appendChild(B),mS(b,(function(){const{parentNode:e}=B;e&&e.removeChild(B)}));const N=void 0===r.useIframe||!r.useIframe,[L,K]=await async function(e,t,n,r,o){let i,a;const s=new Promise((function(e,t){i=e,a=t}));let l;if(r&&!o){let e;try{e=await(0,k.jK)([t+YE].concat(n).map((e=>{const n=n=>{const r=n instanceof Error;return{filename:e,css:r?null:n,isCustom:e!==t+YE}};return fetch(e,{credentials:"same-origin"}).then((e=>{if(200!==e.status)throw Error(`${e.status} ${e.statusText}`);return e.text()})).then(n).catch(n)})))}catch(t){e=t}e=e.filter((e=>null!==e.css)),l=QE+e.map((e=>{let{css:t,isCustom:n,filename:r}=e;return`${t}`})).join("")}else l=`\n${n.map((e=>``)).join("\n")}\n${QE}\n`;return new Promise((t=>{if(o){const n=e.attachShadow({mode:"open"}),r=document.createElement("div");r.className=Be.re,r.style.width="100%",r.style.height="100%",r.style.border="0",r.style.display="block",n.appendChild(r);const o=document.createElement("div");o.className=Be.fV,n.appendChild(o);const u=document.createRange().createContextualFragment(l);n.prepend(u),gS(i,a,n),t([n,s])}else{const n=document.createElement("iframe");n.setAttribute("allowfullscreen","true"),n.setAttribute("title","PSPDFKit"),n.style.width="100%",n.style.height="100%",n.style.border="0",n.style.display="block",e.appendChild(n);const r=n.contentDocument;if(r){r.open(),r.write(`PSPDFKit
`),r.close(),r.addEventListener("touchstart",(()=>{document.body&&(document.body.style.overscrollBehavior="none")})),r.addEventListener("touchcancel",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")})),r.addEventListener("touchend",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")}));const e=r.createRange().createContextualFragment(l);r.head.appendChild(e),gS(i,a,r),t([r,s])}}}))}(B,t,x,r.enableServiceWorkerSupport||!1,N);if(function(e){var t;const n=e instanceof ShadowRoot,r=n?e.ownerDocument:null===(t=e.defaultView)||void 0===t?void 0:t.document;if(!r)return;const o=r.createRange().createContextualFragment(``);n?e.appendChild(o):null==r||r.head.appendChild(o)}(L),!e.current)return XE;Wl(L);const V=(0,Xl.bl)(L);"function"==typeof V&&mS(b,(function(){V()}));const q=(null===(p=r.electronicSignatures)||void 0===p?void 0:p.colorPresets)||FE.Z;if(0===q.length)throw new u.p2("PSPDFKit.Configuration.electronicSignatures#colorPresets should have at least one preset.");let H=null;if("customFonts"in r&&r.customFonts){const e=n.backend.getCustomFontsPromise();e.current||(e.current=(0,od.x6)(r.customFonts)),H=await e.current}if(Ke.G6&&N&&L instanceof ShadowRoot){const e=new w(L);mS(b,(function(){e.cleanupEventListeners(L)}))}const Z=Kl($E($E({},n),{},{rootElement:b,containerRect:A,showToolbar:o.showToolbar,disablePointSnapping:o.disablePointSnapping,enableAnnotationToolbar:o.enableAnnotationToolbar,toolbarItems:(0,s.d0)(T),electronicSignatureColorPresets:q,annotationPresets:(0,s.D5)(R),stampAnnotationTemplates:Object.freeze(j),currentItemPreset:null,viewportState:z,interactionMode:null,documentEditorFooterItems:(0,s.d0)(O),documentEditorToolbarItems:(0,s.d0)(I),frameWindow:N?window:L.defaultView,shadowRoot:N?L:null,sidebarWidth:A.width<=Be.Fg?A.width:it.Options.INITIAL_DESKTOP_SIDEBAR_WIDTH,renderPagePreview:"boolean"!=typeof r.renderPagePreview||r.renderPagePreview,enableAlwaysScrollToZoom:o.enableAlwaysScrollToZoom,documentEditorConfig:M,theme:r.theme}));if(await(0,Gl.sS)(Z.getState().locale),!e.current)return XE;Z.dispatch((0,eu.t2)(new ru(Z.getState,Z.dispatch))),Z.dispatch((0,Vt.z5)((0,G.YV)(Z.getState)));const U=N?L.querySelector(`.${Be.re}`):null===(f=L.defaultView)||void 0===f?void 0:f.document.querySelector(`.${Be.re}`);return(0,u.kG)(U,"Internal PSPDFKit Error: Mount Target could not be found in contentDocument. Please contact support@pspdfkit.com"),(0,c.render)(d.createElement(l.zt,{store:Z},N?KE||(KE=d.createElement(i.TX,{id:"a11y-status-message",role:"status","aria-live":"polite","aria-relevant":"additions text"})):null,d.createElement(SE,{onError:e=>(e.code,e)},d.createElement("div",{className:h()(Bp().withLayers,N&&Bp().relativeContainer,(!("CSS"in window)||!(null!==(g=(y=window.CSS).supports)&&void 0!==g&&g.call(y,"isolation: isolate")))&&Bp().withLayersFallback)},d.createElement(a.P,null,VE||(VE=d.createElement(vE,null)))))),U),mS(b,(function(){(0,c.unmountComponentAtNode)(U)})),[Z,K,H]}(t,T,N,e,j),!t.current)return XE;const H=L.getState(),{eventEmitter:Z,rootElement:U}=H;U&&mS(U,(function(){r&&r.destroy()})),_.UX.prototype.getMeasurementDetails=function(){return H.features.includes(ee.q.MEASUREMENT_TOOLS)||new u.p2(RE.oD),(0,z.t9)(this)};const $=new CE.Z({store:L,backend:r,eventEmitter:Z});if(await Ul({dispatch:L.dispatch,backend:r,getState:L.getState,password:e.password,maxPasswordRetries:!0===e.headless?0:"number"==typeof e.maxPasswordRetries?e.maxPasswordRetries:Number.POSITIVE_INFINITY,formFieldValuesJSON:"STANDALONE"===r.type?"instantJSON"in e&&e.instantJSON&&e.instantJSON.formFieldValues:null,customFonts:V,stylesheetPromise:q}),!t.current)return r&&r.destroy(),XE;let W=function(){$._destroy(),!0===e.headless&&r&&r.destroy(),WE.current=WE.current.delete($)};U&&(W=mS(U,W)),WE.current=WE.current.set($,W);const{features:Q,formDesignMode:J,previewRedactionMode:ne,documentPermissions:re,frameWindow:oe}=L.getState();if(e.fontSubstitutions&&((0,u.kG)(C(e.fontSubstitutions),"Invalid fontSubstitutions"),r.setFontSubstitutions(e.fontSubstitutions)),re.fillForms||re.annotationsAndForms||it.Options.IGNORE_DOCUMENT_PERMISSIONS?L.dispatch((0,Vt.we)(e.editableAnnotationTypes?(0,s.l4)(e.editableAnnotationTypes):(0,s.l4)(Y.Z),e.isEditableAnnotation)):L.dispatch((0,Vt.ZV)((0,s.l4)([]))),Q.includes(ee.q.ELECTRONIC_SIGNATURES)&&function(e,t){const n=e.document.createRange(),r=od.eE.map((e=>`@font-face {\n font-family: '${e.name}';\n font-style: normal;\n font-weight: ${e.weight};\n font-display: swap;\n src: url(${t}pspdfkit-lib/${e.file}.woff2) format('woff2'),\n url(${t}pspdfkit-lib/${e.file}.woff) format('woff');\n }`)).join("\n"),o=n.createContextualFragment(``);e.document.head.appendChild(o)}(oe,T),J&&!(0,Vn.ix)(L.getState()))throw L.dispatch((0,Vt.LE)(!1)),re.annotationsAndForms||re.fillForms?new u.p2("Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the license includes the Form Designer component and on standalone mode or with PSPDFKit Instant."):new u.p2('Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the current document has either the "Editing Annotations and Forms" or the "Filling Forms" permissions granted. you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit. Please make also sure the license includes the Form Designer component and a backend that supports it.');if(ne&&!Q.includes(ee.q.REDACTIONS))throw L.dispatch((0,Vt.P_)(!1)),new u.p2("`configuration.viewState.previewRedactionMode = true` can only be enabled if the license includes the Redactions component.");if(e.initialViewState&&e.initialViewState.interactionMode===B.A.DOCUMENT_EDITOR&&!Q.includes(ee.q.DOCUMENT_EDITING))throw L.dispatch((0,Vt.sJ)()),new u.p2(kE.I);if(e.initialViewState&&e.initialViewState.interactionMode===B.A.CONTENT_EDITOR&&!Q.includes(ee.q.CONTENT_EDITING))throw L.dispatch({type:K.Qm9}),new u.p2(Ml.Aq);if((0,Ve.fF)(null===(b=e.initialViewState)||void 0===b?void 0:b.interactionMode)&&!Q.includes(ee.q.FORM_DESIGNER))throw L.dispatch((0,Vt.XX)()),new u.p2(ME.RB);if(e.initialViewState&&e.initialViewState.showSignatureValidationStatus!==Jy.W.NEVER&&!Q.includes(ee.q.DIGITAL_SIGNATURES))throw new u.p2(AE.C);if((e.documentEditorFooterItems||e.documentEditorToolbarItems||e.documentEditorConfiguration)&&!Q.includes(ee.q.DOCUMENT_EDITING))throw new u.p2(kE.I);if(e.documentAssistant&&!Q.includes(ee.q.DOCUMENT_ASSISTANT))throw L.dispatch((0,Vt.O4)(null)),new u.p2(HE.oQ);if(e.initialViewState&&!0===e.initialViewState.showDocumentAssistant&&!Q.includes(ee.q.DOCUMENT_ASSISTANT))throw L.dispatch((0,Vt.Z_)(!1)),new u.p2(HE.oQ);if(!0!==e.headless&&!Q.includes(ee.q.UI))throw L.dispatch((0,Vl.sr)("Your license does not cover the configured functionality.")),new u.p2("The web UI feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product.");if(!0!==e.headless&&j.interactionMode){const e=(0,uu.eV)(j.interactionMode,H);L.dispatch(e.onEnterAction())}return L.dispatch((0,Vt._$)($)),$}catch(e){const{type:t,request:n}=e;throw"error"===t&&n&&/\/pspdfkit-lib\//.test(n)&&e("Failed to load pspdfkit-lib.\nMake sure you are serving all PSPDFKit library files as described in https://pspdfkit.com/guides/web/current/standalone/adding-to-your-project/#copy-the-pspdfkit-for-web-assets."),e}}function pS(e,t){if(e[t]&&"boolean"!=typeof e[t])throw new u.p2(`The type for ${t} is not valid. Must be \`true\` or \`false\`.`)}function hS(e,t){if(e[t]&&"function"!=typeof e[t])throw new u.p2(`The type for ${t} is not valid. Must be \`function\`.`)}function fS(e){const t="string"==typeof e.container?document.querySelector(e.container):e.container;if(!(0,io.Re)(t))throw new u.p2("`Configuration#container` must either be a valid element or a CSS selector");return t}function mS(e,t){const n=GE.current.get(e);function r(){t(),null==n||n()}return(0,u.kG)(n),GE.current=GE.current.set(e,r),r}function gS(e,t,n){const r=Array.prototype.slice.call(n.querySelectorAll('link[rel="stylesheet"]')).filter((e=>!e.dataset.loaded)).map((function(e){let t,n;e.dataset.loaded="true";const r=new Promise((function(e,r){t=e,n=r}));return e.onload=function(){t()},e.onerror=function(){const r=e.href+" could not be loaded. Make sure that the file is accessible from your webserver.";e.dataset.pspdfkit?n(new u.p2(r)):((0,u.vU)(r),t())},r}));Promise.all(r).then(e,t)}const vS="\n:host, body {\n font-size: var(--PSPDFKit-fontSize-1);\n font-family: var(--PSPDFKit-fontFamily-1);\n line-height: var(--PSPDFKit-lineHeight-1);\n background: var(--PSPDFKit-App-background);\n}\n";async function yS(e,t){const{licenseKey:n,electronAppName:r,productId:o,appName:i}=e;DS(e);const a=sS(e);(0,u.kG)(o!==BE.x.Salesforce,"Document conversion is not currently supported in Salesforce."),t&&(0,u.kG)(t&&Object.values(NE.w).includes(t),"The supplied PDF/A Conformance type is not valid. Valid Conformance should be one of the following options PSPDFKit.Conformance."+Object.keys(NE.w).join(", PSPDFKit.Conformance."));const s=await(0,Hl.D4)(a,e.document,o),l=i||r||(0,D.$u)()||window.location.origin,c=uS(e);eS||(eS=wS({baseUrl:c,mainThreadOrigin:l,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,licenseKey:n,processorEngine:e.processorEngine,inlineWorkers:e.inlineWorkers}));const d=await eS;return(0,u.kG)(d),await d.toPdf(s,t)}async function bS(e,t){const{licenseKey:n,electronAppName:r,productId:o,appName:i}=e;DS(e);const a=sS(e);(0,u.kG)(o!==BE.x.Salesforce,"Document conversion is not currently supported in Salesforce."),(0,u.kG)(t&&Object.values(qE._).includes(t),`The provided conversion output format ${t} is not supported. Supported output formats are ${Object.values(qE._).map((e=>`PSPDFKit.OfficeDocumentFormat.${e}`)).join(", ")}.`);const s=await(0,Hl.D4)(a,e.document,o),l=i||r||(0,D.$u)()||window.location.origin,c=uS(e);eS||(eS=wS({baseUrl:c,mainThreadOrigin:l,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,licenseKey:n,processorEngine:e.processorEngine,inlineWorkers:e.inlineWorkers}));const d=await eS;return(0,u.kG)(d),await d.toOffice(s,t)}async function wS(e){let{baseUrl:t,mainThreadOrigin:r,customFonts:o,dynamicFonts:i,fontSubstitutions:a,licenseKey:s,processorEngine:l,inlineWorkers:u}=e;const c=await n.e(1305).then(n.bind(n,90027));try{const e=!l||l===Yl.l.fasterProcessing,n=await c.getBrowserSpawner(u);return new c.GdPictureWorker($E($E($E({baseUrl:t,aot:e,mainThreadOrigin:r,licenseKey:s,workerSpawner:n},o?{customFonts:await(0,od.x6)(o)}:null),i?{dynamicFonts:i}:null),a?{fontSubstitutions:C(a)?a:null}:null))}catch(e){throw e}}async function xS(e,t){const{licenseKey:n,electronAppName:r,productId:o,appName:i}=e;DS(e),(0,u.kG)(o!==BE.x.Salesforce,"Document template populate is not currently supported in Salesforce.");const a=sS(e),s=await(0,Hl.D4)(a,e.document,o),l=i||r||(0,D.$u)()||window.location.origin,c=uS(e);let d;try{return eS||(eS=wS({baseUrl:c,mainThreadOrigin:l,customFonts:e.customFonts,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,licenseKey:n,processorEngine:e.processorEngine,inlineWorkers:e.inlineWorkers})),d=await eS,(0,u.kG)(d),await d.populateDocumentTemplate(s,t,e.licenseKey)}catch(e){throw e}finally{var p;null===(p=d)||void 0===p||p.destroy(),iS(null)}}function DS(e){const{licenseKey:t,electronAppName:n,productId:r,appName:o}=e;"string"==typeof e.baseUrl&&(0,zE.Pn)(e.baseUrl);aS(sS(e)),(0,u.kG)(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,u.kG)(!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."),(o&&(0,D.d)()||n)&&((0,u.kG)(n,"The `electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,LE.t0)(o||n,r))}},53416:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});const r=(0,n(79724).Z)("AnnotationPreset"),o=e=>{r("object"==typeof e,"`annotationPreset` is not an `object`")}},78025:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({readOnly:!1,downloadingAllowed:!0})){}},99745:(e,t,n)=>{"use strict";n.d(t,{G:()=>d,Z:()=>c});var r=n(96156),o=n(35369),i=n(79724),a=n(690),s=n(88133);const l=(0,i.Z)("Bookmark"),u={id:null,pdfBookmarkId:null,name:null,sortKey:null,action:null};class c extends(o.WV(u)){}(0,r.Z)(c,"toSerializableObject",s.a),(0,r.Z)(c,"fromSerializableObject",(e=>(0,s.i)(null,e)));const d=e=>{const{name:t,sortKey:n,action:r}=e;null!=t&&l("string"==typeof t,"`name` must be a string"),null!=n&&l("number"==typeof n,"`sortKey` must be a number"),l(r instanceof a.aU,"`action` must be an instance of PSPDFKit.Actions.Action")}},49616:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({printHighQuality:!0,extract:!0,preventTextCopy:!1})){}},60379:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(96156),i=n(35369),a=n(15359);class s extends((0,i.WV)({r:0,g:0,b:0,transparent:!1})){constructor(e){!0!==e.transparent?super(e):super({transparent:!0})}lighter(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r+t),r=parseInt(this.g+t),o=parseInt(this.b+t);return n=n<255?n:255,r=r<255?r:255,o=o<255?o:255,new s({r:n,g:r,b:o})}darker(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r-t),r=parseInt(this.g-t),o=parseInt(this.b-t);return n=n>0?n:0,r=r>0?r:0,o=o>0?o:0,new s({r:n,g:r,b:o})}equals(e){return(0,a.kG)(e instanceof s||"object"==typeof e,"Invalid `color` provided. It must be an instance of Color or an RGB object."),(0,a.kG)("number"==typeof e.r&&e.r>=0&&e.r<=255,"Invalid `r` value provided. It must be an integer between 0 and 255."),(0,a.kG)("number"==typeof e.g&&e.g>=0&&e.g<=255,"Invalid `g` value provided. It must be an integer between 0 and 255."),(0,a.kG)("number"==typeof e.b&&e.b>=0&&e.b<=255,"Invalid `b` value provided. It must be an integer between 0 and 255."),!this.transparent&&!e.transparent&&this.r===e.r&&this.g===e.g&&this.b===e.b||this.transparent&&e.transparent}saturate(e){(0,a.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=e/100,n=.3086*this.r+.6094*this.g+.082*this.b;return new s({r:Math.round(this.r*t+n*(1-t)),g:Math.round(this.g*t+n*(1-t)),b:Math.round(this.b*t+n*(1-t))})}sRGBToRGBComponent(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}relativeLuminance(){const{r:e,g:t,b:n}={r:this.r/255,g:this.g/255,b:this.b/255},{R:r,G:o,B:i}={R:this.sRGBToRGBComponent(e),G:this.sRGBToRGBComponent(t),B:this.sRGBToRGBComponent(n)};return.2126*r+.7152*o+.0722*i}contrastRatio(e){return(this.relativeLuminance()+.05)/(e.relativeLuminance()+.05)}toCSSValue(){return this.transparent?"transparent":`rgb(${this.r}, ${this.g}, ${this.b})`}toHex(){if(this.transparent)return"#00000000";let e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}r=s,(0,o.Z)(s,"BLACK",new r({r:0,g:0,b:0})),(0,o.Z)(s,"GREY",new r({r:128,g:128,b:128})),(0,o.Z)(s,"WHITE",new r({r:255,g:255,b:255})),(0,o.Z)(s,"DARK_BLUE",new r({r:36,g:131,b:199})),(0,o.Z)(s,"RED",new r({r:248,g:36,b:0})),(0,o.Z)(s,"PURPLE",new r({r:255,g:0,b:255})),(0,o.Z)(s,"PINK",new r({r:255,g:114,b:147})),(0,o.Z)(s,"GREEN",new r({r:110,g:176,b:0})),(0,o.Z)(s,"ORANGE",new r({r:243,g:149,b:0})),(0,o.Z)(s,"YELLOW",new r({r:255,g:255,b:0})),(0,o.Z)(s,"LIGHT_BLUE",new r({r:141,g:184,b:255})),(0,o.Z)(s,"LIGHT_RED",new r({r:247,g:141,b:138})),(0,o.Z)(s,"LIGHT_GREEN",new r({r:162,g:250,b:123})),(0,o.Z)(s,"LIGHT_YELLOW",new r({r:252,g:238,b:124})),(0,o.Z)(s,"BLUE",new r({r:34,g:147,b:251})),(0,o.Z)(s,"LIGHT_ORANGE",new r({r:255,g:139,b:94})),(0,o.Z)(s,"LIGHT_GREY",new r({r:192,g:192,b:192})),(0,o.Z)(s,"DARK_GREY",new r({r:64,g:64,b:64})),(0,o.Z)(s,"MAUVE",new r({r:245,g:135,b:255})),(0,o.Z)(s,"TRANSPARENT",new r({transparent:!0})),(0,o.Z)(s,"fromHex",(e=>e.length>=8&&(e.endsWith("00")||e.endsWith("00"))?r.TRANSPARENT:new r({r:parseInt(e.substr(1,2),16),g:parseInt(e.substr(3,2),16),b:parseInt(e.substr(5,2),16)})))},16602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(60379);const o=[{color:r.Z.RED,localization:{id:"red",defaultMessage:"Red",description:"Red color"}},{color:r.Z.ORANGE,localization:{id:"orange",defaultMessage:"Orange",description:"Orange color"}},{color:r.Z.YELLOW,localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:r.Z.GREEN,localization:{id:"green",defaultMessage:"Green",description:"Green color"}},{color:r.Z.DARK_BLUE,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}},{color:r.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},{color:r.Z.PURPLE,localization:{id:"purple",defaultMessage:"Purple",description:"Purple color"}},{color:r.Z.PINK,localization:{id:"pink",defaultMessage:"Pink",description:"Pink color"}},{color:r.Z.LIGHT_ORANGE,localization:{id:"lightOrange",defaultMessage:"Light Orange",description:"Light Orange color"}},{color:r.Z.LIGHT_YELLOW,localization:{id:"lightYellow",defaultMessage:"Light Yellow",description:"Light Yellow color"}},{color:r.Z.LIGHT_GREEN,localization:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"}},{color:r.Z.LIGHT_BLUE,localization:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"}},{color:r.Z.MAUVE,localization:{id:"mauve",defaultMessage:"Mauve",description:"Mauve color"}},{color:r.Z.TRANSPARENT,localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}},{color:r.Z.WHITE,localization:{id:"white",defaultMessage:"White",description:"White color"}},{color:r.Z.LIGHT_GREY,localization:{id:"lightGrey",defaultMessage:"Light Grey",description:"Light Grey color"}},{color:r.Z.GREY,localization:{id:"grey",defaultMessage:"Grey",description:"Grey color"}},{color:r.Z.DARK_GREY,localization:{id:"darkGrey",defaultMessage:"Dark Grey",description:"Dark Grey color"}},{color:r.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}}]},25822:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});class r{constructor(e){this.name=e.name,this.reason=e.reason,this.progress=e.progress}}},96988:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>v,CF:()=>b,Cd:()=>F,DN:()=>c,Dn:()=>B,FP:()=>a,FQ:()=>D,G_:()=>L,I5:()=>z,IA:()=>m,JR:()=>x,Q7:()=>P,QC:()=>K,R1:()=>i,Sg:()=>l,Ts:()=>E,UL:()=>u,W4:()=>p,Y1:()=>w,YG:()=>N,_h:()=>A,a2:()=>y,aN:()=>I,aT:()=>R,jI:()=>M,lK:()=>j,mZ:()=>d,nv:()=>k,t9:()=>T,tW:()=>C,tk:()=>_,vz:()=>g,wR:()=>s,xb:()=>O,yJ:()=>S,yO:()=>f});var r=n(15359),o=n(35369);let i=function(e){return e[e.Uninitialized=0]="Uninitialized",e[e.Loading=1]="Loading",e[e.Loaded=2]="Loaded",e}({}),a=function(e){return e[e.None=0]="None",e[e.Selected=1]="Selected",e[e.Active=2]="Active",e[e.Moving=3]="Moving",e}({}),s=function(e){return e[e.Edit=0]="Edit",e[e.Create=1]="Create",e[e.Delete=2]="Delete",e}({});class l extends((0,o.WV)({x:0,y:0})){}class u extends((0,o.WV)({offset:new l,size:new l})){}class c extends((0,o.WV)({rotation:0,flipY:!1})){}class d extends((0,o.WV)({xScale:1,skew:0})){}class p extends((0,o.WV)({bold:!1,italic:!1})){}const h={regular:new p,bold:new p({bold:!0}),italic:new p({italic:!0}),boldItalic:new p({bold:!0,italic:!0})};class f extends((0,o.WV)({family:"",variant:h.regular})){}class m extends((0,o.WV)({faceRef:new f,size:0})){}class g extends((0,o.WV)({fontRef:new m,color:"#000000",effects:new d})){}class v extends((0,o.WV)({maxWidth:null,alignment:"begin",lineSpacingFactor:1})){}class y extends((0,o.WV)({top:0,bottom:0})){}class b extends((0,o.WV)({offset:new l,lineSpacing:new y})){}class w extends((0,o.WV)({begin:0,end:0,text:""})){}class x extends((0,o.WV)({unavailableFaceName:null})){}class D extends((0,o.WV)({cluster:0,offset:new l,advance:new l,text:"",control:null,lastOfSegment:!1,beginOfWord:!1,endOfWord:!1})){}class C extends((0,o.WV)({offset:new l,lineSpacing:new y,elements:(0,o.aV)()})){}class E extends((0,o.WV)({lines:(0,o.aV)()})){}class S extends((0,o.WV)({family:null,faceMismatch:null,bold:null,italic:null,size:null,xScale:null,skew:null,color:null})){}class _ extends((0,o.WV)({selectionStyleInfo:null,modificationsCharacterStyle:null,modificationsCharacterStyleFaceMismatch:null})){}class P extends((0,o.WV)({id:"",initialAnchor:new l,initialGlobalEffects:new c,initialLayout:new v,anchor:new l,globalEffects:new c,layout:new v,justCreated:!1,modificationsCharacterStyle:new g,version:0,contentRect:new u,cursor:new b,selection:null,detectedStyle:new _,layoutView:new E})){}class k extends((0,o.WV)({initialTextBlocks:(0,o.aV)(),textBlocks:(0,o.aV)(),loading:!0})){}class A extends((0,o.WV)({pageIndex:0,textBlockId:"",state:a.None})){}class z extends((0,o.WV)({family:"",variants:(0,o.l4)()})){}class T extends((0,o.WV)({faceList:null,loading:!1})){}class O extends((0,o.WV)({fontFace:null,rect:null,dismissAbortController:null})){}class I extends((0,o.WV)({pageStates:(0,o.D5)(),availableFaces:new T,textBlockInteractionState:new A,sessionId:0,active:!1,dirty:!1,saving:!1,mode:s.Edit,fontMismatchTooltip:null,contentEditor:null})){}const F=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?n.loading?i.Loading:i.Loaded:i.Uninitialized},M=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?[...n.textBlocks.map((e=>e.id))]:[]},R=(e,t)=>n=>{const o=n.contentEditorSession.pageStates.get(e);(0,r.kG)(o);for(const e of o.textBlocks)if(e.id==t)return e;return null},j=e=>{const{textBlockInteractionState:t}=e.contentEditorSession;return!t||t.state!==a.Active&&t.state!==a.Selected?null:R(t.pageIndex,t.textBlockId)(e)},B=(e,t)=>n=>{const{textBlockInteractionState:r}=n.contentEditorSession;return r&&r.state===a.Active&&r.pageIndex===e&&r.textBlockId===t},N=e=>e.contentEditorSession.availableFaces,L=(e,t)=>n=>{const{textBlockInteractionState:r}=n.contentEditorSession;return r&&r.state===a.Selected&&r.pageIndex===e&&r.textBlockId===t},K=(e,t)=>n=>{const{textBlockInteractionState:r}=n.contentEditorSession;return r&&r.state===a.Moving&&r.pageIndex===e&&r.textBlockId===t}},56874:(e,t,n)=>{"use strict";n.d(t,{G:()=>l,Z:()=>a});var r=n(35369),o=n(44077);const i=(0,n(79724).Z)("CustomOverlayItem");class a extends((0,r.WV)({disableAutoZoom:!1,id:null,node:null,noRotate:!1,pageIndex:0,position:new o.E9,onAppear:null,onDisappear:null})){constructor(e){super(e)}}const s=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.COMMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE],l=e=>{const{disableAutoZoom:t,id:n,node:r,noRotate:a,pageIndex:l,position:u,onAppear:c,onDisappear:d}=e;i("boolean"==typeof t,"`disableAutoZoom` must be a `boolean`"),i("string"==typeof n,"`id` must be a `string`"),i(r instanceof Node,"`node` must be an instance of `Node`"),i(s.includes(r.nodeType),"`node.nodeType` is invalid. Expected one of "+s.join(", ")),i("boolean"==typeof a,"`noRotate` must be a `boolean`"),i("number"==typeof l,"`pageIndex` must be a `number`"),i(u instanceof o.E9,"`position` must be an instance of `PSPDFKit.Geometry.Point`"),c&&i("function"==typeof c,"`onAppear` must be a `function`"),d&&i("function"==typeof d,"`onDisappear` must be a `function`")}},9470:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});const r=Object.freeze([{id:"solid",dashArray:[]},{id:"narrowDots",dashArray:[1,1]},{id:"wideDots",dashArray:[1,3]},{id:"narrowDashes",dashArray:[3,3]},{id:"wideDashes",dashArray:[6,6]}])},25435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(35369);const o={configuration:null,show:!1};class i extends((0,r.WV)(o)){}},65652:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(50898),o=n(79724),i=n(24126);const a=(0,o.Z)("DocumentEditorFooterItem"),s=[...i.l.map((e=>e.type)),"custom"],l=e=>{const{type:t,id:n,className:o,onPress:i,node:l}=e;a("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),a(s.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${s.join(", ")}`),"custom"===t&&(a(l,"`node` is mandatory for `custom` footer items."),a(l&&r.a.includes(l.nodeType),"`node.nodeType` is invalid. Expected one of "+r.a.join(", ")),n&&a("string"==typeof n,"`id` must be a `string`"),o&&a("string"==typeof o,"`className` must be a `string`"),i&&a("function"==typeof i,"`onPress` must be a `function`")),n&&a("string"==typeof n,"`id` must be a `string`")}},713:(e,t,n)=>{"use strict";n.d(t,{G:()=>d});var r=n(96156),o=n(79724),i=n(18009),a=n(50898);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;te.type)),"custom"],d=e=>{const{type:t}=e;u("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,a.G)(l(l({},e),{},{type:"custom"}),u),u(c.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${c.join(", ")}`)}},92370:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(35369);const o={elements:null,expanded:(0,r.D5)()};class i extends((0,r.WV)(o)){}},2282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);(0,n(79724).Z)("Font");class o extends((0,r.WV)({name:null,callback:null})){constructor(e){super(e)}}},29435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({label:"",value:""})){}},33622:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,Z:()=>s});var r=n(96156);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{C:()=>o});var r=n(34997);function o(){return(0,r.SK)()}},10734:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({children:(0,r.aV)(),title:"",color:null,isBold:!1,isItalic:!1,isExpanded:!1,action:null})){}},65739:(e,t,n)=>{"use strict";n.d(t,{j:()=>o,m:()=>r});const r={P:"p",TH:"th",TD:"td",Table:"table",TBody:"tbody",THead:"thead",TR:"tr",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",Figure:"figure",Link:"span",Span:"span",L:"ul",LI:"li",Part:"div",Sect:"section",Article:"article",Div:"div"},o={P:"paragraph",TH:"cell",TD:"cell",Table:"table",TBody:"table",THead:"table",TR:"row",H1:"heading",H2:"heading",H3:"heading",H4:"heading",H5:"heading",H6:"heading",Figure:"figure",Link:"link",L:"list",LI:"listitem",Sect:"region",Article:"article",Span:void 0,Div:void 0,Part:void 0}},8271:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(35369),o=n(44077);const i={pageSize:new o.$u,pageIndex:0,pageLabel:"",rotation:0,inViewport:!1,contentBlocks:null,textLineScales:null,annotationIds:(0,r.hU)(),customOverlayItemIds:(0,r.l4)(),pageKey:"",untransformedRect:new o.UL,transformedRect:new o.UL,matrix:o.sl.IDENTITY,reverseMatrix:o.sl.IDENTITY,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null},tabOrder:null};class a extends((0,r.WV)(i)){}},36828:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,Z:()=>s});var r=n(96156);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{T:()=>a});var r=n(74750),o=n(27122),i=n(93767);const a={[o.f.ANNOTATIONS]:{includeContent:[...r.J]},[o.f.LAYERS]:{lockedLayers:[],iconsAlignment:i.v.END}}},78191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({storedSignatures:null,signatureRect:null,signaturePageIndex:null,populateStoredSignatures:()=>Promise.resolve((0,r.aV)()),formFieldsNotSavingSignatures:(0,r.l4)(),formFieldName:null})){}},39934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L,w:()=>N});var r=n(35369),o=n(44077),i=n(25822),a=n(14178),s=n(78191),l=n(13422),u=n(34723),c=n(78025),d=n(49616),p=n(62083),h=n(65369),f=n(13264),m=n(13349),g=n(38246),v=n(57712),y=n(92370),b=n(47120),w=n(70025),x=n(26637),D=n(79685),C=n(58342),E=n(76934),S=n(25673),_=n(28233),P=n(21063),k=n(96988),A=n(97281),z=n(58163),T=n(94327),O=n(1385),I=n(10983),F=n(8898),M=n(59980),R=n(25435);const j={reuseState:null,backend:null,pages:(0,r.aV)(),totalPages:0,debugMode:!1,isDebugConsoleVisible:!1,rootElement:null,scrollElement:null,frameWindow:null,containerRect:new o.UL,connectionFailureReason:null,connectionState:new i.Z({name:a.F.CONNECTING}),scrollbarOffset:0,currentTextSelection:null,inlineTextMarkupToolbar:!0,annotations:(0,r.D5)(),attachments:(0,r.D5)(),formFields:(0,r.D5)(),formattedFormFieldValues:(0,r.D5)(),editingFormFieldValues:(0,r.D5)(),readOnlyEnabled:_.J.NO,formsEnabled:!0,formDesignMode:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,printingEnabled:!0,exportEnabled:!0,selectedAnnotationIds:(0,r.l4)(),selectedAnnotationShouldDrag:null,selectedAnnotationMode:null,selectedTextOnEdit:!1,shadowRoot:null,interactionMode:null,interactionsDisabled:!1,showToolbar:!0,enableAnnotationToolbar:!0,disablePointSnapping:!1,sidebarMode:null,sidebarOptions:P.T,sidebarPlacement:h.d.START,showSignatureValidationStatus:m.W.NEVER,hoverAnnotationIds:(0,r.l4)(),hoverAnnotationNote:null,activeAnnotationNote:null,clientsChangeCallback:()=>{},searchState:new l.Z,clientPermissions:new d.Z,backendPermissions:new c.Z,documentPermissions:new p.Z,inkEraserCursorWidth:0,isPrinting:!1,printLoadingIndicatorProgress:null,toolbarItems:(0,r.aV)(),electronicSignatureColorPresets:[],electronicSignatureDefaultTextCallback:null,annotationToolbarHeight:0,annotationPresets:(0,r.D5)(),annotationPresetIds:(0,r.D5)(),currentItemPreset:null,stampAnnotationTemplates:[],viewportState:new u.Z,annotationManager:null,bookmarkManager:null,formFieldManager:null,formFieldValueManager:null,commentManager:null,changeManager:null,searchProvider:null,autoSaveMode:b.u.IMMEDIATE,eventEmitter:new D.Z,printMode:w.X.DOM,printQuality:x.g.LOW,features:(0,r.aV)(),signatureFeatureAvailability:null,customOverlayItems:(0,r.D5)(),locale:"en",annotationCreatorName:null,signatureState:new s.Z,annotationCreatorNameReadOnly:!1,hasPassword:!1,resolvePassword:null,isUnlockedViaModal:!1,transformClientToPage:e=>e,documentOutlineState:new y.Z,annotationsIdsToDelete:null,renderPageCallback:null,annotationTooltipCallback:null,isEditableAnnotation:null,isEditableComment:null,editableAnnotationTypes:(0,r.l4)(g.Z),customRenderers:null,customUIStore:null,documentHandle:null,documentId:null,allowedTileScales:"all",isDocumentHandleOutdated:!1,toolbarPlacement:f.p.TOP,comments:(0,r.D5)(),commentThreads:(0,r.D5)(),isSigning:!1,isApplyingRedactions:!1,digitalSignatures:null,previewRedactionMode:!1,canScrollWhileDrawing:!1,isAPStreamRendered:()=>!0,invalidAPStreams:(0,r.D5)(),collapseSelectedNoteContent:!1,restrictAnnotationToPageBounds:!0,hasFetchedInitialRecordsFromInstant:!1,group:void 0,documentEditorFooterItems:(0,r.aV)(),electronicSignatureCreationModes:(0,r.hU)(v.Z),signingFonts:(0,r.hU)(C.Z),documentEditorToolbarItems:(0,r.aV)(),isHistoryEnabled:!1,areClipboardActionsEnabled:!1,historyChangeContext:E.j.DEFAULT,undoActions:(0,r.aV)(),redoActions:(0,r.aV)(),historyIdsMap:(0,r.D5)(),a11yStatusMessage:"",lastToolbarActionUsedKeyboard:!1,onOpenURI:null,onAnnotationResizeStart:void 0,documentComparisonState:null,keepSelectedTool:!1,instance:null,dateTimeString:null,sidebarWidth:0,annotationToolbarItems:null,focusedAnnotationIds:(0,r.l4)(),annotationToolbarColorPresets:null,renderPagePreview:!0,onWidgetAnnotationCreationStart:null,formDesignerUnsavedWidgetAnnotation:null,inkEraserMode:S.b.POINT,firstCurrentPageIndex:0,arePageSizesLoaded:null,inlineTextSelectionToolbarItems:null,measurementSnapping:!0,measurementPrecision:A.L.TWO,measurementScale:new z.Z({unitFrom:T.s.INCHES,unitTo:O.K.INCHES,fromValue:1,toValue:1}),measurementToolState:null,measurementValueConfiguration:null,measurementScales:null,APStreamVariantsRollover:(0,r.l4)(),APStreamVariantsDown:(0,r.l4)(),contentEditorSession:new k.aN,showExitContentEditorDialog:!1,linkAnnotationMode:!1,anonymousComments:!1,annotationsGroups:(0,r.D5)(),selectedGroupId:null,enableRichText:()=>!1,richTextEditorRef:null,multiAnnotationsUsingShortcut:null,disablePullToRefresh:!1,mentionableUsers:[],maxMentionSuggestions:5,isMultiSelectionEnabled:!0,widgetAnnotationToFocus:null,onCommentCreationStart:null,defaultAutoCloseThreshold:I.W3,hintLines:null,scrollDisabled:!1,customFontsReadableNames:(0,r.l4)(),secondaryMeasurementUnit:null,activeMeasurementScale:null,isCalibratingScale:!1,dynamicFonts:null,enableAlwaysScrollToZoom:!1,noLicenseKey:!1,evaluation:void 0,buttonToImportIconFor:null,documentEditorConfig:I.mc,flattenSignedFormFieldOnExport:!1,OCGLayers:null,visibleOCGLayers:[],theme:F.Q.AUTO,ui:M.m,documentAssistant:new R.Z},B={pages:(0,r.aV)(),annotations:(0,r.D5)(),attachments:(0,r.D5)(),formFields:(0,r.D5)(),comments:(0,r.D5)(),commentThreads:(0,r.D5)()};class N extends((0,r.WV)(B)){}class L extends((0,r.WV)(j)){}},34390:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(35369),o=n(44077);class i extends((0,r.WV)({id:null,pageIndex:null,boundingBox:new o.UL,contents:""})){}},50898:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,a:()=>o});const r=(0,n(79724).Z)("ToolItem"),o=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.DOCUMENT_FRAGMENT_NODE],i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;const{type:n,id:i,title:a,className:s,icon:l,onPress:u,disabled:c,selected:d,node:p}=e;t("custom"===n,"Mandatory `type` is either missing or not `custom`"),p&&(t("custom"===n,"`node` is only supported for `custom` tool items."),t(o.includes(p.nodeType),"`node.nodeType` is invalid. Expected one of "+o.join(", "))),i&&t("string"==typeof i,"`id` must be a `string`"),a&&t("string"==typeof a,"`title` must be a `string`"),s&&t("string"==typeof s,"`className` must be a `string`"),l&&t("string"==typeof l,"`icon` must be a `string`"),u&&t("function"==typeof u,"`onPress` must be a `function`"),"disabled"in e&&t("boolean"==typeof c,"`disabled` must be a `boolean`"),"selected"in e&&t("boolean"==typeof d,"`selected` must be a `boolean`")}},6197:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(96156),o=n(73417),i=n(79724),a=n(50898);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{const{type:t,mediaQueries:n,preset:r}=e;u("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,a.G)(l(l({},e),{},{type:"custom"}),u),u(o._o.includes(t),`Invalid built-in type \`${t}\`. Choose one from ${o._o.join(", ")}`),n&&(u(Array.isArray(n),"`mediaQueries` must be an `array`"),u(n.length>0,"`mediaQueries` must not be an empty `array`"),n.forEach((e=>{u("string"==typeof e,`Invalid media query: \`${e}\``);const t=e.split("(").length,n=e.split(")").length;0===t&&0===n||u(t===n,`Detected unbalanced parenthesis in the media query: ${e}`)}))),"preset"in e&&u("string"==typeof r,"`preset` must be a `string`")}},90093:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(15359),o=n(35369),i=n(10983),a=n(80233),s=n(14286),l=n(2464),u=n(65369),c=n(81777),d=n(13349),p=n(21063);const h="You tried to call a function on ViewState that requires a PSPDFKit.Instance.\nThis is possible, when you use a ViewState that is obtained via Instance#viewState, Instance.setViewState or by setting the instance value of a ViewState explicitly.";class f extends((0,o.WV)({currentPageIndex:0,zoom:c.c.AUTO,zoomStep:i.V4,pagesRotation:0,layoutMode:s.X.SINGLE,scrollMode:l.G.CONTINUOUS,showToolbar:!0,enableAnnotationToolbar:!0,allowPrinting:!0,allowExport:!0,interactionMode:null,readOnly:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,sidebarMode:null,sidebarOptions:p.T,sidebarPlacement:u.d.START,spreadSpacing:i.YJ,pageSpacing:i.Sk,keepFirstSpreadAsSinglePage:!1,viewportPadding:new a.Z,instance:null,formDesignMode:!1,showSignatureValidationStatus:d.W.NEVER,previewRedactionMode:!1,canScrollWhileDrawing:!1,keepSelectedTool:!1,resolvedLayoutMode:s.X.SINGLE,sidebarWidth:0,disablePointSnapping:!1,enableAlwaysScrollToZoom:!1,forceRenderWidgetsInAnnotationsOrder:!1,prerenderedPageSpreads:i.J8,showDocumentAssistant:!1})){zoomIn(){if(!this.instance)throw new r.p2(h);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{maximumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel*this.instance.zoomStep;return t>e&&(t=e),this.set("zoom",t)}zoomOut(){if(!this.instance)throw new r.p2(h);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{minimumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel/this.instance.zoomStep;return t(e+270)%360))}rotateRight(){return this.update("pagesRotation",(e=>(e+90)%360))}goToNextPage(){if(!this.instance)throw new r.p2(h);let e=this.currentPageIndex+1;return e>this.instance.totalPageCount-1&&(e=this.instance.totalPageCount-1),this.set("currentPageIndex",e)}goToPreviousPage(){let e=this.currentPageIndex-1;return e<0&&(e=0),this.set("currentPageIndex",e)}}},80233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(35369),o=n(10983);class i extends((0,r.WV)({horizontal:o.Kk,vertical:o.Kk})){}},34723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(35369),o=n(10983),i=n(14286),a=n(2464),s=n(81777),l=n(44077);const u={zoomLevel:1,zoomMode:s.c.AUTO,layoutMode:i.X.SINGLE,scrollMode:a.G.CONTINUOUS,scrollPosition:new l.E9,currentPageIndex:0,viewportRect:new l.UL,pageSizes:(0,r.aV)(),commentMode:null,pagesRotation:0,viewportPadding:new l.E9({x:o.Kk,y:o.Kk}),spreadSpacing:o.YJ,pageSpacing:o.Sk,keepFirstSpreadAsSinglePage:!1,minDefaultZoomLevel:o.cY,maxDefaultZoomLevel:o.QS,zoomStep:o.V4,lastScrollUsingKeyboard:!1,documentComparisonMode:null,disablePointSnapping:!1,enableAlwaysScrollToZoom:!1,forceRenderWidgetsInAnnotationsOrder:!1,prerenderedPageSpreads:5};class c extends(r.WV(u)){}},690:(e,t,n)=>{"use strict";n.d(t,{D2:()=>c,Q:()=>d,aU:()=>a,co:()=>u,uV:()=>s,zR:()=>l});var r=n(96156),o=n(15359),i=n(9933);class a extends i.D{constructor(e){if(super(e),(0,r.Z)(this,"subActions",null),this.subActions=null==e?void 0:e.subActions,this.constructor===a)throw new o.p2("PSPDFKit.Actions.Action is an abstract base class and can not be instantiated")}}(0,i.V)(a);const s=1,l=1,u=2,c=3,d=4},27922:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(96156),o=n(9933),i=n(690);class a extends i.aU{constructor(e){super(e)}}(0,r.Z)(a,"defaultValues",{script:""}),(0,o.V)(a)},96706:(e,t,n)=>{"use strict";n.d(t,{aU:()=>r.aU,Di:()=>a,Qr:()=>s,_6:()=>l,ZD:()=>c,bp:()=>d.b,b:()=>p,oH:()=>h,BO:()=>f,pl:()=>m,lm:()=>g});var r=n(690),o=n(96156),i=n(9933);class a extends r.aU{constructor(e){super(e)}}(0,o.Z)(a,"defaultValues",{pageIndex:null}),(0,i.V)(a);class s extends r.aU{constructor(e){super(e)}}(0,o.Z)(s,"defaultValues",{newWindow:!1,relativePath:"",targetType:"parent"}),(0,i.V)(s);class l extends r.aU{constructor(e){super(e)}}(0,o.Z)(l,"defaultValues",{relativePath:"",namedDestination:""}),(0,i.V)(l);var u=n(35369);class c extends r.aU{constructor(e){super(e)}}(0,o.Z)(c,"defaultValues",{hide:!0,annotationReferences:(0,u.aV)()}),(0,i.V)(c);var d=n(27922);class p extends r.aU{constructor(e){super(e)}}(0,o.Z)(p,"defaultValues",{filePath:null}),(0,i.V)(p);class h extends r.aU{constructor(e){super(e)}}(0,o.Z)(h,"defaultValues",{action:null}),(0,i.V)(h);class f extends r.aU{constructor(e){super(e)}}(0,o.Z)(f,"defaultValues",{fields:null,includeExclude:!1}),(0,i.V)(f);class m extends r.aU{constructor(e){super(e)}}(0,o.Z)(m,"defaultValues",{uri:null,fields:null,includeExclude:!1,includeNoValueFields:!0,exportFormat:!0,getMethod:!1,submitCoordinated:!1,xfdf:!1,includeAppendSaves:!1,includeAnnotations:!1,submitPDF:!1,canonicalFormat:!1,excludeNonUserAnnotations:!1,excludeFKey:!1,embedForm:!1}),(0,i.V)(m);class g extends r.aU{constructor(e){super(e)}}(0,o.Z)(g,"defaultValues",{uri:null}),(0,i.V)(g)},23951:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(15359),i=n(44077),a=n(9933);class s extends a.D{constructor(e){if(super(e),this.constructor===s)throw new o.p2("PSPDFKit.Annotations.Annotation is an abstract base class and can not be instantiated")}}(0,r.Z)(s,"defaultValues",{id:null,name:null,subject:null,pdfObjectId:null,pageIndex:null,boundingBox:new i.UL,opacity:1,action:null,note:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),customData:null,noPrint:!1,noZoom:!1,noRotate:!1,noView:!1,locked:!1,lockedContents:!1,readOnly:!1,hidden:!1,blendMode:"normal",additionalActions:null,isCommentThreadRoot:!1,isAnonymous:!1,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,canReply:void 0,APStreamCache:void 0,rotation:0}),(0,a.V)(s);const l=s},81026:(e,t,n)=>{"use strict";n.d(t,{FN:()=>c,Yu:()=>d,p1:()=>u});var r=n(96156),o=n(34997),i=n(4715),a=n(44077),s=n(16006),l=n(9933);const u=32;class c extends i.Qi{}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;if(e){var r;const i=p(e,t,n);return new c({id:(0,o.SK)(),pageIndex:e.pageIndex,boundingBox:new a.UL({left:i.x,top:i.y,width:t,height:n}),text:{format:"plain",value:null!==(r=e.note)&&void 0!==r?r:""},parentAnnotation:e,position:i})}return new c({id:(0,o.SK)(),notePosition:new a.E9})}function p(e,t,n){let r=null;var o,l;if(e instanceof i.Zc)e.lines.isEmpty()||null!==(o=e.lines.get(0))&&void 0!==o&&o.isEmpty()||(r=null===(l=e.lines.get(0))||void 0===l?void 0:l.get(0));else if(e instanceof s.Z||e instanceof i.om){if(e.points&&e.points.size>=2){const t=e.points.get(0),n=e.points.get(1);r=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}}else if(e instanceof i.o9){const t=e.startPoint,n=e.endPoint;r=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}else if(e instanceof i.On)return new a.E9({x:e.boundingBox.right+4,y:e.boundingBox.getCenter().y-n/2});return r||(r=new a.E9({x:e.boundingBox.getCenter().x,y:e.boundingBox.top})),r.set("x",r.x-t/2).set("y",r.y-n/2)}(0,r.Z)(c,"defaultValues",{parentAnnotation:null,position:new a.E9,notePosition:new a.E9}),(0,l.V)(c)},4526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(96156),o=n(23951),i=n(9933);class a extends o.Z{}(0,r.Z)(a,"defaultValues",{description:null,fileName:null,contentType:null,imageAttachmentId:null,isSignature:!1,xfdfAppearanceStream:null,xfdfAppearanceStreamOriginalPageRotation:null}),(0,r.Z)(a,"readableName","Image"),(0,i.V)(a);const s=a},55752:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(96156),o=n(35369),i=n(23951),a=n(60379),s=n(9933);class l extends i.Z{}(0,r.Z)(l,"defaultValues",{lines:(0,o.aV)(),lineWidth:5,strokeColor:a.Z.BLUE,backgroundColor:null,isDrawnNaturally:!1,isSignature:!1}),(0,r.Z)(l,"readableName","Ink"),(0,s.V)(l);const u=l},96726:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(96156),o=n(23951),i=n(9933);class a extends o.Z{}(0,r.Z)(a,"defaultValues",{description:null,fileName:null,contentType:null,mediaAttachmentId:null}),(0,r.Z)(a,"readableName","Media"),(0,i.V)(a)},18726:(e,t,n)=>{"use strict";n.d(t,{W:()=>u,Z:()=>d});var r,o=n(96156),i=n(23951),a=n(60379),s=n(59062),l=n(9933);const u=[{color:new a.Z({r:255,g:216,b:63}),localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:new a.Z({r:255,g:127,b:0}),localization:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"}},{color:new a.Z({r:255,g:51,b:0}),localization:{id:"red",defaultMessage:"Red",description:"Red, the color"}},{color:new a.Z({r:229,g:51,b:255}),localization:{id:"fuchsia",defaultMessage:"Fuchsia",description:"Fuchsia, the color"}},{color:new a.Z({r:0,g:153,b:255}),localization:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"}},{color:new a.Z({r:114,g:255,b:0}),localization:{id:"green",defaultMessage:"Green",description:"Green, the color"}}];class c extends i.Z{}(0,o.Z)(c,"isEditable",!0),(0,o.Z)(c,"readableName","Note"),(0,o.Z)(c,"defaultValues",{text:{format:"plain",value:""},icon:s.Zi.COMMENT,color:null===(r=u.find((e=>"yellow"===e.localization.id)))||void 0===r?void 0:r.color}),(0,l.V)(c);const d=c},94732:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(96156),o=n(67041),i=n(60379),a=n(9933);class s extends o.Z{}(0,r.Z)(s,"readableName","Redaction"),(0,r.Z)(s,"defaultValues",{color:i.Z.RED,fillColor:i.Z.BLACK,outlineColor:i.Z.RED,overlayText:null,repeatOverlayText:null,rotation:0}),(0,a.V)(s)},70964:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(23951),i=n(60379),a=n(9933);class s extends o.Z{isMeasurement(){return null!==this.measurementScale}}(0,r.Z)(s,"readableName","Shape"),(0,r.Z)(s,"defaultValues",{strokeWidth:5,strokeColor:i.Z.BLUE,fillColor:null,strokeDashArray:null,measurementPrecision:null,measurementScale:null}),(0,a.V)(s);const l=s},29977:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c,a$:()=>s,k1:()=>l,pY:()=>a});var r=n(96156),o=n(23951),i=n(9933);const a={Approved:{},NotApproved:{},Draft:{},Final:{},Completed:{},Confidential:{},ForPublicRelease:{},NotForPublicRelease:{},ForComment:{},Void:{},PreliminaryResults:{},InformationOnly:{},Rejected:{},Accepted:{},InitialHere:{},SignHere:{},Witness:{},AsIs:{},Departmental:{},Experimental:{},Expired:{},Sold:{},TopSecret:{},Revised:{includeDate:!0,includeTime:!0},RejectedWithText:{includeDate:!0,includeTime:!0},Custom:{}},s={RejectedWithText:"Rejected"},l=e=>s[e]||e;class u extends o.Z{}(0,r.Z)(u,"defaultValues",{stampType:"Custom",title:null,subtitle:null,color:null,xfdfAppearanceStream:null,xfdfAppearanceStreamOriginalPageRotation:null}),(0,r.Z)(u,"readableName","Stamp"),(0,i.V)(u);const c=u},13538:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(96156),o=n(8968),i=n(23951),a=n(60379),s=n(9933);class l extends i.Z{}(0,r.Z)(l,"defaultValues",{text:{format:"plain",value:""},fontColor:a.Z.BLACK,backgroundColor:null,font:o.vt.first()||"sans-serif",fontSize:18,isBold:!1,isItalic:!1,horizontalAlign:"left",verticalAlign:"top",callout:null,borderStyle:null,borderWidth:null,borderColor:null,isFitting:!1,lineHeightFactor:null}),(0,r.Z)(l,"isEditable",!0),(0,r.Z)(l,"readableName","Text"),(0,r.Z)(l,"fontSizePresets",Object.freeze([4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200])),(0,s.V)(l);const u=l},67041:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(96156),o=n(35369),i=n(23951),a=n(60379),s=n(9933);class l extends i.Z{}(0,r.Z)(l,"defaultValues",{rects:(0,o.aV)(),color:a.Z.BLACK,blendMode:"normal"}),(0,r.Z)(l,"readableName","Text-Markup"),(0,s.V)(l);const u=l},66701:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(96156),o=n(23951),i=n(9933);class a extends o.Z{}(0,r.Z)(a,"defaultValues",{formFieldName:null,borderColor:null,borderStyle:null,borderDashArray:null,borderWidth:null,backgroundColor:null,fontSize:null,font:null,isBold:!1,isItalic:!1,fontColor:null,horizontalAlign:null,verticalAlign:null,additionalActions:null,lineHeightFactor:null,buttonIconUpdatedAt:null}),(0,r.Z)(a,"readableName","Widget"),(0,i.V)(a);const s=a},4715:(e,t,n)=>{"use strict";n.d(t,{q6:()=>r.Z,Jn:()=>k,Xs:()=>f.Z,FV:()=>l,sK:()=>u.Z,Zc:()=>c.Z,o9:()=>p.Z,R1:()=>y,Hu:()=>z.Z,Qi:()=>b.Z,Hi:()=>m.Z,om:()=>g.Z,b3:()=>h.Z,Wk:()=>A.Z,UX:()=>d.Z,hL:()=>w,GI:()=>x.ZP,R9:()=>D,gd:()=>C.default,On:()=>i.Z,xu:()=>E,Ih:()=>_,x_:()=>P.Z});var r=n(23951),o=n(96156),i=n(67041),a=n(60379),s=n(9933);class l extends i.Z{}(0,o.Z)(l,"className","highlight"),(0,o.Z)(l,"readableName","Highlight"),(0,o.Z)(l,"defaultValues",{blendMode:"multiply",color:a.Z.LIGHT_YELLOW}),(0,s.V)(l);var u=n(4526),c=n(55752),d=n(70964),p=n(71479),h=n(14165),f=n(9513),m=n(16006),g=n(45874);class v extends r.Z{}(0,o.Z)(v,"readableName","Link"),(0,o.Z)(v,"defaultValues",{borderWidth:0,borderColor:null,borderStyle:null,opacity:1}),(0,s.V)(v);const y=v;var b=n(18726);class w extends i.Z{}(0,o.Z)(w,"className","squiggle"),(0,o.Z)(w,"readableName","Squiggle"),(0,o.Z)(w,"defaultValues",{color:a.Z.RED}),(0,s.V)(w);var x=n(29977);class D extends i.Z{}(0,o.Z)(D,"className","strikeout"),(0,o.Z)(D,"readableName","Strike Out"),(0,o.Z)(D,"defaultValues",{color:a.Z.RED}),(0,s.V)(D);var C=n(13538);class E extends i.Z{}(0,o.Z)(E,"className","underline"),(0,o.Z)(E,"readableName","Underline"),(0,o.Z)(E,"defaultValues",{color:a.Z.BLACK}),(0,s.V)(E);class S extends r.Z{}(0,s.V)(S);const _=S;var P=n(66701);class k extends r.Z{}(0,o.Z)(k,"readableName","Comment-Marker"),(0,s.V)(k);var A=n(94732),z=n(96726)},9513:(e,t,n)=>{"use strict";n.d(t,{F:()=>c,Z:()=>d});var r=n(96156),o=n(70964),i=n(44077),a=n(10983),s=n(9933);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}class u extends o.Z{constructor(e){super(c(e))}}function c(e){if(!e)return;const t=function(e){for(var t=1;t0&&!e.cloudyBorderInset){const n=Number(e.cloudyBorderIntensity)*a.St+(e.strokeWidth||o.Z.defaultValues.strokeWidth)/2;return t.cloudyBorderInset=i.eB.fromValue(n),t}return t}(0,r.Z)(u,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,r.Z)(u,"readableName","Ellipse"),(0,s.V)(u);const d=u},71479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(70964),i=n(44077),a=n(9933);class s extends o.Z{}(0,r.Z)(s,"defaultValues",{startPoint:new i.E9,endPoint:new i.E9,lineCaps:null}),(0,r.Z)(s,"readableName","Line"),(0,a.V)(s);const l=s},16006:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(35369),i=n(70964),a=n(9933);class s extends i.Z{}(0,r.Z)(s,"defaultValues",{points:(0,o.aV)(),cloudyBorderIntensity:null}),(0,r.Z)(s,"readableName","Polygon"),(0,a.V)(s);const l=s},45874:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(35369),i=n(70964),a=n(9933);class s extends i.Z{}(0,r.Z)(s,"defaultValues",{points:(0,o.aV)(),lineCaps:null}),(0,r.Z)(s,"readableName","Polyline"),(0,a.V)(s);const l=s},14165:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96156),o=n(70964),i=n(9513),a=n(9933);class s extends o.Z{constructor(e){super((0,i.F)(e))}}(0,r.Z)(s,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,r.Z)(s,"readableName","Rectangle"),(0,a.V)(s);const l=s},56207:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>u,ZP:()=>l,vQ:()=>c});var r=n(96156),o=n(15359),i=n(35369),a=n(92310);const s={id:null,rootId:null,pageIndex:null,pdfObjectId:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),text:{format:"xhtml",value:null},customData:null,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,isAnonymous:void 0};class l extends(i.WV(s)){getMentionedUserIds(){const e=this.text.value;(0,o.kG)("string"==typeof e,"`text.value` must be of type `string`");const t=(new DOMParser).parseFromString(e,"text/html").body.querySelectorAll("span[data-user-id]"),n=Array.from(t).map((e=>e.getAttribute("data-user-id"))).filter(o.lH);return i.l4(n)}}(0,r.Z)(l,"toSerializableObject",(e=>(0,a.o)(e,e.rootId))),(0,r.Z)(l,"fromSerializableObject",(e=>(0,a.z)(e.id||null,e)));const u=e=>{(0,o.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,o.kG)("string"==typeof e.rootId,"`rootId` must be of type `string`"),(0,o.kG)("number"==typeof e.pageIndex,"`pageIndex` must be of type `number`"),(0,o.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"`pdfObjectId` must be of type `number`"),(0,o.kG)(null==e.creatorName||"string"==typeof e.creatorName,"`creatorName` must be of type `string`"),(0,o.kG)(e.createdAt instanceof Date,"`createdAt` must be a Date"),(0,o.kG)(e.updatedAt instanceof Date,"`updatedAt` must be a Date"),(0,o.kG)("object"==typeof e.text,"`text` must be of type `object`"),(0,o.kG)("string"==typeof e.text.value,"`text` must be of type `string`"),(0,o.kG)("xhtml"===e.text.format||"plain"===e.text.format,"`text.format` must be either `xhtml` or `plain`"),(0,o.kG)(null==e.customData||(0,o.PO)(e.customData),"`customData` must be a JSON-serializable object"),(0,o.kG)(void 0===e.isAnonymous||"boolean"==typeof e.isAnonymous||null==e.isAnonymous,"`isAnonymous` must be of type `boolean`")};function c(e){return(0,o.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,o.kG)("string"==typeof e.name,"`name` must be of type `string`"),e.avatarUrl&&(0,o.kG)("string"==typeof e.avatarUrl,"`avatarUrl` must be of type `string`"),e.description&&(0,o.kG)("string"==typeof e.description,"`description` must be of type `string`"),(0,o.kG)("string"==typeof e.displayName,"`displayName` must be of type `string`"),e}},74110:(e,t,n)=>{"use strict";n.d(t,{BG:()=>a,FR:()=>u,QA:()=>r,Xl:()=>l,hz:()=>s,qA:()=>i,wk:()=>o});const r={ok:"ok",tampered_document:"tampered_document",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",failed_to_retrieve_byterange:"failed_to_retrieve_byterange",failed_to_compute_digest:"failed_to_compute_digest",failed_retrieve_signing_certificate:"failed_retrieve_signing_certificate",failed_retrieve_public_key:"failed_retrieve_public_key",failed_encryption_padding:"failed_encryption_padding",tampered_or_invalid_timestamp:"tampered_or_invalid_timestamp",general_failure:"general_failure"},o={ok:"ok",ok_but_self_signed:"ok_but_self_signed",ok_but_could_not_check_revocation:"ok_but_could_not_check_revocation",untrusted:"untrusted",expired:"expired",not_yet_valid:"not_yet_valid",invalid:"invalid",revoked:"revoked",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",general_validation_problem:"general_validation_problem"},i={valid:"valid",warning:"warning",error:"error"},a={CMS:"CMS",CAdES:"CAdES"},s={b_b:"b-b",b_t:"b-t",b_lt:"b-lt"},l={cms:"cms",cades:"cades",documentTimestamp:"documentTimestamp"},u={raw:"raw",pkcs7:"pkcs7"}},69842:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});const r={valid:"valid",warning:"warning",error:"error",not_signed:"not_signed"}},2841:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});let r=function(e){return e.DRAW_START="DRAW_START",e.DRAW_END="DRAW_END",e.TEXT_EDIT_START="TEXT_EDIT_START",e.TEXT_EDIT_END="TEXT_EDIT_END",e.SELECT_START="SELECT_START",e.SELECT_END="SELECT_END",e.MOVE_START="MOVE_START",e.MOVE_END="MOVE_END",e.RESIZE_START="RESIZE_START",e.RESIZE_END="RESIZE_END",e.ROTATE_START="ROTATE_START",e.ROTATE_END="ROTATE_END",e.DELETE_START="DELETE_START",e.DELETE_END="DELETE_END",e.PROPERTY_CHANGE="PROPERTY_CHANGE",e}({})},7654:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>c,Mr:()=>s,ZP:()=>u});var r=n(96156),o=n(35369),i=n(15359),a=n(9933);const s=["readOnly","required","noExport"];class l extends a.D{constructor(e){if(super(e),this.constructor===l)throw new i.p2("PSPDFKit.FormFields.FormField is an abstract base class and can not be instantiated")}}(0,r.Z)(l,"defaultValues",{id:null,pdfObjectId:null,annotationIds:(0,o.aV)(),name:null,label:"",readOnly:!1,required:!1,noExport:!1,additionalActions:null,group:void 0,isEditable:void 0,isFillable:void 0,isDeletable:void 0,canSetGroup:void 0}),(0,a.V)(l);const u=l;function c(e){return e.has("name")}},48169:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,Z:()=>a});var r=n(96156),o=n(9933);class i extends o.D{constructor(e){super(e),void 0!==(null==e?void 0:e.optionIndexes)&&(this.optionIndexes=e.optionIndexes),void 0!==(null==e?void 0:e.isFitting)&&(this.isFitting=e.isFitting)}}(0,r.Z)(i,"defaultValues",{name:null,value:null}),(0,o.V)(i);const a=i;function s(e){return`form-field-value/${e.name}`}},1858:(e,t,n)=>{"use strict";n.d(t,{R0:()=>s,rF:()=>c,Dz:()=>p,fB:()=>f,Wi:()=>o.ZP,KD:()=>m.Z,Vi:()=>v,XQ:()=>b,Yo:()=>C,$o:()=>x});var r=n(96156),o=n(7654),i=n(9933);class a extends o.ZP{}(0,r.Z)(a,"defaultValues",{buttonLabel:null}),(0,i.V)(a);const s=a;var l=n(35369);class u extends o.ZP{}(0,r.Z)(u,"defaultValues",{values:(0,l.aV)(),defaultValues:(0,l.aV)(),options:(0,l.aV)(),optionIndexes:void 0}),(0,i.V)(u);const c=u;class d extends o.ZP{}(0,r.Z)(d,"defaultValues",{options:(0,l.aV)(),values:(0,l.aV)(),defaultValues:(0,l.aV)(),multiSelect:!1,commitOnChange:!1,additionalActions:null}),(0,i.V)(d);const p=d;class h extends p{}(0,r.Z)(h,"defaultValues",{edit:!1,doNotSpellCheck:!1}),(0,i.V)(h);const f=h;var m=n(48169);class g extends p{}(0,i.V)(g);const v=g;class y extends o.ZP{}(0,r.Z)(y,"defaultValues",{options:(0,l.aV)(),noToggleToOff:!1,radiosInUnison:!0,value:"",defaultValue:"",optionIndexes:void 0}),(0,i.V)(y);const b=y;class w extends o.ZP{}(0,r.Z)(w,"defaultValues",{password:!1,maxLength:null,doNotSpellCheck:!1,doNotScroll:!1,multiLine:!1,comb:!1,value:"",defaultValue:"",additionalActions:null}),(0,i.V)(w);const x=w;class D extends o.ZP{}const C=D},51065:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(96156),o=n(13205),i=n(9933);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>a});var r=n(96156),o=n(9933);class i extends o.D{constructor(e){super(e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("x",this.x*e).set("y",this.y*t)}))}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("x",this.x+t).set("y",this.y+n)}))}translateX(e){return this.translate(new i({x:e,y:0}))}translateY(e){return this.translate(new i({x:0,y:e}))}distance(e){return Math.sqrt((e.x-this.x)**2+(e.y-this.y)**2)}rotate(e){e%=360;const{x:t,y:n}=this;switch(e){case 0:return this;case 90:return this.set("x",n).set("y",-t);case 180:return this.set("x",-t).set("y",-n);case 270:return this.set("x",-n).set("y",t);default:{const r=e*Math.PI/180;return this.set("x",Math.cos(r)*t+Math.sin(r)*n).set("y",Math.cos(r)*n-Math.sin(r)*t)}}}apply(e){const[t,n]=e.applyToPoint([this.x,this.y]);return this.withMutations((e=>{e.set("x",t).set("y",n)}))}}(0,r.Z)(i,"defaultValues",{x:0,y:0}),(0,o.V)(i);const a=i},36691:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(96156),o=n(15359),i=n(9933),a=n(13205),s=n(90569);class l extends i.D{constructor(e){super(e)}get right(){return this.left+this.width}get bottom(){return this.top+this.height}static fromClientRect(e){let{top:t,left:n,width:r,height:o}=e;return new l({top:t,left:n,width:r,height:o})}static union(e){const t=e.map((e=>e.top)).min(),n=e.map((e=>e.bottom)).max()-t,r=e.map((e=>e.left)).min(),o=e.map((e=>e.right)).max()-r;return new l({left:r,top:t,width:o,height:n})}static getCenteredRect(e,t){return new l({left:(t.width-e.width)/2,top:(t.height-e.height)/2,width:e.width,height:e.height})}static fromInset(e){return new l({left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top})}static fromPoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),i=Math.min(...t.map((e=>e.y))),a=Math.max(...t.map((e=>e.x))),s=Math.max(...t.map((e=>e.y)));return new l({left:r,top:i,width:a-r,height:s-i})}expandToIncludePoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),o=Math.min(this.top,...t.map((e=>e.y))),i=Math.max(this.left+this.width,...t.map((e=>e.x))),a=Math.max(this.top+this.height,...t.map((e=>e.y)));return new l({left:r,top:o,width:i-r,height:a-o})}static areRectsCloserThan(e,t,n){return Math.abs(e.left-t.left)<=n&&Math.abs(e.top-t.top)<=n&&Math.abs(e.left+e.width-(t.left+t.width))<=n&&Math.abs(e.top+e.height-(t.top+t.height))<=n}static areVerticallyAligned(e,t,n){return Math.abs(e.top-t.top)<=n&&Math.abs(e.top+e.height-(t.top+t.height))<=n}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("left",this.left+t).set("top",this.top+n)}))}translateX(e){return this.set("left",this.left+e)}translateY(e){return this.set("top",this.top+e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("left",this.left*e).set("top",this.top*t).set("width",this.width*e).set("height",this.height*t)}))}grow(e){return this.withMutations((t=>{t.set("left",this.left-e).set("top",this.top-e).set("width",this.width+2*e).set("height",this.height+2*e)}))}getLocation(){return new a.Z({x:this.left,y:this.top})}getSize(){return new s.Z({width:this.width,height:this.height})}getCenter(){return new a.Z({x:this.left+this.width/2,y:this.top+this.height/2})}setLocation(e){return this.withMutations((t=>{t.set("left",e.x).set("top",e.y)}))}roundOverlap(){return this.withMutations((e=>{e.set("left",Math.floor(this.left)).set("top",Math.floor(this.top)).set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}round(){return this.withMutations((e=>{e.set("left",Math.round(this.left)).set("top",Math.round(this.top)).set("width",Math.round(this.width)).set("height",Math.round(this.height))}))}isPointInside(e){return e.x>=this.left&&e.x<=this.right&&e.y>=this.top&&e.y<=this.bottom}isRectInside(e){return this.isPointInside(e.getLocation())&&this.isPointInside(e.getLocation().translate(new a.Z({x:e.width,y:e.height})))}isRectOverlapping(e){return e.leftthis.left&&e.topthis.top}normalize(){return this.withMutations((e=>e.set("left",this.width<0?this.left+this.width:this.left).set("top",this.height<0?this.top+this.height:this.top).set("width",Math.abs(this.width)).set("height",Math.abs(this.height))))}apply(e){const[t,n]=e.applyToPoint([this.left,this.top]),[r,o]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>e.set("left",t).set("top",n).set("width",r).set("height",o))).normalize()}}(0,r.Z)(l,"defaultValues",{left:0,top:0,width:0,height:0}),(0,i.V)(l);const u=l},90569:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({width:0,height:0})){scale(e){return this.withMutations((t=>{t.set("width",this.width*e).set("height",this.height*e)}))}ceil(){return this.withMutations((e=>{e.set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}floor(){return this.withMutations((e=>{e.set("width",Math.floor(this.width)).set("height",Math.floor(this.height))}))}swapDimensions(){return this.withMutations((e=>{e.set("width",this.height).set("height",this.width)}))}apply(e){const[t,n]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>{e.set("width",Math.abs(t)).set("height",Math.abs(n))}))}}},44077:(e,t,n)=>{"use strict";n.d(t,{Wm:()=>i.Z,eB:()=>f,E9:()=>o.Z,UL:()=>a.Z,$u:()=>s.Z,sl:()=>p});var r,o=n(13205),i=n(51065),a=n(36691),s=n(90569),l=n(96156),u=n(15359),c=n(9933);class d extends c.D{translate(e){let{x:t,y:n}=e;return this.transform(1,0,0,1,t,n)}translateX(e){return this.translate({x:e,y:0})}translateY(e){return this.translate({x:0,y:e})}scale(e,t){return t||(t=e),this.transform(e,0,0,t,0,0)}transform(e,t,n,r,o,i){const{a,b:s,c:l,d:u,e:c,f:d}=this;return this.withMutations((p=>p.set("a",e*a+n*s).set("b",t*a+r*s).set("c",e*l+n*u).set("d",t*l+r*u).set("e",e*c+n*d+o).set("f",t*c+r*d+i)))}rotate(e){(0,u.kG)(e%90==0,"Only multiples of 90° allowed.");const t=(360-e)*Math.PI/180,n=Math.cos(t),r=Math.sin(t);return this.transform(n,r,-r,n,0,0)}rotateRad(e){const t=Math.cos(e),n=Math.sin(e);return this.transform(t,n,-n,t,0,0)}inverse(){const{a:e,b:t,c:n,d:r,e:o,f:i}=this,a=e*r-t*n;return this.withMutations((s=>s.set("a",r/a).set("b",t/-a).set("c",n/-a).set("d",e/a).set("e",(n*i-r*o)/a).set("f",(e*i-t*o)/-a)))}toCssValue(){const{a:e,b:t,c:n,d:r,e:o,f:i}=this;return`matrix(${e.toFixed(2)}, ${t.toFixed(2)}, ${n.toFixed(2)}, ${r.toFixed(2)}, ${o.toFixed(2)}, ${i.toFixed(2)})`}applyToPoint(e){let[t,n]=e;const{a:r,b:o,c:i,d:a,e:s,f:l}=this;return[r*t+i*n+s,o*t+a*n+l]}applyToVector(e){let[t,n]=e;const{a:r,b:o,c:i,d:a}=this;return[r*t+i*n,o*t+a*n]}}r=d,(0,l.Z)(d,"defaultValues",{a:1,b:0,c:0,d:1,e:0,f:0}),(0,l.Z)(d,"IDENTITY",new r),(0,c.V)(d);const p=d;var h=n(35369);class f extends((0,h.WV)({left:0,top:0,right:0,bottom:0})){static applyToRect(e,t){if(!(e instanceof f))throw new u.p2("`inset` must be an instance of `PSPDFKit.Geometry.Inset`");if(!(t instanceof a.Z))throw new u.p2("`rect` must be an instance of `PSPDFKit.Geometry.Rect`");return new a.Z({top:t.top+e.top,left:t.left+e.left,width:t.width-(e.left+e.right),height:t.height-(e.top+e.bottom)})}static fromRect(e){return new f({left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height})}static fromValue(e){if("number"!=typeof e)throw new u.p2("The provided value must be a number");return new f({top:e,left:e,right:e,bottom:e})}apply(e){const t=e.applyToPoint([this.left,this.top]),n=e.applyToPoint([this.left,this.bottom]),r=e.applyToPoint([this.right,this.top]),o=e.applyToPoint([this.right,this.bottom]),i=Math.min(t[0],n[0],r[0],o[0]),a=Math.max(t[0],n[0],r[0],o[0]),s=Math.min(t[1],n[1],r[1],o[1]),l=Math.max(t[1],n[1],r[1],o[1]);return new f({left:i,right:a,top:s,bottom:l})}setScale(e){return new f({left:this.left*e,right:this.right*e,top:this.top*e,bottom:this.bottom*e})}}},45249:(e,t,n)=>{"use strict";n.d(t,{q6:()=>i.q6,Pg:()=>l,rp:()=>u.Z,R0:()=>a.R0,UW:()=>h,rF:()=>a.rF,Dz:()=>a.Dz,uh:()=>y.Z,Il:()=>f.Z,fB:()=>a.fB,sv:()=>O.ZP,Jn:()=>i.Jn,Bd:()=>N,em:()=>m.Z,b0:()=>w,dc:()=>x,ZS:()=>q,S:()=>_.Z,Wm:()=>o.Wm,Xs:()=>i.Xs,Wi:()=>a.Wi,KD:()=>a.KD,mv:()=>g.Z,Di:()=>r.Di,FV:()=>i.FV,sK:()=>i.sK,Zc:()=>i.Zc,eB:()=>o.eB,bp:()=>r.bp,o9:()=>i.o9,R1:()=>i.R1,Vi:()=>a.Vi,Hu:()=>i.Hu,Qi:()=>i.Qi,sT:()=>k.Z,T3:()=>v.Z,E9:()=>o.E9,Hi:()=>i.Hi,om:()=>i.om,XQ:()=>a.XQ,UL:()=>o.UL,b3:()=>i.b3,UX:()=>i.UX,Yo:()=>a.Yo,dp:()=>P.Z,$u:()=>o.$u,hL:()=>i.hL,GI:()=>i.GI,ZM:()=>b.Z,R9:()=>i.R9,gd:()=>i.gd,$o:()=>a.$o,bi:()=>D.Z,On:()=>i.On,SV:()=>E,Bs:()=>S,lm:()=>r.lm,xu:()=>i.xu,Ih:()=>i.Ih,f7:()=>T.Z,gx:()=>z.Z,Vk:()=>A.Z,x_:()=>i.x_});var r=n(96706),o=n(44077),i=n(4715),a=n(1858),s=n(35369);class l extends((0,s.WV)({data:null})){}var u=n(99745),c=n(96156),d=n(9933);class p extends d.D{}(0,c.Z)(p,"defaultValues",{start:null,knee:null,end:null,cap:null,innerRectInset:null}),(0,d.V)(p);const h=p;var f=n(60379),m=(n(16602),n(25822)),g=(n(56874),n(9470),n(29435)),v=(n(33622),n(8271)),y=(n(36828),n(49616)),b=(n(78025),n(39934));class w extends((0,s.WV)({id:null,pageIndex:null,textLines:(0,s.aV)(),contentElements:(0,s.aV)(),contentBlocks:(0,s.aV)(),contentTreeElementMetadata:null,allowsBlockTypeChildren:!0,boundingBox:null})){}class x extends((0,s.WV)({id:null,pageIndex:null,boundingBox:new o.UL,elementType:null})){}var D=n(34390),C=n(15359);class E extends((0,s.WV)({startNode:null,startOffset:null,endNode:null,endOffset:null})){startAndEndIds(){const e=this.startNode.parentNode,t=this.endNode.parentNode;if(!e||!t)return null;const n=parseInt(e.dataset.textlineId),r=parseInt(t.dataset.textlineId),o=e.dataset.contentblockId,i=t.dataset.contentblockId,a=parseInt(e.dataset.pageIndex),s=parseInt(t.dataset.pageIndex);return(0,C.kG)("number"==typeof n,"selection startId is not a number"),(0,C.kG)("number"==typeof r,"selection endId is not a number"),(0,C.kG)("string"==typeof o,"selection startBlockId is not a string"),(0,C.kG)("string"==typeof i,"selection endBlockId is not a string"),(0,C.kG)("number"==typeof a,"selection start pageIndex is not a number"),(0,C.kG)("number"==typeof s,"selection end pageIndex is not a number"),{startTextLineId:n,endTextLineId:r,startNestedContentBlockId:o,endNestedContentBlockId:i,startPageIndex:a,endPageIndex:s}}}class S extends((0,s.WV)({textRange:null,startTextLineId:null,endTextLineId:null,startNestedContentBlockId:null,endNestedContentBlockId:null,startPageIndex:null,endPageIndex:null})){}var _=n(92370),P=n(78191),k=n(10734),A=n(34723),z=n(80233),T=n(90093),O=n(56207),I=n(79724),F=n(30874);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};j(void 0===t.numberOfContextWords||"number"==typeof t.numberOfContextWords,"numberOfContextWords must be a number."),super({type:e,options:R(R({},B.options),t)})}}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const K=(0,I.Z)("DocumentDescriptor"),V={filePath:void 0,password:void 0,pageIndexes:[],jwt:void 0};class q extends((0,s.WV)(V)){constructor(e){!function(e){let{filePath:t,pageIndexes:n,password:r,jwt:o}=e;t&&K("string"==typeof t||t instanceof ArrayBuffer,"filePath must be a string or ArrayBuffer.");null!=o&&K("string"==typeof o&&o.length>0,"jwt must be a non-empty string.");null!=r&&K("string"==typeof r&&r.length>0,"password must be a non-empty string.");K(n.length>0,"pageIndexes must be a non-empty array."),K(n.every((e=>"number"==typeof e||Array.isArray(e)&&2===e.length&&e.every((e=>"number"==typeof e)))),"pageIndexes must be an array of numbers or arrays of two numbers.")}(e),super(function(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>a});var r=n(35369),o=n(94327),i=n(1385);class a extends((0,r.WV)({unitFrom:o.s.INCHES,unitTo:i.K.INCHES,fromValue:1,toValue:1})){}},68804:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({pageIndex:null,previewText:"",locationInPreview:null,lengthInPreview:null,rectsOnPage:(0,r.aV)(),isAnnotation:null,annotationRect:null})){}},13422:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(35369);class o extends((0,r.WV)({isFocused:!1,isLoading:!1,term:"",focusedResultIndex:-1,results:(0,r.aV)(),minSearchQueryLength:1})){}},8210:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(82716),o=n(27122);const i={Sidebar:Object.values(o.f)};function a(e){for(const t in e)if(e.hasOwnProperty(t)){(0,r.k)(void 0!==typeof i[t],`'${t}' is not a customizable UI element. Customizable UI elements are: ${Object.keys(i).join(", ")}`);const n=i[t];(0,r.k)(Object.keys(e[t]).every((e=>n.includes(e))),`The provided custom UI configuration contains one or more invalid keys for "${t}". Valid "${t}" keys are: ${n.join(",")}`),(0,r.k)(Object.values(e[t]).every((e=>"function"==typeof e)),"The custom UI values provided must be callback functions.")}return e}},86037:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,Z:()=>u});var r=n(15359),o=n(66327),i=n(56554),a=n(44550),s=n(67009);const l="The API you're trying to use requires a digital signatures license. Digital Signatures is a component of PSPDFKit for Web and sold separately.";function u(e,t){t.getSignaturesInfo=function(){const{features:t,backend:n}=e.getState();return(0,r.kG)(t.includes(a.q.DIGITAL_SIGNATURES),l),(0,r.kG)(n),n.getSignaturesInfo().then((t=>(e.dispatch((0,i.Y)(t)),t)))},t.signDocument=function(t,n){const{features:u,backend:c}=e.getState();var d;((0,r.kG)(u.includes(a.q.DIGITAL_SIGNATURES),l),t&&(0,s.w2)(t,c),"STANDALONE"===(null==c?void 0:c.type))?null!=t&&t.signingData?(0,r.kG)(void 0===n||void 0===(null==t||null===(d=t.signingData)||void 0===d?void 0:d.privateKey),"On a Standalone deployment, when `signaturePreparationData.signingData.privateKey` is set, `twoStepSignatureCallbackOrSigningServiceData` should not be provided."):(0,r.kG)("function"==typeof n,"On a Standalone deployment, when `signaturePreparationData.signingData` is not provided or does not include a `privateKey`, `twoStepSignatureCallbackOrSigningServiceData` must be a function."):"SERVER"===(null==c?void 0:c.type)&&(0,r.kG)(!n||"object"==typeof n,"On a Server deployment, `twoStepSignatureCallbackOrSigningServiceData` must be a `PSPDFKit.SigningServiceData` object if specified.");return e.dispatch((0,o.d9)()),new Promise(((r,a)=>{e.dispatch((0,i.e)(t,n,(()=>{e.dispatch((0,o.t6)()),r()}),(t=>{e.dispatch((0,o.t6)()),a(t)})))}))},t.setSignaturesLTV=async function(t){const{features:n,backend:o}=e.getState();(0,r.kG)(n.includes(a.q.DIGITAL_SIGNATURES),l),(0,r.kG)(!t||Array.isArray(t)&&t.every((e=>Boolean(e instanceof ArrayBuffer&&e.byteLength>0||"string"==typeof e&&e.length>0))),"`certificates` must be an array of strings or ArrayBuffers."),(0,r.kG)(o);const s=await o.setSignaturesLTV(t);return e.dispatch((0,i.Y)(s)),s}}},75287:(e,t,n)=>{"use strict";n.d(t,{Qr:()=>c,ZP:()=>d,oQ:()=>u});var r=n(96156),o=n(15359),i=n(66327),a=n(44550);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{I:()=>l,Z:()=>c});var r=n(15359);function o(e){return(0,r.kG)(Array.isArray(e)&&e.length>0,"Operations must be a non-empty array of operations."),e.forEach((e=>{(0,r.kG)(e.hasOwnProperty("type"),"Invalid operation: no `type` field")})),e}var i=n(70982),a=n(11765),s=n(44550);const l="The API you're trying to use requires a document editing license. Document editing is a component of PSPDFKit for Web and sold separately.",u=["document.change"];function c(e,t){e.getState().eventEmitter.events.push(...u),t.applyOperations=function(t){const{features:n}=e.getState();return(0,r.kG)(n.includes(s.q.DOCUMENT_EDITING),l),o(t),new Promise(((n,r)=>{e.dispatch((0,i.b_)(t,n,r))}))},t.exportPDFWithOperations=async function(t){const{features:n,backend:i}=e.getState();return(0,r.kG)(n.includes(s.q.DOCUMENT_EDITING),l),o(t),(0,r.kG)(i),i.exportPDFWithOperations(t.map(a.kg))}}},41172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m,q:()=>f});var r=n(96156),o=n(15359),i=n(67366),a=n(31647),s=n(66327),l=n(4087),u=n(96650),c=n(44550),d=n(24382);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{y.forEach((t=>{e.dispatch((0,l.$d)(t))}))}));else if("SERVER"===s.type&&!s.isUsingInstantProvider()){var b;const{alreadyLoadedPages:e}=s.provider.state,t=y.filter((t=>e.has(t.pageIndex)));null===(b=r.annotationManager)||void 0===b||b.backendObjectsCreated(y,d.z),m.emit("annotations.create",t)}return y.map((e=>e.id))},t.applyRedactions=function(){const{features:t}=e.getState();if(!t.includes(c.q.REDACTIONS))throw new o.p2(f);return e.dispatch((0,s.fq)()),new Promise(((t,n)=>(e.dispatch((0,a.g)((()=>{e.dispatch((0,s.Di)()),t()}),(t=>{e.dispatch((0,s.Di)()),n(t)}))),t)))}}},1990:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,Z:()=>u});var r=n(35369),o=n(15359),i=n(11192),a=n(97238);class s extends((0,r.WV)({startTextLineId:null,endTextLineId:null,startPageIndex:null,endPageIndex:null,startNestedContentBlockId:null,endNestedContentBlockId:null,startNode:null,startOffset:null,endNode:null,endOffset:null,getText:null,getSelectedTextLines:null,getBoundingClientRect:null,getSelectedRectsPerPage:null})){}const l=["textSelection.change"];function u(e,t){t.getTextSelection=function(){var t,n,r,l;const u=e.getState(),c=u.currentTextSelection;return c?new s({startTextLineId:c.startTextLineId,endTextLineId:c.endTextLineId,startNestedContentBlockId:c.startNestedContentBlockId,endNestedContentBlockId:c.endNestedContentBlockId,startPageIndex:c.startPageIndex,endPageIndex:c.endPageIndex,startNode:null===(t=c.textRange)||void 0===t?void 0:t.startNode,startOffset:null===(n=c.textRange)||void 0===n?void 0:n.startOffset,endNode:null===(r=c.textRange)||void 0===r?void 0:r.endNode,endOffset:null===(l=c.textRange)||void 0===l?void 0:l.endOffset,getText:async()=>(0,i.Q)(u,c),getSelectedTextLines:async()=>((0,o.kG)(c.textRange),(0,i.ZJ)(u,c.textRange).valueSeq().toList().flatten(!0)),getBoundingClientRect:async()=>((0,o.kG)(c.textRange),(0,i.U2)(u,c.textRange)),getSelectedRectsPerPage:async()=>(0,a.rf)(u)}):null};let n=e.getState();const{eventEmitter:r}=n;return r.events.push(...l),e.subscribe((()=>{const o=e.getState();n.currentTextSelection!==o.currentTextSelection&&r.emit("textSelection.change",t.getTextSelection()),n=o}))}},38705:(e,t,n)=>{"use strict";n.d(t,{F3:()=>L,ZP:()=>B,eV:()=>N});var r=n(67366),o=n(15359),i=n(38252),a=n(10983),s=n(27122),l=n(65369),u=n(13349),c=n(81777),d=n(4480),p=n(35727),h=n(86037),f=n(12705),m=n(5130),g=n(18287),v=n(2464),y=n(82197),b=n(14286),w=n(48625),x=n(89637),D=n(84293),C=n(45249),E=n(2927),S=n(66327),_=n(40084),P=n(38478),k=n(24987),A=n(43069),z=n(77897),T=n(28233),O=n(44550),I=n(87996),F=n(35998),M=n(75287);const R=["viewState.change","viewState.currentPageIndex.change","viewState.zoom.change"],j=["cropArea.changeStart","cropArea.changeStop"];function B(e,t){const{eventEmitter:n}=e.getState();let l=!0,u=b();function g(){if(!l)return;const e=b(),t=u;u=e;const r=t.delete("instance"),o=e.delete("instance");r.equals(o)||(t.currentPageIndex!==e.currentPageIndex&&n.emit("viewState.currentPageIndex.change",e.currentPageIndex),t.zoom!==e.zoom&&n.emit("viewState.zoom.change",e.zoom),n.emit("viewState.change",e,t))}n.events.push(...R),n.events.push(...j);const v=e.subscribe(g);function b(){const n=e.getState();return(0,P.w)(n,t)}return Object.defineProperty(t,"viewState",{enumerable:!0,configurable:!1,get:b}),t.setViewState=function(t){let n=t;if("function"==typeof n&&(n=n.call(null,b())),!(n instanceof C.f7)){const e="function"==typeof n?"return value of your update function":"supplied argument";throw new o.p2(`The ${e} is not an instance of PSPDFKit.ViewState.`)}l=!1,n=L(n,e),function(e,t,n){t.zoom!==n.zoom&&(n.zoom===c.c.AUTO?e.dispatch((0,_._R)()):n.zoom===c.c.FIT_TO_VIEWPORT?e.dispatch((0,_.lO)()):n.zoom===c.c.FIT_TO_WIDTH?e.dispatch((0,_.du)()):"number"==typeof n.zoom&&e.dispatch((0,_.Ic)(n.zoom)));if(t.pagesRotation!==n.pagesRotation){const r=(0,y.n5)(n.pagesRotation-t.pagesRotation);e.dispatch((0,_.U1)(r))}t.layoutMode!==n.layoutMode&&e.dispatch((0,S.YA)(n.layoutMode));t.scrollMode!==n.scrollMode&&e.dispatch((0,S._U)(n.scrollMode));t.showToolbar!==n.showToolbar&&(t.showToolbar?e.dispatch((0,S.iu)()):e.dispatch((0,S.bv)()));t.enableAnnotationToolbar!==n.enableAnnotationToolbar&&(t.enableAnnotationToolbar?e.dispatch((0,S.Wv)()):e.dispatch((0,S.m$)()));t.allowPrinting!==n.allowPrinting&&(n.allowPrinting?e.dispatch((0,S.Ol)()):e.dispatch((0,S.m0)()));t.allowExport!==n.allowExport&&(n.allowExport?e.dispatch((0,S.Rx)()):e.dispatch((0,S.YI)()));t.zoomStep!==n.zoomStep&&(!n.zoomStep||n.zoomStep<1?((0,o.ZK)(`The zoomStep value must be greater than 1. The value you provided was ${n.zoomStep}.The zoomStep value will be set to default ${a.V4}`),e.dispatch((0,S.Ql)(a.V4))):e.dispatch((0,S.Ql)(n.zoomStep)));t.disablePointSnapping!==n.disablePointSnapping&&"boolean"==typeof n.disablePointSnapping&&e.dispatch((0,S.c8)(n.disablePointSnapping));const l=e.getState();t.showSignatureValidationStatus!==n.showSignatureValidationStatus&&((0,o.kG)(l.features.includes(O.q.DIGITAL_SIGNATURES),h.C),e.dispatch((0,S.A7)(n.showSignatureValidationStatus)));(!0===n.formDesignMode||(0,A.fF)(n.interactionMode))&&((0,o.kG)(l.features.includes(O.q.FORM_DESIGNER),m.RB),(0,o.kG)(l.backend&&(0,f.k_)(l.backend),m.Bl));!0===n.previewRedactionMode&&(0,o.kG)(l.features.includes(O.q.REDACTIONS),"The API you're trying to use requires a redactions license. Redactions is a component of PSPDFKit for Web and sold separately.");n.interactionMode===w.A.DOCUMENT_EDITOR&&(0,o.kG)(l.features.includes(O.q.DOCUMENT_EDITING),d.I);n.interactionMode===w.A.CONTENT_EDITOR&&(0,o.kG)(l.features.includes(O.q.CONTENT_EDITING),F.Aq);t.formDesignMode!==n.formDesignMode&&e.dispatch((0,S.LE)(n.formDesignMode));if(t.interactionMode!==n.interactionMode){if(null!=n.interactionMode){const o=N(n.interactionMode,l),i=t.interactionMode?N(t.interactionMode,l):null;(n.interactionMode===w.A.DOCUMENT_EDITOR&&(0,f.Xr)({features:l.features,backendPermissions:l.backendPermissions,documentPermissions:l.documentPermissions,readOnlyEnabled:l.readOnlyEnabled})||n.interactionMode===w.A.CONTENT_EDITOR&&(0,f.qs)({features:l.features,backendPermissions:l.backendPermissions,documentPermissions:l.documentPermissions,readOnlyEnabled:l.readOnlyEnabled})||!n.readOnly||o.allowWhenInReadOnlyMode)&&(0,r.dC)((()=>{i&&e.dispatch(i.onLeaveAction()),e.dispatch(o.onEnterAction())}))}else if(null!=t.interactionMode){const n=N(t.interactionMode,l);e.dispatch((0,x.fz)()),e.dispatch(n.onLeaveAction())}n.interactionMode===w.A.INK_SIGNATURE&&(0,i.a1)("PSPDFKit.InteractionMode.INK_SIGNATURE was deprecated and will be removed in future version. Please use PSPDFKit.InteractionMode.SIGNATURE instead.")}t.readOnly!==n.readOnly&&(n.readOnly?e.dispatch((0,S.oX)(T.J.VIA_VIEW_STATE)):e.dispatch((0,S.ek)()));t.showAnnotations!==n.showAnnotations&&(n.showAnnotations?e.dispatch((0,S.cI)()):e.dispatch((0,S.Tu)()));t.showComments!==n.showComments&&((0,o.kG)(l.features.includes(O.q.COMMENTS),p.kx),n.showComments?e.dispatch((0,S.Q8)()):e.dispatch((0,S.u0)()));t.showAnnotationNotes!==n.showAnnotationNotes&&(n.showAnnotationNotes?e.dispatch((0,S.T)()):e.dispatch((0,S.SE)()));const u={[s.f.ANNOTATIONS]:S.ze,[s.f.BOOKMARKS]:S.Hf,[s.f.DOCUMENT_OUTLINE]:S.EJ,[s.f.THUMBNAILS]:S.el,[s.f.SIGNATURES]:S.LH,[s.f.LAYERS]:S.Fs,[s.f.CUSTOM]:S.rd};t.sidebarMode!==n.sidebarMode&&(null===n.sidebarMode?e.dispatch((0,S.mu)()):e.dispatch(u[n.sidebarMode]()));t.sidebarPlacement!==n.sidebarPlacement&&e.dispatch((0,S.Ox)(n.sidebarPlacement));t.sidebarOptions!==n.sidebarOptions&&e.dispatch((0,S.vI)(n.sidebarOptions));t.spreadSpacing!==n.spreadSpacing&&e.dispatch((0,S.JN)(n.spreadSpacing));t.pageSpacing!==n.pageSpacing&&e.dispatch((0,S.vY)(n.pageSpacing));t.keepFirstSpreadAsSinglePage!==n.keepFirstSpreadAsSinglePage&&e.dispatch((0,S.EY)(n.keepFirstSpreadAsSinglePage));if(t.viewportPadding.horizontal!==n.viewportPadding.horizontal||t.viewportPadding.vertical!==n.viewportPadding.vertical){const t=new C.E9({x:n.viewportPadding.horizontal,y:n.viewportPadding.vertical});e.dispatch((0,S._P)(t))}t.currentPageIndex!==n.currentPageIndex&&e.dispatch((0,_.YA)(n.currentPageIndex));t.previewRedactionMode!==n.previewRedactionMode&&e.dispatch((0,S.P_)(n.previewRedactionMode));n.canScrollWhileDrawing&&!t.canScrollWhileDrawing&&e.dispatch((0,S.xW)());!n.canScrollWhileDrawing&&t.canScrollWhileDrawing&&e.dispatch((0,S.Ft)());n.keepSelectedTool&&e.dispatch((0,S.HT)());!n.keepSelectedTool&&t.keepSelectedTool&&e.dispatch((0,S.Xv)());if(t.sidebarWidth!==n.sidebarWidth){const t=e.getState(),{containerRect:o}=t,i={width:n.sidebarWidth,height:o.height};(0,r.dC)((()=>{e.dispatch((0,_.Pt)(n.sidebarWidth)),e.dispatch((0,_.dx)((0,k.p)(t,i,n.sidebarWidth),!1))})),t.viewportState.viewportRect.set("height",i.height)}t.enableAlwaysScrollToZoom!==n.enableAlwaysScrollToZoom&&"boolean"==typeof n.enableAlwaysScrollToZoom&&e.dispatch((0,S.T1)(n.enableAlwaysScrollToZoom));t.forceRenderWidgetsInAnnotationsOrder!==n.forceRenderWidgetsInAnnotationsOrder&&"boolean"==typeof n.forceRenderWidgetsInAnnotationsOrder&&e.dispatch((0,S.he)(n.forceRenderWidgetsInAnnotationsOrder));t.prerenderedPageSpreads!==n.prerenderedPageSpreads&&("number"!=typeof n.prerenderedPageSpreads&&null!==n.prerenderedPageSpreads||e.dispatch((0,S.I)(n.prerenderedPageSpreads)));!0===n.showDocumentAssistant&&((0,o.kG)(l.features.includes(O.q.DOCUMENT_ASSISTANT),M.oQ),(0,o.kG)(l.documentAssistant.configuration,M.Qr));t.showDocumentAssistant!==n.showDocumentAssistant&&e.dispatch((0,S.Z_)(n.showDocumentAssistant))}(e,b(),n),l=!0,g()},v}function N(e,t){return{[w.A.TEXT_HIGHLIGHTER]:{onEnterAction:S.d5,onLeaveAction:S.lC,allowWhenInReadOnlyMode:!1},[w.A.INK]:{onEnterAction:S.P4,onLeaveAction:S.s3,allowWhenInReadOnlyMode:!1},[w.A.INK_ERASER]:{onEnterAction:S.Ug,onLeaveAction:S.VU,allowWhenInReadOnlyMode:!1},[w.A.STAMP_PICKER]:{onEnterAction:S.C4,onLeaveAction:S.pM,allowWhenInReadOnlyMode:!1},[w.A.STAMP_CUSTOM]:{onEnterAction:S._z,onLeaveAction:S.pM,allowWhenInReadOnlyMode:!1},[w.A.INK_SIGNATURE]:{onEnterAction:S.Cc,onLeaveAction:S.MV,allowWhenInReadOnlyMode:!1},[w.A.SIGNATURE]:{onEnterAction:S.Cc,onLeaveAction:S.MV,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_LINE]:{onEnterAction:(0,S.p9)(C.o9,w.A.SHAPE_LINE),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_RECTANGLE]:{onEnterAction:(0,S.p9)(C.b3,w.A.SHAPE_RECTANGLE),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_ELLIPSE]:{onEnterAction:(0,S.p9)(C.Xs,w.A.SHAPE_ELLIPSE),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_POLYGON]:{onEnterAction:(0,S.p9)(C.Hi,w.A.SHAPE_POLYGON),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.SHAPE_POLYLINE]:{onEnterAction:(0,S.p9)(C.om,w.A.SHAPE_POLYLINE),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.NOTE]:{onEnterAction:S.i9,onLeaveAction:S.dp,allowWhenInReadOnlyMode:!1},[w.A.COMMENT_MARKER]:{onEnterAction:()=>((0,o.kG)(t&&t.features.includes(O.q.COMMENTS),p.kx),(0,S.k6)()),onLeaveAction:()=>((0,o.kG)(t&&t.features.includes(O.q.COMMENTS),p.kx),(0,S.tr)()),allowWhenInReadOnlyMode:!1},[w.A.TEXT]:{onEnterAction:S.DU,onLeaveAction:S.k4,allowWhenInReadOnlyMode:!1},[w.A.CALLOUT]:{onEnterAction:S.Lt,onLeaveAction:S.k4,allowWhenInReadOnlyMode:!1},[w.A.PAN]:{onEnterAction:_.vc,onLeaveAction:_.Yr,allowWhenInReadOnlyMode:!0},[w.A.SEARCH]:{onEnterAction:g.Xe,onLeaveAction:g.ct,allowWhenInReadOnlyMode:!0},[w.A.DOCUMENT_EDITOR]:{onEnterAction:S.lV,onLeaveAction:S.sJ,allowWhenInReadOnlyMode:!1},[w.A.MARQUEE_ZOOM]:{onEnterAction:S.xF,onLeaveAction:S.si,allowWhenInReadOnlyMode:!0},[w.A.REDACT_TEXT_HIGHLIGHTER]:{onEnterAction:S.aw,onLeaveAction:S.TR,allowWhenInReadOnlyMode:!1},[w.A.REDACT_SHAPE_RECTANGLE]:{onEnterAction:S.t,onLeaveAction:S.jP,allowWhenInReadOnlyMode:!1},[w.A.DOCUMENT_CROP]:{onEnterAction:S.rL,onLeaveAction:S.Cn,allowWhenInReadOnlyMode:!1},[w.A.CONTENT_EDITOR]:{onEnterAction:()=>E.gY,onLeaveAction:()=>E.u8,allowWhenInReadOnlyMode:!1},[w.A.FORM_CREATOR]:{onEnterAction:z.el,onLeaveAction:z.h4,allowWhenInReadOnlyMode:!1},[w.A.SIGNATURE_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.SIGNATURE_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.LIST_BOX_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.LIST_BOX_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.COMBO_BOX_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.COMBO_BOX_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.CHECKBOX_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.CHECKBOX_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.RADIO_BUTTON_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.RADIO_BUTTON_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.TEXT_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.TEXT_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.BUTTON_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.BUTTON_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.DATE_WIDGET]:{onEnterAction:()=>(0,S.UF)(w.A.DATE_WIDGET),onLeaveAction:S.XX,allowWhenInReadOnlyMode:!1},[w.A.LINK]:{onEnterAction:S.Jn,onLeaveAction:S.UU,allowWhenInReadOnlyMode:!1},[w.A.DISTANCE]:{onEnterAction:(0,S.p9)(C.o9,w.A.DISTANCE),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.PERIMETER]:{onEnterAction:(0,S.p9)(C.om,w.A.PERIMETER),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.RECTANGLE_AREA]:{onEnterAction:(0,S.p9)(C.b3,w.A.RECTANGLE_AREA),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.ELLIPSE_AREA]:{onEnterAction:(0,S.p9)(C.Xs,w.A.ELLIPSE_AREA),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.POLYGON_AREA]:{onEnterAction:(0,S.p9)(C.Hi,w.A.POLYGON_AREA),onLeaveAction:S.Ce,allowWhenInReadOnlyMode:!1},[w.A.MULTI_ANNOTATIONS_SELECTION]:{onEnterAction:S.YF,onLeaveAction:S.FA,allowWhenInReadOnlyMode:!1},[w.A.MEASUREMENT_SETTINGS]:{onEnterAction:S.PR,onLeaveAction:S.jJ,allowWhenInReadOnlyMode:!1},[w.A.MEASUREMENT]:{onEnterAction:S.BR,onLeaveAction:S.hS,allowWhenInReadOnlyMode:!1}}[e]}function L(e,t){var n,r,i,a,d,p,h,m,g,y,x,E;const S=t?t.getState():null;if("number"!=typeof e.currentPageIndex)throw new o.p2("The currentPageIndex set on the new ViewState is not of type `number`.");if(e.disablePointSnapping&&"boolean"!=typeof e.disablePointSnapping)throw new o.p2("The disablePointSnapping set on the new ViewState is not of type `boolean`.");if(S&&(e.currentPageIndex<0||e.currentPageIndex>=S.totalPages))throw new o.p2(`The currentPageIndex set on the new ViewState is out of bounds.\nThe index is expected to be in the range from 0 to ${S.totalPages-1} (inclusive).`);if("number"==typeof e.zoom){if(S){const{viewportState:t}=S,n=(0,D.Yo)(t),r=(0,D.Sm)(t);if(e.zoomr)throw new o.p2(`The supplied zoom level is larger than the maximum zoom level for this document (${r})`)}}else if(e.zoom!==c.c.AUTO&&e.zoom!==c.c.FIT_TO_WIDTH&&e.zoom!==c.c.FIT_TO_VIEWPORT)throw new o.p2("The supplied zoom mode is not valid.\nValid zoom modes are: PSPDFKit.ZoomMode.AUTO, PSPDFKit.ZoomMode.FIT_TO_VIEWPORT, or PSPDFKit.ZoomMode.FIT_TO_WIDTH");if(e.pagesRotation%90!=0)throw new o.p2("The supplied pagesRotation must be a multiple of 90°.");if(e.layoutMode!==b.X.SINGLE&&e.layoutMode!==b.X.DOUBLE&&e.layoutMode!==b.X.AUTO)throw new o.p2("The supplied layout mode is not valid.\nValid layout modes are: PSPDFKit.LayoutMode.SINGLE, PSPDFKit.LayoutMode.DOUBLE, or PSPDFKit.LayoutMode.AUTO");if(e.scrollMode!==v.G.CONTINUOUS&&e.scrollMode!==v.G.PER_SPREAD&&e.scrollMode!==v.G.DISABLED)throw new o.p2("The supplied scroll mode is not valid.\nValid scroll modes are: PSPDFKit.ScrollMode.CONTINUOUS, PSPDFKit.ScrollMode.PER_SPREAD, or PSPDFKit.ScrollMode.DISABLED");if(e.showSignatureValidationStatus!==u.W.IF_SIGNED&&e.showSignatureValidationStatus!==u.W.HAS_ERRORS&&e.showSignatureValidationStatus!==u.W.HAS_WARNINGS&&e.showSignatureValidationStatus!==u.W.NEVER)throw new o.p2("The supplied mode for showing the digital signature validation UI is not valid.");if("number"!=typeof e.spreadSpacing||e.spreadSpacing<0)throw new o.p2(`Expected \`spreadSpacing\` to be a positive number but instead got: ${e.spreadSpacing}.`);if("number"!=typeof e.pageSpacing||e.pageSpacing<0)throw new o.p2(`Expected \`pageSpacing\` to be a positive number but instead got: ${e.pageSpacing}.`);if("boolean"!=typeof e.keepFirstSpreadAsSinglePage)throw new o.p2(`Expected \`keepFirstSpreadAsSinglePage\` to be a boolean but instead got: ${e.keepFirstSpreadAsSinglePage}.`);if("number"!=typeof e.viewportPadding.vertical)throw new o.p2("The supplied viewportPadding has a missing property: vertical not found");if("number"!=typeof e.viewportPadding.horizontal)throw new o.p2("The supplied viewportPadding has a missing property: horizontal not found");if(e.viewportPadding.vertical<0||e.viewportPadding.horizontal<0)throw new o.p2("The supplied viewportPadding horizontal or vertical value is not a positive number");if("boolean"!=typeof e.allowPrinting)throw new o.p2("`allowPrinting` must be of type boolean.");if(S&&!0===e.allowPrinting&&!S.backendPermissions.downloadingAllowed)throw new o.p2("To enable printing, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.allowExport)throw new o.p2("`allowExport` must be of type boolean.");if(S&&!0===e.allowExport&&!S.backendPermissions.downloadingAllowed)throw new o.p2("To enable PDF export, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.previewRedactionMode)throw new o.p2("`previewRedactionMode` must be of type boolean.");if("boolean"!=typeof e.readOnly)throw new o.p2("`readOnly` must be of type boolean.");if(!S||!1!==e.readOnly||I.Options.IGNORE_DOCUMENT_PERMISSIONS||!S.backendPermissions.readOnly&&(S.documentPermissions.annotationsAndForms||S.documentPermissions.fillForms)||(e=e.set("readOnly",!0),(0,o.ZK)("It’s not possible to change PSPDFKit.ViewState#readOnly to false if the current backend or document permissions do not allow it. For document permissions, you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit.")),e.interactionMode&&Object.values(w.A).indexOf(e.interactionMode)<0)throw new o.p2(`The supplied interaction mode is not valid.\nValid view modes are: ${Object.keys(w.A).map((e=>`PSPDFKit.InteractionMode.${e}`)).join(", ")}`);if(null!=e.interactionMode){const t=N(e.interactionMode,S);null!=S&&(e.interactionMode===w.A.DOCUMENT_EDITOR&&(0,f.Xr)({features:S.features,backendPermissions:S.backendPermissions,documentPermissions:S.documentPermissions,readOnlyEnabled:S.readOnlyEnabled})||e.interactionMode===w.A.CONTENT_EDITOR&&(0,f.qs)({features:S.features,backendPermissions:S.backendPermissions,documentPermissions:S.documentPermissions,readOnlyEnabled:S.readOnlyEnabled}))||!e.readOnly||t.allowWhenInReadOnlyMode||((0,o.ZK)(`Can’t set PSPDFKit.ViewState#interactionMode to ${e.interactionMode} when PSPDFKit.ViewState#readOnly is true.`),e=e.set("interactionMode",null))}if("boolean"!=typeof e.showAnnotations)throw new o.p2("`showAnnotations` must be of type boolean.");if(!1===e.showAnnotations&&!1===e.readOnly)throw new o.p2("In order to hide annotations, you must also enable read only mode.");if("boolean"!=typeof e.showComments)throw new o.p2("`showComments` must be of type boolean.");if("boolean"!=typeof e.showAnnotationNotes)throw new o.p2("`showAnnotationNotes` must be of type boolean.");if(e.sidebarMode&&Object.values(s.f).indexOf(e.sidebarMode)<0)throw new o.p2(`The supplied sidebar mode is not valid.\nValid view modes are: ${Object.keys(s.f).map((e=>`PSPDFKit.SidebarMode.${e}`)).join(", ")} or \`null\`.`);if(Object.values(l.d).indexOf(e.sidebarPlacement)<0)throw new o.p2(`The supplied sidebar placement is not valid.\nValid placements are: ${Object.keys(l.d).map((e=>`PSPDFKit.SidebarPlacement.${e}`)).join(" or ")}.`);if(!(null!==(n=e.sidebarOptions)&&void 0!==n&&n[s.f.ANNOTATIONS]||null!==(r=e.sidebarOptions)&&void 0!==r&&r[s.f.LAYERS]))throw new o.p2("The supplied sidebar options configuration is missing the required `PSPDFKit.SidebarMode.ANNOTATIONS` or `PSPDFKit.SidebarMode.LAYERS` property.");if(null!==(i=e.sidebarOptions)&&void 0!==i&&i[s.f.ANNOTATIONS]&&!Array.isArray(null===(a=e.sidebarOptions[s.f.ANNOTATIONS])||void 0===a?void 0:a.includeContent))throw new o.p2("The `includeContent` property is mandatory for the `PSPDFKit.SidebarMode.ANNOTATIONS` sidebar options and it must be an array");if(null!==(d=e.sidebarOptions)&&void 0!==d&&d[s.f.LAYERS]&&(null===(p=e.sidebarOptions)||void 0===p||null===(p=p[s.f.LAYERS])||void 0===p||!p.lockedLayers))throw new o.p2("The `lockedLayers` property is mandatory for the `PSPDFKit.SidebarMode.LAYERS` sidebar options and it must be an array");if(null!==(h=e.sidebarOptions)&&void 0!==h&&h[s.f.LAYERS]&&!Array.isArray(null===(m=e.sidebarOptions[s.f.LAYERS])||void 0===m?void 0:m.lockedLayers))throw new o.p2("The `lockedLayers` property is mandatory for the `PSPDFKit.SidebarMode.LAYERS` sidebar options and it must be an array");if(null!==(g=e.sidebarOptions)&&void 0!==g&&g[s.f.LAYERS]&&(null===(y=e.sidebarOptions)||void 0===y||null===(y=y[s.f.LAYERS])||void 0===y||!y.iconsAlignment))throw new o.p2("The `iconsAlignment` property is mandatory for the `PSPDFKit.SidebarMode.LAYERS` sidebar options and it must be either `PSPDFKit.Alignment.START` or `PSPDFKit.Alignment.END` ");if(null!==(x=e.sidebarOptions)&&void 0!==x&&x[s.f.ANNOTATIONS]&&e.sidebarOptions[s.f.ANNOTATIONS].includeContent.length&&e.sidebarOptions[s.f.ANNOTATIONS].includeContent.some((e=>!(e.prototype instanceof C.q6)&&e!==C.sv)))throw new o.p2("The `includeContent` array can only contain annotations classes or `PSPDFKit.Comment` as possible values");if(null!==(E=e.sidebarOptions)&&void 0!==E&&E[s.f.LAYERS]&&e.sidebarOptions[s.f.LAYERS].lockedLayers.length&&e.sidebarOptions[s.f.LAYERS].lockedLayers.some((e=>"number"!=typeof e)))throw new o.p2("The `lockedLayers` array can only contain numbers as possible values");if("boolean"!=typeof e.canScrollWhileDrawing)throw new o.p2("`canScrollWhileDrawing` must be of type boolean.");if("boolean"!=typeof e.keepSelectedTool)throw new o.p2("`keepSelectedTool` must be of type boolean.");if("number"!=typeof e.sidebarWidth)throw new o.p2("`sidebarWidth` must be of type number.");if("boolean"!=typeof e.enableAlwaysScrollToZoom)throw new o.p2("`enableAlwaysScrollToZoom` must be of type boolean.");if("boolean"!=typeof e.forceRenderWidgetsInAnnotationsOrder)throw new o.p2("`forceRenderWidgetsInAnnotationsOrder` must be of type boolean.");if("number"!=typeof e.prerenderedPageSpreads&&null!==e.prerenderedPageSpreads)throw new o.p2("`prerenderedPageSpreads` must be of type number or null.");if("boolean"!=typeof e.showDocumentAssistant)throw new o.p2(`Expected \`showDocumentAssistant\` to be a boolean but instead got: ${e.showDocumentAssistant}.`);return e}},17078:(e,t,n)=>{"use strict";n.d(t,{O:()=>a,Z:()=>s});var r=n(27874);const o=new(n(45249).ZM),i=(0,r.oM)({name:"attachments",initialState:o,reducers:{createAttachment:(e,t)=>{const{hash:n,attachment:r}=t.payload;return e.setIn(["attachments",n],r)}}}),{createAttachment:a}=i.actions,s=i.reducer},4280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(35782).vU)({approved:{id:"approved",defaultMessage:"Approved",description:"Approved Stamp Annotation"},notApproved:{id:"notApproved",defaultMessage:"Not Approved",description:"Not Approved Stamp Annotation"},draft:{id:"draft",defaultMessage:"Draft",description:"Draft Stamp Annotation"},final:{id:"final",defaultMessage:"Final",description:"Final Stamp Annotation"},completed:{id:"completed",defaultMessage:"Completed",description:"Completed Stamp Annotation"},confidential:{id:"confidential",defaultMessage:"Confidential",description:"Confidential Stamp Annotation"},forPublicRelease:{id:"forPublicRelease",defaultMessage:"For Public Release",description:"For Public Release Stamp Annotation"},notForPublicRelease:{id:"notForPublicRelease",defaultMessage:"Not For Public Release",description:"Not For Public Release Stamp Annotation"},forComment:{id:"forComment",defaultMessage:"For Comment",description:"ForComment Stamp Annotation"},void:{id:"void",defaultMessage:"Void",description:"Void Stamp Annotation"},preliminaryResults:{id:"preliminaryResults",defaultMessage:"Preliminary Results",description:"Preliminary Results Stamp Annotation"},informationOnly:{id:"informationOnly",defaultMessage:"Information Only",description:"Information Only Stamp Annotation"},rejected:{id:"rejected",defaultMessage:"Rejected",description:"Rejected Stamp Annotation"},accepted:{id:"accepted",defaultMessage:"Accepted",description:"Accepted Stamp Annotation"},initialHere:{id:"initialHere",defaultMessage:"Initial Here",description:"Initial Here Stamp Annotation"},signHere:{id:"signHere",defaultMessage:"Sign Here",description:"Sign Here Stamp Annotation"},witness:{id:"witness",defaultMessage:"Witness",description:"Witness Stamp Annotation"},asIs:{id:"asIs",defaultMessage:"As Is",description:"As Is Stamp Annotation"},departmental:{id:"departmental",defaultMessage:"Departmental",description:"Departmental Stamp Annotation"},experimental:{id:"experimental",defaultMessage:"Experimental",description:"Experimental Stamp Annotation"},expired:{id:"expired",defaultMessage:"Expired",description:"Expired Stamp Annotation"},sold:{id:"sold",defaultMessage:"Sold",description:"Sold Stamp Annotation"},topSecret:{id:"topSecret",defaultMessage:"Top Secret",description:"TopSecret Stamp Annotation"},revised:{id:"revised",defaultMessage:"Revised",description:"Revised Stamp Annotation"},custom:{id:"custom",defaultMessage:"Custom",description:"Custom Stamp Annotation"},stampAnnotationTemplatesDialog:{id:"stampAnnotationTemplatesDialog",defaultMessage:"Stamp Annotation Templates",description:"Stamp Annotation Templates Dialog"},stampAnnotationTemplatesDialogDescription:{id:"stampAnnotationTemplatesDialogDesc",defaultMessage:"This dialog lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.",description:"Stamp Annotation Templates Dialog Description"}})},33427:(e,t,n)=>{"use strict";n.d(t,{A8:()=>de,AC:()=>oe,B7:()=>we,CU:()=>fe,Dc:()=>H,Dl:()=>_,F3:()=>q,Fp:()=>T,IO:()=>G,Ie:()=>ke,Jy:()=>ve,Km:()=>Z,OR:()=>Ee,SY:()=>P,So:()=>De,TL:()=>ie,TW:()=>J,U7:()=>ne,Vc:()=>$,WX:()=>_e,Wj:()=>k,X5:()=>L,Xr:()=>xe,Xu:()=>ee,YV:()=>be,_E:()=>E,_R:()=>re,_k:()=>ye,a$:()=>U,a5:()=>Se,aI:()=>X,bz:()=>z,d:()=>I,dk:()=>ce,eD:()=>te,eJ:()=>ge,et:()=>ze,fc:()=>B,fk:()=>A,hG:()=>V,ip:()=>j,ix:()=>Pe,lx:()=>N,oF:()=>pe,om:()=>K,pe:()=>le,sH:()=>D,tM:()=>ue,tl:()=>he,ud:()=>C,vM:()=>Ae,vj:()=>Q,vk:()=>F,x2:()=>O,xU:()=>W,xc:()=>M,xp:()=>R,yU:()=>Y,yj:()=>Ce,z1:()=>me});var r=n(96156),o=n(35369),i=n(15359),a=n(34997),s=n(45249),l=n(94732),u=n(4325),c=n(10983),d=n(87996),p=n(44077),h=n(17766),f=n(60379),m=n(48338),g=n(89004),v=n(74814),y=n(48625),b=n(5705);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t({color:new f.Z({r:e.color.r,g:e.color.g,b:e.color.b}),localization:e.localization})))}catch(e){return(0,i.ZK)(`Wrong color data stored in localStorage: ${e.message}`),[]}return[]}catch(e){return[]}}function C(e,t){return(0,i.kG)("number"==typeof t.pageIndex,"Annotation has no valid pageIndex"),(0,i.kG)(!e.annotations.has(t.id),`Annotation ID (${t.id}) is already known`),t.pageIndex<0||t.pageIndex>=e.pages.size?((0,i.ZK)(`Tried to add an annotation (ID: ${t.id}) with an out of bounds page index. This annotation was skipped.`),e):(t instanceof s.sK&&(0,i.kG)(q(t.imageAttachmentId),"imageAttachmentId is not a valid hash or pdfObjectId"),e.withMutations((e=>{var n;t.id||(t=t.set("id",M())),e.setIn(["annotations",t.id],t),null!==(n=e.isAPStreamRendered)&&void 0!==n&&n.call(e,t)&&!te(t)&&e.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.l4)();return e.add(t.id)})),S(e,t),(0,m._d)(e,t)})))}function E(e,t){(0,i.kG)("string"==typeof t.id,"Annotation has no valid id");const n=e.annotations.get(t.id);return(0,i.kG)(n instanceof s.q6,`Annotation with id ${t.id} not found and thus the update was ignored.`),e.withMutations((r=>{var i,a,l;null!=t.pageIndex&&S(r,t),!0!==t.noView&&!0!==t.hidden||!r.selectedAnnotationIds.has(t.id)||(r.delete("selectedAnnotationMode"),r.set("interactionMode",null),r.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t.id)))),r.update("hoverAnnotationIds",(e=>e.delete(t.id)))),"number"!=typeof n.buttonIconUpdatedAt&&"number"==typeof t.buttonIconUpdatedAt&&null!==(i=r.invalidAPStreams.get(t.pageIndex))&&void 0!==i&&i.has(t.id)&&r.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.l4)();return e.delete(t.id)})),r.setIn(["annotations",t.id],t);const u=e.activeAnnotationNote;u&&(null===(a=u.parentAnnotation)||void 0===a?void 0:a.id)===t.id&&(t.note?t.note!==u.text.value&&r.set("activeAnnotationNote",u.set("text",{format:"plain",value:t.note})):r.set("activeAnnotationNote",null));const c=e.hoverAnnotationNote;c&&(null===(l=c.parentAnnotation)||void 0===l?void 0:l.id)===t.id&&(t.note?t.note!==c.text.value&&r.set("hoverAnnotationNote",c.set("text",{format:"plain",value:t.note})):r.set("hoverAnnotationNote",null));const d=le((()=>r),t,(()=>{var e;const{formFields:i}=r,a=t instanceof s.x_?i.get(t.formFieldName):null;null!==(e=r.isAPStreamRendered)&&void 0!==e&&e.call(r,t)&&oe(n,t)&&T(n)===T(t)&&function(e,t){if(e instanceof s.x_&&t instanceof s.R0)return!1;return!0}(t,a)&&r.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.l4)();return e.add(t.id)}))}));(0,m.GW)(r,n,t,d)}))}function S(e,t){return e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(t.id)))}function _(e,t){const n=e.annotations.get(t);return e.withMutations((r=>{var o,i,a;r.selectedAnnotationIds.has(t)&&(r.delete("selectedAnnotationMode"),r.interactionMode!==y.A.FORM_CREATOR&&r.set("interactionMode",null)),r.update("annotations",(e=>e.delete(t))),r.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t)))),r.update("annotationPresetIds",(e=>e.filterNot((e=>e===t)))),r.update("hoverAnnotationIds",(e=>e.delete(t))),null!==r.annotationsIdsToDelete&&r.update("annotationsIdsToDelete",(e=>null==e?void 0:e.filterNot((e=>e===t))));const s=e.activeAnnotationNote;s&&(null===(o=s.parentAnnotation)||void 0===o?void 0:o.id)===t&&r.set("activeAnnotationNote",null);const l=e.hoverAnnotationNote;if(l&&(null===(i=l.parentAnnotation)||void 0===i?void 0:i.id)===t&&r.set("hoverAnnotationNote",null),null==(null==n?void 0:n.pageIndex))return;r.deleteIn(["pages",n.pageIndex,"annotationIds",t]);const u=e.invalidAPStreams.get(n.pageIndex),c=(!u||!u.has(t))&&(null===(a=e.isAPStreamRendered)||void 0===a?void 0:a.call(e,n));(0,m.WF)(r,n,c),"number"==typeof n.pdfObjectId&&(r.deleteIn(["APStreamVariantsRollover",n.pdfObjectId]),r.deleteIn(["APStreamVariantsDown",n.pdfObjectId]))}))}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const{boundingBox:r}=e;if(Pe(e,t))return r.set("width",r.width/t).set("height",r.height/t);if(e instanceof s.Qi){const e=r.getLocation(),t=(new p.sl).translate(e.scale(-1)).rotate(n||0).translate(e);return r.apply(t)}return r}function k(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return(0,u.q)(P(e,r,t),n)}function A(e,t,n,r,o){var a;let l=e instanceof s.q6&&("points"in e&&(null===(a=e.points)||void 0===a?void 0:a.toJS())||"startPoint"in e&&e.startPoint&&e.endPoint&&[e.startPoint.toJS(),e.endPoint.toJS()]);if($(e)){(0,i.kG)(e instanceof s.gd,"Callout annotation is not a TextAnnotation");const{callout:t}=e;(0,i.kG)(t,"Callout annotation has no callout");const{knee:n,start:r}=t;l=[r,n].map((e=>null==e?void 0:e.toJS()))}const c=(0,u.K)(r);return Array.isArray(l)?l.map((e=>({x:o+c+(e.x-t.left)*n,y:o+c+(e.y-t.top)*n}))):[]}function z(e){const t=null!=e.pageIndex;return e instanceof s.gd?t&&null!=e.text.value&&""!==e.text.value:e instanceof s.Hi||e instanceof s.om?t&&null!=e.points&&e.points.size>1:t}function T(e){return!1===e.noView&&!0!==e.hidden}function O(e){return!1===e.noPrint&&!0!==e.hidden}function I(e){return!(e instanceof s.Ih)}function F(e){return e?e.replace(/[A-Z]/g,"-$&").toLowerCase():null}const M=a.SK;function R(e,t){return function(e,t){return t.map((function(t){return e.get(t)})).filter(Boolean).toList()}(e,t.annotationIds)}function j(e){return e.boundingBox.setLocation(new s.E9)}const B=(0,o.D5)([["stroke-color","strokeColor"],["background-color","backgroundColor"],["color","color"],["fill-color","fillColor"],["font-color","fontColor"],["outline-color","outlineColor"]]);function N(e){var t;const n=M(),r=function(e){const t=e.currentItemPreset;return t&&e.annotationPresets.get(t)||{}}(e),o=x(x({},r),{},{id:n,name:n,creatorName:e.annotationCreatorName,createdAt:new Date,updatedAt:new Date});return e.group!==(null===(t=e.backend)||void 0===t?void 0:t.getDefaultGroup())&&(o.group=e.group),r.group&&r.group!==e.group&&(o.group=r.group),e.annotationToolbarColorPresets?B.reduce(((t,n,r)=>{const o=e.annotationToolbarColorPresets({propertyName:r,defaultAnnotationToolbarColorPresets:d.Options.COLOR_PRESETS});if(void 0===o)return t;const i=o.presets,a=D(B.get(r,r));return function(e,t){return e.some((e=>!t&&null===e.color||t&&e.color&&e.color.equals(t)))}([...i,...a],t[n])?t:x(x({},t),{},{[n]:i[0].color})}),o):o}function L(e,t){const n=e.annotations.get(t);return n?n instanceof s.o9?"line":n instanceof s.Xs?"ellipse":n instanceof s.b3?"rectangle":n instanceof s.om?"polyline":n instanceof s.Hi?"polygon":n instanceof s.Zc?"ink":n instanceof s.Qi?"note":n instanceof s.gd?"text":n instanceof s.sK?"image":n instanceof s.GI?"stamp":n instanceof s.x_?"widget":n instanceof s.FV?"highlight":n instanceof s.xu?"underline":n instanceof s.R9?"strikeout":n instanceof s.hL?"squiggle":n instanceof l.Z?"redaction":null:null}function K(e,t,n,r,o){const{width:a,height:l}=t,{currentPageIndex:u,pagesRotation:d}=e.viewportState,p=e.pages.get(u);(0,i.kG)(p,`Cannot find page at index ${u}`);const h=p.pageSize,f=Math.min(h.width*c.Bs/a,h.height*c.Bs/l,1);let m=a*f,g=l*f;return 90!==d&&270!==d||([m,g]=[g,m]),new s.sK(x(x({},N(e)),{},{pageIndex:u,imageAttachmentId:n,contentType:r,rotation:d,fileName:o,boundingBox:new s.UL({left:h.width/2-m/2,top:h.height/2-g/2,width:m,height:g})}))}function V(e,t,n){const{width:r,height:o}=t,{currentPageIndex:a,pagesRotation:l}=e.viewportState,u=e.pages.get(a);(0,i.kG)(u,`Cannot find page at index ${a}`);const d=u.pageSize,p=Math.min(d.width*c.Bs/r,d.height*c.Bs/o,1);let h=r*p,f=o*p;return 90!==l&&270!==l||([h,f]=[f,h]),new s.GI(x(x({},N(e)),{},{pageIndex:a,stampType:n.stampType,title:n.title,subtitle:n.subtitle,color:n.color,opacity:n.opacity,rotation:l,boundingBox:new s.UL({left:d.width/2-h/2,top:d.height/2-f/2,width:h,height:f})}))}function q(e){return RegExp("^([A-Fa-f0-9]{64}|[0-9]+)$").test(e)}function H(e,t){let n=(0,o.D5)();return(Array.isArray(t)?t:[t]).forEach((t=>{if(t instanceof s.sK&&t.imageAttachmentId){const r=e.get(t.imageAttachmentId);r&&(n=n.set(t.imageAttachmentId,r))}})),n}function Z(e){return e.locked?!e.locked:e instanceof s.om||e instanceof s.Hi||e instanceof s.o9||$(e)}function U(e){if(e.locked)return!e.locked;switch(e.constructor){case s.gd:return!$(e);case s.GI:return!0;default:return!1}}function $(e){var t;return e instanceof s.gd&&!(null===(t=e.callout)||void 0===t||!t.innerRectInset)}function G(e){return e.locked?!e.locked:e instanceof s.om||e instanceof s.Hi||e instanceof s.b3||e instanceof s.sK||e instanceof s.Zc||e instanceof s.Xs||e instanceof s.GI||e instanceof s.gd&&!$(e)||e instanceof s.x_||e instanceof s.R1}function W(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;if(void 0!==n)return(0,i.kG)(!0===n.maintainAspectRatio||!1===n.maintainAspectRatio||null===n.maintainAspectRatio||void 0===n.maintainAspectRatio,"onAnnotationResizeStart should return a valid configuration or undefined"),!!n.maintainAspectRatio&&n.maintainAspectRatio;if(e.isShiftPressed)return!0;const r=e.annotation instanceof s.sK||e.annotation instanceof s.GI,o=[v.V.TOP_LEFT,v.V.TOP_RIGHT,v.V.BOTTOM_LEFT,v.V.BOTTOM_RIGHT];return!!(r&&o.includes(e.resizeAnchor)||"isSignature"in e.annotation&&e.annotation.isSignature)}function X(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;return n&&(n.minHeight&&n.minHeight<0&&((0,i.ZK)("minimum height in the onAnnotationResizeStart API should be greater than 0"),n.minHeight=void 0),n.maxHeight&&n.maxHeight<0&&((0,i.ZK)("maximum height in the onAnnotationResizeStart API should be greater than 0"),n.maxHeight=void 0),n.maxWidth&&n.maxWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.maxWidth=void 0),n.minWidth&&n.minWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.minWidth=void 0),n.maxHeight&&n.minHeight&&n.maxHeight{e.nativeEvent.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),n=!0}})),n}function ee(e){e.selectedAnnotationIds.forEach((t=>{e.deleteIn(["annotationPresetIds"],t)}))}function te(e){return"number"==typeof e.pdfObjectId}function ne(e){return e.width>0&&e.height>0}function re(e,t){return!(e instanceof s.GI||e instanceof s.Ih||e instanceof s.sK||e instanceof s.x_&&(t instanceof s.Yo||t instanceof s.R0&&"number"==typeof e.buttonIconUpdatedAt))}function oe(e,t){return!(0,o.is)(j(e),j(t))||e.opacity!==t.opacity||e.rotation!==t.rotation||T(e)!==T(t)||(t instanceof s.sK&&e instanceof s.sK&&e.imageAttachmentId!==t.imageAttachmentId||(t instanceof s.GI&&e instanceof s.GI&&(!ae(e.color,t.color)||e.stampType!==t.stampType||e.title!==t.title||e.subtitle!==t.subtitle)||(!(!(t instanceof s.UX&&e instanceof s.UX)||e.strokeWidth===t.strokeWidth&&ae(e.strokeColor,t.strokeColor)&&ae(e.fillColor,t.fillColor)&&(!t.strokeDashArray||e.strokeDashArray&&!t.strokeDashArray.some(((t,n)=>void 0===e.strokeDashArray[n]||t!==e.strokeDashArray[n]))))||(!(!(t instanceof s.UX&&e instanceof s.UX&&t.isMeasurement())||e.measurementScale===t.measurementScale&&e.measurementPrecision===t.measurementPrecision)||((t instanceof s.b3||t instanceof s.Xs)&&(e instanceof s.b3||e instanceof s.Xs)&&(t.cloudyBorderInset!==e.cloudyBorderInset||t.cloudyBorderIntensity!==e.cloudyBorderIntensity)||(!!((t instanceof s.o9||t instanceof s.om)&&(e instanceof s.o9||e instanceof s.om)&&t.lineCaps&&(!e.lineCaps||t.lineCaps.start!==e.lineCaps.start||t.lineCaps.end!==e.lineCaps.end)||!t.lineCaps&&e.lineCaps)||(!!(t instanceof s.o9&&se(e,t))||(!!((t instanceof s.om||t instanceof s.Hi)&&(e instanceof s.om||e instanceof s.Hi)&&se(e,t))||(t instanceof s.Zc&&e instanceof s.Zc&&(e.lineWidth!==t.lineWidth||!ae(e.strokeColor,t.strokeColor)||!ae(e.backgroundColor,t.backgroundColor)||e.blendMode!==t.blendMode)||(t instanceof s.gd&&e instanceof s.gd&&(e.text.value!==t.text.value||e.fontSize!==t.fontSize||e.font!==t.font||!ae(e.fontColor,t.fontColor)||!ae(e.backgroundColor,t.backgroundColor)||e.isBold!==t.isBold||e.isItalic!==t.isItalic||e.horizontalAlign!==t.horizontalAlign||e.verticalAlign!==t.verticalAlign||e.borderWidth!==t.borderWidth||e.borderStyle!==t.borderStyle)||(t instanceof s.Qi&&e instanceof s.Qi&&(!ae(t.color,e.color)||e.icon!==t.icon)||(t instanceof s.On&&e instanceof s.On&&(e.blendMode!==t.blendMode||!ae(e.color,t.color)||e.rects!==t.rects)||t instanceof s.x_&&e instanceof s.x_&&t.buttonIconUpdatedAt!==e.buttonIconUpdatedAt))))))))))))}function ie(e,t){return(null==e?void 0:e.readOnly)!==(null==t?void 0:t.readOnly)}function ae(e,t){return e instanceof f.Z&&t instanceof f.Z?e.equals(t):!(e instanceof f.Z||t instanceof f.Z)}function se(e,t){if(e instanceof s.o9&&t instanceof s.o9){if(t.startPoint!==e.startPoint||t.endPoint!==e.endPoint)return!(t.startPoint.x-e.startPoint.x==t.boundingBox.left-e.boundingBox.left&&t.startPoint.y-e.startPoint.y==t.boundingBox.top-e.boundingBox.top)}else if((e instanceof s.om||e instanceof s.Hi)&&(t instanceof s.om||t instanceof s.Hi))return!(e.points.size===t.points.size&&e.points.every(((n,r)=>{const o=t.points.get(r);return(0,i.kG)(o&&n),o.x-n.x==t.boundingBox.left-e.boundingBox.left&&o.y-n.y==t.boundingBox.top-e.boundingBox.top})));return!1}function le(e,t,n){const{invalidAPStreams:r}=e();let o=!1,i=r.get(t.pageIndex);i&&(o=!!i.get(t.id)),n();const{invalidAPStreams:a,annotations:s}=e(),l=s.get(t.id);if(!l)return!o;let u=!1;return i=a.get(l.pageIndex),i&&(u=!!i.get(l.id)),!o&&u}function ue(e,t,n){(0,i.kG)(e.backend);const{invalidAPStreams:r,historyIdsMap:o,isHistoryEnabled:a,backend:s}=e,l=t.get(n.pageIndex),u=r.get(n.pageIndex);return!a||"STANDALONE"!==(null==s?void 0:s.type)||l&&l.has(n.id)||!u||!u.has(n.id)?n:n.set("APStreamCache",{cache:o.get(n.id)||n.id})}function ce(e,t){(0,i.kG)(e.backend);const{historyIdsMap:n,isHistoryEnabled:r,backend:o}=e;return r&&"STANDALONE"===(null==o?void 0:o.type)?t.set("APStreamCache",{cache:n.get(t.id)||t.id}):t}const de="rgba(70, 54, 227, 0.5) solid 2px";function pe(e){const{id:t,pdfObjectId:n}=e;return e=>e===(null==n?void 0:n.toString())||e===t}function he(e,t){let{backend:n,annotations:r}=e;t.forEach((e=>{const t=r.get(e.id);t&&oe(t,e)&&(null==n||n.clearPageAPStreams(t.pageIndex,(0,o.l4)([t.id])))}))}function fe(e,t,n){let{backend:r,formFields:i}=e;t.forEach((e=>{const t=i.get(e.formFieldName);t&&ie(t,n)&&(null==r||r.clearPageAPStreams(e.pageIndex,(0,o.l4)([e.id])))}))}const me=Object.freeze({CLOCKWISE:"CLOCKWISE",COUNTERCLOCKWISE:"COUNTERCLOCKWISE"});function ge(e,t,n){const{rotation:r,boundingBox:o}=e,i=o.getCenter();let a=new s.E9({x:Math.max(0,i.x-o.height/2),y:Math.max(0,i.y-o.width/2)});a.x+o.height>t.width&&(a=a.set("x",t.width-o.height)),a.y+o.width>t.height&&(a=a.set("y",t.height-o.width));const l=e.set("boundingBox",o.withMutations((e=>{e.height=o.width,e.width=o.height,e.left=a.x,e.top=a.y})));if(n){const e=n===me.CLOCKWISE;switch(r){case 0:return l.set("rotation",e?270:90);case 90:return l.set("rotation",e?0:180);case 180:return l.set("rotation",e?90:270);case 270:return l.set("rotation",e?180:0)}}return l}function ve(e,t){return s.UL.union(e.map((e=>{if((0,b.o0)(e)){return P((0,b.az)(e),t)}return P(e,t)})))}function ye(e,t){if(e instanceof s.x_)return"widget";if(Object.keys(h.Z).includes(e.constructor.readableName.toLowerCase()+"Annotation")){const n=function(e){if(e instanceof s.Jn)return h.Z.comment.id;const t=e.constructor.readableName.toLowerCase()+"Annotation";return h.Z[t].id}(e);return t(h.Z[n])}return e.constructor.readableName.toLowerCase()}function be(e){return!(e instanceof s.UX&&e.isMeasurement())}function we(e,t){return null!=t&&t.isAnnotationNote?e.readOnly?"not-allowed":"inherit":e instanceof s.gd?e.readOnly?"not-allowed":e.locked?"text":e.lockedContents?"pointer":(null==t?void 0:t.cursor)||(null!=t&&t.isSelectable?"pointer":"auto"):e instanceof s.GI?e.readOnly||e.locked?"not-allowed":(null==t?void 0:t.cursor)||(null!=t&&t.isSelectable?"pointer":"auto"):e instanceof s.Zc?e.readOnly||e.locked?"not-allowed":e.lockedContents?"pointer":"inherit":e instanceof s.R1?e.locked?"pointer":"inherit":e instanceof s.Qi&&null!=t&&t.isExpandedNote?e.readOnly||e.locked&&e.lockedContents?"not-allowed":e.locked?"text":e.lockedContents?"not-allowed":t.isSelectable?"pointer":"auto":e.readOnly||e.locked&&e.lockedContents||e.locked?"not-allowed":e.lockedContents||null!=t&&t.isSelectable||null!=t&&t.isSelected?"pointer":"auto"}function xe(e){if(e instanceof s.GI)return h.Z.stampAnnotation;if(e instanceof s.sK)return h.Z.imageAnnotation;if(e instanceof s.gd)return h.Z.textAnnotation;if(e instanceof s.Qi)return h.Z.noteAnnotation;if(e instanceof s.Jn)return h.Z.comment;if(e instanceof s.Zc)return h.Z.inkAnnotation;if(e instanceof s.R1)return h.Z.linkAnnotation;if(e instanceof s.o9)return h.Z.lineAnnotation;if(e instanceof s.b3)return h.Z.rectangleAnnotation;if(e instanceof s.Xs)return h.Z.ellipseAnnotation;if(e instanceof s.Hi)return h.Z.polygonAnnotation;if(e instanceof s.om)return h.Z.polylineAnnotation;if(e instanceof s.FV)return h.Z.highlightAnnotation;if(e instanceof s.hL)return h.Z.squiggleAnnotation;if(e instanceof s.xu)return h.Z.underlineAnnotation;if(e instanceof s.R9)return h.Z.strikeOutAnnotation;if(e instanceof l.Z)return h.Z.redactionAnnotation;if(e instanceof s.Hu)return h.Z.mediaAnnotation;if(e instanceof s.Ih)return h.Z.unknownAnnotation;throw new i.p2(`Unsupported annotation type: ${JSON.stringify(e.toJS())}`)}function De(e){return(!(e instanceof s.GI||e instanceof s.sK||e instanceof s.Qi||e instanceof s.UX)||!e.locked&&!e.readOnly)&&!(e instanceof s.gd&&e.readOnly)}function Ce(e,t){return!(e instanceof s.Hu||e instanceof l.Z||e instanceof s.On||"focus"===t.type)}function Ee(e){return e.isSignature}function Se(e,t){return e.filter((e=>e.pageIndex===t&&e instanceof s.R1)).toList()}function _e(e,t){return Pe(e,t)?1:t}function Pe(e,t){return(e instanceof s.GI||e instanceof s.gd&&!$(e))&&e.noZoom&&t>=1}function ke(e){return e.createdAt.getTime()===e.updatedAt.getTime()}function Ae(e){return e instanceof s.gd?"xhtml"===e.text.format?(0,g.KY)(e.text.value):e.text.value:""}function ze(e){const t={width:e.boundingBox.width,height:e.boundingBox.height,opacity:e.opacity,rotation:e.rotation};var n;return e instanceof s.GI?JSON.stringify(x(x({},t),{},{stampType:e.stampType,title:e.title,subtitle:e.subtitle,color:null===(n=e.color)||void 0===n?void 0:n.toHex()})):JSON.stringify(t)}},34299:(e,t,n)=>{"use strict";function r(e){const t=new FileReader;return new Promise(((n,r)=>{t.onerror=e=>{r(new Error(e))},t.onload=e=>{var t;n(new Uint8Array(null===(t=e.target)||void 0===t?void 0:t.result))},t.readAsArrayBuffer(e)}))}n.d(t,{V:()=>r})},22284:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(34997).SK},98179:(e,t,n)=>{"use strict";var r;function o(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=null===(t=globalThis.navigator)||void 0===t?void 0:t.userAgent)&&void 0!==e?e:"";return n.indexOf("Trident/")>-1?"trident":n.indexOf("Edge/")>-1?"edge":n.indexOf("Chrome/")>-1?"blink":n.indexOf("AppleWebKit/")>-1?"webkit":n.indexOf("Gecko/")>-1?"gecko":"unknown"}function i(e,t){const n=new RegExp(` ${t}/(\\d+)\\.*`);let r;return(r=e.match(n))?Number(r[1]):0}function a(){var e,t,n,r,o,i;let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=null===(t=globalThis.navigator)||void 0===t?void 0:t.userAgent)&&void 0!==e?e:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(n=null===(r=globalThis.navigator)||void 0===r?void 0:r.platform)&&void 0!==n?n:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null!==(o=null===(i=globalThis.navigator)||void 0===i?void 0:i.maxTouchPoints)&&void 0!==o?o:0;return s.indexOf("MacIntel")>-1&&l>1?"ios":a.indexOf("Win")>-1?"windows":a.indexOf("iPhone")>-1||a.indexOf("iPad")>-1||"iPad"===s?"ios":a.indexOf("Mac")>-1?"macos":a.indexOf("Android")>-1?"android":a.indexOf("Linux")>-1?"linux":"unknown"}n.d(t,{By:()=>l,Dt:()=>g,G6:()=>c,Ni:()=>u,SR:()=>s,TL:()=>m,V5:()=>x,b1:()=>w,b5:()=>v,eJ:()=>D,fq:()=>h,i7:()=>p,rO:()=>f,vU:()=>d,yx:()=>y});const s=o(),l=a(),u=(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=globalThis.navigator)||void 0===e?void 0:e.userAgent;switch(o(t)){case"trident":return i(t,"Trident");case"edge":return i(t,"Edge");case"blink":return i(t,"Chrome");case"webkit":return i(t,"Version");case"gecko":return i(t,"Firefox");default:;}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return"ios"===e||"android"===e||y(t)}()),c="webkit"===s,d="gecko"===s,p="blink"===s,h="trident"===s,f="edge"===s,m="ios"===l||y(),g="android"===l,v=p&&g;function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return("undefined"==typeof window||!window.PSPDFKIT_PLAYWRIGHT_TEST)&&("webkit"===e&&"undefined"!=typeof TouchEvent)}let b;function w(){var e;void 0===b&&(b="ontouchstart"in window||(null===(e=globalThis.navigator)||void 0===e?void 0:e.maxTouchPoints)>0);return b}"undefined"!=typeof window&&(window.addEventListener("mousemove",(function e(){b=!1,window.removeEventListener("mousemove",e)})),window.addEventListener("pointermove",(function e(t){"mouse"!==t.pointerType&&"pen"!==t.pointerType||(b=!1),window.removeEventListener("pointermove",e)})));const x=/Mac/i.test(null===(r=globalThis.navigator)||void 0===r?void 0:r.platform),D=e=>c&&function(){var e,t;const n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=null===(t=globalThis.navigator)||void 0===t?void 0:t.userAgent)&&void 0!==e?e:"").match(/Version\/(\d+\.\d)/);return n?Number(n[1]):0}(){"use strict";n.d(t,{CM:()=>i,Kd:()=>a,Ss:()=>l,ev:()=>c,iR:()=>u,kR:()=>s,mi:()=>o,os:()=>d,uW:()=>p});var r=n(15359);function o(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.canReply||e.isCommentThreadRoot&&e.canReply}function i(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function a(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function s(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function l(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function u(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isEditable||e.isEditable}function c(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isDeletable||e.isDeletable}function d(e,t){return(0,r.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isFillable||e.isFillable}function p(e,t){return(0,r.kG)(t.backend),!(!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.canSetGroup)&&e.canSetGroup}},35727:(e,t,n)=>{"use strict";n.d(t,{Y7:()=>p,_P:()=>v,dq:()=>f,kT:()=>m,kx:()=>d,nN:()=>g,oK:()=>h});var r=n(93113),o=n(21683),i=n(44077),a=n(10983),s=n(2464),l=n(60679),u=n(12705),c=n(82716);const d="The feature you're trying to use requires a comments license. The Comments component is sold separately.";function p(e){let{showComments:t,commentThreads:n,features:r,backend:o}=e;return t&&n.size>0&&(0,u.LC)({features:r,backend:o})}function h(e){let{showComments:t,features:n,backend:r}=e;return t&&(0,u.LC)({features:n,backend:r})}function f(e){if(!p(e))return null;const{viewportState:t}=e;return e.containerRect.width>a.xD?t.scrollMode!==s.G.PER_SPREAD&&t.scrollMode!==s.G.DISABLED||function(e,t){let{viewportState:n,pages:r,commentThreads:i}=e;return(0,o.P1)(n,(0,o.dF)(n,t)).some((e=>{const t=r.get(e);return!!t&&t.annotationIds.some((e=>i.has(e)))}))}(e,e.viewportState.currentPageIndex)?l._.SIDEBAR:null:e.selectedAnnotationIds.size>0&&e.selectedAnnotationIds.some((t=>!!e.commentThreads.get(t)))?l._.PANE:null}const m=e=>null==e.pageIndex;function g(e,t){const n=(0,o.dF)(t,e.pageIndex);let a=i.sl.IDENTITY;if(t.scrollMode===s.G.CONTINUOUS){const e=(0,o.e8)(t,n);a=a.translateY(e)}return a=(0,r._4)(a,t),e.boundingBox.apply(a).top}const v=(e,t)=>{let n=!1;const r=e.last();if(null!=r){const e=t.get(r);(0,c.k)(null!=e),n=m(e)}return n}},65160:(e,t,n)=>{"use strict";n.d(t,{LD:()=>c,TH:()=>l,cJ:()=>h,uv:()=>u,wj:()=>f});var r=n(35369),o=n(45249),i=n(98179),a=n(98492),s=n(65739);function l(e,t){return(0,r.aV)(e.textLines.map(((e,n)=>new o.bi({id:n+1,contents:e.contents,pageIndex:t,boundingBox:new o.UL({top:e.top,left:e.left,height:e.height,width:e.width})}))))}function u(e,t,n,i,l){let u=n,c=i,h=l;const f=[];function m(e,n){return new o.dc({id:n,pageIndex:t,boundingBox:(0,a.k)(e.bbox),elementType:e.element.type})}return function e(n,i){n&&n.forEach((n=>{if(n.element&&n.bbox)if("text"===n.element.type){if(n.element.text&&i){const e=i.textLines[i.textLines.length-1],s=(0,a.k)(n.bbox);e&&o.UL.areVerticallyAligned(s,e.boundingBox,.5*Math.max(s.height,e.boundingBox.height))&&s.left(e.set("contents",e.contents+t.element.text),e.set("boundingBox",o.UL.union((0,r.aV)([e.boundingBox,n]))),e)))}(e,n):i.textLines.push(function(e,n){return new o.bi({id:n,contents:e.element.text,pageIndex:t,boundingBox:(0,a.k)(e.bbox)})}(n,++c))}}else n.element.type,i&&i.contentElements.push(m(n,++h));if(n.children){const r={pdfua_type:n.pdfua_type,type:n.type,alt:n.alt};let o=null;"Document"!==n.pdfua_type&&(o={id:++u,pageIndex:t,textLines:[],contentElements:[],contentBlocks:[],contentTreeElementMetadata:r,allowsBlockTypeChildren:(l=s.m[n.pdfua_type],"p"!==l),boundingBox:null},i?i.contentBlocks.push(o):f.push(o)),e(n.children,o)}var l}))}(e,null),f.map((function e(t){return new o.b0({id:t.id,pageIndex:t.pageIndex,contentTreeElementMetadata:t.contentTreeElementMetadata,textLines:(0,r.aV)(t.textLines),contentElements:(0,r.aV)(t.contentElements).filter(p),contentBlocks:(0,r.aV)(t.contentBlocks.map(e)),allowsBlockTypeChildren:t.allowsBlockTypeChildren,boundingBox:d(t)})}))}function c(e,t){if(e)return t.contents;const n=function(e){const t=e.split("‍");let n=0;for(const e of t){n+=Array.from(e.split(/[\ufe00-\ufe0f]/).join("")).length}return n/t.length}(t.contents);return i.TL?" x".repeat(n/2):" ".repeat(n)}function d(e){const{textLines:t,contentElements:n,contentBlocks:i}=e;if(0===t.length&&0===n.length&&0===i.length)return null;const a=t.map((e=>e.boundingBox)).concat(n.map((e=>e.boundingBox))).concat(i.map(d).filter(Boolean));return 0===a.length?null:o.UL.union((0,r.aV)(a))}function p(e){return"path"!==e.elementType}function h(e){return"Figure"===e||"L"===e||"LI"===e}function f(e){return"li"===e?{listStyleType:"none"}:null}},35998:(e,t,n)=>{"use strict";n.d(t,{AK:()=>c,Aq:()=>u,Gp:()=>l,Im:()=>f,Tl:()=>m,_v:()=>y,sz:()=>d,uB:()=>b,yK:()=>p,z8:()=>h});var r=n(35369),o=n(96988),i=n(44077),a=n(26559);n(44550);function s(e){return{textBlockId:e.id,anchor:(0,a.X$)(e.anchor),globalEffects:(0,a.uE)(e.globalEffects),externalControlState:(0,a.hH)(e)}}function l(e){const t=[];for(const n of e.pageStates.toList()){const e=new Map(n.textBlocks.map((e=>[e.id,e])));for(const r of n.initialTextBlocks)e.has(r.id)||t.push(s(r));for(const e of n.textBlocks){(!(0,r.is)(e.anchor,e.initialAnchor)||!(0,r.is)(e.globalEffects,e.initialGlobalEffects)||!(0,r.is)(e.layout,e.initialLayout)||e.version)&&t.push(s(e))}}return t}const u="The API you're trying to use requires a content editor license. The Content Editor component is sold separately.";const c=[4,6,8,10,12,14,16,18,20,24,32,36,48,64,72,96,144,192,200];function d(e,t){return new o.UL({offset:new o.Sg({x:e.offset.x*t,y:e.offset.y*t}),size:new o.Sg({x:e.size.x*t,y:e.size.y*t})})}function p(e,t,n){return new o.UL({offset:new o.Sg({x:e.offset.x+t.x*n,y:e.offset.y+t.y*n}),size:e.size})}function h(e){let t="";for(const n of e)t+=n.text;return t}const f=0,m=1,g=e=>{switch(e){case"begin":case"justified":return f;case"end":return m;case"center":return.5}},v=(e,t,n)=>{const r=(e=>(new i.sl).rotateRad(e.rotation).scale(1,e.flipY?-1:1))(e),a=r.applyToVector([n*t,0]);return new o.Sg({x:a[0],y:a[1]})},y=(e,t,n)=>(t-g(e))*n,b=(e,t,n,r)=>{const o=g(e)-n;return v(t,o,r)}},79724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(15359);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,n){if(!t)throw new r.p2(""===e?n:`${e}: ${n}`)}}},5619:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,k:()=>i});var r=n(35369);function o(e,t){let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i{n=null,e.apply(a,o)}),t)}}function i(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(0,r.aV)();function i(e){const t=o;o=o.clear(),e.then((e=>{t.forEach((t=>{t.resolve(e)}))})).catch((e=>{t.forEach((t=>{t.reject(e)}))}))}return function(){for(var r=arguments.length,a=new Array(r),s=0;s{t=null,i(e.apply(l,a))}),n),new Promise(((e,t)=>{o=o.push({resolve:e,reject:t})}))}}},67009:(e,t,n)=>{"use strict";n.d(t,{sM:()=>f,uF:()=>h,Zt:()=>m,jI:()=>p,tK:()=>w,w2:()=>g});var r=n(15359),o=n(19575),i=n(69842),a=n(13349),s=n(45249),l=n(44550),u=n(74110),c=n(39684);const d=["application/pdf","image/png","image/jpeg"];function p(e,t){if(t===a.W.IF_SIGNED&&e.status!==i._.not_signed)return!0;if(t===a.W.HAS_ERRORS&&e.status===i._.error)return!0;const n=e.status===i._.valid&&e.documentModifiedSinceSignature;return!(t!==a.W.HAS_WARNINGS||e.status!==i._.warning&&e.status!==i._.error&&!n)}function h(e){if("string"==typeof e)return o.Base64.encode(e);if(e instanceof ArrayBuffer)return f(e);throw(0,r.Rz)(e)}function f(e){let t="";const n=new Uint8Array(e),r=n.byteLength;for(let e=0;e{let{signatureFormFQN:n}=e;return n===t.formFieldName}))&&e.formFields.has(t.formFieldName))}function g(e,t){e&&t&&"STANDALONE"===t.type&&((0,r.kG)(void 0===e.placeholderSize||"number"==typeof e.placeholderSize,"`placeholderSize` must be a number."),(0,r.kG)(void 0===e.flatten||"boolean"==typeof e.flatten,"`flatten` must be a boolean."),(0,r.kG)(void 0===e.formFieldName||"string"==typeof e.formFieldName,"`formFieldName` must be a string."),(0,r.kG)(void 0===e.formFieldName||void 0===e.position,"`formFieldName` and `position` cannot be used together."),v(e.position),y(e.appearance),b(e.signatureMetadata),function(e){if(!e)return;(0,r.kG)(!e.signatureType||e.signatureType===u.BG.CMS||Array.isArray(e.certificates)&&e.certificates.length>0&&e.certificates.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`."),(0,r.kG)(void 0===e.privateKey||"string"==typeof e.privateKey&&e.privateKey.length>0,"`signingData.privateKey` must be a non-empty string if provided."),(0,r.kG)(Object.values(u.BG).includes(e.signatureType),`\`signingData.signatureType\` must be a valid \`PSPDFKit.SignatureType\` value. \`${e.signatureType}\` was provided instead.`)}(e.signingData))}function v(e){e&&((0,r.kG)("number"==typeof e.pageIndex,"`pageIndex` must be a number."),(0,r.kG)(e.boundingBox instanceof s.UL,"`boundingBox` must be a PSPDFKit.Geometry.Rect instance."))}function y(e){var t,n;e&&((0,r.kG)(void 0===e.mode||e.mode in c.H,"`mode` must be a valid PSPDFKit.SignatureAppearanceMode value."),(0,r.kG)(void 0===e.showSigner||"boolean"==typeof e.showSigner,"`showSigner` must be a boolean."),(0,r.kG)(void 0===e.showSignDate||"boolean"==typeof e.showSignDate,"`showSignDate` must be a boolean."),(0,r.kG)(void 0===e.showReason||"boolean"==typeof e.showReason,"`showReason` must be a boolean."),(0,r.kG)(void 0===e.showLocation||"boolean"==typeof e.showLocation,"`showLocation` must be a boolean."),(0,r.kG)(void 0===e.showWatermark||"boolean"==typeof e.showWatermark,"`showWatermark` must be a boolean."),(0,r.kG)(void 0===e.showDateTimezone||"boolean"==typeof e.showDateTimezone,"`showDateTimezone` must be a boolean."),(0,r.kG)(void 0===e.watermarkImage||"Blob"===e.watermarkImage.constructor.name||"File"===e.watermarkImage.constructor.name,"`watermarkImage` must be a Blob or File."),(0,r.kG)(void 0===e.graphicImage||"Blob"===e.graphicImage.constructor.name||"File"===e.graphicImage.constructor.name,"`graphicImage` must be a Blob or File."),(0,r.kG)(void 0===e.watermarkImage||d.includes(e.watermarkImage.type),`The image type must be one of the supported formats: ${d.join(", ")}, provided: ${null===(t=e.watermarkImage)||void 0===t?void 0:t.type}.`),(0,r.kG)(void 0===e.graphicImage||d.includes(e.graphicImage.type),`The image type must be one of the supported formats: ${d.join(", ")}, provided: ${null===(n=e.graphicImage)||void 0===n?void 0:n.type}.`))}function b(e){e&&((0,r.kG)(void 0===e.signerName||"string"==typeof e.signerName,"`signerName` must be a string."),(0,r.kG)(void 0===e.signatureReason||"string"==typeof e.signatureReason,"`signatureReason` must be a string."),(0,r.kG)(void 0===e.signatureLocation||"string"==typeof e.signatureLocation,"`signatureLocation` must be a string."))}function w(e){var t,n,o,i;e&&((0,r.kG)(!("placeholderSize"in e)||"number"==typeof e.placeholderSize&&e.placeholderSize>0,`Invalid \`placeholderSize\` for signature preparation data. Must be of type \`number\` and greater than \`0\` if present. Provided: ${e.placeholderSize}.`),(0,r.kG)(!("flatten"in e)||"boolean"==typeof e.flatten,`Invalid \`flatten\` for signature preparation data. Must be of type \`boolean\` if present. Provided: ${e.flatten}.`),(0,r.kG)(!("signatureMetadata"in e)||"object"==typeof e.signatureMetadata,`Invalid \`signatureMetadata\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.signatureMetadata}.`),"signatureMetadata"in e&&b(e.signatureMetadata),(0,r.kG)(!("position"in e)||"object"==typeof e.position,`Invalid \`position\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.position}.`),"position"in e&&v(e.position),(0,r.kG)(!("appearance"in e)||"object"==typeof e.appearance,`Invalid \`appearance\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.appearance}.`),"appearance"in e&&y(e.appearance),(0,r.kG)(!("formFieldName"in e)||"string"==typeof e.formFieldName&&e.formFieldName.trim().length>0,`Invalid \`formFieldName\` for signature preparation data. Must be a non-empty \`string\` if present. Provided: ${e.formFieldName}.`),(0,r.kG)(!e.signingData||!("signatureContainer"in e.signingData)||(null===(t=e.signingData)||void 0===t?void 0:t.signatureContainer)&&Object.values(u.FR).includes(e.signingData.signatureContainer),`Invalid \`signingData.signatureContainer\`. Must be either \`raw\` or \`pkcs7\` if present. Provided: ${null===(n=e.signingData)||void 0===n?void 0:n.signatureContainer}.`),(0,r.kG)(!e.signingData||!("signatureType"in e.signingData)||(null===(o=e.signingData)||void 0===o?void 0:o.signatureType)&&Object.values(u.BG).includes(e.signingData.signatureType),`Invalid \`signingData.signatureType\`. Must be either \`CMS\` or \`CAdES\` if present. Provided: ${null===(i=e.signingData)||void 0===i?void 0:i.signatureType}.`))}},95431:(e,t,n)=>{"use strict";n.d(t,{D4:()=>Ee,jX:()=>xe});var r=n(96156),o=n(30845),i=n(67366),a=n(35369),s=n(15359),l=n(29152),u=n(25384),c=n(77897),d=n(45249),p=n(24382),h=n(17078),f=n(70982),m=n(47120),g=n(33427),v=n(96326),y=n(4715);class b{constructor(e,t){this.annotationProvider=e,this.localAnnotationCallbacks=t}createBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),!this.annotationProvider.canCreateBackendOrphanWidgets&&e instanceof d.x_?Promise.resolve():this.annotationProvider.createAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),this.annotationProvider.updateAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}deleteBackendObject(e){return this.annotationProvider.deleteAnnotation(e)}createStoreObjects(e,t){this.localAnnotationCallbacks.createAnnotations(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateStoreObjects(e){this.localAnnotationCallbacks.updateAnnotations(e)}deleteStoreObjects(e){this.localAnnotationCallbacks.deleteAnnotations(e)}validateObject(e){return(0,g.bz)(e)}getObjectById(e){return this.localAnnotationCallbacks.getAnnotationById(e)}getObjectId(e){return e.id}refresh(){this.localAnnotationCallbacks.refreshSignaturesInfo()}syncChanges(){return this.annotationProvider.syncChanges()}}class w extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new b(e,t),n,r),this.annotationProvider=e}loadAnnotationsForPageIndex(e){return this.annotationProvider.loadAnnotationsForPageIndex(e)}}var x=n(99745);class D{constructor(e,t){(0,r.Z)(this,"localBookmarks",(0,a.D5)()),(0,r.Z)(this,"onCreate",(e=>{this.localBookmarks=this.localBookmarks.set(e.id,e)})),(0,r.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,r.Z)(this,"onDelete",(e=>{this.localBookmarks=this.localBookmarks.delete(e.id)})),this.bookmarkProvider=e,this.localBookmarkCallbacks=t}createBackendObject(e){return this.bookmarkProvider.createBookmark(e)}updateBackendObject(e){return this.bookmarkProvider.updateBookmark(e)}deleteBackendObject(e){return this.bookmarkProvider.deleteBookmark(e.id)}createStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.set(e.id,e)}))}))}updateStoreObjects(e){this.createStoreObjects(e)}deleteStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.delete(e)}))}))}validateObject(e){if(!e.id||"string"!=typeof e.id)return!1;try{return(0,x.G)(e),!0}catch(e){return!1}}getObjectById(e){return this.localBookmarks.get(e)}getObjectId(e){return e.id}refresh(){this.localBookmarkCallbacks.refreshSignaturesInfo()}syncChanges(){return this.bookmarkProvider.syncChanges()}}class C extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new D(e,t),n,o),(0,r.Z)(this,"getBookmarks",function(){let e=null;return async function(){return e||(e=this.bookmarkProvider.loadBookmarks()),await e,this.getLocalBookmarks()}}()),this.bookmarkProvider=e}getLocalBookmarks(){return this._callbacks.localBookmarks}}var E=n(28018),S=n(56207);class _{constructor(e,t){(0,r.Z)(this,"localComments",(0,a.D5)()),(0,r.Z)(this,"onCreate",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.set(e.id,e)})),(0,r.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,r.Z)(this,"onDelete",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.delete(e.id)})),this.commentProvider=e,this.localCommentCallbacks=t}createBackendObject(e,t){return this.commentProvider.createComment(e,t.comments,t.annotations)}updateBackendObject(e,t){return this.commentProvider.updateComment(e,t.comments,t.annotations)}deleteBackendObject(e,t){return(0,s.kG)(e.id),this.commentProvider.deleteComment(e.id,t.comments,t.annotations)}createStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.createComments(e)}updateStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.updateComments(e)}deleteStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localCommentCallbacks.deleteComments(e)}validateObject(e){try{return(0,S.Gu)(e),!0}catch(e){return!1}}getObjectById(e){return this.localComments.get(e)}getObjectId(e){return(0,s.kG)(e.id),e.id}refresh(){this.localCommentCallbacks.refreshSignaturesInfo()}syncChanges(){return this.commentProvider.syncChanges()}}class P extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new _(e,t),n,r),this.commentProvider=e}async loadComments(){let e=null;e||(e=this.commentProvider.loadComments?this.commentProvider.loadComments():Promise.resolve()),await e}}var k=n(48169);class A{constructor(e,t){this.formFieldValueProvider=e,this.localFormFieldValueCallbacks=t}createBackendObject(e){return this.formFieldValueProvider.createFormFieldValue(e)}updateBackendObject(e){return this.formFieldValueProvider.setFormFieldValue(e)}deleteBackendObject(e){return this.formFieldValueProvider.deleteFormFieldValue((0,k.X)(e))}createStoreObjects(e){this.localFormFieldValueCallbacks.createFormFieldValues(e)}updateStoreObjects(e){this.localFormFieldValueCallbacks.setFormFieldValues(e)}deleteStoreObjects(e){this.localFormFieldValueCallbacks.deleteFormFieldValues(e)}getObjectById(){return null}getObjectId(e){return e.name}validateObject(){return!0}refresh(){this.localFormFieldValueCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldValueProvider.syncChanges()}}class z extends v.a{_getSupportedEvents(){return[...super._getSupportedEvents(),"willSubmit","didSubmit"]}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new A(e,t),n===m.u.INTELLIGENT?m.u.IMMEDIATE:n,r)}createObject(e){const t=this.lockSave();try{this._saveModeQueue.createObject(this._createSaveQueueObject(e.name,e)),this._createdObjects=this._createdObjects.set(e.name,e)}finally{t()}}updateObject(e){const t=this.lockSave();try{this._saveModeQueue.updateObject(this._createSaveQueueObject(e.name,e)),this._updatedObjects=this._updatedObjects.set(e.name,e)}finally{t()}}deleteObject(e){const t=this.lockSave();try{this._saveModeQueue.deleteObject(this._createSaveQueueObject(e.name,e)),this._deletedObjects=this._deletedObjects.set(e.name,(0,k.X)(e))}finally{t()}}}var T=n(4087),O=n(56554),I=n(12705),F=n(87996),M=n(35464),R=n(49876),j=n(79685),B=n(46364),N=n(2891),L=n(5130),K=n(79724),V=n(20993),q=n(72127),H=n(44550);const Z=(0,K.Z)("Forms"),U=(0,s.Tr)("Forms");class $ extends V.I{constructor(e,t){super(t().formFieldValueManager),this.dispatch=e,this.getState=t}async create(e){throw U(`Can't create ${e.toString()}. Form field values creation is not supported.`)}async update(e){const{formFields:t,features:n,formsEnabled:r}=this.getState(),o=this.getState();return Z(n.includes(H.q.FORMS),L.DR),Z(r,L.BZ),Z(o.backend),e.map((e=>{const n=t.get(e.name);if(Z(n,`Tried to set the form field value for form field \`${e.name}\` which does not exist.`),!(0,q.os)(n,o))throw new s.p2("You don't have permission to update this form field value.");return this.dispatch((0,c.xh)([{name:e.name,value:e.value,optionIndexes:e.optionIndexes}])),e}))}async delete(e){return e.map((e=>{throw U(`Can't delete ${e.toString()}. Form field values deletion is not supported.`)}))}async ensureChangesSaved(e){Z("string"==typeof e.name,"The form field value you passed to Instance.ensureChangesSaved() has no name.");const{formFieldValueManager:t}=this.getState();return Z(t),await t.ensureObjectSaved(e)}}var G=n(22284),W=n(21713);const X=(0,K.Z)("Bookmarks");class Y extends V.I{constructor(e,t){super(t().bookmarkManager),this.dispatch=e,this.getState=t}async create(e){const t=this.getState(),{bookmarkManager:n}=t,r=e.map((e=>{const t=e.id;X(n),"string"==typeof t&&n.getLocalBookmarks()&&X(!n.getLocalBookmarks().has(t),`Bookmark with id (${t}) is already used.`);const r="string"==typeof e.id&&e.id.length>0?e:e.set("id",(0,G.A)());return(0,x.G)(r),n.createObject(r),n.autoSave(),r}));return(0,W.s)(r)}async update(e){const{bookmarkManager:t}=this.getState();X(t);const n=e.map((e=>(X("string"==typeof e.id,"The bookmark you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id."),(0,x.G)(e),t.updateObject(e),t.autoSave(),e)));return(0,W.s)(n)}async delete(e){const t=this.getState(),{bookmarkManager:n}=t,r=await(null==n?void 0:n.getBookmarks());X(n);const o=e.map((e=>{X("string"==typeof e.id,"The supplied bookmark id is not a valid id.");const t=null==r?void 0:r.get(e.id);return X(t,`No bookmark with id ${e.id} found.`),n.deleteObject(e),n.autoSave(),t}));return(0,W.s)(o)}async getObjectById(e){const{bookmarkManager:t}=this.getState();if(!t)return null;return(await t.getBookmarks()).get(e)}async ensureChangesSaved(e){X("string"==typeof e.id,"The bookmark you passed to Instance.ensureChangesSaved() has no valid id.\nPlease use Instance.create() first to assign an id.");const{bookmarkManager:t}=this.getState();return X(t),await t.ensureObjectSaved(e)}}var Q=n(34997),J=n(35727);const ee=(0,K.Z)("Comments"),te=Q.SK;class ne extends V.I{constructor(e,t){super(t().commentManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),r=e.map((e=>{re(n);const r=e.id;"string"==typeof r&&ee(!n.comments.has(r),`Comment id (${r}) is already used.`),ee(e.rootId,"Comment does not have `rootId`");const o=n.annotations.get(e.rootId)||(t?function(e,t){return e.find((e=>e instanceof y.q6&&e.id===t))}(t,e.rootId):null);if(ee(o,`Comment orphan: The comment can't be created because no comment thread root was found with the id '${e.rootId}'. Please ensure that you create the corresponding annotation together with the comment via instance.create([comment, commentThreadRootAnnotation]).`),ee(o instanceof y.Jn||o instanceof y.On,`The comment can't be created because its root has wrong type. Was '${o.constructor.name}', only 'CommentMarkerAnnotation' and 'TextMarkupAnnotation' are supported as comment thread roots.`),ee(!e.pageIndex||e.pageIndex===o.pageIndex,`The comment can't be created on different page (${e.pageIndex}) than the comment root (${o.pageIndex}).`),!(0,q.mi)(o,n))throw new s.p2("You are not allowed to reply to this thread.");const{annotationCreatorName:i,annotationCreatorNameReadOnly:a}=n;if(e.creatorName&&e.creatorName!==i&&a)throw new s.p2("The comment creator name is different from the one set on the JWT.");const l=e.withMutations((t=>{const r=new Date;t.set("id",te()).set("creatorName",n.annotationCreatorName).set("createdAt",r).set("updatedAt",r).set("pageIndex",o.pageIndex),ee(n.backend),n.backend.isCollaborationPermissionsEnabled()&&!t.group&&n.group!==n.backend.getDefaultGroup()&&t.merge({group:n.group}),["id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));return(0,S.Gu)(l),l}));return(0,i.dC)((()=>{r.forEach((e=>{e instanceof Error||(this.dispatch((0,M.Jr)(e)),this.autoSave())}))})),(0,W.s)(r)}async update(e){const t=this.getState(),n=e.map((e=>{var n;re(t),ee("string"==typeof e.id,"The comment you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const r=t.comments.get(e.id);ee(r,"An comment that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\n The update of this comment was skipped."),null!==(n=t.backend)&&void 0!==n&&n.isCollaborationPermissionsEnabled()||r.group===e.group&&e.isEditable===r.isEditable&&e.isDeletable===r.isDeletable&&e.canSetGroup===r.canSetGroup||(e=e.set("group",r.group).set("isEditable",r.isEditable).set("isDeletable",r.isDeletable).set("canSetGroup",r.canSetGroup),(0,s.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(r.delete("group"))&&!(0,q.kR)(r,t))throw new s.p2("You don't have permission to update this comment.");if(e.group!==r.group&&!(0,q.uW)(e,t))throw new s.p2("You don't have permission to update the `group` of this comment.");if(e.isEditable!==r.isEditable||e.isDeletable!==r.isDeletable||e.canSetGroup!==r.canSetGroup)throw new s.p2("You can't update `isEditable` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==r.creatorName&&t.annotationCreatorNameReadOnly)throw new s.p2("You can't change the creatorName of a comment if it was already set on the JWT.");if(e.rootId!==r.rootId)throw new s.p2("You can't change the root id of a comment once it has been created.");const o=e.set("updatedAt",new Date);return(0,S.Gu)(o),o}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,M.V4)(e)),this.autoSave())}))})),(0,W.s)(n)}async delete(e){const t=this.getState();re(t);const n=e.map((e=>{ee(e.id);const n=t.comments.get(e.id);if(ee(n,`No comment with id ${e.id} found.`),!(0,q.Ss)(n,t))throw new s.p2("You don't have permission to delete this comment.");return n}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,M.UM)(e)),this.autoSave())}))})),(0,W.s)(n)}async ensureChangesSaved(e){re(this.getState()),ee("string"==typeof e.id,"The comment you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{commentManager:t}=this.getState();return ee(t),await t.ensureObjectSaved(e)}async getObjectById(e){ee("string"==typeof e,"The supplied id is not a valid id.");const{comments:t,features:n}=this.getState();return n.includes(H.q.COMMENTS)?t.get(e):null}}function re(e){const{features:t,backend:n}=e;ee(t.includes(H.q.COMMENTS),J.kx),ee((0,I.xr)(n),"The API you're trying to use is only available when using the PSPDFKit Instant or PSPDFKit for Web Standalone.")}var oe=n(2549);const ie=(0,s.Tr)("Changes");class ae{constructor(e){this.annotation=e.annotation,this.bookmark=e.bookmark,this.comment=e.comment,this.formField=e.formField,this.formFieldValue=e.formFieldValue}toArray(){return[this.annotation,this.bookmark,this.comment,this.formField,this.formFieldValue].filter(Boolean)}forEach(e){this.toArray().forEach(e)}map(e){return this.toArray().map(e)}}class se{constructor(e,t,n,o){(0,r.Z)(this,"_prevHasUnsavedChanges",!1),(0,r.Z)(this,"eventEmitter",new j.Z(["saveStateChange"])),this._dispatch=e,this._getState=t,n&&(this.handlers=new ae(n)),o&&(this.eventEmitter=o)}connect(){const e=this._getState();if(this._backend=e.backend,!this.handlers){const e={};e.annotation=new N.Nk(this._dispatch,this._getState),e.bookmark=new Y(this._dispatch,this._getState),e.formField=new L.fu(this._dispatch,this._getState),e.formFieldValue=new $(this._dispatch,this._getState),e.comment=new ne(this._dispatch,this._getState),this.handlers=new ae(e)}this.handlers.forEach((e=>{const t=e.getEventEmitter();t&&t.supportsEvent("saveStateChange")&&t.on("saveStateChange",(()=>this._onSaveStateChanged()))}))}save(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.hasUnsavedChanges())return Promise.resolve();const t=this.handlers.map((e=>e.manualSave(!1)));return e&&t.push(this._backend.syncChanges().catch(le)),(0,B.jK)(t).then((()=>{})).catch((t=>{const n=e?t.pop():null,r=t.filter(Boolean).map((e=>{if(e instanceof oe.V)return e.reason})).filter(Boolean),o=(0,a.aV)(r).flatMap((e=>e)).toArray();throw(0,oe.h)(o,Boolean(n),n?n.message:null)}))}hasUnsavedChanges(){return this.handlers.map((e=>e.hasUnsavedChanges())).some(Boolean)}_onSaveStateChanged(){const e=this.hasUnsavedChanges();this._prevHasUnsavedChanges!==e&&(this._prevHasUnsavedChanges=e,this.eventEmitter.emit("saveStateChange",{hasUnsavedChanges:e}))}async create(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._performChanges(e,((n,r)=>n.create(r,t?e:null)))}async update(e){return this._performChanges(e,((t,n)=>t.update(n,e)))}_changesForHandler(e,t){return t.filter((t=>this._handlerForChange(t)===e))}async delete(e){const t=e.map((()=>ie("Unsupported change type"))),n=await(0,B.jK)(e.map((async(e,n)=>{if(e){if("string"==typeof e){for(const t of this.handlers.toArray()){const n=await t.getObjectById(e);if(n)return n}t[n]=ie(`No object with id '${e}' found.`)}}else t[n]=ie("The supplied id is not a valid id");return e})));return this._performChanges(n,((e,t)=>e.delete(t)),t)}ensureChangesSaved(e){const t=e.map((e=>{const t=this._handlerForChange(e);return t?t.ensureChangesSaved(e):Promise.reject(ie("Unsupported change type"))}));return(0,B.jK)(t)}async _performChanges(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.map((()=>ie("Unsupported change type")));const r=[],o=this.handlers.map((e=>e.lockSave()));try{let n=null;(0,i.dC)((()=>{n=this.handlers.map((async(n,o)=>{const i=this._changesForHandler(n,e);if(i.length)try{r[o]=await t(n,i)}catch(e){r[o]=e}}))})),n&&await(0,B.jK)(n)}finally{o.forEach((e=>{e()}))}const a=await this._mapResultsToChanges(e,r,n);return a.some((e=>e instanceof Error))?Promise.reject(a):Promise.resolve(a)}async _mapResultsToChanges(e,t,n){const r=n;for(const[n,o]of this.handlers.map((e=>e)).entries()){const i=await this._changesForHandler(o,e),a=t[n];i.length&&i.forEach(((t,n)=>{const o=e.findIndex((e=>e===t));var i;a instanceof Error?r[o]=a:r[o]=null!==(i=a[n])&&void 0!==i?i:a}))}return r}_handlerForChange(e){switch(!0){case e instanceof y.q6:return this.handlers.annotation;case e instanceof x.Z:return this.handlers.bookmark;case e instanceof d.sv:return this.handlers.comment;case e instanceof d.Wi:return this.handlers.formField;case e instanceof d.KD:return this.handlers.formFieldValue;default:return null}}}function le(e){throw ie(e),e}var ue=n(43069),ce=n(69842),de=n(76934),pe=n(55012),he=n(44156);const fe="rollover",me="down";var ge=n(33383),ve=n(66327),ye=n(14935);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t{A.call(null,e)})),n.setDocumentHandleOutdated((t=>{e((0,f.KY)(t))})),n.setFormsEnabledInConfig(j),n.setStateGetter(t)}else if("SERVER"===_.type&&Z&&m&&v){if(!(0,I.xW)(m,v)){const e=Z.fields.filter((e=>"pspdfkit/form-field/signature"===e.type)).map((e=>e.name));Z.annotations=Z.annotations.filter((t=>!e.includes(t.formFieldName))),Z.fields=Z.fields.filter((t=>!e.includes(t.name))),B.setIgnoredFormFieldNames((0,a.aV)(e))}}S&&e((0,ve.m9)(S));const U={refreshSignaturesInfo:async()=>{const{digitalSignatures:n}=t();m&&m.includes(H.q.DIGITAL_SIGNATURES)&&n&&n&&n.status!==ce._.not_signed&&!1===n.documentModifiedSinceSignature&&(await _.refreshSignaturesInfo(),e((0,O.Y)(await _.getSignaturesInfo())))}},$=we(we({},U),{},{createAnnotations:(t,n)=>{n&&n.forEach(((t,n)=>{e((0,h.O)({hash:n,attachment:t}))})),e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,T.lA)(t))})))},updateAnnotations:t=>{e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,T.Zr)(t))})))},deleteAnnotations:t=>{e((0,R.pB)(de.j.EXTERNAL,(()=>{e((0,T.aF)(t))})))},getAnnotationById:e=>t().annotations.get(e)}),G=K&&(0,I.k_)(_)?we(we({},U),{},{createFormFields:t=>{e((0,c.TD)(t))},updateFormFields:t=>{e((0,c.C2)(t)),e((0,c.xW)(t.map((e=>new d.KD({name:e.name,value:e.value})))))},deleteFormFields:t=>{e((0,c.M$)(t))},getFormFieldByName:e=>t().formFields.get(e)}):null,W=we(we({},U),{},{createFormFieldValues:t=>e((0,c.zq)(t)),setFormFieldValues:t=>e((0,c.xW)(t)),deleteFormFieldValues:t=>e((0,c.HE)(t))}),X=(0,I.xr)(_),Y=X?we(we({},U),{},{createComments:t=>{e((0,M.fg)(t))},updateComments:t=>{e((0,M.gk)(t))},deleteComments:t=>{e((0,M.Vn)(t))}}):null,Q=we({},U),J=t(),ee=new w(B,$,k,J.annotationManager&&J.annotationManager.eventEmitter),te=new C(B,Q,k,J.bookmarkManager&&J.bookmarkManager.eventEmitter),ne=K&&G&&(0,I.k_)(_)?new E.c(B,G,k,J.formFieldManager&&J.formFieldManager.eventEmitter):null,re=new z(B,W,k,J.formFieldValueManager&&J.formFieldValueManager.eventEmitter);let oe;X&&((0,s.kG)(null!=Y),oe=new P(B,Y,k,J.commentManager&&J.commentManager.eventEmitter));const ie=(0,o.Z)(g.xp),ae=(0,o.Z)(ue.ET),le={getPageContentState:e=>{const{pages:n,annotations:r,formFields:o}=t(),i=n.get(e);return(0,s.kG)(i),{pageSize:i.pageSize,annotations:ie(r,i),formFields:ae(o,i)}},getZoomState:()=>t().viewportState.zoomLevel,getAnnotationWithFormField:e=>{const{annotations:n,formFields:r}=t(),o=n.get(e);return{annotation:o,formField:o instanceof d.x_&&o.formFieldName?r.get(o.formFieldName):null}},getFormFieldWidgets:e=>{const{annotations:n}=t(),{annotationIds:r}=e;return n.filter(((t,n)=>e.annotationIds.includes(n)||e.annotationIds.includes(String(t.pdfObjectId)))).toList().sort(((e,t)=>r.indexOf(e.id)t().formFields.get(e),isFormDesignerEnabled:()=>(0,I.ix)(t()),isAnnotationInState:e=>t().annotations.has(e),isFormFieldInState:e=>t().formFields.has(e),getAvailableVariants:e=>{const{APStreamVariantsRollover:n,APStreamVariantsDown:r}=t();if(null==e.pdfObjectId)return[];const o=[];return n.has(e.pdfObjectId)&&o.push(fe),r.has(e.pdfObjectId)&&o.push(me),o}},pe={createAnnotations:(e,t,n)=>{ee.backendObjectsCreated(e,n,{attachments:t})},updateAnnotations:ee.backendObjectsUpdated.bind(ee),deleteAnnotations:ee.backendObjectsDeleted.bind(ee),invalidateAPStreams:t=>e((0,T.GI)(t)),createAttachment:(t,n)=>{e((0,h.O)({hash:t,attachment:new d.Pg({data:n})}))},addAnnotationVariants:(t,n)=>{e((0,T.mw)(t,n))},applyJavaScriptActionChanges:t=>{e((0,c.bt)(t))},setPageTabOrder:(t,n)=>{e((0,T.N1)(t,n))}},ge={createBookmarks:te.backendObjectsCreated.bind(te),updateBookmarks:te.backendObjectsUpdated.bind(te),deleteBookmarks:te.backendObjectsDeleted.bind(te)},be=K&&ne instanceof E.c&&(0,I.k_)(_)?{createFormFields:ne.backendObjectsCreated.bind(ne),updateFormFields:ne.backendObjectsUpdated.bind(ne),deleteFormFields:ne.backendObjectsDeleted.bind(ne)}:null,xe={createFormFieldValues:(e,t)=>{t===p.y?K&&re.backendObjectsCreated(e,t):t===p.z&&q&&re.backendObjectsCreated(e,t)},setFormFieldValues:e=>{V&&re.backendObjectsUpdated(e)},deleteFormFieldValues:e=>{q&&re.backendObjectsDeleted(e)}};let De;X&&((0,s.kG)(null!=oe),De={createComments:oe.backendObjectsCreated.bind(oe),updateComments:oe.backendObjectsUpdated.bind(oe),deleteComments:oe.backendObjectsDeleted.bind(oe)});const Ce=new se(e,t,null,J.changeManager&&J.changeManager.eventEmitter),Ee={attemptedUnlockViaModal:r,hasPassword:y,features:m,signatureFeatureAvailability:v,permissions:N,documentInfo:L,formJSON:Z,annotationManager:ee,bookmarkManager:te,formFieldManager:ne,formFieldValueManager:re,commentManager:oe,changeManager:Ce,minSearchQueryLength:b,documentHandle:_.getDocumentHandle(),allowedTileScales:x,pageKeys:D};let Se=null;(0,i.dC)((function(){e((0,u.rJ)(Ee)),B.setReadStateCallbacks(le),B.setAnnotationCallbacks(pe),B.setBookmarkCallbacks(ge),B.setFormFieldValueCallbacks(xe),X&&((0,s.kG)(null!=De),B.setCommentCallbacks(De)),K&&(0,I.k_)(_)&&((0,s.kG)(be),B.setFormFieldCallbacks(be)),Ce.connect(),Se=B.load()}));try{await Se,await new Promise(((t,n)=>{("visible"===document.visibilityState?requestAnimationFrame:setTimeout)((()=>{_.lazyLoadPages().then((r=>{const o=[];r&&e((0,he.uM)(r)),K&&(0,I.k_)(_)&&ne&&o.push(ne.loadFormFields()),(0,s.kG)(m,"Features should be defined at this point"),(0,I.xr)(_)&&(0,I.LC)({features:m,backend:_})&&oe&&o.push(oe.loadComments()),(0,I.YN)({features:m,backend:_})&&o.push(async function(e){var t;let{backend:n,dispatch:r}=e;const o=await(null===(t=n.getSecondaryMeasurementUnit)||void 0===t?void 0:t.call(n));o&&r((0,ye.VO)(o));const i=await n.getMeasurementScales();i&&r((0,ve.RN)(i?(0,l.Ex)(i):null))}({backend:_,dispatch:e})),o.length>0?Promise.all(o).then((()=>t())).catch(n):t()})).catch((e=>{n(e)}))}))}))}catch(e){throw e}}function Ce(e){return{type:pe.UX$,state:e}}function Ee(e,t,n,r){let o;if("string"==typeof t){if(n===ge.x.SharePoint){const n=new URL(t,e),[r,o]=n.hostname.split(".").reverse();if("sharepoint"!==o||"com"!==r)throw new s.p2(`When using SharePoint, the document URL must be a sharepoint.com URL: it's ${o}.${r} instead.`)}if(n===ge.x.Salesforce){const t=new URL(e),[n,r]=t.hostname.split(".").reverse();if("salesforce"!==r&&"force"!==r&&"visualforce"!==r||"com"!==n)throw new s.p2(`When using Salesforce, the SDK must be loaded from a Salesforce URL: it's ${r}.${n} instead.`)}o=fetch(t,{credentials:"same-origin"}).then((e=>e.arrayBuffer())).finally((()=>{null==r||r()}))}else o=t;return o}},52163:(e,t,n)=>{"use strict";n.d(t,{RG:()=>u,SH:()=>f,bZ:()=>d,h6:()=>m,mr:()=>p,nN:()=>c,rh:()=>h});var r=n(35369),o=n(15359),i=n(44550),a=n(84293),s=n(81777),l=n(79112);function u(e){var t;return"STANDALONE"===(null===(t=e.backend)||void 0===t?void 0:t.type)&&e.features.includes(i.q.DOCUMENT_COMPARISON)}const c="You need the document comparison license component to use this feature.",d="The document comparison feature is only available in Standalone mode.",p=(e,t)=>(0,a.cq)(e.set("currentPageIndex",0).set("pageSizes",(0,r.aV)([t.pageSize])),s.c.FIT_TO_WIDTH);async function h(e){const t=await e;if("string"==typeof t){let e;try{e=fetch(t).then((e=>e.arrayBuffer()))}catch(e){(0,o.vU)(e)}return e}if(t instanceof ArrayBuffer)return t;throw new o.p2("Comparison document source is not a URL nor an ArrayBuffer")}const f=e=>e===l.Q.documentA?l.Q.documentA:e===l.Q.documentB?l.Q.documentB:l.Q.result,m=[[[0,0],[0,0]],[[0,0],[0,0]],[[0,0],[0,0]]]},21853:(e,t,n)=>{"use strict";n.d(t,{Aw:()=>d,Cz:()=>P,N1:()=>v,PF:()=>S,Qu:()=>p,R4:()=>f,R9:()=>h,Re:()=>A,_c:()=>E,_s:()=>x,ar:()=>m,cR:()=>D,eR:()=>g,f:()=>u,fp:()=>b,gC:()=>y,o5:()=>c,sR:()=>_});var r=n(15359),o=n(60209),i=n(98179),a=n(87856),s=n(94683),l=n.n(s);function u(e){return function(e){e&&i.vU&&e.scrollHeight}(e),function(e){return e.scrollHeight>e.clientHeight}(e)||c(e)}function c(e){return e.scrollWidth>e.clientWidth}function d(e){const t=e?e.document:document,n=t.createElement("iframe"),{documentElement:o}=t;return(0,r.kG)(o),n.title="script",n.dataset.testid="realm",n.style.position="absolute",n.style.top="-10000px",n.style.left="-10000px",n.style.width="10000px",n.style.height="10000px",n.setAttribute("aria-hidden","true"),o.appendChild(n),{window:n.contentWindow,remove(){o.removeChild(n)}}}function p(e){let t;if(!e.nodeName)return!1;const n=e.nodeName,r=e.hasAttribute("tabindex")&&parseInt(e.getAttribute("tabindex")),o=!isNaN(r)&&isFinite(r)&&"boolean"!=typeof r;if(/^(IFRAME|LABEL|DATALIST|INPUT|SELECT|TEXTAREA|BUTTON|OBJECT)$/.test(n)){if(t=!e.disabled,t){const n=e.closest("fieldset");n&&(t=!n.disabled)}}else t="A"===n?e.href||o:e.hasAttribute("contenteditable")&&"true"===e.getAttribute("contenteditable")||o;return!!t}const h=async e=>{let{buffer:t,width:n,height:r,format:o=(0,a.zP)()}=e;if("bitmap"===o)return(async e=>{let{buffer:t,width:n,height:r}=e;const o=document.createElement("canvas");if(0===Math.floor(r)||0===Math.floor(n))return null;o.width=n,o.height=r;const i=new Uint8ClampedArray(t),a=o.getContext("2d"),s=null==a?void 0:a.createImageData(n,r);return null==s||s.data.set(i),null==a||a.putImageData(s,0,0),f(await E(o))})({buffer:t,width:n,height:r});return f(new Blob([t],{type:`image/${o}`}))};function f(e){try{return m(URL.createObjectURL(e))}catch(e){return null}}async function m(e){const t=new Image;return t.onerror=e=>{throw new r.p2(`There was an error loading the image: ${e.message}`)},t.src=e,await _(t),new o.Z(t,(()=>URL.revokeObjectURL(e)))}function g(e){return!(!e||1!==e.nodeType)&&("true"===e.contentEditable||"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)}function v(e){return!(!e||1!==e.nodeType)&&Boolean(e.attributes.role&&"listbox"===e.attributes.role.value||e.attributes.role&&"menu"===e.attributes.role.value)}function y(e){if(!e||1!==e.nodeType)return!1;const t=e.getRootNode()||e.ownerDocument,n=t.querySelector(".PSPDFKit-Toolbar"),r=t.querySelector(".PSPDFKit-Annotation-Toolbar");return Boolean(n&&n.contains(e)||r&&r.contains(e))}function b(e){return!(!e||1!==e.nodeType)&&Boolean(e.closest(".PSPDFKit-Toolbar-Responsive-Group"))}let w=!1;{let e=document.createElement("div");const t=()=>{};try{e.addEventListener("focus",t,!0),e.focus(Object.defineProperty({},"preventScroll",{get:()=>{w=!0}}))}catch(e){w=!1}finally{e.removeEventListener("focus",t),e=null}}function x(e,t){w&&t.focus({preventScroll:!0})}function D(e,t){const n=t.HTMLAnchorElement.prototype.hasOwnProperty("download"),r=new Blob([e],{type:"application/pdf"});if("function"==typeof navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(r,"download.pdf");else if(n){const e=window.URL.createObjectURL(r);C(e),t.URL.revokeObjectURL(e)}else{const e=new FileReader;e.onloadend=function(){const t=e.result;"string"==typeof t&&C(t)},e.readAsDataURL(r)}}function C(e){(0,r.kG)(null!=document.body);const t=document.createElement("a");t.href=e,t.style.display="none",t.download="download.pdf",t.setAttribute("download","download.pdf"),document.body&&document.body.appendChild(t),t.click(),document.body&&document.body.removeChild(t)}function E(e){return new Promise(((t,n)=>{"toBlob"in e?e.toBlob((e=>{t(e)}),"image/png"):"msToBlob"in e?t(null==e?void 0:e.msToBlob()):n(new Error("Exporting HTMLCanvasElement to Blob is not supported in this browser."))}))}function S(e){e.preventDefault()}async function _(e){if(!(e instanceof HTMLImageElement)||"IMG"!==e.nodeName)return;try{await new Promise(((t,n)=>{e.complete?t():(e.onerror=n,e.onload=()=>t())}))}catch(e){throw new r.p2(`The image could not be loaded: ${e.message}`)}const t=e.decode();try{await t}catch(e){if(!i.i7)throw new r.p2(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}}function P(e){var t,n;null===(t=e.target)||void 0===t||t.classList.remove(l().focusedFocusVisible),null===(n=e.target)||void 0===n||n.removeEventListener("blur",P)}const k="HTMLElement";function A(e){return function(e,t){if(null===e)return!1;let n=e.constructor;for(;null!==n;){if(n.name===t)return!0;n=n.__proto__}return!1}(e,k)}},68944:(e,t,n)=>{"use strict";n.d(t,{SV:()=>l,oM:()=>i,zj:()=>a});var r=n(15359),o=n(72110);function i(){return"protocol=5, client=2024.3.2, client-git=e33ad1856d"}function a(){return"production"}const s=new Map;function l(e){const t=(0,o.Qk)();if(t)return t;const n=document.createElement("a");n.href=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;const n=s.get(e);if("string"==typeof n)return n;if(e.currentScript){const t=e.currentScript.src;return s.set(e,t),t}{let n;try{throw new t("PSPDFKit document.currentScript.src detection")}catch(e){e.stack&&(n=e.stack.match(/(?:file|https?):[^)]+/i))}(0,r.kG)(n,"Failed to automatically determine baseUrl. Please specify the base url as an option.");const o=n[0].split(":").slice(0,-2).join(":");return s.set(e,o),o}}(e);const i=n.pathname.split("/").filter(Boolean).slice(0,-1);return[`${n.protocol}/`,n.host,...i].join("/")+"/"}},18920:(e,t,n)=>{"use strict";function r(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1};return"function"==typeof Event?t=new Event(e,n):(t=document.createEvent("Event"),t.initEvent(e,Boolean(n.bubbles),Boolean(n.cancelable))),t}function o(e){const t=document.createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}function i(e){let{event:t,element:n}=e;const r=n.getRootNode().elementFromPoint(t.clientX,t.clientY);return n.contains(r)}n.d(t,{My:()=>r,_t:()=>o,pr:()=>i})},87856:(e,t,n)=>{"use strict";n.d(t,{Gn:()=>o,Rh:()=>s,Zy:()=>i,zP:()=>a});var r=n(98179);const o=(()=>{if("object"!=typeof window)return!1;let e=!1;const t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});try{window.addEventListener("test",null,t)}catch(e){}return e})();let i=!r.G6;if(!r.G6){const e=new Image;e.onload=()=>i=e.width>0&&e.height>0,e.onerror=()=>i=!1,e.src="data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="}const a=()=>"bitmap";let s=!1;try{const e=new FormData;e.append("key","value");const t=new Response(e);"formData"in t&&!fetch.polyfill&&t.formData().then((()=>{s=!0})).catch((()=>{s=!1}))}catch(e){s=!1}},8968:(e,t,n)=>{"use strict";n.d(t,{GE:()=>p,eE:()=>d,vt:()=>c,x6:()=>h});var r=n(35369),o=n(15359),i=n(69867);const a=(0,r.hU)(["Helvetica","Arial","Calibri","Century Gothic","Consolas","Courier","Dejavu Sans","Dejavu Serif","Georgia","Gill Sans","Impact","Lucida Sans","Myriad Pro","Open Sans","Palatino","Tahoma","Times New Roman","Trebuchet","Verdana","Zapfino","Comic Sans"]),s=(0,r.hU)(["sans-serif","serif","monospace"]);let l=new Set;const u=(0,r.aV)(["mmmBESbswy"]);s.forEach((e=>{const t=a.filterNot((e=>l.has(e))),n=new i.f(document,u,{fontFamily:e}),r=t.map((t=>[t,new i.f(document,u,{fontFamily:`${t},${e}`})])),s=n.measure().first();(0,o.kG)(s),r.forEach((e=>{let[t,n]=e;const r=n.measure().first();s.equals(r)||(l=l.add(t))})),n.remove(),r.forEach((e=>{let[,t]=e;t.remove()}))}));const c=a.filter((e=>l.has(e))),d=[{name:"Caveat",file:"Caveat-Bold",weight:700},{name:"Marck Script",file:"MarckScript-Regular",weight:400},{name:"Meddon",file:"Meddon-Regular",weight:400},{name:"Pacifico",file:"Pacifico-Regular",weight:400}];function p(e,t){e.forEach((e=>{t.load(`16px ${e.name}`)}))}function h(e){return Promise.allSettled(e.map((e=>new Promise(((t,n)=>{var r,i;if((0,o.kG)(e.name),i=e.name,!/\.[^.]*$/.test(i))return(0,o.vU)(`The font name for font "${e.name}" must have a file extension.`),void n();null==e||null===(r=e.callback)||void 0===r||r.call(e,e.name).then((r=>{(0,o.kG)(e.name),r instanceof Blob?t({name:e.name,data:r}):((0,o.vU)(`Callback for retrieving font ${e.name} didn't returned a Blob. It returned ${typeof r}`),n())})).catch((t=>{(0,o.vU)(`Error returned by callback for retrieving font ${e.name}. ${t}`),n()}))}))))).then((e=>e.filter((e=>"fulfilled"===e.status)).map((e=>e.value))))}},43069:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>L,AM:()=>F,Ay:()=>M,BT:()=>y,CH:()=>R,CK:()=>N,CL:()=>P,ET:()=>k,G8:()=>C,Qg:()=>v,U_:()=>b,VY:()=>D,as:()=>V,fF:()=>j,g6:()=>O,gE:()=>z,hT:()=>w,i2:()=>E,l_:()=>x,o6:()=>B,r_:()=>T,sC:()=>A,sh:()=>K});var r=n(96156),o=n(35369),i=n(15359),a=n(1858),s=n(45249),l=n(690),u=n(72251),c=n(87996),d=n(33427),p=n(48625),h=n(82197),f=n(20388);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;tnew s.KD({name:e.name,value:"string"==typeof e.value?e.value:e.values,optionIndexes:e.optionIndexes}))).toList()}function y(e,t){var n;return e&&t?e instanceof a.Dz||e instanceof a.rF?e.values.size>0?e.values.equals(t.values):0===t.values.size:(e.value===t.value||"function"==typeof(null===(n=e.value)||void 0===n?void 0:n.equals)&&e.value.equals(t.value))&&(!e.optionIndexes||!t.optionIndexes||e.optionIndexes.every(((e,n)=>t.optionIndexes[n]===e))):!e&&!t}function b(e){return(0,o.D5)(e.map((e=>{(0,i.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"Invalid type for `pdfObjectId`.");try{(0,i.kG)(Array.isArray(e.annotationIds),"Invalid type for `annotationIds`."),(0,i.kG)("string"==typeof e.name,"Invalid type for `name`."),(0,i.kG)("string"==typeof e.label,"Invalid type for `label`.");const t=Array.isArray(e.flags)?e.flags:[],n={pdfObjectId:e.pdfObjectId,annotationIds:(0,o.aV)(e.annotationIds),name:e.name,label:e.label,readOnly:t.includes("readOnly"),required:t.includes("required"),noExport:t.includes("noExport")};switch(e.type){case"pspdfkit/form-field/button":return function(e){return new a.R0(g({},e))}(n);case"pspdfkit/form-field/radio":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("string"==typeof t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)("boolean"==typeof t.noToggleToOff,"Invalid type for `noToggleToOff`."),(0,i.kG)("boolean"==typeof t.radiosInUnison,"Invalid type for `radiosInUnison`."),new a.XQ(g(g({},e),{},{options:_(t.options),defaultValue:t.defaultValue,noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison}))}(n,e);case"pspdfkit/form-field/checkbox":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)(t.defaultValues instanceof Array,"Invalid type for `defaultValue`."),new a.rF(g(g({},e),{},{options:_(t.options),defaultValues:(0,o.aV)(t.defaultValues)}))}(n,e);case"pspdfkit/form-field/combobox":case"pspdfkit/form-field/listbox":return function(e,t){(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("boolean"==typeof t.multiSelect,"Invalid type for `multiSelect`."),(0,i.kG)("boolean"==typeof t.commitOnChange,"Invalid type for `commitOnChange`."),(0,i.kG)(!t.defaultValues||Array.isArray(t.defaultValues),"Invalid type for `defaultValue`.");const n=g(g({},e),{},{options:_(t.options),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:t.defaultValues?(0,o.aV)(t.defaultValues):(0,o.aV)()});switch(t.type){case"pspdfkit/form-field/combobox":{const e=t;return(0,i.kG)("boolean"==typeof e.edit,"Invalid type for `edit`."),(0,i.kG)("boolean"==typeof e.doNotSpellcheck||"boolean"==typeof e.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),new a.fB(g(g({},n),{},{edit:e.edit,doNotSpellCheck:e.doNotSpellCheck||e.doNotSpellcheck}))}case"pspdfkit/form-field/listbox":return new a.Vi(n);default:throw new Error("Unknown choice field type")}}(n,e);case"pspdfkit/form-field/text":return function(e,t){return(0,i.kG)("boolean"==typeof t.doNotSpellcheck||"boolean"==typeof t.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),(0,i.kG)("boolean"==typeof t.doNotScroll,"Invalid type for `doNotScroll`."),(0,i.kG)("boolean"==typeof t.password,"Invalid type for `password`."),(0,i.kG)("boolean"==typeof t.multiLine,"Invalid type for `multiLine`."),(0,i.kG)("string"==typeof t.defaultValue||!t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)(!0!==t.comb||"number"==typeof t.maxLength,"Invalid type for `comb`. When `comb` is set, the text field must have a `maxLength`."),new a.$o(g(g({},e),{},{defaultValue:t.defaultValue,doNotSpellCheck:t.doNotSpellCheck||t.doNotSpellcheck,doNotScroll:t.doNotScroll,password:t.password,maxLength:"number"==typeof t.maxLength?t.maxLength:null,multiLine:t.multiLine,comb:t.comb}))}(n,e);case"pspdfkit/form-field/signature":return function(e){return new a.Yo(g({},e))}(n);default:throw new Error(`Unsupported form field type: ${e.type}`)}}catch(t){return(0,i.um)(`Skipped parsing form field #${e.name} from payload because an error occurred while deserializing.`),void(0,i.um)(t)}})).filter(Boolean).map((e=>[null==e?void 0:e.name,e])))}function w(e){return e.map((e=>u.Z.fromJSON(e.pdfObjectId?e.pdfObjectId.toString():e.id,e)))}function x(e,t){const n=e.annotationIds.findIndex((0,d.oF)(t)),r=e.options.get(n);return(0,i.kG)(r,`There is no FormOption defined for annotationId '${t.id}' in formField '${e.name}'.`),r.value}function D(e,t){let{rotation:n,boundingBox:r}=e;if(!n)return{};const o=90===(0,h.Lv)(n)||270===(0,h.Lv)(n),i={},a=Math.ceil(r.height*t),s=Math.ceil(r.width*t);return o&&(i.width=a,i.height=s),n&&(i.transformOrigin="50% 50%",i.transform=C({width:s,height:a,rotation:n})),i}function C(e){let{width:t,height:n,rotation:r,reverse:o=!1}=e;const i=90===(0,h.Lv)(r)||270===(0,h.Lv)(r);return o?`rotate(${r}deg)`+(i&&t&&n?`translate(${-Math.round(t/2-n/2)}px, ${Math.round(t/2-n/2)}px)`:""):(i&&t&&n?`translate(${Math.round(t/2-n/2)}px, ${-Math.round(t/2-n/2)}px) `:"")+`rotate(${-r}deg)`}function E(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{fontColor:r,font:o,backgroundColor:i,borderColor:a,horizontalAlign:s,borderWidth:l,borderStyle:u,isBold:c,isItalic:d,boundingBox:{width:p,height:h},opacity:m}=e,v=Math.ceil(p*t),y=Math.ceil(h*t);return g(g({color:null==r?void 0:r.toCSSValue(),backgroundColor:null==i?void 0:i.toCSSValue(),borderColor:(null==a?void 0:a.toCSSValue())||"transparent",opacity:m,textAlign:s||void 0,fontWeight:c?"bold":void 0,fontStyle:d?"italic":void 0},"string"==typeof o?{fontFamily:(0,f.hm)(o)}:null),{},{borderWidth:l||0,borderStyle:null!=u?S[u]:"none",width:v,height:y},n?D(e,t):{})}const S={solid:"solid",dashed:"dashed",beveled:"groove",inset:"inset",underline:"none none solid"};function _(e){return(0,o.aV)(e.map((e=>new s.mv(e))))}function P(e,t){return e.formFields.find((e=>e.id===t))}function k(e,t){return e.filter((e=>e.annotationIds.some((e=>t.annotationIds.has(e))))).toList()}function A(e,t,n){var r,o,i,a;return"STANDALONE"===e.type&&c.Options.PDF_JAVASCRIPT&&"function"==typeof e.onKeystrokeEvent&&(Boolean(null===(r=t.additionalActions)||void 0===r?void 0:r.onInput)||Boolean(null===(o=n.additionalActions)||void 0===o?void 0:o.onInput)||Boolean(null===(i=t.additionalActions)||void 0===i?void 0:i.onChange)||Boolean(null===(a=n.additionalActions)||void 0===a?void 0:a.onChange))}function z(e,t){if(0===e.length)return t;if(0===t.length)return e;const n=[],r=t.slice(0);return e.forEach((e=>{if((e.change_type===l.uV||e.change_type===l.zR)&&"pspdfkit/form-field-value"===e.object.type){const t=r.findIndex((t=>"pspdfkit/form-field-value"===t.object.type&&t.object.type===e.object.type&&t.object.name===e.object.name));if(t>-1){const n=r[t];e.object.formattedValue=n.object.formattedValue,e.object.editingValue=n.object.editingValue,r.splice(t,1)}}n.push(e)})),n.concat(r)}function T(e,t,n){const r=e&&n.formFields.get(e.name);if(e&&r&&!y(e,r)){e.annotationIds.reduce(((e,n)=>{var r;const i=t.annotations.get(n)||t.annotations.find((e=>e.pdfObjectId===parseInt(n)));if(i&&null!==(r=t.isAPStreamRendered)&&void 0!==r&&r.call(t,i)){return e.get(i.pageIndex)?e.updateIn([i.pageIndex],(e=>e.add(i.id))):e.set(i.pageIndex,(0,o.l4)([i.id]))}return e}),(0,o.D5)()).forEach(((e,n)=>{var r;null===(r=t.backend)||void 0===r||r.clearPageAPStreams(n,e)}))}}function O(e,t,n){const r=e.annotationIds.findIndex((0,d.oF)(t)),i=x(e,t),a=e.options.filter((e=>e.value===i)).size;let s;if(n){if(a<2)return;s=(e.optionIndexes||(0,o.aV)()).push(r)}else{if(!e.optionIndexes)return;s=e.optionIndexes.filter((e=>e!==r))}return s.size>0?s:void 0}function I(e,t){const n=t.filter((t=>{var n;const r=null===(n=e.options.get(t))||void 0===n?void 0:n.value;return e.options.filter((e=>e.value===r)).size>1}));return n.size>0?n:void 0}function F(e){let{state:t,mutableState:n,formFieldValues:r,areFormFieldValuesNew:s}=e;r.forEach((e=>{let{name:r,value:l,optionIndexes:u}=e;const c=t.formFields.get(r);if(c){if((0,i.kG)(!u||c instanceof a.XQ||c instanceof a.rF,"`optionIndexes` property is only supported in radio and checkbox form field values."),c instanceof a.$o)l=l||"",(0,i.kG)("string"==typeof l,`The type of action value for a TextFormField is ${typeof l}, but has to be a string`),n.setIn(["formFields",r,"value"],l);else if(c instanceof a.XQ){if((0,i.kG)("string"==typeof l||null===l,`The type of action value for a RadioButtonFormField is ${typeof l}, but has to either be a string or null`),n.setIn(["formFields",r,"value"],l),u){const e=I(c,u);e&&n.setIn(["formFields",r,"optionIndexes"],e)}}else if(c instanceof a.Dz||c instanceof a.rF){if(l=l||(0,o.aV)(),(0,i.kG)(l instanceof o.aV,`The type of action value for the ${c instanceof a.Dz?"ChoiceFormField":"CheckBoxFormField"} is ${typeof l}, but has to be a List of strings`),n.setIn(["formFields",r,"values"],l),c instanceof a.rF&&u){const e=I(c,u);e&&n.setIn(["formFields",r,"optionIndexes"],e)}}else c instanceof a.R0||c instanceof a.Yo||(0,i.kG)(!1,`Cannot set form field value for ${c.name}: unknown form field type`);s||T(c,t,n)}else(0,i.ZK)(`No form field found with name ${r}`)}))}function M(e){let{getState:t,originalFormFields:n,formFieldValues:r,callback:a,resolve:s}=e;const{formFields:l,annotations:u,backend:c}=t(),d=[],p=[];n.forEach(((e,t)=>{if(!e)return;(0,i.kG)(c);let n=l.get(t);if((0,i.kG)(n),r.some((e=>e.name===t&&(n=o.aV.isList(e.value)?n.set("values",e.value):n.set("value",e.value),!0))),y(e,n))p.push(t);else{u.filter((e=>e.points===t)).reduce(((e,t)=>{const n=e.get(t.pageIndex);return n?e.set(t.pageIndex,n.add(t.id)):e.set(t.pageIndex,(0,o.l4)([t.id]))}),(0,o.D5)()).forEach(((e,t)=>{d.push({pageIndex:t,pageWidgetIds:e})}))}})),a(p),d.forEach((e=>{let{pageIndex:t,pageWidgetIds:n}=e;null==c||c.clearPageAPStreams(t,n)})),null==s||s()}function R(e){return new s.KD(g({name:e.name,value:e.values||e.value},e.optionIndexes?{optionIndexes:e.optionIndexes}:null))}function j(e){return e===p.A.CHECKBOX_WIDGET||e===p.A.RADIO_BUTTON_WIDGET||e===p.A.SIGNATURE_WIDGET||e===p.A.TEXT_WIDGET||e===p.A.BUTTON_WIDGET||e===p.A.COMBO_BOX_WIDGET||e===p.A.LIST_BOX_WIDGET||e===p.A.FORM_CREATOR||e===p.A.DATE_WIDGET}function B(e){return j(e)&&e!==p.A.FORM_CREATOR}function N(e,t){const n=x(e,t),r=!e.optionIndexes||e.optionIndexes.includes(e.annotationIds.findIndex((0,d.oF)(t)));return e instanceof a.XQ?e.value===n&&r:e instanceof a.rF?e.values.includes(n)&&r:(0,i.Rz)(e)}const L="Invalid date/time: please ensure that the date/time exists. Field [",K="The value entered does not match the format of the field [",V="format "},21713:(e,t,n)=>{"use strict";function r(e){return e.some((e=>e instanceof Error))?Promise.reject(e):Promise.resolve(e)}n.d(t,{s:()=>r})},48338:(e,t,n)=>{"use strict";n.d(t,{FA:()=>g,GW:()=>y,WF:()=>b,Yr:()=>w,_d:()=>v,ax:()=>x,kM:()=>m,mZ:()=>D});var r=n(96156),o=n(15359),i=n(35369),a=n(23951),s=n(45249),l=n(76934),u=n(33427),c=n(35727),d=n(4715),p=n(2891);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.push({type:"delete",payload:{id:t.id}}))),e.update("redoActions",(e=>e.clear())))}function y(e,t,n,r){if(e.isHistoryEnabled){let t=!0;if(e.eventEmitter.emit("history.willChange",{annotation:n,type:"update",preventDefault(){t=!1}}),!t)return}if(!t.set("updatedAt",null).equals(n.set("updatedAt",null)))if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled&&function(e,t){if(e instanceof s.gd&&!e.text)return!(!t||!("text"in t))&&!!t.text.value;if(e instanceof s.Jn&&!e.isCommentThreadRoot)return!!t&&t.isCommentThreadRoot;if("number"!=typeof e.pageIndex&&"number"!=typeof t.pageIndex)return!1;return!0}(n,t)){const o="number"!=typeof t.pageIndex&&"number"==typeof n.pageIndex||t instanceof s.gd&&null==t.text||t instanceof s.Jn&&!t.isCommentThreadRoot&&n.isCommentThreadRoot?{type:"delete",payload:{id:t.id}}:{type:"update",payload:D(n,t),restoreAPStream:r,deletedAnnotation:null};if("update"===o.type&&t instanceof s.gd&&(0,u.Ie)(t)&&!(0,u.vM)(t))return;e.update("undoActions",(e=>e.push(o))),e.update("redoActions",(e=>e.clear()))}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const r=e.undoActions.findLastIndex((e=>("update"===e.type||"delete"===e.type)&&e.payload.id===n.id));-1!==r&&e.updateIn(["undoActions",r],(e=>"update"===e.type?f(f({},e),{},{payload:D(n,t.merge(e.payload)),restoreAPStream:e.restoreAPStream}):"delete"===e.type?f(f({},e),{},{payload:f(f({},D(n,t)),e.payload)}):e))}}function b(e,t,n){if(t instanceof d.Hu)return;if(e.isHistoryEnabled){let n=!0;if(e.eventEmitter.emit("history.willChange",{annotation:t,type:"delete",preventDefault(){n=!1}}),!n)return}const r=(0,u.xc)();if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled){const o=w(t,r,e.commentThreads,e.comments),i=x(t,r,e);e.update("undoActions",(e=>e.map((e=>e.payload.id===t.id?f(f({},e),{},{payload:f(f({},e.payload),{},{id:r})}):e)).push({type:"create",payload:t.set("id",r),formField:i,restoreAPStream:n,comments:o}))),e.update("redoActions",(e=>e.clear()));const a=e.historyIdsMap.get(t.id);a&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",r],a||t.id)}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const o=e.undoActions.findLastIndex((e=>"update"===e.type&&e.payload.id===t.id));if(-1!==o){e.updateIn(["undoActions",o],(e=>({type:"update",deletedAnnotation:t,payload:e.payload,restoreAPStream:n})));const i=e.historyIdsMap.get(t.id);i&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",r],i||t.id)}}}function w(e,t,n,r){let o=null;if(e.isCommentThreadRoot){const i=n.get(e.id);o=i?i.map((e=>{const n=r.get(e);return n&&n.set("rootId",t)})).filter((e=>e&&!(0,c.kT)(e))).toList():null}return o}function x(e,t,n){let r=null;return e instanceof s.x_&&(r=(0,p.GA)(n,e)),r&&r.set("annotationIds",(0,i.aV)([t]))}function D(e,t){return t.toSeq().reduce(((t,n,r)=>(e.has(r)&&e.get(r)===n||(t[r]=n),t)),{id:e.id})}},68540:(e,t,n)=>{"use strict";n.d(t,{$:()=>v,Ah:()=>k,Bo:()=>D,L8:()=>T,R9:()=>h,Sv:()=>S,Tp:()=>E,U5:()=>z,_x:()=>b,dX:()=>y,jC:()=>x,jw:()=>g,lB:()=>_,mP:()=>C,nG:()=>m,tm:()=>w,wA:()=>A,wL:()=>P});var r=n(67294),o=n(67366),i=n(66327),a=n(93113),s=n(89637),l=n(45249),u=n(74814),c=n(20388),d=n(4087),p=n(21853);function h(e){const t=r.useRef(e),n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o(t.current=e,()=>t.current=void 0))),n}function f(e){const t=(0,o.I0)();return[(0,o.v9)((t=>{if(t.documentComparisonState&&void 0!==t.documentComparisonState[e])return t.documentComparisonState[e];throw new Error("Document comparison state not properly initialized.")})),h((n=>t((0,i.M5)({[e]:n}))))]}function m(){return f("referencePoints")}function g(){return f("currentTab")}function v(){return f("autoCompare")}function y(){return f("isResultFetched")}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=r.useRef(),n=r.useRef();return(0,o.v9)((r=>(r.viewportState===t.current&&n.current||(n.current=t=>t.apply((0,a.zi)(r,e))),t.current=r.viewportState,n.current)))}function w(){const e=r.useRef(!0),t=r.useCallback((()=>e.current),[]);return r.useEffect((()=>()=>{e.current=!1}),[]),t}function x(e){const t=r.useRef();return r.useEffect((()=>{t.current=e})),t.current}function D(e,t){const n=(0,o.v9)((e=>e.customUIStore)),i=(0,o.v9)((e=>e.sidebarMode)),[a,s]=r.useState((()=>{var e;return i?null==n||null===(e=n.getState().Sidebar)||void 0===e?void 0:e[i]:void 0}));r.useEffect((()=>null==n?void 0:n.subscribe((e=>{var t;if(!i)return;const n=null==e||null===(t=e.Sidebar)||void 0===t?void 0:t[i];s((()=>n))}))),[n,i]);const l=e&&(null==a?void 0:a({containerNode:e,items:t})),u=null==l?void 0:l.node;return r.useEffect((()=>{u&&e&&u!==e&&e.lastChild!==u&&e.append(u)}),[e,u]),null==l?void 0:l.onRenderItem}function C(e,t,n){const o=r.useRef({}),i=h(t),a=h(n),s=r.useMemo((()=>(t,n)=>{e&&t&&n&&(e({itemContainerNode:t,item:n}),o.current[i(n)]=t)}),[e,i]);return r.useEffect((()=>{Object.entries(o.current).forEach((t=>{let[n,r]=t;if(r&&n){const t=a(n),r=o.current[n];e&&r&&t&&e({itemContainerNode:r,item:t})}}))}),[e,a]),e?s:null}function E(){const[e,t]=r.useState(null),[n,o]=r.useState(null),[i,a]=r.useState(null),s=r.useRef(),l=r.useRef(),u=r.useRef(null);r.useEffect((()=>{l.current=n,s.current=i})),r.useEffect((()=>{const t=e&&n&&!l.current,r=!e&&s.current&&i;(t||r)&&u.current&&u.current.focus()}),[n,i,e]);const c=r.useCallback((()=>{o(!0)}),[o]);return{handleGroupExpansion:r.useCallback((e=>{t(e),e?a(e):o(!1)}),[a,t,o]),handleEntered:c,expandedGroup:e,prevActiveGroup:i,btnFocusRef:u}}function S(e,t,n){r.useLayoutEffect((function(){null!==e&&(t((0,s.Sb)()),n(e))}),[n,e,t])}function _(e,t,n,i){const a=(0,o.v9)((e=>e.shadowRoot));return r.useCallback((function(r){if(!(e instanceof l.gd))return;const o=(0,c.Zv)(e,t,n,a).boundingBox;let s=null;switch(r){case u.V.RIGHT:s=e.setIn(["boundingBox","width"],o.width);break;case u.V.BOTTOM:s=e.setIn(["boundingBox","height"],o.height);break;case u.V.BOTTOM_RIGHT:s=e.set("boundingBox",o)}null!==s&&i((0,d.FG)((0,c.XA)(s,n)))}),[e,i,t,n,a])}function P(e){const t=r.useRef(null);return r.useEffect((function(){const{current:n}=t;n&&(0,p._s)(e(),n)}),[e]),t}function k(e){const[t,n]=r.useState(e),[o,i]=r.useState(e);return t!==e&&(i(e),n(e)),[o,i]}function A(e,t,n){r.useEffect((function(){if(!e)return;const r=t();return r.addEventListener("scroll",n),function(){r.removeEventListener("scroll",n)}}),[t,e,n])}function z(e){let{threshold:t=0}=e;const[n,o]=r.useState(null),[i,a]=r.useState(null),s=r.useRef(null);return r.useEffect((()=>{s.current&&s.current.disconnect(),s.current=new window.IntersectionObserver((e=>{let[t]=e;return o(t)}),{threshold:t});const{current:e}=s;return i&&e.observe(i),()=>e.disconnect()}),[i]),[a,n||{}]}const T=(e,t)=>{const n=r.useRef(!1);r.useEffect((()=>()=>{n.current=!0}),[]),r.useEffect((()=>()=>{n.current&&e()}),[...t,e])}},94809:(e,t,n)=>{"use strict";n.d(t,{Pn:()=>i,qH:()=>s,rH:()=>a,sf:()=>l,vu:()=>o});var r=n(82716);function o(e){return 200<=e&&e<300}function i(e){const t=e.indexOf("://")>0;(0,r.k)(t,`The baseUrl must be an absolute URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.\nProtocol relative URLs (e.g. //example.com/pspdfkit-lib/) are not supported.`);const n="/"===e.substr(-1);(0,r.k)(n,`The baseUrl must have a trailing slash in the URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.`)}function a(e){return i(e)}function s(e){return i(e)}function l(e){const t=e.indexOf("://")>0;(0,r.k)(t,`The hostedBaseUrl must be an absolute URL (e.g. https://api.pspdfkit.com/, but it is set to ${e}.`);const n="/"===e.substr(-1);(0,r.k)(n,`The hostedBaseUrl must have a trailing slash in the URL (e.g. https://api.pspdfkit.com/), but it is set to ${e}.`)}},56573:(e,t,n)=>{"use strict";n.d(t,{Jc:()=>b,UW:()=>v,Y:()=>w,an:()=>y,uq:()=>g,wc:()=>C});var r=n(96156),o=n(30845),i=n(15359),a=n(10983),s=n(46364),l=n(34299),u=n(44077),c=n(60209),d=n(92537),p=n(45249);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{t.onerror=e=>r(new Error(e)),t.onload=e=>{var t;const r=new Image;r.onload=()=>{n(new u.$u({width:r.width,height:r.height}))},r.onerror=()=>n(new u.$u({width:a.zA,height:a._2})),r.src=null===(t=e.target)||void 0===t?void 0:t.result},t.readAsDataURL(e)}))}));const g=async e=>{const{Sha256:t,bytes_to_hex:r}=await n.e(1517).then(n.bind(n,14350)),o=new t,i=await(0,l.V)(e);return{hash:r(o.process(i).finish().result),dimensions:await m(e)}};function v(e){return`${e.imageAttachmentId}_${e.id}`}function y(e){var t;let{backend:n,blob:r,annotation:o,isDetachedAnnotation:a=!1,zoomLevel:l,variant:c,hasZoomedIn:h=!1}=e,m=null,y=!1;const b=null!==(t=null==o?void 0:o.rotation)&&void 0!==t?t:0;(0,i.kG)(n);const w=o?v(o):void 0;if(o instanceof p.sK&&h&&w&&n.attachmentsCache.has(w)){const e=n.attachmentsCache.get(w);(void 0===e.zoomLevel||void 0===l||e.zoomLevel(r&&"image/png"!==r.type&&"image/jpeg"!==r.type&&"image/webp"!==r.type&&o&&(n.attachmentsCache=n.attachmentsCache.set(w,{dimensions:e,img:t,provisional:!0,prevRotation:b,zoomLevel:l})),o)))}else{if(!r||"image/png"!==r.type&&"image/jpeg"!==r.type&&"image/webp"!==r.type)return D();m=g(r).then((e=>{let{dimensions:t}=e;return x(n,t,b,o,r)})).catch((()=>{throw new i.p2("Couldn't read data from the provided image.")}))}return f(f({},(0,s.uZ)(m)),{},{isProvisional:y});function D(){(0,i.kG)(n,"Backend is required to render the image"),(0,i.kG)(o,"Annotation is required to render the image");const{boundingBox:e}=o,t=(0,d.L)()*(null!=l?l:1);let s=Math.round(e.width*t),h=Math.round(e.height*t);if(!(o instanceof p.GI||o instanceof p.sK)){const e=Math.sqrt(s*h/1e7);e>1&&(s=Math.round(s*(1/e)),h=Math.round(h*(1/e)))}const f=new u.$u({width:s,height:h}),m=a?n.renderDetachedAnnotation(o,r,s,h):n.cachedRenderAnnotation(o,r,s,h,c);return m.promise=m.promise.then((async e=>"imageAttachmentId"in o&&o.imageAttachmentId&&w&&null!=e&&e.element?0!==b?x(n,f,360-b,o,r,e.element).then((t=>(null!=t&&t.element&&(n.attachmentsCache=n.attachmentsCache.set(w,{dimensions:90===b||270===b?f.swapDimensions():f,img:t.element,prevRotation:b,zoomLevel:l})),e))):(n.attachmentsCache=n.attachmentsCache.set(w,{dimensions:f,img:e.element,prevRotation:b,zoomLevel:l}),e):e)),m}}function b(e,t){const n=new Uint8Array(e.length);for(let t=0;tnew Promise((e=>{r.toBlob(e)})));const s=r.getContext("2d");s.textBaseline="hanging";s.font=`100px "${i}"`;const{actualBoundingBoxLeft:l,actualBoundingBoxRight:u,width:c}=s.measureText(e);r.height=500;const d=2*(l||u?l+u:c);return r.width=d,s.textBaseline="hanging",s.font=`100px "${i}"`,s.fillStyle=a.toCSSValue(),s.fillText(e,d/4,125),function(e){const t=e.getContext("2d"),n=t.getImageData(0,0,e.width,e.height),r=n.data.length;let o=null,i=null,a=null,s=null,l=0,u=0;for(let t=0;tD(i,t,n).then(e,r)));if(o){const i=URL.createObjectURL(o),a=document.createElement("img");return new Promise(((s,l)=>{a.onload=()=>{o&&r&&(e.attachmentsCache=e.attachmentsCache.set(v(r),{dimensions:t,img:a,prevRotation:n})),D(a,t,n).then(s,l)},a.onerror=()=>{l(new Error("The attachment provided could not be rendered as image/jpeg, image/png or image/webp although the mime type suggests so."))},a.src=i}))}return new Promise((e=>e))}async function D(e,t,n){if(0===n)return e.onload=null,e.onerror=null,new c.Z(e,(()=>{}));{const r=document.createElement("canvas"),{width:o,height:a}=t;90===n||270===n?(r.width=a,r.height=o):(r.width=o,r.height=a);const s=r.getContext("2d");return(0,i.kG)(s,"Could not get canvas context"),90===n||270===n?s.translate(a/2,o/2):s.translate(o/2,a/2),s.rotate(n*-Math.PI/180),s.drawImage(e,-o/2,-a/2),new c.Z(r,(()=>{}))}}const C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="},40163:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,b:()=>a});var r=n(35369);function o(e,t){if(e===t||(0,r.is)(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;const i=Object.prototype.hasOwnProperty.bind(t);for(let o=0;o{"use strict";n.d(t,{$U:()=>g,H9:()=>c,HB:()=>f,IQ:()=>h,Ip:()=>y,Vv:()=>w,gz:()=>d,o:()=>p,u8:()=>v,vR:()=>m});var r=n(35369),o=n(45249),i=n(23301),a=n(74814),s=n(98179),l=n(92537),u=n(82716);function c(e,t,n){return 0===n||0===e.size||e.last().distance(t)>n}function d(e){var t,n,r,i;if(0===e.lines.size)return new o.UL;const a=e.lines.flatMap((e=>e)),s=Math.ceil((null===(t=a.maxBy((e=>e.x)))||void 0===t?void 0:t.x)+e.lineWidth/2),l=Math.ceil((null===(n=a.maxBy((e=>e.y)))||void 0===n?void 0:n.y)+e.lineWidth/2),u=Math.floor((null===(r=a.minBy((e=>e.x)))||void 0===r?void 0:r.x)-e.lineWidth/2),c=Math.floor((null===(i=a.minBy((e=>e.y)))||void 0===i?void 0:i.y)-e.lineWidth/2);return new o.UL({width:s-u,height:l-c,top:c,left:u})}function p(e,t,n){const{width:r,height:s}=e.boundingBox,l=(0,i.BP)(new o.$u({width:r,height:s}),t);return(0,i.D7)(e,new o.E9({x:l.width-r,y:l.height-s}),a.V.BOTTOM_RIGHT,n,!1)}const h=e=>e.reduce(((e,t)=>(null==t?e.push((0,r.aV)()):e[e.length-1]=e[e.length-1].push(t),e)),[(0,r.aV)()]).filter((e=>e.size>0)),f=e=>{const t=Math.abs(Math.ceil(Math.log10((0,l.L)()*e)));let n;return n=t>100?100:t,n},m=(e,t)=>{const n=e.first();if(1===e.size&&n)return[`L ${n.x},${n.y}`];const r=[`M ${n.x},${n.y}`],o=e.get(1);if(2===e.size&&o)return r.push(`L ${o.x},${o.y}`),r;for(let n=2,o=e.size;n{const t=e.first();return 1===e.size&&t?[`L ${t.x},${t.y}`]:e.reduce(((e,t,n)=>(n>0&&e.push(`L ${t.x},${t.y}`),e)),[`M ${t.x},${t.y}`])},v=e=>e.reduce(((t,n,r)=>(e[r-1]&&"M 0,0"!==e[r-1]||!n.startsWith("L")||t.push(n.replace("L","M")),t.push(n),t)),[]).join(" ");function y(e,t,n){if(e.lines.size<2)return!0;const r=e.lines.last();if(null==e.lines.get(e.lines.size-2)||null==r||0===r.size||r.size>2)return!0;const o=.5*(t.width+t.height),i=e.lines.size<50?.15:.03,a=(Date.now()-n)/1e3;if(ae.some((e=>e.distance(s){"use strict";n.d(t,{k:()=>o});var r=n(15359);function o(e,t){if(!e)throw new r.p2(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}},2427:(e,t,n)=>{"use strict";n.d(t,{eU:()=>s,t0:()=>l,yK:()=>a});var r=n(19575),o=n(15359),i=n(72110);function a(e){const t="The supplied JWT is invalid. Please refer to our guides on how to set up authentication:\n https://pspdfkit.com/guides/web/current/server-backed/client-authentication/";if(-1!==e.indexOf('{"internal":'))return;let n;(0,o.kG)("string"==typeof e&&3===e.split(".").length,t);try{const t=r.Base64.decode(e.split(".")[1]);n=JSON.parse(t)}catch(e){throw new o.p2(t)}(0,o.kG)("string"==typeof n.document_id,"The supplied JWT is invalid. The field 'document_id' has to be a string value.\n Please refer to our guides for further information: https://pspdfkit.com/guides/web/current/server-backed/client-authentication/")}function s(e){if("string"!=typeof e)throw new o.p2("`accessToken` must be of type string.")}function l(e,t){(0,o.kG)("string"==typeof e,"`appName` must be a string."),(0,o.kG)((0,i.d)()||(0,i.AL)(e,t)||(0,i.B0)(e,t),"`appName` should only be set when using Electron, Maui or Flutter for Web."),(0,o.kG)(!(0,i.Sk)()||(0,i.AL)(e,t)||(0,i.B0)(e,t),"`appName` should only be set when using Electron without node integration, Maui or Flutter for Web.")}},71856:(e,t,n)=>{"use strict";function r(e){return{name:e.name,scale:{unitFrom:e.scale.unitFrom,unitTo:e.scale.unitTo,from:Number(e.scale.fromValue),to:Number(e.scale.toValue)},precision:e.precision}}n.d(t,{f:()=>r})},29152:(e,t,n)=>{"use strict";n.d(t,{B0:()=>J,Di:()=>E,Ex:()=>Z,Hg:()=>$,KI:()=>S,P_:()=>M,Qc:()=>V,Rc:()=>H,Rw:()=>j,S6:()=>R,W9:()=>L,_P:()=>A,b5:()=>q,bs:()=>Y,cd:()=>B,fH:()=>G,m_:()=>N,mq:()=>W,nK:()=>K,t9:()=>F,xA:()=>X,zl:()=>Q});var r=n(96156),o=n(15359),i=n(85628),a=n.n(i),s=n(35369),l=n(58163),u=n(85151),c=n(4087),d=n(10552),p=n(48625),h=n(97281),f=n(94327),m=n(1385),g=n(9513),v=n(71479),y=n(16006),b=n(45874),w=n(14165),x=n(98179);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;te.y-t.y)).first();return{coordinate:[r.x,r.y-t]}}{const{boundingBox:t}=e;return{coordinate:[t.left+t.width/2,t.top+t.height/2]}}}(e,r);if(!o)return{display:"none"};const a={position:"absolute",transform:"translate(-50%, -50%) "+(e instanceof b.Z||e instanceof w.Z||e instanceof g.Z?"":e instanceof v.Z&&i?`rotate(${i}deg) translate(0, -${e.strokeWidth/2+10}px)`:i?`rotate(${i}deg) translate(0px, -${e.strokeWidth/2+10}px)`:`translate(0px, -${e.strokeWidth/2+10}px)`),transformOrigin:"center",fontSize:12,color:null===(n=e.strokeColor)||void 0===n?void 0:n.toCSSValue(),width:"max-content",left:o[0],top:e instanceof v.Z&&x.G6&&!i?o[1]-20:o[1]},{boundingBox:s}=e;return(e instanceof w.Z||e instanceof g.Z)&&(t&&s.width<200||s.width<80)?C(C({},a),{},{top:s.top-30}):a}function _(e,t){let n=e,r=t;t.x({label:f.s[e],value:f.s[e],disabled:!1}))),L=function(){const e=[];for(const t in h.L){const n=Object.keys(h.L).find((e=>e===t));if(n&&P.hasOwnProperty(h.L[t]))e.push((1/Math.pow(10,A[h.L[n]])).toString());else if(n&&k.hasOwnProperty(h.L[t])){const t=new(a())(A[h.L[n]]);e.push(t.toFraction(!0).toString())}}return e}(),K=Object.keys(h.L).map(((e,t)=>({label:L[t],value:h.L[e]}))),V=Object.keys(h.L).filter((e=>!Q(h.L[e]))).map(((e,t)=>({label:L[t],value:h.L[e]}))),q=Object.keys(m.K).map((e=>({value:m.K[e],label:m.K[e]}))),H=(e,t)=>({added:t.filter((t=>!e.find((e=>JSON.stringify(e)===JSON.stringify(t))))),deleted:e.filter((e=>!t.find((t=>JSON.stringify(e)===JSON.stringify(t)))))});function Z(e){return e.map(((e,t)=>{const n=C(C({},e),{},{scale:C(C({},e.scale),{},{fromValue:e.scale.from,toValue:e.scale.to})});var r;(delete n.scale.from,delete n.scale.to,n.name&&""!==n.name.trim())||(n.name=(null===(r=(0,u.sJ)(n))||void 0===r?void 0:r.label)||`Scale ${t}`);return d.q[n.precision]&&(n.precision=d.q[n.precision]),n}))}async function U(e){let{operation:t,scale:n,getState:r,measurementUpdate:o,dispatch:i}=e;const a=r(),{backend:u,annotations:d,annotationManager:p}=a;const h=async(e,o)=>{const a=await(async e=>(await(null==p?void 0:p.loadAnnotationsForPageIndex(e)),r().annotations))(o);!function(e,t,r){e.forEach((e=>{const o=t.find((t=>t.pdfObjectId===e.pdfObjectId));if(o)switch(r){case"edit":{const e=o.set("measurementScale",new l.Z({fromValue:Number(n.scale.fromValue),toValue:Number(n.scale.toValue),unitFrom:n.scale.unitFrom,unitTo:n.scale.unitTo})).set("measurementPrecision",n.precision);i((0,c.FG)(e));break}case"delete":i((0,c.hQ)(o))}}))}(e,a,t)},f="STANDALONE"===u.type?await u.getAnnotationsByScale(n):function(e,t){return t.filter((t=>{const n=t.measurementScale,r=t.measurementPrecision;return!!n&&n.unitFrom===e.scale.unitFrom&&n.unitTo===e.scale.unitTo&&n.fromValue===e.scale.fromValue&&n.toValue===e.scale.toValue&&r===e.precision}))}(n,d),m=[];if(f.forEach((e=>{const n=d.find((t=>t.pdfObjectId?t.pdfObjectId===e.pdfObjectId:t.id===e.id));if(n&&"edit"===t&&o){const e=n.set("measurementScale",o.scale).set("measurementPrecision",o.precision);i((0,c.FG)(e))}else n&&"delete"===t?i((0,c.hQ)(n)):m.push(e)})),m.length>0){const e=(0,s.l4)(m.map((e=>e.pageIndex)));await Promise.all(e.map((async e=>{await h(m,e)})))}}async function $(e){let{scale:t,oldScale:n,getState:r,dispatch:o}=e;const i={scale:new l.Z({fromValue:Number(t.scale.fromValue),toValue:Number(t.scale.toValue),unitFrom:t.scale.unitFrom,unitTo:t.scale.unitTo}),precision:t.precision};await U({operation:"edit",scale:n,getState:r,measurementUpdate:i,dispatch:o})}async function G(e){let{deletedScale:t,getState:n,dispatch:r}=e;await U({operation:"delete",scale:t,getState:n,dispatch:r})}function W(e){if(e.size<2)return!1;const t=e.toList(),n=t.first(),r={scale:n.measurementScale,precision:n.measurementPrecision};for(let e=1;e{"use strict";n.d(t,{Sy:()=>s,Zt:()=>c,dY:()=>l});var r=n(15359),o=n(45249),i=n(57943),a=n(33427);function s(e,t,n){let s;if(e instanceof o.o9)return s=e.set(["startPoint","endPoint"][n],e[["startPoint","endPoint"][n]].translate(t)),s.set("boundingBox",(0,i.sS)(o.o9)(s));var u;if(e instanceof o.om||e instanceof o.Hi)return s=e.setIn(["points",n],null===(u=e.points.get(n))||void 0===u?void 0:u.translate(t)),s.set("boundingBox",(0,i.sS)(o.om)(s));if((0,a.Vc)(e)){var d,p;(0,r.kG)(e instanceof o.gd,"Callout annotation must have a callout");const a=null!==(d=e.callout)&&void 0!==d&&d.knee?["start","knee","end"]:["start","end"];if("end"===a[n])return e;s=e.setIn(["callout",a[n]],null===(p=e.callout)||void 0===p||null===(p=p[a[n]])||void 0===p?void 0:p.translate(t));const{callout:u}=s;(0,r.kG)(u,"Callout annotation must have a callout");const h=u.innerRectInset;(0,r.kG)(h,"Callout annotation must have an innerRectInset"),(0,r.kG)(u.start,"Callout annotation must have a start point");const f={left:e.boundingBox.left+h.left,top:e.boundingBox.top+h.top,right:e.boundingBox.left+e.boundingBox.width-h.right,bottom:e.boundingBox.top+e.boundingBox.height-h.bottom},m=l([[f.left,f.top],[f.right,f.top],[f.right,f.bottom],[f.left,f.bottom]]),g=(0,i.sS)(o.gd)(s),v=new o.eB({left:f.left-g.left,top:f.top-g.top,right:g.left+g.width-f.right,bottom:g.top+g.height-f.bottom});return s.set("boundingBox",g).setIn(["callout","innerRectInset"],v).setIn(["callout","end"],c(u.knee||u.start,m))}return e}function l(e){const t=[];for(let n=0;n{"use strict";n.d(t,{I:()=>o,W:()=>i});var r=n(10983);function o(e){return e.button===r.oW}function i(e){return e.buttons===r.M5}},97395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>a});var r=n(72110);const o=["http","https","mailto"];function i(e){const t=e.split(":")[0];if(t===e)e=/^[./#]/.test(e)?e:"http://"+e;else if(o.indexOf(t)<=-1)return;a(e,!0)}function a(e,t){if((0,r.Sk)()){(0,r.oH)("electron").shell.openExternal(e)}else if(t){window.open(e,"_blank").opener=null}else window.opener=null,window.location.href=e}},12705:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>g,Ez:()=>x,HI:()=>v,LC:()=>T,Pt:()=>y,RZ:()=>m,VT:()=>f,VY:()=>M,Vz:()=>R,Xr:()=>A,YN:()=>O,aE:()=>I,bp:()=>E,ix:()=>_,j$:()=>D,jb:()=>h,k_:()=>P,lV:()=>w,qs:()=>z,xW:()=>F,xr:()=>k});var r=n(15359),o=n(45249),i=n(94732),a=n(81026),s=n(72127),l=n(20063),u=n(2891),c=n(87996),d=n(44550),p=n(28233);function h(e){return e.documentPermissions.printHighQuality}function f(e){return e.documentPermissions.printing&&e.printingEnabled&&e.backendPermissions.downloadingAllowed}function m(e){return e.exportEnabled&&e.backendPermissions.downloadingAllowed}function g(e){return e.documentPermissions.extract&&e.clientPermissions.extract}function v(e){return g(e)&&!e.clientPermissions.preventTextCopy}function y(e){return e.documentPermissions.toJS()}function b(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:r}=e;return!(!n.modification&&n.annotationsAndForms&&!t.readOnly&&r===p.J.NO)}function w(e,t){let n=!1;if((0,r.kG)(t.backend),t.backend.isCollaborationPermissionsEnabled()&&e instanceof o.x_){const r=(0,u.GA)(t,e);n=!!r&&(0,s.os)(r,t)}const i=!n&&!(0,s.CM)(e,t)&&!(0,s.Kd)(e,t);if(I(t)&&(!("isSignature"in e)||!e.isSignature))return!0;if(C(t)||i)return!0;if(e instanceof a.FN&&(e=e.parentAnnotation),!(e instanceof o.gd||e instanceof o.Qi)&&!e.note&&e.locked)return e.locked;if(e.locked&&e.lockedContents)return!0;if(e.readOnly&&(!(e instanceof o.x_)||!(e instanceof o.R1)))return e.readOnly;if(t.isEditableAnnotation)return!t.isEditableAnnotation(e);if(!E(t)||!b(t)){if(0===t.editableAnnotationTypes.size)return!0;if(t.editableAnnotationTypes.find((t=>e instanceof t)))return!1}return!0}function x(e,t){const n=!(0,s.kR)(e,t)&&!(0,s.Ss)(e,t);return!(T(t)&&!C(t)&&!n)||(t.isEditableComment?!t.isEditableComment(e):!!E(t)&&b(t))}function D(e,t,n){let{features:r,backend:a,backendPermissions:s,documentPermissions:l,readOnlyEnabled:u,editableAnnotationTypes:c}=t;if(e===o.Jn&&!T({features:r,backend:a}))return!0;if(e===i.Z&&!r.includes(d.q.REDACTIONS))return!0;if(e===o.UX&&n&&!r.includes(d.q.MEASUREMENT_TOOLS))return!0;return!!I({features:r})||(!(!E({backendPermissions:s,documentPermissions:l,readOnlyEnabled:u})||!b({backendPermissions:s,documentPermissions:l,readOnlyEnabled:u}))||!c.find((t=>e===t||e.prototype instanceof t||t.prototype instanceof e)))}function C(e){return e.backendPermissions.readOnly}function E(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:r}=e;return t.readOnly||!n.modification||r!==p.J.NO}function S(e){return(e.documentPermissions.annotationsAndForms||e.documentPermissions.fillForms)&&e.formsEnabled}function _(e){return S(e)&&P(e.backend)&&e.features.includes(d.q.FORM_DESIGNER)}function P(e){return(0,r.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function k(e){return(0,r.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function A(e){let{features:t,backendPermissions:n,documentPermissions:r,readOnlyEnabled:o}=e;return t.includes(d.q.DOCUMENT_EDITING)&&!(n.readOnly||!r.modification||o===p.J.VIA_VIEW_STATE||o===p.J.VIA_BACKEND_PERMISSIONS)}function z(e){let{features:t,backendPermissions:n,documentPermissions:r,readOnlyEnabled:o}=e;return t.includes(d.q.CONTENT_EDITING)&&!(n.readOnly||!r.modification||o===p.J.VIA_VIEW_STATE||o===p.J.VIA_BACKEND_PERMISSIONS)}function T(e){let{features:t,backend:n}=e;return(0,r.kG)(n),t.includes(d.q.COMMENTS)&&("STANDALONE"===n.type||"SERVER"===n.type&&n.isUsingInstantProvider())}function O(e){let{features:t,backend:n}=e;return(0,r.kG)(n),t.includes(d.q.MEASUREMENT_TOOLS)&&("STANDALONE"===n.type||"SERVER"===n.type)}function I(e){let{features:t}=e;return!R(t)&&t.includes(d.q.ELECTRONIC_SIGNATURES)}function F(e,t){return!!(t===l.H.LEGACY_SIGNATURES||e.includes(d.q.FORMS)&&(e.includes(d.q.ELECTRONIC_SIGNATURES)||e.includes(d.q.DIGITAL_SIGNATURES)))}function M(e,t,n){let{backendPermissions:r,documentPermissions:i,isEditableAnnotation:a,editableAnnotationTypes:s,readOnlyEnabled:l}=n;return e.readOnly||a&&!a(t)||!s.has(o.x_)||!c.Options.IGNORE_DOCUMENT_PERMISSIONS&&!i.fillForms&&!i.annotationsAndForms||r.readOnly||l!==p.J.NO}function R(e){return e.includes(d.q.WEB_ANNOTATION_EDITING)||e.includes(d.q.ANNOTATION_EDITING)}},53217:(e,t,n)=>{"use strict";n.d(t,{$u:()=>s,Qk:()=>l,Sk:()=>i,d:()=>o,oH:()=>u});var r=n(15359);function o(){return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0}function i(){const e=c()[atob("cmVxdWlyZQ==")];return o()&&"undefined"!=typeof window&&window&&window.process&&window.process.type&&"function"==typeof e}function a(){let e;try{e=u("@electron/remote")}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;try{e=u("electron").remote}catch(e){(0,r.vU)(`Failed to load the remote module package. PSPDFKit for Web needs access to it in order to work in Electron.\n Please read our Electron guides to help you set it up: https://pspdfkit.com/getting-started/electron/\n ${t.message}\n ${e.message}`)}}return e}function s(){if(!o())return null;if(!i())return null;try{const e=u("fs"),t=a().app.getAppPath()+"/package.json";return JSON.parse(e.readFileSync(t).toString()).name}catch(e){throw new Error(`There was an error parsing this project's \`package.json\`: ${e.message}`)}}function l(){if(!o())return null;try{return`file://${a().app.getAppPath()}/node_modules/pspdfkit/dist/`}catch(e){return null}}function u(e){return(0,c()[atob("cmVxdWlyZQ==")])(e)}function c(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g}},75665:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(33383);function o(e,t){return"string"==typeof e&&t===r.x.FlutterForWeb}},72110:(e,t,n)=>{"use strict";n.d(t,{$u:()=>r.$u,AL:()=>o.A,B0:()=>i.B,Qk:()=>r.Qk,Sk:()=>r.Sk,d:()=>r.d,oH:()=>r.oH});var r=n(53217),o=n(49843),i=n(75665)},49843:(e,t,n)=>{"use strict";function r(e,t){return"string"==typeof e&&(null==t?void 0:t.startsWith("Maui_"))}n.d(t,{A:()=>r})},46364:(e,t,n)=>{"use strict";function r(e){return new Promise(((t,n)=>{let r=0;const o=[];let i=!1;const a=()=>{r>=e.length&&(i?n(o):t(o))};a(),e.forEach(((e,t)=>{e.then((e=>{r+=1,o[t]=e,a()})).catch((e=>{r+=1,o[t]=e,i=!0,a()}))}))}))}function o(e,t){let n=!1;return{promise:new Promise(((t,r)=>{e.then((e=>!n&&t(e)),(e=>!n&&r(e)))})),cancel(){n=!0,t&&t()}}}function i(e,t){return new Promise((function(n,r){e.then(n,r),setTimeout((function(){r(Error("promise:timeout"))}),t)}))}n.d(t,{Vs:()=>i,jK:()=>r,uZ:()=>o})},92537:(e,t,n)=>{"use strict";function r(){let e=1;return void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e}n.d(t,{L:()=>r})},23301:(e,t,n)=>{"use strict";n.d(t,{BP:()=>C,D7:()=>x,G8:()=>v,cL:()=>E,er:()=>D});var r=n(35369),o=n(15359),i=n(87996),a=n(74814),s=n(45249),l=n(5705);function u(e){switch(e){case a.V.TOP:return{mx:0,my:-1};case a.V.BOTTOM:return{mx:0,my:1};case a.V.LEFT:return{mx:-1,my:0};case a.V.RIGHT:return{mx:1,my:0};case a.V.TOP_LEFT:return{mx:-1,my:-1};case a.V.TOP_RIGHT:return{mx:1,my:-1};case a.V.BOTTOM_RIGHT:return{mx:1,my:1};case a.V.BOTTOM_LEFT:return{mx:-1,my:1}}throw new o.p2("Expected `getMultipliersFromResizeStartingAnchor` to be called with a valid `ResizeStartingAnchor` value.")}function c(e,t,n,r,o){const i=u(t);let a,s=e.width+i.mx*n.x,l=e.height+i.my*n.y;return o&&r&&(i.mx>0&&e.left+s>r.width?(s=r.width-e.left,a="width"):i.mx<0&&s-e.width>e.left&&(s=e.left+e.width,a="width"),i.my>0&&e.top+l>r.height?(l=r.height-e.top,a="height"):i.my<0&&l-e.height>e.top&&(l=e.top+e.height,a="height")),{rect:e.set("width",s).set("height",l),keepToSide:a}}function d(e,t,n,r,o){const i=u(t),a=-1*i.mx*(e.width-e.width*n),l=-1*i.my*(e.height-e.height*r),c=o?new s.E9({x:i.mx>=0?0:Math.max(-e.left,a),y:i.my>=0?0:Math.max(-e.top,l)}):new s.E9({x:i.mx>=0?0:a,y:i.my>=0?0:l});return{translation:c,dragDifference:o?new s.E9({x:i.mx>=0?0:a-c.x,y:i.my>=0?0:l-c.y}):new s.E9({x:0,y:0})}}function p(e,t){const n=u(t);return new s.E9({x:e.boundingBox.left+e.boundingBox.width/2+-1*n.mx*e.boundingBox.width/2,y:e.boundingBox.top+e.boundingBox.height/2+-1*n.my*e.boundingBox.height/2})}function h(e,t,n,r){let o=e.lines;const i=p(e,r);return o=o.map((e=>e.map((e=>e.translate(i.scale(-1)).scale(t,n).translate(i))))),o}function f(e,t,n,o){let i;if(e instanceof s.o9)i=(0,r.aV)([e.startPoint,e.endPoint]);else{if(!(e instanceof s.Hi||e instanceof s.om))return(0,r.aV)();i=e.points}const a=p(e,o);return i=i.map((e=>e.translate(a.scale(-1)).scale(t,n).translate(a))),i}function m(e,t,n){const r=v(e);if(r>0){const o=e.boundingBox,i=o.widthr.maxWidth&&(i=r.maxWidth),r.minWidth&&ir.maxHeight&&(s=r.maxHeight),r.minHeight&&t.height4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5?arguments[5]:void 0,p=arguments.length>6?arguments[6]:void 0,x=arguments.length>7?arguments[7]:void 0;const C=e.boundingBox;let E;if((0,l.o0)(e)&&!(0,l.Ag)(e)){const r=u(n),o=new s.E9({x:C.width/2*r.mx,y:C.height/2*r.my}),i=o.rotate(e.rotation),a=new s.E9({x:i.x+t.x,y:i.y+t.y}).rotate(-e.rotation);E=new s.E9({x:a.x-o.x,y:a.y-o.y})}else E=t;const S=c(C,n,E,i,p);let _=S.rect;if(r&&(_=y(S.keepToSide,C,_)),o&&x&&(null!=x&&x.maxHeight||null!=x&&x.maxWidth||null!=x&&x.minHeight||null!=x&&x.minWidth)){const t=v(e);x.minHeight=x.minHeight?x.minHeight:t,x.minWidth=x.minWidth?x.minWidth:t}else o&&(_=m(e,_,r));const P=0!==C.width?_.width/C.width:0,k=0!==C.height?_.height/C.height:0,{translation:A,dragDifference:z}=d(C,n,P,k,p);_=_.set("width",_.width+z.x).set("height",_.height+z.y),_=_.translate(A),(null!=x&&x.maxHeight||null!=x&&x.maxWidth||null!=x&&x.minHeight||null!=x&&x.minWidth)&&(_=g(e,_,r,x));const T=function(){const t=e.set("boundingBox",_),o=Math.sqrt(P*k);let i;return t instanceof s.gd?(0,l.Ag)(e)&&n===b[e.rotation]||!(0,l.Ag)(e)&&n===a.V.BOTTOM_RIGHT?t.set("fontSize",t.fontSize*o).set("isFitting",!0):t.set("isFitting",!0):t instanceof s.Zc?t.withMutations((e=>{e.set("lines",h(t,P,k,r?w[n]:n)),e.set("lineWidth",t.lineWidth*o)})):t instanceof s.o9?(i=f(t,P,k,n),t.withMutations((e=>{e.set("startPoint",i.get(0)),e.set("endPoint",i.get(1))}))):t instanceof s.Hi||t instanceof s.om?(i=f(t,P,k,n),t.withMutations((e=>{e.set("boundingBox",_),e.set("points",i)}))):t}();return D(T,C)}function D(e,t){if((0,l.o0)(e)&&!(0,l.Ag)(e)){const n=new s.E9({x:e.boundingBox.getCenter().x-t.getCenter().x,y:e.boundingBox.getCenter().y-t.getCenter().y}).rotate(e.rotation);return e.update("boundingBox",(e=>e.set("left",t.left+n.x-(e.width-t.width)/2).set("top",t.top+n.y-(e.height-t.height)/2)))}return e}function C(e,t){const{width:n,height:r}=e,o=t.width/n,i=t.height/r,a=Math.min(o,i);return new s.$u({width:n*a,height:r*a})}function E(e){switch(e){case a.V.TOP_LEFT:return"Top-Left";case a.V.TOP:return"Top";case a.V.TOP_RIGHT:return"Top-Right";case a.V.LEFT:return"Left";case a.V.RIGHT:return"Right";case a.V.BOTTOM_LEFT:return"Bottom-Left";case a.V.BOTTOM:return"Bottom";case a.V.BOTTOM_RIGHT:return"Bottom-Right";default:(0,o.Rz)(e)}}},5705:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>d,Mg:()=>v,az:()=>l,h4:()=>u,kv:()=>c,o0:()=>p,sw:()=>s});var r=n(45249),o=n(33427),i=n(72938),a=n.n(i);function s(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const s=e.set("rotation",t);if(n&&i){const t=l(s),i=(0,o.SY)(t,a);if(!new r.UL({left:0,top:0,width:n.width,height:n.height}).isRectInside(i))return e}return s}function l(e){const{boundingBox:t,rotation:n}=e,{width:o,height:i}=t;if(!p(e))return e;const a=new r.E9({x:-o/2,y:-i/2}),s=new r.E9({x:o/2,y:-i/2}),l=new r.E9({x:o/2,y:i/2}),u=new r.E9({x:-o/2,y:i/2}),c=a.rotate(n),d=s.rotate(n),h=l.rotate(n),f=u.rotate(n),m=Math.min(c.x,d.x,h.x,f.x),g=Math.min(c.y,d.y,h.y,f.y),v=Math.max(c.x,d.x,h.x,f.x),y=Math.max(c.y,d.y,h.y,f.y),b=t.getCenter();return e.set("boundingBox",new r.UL({left:b.x+m,top:b.y+g,width:v-m,height:y-g}))}function u(e,t){if(p(e)){const n=t||function(e,t){if(void 0===t||0===t)return e.getSize();const n=Math.floor(t/360);-1===Math.sign(t)&&(t+=360+360*n);let o=(t-=360*n)%180;const i=o>=90,a=i?e.height:e.width,s=i?e.width:e.height;if(o%=90,45===o){if(a!==s){const e=Math.min(a,s);return new r.$u({width:Math.sqrt(2)*e,height:Math.sqrt(2)*e})}return new r.$u({width:Math.sqrt(2)*a,height:Math.sqrt(2)*s})}const l=o*(Math.PI/180);return new r.$u({width:(a*Math.cos(l)-s*Math.sin(l))/Math.cos(2*l),height:(s*Math.cos(l)-a*Math.sin(l))/Math.cos(2*l)})}(e.boundingBox,e.rotation);return e.set("boundingBox",new r.UL({left:e.boundingBox.left+(e.boundingBox.width-n.width)/2,top:e.boundingBox.top+(e.boundingBox.height-n.height)/2,width:n.width,height:n.height}))}return e}function c(e){return"number"==typeof e.rotation&&e.rotation%360!=0}function d(e){return"number"==typeof e.rotation&&Math.abs(e.rotation)%90==0&&Math.abs(e.rotation)%360!=0}function p(e){return(0,o.a$)(e)&&c(e)}let h,f,m,g;function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"grab";if(h||(h=new DOMParser,f=h.parseFromString(a(),"image/svg+xml"),m=f.querySelector("svg"),g=new XMLSerializer),m&&(m.style.transform=`rotate(${-e}deg)`),g){return`url("${`data:image/svg+xml;utf8,${encodeURIComponent(g.serializeToString(f))}`}") 15 15, ${t}`}return t}},11192:(e,t,n)=>{"use strict";n.d(t,{Q:()=>w,U2:()=>x,ZJ:()=>m,a7:()=>f,mB:()=>b});var r=n(35369),o=n(15359),i=n(93113),a=n(65160),s=n(12705),l=n(45249),u=n(98179),c=n(69867),d=n(38852),p=n(26564),h=n.n(p);function f(e){var t,n;const{document:r}=e;if(u.TL){var i;const{activeElement:t,body:n}=r,a=t&&1===t.nodeType&&t!==n;if(null!==(i=e.getSelection())&&void 0!==i&&i.isCollapsed&&!a)return;const s=r.createElement("input");return s.style.position="fixed",s.style.left="50vw",s.style.top="50vh",s.readOnly=!0,(0,o.kG)(r.documentElement,"no document object found"),r.documentElement.appendChild(s),s.focus(),s.blur(),void s.remove()}var a;if(null!==(t=e.getSelection())&&void 0!==t&&t.empty)null===(a=e.getSelection())||void 0===a||a.empty();else if(null!==(n=e.getSelection())&&void 0!==n&&n.removeAllRanges){var s;null===(s=e.getSelection())||void 0===s||s.removeAllRanges()}}function m(e,t){const n=t.startAndEndIds();if(!n)return(0,r.D5)();const{startTextLineId:i,endTextLineId:a,startPageIndex:s,endPageIndex:l}=n;return(0,r.D5)(e.pages.filter((e=>e.contentBlocks&&e.pageIndex>=s&&e.pageIndex<=l)).map((e=>{const t=y(e.contentBlocks);let n;return e.pageIndex===s&&e.pageIndex===l?n=t.filter((e=>((0,o.kG)((0,d.hj)(e.id)),e.id>=i&&e.id<=a))):e.pageIndex===s?n=t.filter((e=>((0,o.kG)((0,d.hj)(e.id)),e.id>=i))):e.pageIndex===l?n=t.filter((e=>((0,o.kG)((0,d.hj)(e.id)),e.id<=a))):((0,o.kG)(e.contentBlocks),n=y(e.contentBlocks)),[e.pageIndex,n]})))}const g=(e,t,n,r)=>{var i;(0,o.kG)((0,d.hj)(t.pageIndex));const a={transform:n&&n.scaleX>0&&n.scaleY>0?`scale(${n.scaleX*e.viewportState.zoomLevel}, ${n.scaleY*e.viewportState.zoomLevel})`:""};return new c.f(null===(i=e.frameWindow)||void 0===i?void 0:i.document,r,a,h().line,e.shadowRoot)},v=(e,t,n,r)=>{const i=e.pages.get(t);(0,o.kG)(i&&i.contentBlocks,"Page not found or page has no blocks");const a=function(e,t){const n=t.split(".").map(Number);function r(e,t){if(0===t.length)return e;const n=t[0],o=e.contentBlocks.find((e=>e.id===n));return o?r(o,t.slice(1)):null}for(let t=0;te.id===n))};function y(e){const t=[];function n(e,t){t.push(...e.textLines),e.contentBlocks.forEach((e=>{n(e,t)}))}return e.forEach((e=>{n(e,t)})),(0,r.aV)(t)}function b(e,t){const n=t.startAndEndIds();if(!n)return null;const{startTextLineId:i,endTextLineId:l,startNestedContentBlockId:u,endNestedContentBlockId:c,startPageIndex:p,endPageIndex:h}=n,f=e.pages.get(p);(0,o.kG)(f,"Index of start page is out of bounds");const m=e.pages.get(h);if((0,o.kG)(m,"Index of end page is out of bounds"),i===l&&p===h){const n=v(e,p,i,u);if(!n)return null;(0,o.kG)((0,d.hj)(n.id));const l=f.textLineScales&&f.textLineScales.get(n.id),c=(0,a.LD)((0,s.HI)(e),n),h=c.substring(0,t.startOffset),m=c.substring(t.startOffset,t.endOffset),y=c.substring(t.endOffset),b=g(e,n,l,(0,r.aV)([h,m,y])),w=b.measure().get(1);(0,o.kG)(w);const x=w.scale(1/e.viewportState.zoomLevel).translate(n.boundingBox.getLocation());return b.remove(),{startRect:x,endRect:x}}{const n=v(e,p,i,u),y=v(e,h,l,c);if(!n||!y)return null;(0,o.kG)((0,d.hj)(n.id)),(0,o.kG)((0,d.hj)(y.id));const b=f.textLineScales&&f.textLineScales.get(n.id),w=m.textLineScales&&m.textLineScales.get(y.id),x=(0,a.LD)((0,s.HI)(e),n),D=x.substring(0,t.startOffset),C=x.substring(t.startOffset),E=(0,a.LD)((0,s.HI)(e),y),S=E.substring(0,t.endOffset),_=E.substring(t.endOffset),P=g(e,n,b,(0,r.aV)([D,C])),k=g(e,y,w,(0,r.aV)([S,_])),A=P.measure().last();(0,o.kG)(A);const z=A.scale(1/e.viewportState.zoomLevel).translate(n.boundingBox.getLocation()),T=k.measure().first();(0,o.kG)(T);const O=T.scale(1/e.viewportState.zoomLevel).translate(y.boundingBox.getLocation());return P.remove(),k.remove(),{startRect:z,endRect:O}}}function w(e,t){const{startTextLineId:n,endTextLineId:r,startNestedContentBlockId:i,endNestedContentBlockId:a,startPageIndex:s,endPageIndex:l,textRange:u}=t;(0,o.kG)((0,d.hj)(s));const c=e.pages.get(s);(0,o.kG)((0,d.hj)(l)),(0,o.kG)(c,"Index of start page is out of bounds");const p=e.pages.get(l);if((0,o.kG)(p,"Index of end page is out of bounds"),(0,o.kG)(u&&(0,d.hj)(n)&&(0,d.hj)(r)&&(0,d.HD)(i)&&(0,d.HD)(a)),n===r&&s===l){var h;const t=v(e,s,n,i);return null!==(h=null==t?void 0:t.contents.substring(u.startOffset,u.endOffset))&&void 0!==h?h:""}{const t=v(e,s,n,i),o=v(e,l,r,a);if(!t||!o)return"";const c=t.contents.substring(u.startOffset),d=o.contents.substring(0,u.endOffset);return m(e,u).map(((e,t)=>e.map((e=>e.id==n&&t==s?c:e.id==r&&t==l?d:e.contents)))).valueSeq().flatten(!0).join("\n")}}function x(e,t){const n=t.startAndEndIds(),r=b(e,t);if(!n||!r)return null;const{startTextLineId:o,endTextLineId:a,startPageIndex:s,endPageIndex:u}=n,{startRect:c,endRect:d}=r,p=m(e,t).map(((t,n)=>t.map((t=>{let r;r=t.id==o&&n==s?c:t.id==a&&n==u?d:t.boundingBox;const l=(0,i.cr)(e.viewportState,n).translate(e.viewportState.scrollPosition.scale(e.viewportState.zoomLevel));return r.apply(l)})))).valueSeq().flatten(!0).toList();return l.UL.union(p)}},4325:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,q:()=>i});var r=n(87996);const o=e=>{const{SELECTION_OUTLINE_PADDING:t}=r.Options;return t(e)},i=(e,t)=>e.grow(o(t))},98260:(e,t,n)=>{"use strict";n.d(t,{HY:()=>u,QC:()=>h,S9:()=>v,W1:()=>m,g:()=>g,ke:()=>l,m_:()=>p,sD:()=>c,xA:()=>y});var r=n(96156),o=n(15359),i=n(98179);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{const o=["touchstart","touchmove","scroll"].includes(t)?s(s({},r),{},{passive:!0}):r;e.addEventListener(t,n,o)}).bind(e),removeEventListener:e.removeEventListener.bind(e),Node:t.Node}:t}function u(e){if(e){const t=i.vU?e.ownerDocument.getSelection():function(e){if("function"==typeof e.getSelection)return e.getSelection();return null}(e);if(t)return function(e,t){const n=function(e,t){if(!e.isCollapsed)return!1;document.createRange().selectNodeContents(t);const n=document.createRange();return!(!e.anchorNode||!e.focusNode)&&(n.setStart(e.anchorNode,e.anchorOffset),n.setEnd(e.focusNode,e.focusOffset),d(n,t)&&function(e){return""!==e.toString()}(e))}(e,t);return{selection:e,isFalseCollapse:n}}(t,e)}return function(e,t){const n={selection:null,isFalseCollapse:!1};if(e&&!e.isCollapsed){d(e.getRangeAt(0),t)&&(n.selection=e)}return n}(document.getSelection(),e)}function c(e){return{selection:null==e?void 0:e.getSelection(),isFalseCollapse:!1}}function d(e,t){return t.contains(e.startContainer)&&t.contains(e.endContainer)}function p(e,t,n){let r=function(e,t,n){let r=e;for(;r&&r.shadowRoot;){const e=r.shadowRoot.elementFromPoint(t,n);if(!e||e===r)break;r=e}return r}(e,t,n);return r||(r=function(e,t,n){let r,o=e;for(;!r&&o;){const e=o.parentElement||o.getRootNode().host;e&&(r=e.shadowRoot?e.shadowRoot.elementFromPoint(t,n):document.elementFromPoint(t,n)),o=e}return r}(e,t,n)),r&&r.nodeType===Node.ELEMENT_NODE?function(e,t,n){if("P"!==e.tagName&&"SPAN"!==e.tagName)return null;let r=null,o=1/0;const i=document.createRange();function a(e){i.selectNodeContents(e);const a=i.getBoundingClientRect(),s=Math.hypot(a.left-t,a.top-n);s=0;t--)if(" "===e.textContent[t]||0===t){o=0===t?0:t+1;break}for(let t=a;t{"use strict";n.d(t,{CW:()=>b,Hx:()=>w,Hz:()=>S,Pr:()=>f,R4:()=>x,RR:()=>y,Rv:()=>v,rr:()=>D,sS:()=>h});var r=n(35369),o=n(15359),i=n(45249),a=n(94732),s=n(12559),l=n(48625),u=n(10983),c=n(33427);const d=(e,t)=>e-t,p=(e,t)=>{const n=t.reduce(((t,n,r,o)=>{var i,a;const s={x:t.x.concat([n.x]),y:t.y.concat([n.y])},l=o.get(r+1)||o.get(r-1)||n,u=l.x-n.x,c=l.y-n.y;if(0===u&&0===c)return s;const d=Math.sqrt(u**2+c**2),p=(0===r?"lineCaps"in e&&null!==(i=e.lineCaps)&&void 0!==i&&i.start?2.5*e.strokeWidth:e.strokeWidth/2:r===o.size-1&&"lineCaps"in e&&null!==(a=e.lineCaps)&&void 0!==a&&a.end?2.5*e.strokeWidth:e.strokeWidth/2)/d;return{x:s.x.concat([n.x-p*c,n.x+p*c]),y:s.y.concat([n.y-p*u,n.y+p*u])}}),{x:[],y:[]}),[r,...o]=n.x.sort(d),i=o.slice(-1)[0]||r,[a,...s]=n.y.sort(d);return{minX:r,maxX:i,minY:a,maxY:s.slice(-1)[0]||a}};function h(e){switch(e){case i.o9:return e=>{(0,o.kG)(e instanceof i.o9,"Expected `lineAnnotation` to be an instance of `LineAnnotation`");const{minX:t,maxX:n,minY:a,maxY:s}=p(e,(0,r.aV)([e.startPoint,e.endPoint]));return new i.UL({width:n-t+2*e.strokeWidth,height:s-a+2*e.strokeWidth,top:a-e.strokeWidth,left:t-e.strokeWidth})};case i.b3:case i.Xs:case a.Z:return e=>e.boundingBox;case i.Hi:case i.om:return e=>{if((0,o.kG)(e instanceof i.om||e instanceof i.Hi,"Expected `polyshapeAnnotation` to be an instance of `PolylineAnnotation` or `PolygonAnnotation`"),0===e.points.size)return e.boundingBox;const{minX:t,maxX:n,minY:r,maxY:a}=p(e,e.points),s="cloudyBorderIntensity"in e&&e.cloudyBorderIntensity?e.cloudyBorderIntensity*u.St:0;return new i.UL({width:n-t+2*e.strokeWidth+2*s,height:a-r+2*e.strokeWidth+2*s,top:r-e.strokeWidth-s,left:t-e.strokeWidth-s})};case i.gd:return e=>{if((0,c.Vc)(e)){(0,o.kG)(e instanceof i.gd,"Expected `annotation` to be a `TextAnnotation`");const{callout:t}=e;(0,o.kG)(t,"Expected `callout` to be defined");const{innerRectInset:n,knee:r,start:a,end:s}=t;(0,o.kG)(n&&a&&s,"Expected `innerRectInset`, `start` and `end` to be defined");const l=Math.min(e.boundingBox.left+n.left,a.x,s.x,r?r.x:1/0),u=Math.min(e.boundingBox.top+n.top,a.y,s.y,r?r.y:1/0),c=Math.max(e.boundingBox.left+e.boundingBox.width-n.right,a.x,s.x,r?r.x:-1/0),d=Math.max(e.boundingBox.top+e.boundingBox.height-n.bottom,a.y,s.y,r?r.y:-1/0),p=4*(e.borderWidth||2);let h=f(a,new i.UL({left:l,top:u,width:c-l,height:d-u}),p);return r&&(h=f(r,h,p)),h}return e.boundingBox}}throw new o.p2("Expected `getBoundingBoxCalculator` to be called with a valid shape annotation type class value.")}function f(e,t,n){const r=t.left===e.x,o=t.left+t.width===e.x,a=t.top===e.y,s=t.top+t.height===e.y;return new i.UL({left:r?t.left-n:t.left,top:a?t.top-n:t.top,width:r||o?t.width+n:t.width,height:a||s?t.height+n:t.height})}const m=(e,t)=>new i.E9({x:e.x+t.weightedStrokeWidthLineRatio*t.xOffset,y:e.y+t.weightedStrokeWidthLineRatio*t.yOffset}),g={xOffset:0,yOffset:0,weightedStrokeWidthLineRatio:0},v=6,y=25;function b(e,t,n){if(null===n)return e;const o=function(e){return Math.min(Math.max(e,v),y)}(t),a=n.start,l=n.end,u=a?s.O[a].width:0,c=l?s.O[l].width:0;if(e.size<2||!u&&!c)return e;const d=e.get(0),p=e.get(e.size-1);if(!(d instanceof i.E9&&p instanceof i.E9))return e;const h=a?(()=>{const t=d,n=e.get(1)||t;if(!(n instanceof i.E9))return g;const r=n.x-t.x,a=n.y-t.y;return{xOffset:r,yOffset:a,weightedStrokeWidthLineRatio:0!==r||0!==a?u*o/Math.sqrt(r**2+a**2):0}})():g,f=l&&e.get(e.size-2)instanceof i.E9?(()=>{const t=p,n=e.get(e.size-2)||t,r=-(t.x-n.x),i=-(t.y-n.y);return{xOffset:r,yOffset:i,weightedStrokeWidthLineRatio:0!==r||0!==i?c*o/Math.sqrt(r**2+i**2):0}})():g;return e.size>2||!a||!l?e.map(((t,n)=>0===n?h.weightedStrokeWidthLineRatio<=1?m(t,h):t:n===e.size-1&&f.weightedStrokeWidthLineRatio<=1?m(t,f):t)):h.weightedStrokeWidthLineRatio+f.weightedStrokeWidthLineRatio<=1?(0,r.aV)([m(d,h),m(p,f)]):e}function w(e){return e instanceof i.b3||e instanceof i.Xs?e.delete("boundingBox"):e instanceof i.Hi||e instanceof i.om?e.delete("boundingBox").delete("points"):e instanceof i.o9?e.delete("boundingBox").delete("startPoint").delete("endPoint"):e}function x(e){switch(e){case i.o9:return l.A.SHAPE_LINE;case i.b3:return l.A.SHAPE_RECTANGLE;case i.Xs:return l.A.SHAPE_ELLIPSE;case i.om:return l.A.SHAPE_POLYLINE;case i.Hi:return l.A.SHAPE_POLYGON;default:return null}}function D(e){let{points:t,intensity:n,arcRadius:r=u.St*n}=e;const o=t.reduce(((e,n,o)=>{const i=o===t.length-1?t[0]:t[o+1];if(k(n,i,.01))return e;const a=P(n,i),s=Math.floor(a/(1.75*r));if(a>=a/(s+1)){const t=s+1,r=(i[0]-n[0])/t,o=(i[1]-n[1])/t;e.push(...Array.from({length:t},((e,t)=>[n[0]+r*t,n[1]+o*t])))}return e}),[]),i=_(t),a=i?"1":"0",s="1"===a?"0":"1",l=i?-.3:.3;return o.reduce(((e,t,n)=>{const u=o[n>0?n-1:o.length-1];if(k(t,u))return e;let c=o[(n+1)%o.length],d=n+1;for(;k(t,c);){if(d%o.length===n)return[];c=o[(1+ ++d)%o.length]}let p=A(t,u,r,i),h=A(t,c,r,!i);if(isNaN(p)&&isNaN(h))return e.push(`${c[0]} ${c[1]}`),e;isNaN(p)&&(p=h+Math.PI),isNaN(h)&&(h=p+Math.PI),h+=l;const f=i?h>p?p+(C-h)>Math.PI?"1":"0":p-h>Math.PI?"1":"0":h>p?p+(C-h)>Math.PI?"0":"1":p-h>Math.PI?"0":"1",m=[t[0]+Math.cos(p)*r,t[1]-Math.sin(p)*r],g=[t[0]+Math.cos(h)*r,t[1]-Math.sin(h)*r];return e.push(0===e.length?`M ${m[0]} ${m[1]} A ${r} ${r} 0 ${f} ${a} ${g[0]} ${g[1]}`:` A ${r} ${r} 0 0 ${s} ${m[0]} ${m[1]} A ${r} ${r} 0 ${f} ${a} ${g[0]} ${g[1]}`),e}),[]).join(" ")}const C=2*Math.PI,E=C/360;function S(e){let{boundingBox:t,cloudyBorderIntensity:n,cloudyBorderInset:r}=e;const o=r instanceof i.eB?i.eB.applyToRect(r,t):t,a=t.width/2,s=t.height/2;if(0===a||0===s)return"";const l=Math.min(a,s,u.St*n),c=o.width/2,d=o.height/2,p=o.left+c,h=o.top+d,f=Array.from({length:360},((e,t)=>{const n=E*t;return[p+c*Math.cos(n),h+d*Math.sin(n)]})),m=f.length;let g=1.75*l;const v=z(f),y=v/g;g+=y>0?v%g/y:0;let b=0;const w=f.reduce(((e,t,n)=>{const r=f[(n+1)%m],o=P(t,r)/g,i=(r[0]-t[0])/o,a=(r[1]-t[1])/o,s=i/g*b,l=a/g*b;let u=t[0]+s,c=t[1]+l;for(;(i<=0&&u>=r[0]||i>=0&&u<=r[0])&&(a<=0&&c>=r[1]||a>=0&&c<=r[1]);)e.push([u,c]),u+=i,c+=a;return b=Math.abs(r[0]-u)*(g/Math.abs(i)),e}),[]),x=w.length;return 0===x?"":w.reduce(((e,t,n)=>{const r=w[n>0?n-1:x-1],o=w[(n+1)%x];let i=A(t,r,l,!0),a=A(t,o,l,!1);if(isNaN(i)&&isNaN(a))return e.push(`${o[0]} ${o[1]}`),e;isNaN(i)&&(i=a+Math.PI),isNaN(a)&&(a=i+Math.PI),a-=.3;const s=a>i?i+(C-a)>Math.PI?"1":"0":i-a>Math.PI?"1":"0",u=[t[0]+Math.cos(i)*l,t[1]-Math.sin(i)*l],c=[t[0]+Math.cos(a)*l,t[1]-Math.sin(a)*l];return e.push(0===e.length?`M ${u[0]} ${u[1]} A ${l} ${l} 0 ${s} 1 ${c[0]} ${c[1]}`:`A ${l} ${l} 0 0 0 ${u[0]} ${u[1]} A ${l} ${l} 0 ${s} 1 ${c[0]} ${c[1]}`),e}),[]).join(" ")}const _=e=>e.reduce(((t,n,r)=>r0,P=(e,t)=>{const n=t[0]-e[0],r=t[1]-e[1];return e[0]===t[0]?Math.abs(r):e[1]===t[1]?Math.abs(n):Math.sqrt(n**2+r**2)},k=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.001;return Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n},A=(e,t,n,r)=>{const o=.5*Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2),i=Math.acos(o/n),a=[t[0]-e[0],t[1]-e[1]];let s=Math.atan2(-a[1],a[0]);return s<0&&(s+=C),r?s-i:s+i},z=e=>e.reduce(((t,n,r)=>t+P(n,r{"use strict";function r(e,t,n,r){var o;if((null===(o=e.points)||void 0===o?void 0:o.size)<3)return-1;const i=e.get("points"),a=r||(null==i?void 0:i.get(t));return i.findIndex((e=>{if(e.get("x")===a.get("x")&&e.get("y")===a.get("y"))return!1;return e.distance(a)<=n}))}function o(e,t,n){var r;const o=null===(r=e.get("points"))||void 0===r?void 0:r.get(n);return e.update("points",(e=>e.set(t,o)))}function i(e,t,n){return"STANDALONE"===(null==e?void 0:e.type)&&"function"==typeof t.isMeasurement&&t.isMeasurement()&&!n}n.d(t,{KM:()=>r,dg:()=>o,mE:()=>i})},30006:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>g,Gx:()=>x,oE:()=>w,s3:()=>y,vW:()=>v,wB:()=>m});var r=n(15359),o=n(79724),i=n(4715),a=n(29977),s=n(60379),l=n(16602),u=n(10983),c=n(4280),d=n(38852),p=n(98179),h=n(33427);const f=(0,o.Z)("StampAnnotationTemplate"),m=e=>{f(e instanceof i.GI||e instanceof i.sK,"`annotationTemplate` is not an instance of `PSPDFKit.Annotations.StampAnnotation` or ``PSPDFKit.Annotations.ImageAnnotation`")},g=function(e){var t;let{includeDate:n,includeTime:r}=e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,i=arguments.length>2?arguments[2]:void 0;const a={};n&&(a.day="2-digit",a.month="2-digit",a.year="numeric"),r&&(a.hour="2-digit",a.minute="2-digit");let s=n||r?i.formatDate(o,a):null;return s&&p.rO&&(s=s.replace(/[^A-Za-z 0-9 .,?""!@#$%^&*()-_=+;:<>/\\|}{[\]`~]*/g,"")),null!==(t=s)&&void 0!==t?t:null},v=e=>{let{annotation:t,intl:n}=e;const{formatMessage:r}=n,{stampType:o,title:s,description:l,fileName:u}=t;return t instanceof i.GI?"Custom"===o&&s?c.Z[(0,d.LE)(s)]?r(c.Z[(0,d.LE)(s)]):s:c.Z[(0,d.LE)((0,a.k1)(o))]?r(c.Z[(0,d.LE)((0,a.k1)(o))]):o:l||u||" "},y=l.Z.filter((e=>[s.Z.BLUE,s.Z.RED,s.Z.ORANGE,s.Z.LIGHT_YELLOW,s.Z.GREEN].includes(e.color)||"mauve"===e.localization.id)).map((e=>function(e){var t,n;return(0,r.kG)(null!=e.color),{label:null!==(t=e.localization.description)&&void 0!==t?t:"",color:null!==(n=Object.values(b(e.color))[0].color.toHex())&&void 0!==n?n:"#000000"}}(e)));function b(e){const t=e.lighter(u.zT);let n=e;const r=Math.max(n.r,n.g,n.b);for(let e=0;e<10&&t.contrastRatio(n)<4.5;e++)n=n.darker((255-r)/25.5);return{[`${n.toCSSValue()}`]:{color:n,backgroundColor:t}}}function w(e){return!e.xfdfAppearanceStream&&!e.xfdfAppearanceStreamOriginalPageRotation&&!(0,h.eD)(e)}function x(e){let{annotation:t,annotationVisualPropertiesString:n,width:r,height:o,secondAnnotationVisualPropertiesString:i,secondAnnotationWidth:a,secondAnnotationHeight:s}=e;return n===i&&(t.noZoom||a>=r&&s>=o)&&w(t)}},19181:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(67366);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.$j)(((t,n)=>null==e?void 0:e(t.reuseState?i(t,t.reuseState):t,n)),null,null,t)}const i=(0,n(30845).Z)(((e,t)=>e.withMutations((n=>{n.merge(t),n.set("pages",e.pages.map((e=>{const n=e.pageKey,r=t.pages.find((e=>e.pageKey===n));return r&&r?e.set("annotationIds",r.annotationIds):e})))}))))},38852:(e,t,n)=>{"use strict";n.d(t,{F6:()=>u,HD:()=>d,LE:()=>a,Oe:()=>i,QE:()=>l,aF:()=>h,hj:()=>p,zW:()=>c});var r=n(37529),o=n.n(r);function i(e){return e.charAt(0)&&e.charAt(0).toUpperCase()+e.slice(1)}function a(e){return e.charAt(0).toLowerCase()+e.substr(1)}const s=e=>e[0]===o().INSERT;function l(e,t,n){var r;const i=o()(e,t,n);let a="";const l=i.filter(s);return l.length>0&&(a=l[0][1]),{prev:e,next:t,change:a,diff:i,endCursorPosition:n+((null===(r=i[1])||void 0===r||null===(r=r[1])||void 0===r?void 0:r.length)||0)}}function u(e,t){if(t===e.change)return e.next;const{diff:n}=e,r=n.findIndex(s);return r>=0?n[r][1]=t:n.push([o().INSERT,t]),function(e){let t="";for(let n=0;nt?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase())).join("")}function d(e){return"string"==typeof e}function p(e){return"number"==typeof e}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;const n=e.trim();return n.length{"use strict";n.d(t,{BK:()=>c,KY:()=>u,Vq:()=>d,in:()=>l,kC:()=>s});var r=n(15359),o=n(58846),i=n(45249),a=n(57943);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e){return e.split(/[^a-zA-Z0-9]/g).reduce(((e,t)=>e+s(t)),"")}function u(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function c(e){return"#00000000"===e?void 0:e}function d(e){let{rect:t,callout:n,zoomLevel:s,annotation:l,text:u=l.text}=e;const{height:c,width:d}=t,p=l.boundingBox.scale(s);if(null==n||!n.innerRectInset||!d||!c)return;const h=n.innerRectInset.setScale(s),f=p.left+h.left,m=p.left+h.left+d,g=p.top+h.top,v=p.top+h.top+c,y=(l.borderWidth||2)/2,b=(0,o.dY)([[f+y,g+y],[m-y,g+y],[m-y,v-y],[f+y,v-y]]),w=n.knee||n.start;(0,r.kG)(w,"CalloutEditComponent: point is undefined");const x=(0,o.Zt)(w.scale(s),b);(0,r.kG)(n.start);let D=i.UL.fromPoints(...[[f,g],[m,g],[m,v],[f,v]].map((e=>new i.E9({x:e[0],y:e[1]})))).expandToIncludePoints(...[n.start,n.knee].filter(Boolean).map((e=>null==e?void 0:e.scale(s))));D=(0,a.Pr)(n.start.scale(s),D,4*(l.borderWidth||2)),n.knee&&(D=(0,a.Pr)(n.knee.scale(s),D,l.borderWidth||2));const C=x.scale(1/s);return{callout:n.set("end",C).set("innerRectInset",new i.eB({bottom:(D.top+D.height-v)/s,left:(f-D.left)/s,right:(D.left+D.width-m)/s,top:(g-D.top)/s})),text:u,boundingBox:D.scale(1/s)}}},20388:(e,t,n)=>{"use strict";n.d(t,{MF:()=>f,XA:()=>h,Zv:()=>m,gB:()=>b,hm:()=>w,hr:()=>y,z1:()=>g});var r=n(96156),o=n(15359),i=n(21853),a=n(45249),s=n(69867),l=n(10983),u=n(87996),c=n(5705);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;if(!1===u.Options.TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT)return e.set("isFitting",!1);try{if(t=(0,i.Aw)(),!t.window||!t.window.document)return e;t.window.document.head.appendChild(t.window.document.createElement("style")).textContent="p { margin: 0; }",n=new s.f(t.window.document,e.text.value,g(e.set("rotation",0),r,!1));const o=!(0,i.f)(n.wrapper);return e.set("isFitting",o)}finally{n&&n.remove(),t&&t.remove()}}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=(0,i.Aw)();if(!n.window||!n.window.document)return null==n||n.remove(),e;n.window.document.head.appendChild(n.window.document.createElement("style")).textContent="p { margin: 0; }";const r=new s.f(n.window.document,e.text.value,g(e.set("rotation",0),t,!1)),o=!(0,i.f)(r.wrapper);for(e=e.set("isFitting",o);!e.isFitting&&e.fontSize>=2;){e=e.set("fontSize",e.fontSize-1),r._setStyles(r.wrapper,p(p({},s.f.defaultWrapperStyles),g(e.set("rotation",0),t,!1)));const n=!(0,i.f)(r.wrapper);e=e.set("isFitting",n)}return null==n||n.remove(),e}function m(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0;try{const i=t.width-e.boundingBox.left,a=t.height-e.boundingBox.top;n=new s.f(document,e.text.value,p(p({},g(e,r,!1)),{},{width:"auto",height:"auto",maxWidth:`${Math.ceil(i*r)}px`,maxHeight:`${Math.ceil(a*r)}px`,padding:"0px",margin:"0px",overflow:"visible"}),void 0,o);const{width:l,height:u}=n.wrapper.getBoundingClientRect(),c=Math.max(l,n.wrapper.clientWidth,n.wrapper.scrollWidth),d=Math.max(u,n.wrapper.clientHeight,n.wrapper.scrollHeight);return e.set("boundingBox",e.boundingBox.set("width",Math.ceil(c/r)).set("height",Math.ceil(d/r)))}finally{n&&n.remove()}}function g(e,t,n){const r=p(p({width:Math.ceil(e.boundingBox.width*t),height:Math.ceil(e.boundingBox.height*t),color:e.fontColor?e.fontColor.toCSSValue():"transparent",backgroundColor:e.backgroundColor&&!n?e.backgroundColor.toCSSValue():"transparent",fontSize:e.fontSize*t+"px",fontFamily:`${w(e.font)}, sans-serif`,textAlign:e.horizontalAlign},n?null:{opacity:e.opacity}),{},{fontWeight:e.isBold?"bold":"normal",fontStyle:e.isItalic?"italic":"normal",whiteSpace:"pre-wrap",wordBreak:"break-word",overflow:"hidden",lineHeight:"number"==typeof e.lineHeightFactor?e.lineHeightFactor*t*e.fontSize+"px":"normal",flexDirection:"column",justifyContent:v(e.verticalAlign),display:"flex"});return(0,c.kv)(e)&&!n&&(r.transformOrigin="50% 50%",r.transform=`rotate(${String(-e.rotation)}deg)`),r}function v(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end";default:return(0,o.Rz)(e)}}function y(e){return"string"==typeof e?e.split("\r\n").join("\n").split("\r").join("\n"):e}function b(e,t){let n;switch(t){case 0:n=new a.UL({left:e.x,top:e.y,width:l.g3,height:l.rm});break;case 90:n=new a.UL({left:e.x,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 180:n=new a.UL({left:e.x-l.g3,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 270:n=new a.UL({left:e.x-l.g3,top:e.y,width:l.g3,height:l.rm});break;default:throw(0,o.Rz)(t)}return n}function w(e){return/^[-_a-zA-Z0-9\\xA0-\\u{10FFFF}]*$/.test(e)?e:`"${e}"`}},97238:(e,t,n)=>{"use strict";n.d(t,{Bx:()=>p,PK:()=>d,rf:()=>h});var r=n(96156),o=n(35369),i=n(15359),a=n(45249),s=n(11192),l=n(33427);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];return h(e).map((r=>{let{pageIndex:o,rects:i}=r;return new t(c(c({},(0,l.lx)(e)),{},{pageIndex:o,boundingBox:a.UL.union(i),rects:i,isCommentThreadRoot:n}))}))}function p(e,t,n){return h(e).map((r=>{let{pageIndex:o,rects:i}=r;const s=t.get(o);return null==s?new n(c(c({},(0,l.lx)(e)),{},{pageIndex:o,boundingBox:a.UL.union(i),rects:i})):s.withMutations((e=>e.set("boundingBox",a.UL.union(i)).set("rects",i)))}))}function h(e){(0,i.kG)(e.currentTextSelection,"Cannot create markup annotation without text selection.");const{textRange:t,startTextLineId:n,endTextLineId:r,startPageIndex:a,endPageIndex:l}=e.currentTextSelection;(0,i.kG)(t);const u=(0,s.mB)(e,t);if(!u)return(0,o.aV)();const{startRect:c,endRect:d}=u;return(0,s.ZJ)(e,t).map(((t,o)=>{const s=e.pages.get(o);(0,i.kG)(s);const u=t.map((e=>e.id==n&&o==a?c:e.id==r&&o==l?d:e.boundingBox));return{pageIndex:s.pageIndex,rects:u}})).valueSeq().toList()}},72322:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=null,o=null;return function(){const i=this;for(var a=arguments.length,s=new Array(a),l=0;l{r=null,o&&n&&(e.apply(i,o),o=null,r=setTimeout(a,t))};r=setTimeout(a,t)}}}n.d(t,{Z:()=>r})},5283:(e,t,n)=>{"use strict";n.d(t,{CN:()=>v,DQ:()=>p,FO:()=>w,I4:()=>b,KT:()=>D,Kt:()=>y,Li:()=>x,Ut:()=>h,hJ:()=>f,q1:()=>c,se:()=>d});var r=n(35369),o=n(15359),i=n(12705),a=n(35727),s=n(48625),l=n(44550),u=n(28233);function c(e,t,n){return e.filter((e=>{const r=e.get("type");if(t[r]&&t[r].forceHide)return!1;let o=e.get("mediaQueries");if(!o){if(g(e))return!0;const n=t[r].mediaQueries;if(!n)return!0;o=n}const i=null==n?void 0:n.matchMedia(o.join(", "));return null==i?void 0:i.matches}))}function d(e,t){return e.map((e=>{const n=e.get("mediaQueries");if(!n){if(g(e))return;const n=(t[e.get("type")]||{}).mediaQueries;return n?(0,r.aV)(n):void 0}return n})).filter(Boolean).flatten().filter((e=>"all"!==e)).toSet().toArray()}function p(e,t){return e=e.map((e=>{const n=e.get("type"),o=t[n]||{},{id:i,className:a,icon:s,title:l,selected:u,disabled:c,responsiveGroup:d,onPress:p,dropdownGroup:h,preset:f,node:m}=e.toJS(),g="custom"===n,v={id:i||n,type:o.type||n,title:l||o.title,icon:s||o.icon,className:[o.className,a].filter(Boolean).join(" "),selected:g?u:o.selected,disabled:!0===c?c:o.disabled,onPress:g?p:o.onPress,onKeyPress:g?void 0:o.onKeyPress,responsiveGroup:d||o.responsiveGroup,dropdownGroup:void 0!==h?h:o.dropdownGroup,preset:f||o.preset};return m&&(v.node=m),(0,r.D5)(v)}))}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;return e.filter((r=>{const o=r.get("responsiveGroup");return o&&void 0!==m(e,o)?!!t&&o===n:!t}))}function f(e){return e.map((t=>{const n=t.get("type"),r=t.get("id");if("responsive-group"==n||"annotate"==n){const n=t.get("selected"),o=!!e.find((e=>e.get("responsiveGroup")==r&&1==e.get("selected")));return t.set("selected",n||o)}return t}))}function m(e,t){return e.find((e=>e.get("id")&&e.get("id")===t))}function g(e){const t=e.get("type");return"custom"===t||"responsive-group"===t}function v(e,t){return t===e}function y(e,t,n){return n===e&&!t}function b(e){let{toolbarItems:t,features:n,backend:r,backendPermissions:s,documentPermissions:c,readOnlyEnabled:d,showComments:p}=e;return t.filter((e=>{let t=!0;return"document-editor"===e.get("type")||"document-crop"===e.get("type")?(t=(0,i.Xr)({features:n,backendPermissions:s,documentPermissions:c,readOnlyEnabled:d}),!t&&n.size>0&&(n.includes(l.q.DOCUMENT_EDITING)?(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed due to document or backend permissions.`):(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed without the Document Editing feature in the license.`)),t):"content-editor"===e.get("type")?(t=(0,i.qs)({features:n,backendPermissions:s,documentPermissions:c,readOnlyEnabled:d}),!t&&n.size>0&&("STANDALONE"!==(null==r?void 0:r.type)&&(0,o.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),n.includes(l.q.CONTENT_EDITING)||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed without the Content Editor feature in the license.`),!s.readOnly&&c.modification&&d!==u.J.VIA_VIEW_STATE&&d!==u.J.VIA_BACKEND_PERMISSIONS||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed due to document or backend permissions.`)),t):"comment"===e.get("type")?(t=(0,i.LC)({features:n,backend:r})&&(0,a.oK)({showComments:p,features:n,backend:r}),!t&&n.size>0&&(n.includes(l.q.COMMENTS)||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed without the Comments feature in the license.`),p||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed because comments are disabled.`),"SERVER"!==(null==r?void 0:r.type)||null!=r&&r.isUsingInstantProvider()||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed because comments are not supported on Server deployments without Instant.`)),t):["measure","distance","perimeter","rectangle-area","ellipse-area","polygon-area"].includes(e.get("type"))?(t=n.includes(l.q.MEASUREMENT_TOOLS),!t&&n.size>0&&(n.includes(l.q.MEASUREMENT_TOOLS)||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed without the Measurement Tools feature in the license.`)),t):"document-assistant"!==e.get("type")||(t=n.includes(l.q.DOCUMENT_ASSISTANT),!t&&n.size>0&&(n.includes(l.q.DOCUMENT_ASSISTANT)||(0,o.ZK)(`The '${e.get("type")}' toolbar item type is not allowed without the Document Assistant feature in the license.`)),t)}))}const w={[s.A.INK]:["ink","highlighter"],[s.A.SHAPE_LINE]:["line","arrow"],[s.A.INK_ERASER]:"ink-eraser",[s.A.TEXT_HIGHLIGHTER]:"text-highlighter",[s.A.SHAPE_RECTANGLE]:["rectangle","cloudy-rectangle","dashed-rectangle"],[s.A.SHAPE_ELLIPSE]:["ellipse","cloudy-ellipse","dashed-ellipse"],[s.A.SHAPE_POLYGON]:["polygon","cloudy-polygon","dashed-polygon"],[s.A.SHAPE_POLYLINE]:"polyline",[s.A.NOTE]:"note",[s.A.TEXT]:"text",[s.A.CALLOUT]:"callout",[s.A.LINK]:"link",[s.A.MEASUREMENT]:"measurement"};function x(e){const t=Object.entries(w).find((t=>{let[,n]=t;return Array.isArray(n)?n.includes(e):n===e}));return t&&t[0]||null}function D(e){var t;return null===(t=e.find((e=>"delete"===e.type)))||void 0===t?void 0:t.icon}},87849:(e,t,n)=>{"use strict";n.d(t,{Yw:()=>i,bl:()=>l,sX:()=>a});var r=n(98179),o=n(87856);function i(){const e="webkit"===r.SR;let t;e&&(t=window.PointerEvent);const o=window.Hammer;e&&delete window.PointerEvent;const i=n(34988);return e&&(window.PointerEvent=t),window.Hammer=o,i}function a(e){let t;if(e.touches)t=e.touches;else{if(!e.changedTouches)return!1;t=e.changedTouches}return t.length<=1}const s="webkit"===r.SR||"blink"===r.SR;function l(e){if(!s)return()=>{};const t=e=>{a(e)||e.preventDefault()},n=["touchstart","touchmove"],r=o.Gn?{passive:!1}:void 0;return n.forEach((n=>{e.addEventListener(n,t,r),document.addEventListener(n,t,r)})),()=>{n.forEach((n=>{e.removeEventListener(n,t,r),document.removeEventListener(n,t,r)}))}}},54662:(e,t,n)=>{"use strict";n.d(t,{c:()=>l,n:()=>s});var r=n(4715),o=n(44077),i=n(5705),a=n(33427);function s(e,t){const n=e.set("boundingBox",e.boundingBox.translate(t));return n instanceof r.Zc?n.update("lines",(e=>e.map((e=>e.map((e=>e.translate(t))))))):n instanceof r.o9?n.update("startPoint",(e=>e.translate(t))).update("endPoint",(e=>e.translate(t))):n instanceof r.Hi||n instanceof r.om?n.update("points",(e=>e.map((e=>e.translate(t))))):(0,a.Vc)(e)?n.update("callout",(e=>(e.knee&&(e=e.update("knee",(e=>e.translate(t)))),e.update("start",(e=>e.translate(t))).update("end",(e=>e.translate(t)))))):n}function l(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;const a=u(e,t,n,r,o,i);return s(e,a)}function u(e,t,n,r,s){let l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;const u=(0,i.az)(e),c=(0,a.SY)(u,l),d=new o.UL({x:0,y:0,width:n.width,height:n.height}).isRectInside(c);return s&&d?(c.left+t.x<0&&(t=t.set("x",-c.left)),c.left+c.width+t.x>n.width&&(t=t.set("x",n.width-c.width-c.left)),c.top+t.y<0&&(t=t.set("y",-c.top)),c.top+c.height+t.y>n.height&&(t=t.set("y",n.height-c.height-c.top))):(r.x+c.left+t.x<0&&(t=t.set("x",-r.x-c.left)),r.x+c.left+t.x>n.width&&(t=t.set("x",n.width-(r.x+c.left))),r.y+c.top+t.y<0&&(t=t.set("y",-r.y-c.top)),r.y+c.top+t.y>n.height&&(t=t.set("y",n.height-(r.y+c.top)))),t}},38478:(e,t,n)=>{"use strict";n.d(t,{s:()=>l,w:()=>u});var r=n(45249),o=n(81777),i=n(90093),a=n(21683),s=n(28233);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof location?location.hash:null;if(!t)return e;const n=t.replace("#","").split("&").map((e=>{const t=e.split("=");if(2===t.length)return[t[0],t[1]]})).filter(Boolean);return n.forEach((t=>{let[n,r]=t;switch(n){case"page":{const t=parseInt(r,10);if("number"!=typeof t||Number.isNaN(t)||t<=0)break;e=e.set("currentPageIndex",t-1);break}}})),e}function u(e,t){return new i.Z({currentPageIndex:e.viewportState.currentPageIndex,zoom:e.viewportState.zoomMode===o.c.CUSTOM?e.viewportState.zoomLevel:e.viewportState.zoomMode,pagesRotation:e.viewportState.pagesRotation,layoutMode:e.viewportState.layoutMode,scrollMode:e.viewportState.scrollMode,showToolbar:e.showToolbar,enableAnnotationToolbar:e.enableAnnotationToolbar,disablePointSnapping:e.viewportState.disablePointSnapping,allowPrinting:e.printingEnabled,allowExport:e.exportEnabled,interactionMode:e.interactionMode,readOnly:e.readOnlyEnabled!==s.J.NO,showAnnotations:e.showAnnotations,showComments:e.showComments,showAnnotationNotes:e.showAnnotationNotes,sidebarMode:e.sidebarMode,sidebarOptions:e.sidebarOptions,sidebarPlacement:e.sidebarPlacement,spreadSpacing:e.viewportState.spreadSpacing,pageSpacing:e.viewportState.pageSpacing,keepFirstSpreadAsSinglePage:e.viewportState.keepFirstSpreadAsSinglePage,viewportPadding:new r.gx({horizontal:e.viewportState.viewportPadding.x,vertical:e.viewportState.viewportPadding.y}),instance:t||e.instance,formDesignMode:e.formDesignMode,showSignatureValidationStatus:e.showSignatureValidationStatus,previewRedactionMode:e.previewRedactionMode,keepSelectedTool:e.keepSelectedTool,resolvedLayoutMode:(0,a.nw)(e.viewportState),sidebarWidth:e.sidebarWidth,enableAlwaysScrollToZoom:e.viewportState.enableAlwaysScrollToZoom,forceRenderWidgetsInAnnotationsOrder:e.viewportState.forceRenderWidgetsInAnnotationsOrder,prerenderedPageSpreads:e.viewportState.prerenderedPageSpreads,showDocumentAssistant:e.documentAssistant.show})}},93113:(e,t,n)=>{"use strict";n.d(t,{DB:()=>g,EY:()=>E,Ek:()=>m,G4:()=>_,JN:()=>D,YA:()=>w,YS:()=>h,YV:()=>T,_4:()=>y,_P:()=>S,_U:()=>x,a$:()=>b,cr:()=>f,fI:()=>P,oI:()=>A,pA:()=>k,vY:()=>C,vs:()=>v,zi:()=>O,zo:()=>z});var r=n(21683),o=n(84293),i=n(23248),a=n(14286),s=n(44077),l=n(2464),u=n(81777),c=n(10983),d=n(60679),p=n(82716);function h(e,t,n){if((e.scrollMode===l.G.PER_SPREAD||e.scrollMode===l.G.DISABLED)&&t!==e.currentPageIndex)return!1;const r=f(e,t),o=n.apply(r);return e.viewportRect.isRectOverlapping(o)}function f(e,t){var n;if(null!==(n=e._pageToClientTransformation)&&void 0!==n&&n[t])return e._pageToClientTransformation[t];const o=(0,r.dF)(e,t),i=function(e,t){return e.translate(t.viewportRect.getLocation()).translate(t.scrollPosition.scale(-t.zoomLevel))}(y(v(g(s.sl.IDENTITY,e,t,o),e,o),e),e);return e._pageToClientTransformation||(e._pageToClientTransformation={}),e._pageToClientTransformation[t]=i,i}function m(e,t){return f(e,t).inverse()}function g(e,t,n,o){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const s=t.pageSizes.get(n);switch((0,p.k)(s),0!==t.pagesRotation&&(e=e.rotate(-t.pagesRotation)),t.pagesRotation){case 0:break;case 90:e=e.translateX(s.height*i);break;case 180:e=e.translateX(s.width*i).translateY(s.height*i);break;case 270:e=e.translateY(s.width*i);break;default:throw new Error(`Unsupported pagesRotation: ${t.pagesRotation}. Only supporting: 0, 90, 180, 270.`)}switch((0,r.nw)(t)){case a.X.SINGLE:return(0,p.k)(n===o,"In LayoutMode.SINGLE, pageIndex must equal spreadIndex."),e;case a.X.DOUBLE:{if(t.keepFirstSpreadAsSinglePage&&0==n&&0==o)return e;const a=t.keepFirstSpreadAsSinglePage?1:0,s=(0,r.hK)(t,n),l=(0,r.Xk)(t,o);return e.translateX((n+a)%2?parseInt((l.width-s.width)*i,10):0).translateY(parseInt((l.height-s.height)*i/2,10))}default:throw new Error("Unsupported layoutMode")}}function v(e,t,n){if(t.scrollMode===l.G.CONTINUOUS){const o=(0,r.Xk)(t,n).width,i=(0,r.e8)(t,n);return e.translateX(((0,r.Ad)(t)-o)/2).translateY(i)}return e}function y(e,t){return e.scale(t.zoomLevel).translate(_(t).getLocation())}function b(e,t,n,r){const o=e.set("viewportRect",new s.UL({width:t.width-r,height:t.height,top:t.top,left:t.left}));return z(P(e,o,n))}function w(e,t){const n=e.set("layoutMode",t);return z(P(e,n))}function x(e,t){const n=e.set("scrollMode",t);return z(P(e,n))}function D(e,t){return z(e.set("spreadSpacing",t))}function C(e,t){return z(e.set("pageSpacing",t))}function E(e,t){return z(e.set("keepFirstSpreadAsSinglePage",t))}function S(e,t){return z(e.set("viewportPadding",t))}function _(e){let t;if(e.scrollMode===l.G.CONTINUOUS)t=new s.$u({width:(0,r.Ad)(e),height:(0,r.Of)(e)});else{const n=(0,r.dF)(e,e.currentPageIndex);t=(0,r.Xk)(e,n)}let n=new s.UL({width:t.width,height:t.height}).scale(e.zoomLevel).translate(e.viewportPadding);const o=e.commentMode===d._.SIDEBAR?c.h8:0;e.viewportRect.width-o-2*e.viewportPadding.x>n.width&&(n=n.translateX((e.viewportRect.width-o-2*e.viewportPadding.x-n.width)/2));return e.viewportRect.height-2*e.viewportPadding.y>n.height&&(n=n.translateY((e.viewportRect.height-2*e.viewportPadding.y-n.height)/2)),n}function P(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=(0,r.nw)(e)!==(0,r.nw)(t),a=e.scrollMode!==t.scrollMode;if(!(n||o||a))return t;switch(t.scrollMode){case l.G.PER_SPREAD:case l.G.DISABLED:return t.set("zoomMode",u.c.FIT_TO_VIEWPORT);case l.G.CONTINUOUS:return t=z(t),(0,i.eb)(t,t.currentPageIndex,!0);default:throw new Error("Unsupported scrollMode")}}function k(e,t){return e.zoomLevel!==t.zoomLevel||e.zoomMode!==t.zoomMode||e.layoutMode!==t.layoutMode||e.scrollMode!==t.scrollMode||e.scrollPosition!==t.scrollPosition||e.currentPageIndex!==t.currentPageIndex||e.viewportRect!==t.viewportRect||e.pageSizes!==t.pageSizes||e.pagesRotation!==t.pagesRotation||e.viewportPadding!==t.viewportPadding||e.spreadSpacing!==t.spreadSpacing||e.pageSpacing!==t.pageSpacing||e.keepFirstSpreadAsSinglePage!==t.keepFirstSpreadAsSinglePage}function A(e){return[e.zoomLevel,e.zoomMode,e.layoutMode,e.scrollMode,e.scrollPosition,e.currentPageIndex,e.viewportRect,e.pageSizes,e.pagesRotation,e.viewportPadding,e.spreadSpacing,e.pageSpacing,e.keepFirstSpreadAsSinglePage]}function z(e){return e.zoomMode!==u.c.CUSTOM?e.set("zoomLevel",(0,o.X9)(e,e.zoomMode)):e}function T(e){return function(t,n){return t.apply(O(e(),n))}}function O(e,t){let{viewportState:n,scrollElement:r}=e;if(r){const e=new s.E9({x:r.scrollLeft/n.zoomLevel,y:r.scrollTop/n.zoomLevel});n=n.set("scrollPosition",e)}return m(n,t)}},82197:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>l,U1:()=>a,kI:()=>u,n5:()=>s});var r=n(15359),o=n(93113),i=n(45249);function a(e,t){(0,r.kG)(t%90==0,"Only multiples of 90° allowed for rotation."),t=s(t);const n=e.update("pagesRotation",(e=>(e+t)%360));return(0,o.zo)((0,o.fI)(e,n,!0))}function s(e){return(0,r.kG)(e%90==0,"Only multiples of 90° allowed for rotation."),(360+e%360)%360}function l(e){return(360+Math.round(e)%360)%360}function u(e,t,n){switch(n){case 90:return new i.UL({left:e.top,top:Math.max(0,Math.round(t.height-e.right)),height:e.width,width:e.height});case 180:return e.merge({left:Math.max(0,Math.round(t.width-e.right)),top:Math.max(0,Math.round(t.height-e.bottom))});case 270:return new i.UL({left:Math.max(0,Math.round(t.width-e.bottom)),top:e.left,height:e.width,width:e.height});default:return e}}},23248:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>c,TW:()=>f,eb:()=>d,hu:()=>m,k3:()=>u,kN:()=>p,vP:()=>h});var r=n(21683),o=n(93113),i=n(84293),a=n(44077),s=n(2464),l=n(81777);function u(e,t,n){n||(n=new a.E9({x:.5*e.viewportRect.width,y:.1*e.viewportRect.height})),n=n.translate(e.viewportPadding.scale(-1));const r=t/e.zoomLevel-1;let o=0;const s=(0,i.kh)(e),l=t>s;if(l){o=t/Math.max(e.zoomLevel,s)-1}return new a.E9({x:l?e.scrollPosition.x+n.x*o/t:0,y:e.scrollPosition.y+n.y*r/t})}function c(e,t){const n=f(e);return new a.E9({x:Math.max(0,Math.min(t.x,n.x)),y:Math.max(0,Math.min(t.y,n.y))})}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&e.currentPageIndex==t)return e;if(e.scrollMode==s.G.PER_SPREAD||e.scrollMode===s.G.DISABLED)return(0,i.cq)(e.set("currentPageIndex",t),l.c.FIT_TO_VIEWPORT).set("scrollPosition",new a.E9).set("currentPageIndex",t);{const n=(0,r.dF)(e,t),o=(0,r.e8)(e,n),i=f(e).y,a=Math.min(i,o);return e.set("currentPageIndex",t).setIn(["scrollPosition","y"],a)}}function p(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r&&(0,o.YS)(e,t,n))return e;const i=(0,o.cr)(e,t),a=n.apply(i),s=e.viewportRect.getCenter(),l=a.getCenter().translate(s.scale(-1)),u=e.scrollPosition.translate(l.scale(1/e.zoomLevel));return e.merge({scrollPosition:c(e,u),currentPageIndex:t})}function h(e,t,n){const{viewportRect:r,viewportPadding:o}=e,a=(r.width-2*o.x)/n.width,s=(r.height-2*o.y)/n.height,l=Math.min(a,s);return p((0,i.cq)(e,l),t,n,!0)}function f(e){const t=(0,o.G4)(e),n=t.left/e.zoomLevel+t.width/e.zoomLevel+e.viewportPadding.x/e.zoomLevel-e.viewportRect.width/e.zoomLevel,r=t.top/e.zoomLevel+t.height/e.zoomLevel+e.viewportPadding.y/e.zoomLevel-e.viewportRect.height/e.zoomLevel;return new a.E9({x:Math.max(0,n),y:Math.max(0,r)})}function m(e,t){return(0,r.Y2)(e.set("scrollPosition",t))}},21683:(e,t,n)=>{"use strict";n.d(t,{Ad:()=>f,Of:()=>m,P1:()=>g,Xk:()=>w,Y2:()=>D,dF:()=>v,e8:()=>h,hK:()=>b,kd:()=>y,nw:()=>d,s:()=>x,wU:()=>C,wX:()=>E});var r=n(35369),o=n(67294),i=n(15359),a=n(14286),s=n(93113),l=n(44077),u=n(2464),c=n(10983);function d(e){if(e.layoutMode===a.X.AUTO){return e.viewportRect.width>e.viewportRect.height&&e.viewportRect.width>c.GI?a.X.DOUBLE:a.X.SINGLE}return e.layoutMode}function p(e){const t=y(e);let n=(0,r.aV)();for(let e=0;ew(e,t))).takeUntil(((e,n)=>n>=t)).reduce(((t,n)=>t+n.height+e.spreadSpacing),0)}function f(e){const t=p(e).map((t=>w(e,t))).maxBy((e=>e.width));return t?t.width:0}function m(e){const t=p(e).map((t=>w(e,t))),n=(t.size-1)*e.spreadSpacing;return t.map((e=>e.height)).reduce(((e,t)=>e+t),0)+n}function g(e,t){switch(d(e)){case a.X.SINGLE:return(0,i.kG)(t=e.pageSizes.size)return 0;switch(d(e)){case a.X.SINGLE:return t;case a.X.DOUBLE:{const n=e.keepFirstSpreadAsSinglePage?1:0;return Math.floor((t+n)/2)}default:throw new Error("Unsupported layoutMode")}}function y(e){switch(d(e)){case a.X.SINGLE:return e.pageSizes.size;case a.X.DOUBLE:{if(e.pageSizes.size<=0)return 0;const t=e.keepFirstSpreadAsSinglePage?1:0;return Math.ceil((e.pageSizes.size+t)/2)}default:throw new Error("Unsupported layoutMode")}}function b(e,t){const n=e.pageSizes.get(t);return(0,i.kG)(n,"No such page size"),90===e.pagesRotation||270===e.pagesRotation?new l.$u({width:n.height,height:n.width}):n}function w(e,t){const n=g(e,t);if(1===n.length)return b(e,n[0]);{let t=0,r=0;for(const o of n){const{width:n,height:i}=b(e,o);t+=n+(0!==o?e.pageSpacing:0),i>r&&(r=i)}return new l.$u({width:t,height:r})}}function x(e){let{width:t}=e;return t<=c.y$?"width-xs":t<=c.Fg?"width-sm":t<=c.GI?"width-md":t<=c.Qq?"width-lg":"width-xl"}function D(e){let t=e.currentPageIndex,n=v(e,e.currentPageIndex);if(e.scrollMode===u.G.CONTINUOUS){const t=[0];let r=0;for(let n=0;nt1){const o=e.scrollPosition.x*e.zoomLevel-e.viewportPadding.x+e.viewportRect.width/2,i=r[1],a=(0,s._4)((0,s.vs)((0,s.DB)(l.sl.IDENTITY,e,i,n),e,n),e);t=(new l.E9).apply(a).x{const t=e.current;return()=>t.clear()})),e.current}(),u=o.useCallback((e=>{a.current.contains(t)&&(e?(l.clear(),l.set((()=>{i(t)}),500)):i(t))}),[t,l,i]);o.useEffect((()=>{var n;l.clear();const r=null!==(n=e.prerenderedPageSpreads)&&void 0!==n?n:e.pageSizes.size;a.current=a.current.filter((e=>E(e,t,r))),u(!1)}),[...(0,s.oI)(e),t,l,u,e.prerenderedPageSpreads,e.pageSizes.size]);return[n,o.useCallback((e=>{a.current=a.current.add(e),u(!0)}),[u])]}function E(e,t,n){return e>=t-n&&e<=t+n}},24987:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(65369);function o(e,t,n){const o=e.viewportState.viewportRect.set("height",t.height);return e.sidebarMode?o.merge({width:e.containerRect.width-n,left:e.containerRect.left+(e.sidebarPlacement===r.d.START?n:0)}):o.merge({width:e.containerRect.width,left:e.containerRect.left})}},84293:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Sm:()=>p,X9:()=>g,Yo:()=>d,cq:()=>v,hT:()=>y,kh:()=>h,vw:()=>m});var r=n(21683),o=n(10983),i=n(23248),a=n(2464),s=n(81777),l=n(82716);let u=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY;function d(e){const t=Math.min(h(e),f(e),e.minDefaultZoomLevel,u);return u>t&&(u=t),t}function p(e){const t=Math.max(h(e),f(e),e.maxDefaultZoomLevel,c);return ci.height?Math.min(t,n):n;return Math.min(a,o.zh)}(e);case s.c.FIT_TO_VIEWPORT:return m(e);case s.c.FIT_TO_WIDTH:return h(e);default:return(0,l.k)("number"==typeof t,"Unknown zoom mode"),t}}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=g(e,t);const a="number"==typeof t?s.c.CUSTOM:t,l=d(e),u=p(e);if(o>=u)if(n.unbounded){const e=b((o-u)/25);o=u*(1+.5*e)}else o=u;else if(o<=l)if(n.unbounded){const e=b(4*(o-l));o=l*(1+.25*e)}else o=l;let c=(0,i.k3)(e,o,n.zoomCenter);return c=(0,i.DJ)(e.set("zoomLevel",o),c),(0,r.Y2)(e.withMutations((e=>e.set("zoomLevel",o).set("scrollPosition",c).set("zoomMode",a))))}function y(e){const{zoomLevel:t}=e,n=d(e);return t>p(e)||t{"use strict";n.d(t,{$Z:()=>g,DI:()=>d,MX:()=>f,n:()=>c,w5:()=>p});var r=n(35369),o=n(15359),i=n(69867),a=n(21853),s=n(561),l=n.n(s),u=n(43069);const c=2,d=2,p=[1,2,3,4,6,8,9,10,12,14,16,18,20,25,30,35,40,45,50,55,60,70,80,90,100,110,120,130,144],h=p.slice(0,Math.floor(p.length/4));function f(e,t,n,a,s,u,f){if(s&&e&&10===e.charCodeAt(e.length-1)&&(e+="\n"),"auto"!==a)return a||Math.max(4,Math.min(.7*n,12));let g,v;if(f){const e=window.getComputedStyle(f);g=e.getPropertyValue("font-family"),s||(v=e.getPropertyValue("line-height"))}if(s){const a=n-2*c,s=(0,r.aV)([e]),p=m(h,(e=>{const n=function(e){let{valueString:t,fontSize:n,fontFamily:r="inherit",availableWidth:a,element:s}=e;const u=new i.f(document,t,{fontSize:`${n}px`,width:`${a}px`,wordBreak:"break-word",whiteSpace:"pre-wrap",fontFamily:r,lineHeight:`${n}px`,margin:"0",padding:"0",border:"none",textAlign:(null==s?void 0:s.style.textAlign)||"initial"},l().widget,s&&s.parentNode),c=u.measure().first();(0,o.kG)(c);const d=c.height;return u.remove(),d}({valueString:s,fontSize:e,fontFamily:g,availableWidth:t-2*d,element:f});let r=c;const p=a-e;return p-2*c<0&&(r=p>0?p/2:0),n+2*r+2*u>a?0:1}));return p}{const a=(0,r.aV)([e]),s=m(p,(e=>{const r=function(e){let{valueString:t,fontSize:n,fontFamily:r="inherit",lineHeight:a="inherit",element:s}=e;const u=new i.f(document,t,{fontSize:`${n}px`,fontFamily:r,lineHeight:a},l().widget,s&&s.parentNode),c=u.measure().first();(0,o.kG)(c);const d=c.width;return u.remove(),d}({valueString:a,fontSize:e,fontFamily:g,lineHeight:v,element:f});return r>t||e>n?0:1}));return s}}function m(e,t){let n=0,r=e.length-1,o=0,i=e[0];for(;n<=r;)o=Math.floor((n+r)/2),i=e[o],t(i)?n=o+1:r=o-1;return t(i)||(i=e[Math.max(0,o-1)]),i}function g(e,t){let n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{return n=(0,a.Aw)(),r=new i.f(n.window.document,t,(0,u.i2)(e,o,!1)),!(0,a.f)(r.wrapper)}finally{r&&r.remove(),n&&n.remove()}}},11073:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},40599:e=>{"use strict";var t=/-(\w|$)/g,n=function(e,t){return t.toUpperCase()};e.exports=function(e){return"float"===(e=e.toLowerCase())?"cssFloat":45===e.charCodeAt(0)&&109===e.charCodeAt(1)&&115===e.charCodeAt(2)&&45===e.charCodeAt(3)?e.substr(1).replace(t,n):e.replace(t,n)}},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>u});var r=n(67294);function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e){function t(e){var n,r;return function(e,n){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),(n=!(r=o(t).call(this,e))||"object"!=typeof r&&"function"!=typeof r?a(this):r).onKeyPress=n.onKeyPress.bind(a(n)),n}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(t,r.Component),(n=[{key:"onKeyPress",value:function(e){var t=this.props,n=t.onClick,r=t.onKeyPress;switch(e.key){case" ":case"Spacebar":e.preventDefault(),n&&r||r?r(e):n&&n(e);break;case"Enter":if(r&&(r(e),e.isDefaultPrevented()))return;n&&n(e)}}},{key:"render",value:function(){var e=this.props,t=e.is,n=void 0===t?"span":t,o=e.innerRef,i=e.onClick,a=e.disabled,s=e.tabIndex,l=void 0===s?0:s,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["is","innerRef","onClick","disabled","tabIndex","onKeyPress"]);return r.createElement(n,Object.assign({tabIndex:a?void 0:l,role:"button",onKeyPress:a?void 0:this.onKeyPress,onClick:a?void 0:i,"aria-disabled":a?"true":void 0,ref:o},u))}}])&&function(e,t){for(var n=0;n{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,n=0,o="";n{var r=n(60614),o=n(66330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},39483:(e,t,n)=>{var r=n(4411),o=n(66330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a constructor")}},96077:(e,t,n)=>{var r=n(60614),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},51223:(e,t,n)=>{var r=n(5112),o=n(70030),i=n(3070).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var r=n(28710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},25787:(e,t,n)=>{var r=n(47976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},19670:(e,t,n)=>{var r=n(70111),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},23013:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:(e,t,n)=>{var r=n(47293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},90260:(e,t,n)=>{"use strict";var r,o,i,a=n(23013),s=n(19781),l=n(17854),u=n(60614),c=n(70111),d=n(92597),p=n(70648),h=n(66330),f=n(68880),m=n(98052),g=n(3070).f,v=n(47976),y=n(79518),b=n(27674),w=n(5112),x=n(69711),D=n(29909),C=D.enforce,E=D.get,S=l.Int8Array,_=S&&S.prototype,P=l.Uint8ClampedArray,k=P&&P.prototype,A=S&&y(S),z=_&&y(_),T=Object.prototype,O=l.TypeError,I=w("toStringTag"),F=x("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",R=a&&!!b&&"Opera"!==p(l.opera),j=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},L=function(e){var t=y(e);if(c(t)){var n=E(t);return n&&d(n,M)?n.TypedArrayConstructor:L(t)}},K=function(e){if(!c(e))return!1;var t=p(e);return d(B,t)||d(N,t)};for(r in B)(i=(o=l[r])&&o.prototype)?C(i).TypedArrayConstructor=o:R=!1;for(r in N)(i=(o=l[r])&&o.prototype)&&(C(i).TypedArrayConstructor=o);if((!R||!u(A)||A===Function.prototype)&&(A=function(){throw O("Incorrect invocation")},R))for(r in B)l[r]&&b(l[r],A);if((!R||!z||z===T)&&(z=A.prototype,R))for(r in B)l[r]&&b(l[r].prototype,z);if(R&&y(k)!==z&&b(k,z),s&&!d(z,I))for(r in j=!0,g(z,I,{get:function(){return c(this)?this[F]:void 0}}),B)l[r]&&f(l[r],F,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:j&&F,aTypedArray:function(e){if(K(e))return e;throw O("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!b||v(A,e)))return e;throw O(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in B){var i=l[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}z[e]&&!n||m(z,e,n?t:R&&_[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in B)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(A[e]&&!n)return;try{return m(A,e,n?t:R&&A[e]||t)}catch(e){}}for(r in B)!(o=l[r])||o[e]&&!n||m(o,e,t)}},getTypedArrayConstructor:L,isView:function(e){if(!c(e))return!1;var t=p(e);return"DataView"===t||d(B,t)||d(N,t)},isTypedArray:K,TypedArray:A,TypedArrayPrototype:z}},21285:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(26244);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:o(l,n);u>s;)t[s++]=e;return t}},48457:(e,t,n)=>{"use strict";var r=n(49974),o=n(46916),i=n(47908),a=n(53411),s=n(97659),l=n(4411),u=n(26244),c=n(86135),d=n(18554),p=n(71246),h=Array;e.exports=function(e){var t=i(e),n=l(this),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,f>2?arguments[2]:void 0));var v,y,b,w,x,D,C=p(t),E=0;if(!C||this===h&&s(C))for(v=u(t),y=n?new this(v):h(v);v>E;E++)D=g?m(t[E],E):t[E],c(y,E,D);else for(x=(w=d(t,C)).next,y=n?new this:[];!(b=o(x,w)).done;E++)D=g?a(w,m,[b.value,E],!0):b.value,c(y,E,D);return y.length=E,y}},41318:(e,t,n)=>{var r=n(45656),o=n(51400),i=n(26244),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var r=n(49974),o=n(1702),i=n(68361),a=n(47908),s=n(26244),l=n(65417),u=o([].push),c=function(e){var t=1==e,n=2==e,o=3==e,c=4==e,d=6==e,p=7==e,h=5==e||d;return function(f,m,g,v){for(var y,b,w=a(f),x=i(w),D=r(m,g),C=s(x),E=0,S=v||l,_=t?S(f,C):n||p?S(f,0):void 0;C>E;E++)if((h||E in x)&&(b=D(y=x[E],E,w),e))if(t)_[E]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:u(_,y)}else switch(e){case 4:return!1;case 7:u(_,y)}return d?-1:o||c?c:_}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},9341:(e,t,n)=>{"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},41589:(e,t,n)=>{var r=n(51400),o=n(26244),i=n(86135),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=o(e),u=r(t,l),c=r(void 0===n?l:n,l),d=a(s(c-u,0)),p=0;u{var r=n(1702);e.exports=r([].slice)},94362:(e,t,n)=>{var r=n(41589),o=Math.floor,i=function(e,t){var n=e.length,l=o(n/2);return n<8?a(e,t):s(e,i(r(e,0,l),t),i(r(e,l),t),t)},a=function(e,t){for(var n,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var o=t.length,i=n.length,a=0,s=0;a{var r=n(43157),o=n(4411),i=n(70111),a=n(5112)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},65417:(e,t,n)=>{var r=n(77475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},53411:(e,t,n)=>{var r=n(19670),o=n(99212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},17072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:(e,t,n)=>{var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},70648:(e,t,n)=>{var r=n(51694),o=n(60614),i=n(84326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},29320:(e,t,n)=>{"use strict";var r=n(1702),o=n(89190),i=n(62423).getWeakData,a=n(25787),s=n(19670),l=n(68554),u=n(70111),c=n(20408),d=n(42092),p=n(92597),h=n(29909),f=h.set,m=h.getterFor,g=d.find,v=d.findIndex,y=r([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new x)},x=function(){this.entries=[]},D=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};x.prototype={get:function(e){var t=D(this,e);if(t)return t[1]},has:function(e){return!!D(this,e)},set:function(e,t){var n=D(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,o){a(e,h),f(e,{type:t,id:b++,frozen:void 0}),l(o)||c(o,e[r],{that:e,AS_ENTRIES:n})})),h=d.prototype,g=m(t),v=function(e,t,n){var r=g(e),o=i(s(t),!0);return!0===o?w(r).set(t,n):o[r.id]=n,e};return o(h,{delete:function(e){var t=g(this);if(!u(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&p(n,t.id)}}),o(h,n?{get:function(e){var t=g(this);if(u(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},77710:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(1702),a=n(54705),s=n(98052),l=n(62423),u=n(20408),c=n(25787),d=n(60614),p=n(68554),h=n(70111),f=n(47293),m=n(17072),g=n(58003),v=n(79587);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",x=o[e],D=x&&x.prototype,C=x,E={},S=function(e){var t=i(D[e]);s(D,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(x)||!(b||D.forEach&&!f((function(){(new x).entries().next()})))))C=n.getConstructor(t,e,y,w),l.enable();else if(a(e,!0)){var _=new C,P=_[w](b?{}:-0,1)!=_,k=f((function(){_.has(1)})),A=m((function(e){new x(e)})),z=!b&&f((function(){for(var e=new x,t=5;t--;)e[w](t,t);return!e.has(-0)}));A||((C=t((function(e,t){c(e,D);var n=v(new x,e,C);return p(t)||u(t,n[w],{that:n,AS_ENTRIES:y}),n}))).prototype=D,D.constructor=C),(k||z)&&(S("delete"),S("has"),y&&S("get")),(z||P)&&S(w),b&&D.clear&&delete D.clear}return E[e]=C,r({global:!0,constructor:!0,forced:C!=x},E),g(C,e),b||n.setStrong(C,e,y),C}},99920:(e,t,n)=>{var r=n(92597),o=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t,n){for(var s=o(t),l=a.f,u=i.f,c=0;c{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},76178:e=>{e.exports=function(e,t){return{value:e,done:t}}},68880:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(79114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var r=n(34948),o=n(3070),i=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},47045:(e,t,n)=>{var r=n(56339),o=n(3070);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},98052:(e,t,n)=>{var r=n(60614),o=n(3070),i=n(56339),a=n(13072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},89190:(e,t,n)=>{var r=n(98052);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},13072:(e,t,n)=>{var r=n(17854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},85117:(e,t,n)=>{"use strict";var r=n(66330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},19781:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},80317:(e,t,n)=>{var r=n(17854),o=n(70111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var r=n(80317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},68886:(e,t,n)=>{var r=n(88113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:(e,t,n)=>{var r=n(83823),o=n(35268);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},89363:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:(e,t,n)=>{var r=n(88113);e.exports=/MSIE|Trident/.test(r)},71528:(e,t,n)=>{var r=n(88113),o=n(17854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},35268:(e,t,n)=>{var r=n(84326),o=n(17854);e.exports="process"==r(o.process)},71036:(e,t,n)=>{var r=n(88113);e.exports=/web0s(?!.*chrome)/i.test(r)},88113:(e,t,n)=>{var r=n(35005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(17854),a=n(88113),s=i.process,l=i.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},98008:(e,t,n)=>{var r=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var r=n(17854),o=n(31236).f,i=n(68880),a=n(98052),s=n(13072),l=n(99920),u=n(54705);e.exports=function(e,t){var n,c,d,p,h,f=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[f]||s(f,{}):(r[f]||{}).prototype)for(c in t){if(p=t[c],d=e.dontCallGetSet?(h=o(n,c))&&h.value:n[c],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,c,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var r=n(21470),o=n(98052),i=n(22261),a=n(47293),s=n(5112),l=n(68880),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,d){var p=s(e),h=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!h||!f||n){var m=r(/./[p]),g=t(p,""[e],(function(e,t,n,o,a){var s=r(e),l=t.exec;return l===i||l===c.exec?h&&!a?{done:!0,value:m(t,n,o)}:{done:!0,value:s(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(c,p,g[1])}d&&l(c[p],"sham",!0)}},6790:(e,t,n)=>{"use strict";var r=n(43157),o=n(26244),i=n(7207),a=n(49974),s=function(e,t,n,l,u,c,d,p){for(var h,f,m=u,g=0,v=!!d&&a(d,p);g0&&r(h)?(f=o(h),m=s(e,t,h,f,m,c-1)-1):(i(m+1),e[m]=h),m++),g++;return m};e.exports=s},76677:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:(e,t,n)=>{var r=n(34374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},49974:(e,t,n)=>{var r=n(21470),o=n(19662),i=n(34374),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:(e,t,n)=>{var r=n(34374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},76530:(e,t,n)=>{var r=n(19781),o=n(92597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},21470:(e,t,n)=>{var r=n(84326),o=n(1702);e.exports=function(e){if("Function"===r(e))return o(e)}},1702:(e,t,n)=>{var r=n(34374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},35005:(e,t,n)=>{var r=n(17854),o=n(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},71246:(e,t,n)=>{var r=n(70648),o=n(58173),i=n(68554),a=n(97497),s=n(5112)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},18554:(e,t,n)=>{var r=n(46916),o=n(19662),i=n(19670),a=n(66330),s=n(71246),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw l(a(e)+" is not iterable")}},58173:(e,t,n)=>{var r=n(19662),o=n(68554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},10647:(e,t,n)=>{var r=n(1702),o=n(47908),i=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,p){var h=n+e.length,f=r.length,m=c;return void 0!==d&&(d=o(d),m=u),s(p,m,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":u=d[l(s,1,-1)];break;default:var c=+s;if(0===c)return o;if(c>f){var p=i(c/10);return 0===p?o:p<=f?void 0===r[p-1]?a(s,1):r[p-1]+a(s,1):o}u=r[c-1]}return void 0===u?"":u}))}},17854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:(e,t,n)=>{var r=n(1702),o=n(47908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(17854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},60490:(e,t,n)=>{var r=n(35005);e.exports=r("document","documentElement")},64664:(e,t,n)=>{var r=n(19781),o=n(47293),i=n(80317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:(e,t,n)=>{var r=n(1702),o=n(47293),i=n(84326),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},79587:(e,t,n)=>{var r=n(60614),o=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var r=n(1702),o=n(60614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},62423:(e,t,n)=>{var r=n(82109),o=n(1702),i=n(3501),a=n(70111),s=n(92597),l=n(3070).f,u=n(8006),c=n(1156),d=n(52050),p=n(69711),h=n(76677),f=!1,m=p("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},f=!0;var e=u.f,t=o([].splice),n={};n[m]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o{var r,o,i,a=n(94811),s=n(17854),l=n(70111),u=n(68880),c=n(92597),d=n(5465),p=n(6200),h=n(3501),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw m(f);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=p("state");h[y]=!0,r=function(e,t){if(c(e,y))throw m(f);return t.facade=e,u(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},i=function(e){return c(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var r=n(5112),o=n(97497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:(e,t,n)=>{var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:(e,t,n)=>{var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(47293),i=n(60614),a=n(70648),s=n(35005),l=n(42788),u=function(){},c=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=r(p.exec),f=!p.exec(u),m=function(e){if(!i(e))return!1;try{return d(u,c,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!h(p,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},45032:(e,t,n)=>{var r=n(92597);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},54705:(e,t,n)=>{var r=n(47293),o=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},68554:e=>{e.exports=function(e){return null==e}},70111:(e,t,n)=>{var r=n(60614),o=n(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var r=n(70111),o=n(84326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},52190:(e,t,n)=>{var r=n(35005),o=n(60614),i=n(47976),a=n(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},20408:(e,t,n)=>{var r=n(49974),o=n(46916),i=n(19670),a=n(66330),s=n(97659),l=n(26244),u=n(47976),c=n(18554),d=n(71246),p=n(99212),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,n){var g,v,y,b,w,x,D,C=n&&n.that,E=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),_=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),k=r(t,C),A=function(e){return g&&p(g,"normal",e),new f(!0,e)},z=function(e){return E?(i(e),P?k(e[0],e[1],A):k(e[0],e[1])):P?k(e,A):k(e)};if(S)g=e.iterator;else if(_)g=e;else{if(!(v=d(e)))throw h(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((w=z(e[y]))&&u(m,w))return w;return new f(!1)}g=c(e,v)}for(x=S?e.next:g.next;!(D=o(x,g)).done;){try{w=z(D.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&u(m,w))return w}return new f(!1)}},99212:(e,t,n)=>{var r=n(46916),o=n(19670),i=n(58173);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},63061:(e,t,n)=>{"use strict";var r=n(13383).IteratorPrototype,o=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n,u){var c=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,c,!1,!0),s[c]=l,e}},51656:(e,t,n)=>{"use strict";var r=n(82109),o=n(46916),i=n(31913),a=n(76530),s=n(60614),l=n(63061),u=n(79518),c=n(27674),d=n(58003),p=n(68880),h=n(98052),f=n(5112),m=n(97497),g=n(13383),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=f("iterator"),D="keys",C="values",E="entries",S=function(){return this};e.exports=function(e,t,n,a,f,g,_){l(n,t,a);var P,k,A,z=function(e){if(e===f&&M)return M;if(!w&&e in I)return I[e];switch(e){case D:case C:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,I=e.prototype,F=I[x]||I["@@iterator"]||f&&I[f],M=!w&&F||z(f),R="Array"==t&&I.entries||F;if(R&&(P=u(R.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===b||(c?c(P,b):s(P[x])||h(P,x,S)),d(P,T,!0,!0),i&&(m[T]=S)),v&&f==C&&F&&F.name!==C&&(!i&&y?p(I,"name",C):(O=!0,M=function(){return o(F,this)})),f)if(k={values:z(C),keys:g?M:z(D),entries:z(E)},_)for(A in k)(w||O||!(A in I))&&h(I,A,k[A]);else r({target:t,proto:!0,forced:w||O},k);return i&&!_||I[x]===M||h(I,x,M,{name:f}),m[t]=M,k}},13383:(e,t,n)=>{"use strict";var r,o,i,a=n(47293),s=n(60614),l=n(70111),u=n(70030),c=n(79518),d=n(98052),p=n(5112),h=n(31913),f=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[f].call(e)!==e}))?r={}:h&&(r=u(r)),s(r[f])||d(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},97497:e=>{e.exports={}},26244:(e,t,n)=>{var r=n(17466);e.exports=function(e){return r(e.length)}},56339:(e,t,n)=>{var r=n(47293),o=n(60614),i=n(92597),a=n(19781),s=n(76530).CONFIGURABLE,l=n(42788),u=n(29909),c=u.enforce,d=u.get,p=Object.defineProperty,h=a&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),h&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return i(r,"source")||(r.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&d(this).source||l(this)}),"toString")},74758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},95948:(e,t,n)=>{var r,o,i,a,s,l,u,c,d=n(17854),p=n(49974),h=n(31236).f,f=n(20261).set,m=n(6833),g=n(71528),v=n(71036),y=n(35268),b=d.MutationObserver||d.WebKitMutationObserver,w=d.document,x=d.process,D=d.Promise,C=h(d,"queueMicrotask"),E=C&&C.value;E||(r=function(){var e,t;for(y&&(e=x.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},m||y||v||!b||!w?!g&&D&&D.resolve?((u=D.resolve(void 0)).constructor=D,c=p(u.then,u),a=function(){c(r)}):y?a=function(){x.nextTick(r)}:(f=p(f,d),a=function(){f(r)}):(s=!0,l=w.createTextNode(""),new b(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},78523:(e,t,n)=>{"use strict";var r=n(19662),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},3929:(e,t,n)=>{var r=n(47850),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},2814:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),u=i("".charAt),c=r.parseFloat,d=r.Symbol,p=d&&d.iterator,h=1/c(l+"-0")!=-1/0||p&&!o((function(){c(Object(p))}));e.exports=h?function(e){var t=s(a(e)),n=c(t);return 0===n&&"-"==u(t,0)?-0:n}:c},83009:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),u=r.parseInt,c=r.Symbol,d=c&&c.iterator,p=/^[+-]?0x/i,h=i(p.exec),f=8!==u(l+"08")||22!==u(l+"0x16")||d&&!o((function(){u(Object(d))}));e.exports=f?function(e,t){var n=s(a(e));return u(n,t>>>0||(h(p,n)?16:10))}:u},21574:(e,t,n)=>{"use strict";var r=n(19781),o=n(1702),i=n(46916),a=n(47293),s=n(81956),l=n(25181),u=n(55296),c=n(47908),d=n(68361),p=Object.assign,h=Object.defineProperty,f=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=p({},e)[n]||s(p({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,a=1,p=l.f,h=u.f;o>a;)for(var m,g=d(arguments[a++]),v=p?f(s(g),p(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!i(h,g,m)||(n[m]=g[m]);return n}:p},70030:(e,t,n)=>{var r,o=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),u=n(80317),c=n(6200),d=c("IE_PROTO"),p=function(){},h=function(e){return"