25 lines
83 KiB
JavaScript
25 lines
83 KiB
JavaScript
|
|
import{p as e}from"./pdfjs-HfNT2Y4W.js";import{P as t,d as n,r as o}from"./pdf-lib-D5zKcp81.js";
|
||
|
|
/**
|
||
|
|
* @vue/shared v3.5.26
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/
|
||
|
|
function s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const l={},i=[],r=()=>{},a=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),f=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=>p.call(e,t),v=Array.isArray,g=e=>"[object Map]"===C(e),m=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),x=e=>"function"==typeof e,b=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,S=e=>(w(e)||x(e))&&x(e.then)&&x(e.catch),k=Object.prototype.toString,C=e=>k.call(e),M=e=>"[object Object]"===C(e),O=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,P=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-\w/g,I=E(e=>e.replace(T,e=>e.slice(1).toUpperCase())),j=/\B([A-Z])/g,A=E(e=>e.replace(j,"-$1").toLowerCase()),L=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),R=E(e=>e?`on${L(e)}`:""),F=(e,t)=>!Object.is(e,t),D=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},V=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let U;const $=()=>U||(U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function W(e){if(v(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=b(o)?H(o):W(o);if(s)for(const e in s)t[e]=s[e]}return t}if(b(e)||w(e))return e}const B=/;(?![^(]*\))/g,z=/:([^]+)/,J=/\/\*[^]*?\*\//g;function H(e){const t={};return e.replace(J,"").split(B).forEach(e=>{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function K(e){let t="";if(b(e))t=e;else if(v(e))for(let n=0;n<e.length;n++){const o=K(e[n]);o&&(t+=o+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const X=s("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}function q(e,t){if(e===t)return!0;let n=y(e),o=y(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=_(e),o=_(t),n||o)return e===t;if(n=v(e),o=v(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=q(e[o],t[o]);return n}(e,t);if(n=w(e),o=w(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),s=t.hasOwnProperty(n);if(o&&!s||!o&&s||!q(e[n],t[n]))return!1}}return String(e)===String(t)}function G(e,t){return e.findIndex(e=>q(e,t))}const Z=e=>!(!e||!0!==e.__v_isRef),Q=e=>b(e)?e:null==e?"":v(e)||w(e)&&(e.toString===k||!x(e.toString))?Z(e)?Q(e.value):JSON.stringify(e,ee,2):String(e),ee=(e,t)=>Z(t)?ee(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[te(t,o)+" =>"]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>te(e))}:_(t)?te(t):!w(t)||v(t)||M(t)?t:String(t),te=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
|
||
|
|
/**
|
||
|
|
* @vue/reactivity v3.5.26
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/
|
||
|
|
let ne,oe;class se{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ne,!e&&ne&&(this.index=(ne.scopes||(ne.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=ne;try{return ne=this,e()}finally{ne=t}}}on(){1===++this._on&&(this.prevScope=ne,ne=this)}off(){this._on>0&&0===--this._on&&(ne=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}const le=new WeakSet;class ie{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ne&&ne.active&&ne.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,le.has(this)&&(le.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ue(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Se(this),pe(this);const e=oe,t=xe;oe=this,xe=!0;try{return this.fn()}finally{he(this),oe=e,xe=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)me(e);this.deps=this.depsTail=void 0,Se(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?le.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ve(this)&&this.run()}get dirty(){return ve(this)}}let re,ae,ce=0;function ue(e,t=!1){if(e.flags|=8,t)return e.next=ae,void(ae=e);e.next=re,re=e}function fe(){ce++}function de(){if(--ce>0)return;if(ae){let e=ae;for(ae=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;re;){let n=re;for(re=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function pe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function he(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),me(o),ye(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function ve(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ge(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ge(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===ke)return;if(e.globalVersion=ke,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ve(e)))return;e.flags|=2;const t=e.dep,n=oe,o=xe;oe=e,xe=!0;try{pe(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(s){throw t.version++,s}finally{oe=n,xe=o,he(e),e.flags&=-3}}function me(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)me(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function ye(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let xe=!0;const be=[];function _e(){be.push(xe),xe=!1}function we(){const e=be.pop();xe=void 0===e||e}function Se(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=oe;oe=void 0;try{t()}finally{oe=e}}}let ke=0;class Ce{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this
|
||
|
|
/**
|
||
|
|
* @vue/runtime-core v3.5.26
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/function At(e,t,n,o){try{return o?e(...o):e()}catch(s){Rt(s,t,n)}}function Lt(e,t,n,o){if(x(e)){const s=At(e,t,n,o);return s&&S(s)&&s.catch(e=>{Rt(e,t,n)}),s}if(v(e)){const s=[];for(let l=0;l<e.length;l++)s.push(Lt(e[l],t,n,o));return s}}function Rt(e,t,n,o=!0){t&&t.vnode;const{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||l;if(t){let o=t.parent;const l=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,l,i))return;o=o.parent}if(s)return _e(),At(s,null,10,[e,l,i]),void we()}!function(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}(e,0,0,o,i)}const Ft=[];let Dt=-1;const Vt=[];let Nt=null,Ut=0;const $t=Promise.resolve();let Wt=null;function Bt(e){const t=Wt||$t;return e?t.then(this?e.bind(this):e):t}function zt(e){if(!(1&e.flags)){const t=Xt(e),n=Ft[Ft.length-1];!n||!(2&e.flags)&&t>=Xt(n)?Ft.push(e):Ft.splice(function(e){let t=Dt+1,n=Ft.length;for(;t<n;){const o=t+n>>>1,s=Ft[o],l=Xt(s);l<e||l===e&&2&s.flags?t=o+1:n=o}return t}(t),0,e),e.flags|=1,Jt()}}function Jt(){Wt||(Wt=$t.then(Yt))}function Ht(e,t,n=Dt+1){for(;n<Ft.length;n++){const t=Ft[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Ft.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Kt(e){if(Vt.length){const e=[...new Set(Vt)].sort((e,t)=>Xt(e)-Xt(t));if(Vt.length=0,Nt)return void Nt.push(...e);for(Nt=e,Ut=0;Ut<Nt.length;Ut++){const e=Nt[Ut];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Nt=null,Ut=0}}const Xt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Yt(e){try{for(Dt=0;Dt<Ft.length;Dt++){const e=Ft[Dt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),At(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Dt<Ft.length;Dt++){const e=Ft[Dt];e&&(e.flags&=-2)}Dt=-1,Ft.length=0,Kt(),Wt=null,(Ft.length||Vt.length)&&Yt()}}let qt=null,Gt=null;function Zt(e){const t=qt;return qt=e,Gt=e&&e.type.__scopeId||null,t}function Qt(e,t){if(null===qt)return e;const n=xs(qt),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[e,i,r,a=l]=t[s];e&&(x(e)&&(e={mounted:e,updated:e}),e.deep&&jt(i),o.push({dir:e,instance:n,value:i,oldValue:void 0,arg:r,modifiers:a}))}return e}function en(e,t,n,o){const s=e.dirs,l=t&&t.dirs;for(let i=0;i<s.length;i++){const r=s[i];l&&(r.oldValue=l[i].value);let a=r.dir[o];a&&(_e(),Lt(a,n,8,[e.el,r,e,t]),we())}}function tn(e,t,n=!1){const o=cs();if(o||to){let s=to?to._context.provides:o?null==o.parent||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&x(t)?t.call(o&&o.proxy):t}}const nn=Symbol.for("v-scx");function on(e,t,n){return sn(e,t,n)}function sn(e,t,n=l){const{immediate:o,deep:s,flush:i,once:a}=n,c=f({},n),u=t&&o||!t&&"post"!==i;let d;if(vs)if("sync"===i){const e=tn(nn);d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}const p=as;c.call=(e,t,n)=>Lt(e,p,t,n);let h=!1;"post"===i?c.scheduler=e=>{Mo(e,p&&p.suspense)}:"sync"!==i&&(h=!0,c.scheduler=(e,t)=>{t?e():zt(e)}),c.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=It(e,t,c);return vs&&(d?d.push(v):u&&v()),v}function ln(e,t,n){const o=this.proxy,s=b(e)?e.includes(".")?rn(o,e):()=>o[e]:e.bind(o,o);let l;x(t)?l=t:(l=t.handler,n=t);const i=ds(this),r=sn(s,l.bind(o),n);return i(),r}function rn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const an=Symbol("_vte"),cn=Symbol("_leaveCb");function un(e,t){6&e.shapeFlag&&e.component?(e.transition=t,un(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const dn=new WeakMap;function pn(e,t,n,o,s=!1){if(v(e))return void e.forEach((e,l)=>pn(e,t&&(v(t)?t[l]:t),n,o,s));if(vn(o)&&!s)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&pn(e,t,n,o.component.subTree));const i=4&o.shapeFlag?xs(o.component):o.el,r=s?null:i,{i:c,r:u}=e,
|
||
|
|
/**
|
||
|
|
* @vue/runtime-dom v3.5.26
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/
|
||
|
|
let ws;const Ss="undefined"!=typeof window&&window.trustedTypes;if(Ss)try{ws=Ss.createPolicy("vue",{createHTML:e=>e})}catch(Ql){}const ks=ws?e=>ws.createHTML(e):e=>e,Cs="undefined"!=typeof document?document:null,Ms=Cs&&Cs.createElement("template"),Os={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s="svg"===t?Cs.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Cs.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Cs.createElement(e,{is:n}):Cs.createElement(e);return"select"===e&&o&&null!=o.multiple&&s.setAttribute("multiple",o.multiple),s},createText:e=>Cs.createTextNode(e),createComment:e=>Cs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,l){const i=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),s!==l&&(s=s.nextSibling););else{Ms.innerHTML=ks("svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e);const s=Ms.content;if("svg"===o||"mathml"===o){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ps=Symbol("_vtc");const Es=Symbol("_vod"),Ts=Symbol("_vsh"),Is=Symbol(""),js=/(?:^|;)\s*display\s*:/;const As=/\s*!important$/;function Ls(e,t,n){if(v(n))n.forEach(n=>Ls(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Fs[t];if(n)return n;let o=I(t);if("filter"!==o&&o in e)return Fs[t]=o;o=L(o);for(let s=0;s<Rs.length;s++){const n=Rs[s]+o;if(n in e)return Fs[t]=n}return t}(e,t);As.test(n)?e.setProperty(A(o),n.replace(As,""),"important"):e[o]=n}}const Rs=["Webkit","Moz","ms"],Fs={};const Ds="http://www.w3.org/1999/xlink";function Vs(e,t,n,o,s,l=X(t)){o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Ds,t.slice(6,t.length)):e.setAttributeNS(Ds,t,n):null==n||l&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,l?"":_(n)?String(n):n)}function Ns(e,t,n,o,s){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?ks(n):n));const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){const o="OPTION"===l?e.getAttribute("value")||"":e.value,s=null==n?"checkbox"===e.type?"on":"":String(n);return o===s&&"_value"in e||(e.value=s),null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Y(n):null==n&&"string"===o?(n="",i=!0):"number"===o&&(n=0,i=!0)}try{e[t]=n}catch(Ql){}i&&e.removeAttribute(s||t)}function Us(e,t,n,o){e.addEventListener(t,n,o)}const $s=Symbol("_vei");function Ws(e,t,n,o,s=null){const l=e[$s]||(e[$s]={}),i=l[t];if(o&&i)i.value=o;else{const[n,r]=function(e){let t;if(Bs.test(e)){let n;for(t={};n=e.match(Bs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):A(e.slice(2));return[n,t]}(t);if(o){const i=l[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Lt(function(e,t){if(v(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Hs(),n}(o,s);Us(e,n,i,r)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,r),l[t]=void 0)}}const Bs=/(?:Once|Passive|Capture)$/;let zs=0;const Js=Promise.resolve(),Hs=()=>zs||(Js.then(()=>zs=0),zs=Date.now());const Ks=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return v(t)?e=>D(t,e):t};function Ys(e){e.target.composing=!0}function qs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gs=Symbol("_assign");function Zs(e,t,n){return t&&(e=e.trim()),n&&(e=N(e)),e}const Qs={created(e,{modifiers:{lazy:t,trim:n,number:o}},
|