@vue-pdf-viewer/viewer 3.11.0-beta.3 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_badceab7_lang-BGfDs_BY.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_badceab7_lang-CL9W2avC.cjs} +3 -3
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_badceab7_lang-DNYXP5Pe.js → VPdfViewer.vue_vue_type_style_index_1_scoped_badceab7_lang-aHBeLsL4.js} +3 -3
- package/dist/{index-CnKCXFI9.cjs → index-CIGK0U_a.cjs} +2 -2
- package/dist/{index-Bw5g2ezQ.js → index-CL7U9iyh.js} +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/package.json +2 -2
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
<div class="${t}"></div>
|
|
29
29
|
`,e.appendChild(o),o},$n=new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit",hour12:!0}),_n=e=>{const t=new Date(e);return $n.format(t)},ea=e=>{const t=typeof e=="string"?new Date(e):e;return new Intl.DateTimeFormat("en-US",{month:"short",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0}).format(t).replace(/(\d{4}),\s*/,"$1・")};function ta(e,t,o,n,a,r){const s=[Ee.DualPage,Ee.DualPageWithCover].includes(a)&&r>=3?2*o:o;switch(n){case me.ActualSize:return 1;case me.PageFit:return Math.min((e.clientWidth-Ct)/s,(e.clientHeight-2*Pf)/t);case me.PageWidth:return(e.clientWidth-Ct)/s;default:return 1}}const oa=()=>{const e=(w,T=2)=>String(w).padStart(T,"0"),t=new Date,o=t.getFullYear(),n=e(t.getMonth()+1),a=e(t.getDate()),r=e(t.getHours()),l=e(t.getMinutes()),s=e(t.getSeconds()),c=-t.getTimezoneOffset(),d=c>=0?"+":"-",u=e(Math.floor(Math.abs(c)/60)),p=e(Math.abs(c)%60);return`D:${o}${n}${a}${r}${l}${s}${d}${u}'${p}'`},na=e=>{if(typeof e!="string"||!e||e.length<15||!e.startsWith("D:"))return e;e=e.substring(2);const t=e.substring(0,4),o=e.substring(4,6),n=e.substring(6,8),a=e.substring(8,10),r=e.substring(10,12),l=e.substring(12,14);if(e.charAt(14)==="Z")return new Date(`${t}-${o}-${n}T${a}:${r}:${l}Z`);const s=e.charAt(14);if(s==="+"||s==="-"){const c=e.substring(14).replaceAll("'","");return new Date(`${t}-${o}-${n}T${a}:${r}:${l}${c}`)}return new Date(`${t}-${o}-${n}T${a}:${r}:${l}Z`)},aa=e=>{const t={};return e.split(";").forEach(o=>{const[n,a]=o.split(":").map(r=>r.trim());n&&a&&(t[n]=a)}),t};function ra(e,t,o,n,a){a[0]=Math.min(a[0],e,o),a[1]=Math.min(a[1],t,n),a[2]=Math.max(a[2],e,o),a[3]=Math.max(a[3],t,n)}function ia(e,t,o){return Math.min(Math.max(e,t),o)}function Le(){const t=new Error().stack?.split(`
|
|
30
30
|
`);if(!t||t.length<4)return"unknown";const o=t[3],n=o.match(/\((.+?)\)/)||o.match(/at\s+(.+)/);return n?n[1].split("/").slice(-2).join("/"):"unknown"}function Re(e){const t=e.level==="debug",o=`[VPV ${e.level.charAt(0).toUpperCase()+e.level.slice(1)}]`,n=e.origin||Le();if(t)return[`%c ${o}(${n}):
|
|
31
|
-
`,"color: #2563eb;",...e.args];if(typeof e.args[0]=="string"&&e.args[0].includes("%c")){const[a,...r]=e.args;return[`${o} (${n}): ${a}`,...r]}return[o,`(${n}):`,...e.args]}class ue{static instance;isProduction;constructor(){this.isProduction=!0}static getInstance(){return ue.instance||(ue.instance=new ue),ue.instance}debug(...t){if(!this.isProduction){const o={level:"debug",args:t,origin:Le()};console.debug(...Re(o))}}info(...t){if(this.isProduction)console.info("[VPV Info]:",...t);else{const o={level:"info",args:t,origin:Le()};console.info(...Re(o))}}warn(...t){if(this.isProduction)if(typeof t[0]=="string"&&t[0].includes("%c")){const[o,...n]=t;console.warn(`[VPV Warning]: ${o}`,...n)}else console.warn("[VPV Warning]:",...t);else{const o={level:"warn",args:t,origin:Le()},n=Re(o);console.warn(...n)}}error(...t){if(this.isProduction)console.error("[VPV Error]:",...t);else{const o={level:"error",args:t,origin:Le()};console.error(...Re(o))}}}const I=ue.getInstance(),la=new Date("2026-03-
|
|
32
|
-
Please use a %clower%c library version or %crenew%c your license.`,style:["font-weight: bold;","font-weight: normal;","font-style: italic;","font-style: normal;","font-style: italic;","font-style: normal;"]}),invalidSignature:"Invalid license key: Signature mismatch"};function sa(e){const t=atob(e),o=new Uint8Array(t.length);for(let n=0;n<t.length;n++)o[n]=t.charCodeAt(n);return o.buffer}const ro=window.crypto.getRandomValues(new Uint8Array(32)).reduce((e,t)=>e+t.toString(16).padStart(2,"0"),"");function ca(e){const t=e.replace(/-----BEGIN PUBLIC KEY-----/,"").replace(/-----END PUBLIC KEY-----/,"").replace(/\s+/g,""),o=atob(t),n=new Uint8Array(o.length);for(let a=0;a<o.length;a++)n[a]=o.charCodeAt(a);return n.buffer}function ua(e){try{const t=JSON.stringify(e);return btoa(t+ro)}catch(t){return I.error("Error encoding license data:",t),""}}function pa(e){if(!e)return null;try{const o=atob(e).slice(0,-ro.length);return JSON.parse(o)}catch(t){return I.error("Error decoding license data:",t),null}}async function da(e,t){try{const o=await Promise.resolve().then(()=>require("./index-
|
|
31
|
+
`,"color: #2563eb;",...e.args];if(typeof e.args[0]=="string"&&e.args[0].includes("%c")){const[a,...r]=e.args;return[`${o} (${n}): ${a}`,...r]}return[o,`(${n}):`,...e.args]}class ue{static instance;isProduction;constructor(){this.isProduction=!0}static getInstance(){return ue.instance||(ue.instance=new ue),ue.instance}debug(...t){if(!this.isProduction){const o={level:"debug",args:t,origin:Le()};console.debug(...Re(o))}}info(...t){if(this.isProduction)console.info("[VPV Info]:",...t);else{const o={level:"info",args:t,origin:Le()};console.info(...Re(o))}}warn(...t){if(this.isProduction)if(typeof t[0]=="string"&&t[0].includes("%c")){const[o,...n]=t;console.warn(`[VPV Warning]: ${o}`,...n)}else console.warn("[VPV Warning]:",...t);else{const o={level:"warn",args:t,origin:Le()},n=Re(o);console.warn(...n)}}error(...t){if(this.isProduction)console.error("[VPV Error]:",...t);else{const o={level:"error",args:t,origin:Le()};console.error(...Re(o))}}}const I=ue.getInstance(),la=new Date("2026-03-16T07:35:36.074Z"),qe="Please visit https://www.vue-pdf-viewer.dev/license-management/ to generate a new license key.",he={invalidLicense:JSON.stringify({message:`You are currently using %cwithout%c a valid license. ${qe}`,style:["font-weight: bold;","font-weight: normal;"]}),mismatchedDomain:JSON.stringify({message:`Your license key is %cnot valid%c for the current domain / IP. ${qe}`,style:["font-weight: bold;","font-weight: normal;"]}),expired:`Your license key has expired. ${qe}`,exceededVersion:JSON.stringify({message:`Your license %ccannot use%c the current version of Vue PDF Viewer.
|
|
32
|
+
Please use a %clower%c library version or %crenew%c your license.`,style:["font-weight: bold;","font-weight: normal;","font-style: italic;","font-style: normal;","font-style: italic;","font-style: normal;"]}),invalidSignature:"Invalid license key: Signature mismatch"};function sa(e){const t=atob(e),o=new Uint8Array(t.length);for(let n=0;n<t.length;n++)o[n]=t.charCodeAt(n);return o.buffer}const ro=window.crypto.getRandomValues(new Uint8Array(32)).reduce((e,t)=>e+t.toString(16).padStart(2,"0"),"");function ca(e){const t=e.replace(/-----BEGIN PUBLIC KEY-----/,"").replace(/-----END PUBLIC KEY-----/,"").replace(/\s+/g,""),o=atob(t),n=new Uint8Array(o.length);for(let a=0;a<o.length;a++)n[a]=o.charCodeAt(a);return n.buffer}function ua(e){try{const t=JSON.stringify(e);return btoa(t+ro)}catch(t){return I.error("Error encoding license data:",t),""}}function pa(e){if(!e)return null;try{const o=atob(e).slice(0,-ro.length);return JSON.parse(o)}catch(t){return I.error("Error decoding license data:",t),null}}async function da(e,t){try{const o=await Promise.resolve().then(()=>require("./index-CIGK0U_a.cjs")).then(d=>d.i),n=o.pki.publicKeyFromPem(t),a=atob(e.data),r=o.util.decode64(e.signature),l=o.pss.create({md:o.md.sha256.create(),mgf:o.mgf.mgf1.create(o.md.sha256.create()),saltLength:32}),s=o.md.sha256.create();s.update(a,"utf8");const c=n.verify(s.digest().bytes(),r,l);return I.debug("[License] ✓ Verified with node-forge (RSA-PSS):",{isValid:c}),c}catch(o){return I.error("[License] node-forge verification failed:",o),!1}}async function ga(e,t="SHA-256"){try{const o=JSON.parse(atob(e)),{data:n,signature:a}=o,r=ca(`-----BEGIN PUBLIC KEY-----
|
|
33
33
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxBYxngKoXlUVluqotveU
|
|
34
34
|
Uo8+98JHEHr6exhswsBqEVS3T4ZqvsVjyBm3FDEE4A5YpwyqISj5Wp1QS+9rhK0L
|
|
35
35
|
s0fAhxRYtziHJGiARcHURSjLbsVuH9IsBDzIjay3j+MD42TumiVh8IzQ8SJvBmTL
|
|
@@ -45,4 +45,4 @@ og5u0mm7ZWAA7GkYbPEYKYWbRLOi0qCt9tbBKgw4X7hNRII3z6CZ+vuTnZeV3z66
|
|
|
45
45
|
S/1sHTjahq5BGlUI1HTJxZak7LMc4rFZUEva6V968smppdHMIiRGahpoxumm2rSa
|
|
46
46
|
RAlnlcoyjS63Wl8cOZxYDNM7qoF7OBLopKHsrU2gftEX40Q3cKaSPW7BOrHbiyfg
|
|
47
47
|
QwIDAQAB
|
|
48
|
-
-----END PUBLIC KEY-----`)}if(!l)throw I.error("[License] ✗ All verification methods failed"),new Error(he.invalidSignature);return JSON.parse(atob(n))}catch(o){throw I.debug("Error decrypting license:",o),new Error(he.invalidLicense)}}const ma=(e,t)=>{const o=Bt("VPV:license","",localStorage),n=i.computed(()=>o.value?pa(o.value):null),a=i.reactive({...dt,...n.value}),r=i.computed(()=>i.unref(e)),l=(u,p)=>{switch(u){case"specific":return p===window.location.host;case"wildcard":return p?window.location.host.includes(p):!1}},s=u=>{I.debug("validateLicense",u);const{avu:p,exp:w,t:T}=u;if(!w)throw new Error("License is missing expiration timestamp");if(w>Number.MAX_SAFE_INTEGER/1e3)throw new Error("Invalid expiration timestamp: value too large");const g=new Date(w*1e3),m=new Date().getTime();if(g.getTime()<m)throw new Error(he.expired);if(!p)throw new Error("License is missing available until version timestamp");if(p>Number.MAX_SAFE_INTEGER/1e3)throw new Error("Invalid available until version timestamp: value too large");if(new Date(p*1e3).getTime()<la.getTime())throw new Error(he.exceededVersion);if(T!=="custom"&&!l(u.dmt,u.dm))throw new Error(he.mismatchedDomain)};i.watch(r,async u=>{if(u){a.isValidating=!0;try{const p=await ga(u);s(p),a.isValidKey=!0,a.type=p.t,a.product=p.p}catch(p){I.debug("Error decrypting license:",p),a.isValidKey=!1,a.invalidatedMessage=p instanceof Error?p.message:String(p)}finally{a.isValidating=!1,a.isValidated=!0}o.value=ua({isValidKey:a.isValidKey,isValidating:a.isValidating,isValidated:a.isValidated,type:a.type,product:a.product})}},{immediate:!0});const c=i.getCurrentInstance(),d=t||c?.appContext?.app;return d&&(d.provide(pt,a),d.provide(io,r)),{license:a}};function ha(e){const t=i.inject(pt,{...dt}),o=i.inject(io,i.computed(()=>{})),n=i.ref(null),a=(r,l=he.invalidLicense)=>{n.value&&(n.value.remove(),n.value=null);const s=Zn(r);let c={message:"",style:[]};try{const d=JSON.parse(l);c.message=d.message,c.style=d.style}catch{c.message=l,c.style=[]}I.warn(c.message,...c.style),n.value=s};return i.watch([()=>t,e,()=>o.value],([r,l,s])=>{if(!l){I.debug("NoContainerYet");return}const{isValidKey:c,isValidating:d,invalidatedMessage:u}=r;if(!(c&&s)){if(!s){I.debug("Unlicense case: no provided key"),a(l),r.isValidating=!1;return}d||(c?n.value&&(n.value.remove(),n.value=null):(I.debug("Unlicense case: invalid key"),a(l,u)))}},{deep:!0}),Ae(n,r=>{r.length&&a(e.value)},{attributes:!0,childList:!0,subtree:!0,characterData:!0}),Ae(e,r=>{if(!t.isValidKey){if(!r.length)return;for(const l of r)(l?.target===n.value||l?.removedNodes?.[0]===n.value||l.type==="childList"&&l.target===e.value&&l.target.lastChild!==n.value)&&a(e.value)}},{attributes:!0,childList:!0,subtree:!0,characterData:!0}),{license:t}}var At;(function(e){e.APNG="image/apng",e.AVIF="image/avif",e.BMP="image/bmp",e.GIF="image/gif",e.JPEG="image/jpeg",e.PNG="image/png",e.SVG="image/svg+xml",e.WEBP="image/webp",e.ICON="image/x-icon"})(At||(At={}));exports.aJ=void 0;(function(e){e.UnsupportedFileType="unsupported-file-type",e.FileSizeExceeded="file-size-exceeded"})(exports.aJ||(exports.aJ={}));var nt;(function(e){e.textSelection="vpv:annotation:textSelection",e.freeText="vpv:annotation:freeText",e.signature="vpv:annotation:signature",e.image="vpv:annotation:image",e.highlight="vpv:annotation:highlight",e.underline="vpv:annotation:underline",e.strikeout="vpv:annotation:strikeout"})(nt||(nt={}));exports.aI=void 0;(function(e){e.AnnotationCreated="vpv:annotation:created",e.AnnotationUpdated="vpv:annotation:updated",e.AnnotationDeleted="vpv:annotation:deleted",e.AnnotationMounted="vpv:annotation:mounted",e.Rotate="vpv:rotate",e.ShowNotificationError="vpv:notification:error"})(exports.aI||(exports.aI={}));exports.A=void 0;(function(e){e[e.Text=1]="Text",e[e.Link=2]="Link",e[e.FreeText=3]="FreeText",e[e.Line=4]="Line",e[e.Square=5]="Square",e[e.Circle=6]="Circle",e[e.Polygon=7]="Polygon",e[e.Polyline=8]="Polyline",e[e.Highlight=9]="Highlight",e[e.Underline=10]="Underline",e[e.Squiggly=11]="Squiggly",e[e.StrikeOut=12]="StrikeOut",e[e.Stamp=13]="Stamp",e[e.Caret=14]="Caret",e[e.Ink=15]="Ink",e[e.Popup=16]="Popup",e[e.FileAttachment=17]="FileAttachment",e[e.Sound=18]="Sound",e[e.Movie=19]="Movie",e[e.Widget=20]="Widget",e[e.Screen=21]="Screen",e[e.PrinterMark=22]="PrinterMark",e[e.TrapNet=23]="TrapNet",e[e.Watermark=24]="Watermark",e[e.ThreeD=25]="ThreeD",e[e.Redact=26]="Redact"})(exports.A||(exports.A={}));var Et;(function(e){e[e.INVISIBLE=1]="INVISIBLE",e[e.HIDDEN=2]="HIDDEN",e[e.PRINT=4]="PRINT",e[e.NOZOOM=8]="NOZOOM",e[e.NOROTATE=16]="NOROTATE",e[e.NOVIEW=32]="NOVIEW",e[e.READONLY=64]="READONLY",e[e.LOCKED=128]="LOCKED",e[e.TOGGLENOVIEW=256]="TOGGLENOVIEW",e[e.LOCKEDCONTENTS=512]="LOCKEDCONTENTS"})(Et||(Et={}));const fa="Search in Document",ba="Enter to search",Ta="Search",wa="Previous match",Sa="Next match",va="Close",Pa="Match Case",xa="Search case sensitive text",La="Whole Words",ya="Search exact and case insensitive word(s)",Aa="Previous page",Ea="Current page",Ca="Next page",Ia="Zoom out",ka="Zoom in",za="Select zoom level",Da="Actual size",Oa="Page fit",Fa="Page width",Ma="Enable dark theme",Ra="Enable light theme",Na="Open local file",Ha="Open local file",Ba="Download file",Ua="Download file",ja="Print",Wa="Print",Va="Preparing Document",Ga="Cancel",Ya="Full screen",qa="Full screen",Ka="More options",Qa="First page",Ja="Go to first page",Xa="Last page",Za="Go to last page",$a="Rotate clockwise",_a="Rotate clockwise",er="Rotate counterclockwise",tr="Rotate counterclockwise",or="Text selection tool",nr="Enable text selection tool",ar="Hand tool",rr="Enable hand tool",ir="Document properties",lr="View document properties",sr="Page scrolling",cr="Enable page scrolling",ur="Vertical scrolling",pr="Enable vertical scrolling",dr="Horizontal scrolling",gr="Enable horizontal scrolling",mr="Wrapped scrolling",hr="Enable wrapped scrolling",fr="Single page",br="Enable single page view",Tr="Dual page",wr="Enable dual page view",Sr="Dual page with cover",vr="Enable dual page view with cover",Pr="File name",xr="File size",Lr="Title",yr="Author",Ar="Subject",Er="Keywords",Cr="Creator",Ir="Created on",kr="Modified on",zr="PDF producer",Dr="PDF version",Or="Page count",Fr="Thumbnail",Mr="Password Required",Rr="This document is password protected. Please enter a password to open the file.",Nr="Enter password",Hr="Submit",Br="Incorrect password",Ur="Drag and drop the PDF file here",jr="View comments",Wr="View comments",Vr="",Gr="Page",Yr="Comments",qr="Hide comments",Kr="Annotation tools",Qr="Show annotation tools",Jr="Hide annotation tools",Xr="Text selection tool",Zr="Text selection",$r="Highlight",_r="Highlight",ei="Change highlight color",ti="Highlight color",oi="Remove highlight",ni="Underline",ai="Underline",ri="Change underline color",ii="Underline color",li="Remove underline",si="Strikethrough",ci="Strikethrough",ui="Change strikethrough color",pi="Strikethrough color",di="Remove strikethrough",gi="Free text",mi="Free text",hi="Remove free text",fi="Change free text style",bi="Text style",Ti="Font color",wi="Font color",Si="Text size",vi="Text size",Pi="Select a text size",xi="Signature",Li="Signature",yi="Add new signature",Ai="Add new signature",Ei="Comment",Ci="Comment",Ii="Image",ki="Add image",zi="Unsupported file type",Di="File should not exceed {size}",Oi="Remove image",Fi={searchButtonTooltip:fa,searchInputPlaceholder:ba,searchInputTooltip:Ta,searchPrevTooltip:wa,searchNextTooltip:Sa,searchCloseButtonTooltip:va,searchMatchCaseLabel:Pa,searchMatchCaseTooltip:xa,searchWholeWordsLabel:La,searchWholeWordsTooltip:ya,previousPageTooltip:Aa,currentPageTooltip:Ea,nextPageTooltip:Ca,zoomOutTooltip:Ia,zoomInTooltip:ka,zoomSelectTooltip:za,zoomActualSize:Da,zoomPageFit:Oa,zoomPageWidth:Fa,themeEnableDarkTooltip:Ma,themeEnableLightTooltip:Ra,openLocalFileLabel:Na,openLocalFileTooltip:Ha,downloadFileLabel:Ba,downloadFileTooltip:Ua,printLabel:ja,printTooltip:Wa,printLoadingMessage:Va,printCancelLabel:Ga,fullScreenLabel:Ya,fullScreenTooltip:qa,moreOptionTooltip:Ka,firstPageLabel:Qa,firstPageTooltip:Ja,lastPageLabel:Xa,lastPageTooltip:Za,rotateClockwiseLabel:$a,rotateClockwiseTooltip:_a,rotateCounterclockwiseLabel:er,rotateCounterclockwiseTooltip:tr,textSelectionLabel:or,textSelectionTooltip:nr,handToolLabel:ar,handToolTooltip:rr,documentPropertiesLabel:ir,documentPropertiesTooltip:lr,pageScrollingLabel:sr,pageScrollingTooltip:cr,verticalScrollingLabel:ur,verticalScrollingTooltip:pr,horizontalLabel:dr,horizontalTooltip:gr,wrappedScrollingLabel:mr,wrappedScrollingTooltip:hr,singlePageLabel:fr,singlePageTooltip:br,dualPageLabel:Tr,dualPageTooltip:wr,dualPageWithCoverLabel:Sr,dualPageWithCoverTooltip:vr,propertiesFilenameLabel:Pr,propertiesFileSizeLabel:xr,propertiesTitleLabel:Lr,propertiesAuthorLabel:yr,propertiesSubjectLabel:Ar,propertiesKeywordLabel:Er,propertiesCreatorLabel:Cr,propertiesCreateOnLabel:Ir,propertiesModifiedOnLabel:kr,propertiesPDFProducerLabel:zr,propertiesPDFVersionLabel:Dr,propertiesPageCountLabel:Or,thumbnailTooltip:Fr,passwordModalTitle:Mr,passwordModalMessage:Rr,passwordPlaceholder:Nr,passwordConfirmLabel:Hr,passwordError:Br,dragDropFileMessage:Ur,commentPanelLabel:jr,commentPanelTooltip:Wr,commentPageSuffix:Vr,commentPagePrefix:Gr,commentLabel:Yr,commentHideTooltip:qr,annotationLabel:Kr,annotationToggleShowTooltip:Qr,annotationToggleHideTooltip:Jr,annotationTextSelectionLabel:Xr,annotationTextSelectionTooltip:Zr,annotationHighlightLabel:$r,annotationHighlightTooltip:_r,annotationHighlightColorTooltip:ei,annotationHighlightColorPickerLabel:ti,annotationHighlightDeleteTooltip:oi,annotationUnderlineLabel:ni,annotationUnderlineTooltip:ai,annotationUnderlineColorTooltip:ri,annotationUnderlineColorPickerLabel:ii,annotationUnderlineDeleteTooltip:li,annotationStrikethroughLabel:si,annotationStrikethroughTooltip:ci,annotationStrikethroughColorTooltip:ui,annotationStrikethroughColorPickerLabel:pi,annotationStrikethroughDeleteTooltip:di,annotationFreeTextLabel:gi,annotationFreeTextTooltip:mi,annotationFreeTextDeleteTooltip:hi,annotationFreeTextTextStyleTooltip:fi,annotationFreeTextTextStyleLabel:bi,annotationFreeTextFontColorLabel:Ti,annotationFreeTextFontColorTooltip:wi,annotationFreeTextTextSizeTooltip:Si,annotationFreeTextTextSizeLabel:vi,annotationFreeTextTextSizePlaceholder:Pi,annotationSignatureLabel:xi,annotationSignatureTooltip:Li,annotationSignatureAddLabel:yi,annotationSignatureAddTooltip:Ai,annotationCommentLabel:Ei,annotationCommentTooltip:Ci,annotationImageLabel:Ii,annotationImageTooltip:ki,annotationImageUnsupportedFileMessage:zi,annotationImageUnsupportedFileSizeMessage:Di,annotationImageDeleteTooltip:Oi},Mi="搜索文件",Ri="输入搜索词",Ni="搜索",Hi="上一条",Bi="下一条",Ui="关闭",ji="区分大小写",Wi="搜索区分大小写",Vi="全字匹配",Gi="搜索完全匹配",Yi="上一页",qi="当前页",Ki="下一页",Qi="缩小",Ji="放大",Xi="选择缩放级别",Zi="实际大小",$i="适合页面",_i="页面宽度",el="切换到深色模式",tl="切换到浅色模式",ol="打开文件",nl="打开文件",al="下载文件",rl="下载文件",il="打印",ll="打印",sl="准备文件",cl="取消",ul="全屏",pl="全屏",dl="更多选项",gl="第一页",ml="跳转到第一页",hl="最后一页",fl="跳转到最后一页",bl="顺时针旋转",Tl="顺时针旋转",wl="逆时针旋转",Sl="逆时针旋转",vl="文本选择工具",Pl="启用文本选择工具",xl="手型工具",Ll="启用手型工具",yl="文件属性",Al="查看文件属性",El="页面滚动",Cl="启用页面滚动",Il="垂直滚动",kl="启用垂直滚动",zl="水平滚动",Dl="启用水平滚动",Ol="环绕滚动",Fl="启用环绕滚动",Ml="单页面视图",Rl="启用单页视图",Nl="双页面视图",Hl="启用双页视图",Bl="封面双页面视图",Ul="启用封面双页视图",jl="文件名称",Wl="文件大小",Vl="标题",Gl="作者",Yl="主题",ql="关键字",Kl="创建者",Ql="创建于",Jl="修改于",Xl="PDF 制作程序 ",Zl="PDF版本",$l="页数",_l="缩略图",es="需要密码",ts="此文件受密码保护。请输入密码以打开文件。",os="输入密码",ns="提交",as="密码错误",rs="将PDF文件拖放到这里",is="查看评论",ls="查看评论",ss="第",cs="页",us="评论",ps="隐藏评论",ds="注释工具",gs="显示注释工具",ms="隐藏注释工具",hs="文本选择工具",fs="文本选择",bs="高亮",Ts="高亮",ws="更改高亮颜色",Ss="高亮颜色",vs="删除高亮",Ps="下划线",xs="下划线",Ls="更改下划线颜色",ys="下划线颜色",As="删除下划线",Es="删除线",Cs="删除线",Is="更改删除线颜色",ks="删除线颜色",zs="删除删除线",Ds="自由文本",Os="自由文本",Fs="删除自由文本",Ms="更改文本样式",Rs="文本样式",Ns="文本颜色",Hs="文本颜色",Bs="文本大小",Us="文本大小",js="选择文本大小",Ws="签名",Vs="签名",Gs="添加新签名",Ys="添加新签名",qs="注释",Ks="注释",Qs="图片",Js="添加图片",Xs="不支持此文件类型",Zs="文件大小不能超过 {size}",$s="删除图片",_s={searchButtonTooltip:Mi,searchInputPlaceholder:Ri,searchInputTooltip:Ni,searchPrevTooltip:Hi,searchNextTooltip:Bi,searchCloseButtonTooltip:Ui,searchMatchCaseLabel:ji,searchMatchCaseTooltip:Wi,searchWholeWordsLabel:Vi,searchWholeWordsTooltip:Gi,previousPageTooltip:Yi,currentPageTooltip:qi,nextPageTooltip:Ki,zoomOutTooltip:Qi,zoomInTooltip:Ji,zoomSelectTooltip:Xi,zoomActualSize:Zi,zoomPageFit:$i,zoomPageWidth:_i,themeEnableDarkTooltip:el,themeEnableLightTooltip:tl,openLocalFileLabel:ol,openLocalFileTooltip:nl,downloadFileLabel:al,downloadFileTooltip:rl,printLabel:il,printTooltip:ll,printLoadingMessage:sl,printCancelLabel:cl,fullScreenLabel:ul,fullScreenTooltip:pl,moreOptionTooltip:dl,firstPageLabel:gl,firstPageTooltip:ml,lastPageLabel:hl,lastPageTooltip:fl,rotateClockwiseLabel:bl,rotateClockwiseTooltip:Tl,rotateCounterclockwiseLabel:wl,rotateCounterclockwiseTooltip:Sl,textSelectionLabel:vl,textSelectionTooltip:Pl,handToolLabel:xl,handToolTooltip:Ll,documentPropertiesLabel:yl,documentPropertiesTooltip:Al,pageScrollingLabel:El,pageScrollingTooltip:Cl,verticalScrollingLabel:Il,verticalScrollingTooltip:kl,horizontalLabel:zl,horizontalTooltip:Dl,wrappedScrollingLabel:Ol,wrappedScrollingTooltip:Fl,singlePageLabel:Ml,singlePageTooltip:Rl,dualPageLabel:Nl,dualPageTooltip:Hl,dualPageWithCoverLabel:Bl,dualPageWithCoverTooltip:Ul,propertiesFilenameLabel:jl,propertiesFileSizeLabel:Wl,propertiesTitleLabel:Vl,propertiesAuthorLabel:Gl,propertiesSubjectLabel:Yl,propertiesKeywordLabel:ql,propertiesCreatorLabel:Kl,propertiesCreateOnLabel:Ql,propertiesModifiedOnLabel:Jl,propertiesPDFProducerLabel:Xl,propertiesPDFVersionLabel:Zl,propertiesPageCountLabel:$l,thumbnailTooltip:_l,passwordModalTitle:es,passwordModalMessage:ts,passwordPlaceholder:os,passwordConfirmLabel:ns,passwordError:as,dragDropFileMessage:rs,commentPanelLabel:is,commentPanelTooltip:ls,commentPagePrefix:ss,commentPageSuffix:cs,commentLabel:us,commentHideTooltip:ps,annotationLabel:ds,annotationToggleShowTooltip:gs,annotationToggleHideTooltip:ms,annotationTextSelectionLabel:hs,annotationTextSelectionTooltip:fs,annotationHighlightLabel:bs,annotationHighlightTooltip:Ts,annotationHighlightColorTooltip:ws,annotationHighlightColorPickerLabel:Ss,annotationHighlightDeleteTooltip:vs,annotationUnderlineLabel:Ps,annotationUnderlineTooltip:xs,annotationUnderlineColorTooltip:Ls,annotationUnderlineColorPickerLabel:ys,annotationUnderlineDeleteTooltip:As,annotationStrikethroughLabel:Es,annotationStrikethroughTooltip:Cs,annotationStrikethroughColorTooltip:Is,annotationStrikethroughColorPickerLabel:ks,annotationStrikethroughDeleteTooltip:zs,annotationFreeTextLabel:Ds,annotationFreeTextTooltip:Os,annotationFreeTextDeleteTooltip:Fs,annotationFreeTextTextStyleTooltip:Ms,annotationFreeTextTextStyleLabel:Rs,annotationFreeTextFontColorLabel:Ns,annotationFreeTextFontColorTooltip:Hs,annotationFreeTextTextSizeTooltip:Bs,annotationFreeTextTextSizeLabel:Us,annotationFreeTextTextSizePlaceholder:js,annotationSignatureLabel:Ws,annotationSignatureTooltip:Vs,annotationSignatureAddLabel:Gs,annotationSignatureAddTooltip:Ys,annotationCommentLabel:qs,annotationCommentTooltip:Ks,annotationImageLabel:Qs,annotationImageTooltip:Js,annotationImageUnsupportedFileMessage:Xs,annotationImageUnsupportedFileSizeMessage:Zs,annotationImageDeleteTooltip:$s},ec="Cerca nel documento",tc="Premi Invio per cercare",oc="Cerca",nc="Corrispondenza precedente",ac="Corrispondenza successiva",rc="Chiudi",ic="Maiuscole/minuscole",lc="Cerca testo con distinzione maiuscole/minuscole",sc="Parola intera",cc="Cerca esatte parole senza distinzione maiuscole/minuscole",uc="Pagina precedente",pc="Pagina corrente",dc="Pagina successiva",gc="Ridurre",mc="Ingrandire",hc="Seleziona un livello di zoom",fc="Dimensioni effettive",bc="Adatta pagina",Tc="Larghezza pagina",wc="Abilita tema scuro",Sc="Abilita tema chiaro",vc="Aprire file",Pc="Aprire file",xc="Scaricare file",Lc="Scaricare file",yc="Stampa",Ac="Stampa",Ec="Preparazione del documento",Cc="Annulla",Ic="Schermo intero",kc="Schermo intero",zc="Altre opzioni",Dc="Prima pagina",Oc="Vai alla prima pagina",Fc="Ultima pagina",Mc="Vai all’ultima pagina",Rc="Ruota in senso orario",Nc="Ruota in senso orario",Hc="Ruota in senso antiorario",Bc="Ruota in senso antiorario",Uc="Strumento di selezione testo",jc="Abilita strumento di selezione testo",Wc="Strumento mano",Vc="Abilita strumento mano",Gc="Proprietà documento",Yc="Visualizza proprietà documento",qc="Scorrimento pagina",Kc="Abilita lo scorrimento delle pagine",Qc="Scorrimento verticale",Jc="Abilita lo scorrimento verticale",Xc="Scorrimento orizzontale",Zc="Abilita lo scorrimento orizzontale",$c="Scorrimento avvolto",_c="Abilita lo scorrimento avvolto",eu="Doppio",tu="Visualizzazione singola",ou="Singolo",nu="Visualizzazione doppio",au="Doppio con copertina",ru="Visualizzazione doppio con copertina",iu="Nome file",lu="Dimensione file",su="Titolo",cu="Autore",uu="Oggetto",pu="Parole chiave",du="Creatore",gu="Creato il",mu="Modificato il",hu="Produttore PDF",fu="Versione PDF",bu="Numero di pagine",Tu="Miniature",wu="Password richiesta",Su="Questo documento è protetto da password. Si prega di inserire una password per aprire il file.",vu="Inserisci la password",Pu="Invia",xu="Password errata",Lu="Trascina e rilascia il file PDF qui",yu="Visualizza commenti",Au="Visualizza commenti",Eu="",Cu="Pagina",Iu="Commenti",ku="Nascondi commenti",zu="Strumenti annotazione",Du="Mostra strumenti annotazione",Ou="Nascondi strumenti annotazione",Fu="Strumento selezione testo",Mu="Selezione testo",Ru="Evidenzia",Nu="Evidenzia",Hu="Cambia colore evidenziazione",Bu="Colore evidenziazione",Uu="Rimuovi evidenziazione",ju="Sottolineato",Wu="Sottolineato",Vu="Cambia colore sottolineato",Gu="Colore sottolineato",Yu="Rimuovi sottolineato",qu="Barrato",Ku="Barrato",Qu="Cambia colore barrato",Ju="Colore barrato",Xu="Rimuovi barrato",Zu="Testo libero",$u="Testo libero",_u="Rimuovi testo libero",ep="Cambia stile testo",tp="Stile testo",op="Colore testo",np="Dimensione testo",ap="Dimensione testo",rp="Seleziona una dimensione testo",ip="Colore testo",lp="Firma",sp="Firma",cp="Aggiungi nuova firma",up="Aggiungi nuova firma",pp="Commento",dp="Commento",gp="Immagine",mp="Aggiungi immagine",hp="Tipo di file non supportato",fp="Il file non deve superare {size}",bp="Elimina immagine",Tp={searchButtonTooltip:ec,searchInputPlaceholder:tc,searchInputTooltip:oc,searchPrevTooltip:nc,searchNextTooltip:ac,searchCloseButtonTooltip:rc,searchMatchCaseLabel:ic,searchMatchCaseTooltip:lc,searchWholeWordsLabel:sc,searchWholeWordsTooltip:cc,previousPageTooltip:uc,currentPageTooltip:pc,nextPageTooltip:dc,zoomOutTooltip:gc,zoomInTooltip:mc,zoomSelectTooltip:hc,zoomActualSize:fc,zoomPageFit:bc,zoomPageWidth:Tc,themeEnableDarkTooltip:wc,themeEnableLightTooltip:Sc,openLocalFileLabel:vc,openLocalFileTooltip:Pc,downloadFileLabel:xc,downloadFileTooltip:Lc,printLabel:yc,printTooltip:Ac,printLoadingMessage:Ec,printCancelLabel:Cc,fullScreenLabel:Ic,fullScreenTooltip:kc,moreOptionTooltip:zc,firstPageLabel:Dc,firstPageTooltip:Oc,lastPageLabel:Fc,lastPageTooltip:Mc,rotateClockwiseLabel:Rc,rotateClockwiseTooltip:Nc,rotateCounterclockwiseLabel:Hc,rotateCounterclockwiseTooltip:Bc,textSelectionLabel:Uc,textSelectionTooltip:jc,handToolLabel:Wc,handToolTooltip:Vc,documentPropertiesLabel:Gc,documentPropertiesTooltip:Yc,pageScrollingLabel:qc,pageScrollingTooltip:Kc,verticalScrollingLabel:Qc,verticalScrollingTooltip:Jc,horizontalLabel:Xc,horizontalTooltip:Zc,wrappedScrollingLabel:$c,wrappedScrollingTooltip:_c,singlePageLabel:eu,singlePageTooltip:tu,dualPageLabel:ou,dualPageTooltip:nu,dualPageWithCoverLabel:au,dualPageWithCoverTooltip:ru,propertiesFilenameLabel:iu,propertiesFileSizeLabel:lu,propertiesTitleLabel:su,propertiesAuthorLabel:cu,propertiesSubjectLabel:uu,propertiesKeywordLabel:pu,propertiesCreatorLabel:du,propertiesCreateOnLabel:gu,propertiesModifiedOnLabel:mu,propertiesPDFProducerLabel:hu,propertiesPDFVersionLabel:fu,propertiesPageCountLabel:bu,thumbnailTooltip:Tu,passwordModalTitle:wu,passwordModalMessage:Su,passwordPlaceholder:vu,passwordConfirmLabel:Pu,passwordError:xu,dragDropFileMessage:Lu,commentPanelLabel:yu,commentPanelTooltip:Au,commentPageSuffix:Eu,commentPagePrefix:Cu,commentLabel:Iu,commentHideTooltip:ku,annotationLabel:zu,annotationToggleShowTooltip:Du,annotationToggleHideTooltip:Ou,annotationTextSelectionLabel:Fu,annotationTextSelectionTooltip:Mu,annotationHighlightLabel:Ru,annotationHighlightTooltip:Nu,annotationHighlightColorTooltip:Hu,annotationHighlightColorPickerLabel:Bu,annotationHighlightDeleteTooltip:Uu,annotationUnderlineLabel:ju,annotationUnderlineTooltip:Wu,annotationUnderlineColorTooltip:Vu,annotationUnderlineColorPickerLabel:Gu,annotationUnderlineDeleteTooltip:Yu,annotationStrikethroughLabel:qu,annotationStrikethroughTooltip:Ku,annotationStrikethroughColorTooltip:Qu,annotationStrikethroughColorPickerLabel:Ju,annotationStrikethroughDeleteTooltip:Xu,annotationFreeTextLabel:Zu,annotationFreeTextTooltip:$u,annotationFreeTextDeleteTooltip:_u,annotationFreeTextTextStyleTooltip:ep,annotationFreeTextTextStyleLabel:tp,annotationFreeTextFontColorTooltip:op,annotationFreeTextTextSizeTooltip:np,annotationFreeTextTextSizeLabel:ap,annotationFreeTextTextSizePlaceholder:rp,annotationFreeTextFontColorLabel:ip,annotationSignatureLabel:lp,annotationSignatureTooltip:sp,annotationSignatureAddLabel:cp,annotationSignatureAddTooltip:up,annotationCommentLabel:pp,annotationCommentTooltip:dp,annotationImageLabel:gp,annotationImageTooltip:mp,annotationImageUnsupportedFileMessage:hp,annotationImageUnsupportedFileSizeMessage:fp,annotationImageDeleteTooltip:bp},wp="Pesquisar no documento",Sp="Pressione Enter para pesquisar",vp="Pesquisar",Pp="Correspondência anterior",xp="Correspondência seguinte",Lp="Fechar",yp="Diferenciar maiúsculas/minúsculas",Ap="Pesquisar texto com distinção de maiúsculas/minúsculas",Ep="Palavra inteira",Cp="Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas",Ip="Página anterior",kp="Página atual",zp="Próxima página",Dp="Reduzir",Op="Ampliar",Fp="Selecionar nível de zoom",Mp="Tamanho real",Rp="Ajustar à página",Np="Largura da página",Hp="Ativar tema escuro",Bp="Ativar tema claro",Up="Abrir arquivo",jp="Abrir arquivo",Wp="Baixar arquivo",Vp="Baixar arquivo",Gp="Imprimir",Yp="Imprimir",qp="Preparando documento",Kp="Cancelar",Qp="Tela inteira",Jp="Tela inteira",Xp="Mais opções",Zp="Primeira página",$p="Ir para a primeira página",_p="Última página",ed="Ir para a última página",td="Girar no sentido horário",od="Girar no sentido horário",nd="Girar no sentido anti-horário",ad="Girar no sentido anti-horário",rd="Ferramenta de seleção de texto",id="Ativar ferramenta de seleção de texto",ld="Ferramenta de mão",sd="Ativar ferramenta de mão",cd="Propriedades do documento",ud="Ver propriedades do documento",pd="Rolagem página",dd="Ativar rolagem de página",gd="Rolagem vertical",md="Ativar rolagem vertical",hd="Rolagem horizontal",fd="Ativar rolagem horizontal",bd="Rolagem envolvida",Td="Ativar rolagem envolvente",wd="Página única",Sd="Ativar página única",vd="Página dupla",Pd="Ativar página dupla",xd="Página dupla com capa",Ld="Ativar página dupla com capa",yd="Nome do arquivo",Ad="Tamanho do arquivo",Ed="Título",Cd="Autor",Id="Assunto",kd="Palavras-chave",zd="Criador",Dd="Criado em",Od="Modificado em",Fd="Produtor do PDF",Md="Versão do PDF",Rd="Número de páginas",Nd="Miniatura",Hd="Senha necessária",Bd="Este documento é protegido por senha. Por favor, insira uma senha para abrir o arquivo.",Ud="Insira a senha",jd="Enviar",Wd="Senha incorreta",Vd="Arraste e solte o arquivo PDF aqui",Gd="Ver comentários",Yd="Ver comentários",qd="",Kd="Página",Qd="Comentários",Jd="Ocultar comentários",Xd="Ferramentas de anotação",Zd="Mostrar ferramentas de anotação",$d="Ocultar ferramentas de anotação",_d="Ferramenta de seleção de texto",eg="Seleção de texto",tg="Destacar",og="Destacar",ng="Alterar cor do destaque",ag="Cor de destaque",rg="Remover destaque",ig="Sublinhado",lg="Sublinhado",sg="Alterar cor do sublinhado",cg="Cor de sublinhado",ug="Remover sublinhado",pg="Tachado",dg="Tachado",gg="Alterar cor do tachado",mg="Cor de tachado",hg="Remover tachado",fg="Texto livre",bg="Texto livre",Tg="Remover texto livre",wg="Alterar estilo de texto",Sg="Estilo de texto",vg="Cor da fonte",Pg="Cor da fonte",xg="Tamanho do texto",Lg="Tamanho do texto",yg="Selecionar um tamanho de texto",Ag="Assinatura",Eg="Assinatura",Cg="Adicionar nova assinatura",Ig="Adicionar nova assinatura",kg="Comentário",zg="Comentário",Dg="Imagem",Og="Adicionar imagem",Fg="Tipo de arquivo não suportado",Mg="O arquivo não deve exceder {size}",Rg="Excluir imagem",Ng={searchButtonTooltip:wp,searchInputPlaceholder:Sp,searchInputTooltip:vp,searchPrevTooltip:Pp,searchNextTooltip:xp,searchCloseButtonTooltip:Lp,searchMatchCaseLabel:yp,searchMatchCaseTooltip:Ap,searchWholeWordsLabel:Ep,searchWholeWordsTooltip:Cp,previousPageTooltip:Ip,currentPageTooltip:kp,nextPageTooltip:zp,zoomOutTooltip:Dp,zoomInTooltip:Op,zoomSelectTooltip:Fp,zoomActualSize:Mp,zoomPageFit:Rp,zoomPageWidth:Np,themeEnableDarkTooltip:Hp,themeEnableLightTooltip:Bp,openLocalFileLabel:Up,openLocalFileTooltip:jp,downloadFileLabel:Wp,downloadFileTooltip:Vp,printLabel:Gp,printTooltip:Yp,printLoadingMessage:qp,printCancelLabel:Kp,fullScreenLabel:Qp,fullScreenTooltip:Jp,moreOptionTooltip:Xp,firstPageLabel:Zp,firstPageTooltip:$p,lastPageLabel:_p,lastPageTooltip:ed,rotateClockwiseLabel:td,rotateClockwiseTooltip:od,rotateCounterclockwiseLabel:nd,rotateCounterclockwiseTooltip:ad,textSelectionLabel:rd,textSelectionTooltip:id,handToolLabel:ld,handToolTooltip:sd,documentPropertiesLabel:cd,documentPropertiesTooltip:ud,pageScrollingLabel:pd,pageScrollingTooltip:dd,verticalScrollingLabel:gd,verticalScrollingTooltip:md,horizontalLabel:hd,horizontalTooltip:fd,wrappedScrollingLabel:bd,wrappedScrollingTooltip:Td,singlePageLabel:wd,singlePageTooltip:Sd,dualPageLabel:vd,dualPageTooltip:Pd,dualPageWithCoverLabel:xd,dualPageWithCoverTooltip:Ld,propertiesFilenameLabel:yd,propertiesFileSizeLabel:Ad,propertiesTitleLabel:Ed,propertiesAuthorLabel:Cd,propertiesSubjectLabel:Id,propertiesKeywordLabel:kd,propertiesCreatorLabel:zd,propertiesCreateOnLabel:Dd,propertiesModifiedOnLabel:Od,propertiesPDFProducerLabel:Fd,propertiesPDFVersionLabel:Md,propertiesPageCountLabel:Rd,thumbnailTooltip:Nd,passwordModalTitle:Hd,passwordModalMessage:Bd,passwordPlaceholder:Ud,passwordConfirmLabel:jd,passwordError:Wd,dragDropFileMessage:Vd,commentPanelLabel:Gd,commentPanelTooltip:Yd,commentPageSuffix:qd,commentPagePrefix:Kd,commentLabel:Qd,commentHideTooltip:Jd,annotationLabel:Xd,annotationToggleShowTooltip:Zd,annotationToggleHideTooltip:$d,annotationTextSelectionLabel:_d,annotationTextSelectionTooltip:eg,annotationHighlightLabel:tg,annotationHighlightTooltip:og,annotationHighlightColorTooltip:ng,annotationHighlightColorPickerLabel:ag,annotationHighlightDeleteTooltip:rg,annotationUnderlineLabel:ig,annotationUnderlineTooltip:lg,annotationUnderlineColorTooltip:sg,annotationUnderlineColorPickerLabel:cg,annotationUnderlineDeleteTooltip:ug,annotationStrikethroughLabel:pg,annotationStrikethroughTooltip:dg,annotationStrikethroughColorTooltip:gg,annotationStrikethroughColorPickerLabel:mg,annotationStrikethroughDeleteTooltip:hg,annotationFreeTextLabel:fg,annotationFreeTextTooltip:bg,annotationFreeTextDeleteTooltip:Tg,annotationFreeTextTextStyleTooltip:wg,annotationFreeTextTextStyleLabel:Sg,annotationFreeTextFontColorLabel:vg,annotationFreeTextFontColorTooltip:Pg,annotationFreeTextTextSizeTooltip:xg,annotationFreeTextTextSizeLabel:Lg,annotationFreeTextTextSizePlaceholder:yg,annotationSignatureLabel:Ag,annotationSignatureTooltip:Eg,annotationSignatureAddLabel:Cg,annotationSignatureAddTooltip:Ig,annotationCommentLabel:kg,annotationCommentTooltip:zg,annotationImageLabel:Dg,annotationImageTooltip:Og,annotationImageUnsupportedFileMessage:Fg,annotationImageUnsupportedFileSizeMessage:Mg,annotationImageDeleteTooltip:Rg},Hg="ค้นหาในเอกสาร",Bg="กรอกคำค้นหา",Ug="ค้นหา",jg="ผลการค้นหาก่อนหน้า",Wg="ผลการค้นหาถัดไป",Vg="ปิด",Gg="ข้อความที่มีคำ",Yg="ค้นหาข้อความที่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก",qg="ทั้งคำ",Kg="ค้นหาคำที่ตรงตัวไม่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก",Qg="หน้าก่อนหน้า",Jg="หน้าปัจจุบัน",Xg="หน้าถัดไป",Zg="ย่อ",$g="ขยาย",_g="เลือกระดับซูม",em="ขนาดจริง",tm="พอดีหน้า",om="พอดีความกว้าง",nm="เปิดโหมดมืด",am="เปิดโหมดสว่าง",rm="เปิดไฟล์",im="เปิดไฟล์",lm="ดาวน์โหลดเอกสาร",sm="ดาวน์โหลดเอกสาร",cm="พิมพ์",um="พิมพ์",pm="เตรียมเอกสาร",dm="ยกเลิก",gm="เต็มจอ",mm="เต็มจอ",hm="ตัวเลือกเพิ่มเติม",fm="หน้าแรก",bm="ไปที่หน้าแรก",Tm="หน้าสุดท้าย",wm="ไปที่หน้าสุดท้าย",Sm="หมุนตามเข็มนาฬิกา",vm="หมุนตามเข็มนาฬิกา",Pm="หมุนทวนเข็มนาฬิกา",xm="หมุนทวนเข็มนาฬิกา",Lm="เครื่องมือเลือกข้อความ",ym="เปิดใช้การเลือกข้อความ",Am="เครื่องมือแฮนด์ทูล",Em="เปิดใช้แฮนด์ทูล",Cm="คุณสมบัติของเอกสาร",Im="ดูคุณสมบัติของเอกสาร",km="การเลื่อนภายในหน้า",zm="เปิดใช้การเลื่อนภายในหน้า",Dm="การเลื่อนแนวตั้ง",Om="เปิดใช้การเลื่อนแนวตั้ง",Fm="การเลื่อนแนวนอน",Mm="เปิดใช้การเลื่อนแนวนอน",Rm="การเลื่อนแบบแรพ",Nm="เปิดใช้การเลื่อนแบบแรพ",Hm="หน้าเดี่ยว",Bm="เปิดใช้หน้าเดี่ยว",Um="หน้าคู่",jm="เปิดใช้หน้าคู่",Wm="หน้าคู่พร้อมปก",Vm="เปิดใช้หน้าคู่พร้อมปก",Gm="ชื่อเอกสาร",Ym="ขนาดเอกสาร",qm="ชื่อเรื่อง",Km="ผู้เขียน",Qm="หัวข้อ",Jm="คำสำคัญ",Xm="ผู้สร้าง",Zm="วันที่สร้าง",$m="วันที่แก้ไข",_m="ผู้ผลิต PDF",eh="เวอร์ชัน PDF",th="จำนวนหน้า",oh="ภาพย่อ",nh="กรุณากรอกรหัสผ่าน",ah="เอกสารนี้ได้รับการป้องกันด้วยรหัสผ่าน กรุณาใส่รหัสผ่านเพื่อเปิดไฟล์",rh="กรอกรหัสผ่าน",ih="ส่ง",lh="รหัสผ่านไม่ถูกต้อง",sh="ลากและวางไฟล์ PDF ที่นี่",ch="ดูความคิดเห็น",uh="ดูความคิดเห็น",ph="หน้า",dh="",gh="ความคิดเห็น",mh="ซ่อนความคิดเห็น",hh="เครื่องมือการออกแบบ",fh="แสดงเครื่องมือการออกแบบ",bh="ซ่อนเครื่องมือการออกแบบ",Th="เลือกข้อความ",wh="การเลือกข้อความ",Sh="ไฮไลท์",vh="ไฮไลท์",Ph="เปลี่ยนสีไฮไลท์",xh="สีไฮไลท์",Lh="ลบไฮไลท์",yh="ขีดเส้นใต้",Ah="ขีดเส้นใต้",Eh="เปลี่ยนสีขีดเส้นใต้",Ch="สีขีดเส้นใต้",Ih="ลบขีดเส้นใต้",kh="ขีดฆ่า",zh="ขีดฆ่า",Dh="เปลี่ยนสีขีดฆ่า",Oh="สีขีดฆ่า",Fh="ลบขีดฆ่า",Mh="ข้อความ",Rh="ข้อความ",Nh="ลบข้อความ",Hh="เปลี่ยนรูปแบบข้อความ",Bh="รูปแบบข้อความ",Uh="สีข้อความ",jh="สีข้อความ",Wh="ขนาดข้อความ",Vh="ขนาดข้อความ",Gh="เลือกขนาดข้อความ",Yh="ลายเซ็น",qh="ลายเซ็น",Kh="เพิ่มลายเซ็นใหม่",Qh="เพิ่มลายเซ็นใหม่",Jh="ความคิดเห็น",Xh="ความคิดเห็น",Zh="รูปภาพ",$h="เพิ่มรูปภาพ",_h="ประเภทไฟล์ไม่รองรับ",ef="ไฟล์ต้องมีขนาดไม่เกิน {size}",tf="ลบรูปภาพ",of={searchButtonTooltip:Hg,searchInputPlaceholder:Bg,searchInputTooltip:Ug,searchPrevTooltip:jg,searchNextTooltip:Wg,searchCloseButtonTooltip:Vg,searchMatchCaseLabel:Gg,searchMatchCaseTooltip:Yg,searchWholeWordsLabel:qg,searchWholeWordsTooltip:Kg,previousPageTooltip:Qg,currentPageTooltip:Jg,nextPageTooltip:Xg,zoomOutTooltip:Zg,zoomInTooltip:$g,zoomSelectTooltip:_g,zoomActualSize:em,zoomPageFit:tm,zoomPageWidth:om,themeEnableDarkTooltip:nm,themeEnableLightTooltip:am,openLocalFileLabel:rm,openLocalFileTooltip:im,downloadFileLabel:lm,downloadFileTooltip:sm,printLabel:cm,printTooltip:um,printLoadingMessage:pm,printCancelLabel:dm,fullScreenLabel:gm,fullScreenTooltip:mm,moreOptionTooltip:hm,firstPageLabel:fm,firstPageTooltip:bm,lastPageLabel:Tm,lastPageTooltip:wm,rotateClockwiseLabel:Sm,rotateClockwiseTooltip:vm,rotateCounterclockwiseLabel:Pm,rotateCounterclockwiseTooltip:xm,textSelectionLabel:Lm,textSelectionTooltip:ym,handToolLabel:Am,handToolTooltip:Em,documentPropertiesLabel:Cm,documentPropertiesTooltip:Im,pageScrollingLabel:km,pageScrollingTooltip:zm,verticalScrollingLabel:Dm,verticalScrollingTooltip:Om,horizontalLabel:Fm,horizontalTooltip:Mm,wrappedScrollingLabel:Rm,wrappedScrollingTooltip:Nm,singlePageLabel:Hm,singlePageTooltip:Bm,dualPageLabel:Um,dualPageTooltip:jm,dualPageWithCoverLabel:Wm,dualPageWithCoverTooltip:Vm,propertiesFilenameLabel:Gm,propertiesFileSizeLabel:Ym,propertiesTitleLabel:qm,propertiesAuthorLabel:Km,propertiesSubjectLabel:Qm,propertiesKeywordLabel:Jm,propertiesCreatorLabel:Xm,propertiesCreateOnLabel:Zm,propertiesModifiedOnLabel:$m,propertiesPDFProducerLabel:_m,propertiesPDFVersionLabel:eh,propertiesPageCountLabel:th,thumbnailTooltip:oh,passwordModalTitle:nh,passwordModalMessage:ah,passwordPlaceholder:rh,passwordConfirmLabel:ih,passwordError:lh,dragDropFileMessage:sh,commentPanelLabel:ch,commentPanelTooltip:uh,commentPagePrefix:ph,commentPageSuffix:dh,commentLabel:gh,commentHideTooltip:mh,annotationLabel:hh,annotationToggleShowTooltip:fh,annotationToggleHideTooltip:bh,annotationTextSelectionLabel:Th,annotationTextSelectionTooltip:wh,annotationHighlightLabel:Sh,annotationHighlightTooltip:vh,annotationHighlightColorTooltip:Ph,annotationHighlightColorPickerLabel:xh,annotationHighlightDeleteTooltip:Lh,annotationUnderlineLabel:yh,annotationUnderlineTooltip:Ah,annotationUnderlineColorTooltip:Eh,annotationUnderlineColorPickerLabel:Ch,annotationUnderlineDeleteTooltip:Ih,annotationStrikethroughLabel:kh,annotationStrikethroughTooltip:zh,annotationStrikethroughColorTooltip:Dh,annotationStrikethroughColorPickerLabel:Oh,annotationStrikethroughDeleteTooltip:Fh,annotationFreeTextLabel:Mh,annotationFreeTextTooltip:Rh,annotationFreeTextDeleteTooltip:Nh,annotationFreeTextTextStyleTooltip:Hh,annotationFreeTextTextStyleLabel:Bh,annotationFreeTextFontColorLabel:Uh,annotationFreeTextFontColorTooltip:jh,annotationFreeTextTextSizeTooltip:Wh,annotationFreeTextTextSizeLabel:Vh,annotationFreeTextTextSizePlaceholder:Gh,annotationSignatureLabel:Yh,annotationSignatureTooltip:qh,annotationSignatureAddLabel:Kh,annotationSignatureAddTooltip:Qh,annotationCommentLabel:Jh,annotationCommentTooltip:Xh,annotationImageLabel:Zh,annotationImageTooltip:$h,annotationImageUnsupportedFileMessage:_h,annotationImageUnsupportedFileSizeMessage:ef,annotationImageDeleteTooltip:tf},nf={ANNOTATIONS:"annotations"},af={en_US:Fi,zh_CN:_s,it_IT:Tp,pt_PT:Ng,th_TH:of},rf=Symbol("VPV Current Localization"),lf=nt,sf=exports.aI,cf={Black:"#000000",DarkGray:"#444444",Gray:"#696969",LightGray:"#9C9C9C",LightestGray:"#CDCDCD",ChristmasWhite:"#EDEDED"},K={...cf,Purple:"#7862FF",Blue:"#1777FF",Red:"#F66365",Orange:"#F67E63",Yellow:"#F5C463",Green:"#48BB77"},uf={[K.Black]:"Black",[K.DarkGray]:"Dark Gray",[K.Gray]:"Gray",[K.LightGray]:"Light Gray",[K.LightestGray]:"Lightest Gray",[K.ChristmasWhite]:"Christmas White",[K.Purple]:"Purple",[K.Blue]:"Blue",[K.Red]:"Red",[K.Orange]:"Orange",[K.Yellow]:"Yellow",[K.Green]:"Green"},pe="pdfjs_internal_editor_",pf={SELECTING:"selecting",FOCUS_IN:"focusin"},df={searchable:!0,navigatable:!0,zoomable:!0,themeSwitchable:!0,fullscreen:!0,downloadable:!0,newFileOpenable:!0,printable:!0,sidebarEnable:!0,thumbnailViewable:!0,rotatable:!0,pointerSwitchable:!0,docPropertiesEnabled:!0,jumpNavigatable:!0,scrollingSwitchable:!0,pageViewSwitchable:!0,commentPanelEnabled:!0};me.PageFit,st.Vertical,Ee.SinglePage;const gf={left:0,top:0},mf=768,hf=100,ff=.25,bf=10,Tf=1.1,wf=.0025,Sf=25e-5,vf=.075,Ct=20,Pf=1,xf=0,Lf=4,yf=97,Af=Symbol(),Ef="vpv-highlight__text-current",Cf=Symbol(),If=Symbol(),kf=Symbol(),zf=Symbol(),Df=Symbol(),Of=Symbol(),Ff=Symbol(),Mf=Symbol(),Rf=Symbol(),Nf=Symbol(),Hf=Symbol(),Bf=Symbol("PagesContainer"),Uf=Symbol(),jf=Symbol(),Wf=Symbol(),Vf=Symbol(),Gf=Symbol(),Yf=Symbol(),pt=Symbol(),io=Symbol(),qf=Symbol(),Kf=Symbol(),Qf=Symbol(),Jf=Symbol(),Xf=Symbol(),Zf=Symbol(),$f=Symbol(),_f=Symbol(),eb=Symbol(),tb={ANNOTATION_IMAGE_MANAGER:Symbol("AnnotationImageManager"),ENABLE_ANNOTATION_EDITOR:Symbol("EnableAnnotationEditor"),ACTIVE_ANNOTATION:Symbol("AnnotationType"),ENABLE_ANNOTATION_IMAGE_EDITOR:Symbol("EnableAnnotationImageEditor"),FREE_TEXT_FONT_COLORS:Symbol("AnnotationFreeTextFontColors"),FREE_TEXT_FONT_SIZE_VALUES:Symbol("AnnotationFreeTextFontSizeValues"),TEXT_SELECTION_OPTION:Symbol("AnnotationTextSelectionOption"),TEXT_SELECTION_DEFAULT_TOOL:Symbol("AnnotationTextSelectionDefaultTool"),TEXT_SELECTION_DEFAULT_HIGHLIGHT_COLORS:Symbol("AnnotationTextSelectionDefaultHighlightColors"),TEXT_SELECTION_DEFAULT_UNDERLINE_COLORS:Symbol("AnnotationTextSelectionDefaultUnderlineColors"),TEXT_SELECTION_DEFAULT_STRIKETHROUGH_COLORS:Symbol("AnnotationTextSelectionDefaultStrikethroughColors"),TEXT_SELECTION_HIGHLIGHT_COLOR:Symbol("AnnotationTextSelectionHighlightColor"),TEXT_SELECTION_UNDERLINE_COLOR:Symbol("AnnotationTextSelectionUnderlineColor"),TEXT_SELECTION_STRIKETHROUGH_COLOR:Symbol("AnnotationTextSelectionStrikethroughColor")},ob=Symbol("instanceId"),nb=Symbol(),dt={isValidated:!1,isValidating:!0,isValidKey:!1,licenseKey:null,type:lt.Unlicense,product:ct.Viewer},ab=Symbol(),rb=Symbol(),ib=Symbol(),lb=Symbol(),sb=96,cb=72,ub={PDF_TO_CSS_UNITS:sb/cb},Ke=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0")),pb=(e,t,o)=>`#${Ke[e]}${Ke[t]}${Ke[o]}`,db=e=>{if(!e||e.length<3)return[0,0,0];const[t,o,n]=e;return[t,o,n]};function gt(e){const t=e.replace("#",""),o=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return new Uint8ClampedArray([o,n,a])}function gb(e){const t=e.replace("#","");if(t.length!==6)return null;const o=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return isNaN(o)||isNaN(n)||isNaN(a)?null:{r:o,g:n,b:a}}function mb(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}async function hb(e){const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch image: ${t.status}`);return t.blob()}let Ne=null;async function fb(){return Ne||(Ne=(async()=>{try{const e='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',o=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0});if(!o)return!1;const n=new Image;n.src=e,await n.decode(),o.drawImage(n,0,0,1,1,0,0,1,3);const a=o.getImageData(0,0,1,1);return new Uint32Array(a.data.buffer)[0]===0}catch(e){return I.debug("SVG fitting canvas check failed:",e),!1}})(),Ne)}class bb{baseId;idCounter=0;cache=new Map;constructor(t={}){this.baseId=t.baseId||mb()}async get(t,o){let n=this.cache.get(t);if(n===null)return null;if(n?.bitmap)return n.refCounter+=1,n;try{n=n||{bitmap:null,id:`image_${this.baseId}_${this.idCounter++}`,refCounter:0,isSvg:!1};let a;if(typeof o=="string")n.url=o,a=await hb(o);else if(o instanceof File)n.file=o,a=o;else if(o instanceof Blob)a=o;else throw new Error("Invalid raw data type");return a.type==="image/svg+xml"?await this.handleSvgImage(n,a):n.bitmap=await createImageBitmap(a),n.refCounter=1,this.cache.set(t,n),this.cache.set(n.id,n),n}catch(a){return I.debug("Failed to load image:",a),this.cache.set(t,null),null}}async handleSvgImage(t,o){const n=await fb();return new Promise((a,r)=>{const l=new FileReader,s=new Image;s.onload=()=>{t.bitmap=s,t.isSvg=!0,a()},l.onload=async()=>{const c=l.result;t.svgUrl=c,s.src=n?`${c}#svgView(preserveAspectRatio(none))`:c},s.onerror=r,l.onerror=r,l.readAsDataURL(o)})}async getFromFile(t){const{lastModified:o,name:n,size:a,type:r}=t,l=`${o}_${n}_${a}_${r}`;return this.get(l,t)}async getFromUrl(t){return this.get(t,t)}async getFromBlob(t,o){const n=await o;return this.get(t,n)}async getFromId(t){const o=this.cache.get(t);if(!o)return null;if(o.bitmap)return o.refCounter+=1,o;if(o.file)return this.getFromFile(o.file);if(o.blobPromise){const n=o.blobPromise;return delete o.blobPromise,this.getFromBlob(o.id,n)}return o.url?this.getFromUrl(o.url):null}getFromCanvas(t,o){let n=this.cache.get(t);if(n?.bitmap)return n.refCounter+=1,n;const a=new OffscreenCanvas(o.width,o.height),r=a.getContext("2d");if(!r)throw new Error("Failed to get 2D context from OffscreenCanvas");return r.drawImage(o,0,0),n={bitmap:a.transferToImageBitmap(),id:`image_${this.baseId}_${this.idCounter++}`,refCounter:1,isSvg:!1},this.cache.set(t,n),this.cache.set(n.id,n),n}getSvgUrl(t){const o=this.cache.get(t);return o?.isSvg&&o.svgUrl||null}deleteId(t){const o=this.cache.get(t);if(!o||(o.refCounter-=1,o.refCounter!==0))return;const{bitmap:n}=o;if(!o.url&&!o.file&&n instanceof ImageBitmap){const a=new OffscreenCanvas(n.width,n.height),r=a.getContext("bitmaprenderer");r&&(r.transferFromImageBitmap(n),o.blobPromise=a.convertToBlob())}n instanceof ImageBitmap&&n.close(),o.bitmap=null}isValidId(t){return t.startsWith(`image_${this.baseId}_`)}getCachedIds(){return Array.from(this.cache.keys()).filter(t=>this.isValidId(t))}getCacheStats(){let t=0,o=0,n=0;for(const[a,r]of this.cache)r&&this.isValidId(a)&&(t++,r.bitmap&&(o++,r.bitmap instanceof ImageBitmap&&(n+=r.bitmap.width*r.bitmap.height*4)));return{totalImages:t,loadedImages:o,totalMemory:n}}clear(){for(const[t,o]of this.cache)o&&this.isValidId(t)&&o.bitmap instanceof ImageBitmap&&o.bitmap.close();this.cache.clear()}async bitmapToDataUrl(t){const{bitmap:o,isSvg:n}=t;if(n&&t.svgUrl)return t.svgUrl;const a=document.createElement("canvas");a.width=o instanceof ImageBitmap?o.width:o.naturalWidth,a.height=o instanceof ImageBitmap?o.height:o.naturalHeight;const r=a.getContext("2d");if(!r)throw new Error("Failed to get 2D context");return r.drawImage(o,0,0),a.toDataURL()}async serializeBitmap(t,o){const{bitmap:n,isSvg:a}=t;if(!a||!o?.width||!o?.height)return n instanceof ImageBitmap?structuredClone(n):await createImageBitmap(n);const{width:r,height:l}=o,s=new OffscreenCanvas(r,l),c=s.getContext("2d");if(!c)throw new Error("Failed to get 2D context");return c.drawImage(n,0,0,n.width??n.naturalWidth,n.height??n.naturalHeight,0,0,r,l),s.transferToImageBitmap()}}const at=new bb({baseId:`viewer_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}),lo=i.ref(null),Tb=e=>{lo.value=e};let wb=0;const Be=i.ref(null),Sb=i.ref(new Map);let re=null;const ce=new Map,Qe=i.ref(0),vb=i.ref(0),xe=i.ref(!1),Je=i.ref(!1);async function Pb(e,t){if(!Be.value)return;const o=await e.getAnnotations({intent:"display"}),n=i.toRaw(Be.value);for(const a of o){if(a.annotationType!==exports.A.Underline&&a.annotationType!==exports.A.StrikeOut)continue;const r=n.getRawValue(a.id);r?.deleted||r?.editorKey||n.setValue(a.id,{...a,noView:t})}}async function xb(e){const t={annotationType:e.annotationType,pageIndex:e.pageIndex||0,rect:Array.isArray(e.rect)?Array.from(e.rect):e.rect,rotation:0,opacity:1,...!e.id?.startsWith(pe)&&{id:e.id}};if(e.borderStyle&&(t.borderStyle=i.toRaw(e.borderStyle)),e.contentsObj&&(t.contentsObj=i.toRaw(e.contentsObj)),e.contents&&(t.popup={contents:e.contents}),e.hexColor?t.color=gt(e.hexColor):e.color&&(t.color=Array.from(e.color)),e.quadPoints&&(t.quadPoints=Array.from(e.quadPoints)),e.outlines&&(t.outlines=e.outlines),e.user&&(t.user=e.user),e.deleted&&(t.deleted=!0,t.noPrint=!0,e.popupRef&&(t.popupRef=e.popupRef)),e.originalAnnotation&&delete t.originalAnnotations,e.annotationType===exports.A.Stamp&&e.bitmapId){t.bitmapId=e.bitmapId;const o=await at.getFromId(e.bitmapId);o?.isSvg?t.bitmap=await at.serializeBitmap(o,{width:e.width,height:e.height}):t.bitmap=await createImageBitmap(o.file)}return e.annotationType===exports.A.FreeText&&(t.structTreeParentId=null,t.value=e.value,t.fontSize=e.fontSize,delete t.opacity),e.annotationType===exports.A.Widget&&(t.noView=!1,t.noPrint=!1,e.checkBox&&(t.value=e.value??!1)),t}function Lb(){const e=Be,t=Sb,o=()=>e.value?!0:(I.warn("Annotation storage is not initialized. Please call setStorage first."),!1),n=g=>(e.value=g.annotationStorage,xe.value=!1,e.value),a=()=>{re&&(clearTimeout(re),re=null),ce.clear(),Je.value=!0},r=g=>{Je.value=!1,g.forEach(({key:m,value:h})=>{ce.set(m,h)}),re&&clearTimeout(re),re=setTimeout(()=>{if(Je.value){ce.clear(),re=null;return}if(e.value&&ce.size>0){ce.forEach((h,f)=>{i.toRaw(e.value)?.setValue(f,h)}),ce.clear(),xe.value=!0,Qe.value++;const m=e.value;e.value=null,i.nextTick(()=>{e.value=m}),re=null}else I.warn("batchUpdate called but storage is null or no pending updates")},50)},l=(g,m,h=!1)=>{if(o())try{if(h){const f={...m,...m.rect&&{rect:Array.isArray(m.rect)?Array.from(m.rect):m.rect},...m.quadPoints&&{quadPoints:Array.isArray(m.quadPoints)?Array.from(m.quadPoints):m.quadPoints},...m.outlines&&{outlines:Array.isArray(m.outlines)?Array.from(m.outlines.map(b=>Array.from(b))):m.outlines},...m.hexColor&&{hexColor:m.hexColor}};f.hexColor?(f.color=gt(f.hexColor),delete f.hexColor):f.color&&(f.color=Array.from(f.color)),t.value.set(g,f)}else i.toRaw(e.value)?.setValue(g,m);xe.value=!0,Qe.value++,I.debug("✅ setAnnotationValue completed successfully")}catch(f){I.error("❌ Error in setAnnotationValue:",f)}},s=()=>xe.value||t.value.size>0,c=g=>{try{if(!g||typeof g!="object")return!1;if(g.rect){if(!Array.isArray(g.rect)&&!ArrayBuffer.isView(g.rect))return I.warn("Invalid rect property in annotation data - not an array or TypedArray"),!1;if(g.rect.length!==4)return I.warn("Invalid rect length in annotation data"),!1;if(!g.rect.every(m=>typeof m=="number"&&!isNaN(m)))return I.warn("Invalid rect values in annotation data"),!1}if(g.quadPoints){if(!Array.isArray(g.quadPoints)&&!ArrayBuffer.isView(g.quadPoints))return I.warn("Invalid quadPoints property in annotation data - not an array or TypedArray"),!1;if(g.quadPoints.length>0&&g.quadPoints.length%8!==0)return I.warn(`Invalid quadPoints length: ${g.quadPoints.length} (should be 0 or multiple of 8)`),I.debug("quadPoints data:",g.quadPoints),!1;if(g.quadPoints.length>0&&!g.quadPoints.every(m=>typeof m=="number"&&!isNaN(m)))return I.warn("Invalid quadPoints values in annotation data"),I.debug("quadPoints data with non-numeric values:",g.quadPoints),!1}if(g.color){if(!Array.isArray(g.color)&&!ArrayBuffer.isView(g.color))return I.warn("Invalid color property in annotation data - not an array or TypedArray"),!1;if(g.color.length!==3)return I.warn("Invalid color length in annotation data"),!1;if(!g.color.every(m=>typeof m=="number"&&m>=0&&m<=255))return I.warn("Invalid color values in annotation data"),!1}return!0}catch(m){return I.warn("Annotation data validation failed:",m),!1}},d=async g=>{if(!e.value)throw new Error("Annotation storage is not initialized");try{const m=g.annotationStorage;I.debug("[saveAnnotationsToDocumentSimplified] documentStorage",m.serializable);const h=i.toRaw(t.value);for(let[b,L]of h.entries()){if(L.annotationType===exports.A.Underline||L.annotationType===exports.A.StrikeOut)continue;let D=await xb(L);I.debug("[saveAnnotationsToDocumentSimplified] serializedAnnotation of",b,D),L.annotationType===exports.A.Widget&&(b=L.id),m.setValue(b,D)}return I.debug(">>>documentStorage",m.serializable.map),await g.saveDocument()}catch(m){throw I.error("Failed to save annotations:",m),m}finally{I.debug("[saveAnnotationsToDocumentSimplified] finally",i.toRaw(e.value));for(const[m,h]of i.toRaw(e.value)?.serializable?.map?.entries()||[])m.startsWith(pe)&&i.toRaw(e.value).remove(m)}};return{annotationStorage:e,annotationEditorStorageMap:t,setStorage:n,batchUpdate:r,setAnnotationValue:l,hasModifications:s,saveAnnotationsToDocument:async g=>{const m=i.toRaw(t.value),h=[],f=[];let b=!1;for(const[N,A]of m.entries())if(A.annotationType===exports.A.Underline||A.annotationType===exports.A.StrikeOut){if(A.deleted){A.id&&!A.id.startsWith(pe)&&f.push({id:A.id,pageIndex:A.pageIndex,annotationType:A.annotationType,rect:A.rect,quadPoints:A.quadPoints});continue}A.id&&!A.id.startsWith(pe)&&f.push({id:A.id,pageIndex:A.pageIndex,annotationType:A.annotationType,rect:A.rect,quadPoints:A.quadPoints});const C=new Date;A.creationDate||(A.creationDate=C),A.modificationDate=C,h.push(A)}else b=!0;if(h.length===0&&f.length===0)return d(g);const L=lo.value;if(!L)return I.warn("[saveAnnotationsWithTextMarkup] No annotation plugin API available - text markup annotations will not be saved"),d(g);const D=await L.exportToPdf(h,f);if(!D)return I.error("[saveAnnotationsWithTextMarkup] Plugin failed to serialize text markup annotations - exportToPdf returned null (likely originalPdfBytes is null)"),d(g);if(b){const A=await(await import("pdfjs-dist")).getDocument({data:D}).promise;try{return await d(A)}finally{A.destroy()}}return D},saveAnnotationsToDocumentSimplified:d,cleanAnnotationStorage:()=>{a(),Be.value=null,xe.value=!1,t.value=new Map},validateAnnotationData:c,renderTrigger:Qe,canvasRenderTrigger:vb,cancelBatchUpdate:a,ensureStorageInitialized:o,getEditorKey:()=>`${pe}${wb++}`,getAnnotationById:g=>o()?i.toRaw(e.value)?.getRawValue(g):null,findEditorAnnotationKey:g=>Array.from(t.value.keys()).find(m=>t.value.get(m)?.id===g)}}let so="";so="https://unpkg.com/@vue-pdf-viewer/viewer@3.11.0-beta.3/dist/assets/pdf-annotations/";const yb=so,Ab=1,Eb=1e6,oe={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Xe=0;function Cb(){return Xe=(Xe+1)%Number.MAX_VALUE,Xe.toString()}const Ze=new Map;function It(e){if(Ze.has(e))return;const t=setTimeout(()=>{Ze.delete(e),ye({type:oe.REMOVE_TOAST,toastId:e})},Eb);Ze.set(e,t)}const Q=i.ref({toasts:[]});function ye(e){switch(e.type){case oe.ADD_TOAST:Q.value.toasts=[e.toast,...Q.value.toasts].slice(0,Ab);break;case oe.UPDATE_TOAST:Q.value.toasts=Q.value.toasts.map(t=>t.id===e.toast.id?{...t,...e.toast}:t);break;case oe.DISMISS_TOAST:{const{toastId:t}=e;t?It(t):Q.value.toasts.forEach(o=>{It(o.id)}),Q.value.toasts=Q.value.toasts.map(o=>o.id===t||t===void 0?{...o,open:!1}:o);break}case oe.REMOVE_TOAST:e.toastId===void 0?Q.value.toasts=[]:Q.value.toasts=Q.value.toasts.filter(t=>t.id!==e.toastId);break}}function Ib(){return{toasts:i.computed(()=>Q.value.toasts),toast:kb,dismiss:e=>ye({type:oe.DISMISS_TOAST,toastId:e})}}function kb(e){const t=Cb(),o=a=>ye({type:oe.UPDATE_TOAST,toast:{...a,id:t}}),n=()=>ye({type:oe.DISMISS_TOAST,toastId:t});return ye({type:oe.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:a=>{a||n()}}}),{id:t,dismiss:n,update:o}}exports.$=lb;exports.B=Sf;exports.C=I;exports.D=df;exports.E=sf;exports.F=rb;exports.G=at;exports.H=_f;exports.I=Rf;exports.J=pf;exports.K=qf;exports.L=lt;exports.M=ia;exports.N=eb;exports.O=Ht;exports.P=Bf;exports.Q=Yt;exports.R=ib;exports.S=st;exports.T=vf;exports.U=Pb;exports.V=Ee;exports.W=Cf;exports.X=sn;exports.Y=Ef;exports.Z=me;exports._=Df;exports.a=ct;exports.a0=Qf;exports.a1=hf;exports.a2=Wf;exports.a3=jf;exports.a4=en;exports.a5=ln;exports.a6=ea;exports.a7=Qt;exports.a8=ab;exports.a9=tn;exports.aA=ta;exports.aB=gb;exports.aC=na;exports.aD=oa;exports.aE=pt;exports.aF=dt;exports.aG=Tb;exports.aH=Ib;exports.aK=mf;exports.aL=ha;exports.aM=it;exports.aN=Wt;exports.aO=yf;exports.aP=Uf;exports.aQ=If;exports.aR=Mf;exports.aS=Of;exports.aT=nb;exports.aU=Ft;exports.aV=nf;exports.aW=lf;exports.aX=yb;exports.aY=Yo;exports.aZ=Vt;exports.a_=qt;exports.aa=un;exports.ab=Qn;exports.ac=Nf;exports.ad=ff;exports.ae=bf;exports.af=Tf;exports.ag=Kf;exports.ah=_n;exports.ai=Ff;exports.aj=Jf;exports.ak=Xf;exports.al=Zf;exports.am=$f;exports.an=Af;exports.ao=Yf;exports.ap=kf;exports.aq=an;exports.ar=Gf;exports.as=Vf;exports.at=pn;exports.au=Fo;exports.av=Bt;exports.aw=Jn;exports.ax=gf;exports.ay=xf;exports.az=Lf;exports.b=af;exports.c=zf;exports.d=Gt;exports.e=ob;exports.f=tb;exports.g=Lb;exports.h=pe;exports.i=rf;exports.j=aa;exports.k=Hf;exports.l=Kn;exports.m=ub;exports.n=_o;exports.o=Vo;exports.p=vo;exports.q=cn;exports.r=Lo;exports.s=uf;exports.t=gt;exports.u=ma;exports.v=db;exports.w=pb;exports.x=ra;exports.y=jt;exports.z=wf;
|
|
48
|
+
-----END PUBLIC KEY-----`)}if(!l)throw I.error("[License] ✗ All verification methods failed"),new Error(he.invalidSignature);return JSON.parse(atob(n))}catch(o){throw I.debug("Error decrypting license:",o),new Error(he.invalidLicense)}}const ma=(e,t)=>{const o=Bt("VPV:license","",localStorage),n=i.computed(()=>o.value?pa(o.value):null),a=i.reactive({...dt,...n.value}),r=i.computed(()=>i.unref(e)),l=(u,p)=>{switch(u){case"specific":return p===window.location.host;case"wildcard":return p?window.location.host.includes(p):!1}},s=u=>{I.debug("validateLicense",u);const{avu:p,exp:w,t:T}=u;if(!w)throw new Error("License is missing expiration timestamp");if(w>Number.MAX_SAFE_INTEGER/1e3)throw new Error("Invalid expiration timestamp: value too large");const g=new Date(w*1e3),m=new Date().getTime();if(g.getTime()<m)throw new Error(he.expired);if(!p)throw new Error("License is missing available until version timestamp");if(p>Number.MAX_SAFE_INTEGER/1e3)throw new Error("Invalid available until version timestamp: value too large");if(new Date(p*1e3).getTime()<la.getTime())throw new Error(he.exceededVersion);if(T!=="custom"&&!l(u.dmt,u.dm))throw new Error(he.mismatchedDomain)};i.watch(r,async u=>{if(u){a.isValidating=!0;try{const p=await ga(u);s(p),a.isValidKey=!0,a.type=p.t,a.product=p.p}catch(p){I.debug("Error decrypting license:",p),a.isValidKey=!1,a.invalidatedMessage=p instanceof Error?p.message:String(p)}finally{a.isValidating=!1,a.isValidated=!0}o.value=ua({isValidKey:a.isValidKey,isValidating:a.isValidating,isValidated:a.isValidated,type:a.type,product:a.product})}},{immediate:!0});const c=i.getCurrentInstance(),d=t||c?.appContext?.app;return d&&(d.provide(pt,a),d.provide(io,r)),{license:a}};function ha(e){const t=i.inject(pt,{...dt}),o=i.inject(io,i.computed(()=>{})),n=i.ref(null),a=(r,l=he.invalidLicense)=>{n.value&&(n.value.remove(),n.value=null);const s=Zn(r);let c={message:"",style:[]};try{const d=JSON.parse(l);c.message=d.message,c.style=d.style}catch{c.message=l,c.style=[]}I.warn(c.message,...c.style),n.value=s};return i.watch([()=>t,e,()=>o.value],([r,l,s])=>{if(!l){I.debug("NoContainerYet");return}const{isValidKey:c,isValidating:d,invalidatedMessage:u}=r;if(!(c&&s)){if(!s){I.debug("Unlicense case: no provided key"),a(l),r.isValidating=!1;return}d||(c?n.value&&(n.value.remove(),n.value=null):(I.debug("Unlicense case: invalid key"),a(l,u)))}},{deep:!0}),Ae(n,r=>{r.length&&a(e.value)},{attributes:!0,childList:!0,subtree:!0,characterData:!0}),Ae(e,r=>{if(!t.isValidKey){if(!r.length)return;for(const l of r)(l?.target===n.value||l?.removedNodes?.[0]===n.value||l.type==="childList"&&l.target===e.value&&l.target.lastChild!==n.value)&&a(e.value)}},{attributes:!0,childList:!0,subtree:!0,characterData:!0}),{license:t}}var At;(function(e){e.APNG="image/apng",e.AVIF="image/avif",e.BMP="image/bmp",e.GIF="image/gif",e.JPEG="image/jpeg",e.PNG="image/png",e.SVG="image/svg+xml",e.WEBP="image/webp",e.ICON="image/x-icon"})(At||(At={}));exports.aJ=void 0;(function(e){e.UnsupportedFileType="unsupported-file-type",e.FileSizeExceeded="file-size-exceeded"})(exports.aJ||(exports.aJ={}));var nt;(function(e){e.textSelection="vpv:annotation:textSelection",e.freeText="vpv:annotation:freeText",e.signature="vpv:annotation:signature",e.image="vpv:annotation:image",e.highlight="vpv:annotation:highlight",e.underline="vpv:annotation:underline",e.strikeout="vpv:annotation:strikeout"})(nt||(nt={}));exports.aI=void 0;(function(e){e.AnnotationCreated="vpv:annotation:created",e.AnnotationUpdated="vpv:annotation:updated",e.AnnotationDeleted="vpv:annotation:deleted",e.AnnotationMounted="vpv:annotation:mounted",e.Rotate="vpv:rotate",e.ShowNotificationError="vpv:notification:error"})(exports.aI||(exports.aI={}));exports.A=void 0;(function(e){e[e.Text=1]="Text",e[e.Link=2]="Link",e[e.FreeText=3]="FreeText",e[e.Line=4]="Line",e[e.Square=5]="Square",e[e.Circle=6]="Circle",e[e.Polygon=7]="Polygon",e[e.Polyline=8]="Polyline",e[e.Highlight=9]="Highlight",e[e.Underline=10]="Underline",e[e.Squiggly=11]="Squiggly",e[e.StrikeOut=12]="StrikeOut",e[e.Stamp=13]="Stamp",e[e.Caret=14]="Caret",e[e.Ink=15]="Ink",e[e.Popup=16]="Popup",e[e.FileAttachment=17]="FileAttachment",e[e.Sound=18]="Sound",e[e.Movie=19]="Movie",e[e.Widget=20]="Widget",e[e.Screen=21]="Screen",e[e.PrinterMark=22]="PrinterMark",e[e.TrapNet=23]="TrapNet",e[e.Watermark=24]="Watermark",e[e.ThreeD=25]="ThreeD",e[e.Redact=26]="Redact"})(exports.A||(exports.A={}));var Et;(function(e){e[e.INVISIBLE=1]="INVISIBLE",e[e.HIDDEN=2]="HIDDEN",e[e.PRINT=4]="PRINT",e[e.NOZOOM=8]="NOZOOM",e[e.NOROTATE=16]="NOROTATE",e[e.NOVIEW=32]="NOVIEW",e[e.READONLY=64]="READONLY",e[e.LOCKED=128]="LOCKED",e[e.TOGGLENOVIEW=256]="TOGGLENOVIEW",e[e.LOCKEDCONTENTS=512]="LOCKEDCONTENTS"})(Et||(Et={}));const fa="Search in Document",ba="Enter to search",Ta="Search",wa="Previous match",Sa="Next match",va="Close",Pa="Match Case",xa="Search case sensitive text",La="Whole Words",ya="Search exact and case insensitive word(s)",Aa="Previous page",Ea="Current page",Ca="Next page",Ia="Zoom out",ka="Zoom in",za="Select zoom level",Da="Actual size",Oa="Page fit",Fa="Page width",Ma="Enable dark theme",Ra="Enable light theme",Na="Open local file",Ha="Open local file",Ba="Download file",Ua="Download file",ja="Print",Wa="Print",Va="Preparing Document",Ga="Cancel",Ya="Full screen",qa="Full screen",Ka="More options",Qa="First page",Ja="Go to first page",Xa="Last page",Za="Go to last page",$a="Rotate clockwise",_a="Rotate clockwise",er="Rotate counterclockwise",tr="Rotate counterclockwise",or="Text selection tool",nr="Enable text selection tool",ar="Hand tool",rr="Enable hand tool",ir="Document properties",lr="View document properties",sr="Page scrolling",cr="Enable page scrolling",ur="Vertical scrolling",pr="Enable vertical scrolling",dr="Horizontal scrolling",gr="Enable horizontal scrolling",mr="Wrapped scrolling",hr="Enable wrapped scrolling",fr="Single page",br="Enable single page view",Tr="Dual page",wr="Enable dual page view",Sr="Dual page with cover",vr="Enable dual page view with cover",Pr="File name",xr="File size",Lr="Title",yr="Author",Ar="Subject",Er="Keywords",Cr="Creator",Ir="Created on",kr="Modified on",zr="PDF producer",Dr="PDF version",Or="Page count",Fr="Thumbnail",Mr="Password Required",Rr="This document is password protected. Please enter a password to open the file.",Nr="Enter password",Hr="Submit",Br="Incorrect password",Ur="Drag and drop the PDF file here",jr="View comments",Wr="View comments",Vr="",Gr="Page",Yr="Comments",qr="Hide comments",Kr="Annotation tools",Qr="Show annotation tools",Jr="Hide annotation tools",Xr="Text selection tool",Zr="Text selection",$r="Highlight",_r="Highlight",ei="Change highlight color",ti="Highlight color",oi="Remove highlight",ni="Underline",ai="Underline",ri="Change underline color",ii="Underline color",li="Remove underline",si="Strikethrough",ci="Strikethrough",ui="Change strikethrough color",pi="Strikethrough color",di="Remove strikethrough",gi="Free text",mi="Free text",hi="Remove free text",fi="Change free text style",bi="Text style",Ti="Font color",wi="Font color",Si="Text size",vi="Text size",Pi="Select a text size",xi="Signature",Li="Signature",yi="Add new signature",Ai="Add new signature",Ei="Comment",Ci="Comment",Ii="Image",ki="Add image",zi="Unsupported file type",Di="File should not exceed {size}",Oi="Remove image",Fi={searchButtonTooltip:fa,searchInputPlaceholder:ba,searchInputTooltip:Ta,searchPrevTooltip:wa,searchNextTooltip:Sa,searchCloseButtonTooltip:va,searchMatchCaseLabel:Pa,searchMatchCaseTooltip:xa,searchWholeWordsLabel:La,searchWholeWordsTooltip:ya,previousPageTooltip:Aa,currentPageTooltip:Ea,nextPageTooltip:Ca,zoomOutTooltip:Ia,zoomInTooltip:ka,zoomSelectTooltip:za,zoomActualSize:Da,zoomPageFit:Oa,zoomPageWidth:Fa,themeEnableDarkTooltip:Ma,themeEnableLightTooltip:Ra,openLocalFileLabel:Na,openLocalFileTooltip:Ha,downloadFileLabel:Ba,downloadFileTooltip:Ua,printLabel:ja,printTooltip:Wa,printLoadingMessage:Va,printCancelLabel:Ga,fullScreenLabel:Ya,fullScreenTooltip:qa,moreOptionTooltip:Ka,firstPageLabel:Qa,firstPageTooltip:Ja,lastPageLabel:Xa,lastPageTooltip:Za,rotateClockwiseLabel:$a,rotateClockwiseTooltip:_a,rotateCounterclockwiseLabel:er,rotateCounterclockwiseTooltip:tr,textSelectionLabel:or,textSelectionTooltip:nr,handToolLabel:ar,handToolTooltip:rr,documentPropertiesLabel:ir,documentPropertiesTooltip:lr,pageScrollingLabel:sr,pageScrollingTooltip:cr,verticalScrollingLabel:ur,verticalScrollingTooltip:pr,horizontalLabel:dr,horizontalTooltip:gr,wrappedScrollingLabel:mr,wrappedScrollingTooltip:hr,singlePageLabel:fr,singlePageTooltip:br,dualPageLabel:Tr,dualPageTooltip:wr,dualPageWithCoverLabel:Sr,dualPageWithCoverTooltip:vr,propertiesFilenameLabel:Pr,propertiesFileSizeLabel:xr,propertiesTitleLabel:Lr,propertiesAuthorLabel:yr,propertiesSubjectLabel:Ar,propertiesKeywordLabel:Er,propertiesCreatorLabel:Cr,propertiesCreateOnLabel:Ir,propertiesModifiedOnLabel:kr,propertiesPDFProducerLabel:zr,propertiesPDFVersionLabel:Dr,propertiesPageCountLabel:Or,thumbnailTooltip:Fr,passwordModalTitle:Mr,passwordModalMessage:Rr,passwordPlaceholder:Nr,passwordConfirmLabel:Hr,passwordError:Br,dragDropFileMessage:Ur,commentPanelLabel:jr,commentPanelTooltip:Wr,commentPageSuffix:Vr,commentPagePrefix:Gr,commentLabel:Yr,commentHideTooltip:qr,annotationLabel:Kr,annotationToggleShowTooltip:Qr,annotationToggleHideTooltip:Jr,annotationTextSelectionLabel:Xr,annotationTextSelectionTooltip:Zr,annotationHighlightLabel:$r,annotationHighlightTooltip:_r,annotationHighlightColorTooltip:ei,annotationHighlightColorPickerLabel:ti,annotationHighlightDeleteTooltip:oi,annotationUnderlineLabel:ni,annotationUnderlineTooltip:ai,annotationUnderlineColorTooltip:ri,annotationUnderlineColorPickerLabel:ii,annotationUnderlineDeleteTooltip:li,annotationStrikethroughLabel:si,annotationStrikethroughTooltip:ci,annotationStrikethroughColorTooltip:ui,annotationStrikethroughColorPickerLabel:pi,annotationStrikethroughDeleteTooltip:di,annotationFreeTextLabel:gi,annotationFreeTextTooltip:mi,annotationFreeTextDeleteTooltip:hi,annotationFreeTextTextStyleTooltip:fi,annotationFreeTextTextStyleLabel:bi,annotationFreeTextFontColorLabel:Ti,annotationFreeTextFontColorTooltip:wi,annotationFreeTextTextSizeTooltip:Si,annotationFreeTextTextSizeLabel:vi,annotationFreeTextTextSizePlaceholder:Pi,annotationSignatureLabel:xi,annotationSignatureTooltip:Li,annotationSignatureAddLabel:yi,annotationSignatureAddTooltip:Ai,annotationCommentLabel:Ei,annotationCommentTooltip:Ci,annotationImageLabel:Ii,annotationImageTooltip:ki,annotationImageUnsupportedFileMessage:zi,annotationImageUnsupportedFileSizeMessage:Di,annotationImageDeleteTooltip:Oi},Mi="搜索文件",Ri="输入搜索词",Ni="搜索",Hi="上一条",Bi="下一条",Ui="关闭",ji="区分大小写",Wi="搜索区分大小写",Vi="全字匹配",Gi="搜索完全匹配",Yi="上一页",qi="当前页",Ki="下一页",Qi="缩小",Ji="放大",Xi="选择缩放级别",Zi="实际大小",$i="适合页面",_i="页面宽度",el="切换到深色模式",tl="切换到浅色模式",ol="打开文件",nl="打开文件",al="下载文件",rl="下载文件",il="打印",ll="打印",sl="准备文件",cl="取消",ul="全屏",pl="全屏",dl="更多选项",gl="第一页",ml="跳转到第一页",hl="最后一页",fl="跳转到最后一页",bl="顺时针旋转",Tl="顺时针旋转",wl="逆时针旋转",Sl="逆时针旋转",vl="文本选择工具",Pl="启用文本选择工具",xl="手型工具",Ll="启用手型工具",yl="文件属性",Al="查看文件属性",El="页面滚动",Cl="启用页面滚动",Il="垂直滚动",kl="启用垂直滚动",zl="水平滚动",Dl="启用水平滚动",Ol="环绕滚动",Fl="启用环绕滚动",Ml="单页面视图",Rl="启用单页视图",Nl="双页面视图",Hl="启用双页视图",Bl="封面双页面视图",Ul="启用封面双页视图",jl="文件名称",Wl="文件大小",Vl="标题",Gl="作者",Yl="主题",ql="关键字",Kl="创建者",Ql="创建于",Jl="修改于",Xl="PDF 制作程序 ",Zl="PDF版本",$l="页数",_l="缩略图",es="需要密码",ts="此文件受密码保护。请输入密码以打开文件。",os="输入密码",ns="提交",as="密码错误",rs="将PDF文件拖放到这里",is="查看评论",ls="查看评论",ss="第",cs="页",us="评论",ps="隐藏评论",ds="注释工具",gs="显示注释工具",ms="隐藏注释工具",hs="文本选择工具",fs="文本选择",bs="高亮",Ts="高亮",ws="更改高亮颜色",Ss="高亮颜色",vs="删除高亮",Ps="下划线",xs="下划线",Ls="更改下划线颜色",ys="下划线颜色",As="删除下划线",Es="删除线",Cs="删除线",Is="更改删除线颜色",ks="删除线颜色",zs="删除删除线",Ds="自由文本",Os="自由文本",Fs="删除自由文本",Ms="更改文本样式",Rs="文本样式",Ns="文本颜色",Hs="文本颜色",Bs="文本大小",Us="文本大小",js="选择文本大小",Ws="签名",Vs="签名",Gs="添加新签名",Ys="添加新签名",qs="注释",Ks="注释",Qs="图片",Js="添加图片",Xs="不支持此文件类型",Zs="文件大小不能超过 {size}",$s="删除图片",_s={searchButtonTooltip:Mi,searchInputPlaceholder:Ri,searchInputTooltip:Ni,searchPrevTooltip:Hi,searchNextTooltip:Bi,searchCloseButtonTooltip:Ui,searchMatchCaseLabel:ji,searchMatchCaseTooltip:Wi,searchWholeWordsLabel:Vi,searchWholeWordsTooltip:Gi,previousPageTooltip:Yi,currentPageTooltip:qi,nextPageTooltip:Ki,zoomOutTooltip:Qi,zoomInTooltip:Ji,zoomSelectTooltip:Xi,zoomActualSize:Zi,zoomPageFit:$i,zoomPageWidth:_i,themeEnableDarkTooltip:el,themeEnableLightTooltip:tl,openLocalFileLabel:ol,openLocalFileTooltip:nl,downloadFileLabel:al,downloadFileTooltip:rl,printLabel:il,printTooltip:ll,printLoadingMessage:sl,printCancelLabel:cl,fullScreenLabel:ul,fullScreenTooltip:pl,moreOptionTooltip:dl,firstPageLabel:gl,firstPageTooltip:ml,lastPageLabel:hl,lastPageTooltip:fl,rotateClockwiseLabel:bl,rotateClockwiseTooltip:Tl,rotateCounterclockwiseLabel:wl,rotateCounterclockwiseTooltip:Sl,textSelectionLabel:vl,textSelectionTooltip:Pl,handToolLabel:xl,handToolTooltip:Ll,documentPropertiesLabel:yl,documentPropertiesTooltip:Al,pageScrollingLabel:El,pageScrollingTooltip:Cl,verticalScrollingLabel:Il,verticalScrollingTooltip:kl,horizontalLabel:zl,horizontalTooltip:Dl,wrappedScrollingLabel:Ol,wrappedScrollingTooltip:Fl,singlePageLabel:Ml,singlePageTooltip:Rl,dualPageLabel:Nl,dualPageTooltip:Hl,dualPageWithCoverLabel:Bl,dualPageWithCoverTooltip:Ul,propertiesFilenameLabel:jl,propertiesFileSizeLabel:Wl,propertiesTitleLabel:Vl,propertiesAuthorLabel:Gl,propertiesSubjectLabel:Yl,propertiesKeywordLabel:ql,propertiesCreatorLabel:Kl,propertiesCreateOnLabel:Ql,propertiesModifiedOnLabel:Jl,propertiesPDFProducerLabel:Xl,propertiesPDFVersionLabel:Zl,propertiesPageCountLabel:$l,thumbnailTooltip:_l,passwordModalTitle:es,passwordModalMessage:ts,passwordPlaceholder:os,passwordConfirmLabel:ns,passwordError:as,dragDropFileMessage:rs,commentPanelLabel:is,commentPanelTooltip:ls,commentPagePrefix:ss,commentPageSuffix:cs,commentLabel:us,commentHideTooltip:ps,annotationLabel:ds,annotationToggleShowTooltip:gs,annotationToggleHideTooltip:ms,annotationTextSelectionLabel:hs,annotationTextSelectionTooltip:fs,annotationHighlightLabel:bs,annotationHighlightTooltip:Ts,annotationHighlightColorTooltip:ws,annotationHighlightColorPickerLabel:Ss,annotationHighlightDeleteTooltip:vs,annotationUnderlineLabel:Ps,annotationUnderlineTooltip:xs,annotationUnderlineColorTooltip:Ls,annotationUnderlineColorPickerLabel:ys,annotationUnderlineDeleteTooltip:As,annotationStrikethroughLabel:Es,annotationStrikethroughTooltip:Cs,annotationStrikethroughColorTooltip:Is,annotationStrikethroughColorPickerLabel:ks,annotationStrikethroughDeleteTooltip:zs,annotationFreeTextLabel:Ds,annotationFreeTextTooltip:Os,annotationFreeTextDeleteTooltip:Fs,annotationFreeTextTextStyleTooltip:Ms,annotationFreeTextTextStyleLabel:Rs,annotationFreeTextFontColorLabel:Ns,annotationFreeTextFontColorTooltip:Hs,annotationFreeTextTextSizeTooltip:Bs,annotationFreeTextTextSizeLabel:Us,annotationFreeTextTextSizePlaceholder:js,annotationSignatureLabel:Ws,annotationSignatureTooltip:Vs,annotationSignatureAddLabel:Gs,annotationSignatureAddTooltip:Ys,annotationCommentLabel:qs,annotationCommentTooltip:Ks,annotationImageLabel:Qs,annotationImageTooltip:Js,annotationImageUnsupportedFileMessage:Xs,annotationImageUnsupportedFileSizeMessage:Zs,annotationImageDeleteTooltip:$s},ec="Cerca nel documento",tc="Premi Invio per cercare",oc="Cerca",nc="Corrispondenza precedente",ac="Corrispondenza successiva",rc="Chiudi",ic="Maiuscole/minuscole",lc="Cerca testo con distinzione maiuscole/minuscole",sc="Parola intera",cc="Cerca esatte parole senza distinzione maiuscole/minuscole",uc="Pagina precedente",pc="Pagina corrente",dc="Pagina successiva",gc="Ridurre",mc="Ingrandire",hc="Seleziona un livello di zoom",fc="Dimensioni effettive",bc="Adatta pagina",Tc="Larghezza pagina",wc="Abilita tema scuro",Sc="Abilita tema chiaro",vc="Aprire file",Pc="Aprire file",xc="Scaricare file",Lc="Scaricare file",yc="Stampa",Ac="Stampa",Ec="Preparazione del documento",Cc="Annulla",Ic="Schermo intero",kc="Schermo intero",zc="Altre opzioni",Dc="Prima pagina",Oc="Vai alla prima pagina",Fc="Ultima pagina",Mc="Vai all’ultima pagina",Rc="Ruota in senso orario",Nc="Ruota in senso orario",Hc="Ruota in senso antiorario",Bc="Ruota in senso antiorario",Uc="Strumento di selezione testo",jc="Abilita strumento di selezione testo",Wc="Strumento mano",Vc="Abilita strumento mano",Gc="Proprietà documento",Yc="Visualizza proprietà documento",qc="Scorrimento pagina",Kc="Abilita lo scorrimento delle pagine",Qc="Scorrimento verticale",Jc="Abilita lo scorrimento verticale",Xc="Scorrimento orizzontale",Zc="Abilita lo scorrimento orizzontale",$c="Scorrimento avvolto",_c="Abilita lo scorrimento avvolto",eu="Doppio",tu="Visualizzazione singola",ou="Singolo",nu="Visualizzazione doppio",au="Doppio con copertina",ru="Visualizzazione doppio con copertina",iu="Nome file",lu="Dimensione file",su="Titolo",cu="Autore",uu="Oggetto",pu="Parole chiave",du="Creatore",gu="Creato il",mu="Modificato il",hu="Produttore PDF",fu="Versione PDF",bu="Numero di pagine",Tu="Miniature",wu="Password richiesta",Su="Questo documento è protetto da password. Si prega di inserire una password per aprire il file.",vu="Inserisci la password",Pu="Invia",xu="Password errata",Lu="Trascina e rilascia il file PDF qui",yu="Visualizza commenti",Au="Visualizza commenti",Eu="",Cu="Pagina",Iu="Commenti",ku="Nascondi commenti",zu="Strumenti annotazione",Du="Mostra strumenti annotazione",Ou="Nascondi strumenti annotazione",Fu="Strumento selezione testo",Mu="Selezione testo",Ru="Evidenzia",Nu="Evidenzia",Hu="Cambia colore evidenziazione",Bu="Colore evidenziazione",Uu="Rimuovi evidenziazione",ju="Sottolineato",Wu="Sottolineato",Vu="Cambia colore sottolineato",Gu="Colore sottolineato",Yu="Rimuovi sottolineato",qu="Barrato",Ku="Barrato",Qu="Cambia colore barrato",Ju="Colore barrato",Xu="Rimuovi barrato",Zu="Testo libero",$u="Testo libero",_u="Rimuovi testo libero",ep="Cambia stile testo",tp="Stile testo",op="Colore testo",np="Dimensione testo",ap="Dimensione testo",rp="Seleziona una dimensione testo",ip="Colore testo",lp="Firma",sp="Firma",cp="Aggiungi nuova firma",up="Aggiungi nuova firma",pp="Commento",dp="Commento",gp="Immagine",mp="Aggiungi immagine",hp="Tipo di file non supportato",fp="Il file non deve superare {size}",bp="Elimina immagine",Tp={searchButtonTooltip:ec,searchInputPlaceholder:tc,searchInputTooltip:oc,searchPrevTooltip:nc,searchNextTooltip:ac,searchCloseButtonTooltip:rc,searchMatchCaseLabel:ic,searchMatchCaseTooltip:lc,searchWholeWordsLabel:sc,searchWholeWordsTooltip:cc,previousPageTooltip:uc,currentPageTooltip:pc,nextPageTooltip:dc,zoomOutTooltip:gc,zoomInTooltip:mc,zoomSelectTooltip:hc,zoomActualSize:fc,zoomPageFit:bc,zoomPageWidth:Tc,themeEnableDarkTooltip:wc,themeEnableLightTooltip:Sc,openLocalFileLabel:vc,openLocalFileTooltip:Pc,downloadFileLabel:xc,downloadFileTooltip:Lc,printLabel:yc,printTooltip:Ac,printLoadingMessage:Ec,printCancelLabel:Cc,fullScreenLabel:Ic,fullScreenTooltip:kc,moreOptionTooltip:zc,firstPageLabel:Dc,firstPageTooltip:Oc,lastPageLabel:Fc,lastPageTooltip:Mc,rotateClockwiseLabel:Rc,rotateClockwiseTooltip:Nc,rotateCounterclockwiseLabel:Hc,rotateCounterclockwiseTooltip:Bc,textSelectionLabel:Uc,textSelectionTooltip:jc,handToolLabel:Wc,handToolTooltip:Vc,documentPropertiesLabel:Gc,documentPropertiesTooltip:Yc,pageScrollingLabel:qc,pageScrollingTooltip:Kc,verticalScrollingLabel:Qc,verticalScrollingTooltip:Jc,horizontalLabel:Xc,horizontalTooltip:Zc,wrappedScrollingLabel:$c,wrappedScrollingTooltip:_c,singlePageLabel:eu,singlePageTooltip:tu,dualPageLabel:ou,dualPageTooltip:nu,dualPageWithCoverLabel:au,dualPageWithCoverTooltip:ru,propertiesFilenameLabel:iu,propertiesFileSizeLabel:lu,propertiesTitleLabel:su,propertiesAuthorLabel:cu,propertiesSubjectLabel:uu,propertiesKeywordLabel:pu,propertiesCreatorLabel:du,propertiesCreateOnLabel:gu,propertiesModifiedOnLabel:mu,propertiesPDFProducerLabel:hu,propertiesPDFVersionLabel:fu,propertiesPageCountLabel:bu,thumbnailTooltip:Tu,passwordModalTitle:wu,passwordModalMessage:Su,passwordPlaceholder:vu,passwordConfirmLabel:Pu,passwordError:xu,dragDropFileMessage:Lu,commentPanelLabel:yu,commentPanelTooltip:Au,commentPageSuffix:Eu,commentPagePrefix:Cu,commentLabel:Iu,commentHideTooltip:ku,annotationLabel:zu,annotationToggleShowTooltip:Du,annotationToggleHideTooltip:Ou,annotationTextSelectionLabel:Fu,annotationTextSelectionTooltip:Mu,annotationHighlightLabel:Ru,annotationHighlightTooltip:Nu,annotationHighlightColorTooltip:Hu,annotationHighlightColorPickerLabel:Bu,annotationHighlightDeleteTooltip:Uu,annotationUnderlineLabel:ju,annotationUnderlineTooltip:Wu,annotationUnderlineColorTooltip:Vu,annotationUnderlineColorPickerLabel:Gu,annotationUnderlineDeleteTooltip:Yu,annotationStrikethroughLabel:qu,annotationStrikethroughTooltip:Ku,annotationStrikethroughColorTooltip:Qu,annotationStrikethroughColorPickerLabel:Ju,annotationStrikethroughDeleteTooltip:Xu,annotationFreeTextLabel:Zu,annotationFreeTextTooltip:$u,annotationFreeTextDeleteTooltip:_u,annotationFreeTextTextStyleTooltip:ep,annotationFreeTextTextStyleLabel:tp,annotationFreeTextFontColorTooltip:op,annotationFreeTextTextSizeTooltip:np,annotationFreeTextTextSizeLabel:ap,annotationFreeTextTextSizePlaceholder:rp,annotationFreeTextFontColorLabel:ip,annotationSignatureLabel:lp,annotationSignatureTooltip:sp,annotationSignatureAddLabel:cp,annotationSignatureAddTooltip:up,annotationCommentLabel:pp,annotationCommentTooltip:dp,annotationImageLabel:gp,annotationImageTooltip:mp,annotationImageUnsupportedFileMessage:hp,annotationImageUnsupportedFileSizeMessage:fp,annotationImageDeleteTooltip:bp},wp="Pesquisar no documento",Sp="Pressione Enter para pesquisar",vp="Pesquisar",Pp="Correspondência anterior",xp="Correspondência seguinte",Lp="Fechar",yp="Diferenciar maiúsculas/minúsculas",Ap="Pesquisar texto com distinção de maiúsculas/minúsculas",Ep="Palavra inteira",Cp="Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas",Ip="Página anterior",kp="Página atual",zp="Próxima página",Dp="Reduzir",Op="Ampliar",Fp="Selecionar nível de zoom",Mp="Tamanho real",Rp="Ajustar à página",Np="Largura da página",Hp="Ativar tema escuro",Bp="Ativar tema claro",Up="Abrir arquivo",jp="Abrir arquivo",Wp="Baixar arquivo",Vp="Baixar arquivo",Gp="Imprimir",Yp="Imprimir",qp="Preparando documento",Kp="Cancelar",Qp="Tela inteira",Jp="Tela inteira",Xp="Mais opções",Zp="Primeira página",$p="Ir para a primeira página",_p="Última página",ed="Ir para a última página",td="Girar no sentido horário",od="Girar no sentido horário",nd="Girar no sentido anti-horário",ad="Girar no sentido anti-horário",rd="Ferramenta de seleção de texto",id="Ativar ferramenta de seleção de texto",ld="Ferramenta de mão",sd="Ativar ferramenta de mão",cd="Propriedades do documento",ud="Ver propriedades do documento",pd="Rolagem página",dd="Ativar rolagem de página",gd="Rolagem vertical",md="Ativar rolagem vertical",hd="Rolagem horizontal",fd="Ativar rolagem horizontal",bd="Rolagem envolvida",Td="Ativar rolagem envolvente",wd="Página única",Sd="Ativar página única",vd="Página dupla",Pd="Ativar página dupla",xd="Página dupla com capa",Ld="Ativar página dupla com capa",yd="Nome do arquivo",Ad="Tamanho do arquivo",Ed="Título",Cd="Autor",Id="Assunto",kd="Palavras-chave",zd="Criador",Dd="Criado em",Od="Modificado em",Fd="Produtor do PDF",Md="Versão do PDF",Rd="Número de páginas",Nd="Miniatura",Hd="Senha necessária",Bd="Este documento é protegido por senha. Por favor, insira uma senha para abrir o arquivo.",Ud="Insira a senha",jd="Enviar",Wd="Senha incorreta",Vd="Arraste e solte o arquivo PDF aqui",Gd="Ver comentários",Yd="Ver comentários",qd="",Kd="Página",Qd="Comentários",Jd="Ocultar comentários",Xd="Ferramentas de anotação",Zd="Mostrar ferramentas de anotação",$d="Ocultar ferramentas de anotação",_d="Ferramenta de seleção de texto",eg="Seleção de texto",tg="Destacar",og="Destacar",ng="Alterar cor do destaque",ag="Cor de destaque",rg="Remover destaque",ig="Sublinhado",lg="Sublinhado",sg="Alterar cor do sublinhado",cg="Cor de sublinhado",ug="Remover sublinhado",pg="Tachado",dg="Tachado",gg="Alterar cor do tachado",mg="Cor de tachado",hg="Remover tachado",fg="Texto livre",bg="Texto livre",Tg="Remover texto livre",wg="Alterar estilo de texto",Sg="Estilo de texto",vg="Cor da fonte",Pg="Cor da fonte",xg="Tamanho do texto",Lg="Tamanho do texto",yg="Selecionar um tamanho de texto",Ag="Assinatura",Eg="Assinatura",Cg="Adicionar nova assinatura",Ig="Adicionar nova assinatura",kg="Comentário",zg="Comentário",Dg="Imagem",Og="Adicionar imagem",Fg="Tipo de arquivo não suportado",Mg="O arquivo não deve exceder {size}",Rg="Excluir imagem",Ng={searchButtonTooltip:wp,searchInputPlaceholder:Sp,searchInputTooltip:vp,searchPrevTooltip:Pp,searchNextTooltip:xp,searchCloseButtonTooltip:Lp,searchMatchCaseLabel:yp,searchMatchCaseTooltip:Ap,searchWholeWordsLabel:Ep,searchWholeWordsTooltip:Cp,previousPageTooltip:Ip,currentPageTooltip:kp,nextPageTooltip:zp,zoomOutTooltip:Dp,zoomInTooltip:Op,zoomSelectTooltip:Fp,zoomActualSize:Mp,zoomPageFit:Rp,zoomPageWidth:Np,themeEnableDarkTooltip:Hp,themeEnableLightTooltip:Bp,openLocalFileLabel:Up,openLocalFileTooltip:jp,downloadFileLabel:Wp,downloadFileTooltip:Vp,printLabel:Gp,printTooltip:Yp,printLoadingMessage:qp,printCancelLabel:Kp,fullScreenLabel:Qp,fullScreenTooltip:Jp,moreOptionTooltip:Xp,firstPageLabel:Zp,firstPageTooltip:$p,lastPageLabel:_p,lastPageTooltip:ed,rotateClockwiseLabel:td,rotateClockwiseTooltip:od,rotateCounterclockwiseLabel:nd,rotateCounterclockwiseTooltip:ad,textSelectionLabel:rd,textSelectionTooltip:id,handToolLabel:ld,handToolTooltip:sd,documentPropertiesLabel:cd,documentPropertiesTooltip:ud,pageScrollingLabel:pd,pageScrollingTooltip:dd,verticalScrollingLabel:gd,verticalScrollingTooltip:md,horizontalLabel:hd,horizontalTooltip:fd,wrappedScrollingLabel:bd,wrappedScrollingTooltip:Td,singlePageLabel:wd,singlePageTooltip:Sd,dualPageLabel:vd,dualPageTooltip:Pd,dualPageWithCoverLabel:xd,dualPageWithCoverTooltip:Ld,propertiesFilenameLabel:yd,propertiesFileSizeLabel:Ad,propertiesTitleLabel:Ed,propertiesAuthorLabel:Cd,propertiesSubjectLabel:Id,propertiesKeywordLabel:kd,propertiesCreatorLabel:zd,propertiesCreateOnLabel:Dd,propertiesModifiedOnLabel:Od,propertiesPDFProducerLabel:Fd,propertiesPDFVersionLabel:Md,propertiesPageCountLabel:Rd,thumbnailTooltip:Nd,passwordModalTitle:Hd,passwordModalMessage:Bd,passwordPlaceholder:Ud,passwordConfirmLabel:jd,passwordError:Wd,dragDropFileMessage:Vd,commentPanelLabel:Gd,commentPanelTooltip:Yd,commentPageSuffix:qd,commentPagePrefix:Kd,commentLabel:Qd,commentHideTooltip:Jd,annotationLabel:Xd,annotationToggleShowTooltip:Zd,annotationToggleHideTooltip:$d,annotationTextSelectionLabel:_d,annotationTextSelectionTooltip:eg,annotationHighlightLabel:tg,annotationHighlightTooltip:og,annotationHighlightColorTooltip:ng,annotationHighlightColorPickerLabel:ag,annotationHighlightDeleteTooltip:rg,annotationUnderlineLabel:ig,annotationUnderlineTooltip:lg,annotationUnderlineColorTooltip:sg,annotationUnderlineColorPickerLabel:cg,annotationUnderlineDeleteTooltip:ug,annotationStrikethroughLabel:pg,annotationStrikethroughTooltip:dg,annotationStrikethroughColorTooltip:gg,annotationStrikethroughColorPickerLabel:mg,annotationStrikethroughDeleteTooltip:hg,annotationFreeTextLabel:fg,annotationFreeTextTooltip:bg,annotationFreeTextDeleteTooltip:Tg,annotationFreeTextTextStyleTooltip:wg,annotationFreeTextTextStyleLabel:Sg,annotationFreeTextFontColorLabel:vg,annotationFreeTextFontColorTooltip:Pg,annotationFreeTextTextSizeTooltip:xg,annotationFreeTextTextSizeLabel:Lg,annotationFreeTextTextSizePlaceholder:yg,annotationSignatureLabel:Ag,annotationSignatureTooltip:Eg,annotationSignatureAddLabel:Cg,annotationSignatureAddTooltip:Ig,annotationCommentLabel:kg,annotationCommentTooltip:zg,annotationImageLabel:Dg,annotationImageTooltip:Og,annotationImageUnsupportedFileMessage:Fg,annotationImageUnsupportedFileSizeMessage:Mg,annotationImageDeleteTooltip:Rg},Hg="ค้นหาในเอกสาร",Bg="กรอกคำค้นหา",Ug="ค้นหา",jg="ผลการค้นหาก่อนหน้า",Wg="ผลการค้นหาถัดไป",Vg="ปิด",Gg="ข้อความที่มีคำ",Yg="ค้นหาข้อความที่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก",qg="ทั้งคำ",Kg="ค้นหาคำที่ตรงตัวไม่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก",Qg="หน้าก่อนหน้า",Jg="หน้าปัจจุบัน",Xg="หน้าถัดไป",Zg="ย่อ",$g="ขยาย",_g="เลือกระดับซูม",em="ขนาดจริง",tm="พอดีหน้า",om="พอดีความกว้าง",nm="เปิดโหมดมืด",am="เปิดโหมดสว่าง",rm="เปิดไฟล์",im="เปิดไฟล์",lm="ดาวน์โหลดเอกสาร",sm="ดาวน์โหลดเอกสาร",cm="พิมพ์",um="พิมพ์",pm="เตรียมเอกสาร",dm="ยกเลิก",gm="เต็มจอ",mm="เต็มจอ",hm="ตัวเลือกเพิ่มเติม",fm="หน้าแรก",bm="ไปที่หน้าแรก",Tm="หน้าสุดท้าย",wm="ไปที่หน้าสุดท้าย",Sm="หมุนตามเข็มนาฬิกา",vm="หมุนตามเข็มนาฬิกา",Pm="หมุนทวนเข็มนาฬิกา",xm="หมุนทวนเข็มนาฬิกา",Lm="เครื่องมือเลือกข้อความ",ym="เปิดใช้การเลือกข้อความ",Am="เครื่องมือแฮนด์ทูล",Em="เปิดใช้แฮนด์ทูล",Cm="คุณสมบัติของเอกสาร",Im="ดูคุณสมบัติของเอกสาร",km="การเลื่อนภายในหน้า",zm="เปิดใช้การเลื่อนภายในหน้า",Dm="การเลื่อนแนวตั้ง",Om="เปิดใช้การเลื่อนแนวตั้ง",Fm="การเลื่อนแนวนอน",Mm="เปิดใช้การเลื่อนแนวนอน",Rm="การเลื่อนแบบแรพ",Nm="เปิดใช้การเลื่อนแบบแรพ",Hm="หน้าเดี่ยว",Bm="เปิดใช้หน้าเดี่ยว",Um="หน้าคู่",jm="เปิดใช้หน้าคู่",Wm="หน้าคู่พร้อมปก",Vm="เปิดใช้หน้าคู่พร้อมปก",Gm="ชื่อเอกสาร",Ym="ขนาดเอกสาร",qm="ชื่อเรื่อง",Km="ผู้เขียน",Qm="หัวข้อ",Jm="คำสำคัญ",Xm="ผู้สร้าง",Zm="วันที่สร้าง",$m="วันที่แก้ไข",_m="ผู้ผลิต PDF",eh="เวอร์ชัน PDF",th="จำนวนหน้า",oh="ภาพย่อ",nh="กรุณากรอกรหัสผ่าน",ah="เอกสารนี้ได้รับการป้องกันด้วยรหัสผ่าน กรุณาใส่รหัสผ่านเพื่อเปิดไฟล์",rh="กรอกรหัสผ่าน",ih="ส่ง",lh="รหัสผ่านไม่ถูกต้อง",sh="ลากและวางไฟล์ PDF ที่นี่",ch="ดูความคิดเห็น",uh="ดูความคิดเห็น",ph="หน้า",dh="",gh="ความคิดเห็น",mh="ซ่อนความคิดเห็น",hh="เครื่องมือการออกแบบ",fh="แสดงเครื่องมือการออกแบบ",bh="ซ่อนเครื่องมือการออกแบบ",Th="เลือกข้อความ",wh="การเลือกข้อความ",Sh="ไฮไลท์",vh="ไฮไลท์",Ph="เปลี่ยนสีไฮไลท์",xh="สีไฮไลท์",Lh="ลบไฮไลท์",yh="ขีดเส้นใต้",Ah="ขีดเส้นใต้",Eh="เปลี่ยนสีขีดเส้นใต้",Ch="สีขีดเส้นใต้",Ih="ลบขีดเส้นใต้",kh="ขีดฆ่า",zh="ขีดฆ่า",Dh="เปลี่ยนสีขีดฆ่า",Oh="สีขีดฆ่า",Fh="ลบขีดฆ่า",Mh="ข้อความ",Rh="ข้อความ",Nh="ลบข้อความ",Hh="เปลี่ยนรูปแบบข้อความ",Bh="รูปแบบข้อความ",Uh="สีข้อความ",jh="สีข้อความ",Wh="ขนาดข้อความ",Vh="ขนาดข้อความ",Gh="เลือกขนาดข้อความ",Yh="ลายเซ็น",qh="ลายเซ็น",Kh="เพิ่มลายเซ็นใหม่",Qh="เพิ่มลายเซ็นใหม่",Jh="ความคิดเห็น",Xh="ความคิดเห็น",Zh="รูปภาพ",$h="เพิ่มรูปภาพ",_h="ประเภทไฟล์ไม่รองรับ",ef="ไฟล์ต้องมีขนาดไม่เกิน {size}",tf="ลบรูปภาพ",of={searchButtonTooltip:Hg,searchInputPlaceholder:Bg,searchInputTooltip:Ug,searchPrevTooltip:jg,searchNextTooltip:Wg,searchCloseButtonTooltip:Vg,searchMatchCaseLabel:Gg,searchMatchCaseTooltip:Yg,searchWholeWordsLabel:qg,searchWholeWordsTooltip:Kg,previousPageTooltip:Qg,currentPageTooltip:Jg,nextPageTooltip:Xg,zoomOutTooltip:Zg,zoomInTooltip:$g,zoomSelectTooltip:_g,zoomActualSize:em,zoomPageFit:tm,zoomPageWidth:om,themeEnableDarkTooltip:nm,themeEnableLightTooltip:am,openLocalFileLabel:rm,openLocalFileTooltip:im,downloadFileLabel:lm,downloadFileTooltip:sm,printLabel:cm,printTooltip:um,printLoadingMessage:pm,printCancelLabel:dm,fullScreenLabel:gm,fullScreenTooltip:mm,moreOptionTooltip:hm,firstPageLabel:fm,firstPageTooltip:bm,lastPageLabel:Tm,lastPageTooltip:wm,rotateClockwiseLabel:Sm,rotateClockwiseTooltip:vm,rotateCounterclockwiseLabel:Pm,rotateCounterclockwiseTooltip:xm,textSelectionLabel:Lm,textSelectionTooltip:ym,handToolLabel:Am,handToolTooltip:Em,documentPropertiesLabel:Cm,documentPropertiesTooltip:Im,pageScrollingLabel:km,pageScrollingTooltip:zm,verticalScrollingLabel:Dm,verticalScrollingTooltip:Om,horizontalLabel:Fm,horizontalTooltip:Mm,wrappedScrollingLabel:Rm,wrappedScrollingTooltip:Nm,singlePageLabel:Hm,singlePageTooltip:Bm,dualPageLabel:Um,dualPageTooltip:jm,dualPageWithCoverLabel:Wm,dualPageWithCoverTooltip:Vm,propertiesFilenameLabel:Gm,propertiesFileSizeLabel:Ym,propertiesTitleLabel:qm,propertiesAuthorLabel:Km,propertiesSubjectLabel:Qm,propertiesKeywordLabel:Jm,propertiesCreatorLabel:Xm,propertiesCreateOnLabel:Zm,propertiesModifiedOnLabel:$m,propertiesPDFProducerLabel:_m,propertiesPDFVersionLabel:eh,propertiesPageCountLabel:th,thumbnailTooltip:oh,passwordModalTitle:nh,passwordModalMessage:ah,passwordPlaceholder:rh,passwordConfirmLabel:ih,passwordError:lh,dragDropFileMessage:sh,commentPanelLabel:ch,commentPanelTooltip:uh,commentPagePrefix:ph,commentPageSuffix:dh,commentLabel:gh,commentHideTooltip:mh,annotationLabel:hh,annotationToggleShowTooltip:fh,annotationToggleHideTooltip:bh,annotationTextSelectionLabel:Th,annotationTextSelectionTooltip:wh,annotationHighlightLabel:Sh,annotationHighlightTooltip:vh,annotationHighlightColorTooltip:Ph,annotationHighlightColorPickerLabel:xh,annotationHighlightDeleteTooltip:Lh,annotationUnderlineLabel:yh,annotationUnderlineTooltip:Ah,annotationUnderlineColorTooltip:Eh,annotationUnderlineColorPickerLabel:Ch,annotationUnderlineDeleteTooltip:Ih,annotationStrikethroughLabel:kh,annotationStrikethroughTooltip:zh,annotationStrikethroughColorTooltip:Dh,annotationStrikethroughColorPickerLabel:Oh,annotationStrikethroughDeleteTooltip:Fh,annotationFreeTextLabel:Mh,annotationFreeTextTooltip:Rh,annotationFreeTextDeleteTooltip:Nh,annotationFreeTextTextStyleTooltip:Hh,annotationFreeTextTextStyleLabel:Bh,annotationFreeTextFontColorLabel:Uh,annotationFreeTextFontColorTooltip:jh,annotationFreeTextTextSizeTooltip:Wh,annotationFreeTextTextSizeLabel:Vh,annotationFreeTextTextSizePlaceholder:Gh,annotationSignatureLabel:Yh,annotationSignatureTooltip:qh,annotationSignatureAddLabel:Kh,annotationSignatureAddTooltip:Qh,annotationCommentLabel:Jh,annotationCommentTooltip:Xh,annotationImageLabel:Zh,annotationImageTooltip:$h,annotationImageUnsupportedFileMessage:_h,annotationImageUnsupportedFileSizeMessage:ef,annotationImageDeleteTooltip:tf},nf={ANNOTATIONS:"annotations"},af={en_US:Fi,zh_CN:_s,it_IT:Tp,pt_PT:Ng,th_TH:of},rf=Symbol("VPV Current Localization"),lf=nt,sf=exports.aI,cf={Black:"#000000",DarkGray:"#444444",Gray:"#696969",LightGray:"#9C9C9C",LightestGray:"#CDCDCD",ChristmasWhite:"#EDEDED"},K={...cf,Purple:"#7862FF",Blue:"#1777FF",Red:"#F66365",Orange:"#F67E63",Yellow:"#F5C463",Green:"#48BB77"},uf={[K.Black]:"Black",[K.DarkGray]:"Dark Gray",[K.Gray]:"Gray",[K.LightGray]:"Light Gray",[K.LightestGray]:"Lightest Gray",[K.ChristmasWhite]:"Christmas White",[K.Purple]:"Purple",[K.Blue]:"Blue",[K.Red]:"Red",[K.Orange]:"Orange",[K.Yellow]:"Yellow",[K.Green]:"Green"},pe="pdfjs_internal_editor_",pf={SELECTING:"selecting",FOCUS_IN:"focusin"},df={searchable:!0,navigatable:!0,zoomable:!0,themeSwitchable:!0,fullscreen:!0,downloadable:!0,newFileOpenable:!0,printable:!0,sidebarEnable:!0,thumbnailViewable:!0,rotatable:!0,pointerSwitchable:!0,docPropertiesEnabled:!0,jumpNavigatable:!0,scrollingSwitchable:!0,pageViewSwitchable:!0,commentPanelEnabled:!0};me.PageFit,st.Vertical,Ee.SinglePage;const gf={left:0,top:0},mf=768,hf=100,ff=.25,bf=10,Tf=1.1,wf=.0025,Sf=25e-5,vf=.075,Ct=20,Pf=1,xf=0,Lf=4,yf=97,Af=Symbol(),Ef="vpv-highlight__text-current",Cf=Symbol(),If=Symbol(),kf=Symbol(),zf=Symbol(),Df=Symbol(),Of=Symbol(),Ff=Symbol(),Mf=Symbol(),Rf=Symbol(),Nf=Symbol(),Hf=Symbol(),Bf=Symbol("PagesContainer"),Uf=Symbol(),jf=Symbol(),Wf=Symbol(),Vf=Symbol(),Gf=Symbol(),Yf=Symbol(),pt=Symbol(),io=Symbol(),qf=Symbol(),Kf=Symbol(),Qf=Symbol(),Jf=Symbol(),Xf=Symbol(),Zf=Symbol(),$f=Symbol(),_f=Symbol(),eb=Symbol(),tb={ANNOTATION_IMAGE_MANAGER:Symbol("AnnotationImageManager"),ENABLE_ANNOTATION_EDITOR:Symbol("EnableAnnotationEditor"),ACTIVE_ANNOTATION:Symbol("AnnotationType"),ENABLE_ANNOTATION_IMAGE_EDITOR:Symbol("EnableAnnotationImageEditor"),FREE_TEXT_FONT_COLORS:Symbol("AnnotationFreeTextFontColors"),FREE_TEXT_FONT_SIZE_VALUES:Symbol("AnnotationFreeTextFontSizeValues"),TEXT_SELECTION_OPTION:Symbol("AnnotationTextSelectionOption"),TEXT_SELECTION_DEFAULT_TOOL:Symbol("AnnotationTextSelectionDefaultTool"),TEXT_SELECTION_DEFAULT_HIGHLIGHT_COLORS:Symbol("AnnotationTextSelectionDefaultHighlightColors"),TEXT_SELECTION_DEFAULT_UNDERLINE_COLORS:Symbol("AnnotationTextSelectionDefaultUnderlineColors"),TEXT_SELECTION_DEFAULT_STRIKETHROUGH_COLORS:Symbol("AnnotationTextSelectionDefaultStrikethroughColors"),TEXT_SELECTION_HIGHLIGHT_COLOR:Symbol("AnnotationTextSelectionHighlightColor"),TEXT_SELECTION_UNDERLINE_COLOR:Symbol("AnnotationTextSelectionUnderlineColor"),TEXT_SELECTION_STRIKETHROUGH_COLOR:Symbol("AnnotationTextSelectionStrikethroughColor")},ob=Symbol("instanceId"),nb=Symbol(),dt={isValidated:!1,isValidating:!0,isValidKey:!1,licenseKey:null,type:lt.Unlicense,product:ct.Viewer},ab=Symbol(),rb=Symbol(),ib=Symbol(),lb=Symbol(),sb=96,cb=72,ub={PDF_TO_CSS_UNITS:sb/cb},Ke=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0")),pb=(e,t,o)=>`#${Ke[e]}${Ke[t]}${Ke[o]}`,db=e=>{if(!e||e.length<3)return[0,0,0];const[t,o,n]=e;return[t,o,n]};function gt(e){const t=e.replace("#",""),o=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return new Uint8ClampedArray([o,n,a])}function gb(e){const t=e.replace("#","");if(t.length!==6)return null;const o=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return isNaN(o)||isNaN(n)||isNaN(a)?null:{r:o,g:n,b:a}}function mb(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}async function hb(e){const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch image: ${t.status}`);return t.blob()}let Ne=null;async function fb(){return Ne||(Ne=(async()=>{try{const e='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',o=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0});if(!o)return!1;const n=new Image;n.src=e,await n.decode(),o.drawImage(n,0,0,1,1,0,0,1,3);const a=o.getImageData(0,0,1,1);return new Uint32Array(a.data.buffer)[0]===0}catch(e){return I.debug("SVG fitting canvas check failed:",e),!1}})(),Ne)}class bb{baseId;idCounter=0;cache=new Map;constructor(t={}){this.baseId=t.baseId||mb()}async get(t,o){let n=this.cache.get(t);if(n===null)return null;if(n?.bitmap)return n.refCounter+=1,n;try{n=n||{bitmap:null,id:`image_${this.baseId}_${this.idCounter++}`,refCounter:0,isSvg:!1};let a;if(typeof o=="string")n.url=o,a=await hb(o);else if(o instanceof File)n.file=o,a=o;else if(o instanceof Blob)a=o;else throw new Error("Invalid raw data type");return a.type==="image/svg+xml"?await this.handleSvgImage(n,a):n.bitmap=await createImageBitmap(a),n.refCounter=1,this.cache.set(t,n),this.cache.set(n.id,n),n}catch(a){return I.debug("Failed to load image:",a),this.cache.set(t,null),null}}async handleSvgImage(t,o){const n=await fb();return new Promise((a,r)=>{const l=new FileReader,s=new Image;s.onload=()=>{t.bitmap=s,t.isSvg=!0,a()},l.onload=async()=>{const c=l.result;t.svgUrl=c,s.src=n?`${c}#svgView(preserveAspectRatio(none))`:c},s.onerror=r,l.onerror=r,l.readAsDataURL(o)})}async getFromFile(t){const{lastModified:o,name:n,size:a,type:r}=t,l=`${o}_${n}_${a}_${r}`;return this.get(l,t)}async getFromUrl(t){return this.get(t,t)}async getFromBlob(t,o){const n=await o;return this.get(t,n)}async getFromId(t){const o=this.cache.get(t);if(!o)return null;if(o.bitmap)return o.refCounter+=1,o;if(o.file)return this.getFromFile(o.file);if(o.blobPromise){const n=o.blobPromise;return delete o.blobPromise,this.getFromBlob(o.id,n)}return o.url?this.getFromUrl(o.url):null}getFromCanvas(t,o){let n=this.cache.get(t);if(n?.bitmap)return n.refCounter+=1,n;const a=new OffscreenCanvas(o.width,o.height),r=a.getContext("2d");if(!r)throw new Error("Failed to get 2D context from OffscreenCanvas");return r.drawImage(o,0,0),n={bitmap:a.transferToImageBitmap(),id:`image_${this.baseId}_${this.idCounter++}`,refCounter:1,isSvg:!1},this.cache.set(t,n),this.cache.set(n.id,n),n}getSvgUrl(t){const o=this.cache.get(t);return o?.isSvg&&o.svgUrl||null}deleteId(t){const o=this.cache.get(t);if(!o||(o.refCounter-=1,o.refCounter!==0))return;const{bitmap:n}=o;if(!o.url&&!o.file&&n instanceof ImageBitmap){const a=new OffscreenCanvas(n.width,n.height),r=a.getContext("bitmaprenderer");r&&(r.transferFromImageBitmap(n),o.blobPromise=a.convertToBlob())}n instanceof ImageBitmap&&n.close(),o.bitmap=null}isValidId(t){return t.startsWith(`image_${this.baseId}_`)}getCachedIds(){return Array.from(this.cache.keys()).filter(t=>this.isValidId(t))}getCacheStats(){let t=0,o=0,n=0;for(const[a,r]of this.cache)r&&this.isValidId(a)&&(t++,r.bitmap&&(o++,r.bitmap instanceof ImageBitmap&&(n+=r.bitmap.width*r.bitmap.height*4)));return{totalImages:t,loadedImages:o,totalMemory:n}}clear(){for(const[t,o]of this.cache)o&&this.isValidId(t)&&o.bitmap instanceof ImageBitmap&&o.bitmap.close();this.cache.clear()}async bitmapToDataUrl(t){const{bitmap:o,isSvg:n}=t;if(n&&t.svgUrl)return t.svgUrl;const a=document.createElement("canvas");a.width=o instanceof ImageBitmap?o.width:o.naturalWidth,a.height=o instanceof ImageBitmap?o.height:o.naturalHeight;const r=a.getContext("2d");if(!r)throw new Error("Failed to get 2D context");return r.drawImage(o,0,0),a.toDataURL()}async serializeBitmap(t,o){const{bitmap:n,isSvg:a}=t;if(!a||!o?.width||!o?.height)return n instanceof ImageBitmap?structuredClone(n):await createImageBitmap(n);const{width:r,height:l}=o,s=new OffscreenCanvas(r,l),c=s.getContext("2d");if(!c)throw new Error("Failed to get 2D context");return c.drawImage(n,0,0,n.width??n.naturalWidth,n.height??n.naturalHeight,0,0,r,l),s.transferToImageBitmap()}}const at=new bb({baseId:`viewer_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}),lo=i.ref(null),Tb=e=>{lo.value=e};let wb=0;const Be=i.ref(null),Sb=i.ref(new Map);let re=null;const ce=new Map,Qe=i.ref(0),vb=i.ref(0),xe=i.ref(!1),Je=i.ref(!1);async function Pb(e,t){if(!Be.value)return;const o=await e.getAnnotations({intent:"display"}),n=i.toRaw(Be.value);for(const a of o){if(a.annotationType!==exports.A.Underline&&a.annotationType!==exports.A.StrikeOut)continue;const r=n.getRawValue(a.id);r?.deleted||r?.editorKey||n.setValue(a.id,{...a,noView:t})}}async function xb(e){const t={annotationType:e.annotationType,pageIndex:e.pageIndex||0,rect:Array.isArray(e.rect)?Array.from(e.rect):e.rect,rotation:0,opacity:1,...!e.id?.startsWith(pe)&&{id:e.id}};if(e.borderStyle&&(t.borderStyle=i.toRaw(e.borderStyle)),e.contentsObj&&(t.contentsObj=i.toRaw(e.contentsObj)),e.contents&&(t.popup={contents:e.contents}),e.hexColor?t.color=gt(e.hexColor):e.color&&(t.color=Array.from(e.color)),e.quadPoints&&(t.quadPoints=Array.from(e.quadPoints)),e.outlines&&(t.outlines=e.outlines),e.user&&(t.user=e.user),e.deleted&&(t.deleted=!0,t.noPrint=!0,e.popupRef&&(t.popupRef=e.popupRef)),e.originalAnnotation&&delete t.originalAnnotations,e.annotationType===exports.A.Stamp&&e.bitmapId){t.bitmapId=e.bitmapId;const o=await at.getFromId(e.bitmapId);o?.isSvg?t.bitmap=await at.serializeBitmap(o,{width:e.width,height:e.height}):t.bitmap=await createImageBitmap(o.file)}return e.annotationType===exports.A.FreeText&&(t.structTreeParentId=null,t.value=e.value,t.fontSize=e.fontSize,delete t.opacity),e.annotationType===exports.A.Widget&&(t.noView=!1,t.noPrint=!1,e.checkBox&&(t.value=e.value??!1)),t}function Lb(){const e=Be,t=Sb,o=()=>e.value?!0:(I.warn("Annotation storage is not initialized. Please call setStorage first."),!1),n=g=>(e.value=g.annotationStorage,xe.value=!1,e.value),a=()=>{re&&(clearTimeout(re),re=null),ce.clear(),Je.value=!0},r=g=>{Je.value=!1,g.forEach(({key:m,value:h})=>{ce.set(m,h)}),re&&clearTimeout(re),re=setTimeout(()=>{if(Je.value){ce.clear(),re=null;return}if(e.value&&ce.size>0){ce.forEach((h,f)=>{i.toRaw(e.value)?.setValue(f,h)}),ce.clear(),xe.value=!0,Qe.value++;const m=e.value;e.value=null,i.nextTick(()=>{e.value=m}),re=null}else I.warn("batchUpdate called but storage is null or no pending updates")},50)},l=(g,m,h=!1)=>{if(o())try{if(h){const f={...m,...m.rect&&{rect:Array.isArray(m.rect)?Array.from(m.rect):m.rect},...m.quadPoints&&{quadPoints:Array.isArray(m.quadPoints)?Array.from(m.quadPoints):m.quadPoints},...m.outlines&&{outlines:Array.isArray(m.outlines)?Array.from(m.outlines.map(b=>Array.from(b))):m.outlines},...m.hexColor&&{hexColor:m.hexColor}};f.hexColor?(f.color=gt(f.hexColor),delete f.hexColor):f.color&&(f.color=Array.from(f.color)),t.value.set(g,f)}else i.toRaw(e.value)?.setValue(g,m);xe.value=!0,Qe.value++,I.debug("✅ setAnnotationValue completed successfully")}catch(f){I.error("❌ Error in setAnnotationValue:",f)}},s=()=>xe.value||t.value.size>0,c=g=>{try{if(!g||typeof g!="object")return!1;if(g.rect){if(!Array.isArray(g.rect)&&!ArrayBuffer.isView(g.rect))return I.warn("Invalid rect property in annotation data - not an array or TypedArray"),!1;if(g.rect.length!==4)return I.warn("Invalid rect length in annotation data"),!1;if(!g.rect.every(m=>typeof m=="number"&&!isNaN(m)))return I.warn("Invalid rect values in annotation data"),!1}if(g.quadPoints){if(!Array.isArray(g.quadPoints)&&!ArrayBuffer.isView(g.quadPoints))return I.warn("Invalid quadPoints property in annotation data - not an array or TypedArray"),!1;if(g.quadPoints.length>0&&g.quadPoints.length%8!==0)return I.warn(`Invalid quadPoints length: ${g.quadPoints.length} (should be 0 or multiple of 8)`),I.debug("quadPoints data:",g.quadPoints),!1;if(g.quadPoints.length>0&&!g.quadPoints.every(m=>typeof m=="number"&&!isNaN(m)))return I.warn("Invalid quadPoints values in annotation data"),I.debug("quadPoints data with non-numeric values:",g.quadPoints),!1}if(g.color){if(!Array.isArray(g.color)&&!ArrayBuffer.isView(g.color))return I.warn("Invalid color property in annotation data - not an array or TypedArray"),!1;if(g.color.length!==3)return I.warn("Invalid color length in annotation data"),!1;if(!g.color.every(m=>typeof m=="number"&&m>=0&&m<=255))return I.warn("Invalid color values in annotation data"),!1}return!0}catch(m){return I.warn("Annotation data validation failed:",m),!1}},d=async g=>{if(!e.value)throw new Error("Annotation storage is not initialized");try{const m=g.annotationStorage;I.debug("[saveAnnotationsToDocumentSimplified] documentStorage",m.serializable);const h=i.toRaw(t.value);for(let[b,L]of h.entries()){if(L.annotationType===exports.A.Underline||L.annotationType===exports.A.StrikeOut)continue;let D=await xb(L);I.debug("[saveAnnotationsToDocumentSimplified] serializedAnnotation of",b,D),L.annotationType===exports.A.Widget&&(b=L.id),m.setValue(b,D)}return I.debug(">>>documentStorage",m.serializable.map),await g.saveDocument()}catch(m){throw I.error("Failed to save annotations:",m),m}finally{I.debug("[saveAnnotationsToDocumentSimplified] finally",i.toRaw(e.value));for(const[m,h]of i.toRaw(e.value)?.serializable?.map?.entries()||[])m.startsWith(pe)&&i.toRaw(e.value).remove(m)}};return{annotationStorage:e,annotationEditorStorageMap:t,setStorage:n,batchUpdate:r,setAnnotationValue:l,hasModifications:s,saveAnnotationsToDocument:async g=>{const m=i.toRaw(t.value),h=[],f=[];let b=!1;for(const[N,A]of m.entries())if(A.annotationType===exports.A.Underline||A.annotationType===exports.A.StrikeOut){if(A.deleted){A.id&&!A.id.startsWith(pe)&&f.push({id:A.id,pageIndex:A.pageIndex,annotationType:A.annotationType,rect:A.rect,quadPoints:A.quadPoints});continue}A.id&&!A.id.startsWith(pe)&&f.push({id:A.id,pageIndex:A.pageIndex,annotationType:A.annotationType,rect:A.rect,quadPoints:A.quadPoints});const C=new Date;A.creationDate||(A.creationDate=C),A.modificationDate=C,h.push(A)}else b=!0;if(h.length===0&&f.length===0)return d(g);const L=lo.value;if(!L)return I.warn("[saveAnnotationsWithTextMarkup] No annotation plugin API available - text markup annotations will not be saved"),d(g);const D=await L.exportToPdf(h,f);if(!D)return I.error("[saveAnnotationsWithTextMarkup] Plugin failed to serialize text markup annotations - exportToPdf returned null (likely originalPdfBytes is null)"),d(g);if(b){const A=await(await import("pdfjs-dist")).getDocument({data:D}).promise;try{return await d(A)}finally{A.destroy()}}return D},saveAnnotationsToDocumentSimplified:d,cleanAnnotationStorage:()=>{a(),Be.value=null,xe.value=!1,t.value=new Map},validateAnnotationData:c,renderTrigger:Qe,canvasRenderTrigger:vb,cancelBatchUpdate:a,ensureStorageInitialized:o,getEditorKey:()=>`${pe}${wb++}`,getAnnotationById:g=>o()?i.toRaw(e.value)?.getRawValue(g):null,findEditorAnnotationKey:g=>Array.from(t.value.keys()).find(m=>t.value.get(m)?.id===g)}}let so="";so="https://unpkg.com/@vue-pdf-viewer/viewer@3.11.0/dist/assets/pdf-annotations/";const yb=so,Ab=1,Eb=1e6,oe={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Xe=0;function Cb(){return Xe=(Xe+1)%Number.MAX_VALUE,Xe.toString()}const Ze=new Map;function It(e){if(Ze.has(e))return;const t=setTimeout(()=>{Ze.delete(e),ye({type:oe.REMOVE_TOAST,toastId:e})},Eb);Ze.set(e,t)}const Q=i.ref({toasts:[]});function ye(e){switch(e.type){case oe.ADD_TOAST:Q.value.toasts=[e.toast,...Q.value.toasts].slice(0,Ab);break;case oe.UPDATE_TOAST:Q.value.toasts=Q.value.toasts.map(t=>t.id===e.toast.id?{...t,...e.toast}:t);break;case oe.DISMISS_TOAST:{const{toastId:t}=e;t?It(t):Q.value.toasts.forEach(o=>{It(o.id)}),Q.value.toasts=Q.value.toasts.map(o=>o.id===t||t===void 0?{...o,open:!1}:o);break}case oe.REMOVE_TOAST:e.toastId===void 0?Q.value.toasts=[]:Q.value.toasts=Q.value.toasts.filter(t=>t.id!==e.toastId);break}}function Ib(){return{toasts:i.computed(()=>Q.value.toasts),toast:kb,dismiss:e=>ye({type:oe.DISMISS_TOAST,toastId:e})}}function kb(e){const t=Cb(),o=a=>ye({type:oe.UPDATE_TOAST,toast:{...a,id:t}}),n=()=>ye({type:oe.DISMISS_TOAST,toastId:t});return ye({type:oe.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:a=>{a||n()}}}),{id:t,dismiss:n,update:o}}exports.$=lb;exports.B=Sf;exports.C=I;exports.D=df;exports.E=sf;exports.F=rb;exports.G=at;exports.H=_f;exports.I=Rf;exports.J=pf;exports.K=qf;exports.L=lt;exports.M=ia;exports.N=eb;exports.O=Ht;exports.P=Bf;exports.Q=Yt;exports.R=ib;exports.S=st;exports.T=vf;exports.U=Pb;exports.V=Ee;exports.W=Cf;exports.X=sn;exports.Y=Ef;exports.Z=me;exports._=Df;exports.a=ct;exports.a0=Qf;exports.a1=hf;exports.a2=Wf;exports.a3=jf;exports.a4=en;exports.a5=ln;exports.a6=ea;exports.a7=Qt;exports.a8=ab;exports.a9=tn;exports.aA=ta;exports.aB=gb;exports.aC=na;exports.aD=oa;exports.aE=pt;exports.aF=dt;exports.aG=Tb;exports.aH=Ib;exports.aK=mf;exports.aL=ha;exports.aM=it;exports.aN=Wt;exports.aO=yf;exports.aP=Uf;exports.aQ=If;exports.aR=Mf;exports.aS=Of;exports.aT=nb;exports.aU=Ft;exports.aV=nf;exports.aW=lf;exports.aX=yb;exports.aY=Yo;exports.aZ=Vt;exports.a_=qt;exports.aa=un;exports.ab=Qn;exports.ac=Nf;exports.ad=ff;exports.ae=bf;exports.af=Tf;exports.ag=Kf;exports.ah=_n;exports.ai=Ff;exports.aj=Jf;exports.ak=Xf;exports.al=Zf;exports.am=$f;exports.an=Af;exports.ao=Yf;exports.ap=kf;exports.aq=an;exports.ar=Gf;exports.as=Vf;exports.at=pn;exports.au=Fo;exports.av=Bt;exports.aw=Jn;exports.ax=gf;exports.ay=xf;exports.az=Lf;exports.b=af;exports.c=zf;exports.d=Gt;exports.e=ob;exports.f=tb;exports.g=Lb;exports.h=pe;exports.i=rf;exports.j=aa;exports.k=Hf;exports.l=Kn;exports.m=ub;exports.n=_o;exports.o=Vo;exports.p=vo;exports.q=cn;exports.r=Lo;exports.s=uf;exports.t=gt;exports.u=ma;exports.v=db;exports.w=pb;exports.x=ra;exports.y=jt;exports.z=wf;
|
|
@@ -4264,7 +4264,7 @@ class fe {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
}
|
|
4266
4266
|
}
|
|
4267
|
-
const k = fe.getInstance(), _n = /* @__PURE__ */ new Date("2026-03-
|
|
4267
|
+
const k = fe.getInstance(), _n = /* @__PURE__ */ new Date("2026-03-16T07:35:36.074Z"), ot = "Please visit https://www.vue-pdf-viewer.dev/license-management/ to generate a new license key.", Se = {
|
|
4268
4268
|
invalidLicense: JSON.stringify({
|
|
4269
4269
|
message: `You are currently using %cwithout%c a valid license. ${ot}`,
|
|
4270
4270
|
style: ["font-weight: bold;", "font-weight: normal;"]
|
|
@@ -4320,7 +4320,7 @@ function na(e) {
|
|
|
4320
4320
|
}
|
|
4321
4321
|
async function aa(e, t) {
|
|
4322
4322
|
try {
|
|
4323
|
-
const o = await import("./index-
|
|
4323
|
+
const o = await import("./index-CL7U9iyh.js").then((p) => p.i), n = o.pki.publicKeyFromPem(t), a = atob(e.data), r = o.util.decode64(e.signature), i = o.pss.create({
|
|
4324
4324
|
md: o.md.sha256.create(),
|
|
4325
4325
|
mgf: o.mgf.mgf1.create(o.md.sha256.create()),
|
|
4326
4326
|
saltLength: 32
|
|
@@ -5728,7 +5728,7 @@ function TT() {
|
|
|
5728
5728
|
};
|
|
5729
5729
|
}
|
|
5730
5730
|
let fo = "";
|
|
5731
|
-
fo = "https://unpkg.com/@vue-pdf-viewer/viewer@3.11.0
|
|
5731
|
+
fo = "https://unpkg.com/@vue-pdf-viewer/viewer@3.11.0/dist/assets/pdf-annotations/";
|
|
5732
5732
|
const ST = fo, rf = 1, lf = 1e6, se = {
|
|
5733
5733
|
ADD_TOAST: "ADD_TOAST",
|
|
5734
5734
|
UPDATE_TOAST: "UPDATE_TOAST",
|